2005-12-29 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / Makefile.in
blobb01043798785e41fde91cac1dac2d7a8a9e30980
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 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 RANLIB = @RANLIB@
286 STRIP = @STRIP@
287 WINDRES = @WINDRES@
289 CFLAGS = @CFLAGS@
290 LDFLAGS =
291 LIBCFLAGS = $(CFLAGS)
292 CXXFLAGS = @CXXFLAGS@
293 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
294 PICFLAG =
296 # -----------------------------------------------
297 # Programs producing files for the TARGET machine
298 # -----------------------------------------------
300 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
302 AR_FOR_TARGET=@AR_FOR_TARGET@
303 AS_FOR_TARGET=@AS_FOR_TARGET@
304 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
306 # If GCC_FOR_TARGET is not overriden on the command line, then this
307 # variable is passed down to the gcc Makefile, where it is used to
308 # build libgcc2.a. We define it here so that it can itself be
309 # overridden on the command line.
310 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
311 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
316 LD_FOR_TARGET=@LD_FOR_TARGET@
318 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
319 NM_FOR_TARGET=@NM_FOR_TARGET@
320 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
321 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
322 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
323 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
325 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
326 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
327 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
329 # During gcc bootstrap, if we use some random cc for stage1 then
330 # CFLAGS will be just -g. We want to ensure that TARGET libraries
331 # (which we know are built with gcc) are built with optimizations so
332 # prepend -O2 when setting CFLAGS_FOR_TARGET.
333 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
334 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
335 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
336 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
337 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
338 LDFLAGS_FOR_TARGET =
339 PICFLAG_FOR_TARGET =
341 # ------------------------------------
342 # Miscellaneous targets and flag lists
343 # ------------------------------------
345 # The first rule in the file had better be this one. Don't put any above it.
346 # This lives here to allow makefile fragments to contain dependencies.
347 all:
349 #### host and target specific makefile fragments come in here.
350 @target_makefile_frag@
351 @alphaieee_frag@
352 @ospace_frag@
353 @host_makefile_frag@
356 # This is the list of directories that may be needed in RPATH_ENVVAR
357 # so that prorgams built for the target machine work.
358 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
360 @if target-libstdc++-v3
361 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
362 @endif target-libstdc++-v3
364 @if target-libmudflap
365 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
366 @endif target-libmudflap
368 @if target-libssp
369 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
370 @endif target-libssp
374 # This is the list of directories that may be needed in RPATH_ENVVAR
375 # so that programs built for the host machine work.
376 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
378 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
379 @if gcc
380 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
381 @endif gcc
384 @if bfd
385 HOST_LIB_PATH_bfd = \
386 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
387 @endif bfd
389 @if opcodes
390 HOST_LIB_PATH_opcodes = \
391 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
392 @endif opcodes
395 # Flags to pass down to all sub-makes.
396 BASE_FLAGS_TO_PASS = \
397 "DESTDIR=$(DESTDIR)" \
398 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
399 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
400 "bindir=$(bindir)" \
401 "datadir=$(datadir)" \
402 "exec_prefix=$(exec_prefix)" \
403 "includedir=$(includedir)" \
404 "infodir=$(infodir)" \
405 "libdir=$(libdir)" \
406 "libexecdir=$(libexecdir)" \
407 "lispdir=$(lispdir)" \
408 "localstatedir=$(localstatedir)" \
409 "mandir=$(mandir)" \
410 "oldincludedir=$(oldincludedir)" \
411 "prefix=$(prefix)" \
412 "sbindir=$(sbindir)" \
413 "sharedstatedir=$(sharedstatedir)" \
414 "sysconfdir=$(sysconfdir)" \
415 "tooldir=$(tooldir)" \
416 "build_tooldir=$(build_tooldir)" \
417 "target_alias=$(target_alias)" \
418 "BISON=$(BISON)" \
419 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
420 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
421 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
422 "EXPECT=$(EXPECT)" \
423 "FLEX=$(FLEX)" \
424 "INSTALL=$(INSTALL)" \
425 "INSTALL_DATA=$(INSTALL_DATA)" \
426 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
427 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
428 "LEX=$(LEX)" \
429 "M4=$(M4)" \
430 "MAKE=$(MAKE)" \
431 "RUNTEST=$(RUNTEST)" \
432 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
433 "SHELL=$(SHELL)" \
434 "YACC=$(YACC)" \
435 "AR_FLAGS=$(AR_FLAGS)" \
436 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
437 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
438 "CFLAGS=$(CFLAGS)" \
439 "CXXFLAGS=$(CXXFLAGS)" \
440 "LDFLAGS=$(LDFLAGS)" \
441 "LIBCFLAGS=$(LIBCFLAGS)" \
442 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
443 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
444 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
445 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
446 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
447 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
448 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
449 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
450 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
451 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
452 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
453 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
454 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
455 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
456 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
457 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
458 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
459 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
460 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
461 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
462 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
463 "CONFIG_SHELL=$(SHELL)" \
464 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
466 # We leave this in just in case, but it is not needed anymore.
467 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
469 # Flags to pass down to most sub-makes, in which we're building with
470 # the host environment.
471 EXTRA_HOST_FLAGS = \
472 'AR=$(AR)' \
473 'AS=$(AS)' \
474 'CC=$(CC)' \
475 'CXX=$(CXX)' \
476 'DLLTOOL=$(DLLTOOL)' \
477 'LD=$(LD)' \
478 'LIPO=$(LIPO)' \
479 'NM=$(NM)' \
480 'RANLIB=$(RANLIB)' \
481 'STRIP=$(STRIP)' \
482 'WINDRES=$(WINDRES)'
484 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
486 # Flags that are concerned with the location of the X11 include files
487 # and library files
489 # NOTE: until the top-level is getting the values via autoconf, it only
490 # causes problems to have this top-level Makefile overriding the autoconf-set
491 # values in child directories. Only variables that don't conflict with
492 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
494 X11_FLAGS_TO_PASS = \
495 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
496 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
498 # Flags to pass down to makes which are built with the target environment.
499 # The double $ decreases the length of the command line; those variables
500 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
501 # COMPILER_ prefixed variables are not passed down so we expand them here.
502 EXTRA_TARGET_FLAGS = \
503 'AR=$$(AR_FOR_TARGET)' \
504 'AS=$(COMPILER_AS_FOR_TARGET)' \
505 'CC=$$(CC_FOR_TARGET)' \
506 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
507 'CXX=$$(CXX_FOR_TARGET)' \
508 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
509 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
510 'LD=$(COMPILER_LD_FOR_TARGET)' \
511 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
512 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
513 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
514 'NM=$(COMPILER_NM_FOR_TARGET)' \
515 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
516 'RANLIB=$$(RANLIB_FOR_TARGET)' \
517 'WINDRES=$$(WINDRES_FOR_TARGET)'
519 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
521 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
522 # unfortunately needs the native compiler and the target ar and
523 # ranlib.
524 # If any variables are added here, they must be added to do-*, below.
525 # The BUILD_* variables are a special case, which are used for the gcc
526 # cross-building scheme.
527 EXTRA_GCC_FLAGS = \
528 'BUILD_PREFIX=$(BUILD_PREFIX)' \
529 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
530 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
531 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
534 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
535 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
536 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
537 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
538 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
539 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
541 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
543 .PHONY: configure-host
544 configure-host: \
545 maybe-configure-ash \
546 maybe-configure-autoconf \
547 maybe-configure-automake \
548 maybe-configure-bash \
549 maybe-configure-bfd \
550 maybe-configure-opcodes \
551 maybe-configure-binutils \
552 maybe-configure-bison \
553 maybe-configure-byacc \
554 maybe-configure-bzip2 \
555 maybe-configure-dejagnu \
556 maybe-configure-diff \
557 maybe-configure-dosutils \
558 maybe-configure-etc \
559 maybe-configure-fastjar \
560 maybe-configure-fileutils \
561 maybe-configure-findutils \
562 maybe-configure-find \
563 maybe-configure-fixincludes \
564 maybe-configure-flex \
565 maybe-configure-gas \
566 maybe-configure-gcc \
567 maybe-configure-gawk \
568 maybe-configure-gettext \
569 maybe-configure-gnuserv \
570 maybe-configure-gprof \
571 maybe-configure-gzip \
572 maybe-configure-hello \
573 maybe-configure-indent \
574 maybe-configure-intl \
575 maybe-configure-tcl \
576 maybe-configure-itcl \
577 maybe-configure-ld \
578 maybe-configure-libcpp \
579 maybe-configure-libdecnumber \
580 maybe-configure-libgui \
581 maybe-configure-libiberty \
582 maybe-configure-libtool \
583 maybe-configure-m4 \
584 maybe-configure-make \
585 maybe-configure-mmalloc \
586 maybe-configure-patch \
587 maybe-configure-perl \
588 maybe-configure-prms \
589 maybe-configure-rcs \
590 maybe-configure-readline \
591 maybe-configure-release \
592 maybe-configure-recode \
593 maybe-configure-sed \
594 maybe-configure-send-pr \
595 maybe-configure-shellutils \
596 maybe-configure-sid \
597 maybe-configure-sim \
598 maybe-configure-tar \
599 maybe-configure-texinfo \
600 maybe-configure-textutils \
601 maybe-configure-time \
602 maybe-configure-uudecode \
603 maybe-configure-wdiff \
604 maybe-configure-zip \
605 maybe-configure-zlib \
606 maybe-configure-gdb \
607 maybe-configure-expect \
608 maybe-configure-guile \
609 maybe-configure-tk \
610 maybe-configure-libtermcap \
611 maybe-configure-utils \
612 maybe-configure-gnattools
613 .PHONY: configure-target
614 configure-target: \
615 maybe-configure-target-libstdc++-v3 \
616 maybe-configure-target-libmudflap \
617 maybe-configure-target-libssp \
618 maybe-configure-target-newlib \
619 maybe-configure-target-libgfortran \
620 maybe-configure-target-libobjc \
621 maybe-configure-target-libtermcap \
622 maybe-configure-target-winsup \
623 maybe-configure-target-libgloss \
624 maybe-configure-target-libiberty \
625 maybe-configure-target-gperf \
626 maybe-configure-target-examples \
627 maybe-configure-target-libffi \
628 maybe-configure-target-libjava \
629 maybe-configure-target-zlib \
630 maybe-configure-target-boehm-gc \
631 maybe-configure-target-qthreads \
632 maybe-configure-target-rda \
633 maybe-configure-target-libada
635 # The target built for a native non-bootstrap build.
636 .PHONY: all
637 all:
638 @if gcc-bootstrap
639 [ -f stage_final ] || echo stage3 > stage_final
640 @r=`${PWD_COMMAND}`; export r; \
641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
642 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
643 @endif gcc-bootstrap
644 @: $(MAKE); $(unstage)
645 @r=`${PWD_COMMAND}`; export r; \
646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
647 if [ -f stage_last ]; then \
648 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
649 else \
650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
653 .PHONY: all-build
654 all-build: \
655 maybe-all-build-libiberty \
656 maybe-all-build-bison \
657 maybe-all-build-byacc \
658 maybe-all-build-flex \
659 maybe-all-build-m4 \
660 maybe-all-build-texinfo \
661 maybe-all-build-fixincludes
662 .PHONY: all-host
663 all-host: \
664 maybe-all-ash \
665 maybe-all-autoconf \
666 maybe-all-automake \
667 maybe-all-bash \
668 maybe-all-bfd \
669 maybe-all-opcodes \
670 maybe-all-binutils \
671 maybe-all-bison \
672 maybe-all-byacc \
673 maybe-all-bzip2 \
674 maybe-all-dejagnu \
675 maybe-all-diff \
676 maybe-all-dosutils \
677 maybe-all-etc \
678 maybe-all-fastjar \
679 maybe-all-fileutils \
680 maybe-all-findutils \
681 maybe-all-find \
682 maybe-all-fixincludes \
683 maybe-all-flex \
684 maybe-all-gas \
685 maybe-all-gcc \
686 maybe-all-gawk \
687 maybe-all-gettext \
688 maybe-all-gnuserv \
689 maybe-all-gprof \
690 maybe-all-gzip \
691 maybe-all-hello \
692 maybe-all-indent \
693 maybe-all-intl \
694 maybe-all-tcl \
695 maybe-all-itcl \
696 maybe-all-ld \
697 maybe-all-libcpp \
698 maybe-all-libdecnumber \
699 maybe-all-libgui \
700 maybe-all-libiberty \
701 maybe-all-libtool \
702 maybe-all-m4 \
703 maybe-all-make \
704 maybe-all-mmalloc \
705 maybe-all-patch \
706 maybe-all-perl \
707 maybe-all-prms \
708 maybe-all-rcs \
709 maybe-all-readline \
710 maybe-all-release \
711 maybe-all-recode \
712 maybe-all-sed \
713 maybe-all-send-pr \
714 maybe-all-shellutils \
715 maybe-all-sid \
716 maybe-all-sim \
717 maybe-all-tar \
718 maybe-all-texinfo \
719 maybe-all-textutils \
720 maybe-all-time \
721 maybe-all-uudecode \
722 maybe-all-wdiff \
723 maybe-all-zip \
724 maybe-all-zlib \
725 maybe-all-gdb \
726 maybe-all-expect \
727 maybe-all-guile \
728 maybe-all-tk \
729 maybe-all-libtermcap \
730 maybe-all-utils \
731 maybe-all-gnattools
732 .PHONY: all-target
733 all-target: \
734 maybe-all-target-libstdc++-v3 \
735 maybe-all-target-libmudflap \
736 maybe-all-target-libssp \
737 maybe-all-target-newlib \
738 maybe-all-target-libgfortran \
739 maybe-all-target-libobjc \
740 maybe-all-target-libtermcap \
741 maybe-all-target-winsup \
742 maybe-all-target-libgloss \
743 maybe-all-target-libiberty \
744 maybe-all-target-gperf \
745 maybe-all-target-examples \
746 maybe-all-target-libffi \
747 maybe-all-target-libjava \
748 maybe-all-target-zlib \
749 maybe-all-target-boehm-gc \
750 maybe-all-target-qthreads \
751 maybe-all-target-rda \
752 maybe-all-target-libada
754 # Do a target for all the subdirectories. A ``make do-X'' will do a
755 # ``make X'' in all subdirectories (because, in general, there is a
756 # dependency (below) of X upon do-X, a ``make X'' will also do this,
757 # but it may do additional work as well).
759 .PHONY: do-info
760 do-info:
761 @: $(MAKE); $(unstage)
762 @r=`${PWD_COMMAND}`; export r; \
763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
764 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
765 info-target
768 .PHONY: info-host
769 info-host: \
770 maybe-info-ash \
771 maybe-info-autoconf \
772 maybe-info-automake \
773 maybe-info-bash \
774 maybe-info-bfd \
775 maybe-info-opcodes \
776 maybe-info-binutils \
777 maybe-info-bison \
778 maybe-info-byacc \
779 maybe-info-bzip2 \
780 maybe-info-dejagnu \
781 maybe-info-diff \
782 maybe-info-dosutils \
783 maybe-info-etc \
784 maybe-info-fastjar \
785 maybe-info-fileutils \
786 maybe-info-findutils \
787 maybe-info-find \
788 maybe-info-fixincludes \
789 maybe-info-flex \
790 maybe-info-gas \
791 maybe-info-gcc \
792 maybe-info-gawk \
793 maybe-info-gettext \
794 maybe-info-gnuserv \
795 maybe-info-gprof \
796 maybe-info-gzip \
797 maybe-info-hello \
798 maybe-info-indent \
799 maybe-info-intl \
800 maybe-info-tcl \
801 maybe-info-itcl \
802 maybe-info-ld \
803 maybe-info-libcpp \
804 maybe-info-libdecnumber \
805 maybe-info-libgui \
806 maybe-info-libiberty \
807 maybe-info-libtool \
808 maybe-info-m4 \
809 maybe-info-make \
810 maybe-info-mmalloc \
811 maybe-info-patch \
812 maybe-info-perl \
813 maybe-info-prms \
814 maybe-info-rcs \
815 maybe-info-readline \
816 maybe-info-release \
817 maybe-info-recode \
818 maybe-info-sed \
819 maybe-info-send-pr \
820 maybe-info-shellutils \
821 maybe-info-sid \
822 maybe-info-sim \
823 maybe-info-tar \
824 maybe-info-texinfo \
825 maybe-info-textutils \
826 maybe-info-time \
827 maybe-info-uudecode \
828 maybe-info-wdiff \
829 maybe-info-zip \
830 maybe-info-zlib \
831 maybe-info-gdb \
832 maybe-info-expect \
833 maybe-info-guile \
834 maybe-info-tk \
835 maybe-info-libtermcap \
836 maybe-info-utils \
837 maybe-info-gnattools
839 .PHONY: info-target
840 info-target: \
841 maybe-info-target-libstdc++-v3 \
842 maybe-info-target-libmudflap \
843 maybe-info-target-libssp \
844 maybe-info-target-newlib \
845 maybe-info-target-libgfortran \
846 maybe-info-target-libobjc \
847 maybe-info-target-libtermcap \
848 maybe-info-target-winsup \
849 maybe-info-target-libgloss \
850 maybe-info-target-libiberty \
851 maybe-info-target-gperf \
852 maybe-info-target-examples \
853 maybe-info-target-libffi \
854 maybe-info-target-libjava \
855 maybe-info-target-zlib \
856 maybe-info-target-boehm-gc \
857 maybe-info-target-qthreads \
858 maybe-info-target-rda \
859 maybe-info-target-libada
861 .PHONY: do-dvi
862 do-dvi:
863 @: $(MAKE); $(unstage)
864 @r=`${PWD_COMMAND}`; export r; \
865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
866 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
867 dvi-target
870 .PHONY: dvi-host
871 dvi-host: \
872 maybe-dvi-ash \
873 maybe-dvi-autoconf \
874 maybe-dvi-automake \
875 maybe-dvi-bash \
876 maybe-dvi-bfd \
877 maybe-dvi-opcodes \
878 maybe-dvi-binutils \
879 maybe-dvi-bison \
880 maybe-dvi-byacc \
881 maybe-dvi-bzip2 \
882 maybe-dvi-dejagnu \
883 maybe-dvi-diff \
884 maybe-dvi-dosutils \
885 maybe-dvi-etc \
886 maybe-dvi-fastjar \
887 maybe-dvi-fileutils \
888 maybe-dvi-findutils \
889 maybe-dvi-find \
890 maybe-dvi-fixincludes \
891 maybe-dvi-flex \
892 maybe-dvi-gas \
893 maybe-dvi-gcc \
894 maybe-dvi-gawk \
895 maybe-dvi-gettext \
896 maybe-dvi-gnuserv \
897 maybe-dvi-gprof \
898 maybe-dvi-gzip \
899 maybe-dvi-hello \
900 maybe-dvi-indent \
901 maybe-dvi-intl \
902 maybe-dvi-tcl \
903 maybe-dvi-itcl \
904 maybe-dvi-ld \
905 maybe-dvi-libcpp \
906 maybe-dvi-libdecnumber \
907 maybe-dvi-libgui \
908 maybe-dvi-libiberty \
909 maybe-dvi-libtool \
910 maybe-dvi-m4 \
911 maybe-dvi-make \
912 maybe-dvi-mmalloc \
913 maybe-dvi-patch \
914 maybe-dvi-perl \
915 maybe-dvi-prms \
916 maybe-dvi-rcs \
917 maybe-dvi-readline \
918 maybe-dvi-release \
919 maybe-dvi-recode \
920 maybe-dvi-sed \
921 maybe-dvi-send-pr \
922 maybe-dvi-shellutils \
923 maybe-dvi-sid \
924 maybe-dvi-sim \
925 maybe-dvi-tar \
926 maybe-dvi-texinfo \
927 maybe-dvi-textutils \
928 maybe-dvi-time \
929 maybe-dvi-uudecode \
930 maybe-dvi-wdiff \
931 maybe-dvi-zip \
932 maybe-dvi-zlib \
933 maybe-dvi-gdb \
934 maybe-dvi-expect \
935 maybe-dvi-guile \
936 maybe-dvi-tk \
937 maybe-dvi-libtermcap \
938 maybe-dvi-utils \
939 maybe-dvi-gnattools
941 .PHONY: dvi-target
942 dvi-target: \
943 maybe-dvi-target-libstdc++-v3 \
944 maybe-dvi-target-libmudflap \
945 maybe-dvi-target-libssp \
946 maybe-dvi-target-newlib \
947 maybe-dvi-target-libgfortran \
948 maybe-dvi-target-libobjc \
949 maybe-dvi-target-libtermcap \
950 maybe-dvi-target-winsup \
951 maybe-dvi-target-libgloss \
952 maybe-dvi-target-libiberty \
953 maybe-dvi-target-gperf \
954 maybe-dvi-target-examples \
955 maybe-dvi-target-libffi \
956 maybe-dvi-target-libjava \
957 maybe-dvi-target-zlib \
958 maybe-dvi-target-boehm-gc \
959 maybe-dvi-target-qthreads \
960 maybe-dvi-target-rda \
961 maybe-dvi-target-libada
963 .PHONY: do-html
964 do-html:
965 @: $(MAKE); $(unstage)
966 @r=`${PWD_COMMAND}`; export r; \
967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
968 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
969 html-target
972 .PHONY: html-host
973 html-host: \
974 maybe-html-ash \
975 maybe-html-autoconf \
976 maybe-html-automake \
977 maybe-html-bash \
978 maybe-html-bfd \
979 maybe-html-opcodes \
980 maybe-html-binutils \
981 maybe-html-bison \
982 maybe-html-byacc \
983 maybe-html-bzip2 \
984 maybe-html-dejagnu \
985 maybe-html-diff \
986 maybe-html-dosutils \
987 maybe-html-etc \
988 maybe-html-fastjar \
989 maybe-html-fileutils \
990 maybe-html-findutils \
991 maybe-html-find \
992 maybe-html-fixincludes \
993 maybe-html-flex \
994 maybe-html-gas \
995 maybe-html-gcc \
996 maybe-html-gawk \
997 maybe-html-gettext \
998 maybe-html-gnuserv \
999 maybe-html-gprof \
1000 maybe-html-gzip \
1001 maybe-html-hello \
1002 maybe-html-indent \
1003 maybe-html-intl \
1004 maybe-html-tcl \
1005 maybe-html-itcl \
1006 maybe-html-ld \
1007 maybe-html-libcpp \
1008 maybe-html-libdecnumber \
1009 maybe-html-libgui \
1010 maybe-html-libiberty \
1011 maybe-html-libtool \
1012 maybe-html-m4 \
1013 maybe-html-make \
1014 maybe-html-mmalloc \
1015 maybe-html-patch \
1016 maybe-html-perl \
1017 maybe-html-prms \
1018 maybe-html-rcs \
1019 maybe-html-readline \
1020 maybe-html-release \
1021 maybe-html-recode \
1022 maybe-html-sed \
1023 maybe-html-send-pr \
1024 maybe-html-shellutils \
1025 maybe-html-sid \
1026 maybe-html-sim \
1027 maybe-html-tar \
1028 maybe-html-texinfo \
1029 maybe-html-textutils \
1030 maybe-html-time \
1031 maybe-html-uudecode \
1032 maybe-html-wdiff \
1033 maybe-html-zip \
1034 maybe-html-zlib \
1035 maybe-html-gdb \
1036 maybe-html-expect \
1037 maybe-html-guile \
1038 maybe-html-tk \
1039 maybe-html-libtermcap \
1040 maybe-html-utils \
1041 maybe-html-gnattools
1043 .PHONY: html-target
1044 html-target: \
1045 maybe-html-target-libstdc++-v3 \
1046 maybe-html-target-libmudflap \
1047 maybe-html-target-libssp \
1048 maybe-html-target-newlib \
1049 maybe-html-target-libgfortran \
1050 maybe-html-target-libobjc \
1051 maybe-html-target-libtermcap \
1052 maybe-html-target-winsup \
1053 maybe-html-target-libgloss \
1054 maybe-html-target-libiberty \
1055 maybe-html-target-gperf \
1056 maybe-html-target-examples \
1057 maybe-html-target-libffi \
1058 maybe-html-target-libjava \
1059 maybe-html-target-zlib \
1060 maybe-html-target-boehm-gc \
1061 maybe-html-target-qthreads \
1062 maybe-html-target-rda \
1063 maybe-html-target-libada
1065 .PHONY: do-TAGS
1066 do-TAGS:
1067 @: $(MAKE); $(unstage)
1068 @r=`${PWD_COMMAND}`; export r; \
1069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1071 TAGS-target
1074 .PHONY: TAGS-host
1075 TAGS-host: \
1076 maybe-TAGS-ash \
1077 maybe-TAGS-autoconf \
1078 maybe-TAGS-automake \
1079 maybe-TAGS-bash \
1080 maybe-TAGS-bfd \
1081 maybe-TAGS-opcodes \
1082 maybe-TAGS-binutils \
1083 maybe-TAGS-bison \
1084 maybe-TAGS-byacc \
1085 maybe-TAGS-bzip2 \
1086 maybe-TAGS-dejagnu \
1087 maybe-TAGS-diff \
1088 maybe-TAGS-dosutils \
1089 maybe-TAGS-etc \
1090 maybe-TAGS-fastjar \
1091 maybe-TAGS-fileutils \
1092 maybe-TAGS-findutils \
1093 maybe-TAGS-find \
1094 maybe-TAGS-fixincludes \
1095 maybe-TAGS-flex \
1096 maybe-TAGS-gas \
1097 maybe-TAGS-gcc \
1098 maybe-TAGS-gawk \
1099 maybe-TAGS-gettext \
1100 maybe-TAGS-gnuserv \
1101 maybe-TAGS-gprof \
1102 maybe-TAGS-gzip \
1103 maybe-TAGS-hello \
1104 maybe-TAGS-indent \
1105 maybe-TAGS-intl \
1106 maybe-TAGS-tcl \
1107 maybe-TAGS-itcl \
1108 maybe-TAGS-ld \
1109 maybe-TAGS-libcpp \
1110 maybe-TAGS-libdecnumber \
1111 maybe-TAGS-libgui \
1112 maybe-TAGS-libiberty \
1113 maybe-TAGS-libtool \
1114 maybe-TAGS-m4 \
1115 maybe-TAGS-make \
1116 maybe-TAGS-mmalloc \
1117 maybe-TAGS-patch \
1118 maybe-TAGS-perl \
1119 maybe-TAGS-prms \
1120 maybe-TAGS-rcs \
1121 maybe-TAGS-readline \
1122 maybe-TAGS-release \
1123 maybe-TAGS-recode \
1124 maybe-TAGS-sed \
1125 maybe-TAGS-send-pr \
1126 maybe-TAGS-shellutils \
1127 maybe-TAGS-sid \
1128 maybe-TAGS-sim \
1129 maybe-TAGS-tar \
1130 maybe-TAGS-texinfo \
1131 maybe-TAGS-textutils \
1132 maybe-TAGS-time \
1133 maybe-TAGS-uudecode \
1134 maybe-TAGS-wdiff \
1135 maybe-TAGS-zip \
1136 maybe-TAGS-zlib \
1137 maybe-TAGS-gdb \
1138 maybe-TAGS-expect \
1139 maybe-TAGS-guile \
1140 maybe-TAGS-tk \
1141 maybe-TAGS-libtermcap \
1142 maybe-TAGS-utils \
1143 maybe-TAGS-gnattools
1145 .PHONY: TAGS-target
1146 TAGS-target: \
1147 maybe-TAGS-target-libstdc++-v3 \
1148 maybe-TAGS-target-libmudflap \
1149 maybe-TAGS-target-libssp \
1150 maybe-TAGS-target-newlib \
1151 maybe-TAGS-target-libgfortran \
1152 maybe-TAGS-target-libobjc \
1153 maybe-TAGS-target-libtermcap \
1154 maybe-TAGS-target-winsup \
1155 maybe-TAGS-target-libgloss \
1156 maybe-TAGS-target-libiberty \
1157 maybe-TAGS-target-gperf \
1158 maybe-TAGS-target-examples \
1159 maybe-TAGS-target-libffi \
1160 maybe-TAGS-target-libjava \
1161 maybe-TAGS-target-zlib \
1162 maybe-TAGS-target-boehm-gc \
1163 maybe-TAGS-target-qthreads \
1164 maybe-TAGS-target-rda \
1165 maybe-TAGS-target-libada
1167 .PHONY: do-install-info
1168 do-install-info:
1169 @: $(MAKE); $(unstage)
1170 @r=`${PWD_COMMAND}`; export r; \
1171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1172 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1173 install-info-target
1176 .PHONY: install-info-host
1177 install-info-host: \
1178 maybe-install-info-ash \
1179 maybe-install-info-autoconf \
1180 maybe-install-info-automake \
1181 maybe-install-info-bash \
1182 maybe-install-info-bfd \
1183 maybe-install-info-opcodes \
1184 maybe-install-info-binutils \
1185 maybe-install-info-bison \
1186 maybe-install-info-byacc \
1187 maybe-install-info-bzip2 \
1188 maybe-install-info-dejagnu \
1189 maybe-install-info-diff \
1190 maybe-install-info-dosutils \
1191 maybe-install-info-etc \
1192 maybe-install-info-fastjar \
1193 maybe-install-info-fileutils \
1194 maybe-install-info-findutils \
1195 maybe-install-info-find \
1196 maybe-install-info-fixincludes \
1197 maybe-install-info-flex \
1198 maybe-install-info-gas \
1199 maybe-install-info-gcc \
1200 maybe-install-info-gawk \
1201 maybe-install-info-gettext \
1202 maybe-install-info-gnuserv \
1203 maybe-install-info-gprof \
1204 maybe-install-info-gzip \
1205 maybe-install-info-hello \
1206 maybe-install-info-indent \
1207 maybe-install-info-intl \
1208 maybe-install-info-tcl \
1209 maybe-install-info-itcl \
1210 maybe-install-info-ld \
1211 maybe-install-info-libcpp \
1212 maybe-install-info-libdecnumber \
1213 maybe-install-info-libgui \
1214 maybe-install-info-libiberty \
1215 maybe-install-info-libtool \
1216 maybe-install-info-m4 \
1217 maybe-install-info-make \
1218 maybe-install-info-mmalloc \
1219 maybe-install-info-patch \
1220 maybe-install-info-perl \
1221 maybe-install-info-prms \
1222 maybe-install-info-rcs \
1223 maybe-install-info-readline \
1224 maybe-install-info-release \
1225 maybe-install-info-recode \
1226 maybe-install-info-sed \
1227 maybe-install-info-send-pr \
1228 maybe-install-info-shellutils \
1229 maybe-install-info-sid \
1230 maybe-install-info-sim \
1231 maybe-install-info-tar \
1232 maybe-install-info-texinfo \
1233 maybe-install-info-textutils \
1234 maybe-install-info-time \
1235 maybe-install-info-uudecode \
1236 maybe-install-info-wdiff \
1237 maybe-install-info-zip \
1238 maybe-install-info-zlib \
1239 maybe-install-info-gdb \
1240 maybe-install-info-expect \
1241 maybe-install-info-guile \
1242 maybe-install-info-tk \
1243 maybe-install-info-libtermcap \
1244 maybe-install-info-utils \
1245 maybe-install-info-gnattools
1247 .PHONY: install-info-target
1248 install-info-target: \
1249 maybe-install-info-target-libstdc++-v3 \
1250 maybe-install-info-target-libmudflap \
1251 maybe-install-info-target-libssp \
1252 maybe-install-info-target-newlib \
1253 maybe-install-info-target-libgfortran \
1254 maybe-install-info-target-libobjc \
1255 maybe-install-info-target-libtermcap \
1256 maybe-install-info-target-winsup \
1257 maybe-install-info-target-libgloss \
1258 maybe-install-info-target-libiberty \
1259 maybe-install-info-target-gperf \
1260 maybe-install-info-target-examples \
1261 maybe-install-info-target-libffi \
1262 maybe-install-info-target-libjava \
1263 maybe-install-info-target-zlib \
1264 maybe-install-info-target-boehm-gc \
1265 maybe-install-info-target-qthreads \
1266 maybe-install-info-target-rda \
1267 maybe-install-info-target-libada
1269 .PHONY: do-installcheck
1270 do-installcheck:
1271 @: $(MAKE); $(unstage)
1272 @r=`${PWD_COMMAND}`; export r; \
1273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1274 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1275 installcheck-target
1278 .PHONY: installcheck-host
1279 installcheck-host: \
1280 maybe-installcheck-ash \
1281 maybe-installcheck-autoconf \
1282 maybe-installcheck-automake \
1283 maybe-installcheck-bash \
1284 maybe-installcheck-bfd \
1285 maybe-installcheck-opcodes \
1286 maybe-installcheck-binutils \
1287 maybe-installcheck-bison \
1288 maybe-installcheck-byacc \
1289 maybe-installcheck-bzip2 \
1290 maybe-installcheck-dejagnu \
1291 maybe-installcheck-diff \
1292 maybe-installcheck-dosutils \
1293 maybe-installcheck-etc \
1294 maybe-installcheck-fastjar \
1295 maybe-installcheck-fileutils \
1296 maybe-installcheck-findutils \
1297 maybe-installcheck-find \
1298 maybe-installcheck-fixincludes \
1299 maybe-installcheck-flex \
1300 maybe-installcheck-gas \
1301 maybe-installcheck-gcc \
1302 maybe-installcheck-gawk \
1303 maybe-installcheck-gettext \
1304 maybe-installcheck-gnuserv \
1305 maybe-installcheck-gprof \
1306 maybe-installcheck-gzip \
1307 maybe-installcheck-hello \
1308 maybe-installcheck-indent \
1309 maybe-installcheck-intl \
1310 maybe-installcheck-tcl \
1311 maybe-installcheck-itcl \
1312 maybe-installcheck-ld \
1313 maybe-installcheck-libcpp \
1314 maybe-installcheck-libdecnumber \
1315 maybe-installcheck-libgui \
1316 maybe-installcheck-libiberty \
1317 maybe-installcheck-libtool \
1318 maybe-installcheck-m4 \
1319 maybe-installcheck-make \
1320 maybe-installcheck-mmalloc \
1321 maybe-installcheck-patch \
1322 maybe-installcheck-perl \
1323 maybe-installcheck-prms \
1324 maybe-installcheck-rcs \
1325 maybe-installcheck-readline \
1326 maybe-installcheck-release \
1327 maybe-installcheck-recode \
1328 maybe-installcheck-sed \
1329 maybe-installcheck-send-pr \
1330 maybe-installcheck-shellutils \
1331 maybe-installcheck-sid \
1332 maybe-installcheck-sim \
1333 maybe-installcheck-tar \
1334 maybe-installcheck-texinfo \
1335 maybe-installcheck-textutils \
1336 maybe-installcheck-time \
1337 maybe-installcheck-uudecode \
1338 maybe-installcheck-wdiff \
1339 maybe-installcheck-zip \
1340 maybe-installcheck-zlib \
1341 maybe-installcheck-gdb \
1342 maybe-installcheck-expect \
1343 maybe-installcheck-guile \
1344 maybe-installcheck-tk \
1345 maybe-installcheck-libtermcap \
1346 maybe-installcheck-utils \
1347 maybe-installcheck-gnattools
1349 .PHONY: installcheck-target
1350 installcheck-target: \
1351 maybe-installcheck-target-libstdc++-v3 \
1352 maybe-installcheck-target-libmudflap \
1353 maybe-installcheck-target-libssp \
1354 maybe-installcheck-target-newlib \
1355 maybe-installcheck-target-libgfortran \
1356 maybe-installcheck-target-libobjc \
1357 maybe-installcheck-target-libtermcap \
1358 maybe-installcheck-target-winsup \
1359 maybe-installcheck-target-libgloss \
1360 maybe-installcheck-target-libiberty \
1361 maybe-installcheck-target-gperf \
1362 maybe-installcheck-target-examples \
1363 maybe-installcheck-target-libffi \
1364 maybe-installcheck-target-libjava \
1365 maybe-installcheck-target-zlib \
1366 maybe-installcheck-target-boehm-gc \
1367 maybe-installcheck-target-qthreads \
1368 maybe-installcheck-target-rda \
1369 maybe-installcheck-target-libada
1371 .PHONY: do-mostlyclean
1372 do-mostlyclean:
1373 @: $(MAKE); $(unstage)
1374 @r=`${PWD_COMMAND}`; export r; \
1375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1376 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1377 mostlyclean-target
1380 .PHONY: mostlyclean-host
1381 mostlyclean-host: \
1382 maybe-mostlyclean-ash \
1383 maybe-mostlyclean-autoconf \
1384 maybe-mostlyclean-automake \
1385 maybe-mostlyclean-bash \
1386 maybe-mostlyclean-bfd \
1387 maybe-mostlyclean-opcodes \
1388 maybe-mostlyclean-binutils \
1389 maybe-mostlyclean-bison \
1390 maybe-mostlyclean-byacc \
1391 maybe-mostlyclean-bzip2 \
1392 maybe-mostlyclean-dejagnu \
1393 maybe-mostlyclean-diff \
1394 maybe-mostlyclean-dosutils \
1395 maybe-mostlyclean-etc \
1396 maybe-mostlyclean-fastjar \
1397 maybe-mostlyclean-fileutils \
1398 maybe-mostlyclean-findutils \
1399 maybe-mostlyclean-find \
1400 maybe-mostlyclean-fixincludes \
1401 maybe-mostlyclean-flex \
1402 maybe-mostlyclean-gas \
1403 maybe-mostlyclean-gcc \
1404 maybe-mostlyclean-gawk \
1405 maybe-mostlyclean-gettext \
1406 maybe-mostlyclean-gnuserv \
1407 maybe-mostlyclean-gprof \
1408 maybe-mostlyclean-gzip \
1409 maybe-mostlyclean-hello \
1410 maybe-mostlyclean-indent \
1411 maybe-mostlyclean-intl \
1412 maybe-mostlyclean-tcl \
1413 maybe-mostlyclean-itcl \
1414 maybe-mostlyclean-ld \
1415 maybe-mostlyclean-libcpp \
1416 maybe-mostlyclean-libdecnumber \
1417 maybe-mostlyclean-libgui \
1418 maybe-mostlyclean-libiberty \
1419 maybe-mostlyclean-libtool \
1420 maybe-mostlyclean-m4 \
1421 maybe-mostlyclean-make \
1422 maybe-mostlyclean-mmalloc \
1423 maybe-mostlyclean-patch \
1424 maybe-mostlyclean-perl \
1425 maybe-mostlyclean-prms \
1426 maybe-mostlyclean-rcs \
1427 maybe-mostlyclean-readline \
1428 maybe-mostlyclean-release \
1429 maybe-mostlyclean-recode \
1430 maybe-mostlyclean-sed \
1431 maybe-mostlyclean-send-pr \
1432 maybe-mostlyclean-shellutils \
1433 maybe-mostlyclean-sid \
1434 maybe-mostlyclean-sim \
1435 maybe-mostlyclean-tar \
1436 maybe-mostlyclean-texinfo \
1437 maybe-mostlyclean-textutils \
1438 maybe-mostlyclean-time \
1439 maybe-mostlyclean-uudecode \
1440 maybe-mostlyclean-wdiff \
1441 maybe-mostlyclean-zip \
1442 maybe-mostlyclean-zlib \
1443 maybe-mostlyclean-gdb \
1444 maybe-mostlyclean-expect \
1445 maybe-mostlyclean-guile \
1446 maybe-mostlyclean-tk \
1447 maybe-mostlyclean-libtermcap \
1448 maybe-mostlyclean-utils \
1449 maybe-mostlyclean-gnattools
1451 .PHONY: mostlyclean-target
1452 mostlyclean-target: \
1453 maybe-mostlyclean-target-libstdc++-v3 \
1454 maybe-mostlyclean-target-libmudflap \
1455 maybe-mostlyclean-target-libssp \
1456 maybe-mostlyclean-target-newlib \
1457 maybe-mostlyclean-target-libgfortran \
1458 maybe-mostlyclean-target-libobjc \
1459 maybe-mostlyclean-target-libtermcap \
1460 maybe-mostlyclean-target-winsup \
1461 maybe-mostlyclean-target-libgloss \
1462 maybe-mostlyclean-target-libiberty \
1463 maybe-mostlyclean-target-gperf \
1464 maybe-mostlyclean-target-examples \
1465 maybe-mostlyclean-target-libffi \
1466 maybe-mostlyclean-target-libjava \
1467 maybe-mostlyclean-target-zlib \
1468 maybe-mostlyclean-target-boehm-gc \
1469 maybe-mostlyclean-target-qthreads \
1470 maybe-mostlyclean-target-rda \
1471 maybe-mostlyclean-target-libada
1473 .PHONY: do-clean
1474 do-clean:
1475 @: $(MAKE); $(unstage)
1476 @r=`${PWD_COMMAND}`; export r; \
1477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1479 clean-target
1482 .PHONY: clean-host
1483 clean-host: \
1484 maybe-clean-ash \
1485 maybe-clean-autoconf \
1486 maybe-clean-automake \
1487 maybe-clean-bash \
1488 maybe-clean-bfd \
1489 maybe-clean-opcodes \
1490 maybe-clean-binutils \
1491 maybe-clean-bison \
1492 maybe-clean-byacc \
1493 maybe-clean-bzip2 \
1494 maybe-clean-dejagnu \
1495 maybe-clean-diff \
1496 maybe-clean-dosutils \
1497 maybe-clean-etc \
1498 maybe-clean-fastjar \
1499 maybe-clean-fileutils \
1500 maybe-clean-findutils \
1501 maybe-clean-find \
1502 maybe-clean-fixincludes \
1503 maybe-clean-flex \
1504 maybe-clean-gas \
1505 maybe-clean-gcc \
1506 maybe-clean-gawk \
1507 maybe-clean-gettext \
1508 maybe-clean-gnuserv \
1509 maybe-clean-gprof \
1510 maybe-clean-gzip \
1511 maybe-clean-hello \
1512 maybe-clean-indent \
1513 maybe-clean-intl \
1514 maybe-clean-tcl \
1515 maybe-clean-itcl \
1516 maybe-clean-ld \
1517 maybe-clean-libcpp \
1518 maybe-clean-libdecnumber \
1519 maybe-clean-libgui \
1520 maybe-clean-libiberty \
1521 maybe-clean-libtool \
1522 maybe-clean-m4 \
1523 maybe-clean-make \
1524 maybe-clean-mmalloc \
1525 maybe-clean-patch \
1526 maybe-clean-perl \
1527 maybe-clean-prms \
1528 maybe-clean-rcs \
1529 maybe-clean-readline \
1530 maybe-clean-release \
1531 maybe-clean-recode \
1532 maybe-clean-sed \
1533 maybe-clean-send-pr \
1534 maybe-clean-shellutils \
1535 maybe-clean-sid \
1536 maybe-clean-sim \
1537 maybe-clean-tar \
1538 maybe-clean-texinfo \
1539 maybe-clean-textutils \
1540 maybe-clean-time \
1541 maybe-clean-uudecode \
1542 maybe-clean-wdiff \
1543 maybe-clean-zip \
1544 maybe-clean-zlib \
1545 maybe-clean-gdb \
1546 maybe-clean-expect \
1547 maybe-clean-guile \
1548 maybe-clean-tk \
1549 maybe-clean-libtermcap \
1550 maybe-clean-utils \
1551 maybe-clean-gnattools
1553 .PHONY: clean-target
1554 clean-target: \
1555 maybe-clean-target-libstdc++-v3 \
1556 maybe-clean-target-libmudflap \
1557 maybe-clean-target-libssp \
1558 maybe-clean-target-newlib \
1559 maybe-clean-target-libgfortran \
1560 maybe-clean-target-libobjc \
1561 maybe-clean-target-libtermcap \
1562 maybe-clean-target-winsup \
1563 maybe-clean-target-libgloss \
1564 maybe-clean-target-libiberty \
1565 maybe-clean-target-gperf \
1566 maybe-clean-target-examples \
1567 maybe-clean-target-libffi \
1568 maybe-clean-target-libjava \
1569 maybe-clean-target-zlib \
1570 maybe-clean-target-boehm-gc \
1571 maybe-clean-target-qthreads \
1572 maybe-clean-target-rda \
1573 maybe-clean-target-libada
1575 .PHONY: do-distclean
1576 do-distclean:
1577 @: $(MAKE); $(unstage)
1578 @r=`${PWD_COMMAND}`; export r; \
1579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1580 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1581 distclean-target
1584 .PHONY: distclean-host
1585 distclean-host: \
1586 maybe-distclean-ash \
1587 maybe-distclean-autoconf \
1588 maybe-distclean-automake \
1589 maybe-distclean-bash \
1590 maybe-distclean-bfd \
1591 maybe-distclean-opcodes \
1592 maybe-distclean-binutils \
1593 maybe-distclean-bison \
1594 maybe-distclean-byacc \
1595 maybe-distclean-bzip2 \
1596 maybe-distclean-dejagnu \
1597 maybe-distclean-diff \
1598 maybe-distclean-dosutils \
1599 maybe-distclean-etc \
1600 maybe-distclean-fastjar \
1601 maybe-distclean-fileutils \
1602 maybe-distclean-findutils \
1603 maybe-distclean-find \
1604 maybe-distclean-fixincludes \
1605 maybe-distclean-flex \
1606 maybe-distclean-gas \
1607 maybe-distclean-gcc \
1608 maybe-distclean-gawk \
1609 maybe-distclean-gettext \
1610 maybe-distclean-gnuserv \
1611 maybe-distclean-gprof \
1612 maybe-distclean-gzip \
1613 maybe-distclean-hello \
1614 maybe-distclean-indent \
1615 maybe-distclean-intl \
1616 maybe-distclean-tcl \
1617 maybe-distclean-itcl \
1618 maybe-distclean-ld \
1619 maybe-distclean-libcpp \
1620 maybe-distclean-libdecnumber \
1621 maybe-distclean-libgui \
1622 maybe-distclean-libiberty \
1623 maybe-distclean-libtool \
1624 maybe-distclean-m4 \
1625 maybe-distclean-make \
1626 maybe-distclean-mmalloc \
1627 maybe-distclean-patch \
1628 maybe-distclean-perl \
1629 maybe-distclean-prms \
1630 maybe-distclean-rcs \
1631 maybe-distclean-readline \
1632 maybe-distclean-release \
1633 maybe-distclean-recode \
1634 maybe-distclean-sed \
1635 maybe-distclean-send-pr \
1636 maybe-distclean-shellutils \
1637 maybe-distclean-sid \
1638 maybe-distclean-sim \
1639 maybe-distclean-tar \
1640 maybe-distclean-texinfo \
1641 maybe-distclean-textutils \
1642 maybe-distclean-time \
1643 maybe-distclean-uudecode \
1644 maybe-distclean-wdiff \
1645 maybe-distclean-zip \
1646 maybe-distclean-zlib \
1647 maybe-distclean-gdb \
1648 maybe-distclean-expect \
1649 maybe-distclean-guile \
1650 maybe-distclean-tk \
1651 maybe-distclean-libtermcap \
1652 maybe-distclean-utils \
1653 maybe-distclean-gnattools
1655 .PHONY: distclean-target
1656 distclean-target: \
1657 maybe-distclean-target-libstdc++-v3 \
1658 maybe-distclean-target-libmudflap \
1659 maybe-distclean-target-libssp \
1660 maybe-distclean-target-newlib \
1661 maybe-distclean-target-libgfortran \
1662 maybe-distclean-target-libobjc \
1663 maybe-distclean-target-libtermcap \
1664 maybe-distclean-target-winsup \
1665 maybe-distclean-target-libgloss \
1666 maybe-distclean-target-libiberty \
1667 maybe-distclean-target-gperf \
1668 maybe-distclean-target-examples \
1669 maybe-distclean-target-libffi \
1670 maybe-distclean-target-libjava \
1671 maybe-distclean-target-zlib \
1672 maybe-distclean-target-boehm-gc \
1673 maybe-distclean-target-qthreads \
1674 maybe-distclean-target-rda \
1675 maybe-distclean-target-libada
1677 .PHONY: do-maintainer-clean
1678 do-maintainer-clean:
1679 @: $(MAKE); $(unstage)
1680 @r=`${PWD_COMMAND}`; export r; \
1681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1682 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1683 maintainer-clean-target
1686 .PHONY: maintainer-clean-host
1687 maintainer-clean-host: \
1688 maybe-maintainer-clean-ash \
1689 maybe-maintainer-clean-autoconf \
1690 maybe-maintainer-clean-automake \
1691 maybe-maintainer-clean-bash \
1692 maybe-maintainer-clean-bfd \
1693 maybe-maintainer-clean-opcodes \
1694 maybe-maintainer-clean-binutils \
1695 maybe-maintainer-clean-bison \
1696 maybe-maintainer-clean-byacc \
1697 maybe-maintainer-clean-bzip2 \
1698 maybe-maintainer-clean-dejagnu \
1699 maybe-maintainer-clean-diff \
1700 maybe-maintainer-clean-dosutils \
1701 maybe-maintainer-clean-etc \
1702 maybe-maintainer-clean-fastjar \
1703 maybe-maintainer-clean-fileutils \
1704 maybe-maintainer-clean-findutils \
1705 maybe-maintainer-clean-find \
1706 maybe-maintainer-clean-fixincludes \
1707 maybe-maintainer-clean-flex \
1708 maybe-maintainer-clean-gas \
1709 maybe-maintainer-clean-gcc \
1710 maybe-maintainer-clean-gawk \
1711 maybe-maintainer-clean-gettext \
1712 maybe-maintainer-clean-gnuserv \
1713 maybe-maintainer-clean-gprof \
1714 maybe-maintainer-clean-gzip \
1715 maybe-maintainer-clean-hello \
1716 maybe-maintainer-clean-indent \
1717 maybe-maintainer-clean-intl \
1718 maybe-maintainer-clean-tcl \
1719 maybe-maintainer-clean-itcl \
1720 maybe-maintainer-clean-ld \
1721 maybe-maintainer-clean-libcpp \
1722 maybe-maintainer-clean-libdecnumber \
1723 maybe-maintainer-clean-libgui \
1724 maybe-maintainer-clean-libiberty \
1725 maybe-maintainer-clean-libtool \
1726 maybe-maintainer-clean-m4 \
1727 maybe-maintainer-clean-make \
1728 maybe-maintainer-clean-mmalloc \
1729 maybe-maintainer-clean-patch \
1730 maybe-maintainer-clean-perl \
1731 maybe-maintainer-clean-prms \
1732 maybe-maintainer-clean-rcs \
1733 maybe-maintainer-clean-readline \
1734 maybe-maintainer-clean-release \
1735 maybe-maintainer-clean-recode \
1736 maybe-maintainer-clean-sed \
1737 maybe-maintainer-clean-send-pr \
1738 maybe-maintainer-clean-shellutils \
1739 maybe-maintainer-clean-sid \
1740 maybe-maintainer-clean-sim \
1741 maybe-maintainer-clean-tar \
1742 maybe-maintainer-clean-texinfo \
1743 maybe-maintainer-clean-textutils \
1744 maybe-maintainer-clean-time \
1745 maybe-maintainer-clean-uudecode \
1746 maybe-maintainer-clean-wdiff \
1747 maybe-maintainer-clean-zip \
1748 maybe-maintainer-clean-zlib \
1749 maybe-maintainer-clean-gdb \
1750 maybe-maintainer-clean-expect \
1751 maybe-maintainer-clean-guile \
1752 maybe-maintainer-clean-tk \
1753 maybe-maintainer-clean-libtermcap \
1754 maybe-maintainer-clean-utils \
1755 maybe-maintainer-clean-gnattools
1757 .PHONY: maintainer-clean-target
1758 maintainer-clean-target: \
1759 maybe-maintainer-clean-target-libstdc++-v3 \
1760 maybe-maintainer-clean-target-libmudflap \
1761 maybe-maintainer-clean-target-libssp \
1762 maybe-maintainer-clean-target-newlib \
1763 maybe-maintainer-clean-target-libgfortran \
1764 maybe-maintainer-clean-target-libobjc \
1765 maybe-maintainer-clean-target-libtermcap \
1766 maybe-maintainer-clean-target-winsup \
1767 maybe-maintainer-clean-target-libgloss \
1768 maybe-maintainer-clean-target-libiberty \
1769 maybe-maintainer-clean-target-gperf \
1770 maybe-maintainer-clean-target-examples \
1771 maybe-maintainer-clean-target-libffi \
1772 maybe-maintainer-clean-target-libjava \
1773 maybe-maintainer-clean-target-zlib \
1774 maybe-maintainer-clean-target-boehm-gc \
1775 maybe-maintainer-clean-target-qthreads \
1776 maybe-maintainer-clean-target-rda \
1777 maybe-maintainer-clean-target-libada
1780 # Here are the targets which correspond to the do-X targets.
1782 .PHONY: info installcheck dvi html install-info
1783 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1784 .PHONY: local-clean local-distclean local-maintainer-clean
1785 info: do-info
1786 installcheck: do-installcheck
1787 dvi: do-dvi
1788 html: do-html
1790 # Make sure makeinfo is built before we do a `make info', if we're
1791 # in fact building texinfo.
1792 do-info: maybe-all-texinfo
1794 install-info: do-install-info dir.info
1795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1796 if [ -f dir.info ] ; then \
1797 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1798 else true ; fi
1800 local-clean:
1801 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1803 local-distclean:
1804 -rm -f Makefile config.status config.cache mh-frag mt-frag
1805 -rm -f maybedep.tmp serdep.tmp
1806 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1807 rm -rf $(TARGET_SUBDIR); \
1808 else true; fi
1809 -rm -rf $(BUILD_SUBDIR)
1810 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1811 rm -rf $(HOST_SUBDIR); \
1812 else true; fi
1813 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1814 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1815 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1816 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1817 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1819 local-maintainer-clean:
1820 @echo "This command is intended for maintainers to use;"
1821 @echo "it deletes files that may require special tools to rebuild."
1823 clean: do-clean local-clean
1824 mostlyclean: do-mostlyclean local-clean
1825 distclean: do-distclean local-clean local-distclean
1826 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1827 maintainer-clean: local-distclean
1828 realclean: maintainer-clean
1830 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1831 clean-target: clean-target-libgcc
1832 clean-target-libgcc:
1833 test ! -d gcc || (cd gcc && $(MAKE) $@)
1835 # Check target.
1837 .PHONY: check do-check
1838 check: do-check
1840 # Only include modules actually being configured and built.
1841 .PHONY: check-host
1842 check-host: \
1843 maybe-check-ash \
1844 maybe-check-autoconf \
1845 maybe-check-automake \
1846 maybe-check-bash \
1847 maybe-check-bfd \
1848 maybe-check-opcodes \
1849 maybe-check-binutils \
1850 maybe-check-bison \
1851 maybe-check-byacc \
1852 maybe-check-bzip2 \
1853 maybe-check-dejagnu \
1854 maybe-check-diff \
1855 maybe-check-dosutils \
1856 maybe-check-etc \
1857 maybe-check-fastjar \
1858 maybe-check-fileutils \
1859 maybe-check-findutils \
1860 maybe-check-find \
1861 maybe-check-fixincludes \
1862 maybe-check-flex \
1863 maybe-check-gas \
1864 maybe-check-gcc \
1865 maybe-check-gawk \
1866 maybe-check-gettext \
1867 maybe-check-gnuserv \
1868 maybe-check-gprof \
1869 maybe-check-gzip \
1870 maybe-check-hello \
1871 maybe-check-indent \
1872 maybe-check-intl \
1873 maybe-check-tcl \
1874 maybe-check-itcl \
1875 maybe-check-ld \
1876 maybe-check-libcpp \
1877 maybe-check-libdecnumber \
1878 maybe-check-libgui \
1879 maybe-check-libiberty \
1880 maybe-check-libtool \
1881 maybe-check-m4 \
1882 maybe-check-make \
1883 maybe-check-mmalloc \
1884 maybe-check-patch \
1885 maybe-check-perl \
1886 maybe-check-prms \
1887 maybe-check-rcs \
1888 maybe-check-readline \
1889 maybe-check-release \
1890 maybe-check-recode \
1891 maybe-check-sed \
1892 maybe-check-send-pr \
1893 maybe-check-shellutils \
1894 maybe-check-sid \
1895 maybe-check-sim \
1896 maybe-check-tar \
1897 maybe-check-texinfo \
1898 maybe-check-textutils \
1899 maybe-check-time \
1900 maybe-check-uudecode \
1901 maybe-check-wdiff \
1902 maybe-check-zip \
1903 maybe-check-zlib \
1904 maybe-check-gdb \
1905 maybe-check-expect \
1906 maybe-check-guile \
1907 maybe-check-tk \
1908 maybe-check-libtermcap \
1909 maybe-check-utils \
1910 maybe-check-gnattools
1912 .PHONY: check-target
1913 check-target: \
1914 maybe-check-target-libstdc++-v3 \
1915 maybe-check-target-libmudflap \
1916 maybe-check-target-libssp \
1917 maybe-check-target-newlib \
1918 maybe-check-target-libgfortran \
1919 maybe-check-target-libobjc \
1920 maybe-check-target-libtermcap \
1921 maybe-check-target-winsup \
1922 maybe-check-target-libgloss \
1923 maybe-check-target-libiberty \
1924 maybe-check-target-gperf \
1925 maybe-check-target-examples \
1926 maybe-check-target-libffi \
1927 maybe-check-target-libjava \
1928 maybe-check-target-zlib \
1929 maybe-check-target-boehm-gc \
1930 maybe-check-target-qthreads \
1931 maybe-check-target-rda \
1932 maybe-check-target-libada
1934 do-check:
1935 @: $(MAKE); $(unstage)
1936 @r=`${PWD_COMMAND}`; export r; \
1937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1938 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1940 # Automated reporting of test results.
1942 warning.log: build.log
1943 $(srcdir)/contrib/warn_summary build.log > $@
1945 mail-report.log:
1946 if test x'$(BOOT_CFLAGS)' != x''; then \
1947 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1948 fi; \
1949 $(srcdir)/contrib/test_summary -t >$@
1950 chmod +x $@
1951 echo If you really want to send e-mail, run ./$@ now
1953 mail-report-with-warnings.log: warning.log
1954 if test x'$(BOOT_CFLAGS)' != x''; then \
1955 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1956 fi; \
1957 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1958 chmod +x $@
1959 echo If you really want to send e-mail, run ./$@ now
1961 # Installation targets.
1963 .PHONY: install uninstall
1964 install:
1965 @: $(MAKE); $(unstage)
1966 @r=`${PWD_COMMAND}`; export r; \
1967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1968 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
1970 .PHONY: install-host-nogcc
1971 install-host-nogcc: \
1972 maybe-install-ash \
1973 maybe-install-autoconf \
1974 maybe-install-automake \
1975 maybe-install-bash \
1976 maybe-install-bfd \
1977 maybe-install-opcodes \
1978 maybe-install-binutils \
1979 maybe-install-bison \
1980 maybe-install-byacc \
1981 maybe-install-bzip2 \
1982 maybe-install-dejagnu \
1983 maybe-install-diff \
1984 maybe-install-dosutils \
1985 maybe-install-etc \
1986 maybe-install-fastjar \
1987 maybe-install-fileutils \
1988 maybe-install-findutils \
1989 maybe-install-find \
1990 maybe-install-fixincludes \
1991 maybe-install-flex \
1992 maybe-install-gas \
1993 maybe-install-gawk \
1994 maybe-install-gettext \
1995 maybe-install-gnuserv \
1996 maybe-install-gprof \
1997 maybe-install-gzip \
1998 maybe-install-hello \
1999 maybe-install-indent \
2000 maybe-install-intl \
2001 maybe-install-tcl \
2002 maybe-install-itcl \
2003 maybe-install-ld \
2004 maybe-install-libcpp \
2005 maybe-install-libdecnumber \
2006 maybe-install-libgui \
2007 maybe-install-libiberty \
2008 maybe-install-libtool \
2009 maybe-install-m4 \
2010 maybe-install-make \
2011 maybe-install-mmalloc \
2012 maybe-install-patch \
2013 maybe-install-perl \
2014 maybe-install-prms \
2015 maybe-install-rcs \
2016 maybe-install-readline \
2017 maybe-install-release \
2018 maybe-install-recode \
2019 maybe-install-sed \
2020 maybe-install-send-pr \
2021 maybe-install-shellutils \
2022 maybe-install-sid \
2023 maybe-install-sim \
2024 maybe-install-tar \
2025 maybe-install-texinfo \
2026 maybe-install-textutils \
2027 maybe-install-time \
2028 maybe-install-uudecode \
2029 maybe-install-wdiff \
2030 maybe-install-zip \
2031 maybe-install-zlib \
2032 maybe-install-gdb \
2033 maybe-install-expect \
2034 maybe-install-guile \
2035 maybe-install-tk \
2036 maybe-install-libtermcap \
2037 maybe-install-utils \
2038 maybe-install-gnattools
2040 .PHONY: install-host
2041 install-host: \
2042 maybe-install-ash \
2043 maybe-install-autoconf \
2044 maybe-install-automake \
2045 maybe-install-bash \
2046 maybe-install-bfd \
2047 maybe-install-opcodes \
2048 maybe-install-binutils \
2049 maybe-install-bison \
2050 maybe-install-byacc \
2051 maybe-install-bzip2 \
2052 maybe-install-dejagnu \
2053 maybe-install-diff \
2054 maybe-install-dosutils \
2055 maybe-install-etc \
2056 maybe-install-fastjar \
2057 maybe-install-fileutils \
2058 maybe-install-findutils \
2059 maybe-install-find \
2060 maybe-install-fixincludes \
2061 maybe-install-flex \
2062 maybe-install-gas \
2063 maybe-install-gcc \
2064 maybe-install-gawk \
2065 maybe-install-gettext \
2066 maybe-install-gnuserv \
2067 maybe-install-gprof \
2068 maybe-install-gzip \
2069 maybe-install-hello \
2070 maybe-install-indent \
2071 maybe-install-intl \
2072 maybe-install-tcl \
2073 maybe-install-itcl \
2074 maybe-install-ld \
2075 maybe-install-libcpp \
2076 maybe-install-libdecnumber \
2077 maybe-install-libgui \
2078 maybe-install-libiberty \
2079 maybe-install-libtool \
2080 maybe-install-m4 \
2081 maybe-install-make \
2082 maybe-install-mmalloc \
2083 maybe-install-patch \
2084 maybe-install-perl \
2085 maybe-install-prms \
2086 maybe-install-rcs \
2087 maybe-install-readline \
2088 maybe-install-release \
2089 maybe-install-recode \
2090 maybe-install-sed \
2091 maybe-install-send-pr \
2092 maybe-install-shellutils \
2093 maybe-install-sid \
2094 maybe-install-sim \
2095 maybe-install-tar \
2096 maybe-install-texinfo \
2097 maybe-install-textutils \
2098 maybe-install-time \
2099 maybe-install-uudecode \
2100 maybe-install-wdiff \
2101 maybe-install-zip \
2102 maybe-install-zlib \
2103 maybe-install-gdb \
2104 maybe-install-expect \
2105 maybe-install-guile \
2106 maybe-install-tk \
2107 maybe-install-libtermcap \
2108 maybe-install-utils \
2109 maybe-install-gnattools
2111 .PHONY: install-target
2112 install-target: \
2113 maybe-install-target-libstdc++-v3 \
2114 maybe-install-target-libmudflap \
2115 maybe-install-target-libssp \
2116 maybe-install-target-newlib \
2117 maybe-install-target-libgfortran \
2118 maybe-install-target-libobjc \
2119 maybe-install-target-libtermcap \
2120 maybe-install-target-winsup \
2121 maybe-install-target-libgloss \
2122 maybe-install-target-libiberty \
2123 maybe-install-target-gperf \
2124 maybe-install-target-examples \
2125 maybe-install-target-libffi \
2126 maybe-install-target-libjava \
2127 maybe-install-target-zlib \
2128 maybe-install-target-boehm-gc \
2129 maybe-install-target-qthreads \
2130 maybe-install-target-rda \
2131 maybe-install-target-libada
2133 uninstall:
2134 @echo "the uninstall target is not supported in this tree"
2136 .PHONY: install.all
2137 install.all: install-no-fixedincludes
2138 @if [ -f ./gcc/Makefile ] ; then \
2139 r=`${PWD_COMMAND}` ; export r ; \
2140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2141 $(HOST_EXPORTS) \
2142 (cd ./gcc && \
2143 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2144 else \
2145 true ; \
2148 # install-no-fixedincludes is used because Cygnus can not distribute
2149 # the fixed header files.
2150 .PHONY: install-no-fixedincludes
2151 install-no-fixedincludes: installdirs install-host-nogcc \
2152 install-target gcc-no-fixedincludes
2154 ### other supporting targets
2156 MAKEDIRS= \
2157 $(DESTDIR)$(prefix) \
2158 $(DESTDIR)$(exec_prefix)
2159 .PHONY: installdirs
2160 installdirs: mkinstalldirs
2161 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2163 dir.info: do-install-info
2164 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2165 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2166 mv -f dir.info.new dir.info ; \
2167 else true ; \
2170 dist:
2171 @echo "Building a full distribution of this tree isn't done"
2172 @echo "via 'make dist'. Check out the etc/ subdirectory"
2174 etags tags: TAGS
2176 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2177 # ability to use several tags files at once, so there is probably no need
2178 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2179 # (if we felt like it) have this Makefile write a piece of elisp which
2180 # the user could load to tell emacs19 where all the TAGS files we just
2181 # built are.
2182 TAGS: do-TAGS
2184 # ------------------------------------
2185 # Macros for configure and all targets
2186 # ------------------------------------
2192 # --------------------------------------
2193 # Modules which run on the build machine
2194 # --------------------------------------
2197 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2198 maybe-configure-build-libiberty:
2199 @if build-libiberty
2200 maybe-configure-build-libiberty: configure-build-libiberty
2201 configure-build-libiberty:
2202 @: $(MAKE); $(unstage)
2203 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2204 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2205 r=`${PWD_COMMAND}`; export r; \
2206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2207 $(BUILD_EXPORTS) \
2208 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2209 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2210 case $(srcdir) in \
2211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2212 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2214 esac; \
2215 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2216 libsrcdir="$$s/libiberty"; \
2217 rm -f no-such-file || : ; \
2218 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2219 $(BUILD_CONFIGARGS) $${srcdiroption} \
2220 || exit 1
2221 @endif build-libiberty
2227 .PHONY: all-build-libiberty maybe-all-build-libiberty
2228 maybe-all-build-libiberty:
2229 @if build-libiberty
2230 TARGET-build-libiberty=all
2231 maybe-all-build-libiberty: all-build-libiberty
2232 all-build-libiberty: configure-build-libiberty
2233 @: $(MAKE); $(unstage)
2234 @r=`${PWD_COMMAND}`; export r; \
2235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2236 $(BUILD_EXPORTS) \
2237 (cd $(BUILD_SUBDIR)/libiberty && \
2238 $(MAKE) $(TARGET-build-libiberty))
2239 @endif build-libiberty
2245 .PHONY: configure-build-bison maybe-configure-build-bison
2246 maybe-configure-build-bison:
2247 @if build-bison
2248 maybe-configure-build-bison: configure-build-bison
2249 configure-build-bison:
2250 @: $(MAKE); $(unstage)
2251 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2252 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2253 r=`${PWD_COMMAND}`; export r; \
2254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2255 $(BUILD_EXPORTS) \
2256 echo Configuring in $(BUILD_SUBDIR)/bison; \
2257 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2258 case $(srcdir) in \
2259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2260 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2262 esac; \
2263 srcdiroption="--srcdir=$${topdir}/bison"; \
2264 libsrcdir="$$s/bison"; \
2265 rm -f no-such-file || : ; \
2266 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2267 $(BUILD_CONFIGARGS) $${srcdiroption} \
2268 || exit 1
2269 @endif build-bison
2275 .PHONY: all-build-bison maybe-all-build-bison
2276 maybe-all-build-bison:
2277 @if build-bison
2278 TARGET-build-bison=all
2279 maybe-all-build-bison: all-build-bison
2280 all-build-bison: configure-build-bison
2281 @: $(MAKE); $(unstage)
2282 @r=`${PWD_COMMAND}`; export r; \
2283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2284 $(BUILD_EXPORTS) \
2285 (cd $(BUILD_SUBDIR)/bison && \
2286 $(MAKE) $(TARGET-build-bison))
2287 @endif build-bison
2293 .PHONY: configure-build-byacc maybe-configure-build-byacc
2294 maybe-configure-build-byacc:
2295 @if build-byacc
2296 maybe-configure-build-byacc: configure-build-byacc
2297 configure-build-byacc:
2298 @: $(MAKE); $(unstage)
2299 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2300 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2301 r=`${PWD_COMMAND}`; export r; \
2302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2303 $(BUILD_EXPORTS) \
2304 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2305 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2306 case $(srcdir) in \
2307 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2308 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2309 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2310 esac; \
2311 srcdiroption="--srcdir=$${topdir}/byacc"; \
2312 libsrcdir="$$s/byacc"; \
2313 rm -f no-such-file || : ; \
2314 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2315 $(BUILD_CONFIGARGS) $${srcdiroption} \
2316 || exit 1
2317 @endif build-byacc
2323 .PHONY: all-build-byacc maybe-all-build-byacc
2324 maybe-all-build-byacc:
2325 @if build-byacc
2326 TARGET-build-byacc=all
2327 maybe-all-build-byacc: all-build-byacc
2328 all-build-byacc: configure-build-byacc
2329 @: $(MAKE); $(unstage)
2330 @r=`${PWD_COMMAND}`; export r; \
2331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2332 $(BUILD_EXPORTS) \
2333 (cd $(BUILD_SUBDIR)/byacc && \
2334 $(MAKE) $(TARGET-build-byacc))
2335 @endif build-byacc
2341 .PHONY: configure-build-flex maybe-configure-build-flex
2342 maybe-configure-build-flex:
2343 @if build-flex
2344 maybe-configure-build-flex: configure-build-flex
2345 configure-build-flex:
2346 @: $(MAKE); $(unstage)
2347 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2348 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2349 r=`${PWD_COMMAND}`; export r; \
2350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2351 $(BUILD_EXPORTS) \
2352 echo Configuring in $(BUILD_SUBDIR)/flex; \
2353 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2354 case $(srcdir) in \
2355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2356 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2358 esac; \
2359 srcdiroption="--srcdir=$${topdir}/flex"; \
2360 libsrcdir="$$s/flex"; \
2361 rm -f no-such-file || : ; \
2362 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2363 $(BUILD_CONFIGARGS) $${srcdiroption} \
2364 || exit 1
2365 @endif build-flex
2371 .PHONY: all-build-flex maybe-all-build-flex
2372 maybe-all-build-flex:
2373 @if build-flex
2374 TARGET-build-flex=all
2375 maybe-all-build-flex: all-build-flex
2376 all-build-flex: configure-build-flex
2377 @: $(MAKE); $(unstage)
2378 @r=`${PWD_COMMAND}`; export r; \
2379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2380 $(BUILD_EXPORTS) \
2381 (cd $(BUILD_SUBDIR)/flex && \
2382 $(MAKE) $(TARGET-build-flex))
2383 @endif build-flex
2389 .PHONY: configure-build-m4 maybe-configure-build-m4
2390 maybe-configure-build-m4:
2391 @if build-m4
2392 maybe-configure-build-m4: configure-build-m4
2393 configure-build-m4:
2394 @: $(MAKE); $(unstage)
2395 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2396 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2397 r=`${PWD_COMMAND}`; export r; \
2398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2399 $(BUILD_EXPORTS) \
2400 echo Configuring in $(BUILD_SUBDIR)/m4; \
2401 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2402 case $(srcdir) in \
2403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2404 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2406 esac; \
2407 srcdiroption="--srcdir=$${topdir}/m4"; \
2408 libsrcdir="$$s/m4"; \
2409 rm -f no-such-file || : ; \
2410 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2411 $(BUILD_CONFIGARGS) $${srcdiroption} \
2412 || exit 1
2413 @endif build-m4
2419 .PHONY: all-build-m4 maybe-all-build-m4
2420 maybe-all-build-m4:
2421 @if build-m4
2422 TARGET-build-m4=all
2423 maybe-all-build-m4: all-build-m4
2424 all-build-m4: configure-build-m4
2425 @: $(MAKE); $(unstage)
2426 @r=`${PWD_COMMAND}`; export r; \
2427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2428 $(BUILD_EXPORTS) \
2429 (cd $(BUILD_SUBDIR)/m4 && \
2430 $(MAKE) $(TARGET-build-m4))
2431 @endif build-m4
2437 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2438 maybe-configure-build-texinfo:
2439 @if build-texinfo
2440 maybe-configure-build-texinfo: configure-build-texinfo
2441 configure-build-texinfo:
2442 @: $(MAKE); $(unstage)
2443 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2444 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2445 r=`${PWD_COMMAND}`; export r; \
2446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2447 $(BUILD_EXPORTS) \
2448 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2449 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2450 case $(srcdir) in \
2451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2452 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2454 esac; \
2455 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2456 libsrcdir="$$s/texinfo"; \
2457 rm -f no-such-file || : ; \
2458 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2459 $(BUILD_CONFIGARGS) $${srcdiroption} \
2460 || exit 1
2461 @endif build-texinfo
2467 .PHONY: all-build-texinfo maybe-all-build-texinfo
2468 maybe-all-build-texinfo:
2469 @if build-texinfo
2470 TARGET-build-texinfo=all
2471 maybe-all-build-texinfo: all-build-texinfo
2472 all-build-texinfo: configure-build-texinfo
2473 @: $(MAKE); $(unstage)
2474 @r=`${PWD_COMMAND}`; export r; \
2475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2476 $(BUILD_EXPORTS) \
2477 (cd $(BUILD_SUBDIR)/texinfo && \
2478 $(MAKE) $(TARGET-build-texinfo))
2479 @endif build-texinfo
2485 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2486 maybe-configure-build-fixincludes:
2487 @if build-fixincludes
2488 maybe-configure-build-fixincludes: configure-build-fixincludes
2489 configure-build-fixincludes:
2490 @: $(MAKE); $(unstage)
2491 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2492 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2493 r=`${PWD_COMMAND}`; export r; \
2494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2495 $(BUILD_EXPORTS) \
2496 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2497 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2498 case $(srcdir) in \
2499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2500 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2502 esac; \
2503 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2504 libsrcdir="$$s/fixincludes"; \
2505 rm -f no-such-file || : ; \
2506 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2507 $(BUILD_CONFIGARGS) $${srcdiroption} \
2508 || exit 1
2509 @endif build-fixincludes
2515 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2516 maybe-all-build-fixincludes:
2517 @if build-fixincludes
2518 TARGET-build-fixincludes=all
2519 maybe-all-build-fixincludes: all-build-fixincludes
2520 all-build-fixincludes: configure-build-fixincludes
2521 @: $(MAKE); $(unstage)
2522 @r=`${PWD_COMMAND}`; export r; \
2523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2524 $(BUILD_EXPORTS) \
2525 (cd $(BUILD_SUBDIR)/fixincludes && \
2526 $(MAKE) $(TARGET-build-fixincludes))
2527 @endif build-fixincludes
2533 # --------------------------------------
2534 # Modules which run on the host machine
2535 # --------------------------------------
2538 .PHONY: configure-ash maybe-configure-ash
2539 maybe-configure-ash:
2540 @if ash
2541 maybe-configure-ash: configure-ash
2542 configure-ash:
2543 @: $(MAKE); $(unstage)
2544 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2546 r=`${PWD_COMMAND}`; export r; \
2547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 $(HOST_EXPORTS) \
2549 echo Configuring in $(HOST_SUBDIR)/ash; \
2550 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2551 case $(srcdir) in \
2552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2553 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2555 esac; \
2556 srcdiroption="--srcdir=$${topdir}/ash"; \
2557 libsrcdir="$$s/ash"; \
2558 $(SHELL) $${libsrcdir}/configure \
2559 $(HOST_CONFIGARGS) $${srcdiroption} \
2560 || exit 1
2561 @endif ash
2567 .PHONY: all-ash maybe-all-ash
2568 maybe-all-ash:
2569 @if ash
2570 TARGET-ash=all
2571 maybe-all-ash: all-ash
2572 all-ash: configure-ash
2573 @: $(MAKE); $(unstage)
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 $(HOST_EXPORTS) \
2577 (cd $(HOST_SUBDIR)/ash && \
2578 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2579 @endif ash
2584 .PHONY: check-ash maybe-check-ash
2585 maybe-check-ash:
2586 @if ash
2587 maybe-check-ash: check-ash
2589 check-ash:
2590 @: $(MAKE); $(unstage)
2591 @r=`${PWD_COMMAND}`; export r; \
2592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2593 $(HOST_EXPORTS) \
2594 (cd $(HOST_SUBDIR)/ash && \
2595 $(MAKE) $(FLAGS_TO_PASS) check)
2597 @endif ash
2599 .PHONY: install-ash maybe-install-ash
2600 maybe-install-ash:
2601 @if ash
2602 maybe-install-ash: install-ash
2604 install-ash: installdirs
2605 @: $(MAKE); $(unstage)
2606 @r=`${PWD_COMMAND}`; export r; \
2607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2608 $(HOST_EXPORTS) \
2609 (cd $(HOST_SUBDIR)/ash && \
2610 $(MAKE) $(FLAGS_TO_PASS) install)
2612 @endif ash
2614 # Other targets (info, dvi, etc.)
2616 .PHONY: maybe-info-ash info-ash
2617 maybe-info-ash:
2618 @if ash
2619 maybe-info-ash: info-ash
2621 info-ash: \
2622 configure-ash
2623 @: $(MAKE); $(unstage)
2624 @[ -f ./ash/Makefile ] || exit 0; \
2625 r=`${PWD_COMMAND}`; export r; \
2626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2627 $(HOST_EXPORTS) \
2628 for flag in $(EXTRA_HOST_FLAGS) ; do \
2629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2630 done; \
2631 echo "Doing info in ash" ; \
2632 (cd $(HOST_SUBDIR)/ash && \
2633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2635 "RANLIB=$${RANLIB}" \
2636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2637 info) \
2638 || exit 1
2640 @endif ash
2642 .PHONY: maybe-dvi-ash dvi-ash
2643 maybe-dvi-ash:
2644 @if ash
2645 maybe-dvi-ash: dvi-ash
2647 dvi-ash: \
2648 configure-ash
2649 @: $(MAKE); $(unstage)
2650 @[ -f ./ash/Makefile ] || exit 0; \
2651 r=`${PWD_COMMAND}`; export r; \
2652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2653 $(HOST_EXPORTS) \
2654 for flag in $(EXTRA_HOST_FLAGS) ; do \
2655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2656 done; \
2657 echo "Doing dvi in ash" ; \
2658 (cd $(HOST_SUBDIR)/ash && \
2659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2661 "RANLIB=$${RANLIB}" \
2662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2663 dvi) \
2664 || exit 1
2666 @endif ash
2668 .PHONY: maybe-html-ash html-ash
2669 maybe-html-ash:
2670 @if ash
2671 maybe-html-ash: html-ash
2673 html-ash: \
2674 configure-ash
2675 @: $(MAKE); $(unstage)
2676 @[ -f ./ash/Makefile ] || exit 0; \
2677 r=`${PWD_COMMAND}`; export r; \
2678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2679 $(HOST_EXPORTS) \
2680 for flag in $(EXTRA_HOST_FLAGS) ; do \
2681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2682 done; \
2683 echo "Doing html in ash" ; \
2684 (cd $(HOST_SUBDIR)/ash && \
2685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2687 "RANLIB=$${RANLIB}" \
2688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2689 html) \
2690 || exit 1
2692 @endif ash
2694 .PHONY: maybe-TAGS-ash TAGS-ash
2695 maybe-TAGS-ash:
2696 @if ash
2697 maybe-TAGS-ash: TAGS-ash
2699 TAGS-ash: \
2700 configure-ash
2701 @: $(MAKE); $(unstage)
2702 @[ -f ./ash/Makefile ] || exit 0; \
2703 r=`${PWD_COMMAND}`; export r; \
2704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2705 $(HOST_EXPORTS) \
2706 for flag in $(EXTRA_HOST_FLAGS) ; do \
2707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2708 done; \
2709 echo "Doing TAGS in ash" ; \
2710 (cd $(HOST_SUBDIR)/ash && \
2711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2713 "RANLIB=$${RANLIB}" \
2714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2715 TAGS) \
2716 || exit 1
2718 @endif ash
2720 .PHONY: maybe-install-info-ash install-info-ash
2721 maybe-install-info-ash:
2722 @if ash
2723 maybe-install-info-ash: install-info-ash
2725 install-info-ash: \
2726 configure-ash \
2727 info-ash
2728 @: $(MAKE); $(unstage)
2729 @[ -f ./ash/Makefile ] || exit 0; \
2730 r=`${PWD_COMMAND}`; export r; \
2731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2732 $(HOST_EXPORTS) \
2733 for flag in $(EXTRA_HOST_FLAGS) ; do \
2734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2735 done; \
2736 echo "Doing install-info in ash" ; \
2737 (cd $(HOST_SUBDIR)/ash && \
2738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2740 "RANLIB=$${RANLIB}" \
2741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2742 install-info) \
2743 || exit 1
2745 @endif ash
2747 .PHONY: maybe-installcheck-ash installcheck-ash
2748 maybe-installcheck-ash:
2749 @if ash
2750 maybe-installcheck-ash: installcheck-ash
2752 installcheck-ash: \
2753 configure-ash
2754 @: $(MAKE); $(unstage)
2755 @[ -f ./ash/Makefile ] || exit 0; \
2756 r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(HOST_EXPORTS) \
2759 for flag in $(EXTRA_HOST_FLAGS) ; do \
2760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2761 done; \
2762 echo "Doing installcheck in ash" ; \
2763 (cd $(HOST_SUBDIR)/ash && \
2764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2766 "RANLIB=$${RANLIB}" \
2767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2768 installcheck) \
2769 || exit 1
2771 @endif ash
2773 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2774 maybe-mostlyclean-ash:
2775 @if ash
2776 maybe-mostlyclean-ash: mostlyclean-ash
2778 mostlyclean-ash:
2779 @: $(MAKE); $(unstage)
2780 @[ -f ./ash/Makefile ] || exit 0; \
2781 r=`${PWD_COMMAND}`; export r; \
2782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2783 $(HOST_EXPORTS) \
2784 for flag in $(EXTRA_HOST_FLAGS) ; do \
2785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2786 done; \
2787 echo "Doing mostlyclean in ash" ; \
2788 (cd $(HOST_SUBDIR)/ash && \
2789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2791 "RANLIB=$${RANLIB}" \
2792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2793 mostlyclean) \
2794 || exit 1
2796 @endif ash
2798 .PHONY: maybe-clean-ash clean-ash
2799 maybe-clean-ash:
2800 @if ash
2801 maybe-clean-ash: clean-ash
2803 clean-ash:
2804 @: $(MAKE); $(unstage)
2805 @[ -f ./ash/Makefile ] || exit 0; \
2806 r=`${PWD_COMMAND}`; export r; \
2807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2808 $(HOST_EXPORTS) \
2809 for flag in $(EXTRA_HOST_FLAGS) ; do \
2810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2811 done; \
2812 echo "Doing clean in ash" ; \
2813 (cd $(HOST_SUBDIR)/ash && \
2814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2816 "RANLIB=$${RANLIB}" \
2817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2818 clean) \
2819 || exit 1
2821 @endif ash
2823 .PHONY: maybe-distclean-ash distclean-ash
2824 maybe-distclean-ash:
2825 @if ash
2826 maybe-distclean-ash: distclean-ash
2828 distclean-ash:
2829 @: $(MAKE); $(unstage)
2830 @[ -f ./ash/Makefile ] || exit 0; \
2831 r=`${PWD_COMMAND}`; export r; \
2832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2833 $(HOST_EXPORTS) \
2834 for flag in $(EXTRA_HOST_FLAGS) ; do \
2835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2836 done; \
2837 echo "Doing distclean in ash" ; \
2838 (cd $(HOST_SUBDIR)/ash && \
2839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2841 "RANLIB=$${RANLIB}" \
2842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2843 distclean) \
2844 || exit 1
2846 @endif ash
2848 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2849 maybe-maintainer-clean-ash:
2850 @if ash
2851 maybe-maintainer-clean-ash: maintainer-clean-ash
2853 maintainer-clean-ash:
2854 @: $(MAKE); $(unstage)
2855 @[ -f ./ash/Makefile ] || exit 0; \
2856 r=`${PWD_COMMAND}`; export r; \
2857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2858 $(HOST_EXPORTS) \
2859 for flag in $(EXTRA_HOST_FLAGS) ; do \
2860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2861 done; \
2862 echo "Doing maintainer-clean in ash" ; \
2863 (cd $(HOST_SUBDIR)/ash && \
2864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2866 "RANLIB=$${RANLIB}" \
2867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2868 maintainer-clean) \
2869 || exit 1
2871 @endif ash
2875 .PHONY: configure-autoconf maybe-configure-autoconf
2876 maybe-configure-autoconf:
2877 @if autoconf
2878 maybe-configure-autoconf: configure-autoconf
2879 configure-autoconf:
2880 @: $(MAKE); $(unstage)
2881 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2883 r=`${PWD_COMMAND}`; export r; \
2884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 $(HOST_EXPORTS) \
2886 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2887 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2888 case $(srcdir) in \
2889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2890 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2892 esac; \
2893 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2894 libsrcdir="$$s/autoconf"; \
2895 $(SHELL) $${libsrcdir}/configure \
2896 $(HOST_CONFIGARGS) $${srcdiroption} \
2897 || exit 1
2898 @endif autoconf
2904 .PHONY: all-autoconf maybe-all-autoconf
2905 maybe-all-autoconf:
2906 @if autoconf
2907 TARGET-autoconf=all
2908 maybe-all-autoconf: all-autoconf
2909 all-autoconf: configure-autoconf
2910 @: $(MAKE); $(unstage)
2911 @r=`${PWD_COMMAND}`; export r; \
2912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2913 $(HOST_EXPORTS) \
2914 (cd $(HOST_SUBDIR)/autoconf && \
2915 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2916 @endif autoconf
2921 .PHONY: check-autoconf maybe-check-autoconf
2922 maybe-check-autoconf:
2923 @if autoconf
2924 maybe-check-autoconf: check-autoconf
2926 check-autoconf:
2927 @: $(MAKE); $(unstage)
2928 @r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 $(HOST_EXPORTS) \
2931 (cd $(HOST_SUBDIR)/autoconf && \
2932 $(MAKE) $(FLAGS_TO_PASS) check)
2934 @endif autoconf
2936 .PHONY: install-autoconf maybe-install-autoconf
2937 maybe-install-autoconf:
2938 @if autoconf
2939 maybe-install-autoconf: install-autoconf
2941 install-autoconf: installdirs
2942 @: $(MAKE); $(unstage)
2943 @r=`${PWD_COMMAND}`; export r; \
2944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2945 $(HOST_EXPORTS) \
2946 (cd $(HOST_SUBDIR)/autoconf && \
2947 $(MAKE) $(FLAGS_TO_PASS) install)
2949 @endif autoconf
2951 # Other targets (info, dvi, etc.)
2953 .PHONY: maybe-info-autoconf info-autoconf
2954 maybe-info-autoconf:
2955 @if autoconf
2956 maybe-info-autoconf: info-autoconf
2958 info-autoconf: \
2959 configure-autoconf
2960 @: $(MAKE); $(unstage)
2961 @[ -f ./autoconf/Makefile ] || exit 0; \
2962 r=`${PWD_COMMAND}`; export r; \
2963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2964 $(HOST_EXPORTS) \
2965 for flag in $(EXTRA_HOST_FLAGS) ; do \
2966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2967 done; \
2968 echo "Doing info in autoconf" ; \
2969 (cd $(HOST_SUBDIR)/autoconf && \
2970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2972 "RANLIB=$${RANLIB}" \
2973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2974 info) \
2975 || exit 1
2977 @endif autoconf
2979 .PHONY: maybe-dvi-autoconf dvi-autoconf
2980 maybe-dvi-autoconf:
2981 @if autoconf
2982 maybe-dvi-autoconf: dvi-autoconf
2984 dvi-autoconf: \
2985 configure-autoconf
2986 @: $(MAKE); $(unstage)
2987 @[ -f ./autoconf/Makefile ] || exit 0; \
2988 r=`${PWD_COMMAND}`; export r; \
2989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2990 $(HOST_EXPORTS) \
2991 for flag in $(EXTRA_HOST_FLAGS) ; do \
2992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2993 done; \
2994 echo "Doing dvi in autoconf" ; \
2995 (cd $(HOST_SUBDIR)/autoconf && \
2996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2998 "RANLIB=$${RANLIB}" \
2999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3000 dvi) \
3001 || exit 1
3003 @endif autoconf
3005 .PHONY: maybe-html-autoconf html-autoconf
3006 maybe-html-autoconf:
3007 @if autoconf
3008 maybe-html-autoconf: html-autoconf
3010 html-autoconf: \
3011 configure-autoconf
3012 @: $(MAKE); $(unstage)
3013 @[ -f ./autoconf/Makefile ] || exit 0; \
3014 r=`${PWD_COMMAND}`; export r; \
3015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3016 $(HOST_EXPORTS) \
3017 for flag in $(EXTRA_HOST_FLAGS) ; do \
3018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3019 done; \
3020 echo "Doing html in autoconf" ; \
3021 (cd $(HOST_SUBDIR)/autoconf && \
3022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3024 "RANLIB=$${RANLIB}" \
3025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3026 html) \
3027 || exit 1
3029 @endif autoconf
3031 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3032 maybe-TAGS-autoconf:
3033 @if autoconf
3034 maybe-TAGS-autoconf: TAGS-autoconf
3036 TAGS-autoconf: \
3037 configure-autoconf
3038 @: $(MAKE); $(unstage)
3039 @[ -f ./autoconf/Makefile ] || exit 0; \
3040 r=`${PWD_COMMAND}`; export r; \
3041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3042 $(HOST_EXPORTS) \
3043 for flag in $(EXTRA_HOST_FLAGS) ; do \
3044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3045 done; \
3046 echo "Doing TAGS in autoconf" ; \
3047 (cd $(HOST_SUBDIR)/autoconf && \
3048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3050 "RANLIB=$${RANLIB}" \
3051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3052 TAGS) \
3053 || exit 1
3055 @endif autoconf
3057 .PHONY: maybe-install-info-autoconf install-info-autoconf
3058 maybe-install-info-autoconf:
3059 @if autoconf
3060 maybe-install-info-autoconf: install-info-autoconf
3062 install-info-autoconf: \
3063 configure-autoconf \
3064 info-autoconf
3065 @: $(MAKE); $(unstage)
3066 @[ -f ./autoconf/Makefile ] || exit 0; \
3067 r=`${PWD_COMMAND}`; export r; \
3068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3069 $(HOST_EXPORTS) \
3070 for flag in $(EXTRA_HOST_FLAGS) ; do \
3071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3072 done; \
3073 echo "Doing install-info in autoconf" ; \
3074 (cd $(HOST_SUBDIR)/autoconf && \
3075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3077 "RANLIB=$${RANLIB}" \
3078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3079 install-info) \
3080 || exit 1
3082 @endif autoconf
3084 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3085 maybe-installcheck-autoconf:
3086 @if autoconf
3087 maybe-installcheck-autoconf: installcheck-autoconf
3089 installcheck-autoconf: \
3090 configure-autoconf
3091 @: $(MAKE); $(unstage)
3092 @[ -f ./autoconf/Makefile ] || exit 0; \
3093 r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3095 $(HOST_EXPORTS) \
3096 for flag in $(EXTRA_HOST_FLAGS) ; do \
3097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3098 done; \
3099 echo "Doing installcheck in autoconf" ; \
3100 (cd $(HOST_SUBDIR)/autoconf && \
3101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3103 "RANLIB=$${RANLIB}" \
3104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3105 installcheck) \
3106 || exit 1
3108 @endif autoconf
3110 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3111 maybe-mostlyclean-autoconf:
3112 @if autoconf
3113 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3115 mostlyclean-autoconf:
3116 @: $(MAKE); $(unstage)
3117 @[ -f ./autoconf/Makefile ] || exit 0; \
3118 r=`${PWD_COMMAND}`; export r; \
3119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3120 $(HOST_EXPORTS) \
3121 for flag in $(EXTRA_HOST_FLAGS) ; do \
3122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3123 done; \
3124 echo "Doing mostlyclean in autoconf" ; \
3125 (cd $(HOST_SUBDIR)/autoconf && \
3126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3128 "RANLIB=$${RANLIB}" \
3129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3130 mostlyclean) \
3131 || exit 1
3133 @endif autoconf
3135 .PHONY: maybe-clean-autoconf clean-autoconf
3136 maybe-clean-autoconf:
3137 @if autoconf
3138 maybe-clean-autoconf: clean-autoconf
3140 clean-autoconf:
3141 @: $(MAKE); $(unstage)
3142 @[ -f ./autoconf/Makefile ] || exit 0; \
3143 r=`${PWD_COMMAND}`; export r; \
3144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3145 $(HOST_EXPORTS) \
3146 for flag in $(EXTRA_HOST_FLAGS) ; do \
3147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3148 done; \
3149 echo "Doing clean in autoconf" ; \
3150 (cd $(HOST_SUBDIR)/autoconf && \
3151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3153 "RANLIB=$${RANLIB}" \
3154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3155 clean) \
3156 || exit 1
3158 @endif autoconf
3160 .PHONY: maybe-distclean-autoconf distclean-autoconf
3161 maybe-distclean-autoconf:
3162 @if autoconf
3163 maybe-distclean-autoconf: distclean-autoconf
3165 distclean-autoconf:
3166 @: $(MAKE); $(unstage)
3167 @[ -f ./autoconf/Makefile ] || exit 0; \
3168 r=`${PWD_COMMAND}`; export r; \
3169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3170 $(HOST_EXPORTS) \
3171 for flag in $(EXTRA_HOST_FLAGS) ; do \
3172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3173 done; \
3174 echo "Doing distclean in autoconf" ; \
3175 (cd $(HOST_SUBDIR)/autoconf && \
3176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3178 "RANLIB=$${RANLIB}" \
3179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3180 distclean) \
3181 || exit 1
3183 @endif autoconf
3185 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3186 maybe-maintainer-clean-autoconf:
3187 @if autoconf
3188 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3190 maintainer-clean-autoconf:
3191 @: $(MAKE); $(unstage)
3192 @[ -f ./autoconf/Makefile ] || exit 0; \
3193 r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 $(HOST_EXPORTS) \
3196 for flag in $(EXTRA_HOST_FLAGS) ; do \
3197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3198 done; \
3199 echo "Doing maintainer-clean in autoconf" ; \
3200 (cd $(HOST_SUBDIR)/autoconf && \
3201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3203 "RANLIB=$${RANLIB}" \
3204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3205 maintainer-clean) \
3206 || exit 1
3208 @endif autoconf
3212 .PHONY: configure-automake maybe-configure-automake
3213 maybe-configure-automake:
3214 @if automake
3215 maybe-configure-automake: configure-automake
3216 configure-automake:
3217 @: $(MAKE); $(unstage)
3218 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3220 r=`${PWD_COMMAND}`; export r; \
3221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3222 $(HOST_EXPORTS) \
3223 echo Configuring in $(HOST_SUBDIR)/automake; \
3224 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3225 case $(srcdir) in \
3226 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3227 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3228 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3229 esac; \
3230 srcdiroption="--srcdir=$${topdir}/automake"; \
3231 libsrcdir="$$s/automake"; \
3232 $(SHELL) $${libsrcdir}/configure \
3233 $(HOST_CONFIGARGS) $${srcdiroption} \
3234 || exit 1
3235 @endif automake
3241 .PHONY: all-automake maybe-all-automake
3242 maybe-all-automake:
3243 @if automake
3244 TARGET-automake=all
3245 maybe-all-automake: all-automake
3246 all-automake: configure-automake
3247 @: $(MAKE); $(unstage)
3248 @r=`${PWD_COMMAND}`; export r; \
3249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3250 $(HOST_EXPORTS) \
3251 (cd $(HOST_SUBDIR)/automake && \
3252 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3253 @endif automake
3258 .PHONY: check-automake maybe-check-automake
3259 maybe-check-automake:
3260 @if automake
3261 maybe-check-automake: check-automake
3263 check-automake:
3264 @: $(MAKE); $(unstage)
3265 @r=`${PWD_COMMAND}`; export r; \
3266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3267 $(HOST_EXPORTS) \
3268 (cd $(HOST_SUBDIR)/automake && \
3269 $(MAKE) $(FLAGS_TO_PASS) check)
3271 @endif automake
3273 .PHONY: install-automake maybe-install-automake
3274 maybe-install-automake:
3275 @if automake
3276 maybe-install-automake: install-automake
3278 install-automake: installdirs
3279 @: $(MAKE); $(unstage)
3280 @r=`${PWD_COMMAND}`; export r; \
3281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3282 $(HOST_EXPORTS) \
3283 (cd $(HOST_SUBDIR)/automake && \
3284 $(MAKE) $(FLAGS_TO_PASS) install)
3286 @endif automake
3288 # Other targets (info, dvi, etc.)
3290 .PHONY: maybe-info-automake info-automake
3291 maybe-info-automake:
3292 @if automake
3293 maybe-info-automake: info-automake
3295 info-automake: \
3296 configure-automake
3297 @: $(MAKE); $(unstage)
3298 @[ -f ./automake/Makefile ] || exit 0; \
3299 r=`${PWD_COMMAND}`; export r; \
3300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3301 $(HOST_EXPORTS) \
3302 for flag in $(EXTRA_HOST_FLAGS) ; do \
3303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3304 done; \
3305 echo "Doing info in automake" ; \
3306 (cd $(HOST_SUBDIR)/automake && \
3307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3309 "RANLIB=$${RANLIB}" \
3310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3311 info) \
3312 || exit 1
3314 @endif automake
3316 .PHONY: maybe-dvi-automake dvi-automake
3317 maybe-dvi-automake:
3318 @if automake
3319 maybe-dvi-automake: dvi-automake
3321 dvi-automake: \
3322 configure-automake
3323 @: $(MAKE); $(unstage)
3324 @[ -f ./automake/Makefile ] || exit 0; \
3325 r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 $(HOST_EXPORTS) \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3330 done; \
3331 echo "Doing dvi in automake" ; \
3332 (cd $(HOST_SUBDIR)/automake && \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3337 dvi) \
3338 || exit 1
3340 @endif automake
3342 .PHONY: maybe-html-automake html-automake
3343 maybe-html-automake:
3344 @if automake
3345 maybe-html-automake: html-automake
3347 html-automake: \
3348 configure-automake
3349 @: $(MAKE); $(unstage)
3350 @[ -f ./automake/Makefile ] || exit 0; \
3351 r=`${PWD_COMMAND}`; export r; \
3352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3353 $(HOST_EXPORTS) \
3354 for flag in $(EXTRA_HOST_FLAGS) ; do \
3355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3356 done; \
3357 echo "Doing html in automake" ; \
3358 (cd $(HOST_SUBDIR)/automake && \
3359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3361 "RANLIB=$${RANLIB}" \
3362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3363 html) \
3364 || exit 1
3366 @endif automake
3368 .PHONY: maybe-TAGS-automake TAGS-automake
3369 maybe-TAGS-automake:
3370 @if automake
3371 maybe-TAGS-automake: TAGS-automake
3373 TAGS-automake: \
3374 configure-automake
3375 @: $(MAKE); $(unstage)
3376 @[ -f ./automake/Makefile ] || exit 0; \
3377 r=`${PWD_COMMAND}`; export r; \
3378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 $(HOST_EXPORTS) \
3380 for flag in $(EXTRA_HOST_FLAGS) ; do \
3381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3382 done; \
3383 echo "Doing TAGS in automake" ; \
3384 (cd $(HOST_SUBDIR)/automake && \
3385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3387 "RANLIB=$${RANLIB}" \
3388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3389 TAGS) \
3390 || exit 1
3392 @endif automake
3394 .PHONY: maybe-install-info-automake install-info-automake
3395 maybe-install-info-automake:
3396 @if automake
3397 maybe-install-info-automake: install-info-automake
3399 install-info-automake: \
3400 configure-automake \
3401 info-automake
3402 @: $(MAKE); $(unstage)
3403 @[ -f ./automake/Makefile ] || exit 0; \
3404 r=`${PWD_COMMAND}`; export r; \
3405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 $(HOST_EXPORTS) \
3407 for flag in $(EXTRA_HOST_FLAGS) ; do \
3408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3409 done; \
3410 echo "Doing install-info in automake" ; \
3411 (cd $(HOST_SUBDIR)/automake && \
3412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3414 "RANLIB=$${RANLIB}" \
3415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3416 install-info) \
3417 || exit 1
3419 @endif automake
3421 .PHONY: maybe-installcheck-automake installcheck-automake
3422 maybe-installcheck-automake:
3423 @if automake
3424 maybe-installcheck-automake: installcheck-automake
3426 installcheck-automake: \
3427 configure-automake
3428 @: $(MAKE); $(unstage)
3429 @[ -f ./automake/Makefile ] || exit 0; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 for flag in $(EXTRA_HOST_FLAGS) ; do \
3434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3435 done; \
3436 echo "Doing installcheck in automake" ; \
3437 (cd $(HOST_SUBDIR)/automake && \
3438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440 "RANLIB=$${RANLIB}" \
3441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3442 installcheck) \
3443 || exit 1
3445 @endif automake
3447 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3448 maybe-mostlyclean-automake:
3449 @if automake
3450 maybe-mostlyclean-automake: mostlyclean-automake
3452 mostlyclean-automake:
3453 @: $(MAKE); $(unstage)
3454 @[ -f ./automake/Makefile ] || exit 0; \
3455 r=`${PWD_COMMAND}`; export r; \
3456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3457 $(HOST_EXPORTS) \
3458 for flag in $(EXTRA_HOST_FLAGS) ; do \
3459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3460 done; \
3461 echo "Doing mostlyclean in automake" ; \
3462 (cd $(HOST_SUBDIR)/automake && \
3463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3465 "RANLIB=$${RANLIB}" \
3466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3467 mostlyclean) \
3468 || exit 1
3470 @endif automake
3472 .PHONY: maybe-clean-automake clean-automake
3473 maybe-clean-automake:
3474 @if automake
3475 maybe-clean-automake: clean-automake
3477 clean-automake:
3478 @: $(MAKE); $(unstage)
3479 @[ -f ./automake/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS) ; do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing clean in automake" ; \
3487 (cd $(HOST_SUBDIR)/automake && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3492 clean) \
3493 || exit 1
3495 @endif automake
3497 .PHONY: maybe-distclean-automake distclean-automake
3498 maybe-distclean-automake:
3499 @if automake
3500 maybe-distclean-automake: distclean-automake
3502 distclean-automake:
3503 @: $(MAKE); $(unstage)
3504 @[ -f ./automake/Makefile ] || exit 0; \
3505 r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 $(HOST_EXPORTS) \
3508 for flag in $(EXTRA_HOST_FLAGS) ; do \
3509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3510 done; \
3511 echo "Doing distclean in automake" ; \
3512 (cd $(HOST_SUBDIR)/automake && \
3513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3515 "RANLIB=$${RANLIB}" \
3516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3517 distclean) \
3518 || exit 1
3520 @endif automake
3522 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3523 maybe-maintainer-clean-automake:
3524 @if automake
3525 maybe-maintainer-clean-automake: maintainer-clean-automake
3527 maintainer-clean-automake:
3528 @: $(MAKE); $(unstage)
3529 @[ -f ./automake/Makefile ] || exit 0; \
3530 r=`${PWD_COMMAND}`; export r; \
3531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3532 $(HOST_EXPORTS) \
3533 for flag in $(EXTRA_HOST_FLAGS) ; do \
3534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3535 done; \
3536 echo "Doing maintainer-clean in automake" ; \
3537 (cd $(HOST_SUBDIR)/automake && \
3538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3540 "RANLIB=$${RANLIB}" \
3541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3542 maintainer-clean) \
3543 || exit 1
3545 @endif automake
3549 .PHONY: configure-bash maybe-configure-bash
3550 maybe-configure-bash:
3551 @if bash
3552 maybe-configure-bash: configure-bash
3553 configure-bash:
3554 @: $(MAKE); $(unstage)
3555 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3557 r=`${PWD_COMMAND}`; export r; \
3558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3559 $(HOST_EXPORTS) \
3560 echo Configuring in $(HOST_SUBDIR)/bash; \
3561 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3562 case $(srcdir) in \
3563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3564 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3566 esac; \
3567 srcdiroption="--srcdir=$${topdir}/bash"; \
3568 libsrcdir="$$s/bash"; \
3569 $(SHELL) $${libsrcdir}/configure \
3570 $(HOST_CONFIGARGS) $${srcdiroption} \
3571 || exit 1
3572 @endif bash
3578 .PHONY: all-bash maybe-all-bash
3579 maybe-all-bash:
3580 @if bash
3581 TARGET-bash=all
3582 maybe-all-bash: all-bash
3583 all-bash: configure-bash
3584 @: $(MAKE); $(unstage)
3585 @r=`${PWD_COMMAND}`; export r; \
3586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3587 $(HOST_EXPORTS) \
3588 (cd $(HOST_SUBDIR)/bash && \
3589 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3590 @endif bash
3595 .PHONY: check-bash maybe-check-bash
3596 maybe-check-bash:
3597 @if bash
3598 maybe-check-bash: check-bash
3600 check-bash:
3601 @: $(MAKE); $(unstage)
3602 @r=`${PWD_COMMAND}`; export r; \
3603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3604 $(HOST_EXPORTS) \
3605 (cd $(HOST_SUBDIR)/bash && \
3606 $(MAKE) $(FLAGS_TO_PASS) check)
3608 @endif bash
3610 .PHONY: install-bash maybe-install-bash
3611 maybe-install-bash:
3612 @if bash
3613 maybe-install-bash: install-bash
3615 install-bash: installdirs
3616 @: $(MAKE); $(unstage)
3617 @r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 $(HOST_EXPORTS) \
3620 (cd $(HOST_SUBDIR)/bash && \
3621 $(MAKE) $(FLAGS_TO_PASS) install)
3623 @endif bash
3625 # Other targets (info, dvi, etc.)
3627 .PHONY: maybe-info-bash info-bash
3628 maybe-info-bash:
3629 @if bash
3630 maybe-info-bash: info-bash
3632 info-bash: \
3633 configure-bash
3634 @: $(MAKE); $(unstage)
3635 @[ -f ./bash/Makefile ] || exit 0; \
3636 r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 $(HOST_EXPORTS) \
3639 for flag in $(EXTRA_HOST_FLAGS) ; do \
3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3641 done; \
3642 echo "Doing info in bash" ; \
3643 (cd $(HOST_SUBDIR)/bash && \
3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3646 "RANLIB=$${RANLIB}" \
3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3648 info) \
3649 || exit 1
3651 @endif bash
3653 .PHONY: maybe-dvi-bash dvi-bash
3654 maybe-dvi-bash:
3655 @if bash
3656 maybe-dvi-bash: dvi-bash
3658 dvi-bash: \
3659 configure-bash
3660 @: $(MAKE); $(unstage)
3661 @[ -f ./bash/Makefile ] || exit 0; \
3662 r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 $(HOST_EXPORTS) \
3665 for flag in $(EXTRA_HOST_FLAGS) ; do \
3666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3667 done; \
3668 echo "Doing dvi in bash" ; \
3669 (cd $(HOST_SUBDIR)/bash && \
3670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3672 "RANLIB=$${RANLIB}" \
3673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3674 dvi) \
3675 || exit 1
3677 @endif bash
3679 .PHONY: maybe-html-bash html-bash
3680 maybe-html-bash:
3681 @if bash
3682 maybe-html-bash: html-bash
3684 html-bash: \
3685 configure-bash
3686 @: $(MAKE); $(unstage)
3687 @[ -f ./bash/Makefile ] || exit 0; \
3688 r=`${PWD_COMMAND}`; export r; \
3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690 $(HOST_EXPORTS) \
3691 for flag in $(EXTRA_HOST_FLAGS) ; do \
3692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3693 done; \
3694 echo "Doing html in bash" ; \
3695 (cd $(HOST_SUBDIR)/bash && \
3696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3698 "RANLIB=$${RANLIB}" \
3699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3700 html) \
3701 || exit 1
3703 @endif bash
3705 .PHONY: maybe-TAGS-bash TAGS-bash
3706 maybe-TAGS-bash:
3707 @if bash
3708 maybe-TAGS-bash: TAGS-bash
3710 TAGS-bash: \
3711 configure-bash
3712 @: $(MAKE); $(unstage)
3713 @[ -f ./bash/Makefile ] || exit 0; \
3714 r=`${PWD_COMMAND}`; export r; \
3715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3716 $(HOST_EXPORTS) \
3717 for flag in $(EXTRA_HOST_FLAGS) ; do \
3718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3719 done; \
3720 echo "Doing TAGS in bash" ; \
3721 (cd $(HOST_SUBDIR)/bash && \
3722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3724 "RANLIB=$${RANLIB}" \
3725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3726 TAGS) \
3727 || exit 1
3729 @endif bash
3731 .PHONY: maybe-install-info-bash install-info-bash
3732 maybe-install-info-bash:
3733 @if bash
3734 maybe-install-info-bash: install-info-bash
3736 install-info-bash: \
3737 configure-bash \
3738 info-bash
3739 @: $(MAKE); $(unstage)
3740 @[ -f ./bash/Makefile ] || exit 0; \
3741 r=`${PWD_COMMAND}`; export r; \
3742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3743 $(HOST_EXPORTS) \
3744 for flag in $(EXTRA_HOST_FLAGS) ; do \
3745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3746 done; \
3747 echo "Doing install-info in bash" ; \
3748 (cd $(HOST_SUBDIR)/bash && \
3749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3751 "RANLIB=$${RANLIB}" \
3752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3753 install-info) \
3754 || exit 1
3756 @endif bash
3758 .PHONY: maybe-installcheck-bash installcheck-bash
3759 maybe-installcheck-bash:
3760 @if bash
3761 maybe-installcheck-bash: installcheck-bash
3763 installcheck-bash: \
3764 configure-bash
3765 @: $(MAKE); $(unstage)
3766 @[ -f ./bash/Makefile ] || exit 0; \
3767 r=`${PWD_COMMAND}`; export r; \
3768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3769 $(HOST_EXPORTS) \
3770 for flag in $(EXTRA_HOST_FLAGS) ; do \
3771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3772 done; \
3773 echo "Doing installcheck in bash" ; \
3774 (cd $(HOST_SUBDIR)/bash && \
3775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3777 "RANLIB=$${RANLIB}" \
3778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3779 installcheck) \
3780 || exit 1
3782 @endif bash
3784 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3785 maybe-mostlyclean-bash:
3786 @if bash
3787 maybe-mostlyclean-bash: mostlyclean-bash
3789 mostlyclean-bash:
3790 @: $(MAKE); $(unstage)
3791 @[ -f ./bash/Makefile ] || exit 0; \
3792 r=`${PWD_COMMAND}`; export r; \
3793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3794 $(HOST_EXPORTS) \
3795 for flag in $(EXTRA_HOST_FLAGS) ; do \
3796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3797 done; \
3798 echo "Doing mostlyclean in bash" ; \
3799 (cd $(HOST_SUBDIR)/bash && \
3800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3802 "RANLIB=$${RANLIB}" \
3803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3804 mostlyclean) \
3805 || exit 1
3807 @endif bash
3809 .PHONY: maybe-clean-bash clean-bash
3810 maybe-clean-bash:
3811 @if bash
3812 maybe-clean-bash: clean-bash
3814 clean-bash:
3815 @: $(MAKE); $(unstage)
3816 @[ -f ./bash/Makefile ] || exit 0; \
3817 r=`${PWD_COMMAND}`; export r; \
3818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3819 $(HOST_EXPORTS) \
3820 for flag in $(EXTRA_HOST_FLAGS) ; do \
3821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3822 done; \
3823 echo "Doing clean in bash" ; \
3824 (cd $(HOST_SUBDIR)/bash && \
3825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3827 "RANLIB=$${RANLIB}" \
3828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3829 clean) \
3830 || exit 1
3832 @endif bash
3834 .PHONY: maybe-distclean-bash distclean-bash
3835 maybe-distclean-bash:
3836 @if bash
3837 maybe-distclean-bash: distclean-bash
3839 distclean-bash:
3840 @: $(MAKE); $(unstage)
3841 @[ -f ./bash/Makefile ] || exit 0; \
3842 r=`${PWD_COMMAND}`; export r; \
3843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3844 $(HOST_EXPORTS) \
3845 for flag in $(EXTRA_HOST_FLAGS) ; do \
3846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3847 done; \
3848 echo "Doing distclean in bash" ; \
3849 (cd $(HOST_SUBDIR)/bash && \
3850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3852 "RANLIB=$${RANLIB}" \
3853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3854 distclean) \
3855 || exit 1
3857 @endif bash
3859 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3860 maybe-maintainer-clean-bash:
3861 @if bash
3862 maybe-maintainer-clean-bash: maintainer-clean-bash
3864 maintainer-clean-bash:
3865 @: $(MAKE); $(unstage)
3866 @[ -f ./bash/Makefile ] || exit 0; \
3867 r=`${PWD_COMMAND}`; export r; \
3868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869 $(HOST_EXPORTS) \
3870 for flag in $(EXTRA_HOST_FLAGS) ; do \
3871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3872 done; \
3873 echo "Doing maintainer-clean in bash" ; \
3874 (cd $(HOST_SUBDIR)/bash && \
3875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3877 "RANLIB=$${RANLIB}" \
3878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3879 maintainer-clean) \
3880 || exit 1
3882 @endif bash
3886 .PHONY: configure-bfd maybe-configure-bfd
3887 maybe-configure-bfd:
3888 @if bfd
3889 maybe-configure-bfd: configure-bfd
3890 configure-bfd:
3891 @test -f stage_last && exit 0; \
3892 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3894 r=`${PWD_COMMAND}`; export r; \
3895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 $(HOST_EXPORTS) \
3897 echo Configuring in $(HOST_SUBDIR)/bfd; \
3898 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3899 case $(srcdir) in \
3900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3901 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3903 esac; \
3904 srcdiroption="--srcdir=$${topdir}/bfd"; \
3905 libsrcdir="$$s/bfd"; \
3906 $(SHELL) $${libsrcdir}/configure \
3907 $(HOST_CONFIGARGS) $${srcdiroption} \
3908 || exit 1
3909 @endif bfd
3913 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3914 maybe-configure-stage1-bfd:
3915 @if bfd-bootstrap
3916 maybe-configure-stage1-bfd: configure-stage1-bfd
3917 configure-stage1-bfd:
3918 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
3919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3920 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3921 $(HOST_EXPORTS) \
3922 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3924 cd $(HOST_SUBDIR)/bfd || exit 1; \
3925 case $(srcdir) in \
3926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3927 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3929 esac; \
3930 srcdiroption="--srcdir=$${topdir}/bfd"; \
3931 libsrcdir="$$s/bfd"; \
3932 $(SHELL) $${libsrcdir}/configure \
3933 $(HOST_CONFIGARGS) $${srcdiroption} \
3934 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3935 @endif bfd-bootstrap
3937 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3938 maybe-configure-stage2-bfd:
3939 @if bfd-bootstrap
3940 maybe-configure-stage2-bfd: configure-stage2-bfd
3941 configure-stage2-bfd:
3942 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
3943 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3944 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3945 $(HOST_EXPORTS) \
3946 $(POSTSTAGE1_HOST_EXPORTS) \
3947 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3949 cd $(HOST_SUBDIR)/bfd || exit 1; \
3950 case $(srcdir) in \
3951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3952 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3954 esac; \
3955 srcdiroption="--srcdir=$${topdir}/bfd"; \
3956 libsrcdir="$$s/bfd"; \
3957 $(SHELL) $${libsrcdir}/configure \
3958 $(HOST_CONFIGARGS) $${srcdiroption} \
3959 @stage2_werror_flag@
3960 @endif bfd-bootstrap
3962 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3963 maybe-configure-stage3-bfd:
3964 @if bfd-bootstrap
3965 maybe-configure-stage3-bfd: configure-stage3-bfd
3966 configure-stage3-bfd:
3967 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
3968 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3969 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3970 $(HOST_EXPORTS) \
3971 $(POSTSTAGE1_HOST_EXPORTS) \
3972 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3974 cd $(HOST_SUBDIR)/bfd || exit 1; \
3975 case $(srcdir) in \
3976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3977 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3979 esac; \
3980 srcdiroption="--srcdir=$${topdir}/bfd"; \
3981 libsrcdir="$$s/bfd"; \
3982 $(SHELL) $${libsrcdir}/configure \
3983 $(HOST_CONFIGARGS) $${srcdiroption} \
3984 @stage2_werror_flag@
3985 @endif bfd-bootstrap
3987 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3988 maybe-configure-stage4-bfd:
3989 @if bfd-bootstrap
3990 maybe-configure-stage4-bfd: configure-stage4-bfd
3991 configure-stage4-bfd:
3992 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
3993 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3994 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3995 $(HOST_EXPORTS) \
3996 $(POSTSTAGE1_HOST_EXPORTS) \
3997 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3999 cd $(HOST_SUBDIR)/bfd || exit 1; \
4000 case $(srcdir) in \
4001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4002 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4004 esac; \
4005 srcdiroption="--srcdir=$${topdir}/bfd"; \
4006 libsrcdir="$$s/bfd"; \
4007 $(SHELL) $${libsrcdir}/configure \
4008 $(HOST_CONFIGARGS) $${srcdiroption} \
4009 @stage2_werror_flag@
4010 @endif bfd-bootstrap
4012 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4013 maybe-configure-stageprofile-bfd:
4014 @if bfd-bootstrap
4015 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4016 configure-stageprofile-bfd:
4017 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4019 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4020 $(HOST_EXPORTS) \
4021 $(POSTSTAGE1_HOST_EXPORTS) \
4022 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4024 cd $(HOST_SUBDIR)/bfd || exit 1; \
4025 case $(srcdir) in \
4026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4027 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4029 esac; \
4030 srcdiroption="--srcdir=$${topdir}/bfd"; \
4031 libsrcdir="$$s/bfd"; \
4032 $(SHELL) $${libsrcdir}/configure \
4033 $(HOST_CONFIGARGS) $${srcdiroption} \
4034 @stage2_werror_flag@
4035 @endif bfd-bootstrap
4037 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4038 maybe-configure-stagefeedback-bfd:
4039 @if bfd-bootstrap
4040 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4041 configure-stagefeedback-bfd:
4042 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4044 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4045 $(HOST_EXPORTS) \
4046 $(POSTSTAGE1_HOST_EXPORTS) \
4047 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4049 cd $(HOST_SUBDIR)/bfd || exit 1; \
4050 case $(srcdir) in \
4051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4052 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4054 esac; \
4055 srcdiroption="--srcdir=$${topdir}/bfd"; \
4056 libsrcdir="$$s/bfd"; \
4057 $(SHELL) $${libsrcdir}/configure \
4058 $(HOST_CONFIGARGS) $${srcdiroption} \
4059 @stage2_werror_flag@
4060 @endif bfd-bootstrap
4066 .PHONY: all-bfd maybe-all-bfd
4067 maybe-all-bfd:
4068 @if bfd
4069 TARGET-bfd=all
4070 maybe-all-bfd: all-bfd
4071 all-bfd: configure-bfd
4072 @test -f stage_last && exit 0; \
4073 r=`${PWD_COMMAND}`; export r; \
4074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4075 $(HOST_EXPORTS) \
4076 (cd $(HOST_SUBDIR)/bfd && \
4077 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4078 @endif bfd
4082 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4083 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4084 maybe-all-stage1-bfd:
4085 maybe-clean-stage1-bfd:
4086 @if bfd-bootstrap
4087 maybe-all-stage1-bfd: all-stage1-bfd
4088 all-stage1: all-stage1-bfd
4089 TARGET-stage1-bfd = $(TARGET-bfd)
4090 all-stage1-bfd: configure-stage1-bfd
4091 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4092 @r=`${PWD_COMMAND}`; export r; \
4093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4094 $(HOST_EXPORTS) \
4095 cd $(HOST_SUBDIR)/bfd && \
4096 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4097 $(TARGET-stage1-bfd)
4099 maybe-clean-stage1-bfd: clean-stage1-bfd
4100 clean-stage1: clean-stage1-bfd
4101 clean-stage1-bfd:
4102 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4103 || exit 0 ; \
4104 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4105 cd $(HOST_SUBDIR)/bfd && \
4106 $(MAKE) $(FLAGS_TO_PASS) \
4107 CFLAGS="$(STAGE1_CFLAGS)" clean
4108 @endif bfd-bootstrap
4111 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4112 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4113 maybe-all-stage2-bfd:
4114 maybe-clean-stage2-bfd:
4115 @if bfd-bootstrap
4116 maybe-all-stage2-bfd: all-stage2-bfd
4117 all-stage2: all-stage2-bfd
4118 TARGET-stage2-bfd = $(TARGET-bfd)
4119 all-stage2-bfd: configure-stage2-bfd
4120 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4121 @r=`${PWD_COMMAND}`; export r; \
4122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4123 $(HOST_EXPORTS) \
4124 $(POSTSTAGE1_HOST_EXPORTS) \
4125 cd $(HOST_SUBDIR)/bfd && \
4126 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4127 $(TARGET-stage2-bfd)
4129 maybe-clean-stage2-bfd: clean-stage2-bfd
4130 clean-stage2: clean-stage2-bfd
4131 clean-stage2-bfd:
4132 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4133 || exit 0 ; \
4134 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4135 cd $(HOST_SUBDIR)/bfd && \
4136 $(MAKE) $(FLAGS_TO_PASS) \
4137 $(POSTSTAGE1_FLAGS_TO_PASS) \
4138 clean
4139 @endif bfd-bootstrap
4142 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4143 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4144 maybe-all-stage3-bfd:
4145 maybe-clean-stage3-bfd:
4146 @if bfd-bootstrap
4147 maybe-all-stage3-bfd: all-stage3-bfd
4148 all-stage3: all-stage3-bfd
4149 TARGET-stage3-bfd = $(TARGET-bfd)
4150 all-stage3-bfd: configure-stage3-bfd
4151 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4152 @r=`${PWD_COMMAND}`; export r; \
4153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4154 $(HOST_EXPORTS) \
4155 $(POSTSTAGE1_HOST_EXPORTS) \
4156 cd $(HOST_SUBDIR)/bfd && \
4157 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4158 $(TARGET-stage3-bfd)
4160 maybe-clean-stage3-bfd: clean-stage3-bfd
4161 clean-stage3: clean-stage3-bfd
4162 clean-stage3-bfd:
4163 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4164 || exit 0 ; \
4165 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4166 cd $(HOST_SUBDIR)/bfd && \
4167 $(MAKE) $(FLAGS_TO_PASS) \
4168 $(POSTSTAGE1_FLAGS_TO_PASS) \
4169 clean
4170 @endif bfd-bootstrap
4173 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4174 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4175 maybe-all-stage4-bfd:
4176 maybe-clean-stage4-bfd:
4177 @if bfd-bootstrap
4178 maybe-all-stage4-bfd: all-stage4-bfd
4179 all-stage4: all-stage4-bfd
4180 TARGET-stage4-bfd = $(TARGET-bfd)
4181 all-stage4-bfd: configure-stage4-bfd
4182 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4183 @r=`${PWD_COMMAND}`; export r; \
4184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4185 $(HOST_EXPORTS) \
4186 $(POSTSTAGE1_HOST_EXPORTS) \
4187 cd $(HOST_SUBDIR)/bfd && \
4188 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4189 $(TARGET-stage4-bfd)
4191 maybe-clean-stage4-bfd: clean-stage4-bfd
4192 clean-stage4: clean-stage4-bfd
4193 clean-stage4-bfd:
4194 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4195 || exit 0 ; \
4196 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4197 cd $(HOST_SUBDIR)/bfd && \
4198 $(MAKE) $(FLAGS_TO_PASS) \
4199 $(POSTSTAGE1_FLAGS_TO_PASS) \
4200 clean
4201 @endif bfd-bootstrap
4204 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4205 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4206 maybe-all-stageprofile-bfd:
4207 maybe-clean-stageprofile-bfd:
4208 @if bfd-bootstrap
4209 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4210 all-stageprofile: all-stageprofile-bfd
4211 TARGET-stageprofile-bfd = $(TARGET-bfd)
4212 all-stageprofile-bfd: configure-stageprofile-bfd
4213 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4214 @r=`${PWD_COMMAND}`; export r; \
4215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216 $(HOST_EXPORTS) \
4217 $(POSTSTAGE1_HOST_EXPORTS) \
4218 cd $(HOST_SUBDIR)/bfd && \
4219 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4220 $(TARGET-stageprofile-bfd)
4222 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4223 clean-stageprofile: clean-stageprofile-bfd
4224 clean-stageprofile-bfd:
4225 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4226 || exit 0 ; \
4227 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4228 cd $(HOST_SUBDIR)/bfd && \
4229 $(MAKE) $(FLAGS_TO_PASS) \
4230 $(POSTSTAGE1_FLAGS_TO_PASS) \
4231 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4232 @endif bfd-bootstrap
4235 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4236 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4237 maybe-all-stagefeedback-bfd:
4238 maybe-clean-stagefeedback-bfd:
4239 @if bfd-bootstrap
4240 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4241 all-stagefeedback: all-stagefeedback-bfd
4242 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4243 all-stagefeedback-bfd: configure-stagefeedback-bfd
4244 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4245 @r=`${PWD_COMMAND}`; export r; \
4246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4247 $(HOST_EXPORTS) \
4248 $(POSTSTAGE1_HOST_EXPORTS) \
4249 cd $(HOST_SUBDIR)/bfd && \
4250 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4251 $(TARGET-stagefeedback-bfd)
4253 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4254 clean-stagefeedback: clean-stagefeedback-bfd
4255 clean-stagefeedback-bfd:
4256 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4257 || exit 0 ; \
4258 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4259 cd $(HOST_SUBDIR)/bfd && \
4260 $(MAKE) $(FLAGS_TO_PASS) \
4261 $(POSTSTAGE1_FLAGS_TO_PASS) \
4262 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4263 @endif bfd-bootstrap
4269 .PHONY: check-bfd maybe-check-bfd
4270 maybe-check-bfd:
4271 @if bfd
4272 maybe-check-bfd: check-bfd
4274 check-bfd:
4275 @: $(MAKE); $(unstage)
4276 @r=`${PWD_COMMAND}`; export r; \
4277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4278 $(HOST_EXPORTS) \
4279 (cd $(HOST_SUBDIR)/bfd && \
4280 $(MAKE) $(FLAGS_TO_PASS) check)
4282 @endif bfd
4284 .PHONY: install-bfd maybe-install-bfd
4285 maybe-install-bfd:
4286 @if bfd
4287 maybe-install-bfd: install-bfd
4289 install-bfd: installdirs
4290 @: $(MAKE); $(unstage)
4291 @r=`${PWD_COMMAND}`; export r; \
4292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4293 $(HOST_EXPORTS) \
4294 (cd $(HOST_SUBDIR)/bfd && \
4295 $(MAKE) $(FLAGS_TO_PASS) install)
4297 @endif bfd
4299 # Other targets (info, dvi, etc.)
4301 .PHONY: maybe-info-bfd info-bfd
4302 maybe-info-bfd:
4303 @if bfd
4304 maybe-info-bfd: info-bfd
4306 info-bfd: \
4307 configure-bfd
4308 @[ -f ./bfd/Makefile ] || exit 0; \
4309 r=`${PWD_COMMAND}`; export r; \
4310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4311 $(HOST_EXPORTS) \
4312 for flag in $(EXTRA_HOST_FLAGS) ; do \
4313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4314 done; \
4315 echo "Doing info in bfd" ; \
4316 (cd $(HOST_SUBDIR)/bfd && \
4317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4319 "RANLIB=$${RANLIB}" \
4320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4321 info) \
4322 || exit 1
4324 @endif bfd
4326 .PHONY: maybe-dvi-bfd dvi-bfd
4327 maybe-dvi-bfd:
4328 @if bfd
4329 maybe-dvi-bfd: dvi-bfd
4331 dvi-bfd: \
4332 configure-bfd
4333 @[ -f ./bfd/Makefile ] || exit 0; \
4334 r=`${PWD_COMMAND}`; export r; \
4335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4336 $(HOST_EXPORTS) \
4337 for flag in $(EXTRA_HOST_FLAGS) ; do \
4338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4339 done; \
4340 echo "Doing dvi in bfd" ; \
4341 (cd $(HOST_SUBDIR)/bfd && \
4342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4344 "RANLIB=$${RANLIB}" \
4345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4346 dvi) \
4347 || exit 1
4349 @endif bfd
4351 .PHONY: maybe-html-bfd html-bfd
4352 maybe-html-bfd:
4353 @if bfd
4354 maybe-html-bfd: html-bfd
4356 html-bfd: \
4357 configure-bfd
4358 @[ -f ./bfd/Makefile ] || exit 0; \
4359 r=`${PWD_COMMAND}`; export r; \
4360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4361 $(HOST_EXPORTS) \
4362 for flag in $(EXTRA_HOST_FLAGS) ; do \
4363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4364 done; \
4365 echo "Doing html in bfd" ; \
4366 (cd $(HOST_SUBDIR)/bfd && \
4367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4369 "RANLIB=$${RANLIB}" \
4370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4371 html) \
4372 || exit 1
4374 @endif bfd
4376 .PHONY: maybe-TAGS-bfd TAGS-bfd
4377 maybe-TAGS-bfd:
4378 @if bfd
4379 maybe-TAGS-bfd: TAGS-bfd
4381 TAGS-bfd: \
4382 configure-bfd
4383 @[ -f ./bfd/Makefile ] || exit 0; \
4384 r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 $(HOST_EXPORTS) \
4387 for flag in $(EXTRA_HOST_FLAGS) ; do \
4388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4389 done; \
4390 echo "Doing TAGS in bfd" ; \
4391 (cd $(HOST_SUBDIR)/bfd && \
4392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4394 "RANLIB=$${RANLIB}" \
4395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4396 TAGS) \
4397 || exit 1
4399 @endif bfd
4401 .PHONY: maybe-install-info-bfd install-info-bfd
4402 maybe-install-info-bfd:
4403 @if bfd
4404 maybe-install-info-bfd: install-info-bfd
4406 install-info-bfd: \
4407 configure-bfd \
4408 info-bfd
4409 @[ -f ./bfd/Makefile ] || exit 0; \
4410 r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 $(HOST_EXPORTS) \
4413 for flag in $(EXTRA_HOST_FLAGS) ; do \
4414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4415 done; \
4416 echo "Doing install-info in bfd" ; \
4417 (cd $(HOST_SUBDIR)/bfd && \
4418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4420 "RANLIB=$${RANLIB}" \
4421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4422 install-info) \
4423 || exit 1
4425 @endif bfd
4427 .PHONY: maybe-installcheck-bfd installcheck-bfd
4428 maybe-installcheck-bfd:
4429 @if bfd
4430 maybe-installcheck-bfd: installcheck-bfd
4432 installcheck-bfd: \
4433 configure-bfd
4434 @[ -f ./bfd/Makefile ] || exit 0; \
4435 r=`${PWD_COMMAND}`; export r; \
4436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4437 $(HOST_EXPORTS) \
4438 for flag in $(EXTRA_HOST_FLAGS) ; do \
4439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4440 done; \
4441 echo "Doing installcheck in bfd" ; \
4442 (cd $(HOST_SUBDIR)/bfd && \
4443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4445 "RANLIB=$${RANLIB}" \
4446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4447 installcheck) \
4448 || exit 1
4450 @endif bfd
4452 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4453 maybe-mostlyclean-bfd:
4454 @if bfd
4455 maybe-mostlyclean-bfd: mostlyclean-bfd
4457 mostlyclean-bfd:
4458 @[ -f ./bfd/Makefile ] || exit 0; \
4459 r=`${PWD_COMMAND}`; export r; \
4460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4461 $(HOST_EXPORTS) \
4462 for flag in $(EXTRA_HOST_FLAGS) ; do \
4463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4464 done; \
4465 echo "Doing mostlyclean in bfd" ; \
4466 (cd $(HOST_SUBDIR)/bfd && \
4467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4469 "RANLIB=$${RANLIB}" \
4470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4471 mostlyclean) \
4472 || exit 1
4474 @endif bfd
4476 .PHONY: maybe-clean-bfd clean-bfd
4477 maybe-clean-bfd:
4478 @if bfd
4479 maybe-clean-bfd: clean-bfd
4481 clean-bfd:
4482 @[ -f ./bfd/Makefile ] || exit 0; \
4483 r=`${PWD_COMMAND}`; export r; \
4484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4485 $(HOST_EXPORTS) \
4486 for flag in $(EXTRA_HOST_FLAGS) ; do \
4487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4488 done; \
4489 echo "Doing clean in bfd" ; \
4490 (cd $(HOST_SUBDIR)/bfd && \
4491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4493 "RANLIB=$${RANLIB}" \
4494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4495 clean) \
4496 || exit 1
4498 @endif bfd
4500 .PHONY: maybe-distclean-bfd distclean-bfd
4501 maybe-distclean-bfd:
4502 @if bfd
4503 maybe-distclean-bfd: distclean-bfd
4505 distclean-bfd:
4506 @[ -f ./bfd/Makefile ] || exit 0; \
4507 r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 $(HOST_EXPORTS) \
4510 for flag in $(EXTRA_HOST_FLAGS) ; do \
4511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4512 done; \
4513 echo "Doing distclean in bfd" ; \
4514 (cd $(HOST_SUBDIR)/bfd && \
4515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4517 "RANLIB=$${RANLIB}" \
4518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4519 distclean) \
4520 || exit 1
4522 @endif bfd
4524 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4525 maybe-maintainer-clean-bfd:
4526 @if bfd
4527 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4529 maintainer-clean-bfd:
4530 @[ -f ./bfd/Makefile ] || exit 0; \
4531 r=`${PWD_COMMAND}`; export r; \
4532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4533 $(HOST_EXPORTS) \
4534 for flag in $(EXTRA_HOST_FLAGS) ; do \
4535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4536 done; \
4537 echo "Doing maintainer-clean in bfd" ; \
4538 (cd $(HOST_SUBDIR)/bfd && \
4539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541 "RANLIB=$${RANLIB}" \
4542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4543 maintainer-clean) \
4544 || exit 1
4546 @endif bfd
4550 .PHONY: configure-opcodes maybe-configure-opcodes
4551 maybe-configure-opcodes:
4552 @if opcodes
4553 maybe-configure-opcodes: configure-opcodes
4554 configure-opcodes:
4555 @test -f stage_last && exit 0; \
4556 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4558 r=`${PWD_COMMAND}`; export r; \
4559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4560 $(HOST_EXPORTS) \
4561 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4562 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4563 case $(srcdir) in \
4564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4565 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4567 esac; \
4568 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4569 libsrcdir="$$s/opcodes"; \
4570 $(SHELL) $${libsrcdir}/configure \
4571 $(HOST_CONFIGARGS) $${srcdiroption} \
4572 || exit 1
4573 @endif opcodes
4577 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4578 maybe-configure-stage1-opcodes:
4579 @if opcodes-bootstrap
4580 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4581 configure-stage1-opcodes:
4582 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4584 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4585 $(HOST_EXPORTS) \
4586 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4588 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4589 case $(srcdir) in \
4590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4591 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4593 esac; \
4594 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4595 libsrcdir="$$s/opcodes"; \
4596 $(SHELL) $${libsrcdir}/configure \
4597 $(HOST_CONFIGARGS) $${srcdiroption} \
4598 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4599 @endif opcodes-bootstrap
4601 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4602 maybe-configure-stage2-opcodes:
4603 @if opcodes-bootstrap
4604 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4605 configure-stage2-opcodes:
4606 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4608 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4609 $(HOST_EXPORTS) \
4610 $(POSTSTAGE1_HOST_EXPORTS) \
4611 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4613 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4614 case $(srcdir) in \
4615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4616 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4618 esac; \
4619 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4620 libsrcdir="$$s/opcodes"; \
4621 $(SHELL) $${libsrcdir}/configure \
4622 $(HOST_CONFIGARGS) $${srcdiroption} \
4623 @stage2_werror_flag@
4624 @endif opcodes-bootstrap
4626 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4627 maybe-configure-stage3-opcodes:
4628 @if opcodes-bootstrap
4629 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4630 configure-stage3-opcodes:
4631 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4632 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4633 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4634 $(HOST_EXPORTS) \
4635 $(POSTSTAGE1_HOST_EXPORTS) \
4636 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4637 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4638 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4639 case $(srcdir) in \
4640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4641 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4643 esac; \
4644 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4645 libsrcdir="$$s/opcodes"; \
4646 $(SHELL) $${libsrcdir}/configure \
4647 $(HOST_CONFIGARGS) $${srcdiroption} \
4648 @stage2_werror_flag@
4649 @endif opcodes-bootstrap
4651 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4652 maybe-configure-stage4-opcodes:
4653 @if opcodes-bootstrap
4654 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4655 configure-stage4-opcodes:
4656 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4657 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4658 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4659 $(HOST_EXPORTS) \
4660 $(POSTSTAGE1_HOST_EXPORTS) \
4661 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4662 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4663 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4664 case $(srcdir) in \
4665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4666 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4668 esac; \
4669 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4670 libsrcdir="$$s/opcodes"; \
4671 $(SHELL) $${libsrcdir}/configure \
4672 $(HOST_CONFIGARGS) $${srcdiroption} \
4673 @stage2_werror_flag@
4674 @endif opcodes-bootstrap
4676 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4677 maybe-configure-stageprofile-opcodes:
4678 @if opcodes-bootstrap
4679 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4680 configure-stageprofile-opcodes:
4681 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4683 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4684 $(HOST_EXPORTS) \
4685 $(POSTSTAGE1_HOST_EXPORTS) \
4686 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4687 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4688 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4689 case $(srcdir) in \
4690 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4691 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4692 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4693 esac; \
4694 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4695 libsrcdir="$$s/opcodes"; \
4696 $(SHELL) $${libsrcdir}/configure \
4697 $(HOST_CONFIGARGS) $${srcdiroption} \
4698 @stage2_werror_flag@
4699 @endif opcodes-bootstrap
4701 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4702 maybe-configure-stagefeedback-opcodes:
4703 @if opcodes-bootstrap
4704 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4705 configure-stagefeedback-opcodes:
4706 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4707 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4708 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4709 $(HOST_EXPORTS) \
4710 $(POSTSTAGE1_HOST_EXPORTS) \
4711 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4712 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4713 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4714 case $(srcdir) in \
4715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4716 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4718 esac; \
4719 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4720 libsrcdir="$$s/opcodes"; \
4721 $(SHELL) $${libsrcdir}/configure \
4722 $(HOST_CONFIGARGS) $${srcdiroption} \
4723 @stage2_werror_flag@
4724 @endif opcodes-bootstrap
4730 .PHONY: all-opcodes maybe-all-opcodes
4731 maybe-all-opcodes:
4732 @if opcodes
4733 TARGET-opcodes=all
4734 maybe-all-opcodes: all-opcodes
4735 all-opcodes: configure-opcodes
4736 @test -f stage_last && exit 0; \
4737 r=`${PWD_COMMAND}`; export r; \
4738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4739 $(HOST_EXPORTS) \
4740 (cd $(HOST_SUBDIR)/opcodes && \
4741 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4742 @endif opcodes
4746 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4747 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4748 maybe-all-stage1-opcodes:
4749 maybe-clean-stage1-opcodes:
4750 @if opcodes-bootstrap
4751 maybe-all-stage1-opcodes: all-stage1-opcodes
4752 all-stage1: all-stage1-opcodes
4753 TARGET-stage1-opcodes = $(TARGET-opcodes)
4754 all-stage1-opcodes: configure-stage1-opcodes
4755 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4756 @r=`${PWD_COMMAND}`; export r; \
4757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4758 $(HOST_EXPORTS) \
4759 cd $(HOST_SUBDIR)/opcodes && \
4760 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4761 $(TARGET-stage1-opcodes)
4763 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4764 clean-stage1: clean-stage1-opcodes
4765 clean-stage1-opcodes:
4766 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4767 || exit 0 ; \
4768 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4769 cd $(HOST_SUBDIR)/opcodes && \
4770 $(MAKE) $(FLAGS_TO_PASS) \
4771 CFLAGS="$(STAGE1_CFLAGS)" clean
4772 @endif opcodes-bootstrap
4775 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4776 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4777 maybe-all-stage2-opcodes:
4778 maybe-clean-stage2-opcodes:
4779 @if opcodes-bootstrap
4780 maybe-all-stage2-opcodes: all-stage2-opcodes
4781 all-stage2: all-stage2-opcodes
4782 TARGET-stage2-opcodes = $(TARGET-opcodes)
4783 all-stage2-opcodes: configure-stage2-opcodes
4784 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4785 @r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 $(HOST_EXPORTS) \
4788 $(POSTSTAGE1_HOST_EXPORTS) \
4789 cd $(HOST_SUBDIR)/opcodes && \
4790 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4791 $(TARGET-stage2-opcodes)
4793 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4794 clean-stage2: clean-stage2-opcodes
4795 clean-stage2-opcodes:
4796 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4797 || exit 0 ; \
4798 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4799 cd $(HOST_SUBDIR)/opcodes && \
4800 $(MAKE) $(FLAGS_TO_PASS) \
4801 $(POSTSTAGE1_FLAGS_TO_PASS) \
4802 clean
4803 @endif opcodes-bootstrap
4806 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4807 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4808 maybe-all-stage3-opcodes:
4809 maybe-clean-stage3-opcodes:
4810 @if opcodes-bootstrap
4811 maybe-all-stage3-opcodes: all-stage3-opcodes
4812 all-stage3: all-stage3-opcodes
4813 TARGET-stage3-opcodes = $(TARGET-opcodes)
4814 all-stage3-opcodes: configure-stage3-opcodes
4815 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4816 @r=`${PWD_COMMAND}`; export r; \
4817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4818 $(HOST_EXPORTS) \
4819 $(POSTSTAGE1_HOST_EXPORTS) \
4820 cd $(HOST_SUBDIR)/opcodes && \
4821 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4822 $(TARGET-stage3-opcodes)
4824 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4825 clean-stage3: clean-stage3-opcodes
4826 clean-stage3-opcodes:
4827 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4828 || exit 0 ; \
4829 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4830 cd $(HOST_SUBDIR)/opcodes && \
4831 $(MAKE) $(FLAGS_TO_PASS) \
4832 $(POSTSTAGE1_FLAGS_TO_PASS) \
4833 clean
4834 @endif opcodes-bootstrap
4837 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4838 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4839 maybe-all-stage4-opcodes:
4840 maybe-clean-stage4-opcodes:
4841 @if opcodes-bootstrap
4842 maybe-all-stage4-opcodes: all-stage4-opcodes
4843 all-stage4: all-stage4-opcodes
4844 TARGET-stage4-opcodes = $(TARGET-opcodes)
4845 all-stage4-opcodes: configure-stage4-opcodes
4846 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4847 @r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 $(HOST_EXPORTS) \
4850 $(POSTSTAGE1_HOST_EXPORTS) \
4851 cd $(HOST_SUBDIR)/opcodes && \
4852 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4853 $(TARGET-stage4-opcodes)
4855 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4856 clean-stage4: clean-stage4-opcodes
4857 clean-stage4-opcodes:
4858 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4859 || exit 0 ; \
4860 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4861 cd $(HOST_SUBDIR)/opcodes && \
4862 $(MAKE) $(FLAGS_TO_PASS) \
4863 $(POSTSTAGE1_FLAGS_TO_PASS) \
4864 clean
4865 @endif opcodes-bootstrap
4868 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4869 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4870 maybe-all-stageprofile-opcodes:
4871 maybe-clean-stageprofile-opcodes:
4872 @if opcodes-bootstrap
4873 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4874 all-stageprofile: all-stageprofile-opcodes
4875 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4876 all-stageprofile-opcodes: configure-stageprofile-opcodes
4877 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4878 @r=`${PWD_COMMAND}`; export r; \
4879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 $(HOST_EXPORTS) \
4881 $(POSTSTAGE1_HOST_EXPORTS) \
4882 cd $(HOST_SUBDIR)/opcodes && \
4883 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4884 $(TARGET-stageprofile-opcodes)
4886 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4887 clean-stageprofile: clean-stageprofile-opcodes
4888 clean-stageprofile-opcodes:
4889 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4890 || exit 0 ; \
4891 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4892 cd $(HOST_SUBDIR)/opcodes && \
4893 $(MAKE) $(FLAGS_TO_PASS) \
4894 $(POSTSTAGE1_FLAGS_TO_PASS) \
4895 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4896 @endif opcodes-bootstrap
4899 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4900 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4901 maybe-all-stagefeedback-opcodes:
4902 maybe-clean-stagefeedback-opcodes:
4903 @if opcodes-bootstrap
4904 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4905 all-stagefeedback: all-stagefeedback-opcodes
4906 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4907 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4908 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4909 @r=`${PWD_COMMAND}`; export r; \
4910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4911 $(HOST_EXPORTS) \
4912 $(POSTSTAGE1_HOST_EXPORTS) \
4913 cd $(HOST_SUBDIR)/opcodes && \
4914 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4915 $(TARGET-stagefeedback-opcodes)
4917 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4918 clean-stagefeedback: clean-stagefeedback-opcodes
4919 clean-stagefeedback-opcodes:
4920 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4921 || exit 0 ; \
4922 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4923 cd $(HOST_SUBDIR)/opcodes && \
4924 $(MAKE) $(FLAGS_TO_PASS) \
4925 $(POSTSTAGE1_FLAGS_TO_PASS) \
4926 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4927 @endif opcodes-bootstrap
4933 .PHONY: check-opcodes maybe-check-opcodes
4934 maybe-check-opcodes:
4935 @if opcodes
4936 maybe-check-opcodes: check-opcodes
4938 check-opcodes:
4939 @: $(MAKE); $(unstage)
4940 @r=`${PWD_COMMAND}`; export r; \
4941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4942 $(HOST_EXPORTS) \
4943 (cd $(HOST_SUBDIR)/opcodes && \
4944 $(MAKE) $(FLAGS_TO_PASS) check)
4946 @endif opcodes
4948 .PHONY: install-opcodes maybe-install-opcodes
4949 maybe-install-opcodes:
4950 @if opcodes
4951 maybe-install-opcodes: install-opcodes
4953 install-opcodes: installdirs
4954 @: $(MAKE); $(unstage)
4955 @r=`${PWD_COMMAND}`; export r; \
4956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4957 $(HOST_EXPORTS) \
4958 (cd $(HOST_SUBDIR)/opcodes && \
4959 $(MAKE) $(FLAGS_TO_PASS) install)
4961 @endif opcodes
4963 # Other targets (info, dvi, etc.)
4965 .PHONY: maybe-info-opcodes info-opcodes
4966 maybe-info-opcodes:
4967 @if opcodes
4968 maybe-info-opcodes: info-opcodes
4970 info-opcodes: \
4971 configure-opcodes
4972 @[ -f ./opcodes/Makefile ] || exit 0; \
4973 r=`${PWD_COMMAND}`; export r; \
4974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4975 $(HOST_EXPORTS) \
4976 for flag in $(EXTRA_HOST_FLAGS) ; do \
4977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4978 done; \
4979 echo "Doing info in opcodes" ; \
4980 (cd $(HOST_SUBDIR)/opcodes && \
4981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4983 "RANLIB=$${RANLIB}" \
4984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4985 info) \
4986 || exit 1
4988 @endif opcodes
4990 .PHONY: maybe-dvi-opcodes dvi-opcodes
4991 maybe-dvi-opcodes:
4992 @if opcodes
4993 maybe-dvi-opcodes: dvi-opcodes
4995 dvi-opcodes: \
4996 configure-opcodes
4997 @[ -f ./opcodes/Makefile ] || exit 0; \
4998 r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5000 $(HOST_EXPORTS) \
5001 for flag in $(EXTRA_HOST_FLAGS) ; do \
5002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5003 done; \
5004 echo "Doing dvi in opcodes" ; \
5005 (cd $(HOST_SUBDIR)/opcodes && \
5006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5008 "RANLIB=$${RANLIB}" \
5009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5010 dvi) \
5011 || exit 1
5013 @endif opcodes
5015 .PHONY: maybe-html-opcodes html-opcodes
5016 maybe-html-opcodes:
5017 @if opcodes
5018 maybe-html-opcodes: html-opcodes
5020 html-opcodes: \
5021 configure-opcodes
5022 @[ -f ./opcodes/Makefile ] || exit 0; \
5023 r=`${PWD_COMMAND}`; export r; \
5024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5025 $(HOST_EXPORTS) \
5026 for flag in $(EXTRA_HOST_FLAGS) ; do \
5027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5028 done; \
5029 echo "Doing html in opcodes" ; \
5030 (cd $(HOST_SUBDIR)/opcodes && \
5031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5033 "RANLIB=$${RANLIB}" \
5034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5035 html) \
5036 || exit 1
5038 @endif opcodes
5040 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5041 maybe-TAGS-opcodes:
5042 @if opcodes
5043 maybe-TAGS-opcodes: TAGS-opcodes
5045 TAGS-opcodes: \
5046 configure-opcodes
5047 @[ -f ./opcodes/Makefile ] || exit 0; \
5048 r=`${PWD_COMMAND}`; export r; \
5049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5050 $(HOST_EXPORTS) \
5051 for flag in $(EXTRA_HOST_FLAGS) ; do \
5052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5053 done; \
5054 echo "Doing TAGS in opcodes" ; \
5055 (cd $(HOST_SUBDIR)/opcodes && \
5056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5058 "RANLIB=$${RANLIB}" \
5059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5060 TAGS) \
5061 || exit 1
5063 @endif opcodes
5065 .PHONY: maybe-install-info-opcodes install-info-opcodes
5066 maybe-install-info-opcodes:
5067 @if opcodes
5068 maybe-install-info-opcodes: install-info-opcodes
5070 install-info-opcodes: \
5071 configure-opcodes \
5072 info-opcodes
5073 @[ -f ./opcodes/Makefile ] || exit 0; \
5074 r=`${PWD_COMMAND}`; export r; \
5075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5076 $(HOST_EXPORTS) \
5077 for flag in $(EXTRA_HOST_FLAGS) ; do \
5078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5079 done; \
5080 echo "Doing install-info in opcodes" ; \
5081 (cd $(HOST_SUBDIR)/opcodes && \
5082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5084 "RANLIB=$${RANLIB}" \
5085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5086 install-info) \
5087 || exit 1
5089 @endif opcodes
5091 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5092 maybe-installcheck-opcodes:
5093 @if opcodes
5094 maybe-installcheck-opcodes: installcheck-opcodes
5096 installcheck-opcodes: \
5097 configure-opcodes
5098 @[ -f ./opcodes/Makefile ] || exit 0; \
5099 r=`${PWD_COMMAND}`; export r; \
5100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5101 $(HOST_EXPORTS) \
5102 for flag in $(EXTRA_HOST_FLAGS) ; do \
5103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5104 done; \
5105 echo "Doing installcheck in opcodes" ; \
5106 (cd $(HOST_SUBDIR)/opcodes && \
5107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5109 "RANLIB=$${RANLIB}" \
5110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5111 installcheck) \
5112 || exit 1
5114 @endif opcodes
5116 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5117 maybe-mostlyclean-opcodes:
5118 @if opcodes
5119 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5121 mostlyclean-opcodes:
5122 @[ -f ./opcodes/Makefile ] || exit 0; \
5123 r=`${PWD_COMMAND}`; export r; \
5124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5125 $(HOST_EXPORTS) \
5126 for flag in $(EXTRA_HOST_FLAGS) ; do \
5127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5128 done; \
5129 echo "Doing mostlyclean in opcodes" ; \
5130 (cd $(HOST_SUBDIR)/opcodes && \
5131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5133 "RANLIB=$${RANLIB}" \
5134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5135 mostlyclean) \
5136 || exit 1
5138 @endif opcodes
5140 .PHONY: maybe-clean-opcodes clean-opcodes
5141 maybe-clean-opcodes:
5142 @if opcodes
5143 maybe-clean-opcodes: clean-opcodes
5145 clean-opcodes:
5146 @[ -f ./opcodes/Makefile ] || exit 0; \
5147 r=`${PWD_COMMAND}`; export r; \
5148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5149 $(HOST_EXPORTS) \
5150 for flag in $(EXTRA_HOST_FLAGS) ; do \
5151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5152 done; \
5153 echo "Doing clean in opcodes" ; \
5154 (cd $(HOST_SUBDIR)/opcodes && \
5155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5157 "RANLIB=$${RANLIB}" \
5158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5159 clean) \
5160 || exit 1
5162 @endif opcodes
5164 .PHONY: maybe-distclean-opcodes distclean-opcodes
5165 maybe-distclean-opcodes:
5166 @if opcodes
5167 maybe-distclean-opcodes: distclean-opcodes
5169 distclean-opcodes:
5170 @[ -f ./opcodes/Makefile ] || exit 0; \
5171 r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 $(HOST_EXPORTS) \
5174 for flag in $(EXTRA_HOST_FLAGS) ; do \
5175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5176 done; \
5177 echo "Doing distclean in opcodes" ; \
5178 (cd $(HOST_SUBDIR)/opcodes && \
5179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5181 "RANLIB=$${RANLIB}" \
5182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5183 distclean) \
5184 || exit 1
5186 @endif opcodes
5188 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5189 maybe-maintainer-clean-opcodes:
5190 @if opcodes
5191 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5193 maintainer-clean-opcodes:
5194 @[ -f ./opcodes/Makefile ] || exit 0; \
5195 r=`${PWD_COMMAND}`; export r; \
5196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5197 $(HOST_EXPORTS) \
5198 for flag in $(EXTRA_HOST_FLAGS) ; do \
5199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5200 done; \
5201 echo "Doing maintainer-clean in opcodes" ; \
5202 (cd $(HOST_SUBDIR)/opcodes && \
5203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5205 "RANLIB=$${RANLIB}" \
5206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5207 maintainer-clean) \
5208 || exit 1
5210 @endif opcodes
5214 .PHONY: configure-binutils maybe-configure-binutils
5215 maybe-configure-binutils:
5216 @if binutils
5217 maybe-configure-binutils: configure-binutils
5218 configure-binutils:
5219 @test -f stage_last && exit 0; \
5220 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 $(HOST_EXPORTS) \
5225 echo Configuring in $(HOST_SUBDIR)/binutils; \
5226 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5227 case $(srcdir) in \
5228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5229 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5231 esac; \
5232 srcdiroption="--srcdir=$${topdir}/binutils"; \
5233 libsrcdir="$$s/binutils"; \
5234 $(SHELL) $${libsrcdir}/configure \
5235 $(HOST_CONFIGARGS) $${srcdiroption} \
5236 || exit 1
5237 @endif binutils
5241 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5242 maybe-configure-stage1-binutils:
5243 @if binutils-bootstrap
5244 maybe-configure-stage1-binutils: configure-stage1-binutils
5245 configure-stage1-binutils:
5246 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5248 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5249 $(HOST_EXPORTS) \
5250 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5252 cd $(HOST_SUBDIR)/binutils || exit 1; \
5253 case $(srcdir) in \
5254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5255 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5257 esac; \
5258 srcdiroption="--srcdir=$${topdir}/binutils"; \
5259 libsrcdir="$$s/binutils"; \
5260 $(SHELL) $${libsrcdir}/configure \
5261 $(HOST_CONFIGARGS) $${srcdiroption} \
5262 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5263 @endif binutils-bootstrap
5265 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5266 maybe-configure-stage2-binutils:
5267 @if binutils-bootstrap
5268 maybe-configure-stage2-binutils: configure-stage2-binutils
5269 configure-stage2-binutils:
5270 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5272 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5273 $(HOST_EXPORTS) \
5274 $(POSTSTAGE1_HOST_EXPORTS) \
5275 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5277 cd $(HOST_SUBDIR)/binutils || exit 1; \
5278 case $(srcdir) in \
5279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5280 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5282 esac; \
5283 srcdiroption="--srcdir=$${topdir}/binutils"; \
5284 libsrcdir="$$s/binutils"; \
5285 $(SHELL) $${libsrcdir}/configure \
5286 $(HOST_CONFIGARGS) $${srcdiroption} \
5287 @stage2_werror_flag@
5288 @endif binutils-bootstrap
5290 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5291 maybe-configure-stage3-binutils:
5292 @if binutils-bootstrap
5293 maybe-configure-stage3-binutils: configure-stage3-binutils
5294 configure-stage3-binutils:
5295 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5297 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5298 $(HOST_EXPORTS) \
5299 $(POSTSTAGE1_HOST_EXPORTS) \
5300 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5301 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5302 cd $(HOST_SUBDIR)/binutils || exit 1; \
5303 case $(srcdir) in \
5304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5305 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5307 esac; \
5308 srcdiroption="--srcdir=$${topdir}/binutils"; \
5309 libsrcdir="$$s/binutils"; \
5310 $(SHELL) $${libsrcdir}/configure \
5311 $(HOST_CONFIGARGS) $${srcdiroption} \
5312 @stage2_werror_flag@
5313 @endif binutils-bootstrap
5315 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5316 maybe-configure-stage4-binutils:
5317 @if binutils-bootstrap
5318 maybe-configure-stage4-binutils: configure-stage4-binutils
5319 configure-stage4-binutils:
5320 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5322 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5323 $(HOST_EXPORTS) \
5324 $(POSTSTAGE1_HOST_EXPORTS) \
5325 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5327 cd $(HOST_SUBDIR)/binutils || exit 1; \
5328 case $(srcdir) in \
5329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5330 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5332 esac; \
5333 srcdiroption="--srcdir=$${topdir}/binutils"; \
5334 libsrcdir="$$s/binutils"; \
5335 $(SHELL) $${libsrcdir}/configure \
5336 $(HOST_CONFIGARGS) $${srcdiroption} \
5337 @stage2_werror_flag@
5338 @endif binutils-bootstrap
5340 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5341 maybe-configure-stageprofile-binutils:
5342 @if binutils-bootstrap
5343 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5344 configure-stageprofile-binutils:
5345 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5347 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5348 $(HOST_EXPORTS) \
5349 $(POSTSTAGE1_HOST_EXPORTS) \
5350 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5352 cd $(HOST_SUBDIR)/binutils || exit 1; \
5353 case $(srcdir) in \
5354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5355 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5357 esac; \
5358 srcdiroption="--srcdir=$${topdir}/binutils"; \
5359 libsrcdir="$$s/binutils"; \
5360 $(SHELL) $${libsrcdir}/configure \
5361 $(HOST_CONFIGARGS) $${srcdiroption} \
5362 @stage2_werror_flag@
5363 @endif binutils-bootstrap
5365 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5366 maybe-configure-stagefeedback-binutils:
5367 @if binutils-bootstrap
5368 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5369 configure-stagefeedback-binutils:
5370 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5372 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5373 $(HOST_EXPORTS) \
5374 $(POSTSTAGE1_HOST_EXPORTS) \
5375 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5377 cd $(HOST_SUBDIR)/binutils || exit 1; \
5378 case $(srcdir) in \
5379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5380 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5382 esac; \
5383 srcdiroption="--srcdir=$${topdir}/binutils"; \
5384 libsrcdir="$$s/binutils"; \
5385 $(SHELL) $${libsrcdir}/configure \
5386 $(HOST_CONFIGARGS) $${srcdiroption} \
5387 @stage2_werror_flag@
5388 @endif binutils-bootstrap
5394 .PHONY: all-binutils maybe-all-binutils
5395 maybe-all-binutils:
5396 @if binutils
5397 TARGET-binutils=all
5398 maybe-all-binutils: all-binutils
5399 all-binutils: configure-binutils
5400 @test -f stage_last && exit 0; \
5401 r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5403 $(HOST_EXPORTS) \
5404 (cd $(HOST_SUBDIR)/binutils && \
5405 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5406 @endif binutils
5410 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5411 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5412 maybe-all-stage1-binutils:
5413 maybe-clean-stage1-binutils:
5414 @if binutils-bootstrap
5415 maybe-all-stage1-binutils: all-stage1-binutils
5416 all-stage1: all-stage1-binutils
5417 TARGET-stage1-binutils = $(TARGET-binutils)
5418 all-stage1-binutils: configure-stage1-binutils
5419 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5420 @r=`${PWD_COMMAND}`; export r; \
5421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5422 $(HOST_EXPORTS) \
5423 cd $(HOST_SUBDIR)/binutils && \
5424 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5425 $(TARGET-stage1-binutils)
5427 maybe-clean-stage1-binutils: clean-stage1-binutils
5428 clean-stage1: clean-stage1-binutils
5429 clean-stage1-binutils:
5430 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5431 || exit 0 ; \
5432 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5433 cd $(HOST_SUBDIR)/binutils && \
5434 $(MAKE) $(FLAGS_TO_PASS) \
5435 CFLAGS="$(STAGE1_CFLAGS)" clean
5436 @endif binutils-bootstrap
5439 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5440 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5441 maybe-all-stage2-binutils:
5442 maybe-clean-stage2-binutils:
5443 @if binutils-bootstrap
5444 maybe-all-stage2-binutils: all-stage2-binutils
5445 all-stage2: all-stage2-binutils
5446 TARGET-stage2-binutils = $(TARGET-binutils)
5447 all-stage2-binutils: configure-stage2-binutils
5448 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5449 @r=`${PWD_COMMAND}`; export r; \
5450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5451 $(HOST_EXPORTS) \
5452 $(POSTSTAGE1_HOST_EXPORTS) \
5453 cd $(HOST_SUBDIR)/binutils && \
5454 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5455 $(TARGET-stage2-binutils)
5457 maybe-clean-stage2-binutils: clean-stage2-binutils
5458 clean-stage2: clean-stage2-binutils
5459 clean-stage2-binutils:
5460 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5461 || exit 0 ; \
5462 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5463 cd $(HOST_SUBDIR)/binutils && \
5464 $(MAKE) $(FLAGS_TO_PASS) \
5465 $(POSTSTAGE1_FLAGS_TO_PASS) \
5466 clean
5467 @endif binutils-bootstrap
5470 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5471 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5472 maybe-all-stage3-binutils:
5473 maybe-clean-stage3-binutils:
5474 @if binutils-bootstrap
5475 maybe-all-stage3-binutils: all-stage3-binutils
5476 all-stage3: all-stage3-binutils
5477 TARGET-stage3-binutils = $(TARGET-binutils)
5478 all-stage3-binutils: configure-stage3-binutils
5479 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5480 @r=`${PWD_COMMAND}`; export r; \
5481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5482 $(HOST_EXPORTS) \
5483 $(POSTSTAGE1_HOST_EXPORTS) \
5484 cd $(HOST_SUBDIR)/binutils && \
5485 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5486 $(TARGET-stage3-binutils)
5488 maybe-clean-stage3-binutils: clean-stage3-binutils
5489 clean-stage3: clean-stage3-binutils
5490 clean-stage3-binutils:
5491 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5492 || exit 0 ; \
5493 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5494 cd $(HOST_SUBDIR)/binutils && \
5495 $(MAKE) $(FLAGS_TO_PASS) \
5496 $(POSTSTAGE1_FLAGS_TO_PASS) \
5497 clean
5498 @endif binutils-bootstrap
5501 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5502 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5503 maybe-all-stage4-binutils:
5504 maybe-clean-stage4-binutils:
5505 @if binutils-bootstrap
5506 maybe-all-stage4-binutils: all-stage4-binutils
5507 all-stage4: all-stage4-binutils
5508 TARGET-stage4-binutils = $(TARGET-binutils)
5509 all-stage4-binutils: configure-stage4-binutils
5510 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5511 @r=`${PWD_COMMAND}`; export r; \
5512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5513 $(HOST_EXPORTS) \
5514 $(POSTSTAGE1_HOST_EXPORTS) \
5515 cd $(HOST_SUBDIR)/binutils && \
5516 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5517 $(TARGET-stage4-binutils)
5519 maybe-clean-stage4-binutils: clean-stage4-binutils
5520 clean-stage4: clean-stage4-binutils
5521 clean-stage4-binutils:
5522 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5523 || exit 0 ; \
5524 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5525 cd $(HOST_SUBDIR)/binutils && \
5526 $(MAKE) $(FLAGS_TO_PASS) \
5527 $(POSTSTAGE1_FLAGS_TO_PASS) \
5528 clean
5529 @endif binutils-bootstrap
5532 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5533 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5534 maybe-all-stageprofile-binutils:
5535 maybe-clean-stageprofile-binutils:
5536 @if binutils-bootstrap
5537 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5538 all-stageprofile: all-stageprofile-binutils
5539 TARGET-stageprofile-binutils = $(TARGET-binutils)
5540 all-stageprofile-binutils: configure-stageprofile-binutils
5541 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5542 @r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 $(POSTSTAGE1_HOST_EXPORTS) \
5546 cd $(HOST_SUBDIR)/binutils && \
5547 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5548 $(TARGET-stageprofile-binutils)
5550 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5551 clean-stageprofile: clean-stageprofile-binutils
5552 clean-stageprofile-binutils:
5553 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5554 || exit 0 ; \
5555 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5556 cd $(HOST_SUBDIR)/binutils && \
5557 $(MAKE) $(FLAGS_TO_PASS) \
5558 $(POSTSTAGE1_FLAGS_TO_PASS) \
5559 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5560 @endif binutils-bootstrap
5563 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5564 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5565 maybe-all-stagefeedback-binutils:
5566 maybe-clean-stagefeedback-binutils:
5567 @if binutils-bootstrap
5568 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5569 all-stagefeedback: all-stagefeedback-binutils
5570 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5571 all-stagefeedback-binutils: configure-stagefeedback-binutils
5572 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5573 @r=`${PWD_COMMAND}`; export r; \
5574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5575 $(HOST_EXPORTS) \
5576 $(POSTSTAGE1_HOST_EXPORTS) \
5577 cd $(HOST_SUBDIR)/binutils && \
5578 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5579 $(TARGET-stagefeedback-binutils)
5581 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5582 clean-stagefeedback: clean-stagefeedback-binutils
5583 clean-stagefeedback-binutils:
5584 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5585 || exit 0 ; \
5586 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5587 cd $(HOST_SUBDIR)/binutils && \
5588 $(MAKE) $(FLAGS_TO_PASS) \
5589 $(POSTSTAGE1_FLAGS_TO_PASS) \
5590 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5591 @endif binutils-bootstrap
5597 .PHONY: check-binutils maybe-check-binutils
5598 maybe-check-binutils:
5599 @if binutils
5600 maybe-check-binutils: check-binutils
5602 check-binutils:
5603 @: $(MAKE); $(unstage)
5604 @r=`${PWD_COMMAND}`; export r; \
5605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5606 $(HOST_EXPORTS) \
5607 (cd $(HOST_SUBDIR)/binutils && \
5608 $(MAKE) $(FLAGS_TO_PASS) check)
5610 @endif binutils
5612 .PHONY: install-binutils maybe-install-binutils
5613 maybe-install-binutils:
5614 @if binutils
5615 maybe-install-binutils: install-binutils
5617 install-binutils: installdirs
5618 @: $(MAKE); $(unstage)
5619 @r=`${PWD_COMMAND}`; export r; \
5620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5621 $(HOST_EXPORTS) \
5622 (cd $(HOST_SUBDIR)/binutils && \
5623 $(MAKE) $(FLAGS_TO_PASS) install)
5625 @endif binutils
5627 # Other targets (info, dvi, etc.)
5629 .PHONY: maybe-info-binutils info-binutils
5630 maybe-info-binutils:
5631 @if binutils
5632 maybe-info-binutils: info-binutils
5634 info-binutils: \
5635 configure-binutils
5636 @[ -f ./binutils/Makefile ] || exit 0; \
5637 r=`${PWD_COMMAND}`; export r; \
5638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5639 $(HOST_EXPORTS) \
5640 for flag in $(EXTRA_HOST_FLAGS) ; do \
5641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5642 done; \
5643 echo "Doing info in binutils" ; \
5644 (cd $(HOST_SUBDIR)/binutils && \
5645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5647 "RANLIB=$${RANLIB}" \
5648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5649 info) \
5650 || exit 1
5652 @endif binutils
5654 .PHONY: maybe-dvi-binutils dvi-binutils
5655 maybe-dvi-binutils:
5656 @if binutils
5657 maybe-dvi-binutils: dvi-binutils
5659 dvi-binutils: \
5660 configure-binutils
5661 @[ -f ./binutils/Makefile ] || exit 0; \
5662 r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664 $(HOST_EXPORTS) \
5665 for flag in $(EXTRA_HOST_FLAGS) ; do \
5666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5667 done; \
5668 echo "Doing dvi in binutils" ; \
5669 (cd $(HOST_SUBDIR)/binutils && \
5670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672 "RANLIB=$${RANLIB}" \
5673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5674 dvi) \
5675 || exit 1
5677 @endif binutils
5679 .PHONY: maybe-html-binutils html-binutils
5680 maybe-html-binutils:
5681 @if binutils
5682 maybe-html-binutils: html-binutils
5684 html-binutils: \
5685 configure-binutils
5686 @[ -f ./binutils/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 $(HOST_EXPORTS) \
5690 for flag in $(EXTRA_HOST_FLAGS) ; do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5692 done; \
5693 echo "Doing html in binutils" ; \
5694 (cd $(HOST_SUBDIR)/binutils && \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5699 html) \
5700 || exit 1
5702 @endif binutils
5704 .PHONY: maybe-TAGS-binutils TAGS-binutils
5705 maybe-TAGS-binutils:
5706 @if binutils
5707 maybe-TAGS-binutils: TAGS-binutils
5709 TAGS-binutils: \
5710 configure-binutils
5711 @[ -f ./binutils/Makefile ] || exit 0; \
5712 r=`${PWD_COMMAND}`; export r; \
5713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5714 $(HOST_EXPORTS) \
5715 for flag in $(EXTRA_HOST_FLAGS) ; do \
5716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5717 done; \
5718 echo "Doing TAGS in binutils" ; \
5719 (cd $(HOST_SUBDIR)/binutils && \
5720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5722 "RANLIB=$${RANLIB}" \
5723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5724 TAGS) \
5725 || exit 1
5727 @endif binutils
5729 .PHONY: maybe-install-info-binutils install-info-binutils
5730 maybe-install-info-binutils:
5731 @if binutils
5732 maybe-install-info-binutils: install-info-binutils
5734 install-info-binutils: \
5735 configure-binutils \
5736 info-binutils
5737 @[ -f ./binutils/Makefile ] || exit 0; \
5738 r=`${PWD_COMMAND}`; export r; \
5739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5740 $(HOST_EXPORTS) \
5741 for flag in $(EXTRA_HOST_FLAGS) ; do \
5742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5743 done; \
5744 echo "Doing install-info in binutils" ; \
5745 (cd $(HOST_SUBDIR)/binutils && \
5746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5748 "RANLIB=$${RANLIB}" \
5749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5750 install-info) \
5751 || exit 1
5753 @endif binutils
5755 .PHONY: maybe-installcheck-binutils installcheck-binutils
5756 maybe-installcheck-binutils:
5757 @if binutils
5758 maybe-installcheck-binutils: installcheck-binutils
5760 installcheck-binutils: \
5761 configure-binutils
5762 @[ -f ./binutils/Makefile ] || exit 0; \
5763 r=`${PWD_COMMAND}`; export r; \
5764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5765 $(HOST_EXPORTS) \
5766 for flag in $(EXTRA_HOST_FLAGS) ; do \
5767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5768 done; \
5769 echo "Doing installcheck in binutils" ; \
5770 (cd $(HOST_SUBDIR)/binutils && \
5771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5773 "RANLIB=$${RANLIB}" \
5774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5775 installcheck) \
5776 || exit 1
5778 @endif binutils
5780 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5781 maybe-mostlyclean-binutils:
5782 @if binutils
5783 maybe-mostlyclean-binutils: mostlyclean-binutils
5785 mostlyclean-binutils:
5786 @[ -f ./binutils/Makefile ] || exit 0; \
5787 r=`${PWD_COMMAND}`; export r; \
5788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5789 $(HOST_EXPORTS) \
5790 for flag in $(EXTRA_HOST_FLAGS) ; do \
5791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5792 done; \
5793 echo "Doing mostlyclean in binutils" ; \
5794 (cd $(HOST_SUBDIR)/binutils && \
5795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5797 "RANLIB=$${RANLIB}" \
5798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5799 mostlyclean) \
5800 || exit 1
5802 @endif binutils
5804 .PHONY: maybe-clean-binutils clean-binutils
5805 maybe-clean-binutils:
5806 @if binutils
5807 maybe-clean-binutils: clean-binutils
5809 clean-binutils:
5810 @[ -f ./binutils/Makefile ] || exit 0; \
5811 r=`${PWD_COMMAND}`; export r; \
5812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5813 $(HOST_EXPORTS) \
5814 for flag in $(EXTRA_HOST_FLAGS) ; do \
5815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5816 done; \
5817 echo "Doing clean in binutils" ; \
5818 (cd $(HOST_SUBDIR)/binutils && \
5819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5821 "RANLIB=$${RANLIB}" \
5822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5823 clean) \
5824 || exit 1
5826 @endif binutils
5828 .PHONY: maybe-distclean-binutils distclean-binutils
5829 maybe-distclean-binutils:
5830 @if binutils
5831 maybe-distclean-binutils: distclean-binutils
5833 distclean-binutils:
5834 @[ -f ./binutils/Makefile ] || exit 0; \
5835 r=`${PWD_COMMAND}`; export r; \
5836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5837 $(HOST_EXPORTS) \
5838 for flag in $(EXTRA_HOST_FLAGS) ; do \
5839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5840 done; \
5841 echo "Doing distclean in binutils" ; \
5842 (cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5845 "RANLIB=$${RANLIB}" \
5846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5847 distclean) \
5848 || exit 1
5850 @endif binutils
5852 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5853 maybe-maintainer-clean-binutils:
5854 @if binutils
5855 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5857 maintainer-clean-binutils:
5858 @[ -f ./binutils/Makefile ] || exit 0; \
5859 r=`${PWD_COMMAND}`; export r; \
5860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5861 $(HOST_EXPORTS) \
5862 for flag in $(EXTRA_HOST_FLAGS) ; do \
5863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5864 done; \
5865 echo "Doing maintainer-clean in binutils" ; \
5866 (cd $(HOST_SUBDIR)/binutils && \
5867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5869 "RANLIB=$${RANLIB}" \
5870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5871 maintainer-clean) \
5872 || exit 1
5874 @endif binutils
5878 .PHONY: configure-bison maybe-configure-bison
5879 maybe-configure-bison:
5880 @if bison
5881 maybe-configure-bison: configure-bison
5882 configure-bison:
5883 @: $(MAKE); $(unstage)
5884 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5886 r=`${PWD_COMMAND}`; export r; \
5887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5888 $(HOST_EXPORTS) \
5889 echo Configuring in $(HOST_SUBDIR)/bison; \
5890 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5891 case $(srcdir) in \
5892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5893 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5895 esac; \
5896 srcdiroption="--srcdir=$${topdir}/bison"; \
5897 libsrcdir="$$s/bison"; \
5898 $(SHELL) $${libsrcdir}/configure \
5899 $(HOST_CONFIGARGS) $${srcdiroption} \
5900 || exit 1
5901 @endif bison
5907 .PHONY: all-bison maybe-all-bison
5908 maybe-all-bison:
5909 @if bison
5910 TARGET-bison=all
5911 maybe-all-bison: all-bison
5912 all-bison: configure-bison
5913 @: $(MAKE); $(unstage)
5914 @r=`${PWD_COMMAND}`; export r; \
5915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5916 $(HOST_EXPORTS) \
5917 (cd $(HOST_SUBDIR)/bison && \
5918 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5919 @endif bison
5924 .PHONY: check-bison maybe-check-bison
5925 maybe-check-bison:
5926 @if bison
5927 maybe-check-bison: check-bison
5929 # This module is only tested in a native toolchain.
5930 check-bison:
5931 @: $(MAKE); $(unstage)
5932 @if [ '$(host)' = '$(target)' ] ; then \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 $(HOST_EXPORTS) \
5936 (cd $(HOST_SUBDIR)/bison && \
5937 $(MAKE) $(FLAGS_TO_PASS) check); \
5940 @endif bison
5942 .PHONY: install-bison maybe-install-bison
5943 maybe-install-bison:
5944 @if bison
5945 maybe-install-bison: install-bison
5947 install-bison: installdirs
5948 @: $(MAKE); $(unstage)
5949 @r=`${PWD_COMMAND}`; export r; \
5950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5951 $(HOST_EXPORTS) \
5952 (cd $(HOST_SUBDIR)/bison && \
5953 $(MAKE) $(FLAGS_TO_PASS) install)
5955 @endif bison
5957 # Other targets (info, dvi, etc.)
5959 .PHONY: maybe-info-bison info-bison
5960 maybe-info-bison:
5961 @if bison
5962 maybe-info-bison: info-bison
5964 info-bison: \
5965 configure-bison
5966 @: $(MAKE); $(unstage)
5967 @[ -f ./bison/Makefile ] || exit 0; \
5968 r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5970 $(HOST_EXPORTS) \
5971 for flag in $(EXTRA_HOST_FLAGS) ; do \
5972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5973 done; \
5974 echo "Doing info in bison" ; \
5975 (cd $(HOST_SUBDIR)/bison && \
5976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5978 "RANLIB=$${RANLIB}" \
5979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5980 info) \
5981 || exit 1
5983 @endif bison
5985 .PHONY: maybe-dvi-bison dvi-bison
5986 maybe-dvi-bison:
5987 @if bison
5988 maybe-dvi-bison: dvi-bison
5990 dvi-bison: \
5991 configure-bison
5992 @: $(MAKE); $(unstage)
5993 @[ -f ./bison/Makefile ] || exit 0; \
5994 r=`${PWD_COMMAND}`; export r; \
5995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5996 $(HOST_EXPORTS) \
5997 for flag in $(EXTRA_HOST_FLAGS) ; do \
5998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5999 done; \
6000 echo "Doing dvi in bison" ; \
6001 (cd $(HOST_SUBDIR)/bison && \
6002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6004 "RANLIB=$${RANLIB}" \
6005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6006 dvi) \
6007 || exit 1
6009 @endif bison
6011 .PHONY: maybe-html-bison html-bison
6012 maybe-html-bison:
6013 @if bison
6014 maybe-html-bison: html-bison
6016 html-bison: \
6017 configure-bison
6018 @: $(MAKE); $(unstage)
6019 @[ -f ./bison/Makefile ] || exit 0; \
6020 r=`${PWD_COMMAND}`; export r; \
6021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6022 $(HOST_EXPORTS) \
6023 for flag in $(EXTRA_HOST_FLAGS) ; do \
6024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6025 done; \
6026 echo "Doing html in bison" ; \
6027 (cd $(HOST_SUBDIR)/bison && \
6028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6030 "RANLIB=$${RANLIB}" \
6031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6032 html) \
6033 || exit 1
6035 @endif bison
6037 .PHONY: maybe-TAGS-bison TAGS-bison
6038 maybe-TAGS-bison:
6039 @if bison
6040 maybe-TAGS-bison: TAGS-bison
6042 TAGS-bison: \
6043 configure-bison
6044 @: $(MAKE); $(unstage)
6045 @[ -f ./bison/Makefile ] || exit 0; \
6046 r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 $(HOST_EXPORTS) \
6049 for flag in $(EXTRA_HOST_FLAGS) ; do \
6050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6051 done; \
6052 echo "Doing TAGS in bison" ; \
6053 (cd $(HOST_SUBDIR)/bison && \
6054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6056 "RANLIB=$${RANLIB}" \
6057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6058 TAGS) \
6059 || exit 1
6061 @endif bison
6063 .PHONY: maybe-install-info-bison install-info-bison
6064 maybe-install-info-bison:
6065 @if bison
6066 maybe-install-info-bison: install-info-bison
6068 install-info-bison: \
6069 configure-bison \
6070 info-bison
6071 @: $(MAKE); $(unstage)
6072 @[ -f ./bison/Makefile ] || exit 0; \
6073 r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 $(HOST_EXPORTS) \
6076 for flag in $(EXTRA_HOST_FLAGS) ; do \
6077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6078 done; \
6079 echo "Doing install-info in bison" ; \
6080 (cd $(HOST_SUBDIR)/bison && \
6081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6083 "RANLIB=$${RANLIB}" \
6084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6085 install-info) \
6086 || exit 1
6088 @endif bison
6090 .PHONY: maybe-installcheck-bison installcheck-bison
6091 maybe-installcheck-bison:
6092 @if bison
6093 maybe-installcheck-bison: installcheck-bison
6095 installcheck-bison: \
6096 configure-bison
6097 @: $(MAKE); $(unstage)
6098 @[ -f ./bison/Makefile ] || exit 0; \
6099 r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6101 $(HOST_EXPORTS) \
6102 for flag in $(EXTRA_HOST_FLAGS) ; do \
6103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6104 done; \
6105 echo "Doing installcheck in bison" ; \
6106 (cd $(HOST_SUBDIR)/bison && \
6107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6109 "RANLIB=$${RANLIB}" \
6110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6111 installcheck) \
6112 || exit 1
6114 @endif bison
6116 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6117 maybe-mostlyclean-bison:
6118 @if bison
6119 maybe-mostlyclean-bison: mostlyclean-bison
6121 mostlyclean-bison:
6122 @: $(MAKE); $(unstage)
6123 @[ -f ./bison/Makefile ] || exit 0; \
6124 r=`${PWD_COMMAND}`; export r; \
6125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 $(HOST_EXPORTS) \
6127 for flag in $(EXTRA_HOST_FLAGS) ; do \
6128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6129 done; \
6130 echo "Doing mostlyclean in bison" ; \
6131 (cd $(HOST_SUBDIR)/bison && \
6132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6134 "RANLIB=$${RANLIB}" \
6135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6136 mostlyclean) \
6137 || exit 1
6139 @endif bison
6141 .PHONY: maybe-clean-bison clean-bison
6142 maybe-clean-bison:
6143 @if bison
6144 maybe-clean-bison: clean-bison
6146 clean-bison:
6147 @: $(MAKE); $(unstage)
6148 @[ -f ./bison/Makefile ] || exit 0; \
6149 r=`${PWD_COMMAND}`; export r; \
6150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 $(HOST_EXPORTS) \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 done; \
6155 echo "Doing clean in bison" ; \
6156 (cd $(HOST_SUBDIR)/bison && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6161 clean) \
6162 || exit 1
6164 @endif bison
6166 .PHONY: maybe-distclean-bison distclean-bison
6167 maybe-distclean-bison:
6168 @if bison
6169 maybe-distclean-bison: distclean-bison
6171 distclean-bison:
6172 @: $(MAKE); $(unstage)
6173 @[ -f ./bison/Makefile ] || exit 0; \
6174 r=`${PWD_COMMAND}`; export r; \
6175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6176 $(HOST_EXPORTS) \
6177 for flag in $(EXTRA_HOST_FLAGS) ; do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 done; \
6180 echo "Doing distclean in bison" ; \
6181 (cd $(HOST_SUBDIR)/bison && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6186 distclean) \
6187 || exit 1
6189 @endif bison
6191 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6192 maybe-maintainer-clean-bison:
6193 @if bison
6194 maybe-maintainer-clean-bison: maintainer-clean-bison
6196 maintainer-clean-bison:
6197 @: $(MAKE); $(unstage)
6198 @[ -f ./bison/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing maintainer-clean in bison" ; \
6206 (cd $(HOST_SUBDIR)/bison && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6211 maintainer-clean) \
6212 || exit 1
6214 @endif bison
6218 .PHONY: configure-byacc maybe-configure-byacc
6219 maybe-configure-byacc:
6220 @if byacc
6221 maybe-configure-byacc: configure-byacc
6222 configure-byacc:
6223 @: $(MAKE); $(unstage)
6224 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6226 r=`${PWD_COMMAND}`; export r; \
6227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6228 $(HOST_EXPORTS) \
6229 echo Configuring in $(HOST_SUBDIR)/byacc; \
6230 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6231 case $(srcdir) in \
6232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6233 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6235 esac; \
6236 srcdiroption="--srcdir=$${topdir}/byacc"; \
6237 libsrcdir="$$s/byacc"; \
6238 $(SHELL) $${libsrcdir}/configure \
6239 $(HOST_CONFIGARGS) $${srcdiroption} \
6240 || exit 1
6241 @endif byacc
6247 .PHONY: all-byacc maybe-all-byacc
6248 maybe-all-byacc:
6249 @if byacc
6250 TARGET-byacc=all
6251 maybe-all-byacc: all-byacc
6252 all-byacc: configure-byacc
6253 @: $(MAKE); $(unstage)
6254 @r=`${PWD_COMMAND}`; export r; \
6255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6256 $(HOST_EXPORTS) \
6257 (cd $(HOST_SUBDIR)/byacc && \
6258 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6259 @endif byacc
6264 .PHONY: check-byacc maybe-check-byacc
6265 maybe-check-byacc:
6266 @if byacc
6267 maybe-check-byacc: check-byacc
6269 # This module is only tested in a native toolchain.
6270 check-byacc:
6271 @: $(MAKE); $(unstage)
6272 @if [ '$(host)' = '$(target)' ] ; then \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 $(HOST_EXPORTS) \
6276 (cd $(HOST_SUBDIR)/byacc && \
6277 $(MAKE) $(FLAGS_TO_PASS) check); \
6280 @endif byacc
6282 .PHONY: install-byacc maybe-install-byacc
6283 maybe-install-byacc:
6284 @if byacc
6285 maybe-install-byacc: install-byacc
6287 install-byacc: installdirs
6288 @: $(MAKE); $(unstage)
6289 @r=`${PWD_COMMAND}`; export r; \
6290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6291 $(HOST_EXPORTS) \
6292 (cd $(HOST_SUBDIR)/byacc && \
6293 $(MAKE) $(FLAGS_TO_PASS) install)
6295 @endif byacc
6297 # Other targets (info, dvi, etc.)
6299 .PHONY: maybe-info-byacc info-byacc
6300 maybe-info-byacc:
6301 @if byacc
6302 maybe-info-byacc: info-byacc
6304 info-byacc: \
6305 configure-byacc
6306 @: $(MAKE); $(unstage)
6307 @[ -f ./byacc/Makefile ] || exit 0; \
6308 r=`${PWD_COMMAND}`; export r; \
6309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6310 $(HOST_EXPORTS) \
6311 for flag in $(EXTRA_HOST_FLAGS) ; do \
6312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6313 done; \
6314 echo "Doing info in byacc" ; \
6315 (cd $(HOST_SUBDIR)/byacc && \
6316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6318 "RANLIB=$${RANLIB}" \
6319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6320 info) \
6321 || exit 1
6323 @endif byacc
6325 .PHONY: maybe-dvi-byacc dvi-byacc
6326 maybe-dvi-byacc:
6327 @if byacc
6328 maybe-dvi-byacc: dvi-byacc
6330 dvi-byacc: \
6331 configure-byacc
6332 @: $(MAKE); $(unstage)
6333 @[ -f ./byacc/Makefile ] || exit 0; \
6334 r=`${PWD_COMMAND}`; export r; \
6335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6336 $(HOST_EXPORTS) \
6337 for flag in $(EXTRA_HOST_FLAGS) ; do \
6338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6339 done; \
6340 echo "Doing dvi in byacc" ; \
6341 (cd $(HOST_SUBDIR)/byacc && \
6342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6344 "RANLIB=$${RANLIB}" \
6345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6346 dvi) \
6347 || exit 1
6349 @endif byacc
6351 .PHONY: maybe-html-byacc html-byacc
6352 maybe-html-byacc:
6353 @if byacc
6354 maybe-html-byacc: html-byacc
6356 html-byacc: \
6357 configure-byacc
6358 @: $(MAKE); $(unstage)
6359 @[ -f ./byacc/Makefile ] || exit 0; \
6360 r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6362 $(HOST_EXPORTS) \
6363 for flag in $(EXTRA_HOST_FLAGS) ; do \
6364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6365 done; \
6366 echo "Doing html in byacc" ; \
6367 (cd $(HOST_SUBDIR)/byacc && \
6368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6370 "RANLIB=$${RANLIB}" \
6371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6372 html) \
6373 || exit 1
6375 @endif byacc
6377 .PHONY: maybe-TAGS-byacc TAGS-byacc
6378 maybe-TAGS-byacc:
6379 @if byacc
6380 maybe-TAGS-byacc: TAGS-byacc
6382 TAGS-byacc: \
6383 configure-byacc
6384 @: $(MAKE); $(unstage)
6385 @[ -f ./byacc/Makefile ] || exit 0; \
6386 r=`${PWD_COMMAND}`; export r; \
6387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6388 $(HOST_EXPORTS) \
6389 for flag in $(EXTRA_HOST_FLAGS) ; do \
6390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6391 done; \
6392 echo "Doing TAGS in byacc" ; \
6393 (cd $(HOST_SUBDIR)/byacc && \
6394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6396 "RANLIB=$${RANLIB}" \
6397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6398 TAGS) \
6399 || exit 1
6401 @endif byacc
6403 .PHONY: maybe-install-info-byacc install-info-byacc
6404 maybe-install-info-byacc:
6405 @if byacc
6406 maybe-install-info-byacc: install-info-byacc
6408 install-info-byacc: \
6409 configure-byacc \
6410 info-byacc
6411 @: $(MAKE); $(unstage)
6412 @[ -f ./byacc/Makefile ] || exit 0; \
6413 r=`${PWD_COMMAND}`; export r; \
6414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6415 $(HOST_EXPORTS) \
6416 for flag in $(EXTRA_HOST_FLAGS) ; do \
6417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6418 done; \
6419 echo "Doing install-info in byacc" ; \
6420 (cd $(HOST_SUBDIR)/byacc && \
6421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6423 "RANLIB=$${RANLIB}" \
6424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6425 install-info) \
6426 || exit 1
6428 @endif byacc
6430 .PHONY: maybe-installcheck-byacc installcheck-byacc
6431 maybe-installcheck-byacc:
6432 @if byacc
6433 maybe-installcheck-byacc: installcheck-byacc
6435 installcheck-byacc: \
6436 configure-byacc
6437 @: $(MAKE); $(unstage)
6438 @[ -f ./byacc/Makefile ] || exit 0; \
6439 r=`${PWD_COMMAND}`; export r; \
6440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6441 $(HOST_EXPORTS) \
6442 for flag in $(EXTRA_HOST_FLAGS) ; do \
6443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6444 done; \
6445 echo "Doing installcheck in byacc" ; \
6446 (cd $(HOST_SUBDIR)/byacc && \
6447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6449 "RANLIB=$${RANLIB}" \
6450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6451 installcheck) \
6452 || exit 1
6454 @endif byacc
6456 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6457 maybe-mostlyclean-byacc:
6458 @if byacc
6459 maybe-mostlyclean-byacc: mostlyclean-byacc
6461 mostlyclean-byacc:
6462 @: $(MAKE); $(unstage)
6463 @[ -f ./byacc/Makefile ] || exit 0; \
6464 r=`${PWD_COMMAND}`; export r; \
6465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6466 $(HOST_EXPORTS) \
6467 for flag in $(EXTRA_HOST_FLAGS) ; do \
6468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6469 done; \
6470 echo "Doing mostlyclean in byacc" ; \
6471 (cd $(HOST_SUBDIR)/byacc && \
6472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6474 "RANLIB=$${RANLIB}" \
6475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6476 mostlyclean) \
6477 || exit 1
6479 @endif byacc
6481 .PHONY: maybe-clean-byacc clean-byacc
6482 maybe-clean-byacc:
6483 @if byacc
6484 maybe-clean-byacc: clean-byacc
6486 clean-byacc:
6487 @: $(MAKE); $(unstage)
6488 @[ -f ./byacc/Makefile ] || exit 0; \
6489 r=`${PWD_COMMAND}`; export r; \
6490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491 $(HOST_EXPORTS) \
6492 for flag in $(EXTRA_HOST_FLAGS) ; do \
6493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6494 done; \
6495 echo "Doing clean in byacc" ; \
6496 (cd $(HOST_SUBDIR)/byacc && \
6497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6499 "RANLIB=$${RANLIB}" \
6500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6501 clean) \
6502 || exit 1
6504 @endif byacc
6506 .PHONY: maybe-distclean-byacc distclean-byacc
6507 maybe-distclean-byacc:
6508 @if byacc
6509 maybe-distclean-byacc: distclean-byacc
6511 distclean-byacc:
6512 @: $(MAKE); $(unstage)
6513 @[ -f ./byacc/Makefile ] || exit 0; \
6514 r=`${PWD_COMMAND}`; export r; \
6515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6516 $(HOST_EXPORTS) \
6517 for flag in $(EXTRA_HOST_FLAGS) ; do \
6518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6519 done; \
6520 echo "Doing distclean in byacc" ; \
6521 (cd $(HOST_SUBDIR)/byacc && \
6522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6524 "RANLIB=$${RANLIB}" \
6525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6526 distclean) \
6527 || exit 1
6529 @endif byacc
6531 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6532 maybe-maintainer-clean-byacc:
6533 @if byacc
6534 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6536 maintainer-clean-byacc:
6537 @: $(MAKE); $(unstage)
6538 @[ -f ./byacc/Makefile ] || exit 0; \
6539 r=`${PWD_COMMAND}`; export r; \
6540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6541 $(HOST_EXPORTS) \
6542 for flag in $(EXTRA_HOST_FLAGS) ; do \
6543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6544 done; \
6545 echo "Doing maintainer-clean in byacc" ; \
6546 (cd $(HOST_SUBDIR)/byacc && \
6547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6549 "RANLIB=$${RANLIB}" \
6550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6551 maintainer-clean) \
6552 || exit 1
6554 @endif byacc
6558 .PHONY: configure-bzip2 maybe-configure-bzip2
6559 maybe-configure-bzip2:
6560 @if bzip2
6561 maybe-configure-bzip2: configure-bzip2
6562 configure-bzip2:
6563 @: $(MAKE); $(unstage)
6564 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6565 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6566 r=`${PWD_COMMAND}`; export r; \
6567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6568 $(HOST_EXPORTS) \
6569 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6570 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6571 case $(srcdir) in \
6572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6573 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6575 esac; \
6576 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6577 libsrcdir="$$s/bzip2"; \
6578 $(SHELL) $${libsrcdir}/configure \
6579 $(HOST_CONFIGARGS) $${srcdiroption} \
6580 || exit 1
6581 @endif bzip2
6587 .PHONY: all-bzip2 maybe-all-bzip2
6588 maybe-all-bzip2:
6589 @if bzip2
6590 TARGET-bzip2=all
6591 maybe-all-bzip2: all-bzip2
6592 all-bzip2: configure-bzip2
6593 @: $(MAKE); $(unstage)
6594 @r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(HOST_EXPORTS) \
6597 (cd $(HOST_SUBDIR)/bzip2 && \
6598 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6599 @endif bzip2
6604 .PHONY: check-bzip2 maybe-check-bzip2
6605 maybe-check-bzip2:
6606 @if bzip2
6607 maybe-check-bzip2: check-bzip2
6609 check-bzip2:
6610 @: $(MAKE); $(unstage)
6611 @r=`${PWD_COMMAND}`; export r; \
6612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6613 $(HOST_EXPORTS) \
6614 (cd $(HOST_SUBDIR)/bzip2 && \
6615 $(MAKE) $(FLAGS_TO_PASS) check)
6617 @endif bzip2
6619 .PHONY: install-bzip2 maybe-install-bzip2
6620 maybe-install-bzip2:
6621 @if bzip2
6622 maybe-install-bzip2: install-bzip2
6624 install-bzip2: installdirs
6625 @: $(MAKE); $(unstage)
6626 @r=`${PWD_COMMAND}`; export r; \
6627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6628 $(HOST_EXPORTS) \
6629 (cd $(HOST_SUBDIR)/bzip2 && \
6630 $(MAKE) $(FLAGS_TO_PASS) install)
6632 @endif bzip2
6634 # Other targets (info, dvi, etc.)
6636 .PHONY: maybe-info-bzip2 info-bzip2
6637 maybe-info-bzip2:
6638 @if bzip2
6639 maybe-info-bzip2: info-bzip2
6641 info-bzip2: \
6642 configure-bzip2
6643 @: $(MAKE); $(unstage)
6644 @[ -f ./bzip2/Makefile ] || exit 0; \
6645 r=`${PWD_COMMAND}`; export r; \
6646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6647 $(HOST_EXPORTS) \
6648 for flag in $(EXTRA_HOST_FLAGS) ; do \
6649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6650 done; \
6651 echo "Doing info in bzip2" ; \
6652 (cd $(HOST_SUBDIR)/bzip2 && \
6653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6655 "RANLIB=$${RANLIB}" \
6656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6657 info) \
6658 || exit 1
6660 @endif bzip2
6662 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6663 maybe-dvi-bzip2:
6664 @if bzip2
6665 maybe-dvi-bzip2: dvi-bzip2
6667 dvi-bzip2: \
6668 configure-bzip2
6669 @: $(MAKE); $(unstage)
6670 @[ -f ./bzip2/Makefile ] || exit 0; \
6671 r=`${PWD_COMMAND}`; export r; \
6672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6673 $(HOST_EXPORTS) \
6674 for flag in $(EXTRA_HOST_FLAGS) ; do \
6675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6676 done; \
6677 echo "Doing dvi in bzip2" ; \
6678 (cd $(HOST_SUBDIR)/bzip2 && \
6679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6681 "RANLIB=$${RANLIB}" \
6682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6683 dvi) \
6684 || exit 1
6686 @endif bzip2
6688 .PHONY: maybe-html-bzip2 html-bzip2
6689 maybe-html-bzip2:
6690 @if bzip2
6691 maybe-html-bzip2: html-bzip2
6693 html-bzip2: \
6694 configure-bzip2
6695 @: $(MAKE); $(unstage)
6696 @[ -f ./bzip2/Makefile ] || exit 0; \
6697 r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699 $(HOST_EXPORTS) \
6700 for flag in $(EXTRA_HOST_FLAGS) ; do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 done; \
6703 echo "Doing html in bzip2" ; \
6704 (cd $(HOST_SUBDIR)/bzip2 && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6709 html) \
6710 || exit 1
6712 @endif bzip2
6714 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6715 maybe-TAGS-bzip2:
6716 @if bzip2
6717 maybe-TAGS-bzip2: TAGS-bzip2
6719 TAGS-bzip2: \
6720 configure-bzip2
6721 @: $(MAKE); $(unstage)
6722 @[ -f ./bzip2/Makefile ] || exit 0; \
6723 r=`${PWD_COMMAND}`; export r; \
6724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6725 $(HOST_EXPORTS) \
6726 for flag in $(EXTRA_HOST_FLAGS) ; do \
6727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6728 done; \
6729 echo "Doing TAGS in bzip2" ; \
6730 (cd $(HOST_SUBDIR)/bzip2 && \
6731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6733 "RANLIB=$${RANLIB}" \
6734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6735 TAGS) \
6736 || exit 1
6738 @endif bzip2
6740 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6741 maybe-install-info-bzip2:
6742 @if bzip2
6743 maybe-install-info-bzip2: install-info-bzip2
6745 install-info-bzip2: \
6746 configure-bzip2 \
6747 info-bzip2
6748 @: $(MAKE); $(unstage)
6749 @[ -f ./bzip2/Makefile ] || exit 0; \
6750 r=`${PWD_COMMAND}`; export r; \
6751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6752 $(HOST_EXPORTS) \
6753 for flag in $(EXTRA_HOST_FLAGS) ; do \
6754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6755 done; \
6756 echo "Doing install-info in bzip2" ; \
6757 (cd $(HOST_SUBDIR)/bzip2 && \
6758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6760 "RANLIB=$${RANLIB}" \
6761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6762 install-info) \
6763 || exit 1
6765 @endif bzip2
6767 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6768 maybe-installcheck-bzip2:
6769 @if bzip2
6770 maybe-installcheck-bzip2: installcheck-bzip2
6772 installcheck-bzip2: \
6773 configure-bzip2
6774 @: $(MAKE); $(unstage)
6775 @[ -f ./bzip2/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778 $(HOST_EXPORTS) \
6779 for flag in $(EXTRA_HOST_FLAGS) ; do \
6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781 done; \
6782 echo "Doing installcheck in bzip2" ; \
6783 (cd $(HOST_SUBDIR)/bzip2 && \
6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786 "RANLIB=$${RANLIB}" \
6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6788 installcheck) \
6789 || exit 1
6791 @endif bzip2
6793 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6794 maybe-mostlyclean-bzip2:
6795 @if bzip2
6796 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6798 mostlyclean-bzip2:
6799 @: $(MAKE); $(unstage)
6800 @[ -f ./bzip2/Makefile ] || exit 0; \
6801 r=`${PWD_COMMAND}`; export r; \
6802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6803 $(HOST_EXPORTS) \
6804 for flag in $(EXTRA_HOST_FLAGS) ; do \
6805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6806 done; \
6807 echo "Doing mostlyclean in bzip2" ; \
6808 (cd $(HOST_SUBDIR)/bzip2 && \
6809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6811 "RANLIB=$${RANLIB}" \
6812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6813 mostlyclean) \
6814 || exit 1
6816 @endif bzip2
6818 .PHONY: maybe-clean-bzip2 clean-bzip2
6819 maybe-clean-bzip2:
6820 @if bzip2
6821 maybe-clean-bzip2: clean-bzip2
6823 clean-bzip2:
6824 @: $(MAKE); $(unstage)
6825 @[ -f ./bzip2/Makefile ] || exit 0; \
6826 r=`${PWD_COMMAND}`; export r; \
6827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6828 $(HOST_EXPORTS) \
6829 for flag in $(EXTRA_HOST_FLAGS) ; do \
6830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6831 done; \
6832 echo "Doing clean in bzip2" ; \
6833 (cd $(HOST_SUBDIR)/bzip2 && \
6834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6836 "RANLIB=$${RANLIB}" \
6837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6838 clean) \
6839 || exit 1
6841 @endif bzip2
6843 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6844 maybe-distclean-bzip2:
6845 @if bzip2
6846 maybe-distclean-bzip2: distclean-bzip2
6848 distclean-bzip2:
6849 @: $(MAKE); $(unstage)
6850 @[ -f ./bzip2/Makefile ] || exit 0; \
6851 r=`${PWD_COMMAND}`; export r; \
6852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6853 $(HOST_EXPORTS) \
6854 for flag in $(EXTRA_HOST_FLAGS) ; do \
6855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6856 done; \
6857 echo "Doing distclean in bzip2" ; \
6858 (cd $(HOST_SUBDIR)/bzip2 && \
6859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6861 "RANLIB=$${RANLIB}" \
6862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6863 distclean) \
6864 || exit 1
6866 @endif bzip2
6868 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6869 maybe-maintainer-clean-bzip2:
6870 @if bzip2
6871 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6873 maintainer-clean-bzip2:
6874 @: $(MAKE); $(unstage)
6875 @[ -f ./bzip2/Makefile ] || exit 0; \
6876 r=`${PWD_COMMAND}`; export r; \
6877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6878 $(HOST_EXPORTS) \
6879 for flag in $(EXTRA_HOST_FLAGS) ; do \
6880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6881 done; \
6882 echo "Doing maintainer-clean in bzip2" ; \
6883 (cd $(HOST_SUBDIR)/bzip2 && \
6884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6886 "RANLIB=$${RANLIB}" \
6887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6888 maintainer-clean) \
6889 || exit 1
6891 @endif bzip2
6895 .PHONY: configure-dejagnu maybe-configure-dejagnu
6896 maybe-configure-dejagnu:
6897 @if dejagnu
6898 maybe-configure-dejagnu: configure-dejagnu
6899 configure-dejagnu:
6900 @: $(MAKE); $(unstage)
6901 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6903 r=`${PWD_COMMAND}`; export r; \
6904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6905 $(HOST_EXPORTS) \
6906 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6907 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6908 case $(srcdir) in \
6909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6910 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6912 esac; \
6913 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6914 libsrcdir="$$s/dejagnu"; \
6915 $(SHELL) $${libsrcdir}/configure \
6916 $(HOST_CONFIGARGS) $${srcdiroption} \
6917 || exit 1
6918 @endif dejagnu
6924 .PHONY: all-dejagnu maybe-all-dejagnu
6925 maybe-all-dejagnu:
6926 @if dejagnu
6927 TARGET-dejagnu=all
6928 maybe-all-dejagnu: all-dejagnu
6929 all-dejagnu: configure-dejagnu
6930 @: $(MAKE); $(unstage)
6931 @r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 $(HOST_EXPORTS) \
6934 (cd $(HOST_SUBDIR)/dejagnu && \
6935 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6936 @endif dejagnu
6941 .PHONY: check-dejagnu maybe-check-dejagnu
6942 maybe-check-dejagnu:
6943 @if dejagnu
6944 maybe-check-dejagnu: check-dejagnu
6946 check-dejagnu:
6947 @: $(MAKE); $(unstage)
6948 @r=`${PWD_COMMAND}`; export r; \
6949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6950 $(HOST_EXPORTS) \
6951 (cd $(HOST_SUBDIR)/dejagnu && \
6952 $(MAKE) $(FLAGS_TO_PASS) check)
6954 @endif dejagnu
6956 .PHONY: install-dejagnu maybe-install-dejagnu
6957 maybe-install-dejagnu:
6958 @if dejagnu
6959 maybe-install-dejagnu: install-dejagnu
6961 install-dejagnu: installdirs
6962 @: $(MAKE); $(unstage)
6963 @r=`${PWD_COMMAND}`; export r; \
6964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965 $(HOST_EXPORTS) \
6966 (cd $(HOST_SUBDIR)/dejagnu && \
6967 $(MAKE) $(FLAGS_TO_PASS) install)
6969 @endif dejagnu
6971 # Other targets (info, dvi, etc.)
6973 .PHONY: maybe-info-dejagnu info-dejagnu
6974 maybe-info-dejagnu:
6975 @if dejagnu
6976 maybe-info-dejagnu: info-dejagnu
6978 info-dejagnu: \
6979 configure-dejagnu
6980 @: $(MAKE); $(unstage)
6981 @[ -f ./dejagnu/Makefile ] || exit 0; \
6982 r=`${PWD_COMMAND}`; export r; \
6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 $(HOST_EXPORTS) \
6985 for flag in $(EXTRA_HOST_FLAGS) ; do \
6986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6987 done; \
6988 echo "Doing info in dejagnu" ; \
6989 (cd $(HOST_SUBDIR)/dejagnu && \
6990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6992 "RANLIB=$${RANLIB}" \
6993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6994 info) \
6995 || exit 1
6997 @endif dejagnu
6999 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7000 maybe-dvi-dejagnu:
7001 @if dejagnu
7002 maybe-dvi-dejagnu: dvi-dejagnu
7004 dvi-dejagnu: \
7005 configure-dejagnu
7006 @: $(MAKE); $(unstage)
7007 @[ -f ./dejagnu/Makefile ] || exit 0; \
7008 r=`${PWD_COMMAND}`; export r; \
7009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7010 $(HOST_EXPORTS) \
7011 for flag in $(EXTRA_HOST_FLAGS) ; do \
7012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 done; \
7014 echo "Doing dvi in dejagnu" ; \
7015 (cd $(HOST_SUBDIR)/dejagnu && \
7016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7018 "RANLIB=$${RANLIB}" \
7019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7020 dvi) \
7021 || exit 1
7023 @endif dejagnu
7025 .PHONY: maybe-html-dejagnu html-dejagnu
7026 maybe-html-dejagnu:
7027 @if dejagnu
7028 maybe-html-dejagnu: html-dejagnu
7030 html-dejagnu: \
7031 configure-dejagnu
7032 @: $(MAKE); $(unstage)
7033 @[ -f ./dejagnu/Makefile ] || exit 0; \
7034 r=`${PWD_COMMAND}`; export r; \
7035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7036 $(HOST_EXPORTS) \
7037 for flag in $(EXTRA_HOST_FLAGS) ; do \
7038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7039 done; \
7040 echo "Doing html in dejagnu" ; \
7041 (cd $(HOST_SUBDIR)/dejagnu && \
7042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7044 "RANLIB=$${RANLIB}" \
7045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7046 html) \
7047 || exit 1
7049 @endif dejagnu
7051 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7052 maybe-TAGS-dejagnu:
7053 @if dejagnu
7054 maybe-TAGS-dejagnu: TAGS-dejagnu
7056 TAGS-dejagnu: \
7057 configure-dejagnu
7058 @: $(MAKE); $(unstage)
7059 @[ -f ./dejagnu/Makefile ] || exit 0; \
7060 r=`${PWD_COMMAND}`; export r; \
7061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7062 $(HOST_EXPORTS) \
7063 for flag in $(EXTRA_HOST_FLAGS) ; do \
7064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7065 done; \
7066 echo "Doing TAGS in dejagnu" ; \
7067 (cd $(HOST_SUBDIR)/dejagnu && \
7068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7070 "RANLIB=$${RANLIB}" \
7071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7072 TAGS) \
7073 || exit 1
7075 @endif dejagnu
7077 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7078 maybe-install-info-dejagnu:
7079 @if dejagnu
7080 maybe-install-info-dejagnu: install-info-dejagnu
7082 install-info-dejagnu: \
7083 configure-dejagnu \
7084 info-dejagnu
7085 @: $(MAKE); $(unstage)
7086 @[ -f ./dejagnu/Makefile ] || exit 0; \
7087 r=`${PWD_COMMAND}`; export r; \
7088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7089 $(HOST_EXPORTS) \
7090 for flag in $(EXTRA_HOST_FLAGS) ; do \
7091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7092 done; \
7093 echo "Doing install-info in dejagnu" ; \
7094 (cd $(HOST_SUBDIR)/dejagnu && \
7095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7097 "RANLIB=$${RANLIB}" \
7098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7099 install-info) \
7100 || exit 1
7102 @endif dejagnu
7104 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7105 maybe-installcheck-dejagnu:
7106 @if dejagnu
7107 maybe-installcheck-dejagnu: installcheck-dejagnu
7109 installcheck-dejagnu: \
7110 configure-dejagnu
7111 @: $(MAKE); $(unstage)
7112 @[ -f ./dejagnu/Makefile ] || exit 0; \
7113 r=`${PWD_COMMAND}`; export r; \
7114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7115 $(HOST_EXPORTS) \
7116 for flag in $(EXTRA_HOST_FLAGS) ; do \
7117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7118 done; \
7119 echo "Doing installcheck in dejagnu" ; \
7120 (cd $(HOST_SUBDIR)/dejagnu && \
7121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7123 "RANLIB=$${RANLIB}" \
7124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7125 installcheck) \
7126 || exit 1
7128 @endif dejagnu
7130 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7131 maybe-mostlyclean-dejagnu:
7132 @if dejagnu
7133 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7135 mostlyclean-dejagnu:
7136 @: $(MAKE); $(unstage)
7137 @[ -f ./dejagnu/Makefile ] || exit 0; \
7138 r=`${PWD_COMMAND}`; export r; \
7139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7140 $(HOST_EXPORTS) \
7141 for flag in $(EXTRA_HOST_FLAGS) ; do \
7142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7143 done; \
7144 echo "Doing mostlyclean in dejagnu" ; \
7145 (cd $(HOST_SUBDIR)/dejagnu && \
7146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7148 "RANLIB=$${RANLIB}" \
7149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7150 mostlyclean) \
7151 || exit 1
7153 @endif dejagnu
7155 .PHONY: maybe-clean-dejagnu clean-dejagnu
7156 maybe-clean-dejagnu:
7157 @if dejagnu
7158 maybe-clean-dejagnu: clean-dejagnu
7160 clean-dejagnu:
7161 @: $(MAKE); $(unstage)
7162 @[ -f ./dejagnu/Makefile ] || exit 0; \
7163 r=`${PWD_COMMAND}`; export r; \
7164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7165 $(HOST_EXPORTS) \
7166 for flag in $(EXTRA_HOST_FLAGS) ; do \
7167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7168 done; \
7169 echo "Doing clean in dejagnu" ; \
7170 (cd $(HOST_SUBDIR)/dejagnu && \
7171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7173 "RANLIB=$${RANLIB}" \
7174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7175 clean) \
7176 || exit 1
7178 @endif dejagnu
7180 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7181 maybe-distclean-dejagnu:
7182 @if dejagnu
7183 maybe-distclean-dejagnu: distclean-dejagnu
7185 distclean-dejagnu:
7186 @: $(MAKE); $(unstage)
7187 @[ -f ./dejagnu/Makefile ] || exit 0; \
7188 r=`${PWD_COMMAND}`; export r; \
7189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7190 $(HOST_EXPORTS) \
7191 for flag in $(EXTRA_HOST_FLAGS) ; do \
7192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7193 done; \
7194 echo "Doing distclean in dejagnu" ; \
7195 (cd $(HOST_SUBDIR)/dejagnu && \
7196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7198 "RANLIB=$${RANLIB}" \
7199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7200 distclean) \
7201 || exit 1
7203 @endif dejagnu
7205 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7206 maybe-maintainer-clean-dejagnu:
7207 @if dejagnu
7208 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7210 maintainer-clean-dejagnu:
7211 @: $(MAKE); $(unstage)
7212 @[ -f ./dejagnu/Makefile ] || exit 0; \
7213 r=`${PWD_COMMAND}`; export r; \
7214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7215 $(HOST_EXPORTS) \
7216 for flag in $(EXTRA_HOST_FLAGS) ; do \
7217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7218 done; \
7219 echo "Doing maintainer-clean in dejagnu" ; \
7220 (cd $(HOST_SUBDIR)/dejagnu && \
7221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7223 "RANLIB=$${RANLIB}" \
7224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7225 maintainer-clean) \
7226 || exit 1
7228 @endif dejagnu
7232 .PHONY: configure-diff maybe-configure-diff
7233 maybe-configure-diff:
7234 @if diff
7235 maybe-configure-diff: configure-diff
7236 configure-diff:
7237 @: $(MAKE); $(unstage)
7238 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7240 r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 $(HOST_EXPORTS) \
7243 echo Configuring in $(HOST_SUBDIR)/diff; \
7244 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7245 case $(srcdir) in \
7246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7247 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7249 esac; \
7250 srcdiroption="--srcdir=$${topdir}/diff"; \
7251 libsrcdir="$$s/diff"; \
7252 $(SHELL) $${libsrcdir}/configure \
7253 $(HOST_CONFIGARGS) $${srcdiroption} \
7254 || exit 1
7255 @endif diff
7261 .PHONY: all-diff maybe-all-diff
7262 maybe-all-diff:
7263 @if diff
7264 TARGET-diff=all
7265 maybe-all-diff: all-diff
7266 all-diff: configure-diff
7267 @: $(MAKE); $(unstage)
7268 @r=`${PWD_COMMAND}`; export r; \
7269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7270 $(HOST_EXPORTS) \
7271 (cd $(HOST_SUBDIR)/diff && \
7272 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7273 @endif diff
7278 .PHONY: check-diff maybe-check-diff
7279 maybe-check-diff:
7280 @if diff
7281 maybe-check-diff: check-diff
7283 check-diff:
7284 @: $(MAKE); $(unstage)
7285 @r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(HOST_EXPORTS) \
7288 (cd $(HOST_SUBDIR)/diff && \
7289 $(MAKE) $(FLAGS_TO_PASS) check)
7291 @endif diff
7293 .PHONY: install-diff maybe-install-diff
7294 maybe-install-diff:
7295 @if diff
7296 maybe-install-diff: install-diff
7298 install-diff: installdirs
7299 @: $(MAKE); $(unstage)
7300 @r=`${PWD_COMMAND}`; export r; \
7301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7302 $(HOST_EXPORTS) \
7303 (cd $(HOST_SUBDIR)/diff && \
7304 $(MAKE) $(FLAGS_TO_PASS) install)
7306 @endif diff
7308 # Other targets (info, dvi, etc.)
7310 .PHONY: maybe-info-diff info-diff
7311 maybe-info-diff:
7312 @if diff
7313 maybe-info-diff: info-diff
7315 info-diff: \
7316 configure-diff
7317 @: $(MAKE); $(unstage)
7318 @[ -f ./diff/Makefile ] || exit 0; \
7319 r=`${PWD_COMMAND}`; export r; \
7320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7321 $(HOST_EXPORTS) \
7322 for flag in $(EXTRA_HOST_FLAGS) ; do \
7323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7324 done; \
7325 echo "Doing info in diff" ; \
7326 (cd $(HOST_SUBDIR)/diff && \
7327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7329 "RANLIB=$${RANLIB}" \
7330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7331 info) \
7332 || exit 1
7334 @endif diff
7336 .PHONY: maybe-dvi-diff dvi-diff
7337 maybe-dvi-diff:
7338 @if diff
7339 maybe-dvi-diff: dvi-diff
7341 dvi-diff: \
7342 configure-diff
7343 @: $(MAKE); $(unstage)
7344 @[ -f ./diff/Makefile ] || exit 0; \
7345 r=`${PWD_COMMAND}`; export r; \
7346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7347 $(HOST_EXPORTS) \
7348 for flag in $(EXTRA_HOST_FLAGS) ; do \
7349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7350 done; \
7351 echo "Doing dvi in diff" ; \
7352 (cd $(HOST_SUBDIR)/diff && \
7353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7355 "RANLIB=$${RANLIB}" \
7356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7357 dvi) \
7358 || exit 1
7360 @endif diff
7362 .PHONY: maybe-html-diff html-diff
7363 maybe-html-diff:
7364 @if diff
7365 maybe-html-diff: html-diff
7367 html-diff: \
7368 configure-diff
7369 @: $(MAKE); $(unstage)
7370 @[ -f ./diff/Makefile ] || exit 0; \
7371 r=`${PWD_COMMAND}`; export r; \
7372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7373 $(HOST_EXPORTS) \
7374 for flag in $(EXTRA_HOST_FLAGS) ; do \
7375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7376 done; \
7377 echo "Doing html in diff" ; \
7378 (cd $(HOST_SUBDIR)/diff && \
7379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7381 "RANLIB=$${RANLIB}" \
7382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7383 html) \
7384 || exit 1
7386 @endif diff
7388 .PHONY: maybe-TAGS-diff TAGS-diff
7389 maybe-TAGS-diff:
7390 @if diff
7391 maybe-TAGS-diff: TAGS-diff
7393 TAGS-diff: \
7394 configure-diff
7395 @: $(MAKE); $(unstage)
7396 @[ -f ./diff/Makefile ] || exit 0; \
7397 r=`${PWD_COMMAND}`; export r; \
7398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7399 $(HOST_EXPORTS) \
7400 for flag in $(EXTRA_HOST_FLAGS) ; do \
7401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7402 done; \
7403 echo "Doing TAGS in diff" ; \
7404 (cd $(HOST_SUBDIR)/diff && \
7405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7407 "RANLIB=$${RANLIB}" \
7408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7409 TAGS) \
7410 || exit 1
7412 @endif diff
7414 .PHONY: maybe-install-info-diff install-info-diff
7415 maybe-install-info-diff:
7416 @if diff
7417 maybe-install-info-diff: install-info-diff
7419 install-info-diff: \
7420 configure-diff \
7421 info-diff
7422 @: $(MAKE); $(unstage)
7423 @[ -f ./diff/Makefile ] || exit 0; \
7424 r=`${PWD_COMMAND}`; export r; \
7425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7426 $(HOST_EXPORTS) \
7427 for flag in $(EXTRA_HOST_FLAGS) ; do \
7428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7429 done; \
7430 echo "Doing install-info in diff" ; \
7431 (cd $(HOST_SUBDIR)/diff && \
7432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7434 "RANLIB=$${RANLIB}" \
7435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7436 install-info) \
7437 || exit 1
7439 @endif diff
7441 .PHONY: maybe-installcheck-diff installcheck-diff
7442 maybe-installcheck-diff:
7443 @if diff
7444 maybe-installcheck-diff: installcheck-diff
7446 installcheck-diff: \
7447 configure-diff
7448 @: $(MAKE); $(unstage)
7449 @[ -f ./diff/Makefile ] || exit 0; \
7450 r=`${PWD_COMMAND}`; export r; \
7451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7452 $(HOST_EXPORTS) \
7453 for flag in $(EXTRA_HOST_FLAGS) ; do \
7454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7455 done; \
7456 echo "Doing installcheck in diff" ; \
7457 (cd $(HOST_SUBDIR)/diff && \
7458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7460 "RANLIB=$${RANLIB}" \
7461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7462 installcheck) \
7463 || exit 1
7465 @endif diff
7467 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7468 maybe-mostlyclean-diff:
7469 @if diff
7470 maybe-mostlyclean-diff: mostlyclean-diff
7472 mostlyclean-diff:
7473 @: $(MAKE); $(unstage)
7474 @[ -f ./diff/Makefile ] || exit 0; \
7475 r=`${PWD_COMMAND}`; export r; \
7476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7477 $(HOST_EXPORTS) \
7478 for flag in $(EXTRA_HOST_FLAGS) ; do \
7479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7480 done; \
7481 echo "Doing mostlyclean in diff" ; \
7482 (cd $(HOST_SUBDIR)/diff && \
7483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7485 "RANLIB=$${RANLIB}" \
7486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7487 mostlyclean) \
7488 || exit 1
7490 @endif diff
7492 .PHONY: maybe-clean-diff clean-diff
7493 maybe-clean-diff:
7494 @if diff
7495 maybe-clean-diff: clean-diff
7497 clean-diff:
7498 @: $(MAKE); $(unstage)
7499 @[ -f ./diff/Makefile ] || exit 0; \
7500 r=`${PWD_COMMAND}`; export r; \
7501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7502 $(HOST_EXPORTS) \
7503 for flag in $(EXTRA_HOST_FLAGS) ; do \
7504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7505 done; \
7506 echo "Doing clean in diff" ; \
7507 (cd $(HOST_SUBDIR)/diff && \
7508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7510 "RANLIB=$${RANLIB}" \
7511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7512 clean) \
7513 || exit 1
7515 @endif diff
7517 .PHONY: maybe-distclean-diff distclean-diff
7518 maybe-distclean-diff:
7519 @if diff
7520 maybe-distclean-diff: distclean-diff
7522 distclean-diff:
7523 @: $(MAKE); $(unstage)
7524 @[ -f ./diff/Makefile ] || exit 0; \
7525 r=`${PWD_COMMAND}`; export r; \
7526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7527 $(HOST_EXPORTS) \
7528 for flag in $(EXTRA_HOST_FLAGS) ; do \
7529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7530 done; \
7531 echo "Doing distclean in diff" ; \
7532 (cd $(HOST_SUBDIR)/diff && \
7533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7535 "RANLIB=$${RANLIB}" \
7536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7537 distclean) \
7538 || exit 1
7540 @endif diff
7542 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7543 maybe-maintainer-clean-diff:
7544 @if diff
7545 maybe-maintainer-clean-diff: maintainer-clean-diff
7547 maintainer-clean-diff:
7548 @: $(MAKE); $(unstage)
7549 @[ -f ./diff/Makefile ] || exit 0; \
7550 r=`${PWD_COMMAND}`; export r; \
7551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552 $(HOST_EXPORTS) \
7553 for flag in $(EXTRA_HOST_FLAGS) ; do \
7554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7555 done; \
7556 echo "Doing maintainer-clean in diff" ; \
7557 (cd $(HOST_SUBDIR)/diff && \
7558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7560 "RANLIB=$${RANLIB}" \
7561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7562 maintainer-clean) \
7563 || exit 1
7565 @endif diff
7569 .PHONY: configure-dosutils maybe-configure-dosutils
7570 maybe-configure-dosutils:
7571 @if dosutils
7572 maybe-configure-dosutils: configure-dosutils
7573 configure-dosutils:
7574 @: $(MAKE); $(unstage)
7575 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7577 r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7579 $(HOST_EXPORTS) \
7580 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7581 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7582 case $(srcdir) in \
7583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7584 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7586 esac; \
7587 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7588 libsrcdir="$$s/dosutils"; \
7589 $(SHELL) $${libsrcdir}/configure \
7590 $(HOST_CONFIGARGS) $${srcdiroption} \
7591 || exit 1
7592 @endif dosutils
7598 .PHONY: all-dosutils maybe-all-dosutils
7599 maybe-all-dosutils:
7600 @if dosutils
7601 TARGET-dosutils=all
7602 maybe-all-dosutils: all-dosutils
7603 all-dosutils: configure-dosutils
7604 @: $(MAKE); $(unstage)
7605 @r=`${PWD_COMMAND}`; export r; \
7606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7607 $(HOST_EXPORTS) \
7608 (cd $(HOST_SUBDIR)/dosutils && \
7609 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7610 @endif dosutils
7615 .PHONY: check-dosutils maybe-check-dosutils
7616 maybe-check-dosutils:
7617 @if dosutils
7618 maybe-check-dosutils: check-dosutils
7620 check-dosutils:
7622 @endif dosutils
7624 .PHONY: install-dosutils maybe-install-dosutils
7625 maybe-install-dosutils:
7626 @if dosutils
7627 maybe-install-dosutils: install-dosutils
7629 install-dosutils: installdirs
7630 @: $(MAKE); $(unstage)
7631 @r=`${PWD_COMMAND}`; export r; \
7632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7633 $(HOST_EXPORTS) \
7634 (cd $(HOST_SUBDIR)/dosutils && \
7635 $(MAKE) $(FLAGS_TO_PASS) install)
7637 @endif dosutils
7639 # Other targets (info, dvi, etc.)
7641 .PHONY: maybe-info-dosutils info-dosutils
7642 maybe-info-dosutils:
7643 @if dosutils
7644 maybe-info-dosutils: info-dosutils
7646 info-dosutils: \
7647 configure-dosutils
7648 @: $(MAKE); $(unstage)
7649 @[ -f ./dosutils/Makefile ] || exit 0; \
7650 r=`${PWD_COMMAND}`; export r; \
7651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7652 $(HOST_EXPORTS) \
7653 for flag in $(EXTRA_HOST_FLAGS) ; do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7655 done; \
7656 echo "Doing info in dosutils" ; \
7657 (cd $(HOST_SUBDIR)/dosutils && \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7662 info) \
7663 || exit 1
7665 @endif dosutils
7667 .PHONY: maybe-dvi-dosutils dvi-dosutils
7668 maybe-dvi-dosutils:
7669 @if dosutils
7670 maybe-dvi-dosutils: dvi-dosutils
7672 dvi-dosutils: \
7673 configure-dosutils
7674 @: $(MAKE); $(unstage)
7675 @[ -f ./dosutils/Makefile ] || exit 0; \
7676 r=`${PWD_COMMAND}`; export r; \
7677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7678 $(HOST_EXPORTS) \
7679 for flag in $(EXTRA_HOST_FLAGS) ; do \
7680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7681 done; \
7682 echo "Doing dvi in dosutils" ; \
7683 (cd $(HOST_SUBDIR)/dosutils && \
7684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7686 "RANLIB=$${RANLIB}" \
7687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7688 dvi) \
7689 || exit 1
7691 @endif dosutils
7693 .PHONY: maybe-html-dosutils html-dosutils
7694 maybe-html-dosutils:
7695 @if dosutils
7696 maybe-html-dosutils: html-dosutils
7698 html-dosutils: \
7699 configure-dosutils
7700 @: $(MAKE); $(unstage)
7701 @[ -f ./dosutils/Makefile ] || exit 0; \
7702 r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 for flag in $(EXTRA_HOST_FLAGS) ; do \
7706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7707 done; \
7708 echo "Doing html in dosutils" ; \
7709 (cd $(HOST_SUBDIR)/dosutils && \
7710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7712 "RANLIB=$${RANLIB}" \
7713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7714 html) \
7715 || exit 1
7717 @endif dosutils
7719 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7720 maybe-TAGS-dosutils:
7721 @if dosutils
7722 maybe-TAGS-dosutils: TAGS-dosutils
7724 TAGS-dosutils: \
7725 configure-dosutils
7726 @: $(MAKE); $(unstage)
7727 @[ -f ./dosutils/Makefile ] || exit 0; \
7728 r=`${PWD_COMMAND}`; export r; \
7729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7730 $(HOST_EXPORTS) \
7731 for flag in $(EXTRA_HOST_FLAGS) ; do \
7732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7733 done; \
7734 echo "Doing TAGS in dosutils" ; \
7735 (cd $(HOST_SUBDIR)/dosutils && \
7736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7738 "RANLIB=$${RANLIB}" \
7739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7740 TAGS) \
7741 || exit 1
7743 @endif dosutils
7745 .PHONY: maybe-install-info-dosutils install-info-dosutils
7746 maybe-install-info-dosutils:
7747 @if dosutils
7748 maybe-install-info-dosutils: install-info-dosutils
7750 install-info-dosutils: \
7751 configure-dosutils \
7752 info-dosutils
7753 @: $(MAKE); $(unstage)
7754 @[ -f ./dosutils/Makefile ] || exit 0; \
7755 r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(HOST_EXPORTS) \
7758 for flag in $(EXTRA_HOST_FLAGS) ; do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing install-info in dosutils" ; \
7762 (cd $(HOST_SUBDIR)/dosutils && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7767 install-info) \
7768 || exit 1
7770 @endif dosutils
7772 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7773 maybe-installcheck-dosutils:
7774 @if dosutils
7775 maybe-installcheck-dosutils: installcheck-dosutils
7777 installcheck-dosutils: \
7778 configure-dosutils
7779 @: $(MAKE); $(unstage)
7780 @[ -f ./dosutils/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 $(HOST_EXPORTS) \
7784 for flag in $(EXTRA_HOST_FLAGS) ; do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing installcheck in dosutils" ; \
7788 (cd $(HOST_SUBDIR)/dosutils && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7793 installcheck) \
7794 || exit 1
7796 @endif dosutils
7798 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7799 maybe-mostlyclean-dosutils:
7800 @if dosutils
7801 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7803 mostlyclean-dosutils:
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./dosutils/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing mostlyclean in dosutils" ; \
7813 (cd $(HOST_SUBDIR)/dosutils && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 mostlyclean) \
7819 || exit 1
7821 @endif dosutils
7823 .PHONY: maybe-clean-dosutils clean-dosutils
7824 maybe-clean-dosutils:
7825 @if dosutils
7826 maybe-clean-dosutils: clean-dosutils
7828 clean-dosutils:
7829 @: $(MAKE); $(unstage)
7830 @[ -f ./dosutils/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7833 $(HOST_EXPORTS) \
7834 for flag in $(EXTRA_HOST_FLAGS) ; do \
7835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7836 done; \
7837 echo "Doing clean in dosutils" ; \
7838 (cd $(HOST_SUBDIR)/dosutils && \
7839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7841 "RANLIB=$${RANLIB}" \
7842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7843 clean) \
7844 || exit 1
7846 @endif dosutils
7848 .PHONY: maybe-distclean-dosutils distclean-dosutils
7849 maybe-distclean-dosutils:
7850 @if dosutils
7851 maybe-distclean-dosutils: distclean-dosutils
7853 distclean-dosutils:
7854 @: $(MAKE); $(unstage)
7855 @[ -f ./dosutils/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(HOST_EXPORTS) \
7859 for flag in $(EXTRA_HOST_FLAGS) ; do \
7860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7861 done; \
7862 echo "Doing distclean in dosutils" ; \
7863 (cd $(HOST_SUBDIR)/dosutils && \
7864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7866 "RANLIB=$${RANLIB}" \
7867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7868 distclean) \
7869 || exit 1
7871 @endif dosutils
7873 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7874 maybe-maintainer-clean-dosutils:
7875 @if dosutils
7876 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7878 maintainer-clean-dosutils:
7879 @: $(MAKE); $(unstage)
7880 @[ -f ./dosutils/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(HOST_EXPORTS) \
7884 for flag in $(EXTRA_HOST_FLAGS) ; do \
7885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7886 done; \
7887 echo "Doing maintainer-clean in dosutils" ; \
7888 (cd $(HOST_SUBDIR)/dosutils && \
7889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891 "RANLIB=$${RANLIB}" \
7892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7893 maintainer-clean) \
7894 || exit 1
7896 @endif dosutils
7900 .PHONY: configure-etc maybe-configure-etc
7901 maybe-configure-etc:
7902 @if etc
7903 maybe-configure-etc: configure-etc
7904 configure-etc:
7905 @: $(MAKE); $(unstage)
7906 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7908 r=`${PWD_COMMAND}`; export r; \
7909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7910 $(HOST_EXPORTS) \
7911 echo Configuring in $(HOST_SUBDIR)/etc; \
7912 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7913 case $(srcdir) in \
7914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7915 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7917 esac; \
7918 srcdiroption="--srcdir=$${topdir}/etc"; \
7919 libsrcdir="$$s/etc"; \
7920 $(SHELL) $${libsrcdir}/configure \
7921 $(HOST_CONFIGARGS) $${srcdiroption} \
7922 || exit 1
7923 @endif etc
7929 .PHONY: all-etc maybe-all-etc
7930 maybe-all-etc:
7931 @if etc
7932 TARGET-etc=all
7933 maybe-all-etc: all-etc
7934 all-etc: configure-etc
7935 @: $(MAKE); $(unstage)
7936 @r=`${PWD_COMMAND}`; export r; \
7937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7938 $(HOST_EXPORTS) \
7939 (cd $(HOST_SUBDIR)/etc && \
7940 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7941 @endif etc
7946 .PHONY: check-etc maybe-check-etc
7947 maybe-check-etc:
7948 @if etc
7949 maybe-check-etc: check-etc
7951 check-etc:
7952 @: $(MAKE); $(unstage)
7953 @r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 $(HOST_EXPORTS) \
7956 (cd $(HOST_SUBDIR)/etc && \
7957 $(MAKE) $(FLAGS_TO_PASS) check)
7959 @endif etc
7961 .PHONY: install-etc maybe-install-etc
7962 maybe-install-etc:
7963 @if etc
7964 maybe-install-etc: install-etc
7966 install-etc: installdirs
7967 @: $(MAKE); $(unstage)
7968 @r=`${PWD_COMMAND}`; export r; \
7969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7970 $(HOST_EXPORTS) \
7971 (cd $(HOST_SUBDIR)/etc && \
7972 $(MAKE) $(FLAGS_TO_PASS) install)
7974 @endif etc
7976 # Other targets (info, dvi, etc.)
7978 .PHONY: maybe-info-etc info-etc
7979 maybe-info-etc:
7980 @if etc
7981 maybe-info-etc: info-etc
7983 info-etc: \
7984 configure-etc
7985 @: $(MAKE); $(unstage)
7986 @[ -f ./etc/Makefile ] || exit 0; \
7987 r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989 $(HOST_EXPORTS) \
7990 for flag in $(EXTRA_HOST_FLAGS) ; do \
7991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7992 done; \
7993 echo "Doing info in etc" ; \
7994 (cd $(HOST_SUBDIR)/etc && \
7995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7997 "RANLIB=$${RANLIB}" \
7998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7999 info) \
8000 || exit 1
8002 @endif etc
8004 .PHONY: maybe-dvi-etc dvi-etc
8005 maybe-dvi-etc:
8006 @if etc
8007 maybe-dvi-etc: dvi-etc
8009 dvi-etc: \
8010 configure-etc
8011 @: $(MAKE); $(unstage)
8012 @[ -f ./etc/Makefile ] || exit 0; \
8013 r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(HOST_EXPORTS) \
8016 for flag in $(EXTRA_HOST_FLAGS) ; do \
8017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8018 done; \
8019 echo "Doing dvi in etc" ; \
8020 (cd $(HOST_SUBDIR)/etc && \
8021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8023 "RANLIB=$${RANLIB}" \
8024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8025 dvi) \
8026 || exit 1
8028 @endif etc
8030 .PHONY: maybe-html-etc html-etc
8031 maybe-html-etc:
8032 @if etc
8033 maybe-html-etc: html-etc
8035 html-etc: \
8036 configure-etc
8037 @: $(MAKE); $(unstage)
8038 @[ -f ./etc/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 for flag in $(EXTRA_HOST_FLAGS) ; do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 done; \
8045 echo "Doing html in etc" ; \
8046 (cd $(HOST_SUBDIR)/etc && \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8051 html) \
8052 || exit 1
8054 @endif etc
8056 .PHONY: maybe-TAGS-etc TAGS-etc
8057 maybe-TAGS-etc:
8058 @if etc
8059 maybe-TAGS-etc: TAGS-etc
8061 TAGS-etc: \
8062 configure-etc
8063 @: $(MAKE); $(unstage)
8064 @[ -f ./etc/Makefile ] || exit 0; \
8065 r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 $(HOST_EXPORTS) \
8068 for flag in $(EXTRA_HOST_FLAGS) ; do \
8069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070 done; \
8071 echo "Doing TAGS in etc" ; \
8072 (cd $(HOST_SUBDIR)/etc && \
8073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8075 "RANLIB=$${RANLIB}" \
8076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8077 TAGS) \
8078 || exit 1
8080 @endif etc
8082 .PHONY: maybe-install-info-etc install-info-etc
8083 maybe-install-info-etc:
8084 @if etc
8085 maybe-install-info-etc: install-info-etc
8087 install-info-etc: \
8088 configure-etc \
8089 info-etc
8090 @: $(MAKE); $(unstage)
8091 @[ -f ./etc/Makefile ] || exit 0; \
8092 r=`${PWD_COMMAND}`; export r; \
8093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8094 $(HOST_EXPORTS) \
8095 for flag in $(EXTRA_HOST_FLAGS) ; do \
8096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8097 done; \
8098 echo "Doing install-info in etc" ; \
8099 (cd $(HOST_SUBDIR)/etc && \
8100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8102 "RANLIB=$${RANLIB}" \
8103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8104 install-info) \
8105 || exit 1
8107 @endif etc
8109 .PHONY: maybe-installcheck-etc installcheck-etc
8110 maybe-installcheck-etc:
8111 @if etc
8112 maybe-installcheck-etc: installcheck-etc
8114 installcheck-etc: \
8115 configure-etc
8116 @: $(MAKE); $(unstage)
8117 @[ -f ./etc/Makefile ] || exit 0; \
8118 r=`${PWD_COMMAND}`; export r; \
8119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8120 $(HOST_EXPORTS) \
8121 for flag in $(EXTRA_HOST_FLAGS) ; do \
8122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8123 done; \
8124 echo "Doing installcheck in etc" ; \
8125 (cd $(HOST_SUBDIR)/etc && \
8126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8128 "RANLIB=$${RANLIB}" \
8129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8130 installcheck) \
8131 || exit 1
8133 @endif etc
8135 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8136 maybe-mostlyclean-etc:
8137 @if etc
8138 maybe-mostlyclean-etc: mostlyclean-etc
8140 mostlyclean-etc:
8141 @: $(MAKE); $(unstage)
8142 @[ -f ./etc/Makefile ] || exit 0; \
8143 r=`${PWD_COMMAND}`; export r; \
8144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8145 $(HOST_EXPORTS) \
8146 for flag in $(EXTRA_HOST_FLAGS) ; do \
8147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8148 done; \
8149 echo "Doing mostlyclean in etc" ; \
8150 (cd $(HOST_SUBDIR)/etc && \
8151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8153 "RANLIB=$${RANLIB}" \
8154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8155 mostlyclean) \
8156 || exit 1
8158 @endif etc
8160 .PHONY: maybe-clean-etc clean-etc
8161 maybe-clean-etc:
8162 @if etc
8163 maybe-clean-etc: clean-etc
8165 clean-etc:
8166 @: $(MAKE); $(unstage)
8167 @[ -f ./etc/Makefile ] || exit 0; \
8168 r=`${PWD_COMMAND}`; export r; \
8169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8170 $(HOST_EXPORTS) \
8171 for flag in $(EXTRA_HOST_FLAGS) ; do \
8172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8173 done; \
8174 echo "Doing clean in etc" ; \
8175 (cd $(HOST_SUBDIR)/etc && \
8176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8178 "RANLIB=$${RANLIB}" \
8179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8180 clean) \
8181 || exit 1
8183 @endif etc
8185 .PHONY: maybe-distclean-etc distclean-etc
8186 maybe-distclean-etc:
8187 @if etc
8188 maybe-distclean-etc: distclean-etc
8190 distclean-etc:
8191 @: $(MAKE); $(unstage)
8192 @[ -f ./etc/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 $(HOST_EXPORTS) \
8196 for flag in $(EXTRA_HOST_FLAGS) ; do \
8197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8198 done; \
8199 echo "Doing distclean in etc" ; \
8200 (cd $(HOST_SUBDIR)/etc && \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8205 distclean) \
8206 || exit 1
8208 @endif etc
8210 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8211 maybe-maintainer-clean-etc:
8212 @if etc
8213 maybe-maintainer-clean-etc: maintainer-clean-etc
8215 maintainer-clean-etc:
8216 @: $(MAKE); $(unstage)
8217 @[ -f ./etc/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(HOST_EXPORTS) \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8223 done; \
8224 echo "Doing maintainer-clean in etc" ; \
8225 (cd $(HOST_SUBDIR)/etc && \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8230 maintainer-clean) \
8231 || exit 1
8233 @endif etc
8237 .PHONY: configure-fastjar maybe-configure-fastjar
8238 maybe-configure-fastjar:
8239 @if fastjar
8240 maybe-configure-fastjar: configure-fastjar
8241 configure-fastjar:
8242 @: $(MAKE); $(unstage)
8243 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8245 r=`${PWD_COMMAND}`; export r; \
8246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8247 $(HOST_EXPORTS) \
8248 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8249 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8250 case $(srcdir) in \
8251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8252 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8254 esac; \
8255 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8256 libsrcdir="$$s/fastjar"; \
8257 $(SHELL) $${libsrcdir}/configure \
8258 $(HOST_CONFIGARGS) $${srcdiroption} \
8259 || exit 1
8260 @endif fastjar
8266 .PHONY: all-fastjar maybe-all-fastjar
8267 maybe-all-fastjar:
8268 @if fastjar
8269 TARGET-fastjar=all
8270 maybe-all-fastjar: all-fastjar
8271 all-fastjar: configure-fastjar
8272 @: $(MAKE); $(unstage)
8273 @r=`${PWD_COMMAND}`; export r; \
8274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8275 $(HOST_EXPORTS) \
8276 (cd $(HOST_SUBDIR)/fastjar && \
8277 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8278 @endif fastjar
8283 .PHONY: check-fastjar maybe-check-fastjar
8284 maybe-check-fastjar:
8285 @if fastjar
8286 maybe-check-fastjar: check-fastjar
8288 # This module is only tested in a native toolchain.
8289 check-fastjar:
8290 @: $(MAKE); $(unstage)
8291 @if [ '$(host)' = '$(target)' ] ; then \
8292 r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8294 $(HOST_EXPORTS) \
8295 (cd $(HOST_SUBDIR)/fastjar && \
8296 $(MAKE) $(FLAGS_TO_PASS) check); \
8299 @endif fastjar
8301 .PHONY: install-fastjar maybe-install-fastjar
8302 maybe-install-fastjar:
8303 @if fastjar
8304 maybe-install-fastjar: install-fastjar
8306 install-fastjar: installdirs
8307 @: $(MAKE); $(unstage)
8308 @r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 $(HOST_EXPORTS) \
8311 (cd $(HOST_SUBDIR)/fastjar && \
8312 $(MAKE) $(FLAGS_TO_PASS) install)
8314 @endif fastjar
8316 # Other targets (info, dvi, etc.)
8318 .PHONY: maybe-info-fastjar info-fastjar
8319 maybe-info-fastjar:
8320 @if fastjar
8321 maybe-info-fastjar: info-fastjar
8323 info-fastjar: \
8324 configure-fastjar
8325 @: $(MAKE); $(unstage)
8326 @[ -f ./fastjar/Makefile ] || exit 0; \
8327 r=`${PWD_COMMAND}`; export r; \
8328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8329 $(HOST_EXPORTS) \
8330 for flag in $(EXTRA_HOST_FLAGS) ; do \
8331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8332 done; \
8333 echo "Doing info in fastjar" ; \
8334 (cd $(HOST_SUBDIR)/fastjar && \
8335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8337 "RANLIB=$${RANLIB}" \
8338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8339 info) \
8340 || exit 1
8342 @endif fastjar
8344 .PHONY: maybe-dvi-fastjar dvi-fastjar
8345 maybe-dvi-fastjar:
8346 @if fastjar
8347 maybe-dvi-fastjar: dvi-fastjar
8349 dvi-fastjar: \
8350 configure-fastjar
8351 @: $(MAKE); $(unstage)
8352 @[ -f ./fastjar/Makefile ] || exit 0; \
8353 r=`${PWD_COMMAND}`; export r; \
8354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8355 $(HOST_EXPORTS) \
8356 for flag in $(EXTRA_HOST_FLAGS) ; do \
8357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8358 done; \
8359 echo "Doing dvi in fastjar" ; \
8360 (cd $(HOST_SUBDIR)/fastjar && \
8361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8363 "RANLIB=$${RANLIB}" \
8364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8365 dvi) \
8366 || exit 1
8368 @endif fastjar
8370 .PHONY: maybe-html-fastjar html-fastjar
8371 maybe-html-fastjar:
8372 @if fastjar
8373 maybe-html-fastjar: html-fastjar
8375 html-fastjar: \
8376 configure-fastjar
8377 @: $(MAKE); $(unstage)
8378 @[ -f ./fastjar/Makefile ] || exit 0; \
8379 r=`${PWD_COMMAND}`; export r; \
8380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8381 $(HOST_EXPORTS) \
8382 for flag in $(EXTRA_HOST_FLAGS) ; do \
8383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8384 done; \
8385 echo "Doing html in fastjar" ; \
8386 (cd $(HOST_SUBDIR)/fastjar && \
8387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8389 "RANLIB=$${RANLIB}" \
8390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8391 html) \
8392 || exit 1
8394 @endif fastjar
8396 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8397 maybe-TAGS-fastjar:
8398 @if fastjar
8399 maybe-TAGS-fastjar: TAGS-fastjar
8401 TAGS-fastjar: \
8402 configure-fastjar
8403 @: $(MAKE); $(unstage)
8404 @[ -f ./fastjar/Makefile ] || exit 0; \
8405 r=`${PWD_COMMAND}`; export r; \
8406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8407 $(HOST_EXPORTS) \
8408 for flag in $(EXTRA_HOST_FLAGS) ; do \
8409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8410 done; \
8411 echo "Doing TAGS in fastjar" ; \
8412 (cd $(HOST_SUBDIR)/fastjar && \
8413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8415 "RANLIB=$${RANLIB}" \
8416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8417 TAGS) \
8418 || exit 1
8420 @endif fastjar
8422 .PHONY: maybe-install-info-fastjar install-info-fastjar
8423 maybe-install-info-fastjar:
8424 @if fastjar
8425 maybe-install-info-fastjar: install-info-fastjar
8427 install-info-fastjar: \
8428 configure-fastjar \
8429 info-fastjar
8430 @: $(MAKE); $(unstage)
8431 @[ -f ./fastjar/Makefile ] || exit 0; \
8432 r=`${PWD_COMMAND}`; export r; \
8433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8434 $(HOST_EXPORTS) \
8435 for flag in $(EXTRA_HOST_FLAGS) ; do \
8436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8437 done; \
8438 echo "Doing install-info in fastjar" ; \
8439 (cd $(HOST_SUBDIR)/fastjar && \
8440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8442 "RANLIB=$${RANLIB}" \
8443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8444 install-info) \
8445 || exit 1
8447 @endif fastjar
8449 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8450 maybe-installcheck-fastjar:
8451 @if fastjar
8452 maybe-installcheck-fastjar: installcheck-fastjar
8454 installcheck-fastjar: \
8455 configure-fastjar
8456 @: $(MAKE); $(unstage)
8457 @[ -f ./fastjar/Makefile ] || exit 0; \
8458 r=`${PWD_COMMAND}`; export r; \
8459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8460 $(HOST_EXPORTS) \
8461 for flag in $(EXTRA_HOST_FLAGS) ; do \
8462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8463 done; \
8464 echo "Doing installcheck in fastjar" ; \
8465 (cd $(HOST_SUBDIR)/fastjar && \
8466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8468 "RANLIB=$${RANLIB}" \
8469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8470 installcheck) \
8471 || exit 1
8473 @endif fastjar
8475 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8476 maybe-mostlyclean-fastjar:
8477 @if fastjar
8478 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8480 mostlyclean-fastjar:
8481 @: $(MAKE); $(unstage)
8482 @[ -f ./fastjar/Makefile ] || exit 0; \
8483 r=`${PWD_COMMAND}`; export r; \
8484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 $(HOST_EXPORTS) \
8486 for flag in $(EXTRA_HOST_FLAGS) ; do \
8487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8488 done; \
8489 echo "Doing mostlyclean in fastjar" ; \
8490 (cd $(HOST_SUBDIR)/fastjar && \
8491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8493 "RANLIB=$${RANLIB}" \
8494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8495 mostlyclean) \
8496 || exit 1
8498 @endif fastjar
8500 .PHONY: maybe-clean-fastjar clean-fastjar
8501 maybe-clean-fastjar:
8502 @if fastjar
8503 maybe-clean-fastjar: clean-fastjar
8505 clean-fastjar:
8506 @: $(MAKE); $(unstage)
8507 @[ -f ./fastjar/Makefile ] || exit 0; \
8508 r=`${PWD_COMMAND}`; export r; \
8509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8510 $(HOST_EXPORTS) \
8511 for flag in $(EXTRA_HOST_FLAGS) ; do \
8512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8513 done; \
8514 echo "Doing clean in fastjar" ; \
8515 (cd $(HOST_SUBDIR)/fastjar && \
8516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8518 "RANLIB=$${RANLIB}" \
8519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8520 clean) \
8521 || exit 1
8523 @endif fastjar
8525 .PHONY: maybe-distclean-fastjar distclean-fastjar
8526 maybe-distclean-fastjar:
8527 @if fastjar
8528 maybe-distclean-fastjar: distclean-fastjar
8530 distclean-fastjar:
8531 @: $(MAKE); $(unstage)
8532 @[ -f ./fastjar/Makefile ] || exit 0; \
8533 r=`${PWD_COMMAND}`; export r; \
8534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8535 $(HOST_EXPORTS) \
8536 for flag in $(EXTRA_HOST_FLAGS) ; do \
8537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8538 done; \
8539 echo "Doing distclean in fastjar" ; \
8540 (cd $(HOST_SUBDIR)/fastjar && \
8541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8543 "RANLIB=$${RANLIB}" \
8544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8545 distclean) \
8546 || exit 1
8548 @endif fastjar
8550 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8551 maybe-maintainer-clean-fastjar:
8552 @if fastjar
8553 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8555 maintainer-clean-fastjar:
8556 @: $(MAKE); $(unstage)
8557 @[ -f ./fastjar/Makefile ] || exit 0; \
8558 r=`${PWD_COMMAND}`; export r; \
8559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560 $(HOST_EXPORTS) \
8561 for flag in $(EXTRA_HOST_FLAGS) ; do \
8562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8563 done; \
8564 echo "Doing maintainer-clean in fastjar" ; \
8565 (cd $(HOST_SUBDIR)/fastjar && \
8566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8568 "RANLIB=$${RANLIB}" \
8569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8570 maintainer-clean) \
8571 || exit 1
8573 @endif fastjar
8577 .PHONY: configure-fileutils maybe-configure-fileutils
8578 maybe-configure-fileutils:
8579 @if fileutils
8580 maybe-configure-fileutils: configure-fileutils
8581 configure-fileutils:
8582 @: $(MAKE); $(unstage)
8583 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8585 r=`${PWD_COMMAND}`; export r; \
8586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8587 $(HOST_EXPORTS) \
8588 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8589 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8590 case $(srcdir) in \
8591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8592 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8594 esac; \
8595 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8596 libsrcdir="$$s/fileutils"; \
8597 $(SHELL) $${libsrcdir}/configure \
8598 $(HOST_CONFIGARGS) $${srcdiroption} \
8599 || exit 1
8600 @endif fileutils
8606 .PHONY: all-fileutils maybe-all-fileutils
8607 maybe-all-fileutils:
8608 @if fileutils
8609 TARGET-fileutils=all
8610 maybe-all-fileutils: all-fileutils
8611 all-fileutils: configure-fileutils
8612 @: $(MAKE); $(unstage)
8613 @r=`${PWD_COMMAND}`; export r; \
8614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8615 $(HOST_EXPORTS) \
8616 (cd $(HOST_SUBDIR)/fileutils && \
8617 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8618 @endif fileutils
8623 .PHONY: check-fileutils maybe-check-fileutils
8624 maybe-check-fileutils:
8625 @if fileutils
8626 maybe-check-fileutils: check-fileutils
8628 check-fileutils:
8629 @: $(MAKE); $(unstage)
8630 @r=`${PWD_COMMAND}`; export r; \
8631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8632 $(HOST_EXPORTS) \
8633 (cd $(HOST_SUBDIR)/fileutils && \
8634 $(MAKE) $(FLAGS_TO_PASS) check)
8636 @endif fileutils
8638 .PHONY: install-fileutils maybe-install-fileutils
8639 maybe-install-fileutils:
8640 @if fileutils
8641 maybe-install-fileutils: install-fileutils
8643 install-fileutils: installdirs
8644 @: $(MAKE); $(unstage)
8645 @r=`${PWD_COMMAND}`; export r; \
8646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8647 $(HOST_EXPORTS) \
8648 (cd $(HOST_SUBDIR)/fileutils && \
8649 $(MAKE) $(FLAGS_TO_PASS) install)
8651 @endif fileutils
8653 # Other targets (info, dvi, etc.)
8655 .PHONY: maybe-info-fileutils info-fileutils
8656 maybe-info-fileutils:
8657 @if fileutils
8658 maybe-info-fileutils: info-fileutils
8660 info-fileutils: \
8661 configure-fileutils
8662 @: $(MAKE); $(unstage)
8663 @[ -f ./fileutils/Makefile ] || exit 0; \
8664 r=`${PWD_COMMAND}`; export r; \
8665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8666 $(HOST_EXPORTS) \
8667 for flag in $(EXTRA_HOST_FLAGS) ; do \
8668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8669 done; \
8670 echo "Doing info in fileutils" ; \
8671 (cd $(HOST_SUBDIR)/fileutils && \
8672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8674 "RANLIB=$${RANLIB}" \
8675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8676 info) \
8677 || exit 1
8679 @endif fileutils
8681 .PHONY: maybe-dvi-fileutils dvi-fileutils
8682 maybe-dvi-fileutils:
8683 @if fileutils
8684 maybe-dvi-fileutils: dvi-fileutils
8686 dvi-fileutils: \
8687 configure-fileutils
8688 @: $(MAKE); $(unstage)
8689 @[ -f ./fileutils/Makefile ] || exit 0; \
8690 r=`${PWD_COMMAND}`; export r; \
8691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8692 $(HOST_EXPORTS) \
8693 for flag in $(EXTRA_HOST_FLAGS) ; do \
8694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8695 done; \
8696 echo "Doing dvi in fileutils" ; \
8697 (cd $(HOST_SUBDIR)/fileutils && \
8698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8700 "RANLIB=$${RANLIB}" \
8701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8702 dvi) \
8703 || exit 1
8705 @endif fileutils
8707 .PHONY: maybe-html-fileutils html-fileutils
8708 maybe-html-fileutils:
8709 @if fileutils
8710 maybe-html-fileutils: html-fileutils
8712 html-fileutils: \
8713 configure-fileutils
8714 @: $(MAKE); $(unstage)
8715 @[ -f ./fileutils/Makefile ] || exit 0; \
8716 r=`${PWD_COMMAND}`; export r; \
8717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8718 $(HOST_EXPORTS) \
8719 for flag in $(EXTRA_HOST_FLAGS) ; do \
8720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8721 done; \
8722 echo "Doing html in fileutils" ; \
8723 (cd $(HOST_SUBDIR)/fileutils && \
8724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8726 "RANLIB=$${RANLIB}" \
8727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8728 html) \
8729 || exit 1
8731 @endif fileutils
8733 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8734 maybe-TAGS-fileutils:
8735 @if fileutils
8736 maybe-TAGS-fileutils: TAGS-fileutils
8738 TAGS-fileutils: \
8739 configure-fileutils
8740 @: $(MAKE); $(unstage)
8741 @[ -f ./fileutils/Makefile ] || exit 0; \
8742 r=`${PWD_COMMAND}`; export r; \
8743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 $(HOST_EXPORTS) \
8745 for flag in $(EXTRA_HOST_FLAGS) ; do \
8746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8747 done; \
8748 echo "Doing TAGS in fileutils" ; \
8749 (cd $(HOST_SUBDIR)/fileutils && \
8750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8752 "RANLIB=$${RANLIB}" \
8753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8754 TAGS) \
8755 || exit 1
8757 @endif fileutils
8759 .PHONY: maybe-install-info-fileutils install-info-fileutils
8760 maybe-install-info-fileutils:
8761 @if fileutils
8762 maybe-install-info-fileutils: install-info-fileutils
8764 install-info-fileutils: \
8765 configure-fileutils \
8766 info-fileutils
8767 @: $(MAKE); $(unstage)
8768 @[ -f ./fileutils/Makefile ] || exit 0; \
8769 r=`${PWD_COMMAND}`; export r; \
8770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8771 $(HOST_EXPORTS) \
8772 for flag in $(EXTRA_HOST_FLAGS) ; do \
8773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8774 done; \
8775 echo "Doing install-info in fileutils" ; \
8776 (cd $(HOST_SUBDIR)/fileutils && \
8777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8779 "RANLIB=$${RANLIB}" \
8780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8781 install-info) \
8782 || exit 1
8784 @endif fileutils
8786 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8787 maybe-installcheck-fileutils:
8788 @if fileutils
8789 maybe-installcheck-fileutils: installcheck-fileutils
8791 installcheck-fileutils: \
8792 configure-fileutils
8793 @: $(MAKE); $(unstage)
8794 @[ -f ./fileutils/Makefile ] || exit 0; \
8795 r=`${PWD_COMMAND}`; export r; \
8796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8797 $(HOST_EXPORTS) \
8798 for flag in $(EXTRA_HOST_FLAGS) ; do \
8799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8800 done; \
8801 echo "Doing installcheck in fileutils" ; \
8802 (cd $(HOST_SUBDIR)/fileutils && \
8803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8805 "RANLIB=$${RANLIB}" \
8806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8807 installcheck) \
8808 || exit 1
8810 @endif fileutils
8812 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8813 maybe-mostlyclean-fileutils:
8814 @if fileutils
8815 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8817 mostlyclean-fileutils:
8818 @: $(MAKE); $(unstage)
8819 @[ -f ./fileutils/Makefile ] || exit 0; \
8820 r=`${PWD_COMMAND}`; export r; \
8821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8822 $(HOST_EXPORTS) \
8823 for flag in $(EXTRA_HOST_FLAGS) ; do \
8824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8825 done; \
8826 echo "Doing mostlyclean in fileutils" ; \
8827 (cd $(HOST_SUBDIR)/fileutils && \
8828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8830 "RANLIB=$${RANLIB}" \
8831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8832 mostlyclean) \
8833 || exit 1
8835 @endif fileutils
8837 .PHONY: maybe-clean-fileutils clean-fileutils
8838 maybe-clean-fileutils:
8839 @if fileutils
8840 maybe-clean-fileutils: clean-fileutils
8842 clean-fileutils:
8843 @: $(MAKE); $(unstage)
8844 @[ -f ./fileutils/Makefile ] || exit 0; \
8845 r=`${PWD_COMMAND}`; export r; \
8846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8847 $(HOST_EXPORTS) \
8848 for flag in $(EXTRA_HOST_FLAGS) ; do \
8849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8850 done; \
8851 echo "Doing clean in fileutils" ; \
8852 (cd $(HOST_SUBDIR)/fileutils && \
8853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8855 "RANLIB=$${RANLIB}" \
8856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8857 clean) \
8858 || exit 1
8860 @endif fileutils
8862 .PHONY: maybe-distclean-fileutils distclean-fileutils
8863 maybe-distclean-fileutils:
8864 @if fileutils
8865 maybe-distclean-fileutils: distclean-fileutils
8867 distclean-fileutils:
8868 @: $(MAKE); $(unstage)
8869 @[ -f ./fileutils/Makefile ] || exit 0; \
8870 r=`${PWD_COMMAND}`; export r; \
8871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8872 $(HOST_EXPORTS) \
8873 for flag in $(EXTRA_HOST_FLAGS) ; do \
8874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8875 done; \
8876 echo "Doing distclean in fileutils" ; \
8877 (cd $(HOST_SUBDIR)/fileutils && \
8878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8880 "RANLIB=$${RANLIB}" \
8881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8882 distclean) \
8883 || exit 1
8885 @endif fileutils
8887 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8888 maybe-maintainer-clean-fileutils:
8889 @if fileutils
8890 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8892 maintainer-clean-fileutils:
8893 @: $(MAKE); $(unstage)
8894 @[ -f ./fileutils/Makefile ] || exit 0; \
8895 r=`${PWD_COMMAND}`; export r; \
8896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8897 $(HOST_EXPORTS) \
8898 for flag in $(EXTRA_HOST_FLAGS) ; do \
8899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8900 done; \
8901 echo "Doing maintainer-clean in fileutils" ; \
8902 (cd $(HOST_SUBDIR)/fileutils && \
8903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8905 "RANLIB=$${RANLIB}" \
8906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8907 maintainer-clean) \
8908 || exit 1
8910 @endif fileutils
8914 .PHONY: configure-findutils maybe-configure-findutils
8915 maybe-configure-findutils:
8916 @if findutils
8917 maybe-configure-findutils: configure-findutils
8918 configure-findutils:
8919 @: $(MAKE); $(unstage)
8920 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8921 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8922 r=`${PWD_COMMAND}`; export r; \
8923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8924 $(HOST_EXPORTS) \
8925 echo Configuring in $(HOST_SUBDIR)/findutils; \
8926 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8927 case $(srcdir) in \
8928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8929 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8931 esac; \
8932 srcdiroption="--srcdir=$${topdir}/findutils"; \
8933 libsrcdir="$$s/findutils"; \
8934 $(SHELL) $${libsrcdir}/configure \
8935 $(HOST_CONFIGARGS) $${srcdiroption} \
8936 || exit 1
8937 @endif findutils
8943 .PHONY: all-findutils maybe-all-findutils
8944 maybe-all-findutils:
8945 @if findutils
8946 TARGET-findutils=all
8947 maybe-all-findutils: all-findutils
8948 all-findutils: configure-findutils
8949 @: $(MAKE); $(unstage)
8950 @r=`${PWD_COMMAND}`; export r; \
8951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8952 $(HOST_EXPORTS) \
8953 (cd $(HOST_SUBDIR)/findutils && \
8954 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8955 @endif findutils
8960 .PHONY: check-findutils maybe-check-findutils
8961 maybe-check-findutils:
8962 @if findutils
8963 maybe-check-findutils: check-findutils
8965 check-findutils:
8966 @: $(MAKE); $(unstage)
8967 @r=`${PWD_COMMAND}`; export r; \
8968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8969 $(HOST_EXPORTS) \
8970 (cd $(HOST_SUBDIR)/findutils && \
8971 $(MAKE) $(FLAGS_TO_PASS) check)
8973 @endif findutils
8975 .PHONY: install-findutils maybe-install-findutils
8976 maybe-install-findutils:
8977 @if findutils
8978 maybe-install-findutils: install-findutils
8980 install-findutils: installdirs
8981 @: $(MAKE); $(unstage)
8982 @r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984 $(HOST_EXPORTS) \
8985 (cd $(HOST_SUBDIR)/findutils && \
8986 $(MAKE) $(FLAGS_TO_PASS) install)
8988 @endif findutils
8990 # Other targets (info, dvi, etc.)
8992 .PHONY: maybe-info-findutils info-findutils
8993 maybe-info-findutils:
8994 @if findutils
8995 maybe-info-findutils: info-findutils
8997 info-findutils: \
8998 configure-findutils
8999 @: $(MAKE); $(unstage)
9000 @[ -f ./findutils/Makefile ] || exit 0; \
9001 r=`${PWD_COMMAND}`; export r; \
9002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9003 $(HOST_EXPORTS) \
9004 for flag in $(EXTRA_HOST_FLAGS) ; do \
9005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9006 done; \
9007 echo "Doing info in findutils" ; \
9008 (cd $(HOST_SUBDIR)/findutils && \
9009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9011 "RANLIB=$${RANLIB}" \
9012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9013 info) \
9014 || exit 1
9016 @endif findutils
9018 .PHONY: maybe-dvi-findutils dvi-findutils
9019 maybe-dvi-findutils:
9020 @if findutils
9021 maybe-dvi-findutils: dvi-findutils
9023 dvi-findutils: \
9024 configure-findutils
9025 @: $(MAKE); $(unstage)
9026 @[ -f ./findutils/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029 $(HOST_EXPORTS) \
9030 for flag in $(EXTRA_HOST_FLAGS) ; do \
9031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9032 done; \
9033 echo "Doing dvi in findutils" ; \
9034 (cd $(HOST_SUBDIR)/findutils && \
9035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9037 "RANLIB=$${RANLIB}" \
9038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9039 dvi) \
9040 || exit 1
9042 @endif findutils
9044 .PHONY: maybe-html-findutils html-findutils
9045 maybe-html-findutils:
9046 @if findutils
9047 maybe-html-findutils: html-findutils
9049 html-findutils: \
9050 configure-findutils
9051 @: $(MAKE); $(unstage)
9052 @[ -f ./findutils/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9055 $(HOST_EXPORTS) \
9056 for flag in $(EXTRA_HOST_FLAGS) ; do \
9057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9058 done; \
9059 echo "Doing html in findutils" ; \
9060 (cd $(HOST_SUBDIR)/findutils && \
9061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9063 "RANLIB=$${RANLIB}" \
9064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9065 html) \
9066 || exit 1
9068 @endif findutils
9070 .PHONY: maybe-TAGS-findutils TAGS-findutils
9071 maybe-TAGS-findutils:
9072 @if findutils
9073 maybe-TAGS-findutils: TAGS-findutils
9075 TAGS-findutils: \
9076 configure-findutils
9077 @: $(MAKE); $(unstage)
9078 @[ -f ./findutils/Makefile ] || exit 0; \
9079 r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9081 $(HOST_EXPORTS) \
9082 for flag in $(EXTRA_HOST_FLAGS) ; do \
9083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9084 done; \
9085 echo "Doing TAGS in findutils" ; \
9086 (cd $(HOST_SUBDIR)/findutils && \
9087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9089 "RANLIB=$${RANLIB}" \
9090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9091 TAGS) \
9092 || exit 1
9094 @endif findutils
9096 .PHONY: maybe-install-info-findutils install-info-findutils
9097 maybe-install-info-findutils:
9098 @if findutils
9099 maybe-install-info-findutils: install-info-findutils
9101 install-info-findutils: \
9102 configure-findutils \
9103 info-findutils
9104 @: $(MAKE); $(unstage)
9105 @[ -f ./findutils/Makefile ] || exit 0; \
9106 r=`${PWD_COMMAND}`; export r; \
9107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9108 $(HOST_EXPORTS) \
9109 for flag in $(EXTRA_HOST_FLAGS) ; do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111 done; \
9112 echo "Doing install-info in findutils" ; \
9113 (cd $(HOST_SUBDIR)/findutils && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118 install-info) \
9119 || exit 1
9121 @endif findutils
9123 .PHONY: maybe-installcheck-findutils installcheck-findutils
9124 maybe-installcheck-findutils:
9125 @if findutils
9126 maybe-installcheck-findutils: installcheck-findutils
9128 installcheck-findutils: \
9129 configure-findutils
9130 @: $(MAKE); $(unstage)
9131 @[ -f ./findutils/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134 $(HOST_EXPORTS) \
9135 for flag in $(EXTRA_HOST_FLAGS) ; do \
9136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9137 done; \
9138 echo "Doing installcheck in findutils" ; \
9139 (cd $(HOST_SUBDIR)/findutils && \
9140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9142 "RANLIB=$${RANLIB}" \
9143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9144 installcheck) \
9145 || exit 1
9147 @endif findutils
9149 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9150 maybe-mostlyclean-findutils:
9151 @if findutils
9152 maybe-mostlyclean-findutils: mostlyclean-findutils
9154 mostlyclean-findutils:
9155 @: $(MAKE); $(unstage)
9156 @[ -f ./findutils/Makefile ] || exit 0; \
9157 r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 for flag in $(EXTRA_HOST_FLAGS) ; do \
9161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9162 done; \
9163 echo "Doing mostlyclean in findutils" ; \
9164 (cd $(HOST_SUBDIR)/findutils && \
9165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9167 "RANLIB=$${RANLIB}" \
9168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9169 mostlyclean) \
9170 || exit 1
9172 @endif findutils
9174 .PHONY: maybe-clean-findutils clean-findutils
9175 maybe-clean-findutils:
9176 @if findutils
9177 maybe-clean-findutils: clean-findutils
9179 clean-findutils:
9180 @: $(MAKE); $(unstage)
9181 @[ -f ./findutils/Makefile ] || exit 0; \
9182 r=`${PWD_COMMAND}`; export r; \
9183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9184 $(HOST_EXPORTS) \
9185 for flag in $(EXTRA_HOST_FLAGS) ; do \
9186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9187 done; \
9188 echo "Doing clean in findutils" ; \
9189 (cd $(HOST_SUBDIR)/findutils && \
9190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9192 "RANLIB=$${RANLIB}" \
9193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9194 clean) \
9195 || exit 1
9197 @endif findutils
9199 .PHONY: maybe-distclean-findutils distclean-findutils
9200 maybe-distclean-findutils:
9201 @if findutils
9202 maybe-distclean-findutils: distclean-findutils
9204 distclean-findutils:
9205 @: $(MAKE); $(unstage)
9206 @[ -f ./findutils/Makefile ] || exit 0; \
9207 r=`${PWD_COMMAND}`; export r; \
9208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9209 $(HOST_EXPORTS) \
9210 for flag in $(EXTRA_HOST_FLAGS) ; do \
9211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9212 done; \
9213 echo "Doing distclean in findutils" ; \
9214 (cd $(HOST_SUBDIR)/findutils && \
9215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9217 "RANLIB=$${RANLIB}" \
9218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9219 distclean) \
9220 || exit 1
9222 @endif findutils
9224 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9225 maybe-maintainer-clean-findutils:
9226 @if findutils
9227 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9229 maintainer-clean-findutils:
9230 @: $(MAKE); $(unstage)
9231 @[ -f ./findutils/Makefile ] || exit 0; \
9232 r=`${PWD_COMMAND}`; export r; \
9233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9234 $(HOST_EXPORTS) \
9235 for flag in $(EXTRA_HOST_FLAGS) ; do \
9236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9237 done; \
9238 echo "Doing maintainer-clean in findutils" ; \
9239 (cd $(HOST_SUBDIR)/findutils && \
9240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9242 "RANLIB=$${RANLIB}" \
9243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9244 maintainer-clean) \
9245 || exit 1
9247 @endif findutils
9251 .PHONY: configure-find maybe-configure-find
9252 maybe-configure-find:
9253 @if find
9254 maybe-configure-find: configure-find
9255 configure-find:
9256 @: $(MAKE); $(unstage)
9257 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9259 r=`${PWD_COMMAND}`; export r; \
9260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9261 $(HOST_EXPORTS) \
9262 echo Configuring in $(HOST_SUBDIR)/find; \
9263 cd "$(HOST_SUBDIR)/find" || exit 1; \
9264 case $(srcdir) in \
9265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9266 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9268 esac; \
9269 srcdiroption="--srcdir=$${topdir}/find"; \
9270 libsrcdir="$$s/find"; \
9271 $(SHELL) $${libsrcdir}/configure \
9272 $(HOST_CONFIGARGS) $${srcdiroption} \
9273 || exit 1
9274 @endif find
9280 .PHONY: all-find maybe-all-find
9281 maybe-all-find:
9282 @if find
9283 TARGET-find=all
9284 maybe-all-find: all-find
9285 all-find: configure-find
9286 @: $(MAKE); $(unstage)
9287 @r=`${PWD_COMMAND}`; export r; \
9288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9289 $(HOST_EXPORTS) \
9290 (cd $(HOST_SUBDIR)/find && \
9291 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9292 @endif find
9297 .PHONY: check-find maybe-check-find
9298 maybe-check-find:
9299 @if find
9300 maybe-check-find: check-find
9302 check-find:
9303 @: $(MAKE); $(unstage)
9304 @r=`${PWD_COMMAND}`; export r; \
9305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9306 $(HOST_EXPORTS) \
9307 (cd $(HOST_SUBDIR)/find && \
9308 $(MAKE) $(FLAGS_TO_PASS) check)
9310 @endif find
9312 .PHONY: install-find maybe-install-find
9313 maybe-install-find:
9314 @if find
9315 maybe-install-find: install-find
9317 install-find: installdirs
9318 @: $(MAKE); $(unstage)
9319 @r=`${PWD_COMMAND}`; export r; \
9320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 $(HOST_EXPORTS) \
9322 (cd $(HOST_SUBDIR)/find && \
9323 $(MAKE) $(FLAGS_TO_PASS) install)
9325 @endif find
9327 # Other targets (info, dvi, etc.)
9329 .PHONY: maybe-info-find info-find
9330 maybe-info-find:
9331 @if find
9332 maybe-info-find: info-find
9334 info-find: \
9335 configure-find
9336 @: $(MAKE); $(unstage)
9337 @[ -f ./find/Makefile ] || exit 0; \
9338 r=`${PWD_COMMAND}`; export r; \
9339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9340 $(HOST_EXPORTS) \
9341 for flag in $(EXTRA_HOST_FLAGS) ; do \
9342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9343 done; \
9344 echo "Doing info in find" ; \
9345 (cd $(HOST_SUBDIR)/find && \
9346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9348 "RANLIB=$${RANLIB}" \
9349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9350 info) \
9351 || exit 1
9353 @endif find
9355 .PHONY: maybe-dvi-find dvi-find
9356 maybe-dvi-find:
9357 @if find
9358 maybe-dvi-find: dvi-find
9360 dvi-find: \
9361 configure-find
9362 @: $(MAKE); $(unstage)
9363 @[ -f ./find/Makefile ] || exit 0; \
9364 r=`${PWD_COMMAND}`; export r; \
9365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9366 $(HOST_EXPORTS) \
9367 for flag in $(EXTRA_HOST_FLAGS) ; do \
9368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9369 done; \
9370 echo "Doing dvi in find" ; \
9371 (cd $(HOST_SUBDIR)/find && \
9372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9374 "RANLIB=$${RANLIB}" \
9375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9376 dvi) \
9377 || exit 1
9379 @endif find
9381 .PHONY: maybe-html-find html-find
9382 maybe-html-find:
9383 @if find
9384 maybe-html-find: html-find
9386 html-find: \
9387 configure-find
9388 @: $(MAKE); $(unstage)
9389 @[ -f ./find/Makefile ] || exit 0; \
9390 r=`${PWD_COMMAND}`; export r; \
9391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9392 $(HOST_EXPORTS) \
9393 for flag in $(EXTRA_HOST_FLAGS) ; do \
9394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9395 done; \
9396 echo "Doing html in find" ; \
9397 (cd $(HOST_SUBDIR)/find && \
9398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9400 "RANLIB=$${RANLIB}" \
9401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9402 html) \
9403 || exit 1
9405 @endif find
9407 .PHONY: maybe-TAGS-find TAGS-find
9408 maybe-TAGS-find:
9409 @if find
9410 maybe-TAGS-find: TAGS-find
9412 TAGS-find: \
9413 configure-find
9414 @: $(MAKE); $(unstage)
9415 @[ -f ./find/Makefile ] || exit 0; \
9416 r=`${PWD_COMMAND}`; export r; \
9417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9418 $(HOST_EXPORTS) \
9419 for flag in $(EXTRA_HOST_FLAGS) ; do \
9420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9421 done; \
9422 echo "Doing TAGS in find" ; \
9423 (cd $(HOST_SUBDIR)/find && \
9424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9426 "RANLIB=$${RANLIB}" \
9427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9428 TAGS) \
9429 || exit 1
9431 @endif find
9433 .PHONY: maybe-install-info-find install-info-find
9434 maybe-install-info-find:
9435 @if find
9436 maybe-install-info-find: install-info-find
9438 install-info-find: \
9439 configure-find \
9440 info-find
9441 @: $(MAKE); $(unstage)
9442 @[ -f ./find/Makefile ] || exit 0; \
9443 r=`${PWD_COMMAND}`; export r; \
9444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9445 $(HOST_EXPORTS) \
9446 for flag in $(EXTRA_HOST_FLAGS) ; do \
9447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9448 done; \
9449 echo "Doing install-info in find" ; \
9450 (cd $(HOST_SUBDIR)/find && \
9451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9453 "RANLIB=$${RANLIB}" \
9454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9455 install-info) \
9456 || exit 1
9458 @endif find
9460 .PHONY: maybe-installcheck-find installcheck-find
9461 maybe-installcheck-find:
9462 @if find
9463 maybe-installcheck-find: installcheck-find
9465 installcheck-find: \
9466 configure-find
9467 @: $(MAKE); $(unstage)
9468 @[ -f ./find/Makefile ] || exit 0; \
9469 r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 $(HOST_EXPORTS) \
9472 for flag in $(EXTRA_HOST_FLAGS) ; do \
9473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9474 done; \
9475 echo "Doing installcheck in find" ; \
9476 (cd $(HOST_SUBDIR)/find && \
9477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9479 "RANLIB=$${RANLIB}" \
9480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9481 installcheck) \
9482 || exit 1
9484 @endif find
9486 .PHONY: maybe-mostlyclean-find mostlyclean-find
9487 maybe-mostlyclean-find:
9488 @if find
9489 maybe-mostlyclean-find: mostlyclean-find
9491 mostlyclean-find:
9492 @: $(MAKE); $(unstage)
9493 @[ -f ./find/Makefile ] || exit 0; \
9494 r=`${PWD_COMMAND}`; export r; \
9495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9496 $(HOST_EXPORTS) \
9497 for flag in $(EXTRA_HOST_FLAGS) ; do \
9498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9499 done; \
9500 echo "Doing mostlyclean in find" ; \
9501 (cd $(HOST_SUBDIR)/find && \
9502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9504 "RANLIB=$${RANLIB}" \
9505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9506 mostlyclean) \
9507 || exit 1
9509 @endif find
9511 .PHONY: maybe-clean-find clean-find
9512 maybe-clean-find:
9513 @if find
9514 maybe-clean-find: clean-find
9516 clean-find:
9517 @: $(MAKE); $(unstage)
9518 @[ -f ./find/Makefile ] || exit 0; \
9519 r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9521 $(HOST_EXPORTS) \
9522 for flag in $(EXTRA_HOST_FLAGS) ; do \
9523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9524 done; \
9525 echo "Doing clean in find" ; \
9526 (cd $(HOST_SUBDIR)/find && \
9527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9529 "RANLIB=$${RANLIB}" \
9530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9531 clean) \
9532 || exit 1
9534 @endif find
9536 .PHONY: maybe-distclean-find distclean-find
9537 maybe-distclean-find:
9538 @if find
9539 maybe-distclean-find: distclean-find
9541 distclean-find:
9542 @: $(MAKE); $(unstage)
9543 @[ -f ./find/Makefile ] || exit 0; \
9544 r=`${PWD_COMMAND}`; export r; \
9545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9546 $(HOST_EXPORTS) \
9547 for flag in $(EXTRA_HOST_FLAGS) ; do \
9548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9549 done; \
9550 echo "Doing distclean in find" ; \
9551 (cd $(HOST_SUBDIR)/find && \
9552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9554 "RANLIB=$${RANLIB}" \
9555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9556 distclean) \
9557 || exit 1
9559 @endif find
9561 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9562 maybe-maintainer-clean-find:
9563 @if find
9564 maybe-maintainer-clean-find: maintainer-clean-find
9566 maintainer-clean-find:
9567 @: $(MAKE); $(unstage)
9568 @[ -f ./find/Makefile ] || exit 0; \
9569 r=`${PWD_COMMAND}`; export r; \
9570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9571 $(HOST_EXPORTS) \
9572 for flag in $(EXTRA_HOST_FLAGS) ; do \
9573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9574 done; \
9575 echo "Doing maintainer-clean in find" ; \
9576 (cd $(HOST_SUBDIR)/find && \
9577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9579 "RANLIB=$${RANLIB}" \
9580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9581 maintainer-clean) \
9582 || exit 1
9584 @endif find
9588 .PHONY: configure-fixincludes maybe-configure-fixincludes
9589 maybe-configure-fixincludes:
9590 @if fixincludes
9591 maybe-configure-fixincludes: configure-fixincludes
9592 configure-fixincludes:
9593 @: $(MAKE); $(unstage)
9594 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9596 r=`${PWD_COMMAND}`; export r; \
9597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9598 $(HOST_EXPORTS) \
9599 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9600 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9601 case $(srcdir) in \
9602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9603 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9605 esac; \
9606 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9607 libsrcdir="$$s/fixincludes"; \
9608 $(SHELL) $${libsrcdir}/configure \
9609 $(HOST_CONFIGARGS) $${srcdiroption} \
9610 || exit 1
9611 @endif fixincludes
9617 .PHONY: all-fixincludes maybe-all-fixincludes
9618 maybe-all-fixincludes:
9619 @if fixincludes
9620 TARGET-fixincludes=all
9621 maybe-all-fixincludes: all-fixincludes
9622 all-fixincludes: configure-fixincludes
9623 @: $(MAKE); $(unstage)
9624 @r=`${PWD_COMMAND}`; export r; \
9625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9626 $(HOST_EXPORTS) \
9627 (cd $(HOST_SUBDIR)/fixincludes && \
9628 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9629 @endif fixincludes
9634 .PHONY: check-fixincludes maybe-check-fixincludes
9635 maybe-check-fixincludes:
9636 @if fixincludes
9637 maybe-check-fixincludes: check-fixincludes
9639 check-fixincludes:
9640 @: $(MAKE); $(unstage)
9641 @r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 $(HOST_EXPORTS) \
9644 (cd $(HOST_SUBDIR)/fixincludes && \
9645 $(MAKE) $(FLAGS_TO_PASS) check)
9647 @endif fixincludes
9649 .PHONY: install-fixincludes maybe-install-fixincludes
9650 maybe-install-fixincludes:
9651 @if fixincludes
9652 maybe-install-fixincludes: install-fixincludes
9654 install-fixincludes: installdirs
9655 @: $(MAKE); $(unstage)
9656 @r=`${PWD_COMMAND}`; export r; \
9657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9658 $(HOST_EXPORTS) \
9659 (cd $(HOST_SUBDIR)/fixincludes && \
9660 $(MAKE) $(FLAGS_TO_PASS) install)
9662 @endif fixincludes
9664 # Other targets (info, dvi, etc.)
9666 .PHONY: maybe-info-fixincludes info-fixincludes
9667 maybe-info-fixincludes:
9668 @if fixincludes
9669 maybe-info-fixincludes: info-fixincludes
9671 # fixincludes doesn't support info.
9672 info-fixincludes:
9674 @endif fixincludes
9676 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9677 maybe-dvi-fixincludes:
9678 @if fixincludes
9679 maybe-dvi-fixincludes: dvi-fixincludes
9681 # fixincludes doesn't support dvi.
9682 dvi-fixincludes:
9684 @endif fixincludes
9686 .PHONY: maybe-html-fixincludes html-fixincludes
9687 maybe-html-fixincludes:
9688 @if fixincludes
9689 maybe-html-fixincludes: html-fixincludes
9691 html-fixincludes: \
9692 configure-fixincludes
9693 @: $(MAKE); $(unstage)
9694 @[ -f ./fixincludes/Makefile ] || exit 0; \
9695 r=`${PWD_COMMAND}`; export r; \
9696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9697 $(HOST_EXPORTS) \
9698 for flag in $(EXTRA_HOST_FLAGS) ; do \
9699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9700 done; \
9701 echo "Doing html in fixincludes" ; \
9702 (cd $(HOST_SUBDIR)/fixincludes && \
9703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9705 "RANLIB=$${RANLIB}" \
9706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9707 html) \
9708 || exit 1
9710 @endif fixincludes
9712 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9713 maybe-TAGS-fixincludes:
9714 @if fixincludes
9715 maybe-TAGS-fixincludes: TAGS-fixincludes
9717 # fixincludes doesn't support TAGS.
9718 TAGS-fixincludes:
9720 @endif fixincludes
9722 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9723 maybe-install-info-fixincludes:
9724 @if fixincludes
9725 maybe-install-info-fixincludes: install-info-fixincludes
9727 # fixincludes doesn't support install-info.
9728 install-info-fixincludes:
9730 @endif fixincludes
9732 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9733 maybe-installcheck-fixincludes:
9734 @if fixincludes
9735 maybe-installcheck-fixincludes: installcheck-fixincludes
9737 # fixincludes doesn't support installcheck.
9738 installcheck-fixincludes:
9740 @endif fixincludes
9742 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9743 maybe-mostlyclean-fixincludes:
9744 @if fixincludes
9745 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9747 mostlyclean-fixincludes:
9748 @: $(MAKE); $(unstage)
9749 @[ -f ./fixincludes/Makefile ] || exit 0; \
9750 r=`${PWD_COMMAND}`; export r; \
9751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752 $(HOST_EXPORTS) \
9753 for flag in $(EXTRA_HOST_FLAGS) ; do \
9754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9755 done; \
9756 echo "Doing mostlyclean in fixincludes" ; \
9757 (cd $(HOST_SUBDIR)/fixincludes && \
9758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9760 "RANLIB=$${RANLIB}" \
9761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9762 mostlyclean) \
9763 || exit 1
9765 @endif fixincludes
9767 .PHONY: maybe-clean-fixincludes clean-fixincludes
9768 maybe-clean-fixincludes:
9769 @if fixincludes
9770 maybe-clean-fixincludes: clean-fixincludes
9772 clean-fixincludes:
9773 @: $(MAKE); $(unstage)
9774 @[ -f ./fixincludes/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 $(HOST_EXPORTS) \
9778 for flag in $(EXTRA_HOST_FLAGS) ; do \
9779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780 done; \
9781 echo "Doing clean in fixincludes" ; \
9782 (cd $(HOST_SUBDIR)/fixincludes && \
9783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785 "RANLIB=$${RANLIB}" \
9786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9787 clean) \
9788 || exit 1
9790 @endif fixincludes
9792 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9793 maybe-distclean-fixincludes:
9794 @if fixincludes
9795 maybe-distclean-fixincludes: distclean-fixincludes
9797 distclean-fixincludes:
9798 @: $(MAKE); $(unstage)
9799 @[ -f ./fixincludes/Makefile ] || exit 0; \
9800 r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 $(HOST_EXPORTS) \
9803 for flag in $(EXTRA_HOST_FLAGS) ; do \
9804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9805 done; \
9806 echo "Doing distclean in fixincludes" ; \
9807 (cd $(HOST_SUBDIR)/fixincludes && \
9808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9810 "RANLIB=$${RANLIB}" \
9811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9812 distclean) \
9813 || exit 1
9815 @endif fixincludes
9817 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9818 maybe-maintainer-clean-fixincludes:
9819 @if fixincludes
9820 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9822 maintainer-clean-fixincludes:
9823 @: $(MAKE); $(unstage)
9824 @[ -f ./fixincludes/Makefile ] || exit 0; \
9825 r=`${PWD_COMMAND}`; export r; \
9826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9827 $(HOST_EXPORTS) \
9828 for flag in $(EXTRA_HOST_FLAGS) ; do \
9829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9830 done; \
9831 echo "Doing maintainer-clean in fixincludes" ; \
9832 (cd $(HOST_SUBDIR)/fixincludes && \
9833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9835 "RANLIB=$${RANLIB}" \
9836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9837 maintainer-clean) \
9838 || exit 1
9840 @endif fixincludes
9844 .PHONY: configure-flex maybe-configure-flex
9845 maybe-configure-flex:
9846 @if flex
9847 maybe-configure-flex: configure-flex
9848 configure-flex:
9849 @: $(MAKE); $(unstage)
9850 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9852 r=`${PWD_COMMAND}`; export r; \
9853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 $(HOST_EXPORTS) \
9855 echo Configuring in $(HOST_SUBDIR)/flex; \
9856 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9857 case $(srcdir) in \
9858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9859 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9861 esac; \
9862 srcdiroption="--srcdir=$${topdir}/flex"; \
9863 libsrcdir="$$s/flex"; \
9864 $(SHELL) $${libsrcdir}/configure \
9865 $(HOST_CONFIGARGS) $${srcdiroption} \
9866 || exit 1
9867 @endif flex
9873 .PHONY: all-flex maybe-all-flex
9874 maybe-all-flex:
9875 @if flex
9876 TARGET-flex=all
9877 maybe-all-flex: all-flex
9878 all-flex: configure-flex
9879 @: $(MAKE); $(unstage)
9880 @r=`${PWD_COMMAND}`; export r; \
9881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9882 $(HOST_EXPORTS) \
9883 (cd $(HOST_SUBDIR)/flex && \
9884 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9885 @endif flex
9890 .PHONY: check-flex maybe-check-flex
9891 maybe-check-flex:
9892 @if flex
9893 maybe-check-flex: check-flex
9895 # This module is only tested in a native toolchain.
9896 check-flex:
9897 @: $(MAKE); $(unstage)
9898 @if [ '$(host)' = '$(target)' ] ; then \
9899 r=`${PWD_COMMAND}`; export r; \
9900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9901 $(HOST_EXPORTS) \
9902 (cd $(HOST_SUBDIR)/flex && \
9903 $(MAKE) $(FLAGS_TO_PASS) check); \
9906 @endif flex
9908 .PHONY: install-flex maybe-install-flex
9909 maybe-install-flex:
9910 @if flex
9911 maybe-install-flex: install-flex
9913 install-flex: installdirs
9914 @: $(MAKE); $(unstage)
9915 @r=`${PWD_COMMAND}`; export r; \
9916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9917 $(HOST_EXPORTS) \
9918 (cd $(HOST_SUBDIR)/flex && \
9919 $(MAKE) $(FLAGS_TO_PASS) install)
9921 @endif flex
9923 # Other targets (info, dvi, etc.)
9925 .PHONY: maybe-info-flex info-flex
9926 maybe-info-flex:
9927 @if flex
9928 maybe-info-flex: info-flex
9930 info-flex: \
9931 configure-flex
9932 @: $(MAKE); $(unstage)
9933 @[ -f ./flex/Makefile ] || exit 0; \
9934 r=`${PWD_COMMAND}`; export r; \
9935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9936 $(HOST_EXPORTS) \
9937 for flag in $(EXTRA_HOST_FLAGS) ; do \
9938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9939 done; \
9940 echo "Doing info in flex" ; \
9941 (cd $(HOST_SUBDIR)/flex && \
9942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9944 "RANLIB=$${RANLIB}" \
9945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9946 info) \
9947 || exit 1
9949 @endif flex
9951 .PHONY: maybe-dvi-flex dvi-flex
9952 maybe-dvi-flex:
9953 @if flex
9954 maybe-dvi-flex: dvi-flex
9956 dvi-flex: \
9957 configure-flex
9958 @: $(MAKE); $(unstage)
9959 @[ -f ./flex/Makefile ] || exit 0; \
9960 r=`${PWD_COMMAND}`; export r; \
9961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9962 $(HOST_EXPORTS) \
9963 for flag in $(EXTRA_HOST_FLAGS) ; do \
9964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9965 done; \
9966 echo "Doing dvi in flex" ; \
9967 (cd $(HOST_SUBDIR)/flex && \
9968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9970 "RANLIB=$${RANLIB}" \
9971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9972 dvi) \
9973 || exit 1
9975 @endif flex
9977 .PHONY: maybe-html-flex html-flex
9978 maybe-html-flex:
9979 @if flex
9980 maybe-html-flex: html-flex
9982 html-flex: \
9983 configure-flex
9984 @: $(MAKE); $(unstage)
9985 @[ -f ./flex/Makefile ] || exit 0; \
9986 r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 $(HOST_EXPORTS) \
9989 for flag in $(EXTRA_HOST_FLAGS) ; do \
9990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9991 done; \
9992 echo "Doing html in flex" ; \
9993 (cd $(HOST_SUBDIR)/flex && \
9994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9996 "RANLIB=$${RANLIB}" \
9997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9998 html) \
9999 || exit 1
10001 @endif flex
10003 .PHONY: maybe-TAGS-flex TAGS-flex
10004 maybe-TAGS-flex:
10005 @if flex
10006 maybe-TAGS-flex: TAGS-flex
10008 TAGS-flex: \
10009 configure-flex
10010 @: $(MAKE); $(unstage)
10011 @[ -f ./flex/Makefile ] || exit 0; \
10012 r=`${PWD_COMMAND}`; export r; \
10013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10014 $(HOST_EXPORTS) \
10015 for flag in $(EXTRA_HOST_FLAGS) ; do \
10016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10017 done; \
10018 echo "Doing TAGS in flex" ; \
10019 (cd $(HOST_SUBDIR)/flex && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 TAGS) \
10025 || exit 1
10027 @endif flex
10029 .PHONY: maybe-install-info-flex install-info-flex
10030 maybe-install-info-flex:
10031 @if flex
10032 maybe-install-info-flex: install-info-flex
10034 install-info-flex: \
10035 configure-flex \
10036 info-flex
10037 @: $(MAKE); $(unstage)
10038 @[ -f ./flex/Makefile ] || exit 0; \
10039 r=`${PWD_COMMAND}`; export r; \
10040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10041 $(HOST_EXPORTS) \
10042 for flag in $(EXTRA_HOST_FLAGS) ; do \
10043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10044 done; \
10045 echo "Doing install-info in flex" ; \
10046 (cd $(HOST_SUBDIR)/flex && \
10047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10049 "RANLIB=$${RANLIB}" \
10050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10051 install-info) \
10052 || exit 1
10054 @endif flex
10056 .PHONY: maybe-installcheck-flex installcheck-flex
10057 maybe-installcheck-flex:
10058 @if flex
10059 maybe-installcheck-flex: installcheck-flex
10061 installcheck-flex: \
10062 configure-flex
10063 @: $(MAKE); $(unstage)
10064 @[ -f ./flex/Makefile ] || exit 0; \
10065 r=`${PWD_COMMAND}`; export r; \
10066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10067 $(HOST_EXPORTS) \
10068 for flag in $(EXTRA_HOST_FLAGS) ; do \
10069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10070 done; \
10071 echo "Doing installcheck in flex" ; \
10072 (cd $(HOST_SUBDIR)/flex && \
10073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10075 "RANLIB=$${RANLIB}" \
10076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10077 installcheck) \
10078 || exit 1
10080 @endif flex
10082 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10083 maybe-mostlyclean-flex:
10084 @if flex
10085 maybe-mostlyclean-flex: mostlyclean-flex
10087 mostlyclean-flex:
10088 @: $(MAKE); $(unstage)
10089 @[ -f ./flex/Makefile ] || exit 0; \
10090 r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(HOST_EXPORTS) \
10093 for flag in $(EXTRA_HOST_FLAGS) ; do \
10094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10095 done; \
10096 echo "Doing mostlyclean in flex" ; \
10097 (cd $(HOST_SUBDIR)/flex && \
10098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10100 "RANLIB=$${RANLIB}" \
10101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10102 mostlyclean) \
10103 || exit 1
10105 @endif flex
10107 .PHONY: maybe-clean-flex clean-flex
10108 maybe-clean-flex:
10109 @if flex
10110 maybe-clean-flex: clean-flex
10112 clean-flex:
10113 @: $(MAKE); $(unstage)
10114 @[ -f ./flex/Makefile ] || exit 0; \
10115 r=`${PWD_COMMAND}`; export r; \
10116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10117 $(HOST_EXPORTS) \
10118 for flag in $(EXTRA_HOST_FLAGS) ; do \
10119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10120 done; \
10121 echo "Doing clean in flex" ; \
10122 (cd $(HOST_SUBDIR)/flex && \
10123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10125 "RANLIB=$${RANLIB}" \
10126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10127 clean) \
10128 || exit 1
10130 @endif flex
10132 .PHONY: maybe-distclean-flex distclean-flex
10133 maybe-distclean-flex:
10134 @if flex
10135 maybe-distclean-flex: distclean-flex
10137 distclean-flex:
10138 @: $(MAKE); $(unstage)
10139 @[ -f ./flex/Makefile ] || exit 0; \
10140 r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 $(HOST_EXPORTS) \
10143 for flag in $(EXTRA_HOST_FLAGS) ; do \
10144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10145 done; \
10146 echo "Doing distclean in flex" ; \
10147 (cd $(HOST_SUBDIR)/flex && \
10148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10150 "RANLIB=$${RANLIB}" \
10151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10152 distclean) \
10153 || exit 1
10155 @endif flex
10157 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10158 maybe-maintainer-clean-flex:
10159 @if flex
10160 maybe-maintainer-clean-flex: maintainer-clean-flex
10162 maintainer-clean-flex:
10163 @: $(MAKE); $(unstage)
10164 @[ -f ./flex/Makefile ] || exit 0; \
10165 r=`${PWD_COMMAND}`; export r; \
10166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10167 $(HOST_EXPORTS) \
10168 for flag in $(EXTRA_HOST_FLAGS) ; do \
10169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10170 done; \
10171 echo "Doing maintainer-clean in flex" ; \
10172 (cd $(HOST_SUBDIR)/flex && \
10173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10175 "RANLIB=$${RANLIB}" \
10176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10177 maintainer-clean) \
10178 || exit 1
10180 @endif flex
10184 .PHONY: configure-gas maybe-configure-gas
10185 maybe-configure-gas:
10186 @if gas
10187 maybe-configure-gas: configure-gas
10188 configure-gas:
10189 @test -f stage_last && exit 0; \
10190 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10192 r=`${PWD_COMMAND}`; export r; \
10193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10194 $(HOST_EXPORTS) \
10195 echo Configuring in $(HOST_SUBDIR)/gas; \
10196 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10197 case $(srcdir) in \
10198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10199 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10201 esac; \
10202 srcdiroption="--srcdir=$${topdir}/gas"; \
10203 libsrcdir="$$s/gas"; \
10204 $(SHELL) $${libsrcdir}/configure \
10205 $(HOST_CONFIGARGS) $${srcdiroption} \
10206 || exit 1
10207 @endif gas
10211 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10212 maybe-configure-stage1-gas:
10213 @if gas-bootstrap
10214 maybe-configure-stage1-gas: configure-stage1-gas
10215 configure-stage1-gas:
10216 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10218 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10219 $(HOST_EXPORTS) \
10220 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10222 cd $(HOST_SUBDIR)/gas || exit 1; \
10223 case $(srcdir) in \
10224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10225 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10227 esac; \
10228 srcdiroption="--srcdir=$${topdir}/gas"; \
10229 libsrcdir="$$s/gas"; \
10230 $(SHELL) $${libsrcdir}/configure \
10231 $(HOST_CONFIGARGS) $${srcdiroption} \
10232 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10233 @endif gas-bootstrap
10235 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10236 maybe-configure-stage2-gas:
10237 @if gas-bootstrap
10238 maybe-configure-stage2-gas: configure-stage2-gas
10239 configure-stage2-gas:
10240 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10241 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10242 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10243 $(HOST_EXPORTS) \
10244 $(POSTSTAGE1_HOST_EXPORTS) \
10245 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10247 cd $(HOST_SUBDIR)/gas || exit 1; \
10248 case $(srcdir) in \
10249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10250 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10252 esac; \
10253 srcdiroption="--srcdir=$${topdir}/gas"; \
10254 libsrcdir="$$s/gas"; \
10255 $(SHELL) $${libsrcdir}/configure \
10256 $(HOST_CONFIGARGS) $${srcdiroption} \
10257 @stage2_werror_flag@
10258 @endif gas-bootstrap
10260 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10261 maybe-configure-stage3-gas:
10262 @if gas-bootstrap
10263 maybe-configure-stage3-gas: configure-stage3-gas
10264 configure-stage3-gas:
10265 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10266 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10267 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10268 $(HOST_EXPORTS) \
10269 $(POSTSTAGE1_HOST_EXPORTS) \
10270 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10272 cd $(HOST_SUBDIR)/gas || exit 1; \
10273 case $(srcdir) in \
10274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10275 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10277 esac; \
10278 srcdiroption="--srcdir=$${topdir}/gas"; \
10279 libsrcdir="$$s/gas"; \
10280 $(SHELL) $${libsrcdir}/configure \
10281 $(HOST_CONFIGARGS) $${srcdiroption} \
10282 @stage2_werror_flag@
10283 @endif gas-bootstrap
10285 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10286 maybe-configure-stage4-gas:
10287 @if gas-bootstrap
10288 maybe-configure-stage4-gas: configure-stage4-gas
10289 configure-stage4-gas:
10290 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10292 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10293 $(HOST_EXPORTS) \
10294 $(POSTSTAGE1_HOST_EXPORTS) \
10295 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10297 cd $(HOST_SUBDIR)/gas || exit 1; \
10298 case $(srcdir) in \
10299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10300 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10302 esac; \
10303 srcdiroption="--srcdir=$${topdir}/gas"; \
10304 libsrcdir="$$s/gas"; \
10305 $(SHELL) $${libsrcdir}/configure \
10306 $(HOST_CONFIGARGS) $${srcdiroption} \
10307 @stage2_werror_flag@
10308 @endif gas-bootstrap
10310 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10311 maybe-configure-stageprofile-gas:
10312 @if gas-bootstrap
10313 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10314 configure-stageprofile-gas:
10315 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10316 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10317 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10318 $(HOST_EXPORTS) \
10319 $(POSTSTAGE1_HOST_EXPORTS) \
10320 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10322 cd $(HOST_SUBDIR)/gas || exit 1; \
10323 case $(srcdir) in \
10324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10325 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10327 esac; \
10328 srcdiroption="--srcdir=$${topdir}/gas"; \
10329 libsrcdir="$$s/gas"; \
10330 $(SHELL) $${libsrcdir}/configure \
10331 $(HOST_CONFIGARGS) $${srcdiroption} \
10332 @stage2_werror_flag@
10333 @endif gas-bootstrap
10335 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10336 maybe-configure-stagefeedback-gas:
10337 @if gas-bootstrap
10338 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10339 configure-stagefeedback-gas:
10340 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10342 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10343 $(HOST_EXPORTS) \
10344 $(POSTSTAGE1_HOST_EXPORTS) \
10345 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10346 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10347 cd $(HOST_SUBDIR)/gas || exit 1; \
10348 case $(srcdir) in \
10349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10350 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10352 esac; \
10353 srcdiroption="--srcdir=$${topdir}/gas"; \
10354 libsrcdir="$$s/gas"; \
10355 $(SHELL) $${libsrcdir}/configure \
10356 $(HOST_CONFIGARGS) $${srcdiroption} \
10357 @stage2_werror_flag@
10358 @endif gas-bootstrap
10364 .PHONY: all-gas maybe-all-gas
10365 maybe-all-gas:
10366 @if gas
10367 TARGET-gas=all
10368 maybe-all-gas: all-gas
10369 all-gas: configure-gas
10370 @test -f stage_last && exit 0; \
10371 r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 $(HOST_EXPORTS) \
10374 (cd $(HOST_SUBDIR)/gas && \
10375 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10376 @endif gas
10380 .PHONY: all-stage1-gas maybe-all-stage1-gas
10381 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10382 maybe-all-stage1-gas:
10383 maybe-clean-stage1-gas:
10384 @if gas-bootstrap
10385 maybe-all-stage1-gas: all-stage1-gas
10386 all-stage1: all-stage1-gas
10387 TARGET-stage1-gas = $(TARGET-gas)
10388 all-stage1-gas: configure-stage1-gas
10389 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10390 @r=`${PWD_COMMAND}`; export r; \
10391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10392 $(HOST_EXPORTS) \
10393 cd $(HOST_SUBDIR)/gas && \
10394 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10395 $(TARGET-stage1-gas)
10397 maybe-clean-stage1-gas: clean-stage1-gas
10398 clean-stage1: clean-stage1-gas
10399 clean-stage1-gas:
10400 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10401 || exit 0 ; \
10402 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10403 cd $(HOST_SUBDIR)/gas && \
10404 $(MAKE) $(FLAGS_TO_PASS) \
10405 CFLAGS="$(STAGE1_CFLAGS)" clean
10406 @endif gas-bootstrap
10409 .PHONY: all-stage2-gas maybe-all-stage2-gas
10410 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10411 maybe-all-stage2-gas:
10412 maybe-clean-stage2-gas:
10413 @if gas-bootstrap
10414 maybe-all-stage2-gas: all-stage2-gas
10415 all-stage2: all-stage2-gas
10416 TARGET-stage2-gas = $(TARGET-gas)
10417 all-stage2-gas: configure-stage2-gas
10418 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10419 @r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 $(HOST_EXPORTS) \
10422 $(POSTSTAGE1_HOST_EXPORTS) \
10423 cd $(HOST_SUBDIR)/gas && \
10424 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10425 $(TARGET-stage2-gas)
10427 maybe-clean-stage2-gas: clean-stage2-gas
10428 clean-stage2: clean-stage2-gas
10429 clean-stage2-gas:
10430 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10431 || exit 0 ; \
10432 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10433 cd $(HOST_SUBDIR)/gas && \
10434 $(MAKE) $(FLAGS_TO_PASS) \
10435 $(POSTSTAGE1_FLAGS_TO_PASS) \
10436 clean
10437 @endif gas-bootstrap
10440 .PHONY: all-stage3-gas maybe-all-stage3-gas
10441 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10442 maybe-all-stage3-gas:
10443 maybe-clean-stage3-gas:
10444 @if gas-bootstrap
10445 maybe-all-stage3-gas: all-stage3-gas
10446 all-stage3: all-stage3-gas
10447 TARGET-stage3-gas = $(TARGET-gas)
10448 all-stage3-gas: configure-stage3-gas
10449 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10450 @r=`${PWD_COMMAND}`; export r; \
10451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10452 $(HOST_EXPORTS) \
10453 $(POSTSTAGE1_HOST_EXPORTS) \
10454 cd $(HOST_SUBDIR)/gas && \
10455 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10456 $(TARGET-stage3-gas)
10458 maybe-clean-stage3-gas: clean-stage3-gas
10459 clean-stage3: clean-stage3-gas
10460 clean-stage3-gas:
10461 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10462 || exit 0 ; \
10463 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10464 cd $(HOST_SUBDIR)/gas && \
10465 $(MAKE) $(FLAGS_TO_PASS) \
10466 $(POSTSTAGE1_FLAGS_TO_PASS) \
10467 clean
10468 @endif gas-bootstrap
10471 .PHONY: all-stage4-gas maybe-all-stage4-gas
10472 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10473 maybe-all-stage4-gas:
10474 maybe-clean-stage4-gas:
10475 @if gas-bootstrap
10476 maybe-all-stage4-gas: all-stage4-gas
10477 all-stage4: all-stage4-gas
10478 TARGET-stage4-gas = $(TARGET-gas)
10479 all-stage4-gas: configure-stage4-gas
10480 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10481 @r=`${PWD_COMMAND}`; export r; \
10482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10483 $(HOST_EXPORTS) \
10484 $(POSTSTAGE1_HOST_EXPORTS) \
10485 cd $(HOST_SUBDIR)/gas && \
10486 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10487 $(TARGET-stage4-gas)
10489 maybe-clean-stage4-gas: clean-stage4-gas
10490 clean-stage4: clean-stage4-gas
10491 clean-stage4-gas:
10492 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10493 || exit 0 ; \
10494 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10495 cd $(HOST_SUBDIR)/gas && \
10496 $(MAKE) $(FLAGS_TO_PASS) \
10497 $(POSTSTAGE1_FLAGS_TO_PASS) \
10498 clean
10499 @endif gas-bootstrap
10502 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10503 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10504 maybe-all-stageprofile-gas:
10505 maybe-clean-stageprofile-gas:
10506 @if gas-bootstrap
10507 maybe-all-stageprofile-gas: all-stageprofile-gas
10508 all-stageprofile: all-stageprofile-gas
10509 TARGET-stageprofile-gas = $(TARGET-gas)
10510 all-stageprofile-gas: configure-stageprofile-gas
10511 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10512 @r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 $(HOST_EXPORTS) \
10515 $(POSTSTAGE1_HOST_EXPORTS) \
10516 cd $(HOST_SUBDIR)/gas && \
10517 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10518 $(TARGET-stageprofile-gas)
10520 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10521 clean-stageprofile: clean-stageprofile-gas
10522 clean-stageprofile-gas:
10523 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10524 || exit 0 ; \
10525 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10526 cd $(HOST_SUBDIR)/gas && \
10527 $(MAKE) $(FLAGS_TO_PASS) \
10528 $(POSTSTAGE1_FLAGS_TO_PASS) \
10529 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10530 @endif gas-bootstrap
10533 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10534 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10535 maybe-all-stagefeedback-gas:
10536 maybe-clean-stagefeedback-gas:
10537 @if gas-bootstrap
10538 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10539 all-stagefeedback: all-stagefeedback-gas
10540 TARGET-stagefeedback-gas = $(TARGET-gas)
10541 all-stagefeedback-gas: configure-stagefeedback-gas
10542 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10543 @r=`${PWD_COMMAND}`; export r; \
10544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10545 $(HOST_EXPORTS) \
10546 $(POSTSTAGE1_HOST_EXPORTS) \
10547 cd $(HOST_SUBDIR)/gas && \
10548 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10549 $(TARGET-stagefeedback-gas)
10551 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10552 clean-stagefeedback: clean-stagefeedback-gas
10553 clean-stagefeedback-gas:
10554 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10555 || exit 0 ; \
10556 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10557 cd $(HOST_SUBDIR)/gas && \
10558 $(MAKE) $(FLAGS_TO_PASS) \
10559 $(POSTSTAGE1_FLAGS_TO_PASS) \
10560 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10561 @endif gas-bootstrap
10567 .PHONY: check-gas maybe-check-gas
10568 maybe-check-gas:
10569 @if gas
10570 maybe-check-gas: check-gas
10572 check-gas:
10573 @: $(MAKE); $(unstage)
10574 @r=`${PWD_COMMAND}`; export r; \
10575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576 $(HOST_EXPORTS) \
10577 (cd $(HOST_SUBDIR)/gas && \
10578 $(MAKE) $(FLAGS_TO_PASS) check)
10580 @endif gas
10582 .PHONY: install-gas maybe-install-gas
10583 maybe-install-gas:
10584 @if gas
10585 maybe-install-gas: install-gas
10587 install-gas: installdirs
10588 @: $(MAKE); $(unstage)
10589 @r=`${PWD_COMMAND}`; export r; \
10590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10591 $(HOST_EXPORTS) \
10592 (cd $(HOST_SUBDIR)/gas && \
10593 $(MAKE) $(FLAGS_TO_PASS) install)
10595 @endif gas
10597 # Other targets (info, dvi, etc.)
10599 .PHONY: maybe-info-gas info-gas
10600 maybe-info-gas:
10601 @if gas
10602 maybe-info-gas: info-gas
10604 info-gas: \
10605 configure-gas
10606 @[ -f ./gas/Makefile ] || exit 0; \
10607 r=`${PWD_COMMAND}`; export r; \
10608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10609 $(HOST_EXPORTS) \
10610 for flag in $(EXTRA_HOST_FLAGS) ; do \
10611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10612 done; \
10613 echo "Doing info in gas" ; \
10614 (cd $(HOST_SUBDIR)/gas && \
10615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10617 "RANLIB=$${RANLIB}" \
10618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10619 info) \
10620 || exit 1
10622 @endif gas
10624 .PHONY: maybe-dvi-gas dvi-gas
10625 maybe-dvi-gas:
10626 @if gas
10627 maybe-dvi-gas: dvi-gas
10629 dvi-gas: \
10630 configure-gas
10631 @[ -f ./gas/Makefile ] || exit 0; \
10632 r=`${PWD_COMMAND}`; export r; \
10633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10634 $(HOST_EXPORTS) \
10635 for flag in $(EXTRA_HOST_FLAGS) ; do \
10636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10637 done; \
10638 echo "Doing dvi in gas" ; \
10639 (cd $(HOST_SUBDIR)/gas && \
10640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10642 "RANLIB=$${RANLIB}" \
10643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10644 dvi) \
10645 || exit 1
10647 @endif gas
10649 .PHONY: maybe-html-gas html-gas
10650 maybe-html-gas:
10651 @if gas
10652 maybe-html-gas: html-gas
10654 html-gas: \
10655 configure-gas
10656 @[ -f ./gas/Makefile ] || exit 0; \
10657 r=`${PWD_COMMAND}`; export r; \
10658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10659 $(HOST_EXPORTS) \
10660 for flag in $(EXTRA_HOST_FLAGS) ; do \
10661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10662 done; \
10663 echo "Doing html in gas" ; \
10664 (cd $(HOST_SUBDIR)/gas && \
10665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10667 "RANLIB=$${RANLIB}" \
10668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10669 html) \
10670 || exit 1
10672 @endif gas
10674 .PHONY: maybe-TAGS-gas TAGS-gas
10675 maybe-TAGS-gas:
10676 @if gas
10677 maybe-TAGS-gas: TAGS-gas
10679 TAGS-gas: \
10680 configure-gas
10681 @[ -f ./gas/Makefile ] || exit 0; \
10682 r=`${PWD_COMMAND}`; export r; \
10683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10684 $(HOST_EXPORTS) \
10685 for flag in $(EXTRA_HOST_FLAGS) ; do \
10686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10687 done; \
10688 echo "Doing TAGS in gas" ; \
10689 (cd $(HOST_SUBDIR)/gas && \
10690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10692 "RANLIB=$${RANLIB}" \
10693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10694 TAGS) \
10695 || exit 1
10697 @endif gas
10699 .PHONY: maybe-install-info-gas install-info-gas
10700 maybe-install-info-gas:
10701 @if gas
10702 maybe-install-info-gas: install-info-gas
10704 install-info-gas: \
10705 configure-gas \
10706 info-gas
10707 @[ -f ./gas/Makefile ] || exit 0; \
10708 r=`${PWD_COMMAND}`; export r; \
10709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10710 $(HOST_EXPORTS) \
10711 for flag in $(EXTRA_HOST_FLAGS) ; do \
10712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10713 done; \
10714 echo "Doing install-info in gas" ; \
10715 (cd $(HOST_SUBDIR)/gas && \
10716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10718 "RANLIB=$${RANLIB}" \
10719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10720 install-info) \
10721 || exit 1
10723 @endif gas
10725 .PHONY: maybe-installcheck-gas installcheck-gas
10726 maybe-installcheck-gas:
10727 @if gas
10728 maybe-installcheck-gas: installcheck-gas
10730 installcheck-gas: \
10731 configure-gas
10732 @[ -f ./gas/Makefile ] || exit 0; \
10733 r=`${PWD_COMMAND}`; export r; \
10734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10735 $(HOST_EXPORTS) \
10736 for flag in $(EXTRA_HOST_FLAGS) ; do \
10737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10738 done; \
10739 echo "Doing installcheck in gas" ; \
10740 (cd $(HOST_SUBDIR)/gas && \
10741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10743 "RANLIB=$${RANLIB}" \
10744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10745 installcheck) \
10746 || exit 1
10748 @endif gas
10750 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10751 maybe-mostlyclean-gas:
10752 @if gas
10753 maybe-mostlyclean-gas: mostlyclean-gas
10755 mostlyclean-gas:
10756 @[ -f ./gas/Makefile ] || exit 0; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(HOST_EXPORTS) \
10760 for flag in $(EXTRA_HOST_FLAGS) ; do \
10761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10762 done; \
10763 echo "Doing mostlyclean in gas" ; \
10764 (cd $(HOST_SUBDIR)/gas && \
10765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10767 "RANLIB=$${RANLIB}" \
10768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10769 mostlyclean) \
10770 || exit 1
10772 @endif gas
10774 .PHONY: maybe-clean-gas clean-gas
10775 maybe-clean-gas:
10776 @if gas
10777 maybe-clean-gas: clean-gas
10779 clean-gas:
10780 @[ -f ./gas/Makefile ] || exit 0; \
10781 r=`${PWD_COMMAND}`; export r; \
10782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10783 $(HOST_EXPORTS) \
10784 for flag in $(EXTRA_HOST_FLAGS) ; do \
10785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10786 done; \
10787 echo "Doing clean in gas" ; \
10788 (cd $(HOST_SUBDIR)/gas && \
10789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10791 "RANLIB=$${RANLIB}" \
10792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10793 clean) \
10794 || exit 1
10796 @endif gas
10798 .PHONY: maybe-distclean-gas distclean-gas
10799 maybe-distclean-gas:
10800 @if gas
10801 maybe-distclean-gas: distclean-gas
10803 distclean-gas:
10804 @[ -f ./gas/Makefile ] || exit 0; \
10805 r=`${PWD_COMMAND}`; export r; \
10806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10807 $(HOST_EXPORTS) \
10808 for flag in $(EXTRA_HOST_FLAGS) ; do \
10809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10810 done; \
10811 echo "Doing distclean in gas" ; \
10812 (cd $(HOST_SUBDIR)/gas && \
10813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10815 "RANLIB=$${RANLIB}" \
10816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10817 distclean) \
10818 || exit 1
10820 @endif gas
10822 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10823 maybe-maintainer-clean-gas:
10824 @if gas
10825 maybe-maintainer-clean-gas: maintainer-clean-gas
10827 maintainer-clean-gas:
10828 @[ -f ./gas/Makefile ] || exit 0; \
10829 r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 for flag in $(EXTRA_HOST_FLAGS) ; do \
10833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10834 done; \
10835 echo "Doing maintainer-clean in gas" ; \
10836 (cd $(HOST_SUBDIR)/gas && \
10837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10839 "RANLIB=$${RANLIB}" \
10840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10841 maintainer-clean) \
10842 || exit 1
10844 @endif gas
10848 .PHONY: configure-gcc maybe-configure-gcc
10849 maybe-configure-gcc:
10850 @if gcc
10851 maybe-configure-gcc: configure-gcc
10852 configure-gcc:
10853 @test -f stage_last && exit 0; \
10854 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10856 r=`${PWD_COMMAND}`; export r; \
10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 $(HOST_EXPORTS) \
10859 echo Configuring in $(HOST_SUBDIR)/gcc; \
10860 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10861 case $(srcdir) in \
10862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10863 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10865 esac; \
10866 srcdiroption="--srcdir=$${topdir}/gcc"; \
10867 libsrcdir="$$s/gcc"; \
10868 $(SHELL) $${libsrcdir}/configure \
10869 $(HOST_CONFIGARGS) $${srcdiroption} \
10870 || exit 1
10871 @endif gcc
10875 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10876 maybe-configure-stage1-gcc:
10877 @if gcc-bootstrap
10878 maybe-configure-stage1-gcc: configure-stage1-gcc
10879 configure-stage1-gcc:
10880 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10881 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10882 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10883 $(HOST_EXPORTS) \
10884 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10886 cd $(HOST_SUBDIR)/gcc || exit 1; \
10887 case $(srcdir) in \
10888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10889 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10891 esac; \
10892 srcdiroption="--srcdir=$${topdir}/gcc"; \
10893 libsrcdir="$$s/gcc"; \
10894 $(SHELL) $${libsrcdir}/configure \
10895 $(HOST_CONFIGARGS) $${srcdiroption} \
10896 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10897 @endif gcc-bootstrap
10899 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10900 maybe-configure-stage2-gcc:
10901 @if gcc-bootstrap
10902 maybe-configure-stage2-gcc: configure-stage2-gcc
10903 configure-stage2-gcc:
10904 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10906 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10907 $(HOST_EXPORTS) \
10908 $(POSTSTAGE1_HOST_EXPORTS) \
10909 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10911 cd $(HOST_SUBDIR)/gcc || exit 1; \
10912 case $(srcdir) in \
10913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10914 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10916 esac; \
10917 srcdiroption="--srcdir=$${topdir}/gcc"; \
10918 libsrcdir="$$s/gcc"; \
10919 $(SHELL) $${libsrcdir}/configure \
10920 $(HOST_CONFIGARGS) $${srcdiroption} \
10921 @stage2_werror_flag@
10922 @endif gcc-bootstrap
10924 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10925 maybe-configure-stage3-gcc:
10926 @if gcc-bootstrap
10927 maybe-configure-stage3-gcc: configure-stage3-gcc
10928 configure-stage3-gcc:
10929 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10931 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10932 $(HOST_EXPORTS) \
10933 $(POSTSTAGE1_HOST_EXPORTS) \
10934 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10936 cd $(HOST_SUBDIR)/gcc || exit 1; \
10937 case $(srcdir) in \
10938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10939 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10941 esac; \
10942 srcdiroption="--srcdir=$${topdir}/gcc"; \
10943 libsrcdir="$$s/gcc"; \
10944 $(SHELL) $${libsrcdir}/configure \
10945 $(HOST_CONFIGARGS) $${srcdiroption} \
10946 @stage2_werror_flag@
10947 @endif gcc-bootstrap
10949 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10950 maybe-configure-stage4-gcc:
10951 @if gcc-bootstrap
10952 maybe-configure-stage4-gcc: configure-stage4-gcc
10953 configure-stage4-gcc:
10954 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10955 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10956 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10957 $(HOST_EXPORTS) \
10958 $(POSTSTAGE1_HOST_EXPORTS) \
10959 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10961 cd $(HOST_SUBDIR)/gcc || exit 1; \
10962 case $(srcdir) in \
10963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10964 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10966 esac; \
10967 srcdiroption="--srcdir=$${topdir}/gcc"; \
10968 libsrcdir="$$s/gcc"; \
10969 $(SHELL) $${libsrcdir}/configure \
10970 $(HOST_CONFIGARGS) $${srcdiroption} \
10971 @stage2_werror_flag@
10972 @endif gcc-bootstrap
10974 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10975 maybe-configure-stageprofile-gcc:
10976 @if gcc-bootstrap
10977 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10978 configure-stageprofile-gcc:
10979 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10980 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10981 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10982 $(HOST_EXPORTS) \
10983 $(POSTSTAGE1_HOST_EXPORTS) \
10984 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10985 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10986 cd $(HOST_SUBDIR)/gcc || exit 1; \
10987 case $(srcdir) in \
10988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10989 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10991 esac; \
10992 srcdiroption="--srcdir=$${topdir}/gcc"; \
10993 libsrcdir="$$s/gcc"; \
10994 $(SHELL) $${libsrcdir}/configure \
10995 $(HOST_CONFIGARGS) $${srcdiroption} \
10996 @stage2_werror_flag@
10997 @endif gcc-bootstrap
10999 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11000 maybe-configure-stagefeedback-gcc:
11001 @if gcc-bootstrap
11002 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11003 configure-stagefeedback-gcc:
11004 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11005 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11006 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11007 $(HOST_EXPORTS) \
11008 $(POSTSTAGE1_HOST_EXPORTS) \
11009 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11011 cd $(HOST_SUBDIR)/gcc || exit 1; \
11012 case $(srcdir) in \
11013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11014 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11016 esac; \
11017 srcdiroption="--srcdir=$${topdir}/gcc"; \
11018 libsrcdir="$$s/gcc"; \
11019 $(SHELL) $${libsrcdir}/configure \
11020 $(HOST_CONFIGARGS) $${srcdiroption} \
11021 @stage2_werror_flag@
11022 @endif gcc-bootstrap
11028 .PHONY: all-gcc maybe-all-gcc
11029 maybe-all-gcc:
11030 @if gcc
11031 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11032 maybe-all-gcc: all-gcc
11033 all-gcc: configure-gcc
11034 @test -f stage_last && exit 0; \
11035 r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 $(HOST_EXPORTS) \
11038 (cd $(HOST_SUBDIR)/gcc && \
11039 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11040 @endif gcc
11044 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11045 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11046 maybe-all-stage1-gcc:
11047 maybe-clean-stage1-gcc:
11048 @if gcc-bootstrap
11049 maybe-all-stage1-gcc: all-stage1-gcc
11050 all-stage1: all-stage1-gcc
11051 TARGET-stage1-gcc = $(TARGET-gcc)
11052 all-stage1-gcc: configure-stage1-gcc
11053 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11054 @r=`${PWD_COMMAND}`; export r; \
11055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11056 $(HOST_EXPORTS) \
11057 cd $(HOST_SUBDIR)/gcc && \
11058 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11059 $(TARGET-stage1-gcc)
11061 maybe-clean-stage1-gcc: clean-stage1-gcc
11062 clean-stage1: clean-stage1-gcc
11063 clean-stage1-gcc:
11064 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11065 || exit 0 ; \
11066 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11067 cd $(HOST_SUBDIR)/gcc && \
11068 $(MAKE) $(FLAGS_TO_PASS) \
11069 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11070 @endif gcc-bootstrap
11073 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11074 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11075 maybe-all-stage2-gcc:
11076 maybe-clean-stage2-gcc:
11077 @if gcc-bootstrap
11078 maybe-all-stage2-gcc: all-stage2-gcc
11079 all-stage2: all-stage2-gcc
11080 TARGET-stage2-gcc = $(TARGET-gcc)
11081 all-stage2-gcc: configure-stage2-gcc
11082 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11083 @r=`${PWD_COMMAND}`; export r; \
11084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11085 $(HOST_EXPORTS) \
11086 $(POSTSTAGE1_HOST_EXPORTS) \
11087 cd $(HOST_SUBDIR)/gcc && \
11088 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11089 $(TARGET-stage2-gcc)
11091 maybe-clean-stage2-gcc: clean-stage2-gcc
11092 clean-stage2: clean-stage2-gcc
11093 clean-stage2-gcc:
11094 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11095 || exit 0 ; \
11096 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11097 cd $(HOST_SUBDIR)/gcc && \
11098 $(MAKE) $(FLAGS_TO_PASS) \
11099 $(POSTSTAGE1_FLAGS_TO_PASS) \
11100 $(EXTRA_GCC_FLAGS) clean
11101 @endif gcc-bootstrap
11104 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11105 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11106 maybe-all-stage3-gcc:
11107 maybe-clean-stage3-gcc:
11108 @if gcc-bootstrap
11109 maybe-all-stage3-gcc: all-stage3-gcc
11110 all-stage3: all-stage3-gcc
11111 TARGET-stage3-gcc = $(TARGET-gcc)
11112 all-stage3-gcc: configure-stage3-gcc
11113 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11114 @r=`${PWD_COMMAND}`; export r; \
11115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11116 $(HOST_EXPORTS) \
11117 $(POSTSTAGE1_HOST_EXPORTS) \
11118 cd $(HOST_SUBDIR)/gcc && \
11119 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11120 $(TARGET-stage3-gcc)
11122 maybe-clean-stage3-gcc: clean-stage3-gcc
11123 clean-stage3: clean-stage3-gcc
11124 clean-stage3-gcc:
11125 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11126 || exit 0 ; \
11127 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11128 cd $(HOST_SUBDIR)/gcc && \
11129 $(MAKE) $(FLAGS_TO_PASS) \
11130 $(POSTSTAGE1_FLAGS_TO_PASS) \
11131 $(EXTRA_GCC_FLAGS) clean
11132 @endif gcc-bootstrap
11135 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11136 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11137 maybe-all-stage4-gcc:
11138 maybe-clean-stage4-gcc:
11139 @if gcc-bootstrap
11140 maybe-all-stage4-gcc: all-stage4-gcc
11141 all-stage4: all-stage4-gcc
11142 TARGET-stage4-gcc = $(TARGET-gcc)
11143 all-stage4-gcc: configure-stage4-gcc
11144 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11145 @r=`${PWD_COMMAND}`; export r; \
11146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11147 $(HOST_EXPORTS) \
11148 $(POSTSTAGE1_HOST_EXPORTS) \
11149 cd $(HOST_SUBDIR)/gcc && \
11150 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11151 $(TARGET-stage4-gcc)
11153 maybe-clean-stage4-gcc: clean-stage4-gcc
11154 clean-stage4: clean-stage4-gcc
11155 clean-stage4-gcc:
11156 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11157 || exit 0 ; \
11158 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11159 cd $(HOST_SUBDIR)/gcc && \
11160 $(MAKE) $(FLAGS_TO_PASS) \
11161 $(POSTSTAGE1_FLAGS_TO_PASS) \
11162 $(EXTRA_GCC_FLAGS) clean
11163 @endif gcc-bootstrap
11166 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11167 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11168 maybe-all-stageprofile-gcc:
11169 maybe-clean-stageprofile-gcc:
11170 @if gcc-bootstrap
11171 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11172 all-stageprofile: all-stageprofile-gcc
11173 TARGET-stageprofile-gcc = $(TARGET-gcc)
11174 all-stageprofile-gcc: configure-stageprofile-gcc
11175 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11176 @r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 $(POSTSTAGE1_HOST_EXPORTS) \
11180 cd $(HOST_SUBDIR)/gcc && \
11181 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11182 $(TARGET-stageprofile-gcc)
11184 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11185 clean-stageprofile: clean-stageprofile-gcc
11186 clean-stageprofile-gcc:
11187 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11188 || exit 0 ; \
11189 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11190 cd $(HOST_SUBDIR)/gcc && \
11191 $(MAKE) $(FLAGS_TO_PASS) \
11192 $(POSTSTAGE1_FLAGS_TO_PASS) \
11193 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11194 @endif gcc-bootstrap
11197 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11198 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11199 maybe-all-stagefeedback-gcc:
11200 maybe-clean-stagefeedback-gcc:
11201 @if gcc-bootstrap
11202 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11203 all-stagefeedback: all-stagefeedback-gcc
11204 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11205 all-stagefeedback-gcc: configure-stagefeedback-gcc
11206 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11207 @r=`${PWD_COMMAND}`; export r; \
11208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11209 $(HOST_EXPORTS) \
11210 $(POSTSTAGE1_HOST_EXPORTS) \
11211 cd $(HOST_SUBDIR)/gcc && \
11212 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11213 $(TARGET-stagefeedback-gcc)
11215 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11216 clean-stagefeedback: clean-stagefeedback-gcc
11217 clean-stagefeedback-gcc:
11218 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11219 || exit 0 ; \
11220 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11221 cd $(HOST_SUBDIR)/gcc && \
11222 $(MAKE) $(FLAGS_TO_PASS) \
11223 $(POSTSTAGE1_FLAGS_TO_PASS) \
11224 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11225 @endif gcc-bootstrap
11231 .PHONY: check-gcc maybe-check-gcc
11232 maybe-check-gcc:
11233 @if gcc
11234 maybe-check-gcc: check-gcc
11236 check-gcc:
11237 @: $(MAKE); $(unstage)
11238 @r=`${PWD_COMMAND}`; export r; \
11239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11240 $(HOST_EXPORTS) \
11241 (cd $(HOST_SUBDIR)/gcc && \
11242 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11244 @endif gcc
11246 .PHONY: install-gcc maybe-install-gcc
11247 maybe-install-gcc:
11248 @if gcc
11249 maybe-install-gcc: install-gcc
11251 install-gcc: installdirs
11252 @: $(MAKE); $(unstage)
11253 @r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(HOST_EXPORTS) \
11256 (cd $(HOST_SUBDIR)/gcc && \
11257 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11259 @endif gcc
11261 # Other targets (info, dvi, etc.)
11263 .PHONY: maybe-info-gcc info-gcc
11264 maybe-info-gcc:
11265 @if gcc
11266 maybe-info-gcc: info-gcc
11268 info-gcc: \
11269 configure-gcc
11270 @[ -f ./gcc/Makefile ] || exit 0; \
11271 r=`${PWD_COMMAND}`; export r; \
11272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 $(HOST_EXPORTS) \
11274 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11276 done; \
11277 echo "Doing info in gcc" ; \
11278 (cd $(HOST_SUBDIR)/gcc && \
11279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11281 "RANLIB=$${RANLIB}" \
11282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11283 info) \
11284 || exit 1
11286 @endif gcc
11288 .PHONY: maybe-dvi-gcc dvi-gcc
11289 maybe-dvi-gcc:
11290 @if gcc
11291 maybe-dvi-gcc: dvi-gcc
11293 dvi-gcc: \
11294 configure-gcc
11295 @[ -f ./gcc/Makefile ] || exit 0; \
11296 r=`${PWD_COMMAND}`; export r; \
11297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11298 $(HOST_EXPORTS) \
11299 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11301 done; \
11302 echo "Doing dvi in gcc" ; \
11303 (cd $(HOST_SUBDIR)/gcc && \
11304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11306 "RANLIB=$${RANLIB}" \
11307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11308 dvi) \
11309 || exit 1
11311 @endif gcc
11313 .PHONY: maybe-html-gcc html-gcc
11314 maybe-html-gcc:
11315 @if gcc
11316 maybe-html-gcc: html-gcc
11318 html-gcc: \
11319 configure-gcc
11320 @[ -f ./gcc/Makefile ] || exit 0; \
11321 r=`${PWD_COMMAND}`; export r; \
11322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11323 $(HOST_EXPORTS) \
11324 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11326 done; \
11327 echo "Doing html in gcc" ; \
11328 (cd $(HOST_SUBDIR)/gcc && \
11329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11331 "RANLIB=$${RANLIB}" \
11332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11333 html) \
11334 || exit 1
11336 @endif gcc
11338 .PHONY: maybe-TAGS-gcc TAGS-gcc
11339 maybe-TAGS-gcc:
11340 @if gcc
11341 maybe-TAGS-gcc: TAGS-gcc
11343 TAGS-gcc: \
11344 configure-gcc
11345 @[ -f ./gcc/Makefile ] || exit 0; \
11346 r=`${PWD_COMMAND}`; export r; \
11347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11348 $(HOST_EXPORTS) \
11349 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11351 done; \
11352 echo "Doing TAGS in gcc" ; \
11353 (cd $(HOST_SUBDIR)/gcc && \
11354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11356 "RANLIB=$${RANLIB}" \
11357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11358 TAGS) \
11359 || exit 1
11361 @endif gcc
11363 .PHONY: maybe-install-info-gcc install-info-gcc
11364 maybe-install-info-gcc:
11365 @if gcc
11366 maybe-install-info-gcc: install-info-gcc
11368 install-info-gcc: \
11369 configure-gcc \
11370 info-gcc
11371 @[ -f ./gcc/Makefile ] || exit 0; \
11372 r=`${PWD_COMMAND}`; export r; \
11373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11374 $(HOST_EXPORTS) \
11375 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11377 done; \
11378 echo "Doing install-info in gcc" ; \
11379 (cd $(HOST_SUBDIR)/gcc && \
11380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11382 "RANLIB=$${RANLIB}" \
11383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11384 install-info) \
11385 || exit 1
11387 @endif gcc
11389 .PHONY: maybe-installcheck-gcc installcheck-gcc
11390 maybe-installcheck-gcc:
11391 @if gcc
11392 maybe-installcheck-gcc: installcheck-gcc
11394 installcheck-gcc: \
11395 configure-gcc
11396 @[ -f ./gcc/Makefile ] || exit 0; \
11397 r=`${PWD_COMMAND}`; export r; \
11398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11399 $(HOST_EXPORTS) \
11400 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11402 done; \
11403 echo "Doing installcheck in gcc" ; \
11404 (cd $(HOST_SUBDIR)/gcc && \
11405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11407 "RANLIB=$${RANLIB}" \
11408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11409 installcheck) \
11410 || exit 1
11412 @endif gcc
11414 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11415 maybe-mostlyclean-gcc:
11416 @if gcc
11417 maybe-mostlyclean-gcc: mostlyclean-gcc
11419 mostlyclean-gcc:
11420 @[ -f ./gcc/Makefile ] || exit 0; \
11421 r=`${PWD_COMMAND}`; export r; \
11422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11423 $(HOST_EXPORTS) \
11424 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11426 done; \
11427 echo "Doing mostlyclean in gcc" ; \
11428 (cd $(HOST_SUBDIR)/gcc && \
11429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11431 "RANLIB=$${RANLIB}" \
11432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11433 mostlyclean) \
11434 || exit 1
11436 @endif gcc
11438 .PHONY: maybe-clean-gcc clean-gcc
11439 maybe-clean-gcc:
11440 @if gcc
11441 maybe-clean-gcc: clean-gcc
11443 clean-gcc:
11444 @[ -f ./gcc/Makefile ] || exit 0; \
11445 r=`${PWD_COMMAND}`; export r; \
11446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11447 $(HOST_EXPORTS) \
11448 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11450 done; \
11451 echo "Doing clean in gcc" ; \
11452 (cd $(HOST_SUBDIR)/gcc && \
11453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11455 "RANLIB=$${RANLIB}" \
11456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11457 clean) \
11458 || exit 1
11460 @endif gcc
11462 .PHONY: maybe-distclean-gcc distclean-gcc
11463 maybe-distclean-gcc:
11464 @if gcc
11465 maybe-distclean-gcc: distclean-gcc
11467 distclean-gcc:
11468 @[ -f ./gcc/Makefile ] || exit 0; \
11469 r=`${PWD_COMMAND}`; export r; \
11470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11471 $(HOST_EXPORTS) \
11472 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11474 done; \
11475 echo "Doing distclean in gcc" ; \
11476 (cd $(HOST_SUBDIR)/gcc && \
11477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11479 "RANLIB=$${RANLIB}" \
11480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11481 distclean) \
11482 || exit 1
11484 @endif gcc
11486 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11487 maybe-maintainer-clean-gcc:
11488 @if gcc
11489 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11491 maintainer-clean-gcc:
11492 @[ -f ./gcc/Makefile ] || exit 0; \
11493 r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(HOST_EXPORTS) \
11496 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11498 done; \
11499 echo "Doing maintainer-clean in gcc" ; \
11500 (cd $(HOST_SUBDIR)/gcc && \
11501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11503 "RANLIB=$${RANLIB}" \
11504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11505 maintainer-clean) \
11506 || exit 1
11508 @endif gcc
11512 .PHONY: configure-gawk maybe-configure-gawk
11513 maybe-configure-gawk:
11514 @if gawk
11515 maybe-configure-gawk: configure-gawk
11516 configure-gawk:
11517 @: $(MAKE); $(unstage)
11518 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11520 r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(HOST_EXPORTS) \
11523 echo Configuring in $(HOST_SUBDIR)/gawk; \
11524 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11525 case $(srcdir) in \
11526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11527 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11529 esac; \
11530 srcdiroption="--srcdir=$${topdir}/gawk"; \
11531 libsrcdir="$$s/gawk"; \
11532 $(SHELL) $${libsrcdir}/configure \
11533 $(HOST_CONFIGARGS) $${srcdiroption} \
11534 || exit 1
11535 @endif gawk
11541 .PHONY: all-gawk maybe-all-gawk
11542 maybe-all-gawk:
11543 @if gawk
11544 TARGET-gawk=all
11545 maybe-all-gawk: all-gawk
11546 all-gawk: configure-gawk
11547 @: $(MAKE); $(unstage)
11548 @r=`${PWD_COMMAND}`; export r; \
11549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11550 $(HOST_EXPORTS) \
11551 (cd $(HOST_SUBDIR)/gawk && \
11552 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11553 @endif gawk
11558 .PHONY: check-gawk maybe-check-gawk
11559 maybe-check-gawk:
11560 @if gawk
11561 maybe-check-gawk: check-gawk
11563 check-gawk:
11564 @: $(MAKE); $(unstage)
11565 @r=`${PWD_COMMAND}`; export r; \
11566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11567 $(HOST_EXPORTS) \
11568 (cd $(HOST_SUBDIR)/gawk && \
11569 $(MAKE) $(FLAGS_TO_PASS) check)
11571 @endif gawk
11573 .PHONY: install-gawk maybe-install-gawk
11574 maybe-install-gawk:
11575 @if gawk
11576 maybe-install-gawk: install-gawk
11578 install-gawk: installdirs
11579 @: $(MAKE); $(unstage)
11580 @r=`${PWD_COMMAND}`; export r; \
11581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11582 $(HOST_EXPORTS) \
11583 (cd $(HOST_SUBDIR)/gawk && \
11584 $(MAKE) $(FLAGS_TO_PASS) install)
11586 @endif gawk
11588 # Other targets (info, dvi, etc.)
11590 .PHONY: maybe-info-gawk info-gawk
11591 maybe-info-gawk:
11592 @if gawk
11593 maybe-info-gawk: info-gawk
11595 info-gawk: \
11596 configure-gawk
11597 @: $(MAKE); $(unstage)
11598 @[ -f ./gawk/Makefile ] || exit 0; \
11599 r=`${PWD_COMMAND}`; export r; \
11600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11601 $(HOST_EXPORTS) \
11602 for flag in $(EXTRA_HOST_FLAGS) ; do \
11603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11604 done; \
11605 echo "Doing info in gawk" ; \
11606 (cd $(HOST_SUBDIR)/gawk && \
11607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11609 "RANLIB=$${RANLIB}" \
11610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11611 info) \
11612 || exit 1
11614 @endif gawk
11616 .PHONY: maybe-dvi-gawk dvi-gawk
11617 maybe-dvi-gawk:
11618 @if gawk
11619 maybe-dvi-gawk: dvi-gawk
11621 dvi-gawk: \
11622 configure-gawk
11623 @: $(MAKE); $(unstage)
11624 @[ -f ./gawk/Makefile ] || exit 0; \
11625 r=`${PWD_COMMAND}`; export r; \
11626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11627 $(HOST_EXPORTS) \
11628 for flag in $(EXTRA_HOST_FLAGS) ; do \
11629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11630 done; \
11631 echo "Doing dvi in gawk" ; \
11632 (cd $(HOST_SUBDIR)/gawk && \
11633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11635 "RANLIB=$${RANLIB}" \
11636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11637 dvi) \
11638 || exit 1
11640 @endif gawk
11642 .PHONY: maybe-html-gawk html-gawk
11643 maybe-html-gawk:
11644 @if gawk
11645 maybe-html-gawk: html-gawk
11647 html-gawk: \
11648 configure-gawk
11649 @: $(MAKE); $(unstage)
11650 @[ -f ./gawk/Makefile ] || exit 0; \
11651 r=`${PWD_COMMAND}`; export r; \
11652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11653 $(HOST_EXPORTS) \
11654 for flag in $(EXTRA_HOST_FLAGS) ; do \
11655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11656 done; \
11657 echo "Doing html in gawk" ; \
11658 (cd $(HOST_SUBDIR)/gawk && \
11659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11661 "RANLIB=$${RANLIB}" \
11662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11663 html) \
11664 || exit 1
11666 @endif gawk
11668 .PHONY: maybe-TAGS-gawk TAGS-gawk
11669 maybe-TAGS-gawk:
11670 @if gawk
11671 maybe-TAGS-gawk: TAGS-gawk
11673 TAGS-gawk: \
11674 configure-gawk
11675 @: $(MAKE); $(unstage)
11676 @[ -f ./gawk/Makefile ] || exit 0; \
11677 r=`${PWD_COMMAND}`; export r; \
11678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11679 $(HOST_EXPORTS) \
11680 for flag in $(EXTRA_HOST_FLAGS) ; do \
11681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11682 done; \
11683 echo "Doing TAGS in gawk" ; \
11684 (cd $(HOST_SUBDIR)/gawk && \
11685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11687 "RANLIB=$${RANLIB}" \
11688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11689 TAGS) \
11690 || exit 1
11692 @endif gawk
11694 .PHONY: maybe-install-info-gawk install-info-gawk
11695 maybe-install-info-gawk:
11696 @if gawk
11697 maybe-install-info-gawk: install-info-gawk
11699 install-info-gawk: \
11700 configure-gawk \
11701 info-gawk
11702 @: $(MAKE); $(unstage)
11703 @[ -f ./gawk/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(HOST_EXPORTS) \
11707 for flag in $(EXTRA_HOST_FLAGS) ; do \
11708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11709 done; \
11710 echo "Doing install-info in gawk" ; \
11711 (cd $(HOST_SUBDIR)/gawk && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11716 install-info) \
11717 || exit 1
11719 @endif gawk
11721 .PHONY: maybe-installcheck-gawk installcheck-gawk
11722 maybe-installcheck-gawk:
11723 @if gawk
11724 maybe-installcheck-gawk: installcheck-gawk
11726 installcheck-gawk: \
11727 configure-gawk
11728 @: $(MAKE); $(unstage)
11729 @[ -f ./gawk/Makefile ] || exit 0; \
11730 r=`${PWD_COMMAND}`; export r; \
11731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11732 $(HOST_EXPORTS) \
11733 for flag in $(EXTRA_HOST_FLAGS) ; do \
11734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11735 done; \
11736 echo "Doing installcheck in gawk" ; \
11737 (cd $(HOST_SUBDIR)/gawk && \
11738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11740 "RANLIB=$${RANLIB}" \
11741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11742 installcheck) \
11743 || exit 1
11745 @endif gawk
11747 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11748 maybe-mostlyclean-gawk:
11749 @if gawk
11750 maybe-mostlyclean-gawk: mostlyclean-gawk
11752 mostlyclean-gawk:
11753 @: $(MAKE); $(unstage)
11754 @[ -f ./gawk/Makefile ] || exit 0; \
11755 r=`${PWD_COMMAND}`; export r; \
11756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11757 $(HOST_EXPORTS) \
11758 for flag in $(EXTRA_HOST_FLAGS) ; do \
11759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11760 done; \
11761 echo "Doing mostlyclean in gawk" ; \
11762 (cd $(HOST_SUBDIR)/gawk && \
11763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11765 "RANLIB=$${RANLIB}" \
11766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11767 mostlyclean) \
11768 || exit 1
11770 @endif gawk
11772 .PHONY: maybe-clean-gawk clean-gawk
11773 maybe-clean-gawk:
11774 @if gawk
11775 maybe-clean-gawk: clean-gawk
11777 clean-gawk:
11778 @: $(MAKE); $(unstage)
11779 @[ -f ./gawk/Makefile ] || exit 0; \
11780 r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 $(HOST_EXPORTS) \
11783 for flag in $(EXTRA_HOST_FLAGS) ; do \
11784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11785 done; \
11786 echo "Doing clean in gawk" ; \
11787 (cd $(HOST_SUBDIR)/gawk && \
11788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11790 "RANLIB=$${RANLIB}" \
11791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11792 clean) \
11793 || exit 1
11795 @endif gawk
11797 .PHONY: maybe-distclean-gawk distclean-gawk
11798 maybe-distclean-gawk:
11799 @if gawk
11800 maybe-distclean-gawk: distclean-gawk
11802 distclean-gawk:
11803 @: $(MAKE); $(unstage)
11804 @[ -f ./gawk/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS) ; do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing distclean in gawk" ; \
11812 (cd $(HOST_SUBDIR)/gawk && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11817 distclean) \
11818 || exit 1
11820 @endif gawk
11822 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11823 maybe-maintainer-clean-gawk:
11824 @if gawk
11825 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11827 maintainer-clean-gawk:
11828 @: $(MAKE); $(unstage)
11829 @[ -f ./gawk/Makefile ] || exit 0; \
11830 r=`${PWD_COMMAND}`; export r; \
11831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11832 $(HOST_EXPORTS) \
11833 for flag in $(EXTRA_HOST_FLAGS) ; do \
11834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11835 done; \
11836 echo "Doing maintainer-clean in gawk" ; \
11837 (cd $(HOST_SUBDIR)/gawk && \
11838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11840 "RANLIB=$${RANLIB}" \
11841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11842 maintainer-clean) \
11843 || exit 1
11845 @endif gawk
11849 .PHONY: configure-gettext maybe-configure-gettext
11850 maybe-configure-gettext:
11851 @if gettext
11852 maybe-configure-gettext: configure-gettext
11853 configure-gettext:
11854 @: $(MAKE); $(unstage)
11855 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11856 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11857 r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859 $(HOST_EXPORTS) \
11860 echo Configuring in $(HOST_SUBDIR)/gettext; \
11861 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11862 case $(srcdir) in \
11863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11864 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11866 esac; \
11867 srcdiroption="--srcdir=$${topdir}/gettext"; \
11868 libsrcdir="$$s/gettext"; \
11869 $(SHELL) $${libsrcdir}/configure \
11870 $(HOST_CONFIGARGS) $${srcdiroption} \
11871 || exit 1
11872 @endif gettext
11878 .PHONY: all-gettext maybe-all-gettext
11879 maybe-all-gettext:
11880 @if gettext
11881 TARGET-gettext=all
11882 maybe-all-gettext: all-gettext
11883 all-gettext: configure-gettext
11884 @: $(MAKE); $(unstage)
11885 @r=`${PWD_COMMAND}`; export r; \
11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11887 $(HOST_EXPORTS) \
11888 (cd $(HOST_SUBDIR)/gettext && \
11889 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11890 @endif gettext
11895 .PHONY: check-gettext maybe-check-gettext
11896 maybe-check-gettext:
11897 @if gettext
11898 maybe-check-gettext: check-gettext
11900 check-gettext:
11901 @: $(MAKE); $(unstage)
11902 @r=`${PWD_COMMAND}`; export r; \
11903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 $(HOST_EXPORTS) \
11905 (cd $(HOST_SUBDIR)/gettext && \
11906 $(MAKE) $(FLAGS_TO_PASS) check)
11908 @endif gettext
11910 .PHONY: install-gettext maybe-install-gettext
11911 maybe-install-gettext:
11912 @if gettext
11913 maybe-install-gettext: install-gettext
11915 install-gettext: installdirs
11916 @: $(MAKE); $(unstage)
11917 @r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 $(HOST_EXPORTS) \
11920 (cd $(HOST_SUBDIR)/gettext && \
11921 $(MAKE) $(FLAGS_TO_PASS) install)
11923 @endif gettext
11925 # Other targets (info, dvi, etc.)
11927 .PHONY: maybe-info-gettext info-gettext
11928 maybe-info-gettext:
11929 @if gettext
11930 maybe-info-gettext: info-gettext
11932 info-gettext: \
11933 configure-gettext
11934 @: $(MAKE); $(unstage)
11935 @[ -f ./gettext/Makefile ] || exit 0; \
11936 r=`${PWD_COMMAND}`; export r; \
11937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11938 $(HOST_EXPORTS) \
11939 for flag in $(EXTRA_HOST_FLAGS) ; do \
11940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11941 done; \
11942 echo "Doing info in gettext" ; \
11943 (cd $(HOST_SUBDIR)/gettext && \
11944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11946 "RANLIB=$${RANLIB}" \
11947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11948 info) \
11949 || exit 1
11951 @endif gettext
11953 .PHONY: maybe-dvi-gettext dvi-gettext
11954 maybe-dvi-gettext:
11955 @if gettext
11956 maybe-dvi-gettext: dvi-gettext
11958 dvi-gettext: \
11959 configure-gettext
11960 @: $(MAKE); $(unstage)
11961 @[ -f ./gettext/Makefile ] || exit 0; \
11962 r=`${PWD_COMMAND}`; export r; \
11963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11964 $(HOST_EXPORTS) \
11965 for flag in $(EXTRA_HOST_FLAGS) ; do \
11966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 done; \
11968 echo "Doing dvi in gettext" ; \
11969 (cd $(HOST_SUBDIR)/gettext && \
11970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11972 "RANLIB=$${RANLIB}" \
11973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11974 dvi) \
11975 || exit 1
11977 @endif gettext
11979 .PHONY: maybe-html-gettext html-gettext
11980 maybe-html-gettext:
11981 @if gettext
11982 maybe-html-gettext: html-gettext
11984 html-gettext: \
11985 configure-gettext
11986 @: $(MAKE); $(unstage)
11987 @[ -f ./gettext/Makefile ] || exit 0; \
11988 r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990 $(HOST_EXPORTS) \
11991 for flag in $(EXTRA_HOST_FLAGS) ; do \
11992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11993 done; \
11994 echo "Doing html in gettext" ; \
11995 (cd $(HOST_SUBDIR)/gettext && \
11996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11998 "RANLIB=$${RANLIB}" \
11999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12000 html) \
12001 || exit 1
12003 @endif gettext
12005 .PHONY: maybe-TAGS-gettext TAGS-gettext
12006 maybe-TAGS-gettext:
12007 @if gettext
12008 maybe-TAGS-gettext: TAGS-gettext
12010 TAGS-gettext: \
12011 configure-gettext
12012 @: $(MAKE); $(unstage)
12013 @[ -f ./gettext/Makefile ] || exit 0; \
12014 r=`${PWD_COMMAND}`; export r; \
12015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12016 $(HOST_EXPORTS) \
12017 for flag in $(EXTRA_HOST_FLAGS) ; do \
12018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12019 done; \
12020 echo "Doing TAGS in gettext" ; \
12021 (cd $(HOST_SUBDIR)/gettext && \
12022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12024 "RANLIB=$${RANLIB}" \
12025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12026 TAGS) \
12027 || exit 1
12029 @endif gettext
12031 .PHONY: maybe-install-info-gettext install-info-gettext
12032 maybe-install-info-gettext:
12033 @if gettext
12034 maybe-install-info-gettext: install-info-gettext
12036 install-info-gettext: \
12037 configure-gettext \
12038 info-gettext
12039 @: $(MAKE); $(unstage)
12040 @[ -f ./gettext/Makefile ] || exit 0; \
12041 r=`${PWD_COMMAND}`; export r; \
12042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12043 $(HOST_EXPORTS) \
12044 for flag in $(EXTRA_HOST_FLAGS) ; do \
12045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12046 done; \
12047 echo "Doing install-info in gettext" ; \
12048 (cd $(HOST_SUBDIR)/gettext && \
12049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12051 "RANLIB=$${RANLIB}" \
12052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12053 install-info) \
12054 || exit 1
12056 @endif gettext
12058 .PHONY: maybe-installcheck-gettext installcheck-gettext
12059 maybe-installcheck-gettext:
12060 @if gettext
12061 maybe-installcheck-gettext: installcheck-gettext
12063 installcheck-gettext: \
12064 configure-gettext
12065 @: $(MAKE); $(unstage)
12066 @[ -f ./gettext/Makefile ] || exit 0; \
12067 r=`${PWD_COMMAND}`; export r; \
12068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12069 $(HOST_EXPORTS) \
12070 for flag in $(EXTRA_HOST_FLAGS) ; do \
12071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12072 done; \
12073 echo "Doing installcheck in gettext" ; \
12074 (cd $(HOST_SUBDIR)/gettext && \
12075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12077 "RANLIB=$${RANLIB}" \
12078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12079 installcheck) \
12080 || exit 1
12082 @endif gettext
12084 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12085 maybe-mostlyclean-gettext:
12086 @if gettext
12087 maybe-mostlyclean-gettext: mostlyclean-gettext
12089 mostlyclean-gettext:
12090 @: $(MAKE); $(unstage)
12091 @[ -f ./gettext/Makefile ] || exit 0; \
12092 r=`${PWD_COMMAND}`; export r; \
12093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12094 $(HOST_EXPORTS) \
12095 for flag in $(EXTRA_HOST_FLAGS) ; do \
12096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12097 done; \
12098 echo "Doing mostlyclean in gettext" ; \
12099 (cd $(HOST_SUBDIR)/gettext && \
12100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12102 "RANLIB=$${RANLIB}" \
12103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12104 mostlyclean) \
12105 || exit 1
12107 @endif gettext
12109 .PHONY: maybe-clean-gettext clean-gettext
12110 maybe-clean-gettext:
12111 @if gettext
12112 maybe-clean-gettext: clean-gettext
12114 clean-gettext:
12115 @: $(MAKE); $(unstage)
12116 @[ -f ./gettext/Makefile ] || exit 0; \
12117 r=`${PWD_COMMAND}`; export r; \
12118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12119 $(HOST_EXPORTS) \
12120 for flag in $(EXTRA_HOST_FLAGS) ; do \
12121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12122 done; \
12123 echo "Doing clean in gettext" ; \
12124 (cd $(HOST_SUBDIR)/gettext && \
12125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12127 "RANLIB=$${RANLIB}" \
12128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12129 clean) \
12130 || exit 1
12132 @endif gettext
12134 .PHONY: maybe-distclean-gettext distclean-gettext
12135 maybe-distclean-gettext:
12136 @if gettext
12137 maybe-distclean-gettext: distclean-gettext
12139 distclean-gettext:
12140 @: $(MAKE); $(unstage)
12141 @[ -f ./gettext/Makefile ] || exit 0; \
12142 r=`${PWD_COMMAND}`; export r; \
12143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12144 $(HOST_EXPORTS) \
12145 for flag in $(EXTRA_HOST_FLAGS) ; do \
12146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12147 done; \
12148 echo "Doing distclean in gettext" ; \
12149 (cd $(HOST_SUBDIR)/gettext && \
12150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12152 "RANLIB=$${RANLIB}" \
12153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12154 distclean) \
12155 || exit 1
12157 @endif gettext
12159 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12160 maybe-maintainer-clean-gettext:
12161 @if gettext
12162 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12164 maintainer-clean-gettext:
12165 @: $(MAKE); $(unstage)
12166 @[ -f ./gettext/Makefile ] || exit 0; \
12167 r=`${PWD_COMMAND}`; export r; \
12168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12169 $(HOST_EXPORTS) \
12170 for flag in $(EXTRA_HOST_FLAGS) ; do \
12171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12172 done; \
12173 echo "Doing maintainer-clean in gettext" ; \
12174 (cd $(HOST_SUBDIR)/gettext && \
12175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12177 "RANLIB=$${RANLIB}" \
12178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12179 maintainer-clean) \
12180 || exit 1
12182 @endif gettext
12186 .PHONY: configure-gnuserv maybe-configure-gnuserv
12187 maybe-configure-gnuserv:
12188 @if gnuserv
12189 maybe-configure-gnuserv: configure-gnuserv
12190 configure-gnuserv:
12191 @: $(MAKE); $(unstage)
12192 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12194 r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 $(HOST_EXPORTS) \
12197 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12198 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12199 case $(srcdir) in \
12200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12201 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12203 esac; \
12204 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12205 libsrcdir="$$s/gnuserv"; \
12206 $(SHELL) $${libsrcdir}/configure \
12207 $(HOST_CONFIGARGS) $${srcdiroption} \
12208 || exit 1
12209 @endif gnuserv
12215 .PHONY: all-gnuserv maybe-all-gnuserv
12216 maybe-all-gnuserv:
12217 @if gnuserv
12218 TARGET-gnuserv=all
12219 maybe-all-gnuserv: all-gnuserv
12220 all-gnuserv: configure-gnuserv
12221 @: $(MAKE); $(unstage)
12222 @r=`${PWD_COMMAND}`; export r; \
12223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 $(HOST_EXPORTS) \
12225 (cd $(HOST_SUBDIR)/gnuserv && \
12226 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12227 @endif gnuserv
12232 .PHONY: check-gnuserv maybe-check-gnuserv
12233 maybe-check-gnuserv:
12234 @if gnuserv
12235 maybe-check-gnuserv: check-gnuserv
12237 check-gnuserv:
12238 @: $(MAKE); $(unstage)
12239 @r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12241 $(HOST_EXPORTS) \
12242 (cd $(HOST_SUBDIR)/gnuserv && \
12243 $(MAKE) $(FLAGS_TO_PASS) check)
12245 @endif gnuserv
12247 .PHONY: install-gnuserv maybe-install-gnuserv
12248 maybe-install-gnuserv:
12249 @if gnuserv
12250 maybe-install-gnuserv: install-gnuserv
12252 install-gnuserv: installdirs
12253 @: $(MAKE); $(unstage)
12254 @r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) \
12257 (cd $(HOST_SUBDIR)/gnuserv && \
12258 $(MAKE) $(FLAGS_TO_PASS) install)
12260 @endif gnuserv
12262 # Other targets (info, dvi, etc.)
12264 .PHONY: maybe-info-gnuserv info-gnuserv
12265 maybe-info-gnuserv:
12266 @if gnuserv
12267 maybe-info-gnuserv: info-gnuserv
12269 info-gnuserv: \
12270 configure-gnuserv
12271 @: $(MAKE); $(unstage)
12272 @[ -f ./gnuserv/Makefile ] || exit 0; \
12273 r=`${PWD_COMMAND}`; export r; \
12274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12275 $(HOST_EXPORTS) \
12276 for flag in $(EXTRA_HOST_FLAGS) ; do \
12277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12278 done; \
12279 echo "Doing info in gnuserv" ; \
12280 (cd $(HOST_SUBDIR)/gnuserv && \
12281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12283 "RANLIB=$${RANLIB}" \
12284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12285 info) \
12286 || exit 1
12288 @endif gnuserv
12290 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12291 maybe-dvi-gnuserv:
12292 @if gnuserv
12293 maybe-dvi-gnuserv: dvi-gnuserv
12295 dvi-gnuserv: \
12296 configure-gnuserv
12297 @: $(MAKE); $(unstage)
12298 @[ -f ./gnuserv/Makefile ] || exit 0; \
12299 r=`${PWD_COMMAND}`; export r; \
12300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12301 $(HOST_EXPORTS) \
12302 for flag in $(EXTRA_HOST_FLAGS) ; do \
12303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12304 done; \
12305 echo "Doing dvi in gnuserv" ; \
12306 (cd $(HOST_SUBDIR)/gnuserv && \
12307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12309 "RANLIB=$${RANLIB}" \
12310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12311 dvi) \
12312 || exit 1
12314 @endif gnuserv
12316 .PHONY: maybe-html-gnuserv html-gnuserv
12317 maybe-html-gnuserv:
12318 @if gnuserv
12319 maybe-html-gnuserv: html-gnuserv
12321 html-gnuserv: \
12322 configure-gnuserv
12323 @: $(MAKE); $(unstage)
12324 @[ -f ./gnuserv/Makefile ] || exit 0; \
12325 r=`${PWD_COMMAND}`; export r; \
12326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12327 $(HOST_EXPORTS) \
12328 for flag in $(EXTRA_HOST_FLAGS) ; do \
12329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12330 done; \
12331 echo "Doing html in gnuserv" ; \
12332 (cd $(HOST_SUBDIR)/gnuserv && \
12333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12335 "RANLIB=$${RANLIB}" \
12336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12337 html) \
12338 || exit 1
12340 @endif gnuserv
12342 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12343 maybe-TAGS-gnuserv:
12344 @if gnuserv
12345 maybe-TAGS-gnuserv: TAGS-gnuserv
12347 TAGS-gnuserv: \
12348 configure-gnuserv
12349 @: $(MAKE); $(unstage)
12350 @[ -f ./gnuserv/Makefile ] || exit 0; \
12351 r=`${PWD_COMMAND}`; export r; \
12352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12353 $(HOST_EXPORTS) \
12354 for flag in $(EXTRA_HOST_FLAGS) ; do \
12355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12356 done; \
12357 echo "Doing TAGS in gnuserv" ; \
12358 (cd $(HOST_SUBDIR)/gnuserv && \
12359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12361 "RANLIB=$${RANLIB}" \
12362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12363 TAGS) \
12364 || exit 1
12366 @endif gnuserv
12368 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12369 maybe-install-info-gnuserv:
12370 @if gnuserv
12371 maybe-install-info-gnuserv: install-info-gnuserv
12373 install-info-gnuserv: \
12374 configure-gnuserv \
12375 info-gnuserv
12376 @: $(MAKE); $(unstage)
12377 @[ -f ./gnuserv/Makefile ] || exit 0; \
12378 r=`${PWD_COMMAND}`; export r; \
12379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12380 $(HOST_EXPORTS) \
12381 for flag in $(EXTRA_HOST_FLAGS) ; do \
12382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12383 done; \
12384 echo "Doing install-info in gnuserv" ; \
12385 (cd $(HOST_SUBDIR)/gnuserv && \
12386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12388 "RANLIB=$${RANLIB}" \
12389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12390 install-info) \
12391 || exit 1
12393 @endif gnuserv
12395 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12396 maybe-installcheck-gnuserv:
12397 @if gnuserv
12398 maybe-installcheck-gnuserv: installcheck-gnuserv
12400 installcheck-gnuserv: \
12401 configure-gnuserv
12402 @: $(MAKE); $(unstage)
12403 @[ -f ./gnuserv/Makefile ] || exit 0; \
12404 r=`${PWD_COMMAND}`; export r; \
12405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12406 $(HOST_EXPORTS) \
12407 for flag in $(EXTRA_HOST_FLAGS) ; do \
12408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12409 done; \
12410 echo "Doing installcheck in gnuserv" ; \
12411 (cd $(HOST_SUBDIR)/gnuserv && \
12412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12414 "RANLIB=$${RANLIB}" \
12415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12416 installcheck) \
12417 || exit 1
12419 @endif gnuserv
12421 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12422 maybe-mostlyclean-gnuserv:
12423 @if gnuserv
12424 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12426 mostlyclean-gnuserv:
12427 @: $(MAKE); $(unstage)
12428 @[ -f ./gnuserv/Makefile ] || exit 0; \
12429 r=`${PWD_COMMAND}`; export r; \
12430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12431 $(HOST_EXPORTS) \
12432 for flag in $(EXTRA_HOST_FLAGS) ; do \
12433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12434 done; \
12435 echo "Doing mostlyclean in gnuserv" ; \
12436 (cd $(HOST_SUBDIR)/gnuserv && \
12437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12439 "RANLIB=$${RANLIB}" \
12440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12441 mostlyclean) \
12442 || exit 1
12444 @endif gnuserv
12446 .PHONY: maybe-clean-gnuserv clean-gnuserv
12447 maybe-clean-gnuserv:
12448 @if gnuserv
12449 maybe-clean-gnuserv: clean-gnuserv
12451 clean-gnuserv:
12452 @: $(MAKE); $(unstage)
12453 @[ -f ./gnuserv/Makefile ] || exit 0; \
12454 r=`${PWD_COMMAND}`; export r; \
12455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12456 $(HOST_EXPORTS) \
12457 for flag in $(EXTRA_HOST_FLAGS) ; do \
12458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12459 done; \
12460 echo "Doing clean in gnuserv" ; \
12461 (cd $(HOST_SUBDIR)/gnuserv && \
12462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12464 "RANLIB=$${RANLIB}" \
12465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12466 clean) \
12467 || exit 1
12469 @endif gnuserv
12471 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12472 maybe-distclean-gnuserv:
12473 @if gnuserv
12474 maybe-distclean-gnuserv: distclean-gnuserv
12476 distclean-gnuserv:
12477 @: $(MAKE); $(unstage)
12478 @[ -f ./gnuserv/Makefile ] || exit 0; \
12479 r=`${PWD_COMMAND}`; export r; \
12480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12481 $(HOST_EXPORTS) \
12482 for flag in $(EXTRA_HOST_FLAGS) ; do \
12483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12484 done; \
12485 echo "Doing distclean in gnuserv" ; \
12486 (cd $(HOST_SUBDIR)/gnuserv && \
12487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12489 "RANLIB=$${RANLIB}" \
12490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12491 distclean) \
12492 || exit 1
12494 @endif gnuserv
12496 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12497 maybe-maintainer-clean-gnuserv:
12498 @if gnuserv
12499 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12501 maintainer-clean-gnuserv:
12502 @: $(MAKE); $(unstage)
12503 @[ -f ./gnuserv/Makefile ] || exit 0; \
12504 r=`${PWD_COMMAND}`; export r; \
12505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12506 $(HOST_EXPORTS) \
12507 for flag in $(EXTRA_HOST_FLAGS) ; do \
12508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12509 done; \
12510 echo "Doing maintainer-clean in gnuserv" ; \
12511 (cd $(HOST_SUBDIR)/gnuserv && \
12512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12514 "RANLIB=$${RANLIB}" \
12515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12516 maintainer-clean) \
12517 || exit 1
12519 @endif gnuserv
12523 .PHONY: configure-gprof maybe-configure-gprof
12524 maybe-configure-gprof:
12525 @if gprof
12526 maybe-configure-gprof: configure-gprof
12527 configure-gprof:
12528 @: $(MAKE); $(unstage)
12529 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12531 r=`${PWD_COMMAND}`; export r; \
12532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12533 $(HOST_EXPORTS) \
12534 echo Configuring in $(HOST_SUBDIR)/gprof; \
12535 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12536 case $(srcdir) in \
12537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12538 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12540 esac; \
12541 srcdiroption="--srcdir=$${topdir}/gprof"; \
12542 libsrcdir="$$s/gprof"; \
12543 $(SHELL) $${libsrcdir}/configure \
12544 $(HOST_CONFIGARGS) $${srcdiroption} \
12545 || exit 1
12546 @endif gprof
12552 .PHONY: all-gprof maybe-all-gprof
12553 maybe-all-gprof:
12554 @if gprof
12555 TARGET-gprof=all
12556 maybe-all-gprof: all-gprof
12557 all-gprof: configure-gprof
12558 @: $(MAKE); $(unstage)
12559 @r=`${PWD_COMMAND}`; export r; \
12560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12561 $(HOST_EXPORTS) \
12562 (cd $(HOST_SUBDIR)/gprof && \
12563 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12564 @endif gprof
12569 .PHONY: check-gprof maybe-check-gprof
12570 maybe-check-gprof:
12571 @if gprof
12572 maybe-check-gprof: check-gprof
12574 check-gprof:
12575 @: $(MAKE); $(unstage)
12576 @r=`${PWD_COMMAND}`; export r; \
12577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12578 $(HOST_EXPORTS) \
12579 (cd $(HOST_SUBDIR)/gprof && \
12580 $(MAKE) $(FLAGS_TO_PASS) check)
12582 @endif gprof
12584 .PHONY: install-gprof maybe-install-gprof
12585 maybe-install-gprof:
12586 @if gprof
12587 maybe-install-gprof: install-gprof
12589 install-gprof: installdirs
12590 @: $(MAKE); $(unstage)
12591 @r=`${PWD_COMMAND}`; export r; \
12592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 $(HOST_EXPORTS) \
12594 (cd $(HOST_SUBDIR)/gprof && \
12595 $(MAKE) $(FLAGS_TO_PASS) install)
12597 @endif gprof
12599 # Other targets (info, dvi, etc.)
12601 .PHONY: maybe-info-gprof info-gprof
12602 maybe-info-gprof:
12603 @if gprof
12604 maybe-info-gprof: info-gprof
12606 info-gprof: \
12607 configure-gprof
12608 @: $(MAKE); $(unstage)
12609 @[ -f ./gprof/Makefile ] || exit 0; \
12610 r=`${PWD_COMMAND}`; export r; \
12611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12612 $(HOST_EXPORTS) \
12613 for flag in $(EXTRA_HOST_FLAGS) ; do \
12614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12615 done; \
12616 echo "Doing info in gprof" ; \
12617 (cd $(HOST_SUBDIR)/gprof && \
12618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12620 "RANLIB=$${RANLIB}" \
12621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12622 info) \
12623 || exit 1
12625 @endif gprof
12627 .PHONY: maybe-dvi-gprof dvi-gprof
12628 maybe-dvi-gprof:
12629 @if gprof
12630 maybe-dvi-gprof: dvi-gprof
12632 dvi-gprof: \
12633 configure-gprof
12634 @: $(MAKE); $(unstage)
12635 @[ -f ./gprof/Makefile ] || exit 0; \
12636 r=`${PWD_COMMAND}`; export r; \
12637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12638 $(HOST_EXPORTS) \
12639 for flag in $(EXTRA_HOST_FLAGS) ; do \
12640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12641 done; \
12642 echo "Doing dvi in gprof" ; \
12643 (cd $(HOST_SUBDIR)/gprof && \
12644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12646 "RANLIB=$${RANLIB}" \
12647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12648 dvi) \
12649 || exit 1
12651 @endif gprof
12653 .PHONY: maybe-html-gprof html-gprof
12654 maybe-html-gprof:
12655 @if gprof
12656 maybe-html-gprof: html-gprof
12658 html-gprof: \
12659 configure-gprof
12660 @: $(MAKE); $(unstage)
12661 @[ -f ./gprof/Makefile ] || exit 0; \
12662 r=`${PWD_COMMAND}`; export r; \
12663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12664 $(HOST_EXPORTS) \
12665 for flag in $(EXTRA_HOST_FLAGS) ; do \
12666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12667 done; \
12668 echo "Doing html in gprof" ; \
12669 (cd $(HOST_SUBDIR)/gprof && \
12670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12672 "RANLIB=$${RANLIB}" \
12673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12674 html) \
12675 || exit 1
12677 @endif gprof
12679 .PHONY: maybe-TAGS-gprof TAGS-gprof
12680 maybe-TAGS-gprof:
12681 @if gprof
12682 maybe-TAGS-gprof: TAGS-gprof
12684 TAGS-gprof: \
12685 configure-gprof
12686 @: $(MAKE); $(unstage)
12687 @[ -f ./gprof/Makefile ] || exit 0; \
12688 r=`${PWD_COMMAND}`; export r; \
12689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12690 $(HOST_EXPORTS) \
12691 for flag in $(EXTRA_HOST_FLAGS) ; do \
12692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12693 done; \
12694 echo "Doing TAGS in gprof" ; \
12695 (cd $(HOST_SUBDIR)/gprof && \
12696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12698 "RANLIB=$${RANLIB}" \
12699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12700 TAGS) \
12701 || exit 1
12703 @endif gprof
12705 .PHONY: maybe-install-info-gprof install-info-gprof
12706 maybe-install-info-gprof:
12707 @if gprof
12708 maybe-install-info-gprof: install-info-gprof
12710 install-info-gprof: \
12711 configure-gprof \
12712 info-gprof
12713 @: $(MAKE); $(unstage)
12714 @[ -f ./gprof/Makefile ] || exit 0; \
12715 r=`${PWD_COMMAND}`; export r; \
12716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12717 $(HOST_EXPORTS) \
12718 for flag in $(EXTRA_HOST_FLAGS) ; do \
12719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12720 done; \
12721 echo "Doing install-info in gprof" ; \
12722 (cd $(HOST_SUBDIR)/gprof && \
12723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12725 "RANLIB=$${RANLIB}" \
12726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12727 install-info) \
12728 || exit 1
12730 @endif gprof
12732 .PHONY: maybe-installcheck-gprof installcheck-gprof
12733 maybe-installcheck-gprof:
12734 @if gprof
12735 maybe-installcheck-gprof: installcheck-gprof
12737 installcheck-gprof: \
12738 configure-gprof
12739 @: $(MAKE); $(unstage)
12740 @[ -f ./gprof/Makefile ] || exit 0; \
12741 r=`${PWD_COMMAND}`; export r; \
12742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12743 $(HOST_EXPORTS) \
12744 for flag in $(EXTRA_HOST_FLAGS) ; do \
12745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12746 done; \
12747 echo "Doing installcheck in gprof" ; \
12748 (cd $(HOST_SUBDIR)/gprof && \
12749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12751 "RANLIB=$${RANLIB}" \
12752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12753 installcheck) \
12754 || exit 1
12756 @endif gprof
12758 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12759 maybe-mostlyclean-gprof:
12760 @if gprof
12761 maybe-mostlyclean-gprof: mostlyclean-gprof
12763 mostlyclean-gprof:
12764 @: $(MAKE); $(unstage)
12765 @[ -f ./gprof/Makefile ] || exit 0; \
12766 r=`${PWD_COMMAND}`; export r; \
12767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12768 $(HOST_EXPORTS) \
12769 for flag in $(EXTRA_HOST_FLAGS) ; do \
12770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12771 done; \
12772 echo "Doing mostlyclean in gprof" ; \
12773 (cd $(HOST_SUBDIR)/gprof && \
12774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776 "RANLIB=$${RANLIB}" \
12777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12778 mostlyclean) \
12779 || exit 1
12781 @endif gprof
12783 .PHONY: maybe-clean-gprof clean-gprof
12784 maybe-clean-gprof:
12785 @if gprof
12786 maybe-clean-gprof: clean-gprof
12788 clean-gprof:
12789 @: $(MAKE); $(unstage)
12790 @[ -f ./gprof/Makefile ] || exit 0; \
12791 r=`${PWD_COMMAND}`; export r; \
12792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12793 $(HOST_EXPORTS) \
12794 for flag in $(EXTRA_HOST_FLAGS) ; do \
12795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12796 done; \
12797 echo "Doing clean in gprof" ; \
12798 (cd $(HOST_SUBDIR)/gprof && \
12799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12801 "RANLIB=$${RANLIB}" \
12802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12803 clean) \
12804 || exit 1
12806 @endif gprof
12808 .PHONY: maybe-distclean-gprof distclean-gprof
12809 maybe-distclean-gprof:
12810 @if gprof
12811 maybe-distclean-gprof: distclean-gprof
12813 distclean-gprof:
12814 @: $(MAKE); $(unstage)
12815 @[ -f ./gprof/Makefile ] || exit 0; \
12816 r=`${PWD_COMMAND}`; export r; \
12817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12818 $(HOST_EXPORTS) \
12819 for flag in $(EXTRA_HOST_FLAGS) ; do \
12820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12821 done; \
12822 echo "Doing distclean in gprof" ; \
12823 (cd $(HOST_SUBDIR)/gprof && \
12824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12826 "RANLIB=$${RANLIB}" \
12827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12828 distclean) \
12829 || exit 1
12831 @endif gprof
12833 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12834 maybe-maintainer-clean-gprof:
12835 @if gprof
12836 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12838 maintainer-clean-gprof:
12839 @: $(MAKE); $(unstage)
12840 @[ -f ./gprof/Makefile ] || exit 0; \
12841 r=`${PWD_COMMAND}`; export r; \
12842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12843 $(HOST_EXPORTS) \
12844 for flag in $(EXTRA_HOST_FLAGS) ; do \
12845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12846 done; \
12847 echo "Doing maintainer-clean in gprof" ; \
12848 (cd $(HOST_SUBDIR)/gprof && \
12849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12851 "RANLIB=$${RANLIB}" \
12852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12853 maintainer-clean) \
12854 || exit 1
12856 @endif gprof
12860 .PHONY: configure-gzip maybe-configure-gzip
12861 maybe-configure-gzip:
12862 @if gzip
12863 maybe-configure-gzip: configure-gzip
12864 configure-gzip:
12865 @: $(MAKE); $(unstage)
12866 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12867 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12868 r=`${PWD_COMMAND}`; export r; \
12869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12870 $(HOST_EXPORTS) \
12871 echo Configuring in $(HOST_SUBDIR)/gzip; \
12872 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12873 case $(srcdir) in \
12874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12875 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12877 esac; \
12878 srcdiroption="--srcdir=$${topdir}/gzip"; \
12879 libsrcdir="$$s/gzip"; \
12880 $(SHELL) $${libsrcdir}/configure \
12881 $(HOST_CONFIGARGS) $${srcdiroption} \
12882 || exit 1
12883 @endif gzip
12889 .PHONY: all-gzip maybe-all-gzip
12890 maybe-all-gzip:
12891 @if gzip
12892 TARGET-gzip=all
12893 maybe-all-gzip: all-gzip
12894 all-gzip: configure-gzip
12895 @: $(MAKE); $(unstage)
12896 @r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 (cd $(HOST_SUBDIR)/gzip && \
12900 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12901 @endif gzip
12906 .PHONY: check-gzip maybe-check-gzip
12907 maybe-check-gzip:
12908 @if gzip
12909 maybe-check-gzip: check-gzip
12911 check-gzip:
12912 @: $(MAKE); $(unstage)
12913 @r=`${PWD_COMMAND}`; export r; \
12914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12915 $(HOST_EXPORTS) \
12916 (cd $(HOST_SUBDIR)/gzip && \
12917 $(MAKE) $(FLAGS_TO_PASS) check)
12919 @endif gzip
12921 .PHONY: install-gzip maybe-install-gzip
12922 maybe-install-gzip:
12923 @if gzip
12924 maybe-install-gzip: install-gzip
12926 install-gzip: installdirs
12927 @: $(MAKE); $(unstage)
12928 @r=`${PWD_COMMAND}`; export r; \
12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930 $(HOST_EXPORTS) \
12931 (cd $(HOST_SUBDIR)/gzip && \
12932 $(MAKE) $(FLAGS_TO_PASS) install)
12934 @endif gzip
12936 # Other targets (info, dvi, etc.)
12938 .PHONY: maybe-info-gzip info-gzip
12939 maybe-info-gzip:
12940 @if gzip
12941 maybe-info-gzip: info-gzip
12943 info-gzip: \
12944 configure-gzip
12945 @: $(MAKE); $(unstage)
12946 @[ -f ./gzip/Makefile ] || exit 0; \
12947 r=`${PWD_COMMAND}`; export r; \
12948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12949 $(HOST_EXPORTS) \
12950 for flag in $(EXTRA_HOST_FLAGS) ; do \
12951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12952 done; \
12953 echo "Doing info in gzip" ; \
12954 (cd $(HOST_SUBDIR)/gzip && \
12955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12957 "RANLIB=$${RANLIB}" \
12958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12959 info) \
12960 || exit 1
12962 @endif gzip
12964 .PHONY: maybe-dvi-gzip dvi-gzip
12965 maybe-dvi-gzip:
12966 @if gzip
12967 maybe-dvi-gzip: dvi-gzip
12969 dvi-gzip: \
12970 configure-gzip
12971 @: $(MAKE); $(unstage)
12972 @[ -f ./gzip/Makefile ] || exit 0; \
12973 r=`${PWD_COMMAND}`; export r; \
12974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12975 $(HOST_EXPORTS) \
12976 for flag in $(EXTRA_HOST_FLAGS) ; do \
12977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12978 done; \
12979 echo "Doing dvi in gzip" ; \
12980 (cd $(HOST_SUBDIR)/gzip && \
12981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12983 "RANLIB=$${RANLIB}" \
12984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12985 dvi) \
12986 || exit 1
12988 @endif gzip
12990 .PHONY: maybe-html-gzip html-gzip
12991 maybe-html-gzip:
12992 @if gzip
12993 maybe-html-gzip: html-gzip
12995 html-gzip: \
12996 configure-gzip
12997 @: $(MAKE); $(unstage)
12998 @[ -f ./gzip/Makefile ] || exit 0; \
12999 r=`${PWD_COMMAND}`; export r; \
13000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13001 $(HOST_EXPORTS) \
13002 for flag in $(EXTRA_HOST_FLAGS) ; do \
13003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13004 done; \
13005 echo "Doing html in gzip" ; \
13006 (cd $(HOST_SUBDIR)/gzip && \
13007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13009 "RANLIB=$${RANLIB}" \
13010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13011 html) \
13012 || exit 1
13014 @endif gzip
13016 .PHONY: maybe-TAGS-gzip TAGS-gzip
13017 maybe-TAGS-gzip:
13018 @if gzip
13019 maybe-TAGS-gzip: TAGS-gzip
13021 TAGS-gzip: \
13022 configure-gzip
13023 @: $(MAKE); $(unstage)
13024 @[ -f ./gzip/Makefile ] || exit 0; \
13025 r=`${PWD_COMMAND}`; export r; \
13026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13027 $(HOST_EXPORTS) \
13028 for flag in $(EXTRA_HOST_FLAGS) ; do \
13029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13030 done; \
13031 echo "Doing TAGS in gzip" ; \
13032 (cd $(HOST_SUBDIR)/gzip && \
13033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13035 "RANLIB=$${RANLIB}" \
13036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13037 TAGS) \
13038 || exit 1
13040 @endif gzip
13042 .PHONY: maybe-install-info-gzip install-info-gzip
13043 maybe-install-info-gzip:
13044 @if gzip
13045 maybe-install-info-gzip: install-info-gzip
13047 install-info-gzip: \
13048 configure-gzip \
13049 info-gzip
13050 @: $(MAKE); $(unstage)
13051 @[ -f ./gzip/Makefile ] || exit 0; \
13052 r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13054 $(HOST_EXPORTS) \
13055 for flag in $(EXTRA_HOST_FLAGS) ; do \
13056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13057 done; \
13058 echo "Doing install-info in gzip" ; \
13059 (cd $(HOST_SUBDIR)/gzip && \
13060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13062 "RANLIB=$${RANLIB}" \
13063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13064 install-info) \
13065 || exit 1
13067 @endif gzip
13069 .PHONY: maybe-installcheck-gzip installcheck-gzip
13070 maybe-installcheck-gzip:
13071 @if gzip
13072 maybe-installcheck-gzip: installcheck-gzip
13074 installcheck-gzip: \
13075 configure-gzip
13076 @: $(MAKE); $(unstage)
13077 @[ -f ./gzip/Makefile ] || exit 0; \
13078 r=`${PWD_COMMAND}`; export r; \
13079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13080 $(HOST_EXPORTS) \
13081 for flag in $(EXTRA_HOST_FLAGS) ; do \
13082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13083 done; \
13084 echo "Doing installcheck in gzip" ; \
13085 (cd $(HOST_SUBDIR)/gzip && \
13086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13088 "RANLIB=$${RANLIB}" \
13089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13090 installcheck) \
13091 || exit 1
13093 @endif gzip
13095 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13096 maybe-mostlyclean-gzip:
13097 @if gzip
13098 maybe-mostlyclean-gzip: mostlyclean-gzip
13100 mostlyclean-gzip:
13101 @: $(MAKE); $(unstage)
13102 @[ -f ./gzip/Makefile ] || exit 0; \
13103 r=`${PWD_COMMAND}`; export r; \
13104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13105 $(HOST_EXPORTS) \
13106 for flag in $(EXTRA_HOST_FLAGS) ; do \
13107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13108 done; \
13109 echo "Doing mostlyclean in gzip" ; \
13110 (cd $(HOST_SUBDIR)/gzip && \
13111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13113 "RANLIB=$${RANLIB}" \
13114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13115 mostlyclean) \
13116 || exit 1
13118 @endif gzip
13120 .PHONY: maybe-clean-gzip clean-gzip
13121 maybe-clean-gzip:
13122 @if gzip
13123 maybe-clean-gzip: clean-gzip
13125 clean-gzip:
13126 @: $(MAKE); $(unstage)
13127 @[ -f ./gzip/Makefile ] || exit 0; \
13128 r=`${PWD_COMMAND}`; export r; \
13129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13130 $(HOST_EXPORTS) \
13131 for flag in $(EXTRA_HOST_FLAGS) ; do \
13132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13133 done; \
13134 echo "Doing clean in gzip" ; \
13135 (cd $(HOST_SUBDIR)/gzip && \
13136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13138 "RANLIB=$${RANLIB}" \
13139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13140 clean) \
13141 || exit 1
13143 @endif gzip
13145 .PHONY: maybe-distclean-gzip distclean-gzip
13146 maybe-distclean-gzip:
13147 @if gzip
13148 maybe-distclean-gzip: distclean-gzip
13150 distclean-gzip:
13151 @: $(MAKE); $(unstage)
13152 @[ -f ./gzip/Makefile ] || exit 0; \
13153 r=`${PWD_COMMAND}`; export r; \
13154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13155 $(HOST_EXPORTS) \
13156 for flag in $(EXTRA_HOST_FLAGS) ; do \
13157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13158 done; \
13159 echo "Doing distclean in gzip" ; \
13160 (cd $(HOST_SUBDIR)/gzip && \
13161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13163 "RANLIB=$${RANLIB}" \
13164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13165 distclean) \
13166 || exit 1
13168 @endif gzip
13170 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13171 maybe-maintainer-clean-gzip:
13172 @if gzip
13173 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13175 maintainer-clean-gzip:
13176 @: $(MAKE); $(unstage)
13177 @[ -f ./gzip/Makefile ] || exit 0; \
13178 r=`${PWD_COMMAND}`; export r; \
13179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13180 $(HOST_EXPORTS) \
13181 for flag in $(EXTRA_HOST_FLAGS) ; do \
13182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13183 done; \
13184 echo "Doing maintainer-clean in gzip" ; \
13185 (cd $(HOST_SUBDIR)/gzip && \
13186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13188 "RANLIB=$${RANLIB}" \
13189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13190 maintainer-clean) \
13191 || exit 1
13193 @endif gzip
13197 .PHONY: configure-hello maybe-configure-hello
13198 maybe-configure-hello:
13199 @if hello
13200 maybe-configure-hello: configure-hello
13201 configure-hello:
13202 @: $(MAKE); $(unstage)
13203 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13205 r=`${PWD_COMMAND}`; export r; \
13206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13207 $(HOST_EXPORTS) \
13208 echo Configuring in $(HOST_SUBDIR)/hello; \
13209 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13210 case $(srcdir) in \
13211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13212 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13214 esac; \
13215 srcdiroption="--srcdir=$${topdir}/hello"; \
13216 libsrcdir="$$s/hello"; \
13217 $(SHELL) $${libsrcdir}/configure \
13218 $(HOST_CONFIGARGS) $${srcdiroption} \
13219 || exit 1
13220 @endif hello
13226 .PHONY: all-hello maybe-all-hello
13227 maybe-all-hello:
13228 @if hello
13229 TARGET-hello=all
13230 maybe-all-hello: all-hello
13231 all-hello: configure-hello
13232 @: $(MAKE); $(unstage)
13233 @r=`${PWD_COMMAND}`; export r; \
13234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 $(HOST_EXPORTS) \
13236 (cd $(HOST_SUBDIR)/hello && \
13237 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13238 @endif hello
13243 .PHONY: check-hello maybe-check-hello
13244 maybe-check-hello:
13245 @if hello
13246 maybe-check-hello: check-hello
13248 check-hello:
13249 @: $(MAKE); $(unstage)
13250 @r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 $(HOST_EXPORTS) \
13253 (cd $(HOST_SUBDIR)/hello && \
13254 $(MAKE) $(FLAGS_TO_PASS) check)
13256 @endif hello
13258 .PHONY: install-hello maybe-install-hello
13259 maybe-install-hello:
13260 @if hello
13261 maybe-install-hello: install-hello
13263 install-hello: installdirs
13264 @: $(MAKE); $(unstage)
13265 @r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13267 $(HOST_EXPORTS) \
13268 (cd $(HOST_SUBDIR)/hello && \
13269 $(MAKE) $(FLAGS_TO_PASS) install)
13271 @endif hello
13273 # Other targets (info, dvi, etc.)
13275 .PHONY: maybe-info-hello info-hello
13276 maybe-info-hello:
13277 @if hello
13278 maybe-info-hello: info-hello
13280 info-hello: \
13281 configure-hello
13282 @: $(MAKE); $(unstage)
13283 @[ -f ./hello/Makefile ] || exit 0; \
13284 r=`${PWD_COMMAND}`; export r; \
13285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13286 $(HOST_EXPORTS) \
13287 for flag in $(EXTRA_HOST_FLAGS) ; do \
13288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13289 done; \
13290 echo "Doing info in hello" ; \
13291 (cd $(HOST_SUBDIR)/hello && \
13292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13294 "RANLIB=$${RANLIB}" \
13295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13296 info) \
13297 || exit 1
13299 @endif hello
13301 .PHONY: maybe-dvi-hello dvi-hello
13302 maybe-dvi-hello:
13303 @if hello
13304 maybe-dvi-hello: dvi-hello
13306 dvi-hello: \
13307 configure-hello
13308 @: $(MAKE); $(unstage)
13309 @[ -f ./hello/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(HOST_EXPORTS) \
13313 for flag in $(EXTRA_HOST_FLAGS) ; do \
13314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13315 done; \
13316 echo "Doing dvi in hello" ; \
13317 (cd $(HOST_SUBDIR)/hello && \
13318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13320 "RANLIB=$${RANLIB}" \
13321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13322 dvi) \
13323 || exit 1
13325 @endif hello
13327 .PHONY: maybe-html-hello html-hello
13328 maybe-html-hello:
13329 @if hello
13330 maybe-html-hello: html-hello
13332 html-hello: \
13333 configure-hello
13334 @: $(MAKE); $(unstage)
13335 @[ -f ./hello/Makefile ] || exit 0; \
13336 r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13338 $(HOST_EXPORTS) \
13339 for flag in $(EXTRA_HOST_FLAGS) ; do \
13340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13341 done; \
13342 echo "Doing html in hello" ; \
13343 (cd $(HOST_SUBDIR)/hello && \
13344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13346 "RANLIB=$${RANLIB}" \
13347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13348 html) \
13349 || exit 1
13351 @endif hello
13353 .PHONY: maybe-TAGS-hello TAGS-hello
13354 maybe-TAGS-hello:
13355 @if hello
13356 maybe-TAGS-hello: TAGS-hello
13358 TAGS-hello: \
13359 configure-hello
13360 @: $(MAKE); $(unstage)
13361 @[ -f ./hello/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 $(HOST_EXPORTS) \
13365 for flag in $(EXTRA_HOST_FLAGS) ; do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13367 done; \
13368 echo "Doing TAGS in hello" ; \
13369 (cd $(HOST_SUBDIR)/hello && \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13374 TAGS) \
13375 || exit 1
13377 @endif hello
13379 .PHONY: maybe-install-info-hello install-info-hello
13380 maybe-install-info-hello:
13381 @if hello
13382 maybe-install-info-hello: install-info-hello
13384 install-info-hello: \
13385 configure-hello \
13386 info-hello
13387 @: $(MAKE); $(unstage)
13388 @[ -f ./hello/Makefile ] || exit 0; \
13389 r=`${PWD_COMMAND}`; export r; \
13390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13391 $(HOST_EXPORTS) \
13392 for flag in $(EXTRA_HOST_FLAGS) ; do \
13393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13394 done; \
13395 echo "Doing install-info in hello" ; \
13396 (cd $(HOST_SUBDIR)/hello && \
13397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13399 "RANLIB=$${RANLIB}" \
13400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13401 install-info) \
13402 || exit 1
13404 @endif hello
13406 .PHONY: maybe-installcheck-hello installcheck-hello
13407 maybe-installcheck-hello:
13408 @if hello
13409 maybe-installcheck-hello: installcheck-hello
13411 installcheck-hello: \
13412 configure-hello
13413 @: $(MAKE); $(unstage)
13414 @[ -f ./hello/Makefile ] || exit 0; \
13415 r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 $(HOST_EXPORTS) \
13418 for flag in $(EXTRA_HOST_FLAGS) ; do \
13419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13420 done; \
13421 echo "Doing installcheck in hello" ; \
13422 (cd $(HOST_SUBDIR)/hello && \
13423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13425 "RANLIB=$${RANLIB}" \
13426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13427 installcheck) \
13428 || exit 1
13430 @endif hello
13432 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13433 maybe-mostlyclean-hello:
13434 @if hello
13435 maybe-mostlyclean-hello: mostlyclean-hello
13437 mostlyclean-hello:
13438 @: $(MAKE); $(unstage)
13439 @[ -f ./hello/Makefile ] || exit 0; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 $(HOST_EXPORTS) \
13443 for flag in $(EXTRA_HOST_FLAGS) ; do \
13444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13445 done; \
13446 echo "Doing mostlyclean in hello" ; \
13447 (cd $(HOST_SUBDIR)/hello && \
13448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13450 "RANLIB=$${RANLIB}" \
13451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13452 mostlyclean) \
13453 || exit 1
13455 @endif hello
13457 .PHONY: maybe-clean-hello clean-hello
13458 maybe-clean-hello:
13459 @if hello
13460 maybe-clean-hello: clean-hello
13462 clean-hello:
13463 @: $(MAKE); $(unstage)
13464 @[ -f ./hello/Makefile ] || exit 0; \
13465 r=`${PWD_COMMAND}`; export r; \
13466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13467 $(HOST_EXPORTS) \
13468 for flag in $(EXTRA_HOST_FLAGS) ; do \
13469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13470 done; \
13471 echo "Doing clean in hello" ; \
13472 (cd $(HOST_SUBDIR)/hello && \
13473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13475 "RANLIB=$${RANLIB}" \
13476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13477 clean) \
13478 || exit 1
13480 @endif hello
13482 .PHONY: maybe-distclean-hello distclean-hello
13483 maybe-distclean-hello:
13484 @if hello
13485 maybe-distclean-hello: distclean-hello
13487 distclean-hello:
13488 @: $(MAKE); $(unstage)
13489 @[ -f ./hello/Makefile ] || exit 0; \
13490 r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13492 $(HOST_EXPORTS) \
13493 for flag in $(EXTRA_HOST_FLAGS) ; do \
13494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13495 done; \
13496 echo "Doing distclean in hello" ; \
13497 (cd $(HOST_SUBDIR)/hello && \
13498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13500 "RANLIB=$${RANLIB}" \
13501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13502 distclean) \
13503 || exit 1
13505 @endif hello
13507 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13508 maybe-maintainer-clean-hello:
13509 @if hello
13510 maybe-maintainer-clean-hello: maintainer-clean-hello
13512 maintainer-clean-hello:
13513 @: $(MAKE); $(unstage)
13514 @[ -f ./hello/Makefile ] || exit 0; \
13515 r=`${PWD_COMMAND}`; export r; \
13516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13517 $(HOST_EXPORTS) \
13518 for flag in $(EXTRA_HOST_FLAGS) ; do \
13519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13520 done; \
13521 echo "Doing maintainer-clean in hello" ; \
13522 (cd $(HOST_SUBDIR)/hello && \
13523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13525 "RANLIB=$${RANLIB}" \
13526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13527 maintainer-clean) \
13528 || exit 1
13530 @endif hello
13534 .PHONY: configure-indent maybe-configure-indent
13535 maybe-configure-indent:
13536 @if indent
13537 maybe-configure-indent: configure-indent
13538 configure-indent:
13539 @: $(MAKE); $(unstage)
13540 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13542 r=`${PWD_COMMAND}`; export r; \
13543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13544 $(HOST_EXPORTS) \
13545 echo Configuring in $(HOST_SUBDIR)/indent; \
13546 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13547 case $(srcdir) in \
13548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13549 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13551 esac; \
13552 srcdiroption="--srcdir=$${topdir}/indent"; \
13553 libsrcdir="$$s/indent"; \
13554 $(SHELL) $${libsrcdir}/configure \
13555 $(HOST_CONFIGARGS) $${srcdiroption} \
13556 || exit 1
13557 @endif indent
13563 .PHONY: all-indent maybe-all-indent
13564 maybe-all-indent:
13565 @if indent
13566 TARGET-indent=all
13567 maybe-all-indent: all-indent
13568 all-indent: configure-indent
13569 @: $(MAKE); $(unstage)
13570 @r=`${PWD_COMMAND}`; export r; \
13571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13572 $(HOST_EXPORTS) \
13573 (cd $(HOST_SUBDIR)/indent && \
13574 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13575 @endif indent
13580 .PHONY: check-indent maybe-check-indent
13581 maybe-check-indent:
13582 @if indent
13583 maybe-check-indent: check-indent
13585 check-indent:
13586 @: $(MAKE); $(unstage)
13587 @r=`${PWD_COMMAND}`; export r; \
13588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13589 $(HOST_EXPORTS) \
13590 (cd $(HOST_SUBDIR)/indent && \
13591 $(MAKE) $(FLAGS_TO_PASS) check)
13593 @endif indent
13595 .PHONY: install-indent maybe-install-indent
13596 maybe-install-indent:
13597 @if indent
13598 maybe-install-indent: install-indent
13600 install-indent: installdirs
13601 @: $(MAKE); $(unstage)
13602 @r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(HOST_EXPORTS) \
13605 (cd $(HOST_SUBDIR)/indent && \
13606 $(MAKE) $(FLAGS_TO_PASS) install)
13608 @endif indent
13610 # Other targets (info, dvi, etc.)
13612 .PHONY: maybe-info-indent info-indent
13613 maybe-info-indent:
13614 @if indent
13615 maybe-info-indent: info-indent
13617 info-indent: \
13618 configure-indent
13619 @: $(MAKE); $(unstage)
13620 @[ -f ./indent/Makefile ] || exit 0; \
13621 r=`${PWD_COMMAND}`; export r; \
13622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13623 $(HOST_EXPORTS) \
13624 for flag in $(EXTRA_HOST_FLAGS) ; do \
13625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13626 done; \
13627 echo "Doing info in indent" ; \
13628 (cd $(HOST_SUBDIR)/indent && \
13629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13631 "RANLIB=$${RANLIB}" \
13632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13633 info) \
13634 || exit 1
13636 @endif indent
13638 .PHONY: maybe-dvi-indent dvi-indent
13639 maybe-dvi-indent:
13640 @if indent
13641 maybe-dvi-indent: dvi-indent
13643 dvi-indent: \
13644 configure-indent
13645 @: $(MAKE); $(unstage)
13646 @[ -f ./indent/Makefile ] || exit 0; \
13647 r=`${PWD_COMMAND}`; export r; \
13648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13649 $(HOST_EXPORTS) \
13650 for flag in $(EXTRA_HOST_FLAGS) ; do \
13651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13652 done; \
13653 echo "Doing dvi in indent" ; \
13654 (cd $(HOST_SUBDIR)/indent && \
13655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13657 "RANLIB=$${RANLIB}" \
13658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13659 dvi) \
13660 || exit 1
13662 @endif indent
13664 .PHONY: maybe-html-indent html-indent
13665 maybe-html-indent:
13666 @if indent
13667 maybe-html-indent: html-indent
13669 html-indent: \
13670 configure-indent
13671 @: $(MAKE); $(unstage)
13672 @[ -f ./indent/Makefile ] || exit 0; \
13673 r=`${PWD_COMMAND}`; export r; \
13674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13675 $(HOST_EXPORTS) \
13676 for flag in $(EXTRA_HOST_FLAGS) ; do \
13677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13678 done; \
13679 echo "Doing html in indent" ; \
13680 (cd $(HOST_SUBDIR)/indent && \
13681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13683 "RANLIB=$${RANLIB}" \
13684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13685 html) \
13686 || exit 1
13688 @endif indent
13690 .PHONY: maybe-TAGS-indent TAGS-indent
13691 maybe-TAGS-indent:
13692 @if indent
13693 maybe-TAGS-indent: TAGS-indent
13695 TAGS-indent: \
13696 configure-indent
13697 @: $(MAKE); $(unstage)
13698 @[ -f ./indent/Makefile ] || exit 0; \
13699 r=`${PWD_COMMAND}`; export r; \
13700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13701 $(HOST_EXPORTS) \
13702 for flag in $(EXTRA_HOST_FLAGS) ; do \
13703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13704 done; \
13705 echo "Doing TAGS in indent" ; \
13706 (cd $(HOST_SUBDIR)/indent && \
13707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13709 "RANLIB=$${RANLIB}" \
13710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13711 TAGS) \
13712 || exit 1
13714 @endif indent
13716 .PHONY: maybe-install-info-indent install-info-indent
13717 maybe-install-info-indent:
13718 @if indent
13719 maybe-install-info-indent: install-info-indent
13721 install-info-indent: \
13722 configure-indent \
13723 info-indent
13724 @: $(MAKE); $(unstage)
13725 @[ -f ./indent/Makefile ] || exit 0; \
13726 r=`${PWD_COMMAND}`; export r; \
13727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13728 $(HOST_EXPORTS) \
13729 for flag in $(EXTRA_HOST_FLAGS) ; do \
13730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13731 done; \
13732 echo "Doing install-info in indent" ; \
13733 (cd $(HOST_SUBDIR)/indent && \
13734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13736 "RANLIB=$${RANLIB}" \
13737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13738 install-info) \
13739 || exit 1
13741 @endif indent
13743 .PHONY: maybe-installcheck-indent installcheck-indent
13744 maybe-installcheck-indent:
13745 @if indent
13746 maybe-installcheck-indent: installcheck-indent
13748 installcheck-indent: \
13749 configure-indent
13750 @: $(MAKE); $(unstage)
13751 @[ -f ./indent/Makefile ] || exit 0; \
13752 r=`${PWD_COMMAND}`; export r; \
13753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13754 $(HOST_EXPORTS) \
13755 for flag in $(EXTRA_HOST_FLAGS) ; do \
13756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13757 done; \
13758 echo "Doing installcheck in indent" ; \
13759 (cd $(HOST_SUBDIR)/indent && \
13760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13762 "RANLIB=$${RANLIB}" \
13763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13764 installcheck) \
13765 || exit 1
13767 @endif indent
13769 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13770 maybe-mostlyclean-indent:
13771 @if indent
13772 maybe-mostlyclean-indent: mostlyclean-indent
13774 mostlyclean-indent:
13775 @: $(MAKE); $(unstage)
13776 @[ -f ./indent/Makefile ] || exit 0; \
13777 r=`${PWD_COMMAND}`; export r; \
13778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13779 $(HOST_EXPORTS) \
13780 for flag in $(EXTRA_HOST_FLAGS) ; do \
13781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13782 done; \
13783 echo "Doing mostlyclean in indent" ; \
13784 (cd $(HOST_SUBDIR)/indent && \
13785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13787 "RANLIB=$${RANLIB}" \
13788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13789 mostlyclean) \
13790 || exit 1
13792 @endif indent
13794 .PHONY: maybe-clean-indent clean-indent
13795 maybe-clean-indent:
13796 @if indent
13797 maybe-clean-indent: clean-indent
13799 clean-indent:
13800 @: $(MAKE); $(unstage)
13801 @[ -f ./indent/Makefile ] || exit 0; \
13802 r=`${PWD_COMMAND}`; export r; \
13803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13804 $(HOST_EXPORTS) \
13805 for flag in $(EXTRA_HOST_FLAGS) ; do \
13806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13807 done; \
13808 echo "Doing clean in indent" ; \
13809 (cd $(HOST_SUBDIR)/indent && \
13810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13812 "RANLIB=$${RANLIB}" \
13813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13814 clean) \
13815 || exit 1
13817 @endif indent
13819 .PHONY: maybe-distclean-indent distclean-indent
13820 maybe-distclean-indent:
13821 @if indent
13822 maybe-distclean-indent: distclean-indent
13824 distclean-indent:
13825 @: $(MAKE); $(unstage)
13826 @[ -f ./indent/Makefile ] || exit 0; \
13827 r=`${PWD_COMMAND}`; export r; \
13828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13829 $(HOST_EXPORTS) \
13830 for flag in $(EXTRA_HOST_FLAGS) ; do \
13831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13832 done; \
13833 echo "Doing distclean in indent" ; \
13834 (cd $(HOST_SUBDIR)/indent && \
13835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13837 "RANLIB=$${RANLIB}" \
13838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13839 distclean) \
13840 || exit 1
13842 @endif indent
13844 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13845 maybe-maintainer-clean-indent:
13846 @if indent
13847 maybe-maintainer-clean-indent: maintainer-clean-indent
13849 maintainer-clean-indent:
13850 @: $(MAKE); $(unstage)
13851 @[ -f ./indent/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854 $(HOST_EXPORTS) \
13855 for flag in $(EXTRA_HOST_FLAGS) ; do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13857 done; \
13858 echo "Doing maintainer-clean in indent" ; \
13859 (cd $(HOST_SUBDIR)/indent && \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13864 maintainer-clean) \
13865 || exit 1
13867 @endif indent
13871 .PHONY: configure-intl maybe-configure-intl
13872 maybe-configure-intl:
13873 @if intl
13874 maybe-configure-intl: configure-intl
13875 configure-intl:
13876 @test -f stage_last && exit 0; \
13877 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13879 r=`${PWD_COMMAND}`; export r; \
13880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13881 $(HOST_EXPORTS) \
13882 echo Configuring in $(HOST_SUBDIR)/intl; \
13883 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13884 case $(srcdir) in \
13885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13886 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13888 esac; \
13889 srcdiroption="--srcdir=$${topdir}/intl"; \
13890 libsrcdir="$$s/intl"; \
13891 $(SHELL) $${libsrcdir}/configure \
13892 $(HOST_CONFIGARGS) $${srcdiroption} \
13893 || exit 1
13894 @endif intl
13898 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13899 maybe-configure-stage1-intl:
13900 @if intl-bootstrap
13901 maybe-configure-stage1-intl: configure-stage1-intl
13902 configure-stage1-intl:
13903 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
13904 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13905 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13906 $(HOST_EXPORTS) \
13907 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13909 cd $(HOST_SUBDIR)/intl || exit 1; \
13910 case $(srcdir) in \
13911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13912 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13914 esac; \
13915 srcdiroption="--srcdir=$${topdir}/intl"; \
13916 libsrcdir="$$s/intl"; \
13917 $(SHELL) $${libsrcdir}/configure \
13918 $(HOST_CONFIGARGS) $${srcdiroption} \
13919 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13920 @endif intl-bootstrap
13922 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13923 maybe-configure-stage2-intl:
13924 @if intl-bootstrap
13925 maybe-configure-stage2-intl: configure-stage2-intl
13926 configure-stage2-intl:
13927 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
13928 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13929 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13930 $(HOST_EXPORTS) \
13931 $(POSTSTAGE1_HOST_EXPORTS) \
13932 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13934 cd $(HOST_SUBDIR)/intl || exit 1; \
13935 case $(srcdir) in \
13936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13937 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13939 esac; \
13940 srcdiroption="--srcdir=$${topdir}/intl"; \
13941 libsrcdir="$$s/intl"; \
13942 $(SHELL) $${libsrcdir}/configure \
13943 $(HOST_CONFIGARGS) $${srcdiroption} \
13944 @stage2_werror_flag@
13945 @endif intl-bootstrap
13947 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13948 maybe-configure-stage3-intl:
13949 @if intl-bootstrap
13950 maybe-configure-stage3-intl: configure-stage3-intl
13951 configure-stage3-intl:
13952 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
13953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13954 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13955 $(HOST_EXPORTS) \
13956 $(POSTSTAGE1_HOST_EXPORTS) \
13957 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13959 cd $(HOST_SUBDIR)/intl || exit 1; \
13960 case $(srcdir) in \
13961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13962 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13964 esac; \
13965 srcdiroption="--srcdir=$${topdir}/intl"; \
13966 libsrcdir="$$s/intl"; \
13967 $(SHELL) $${libsrcdir}/configure \
13968 $(HOST_CONFIGARGS) $${srcdiroption} \
13969 @stage2_werror_flag@
13970 @endif intl-bootstrap
13972 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13973 maybe-configure-stage4-intl:
13974 @if intl-bootstrap
13975 maybe-configure-stage4-intl: configure-stage4-intl
13976 configure-stage4-intl:
13977 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
13978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13979 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13980 $(HOST_EXPORTS) \
13981 $(POSTSTAGE1_HOST_EXPORTS) \
13982 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13984 cd $(HOST_SUBDIR)/intl || exit 1; \
13985 case $(srcdir) in \
13986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13987 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13989 esac; \
13990 srcdiroption="--srcdir=$${topdir}/intl"; \
13991 libsrcdir="$$s/intl"; \
13992 $(SHELL) $${libsrcdir}/configure \
13993 $(HOST_CONFIGARGS) $${srcdiroption} \
13994 @stage2_werror_flag@
13995 @endif intl-bootstrap
13997 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
13998 maybe-configure-stageprofile-intl:
13999 @if intl-bootstrap
14000 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14001 configure-stageprofile-intl:
14002 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14004 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14005 $(HOST_EXPORTS) \
14006 $(POSTSTAGE1_HOST_EXPORTS) \
14007 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14009 cd $(HOST_SUBDIR)/intl || exit 1; \
14010 case $(srcdir) in \
14011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14012 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14014 esac; \
14015 srcdiroption="--srcdir=$${topdir}/intl"; \
14016 libsrcdir="$$s/intl"; \
14017 $(SHELL) $${libsrcdir}/configure \
14018 $(HOST_CONFIGARGS) $${srcdiroption} \
14019 @stage2_werror_flag@
14020 @endif intl-bootstrap
14022 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14023 maybe-configure-stagefeedback-intl:
14024 @if intl-bootstrap
14025 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14026 configure-stagefeedback-intl:
14027 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14029 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14030 $(HOST_EXPORTS) \
14031 $(POSTSTAGE1_HOST_EXPORTS) \
14032 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14034 cd $(HOST_SUBDIR)/intl || exit 1; \
14035 case $(srcdir) in \
14036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14037 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14039 esac; \
14040 srcdiroption="--srcdir=$${topdir}/intl"; \
14041 libsrcdir="$$s/intl"; \
14042 $(SHELL) $${libsrcdir}/configure \
14043 $(HOST_CONFIGARGS) $${srcdiroption} \
14044 @stage2_werror_flag@
14045 @endif intl-bootstrap
14051 .PHONY: all-intl maybe-all-intl
14052 maybe-all-intl:
14053 @if intl
14054 TARGET-intl=all
14055 maybe-all-intl: all-intl
14056 all-intl: configure-intl
14057 @test -f stage_last && exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(HOST_EXPORTS) \
14061 (cd $(HOST_SUBDIR)/intl && \
14062 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14063 @endif intl
14067 .PHONY: all-stage1-intl maybe-all-stage1-intl
14068 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14069 maybe-all-stage1-intl:
14070 maybe-clean-stage1-intl:
14071 @if intl-bootstrap
14072 maybe-all-stage1-intl: all-stage1-intl
14073 all-stage1: all-stage1-intl
14074 TARGET-stage1-intl = $(TARGET-intl)
14075 all-stage1-intl: configure-stage1-intl
14076 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14077 @r=`${PWD_COMMAND}`; export r; \
14078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14079 $(HOST_EXPORTS) \
14080 cd $(HOST_SUBDIR)/intl && \
14081 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14082 $(TARGET-stage1-intl)
14084 maybe-clean-stage1-intl: clean-stage1-intl
14085 clean-stage1: clean-stage1-intl
14086 clean-stage1-intl:
14087 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14088 || exit 0 ; \
14089 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14090 cd $(HOST_SUBDIR)/intl && \
14091 $(MAKE) $(FLAGS_TO_PASS) \
14092 CFLAGS="$(STAGE1_CFLAGS)" clean
14093 @endif intl-bootstrap
14096 .PHONY: all-stage2-intl maybe-all-stage2-intl
14097 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14098 maybe-all-stage2-intl:
14099 maybe-clean-stage2-intl:
14100 @if intl-bootstrap
14101 maybe-all-stage2-intl: all-stage2-intl
14102 all-stage2: all-stage2-intl
14103 TARGET-stage2-intl = $(TARGET-intl)
14104 all-stage2-intl: configure-stage2-intl
14105 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14106 @r=`${PWD_COMMAND}`; export r; \
14107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14108 $(HOST_EXPORTS) \
14109 $(POSTSTAGE1_HOST_EXPORTS) \
14110 cd $(HOST_SUBDIR)/intl && \
14111 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14112 $(TARGET-stage2-intl)
14114 maybe-clean-stage2-intl: clean-stage2-intl
14115 clean-stage2: clean-stage2-intl
14116 clean-stage2-intl:
14117 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14118 || exit 0 ; \
14119 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14120 cd $(HOST_SUBDIR)/intl && \
14121 $(MAKE) $(FLAGS_TO_PASS) \
14122 $(POSTSTAGE1_FLAGS_TO_PASS) \
14123 clean
14124 @endif intl-bootstrap
14127 .PHONY: all-stage3-intl maybe-all-stage3-intl
14128 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14129 maybe-all-stage3-intl:
14130 maybe-clean-stage3-intl:
14131 @if intl-bootstrap
14132 maybe-all-stage3-intl: all-stage3-intl
14133 all-stage3: all-stage3-intl
14134 TARGET-stage3-intl = $(TARGET-intl)
14135 all-stage3-intl: configure-stage3-intl
14136 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14137 @r=`${PWD_COMMAND}`; export r; \
14138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14139 $(HOST_EXPORTS) \
14140 $(POSTSTAGE1_HOST_EXPORTS) \
14141 cd $(HOST_SUBDIR)/intl && \
14142 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14143 $(TARGET-stage3-intl)
14145 maybe-clean-stage3-intl: clean-stage3-intl
14146 clean-stage3: clean-stage3-intl
14147 clean-stage3-intl:
14148 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14149 || exit 0 ; \
14150 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14151 cd $(HOST_SUBDIR)/intl && \
14152 $(MAKE) $(FLAGS_TO_PASS) \
14153 $(POSTSTAGE1_FLAGS_TO_PASS) \
14154 clean
14155 @endif intl-bootstrap
14158 .PHONY: all-stage4-intl maybe-all-stage4-intl
14159 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14160 maybe-all-stage4-intl:
14161 maybe-clean-stage4-intl:
14162 @if intl-bootstrap
14163 maybe-all-stage4-intl: all-stage4-intl
14164 all-stage4: all-stage4-intl
14165 TARGET-stage4-intl = $(TARGET-intl)
14166 all-stage4-intl: configure-stage4-intl
14167 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14168 @r=`${PWD_COMMAND}`; export r; \
14169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14170 $(HOST_EXPORTS) \
14171 $(POSTSTAGE1_HOST_EXPORTS) \
14172 cd $(HOST_SUBDIR)/intl && \
14173 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14174 $(TARGET-stage4-intl)
14176 maybe-clean-stage4-intl: clean-stage4-intl
14177 clean-stage4: clean-stage4-intl
14178 clean-stage4-intl:
14179 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14180 || exit 0 ; \
14181 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14182 cd $(HOST_SUBDIR)/intl && \
14183 $(MAKE) $(FLAGS_TO_PASS) \
14184 $(POSTSTAGE1_FLAGS_TO_PASS) \
14185 clean
14186 @endif intl-bootstrap
14189 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14190 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14191 maybe-all-stageprofile-intl:
14192 maybe-clean-stageprofile-intl:
14193 @if intl-bootstrap
14194 maybe-all-stageprofile-intl: all-stageprofile-intl
14195 all-stageprofile: all-stageprofile-intl
14196 TARGET-stageprofile-intl = $(TARGET-intl)
14197 all-stageprofile-intl: configure-stageprofile-intl
14198 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14199 @r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 $(HOST_EXPORTS) \
14202 $(POSTSTAGE1_HOST_EXPORTS) \
14203 cd $(HOST_SUBDIR)/intl && \
14204 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14205 $(TARGET-stageprofile-intl)
14207 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14208 clean-stageprofile: clean-stageprofile-intl
14209 clean-stageprofile-intl:
14210 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14211 || exit 0 ; \
14212 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14213 cd $(HOST_SUBDIR)/intl && \
14214 $(MAKE) $(FLAGS_TO_PASS) \
14215 $(POSTSTAGE1_FLAGS_TO_PASS) \
14216 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14217 @endif intl-bootstrap
14220 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14221 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14222 maybe-all-stagefeedback-intl:
14223 maybe-clean-stagefeedback-intl:
14224 @if intl-bootstrap
14225 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14226 all-stagefeedback: all-stagefeedback-intl
14227 TARGET-stagefeedback-intl = $(TARGET-intl)
14228 all-stagefeedback-intl: configure-stagefeedback-intl
14229 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14230 @r=`${PWD_COMMAND}`; export r; \
14231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14232 $(HOST_EXPORTS) \
14233 $(POSTSTAGE1_HOST_EXPORTS) \
14234 cd $(HOST_SUBDIR)/intl && \
14235 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14236 $(TARGET-stagefeedback-intl)
14238 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14239 clean-stagefeedback: clean-stagefeedback-intl
14240 clean-stagefeedback-intl:
14241 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14242 || exit 0 ; \
14243 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14244 cd $(HOST_SUBDIR)/intl && \
14245 $(MAKE) $(FLAGS_TO_PASS) \
14246 $(POSTSTAGE1_FLAGS_TO_PASS) \
14247 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14248 @endif intl-bootstrap
14254 .PHONY: check-intl maybe-check-intl
14255 maybe-check-intl:
14256 @if intl
14257 maybe-check-intl: check-intl
14259 check-intl:
14260 @: $(MAKE); $(unstage)
14261 @r=`${PWD_COMMAND}`; export r; \
14262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263 $(HOST_EXPORTS) \
14264 (cd $(HOST_SUBDIR)/intl && \
14265 $(MAKE) $(FLAGS_TO_PASS) check)
14267 @endif intl
14269 .PHONY: install-intl maybe-install-intl
14270 maybe-install-intl:
14271 @if intl
14272 maybe-install-intl: install-intl
14274 install-intl: installdirs
14275 @: $(MAKE); $(unstage)
14276 @r=`${PWD_COMMAND}`; export r; \
14277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14278 $(HOST_EXPORTS) \
14279 (cd $(HOST_SUBDIR)/intl && \
14280 $(MAKE) $(FLAGS_TO_PASS) install)
14282 @endif intl
14284 # Other targets (info, dvi, etc.)
14286 .PHONY: maybe-info-intl info-intl
14287 maybe-info-intl:
14288 @if intl
14289 maybe-info-intl: info-intl
14291 info-intl: \
14292 configure-intl
14293 @[ -f ./intl/Makefile ] || exit 0; \
14294 r=`${PWD_COMMAND}`; export r; \
14295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14296 $(HOST_EXPORTS) \
14297 for flag in $(EXTRA_HOST_FLAGS) ; do \
14298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14299 done; \
14300 echo "Doing info in intl" ; \
14301 (cd $(HOST_SUBDIR)/intl && \
14302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14304 "RANLIB=$${RANLIB}" \
14305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14306 info) \
14307 || exit 1
14309 @endif intl
14311 .PHONY: maybe-dvi-intl dvi-intl
14312 maybe-dvi-intl:
14313 @if intl
14314 maybe-dvi-intl: dvi-intl
14316 dvi-intl: \
14317 configure-intl
14318 @[ -f ./intl/Makefile ] || exit 0; \
14319 r=`${PWD_COMMAND}`; export r; \
14320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14321 $(HOST_EXPORTS) \
14322 for flag in $(EXTRA_HOST_FLAGS) ; do \
14323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14324 done; \
14325 echo "Doing dvi in intl" ; \
14326 (cd $(HOST_SUBDIR)/intl && \
14327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14329 "RANLIB=$${RANLIB}" \
14330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14331 dvi) \
14332 || exit 1
14334 @endif intl
14336 .PHONY: maybe-html-intl html-intl
14337 maybe-html-intl:
14338 @if intl
14339 maybe-html-intl: html-intl
14341 html-intl: \
14342 configure-intl
14343 @[ -f ./intl/Makefile ] || exit 0; \
14344 r=`${PWD_COMMAND}`; export r; \
14345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14346 $(HOST_EXPORTS) \
14347 for flag in $(EXTRA_HOST_FLAGS) ; do \
14348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14349 done; \
14350 echo "Doing html in intl" ; \
14351 (cd $(HOST_SUBDIR)/intl && \
14352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14354 "RANLIB=$${RANLIB}" \
14355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14356 html) \
14357 || exit 1
14359 @endif intl
14361 .PHONY: maybe-TAGS-intl TAGS-intl
14362 maybe-TAGS-intl:
14363 @if intl
14364 maybe-TAGS-intl: TAGS-intl
14366 TAGS-intl: \
14367 configure-intl
14368 @[ -f ./intl/Makefile ] || exit 0; \
14369 r=`${PWD_COMMAND}`; export r; \
14370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14371 $(HOST_EXPORTS) \
14372 for flag in $(EXTRA_HOST_FLAGS) ; do \
14373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14374 done; \
14375 echo "Doing TAGS in intl" ; \
14376 (cd $(HOST_SUBDIR)/intl && \
14377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14379 "RANLIB=$${RANLIB}" \
14380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14381 TAGS) \
14382 || exit 1
14384 @endif intl
14386 .PHONY: maybe-install-info-intl install-info-intl
14387 maybe-install-info-intl:
14388 @if intl
14389 maybe-install-info-intl: install-info-intl
14391 install-info-intl: \
14392 configure-intl \
14393 info-intl
14394 @[ -f ./intl/Makefile ] || exit 0; \
14395 r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 for flag in $(EXTRA_HOST_FLAGS) ; do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing install-info in intl" ; \
14402 (cd $(HOST_SUBDIR)/intl && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14407 install-info) \
14408 || exit 1
14410 @endif intl
14412 .PHONY: maybe-installcheck-intl installcheck-intl
14413 maybe-installcheck-intl:
14414 @if intl
14415 maybe-installcheck-intl: installcheck-intl
14417 installcheck-intl: \
14418 configure-intl
14419 @[ -f ./intl/Makefile ] || exit 0; \
14420 r=`${PWD_COMMAND}`; export r; \
14421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14422 $(HOST_EXPORTS) \
14423 for flag in $(EXTRA_HOST_FLAGS) ; do \
14424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14425 done; \
14426 echo "Doing installcheck in intl" ; \
14427 (cd $(HOST_SUBDIR)/intl && \
14428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14430 "RANLIB=$${RANLIB}" \
14431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14432 installcheck) \
14433 || exit 1
14435 @endif intl
14437 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14438 maybe-mostlyclean-intl:
14439 @if intl
14440 maybe-mostlyclean-intl: mostlyclean-intl
14442 mostlyclean-intl:
14443 @[ -f ./intl/Makefile ] || exit 0; \
14444 r=`${PWD_COMMAND}`; export r; \
14445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14446 $(HOST_EXPORTS) \
14447 for flag in $(EXTRA_HOST_FLAGS) ; do \
14448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14449 done; \
14450 echo "Doing mostlyclean in intl" ; \
14451 (cd $(HOST_SUBDIR)/intl && \
14452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14454 "RANLIB=$${RANLIB}" \
14455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14456 mostlyclean) \
14457 || exit 1
14459 @endif intl
14461 .PHONY: maybe-clean-intl clean-intl
14462 maybe-clean-intl:
14463 @if intl
14464 maybe-clean-intl: clean-intl
14466 clean-intl:
14467 @[ -f ./intl/Makefile ] || exit 0; \
14468 r=`${PWD_COMMAND}`; export r; \
14469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14470 $(HOST_EXPORTS) \
14471 for flag in $(EXTRA_HOST_FLAGS) ; do \
14472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14473 done; \
14474 echo "Doing clean in intl" ; \
14475 (cd $(HOST_SUBDIR)/intl && \
14476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14478 "RANLIB=$${RANLIB}" \
14479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14480 clean) \
14481 || exit 1
14483 @endif intl
14485 .PHONY: maybe-distclean-intl distclean-intl
14486 maybe-distclean-intl:
14487 @if intl
14488 maybe-distclean-intl: distclean-intl
14490 distclean-intl:
14491 @[ -f ./intl/Makefile ] || exit 0; \
14492 r=`${PWD_COMMAND}`; export r; \
14493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14494 $(HOST_EXPORTS) \
14495 for flag in $(EXTRA_HOST_FLAGS) ; do \
14496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14497 done; \
14498 echo "Doing distclean in intl" ; \
14499 (cd $(HOST_SUBDIR)/intl && \
14500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14502 "RANLIB=$${RANLIB}" \
14503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14504 distclean) \
14505 || exit 1
14507 @endif intl
14509 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14510 maybe-maintainer-clean-intl:
14511 @if intl
14512 maybe-maintainer-clean-intl: maintainer-clean-intl
14514 maintainer-clean-intl:
14515 @[ -f ./intl/Makefile ] || exit 0; \
14516 r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(HOST_EXPORTS) \
14519 for flag in $(EXTRA_HOST_FLAGS) ; do \
14520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14521 done; \
14522 echo "Doing maintainer-clean in intl" ; \
14523 (cd $(HOST_SUBDIR)/intl && \
14524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14526 "RANLIB=$${RANLIB}" \
14527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14528 maintainer-clean) \
14529 || exit 1
14531 @endif intl
14535 .PHONY: configure-tcl maybe-configure-tcl
14536 maybe-configure-tcl:
14537 @if tcl
14538 maybe-configure-tcl: configure-tcl
14539 configure-tcl:
14540 @: $(MAKE); $(unstage)
14541 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14543 r=`${PWD_COMMAND}`; export r; \
14544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14545 $(HOST_EXPORTS) \
14546 echo Configuring in $(HOST_SUBDIR)/tcl; \
14547 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14548 case $(srcdir) in \
14549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14550 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14552 esac; \
14553 srcdiroption="--srcdir=$${topdir}/tcl"; \
14554 libsrcdir="$$s/tcl"; \
14555 $(SHELL) $${libsrcdir}/configure \
14556 $(HOST_CONFIGARGS) $${srcdiroption} \
14557 || exit 1
14558 @endif tcl
14564 .PHONY: all-tcl maybe-all-tcl
14565 maybe-all-tcl:
14566 @if tcl
14567 TARGET-tcl=all
14568 maybe-all-tcl: all-tcl
14569 all-tcl: configure-tcl
14570 @: $(MAKE); $(unstage)
14571 @r=`${PWD_COMMAND}`; export r; \
14572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14573 $(HOST_EXPORTS) \
14574 (cd $(HOST_SUBDIR)/tcl && \
14575 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14576 @endif tcl
14581 .PHONY: check-tcl maybe-check-tcl
14582 maybe-check-tcl:
14583 @if tcl
14584 maybe-check-tcl: check-tcl
14586 check-tcl:
14587 @: $(MAKE); $(unstage)
14588 @r=`${PWD_COMMAND}`; export r; \
14589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14590 $(HOST_EXPORTS) \
14591 (cd $(HOST_SUBDIR)/tcl && \
14592 $(MAKE) $(FLAGS_TO_PASS) check)
14594 @endif tcl
14596 .PHONY: install-tcl maybe-install-tcl
14597 maybe-install-tcl:
14598 @if tcl
14599 maybe-install-tcl: install-tcl
14601 install-tcl: installdirs
14602 @: $(MAKE); $(unstage)
14603 @r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 (cd $(HOST_SUBDIR)/tcl && \
14607 $(MAKE) $(FLAGS_TO_PASS) install)
14609 @endif tcl
14611 # Other targets (info, dvi, etc.)
14613 .PHONY: maybe-info-tcl info-tcl
14614 maybe-info-tcl:
14615 @if tcl
14616 maybe-info-tcl: info-tcl
14618 info-tcl: \
14619 configure-tcl
14620 @: $(MAKE); $(unstage)
14621 @[ -f ./tcl/Makefile ] || exit 0; \
14622 r=`${PWD_COMMAND}`; export r; \
14623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14624 $(HOST_EXPORTS) \
14625 for flag in $(EXTRA_HOST_FLAGS) ; do \
14626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14627 done; \
14628 echo "Doing info in tcl" ; \
14629 (cd $(HOST_SUBDIR)/tcl && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14632 "RANLIB=$${RANLIB}" \
14633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14634 info) \
14635 || exit 1
14637 @endif tcl
14639 .PHONY: maybe-dvi-tcl dvi-tcl
14640 maybe-dvi-tcl:
14641 @if tcl
14642 maybe-dvi-tcl: dvi-tcl
14644 dvi-tcl: \
14645 configure-tcl
14646 @: $(MAKE); $(unstage)
14647 @[ -f ./tcl/Makefile ] || exit 0; \
14648 r=`${PWD_COMMAND}`; export r; \
14649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650 $(HOST_EXPORTS) \
14651 for flag in $(EXTRA_HOST_FLAGS) ; do \
14652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14653 done; \
14654 echo "Doing dvi in tcl" ; \
14655 (cd $(HOST_SUBDIR)/tcl && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658 "RANLIB=$${RANLIB}" \
14659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14660 dvi) \
14661 || exit 1
14663 @endif tcl
14665 .PHONY: maybe-html-tcl html-tcl
14666 maybe-html-tcl:
14667 @if tcl
14668 maybe-html-tcl: html-tcl
14670 html-tcl: \
14671 configure-tcl
14672 @: $(MAKE); $(unstage)
14673 @[ -f ./tcl/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) ; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing html in tcl" ; \
14681 (cd $(HOST_SUBDIR)/tcl && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14686 html) \
14687 || exit 1
14689 @endif tcl
14691 .PHONY: maybe-TAGS-tcl TAGS-tcl
14692 maybe-TAGS-tcl:
14693 @if tcl
14694 maybe-TAGS-tcl: TAGS-tcl
14696 TAGS-tcl: \
14697 configure-tcl
14698 @: $(MAKE); $(unstage)
14699 @[ -f ./tcl/Makefile ] || exit 0; \
14700 r=`${PWD_COMMAND}`; export r; \
14701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14702 $(HOST_EXPORTS) \
14703 for flag in $(EXTRA_HOST_FLAGS) ; do \
14704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14705 done; \
14706 echo "Doing TAGS in tcl" ; \
14707 (cd $(HOST_SUBDIR)/tcl && \
14708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14710 "RANLIB=$${RANLIB}" \
14711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14712 TAGS) \
14713 || exit 1
14715 @endif tcl
14717 .PHONY: maybe-install-info-tcl install-info-tcl
14718 maybe-install-info-tcl:
14719 @if tcl
14720 maybe-install-info-tcl: install-info-tcl
14722 install-info-tcl: \
14723 configure-tcl \
14724 info-tcl
14725 @: $(MAKE); $(unstage)
14726 @[ -f ./tcl/Makefile ] || exit 0; \
14727 r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14729 $(HOST_EXPORTS) \
14730 for flag in $(EXTRA_HOST_FLAGS) ; do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14732 done; \
14733 echo "Doing install-info in tcl" ; \
14734 (cd $(HOST_SUBDIR)/tcl && \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14739 install-info) \
14740 || exit 1
14742 @endif tcl
14744 .PHONY: maybe-installcheck-tcl installcheck-tcl
14745 maybe-installcheck-tcl:
14746 @if tcl
14747 maybe-installcheck-tcl: installcheck-tcl
14749 installcheck-tcl: \
14750 configure-tcl
14751 @: $(MAKE); $(unstage)
14752 @[ -f ./tcl/Makefile ] || exit 0; \
14753 r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755 $(HOST_EXPORTS) \
14756 for flag in $(EXTRA_HOST_FLAGS) ; do \
14757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14758 done; \
14759 echo "Doing installcheck in tcl" ; \
14760 (cd $(HOST_SUBDIR)/tcl && \
14761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14763 "RANLIB=$${RANLIB}" \
14764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14765 installcheck) \
14766 || exit 1
14768 @endif tcl
14770 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14771 maybe-mostlyclean-tcl:
14772 @if tcl
14773 maybe-mostlyclean-tcl: mostlyclean-tcl
14775 # tcl doesn't support mostlyclean.
14776 mostlyclean-tcl:
14778 @endif tcl
14780 .PHONY: maybe-clean-tcl clean-tcl
14781 maybe-clean-tcl:
14782 @if tcl
14783 maybe-clean-tcl: clean-tcl
14785 clean-tcl:
14786 @: $(MAKE); $(unstage)
14787 @[ -f ./tcl/Makefile ] || exit 0; \
14788 r=`${PWD_COMMAND}`; export r; \
14789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14790 $(HOST_EXPORTS) \
14791 for flag in $(EXTRA_HOST_FLAGS) ; do \
14792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14793 done; \
14794 echo "Doing clean in tcl" ; \
14795 (cd $(HOST_SUBDIR)/tcl && \
14796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14798 "RANLIB=$${RANLIB}" \
14799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14800 clean) \
14801 || exit 1
14803 @endif tcl
14805 .PHONY: maybe-distclean-tcl distclean-tcl
14806 maybe-distclean-tcl:
14807 @if tcl
14808 maybe-distclean-tcl: distclean-tcl
14810 distclean-tcl:
14811 @: $(MAKE); $(unstage)
14812 @[ -f ./tcl/Makefile ] || exit 0; \
14813 r=`${PWD_COMMAND}`; export r; \
14814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14815 $(HOST_EXPORTS) \
14816 for flag in $(EXTRA_HOST_FLAGS) ; do \
14817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14818 done; \
14819 echo "Doing distclean in tcl" ; \
14820 (cd $(HOST_SUBDIR)/tcl && \
14821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14823 "RANLIB=$${RANLIB}" \
14824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14825 distclean) \
14826 || exit 1
14828 @endif tcl
14830 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14831 maybe-maintainer-clean-tcl:
14832 @if tcl
14833 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14835 maintainer-clean-tcl:
14836 @: $(MAKE); $(unstage)
14837 @[ -f ./tcl/Makefile ] || exit 0; \
14838 r=`${PWD_COMMAND}`; export r; \
14839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14840 $(HOST_EXPORTS) \
14841 for flag in $(EXTRA_HOST_FLAGS) ; do \
14842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14843 done; \
14844 echo "Doing maintainer-clean in tcl" ; \
14845 (cd $(HOST_SUBDIR)/tcl && \
14846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14848 "RANLIB=$${RANLIB}" \
14849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14850 maintainer-clean) \
14851 || exit 1
14853 @endif tcl
14857 .PHONY: configure-itcl maybe-configure-itcl
14858 maybe-configure-itcl:
14859 @if itcl
14860 maybe-configure-itcl: configure-itcl
14861 configure-itcl:
14862 @: $(MAKE); $(unstage)
14863 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14864 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14865 r=`${PWD_COMMAND}`; export r; \
14866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14867 $(HOST_EXPORTS) \
14868 echo Configuring in $(HOST_SUBDIR)/itcl; \
14869 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14870 case $(srcdir) in \
14871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14872 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14874 esac; \
14875 srcdiroption="--srcdir=$${topdir}/itcl"; \
14876 libsrcdir="$$s/itcl"; \
14877 $(SHELL) $${libsrcdir}/configure \
14878 $(HOST_CONFIGARGS) $${srcdiroption} \
14879 || exit 1
14880 @endif itcl
14886 .PHONY: all-itcl maybe-all-itcl
14887 maybe-all-itcl:
14888 @if itcl
14889 TARGET-itcl=all
14890 maybe-all-itcl: all-itcl
14891 all-itcl: configure-itcl
14892 @: $(MAKE); $(unstage)
14893 @r=`${PWD_COMMAND}`; export r; \
14894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 $(HOST_EXPORTS) \
14896 (cd $(HOST_SUBDIR)/itcl && \
14897 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14898 @endif itcl
14903 .PHONY: check-itcl maybe-check-itcl
14904 maybe-check-itcl:
14905 @if itcl
14906 maybe-check-itcl: check-itcl
14908 check-itcl:
14909 @: $(MAKE); $(unstage)
14910 @r=`${PWD_COMMAND}`; export r; \
14911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14912 $(HOST_EXPORTS) \
14913 (cd $(HOST_SUBDIR)/itcl && \
14914 $(MAKE) $(FLAGS_TO_PASS) check)
14916 @endif itcl
14918 .PHONY: install-itcl maybe-install-itcl
14919 maybe-install-itcl:
14920 @if itcl
14921 maybe-install-itcl: install-itcl
14923 install-itcl: installdirs
14924 @: $(MAKE); $(unstage)
14925 @r=`${PWD_COMMAND}`; export r; \
14926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14927 $(HOST_EXPORTS) \
14928 (cd $(HOST_SUBDIR)/itcl && \
14929 $(MAKE) $(FLAGS_TO_PASS) install)
14931 @endif itcl
14933 # Other targets (info, dvi, etc.)
14935 .PHONY: maybe-info-itcl info-itcl
14936 maybe-info-itcl:
14937 @if itcl
14938 maybe-info-itcl: info-itcl
14940 info-itcl: \
14941 configure-itcl
14942 @: $(MAKE); $(unstage)
14943 @[ -f ./itcl/Makefile ] || exit 0; \
14944 r=`${PWD_COMMAND}`; export r; \
14945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14946 $(HOST_EXPORTS) \
14947 for flag in $(EXTRA_HOST_FLAGS) ; do \
14948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14949 done; \
14950 echo "Doing info in itcl" ; \
14951 (cd $(HOST_SUBDIR)/itcl && \
14952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14954 "RANLIB=$${RANLIB}" \
14955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14956 info) \
14957 || exit 1
14959 @endif itcl
14961 .PHONY: maybe-dvi-itcl dvi-itcl
14962 maybe-dvi-itcl:
14963 @if itcl
14964 maybe-dvi-itcl: dvi-itcl
14966 dvi-itcl: \
14967 configure-itcl
14968 @: $(MAKE); $(unstage)
14969 @[ -f ./itcl/Makefile ] || exit 0; \
14970 r=`${PWD_COMMAND}`; export r; \
14971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14972 $(HOST_EXPORTS) \
14973 for flag in $(EXTRA_HOST_FLAGS) ; do \
14974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14975 done; \
14976 echo "Doing dvi in itcl" ; \
14977 (cd $(HOST_SUBDIR)/itcl && \
14978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14980 "RANLIB=$${RANLIB}" \
14981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14982 dvi) \
14983 || exit 1
14985 @endif itcl
14987 .PHONY: maybe-html-itcl html-itcl
14988 maybe-html-itcl:
14989 @if itcl
14990 maybe-html-itcl: html-itcl
14992 html-itcl: \
14993 configure-itcl
14994 @: $(MAKE); $(unstage)
14995 @[ -f ./itcl/Makefile ] || exit 0; \
14996 r=`${PWD_COMMAND}`; export r; \
14997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14998 $(HOST_EXPORTS) \
14999 for flag in $(EXTRA_HOST_FLAGS) ; do \
15000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15001 done; \
15002 echo "Doing html in itcl" ; \
15003 (cd $(HOST_SUBDIR)/itcl && \
15004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15006 "RANLIB=$${RANLIB}" \
15007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15008 html) \
15009 || exit 1
15011 @endif itcl
15013 .PHONY: maybe-TAGS-itcl TAGS-itcl
15014 maybe-TAGS-itcl:
15015 @if itcl
15016 maybe-TAGS-itcl: TAGS-itcl
15018 TAGS-itcl: \
15019 configure-itcl
15020 @: $(MAKE); $(unstage)
15021 @[ -f ./itcl/Makefile ] || exit 0; \
15022 r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 $(HOST_EXPORTS) \
15025 for flag in $(EXTRA_HOST_FLAGS) ; do \
15026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15027 done; \
15028 echo "Doing TAGS in itcl" ; \
15029 (cd $(HOST_SUBDIR)/itcl && \
15030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15032 "RANLIB=$${RANLIB}" \
15033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15034 TAGS) \
15035 || exit 1
15037 @endif itcl
15039 .PHONY: maybe-install-info-itcl install-info-itcl
15040 maybe-install-info-itcl:
15041 @if itcl
15042 maybe-install-info-itcl: install-info-itcl
15044 install-info-itcl: \
15045 configure-itcl \
15046 info-itcl
15047 @: $(MAKE); $(unstage)
15048 @[ -f ./itcl/Makefile ] || exit 0; \
15049 r=`${PWD_COMMAND}`; export r; \
15050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15051 $(HOST_EXPORTS) \
15052 for flag in $(EXTRA_HOST_FLAGS) ; do \
15053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15054 done; \
15055 echo "Doing install-info in itcl" ; \
15056 (cd $(HOST_SUBDIR)/itcl && \
15057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15059 "RANLIB=$${RANLIB}" \
15060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15061 install-info) \
15062 || exit 1
15064 @endif itcl
15066 .PHONY: maybe-installcheck-itcl installcheck-itcl
15067 maybe-installcheck-itcl:
15068 @if itcl
15069 maybe-installcheck-itcl: installcheck-itcl
15071 installcheck-itcl: \
15072 configure-itcl
15073 @: $(MAKE); $(unstage)
15074 @[ -f ./itcl/Makefile ] || exit 0; \
15075 r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 $(HOST_EXPORTS) \
15078 for flag in $(EXTRA_HOST_FLAGS) ; do \
15079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15080 done; \
15081 echo "Doing installcheck in itcl" ; \
15082 (cd $(HOST_SUBDIR)/itcl && \
15083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15085 "RANLIB=$${RANLIB}" \
15086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15087 installcheck) \
15088 || exit 1
15090 @endif itcl
15092 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15093 maybe-mostlyclean-itcl:
15094 @if itcl
15095 maybe-mostlyclean-itcl: mostlyclean-itcl
15097 mostlyclean-itcl:
15098 @: $(MAKE); $(unstage)
15099 @[ -f ./itcl/Makefile ] || exit 0; \
15100 r=`${PWD_COMMAND}`; export r; \
15101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15102 $(HOST_EXPORTS) \
15103 for flag in $(EXTRA_HOST_FLAGS) ; do \
15104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15105 done; \
15106 echo "Doing mostlyclean in itcl" ; \
15107 (cd $(HOST_SUBDIR)/itcl && \
15108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15110 "RANLIB=$${RANLIB}" \
15111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15112 mostlyclean) \
15113 || exit 1
15115 @endif itcl
15117 .PHONY: maybe-clean-itcl clean-itcl
15118 maybe-clean-itcl:
15119 @if itcl
15120 maybe-clean-itcl: clean-itcl
15122 clean-itcl:
15123 @: $(MAKE); $(unstage)
15124 @[ -f ./itcl/Makefile ] || exit 0; \
15125 r=`${PWD_COMMAND}`; export r; \
15126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15127 $(HOST_EXPORTS) \
15128 for flag in $(EXTRA_HOST_FLAGS) ; do \
15129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15130 done; \
15131 echo "Doing clean in itcl" ; \
15132 (cd $(HOST_SUBDIR)/itcl && \
15133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15135 "RANLIB=$${RANLIB}" \
15136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15137 clean) \
15138 || exit 1
15140 @endif itcl
15142 .PHONY: maybe-distclean-itcl distclean-itcl
15143 maybe-distclean-itcl:
15144 @if itcl
15145 maybe-distclean-itcl: distclean-itcl
15147 distclean-itcl:
15148 @: $(MAKE); $(unstage)
15149 @[ -f ./itcl/Makefile ] || exit 0; \
15150 r=`${PWD_COMMAND}`; export r; \
15151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15152 $(HOST_EXPORTS) \
15153 for flag in $(EXTRA_HOST_FLAGS) ; do \
15154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15155 done; \
15156 echo "Doing distclean in itcl" ; \
15157 (cd $(HOST_SUBDIR)/itcl && \
15158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160 "RANLIB=$${RANLIB}" \
15161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15162 distclean) \
15163 || exit 1
15165 @endif itcl
15167 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15168 maybe-maintainer-clean-itcl:
15169 @if itcl
15170 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15172 maintainer-clean-itcl:
15173 @: $(MAKE); $(unstage)
15174 @[ -f ./itcl/Makefile ] || exit 0; \
15175 r=`${PWD_COMMAND}`; export r; \
15176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15177 $(HOST_EXPORTS) \
15178 for flag in $(EXTRA_HOST_FLAGS) ; do \
15179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15180 done; \
15181 echo "Doing maintainer-clean in itcl" ; \
15182 (cd $(HOST_SUBDIR)/itcl && \
15183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15185 "RANLIB=$${RANLIB}" \
15186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15187 maintainer-clean) \
15188 || exit 1
15190 @endif itcl
15194 .PHONY: configure-ld maybe-configure-ld
15195 maybe-configure-ld:
15196 @if ld
15197 maybe-configure-ld: configure-ld
15198 configure-ld:
15199 @test -f stage_last && exit 0; \
15200 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15202 r=`${PWD_COMMAND}`; export r; \
15203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15204 $(HOST_EXPORTS) \
15205 echo Configuring in $(HOST_SUBDIR)/ld; \
15206 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15207 case $(srcdir) in \
15208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15209 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15211 esac; \
15212 srcdiroption="--srcdir=$${topdir}/ld"; \
15213 libsrcdir="$$s/ld"; \
15214 $(SHELL) $${libsrcdir}/configure \
15215 $(HOST_CONFIGARGS) $${srcdiroption} \
15216 || exit 1
15217 @endif ld
15221 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15222 maybe-configure-stage1-ld:
15223 @if ld-bootstrap
15224 maybe-configure-stage1-ld: configure-stage1-ld
15225 configure-stage1-ld:
15226 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15228 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15229 $(HOST_EXPORTS) \
15230 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15232 cd $(HOST_SUBDIR)/ld || exit 1; \
15233 case $(srcdir) in \
15234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15235 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15237 esac; \
15238 srcdiroption="--srcdir=$${topdir}/ld"; \
15239 libsrcdir="$$s/ld"; \
15240 $(SHELL) $${libsrcdir}/configure \
15241 $(HOST_CONFIGARGS) $${srcdiroption} \
15242 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15243 @endif ld-bootstrap
15245 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15246 maybe-configure-stage2-ld:
15247 @if ld-bootstrap
15248 maybe-configure-stage2-ld: configure-stage2-ld
15249 configure-stage2-ld:
15250 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15251 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15252 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15253 $(HOST_EXPORTS) \
15254 $(POSTSTAGE1_HOST_EXPORTS) \
15255 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15257 cd $(HOST_SUBDIR)/ld || exit 1; \
15258 case $(srcdir) in \
15259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15260 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15262 esac; \
15263 srcdiroption="--srcdir=$${topdir}/ld"; \
15264 libsrcdir="$$s/ld"; \
15265 $(SHELL) $${libsrcdir}/configure \
15266 $(HOST_CONFIGARGS) $${srcdiroption} \
15267 @stage2_werror_flag@
15268 @endif ld-bootstrap
15270 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15271 maybe-configure-stage3-ld:
15272 @if ld-bootstrap
15273 maybe-configure-stage3-ld: configure-stage3-ld
15274 configure-stage3-ld:
15275 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15277 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15278 $(HOST_EXPORTS) \
15279 $(POSTSTAGE1_HOST_EXPORTS) \
15280 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15282 cd $(HOST_SUBDIR)/ld || exit 1; \
15283 case $(srcdir) in \
15284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15285 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15287 esac; \
15288 srcdiroption="--srcdir=$${topdir}/ld"; \
15289 libsrcdir="$$s/ld"; \
15290 $(SHELL) $${libsrcdir}/configure \
15291 $(HOST_CONFIGARGS) $${srcdiroption} \
15292 @stage2_werror_flag@
15293 @endif ld-bootstrap
15295 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15296 maybe-configure-stage4-ld:
15297 @if ld-bootstrap
15298 maybe-configure-stage4-ld: configure-stage4-ld
15299 configure-stage4-ld:
15300 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15302 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15303 $(HOST_EXPORTS) \
15304 $(POSTSTAGE1_HOST_EXPORTS) \
15305 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15307 cd $(HOST_SUBDIR)/ld || exit 1; \
15308 case $(srcdir) in \
15309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15310 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15312 esac; \
15313 srcdiroption="--srcdir=$${topdir}/ld"; \
15314 libsrcdir="$$s/ld"; \
15315 $(SHELL) $${libsrcdir}/configure \
15316 $(HOST_CONFIGARGS) $${srcdiroption} \
15317 @stage2_werror_flag@
15318 @endif ld-bootstrap
15320 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15321 maybe-configure-stageprofile-ld:
15322 @if ld-bootstrap
15323 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15324 configure-stageprofile-ld:
15325 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15327 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15328 $(HOST_EXPORTS) \
15329 $(POSTSTAGE1_HOST_EXPORTS) \
15330 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15332 cd $(HOST_SUBDIR)/ld || exit 1; \
15333 case $(srcdir) in \
15334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15335 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15337 esac; \
15338 srcdiroption="--srcdir=$${topdir}/ld"; \
15339 libsrcdir="$$s/ld"; \
15340 $(SHELL) $${libsrcdir}/configure \
15341 $(HOST_CONFIGARGS) $${srcdiroption} \
15342 @stage2_werror_flag@
15343 @endif ld-bootstrap
15345 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15346 maybe-configure-stagefeedback-ld:
15347 @if ld-bootstrap
15348 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15349 configure-stagefeedback-ld:
15350 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15352 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15353 $(HOST_EXPORTS) \
15354 $(POSTSTAGE1_HOST_EXPORTS) \
15355 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15357 cd $(HOST_SUBDIR)/ld || exit 1; \
15358 case $(srcdir) in \
15359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15360 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15362 esac; \
15363 srcdiroption="--srcdir=$${topdir}/ld"; \
15364 libsrcdir="$$s/ld"; \
15365 $(SHELL) $${libsrcdir}/configure \
15366 $(HOST_CONFIGARGS) $${srcdiroption} \
15367 @stage2_werror_flag@
15368 @endif ld-bootstrap
15374 .PHONY: all-ld maybe-all-ld
15375 maybe-all-ld:
15376 @if ld
15377 TARGET-ld=all
15378 maybe-all-ld: all-ld
15379 all-ld: configure-ld
15380 @test -f stage_last && exit 0; \
15381 r=`${PWD_COMMAND}`; export r; \
15382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 $(HOST_EXPORTS) \
15384 (cd $(HOST_SUBDIR)/ld && \
15385 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15386 @endif ld
15390 .PHONY: all-stage1-ld maybe-all-stage1-ld
15391 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15392 maybe-all-stage1-ld:
15393 maybe-clean-stage1-ld:
15394 @if ld-bootstrap
15395 maybe-all-stage1-ld: all-stage1-ld
15396 all-stage1: all-stage1-ld
15397 TARGET-stage1-ld = $(TARGET-ld)
15398 all-stage1-ld: configure-stage1-ld
15399 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15400 @r=`${PWD_COMMAND}`; export r; \
15401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15402 $(HOST_EXPORTS) \
15403 cd $(HOST_SUBDIR)/ld && \
15404 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15405 $(TARGET-stage1-ld)
15407 maybe-clean-stage1-ld: clean-stage1-ld
15408 clean-stage1: clean-stage1-ld
15409 clean-stage1-ld:
15410 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15411 || exit 0 ; \
15412 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15413 cd $(HOST_SUBDIR)/ld && \
15414 $(MAKE) $(FLAGS_TO_PASS) \
15415 CFLAGS="$(STAGE1_CFLAGS)" clean
15416 @endif ld-bootstrap
15419 .PHONY: all-stage2-ld maybe-all-stage2-ld
15420 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15421 maybe-all-stage2-ld:
15422 maybe-clean-stage2-ld:
15423 @if ld-bootstrap
15424 maybe-all-stage2-ld: all-stage2-ld
15425 all-stage2: all-stage2-ld
15426 TARGET-stage2-ld = $(TARGET-ld)
15427 all-stage2-ld: configure-stage2-ld
15428 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15429 @r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 $(HOST_EXPORTS) \
15432 $(POSTSTAGE1_HOST_EXPORTS) \
15433 cd $(HOST_SUBDIR)/ld && \
15434 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15435 $(TARGET-stage2-ld)
15437 maybe-clean-stage2-ld: clean-stage2-ld
15438 clean-stage2: clean-stage2-ld
15439 clean-stage2-ld:
15440 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15441 || exit 0 ; \
15442 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15443 cd $(HOST_SUBDIR)/ld && \
15444 $(MAKE) $(FLAGS_TO_PASS) \
15445 $(POSTSTAGE1_FLAGS_TO_PASS) \
15446 clean
15447 @endif ld-bootstrap
15450 .PHONY: all-stage3-ld maybe-all-stage3-ld
15451 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15452 maybe-all-stage3-ld:
15453 maybe-clean-stage3-ld:
15454 @if ld-bootstrap
15455 maybe-all-stage3-ld: all-stage3-ld
15456 all-stage3: all-stage3-ld
15457 TARGET-stage3-ld = $(TARGET-ld)
15458 all-stage3-ld: configure-stage3-ld
15459 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15460 @r=`${PWD_COMMAND}`; export r; \
15461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15462 $(HOST_EXPORTS) \
15463 $(POSTSTAGE1_HOST_EXPORTS) \
15464 cd $(HOST_SUBDIR)/ld && \
15465 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15466 $(TARGET-stage3-ld)
15468 maybe-clean-stage3-ld: clean-stage3-ld
15469 clean-stage3: clean-stage3-ld
15470 clean-stage3-ld:
15471 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15472 || exit 0 ; \
15473 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15474 cd $(HOST_SUBDIR)/ld && \
15475 $(MAKE) $(FLAGS_TO_PASS) \
15476 $(POSTSTAGE1_FLAGS_TO_PASS) \
15477 clean
15478 @endif ld-bootstrap
15481 .PHONY: all-stage4-ld maybe-all-stage4-ld
15482 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15483 maybe-all-stage4-ld:
15484 maybe-clean-stage4-ld:
15485 @if ld-bootstrap
15486 maybe-all-stage4-ld: all-stage4-ld
15487 all-stage4: all-stage4-ld
15488 TARGET-stage4-ld = $(TARGET-ld)
15489 all-stage4-ld: configure-stage4-ld
15490 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15491 @r=`${PWD_COMMAND}`; export r; \
15492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15493 $(HOST_EXPORTS) \
15494 $(POSTSTAGE1_HOST_EXPORTS) \
15495 cd $(HOST_SUBDIR)/ld && \
15496 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15497 $(TARGET-stage4-ld)
15499 maybe-clean-stage4-ld: clean-stage4-ld
15500 clean-stage4: clean-stage4-ld
15501 clean-stage4-ld:
15502 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15503 || exit 0 ; \
15504 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15505 cd $(HOST_SUBDIR)/ld && \
15506 $(MAKE) $(FLAGS_TO_PASS) \
15507 $(POSTSTAGE1_FLAGS_TO_PASS) \
15508 clean
15509 @endif ld-bootstrap
15512 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15513 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15514 maybe-all-stageprofile-ld:
15515 maybe-clean-stageprofile-ld:
15516 @if ld-bootstrap
15517 maybe-all-stageprofile-ld: all-stageprofile-ld
15518 all-stageprofile: all-stageprofile-ld
15519 TARGET-stageprofile-ld = $(TARGET-ld)
15520 all-stageprofile-ld: configure-stageprofile-ld
15521 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15522 @r=`${PWD_COMMAND}`; export r; \
15523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15524 $(HOST_EXPORTS) \
15525 $(POSTSTAGE1_HOST_EXPORTS) \
15526 cd $(HOST_SUBDIR)/ld && \
15527 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15528 $(TARGET-stageprofile-ld)
15530 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15531 clean-stageprofile: clean-stageprofile-ld
15532 clean-stageprofile-ld:
15533 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15534 || exit 0 ; \
15535 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15536 cd $(HOST_SUBDIR)/ld && \
15537 $(MAKE) $(FLAGS_TO_PASS) \
15538 $(POSTSTAGE1_FLAGS_TO_PASS) \
15539 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15540 @endif ld-bootstrap
15543 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15544 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15545 maybe-all-stagefeedback-ld:
15546 maybe-clean-stagefeedback-ld:
15547 @if ld-bootstrap
15548 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15549 all-stagefeedback: all-stagefeedback-ld
15550 TARGET-stagefeedback-ld = $(TARGET-ld)
15551 all-stagefeedback-ld: configure-stagefeedback-ld
15552 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15553 @r=`${PWD_COMMAND}`; export r; \
15554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15555 $(HOST_EXPORTS) \
15556 $(POSTSTAGE1_HOST_EXPORTS) \
15557 cd $(HOST_SUBDIR)/ld && \
15558 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15559 $(TARGET-stagefeedback-ld)
15561 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15562 clean-stagefeedback: clean-stagefeedback-ld
15563 clean-stagefeedback-ld:
15564 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15565 || exit 0 ; \
15566 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15567 cd $(HOST_SUBDIR)/ld && \
15568 $(MAKE) $(FLAGS_TO_PASS) \
15569 $(POSTSTAGE1_FLAGS_TO_PASS) \
15570 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15571 @endif ld-bootstrap
15577 .PHONY: check-ld maybe-check-ld
15578 maybe-check-ld:
15579 @if ld
15580 maybe-check-ld: check-ld
15582 check-ld:
15583 @: $(MAKE); $(unstage)
15584 @r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 $(HOST_EXPORTS) \
15587 (cd $(HOST_SUBDIR)/ld && \
15588 $(MAKE) $(FLAGS_TO_PASS) check)
15590 @endif ld
15592 .PHONY: install-ld maybe-install-ld
15593 maybe-install-ld:
15594 @if ld
15595 maybe-install-ld: install-ld
15597 install-ld: installdirs
15598 @: $(MAKE); $(unstage)
15599 @r=`${PWD_COMMAND}`; export r; \
15600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15601 $(HOST_EXPORTS) \
15602 (cd $(HOST_SUBDIR)/ld && \
15603 $(MAKE) $(FLAGS_TO_PASS) install)
15605 @endif ld
15607 # Other targets (info, dvi, etc.)
15609 .PHONY: maybe-info-ld info-ld
15610 maybe-info-ld:
15611 @if ld
15612 maybe-info-ld: info-ld
15614 info-ld: \
15615 configure-ld
15616 @[ -f ./ld/Makefile ] || exit 0; \
15617 r=`${PWD_COMMAND}`; export r; \
15618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15619 $(HOST_EXPORTS) \
15620 for flag in $(EXTRA_HOST_FLAGS) ; do \
15621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15622 done; \
15623 echo "Doing info in ld" ; \
15624 (cd $(HOST_SUBDIR)/ld && \
15625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15627 "RANLIB=$${RANLIB}" \
15628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15629 info) \
15630 || exit 1
15632 @endif ld
15634 .PHONY: maybe-dvi-ld dvi-ld
15635 maybe-dvi-ld:
15636 @if ld
15637 maybe-dvi-ld: dvi-ld
15639 dvi-ld: \
15640 configure-ld
15641 @[ -f ./ld/Makefile ] || exit 0; \
15642 r=`${PWD_COMMAND}`; export r; \
15643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15644 $(HOST_EXPORTS) \
15645 for flag in $(EXTRA_HOST_FLAGS) ; do \
15646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15647 done; \
15648 echo "Doing dvi in ld" ; \
15649 (cd $(HOST_SUBDIR)/ld && \
15650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15652 "RANLIB=$${RANLIB}" \
15653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15654 dvi) \
15655 || exit 1
15657 @endif ld
15659 .PHONY: maybe-html-ld html-ld
15660 maybe-html-ld:
15661 @if ld
15662 maybe-html-ld: html-ld
15664 html-ld: \
15665 configure-ld
15666 @[ -f ./ld/Makefile ] || exit 0; \
15667 r=`${PWD_COMMAND}`; export r; \
15668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15669 $(HOST_EXPORTS) \
15670 for flag in $(EXTRA_HOST_FLAGS) ; do \
15671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15672 done; \
15673 echo "Doing html in ld" ; \
15674 (cd $(HOST_SUBDIR)/ld && \
15675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15677 "RANLIB=$${RANLIB}" \
15678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15679 html) \
15680 || exit 1
15682 @endif ld
15684 .PHONY: maybe-TAGS-ld TAGS-ld
15685 maybe-TAGS-ld:
15686 @if ld
15687 maybe-TAGS-ld: TAGS-ld
15689 TAGS-ld: \
15690 configure-ld
15691 @[ -f ./ld/Makefile ] || exit 0; \
15692 r=`${PWD_COMMAND}`; export r; \
15693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15694 $(HOST_EXPORTS) \
15695 for flag in $(EXTRA_HOST_FLAGS) ; do \
15696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15697 done; \
15698 echo "Doing TAGS in ld" ; \
15699 (cd $(HOST_SUBDIR)/ld && \
15700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15702 "RANLIB=$${RANLIB}" \
15703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15704 TAGS) \
15705 || exit 1
15707 @endif ld
15709 .PHONY: maybe-install-info-ld install-info-ld
15710 maybe-install-info-ld:
15711 @if ld
15712 maybe-install-info-ld: install-info-ld
15714 install-info-ld: \
15715 configure-ld \
15716 info-ld
15717 @[ -f ./ld/Makefile ] || exit 0; \
15718 r=`${PWD_COMMAND}`; export r; \
15719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15720 $(HOST_EXPORTS) \
15721 for flag in $(EXTRA_HOST_FLAGS) ; do \
15722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15723 done; \
15724 echo "Doing install-info in ld" ; \
15725 (cd $(HOST_SUBDIR)/ld && \
15726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15728 "RANLIB=$${RANLIB}" \
15729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15730 install-info) \
15731 || exit 1
15733 @endif ld
15735 .PHONY: maybe-installcheck-ld installcheck-ld
15736 maybe-installcheck-ld:
15737 @if ld
15738 maybe-installcheck-ld: installcheck-ld
15740 installcheck-ld: \
15741 configure-ld
15742 @[ -f ./ld/Makefile ] || exit 0; \
15743 r=`${PWD_COMMAND}`; export r; \
15744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15745 $(HOST_EXPORTS) \
15746 for flag in $(EXTRA_HOST_FLAGS) ; do \
15747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15748 done; \
15749 echo "Doing installcheck in ld" ; \
15750 (cd $(HOST_SUBDIR)/ld && \
15751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15753 "RANLIB=$${RANLIB}" \
15754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15755 installcheck) \
15756 || exit 1
15758 @endif ld
15760 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15761 maybe-mostlyclean-ld:
15762 @if ld
15763 maybe-mostlyclean-ld: mostlyclean-ld
15765 mostlyclean-ld:
15766 @[ -f ./ld/Makefile ] || exit 0; \
15767 r=`${PWD_COMMAND}`; export r; \
15768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15769 $(HOST_EXPORTS) \
15770 for flag in $(EXTRA_HOST_FLAGS) ; do \
15771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15772 done; \
15773 echo "Doing mostlyclean in ld" ; \
15774 (cd $(HOST_SUBDIR)/ld && \
15775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15777 "RANLIB=$${RANLIB}" \
15778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15779 mostlyclean) \
15780 || exit 1
15782 @endif ld
15784 .PHONY: maybe-clean-ld clean-ld
15785 maybe-clean-ld:
15786 @if ld
15787 maybe-clean-ld: clean-ld
15789 clean-ld:
15790 @[ -f ./ld/Makefile ] || exit 0; \
15791 r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15793 $(HOST_EXPORTS) \
15794 for flag in $(EXTRA_HOST_FLAGS) ; do \
15795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15796 done; \
15797 echo "Doing clean in ld" ; \
15798 (cd $(HOST_SUBDIR)/ld && \
15799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15801 "RANLIB=$${RANLIB}" \
15802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15803 clean) \
15804 || exit 1
15806 @endif ld
15808 .PHONY: maybe-distclean-ld distclean-ld
15809 maybe-distclean-ld:
15810 @if ld
15811 maybe-distclean-ld: distclean-ld
15813 distclean-ld:
15814 @[ -f ./ld/Makefile ] || exit 0; \
15815 r=`${PWD_COMMAND}`; export r; \
15816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15817 $(HOST_EXPORTS) \
15818 for flag in $(EXTRA_HOST_FLAGS) ; do \
15819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15820 done; \
15821 echo "Doing distclean in ld" ; \
15822 (cd $(HOST_SUBDIR)/ld && \
15823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15825 "RANLIB=$${RANLIB}" \
15826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15827 distclean) \
15828 || exit 1
15830 @endif ld
15832 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15833 maybe-maintainer-clean-ld:
15834 @if ld
15835 maybe-maintainer-clean-ld: maintainer-clean-ld
15837 maintainer-clean-ld:
15838 @[ -f ./ld/Makefile ] || exit 0; \
15839 r=`${PWD_COMMAND}`; export r; \
15840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15841 $(HOST_EXPORTS) \
15842 for flag in $(EXTRA_HOST_FLAGS) ; do \
15843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15844 done; \
15845 echo "Doing maintainer-clean in ld" ; \
15846 (cd $(HOST_SUBDIR)/ld && \
15847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15849 "RANLIB=$${RANLIB}" \
15850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15851 maintainer-clean) \
15852 || exit 1
15854 @endif ld
15858 .PHONY: configure-libcpp maybe-configure-libcpp
15859 maybe-configure-libcpp:
15860 @if libcpp
15861 maybe-configure-libcpp: configure-libcpp
15862 configure-libcpp:
15863 @test -f stage_last && exit 0; \
15864 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15866 r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15868 $(HOST_EXPORTS) \
15869 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15870 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15871 case $(srcdir) in \
15872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15873 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15875 esac; \
15876 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15877 libsrcdir="$$s/libcpp"; \
15878 $(SHELL) $${libsrcdir}/configure \
15879 $(HOST_CONFIGARGS) $${srcdiroption} \
15880 || exit 1
15881 @endif libcpp
15885 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15886 maybe-configure-stage1-libcpp:
15887 @if libcpp-bootstrap
15888 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15889 configure-stage1-libcpp:
15890 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15892 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15893 $(HOST_EXPORTS) \
15894 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15896 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15897 case $(srcdir) in \
15898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15899 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15901 esac; \
15902 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15903 libsrcdir="$$s/libcpp"; \
15904 $(SHELL) $${libsrcdir}/configure \
15905 $(HOST_CONFIGARGS) $${srcdiroption} \
15906 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15907 @endif libcpp-bootstrap
15909 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15910 maybe-configure-stage2-libcpp:
15911 @if libcpp-bootstrap
15912 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15913 configure-stage2-libcpp:
15914 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15916 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15917 $(HOST_EXPORTS) \
15918 $(POSTSTAGE1_HOST_EXPORTS) \
15919 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15921 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15922 case $(srcdir) in \
15923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15924 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15926 esac; \
15927 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15928 libsrcdir="$$s/libcpp"; \
15929 $(SHELL) $${libsrcdir}/configure \
15930 $(HOST_CONFIGARGS) $${srcdiroption} \
15931 @stage2_werror_flag@
15932 @endif libcpp-bootstrap
15934 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15935 maybe-configure-stage3-libcpp:
15936 @if libcpp-bootstrap
15937 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15938 configure-stage3-libcpp:
15939 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15941 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15942 $(HOST_EXPORTS) \
15943 $(POSTSTAGE1_HOST_EXPORTS) \
15944 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15946 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15947 case $(srcdir) in \
15948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15949 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15951 esac; \
15952 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15953 libsrcdir="$$s/libcpp"; \
15954 $(SHELL) $${libsrcdir}/configure \
15955 $(HOST_CONFIGARGS) $${srcdiroption} \
15956 @stage2_werror_flag@
15957 @endif libcpp-bootstrap
15959 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15960 maybe-configure-stage4-libcpp:
15961 @if libcpp-bootstrap
15962 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15963 configure-stage4-libcpp:
15964 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15966 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15967 $(HOST_EXPORTS) \
15968 $(POSTSTAGE1_HOST_EXPORTS) \
15969 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15971 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15972 case $(srcdir) in \
15973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15974 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15976 esac; \
15977 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15978 libsrcdir="$$s/libcpp"; \
15979 $(SHELL) $${libsrcdir}/configure \
15980 $(HOST_CONFIGARGS) $${srcdiroption} \
15981 @stage2_werror_flag@
15982 @endif libcpp-bootstrap
15984 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15985 maybe-configure-stageprofile-libcpp:
15986 @if libcpp-bootstrap
15987 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15988 configure-stageprofile-libcpp:
15989 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15991 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15992 $(HOST_EXPORTS) \
15993 $(POSTSTAGE1_HOST_EXPORTS) \
15994 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15996 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15997 case $(srcdir) in \
15998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15999 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16001 esac; \
16002 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16003 libsrcdir="$$s/libcpp"; \
16004 $(SHELL) $${libsrcdir}/configure \
16005 $(HOST_CONFIGARGS) $${srcdiroption} \
16006 @stage2_werror_flag@
16007 @endif libcpp-bootstrap
16009 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16010 maybe-configure-stagefeedback-libcpp:
16011 @if libcpp-bootstrap
16012 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16013 configure-stagefeedback-libcpp:
16014 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16016 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16017 $(HOST_EXPORTS) \
16018 $(POSTSTAGE1_HOST_EXPORTS) \
16019 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16021 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16022 case $(srcdir) in \
16023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16024 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16026 esac; \
16027 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16028 libsrcdir="$$s/libcpp"; \
16029 $(SHELL) $${libsrcdir}/configure \
16030 $(HOST_CONFIGARGS) $${srcdiroption} \
16031 @stage2_werror_flag@
16032 @endif libcpp-bootstrap
16038 .PHONY: all-libcpp maybe-all-libcpp
16039 maybe-all-libcpp:
16040 @if libcpp
16041 TARGET-libcpp=all
16042 maybe-all-libcpp: all-libcpp
16043 all-libcpp: configure-libcpp
16044 @test -f stage_last && exit 0; \
16045 r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047 $(HOST_EXPORTS) \
16048 (cd $(HOST_SUBDIR)/libcpp && \
16049 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16050 @endif libcpp
16054 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16055 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16056 maybe-all-stage1-libcpp:
16057 maybe-clean-stage1-libcpp:
16058 @if libcpp-bootstrap
16059 maybe-all-stage1-libcpp: all-stage1-libcpp
16060 all-stage1: all-stage1-libcpp
16061 TARGET-stage1-libcpp = $(TARGET-libcpp)
16062 all-stage1-libcpp: configure-stage1-libcpp
16063 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16064 @r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16066 $(HOST_EXPORTS) \
16067 cd $(HOST_SUBDIR)/libcpp && \
16068 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16069 $(TARGET-stage1-libcpp)
16071 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16072 clean-stage1: clean-stage1-libcpp
16073 clean-stage1-libcpp:
16074 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16075 || exit 0 ; \
16076 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16077 cd $(HOST_SUBDIR)/libcpp && \
16078 $(MAKE) $(FLAGS_TO_PASS) \
16079 CFLAGS="$(STAGE1_CFLAGS)" clean
16080 @endif libcpp-bootstrap
16083 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16084 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16085 maybe-all-stage2-libcpp:
16086 maybe-clean-stage2-libcpp:
16087 @if libcpp-bootstrap
16088 maybe-all-stage2-libcpp: all-stage2-libcpp
16089 all-stage2: all-stage2-libcpp
16090 TARGET-stage2-libcpp = $(TARGET-libcpp)
16091 all-stage2-libcpp: configure-stage2-libcpp
16092 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16093 @r=`${PWD_COMMAND}`; export r; \
16094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16095 $(HOST_EXPORTS) \
16096 $(POSTSTAGE1_HOST_EXPORTS) \
16097 cd $(HOST_SUBDIR)/libcpp && \
16098 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16099 $(TARGET-stage2-libcpp)
16101 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16102 clean-stage2: clean-stage2-libcpp
16103 clean-stage2-libcpp:
16104 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16105 || exit 0 ; \
16106 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16107 cd $(HOST_SUBDIR)/libcpp && \
16108 $(MAKE) $(FLAGS_TO_PASS) \
16109 $(POSTSTAGE1_FLAGS_TO_PASS) \
16110 clean
16111 @endif libcpp-bootstrap
16114 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16115 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16116 maybe-all-stage3-libcpp:
16117 maybe-clean-stage3-libcpp:
16118 @if libcpp-bootstrap
16119 maybe-all-stage3-libcpp: all-stage3-libcpp
16120 all-stage3: all-stage3-libcpp
16121 TARGET-stage3-libcpp = $(TARGET-libcpp)
16122 all-stage3-libcpp: configure-stage3-libcpp
16123 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16124 @r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 $(HOST_EXPORTS) \
16127 $(POSTSTAGE1_HOST_EXPORTS) \
16128 cd $(HOST_SUBDIR)/libcpp && \
16129 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16130 $(TARGET-stage3-libcpp)
16132 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16133 clean-stage3: clean-stage3-libcpp
16134 clean-stage3-libcpp:
16135 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16136 || exit 0 ; \
16137 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16138 cd $(HOST_SUBDIR)/libcpp && \
16139 $(MAKE) $(FLAGS_TO_PASS) \
16140 $(POSTSTAGE1_FLAGS_TO_PASS) \
16141 clean
16142 @endif libcpp-bootstrap
16145 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16146 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16147 maybe-all-stage4-libcpp:
16148 maybe-clean-stage4-libcpp:
16149 @if libcpp-bootstrap
16150 maybe-all-stage4-libcpp: all-stage4-libcpp
16151 all-stage4: all-stage4-libcpp
16152 TARGET-stage4-libcpp = $(TARGET-libcpp)
16153 all-stage4-libcpp: configure-stage4-libcpp
16154 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16155 @r=`${PWD_COMMAND}`; export r; \
16156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16157 $(HOST_EXPORTS) \
16158 $(POSTSTAGE1_HOST_EXPORTS) \
16159 cd $(HOST_SUBDIR)/libcpp && \
16160 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16161 $(TARGET-stage4-libcpp)
16163 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16164 clean-stage4: clean-stage4-libcpp
16165 clean-stage4-libcpp:
16166 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16167 || exit 0 ; \
16168 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16169 cd $(HOST_SUBDIR)/libcpp && \
16170 $(MAKE) $(FLAGS_TO_PASS) \
16171 $(POSTSTAGE1_FLAGS_TO_PASS) \
16172 clean
16173 @endif libcpp-bootstrap
16176 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16177 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16178 maybe-all-stageprofile-libcpp:
16179 maybe-clean-stageprofile-libcpp:
16180 @if libcpp-bootstrap
16181 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16182 all-stageprofile: all-stageprofile-libcpp
16183 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16184 all-stageprofile-libcpp: configure-stageprofile-libcpp
16185 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16186 @r=`${PWD_COMMAND}`; export r; \
16187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 $(HOST_EXPORTS) \
16189 $(POSTSTAGE1_HOST_EXPORTS) \
16190 cd $(HOST_SUBDIR)/libcpp && \
16191 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16192 $(TARGET-stageprofile-libcpp)
16194 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16195 clean-stageprofile: clean-stageprofile-libcpp
16196 clean-stageprofile-libcpp:
16197 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16198 || exit 0 ; \
16199 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16200 cd $(HOST_SUBDIR)/libcpp && \
16201 $(MAKE) $(FLAGS_TO_PASS) \
16202 $(POSTSTAGE1_FLAGS_TO_PASS) \
16203 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16204 @endif libcpp-bootstrap
16207 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16208 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16209 maybe-all-stagefeedback-libcpp:
16210 maybe-clean-stagefeedback-libcpp:
16211 @if libcpp-bootstrap
16212 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16213 all-stagefeedback: all-stagefeedback-libcpp
16214 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16215 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16216 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16217 @r=`${PWD_COMMAND}`; export r; \
16218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16219 $(HOST_EXPORTS) \
16220 $(POSTSTAGE1_HOST_EXPORTS) \
16221 cd $(HOST_SUBDIR)/libcpp && \
16222 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16223 $(TARGET-stagefeedback-libcpp)
16225 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16226 clean-stagefeedback: clean-stagefeedback-libcpp
16227 clean-stagefeedback-libcpp:
16228 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16229 || exit 0 ; \
16230 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16231 cd $(HOST_SUBDIR)/libcpp && \
16232 $(MAKE) $(FLAGS_TO_PASS) \
16233 $(POSTSTAGE1_FLAGS_TO_PASS) \
16234 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16235 @endif libcpp-bootstrap
16241 .PHONY: check-libcpp maybe-check-libcpp
16242 maybe-check-libcpp:
16243 @if libcpp
16244 maybe-check-libcpp: check-libcpp
16246 check-libcpp:
16247 @: $(MAKE); $(unstage)
16248 @r=`${PWD_COMMAND}`; export r; \
16249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16250 $(HOST_EXPORTS) \
16251 (cd $(HOST_SUBDIR)/libcpp && \
16252 $(MAKE) $(FLAGS_TO_PASS) check)
16254 @endif libcpp
16256 .PHONY: install-libcpp maybe-install-libcpp
16257 maybe-install-libcpp:
16258 @if libcpp
16259 maybe-install-libcpp: install-libcpp
16261 install-libcpp: installdirs
16262 @: $(MAKE); $(unstage)
16263 @r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(HOST_EXPORTS) \
16266 (cd $(HOST_SUBDIR)/libcpp && \
16267 $(MAKE) $(FLAGS_TO_PASS) install)
16269 @endif libcpp
16271 # Other targets (info, dvi, etc.)
16273 .PHONY: maybe-info-libcpp info-libcpp
16274 maybe-info-libcpp:
16275 @if libcpp
16276 maybe-info-libcpp: info-libcpp
16278 info-libcpp: \
16279 configure-libcpp
16280 @[ -f ./libcpp/Makefile ] || exit 0; \
16281 r=`${PWD_COMMAND}`; export r; \
16282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16283 $(HOST_EXPORTS) \
16284 for flag in $(EXTRA_HOST_FLAGS) ; do \
16285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16286 done; \
16287 echo "Doing info in libcpp" ; \
16288 (cd $(HOST_SUBDIR)/libcpp && \
16289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16291 "RANLIB=$${RANLIB}" \
16292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16293 info) \
16294 || exit 1
16296 @endif libcpp
16298 .PHONY: maybe-dvi-libcpp dvi-libcpp
16299 maybe-dvi-libcpp:
16300 @if libcpp
16301 maybe-dvi-libcpp: dvi-libcpp
16303 dvi-libcpp: \
16304 configure-libcpp
16305 @[ -f ./libcpp/Makefile ] || exit 0; \
16306 r=`${PWD_COMMAND}`; export r; \
16307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16308 $(HOST_EXPORTS) \
16309 for flag in $(EXTRA_HOST_FLAGS) ; do \
16310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16311 done; \
16312 echo "Doing dvi in libcpp" ; \
16313 (cd $(HOST_SUBDIR)/libcpp && \
16314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16316 "RANLIB=$${RANLIB}" \
16317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16318 dvi) \
16319 || exit 1
16321 @endif libcpp
16323 .PHONY: maybe-html-libcpp html-libcpp
16324 maybe-html-libcpp:
16325 @if libcpp
16326 maybe-html-libcpp: html-libcpp
16328 html-libcpp: \
16329 configure-libcpp
16330 @[ -f ./libcpp/Makefile ] || exit 0; \
16331 r=`${PWD_COMMAND}`; export r; \
16332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16333 $(HOST_EXPORTS) \
16334 for flag in $(EXTRA_HOST_FLAGS) ; do \
16335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16336 done; \
16337 echo "Doing html in libcpp" ; \
16338 (cd $(HOST_SUBDIR)/libcpp && \
16339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16341 "RANLIB=$${RANLIB}" \
16342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16343 html) \
16344 || exit 1
16346 @endif libcpp
16348 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16349 maybe-TAGS-libcpp:
16350 @if libcpp
16351 maybe-TAGS-libcpp: TAGS-libcpp
16353 TAGS-libcpp: \
16354 configure-libcpp
16355 @[ -f ./libcpp/Makefile ] || exit 0; \
16356 r=`${PWD_COMMAND}`; export r; \
16357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16358 $(HOST_EXPORTS) \
16359 for flag in $(EXTRA_HOST_FLAGS) ; do \
16360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16361 done; \
16362 echo "Doing TAGS in libcpp" ; \
16363 (cd $(HOST_SUBDIR)/libcpp && \
16364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16366 "RANLIB=$${RANLIB}" \
16367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16368 TAGS) \
16369 || exit 1
16371 @endif libcpp
16373 .PHONY: maybe-install-info-libcpp install-info-libcpp
16374 maybe-install-info-libcpp:
16375 @if libcpp
16376 maybe-install-info-libcpp: install-info-libcpp
16378 install-info-libcpp: \
16379 configure-libcpp \
16380 info-libcpp
16381 @[ -f ./libcpp/Makefile ] || exit 0; \
16382 r=`${PWD_COMMAND}`; export r; \
16383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16384 $(HOST_EXPORTS) \
16385 for flag in $(EXTRA_HOST_FLAGS) ; do \
16386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16387 done; \
16388 echo "Doing install-info in libcpp" ; \
16389 (cd $(HOST_SUBDIR)/libcpp && \
16390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16392 "RANLIB=$${RANLIB}" \
16393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16394 install-info) \
16395 || exit 1
16397 @endif libcpp
16399 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16400 maybe-installcheck-libcpp:
16401 @if libcpp
16402 maybe-installcheck-libcpp: installcheck-libcpp
16404 installcheck-libcpp: \
16405 configure-libcpp
16406 @[ -f ./libcpp/Makefile ] || exit 0; \
16407 r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16409 $(HOST_EXPORTS) \
16410 for flag in $(EXTRA_HOST_FLAGS) ; do \
16411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16412 done; \
16413 echo "Doing installcheck in libcpp" ; \
16414 (cd $(HOST_SUBDIR)/libcpp && \
16415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16417 "RANLIB=$${RANLIB}" \
16418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16419 installcheck) \
16420 || exit 1
16422 @endif libcpp
16424 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16425 maybe-mostlyclean-libcpp:
16426 @if libcpp
16427 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16429 mostlyclean-libcpp:
16430 @[ -f ./libcpp/Makefile ] || exit 0; \
16431 r=`${PWD_COMMAND}`; export r; \
16432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16433 $(HOST_EXPORTS) \
16434 for flag in $(EXTRA_HOST_FLAGS) ; do \
16435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16436 done; \
16437 echo "Doing mostlyclean in libcpp" ; \
16438 (cd $(HOST_SUBDIR)/libcpp && \
16439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16441 "RANLIB=$${RANLIB}" \
16442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16443 mostlyclean) \
16444 || exit 1
16446 @endif libcpp
16448 .PHONY: maybe-clean-libcpp clean-libcpp
16449 maybe-clean-libcpp:
16450 @if libcpp
16451 maybe-clean-libcpp: clean-libcpp
16453 clean-libcpp:
16454 @[ -f ./libcpp/Makefile ] || exit 0; \
16455 r=`${PWD_COMMAND}`; export r; \
16456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16457 $(HOST_EXPORTS) \
16458 for flag in $(EXTRA_HOST_FLAGS) ; do \
16459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16460 done; \
16461 echo "Doing clean in libcpp" ; \
16462 (cd $(HOST_SUBDIR)/libcpp && \
16463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16465 "RANLIB=$${RANLIB}" \
16466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16467 clean) \
16468 || exit 1
16470 @endif libcpp
16472 .PHONY: maybe-distclean-libcpp distclean-libcpp
16473 maybe-distclean-libcpp:
16474 @if libcpp
16475 maybe-distclean-libcpp: distclean-libcpp
16477 distclean-libcpp:
16478 @[ -f ./libcpp/Makefile ] || exit 0; \
16479 r=`${PWD_COMMAND}`; export r; \
16480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16481 $(HOST_EXPORTS) \
16482 for flag in $(EXTRA_HOST_FLAGS) ; do \
16483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16484 done; \
16485 echo "Doing distclean in libcpp" ; \
16486 (cd $(HOST_SUBDIR)/libcpp && \
16487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16489 "RANLIB=$${RANLIB}" \
16490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16491 distclean) \
16492 || exit 1
16494 @endif libcpp
16496 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16497 maybe-maintainer-clean-libcpp:
16498 @if libcpp
16499 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16501 maintainer-clean-libcpp:
16502 @[ -f ./libcpp/Makefile ] || exit 0; \
16503 r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 $(HOST_EXPORTS) \
16506 for flag in $(EXTRA_HOST_FLAGS) ; do \
16507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16508 done; \
16509 echo "Doing maintainer-clean in libcpp" ; \
16510 (cd $(HOST_SUBDIR)/libcpp && \
16511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16513 "RANLIB=$${RANLIB}" \
16514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16515 maintainer-clean) \
16516 || exit 1
16518 @endif libcpp
16522 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16523 maybe-configure-libdecnumber:
16524 @if libdecnumber
16525 maybe-configure-libdecnumber: configure-libdecnumber
16526 configure-libdecnumber:
16527 @test -f stage_last && exit 0; \
16528 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16530 r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 $(HOST_EXPORTS) \
16533 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16534 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16535 case $(srcdir) in \
16536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16537 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16539 esac; \
16540 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16541 libsrcdir="$$s/libdecnumber"; \
16542 $(SHELL) $${libsrcdir}/configure \
16543 $(HOST_CONFIGARGS) $${srcdiroption} \
16544 || exit 1
16545 @endif libdecnumber
16549 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16550 maybe-configure-stage1-libdecnumber:
16551 @if libdecnumber-bootstrap
16552 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16553 configure-stage1-libdecnumber:
16554 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16556 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16557 $(HOST_EXPORTS) \
16558 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16560 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16561 case $(srcdir) in \
16562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16563 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16565 esac; \
16566 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16567 libsrcdir="$$s/libdecnumber"; \
16568 $(SHELL) $${libsrcdir}/configure \
16569 $(HOST_CONFIGARGS) $${srcdiroption} \
16570 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16571 @endif libdecnumber-bootstrap
16573 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16574 maybe-configure-stage2-libdecnumber:
16575 @if libdecnumber-bootstrap
16576 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16577 configure-stage2-libdecnumber:
16578 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16580 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16581 $(HOST_EXPORTS) \
16582 $(POSTSTAGE1_HOST_EXPORTS) \
16583 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16585 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16586 case $(srcdir) in \
16587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16588 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16590 esac; \
16591 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16592 libsrcdir="$$s/libdecnumber"; \
16593 $(SHELL) $${libsrcdir}/configure \
16594 $(HOST_CONFIGARGS) $${srcdiroption} \
16595 @stage2_werror_flag@
16596 @endif libdecnumber-bootstrap
16598 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16599 maybe-configure-stage3-libdecnumber:
16600 @if libdecnumber-bootstrap
16601 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16602 configure-stage3-libdecnumber:
16603 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16604 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16605 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16606 $(HOST_EXPORTS) \
16607 $(POSTSTAGE1_HOST_EXPORTS) \
16608 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16610 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16611 case $(srcdir) in \
16612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16613 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16615 esac; \
16616 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16617 libsrcdir="$$s/libdecnumber"; \
16618 $(SHELL) $${libsrcdir}/configure \
16619 $(HOST_CONFIGARGS) $${srcdiroption} \
16620 @stage2_werror_flag@
16621 @endif libdecnumber-bootstrap
16623 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16624 maybe-configure-stage4-libdecnumber:
16625 @if libdecnumber-bootstrap
16626 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16627 configure-stage4-libdecnumber:
16628 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16629 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16630 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16631 $(HOST_EXPORTS) \
16632 $(POSTSTAGE1_HOST_EXPORTS) \
16633 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16635 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16636 case $(srcdir) in \
16637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16638 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16640 esac; \
16641 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16642 libsrcdir="$$s/libdecnumber"; \
16643 $(SHELL) $${libsrcdir}/configure \
16644 $(HOST_CONFIGARGS) $${srcdiroption} \
16645 @stage2_werror_flag@
16646 @endif libdecnumber-bootstrap
16648 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16649 maybe-configure-stageprofile-libdecnumber:
16650 @if libdecnumber-bootstrap
16651 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16652 configure-stageprofile-libdecnumber:
16653 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16654 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16655 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16656 $(HOST_EXPORTS) \
16657 $(POSTSTAGE1_HOST_EXPORTS) \
16658 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16660 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16661 case $(srcdir) in \
16662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16663 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16665 esac; \
16666 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16667 libsrcdir="$$s/libdecnumber"; \
16668 $(SHELL) $${libsrcdir}/configure \
16669 $(HOST_CONFIGARGS) $${srcdiroption} \
16670 @stage2_werror_flag@
16671 @endif libdecnumber-bootstrap
16673 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16674 maybe-configure-stagefeedback-libdecnumber:
16675 @if libdecnumber-bootstrap
16676 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16677 configure-stagefeedback-libdecnumber:
16678 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16679 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16680 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16681 $(HOST_EXPORTS) \
16682 $(POSTSTAGE1_HOST_EXPORTS) \
16683 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16685 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16686 case $(srcdir) in \
16687 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16688 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16689 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16690 esac; \
16691 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16692 libsrcdir="$$s/libdecnumber"; \
16693 $(SHELL) $${libsrcdir}/configure \
16694 $(HOST_CONFIGARGS) $${srcdiroption} \
16695 @stage2_werror_flag@
16696 @endif libdecnumber-bootstrap
16702 .PHONY: all-libdecnumber maybe-all-libdecnumber
16703 maybe-all-libdecnumber:
16704 @if libdecnumber
16705 TARGET-libdecnumber=all
16706 maybe-all-libdecnumber: all-libdecnumber
16707 all-libdecnumber: configure-libdecnumber
16708 @test -f stage_last && exit 0; \
16709 r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 $(HOST_EXPORTS) \
16712 (cd $(HOST_SUBDIR)/libdecnumber && \
16713 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16714 @endif libdecnumber
16718 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16719 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16720 maybe-all-stage1-libdecnumber:
16721 maybe-clean-stage1-libdecnumber:
16722 @if libdecnumber-bootstrap
16723 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16724 all-stage1: all-stage1-libdecnumber
16725 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16726 all-stage1-libdecnumber: configure-stage1-libdecnumber
16727 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16728 @r=`${PWD_COMMAND}`; export r; \
16729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16730 $(HOST_EXPORTS) \
16731 cd $(HOST_SUBDIR)/libdecnumber && \
16732 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16733 $(TARGET-stage1-libdecnumber)
16735 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16736 clean-stage1: clean-stage1-libdecnumber
16737 clean-stage1-libdecnumber:
16738 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16739 || exit 0 ; \
16740 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16741 cd $(HOST_SUBDIR)/libdecnumber && \
16742 $(MAKE) $(FLAGS_TO_PASS) \
16743 CFLAGS="$(STAGE1_CFLAGS)" clean
16744 @endif libdecnumber-bootstrap
16747 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16748 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16749 maybe-all-stage2-libdecnumber:
16750 maybe-clean-stage2-libdecnumber:
16751 @if libdecnumber-bootstrap
16752 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16753 all-stage2: all-stage2-libdecnumber
16754 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16755 all-stage2-libdecnumber: configure-stage2-libdecnumber
16756 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16757 @r=`${PWD_COMMAND}`; export r; \
16758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 $(HOST_EXPORTS) \
16760 $(POSTSTAGE1_HOST_EXPORTS) \
16761 cd $(HOST_SUBDIR)/libdecnumber && \
16762 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16763 $(TARGET-stage2-libdecnumber)
16765 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
16766 clean-stage2: clean-stage2-libdecnumber
16767 clean-stage2-libdecnumber:
16768 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
16769 || exit 0 ; \
16770 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16771 cd $(HOST_SUBDIR)/libdecnumber && \
16772 $(MAKE) $(FLAGS_TO_PASS) \
16773 $(POSTSTAGE1_FLAGS_TO_PASS) \
16774 clean
16775 @endif libdecnumber-bootstrap
16778 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
16779 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
16780 maybe-all-stage3-libdecnumber:
16781 maybe-clean-stage3-libdecnumber:
16782 @if libdecnumber-bootstrap
16783 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
16784 all-stage3: all-stage3-libdecnumber
16785 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
16786 all-stage3-libdecnumber: configure-stage3-libdecnumber
16787 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16788 @r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 $(HOST_EXPORTS) \
16791 $(POSTSTAGE1_HOST_EXPORTS) \
16792 cd $(HOST_SUBDIR)/libdecnumber && \
16793 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16794 $(TARGET-stage3-libdecnumber)
16796 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
16797 clean-stage3: clean-stage3-libdecnumber
16798 clean-stage3-libdecnumber:
16799 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
16800 || exit 0 ; \
16801 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16802 cd $(HOST_SUBDIR)/libdecnumber && \
16803 $(MAKE) $(FLAGS_TO_PASS) \
16804 $(POSTSTAGE1_FLAGS_TO_PASS) \
16805 clean
16806 @endif libdecnumber-bootstrap
16809 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
16810 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
16811 maybe-all-stage4-libdecnumber:
16812 maybe-clean-stage4-libdecnumber:
16813 @if libdecnumber-bootstrap
16814 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
16815 all-stage4: all-stage4-libdecnumber
16816 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
16817 all-stage4-libdecnumber: configure-stage4-libdecnumber
16818 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16819 @r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821 $(HOST_EXPORTS) \
16822 $(POSTSTAGE1_HOST_EXPORTS) \
16823 cd $(HOST_SUBDIR)/libdecnumber && \
16824 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16825 $(TARGET-stage4-libdecnumber)
16827 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
16828 clean-stage4: clean-stage4-libdecnumber
16829 clean-stage4-libdecnumber:
16830 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
16831 || exit 0 ; \
16832 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16833 cd $(HOST_SUBDIR)/libdecnumber && \
16834 $(MAKE) $(FLAGS_TO_PASS) \
16835 $(POSTSTAGE1_FLAGS_TO_PASS) \
16836 clean
16837 @endif libdecnumber-bootstrap
16840 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
16841 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
16842 maybe-all-stageprofile-libdecnumber:
16843 maybe-clean-stageprofile-libdecnumber:
16844 @if libdecnumber-bootstrap
16845 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
16846 all-stageprofile: all-stageprofile-libdecnumber
16847 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
16848 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16849 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16850 @r=`${PWD_COMMAND}`; export r; \
16851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16852 $(HOST_EXPORTS) \
16853 $(POSTSTAGE1_HOST_EXPORTS) \
16854 cd $(HOST_SUBDIR)/libdecnumber && \
16855 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16856 $(TARGET-stageprofile-libdecnumber)
16858 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
16859 clean-stageprofile: clean-stageprofile-libdecnumber
16860 clean-stageprofile-libdecnumber:
16861 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
16862 || exit 0 ; \
16863 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16864 cd $(HOST_SUBDIR)/libdecnumber && \
16865 $(MAKE) $(FLAGS_TO_PASS) \
16866 $(POSTSTAGE1_FLAGS_TO_PASS) \
16867 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16868 @endif libdecnumber-bootstrap
16871 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
16872 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
16873 maybe-all-stagefeedback-libdecnumber:
16874 maybe-clean-stagefeedback-libdecnumber:
16875 @if libdecnumber-bootstrap
16876 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
16877 all-stagefeedback: all-stagefeedback-libdecnumber
16878 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
16879 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16880 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16881 @r=`${PWD_COMMAND}`; export r; \
16882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16883 $(HOST_EXPORTS) \
16884 $(POSTSTAGE1_HOST_EXPORTS) \
16885 cd $(HOST_SUBDIR)/libdecnumber && \
16886 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16887 $(TARGET-stagefeedback-libdecnumber)
16889 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
16890 clean-stagefeedback: clean-stagefeedback-libdecnumber
16891 clean-stagefeedback-libdecnumber:
16892 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
16893 || exit 0 ; \
16894 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16895 cd $(HOST_SUBDIR)/libdecnumber && \
16896 $(MAKE) $(FLAGS_TO_PASS) \
16897 $(POSTSTAGE1_FLAGS_TO_PASS) \
16898 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16899 @endif libdecnumber-bootstrap
16905 .PHONY: check-libdecnumber maybe-check-libdecnumber
16906 maybe-check-libdecnumber:
16907 @if libdecnumber
16908 maybe-check-libdecnumber: check-libdecnumber
16910 check-libdecnumber:
16911 @: $(MAKE); $(unstage)
16912 @r=`${PWD_COMMAND}`; export r; \
16913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16914 $(HOST_EXPORTS) \
16915 (cd $(HOST_SUBDIR)/libdecnumber && \
16916 $(MAKE) $(FLAGS_TO_PASS) check)
16918 @endif libdecnumber
16920 .PHONY: install-libdecnumber maybe-install-libdecnumber
16921 maybe-install-libdecnumber:
16922 @if libdecnumber
16923 maybe-install-libdecnumber: install-libdecnumber
16925 install-libdecnumber: installdirs
16926 @: $(MAKE); $(unstage)
16927 @r=`${PWD_COMMAND}`; export r; \
16928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16929 $(HOST_EXPORTS) \
16930 (cd $(HOST_SUBDIR)/libdecnumber && \
16931 $(MAKE) $(FLAGS_TO_PASS) install)
16933 @endif libdecnumber
16935 # Other targets (info, dvi, etc.)
16937 .PHONY: maybe-info-libdecnumber info-libdecnumber
16938 maybe-info-libdecnumber:
16939 @if libdecnumber
16940 maybe-info-libdecnumber: info-libdecnumber
16942 info-libdecnumber: \
16943 configure-libdecnumber
16944 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16945 r=`${PWD_COMMAND}`; export r; \
16946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16947 $(HOST_EXPORTS) \
16948 for flag in $(EXTRA_HOST_FLAGS) ; do \
16949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16950 done; \
16951 echo "Doing info in libdecnumber" ; \
16952 (cd $(HOST_SUBDIR)/libdecnumber && \
16953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16955 "RANLIB=$${RANLIB}" \
16956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16957 info) \
16958 || exit 1
16960 @endif libdecnumber
16962 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
16963 maybe-dvi-libdecnumber:
16964 @if libdecnumber
16965 maybe-dvi-libdecnumber: dvi-libdecnumber
16967 dvi-libdecnumber: \
16968 configure-libdecnumber
16969 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16970 r=`${PWD_COMMAND}`; export r; \
16971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16972 $(HOST_EXPORTS) \
16973 for flag in $(EXTRA_HOST_FLAGS) ; do \
16974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16975 done; \
16976 echo "Doing dvi in libdecnumber" ; \
16977 (cd $(HOST_SUBDIR)/libdecnumber && \
16978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16980 "RANLIB=$${RANLIB}" \
16981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16982 dvi) \
16983 || exit 1
16985 @endif libdecnumber
16987 .PHONY: maybe-html-libdecnumber html-libdecnumber
16988 maybe-html-libdecnumber:
16989 @if libdecnumber
16990 maybe-html-libdecnumber: html-libdecnumber
16992 html-libdecnumber: \
16993 configure-libdecnumber
16994 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16995 r=`${PWD_COMMAND}`; export r; \
16996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16997 $(HOST_EXPORTS) \
16998 for flag in $(EXTRA_HOST_FLAGS) ; do \
16999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17000 done; \
17001 echo "Doing html in libdecnumber" ; \
17002 (cd $(HOST_SUBDIR)/libdecnumber && \
17003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17005 "RANLIB=$${RANLIB}" \
17006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17007 html) \
17008 || exit 1
17010 @endif libdecnumber
17012 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17013 maybe-TAGS-libdecnumber:
17014 @if libdecnumber
17015 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17017 TAGS-libdecnumber: \
17018 configure-libdecnumber
17019 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17020 r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 $(HOST_EXPORTS) \
17023 for flag in $(EXTRA_HOST_FLAGS) ; do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17025 done; \
17026 echo "Doing TAGS in libdecnumber" ; \
17027 (cd $(HOST_SUBDIR)/libdecnumber && \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17032 TAGS) \
17033 || exit 1
17035 @endif libdecnumber
17037 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17038 maybe-install-info-libdecnumber:
17039 @if libdecnumber
17040 maybe-install-info-libdecnumber: install-info-libdecnumber
17042 install-info-libdecnumber: \
17043 configure-libdecnumber \
17044 info-libdecnumber
17045 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17046 r=`${PWD_COMMAND}`; export r; \
17047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048 $(HOST_EXPORTS) \
17049 for flag in $(EXTRA_HOST_FLAGS) ; do \
17050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17051 done; \
17052 echo "Doing install-info in libdecnumber" ; \
17053 (cd $(HOST_SUBDIR)/libdecnumber && \
17054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17056 "RANLIB=$${RANLIB}" \
17057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17058 install-info) \
17059 || exit 1
17061 @endif libdecnumber
17063 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17064 maybe-installcheck-libdecnumber:
17065 @if libdecnumber
17066 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17068 installcheck-libdecnumber: \
17069 configure-libdecnumber
17070 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17071 r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 $(HOST_EXPORTS) \
17074 for flag in $(EXTRA_HOST_FLAGS) ; do \
17075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17076 done; \
17077 echo "Doing installcheck in libdecnumber" ; \
17078 (cd $(HOST_SUBDIR)/libdecnumber && \
17079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17081 "RANLIB=$${RANLIB}" \
17082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17083 installcheck) \
17084 || exit 1
17086 @endif libdecnumber
17088 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17089 maybe-mostlyclean-libdecnumber:
17090 @if libdecnumber
17091 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17093 mostlyclean-libdecnumber:
17094 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17095 r=`${PWD_COMMAND}`; export r; \
17096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17097 $(HOST_EXPORTS) \
17098 for flag in $(EXTRA_HOST_FLAGS) ; do \
17099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17100 done; \
17101 echo "Doing mostlyclean in libdecnumber" ; \
17102 (cd $(HOST_SUBDIR)/libdecnumber && \
17103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17105 "RANLIB=$${RANLIB}" \
17106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17107 mostlyclean) \
17108 || exit 1
17110 @endif libdecnumber
17112 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17113 maybe-clean-libdecnumber:
17114 @if libdecnumber
17115 maybe-clean-libdecnumber: clean-libdecnumber
17117 clean-libdecnumber:
17118 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17119 r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 $(HOST_EXPORTS) \
17122 for flag in $(EXTRA_HOST_FLAGS) ; do \
17123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17124 done; \
17125 echo "Doing clean in libdecnumber" ; \
17126 (cd $(HOST_SUBDIR)/libdecnumber && \
17127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17129 "RANLIB=$${RANLIB}" \
17130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17131 clean) \
17132 || exit 1
17134 @endif libdecnumber
17136 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17137 maybe-distclean-libdecnumber:
17138 @if libdecnumber
17139 maybe-distclean-libdecnumber: distclean-libdecnumber
17141 distclean-libdecnumber:
17142 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17143 r=`${PWD_COMMAND}`; export r; \
17144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17145 $(HOST_EXPORTS) \
17146 for flag in $(EXTRA_HOST_FLAGS) ; do \
17147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17148 done; \
17149 echo "Doing distclean in libdecnumber" ; \
17150 (cd $(HOST_SUBDIR)/libdecnumber && \
17151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17153 "RANLIB=$${RANLIB}" \
17154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17155 distclean) \
17156 || exit 1
17158 @endif libdecnumber
17160 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17161 maybe-maintainer-clean-libdecnumber:
17162 @if libdecnumber
17163 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17165 maintainer-clean-libdecnumber:
17166 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17167 r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169 $(HOST_EXPORTS) \
17170 for flag in $(EXTRA_HOST_FLAGS) ; do \
17171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17172 done; \
17173 echo "Doing maintainer-clean in libdecnumber" ; \
17174 (cd $(HOST_SUBDIR)/libdecnumber && \
17175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17177 "RANLIB=$${RANLIB}" \
17178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17179 maintainer-clean) \
17180 || exit 1
17182 @endif libdecnumber
17186 .PHONY: configure-libgui maybe-configure-libgui
17187 maybe-configure-libgui:
17188 @if libgui
17189 maybe-configure-libgui: configure-libgui
17190 configure-libgui:
17191 @: $(MAKE); $(unstage)
17192 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17194 r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 $(HOST_EXPORTS) \
17197 echo Configuring in $(HOST_SUBDIR)/libgui; \
17198 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17199 case $(srcdir) in \
17200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17201 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17203 esac; \
17204 srcdiroption="--srcdir=$${topdir}/libgui"; \
17205 libsrcdir="$$s/libgui"; \
17206 $(SHELL) $${libsrcdir}/configure \
17207 $(HOST_CONFIGARGS) $${srcdiroption} \
17208 || exit 1
17209 @endif libgui
17215 .PHONY: all-libgui maybe-all-libgui
17216 maybe-all-libgui:
17217 @if libgui
17218 TARGET-libgui=all
17219 maybe-all-libgui: all-libgui
17220 all-libgui: configure-libgui
17221 @: $(MAKE); $(unstage)
17222 @r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17224 $(HOST_EXPORTS) \
17225 (cd $(HOST_SUBDIR)/libgui && \
17226 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17227 @endif libgui
17232 .PHONY: check-libgui maybe-check-libgui
17233 maybe-check-libgui:
17234 @if libgui
17235 maybe-check-libgui: check-libgui
17237 check-libgui:
17238 @: $(MAKE); $(unstage)
17239 @r=`${PWD_COMMAND}`; export r; \
17240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17241 $(HOST_EXPORTS) \
17242 (cd $(HOST_SUBDIR)/libgui && \
17243 $(MAKE) $(FLAGS_TO_PASS) check)
17245 @endif libgui
17247 .PHONY: install-libgui maybe-install-libgui
17248 maybe-install-libgui:
17249 @if libgui
17250 maybe-install-libgui: install-libgui
17252 install-libgui: installdirs
17253 @: $(MAKE); $(unstage)
17254 @r=`${PWD_COMMAND}`; export r; \
17255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17256 $(HOST_EXPORTS) \
17257 (cd $(HOST_SUBDIR)/libgui && \
17258 $(MAKE) $(FLAGS_TO_PASS) install)
17260 @endif libgui
17262 # Other targets (info, dvi, etc.)
17264 .PHONY: maybe-info-libgui info-libgui
17265 maybe-info-libgui:
17266 @if libgui
17267 maybe-info-libgui: info-libgui
17269 info-libgui: \
17270 configure-libgui
17271 @: $(MAKE); $(unstage)
17272 @[ -f ./libgui/Makefile ] || exit 0; \
17273 r=`${PWD_COMMAND}`; export r; \
17274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17275 $(HOST_EXPORTS) \
17276 for flag in $(EXTRA_HOST_FLAGS) ; do \
17277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17278 done; \
17279 echo "Doing info in libgui" ; \
17280 (cd $(HOST_SUBDIR)/libgui && \
17281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17283 "RANLIB=$${RANLIB}" \
17284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17285 info) \
17286 || exit 1
17288 @endif libgui
17290 .PHONY: maybe-dvi-libgui dvi-libgui
17291 maybe-dvi-libgui:
17292 @if libgui
17293 maybe-dvi-libgui: dvi-libgui
17295 dvi-libgui: \
17296 configure-libgui
17297 @: $(MAKE); $(unstage)
17298 @[ -f ./libgui/Makefile ] || exit 0; \
17299 r=`${PWD_COMMAND}`; export r; \
17300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17301 $(HOST_EXPORTS) \
17302 for flag in $(EXTRA_HOST_FLAGS) ; do \
17303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17304 done; \
17305 echo "Doing dvi in libgui" ; \
17306 (cd $(HOST_SUBDIR)/libgui && \
17307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17309 "RANLIB=$${RANLIB}" \
17310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17311 dvi) \
17312 || exit 1
17314 @endif libgui
17316 .PHONY: maybe-html-libgui html-libgui
17317 maybe-html-libgui:
17318 @if libgui
17319 maybe-html-libgui: html-libgui
17321 html-libgui: \
17322 configure-libgui
17323 @: $(MAKE); $(unstage)
17324 @[ -f ./libgui/Makefile ] || exit 0; \
17325 r=`${PWD_COMMAND}`; export r; \
17326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17327 $(HOST_EXPORTS) \
17328 for flag in $(EXTRA_HOST_FLAGS) ; do \
17329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17330 done; \
17331 echo "Doing html in libgui" ; \
17332 (cd $(HOST_SUBDIR)/libgui && \
17333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17335 "RANLIB=$${RANLIB}" \
17336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17337 html) \
17338 || exit 1
17340 @endif libgui
17342 .PHONY: maybe-TAGS-libgui TAGS-libgui
17343 maybe-TAGS-libgui:
17344 @if libgui
17345 maybe-TAGS-libgui: TAGS-libgui
17347 TAGS-libgui: \
17348 configure-libgui
17349 @: $(MAKE); $(unstage)
17350 @[ -f ./libgui/Makefile ] || exit 0; \
17351 r=`${PWD_COMMAND}`; export r; \
17352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17353 $(HOST_EXPORTS) \
17354 for flag in $(EXTRA_HOST_FLAGS) ; do \
17355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17356 done; \
17357 echo "Doing TAGS in libgui" ; \
17358 (cd $(HOST_SUBDIR)/libgui && \
17359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17361 "RANLIB=$${RANLIB}" \
17362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17363 TAGS) \
17364 || exit 1
17366 @endif libgui
17368 .PHONY: maybe-install-info-libgui install-info-libgui
17369 maybe-install-info-libgui:
17370 @if libgui
17371 maybe-install-info-libgui: install-info-libgui
17373 install-info-libgui: \
17374 configure-libgui \
17375 info-libgui
17376 @: $(MAKE); $(unstage)
17377 @[ -f ./libgui/Makefile ] || exit 0; \
17378 r=`${PWD_COMMAND}`; export r; \
17379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17380 $(HOST_EXPORTS) \
17381 for flag in $(EXTRA_HOST_FLAGS) ; do \
17382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17383 done; \
17384 echo "Doing install-info in libgui" ; \
17385 (cd $(HOST_SUBDIR)/libgui && \
17386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17388 "RANLIB=$${RANLIB}" \
17389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17390 install-info) \
17391 || exit 1
17393 @endif libgui
17395 .PHONY: maybe-installcheck-libgui installcheck-libgui
17396 maybe-installcheck-libgui:
17397 @if libgui
17398 maybe-installcheck-libgui: installcheck-libgui
17400 installcheck-libgui: \
17401 configure-libgui
17402 @: $(MAKE); $(unstage)
17403 @[ -f ./libgui/Makefile ] || exit 0; \
17404 r=`${PWD_COMMAND}`; export r; \
17405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17406 $(HOST_EXPORTS) \
17407 for flag in $(EXTRA_HOST_FLAGS) ; do \
17408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17409 done; \
17410 echo "Doing installcheck in libgui" ; \
17411 (cd $(HOST_SUBDIR)/libgui && \
17412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17414 "RANLIB=$${RANLIB}" \
17415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17416 installcheck) \
17417 || exit 1
17419 @endif libgui
17421 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17422 maybe-mostlyclean-libgui:
17423 @if libgui
17424 maybe-mostlyclean-libgui: mostlyclean-libgui
17426 mostlyclean-libgui:
17427 @: $(MAKE); $(unstage)
17428 @[ -f ./libgui/Makefile ] || exit 0; \
17429 r=`${PWD_COMMAND}`; export r; \
17430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17431 $(HOST_EXPORTS) \
17432 for flag in $(EXTRA_HOST_FLAGS) ; do \
17433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17434 done; \
17435 echo "Doing mostlyclean in libgui" ; \
17436 (cd $(HOST_SUBDIR)/libgui && \
17437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17439 "RANLIB=$${RANLIB}" \
17440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17441 mostlyclean) \
17442 || exit 1
17444 @endif libgui
17446 .PHONY: maybe-clean-libgui clean-libgui
17447 maybe-clean-libgui:
17448 @if libgui
17449 maybe-clean-libgui: clean-libgui
17451 clean-libgui:
17452 @: $(MAKE); $(unstage)
17453 @[ -f ./libgui/Makefile ] || exit 0; \
17454 r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17456 $(HOST_EXPORTS) \
17457 for flag in $(EXTRA_HOST_FLAGS) ; do \
17458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17459 done; \
17460 echo "Doing clean in libgui" ; \
17461 (cd $(HOST_SUBDIR)/libgui && \
17462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17464 "RANLIB=$${RANLIB}" \
17465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17466 clean) \
17467 || exit 1
17469 @endif libgui
17471 .PHONY: maybe-distclean-libgui distclean-libgui
17472 maybe-distclean-libgui:
17473 @if libgui
17474 maybe-distclean-libgui: distclean-libgui
17476 distclean-libgui:
17477 @: $(MAKE); $(unstage)
17478 @[ -f ./libgui/Makefile ] || exit 0; \
17479 r=`${PWD_COMMAND}`; export r; \
17480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17481 $(HOST_EXPORTS) \
17482 for flag in $(EXTRA_HOST_FLAGS) ; do \
17483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17484 done; \
17485 echo "Doing distclean in libgui" ; \
17486 (cd $(HOST_SUBDIR)/libgui && \
17487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17489 "RANLIB=$${RANLIB}" \
17490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17491 distclean) \
17492 || exit 1
17494 @endif libgui
17496 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17497 maybe-maintainer-clean-libgui:
17498 @if libgui
17499 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17501 maintainer-clean-libgui:
17502 @: $(MAKE); $(unstage)
17503 @[ -f ./libgui/Makefile ] || exit 0; \
17504 r=`${PWD_COMMAND}`; export r; \
17505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17506 $(HOST_EXPORTS) \
17507 for flag in $(EXTRA_HOST_FLAGS) ; do \
17508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17509 done; \
17510 echo "Doing maintainer-clean in libgui" ; \
17511 (cd $(HOST_SUBDIR)/libgui && \
17512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17514 "RANLIB=$${RANLIB}" \
17515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17516 maintainer-clean) \
17517 || exit 1
17519 @endif libgui
17523 .PHONY: configure-libiberty maybe-configure-libiberty
17524 maybe-configure-libiberty:
17525 @if libiberty
17526 maybe-configure-libiberty: configure-libiberty
17527 configure-libiberty:
17528 @test -f stage_last && exit 0; \
17529 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17531 r=`${PWD_COMMAND}`; export r; \
17532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17533 $(HOST_EXPORTS) \
17534 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17535 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17536 case $(srcdir) in \
17537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17538 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17540 esac; \
17541 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17542 libsrcdir="$$s/libiberty"; \
17543 $(SHELL) $${libsrcdir}/configure \
17544 $(HOST_CONFIGARGS) $${srcdiroption} \
17545 || exit 1
17546 @endif libiberty
17550 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17551 maybe-configure-stage1-libiberty:
17552 @if libiberty-bootstrap
17553 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17554 configure-stage1-libiberty:
17555 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17557 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17558 $(HOST_EXPORTS) \
17559 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17561 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17562 case $(srcdir) in \
17563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17564 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17566 esac; \
17567 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17568 libsrcdir="$$s/libiberty"; \
17569 $(SHELL) $${libsrcdir}/configure \
17570 $(HOST_CONFIGARGS) $${srcdiroption} \
17571 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17572 @endif libiberty-bootstrap
17574 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17575 maybe-configure-stage2-libiberty:
17576 @if libiberty-bootstrap
17577 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17578 configure-stage2-libiberty:
17579 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17581 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17582 $(HOST_EXPORTS) \
17583 $(POSTSTAGE1_HOST_EXPORTS) \
17584 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17586 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17587 case $(srcdir) in \
17588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17589 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17591 esac; \
17592 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17593 libsrcdir="$$s/libiberty"; \
17594 $(SHELL) $${libsrcdir}/configure \
17595 $(HOST_CONFIGARGS) $${srcdiroption} \
17596 @stage2_werror_flag@
17597 @endif libiberty-bootstrap
17599 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17600 maybe-configure-stage3-libiberty:
17601 @if libiberty-bootstrap
17602 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17603 configure-stage3-libiberty:
17604 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17606 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17607 $(HOST_EXPORTS) \
17608 $(POSTSTAGE1_HOST_EXPORTS) \
17609 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17611 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17612 case $(srcdir) in \
17613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17614 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17616 esac; \
17617 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17618 libsrcdir="$$s/libiberty"; \
17619 $(SHELL) $${libsrcdir}/configure \
17620 $(HOST_CONFIGARGS) $${srcdiroption} \
17621 @stage2_werror_flag@
17622 @endif libiberty-bootstrap
17624 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17625 maybe-configure-stage4-libiberty:
17626 @if libiberty-bootstrap
17627 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17628 configure-stage4-libiberty:
17629 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17631 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17632 $(HOST_EXPORTS) \
17633 $(POSTSTAGE1_HOST_EXPORTS) \
17634 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17636 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17637 case $(srcdir) in \
17638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17639 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17641 esac; \
17642 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17643 libsrcdir="$$s/libiberty"; \
17644 $(SHELL) $${libsrcdir}/configure \
17645 $(HOST_CONFIGARGS) $${srcdiroption} \
17646 @stage2_werror_flag@
17647 @endif libiberty-bootstrap
17649 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17650 maybe-configure-stageprofile-libiberty:
17651 @if libiberty-bootstrap
17652 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17653 configure-stageprofile-libiberty:
17654 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17655 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17656 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17657 $(HOST_EXPORTS) \
17658 $(POSTSTAGE1_HOST_EXPORTS) \
17659 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17661 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17662 case $(srcdir) in \
17663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17664 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17666 esac; \
17667 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17668 libsrcdir="$$s/libiberty"; \
17669 $(SHELL) $${libsrcdir}/configure \
17670 $(HOST_CONFIGARGS) $${srcdiroption} \
17671 @stage2_werror_flag@
17672 @endif libiberty-bootstrap
17674 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17675 maybe-configure-stagefeedback-libiberty:
17676 @if libiberty-bootstrap
17677 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17678 configure-stagefeedback-libiberty:
17679 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17680 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17681 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17682 $(HOST_EXPORTS) \
17683 $(POSTSTAGE1_HOST_EXPORTS) \
17684 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17686 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17687 case $(srcdir) in \
17688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17689 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17691 esac; \
17692 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17693 libsrcdir="$$s/libiberty"; \
17694 $(SHELL) $${libsrcdir}/configure \
17695 $(HOST_CONFIGARGS) $${srcdiroption} \
17696 @stage2_werror_flag@
17697 @endif libiberty-bootstrap
17703 .PHONY: all-libiberty maybe-all-libiberty
17704 maybe-all-libiberty:
17705 @if libiberty
17706 TARGET-libiberty=all
17707 maybe-all-libiberty: all-libiberty
17708 all-libiberty: configure-libiberty
17709 @test -f stage_last && exit 0; \
17710 r=`${PWD_COMMAND}`; export r; \
17711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17712 $(HOST_EXPORTS) \
17713 (cd $(HOST_SUBDIR)/libiberty && \
17714 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17715 @endif libiberty
17719 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17720 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17721 maybe-all-stage1-libiberty:
17722 maybe-clean-stage1-libiberty:
17723 @if libiberty-bootstrap
17724 maybe-all-stage1-libiberty: all-stage1-libiberty
17725 all-stage1: all-stage1-libiberty
17726 TARGET-stage1-libiberty = $(TARGET-libiberty)
17727 all-stage1-libiberty: configure-stage1-libiberty
17728 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17729 @r=`${PWD_COMMAND}`; export r; \
17730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17731 $(HOST_EXPORTS) \
17732 cd $(HOST_SUBDIR)/libiberty && \
17733 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17734 $(TARGET-stage1-libiberty)
17736 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17737 clean-stage1: clean-stage1-libiberty
17738 clean-stage1-libiberty:
17739 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17740 || exit 0 ; \
17741 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17742 cd $(HOST_SUBDIR)/libiberty && \
17743 $(MAKE) $(FLAGS_TO_PASS) \
17744 CFLAGS="$(STAGE1_CFLAGS)" clean
17745 @endif libiberty-bootstrap
17748 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17749 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17750 maybe-all-stage2-libiberty:
17751 maybe-clean-stage2-libiberty:
17752 @if libiberty-bootstrap
17753 maybe-all-stage2-libiberty: all-stage2-libiberty
17754 all-stage2: all-stage2-libiberty
17755 TARGET-stage2-libiberty = $(TARGET-libiberty)
17756 all-stage2-libiberty: configure-stage2-libiberty
17757 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17758 @r=`${PWD_COMMAND}`; export r; \
17759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17760 $(HOST_EXPORTS) \
17761 $(POSTSTAGE1_HOST_EXPORTS) \
17762 cd $(HOST_SUBDIR)/libiberty && \
17763 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17764 $(TARGET-stage2-libiberty)
17766 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17767 clean-stage2: clean-stage2-libiberty
17768 clean-stage2-libiberty:
17769 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17770 || exit 0 ; \
17771 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17772 cd $(HOST_SUBDIR)/libiberty && \
17773 $(MAKE) $(FLAGS_TO_PASS) \
17774 $(POSTSTAGE1_FLAGS_TO_PASS) \
17775 clean
17776 @endif libiberty-bootstrap
17779 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17780 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17781 maybe-all-stage3-libiberty:
17782 maybe-clean-stage3-libiberty:
17783 @if libiberty-bootstrap
17784 maybe-all-stage3-libiberty: all-stage3-libiberty
17785 all-stage3: all-stage3-libiberty
17786 TARGET-stage3-libiberty = $(TARGET-libiberty)
17787 all-stage3-libiberty: configure-stage3-libiberty
17788 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17789 @r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 $(HOST_EXPORTS) \
17792 $(POSTSTAGE1_HOST_EXPORTS) \
17793 cd $(HOST_SUBDIR)/libiberty && \
17794 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17795 $(TARGET-stage3-libiberty)
17797 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17798 clean-stage3: clean-stage3-libiberty
17799 clean-stage3-libiberty:
17800 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17801 || exit 0 ; \
17802 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17803 cd $(HOST_SUBDIR)/libiberty && \
17804 $(MAKE) $(FLAGS_TO_PASS) \
17805 $(POSTSTAGE1_FLAGS_TO_PASS) \
17806 clean
17807 @endif libiberty-bootstrap
17810 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17811 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17812 maybe-all-stage4-libiberty:
17813 maybe-clean-stage4-libiberty:
17814 @if libiberty-bootstrap
17815 maybe-all-stage4-libiberty: all-stage4-libiberty
17816 all-stage4: all-stage4-libiberty
17817 TARGET-stage4-libiberty = $(TARGET-libiberty)
17818 all-stage4-libiberty: configure-stage4-libiberty
17819 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17820 @r=`${PWD_COMMAND}`; export r; \
17821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17822 $(HOST_EXPORTS) \
17823 $(POSTSTAGE1_HOST_EXPORTS) \
17824 cd $(HOST_SUBDIR)/libiberty && \
17825 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17826 $(TARGET-stage4-libiberty)
17828 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17829 clean-stage4: clean-stage4-libiberty
17830 clean-stage4-libiberty:
17831 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17832 || exit 0 ; \
17833 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17834 cd $(HOST_SUBDIR)/libiberty && \
17835 $(MAKE) $(FLAGS_TO_PASS) \
17836 $(POSTSTAGE1_FLAGS_TO_PASS) \
17837 clean
17838 @endif libiberty-bootstrap
17841 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17842 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17843 maybe-all-stageprofile-libiberty:
17844 maybe-clean-stageprofile-libiberty:
17845 @if libiberty-bootstrap
17846 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17847 all-stageprofile: all-stageprofile-libiberty
17848 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17849 all-stageprofile-libiberty: configure-stageprofile-libiberty
17850 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17851 @r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 $(HOST_EXPORTS) \
17854 $(POSTSTAGE1_HOST_EXPORTS) \
17855 cd $(HOST_SUBDIR)/libiberty && \
17856 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17857 $(TARGET-stageprofile-libiberty)
17859 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17860 clean-stageprofile: clean-stageprofile-libiberty
17861 clean-stageprofile-libiberty:
17862 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17863 || exit 0 ; \
17864 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17865 cd $(HOST_SUBDIR)/libiberty && \
17866 $(MAKE) $(FLAGS_TO_PASS) \
17867 $(POSTSTAGE1_FLAGS_TO_PASS) \
17868 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17869 @endif libiberty-bootstrap
17872 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17873 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17874 maybe-all-stagefeedback-libiberty:
17875 maybe-clean-stagefeedback-libiberty:
17876 @if libiberty-bootstrap
17877 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17878 all-stagefeedback: all-stagefeedback-libiberty
17879 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17880 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17881 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17882 @r=`${PWD_COMMAND}`; export r; \
17883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17884 $(HOST_EXPORTS) \
17885 $(POSTSTAGE1_HOST_EXPORTS) \
17886 cd $(HOST_SUBDIR)/libiberty && \
17887 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17888 $(TARGET-stagefeedback-libiberty)
17890 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17891 clean-stagefeedback: clean-stagefeedback-libiberty
17892 clean-stagefeedback-libiberty:
17893 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17894 || exit 0 ; \
17895 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17896 cd $(HOST_SUBDIR)/libiberty && \
17897 $(MAKE) $(FLAGS_TO_PASS) \
17898 $(POSTSTAGE1_FLAGS_TO_PASS) \
17899 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17900 @endif libiberty-bootstrap
17906 .PHONY: check-libiberty maybe-check-libiberty
17907 maybe-check-libiberty:
17908 @if libiberty
17909 maybe-check-libiberty: check-libiberty
17911 check-libiberty:
17912 @: $(MAKE); $(unstage)
17913 @r=`${PWD_COMMAND}`; export r; \
17914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17915 $(HOST_EXPORTS) \
17916 (cd $(HOST_SUBDIR)/libiberty && \
17917 $(MAKE) $(FLAGS_TO_PASS) check)
17919 @endif libiberty
17921 .PHONY: install-libiberty maybe-install-libiberty
17922 maybe-install-libiberty:
17923 @if libiberty
17924 maybe-install-libiberty: install-libiberty
17926 install-libiberty: installdirs
17927 @: $(MAKE); $(unstage)
17928 @r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(HOST_EXPORTS) \
17931 (cd $(HOST_SUBDIR)/libiberty && \
17932 $(MAKE) $(FLAGS_TO_PASS) install)
17934 @endif libiberty
17936 # Other targets (info, dvi, etc.)
17938 .PHONY: maybe-info-libiberty info-libiberty
17939 maybe-info-libiberty:
17940 @if libiberty
17941 maybe-info-libiberty: info-libiberty
17943 info-libiberty: \
17944 configure-libiberty
17945 @[ -f ./libiberty/Makefile ] || exit 0; \
17946 r=`${PWD_COMMAND}`; export r; \
17947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17948 $(HOST_EXPORTS) \
17949 for flag in $(EXTRA_HOST_FLAGS) ; do \
17950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17951 done; \
17952 echo "Doing info in libiberty" ; \
17953 (cd $(HOST_SUBDIR)/libiberty && \
17954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17956 "RANLIB=$${RANLIB}" \
17957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17958 info) \
17959 || exit 1
17961 @endif libiberty
17963 .PHONY: maybe-dvi-libiberty dvi-libiberty
17964 maybe-dvi-libiberty:
17965 @if libiberty
17966 maybe-dvi-libiberty: dvi-libiberty
17968 dvi-libiberty: \
17969 configure-libiberty
17970 @[ -f ./libiberty/Makefile ] || exit 0; \
17971 r=`${PWD_COMMAND}`; export r; \
17972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17973 $(HOST_EXPORTS) \
17974 for flag in $(EXTRA_HOST_FLAGS) ; do \
17975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17976 done; \
17977 echo "Doing dvi in libiberty" ; \
17978 (cd $(HOST_SUBDIR)/libiberty && \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981 "RANLIB=$${RANLIB}" \
17982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17983 dvi) \
17984 || exit 1
17986 @endif libiberty
17988 .PHONY: maybe-html-libiberty html-libiberty
17989 maybe-html-libiberty:
17990 @if libiberty
17991 maybe-html-libiberty: html-libiberty
17993 html-libiberty: \
17994 configure-libiberty
17995 @[ -f ./libiberty/Makefile ] || exit 0; \
17996 r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 $(HOST_EXPORTS) \
17999 for flag in $(EXTRA_HOST_FLAGS) ; do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001 done; \
18002 echo "Doing html in libiberty" ; \
18003 (cd $(HOST_SUBDIR)/libiberty && \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008 html) \
18009 || exit 1
18011 @endif libiberty
18013 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18014 maybe-TAGS-libiberty:
18015 @if libiberty
18016 maybe-TAGS-libiberty: TAGS-libiberty
18018 TAGS-libiberty: \
18019 configure-libiberty
18020 @[ -f ./libiberty/Makefile ] || exit 0; \
18021 r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023 $(HOST_EXPORTS) \
18024 for flag in $(EXTRA_HOST_FLAGS) ; do \
18025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18026 done; \
18027 echo "Doing TAGS in libiberty" ; \
18028 (cd $(HOST_SUBDIR)/libiberty && \
18029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18031 "RANLIB=$${RANLIB}" \
18032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18033 TAGS) \
18034 || exit 1
18036 @endif libiberty
18038 .PHONY: maybe-install-info-libiberty install-info-libiberty
18039 maybe-install-info-libiberty:
18040 @if libiberty
18041 maybe-install-info-libiberty: install-info-libiberty
18043 install-info-libiberty: \
18044 configure-libiberty \
18045 info-libiberty
18046 @[ -f ./libiberty/Makefile ] || exit 0; \
18047 r=`${PWD_COMMAND}`; export r; \
18048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18049 $(HOST_EXPORTS) \
18050 for flag in $(EXTRA_HOST_FLAGS) ; do \
18051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18052 done; \
18053 echo "Doing install-info in libiberty" ; \
18054 (cd $(HOST_SUBDIR)/libiberty && \
18055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18057 "RANLIB=$${RANLIB}" \
18058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18059 install-info) \
18060 || exit 1
18062 @endif libiberty
18064 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18065 maybe-installcheck-libiberty:
18066 @if libiberty
18067 maybe-installcheck-libiberty: installcheck-libiberty
18069 installcheck-libiberty: \
18070 configure-libiberty
18071 @[ -f ./libiberty/Makefile ] || exit 0; \
18072 r=`${PWD_COMMAND}`; export r; \
18073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18074 $(HOST_EXPORTS) \
18075 for flag in $(EXTRA_HOST_FLAGS) ; do \
18076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18077 done; \
18078 echo "Doing installcheck in libiberty" ; \
18079 (cd $(HOST_SUBDIR)/libiberty && \
18080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18082 "RANLIB=$${RANLIB}" \
18083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18084 installcheck) \
18085 || exit 1
18087 @endif libiberty
18089 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18090 maybe-mostlyclean-libiberty:
18091 @if libiberty
18092 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18094 mostlyclean-libiberty:
18095 @[ -f ./libiberty/Makefile ] || exit 0; \
18096 r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 $(HOST_EXPORTS) \
18099 for flag in $(EXTRA_HOST_FLAGS) ; do \
18100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18101 done; \
18102 echo "Doing mostlyclean in libiberty" ; \
18103 (cd $(HOST_SUBDIR)/libiberty && \
18104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18106 "RANLIB=$${RANLIB}" \
18107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18108 mostlyclean) \
18109 || exit 1
18111 @endif libiberty
18113 .PHONY: maybe-clean-libiberty clean-libiberty
18114 maybe-clean-libiberty:
18115 @if libiberty
18116 maybe-clean-libiberty: clean-libiberty
18118 clean-libiberty:
18119 @[ -f ./libiberty/Makefile ] || exit 0; \
18120 r=`${PWD_COMMAND}`; export r; \
18121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18122 $(HOST_EXPORTS) \
18123 for flag in $(EXTRA_HOST_FLAGS) ; do \
18124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18125 done; \
18126 echo "Doing clean in libiberty" ; \
18127 (cd $(HOST_SUBDIR)/libiberty && \
18128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18130 "RANLIB=$${RANLIB}" \
18131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18132 clean) \
18133 || exit 1
18135 @endif libiberty
18137 .PHONY: maybe-distclean-libiberty distclean-libiberty
18138 maybe-distclean-libiberty:
18139 @if libiberty
18140 maybe-distclean-libiberty: distclean-libiberty
18142 distclean-libiberty:
18143 @[ -f ./libiberty/Makefile ] || exit 0; \
18144 r=`${PWD_COMMAND}`; export r; \
18145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 $(HOST_EXPORTS) \
18147 for flag in $(EXTRA_HOST_FLAGS) ; do \
18148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18149 done; \
18150 echo "Doing distclean in libiberty" ; \
18151 (cd $(HOST_SUBDIR)/libiberty && \
18152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18154 "RANLIB=$${RANLIB}" \
18155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18156 distclean) \
18157 || exit 1
18159 @endif libiberty
18161 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18162 maybe-maintainer-clean-libiberty:
18163 @if libiberty
18164 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18166 maintainer-clean-libiberty:
18167 @[ -f ./libiberty/Makefile ] || exit 0; \
18168 r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 $(HOST_EXPORTS) \
18171 for flag in $(EXTRA_HOST_FLAGS) ; do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18173 done; \
18174 echo "Doing maintainer-clean in libiberty" ; \
18175 (cd $(HOST_SUBDIR)/libiberty && \
18176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18178 "RANLIB=$${RANLIB}" \
18179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18180 maintainer-clean) \
18181 || exit 1
18183 @endif libiberty
18187 .PHONY: configure-libtool maybe-configure-libtool
18188 maybe-configure-libtool:
18189 @if libtool
18190 maybe-configure-libtool: configure-libtool
18191 configure-libtool:
18192 @: $(MAKE); $(unstage)
18193 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18195 r=`${PWD_COMMAND}`; export r; \
18196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18197 $(HOST_EXPORTS) \
18198 echo Configuring in $(HOST_SUBDIR)/libtool; \
18199 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18200 case $(srcdir) in \
18201 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18202 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18203 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18204 esac; \
18205 srcdiroption="--srcdir=$${topdir}/libtool"; \
18206 libsrcdir="$$s/libtool"; \
18207 $(SHELL) $${libsrcdir}/configure \
18208 $(HOST_CONFIGARGS) $${srcdiroption} \
18209 || exit 1
18210 @endif libtool
18216 .PHONY: all-libtool maybe-all-libtool
18217 maybe-all-libtool:
18218 @if libtool
18219 TARGET-libtool=all
18220 maybe-all-libtool: all-libtool
18221 all-libtool: configure-libtool
18222 @: $(MAKE); $(unstage)
18223 @r=`${PWD_COMMAND}`; export r; \
18224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 $(HOST_EXPORTS) \
18226 (cd $(HOST_SUBDIR)/libtool && \
18227 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18228 @endif libtool
18233 .PHONY: check-libtool maybe-check-libtool
18234 maybe-check-libtool:
18235 @if libtool
18236 maybe-check-libtool: check-libtool
18238 check-libtool:
18239 @: $(MAKE); $(unstage)
18240 @r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242 $(HOST_EXPORTS) \
18243 (cd $(HOST_SUBDIR)/libtool && \
18244 $(MAKE) $(FLAGS_TO_PASS) check)
18246 @endif libtool
18248 .PHONY: install-libtool maybe-install-libtool
18249 maybe-install-libtool:
18250 @if libtool
18251 maybe-install-libtool: install-libtool
18253 install-libtool: installdirs
18254 @: $(MAKE); $(unstage)
18255 @r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18257 $(HOST_EXPORTS) \
18258 (cd $(HOST_SUBDIR)/libtool && \
18259 $(MAKE) $(FLAGS_TO_PASS) install)
18261 @endif libtool
18263 # Other targets (info, dvi, etc.)
18265 .PHONY: maybe-info-libtool info-libtool
18266 maybe-info-libtool:
18267 @if libtool
18268 maybe-info-libtool: info-libtool
18270 info-libtool: \
18271 configure-libtool
18272 @: $(MAKE); $(unstage)
18273 @[ -f ./libtool/Makefile ] || exit 0; \
18274 r=`${PWD_COMMAND}`; export r; \
18275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18276 $(HOST_EXPORTS) \
18277 for flag in $(EXTRA_HOST_FLAGS) ; do \
18278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18279 done; \
18280 echo "Doing info in libtool" ; \
18281 (cd $(HOST_SUBDIR)/libtool && \
18282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18284 "RANLIB=$${RANLIB}" \
18285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18286 info) \
18287 || exit 1
18289 @endif libtool
18291 .PHONY: maybe-dvi-libtool dvi-libtool
18292 maybe-dvi-libtool:
18293 @if libtool
18294 maybe-dvi-libtool: dvi-libtool
18296 dvi-libtool: \
18297 configure-libtool
18298 @: $(MAKE); $(unstage)
18299 @[ -f ./libtool/Makefile ] || exit 0; \
18300 r=`${PWD_COMMAND}`; export r; \
18301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18302 $(HOST_EXPORTS) \
18303 for flag in $(EXTRA_HOST_FLAGS) ; do \
18304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18305 done; \
18306 echo "Doing dvi in libtool" ; \
18307 (cd $(HOST_SUBDIR)/libtool && \
18308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18310 "RANLIB=$${RANLIB}" \
18311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18312 dvi) \
18313 || exit 1
18315 @endif libtool
18317 .PHONY: maybe-html-libtool html-libtool
18318 maybe-html-libtool:
18319 @if libtool
18320 maybe-html-libtool: html-libtool
18322 html-libtool: \
18323 configure-libtool
18324 @: $(MAKE); $(unstage)
18325 @[ -f ./libtool/Makefile ] || exit 0; \
18326 r=`${PWD_COMMAND}`; export r; \
18327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18328 $(HOST_EXPORTS) \
18329 for flag in $(EXTRA_HOST_FLAGS) ; do \
18330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18331 done; \
18332 echo "Doing html in libtool" ; \
18333 (cd $(HOST_SUBDIR)/libtool && \
18334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18336 "RANLIB=$${RANLIB}" \
18337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18338 html) \
18339 || exit 1
18341 @endif libtool
18343 .PHONY: maybe-TAGS-libtool TAGS-libtool
18344 maybe-TAGS-libtool:
18345 @if libtool
18346 maybe-TAGS-libtool: TAGS-libtool
18348 TAGS-libtool: \
18349 configure-libtool
18350 @: $(MAKE); $(unstage)
18351 @[ -f ./libtool/Makefile ] || exit 0; \
18352 r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(HOST_EXPORTS) \
18355 for flag in $(EXTRA_HOST_FLAGS) ; do \
18356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18357 done; \
18358 echo "Doing TAGS in libtool" ; \
18359 (cd $(HOST_SUBDIR)/libtool && \
18360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18362 "RANLIB=$${RANLIB}" \
18363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18364 TAGS) \
18365 || exit 1
18367 @endif libtool
18369 .PHONY: maybe-install-info-libtool install-info-libtool
18370 maybe-install-info-libtool:
18371 @if libtool
18372 maybe-install-info-libtool: install-info-libtool
18374 install-info-libtool: \
18375 configure-libtool \
18376 info-libtool
18377 @: $(MAKE); $(unstage)
18378 @[ -f ./libtool/Makefile ] || exit 0; \
18379 r=`${PWD_COMMAND}`; export r; \
18380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18381 $(HOST_EXPORTS) \
18382 for flag in $(EXTRA_HOST_FLAGS) ; do \
18383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18384 done; \
18385 echo "Doing install-info in libtool" ; \
18386 (cd $(HOST_SUBDIR)/libtool && \
18387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18389 "RANLIB=$${RANLIB}" \
18390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18391 install-info) \
18392 || exit 1
18394 @endif libtool
18396 .PHONY: maybe-installcheck-libtool installcheck-libtool
18397 maybe-installcheck-libtool:
18398 @if libtool
18399 maybe-installcheck-libtool: installcheck-libtool
18401 installcheck-libtool: \
18402 configure-libtool
18403 @: $(MAKE); $(unstage)
18404 @[ -f ./libtool/Makefile ] || exit 0; \
18405 r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 $(HOST_EXPORTS) \
18408 for flag in $(EXTRA_HOST_FLAGS) ; do \
18409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18410 done; \
18411 echo "Doing installcheck in libtool" ; \
18412 (cd $(HOST_SUBDIR)/libtool && \
18413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18415 "RANLIB=$${RANLIB}" \
18416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18417 installcheck) \
18418 || exit 1
18420 @endif libtool
18422 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18423 maybe-mostlyclean-libtool:
18424 @if libtool
18425 maybe-mostlyclean-libtool: mostlyclean-libtool
18427 mostlyclean-libtool:
18428 @: $(MAKE); $(unstage)
18429 @[ -f ./libtool/Makefile ] || exit 0; \
18430 r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 $(HOST_EXPORTS) \
18433 for flag in $(EXTRA_HOST_FLAGS) ; do \
18434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18435 done; \
18436 echo "Doing mostlyclean in libtool" ; \
18437 (cd $(HOST_SUBDIR)/libtool && \
18438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18440 "RANLIB=$${RANLIB}" \
18441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18442 mostlyclean) \
18443 || exit 1
18445 @endif libtool
18447 .PHONY: maybe-clean-libtool clean-libtool
18448 maybe-clean-libtool:
18449 @if libtool
18450 maybe-clean-libtool: clean-libtool
18452 clean-libtool:
18453 @: $(MAKE); $(unstage)
18454 @[ -f ./libtool/Makefile ] || exit 0; \
18455 r=`${PWD_COMMAND}`; export r; \
18456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 $(HOST_EXPORTS) \
18458 for flag in $(EXTRA_HOST_FLAGS) ; do \
18459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 done; \
18461 echo "Doing clean in libtool" ; \
18462 (cd $(HOST_SUBDIR)/libtool && \
18463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18465 "RANLIB=$${RANLIB}" \
18466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18467 clean) \
18468 || exit 1
18470 @endif libtool
18472 .PHONY: maybe-distclean-libtool distclean-libtool
18473 maybe-distclean-libtool:
18474 @if libtool
18475 maybe-distclean-libtool: distclean-libtool
18477 distclean-libtool:
18478 @: $(MAKE); $(unstage)
18479 @[ -f ./libtool/Makefile ] || exit 0; \
18480 r=`${PWD_COMMAND}`; export r; \
18481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18482 $(HOST_EXPORTS) \
18483 for flag in $(EXTRA_HOST_FLAGS) ; do \
18484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18485 done; \
18486 echo "Doing distclean in libtool" ; \
18487 (cd $(HOST_SUBDIR)/libtool && \
18488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18490 "RANLIB=$${RANLIB}" \
18491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18492 distclean) \
18493 || exit 1
18495 @endif libtool
18497 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18498 maybe-maintainer-clean-libtool:
18499 @if libtool
18500 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18502 maintainer-clean-libtool:
18503 @: $(MAKE); $(unstage)
18504 @[ -f ./libtool/Makefile ] || exit 0; \
18505 r=`${PWD_COMMAND}`; export r; \
18506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18507 $(HOST_EXPORTS) \
18508 for flag in $(EXTRA_HOST_FLAGS) ; do \
18509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18510 done; \
18511 echo "Doing maintainer-clean in libtool" ; \
18512 (cd $(HOST_SUBDIR)/libtool && \
18513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18515 "RANLIB=$${RANLIB}" \
18516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18517 maintainer-clean) \
18518 || exit 1
18520 @endif libtool
18524 .PHONY: configure-m4 maybe-configure-m4
18525 maybe-configure-m4:
18526 @if m4
18527 maybe-configure-m4: configure-m4
18528 configure-m4:
18529 @: $(MAKE); $(unstage)
18530 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18531 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18532 r=`${PWD_COMMAND}`; export r; \
18533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18534 $(HOST_EXPORTS) \
18535 echo Configuring in $(HOST_SUBDIR)/m4; \
18536 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18537 case $(srcdir) in \
18538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18539 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18541 esac; \
18542 srcdiroption="--srcdir=$${topdir}/m4"; \
18543 libsrcdir="$$s/m4"; \
18544 $(SHELL) $${libsrcdir}/configure \
18545 $(HOST_CONFIGARGS) $${srcdiroption} \
18546 || exit 1
18547 @endif m4
18553 .PHONY: all-m4 maybe-all-m4
18554 maybe-all-m4:
18555 @if m4
18556 TARGET-m4=all
18557 maybe-all-m4: all-m4
18558 all-m4: configure-m4
18559 @: $(MAKE); $(unstage)
18560 @r=`${PWD_COMMAND}`; export r; \
18561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18562 $(HOST_EXPORTS) \
18563 (cd $(HOST_SUBDIR)/m4 && \
18564 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18565 @endif m4
18570 .PHONY: check-m4 maybe-check-m4
18571 maybe-check-m4:
18572 @if m4
18573 maybe-check-m4: check-m4
18575 check-m4:
18576 @: $(MAKE); $(unstage)
18577 @r=`${PWD_COMMAND}`; export r; \
18578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18579 $(HOST_EXPORTS) \
18580 (cd $(HOST_SUBDIR)/m4 && \
18581 $(MAKE) $(FLAGS_TO_PASS) check)
18583 @endif m4
18585 .PHONY: install-m4 maybe-install-m4
18586 maybe-install-m4:
18587 @if m4
18588 maybe-install-m4: install-m4
18590 install-m4: installdirs
18591 @: $(MAKE); $(unstage)
18592 @r=`${PWD_COMMAND}`; export r; \
18593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18594 $(HOST_EXPORTS) \
18595 (cd $(HOST_SUBDIR)/m4 && \
18596 $(MAKE) $(FLAGS_TO_PASS) install)
18598 @endif m4
18600 # Other targets (info, dvi, etc.)
18602 .PHONY: maybe-info-m4 info-m4
18603 maybe-info-m4:
18604 @if m4
18605 maybe-info-m4: info-m4
18607 info-m4: \
18608 configure-m4
18609 @: $(MAKE); $(unstage)
18610 @[ -f ./m4/Makefile ] || exit 0; \
18611 r=`${PWD_COMMAND}`; export r; \
18612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18613 $(HOST_EXPORTS) \
18614 for flag in $(EXTRA_HOST_FLAGS) ; do \
18615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18616 done; \
18617 echo "Doing info in m4" ; \
18618 (cd $(HOST_SUBDIR)/m4 && \
18619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18621 "RANLIB=$${RANLIB}" \
18622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18623 info) \
18624 || exit 1
18626 @endif m4
18628 .PHONY: maybe-dvi-m4 dvi-m4
18629 maybe-dvi-m4:
18630 @if m4
18631 maybe-dvi-m4: dvi-m4
18633 dvi-m4: \
18634 configure-m4
18635 @: $(MAKE); $(unstage)
18636 @[ -f ./m4/Makefile ] || exit 0; \
18637 r=`${PWD_COMMAND}`; export r; \
18638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18639 $(HOST_EXPORTS) \
18640 for flag in $(EXTRA_HOST_FLAGS) ; do \
18641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18642 done; \
18643 echo "Doing dvi in m4" ; \
18644 (cd $(HOST_SUBDIR)/m4 && \
18645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18647 "RANLIB=$${RANLIB}" \
18648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18649 dvi) \
18650 || exit 1
18652 @endif m4
18654 .PHONY: maybe-html-m4 html-m4
18655 maybe-html-m4:
18656 @if m4
18657 maybe-html-m4: html-m4
18659 html-m4: \
18660 configure-m4
18661 @: $(MAKE); $(unstage)
18662 @[ -f ./m4/Makefile ] || exit 0; \
18663 r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 $(HOST_EXPORTS) \
18666 for flag in $(EXTRA_HOST_FLAGS) ; do \
18667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18668 done; \
18669 echo "Doing html in m4" ; \
18670 (cd $(HOST_SUBDIR)/m4 && \
18671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18673 "RANLIB=$${RANLIB}" \
18674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18675 html) \
18676 || exit 1
18678 @endif m4
18680 .PHONY: maybe-TAGS-m4 TAGS-m4
18681 maybe-TAGS-m4:
18682 @if m4
18683 maybe-TAGS-m4: TAGS-m4
18685 TAGS-m4: \
18686 configure-m4
18687 @: $(MAKE); $(unstage)
18688 @[ -f ./m4/Makefile ] || exit 0; \
18689 r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 $(HOST_EXPORTS) \
18692 for flag in $(EXTRA_HOST_FLAGS) ; do \
18693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18694 done; \
18695 echo "Doing TAGS in m4" ; \
18696 (cd $(HOST_SUBDIR)/m4 && \
18697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18699 "RANLIB=$${RANLIB}" \
18700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18701 TAGS) \
18702 || exit 1
18704 @endif m4
18706 .PHONY: maybe-install-info-m4 install-info-m4
18707 maybe-install-info-m4:
18708 @if m4
18709 maybe-install-info-m4: install-info-m4
18711 install-info-m4: \
18712 configure-m4 \
18713 info-m4
18714 @: $(MAKE); $(unstage)
18715 @[ -f ./m4/Makefile ] || exit 0; \
18716 r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 $(HOST_EXPORTS) \
18719 for flag in $(EXTRA_HOST_FLAGS) ; do \
18720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18721 done; \
18722 echo "Doing install-info in m4" ; \
18723 (cd $(HOST_SUBDIR)/m4 && \
18724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18726 "RANLIB=$${RANLIB}" \
18727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18728 install-info) \
18729 || exit 1
18731 @endif m4
18733 .PHONY: maybe-installcheck-m4 installcheck-m4
18734 maybe-installcheck-m4:
18735 @if m4
18736 maybe-installcheck-m4: installcheck-m4
18738 installcheck-m4: \
18739 configure-m4
18740 @: $(MAKE); $(unstage)
18741 @[ -f ./m4/Makefile ] || exit 0; \
18742 r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 $(HOST_EXPORTS) \
18745 for flag in $(EXTRA_HOST_FLAGS) ; do \
18746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18747 done; \
18748 echo "Doing installcheck in m4" ; \
18749 (cd $(HOST_SUBDIR)/m4 && \
18750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18752 "RANLIB=$${RANLIB}" \
18753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18754 installcheck) \
18755 || exit 1
18757 @endif m4
18759 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18760 maybe-mostlyclean-m4:
18761 @if m4
18762 maybe-mostlyclean-m4: mostlyclean-m4
18764 mostlyclean-m4:
18765 @: $(MAKE); $(unstage)
18766 @[ -f ./m4/Makefile ] || exit 0; \
18767 r=`${PWD_COMMAND}`; export r; \
18768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18769 $(HOST_EXPORTS) \
18770 for flag in $(EXTRA_HOST_FLAGS) ; do \
18771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18772 done; \
18773 echo "Doing mostlyclean in m4" ; \
18774 (cd $(HOST_SUBDIR)/m4 && \
18775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777 "RANLIB=$${RANLIB}" \
18778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18779 mostlyclean) \
18780 || exit 1
18782 @endif m4
18784 .PHONY: maybe-clean-m4 clean-m4
18785 maybe-clean-m4:
18786 @if m4
18787 maybe-clean-m4: clean-m4
18789 clean-m4:
18790 @: $(MAKE); $(unstage)
18791 @[ -f ./m4/Makefile ] || exit 0; \
18792 r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 $(HOST_EXPORTS) \
18795 for flag in $(EXTRA_HOST_FLAGS) ; do \
18796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18797 done; \
18798 echo "Doing clean in m4" ; \
18799 (cd $(HOST_SUBDIR)/m4 && \
18800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18802 "RANLIB=$${RANLIB}" \
18803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18804 clean) \
18805 || exit 1
18807 @endif m4
18809 .PHONY: maybe-distclean-m4 distclean-m4
18810 maybe-distclean-m4:
18811 @if m4
18812 maybe-distclean-m4: distclean-m4
18814 distclean-m4:
18815 @: $(MAKE); $(unstage)
18816 @[ -f ./m4/Makefile ] || exit 0; \
18817 r=`${PWD_COMMAND}`; export r; \
18818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18819 $(HOST_EXPORTS) \
18820 for flag in $(EXTRA_HOST_FLAGS) ; do \
18821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18822 done; \
18823 echo "Doing distclean in m4" ; \
18824 (cd $(HOST_SUBDIR)/m4 && \
18825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18827 "RANLIB=$${RANLIB}" \
18828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18829 distclean) \
18830 || exit 1
18832 @endif m4
18834 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18835 maybe-maintainer-clean-m4:
18836 @if m4
18837 maybe-maintainer-clean-m4: maintainer-clean-m4
18839 maintainer-clean-m4:
18840 @: $(MAKE); $(unstage)
18841 @[ -f ./m4/Makefile ] || exit 0; \
18842 r=`${PWD_COMMAND}`; export r; \
18843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18844 $(HOST_EXPORTS) \
18845 for flag in $(EXTRA_HOST_FLAGS) ; do \
18846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18847 done; \
18848 echo "Doing maintainer-clean in m4" ; \
18849 (cd $(HOST_SUBDIR)/m4 && \
18850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18852 "RANLIB=$${RANLIB}" \
18853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18854 maintainer-clean) \
18855 || exit 1
18857 @endif m4
18861 .PHONY: configure-make maybe-configure-make
18862 maybe-configure-make:
18863 @if make
18864 maybe-configure-make: configure-make
18865 configure-make:
18866 @: $(MAKE); $(unstage)
18867 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18869 r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(HOST_EXPORTS) \
18872 echo Configuring in $(HOST_SUBDIR)/make; \
18873 cd "$(HOST_SUBDIR)/make" || exit 1; \
18874 case $(srcdir) in \
18875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18876 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18878 esac; \
18879 srcdiroption="--srcdir=$${topdir}/make"; \
18880 libsrcdir="$$s/make"; \
18881 $(SHELL) $${libsrcdir}/configure \
18882 $(HOST_CONFIGARGS) $${srcdiroption} \
18883 || exit 1
18884 @endif make
18890 .PHONY: all-make maybe-all-make
18891 maybe-all-make:
18892 @if make
18893 TARGET-make=all
18894 maybe-all-make: all-make
18895 all-make: configure-make
18896 @: $(MAKE); $(unstage)
18897 @r=`${PWD_COMMAND}`; export r; \
18898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18899 $(HOST_EXPORTS) \
18900 (cd $(HOST_SUBDIR)/make && \
18901 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18902 @endif make
18907 .PHONY: check-make maybe-check-make
18908 maybe-check-make:
18909 @if make
18910 maybe-check-make: check-make
18912 check-make:
18913 @: $(MAKE); $(unstage)
18914 @r=`${PWD_COMMAND}`; export r; \
18915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18916 $(HOST_EXPORTS) \
18917 (cd $(HOST_SUBDIR)/make && \
18918 $(MAKE) $(FLAGS_TO_PASS) check)
18920 @endif make
18922 .PHONY: install-make maybe-install-make
18923 maybe-install-make:
18924 @if make
18925 maybe-install-make: install-make
18927 install-make: installdirs
18928 @: $(MAKE); $(unstage)
18929 @r=`${PWD_COMMAND}`; export r; \
18930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18931 $(HOST_EXPORTS) \
18932 (cd $(HOST_SUBDIR)/make && \
18933 $(MAKE) $(FLAGS_TO_PASS) install)
18935 @endif make
18937 # Other targets (info, dvi, etc.)
18939 .PHONY: maybe-info-make info-make
18940 maybe-info-make:
18941 @if make
18942 maybe-info-make: info-make
18944 info-make: \
18945 configure-make
18946 @: $(MAKE); $(unstage)
18947 @[ -f ./make/Makefile ] || exit 0; \
18948 r=`${PWD_COMMAND}`; export r; \
18949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18950 $(HOST_EXPORTS) \
18951 for flag in $(EXTRA_HOST_FLAGS) ; do \
18952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18953 done; \
18954 echo "Doing info in make" ; \
18955 (cd $(HOST_SUBDIR)/make && \
18956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18958 "RANLIB=$${RANLIB}" \
18959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18960 info) \
18961 || exit 1
18963 @endif make
18965 .PHONY: maybe-dvi-make dvi-make
18966 maybe-dvi-make:
18967 @if make
18968 maybe-dvi-make: dvi-make
18970 dvi-make: \
18971 configure-make
18972 @: $(MAKE); $(unstage)
18973 @[ -f ./make/Makefile ] || exit 0; \
18974 r=`${PWD_COMMAND}`; export r; \
18975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18976 $(HOST_EXPORTS) \
18977 for flag in $(EXTRA_HOST_FLAGS) ; do \
18978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18979 done; \
18980 echo "Doing dvi in make" ; \
18981 (cd $(HOST_SUBDIR)/make && \
18982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18984 "RANLIB=$${RANLIB}" \
18985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18986 dvi) \
18987 || exit 1
18989 @endif make
18991 .PHONY: maybe-html-make html-make
18992 maybe-html-make:
18993 @if make
18994 maybe-html-make: html-make
18996 html-make: \
18997 configure-make
18998 @: $(MAKE); $(unstage)
18999 @[ -f ./make/Makefile ] || exit 0; \
19000 r=`${PWD_COMMAND}`; export r; \
19001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19002 $(HOST_EXPORTS) \
19003 for flag in $(EXTRA_HOST_FLAGS) ; do \
19004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19005 done; \
19006 echo "Doing html in make" ; \
19007 (cd $(HOST_SUBDIR)/make && \
19008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19010 "RANLIB=$${RANLIB}" \
19011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19012 html) \
19013 || exit 1
19015 @endif make
19017 .PHONY: maybe-TAGS-make TAGS-make
19018 maybe-TAGS-make:
19019 @if make
19020 maybe-TAGS-make: TAGS-make
19022 TAGS-make: \
19023 configure-make
19024 @: $(MAKE); $(unstage)
19025 @[ -f ./make/Makefile ] || exit 0; \
19026 r=`${PWD_COMMAND}`; export r; \
19027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19028 $(HOST_EXPORTS) \
19029 for flag in $(EXTRA_HOST_FLAGS) ; do \
19030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19031 done; \
19032 echo "Doing TAGS in make" ; \
19033 (cd $(HOST_SUBDIR)/make && \
19034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19036 "RANLIB=$${RANLIB}" \
19037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19038 TAGS) \
19039 || exit 1
19041 @endif make
19043 .PHONY: maybe-install-info-make install-info-make
19044 maybe-install-info-make:
19045 @if make
19046 maybe-install-info-make: install-info-make
19048 install-info-make: \
19049 configure-make \
19050 info-make
19051 @: $(MAKE); $(unstage)
19052 @[ -f ./make/Makefile ] || exit 0; \
19053 r=`${PWD_COMMAND}`; export r; \
19054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19055 $(HOST_EXPORTS) \
19056 for flag in $(EXTRA_HOST_FLAGS) ; do \
19057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19058 done; \
19059 echo "Doing install-info in make" ; \
19060 (cd $(HOST_SUBDIR)/make && \
19061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19063 "RANLIB=$${RANLIB}" \
19064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19065 install-info) \
19066 || exit 1
19068 @endif make
19070 .PHONY: maybe-installcheck-make installcheck-make
19071 maybe-installcheck-make:
19072 @if make
19073 maybe-installcheck-make: installcheck-make
19075 installcheck-make: \
19076 configure-make
19077 @: $(MAKE); $(unstage)
19078 @[ -f ./make/Makefile ] || exit 0; \
19079 r=`${PWD_COMMAND}`; export r; \
19080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19081 $(HOST_EXPORTS) \
19082 for flag in $(EXTRA_HOST_FLAGS) ; do \
19083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19084 done; \
19085 echo "Doing installcheck in make" ; \
19086 (cd $(HOST_SUBDIR)/make && \
19087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19089 "RANLIB=$${RANLIB}" \
19090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19091 installcheck) \
19092 || exit 1
19094 @endif make
19096 .PHONY: maybe-mostlyclean-make mostlyclean-make
19097 maybe-mostlyclean-make:
19098 @if make
19099 maybe-mostlyclean-make: mostlyclean-make
19101 mostlyclean-make:
19102 @: $(MAKE); $(unstage)
19103 @[ -f ./make/Makefile ] || exit 0; \
19104 r=`${PWD_COMMAND}`; export r; \
19105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19106 $(HOST_EXPORTS) \
19107 for flag in $(EXTRA_HOST_FLAGS) ; do \
19108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19109 done; \
19110 echo "Doing mostlyclean in make" ; \
19111 (cd $(HOST_SUBDIR)/make && \
19112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19114 "RANLIB=$${RANLIB}" \
19115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19116 mostlyclean) \
19117 || exit 1
19119 @endif make
19121 .PHONY: maybe-clean-make clean-make
19122 maybe-clean-make:
19123 @if make
19124 maybe-clean-make: clean-make
19126 clean-make:
19127 @: $(MAKE); $(unstage)
19128 @[ -f ./make/Makefile ] || exit 0; \
19129 r=`${PWD_COMMAND}`; export r; \
19130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 $(HOST_EXPORTS) \
19132 for flag in $(EXTRA_HOST_FLAGS) ; do \
19133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19134 done; \
19135 echo "Doing clean in make" ; \
19136 (cd $(HOST_SUBDIR)/make && \
19137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19139 "RANLIB=$${RANLIB}" \
19140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19141 clean) \
19142 || exit 1
19144 @endif make
19146 .PHONY: maybe-distclean-make distclean-make
19147 maybe-distclean-make:
19148 @if make
19149 maybe-distclean-make: distclean-make
19151 distclean-make:
19152 @: $(MAKE); $(unstage)
19153 @[ -f ./make/Makefile ] || exit 0; \
19154 r=`${PWD_COMMAND}`; export r; \
19155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19156 $(HOST_EXPORTS) \
19157 for flag in $(EXTRA_HOST_FLAGS) ; do \
19158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19159 done; \
19160 echo "Doing distclean in make" ; \
19161 (cd $(HOST_SUBDIR)/make && \
19162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19164 "RANLIB=$${RANLIB}" \
19165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19166 distclean) \
19167 || exit 1
19169 @endif make
19171 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19172 maybe-maintainer-clean-make:
19173 @if make
19174 maybe-maintainer-clean-make: maintainer-clean-make
19176 maintainer-clean-make:
19177 @: $(MAKE); $(unstage)
19178 @[ -f ./make/Makefile ] || exit 0; \
19179 r=`${PWD_COMMAND}`; export r; \
19180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 $(HOST_EXPORTS) \
19182 for flag in $(EXTRA_HOST_FLAGS) ; do \
19183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19184 done; \
19185 echo "Doing maintainer-clean in make" ; \
19186 (cd $(HOST_SUBDIR)/make && \
19187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19189 "RANLIB=$${RANLIB}" \
19190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19191 maintainer-clean) \
19192 || exit 1
19194 @endif make
19198 .PHONY: configure-mmalloc maybe-configure-mmalloc
19199 maybe-configure-mmalloc:
19200 @if mmalloc
19201 maybe-configure-mmalloc: configure-mmalloc
19202 configure-mmalloc:
19203 @: $(MAKE); $(unstage)
19204 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19206 r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 $(HOST_EXPORTS) \
19209 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19210 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19211 case $(srcdir) in \
19212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19213 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19215 esac; \
19216 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19217 libsrcdir="$$s/mmalloc"; \
19218 $(SHELL) $${libsrcdir}/configure \
19219 $(HOST_CONFIGARGS) $${srcdiroption} \
19220 || exit 1
19221 @endif mmalloc
19227 .PHONY: all-mmalloc maybe-all-mmalloc
19228 maybe-all-mmalloc:
19229 @if mmalloc
19230 TARGET-mmalloc=all
19231 maybe-all-mmalloc: all-mmalloc
19232 all-mmalloc: configure-mmalloc
19233 @: $(MAKE); $(unstage)
19234 @r=`${PWD_COMMAND}`; export r; \
19235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19236 $(HOST_EXPORTS) \
19237 (cd $(HOST_SUBDIR)/mmalloc && \
19238 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19239 @endif mmalloc
19244 .PHONY: check-mmalloc maybe-check-mmalloc
19245 maybe-check-mmalloc:
19246 @if mmalloc
19247 maybe-check-mmalloc: check-mmalloc
19249 check-mmalloc:
19251 @endif mmalloc
19253 .PHONY: install-mmalloc maybe-install-mmalloc
19254 maybe-install-mmalloc:
19255 @if mmalloc
19256 maybe-install-mmalloc: install-mmalloc
19258 install-mmalloc: installdirs
19259 @: $(MAKE); $(unstage)
19260 @r=`${PWD_COMMAND}`; export r; \
19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 $(HOST_EXPORTS) \
19263 (cd $(HOST_SUBDIR)/mmalloc && \
19264 $(MAKE) $(FLAGS_TO_PASS) install)
19266 @endif mmalloc
19268 # Other targets (info, dvi, etc.)
19270 .PHONY: maybe-info-mmalloc info-mmalloc
19271 maybe-info-mmalloc:
19272 @if mmalloc
19273 maybe-info-mmalloc: info-mmalloc
19275 info-mmalloc: \
19276 configure-mmalloc
19277 @: $(MAKE); $(unstage)
19278 @[ -f ./mmalloc/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(HOST_EXPORTS) \
19282 for flag in $(EXTRA_HOST_FLAGS) ; do \
19283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 done; \
19285 echo "Doing info in mmalloc" ; \
19286 (cd $(HOST_SUBDIR)/mmalloc && \
19287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19289 "RANLIB=$${RANLIB}" \
19290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19291 info) \
19292 || exit 1
19294 @endif mmalloc
19296 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19297 maybe-dvi-mmalloc:
19298 @if mmalloc
19299 maybe-dvi-mmalloc: dvi-mmalloc
19301 dvi-mmalloc: \
19302 configure-mmalloc
19303 @: $(MAKE); $(unstage)
19304 @[ -f ./mmalloc/Makefile ] || exit 0; \
19305 r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 $(HOST_EXPORTS) \
19308 for flag in $(EXTRA_HOST_FLAGS) ; do \
19309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19310 done; \
19311 echo "Doing dvi in mmalloc" ; \
19312 (cd $(HOST_SUBDIR)/mmalloc && \
19313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19315 "RANLIB=$${RANLIB}" \
19316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19317 dvi) \
19318 || exit 1
19320 @endif mmalloc
19322 .PHONY: maybe-html-mmalloc html-mmalloc
19323 maybe-html-mmalloc:
19324 @if mmalloc
19325 maybe-html-mmalloc: html-mmalloc
19327 html-mmalloc: \
19328 configure-mmalloc
19329 @: $(MAKE); $(unstage)
19330 @[ -f ./mmalloc/Makefile ] || exit 0; \
19331 r=`${PWD_COMMAND}`; export r; \
19332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19333 $(HOST_EXPORTS) \
19334 for flag in $(EXTRA_HOST_FLAGS) ; do \
19335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19336 done; \
19337 echo "Doing html in mmalloc" ; \
19338 (cd $(HOST_SUBDIR)/mmalloc && \
19339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19341 "RANLIB=$${RANLIB}" \
19342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19343 html) \
19344 || exit 1
19346 @endif mmalloc
19348 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19349 maybe-TAGS-mmalloc:
19350 @if mmalloc
19351 maybe-TAGS-mmalloc: TAGS-mmalloc
19353 TAGS-mmalloc: \
19354 configure-mmalloc
19355 @: $(MAKE); $(unstage)
19356 @[ -f ./mmalloc/Makefile ] || exit 0; \
19357 r=`${PWD_COMMAND}`; export r; \
19358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19359 $(HOST_EXPORTS) \
19360 for flag in $(EXTRA_HOST_FLAGS) ; do \
19361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19362 done; \
19363 echo "Doing TAGS in mmalloc" ; \
19364 (cd $(HOST_SUBDIR)/mmalloc && \
19365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19367 "RANLIB=$${RANLIB}" \
19368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19369 TAGS) \
19370 || exit 1
19372 @endif mmalloc
19374 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19375 maybe-install-info-mmalloc:
19376 @if mmalloc
19377 maybe-install-info-mmalloc: install-info-mmalloc
19379 install-info-mmalloc: \
19380 configure-mmalloc \
19381 info-mmalloc
19382 @: $(MAKE); $(unstage)
19383 @[ -f ./mmalloc/Makefile ] || exit 0; \
19384 r=`${PWD_COMMAND}`; export r; \
19385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19386 $(HOST_EXPORTS) \
19387 for flag in $(EXTRA_HOST_FLAGS) ; do \
19388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19389 done; \
19390 echo "Doing install-info in mmalloc" ; \
19391 (cd $(HOST_SUBDIR)/mmalloc && \
19392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19394 "RANLIB=$${RANLIB}" \
19395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19396 install-info) \
19397 || exit 1
19399 @endif mmalloc
19401 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19402 maybe-installcheck-mmalloc:
19403 @if mmalloc
19404 maybe-installcheck-mmalloc: installcheck-mmalloc
19406 installcheck-mmalloc: \
19407 configure-mmalloc
19408 @: $(MAKE); $(unstage)
19409 @[ -f ./mmalloc/Makefile ] || exit 0; \
19410 r=`${PWD_COMMAND}`; export r; \
19411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19412 $(HOST_EXPORTS) \
19413 for flag in $(EXTRA_HOST_FLAGS) ; do \
19414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19415 done; \
19416 echo "Doing installcheck in mmalloc" ; \
19417 (cd $(HOST_SUBDIR)/mmalloc && \
19418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19420 "RANLIB=$${RANLIB}" \
19421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19422 installcheck) \
19423 || exit 1
19425 @endif mmalloc
19427 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19428 maybe-mostlyclean-mmalloc:
19429 @if mmalloc
19430 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19432 mostlyclean-mmalloc:
19433 @: $(MAKE); $(unstage)
19434 @[ -f ./mmalloc/Makefile ] || exit 0; \
19435 r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19437 $(HOST_EXPORTS) \
19438 for flag in $(EXTRA_HOST_FLAGS) ; do \
19439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19440 done; \
19441 echo "Doing mostlyclean in mmalloc" ; \
19442 (cd $(HOST_SUBDIR)/mmalloc && \
19443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19445 "RANLIB=$${RANLIB}" \
19446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19447 mostlyclean) \
19448 || exit 1
19450 @endif mmalloc
19452 .PHONY: maybe-clean-mmalloc clean-mmalloc
19453 maybe-clean-mmalloc:
19454 @if mmalloc
19455 maybe-clean-mmalloc: clean-mmalloc
19457 clean-mmalloc:
19458 @: $(MAKE); $(unstage)
19459 @[ -f ./mmalloc/Makefile ] || exit 0; \
19460 r=`${PWD_COMMAND}`; export r; \
19461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19462 $(HOST_EXPORTS) \
19463 for flag in $(EXTRA_HOST_FLAGS) ; do \
19464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19465 done; \
19466 echo "Doing clean in mmalloc" ; \
19467 (cd $(HOST_SUBDIR)/mmalloc && \
19468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19470 "RANLIB=$${RANLIB}" \
19471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19472 clean) \
19473 || exit 1
19475 @endif mmalloc
19477 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19478 maybe-distclean-mmalloc:
19479 @if mmalloc
19480 maybe-distclean-mmalloc: distclean-mmalloc
19482 distclean-mmalloc:
19483 @: $(MAKE); $(unstage)
19484 @[ -f ./mmalloc/Makefile ] || exit 0; \
19485 r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 $(HOST_EXPORTS) \
19488 for flag in $(EXTRA_HOST_FLAGS) ; do \
19489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19490 done; \
19491 echo "Doing distclean in mmalloc" ; \
19492 (cd $(HOST_SUBDIR)/mmalloc && \
19493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19495 "RANLIB=$${RANLIB}" \
19496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19497 distclean) \
19498 || exit 1
19500 @endif mmalloc
19502 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19503 maybe-maintainer-clean-mmalloc:
19504 @if mmalloc
19505 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19507 maintainer-clean-mmalloc:
19508 @: $(MAKE); $(unstage)
19509 @[ -f ./mmalloc/Makefile ] || exit 0; \
19510 r=`${PWD_COMMAND}`; export r; \
19511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19512 $(HOST_EXPORTS) \
19513 for flag in $(EXTRA_HOST_FLAGS) ; do \
19514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19515 done; \
19516 echo "Doing maintainer-clean in mmalloc" ; \
19517 (cd $(HOST_SUBDIR)/mmalloc && \
19518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19520 "RANLIB=$${RANLIB}" \
19521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19522 maintainer-clean) \
19523 || exit 1
19525 @endif mmalloc
19529 .PHONY: configure-patch maybe-configure-patch
19530 maybe-configure-patch:
19531 @if patch
19532 maybe-configure-patch: configure-patch
19533 configure-patch:
19534 @: $(MAKE); $(unstage)
19535 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19537 r=`${PWD_COMMAND}`; export r; \
19538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19539 $(HOST_EXPORTS) \
19540 echo Configuring in $(HOST_SUBDIR)/patch; \
19541 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19542 case $(srcdir) in \
19543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19544 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19546 esac; \
19547 srcdiroption="--srcdir=$${topdir}/patch"; \
19548 libsrcdir="$$s/patch"; \
19549 $(SHELL) $${libsrcdir}/configure \
19550 $(HOST_CONFIGARGS) $${srcdiroption} \
19551 || exit 1
19552 @endif patch
19558 .PHONY: all-patch maybe-all-patch
19559 maybe-all-patch:
19560 @if patch
19561 TARGET-patch=all
19562 maybe-all-patch: all-patch
19563 all-patch: configure-patch
19564 @: $(MAKE); $(unstage)
19565 @r=`${PWD_COMMAND}`; export r; \
19566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19567 $(HOST_EXPORTS) \
19568 (cd $(HOST_SUBDIR)/patch && \
19569 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19570 @endif patch
19575 .PHONY: check-patch maybe-check-patch
19576 maybe-check-patch:
19577 @if patch
19578 maybe-check-patch: check-patch
19580 check-patch:
19581 @: $(MAKE); $(unstage)
19582 @r=`${PWD_COMMAND}`; export r; \
19583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19584 $(HOST_EXPORTS) \
19585 (cd $(HOST_SUBDIR)/patch && \
19586 $(MAKE) $(FLAGS_TO_PASS) check)
19588 @endif patch
19590 .PHONY: install-patch maybe-install-patch
19591 maybe-install-patch:
19592 @if patch
19593 maybe-install-patch: install-patch
19595 install-patch: installdirs
19596 @: $(MAKE); $(unstage)
19597 @r=`${PWD_COMMAND}`; export r; \
19598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19599 $(HOST_EXPORTS) \
19600 (cd $(HOST_SUBDIR)/patch && \
19601 $(MAKE) $(FLAGS_TO_PASS) install)
19603 @endif patch
19605 # Other targets (info, dvi, etc.)
19607 .PHONY: maybe-info-patch info-patch
19608 maybe-info-patch:
19609 @if patch
19610 maybe-info-patch: info-patch
19612 info-patch: \
19613 configure-patch
19614 @: $(MAKE); $(unstage)
19615 @[ -f ./patch/Makefile ] || exit 0; \
19616 r=`${PWD_COMMAND}`; export r; \
19617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19618 $(HOST_EXPORTS) \
19619 for flag in $(EXTRA_HOST_FLAGS) ; do \
19620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19621 done; \
19622 echo "Doing info in patch" ; \
19623 (cd $(HOST_SUBDIR)/patch && \
19624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19626 "RANLIB=$${RANLIB}" \
19627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19628 info) \
19629 || exit 1
19631 @endif patch
19633 .PHONY: maybe-dvi-patch dvi-patch
19634 maybe-dvi-patch:
19635 @if patch
19636 maybe-dvi-patch: dvi-patch
19638 dvi-patch: \
19639 configure-patch
19640 @: $(MAKE); $(unstage)
19641 @[ -f ./patch/Makefile ] || exit 0; \
19642 r=`${PWD_COMMAND}`; export r; \
19643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19644 $(HOST_EXPORTS) \
19645 for flag in $(EXTRA_HOST_FLAGS) ; do \
19646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19647 done; \
19648 echo "Doing dvi in patch" ; \
19649 (cd $(HOST_SUBDIR)/patch && \
19650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19652 "RANLIB=$${RANLIB}" \
19653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19654 dvi) \
19655 || exit 1
19657 @endif patch
19659 .PHONY: maybe-html-patch html-patch
19660 maybe-html-patch:
19661 @if patch
19662 maybe-html-patch: html-patch
19664 html-patch: \
19665 configure-patch
19666 @: $(MAKE); $(unstage)
19667 @[ -f ./patch/Makefile ] || exit 0; \
19668 r=`${PWD_COMMAND}`; export r; \
19669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19670 $(HOST_EXPORTS) \
19671 for flag in $(EXTRA_HOST_FLAGS) ; do \
19672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19673 done; \
19674 echo "Doing html in patch" ; \
19675 (cd $(HOST_SUBDIR)/patch && \
19676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19678 "RANLIB=$${RANLIB}" \
19679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19680 html) \
19681 || exit 1
19683 @endif patch
19685 .PHONY: maybe-TAGS-patch TAGS-patch
19686 maybe-TAGS-patch:
19687 @if patch
19688 maybe-TAGS-patch: TAGS-patch
19690 TAGS-patch: \
19691 configure-patch
19692 @: $(MAKE); $(unstage)
19693 @[ -f ./patch/Makefile ] || exit 0; \
19694 r=`${PWD_COMMAND}`; export r; \
19695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19696 $(HOST_EXPORTS) \
19697 for flag in $(EXTRA_HOST_FLAGS) ; do \
19698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19699 done; \
19700 echo "Doing TAGS in patch" ; \
19701 (cd $(HOST_SUBDIR)/patch && \
19702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19704 "RANLIB=$${RANLIB}" \
19705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19706 TAGS) \
19707 || exit 1
19709 @endif patch
19711 .PHONY: maybe-install-info-patch install-info-patch
19712 maybe-install-info-patch:
19713 @if patch
19714 maybe-install-info-patch: install-info-patch
19716 install-info-patch: \
19717 configure-patch \
19718 info-patch
19719 @: $(MAKE); $(unstage)
19720 @[ -f ./patch/Makefile ] || exit 0; \
19721 r=`${PWD_COMMAND}`; export r; \
19722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19723 $(HOST_EXPORTS) \
19724 for flag in $(EXTRA_HOST_FLAGS) ; do \
19725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19726 done; \
19727 echo "Doing install-info in patch" ; \
19728 (cd $(HOST_SUBDIR)/patch && \
19729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19731 "RANLIB=$${RANLIB}" \
19732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19733 install-info) \
19734 || exit 1
19736 @endif patch
19738 .PHONY: maybe-installcheck-patch installcheck-patch
19739 maybe-installcheck-patch:
19740 @if patch
19741 maybe-installcheck-patch: installcheck-patch
19743 installcheck-patch: \
19744 configure-patch
19745 @: $(MAKE); $(unstage)
19746 @[ -f ./patch/Makefile ] || exit 0; \
19747 r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(HOST_EXPORTS) \
19750 for flag in $(EXTRA_HOST_FLAGS) ; do \
19751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19752 done; \
19753 echo "Doing installcheck in patch" ; \
19754 (cd $(HOST_SUBDIR)/patch && \
19755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19757 "RANLIB=$${RANLIB}" \
19758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19759 installcheck) \
19760 || exit 1
19762 @endif patch
19764 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19765 maybe-mostlyclean-patch:
19766 @if patch
19767 maybe-mostlyclean-patch: mostlyclean-patch
19769 mostlyclean-patch:
19770 @: $(MAKE); $(unstage)
19771 @[ -f ./patch/Makefile ] || exit 0; \
19772 r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19774 $(HOST_EXPORTS) \
19775 for flag in $(EXTRA_HOST_FLAGS) ; do \
19776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19777 done; \
19778 echo "Doing mostlyclean in patch" ; \
19779 (cd $(HOST_SUBDIR)/patch && \
19780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19782 "RANLIB=$${RANLIB}" \
19783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19784 mostlyclean) \
19785 || exit 1
19787 @endif patch
19789 .PHONY: maybe-clean-patch clean-patch
19790 maybe-clean-patch:
19791 @if patch
19792 maybe-clean-patch: clean-patch
19794 clean-patch:
19795 @: $(MAKE); $(unstage)
19796 @[ -f ./patch/Makefile ] || exit 0; \
19797 r=`${PWD_COMMAND}`; export r; \
19798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19799 $(HOST_EXPORTS) \
19800 for flag in $(EXTRA_HOST_FLAGS) ; do \
19801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19802 done; \
19803 echo "Doing clean in patch" ; \
19804 (cd $(HOST_SUBDIR)/patch && \
19805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19807 "RANLIB=$${RANLIB}" \
19808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19809 clean) \
19810 || exit 1
19812 @endif patch
19814 .PHONY: maybe-distclean-patch distclean-patch
19815 maybe-distclean-patch:
19816 @if patch
19817 maybe-distclean-patch: distclean-patch
19819 distclean-patch:
19820 @: $(MAKE); $(unstage)
19821 @[ -f ./patch/Makefile ] || exit 0; \
19822 r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 $(HOST_EXPORTS) \
19825 for flag in $(EXTRA_HOST_FLAGS) ; do \
19826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19827 done; \
19828 echo "Doing distclean in patch" ; \
19829 (cd $(HOST_SUBDIR)/patch && \
19830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19832 "RANLIB=$${RANLIB}" \
19833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19834 distclean) \
19835 || exit 1
19837 @endif patch
19839 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19840 maybe-maintainer-clean-patch:
19841 @if patch
19842 maybe-maintainer-clean-patch: maintainer-clean-patch
19844 maintainer-clean-patch:
19845 @: $(MAKE); $(unstage)
19846 @[ -f ./patch/Makefile ] || exit 0; \
19847 r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19849 $(HOST_EXPORTS) \
19850 for flag in $(EXTRA_HOST_FLAGS) ; do \
19851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19852 done; \
19853 echo "Doing maintainer-clean in patch" ; \
19854 (cd $(HOST_SUBDIR)/patch && \
19855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19857 "RANLIB=$${RANLIB}" \
19858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19859 maintainer-clean) \
19860 || exit 1
19862 @endif patch
19866 .PHONY: configure-perl maybe-configure-perl
19867 maybe-configure-perl:
19868 @if perl
19869 maybe-configure-perl: configure-perl
19870 configure-perl:
19871 @: $(MAKE); $(unstage)
19872 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19874 r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 $(HOST_EXPORTS) \
19877 echo Configuring in $(HOST_SUBDIR)/perl; \
19878 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19879 case $(srcdir) in \
19880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19881 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19883 esac; \
19884 srcdiroption="--srcdir=$${topdir}/perl"; \
19885 libsrcdir="$$s/perl"; \
19886 $(SHELL) $${libsrcdir}/configure \
19887 $(HOST_CONFIGARGS) $${srcdiroption} \
19888 || exit 1
19889 @endif perl
19895 .PHONY: all-perl maybe-all-perl
19896 maybe-all-perl:
19897 @if perl
19898 TARGET-perl=all
19899 maybe-all-perl: all-perl
19900 all-perl: configure-perl
19901 @: $(MAKE); $(unstage)
19902 @r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 $(HOST_EXPORTS) \
19905 (cd $(HOST_SUBDIR)/perl && \
19906 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19907 @endif perl
19912 .PHONY: check-perl maybe-check-perl
19913 maybe-check-perl:
19914 @if perl
19915 maybe-check-perl: check-perl
19917 check-perl:
19918 @: $(MAKE); $(unstage)
19919 @r=`${PWD_COMMAND}`; export r; \
19920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19921 $(HOST_EXPORTS) \
19922 (cd $(HOST_SUBDIR)/perl && \
19923 $(MAKE) $(FLAGS_TO_PASS) check)
19925 @endif perl
19927 .PHONY: install-perl maybe-install-perl
19928 maybe-install-perl:
19929 @if perl
19930 maybe-install-perl: install-perl
19932 install-perl: installdirs
19933 @: $(MAKE); $(unstage)
19934 @r=`${PWD_COMMAND}`; export r; \
19935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19936 $(HOST_EXPORTS) \
19937 (cd $(HOST_SUBDIR)/perl && \
19938 $(MAKE) $(FLAGS_TO_PASS) install)
19940 @endif perl
19942 # Other targets (info, dvi, etc.)
19944 .PHONY: maybe-info-perl info-perl
19945 maybe-info-perl:
19946 @if perl
19947 maybe-info-perl: info-perl
19949 info-perl: \
19950 configure-perl
19951 @: $(MAKE); $(unstage)
19952 @[ -f ./perl/Makefile ] || exit 0; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 $(HOST_EXPORTS) \
19956 for flag in $(EXTRA_HOST_FLAGS) ; do \
19957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 done; \
19959 echo "Doing info in perl" ; \
19960 (cd $(HOST_SUBDIR)/perl && \
19961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19963 "RANLIB=$${RANLIB}" \
19964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19965 info) \
19966 || exit 1
19968 @endif perl
19970 .PHONY: maybe-dvi-perl dvi-perl
19971 maybe-dvi-perl:
19972 @if perl
19973 maybe-dvi-perl: dvi-perl
19975 dvi-perl: \
19976 configure-perl
19977 @: $(MAKE); $(unstage)
19978 @[ -f ./perl/Makefile ] || exit 0; \
19979 r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19981 $(HOST_EXPORTS) \
19982 for flag in $(EXTRA_HOST_FLAGS) ; do \
19983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19984 done; \
19985 echo "Doing dvi in perl" ; \
19986 (cd $(HOST_SUBDIR)/perl && \
19987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19989 "RANLIB=$${RANLIB}" \
19990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19991 dvi) \
19992 || exit 1
19994 @endif perl
19996 .PHONY: maybe-html-perl html-perl
19997 maybe-html-perl:
19998 @if perl
19999 maybe-html-perl: html-perl
20001 html-perl: \
20002 configure-perl
20003 @: $(MAKE); $(unstage)
20004 @[ -f ./perl/Makefile ] || exit 0; \
20005 r=`${PWD_COMMAND}`; export r; \
20006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20007 $(HOST_EXPORTS) \
20008 for flag in $(EXTRA_HOST_FLAGS) ; do \
20009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20010 done; \
20011 echo "Doing html in perl" ; \
20012 (cd $(HOST_SUBDIR)/perl && \
20013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20015 "RANLIB=$${RANLIB}" \
20016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20017 html) \
20018 || exit 1
20020 @endif perl
20022 .PHONY: maybe-TAGS-perl TAGS-perl
20023 maybe-TAGS-perl:
20024 @if perl
20025 maybe-TAGS-perl: TAGS-perl
20027 TAGS-perl: \
20028 configure-perl
20029 @: $(MAKE); $(unstage)
20030 @[ -f ./perl/Makefile ] || exit 0; \
20031 r=`${PWD_COMMAND}`; export r; \
20032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20033 $(HOST_EXPORTS) \
20034 for flag in $(EXTRA_HOST_FLAGS) ; do \
20035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20036 done; \
20037 echo "Doing TAGS in perl" ; \
20038 (cd $(HOST_SUBDIR)/perl && \
20039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20041 "RANLIB=$${RANLIB}" \
20042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20043 TAGS) \
20044 || exit 1
20046 @endif perl
20048 .PHONY: maybe-install-info-perl install-info-perl
20049 maybe-install-info-perl:
20050 @if perl
20051 maybe-install-info-perl: install-info-perl
20053 install-info-perl: \
20054 configure-perl \
20055 info-perl
20056 @: $(MAKE); $(unstage)
20057 @[ -f ./perl/Makefile ] || exit 0; \
20058 r=`${PWD_COMMAND}`; export r; \
20059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20060 $(HOST_EXPORTS) \
20061 for flag in $(EXTRA_HOST_FLAGS) ; do \
20062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20063 done; \
20064 echo "Doing install-info in perl" ; \
20065 (cd $(HOST_SUBDIR)/perl && \
20066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20068 "RANLIB=$${RANLIB}" \
20069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20070 install-info) \
20071 || exit 1
20073 @endif perl
20075 .PHONY: maybe-installcheck-perl installcheck-perl
20076 maybe-installcheck-perl:
20077 @if perl
20078 maybe-installcheck-perl: installcheck-perl
20080 installcheck-perl: \
20081 configure-perl
20082 @: $(MAKE); $(unstage)
20083 @[ -f ./perl/Makefile ] || exit 0; \
20084 r=`${PWD_COMMAND}`; export r; \
20085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20086 $(HOST_EXPORTS) \
20087 for flag in $(EXTRA_HOST_FLAGS) ; do \
20088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20089 done; \
20090 echo "Doing installcheck in perl" ; \
20091 (cd $(HOST_SUBDIR)/perl && \
20092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20094 "RANLIB=$${RANLIB}" \
20095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20096 installcheck) \
20097 || exit 1
20099 @endif perl
20101 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20102 maybe-mostlyclean-perl:
20103 @if perl
20104 maybe-mostlyclean-perl: mostlyclean-perl
20106 mostlyclean-perl:
20107 @: $(MAKE); $(unstage)
20108 @[ -f ./perl/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing mostlyclean in perl" ; \
20116 (cd $(HOST_SUBDIR)/perl && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 mostlyclean) \
20122 || exit 1
20124 @endif perl
20126 .PHONY: maybe-clean-perl clean-perl
20127 maybe-clean-perl:
20128 @if perl
20129 maybe-clean-perl: clean-perl
20131 clean-perl:
20132 @: $(MAKE); $(unstage)
20133 @[ -f ./perl/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(HOST_EXPORTS) \
20137 for flag in $(EXTRA_HOST_FLAGS) ; do \
20138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 done; \
20140 echo "Doing clean in perl" ; \
20141 (cd $(HOST_SUBDIR)/perl && \
20142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20144 "RANLIB=$${RANLIB}" \
20145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20146 clean) \
20147 || exit 1
20149 @endif perl
20151 .PHONY: maybe-distclean-perl distclean-perl
20152 maybe-distclean-perl:
20153 @if perl
20154 maybe-distclean-perl: distclean-perl
20156 distclean-perl:
20157 @: $(MAKE); $(unstage)
20158 @[ -f ./perl/Makefile ] || exit 0; \
20159 r=`${PWD_COMMAND}`; export r; \
20160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 $(HOST_EXPORTS) \
20162 for flag in $(EXTRA_HOST_FLAGS) ; do \
20163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20164 done; \
20165 echo "Doing distclean in perl" ; \
20166 (cd $(HOST_SUBDIR)/perl && \
20167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20169 "RANLIB=$${RANLIB}" \
20170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20171 distclean) \
20172 || exit 1
20174 @endif perl
20176 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20177 maybe-maintainer-clean-perl:
20178 @if perl
20179 maybe-maintainer-clean-perl: maintainer-clean-perl
20181 maintainer-clean-perl:
20182 @: $(MAKE); $(unstage)
20183 @[ -f ./perl/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 $(HOST_EXPORTS) \
20187 for flag in $(EXTRA_HOST_FLAGS) ; do \
20188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20189 done; \
20190 echo "Doing maintainer-clean in perl" ; \
20191 (cd $(HOST_SUBDIR)/perl && \
20192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20194 "RANLIB=$${RANLIB}" \
20195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20196 maintainer-clean) \
20197 || exit 1
20199 @endif perl
20203 .PHONY: configure-prms maybe-configure-prms
20204 maybe-configure-prms:
20205 @if prms
20206 maybe-configure-prms: configure-prms
20207 configure-prms:
20208 @: $(MAKE); $(unstage)
20209 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20211 r=`${PWD_COMMAND}`; export r; \
20212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 $(HOST_EXPORTS) \
20214 echo Configuring in $(HOST_SUBDIR)/prms; \
20215 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20216 case $(srcdir) in \
20217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20218 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20220 esac; \
20221 srcdiroption="--srcdir=$${topdir}/prms"; \
20222 libsrcdir="$$s/prms"; \
20223 $(SHELL) $${libsrcdir}/configure \
20224 $(HOST_CONFIGARGS) $${srcdiroption} \
20225 || exit 1
20226 @endif prms
20232 .PHONY: all-prms maybe-all-prms
20233 maybe-all-prms:
20234 @if prms
20235 TARGET-prms=all
20236 maybe-all-prms: all-prms
20237 all-prms: configure-prms
20238 @: $(MAKE); $(unstage)
20239 @r=`${PWD_COMMAND}`; export r; \
20240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20241 $(HOST_EXPORTS) \
20242 (cd $(HOST_SUBDIR)/prms && \
20243 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20244 @endif prms
20249 .PHONY: check-prms maybe-check-prms
20250 maybe-check-prms:
20251 @if prms
20252 maybe-check-prms: check-prms
20254 check-prms:
20255 @: $(MAKE); $(unstage)
20256 @r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 $(HOST_EXPORTS) \
20259 (cd $(HOST_SUBDIR)/prms && \
20260 $(MAKE) $(FLAGS_TO_PASS) check)
20262 @endif prms
20264 .PHONY: install-prms maybe-install-prms
20265 maybe-install-prms:
20266 @if prms
20267 maybe-install-prms: install-prms
20269 install-prms: installdirs
20270 @: $(MAKE); $(unstage)
20271 @r=`${PWD_COMMAND}`; export r; \
20272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20273 $(HOST_EXPORTS) \
20274 (cd $(HOST_SUBDIR)/prms && \
20275 $(MAKE) $(FLAGS_TO_PASS) install)
20277 @endif prms
20279 # Other targets (info, dvi, etc.)
20281 .PHONY: maybe-info-prms info-prms
20282 maybe-info-prms:
20283 @if prms
20284 maybe-info-prms: info-prms
20286 info-prms: \
20287 configure-prms
20288 @: $(MAKE); $(unstage)
20289 @[ -f ./prms/Makefile ] || exit 0; \
20290 r=`${PWD_COMMAND}`; export r; \
20291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20292 $(HOST_EXPORTS) \
20293 for flag in $(EXTRA_HOST_FLAGS) ; do \
20294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20295 done; \
20296 echo "Doing info in prms" ; \
20297 (cd $(HOST_SUBDIR)/prms && \
20298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20300 "RANLIB=$${RANLIB}" \
20301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20302 info) \
20303 || exit 1
20305 @endif prms
20307 .PHONY: maybe-dvi-prms dvi-prms
20308 maybe-dvi-prms:
20309 @if prms
20310 maybe-dvi-prms: dvi-prms
20312 dvi-prms: \
20313 configure-prms
20314 @: $(MAKE); $(unstage)
20315 @[ -f ./prms/Makefile ] || exit 0; \
20316 r=`${PWD_COMMAND}`; export r; \
20317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20318 $(HOST_EXPORTS) \
20319 for flag in $(EXTRA_HOST_FLAGS) ; do \
20320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20321 done; \
20322 echo "Doing dvi in prms" ; \
20323 (cd $(HOST_SUBDIR)/prms && \
20324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20326 "RANLIB=$${RANLIB}" \
20327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20328 dvi) \
20329 || exit 1
20331 @endif prms
20333 .PHONY: maybe-html-prms html-prms
20334 maybe-html-prms:
20335 @if prms
20336 maybe-html-prms: html-prms
20338 html-prms: \
20339 configure-prms
20340 @: $(MAKE); $(unstage)
20341 @[ -f ./prms/Makefile ] || exit 0; \
20342 r=`${PWD_COMMAND}`; export r; \
20343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20344 $(HOST_EXPORTS) \
20345 for flag in $(EXTRA_HOST_FLAGS) ; do \
20346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20347 done; \
20348 echo "Doing html in prms" ; \
20349 (cd $(HOST_SUBDIR)/prms && \
20350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20352 "RANLIB=$${RANLIB}" \
20353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20354 html) \
20355 || exit 1
20357 @endif prms
20359 .PHONY: maybe-TAGS-prms TAGS-prms
20360 maybe-TAGS-prms:
20361 @if prms
20362 maybe-TAGS-prms: TAGS-prms
20364 TAGS-prms: \
20365 configure-prms
20366 @: $(MAKE); $(unstage)
20367 @[ -f ./prms/Makefile ] || exit 0; \
20368 r=`${PWD_COMMAND}`; export r; \
20369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20370 $(HOST_EXPORTS) \
20371 for flag in $(EXTRA_HOST_FLAGS) ; do \
20372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20373 done; \
20374 echo "Doing TAGS in prms" ; \
20375 (cd $(HOST_SUBDIR)/prms && \
20376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20378 "RANLIB=$${RANLIB}" \
20379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20380 TAGS) \
20381 || exit 1
20383 @endif prms
20385 .PHONY: maybe-install-info-prms install-info-prms
20386 maybe-install-info-prms:
20387 @if prms
20388 maybe-install-info-prms: install-info-prms
20390 install-info-prms: \
20391 configure-prms \
20392 info-prms
20393 @: $(MAKE); $(unstage)
20394 @[ -f ./prms/Makefile ] || exit 0; \
20395 r=`${PWD_COMMAND}`; export r; \
20396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20397 $(HOST_EXPORTS) \
20398 for flag in $(EXTRA_HOST_FLAGS) ; do \
20399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20400 done; \
20401 echo "Doing install-info in prms" ; \
20402 (cd $(HOST_SUBDIR)/prms && \
20403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20405 "RANLIB=$${RANLIB}" \
20406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20407 install-info) \
20408 || exit 1
20410 @endif prms
20412 .PHONY: maybe-installcheck-prms installcheck-prms
20413 maybe-installcheck-prms:
20414 @if prms
20415 maybe-installcheck-prms: installcheck-prms
20417 installcheck-prms: \
20418 configure-prms
20419 @: $(MAKE); $(unstage)
20420 @[ -f ./prms/Makefile ] || exit 0; \
20421 r=`${PWD_COMMAND}`; export r; \
20422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20423 $(HOST_EXPORTS) \
20424 for flag in $(EXTRA_HOST_FLAGS) ; do \
20425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20426 done; \
20427 echo "Doing installcheck in prms" ; \
20428 (cd $(HOST_SUBDIR)/prms && \
20429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20431 "RANLIB=$${RANLIB}" \
20432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20433 installcheck) \
20434 || exit 1
20436 @endif prms
20438 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20439 maybe-mostlyclean-prms:
20440 @if prms
20441 maybe-mostlyclean-prms: mostlyclean-prms
20443 mostlyclean-prms:
20444 @: $(MAKE); $(unstage)
20445 @[ -f ./prms/Makefile ] || exit 0; \
20446 r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 $(HOST_EXPORTS) \
20449 for flag in $(EXTRA_HOST_FLAGS) ; do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 done; \
20452 echo "Doing mostlyclean in prms" ; \
20453 (cd $(HOST_SUBDIR)/prms && \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20458 mostlyclean) \
20459 || exit 1
20461 @endif prms
20463 .PHONY: maybe-clean-prms clean-prms
20464 maybe-clean-prms:
20465 @if prms
20466 maybe-clean-prms: clean-prms
20468 clean-prms:
20469 @: $(MAKE); $(unstage)
20470 @[ -f ./prms/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 $(HOST_EXPORTS) \
20474 for flag in $(EXTRA_HOST_FLAGS) ; do \
20475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20476 done; \
20477 echo "Doing clean in prms" ; \
20478 (cd $(HOST_SUBDIR)/prms && \
20479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20481 "RANLIB=$${RANLIB}" \
20482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20483 clean) \
20484 || exit 1
20486 @endif prms
20488 .PHONY: maybe-distclean-prms distclean-prms
20489 maybe-distclean-prms:
20490 @if prms
20491 maybe-distclean-prms: distclean-prms
20493 distclean-prms:
20494 @: $(MAKE); $(unstage)
20495 @[ -f ./prms/Makefile ] || exit 0; \
20496 r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 $(HOST_EXPORTS) \
20499 for flag in $(EXTRA_HOST_FLAGS) ; do \
20500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20501 done; \
20502 echo "Doing distclean in prms" ; \
20503 (cd $(HOST_SUBDIR)/prms && \
20504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20506 "RANLIB=$${RANLIB}" \
20507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20508 distclean) \
20509 || exit 1
20511 @endif prms
20513 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20514 maybe-maintainer-clean-prms:
20515 @if prms
20516 maybe-maintainer-clean-prms: maintainer-clean-prms
20518 maintainer-clean-prms:
20519 @: $(MAKE); $(unstage)
20520 @[ -f ./prms/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20523 $(HOST_EXPORTS) \
20524 for flag in $(EXTRA_HOST_FLAGS) ; do \
20525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20526 done; \
20527 echo "Doing maintainer-clean in prms" ; \
20528 (cd $(HOST_SUBDIR)/prms && \
20529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20531 "RANLIB=$${RANLIB}" \
20532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20533 maintainer-clean) \
20534 || exit 1
20536 @endif prms
20540 .PHONY: configure-rcs maybe-configure-rcs
20541 maybe-configure-rcs:
20542 @if rcs
20543 maybe-configure-rcs: configure-rcs
20544 configure-rcs:
20545 @: $(MAKE); $(unstage)
20546 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20548 r=`${PWD_COMMAND}`; export r; \
20549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 $(HOST_EXPORTS) \
20551 echo Configuring in $(HOST_SUBDIR)/rcs; \
20552 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20553 case $(srcdir) in \
20554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20555 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20557 esac; \
20558 srcdiroption="--srcdir=$${topdir}/rcs"; \
20559 libsrcdir="$$s/rcs"; \
20560 $(SHELL) $${libsrcdir}/configure \
20561 $(HOST_CONFIGARGS) $${srcdiroption} \
20562 || exit 1
20563 @endif rcs
20569 .PHONY: all-rcs maybe-all-rcs
20570 maybe-all-rcs:
20571 @if rcs
20572 TARGET-rcs=all
20573 maybe-all-rcs: all-rcs
20574 all-rcs: configure-rcs
20575 @: $(MAKE); $(unstage)
20576 @r=`${PWD_COMMAND}`; export r; \
20577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20578 $(HOST_EXPORTS) \
20579 (cd $(HOST_SUBDIR)/rcs && \
20580 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20581 @endif rcs
20586 .PHONY: check-rcs maybe-check-rcs
20587 maybe-check-rcs:
20588 @if rcs
20589 maybe-check-rcs: check-rcs
20591 check-rcs:
20592 @: $(MAKE); $(unstage)
20593 @r=`${PWD_COMMAND}`; export r; \
20594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595 $(HOST_EXPORTS) \
20596 (cd $(HOST_SUBDIR)/rcs && \
20597 $(MAKE) $(FLAGS_TO_PASS) check)
20599 @endif rcs
20601 .PHONY: install-rcs maybe-install-rcs
20602 maybe-install-rcs:
20603 @if rcs
20604 maybe-install-rcs: install-rcs
20606 install-rcs: installdirs
20607 @: $(MAKE); $(unstage)
20608 @r=`${PWD_COMMAND}`; export r; \
20609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20610 $(HOST_EXPORTS) \
20611 (cd $(HOST_SUBDIR)/rcs && \
20612 $(MAKE) $(FLAGS_TO_PASS) install)
20614 @endif rcs
20616 # Other targets (info, dvi, etc.)
20618 .PHONY: maybe-info-rcs info-rcs
20619 maybe-info-rcs:
20620 @if rcs
20621 maybe-info-rcs: info-rcs
20623 info-rcs: \
20624 configure-rcs
20625 @: $(MAKE); $(unstage)
20626 @[ -f ./rcs/Makefile ] || exit 0; \
20627 r=`${PWD_COMMAND}`; export r; \
20628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20629 $(HOST_EXPORTS) \
20630 for flag in $(EXTRA_HOST_FLAGS) ; do \
20631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20632 done; \
20633 echo "Doing info in rcs" ; \
20634 (cd $(HOST_SUBDIR)/rcs && \
20635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20637 "RANLIB=$${RANLIB}" \
20638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20639 info) \
20640 || exit 1
20642 @endif rcs
20644 .PHONY: maybe-dvi-rcs dvi-rcs
20645 maybe-dvi-rcs:
20646 @if rcs
20647 maybe-dvi-rcs: dvi-rcs
20649 dvi-rcs: \
20650 configure-rcs
20651 @: $(MAKE); $(unstage)
20652 @[ -f ./rcs/Makefile ] || exit 0; \
20653 r=`${PWD_COMMAND}`; export r; \
20654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20655 $(HOST_EXPORTS) \
20656 for flag in $(EXTRA_HOST_FLAGS) ; do \
20657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20658 done; \
20659 echo "Doing dvi in rcs" ; \
20660 (cd $(HOST_SUBDIR)/rcs && \
20661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20663 "RANLIB=$${RANLIB}" \
20664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20665 dvi) \
20666 || exit 1
20668 @endif rcs
20670 .PHONY: maybe-html-rcs html-rcs
20671 maybe-html-rcs:
20672 @if rcs
20673 maybe-html-rcs: html-rcs
20675 html-rcs: \
20676 configure-rcs
20677 @: $(MAKE); $(unstage)
20678 @[ -f ./rcs/Makefile ] || exit 0; \
20679 r=`${PWD_COMMAND}`; export r; \
20680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20681 $(HOST_EXPORTS) \
20682 for flag in $(EXTRA_HOST_FLAGS) ; do \
20683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20684 done; \
20685 echo "Doing html in rcs" ; \
20686 (cd $(HOST_SUBDIR)/rcs && \
20687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20689 "RANLIB=$${RANLIB}" \
20690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20691 html) \
20692 || exit 1
20694 @endif rcs
20696 .PHONY: maybe-TAGS-rcs TAGS-rcs
20697 maybe-TAGS-rcs:
20698 @if rcs
20699 maybe-TAGS-rcs: TAGS-rcs
20701 TAGS-rcs: \
20702 configure-rcs
20703 @: $(MAKE); $(unstage)
20704 @[ -f ./rcs/Makefile ] || exit 0; \
20705 r=`${PWD_COMMAND}`; export r; \
20706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20707 $(HOST_EXPORTS) \
20708 for flag in $(EXTRA_HOST_FLAGS) ; do \
20709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20710 done; \
20711 echo "Doing TAGS in rcs" ; \
20712 (cd $(HOST_SUBDIR)/rcs && \
20713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20715 "RANLIB=$${RANLIB}" \
20716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20717 TAGS) \
20718 || exit 1
20720 @endif rcs
20722 .PHONY: maybe-install-info-rcs install-info-rcs
20723 maybe-install-info-rcs:
20724 @if rcs
20725 maybe-install-info-rcs: install-info-rcs
20727 install-info-rcs: \
20728 configure-rcs \
20729 info-rcs
20730 @: $(MAKE); $(unstage)
20731 @[ -f ./rcs/Makefile ] || exit 0; \
20732 r=`${PWD_COMMAND}`; export r; \
20733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20734 $(HOST_EXPORTS) \
20735 for flag in $(EXTRA_HOST_FLAGS) ; do \
20736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20737 done; \
20738 echo "Doing install-info in rcs" ; \
20739 (cd $(HOST_SUBDIR)/rcs && \
20740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20742 "RANLIB=$${RANLIB}" \
20743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20744 install-info) \
20745 || exit 1
20747 @endif rcs
20749 .PHONY: maybe-installcheck-rcs installcheck-rcs
20750 maybe-installcheck-rcs:
20751 @if rcs
20752 maybe-installcheck-rcs: installcheck-rcs
20754 installcheck-rcs: \
20755 configure-rcs
20756 @: $(MAKE); $(unstage)
20757 @[ -f ./rcs/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS) ; do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing installcheck in rcs" ; \
20765 (cd $(HOST_SUBDIR)/rcs && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 installcheck) \
20771 || exit 1
20773 @endif rcs
20775 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20776 maybe-mostlyclean-rcs:
20777 @if rcs
20778 maybe-mostlyclean-rcs: mostlyclean-rcs
20780 mostlyclean-rcs:
20781 @: $(MAKE); $(unstage)
20782 @[ -f ./rcs/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing mostlyclean in rcs" ; \
20790 (cd $(HOST_SUBDIR)/rcs && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 mostlyclean) \
20796 || exit 1
20798 @endif rcs
20800 .PHONY: maybe-clean-rcs clean-rcs
20801 maybe-clean-rcs:
20802 @if rcs
20803 maybe-clean-rcs: clean-rcs
20805 clean-rcs:
20806 @: $(MAKE); $(unstage)
20807 @[ -f ./rcs/Makefile ] || exit 0; \
20808 r=`${PWD_COMMAND}`; export r; \
20809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20810 $(HOST_EXPORTS) \
20811 for flag in $(EXTRA_HOST_FLAGS) ; do \
20812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20813 done; \
20814 echo "Doing clean in rcs" ; \
20815 (cd $(HOST_SUBDIR)/rcs && \
20816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20818 "RANLIB=$${RANLIB}" \
20819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20820 clean) \
20821 || exit 1
20823 @endif rcs
20825 .PHONY: maybe-distclean-rcs distclean-rcs
20826 maybe-distclean-rcs:
20827 @if rcs
20828 maybe-distclean-rcs: distclean-rcs
20830 distclean-rcs:
20831 @: $(MAKE); $(unstage)
20832 @[ -f ./rcs/Makefile ] || exit 0; \
20833 r=`${PWD_COMMAND}`; export r; \
20834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20835 $(HOST_EXPORTS) \
20836 for flag in $(EXTRA_HOST_FLAGS) ; do \
20837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20838 done; \
20839 echo "Doing distclean in rcs" ; \
20840 (cd $(HOST_SUBDIR)/rcs && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20843 "RANLIB=$${RANLIB}" \
20844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20845 distclean) \
20846 || exit 1
20848 @endif rcs
20850 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20851 maybe-maintainer-clean-rcs:
20852 @if rcs
20853 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20855 maintainer-clean-rcs:
20856 @: $(MAKE); $(unstage)
20857 @[ -f ./rcs/Makefile ] || exit 0; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20860 $(HOST_EXPORTS) \
20861 for flag in $(EXTRA_HOST_FLAGS) ; do \
20862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20863 done; \
20864 echo "Doing maintainer-clean in rcs" ; \
20865 (cd $(HOST_SUBDIR)/rcs && \
20866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20868 "RANLIB=$${RANLIB}" \
20869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20870 maintainer-clean) \
20871 || exit 1
20873 @endif rcs
20877 .PHONY: configure-readline maybe-configure-readline
20878 maybe-configure-readline:
20879 @if readline
20880 maybe-configure-readline: configure-readline
20881 configure-readline:
20882 @: $(MAKE); $(unstage)
20883 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20885 r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887 $(HOST_EXPORTS) \
20888 echo Configuring in $(HOST_SUBDIR)/readline; \
20889 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20890 case $(srcdir) in \
20891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20892 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20894 esac; \
20895 srcdiroption="--srcdir=$${topdir}/readline"; \
20896 libsrcdir="$$s/readline"; \
20897 $(SHELL) $${libsrcdir}/configure \
20898 $(HOST_CONFIGARGS) $${srcdiroption} \
20899 || exit 1
20900 @endif readline
20906 .PHONY: all-readline maybe-all-readline
20907 maybe-all-readline:
20908 @if readline
20909 TARGET-readline=all
20910 maybe-all-readline: all-readline
20911 all-readline: configure-readline
20912 @: $(MAKE); $(unstage)
20913 @r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 $(HOST_EXPORTS) \
20916 (cd $(HOST_SUBDIR)/readline && \
20917 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20918 @endif readline
20923 .PHONY: check-readline maybe-check-readline
20924 maybe-check-readline:
20925 @if readline
20926 maybe-check-readline: check-readline
20928 check-readline:
20929 @: $(MAKE); $(unstage)
20930 @r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 (cd $(HOST_SUBDIR)/readline && \
20934 $(MAKE) $(FLAGS_TO_PASS) check)
20936 @endif readline
20938 .PHONY: install-readline maybe-install-readline
20939 maybe-install-readline:
20940 @if readline
20941 maybe-install-readline: install-readline
20943 install-readline: installdirs
20944 @: $(MAKE); $(unstage)
20945 @r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 $(HOST_EXPORTS) \
20948 (cd $(HOST_SUBDIR)/readline && \
20949 $(MAKE) $(FLAGS_TO_PASS) install)
20951 @endif readline
20953 # Other targets (info, dvi, etc.)
20955 .PHONY: maybe-info-readline info-readline
20956 maybe-info-readline:
20957 @if readline
20958 maybe-info-readline: info-readline
20960 info-readline: \
20961 configure-readline
20962 @: $(MAKE); $(unstage)
20963 @[ -f ./readline/Makefile ] || exit 0; \
20964 r=`${PWD_COMMAND}`; export r; \
20965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20966 $(HOST_EXPORTS) \
20967 for flag in $(EXTRA_HOST_FLAGS) ; do \
20968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20969 done; \
20970 echo "Doing info in readline" ; \
20971 (cd $(HOST_SUBDIR)/readline && \
20972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20974 "RANLIB=$${RANLIB}" \
20975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20976 info) \
20977 || exit 1
20979 @endif readline
20981 .PHONY: maybe-dvi-readline dvi-readline
20982 maybe-dvi-readline:
20983 @if readline
20984 maybe-dvi-readline: dvi-readline
20986 dvi-readline: \
20987 configure-readline
20988 @: $(MAKE); $(unstage)
20989 @[ -f ./readline/Makefile ] || exit 0; \
20990 r=`${PWD_COMMAND}`; export r; \
20991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20992 $(HOST_EXPORTS) \
20993 for flag in $(EXTRA_HOST_FLAGS) ; do \
20994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20995 done; \
20996 echo "Doing dvi in readline" ; \
20997 (cd $(HOST_SUBDIR)/readline && \
20998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21000 "RANLIB=$${RANLIB}" \
21001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21002 dvi) \
21003 || exit 1
21005 @endif readline
21007 .PHONY: maybe-html-readline html-readline
21008 maybe-html-readline:
21009 @if readline
21010 maybe-html-readline: html-readline
21012 html-readline: \
21013 configure-readline
21014 @: $(MAKE); $(unstage)
21015 @[ -f ./readline/Makefile ] || exit 0; \
21016 r=`${PWD_COMMAND}`; export r; \
21017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21018 $(HOST_EXPORTS) \
21019 for flag in $(EXTRA_HOST_FLAGS) ; do \
21020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21021 done; \
21022 echo "Doing html in readline" ; \
21023 (cd $(HOST_SUBDIR)/readline && \
21024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21026 "RANLIB=$${RANLIB}" \
21027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21028 html) \
21029 || exit 1
21031 @endif readline
21033 .PHONY: maybe-TAGS-readline TAGS-readline
21034 maybe-TAGS-readline:
21035 @if readline
21036 maybe-TAGS-readline: TAGS-readline
21038 TAGS-readline: \
21039 configure-readline
21040 @: $(MAKE); $(unstage)
21041 @[ -f ./readline/Makefile ] || exit 0; \
21042 r=`${PWD_COMMAND}`; export r; \
21043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21044 $(HOST_EXPORTS) \
21045 for flag in $(EXTRA_HOST_FLAGS) ; do \
21046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21047 done; \
21048 echo "Doing TAGS in readline" ; \
21049 (cd $(HOST_SUBDIR)/readline && \
21050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21052 "RANLIB=$${RANLIB}" \
21053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21054 TAGS) \
21055 || exit 1
21057 @endif readline
21059 .PHONY: maybe-install-info-readline install-info-readline
21060 maybe-install-info-readline:
21061 @if readline
21062 maybe-install-info-readline: install-info-readline
21064 install-info-readline: \
21065 configure-readline \
21066 info-readline
21067 @: $(MAKE); $(unstage)
21068 @[ -f ./readline/Makefile ] || exit 0; \
21069 r=`${PWD_COMMAND}`; export r; \
21070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21071 $(HOST_EXPORTS) \
21072 for flag in $(EXTRA_HOST_FLAGS) ; do \
21073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21074 done; \
21075 echo "Doing install-info in readline" ; \
21076 (cd $(HOST_SUBDIR)/readline && \
21077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21079 "RANLIB=$${RANLIB}" \
21080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21081 install-info) \
21082 || exit 1
21084 @endif readline
21086 .PHONY: maybe-installcheck-readline installcheck-readline
21087 maybe-installcheck-readline:
21088 @if readline
21089 maybe-installcheck-readline: installcheck-readline
21091 installcheck-readline: \
21092 configure-readline
21093 @: $(MAKE); $(unstage)
21094 @[ -f ./readline/Makefile ] || exit 0; \
21095 r=`${PWD_COMMAND}`; export r; \
21096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21097 $(HOST_EXPORTS) \
21098 for flag in $(EXTRA_HOST_FLAGS) ; do \
21099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21100 done; \
21101 echo "Doing installcheck in readline" ; \
21102 (cd $(HOST_SUBDIR)/readline && \
21103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21105 "RANLIB=$${RANLIB}" \
21106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21107 installcheck) \
21108 || exit 1
21110 @endif readline
21112 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21113 maybe-mostlyclean-readline:
21114 @if readline
21115 maybe-mostlyclean-readline: mostlyclean-readline
21117 mostlyclean-readline:
21118 @: $(MAKE); $(unstage)
21119 @[ -f ./readline/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122 $(HOST_EXPORTS) \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21125 done; \
21126 echo "Doing mostlyclean in readline" ; \
21127 (cd $(HOST_SUBDIR)/readline && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 mostlyclean) \
21133 || exit 1
21135 @endif readline
21137 .PHONY: maybe-clean-readline clean-readline
21138 maybe-clean-readline:
21139 @if readline
21140 maybe-clean-readline: clean-readline
21142 clean-readline:
21143 @: $(MAKE); $(unstage)
21144 @[ -f ./readline/Makefile ] || exit 0; \
21145 r=`${PWD_COMMAND}`; export r; \
21146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21147 $(HOST_EXPORTS) \
21148 for flag in $(EXTRA_HOST_FLAGS) ; do \
21149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21150 done; \
21151 echo "Doing clean in readline" ; \
21152 (cd $(HOST_SUBDIR)/readline && \
21153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21155 "RANLIB=$${RANLIB}" \
21156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21157 clean) \
21158 || exit 1
21160 @endif readline
21162 .PHONY: maybe-distclean-readline distclean-readline
21163 maybe-distclean-readline:
21164 @if readline
21165 maybe-distclean-readline: distclean-readline
21167 distclean-readline:
21168 @: $(MAKE); $(unstage)
21169 @[ -f ./readline/Makefile ] || exit 0; \
21170 r=`${PWD_COMMAND}`; export r; \
21171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21172 $(HOST_EXPORTS) \
21173 for flag in $(EXTRA_HOST_FLAGS) ; do \
21174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21175 done; \
21176 echo "Doing distclean in readline" ; \
21177 (cd $(HOST_SUBDIR)/readline && \
21178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21180 "RANLIB=$${RANLIB}" \
21181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21182 distclean) \
21183 || exit 1
21185 @endif readline
21187 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21188 maybe-maintainer-clean-readline:
21189 @if readline
21190 maybe-maintainer-clean-readline: maintainer-clean-readline
21192 maintainer-clean-readline:
21193 @: $(MAKE); $(unstage)
21194 @[ -f ./readline/Makefile ] || exit 0; \
21195 r=`${PWD_COMMAND}`; export r; \
21196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21197 $(HOST_EXPORTS) \
21198 for flag in $(EXTRA_HOST_FLAGS) ; do \
21199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21200 done; \
21201 echo "Doing maintainer-clean in readline" ; \
21202 (cd $(HOST_SUBDIR)/readline && \
21203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21205 "RANLIB=$${RANLIB}" \
21206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21207 maintainer-clean) \
21208 || exit 1
21210 @endif readline
21214 .PHONY: configure-release maybe-configure-release
21215 maybe-configure-release:
21216 @if release
21217 maybe-configure-release: configure-release
21218 configure-release:
21219 @: $(MAKE); $(unstage)
21220 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21222 r=`${PWD_COMMAND}`; export r; \
21223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21224 $(HOST_EXPORTS) \
21225 echo Configuring in $(HOST_SUBDIR)/release; \
21226 cd "$(HOST_SUBDIR)/release" || exit 1; \
21227 case $(srcdir) in \
21228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21229 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21231 esac; \
21232 srcdiroption="--srcdir=$${topdir}/release"; \
21233 libsrcdir="$$s/release"; \
21234 $(SHELL) $${libsrcdir}/configure \
21235 $(HOST_CONFIGARGS) $${srcdiroption} \
21236 || exit 1
21237 @endif release
21243 .PHONY: all-release maybe-all-release
21244 maybe-all-release:
21245 @if release
21246 TARGET-release=all
21247 maybe-all-release: all-release
21248 all-release: configure-release
21249 @: $(MAKE); $(unstage)
21250 @r=`${PWD_COMMAND}`; export r; \
21251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21252 $(HOST_EXPORTS) \
21253 (cd $(HOST_SUBDIR)/release && \
21254 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21255 @endif release
21260 .PHONY: check-release maybe-check-release
21261 maybe-check-release:
21262 @if release
21263 maybe-check-release: check-release
21265 check-release:
21267 @endif release
21269 .PHONY: install-release maybe-install-release
21270 maybe-install-release:
21271 @if release
21272 maybe-install-release: install-release
21274 install-release:
21276 @endif release
21278 # Other targets (info, dvi, etc.)
21280 .PHONY: maybe-info-release info-release
21281 maybe-info-release:
21282 @if release
21283 maybe-info-release: info-release
21285 info-release: \
21286 configure-release
21287 @: $(MAKE); $(unstage)
21288 @[ -f ./release/Makefile ] || exit 0; \
21289 r=`${PWD_COMMAND}`; export r; \
21290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21291 $(HOST_EXPORTS) \
21292 for flag in $(EXTRA_HOST_FLAGS) ; do \
21293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21294 done; \
21295 echo "Doing info in release" ; \
21296 (cd $(HOST_SUBDIR)/release && \
21297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21299 "RANLIB=$${RANLIB}" \
21300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21301 info) \
21302 || exit 1
21304 @endif release
21306 .PHONY: maybe-dvi-release dvi-release
21307 maybe-dvi-release:
21308 @if release
21309 maybe-dvi-release: dvi-release
21311 dvi-release: \
21312 configure-release
21313 @: $(MAKE); $(unstage)
21314 @[ -f ./release/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21317 $(HOST_EXPORTS) \
21318 for flag in $(EXTRA_HOST_FLAGS) ; do \
21319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21320 done; \
21321 echo "Doing dvi in release" ; \
21322 (cd $(HOST_SUBDIR)/release && \
21323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21325 "RANLIB=$${RANLIB}" \
21326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21327 dvi) \
21328 || exit 1
21330 @endif release
21332 .PHONY: maybe-html-release html-release
21333 maybe-html-release:
21334 @if release
21335 maybe-html-release: html-release
21337 html-release: \
21338 configure-release
21339 @: $(MAKE); $(unstage)
21340 @[ -f ./release/Makefile ] || exit 0; \
21341 r=`${PWD_COMMAND}`; export r; \
21342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21343 $(HOST_EXPORTS) \
21344 for flag in $(EXTRA_HOST_FLAGS) ; do \
21345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21346 done; \
21347 echo "Doing html in release" ; \
21348 (cd $(HOST_SUBDIR)/release && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21353 html) \
21354 || exit 1
21356 @endif release
21358 .PHONY: maybe-TAGS-release TAGS-release
21359 maybe-TAGS-release:
21360 @if release
21361 maybe-TAGS-release: TAGS-release
21363 TAGS-release: \
21364 configure-release
21365 @: $(MAKE); $(unstage)
21366 @[ -f ./release/Makefile ] || exit 0; \
21367 r=`${PWD_COMMAND}`; export r; \
21368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21369 $(HOST_EXPORTS) \
21370 for flag in $(EXTRA_HOST_FLAGS) ; do \
21371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21372 done; \
21373 echo "Doing TAGS in release" ; \
21374 (cd $(HOST_SUBDIR)/release && \
21375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21377 "RANLIB=$${RANLIB}" \
21378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21379 TAGS) \
21380 || exit 1
21382 @endif release
21384 .PHONY: maybe-install-info-release install-info-release
21385 maybe-install-info-release:
21386 @if release
21387 maybe-install-info-release: install-info-release
21389 install-info-release: \
21390 configure-release \
21391 info-release
21392 @: $(MAKE); $(unstage)
21393 @[ -f ./release/Makefile ] || exit 0; \
21394 r=`${PWD_COMMAND}`; export r; \
21395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21396 $(HOST_EXPORTS) \
21397 for flag in $(EXTRA_HOST_FLAGS) ; do \
21398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21399 done; \
21400 echo "Doing install-info in release" ; \
21401 (cd $(HOST_SUBDIR)/release && \
21402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21404 "RANLIB=$${RANLIB}" \
21405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21406 install-info) \
21407 || exit 1
21409 @endif release
21411 .PHONY: maybe-installcheck-release installcheck-release
21412 maybe-installcheck-release:
21413 @if release
21414 maybe-installcheck-release: installcheck-release
21416 installcheck-release: \
21417 configure-release
21418 @: $(MAKE); $(unstage)
21419 @[ -f ./release/Makefile ] || exit 0; \
21420 r=`${PWD_COMMAND}`; export r; \
21421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21422 $(HOST_EXPORTS) \
21423 for flag in $(EXTRA_HOST_FLAGS) ; do \
21424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21425 done; \
21426 echo "Doing installcheck in release" ; \
21427 (cd $(HOST_SUBDIR)/release && \
21428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21430 "RANLIB=$${RANLIB}" \
21431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21432 installcheck) \
21433 || exit 1
21435 @endif release
21437 .PHONY: maybe-mostlyclean-release mostlyclean-release
21438 maybe-mostlyclean-release:
21439 @if release
21440 maybe-mostlyclean-release: mostlyclean-release
21442 mostlyclean-release:
21443 @: $(MAKE); $(unstage)
21444 @[ -f ./release/Makefile ] || exit 0; \
21445 r=`${PWD_COMMAND}`; export r; \
21446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21447 $(HOST_EXPORTS) \
21448 for flag in $(EXTRA_HOST_FLAGS) ; do \
21449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21450 done; \
21451 echo "Doing mostlyclean in release" ; \
21452 (cd $(HOST_SUBDIR)/release && \
21453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21455 "RANLIB=$${RANLIB}" \
21456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21457 mostlyclean) \
21458 || exit 1
21460 @endif release
21462 .PHONY: maybe-clean-release clean-release
21463 maybe-clean-release:
21464 @if release
21465 maybe-clean-release: clean-release
21467 clean-release:
21468 @: $(MAKE); $(unstage)
21469 @[ -f ./release/Makefile ] || exit 0; \
21470 r=`${PWD_COMMAND}`; export r; \
21471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21472 $(HOST_EXPORTS) \
21473 for flag in $(EXTRA_HOST_FLAGS) ; do \
21474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21475 done; \
21476 echo "Doing clean in release" ; \
21477 (cd $(HOST_SUBDIR)/release && \
21478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21480 "RANLIB=$${RANLIB}" \
21481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21482 clean) \
21483 || exit 1
21485 @endif release
21487 .PHONY: maybe-distclean-release distclean-release
21488 maybe-distclean-release:
21489 @if release
21490 maybe-distclean-release: distclean-release
21492 distclean-release:
21493 @: $(MAKE); $(unstage)
21494 @[ -f ./release/Makefile ] || exit 0; \
21495 r=`${PWD_COMMAND}`; export r; \
21496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21497 $(HOST_EXPORTS) \
21498 for flag in $(EXTRA_HOST_FLAGS) ; do \
21499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21500 done; \
21501 echo "Doing distclean in release" ; \
21502 (cd $(HOST_SUBDIR)/release && \
21503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21505 "RANLIB=$${RANLIB}" \
21506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21507 distclean) \
21508 || exit 1
21510 @endif release
21512 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21513 maybe-maintainer-clean-release:
21514 @if release
21515 maybe-maintainer-clean-release: maintainer-clean-release
21517 maintainer-clean-release:
21518 @: $(MAKE); $(unstage)
21519 @[ -f ./release/Makefile ] || exit 0; \
21520 r=`${PWD_COMMAND}`; export r; \
21521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21522 $(HOST_EXPORTS) \
21523 for flag in $(EXTRA_HOST_FLAGS) ; do \
21524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21525 done; \
21526 echo "Doing maintainer-clean in release" ; \
21527 (cd $(HOST_SUBDIR)/release && \
21528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21530 "RANLIB=$${RANLIB}" \
21531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21532 maintainer-clean) \
21533 || exit 1
21535 @endif release
21539 .PHONY: configure-recode maybe-configure-recode
21540 maybe-configure-recode:
21541 @if recode
21542 maybe-configure-recode: configure-recode
21543 configure-recode:
21544 @: $(MAKE); $(unstage)
21545 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21547 r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21549 $(HOST_EXPORTS) \
21550 echo Configuring in $(HOST_SUBDIR)/recode; \
21551 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21552 case $(srcdir) in \
21553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21554 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21556 esac; \
21557 srcdiroption="--srcdir=$${topdir}/recode"; \
21558 libsrcdir="$$s/recode"; \
21559 $(SHELL) $${libsrcdir}/configure \
21560 $(HOST_CONFIGARGS) $${srcdiroption} \
21561 || exit 1
21562 @endif recode
21568 .PHONY: all-recode maybe-all-recode
21569 maybe-all-recode:
21570 @if recode
21571 TARGET-recode=all
21572 maybe-all-recode: all-recode
21573 all-recode: configure-recode
21574 @: $(MAKE); $(unstage)
21575 @r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 $(HOST_EXPORTS) \
21578 (cd $(HOST_SUBDIR)/recode && \
21579 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21580 @endif recode
21585 .PHONY: check-recode maybe-check-recode
21586 maybe-check-recode:
21587 @if recode
21588 maybe-check-recode: check-recode
21590 check-recode:
21591 @: $(MAKE); $(unstage)
21592 @r=`${PWD_COMMAND}`; export r; \
21593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21594 $(HOST_EXPORTS) \
21595 (cd $(HOST_SUBDIR)/recode && \
21596 $(MAKE) $(FLAGS_TO_PASS) check)
21598 @endif recode
21600 .PHONY: install-recode maybe-install-recode
21601 maybe-install-recode:
21602 @if recode
21603 maybe-install-recode: install-recode
21605 install-recode: installdirs
21606 @: $(MAKE); $(unstage)
21607 @r=`${PWD_COMMAND}`; export r; \
21608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 $(HOST_EXPORTS) \
21610 (cd $(HOST_SUBDIR)/recode && \
21611 $(MAKE) $(FLAGS_TO_PASS) install)
21613 @endif recode
21615 # Other targets (info, dvi, etc.)
21617 .PHONY: maybe-info-recode info-recode
21618 maybe-info-recode:
21619 @if recode
21620 maybe-info-recode: info-recode
21622 info-recode: \
21623 configure-recode
21624 @: $(MAKE); $(unstage)
21625 @[ -f ./recode/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(HOST_EXPORTS) \
21629 for flag in $(EXTRA_HOST_FLAGS) ; do \
21630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21631 done; \
21632 echo "Doing info in recode" ; \
21633 (cd $(HOST_SUBDIR)/recode && \
21634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21636 "RANLIB=$${RANLIB}" \
21637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21638 info) \
21639 || exit 1
21641 @endif recode
21643 .PHONY: maybe-dvi-recode dvi-recode
21644 maybe-dvi-recode:
21645 @if recode
21646 maybe-dvi-recode: dvi-recode
21648 dvi-recode: \
21649 configure-recode
21650 @: $(MAKE); $(unstage)
21651 @[ -f ./recode/Makefile ] || exit 0; \
21652 r=`${PWD_COMMAND}`; export r; \
21653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21654 $(HOST_EXPORTS) \
21655 for flag in $(EXTRA_HOST_FLAGS) ; do \
21656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21657 done; \
21658 echo "Doing dvi in recode" ; \
21659 (cd $(HOST_SUBDIR)/recode && \
21660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21662 "RANLIB=$${RANLIB}" \
21663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21664 dvi) \
21665 || exit 1
21667 @endif recode
21669 .PHONY: maybe-html-recode html-recode
21670 maybe-html-recode:
21671 @if recode
21672 maybe-html-recode: html-recode
21674 html-recode: \
21675 configure-recode
21676 @: $(MAKE); $(unstage)
21677 @[ -f ./recode/Makefile ] || exit 0; \
21678 r=`${PWD_COMMAND}`; export r; \
21679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21680 $(HOST_EXPORTS) \
21681 for flag in $(EXTRA_HOST_FLAGS) ; do \
21682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21683 done; \
21684 echo "Doing html in recode" ; \
21685 (cd $(HOST_SUBDIR)/recode && \
21686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21688 "RANLIB=$${RANLIB}" \
21689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21690 html) \
21691 || exit 1
21693 @endif recode
21695 .PHONY: maybe-TAGS-recode TAGS-recode
21696 maybe-TAGS-recode:
21697 @if recode
21698 maybe-TAGS-recode: TAGS-recode
21700 TAGS-recode: \
21701 configure-recode
21702 @: $(MAKE); $(unstage)
21703 @[ -f ./recode/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(HOST_EXPORTS) \
21707 for flag in $(EXTRA_HOST_FLAGS) ; do \
21708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21709 done; \
21710 echo "Doing TAGS in recode" ; \
21711 (cd $(HOST_SUBDIR)/recode && \
21712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21714 "RANLIB=$${RANLIB}" \
21715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21716 TAGS) \
21717 || exit 1
21719 @endif recode
21721 .PHONY: maybe-install-info-recode install-info-recode
21722 maybe-install-info-recode:
21723 @if recode
21724 maybe-install-info-recode: install-info-recode
21726 install-info-recode: \
21727 configure-recode \
21728 info-recode
21729 @: $(MAKE); $(unstage)
21730 @[ -f ./recode/Makefile ] || exit 0; \
21731 r=`${PWD_COMMAND}`; export r; \
21732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21733 $(HOST_EXPORTS) \
21734 for flag in $(EXTRA_HOST_FLAGS) ; do \
21735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21736 done; \
21737 echo "Doing install-info in recode" ; \
21738 (cd $(HOST_SUBDIR)/recode && \
21739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21741 "RANLIB=$${RANLIB}" \
21742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21743 install-info) \
21744 || exit 1
21746 @endif recode
21748 .PHONY: maybe-installcheck-recode installcheck-recode
21749 maybe-installcheck-recode:
21750 @if recode
21751 maybe-installcheck-recode: installcheck-recode
21753 installcheck-recode: \
21754 configure-recode
21755 @: $(MAKE); $(unstage)
21756 @[ -f ./recode/Makefile ] || exit 0; \
21757 r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 $(HOST_EXPORTS) \
21760 for flag in $(EXTRA_HOST_FLAGS) ; do \
21761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21762 done; \
21763 echo "Doing installcheck in recode" ; \
21764 (cd $(HOST_SUBDIR)/recode && \
21765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21767 "RANLIB=$${RANLIB}" \
21768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21769 installcheck) \
21770 || exit 1
21772 @endif recode
21774 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21775 maybe-mostlyclean-recode:
21776 @if recode
21777 maybe-mostlyclean-recode: mostlyclean-recode
21779 mostlyclean-recode:
21780 @: $(MAKE); $(unstage)
21781 @[ -f ./recode/Makefile ] || exit 0; \
21782 r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 $(HOST_EXPORTS) \
21785 for flag in $(EXTRA_HOST_FLAGS) ; do \
21786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21787 done; \
21788 echo "Doing mostlyclean in recode" ; \
21789 (cd $(HOST_SUBDIR)/recode && \
21790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21792 "RANLIB=$${RANLIB}" \
21793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21794 mostlyclean) \
21795 || exit 1
21797 @endif recode
21799 .PHONY: maybe-clean-recode clean-recode
21800 maybe-clean-recode:
21801 @if recode
21802 maybe-clean-recode: clean-recode
21804 clean-recode:
21805 @: $(MAKE); $(unstage)
21806 @[ -f ./recode/Makefile ] || exit 0; \
21807 r=`${PWD_COMMAND}`; export r; \
21808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21809 $(HOST_EXPORTS) \
21810 for flag in $(EXTRA_HOST_FLAGS) ; do \
21811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21812 done; \
21813 echo "Doing clean in recode" ; \
21814 (cd $(HOST_SUBDIR)/recode && \
21815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21817 "RANLIB=$${RANLIB}" \
21818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21819 clean) \
21820 || exit 1
21822 @endif recode
21824 .PHONY: maybe-distclean-recode distclean-recode
21825 maybe-distclean-recode:
21826 @if recode
21827 maybe-distclean-recode: distclean-recode
21829 distclean-recode:
21830 @: $(MAKE); $(unstage)
21831 @[ -f ./recode/Makefile ] || exit 0; \
21832 r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834 $(HOST_EXPORTS) \
21835 for flag in $(EXTRA_HOST_FLAGS) ; do \
21836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21837 done; \
21838 echo "Doing distclean in recode" ; \
21839 (cd $(HOST_SUBDIR)/recode && \
21840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21842 "RANLIB=$${RANLIB}" \
21843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21844 distclean) \
21845 || exit 1
21847 @endif recode
21849 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21850 maybe-maintainer-clean-recode:
21851 @if recode
21852 maybe-maintainer-clean-recode: maintainer-clean-recode
21854 maintainer-clean-recode:
21855 @: $(MAKE); $(unstage)
21856 @[ -f ./recode/Makefile ] || exit 0; \
21857 r=`${PWD_COMMAND}`; export r; \
21858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21859 $(HOST_EXPORTS) \
21860 for flag in $(EXTRA_HOST_FLAGS) ; do \
21861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21862 done; \
21863 echo "Doing maintainer-clean in recode" ; \
21864 (cd $(HOST_SUBDIR)/recode && \
21865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21867 "RANLIB=$${RANLIB}" \
21868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21869 maintainer-clean) \
21870 || exit 1
21872 @endif recode
21876 .PHONY: configure-sed maybe-configure-sed
21877 maybe-configure-sed:
21878 @if sed
21879 maybe-configure-sed: configure-sed
21880 configure-sed:
21881 @: $(MAKE); $(unstage)
21882 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21884 r=`${PWD_COMMAND}`; export r; \
21885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21886 $(HOST_EXPORTS) \
21887 echo Configuring in $(HOST_SUBDIR)/sed; \
21888 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21889 case $(srcdir) in \
21890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21891 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21893 esac; \
21894 srcdiroption="--srcdir=$${topdir}/sed"; \
21895 libsrcdir="$$s/sed"; \
21896 $(SHELL) $${libsrcdir}/configure \
21897 $(HOST_CONFIGARGS) $${srcdiroption} \
21898 || exit 1
21899 @endif sed
21905 .PHONY: all-sed maybe-all-sed
21906 maybe-all-sed:
21907 @if sed
21908 TARGET-sed=all
21909 maybe-all-sed: all-sed
21910 all-sed: configure-sed
21911 @: $(MAKE); $(unstage)
21912 @r=`${PWD_COMMAND}`; export r; \
21913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21914 $(HOST_EXPORTS) \
21915 (cd $(HOST_SUBDIR)/sed && \
21916 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21917 @endif sed
21922 .PHONY: check-sed maybe-check-sed
21923 maybe-check-sed:
21924 @if sed
21925 maybe-check-sed: check-sed
21927 check-sed:
21928 @: $(MAKE); $(unstage)
21929 @r=`${PWD_COMMAND}`; export r; \
21930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21931 $(HOST_EXPORTS) \
21932 (cd $(HOST_SUBDIR)/sed && \
21933 $(MAKE) $(FLAGS_TO_PASS) check)
21935 @endif sed
21937 .PHONY: install-sed maybe-install-sed
21938 maybe-install-sed:
21939 @if sed
21940 maybe-install-sed: install-sed
21942 install-sed: installdirs
21943 @: $(MAKE); $(unstage)
21944 @r=`${PWD_COMMAND}`; export r; \
21945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21946 $(HOST_EXPORTS) \
21947 (cd $(HOST_SUBDIR)/sed && \
21948 $(MAKE) $(FLAGS_TO_PASS) install)
21950 @endif sed
21952 # Other targets (info, dvi, etc.)
21954 .PHONY: maybe-info-sed info-sed
21955 maybe-info-sed:
21956 @if sed
21957 maybe-info-sed: info-sed
21959 info-sed: \
21960 configure-sed
21961 @: $(MAKE); $(unstage)
21962 @[ -f ./sed/Makefile ] || exit 0; \
21963 r=`${PWD_COMMAND}`; export r; \
21964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21965 $(HOST_EXPORTS) \
21966 for flag in $(EXTRA_HOST_FLAGS) ; do \
21967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21968 done; \
21969 echo "Doing info in sed" ; \
21970 (cd $(HOST_SUBDIR)/sed && \
21971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21973 "RANLIB=$${RANLIB}" \
21974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21975 info) \
21976 || exit 1
21978 @endif sed
21980 .PHONY: maybe-dvi-sed dvi-sed
21981 maybe-dvi-sed:
21982 @if sed
21983 maybe-dvi-sed: dvi-sed
21985 dvi-sed: \
21986 configure-sed
21987 @: $(MAKE); $(unstage)
21988 @[ -f ./sed/Makefile ] || exit 0; \
21989 r=`${PWD_COMMAND}`; export r; \
21990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21991 $(HOST_EXPORTS) \
21992 for flag in $(EXTRA_HOST_FLAGS) ; do \
21993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21994 done; \
21995 echo "Doing dvi in sed" ; \
21996 (cd $(HOST_SUBDIR)/sed && \
21997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21999 "RANLIB=$${RANLIB}" \
22000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22001 dvi) \
22002 || exit 1
22004 @endif sed
22006 .PHONY: maybe-html-sed html-sed
22007 maybe-html-sed:
22008 @if sed
22009 maybe-html-sed: html-sed
22011 html-sed: \
22012 configure-sed
22013 @: $(MAKE); $(unstage)
22014 @[ -f ./sed/Makefile ] || exit 0; \
22015 r=`${PWD_COMMAND}`; export r; \
22016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22017 $(HOST_EXPORTS) \
22018 for flag in $(EXTRA_HOST_FLAGS) ; do \
22019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22020 done; \
22021 echo "Doing html in sed" ; \
22022 (cd $(HOST_SUBDIR)/sed && \
22023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22025 "RANLIB=$${RANLIB}" \
22026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22027 html) \
22028 || exit 1
22030 @endif sed
22032 .PHONY: maybe-TAGS-sed TAGS-sed
22033 maybe-TAGS-sed:
22034 @if sed
22035 maybe-TAGS-sed: TAGS-sed
22037 TAGS-sed: \
22038 configure-sed
22039 @: $(MAKE); $(unstage)
22040 @[ -f ./sed/Makefile ] || exit 0; \
22041 r=`${PWD_COMMAND}`; export r; \
22042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22043 $(HOST_EXPORTS) \
22044 for flag in $(EXTRA_HOST_FLAGS) ; do \
22045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22046 done; \
22047 echo "Doing TAGS in sed" ; \
22048 (cd $(HOST_SUBDIR)/sed && \
22049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22051 "RANLIB=$${RANLIB}" \
22052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22053 TAGS) \
22054 || exit 1
22056 @endif sed
22058 .PHONY: maybe-install-info-sed install-info-sed
22059 maybe-install-info-sed:
22060 @if sed
22061 maybe-install-info-sed: install-info-sed
22063 install-info-sed: \
22064 configure-sed \
22065 info-sed
22066 @: $(MAKE); $(unstage)
22067 @[ -f ./sed/Makefile ] || exit 0; \
22068 r=`${PWD_COMMAND}`; export r; \
22069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22070 $(HOST_EXPORTS) \
22071 for flag in $(EXTRA_HOST_FLAGS) ; do \
22072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22073 done; \
22074 echo "Doing install-info in sed" ; \
22075 (cd $(HOST_SUBDIR)/sed && \
22076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22078 "RANLIB=$${RANLIB}" \
22079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22080 install-info) \
22081 || exit 1
22083 @endif sed
22085 .PHONY: maybe-installcheck-sed installcheck-sed
22086 maybe-installcheck-sed:
22087 @if sed
22088 maybe-installcheck-sed: installcheck-sed
22090 installcheck-sed: \
22091 configure-sed
22092 @: $(MAKE); $(unstage)
22093 @[ -f ./sed/Makefile ] || exit 0; \
22094 r=`${PWD_COMMAND}`; export r; \
22095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22096 $(HOST_EXPORTS) \
22097 for flag in $(EXTRA_HOST_FLAGS) ; do \
22098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22099 done; \
22100 echo "Doing installcheck in sed" ; \
22101 (cd $(HOST_SUBDIR)/sed && \
22102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22104 "RANLIB=$${RANLIB}" \
22105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22106 installcheck) \
22107 || exit 1
22109 @endif sed
22111 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22112 maybe-mostlyclean-sed:
22113 @if sed
22114 maybe-mostlyclean-sed: mostlyclean-sed
22116 mostlyclean-sed:
22117 @: $(MAKE); $(unstage)
22118 @[ -f ./sed/Makefile ] || exit 0; \
22119 r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121 $(HOST_EXPORTS) \
22122 for flag in $(EXTRA_HOST_FLAGS) ; do \
22123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22124 done; \
22125 echo "Doing mostlyclean in sed" ; \
22126 (cd $(HOST_SUBDIR)/sed && \
22127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22129 "RANLIB=$${RANLIB}" \
22130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22131 mostlyclean) \
22132 || exit 1
22134 @endif sed
22136 .PHONY: maybe-clean-sed clean-sed
22137 maybe-clean-sed:
22138 @if sed
22139 maybe-clean-sed: clean-sed
22141 clean-sed:
22142 @: $(MAKE); $(unstage)
22143 @[ -f ./sed/Makefile ] || exit 0; \
22144 r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 $(HOST_EXPORTS) \
22147 for flag in $(EXTRA_HOST_FLAGS) ; do \
22148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22149 done; \
22150 echo "Doing clean in sed" ; \
22151 (cd $(HOST_SUBDIR)/sed && \
22152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22154 "RANLIB=$${RANLIB}" \
22155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22156 clean) \
22157 || exit 1
22159 @endif sed
22161 .PHONY: maybe-distclean-sed distclean-sed
22162 maybe-distclean-sed:
22163 @if sed
22164 maybe-distclean-sed: distclean-sed
22166 distclean-sed:
22167 @: $(MAKE); $(unstage)
22168 @[ -f ./sed/Makefile ] || exit 0; \
22169 r=`${PWD_COMMAND}`; export r; \
22170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22171 $(HOST_EXPORTS) \
22172 for flag in $(EXTRA_HOST_FLAGS) ; do \
22173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22174 done; \
22175 echo "Doing distclean in sed" ; \
22176 (cd $(HOST_SUBDIR)/sed && \
22177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22179 "RANLIB=$${RANLIB}" \
22180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22181 distclean) \
22182 || exit 1
22184 @endif sed
22186 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22187 maybe-maintainer-clean-sed:
22188 @if sed
22189 maybe-maintainer-clean-sed: maintainer-clean-sed
22191 maintainer-clean-sed:
22192 @: $(MAKE); $(unstage)
22193 @[ -f ./sed/Makefile ] || exit 0; \
22194 r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22196 $(HOST_EXPORTS) \
22197 for flag in $(EXTRA_HOST_FLAGS) ; do \
22198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22199 done; \
22200 echo "Doing maintainer-clean in sed" ; \
22201 (cd $(HOST_SUBDIR)/sed && \
22202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22204 "RANLIB=$${RANLIB}" \
22205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22206 maintainer-clean) \
22207 || exit 1
22209 @endif sed
22213 .PHONY: configure-send-pr maybe-configure-send-pr
22214 maybe-configure-send-pr:
22215 @if send-pr
22216 maybe-configure-send-pr: configure-send-pr
22217 configure-send-pr:
22218 @: $(MAKE); $(unstage)
22219 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22221 r=`${PWD_COMMAND}`; export r; \
22222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223 $(HOST_EXPORTS) \
22224 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22225 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22226 case $(srcdir) in \
22227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22228 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22230 esac; \
22231 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22232 libsrcdir="$$s/send-pr"; \
22233 $(SHELL) $${libsrcdir}/configure \
22234 $(HOST_CONFIGARGS) $${srcdiroption} \
22235 || exit 1
22236 @endif send-pr
22242 .PHONY: all-send-pr maybe-all-send-pr
22243 maybe-all-send-pr:
22244 @if send-pr
22245 TARGET-send-pr=all
22246 maybe-all-send-pr: all-send-pr
22247 all-send-pr: configure-send-pr
22248 @: $(MAKE); $(unstage)
22249 @r=`${PWD_COMMAND}`; export r; \
22250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22251 $(HOST_EXPORTS) \
22252 (cd $(HOST_SUBDIR)/send-pr && \
22253 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22254 @endif send-pr
22259 .PHONY: check-send-pr maybe-check-send-pr
22260 maybe-check-send-pr:
22261 @if send-pr
22262 maybe-check-send-pr: check-send-pr
22264 check-send-pr:
22265 @: $(MAKE); $(unstage)
22266 @r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22268 $(HOST_EXPORTS) \
22269 (cd $(HOST_SUBDIR)/send-pr && \
22270 $(MAKE) $(FLAGS_TO_PASS) check)
22272 @endif send-pr
22274 .PHONY: install-send-pr maybe-install-send-pr
22275 maybe-install-send-pr:
22276 @if send-pr
22277 maybe-install-send-pr: install-send-pr
22279 install-send-pr: installdirs
22280 @: $(MAKE); $(unstage)
22281 @r=`${PWD_COMMAND}`; export r; \
22282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22283 $(HOST_EXPORTS) \
22284 (cd $(HOST_SUBDIR)/send-pr && \
22285 $(MAKE) $(FLAGS_TO_PASS) install)
22287 @endif send-pr
22289 # Other targets (info, dvi, etc.)
22291 .PHONY: maybe-info-send-pr info-send-pr
22292 maybe-info-send-pr:
22293 @if send-pr
22294 maybe-info-send-pr: info-send-pr
22296 info-send-pr: \
22297 configure-send-pr
22298 @: $(MAKE); $(unstage)
22299 @[ -f ./send-pr/Makefile ] || exit 0; \
22300 r=`${PWD_COMMAND}`; export r; \
22301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302 $(HOST_EXPORTS) \
22303 for flag in $(EXTRA_HOST_FLAGS) ; do \
22304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22305 done; \
22306 echo "Doing info in send-pr" ; \
22307 (cd $(HOST_SUBDIR)/send-pr && \
22308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22310 "RANLIB=$${RANLIB}" \
22311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22312 info) \
22313 || exit 1
22315 @endif send-pr
22317 .PHONY: maybe-dvi-send-pr dvi-send-pr
22318 maybe-dvi-send-pr:
22319 @if send-pr
22320 maybe-dvi-send-pr: dvi-send-pr
22322 dvi-send-pr: \
22323 configure-send-pr
22324 @: $(MAKE); $(unstage)
22325 @[ -f ./send-pr/Makefile ] || exit 0; \
22326 r=`${PWD_COMMAND}`; export r; \
22327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 $(HOST_EXPORTS) \
22329 for flag in $(EXTRA_HOST_FLAGS) ; do \
22330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22331 done; \
22332 echo "Doing dvi in send-pr" ; \
22333 (cd $(HOST_SUBDIR)/send-pr && \
22334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22336 "RANLIB=$${RANLIB}" \
22337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22338 dvi) \
22339 || exit 1
22341 @endif send-pr
22343 .PHONY: maybe-html-send-pr html-send-pr
22344 maybe-html-send-pr:
22345 @if send-pr
22346 maybe-html-send-pr: html-send-pr
22348 html-send-pr: \
22349 configure-send-pr
22350 @: $(MAKE); $(unstage)
22351 @[ -f ./send-pr/Makefile ] || exit 0; \
22352 r=`${PWD_COMMAND}`; export r; \
22353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22354 $(HOST_EXPORTS) \
22355 for flag in $(EXTRA_HOST_FLAGS) ; do \
22356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22357 done; \
22358 echo "Doing html in send-pr" ; \
22359 (cd $(HOST_SUBDIR)/send-pr && \
22360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22362 "RANLIB=$${RANLIB}" \
22363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22364 html) \
22365 || exit 1
22367 @endif send-pr
22369 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22370 maybe-TAGS-send-pr:
22371 @if send-pr
22372 maybe-TAGS-send-pr: TAGS-send-pr
22374 TAGS-send-pr: \
22375 configure-send-pr
22376 @: $(MAKE); $(unstage)
22377 @[ -f ./send-pr/Makefile ] || exit 0; \
22378 r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 $(HOST_EXPORTS) \
22381 for flag in $(EXTRA_HOST_FLAGS) ; do \
22382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22383 done; \
22384 echo "Doing TAGS in send-pr" ; \
22385 (cd $(HOST_SUBDIR)/send-pr && \
22386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22388 "RANLIB=$${RANLIB}" \
22389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22390 TAGS) \
22391 || exit 1
22393 @endif send-pr
22395 .PHONY: maybe-install-info-send-pr install-info-send-pr
22396 maybe-install-info-send-pr:
22397 @if send-pr
22398 maybe-install-info-send-pr: install-info-send-pr
22400 install-info-send-pr: \
22401 configure-send-pr \
22402 info-send-pr
22403 @: $(MAKE); $(unstage)
22404 @[ -f ./send-pr/Makefile ] || exit 0; \
22405 r=`${PWD_COMMAND}`; export r; \
22406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22407 $(HOST_EXPORTS) \
22408 for flag in $(EXTRA_HOST_FLAGS) ; do \
22409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22410 done; \
22411 echo "Doing install-info in send-pr" ; \
22412 (cd $(HOST_SUBDIR)/send-pr && \
22413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22415 "RANLIB=$${RANLIB}" \
22416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22417 install-info) \
22418 || exit 1
22420 @endif send-pr
22422 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22423 maybe-installcheck-send-pr:
22424 @if send-pr
22425 maybe-installcheck-send-pr: installcheck-send-pr
22427 installcheck-send-pr: \
22428 configure-send-pr
22429 @: $(MAKE); $(unstage)
22430 @[ -f ./send-pr/Makefile ] || exit 0; \
22431 r=`${PWD_COMMAND}`; export r; \
22432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22433 $(HOST_EXPORTS) \
22434 for flag in $(EXTRA_HOST_FLAGS) ; do \
22435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22436 done; \
22437 echo "Doing installcheck in send-pr" ; \
22438 (cd $(HOST_SUBDIR)/send-pr && \
22439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22441 "RANLIB=$${RANLIB}" \
22442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22443 installcheck) \
22444 || exit 1
22446 @endif send-pr
22448 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22449 maybe-mostlyclean-send-pr:
22450 @if send-pr
22451 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22453 mostlyclean-send-pr:
22454 @: $(MAKE); $(unstage)
22455 @[ -f ./send-pr/Makefile ] || exit 0; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(HOST_EXPORTS) \
22459 for flag in $(EXTRA_HOST_FLAGS) ; do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22461 done; \
22462 echo "Doing mostlyclean in send-pr" ; \
22463 (cd $(HOST_SUBDIR)/send-pr && \
22464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22466 "RANLIB=$${RANLIB}" \
22467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22468 mostlyclean) \
22469 || exit 1
22471 @endif send-pr
22473 .PHONY: maybe-clean-send-pr clean-send-pr
22474 maybe-clean-send-pr:
22475 @if send-pr
22476 maybe-clean-send-pr: clean-send-pr
22478 clean-send-pr:
22479 @: $(MAKE); $(unstage)
22480 @[ -f ./send-pr/Makefile ] || exit 0; \
22481 r=`${PWD_COMMAND}`; export r; \
22482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 $(HOST_EXPORTS) \
22484 for flag in $(EXTRA_HOST_FLAGS) ; do \
22485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22486 done; \
22487 echo "Doing clean in send-pr" ; \
22488 (cd $(HOST_SUBDIR)/send-pr && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22493 clean) \
22494 || exit 1
22496 @endif send-pr
22498 .PHONY: maybe-distclean-send-pr distclean-send-pr
22499 maybe-distclean-send-pr:
22500 @if send-pr
22501 maybe-distclean-send-pr: distclean-send-pr
22503 distclean-send-pr:
22504 @: $(MAKE); $(unstage)
22505 @[ -f ./send-pr/Makefile ] || exit 0; \
22506 r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(HOST_EXPORTS) \
22509 for flag in $(EXTRA_HOST_FLAGS) ; do \
22510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22511 done; \
22512 echo "Doing distclean in send-pr" ; \
22513 (cd $(HOST_SUBDIR)/send-pr && \
22514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22516 "RANLIB=$${RANLIB}" \
22517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22518 distclean) \
22519 || exit 1
22521 @endif send-pr
22523 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22524 maybe-maintainer-clean-send-pr:
22525 @if send-pr
22526 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22528 maintainer-clean-send-pr:
22529 @: $(MAKE); $(unstage)
22530 @[ -f ./send-pr/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(HOST_EXPORTS) \
22534 for flag in $(EXTRA_HOST_FLAGS) ; do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22536 done; \
22537 echo "Doing maintainer-clean in send-pr" ; \
22538 (cd $(HOST_SUBDIR)/send-pr && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22541 "RANLIB=$${RANLIB}" \
22542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22543 maintainer-clean) \
22544 || exit 1
22546 @endif send-pr
22550 .PHONY: configure-shellutils maybe-configure-shellutils
22551 maybe-configure-shellutils:
22552 @if shellutils
22553 maybe-configure-shellutils: configure-shellutils
22554 configure-shellutils:
22555 @: $(MAKE); $(unstage)
22556 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22558 r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 $(HOST_EXPORTS) \
22561 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22562 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22563 case $(srcdir) in \
22564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22565 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22567 esac; \
22568 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22569 libsrcdir="$$s/shellutils"; \
22570 $(SHELL) $${libsrcdir}/configure \
22571 $(HOST_CONFIGARGS) $${srcdiroption} \
22572 || exit 1
22573 @endif shellutils
22579 .PHONY: all-shellutils maybe-all-shellutils
22580 maybe-all-shellutils:
22581 @if shellutils
22582 TARGET-shellutils=all
22583 maybe-all-shellutils: all-shellutils
22584 all-shellutils: configure-shellutils
22585 @: $(MAKE); $(unstage)
22586 @r=`${PWD_COMMAND}`; export r; \
22587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22588 $(HOST_EXPORTS) \
22589 (cd $(HOST_SUBDIR)/shellutils && \
22590 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22591 @endif shellutils
22596 .PHONY: check-shellutils maybe-check-shellutils
22597 maybe-check-shellutils:
22598 @if shellutils
22599 maybe-check-shellutils: check-shellutils
22601 check-shellutils:
22602 @: $(MAKE); $(unstage)
22603 @r=`${PWD_COMMAND}`; export r; \
22604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22605 $(HOST_EXPORTS) \
22606 (cd $(HOST_SUBDIR)/shellutils && \
22607 $(MAKE) $(FLAGS_TO_PASS) check)
22609 @endif shellutils
22611 .PHONY: install-shellutils maybe-install-shellutils
22612 maybe-install-shellutils:
22613 @if shellutils
22614 maybe-install-shellutils: install-shellutils
22616 install-shellutils: installdirs
22617 @: $(MAKE); $(unstage)
22618 @r=`${PWD_COMMAND}`; export r; \
22619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22620 $(HOST_EXPORTS) \
22621 (cd $(HOST_SUBDIR)/shellutils && \
22622 $(MAKE) $(FLAGS_TO_PASS) install)
22624 @endif shellutils
22626 # Other targets (info, dvi, etc.)
22628 .PHONY: maybe-info-shellutils info-shellutils
22629 maybe-info-shellutils:
22630 @if shellutils
22631 maybe-info-shellutils: info-shellutils
22633 info-shellutils: \
22634 configure-shellutils
22635 @: $(MAKE); $(unstage)
22636 @[ -f ./shellutils/Makefile ] || exit 0; \
22637 r=`${PWD_COMMAND}`; export r; \
22638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22639 $(HOST_EXPORTS) \
22640 for flag in $(EXTRA_HOST_FLAGS) ; do \
22641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22642 done; \
22643 echo "Doing info in shellutils" ; \
22644 (cd $(HOST_SUBDIR)/shellutils && \
22645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22647 "RANLIB=$${RANLIB}" \
22648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22649 info) \
22650 || exit 1
22652 @endif shellutils
22654 .PHONY: maybe-dvi-shellutils dvi-shellutils
22655 maybe-dvi-shellutils:
22656 @if shellutils
22657 maybe-dvi-shellutils: dvi-shellutils
22659 dvi-shellutils: \
22660 configure-shellutils
22661 @: $(MAKE); $(unstage)
22662 @[ -f ./shellutils/Makefile ] || exit 0; \
22663 r=`${PWD_COMMAND}`; export r; \
22664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22665 $(HOST_EXPORTS) \
22666 for flag in $(EXTRA_HOST_FLAGS) ; do \
22667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22668 done; \
22669 echo "Doing dvi in shellutils" ; \
22670 (cd $(HOST_SUBDIR)/shellutils && \
22671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22673 "RANLIB=$${RANLIB}" \
22674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22675 dvi) \
22676 || exit 1
22678 @endif shellutils
22680 .PHONY: maybe-html-shellutils html-shellutils
22681 maybe-html-shellutils:
22682 @if shellutils
22683 maybe-html-shellutils: html-shellutils
22685 html-shellutils: \
22686 configure-shellutils
22687 @: $(MAKE); $(unstage)
22688 @[ -f ./shellutils/Makefile ] || exit 0; \
22689 r=`${PWD_COMMAND}`; export r; \
22690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22691 $(HOST_EXPORTS) \
22692 for flag in $(EXTRA_HOST_FLAGS) ; do \
22693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22694 done; \
22695 echo "Doing html in shellutils" ; \
22696 (cd $(HOST_SUBDIR)/shellutils && \
22697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22699 "RANLIB=$${RANLIB}" \
22700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22701 html) \
22702 || exit 1
22704 @endif shellutils
22706 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22707 maybe-TAGS-shellutils:
22708 @if shellutils
22709 maybe-TAGS-shellutils: TAGS-shellutils
22711 TAGS-shellutils: \
22712 configure-shellutils
22713 @: $(MAKE); $(unstage)
22714 @[ -f ./shellutils/Makefile ] || exit 0; \
22715 r=`${PWD_COMMAND}`; export r; \
22716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22717 $(HOST_EXPORTS) \
22718 for flag in $(EXTRA_HOST_FLAGS) ; do \
22719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22720 done; \
22721 echo "Doing TAGS in shellutils" ; \
22722 (cd $(HOST_SUBDIR)/shellutils && \
22723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22725 "RANLIB=$${RANLIB}" \
22726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22727 TAGS) \
22728 || exit 1
22730 @endif shellutils
22732 .PHONY: maybe-install-info-shellutils install-info-shellutils
22733 maybe-install-info-shellutils:
22734 @if shellutils
22735 maybe-install-info-shellutils: install-info-shellutils
22737 install-info-shellutils: \
22738 configure-shellutils \
22739 info-shellutils
22740 @: $(MAKE); $(unstage)
22741 @[ -f ./shellutils/Makefile ] || exit 0; \
22742 r=`${PWD_COMMAND}`; export r; \
22743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22744 $(HOST_EXPORTS) \
22745 for flag in $(EXTRA_HOST_FLAGS) ; do \
22746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22747 done; \
22748 echo "Doing install-info in shellutils" ; \
22749 (cd $(HOST_SUBDIR)/shellutils && \
22750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22752 "RANLIB=$${RANLIB}" \
22753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22754 install-info) \
22755 || exit 1
22757 @endif shellutils
22759 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22760 maybe-installcheck-shellutils:
22761 @if shellutils
22762 maybe-installcheck-shellutils: installcheck-shellutils
22764 installcheck-shellutils: \
22765 configure-shellutils
22766 @: $(MAKE); $(unstage)
22767 @[ -f ./shellutils/Makefile ] || exit 0; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) ; do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing installcheck in shellutils" ; \
22775 (cd $(HOST_SUBDIR)/shellutils && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 installcheck) \
22781 || exit 1
22783 @endif shellutils
22785 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22786 maybe-mostlyclean-shellutils:
22787 @if shellutils
22788 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22790 mostlyclean-shellutils:
22791 @: $(MAKE); $(unstage)
22792 @[ -f ./shellutils/Makefile ] || exit 0; \
22793 r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 $(HOST_EXPORTS) \
22796 for flag in $(EXTRA_HOST_FLAGS) ; do \
22797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22798 done; \
22799 echo "Doing mostlyclean in shellutils" ; \
22800 (cd $(HOST_SUBDIR)/shellutils && \
22801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22803 "RANLIB=$${RANLIB}" \
22804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22805 mostlyclean) \
22806 || exit 1
22808 @endif shellutils
22810 .PHONY: maybe-clean-shellutils clean-shellutils
22811 maybe-clean-shellutils:
22812 @if shellutils
22813 maybe-clean-shellutils: clean-shellutils
22815 clean-shellutils:
22816 @: $(MAKE); $(unstage)
22817 @[ -f ./shellutils/Makefile ] || exit 0; \
22818 r=`${PWD_COMMAND}`; export r; \
22819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22820 $(HOST_EXPORTS) \
22821 for flag in $(EXTRA_HOST_FLAGS) ; do \
22822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22823 done; \
22824 echo "Doing clean in shellutils" ; \
22825 (cd $(HOST_SUBDIR)/shellutils && \
22826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22828 "RANLIB=$${RANLIB}" \
22829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22830 clean) \
22831 || exit 1
22833 @endif shellutils
22835 .PHONY: maybe-distclean-shellutils distclean-shellutils
22836 maybe-distclean-shellutils:
22837 @if shellutils
22838 maybe-distclean-shellutils: distclean-shellutils
22840 distclean-shellutils:
22841 @: $(MAKE); $(unstage)
22842 @[ -f ./shellutils/Makefile ] || exit 0; \
22843 r=`${PWD_COMMAND}`; export r; \
22844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22845 $(HOST_EXPORTS) \
22846 for flag in $(EXTRA_HOST_FLAGS) ; do \
22847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22848 done; \
22849 echo "Doing distclean in shellutils" ; \
22850 (cd $(HOST_SUBDIR)/shellutils && \
22851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22853 "RANLIB=$${RANLIB}" \
22854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22855 distclean) \
22856 || exit 1
22858 @endif shellutils
22860 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22861 maybe-maintainer-clean-shellutils:
22862 @if shellutils
22863 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22865 maintainer-clean-shellutils:
22866 @: $(MAKE); $(unstage)
22867 @[ -f ./shellutils/Makefile ] || exit 0; \
22868 r=`${PWD_COMMAND}`; export r; \
22869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22870 $(HOST_EXPORTS) \
22871 for flag in $(EXTRA_HOST_FLAGS) ; do \
22872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22873 done; \
22874 echo "Doing maintainer-clean in shellutils" ; \
22875 (cd $(HOST_SUBDIR)/shellutils && \
22876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22878 "RANLIB=$${RANLIB}" \
22879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22880 maintainer-clean) \
22881 || exit 1
22883 @endif shellutils
22887 .PHONY: configure-sid maybe-configure-sid
22888 maybe-configure-sid:
22889 @if sid
22890 maybe-configure-sid: configure-sid
22891 configure-sid:
22892 @: $(MAKE); $(unstage)
22893 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(HOST_EXPORTS) \
22898 echo Configuring in $(HOST_SUBDIR)/sid; \
22899 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22900 case $(srcdir) in \
22901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22902 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22904 esac; \
22905 srcdiroption="--srcdir=$${topdir}/sid"; \
22906 libsrcdir="$$s/sid"; \
22907 $(SHELL) $${libsrcdir}/configure \
22908 $(HOST_CONFIGARGS) $${srcdiroption} \
22909 || exit 1
22910 @endif sid
22916 .PHONY: all-sid maybe-all-sid
22917 maybe-all-sid:
22918 @if sid
22919 TARGET-sid=all
22920 maybe-all-sid: all-sid
22921 all-sid: configure-sid
22922 @: $(MAKE); $(unstage)
22923 @r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 $(HOST_EXPORTS) \
22926 (cd $(HOST_SUBDIR)/sid && \
22927 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22928 @endif sid
22933 .PHONY: check-sid maybe-check-sid
22934 maybe-check-sid:
22935 @if sid
22936 maybe-check-sid: check-sid
22938 check-sid:
22939 @: $(MAKE); $(unstage)
22940 @r=`${PWD_COMMAND}`; export r; \
22941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 $(HOST_EXPORTS) \
22943 (cd $(HOST_SUBDIR)/sid && \
22944 $(MAKE) $(FLAGS_TO_PASS) check)
22946 @endif sid
22948 .PHONY: install-sid maybe-install-sid
22949 maybe-install-sid:
22950 @if sid
22951 maybe-install-sid: install-sid
22953 install-sid: installdirs
22954 @: $(MAKE); $(unstage)
22955 @r=`${PWD_COMMAND}`; export r; \
22956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22957 $(HOST_EXPORTS) \
22958 (cd $(HOST_SUBDIR)/sid && \
22959 $(MAKE) $(FLAGS_TO_PASS) install)
22961 @endif sid
22963 # Other targets (info, dvi, etc.)
22965 .PHONY: maybe-info-sid info-sid
22966 maybe-info-sid:
22967 @if sid
22968 maybe-info-sid: info-sid
22970 info-sid: \
22971 configure-sid
22972 @: $(MAKE); $(unstage)
22973 @[ -f ./sid/Makefile ] || exit 0; \
22974 r=`${PWD_COMMAND}`; export r; \
22975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976 $(HOST_EXPORTS) \
22977 for flag in $(EXTRA_HOST_FLAGS) ; do \
22978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22979 done; \
22980 echo "Doing info in sid" ; \
22981 (cd $(HOST_SUBDIR)/sid && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22986 info) \
22987 || exit 1
22989 @endif sid
22991 .PHONY: maybe-dvi-sid dvi-sid
22992 maybe-dvi-sid:
22993 @if sid
22994 maybe-dvi-sid: dvi-sid
22996 dvi-sid: \
22997 configure-sid
22998 @: $(MAKE); $(unstage)
22999 @[ -f ./sid/Makefile ] || exit 0; \
23000 r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 $(HOST_EXPORTS) \
23003 for flag in $(EXTRA_HOST_FLAGS) ; do \
23004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005 done; \
23006 echo "Doing dvi in sid" ; \
23007 (cd $(HOST_SUBDIR)/sid && \
23008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23010 "RANLIB=$${RANLIB}" \
23011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23012 dvi) \
23013 || exit 1
23015 @endif sid
23017 .PHONY: maybe-html-sid html-sid
23018 maybe-html-sid:
23019 @if sid
23020 maybe-html-sid: html-sid
23022 html-sid: \
23023 configure-sid
23024 @: $(MAKE); $(unstage)
23025 @[ -f ./sid/Makefile ] || exit 0; \
23026 r=`${PWD_COMMAND}`; export r; \
23027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23028 $(HOST_EXPORTS) \
23029 for flag in $(EXTRA_HOST_FLAGS) ; do \
23030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23031 done; \
23032 echo "Doing html in sid" ; \
23033 (cd $(HOST_SUBDIR)/sid && \
23034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23036 "RANLIB=$${RANLIB}" \
23037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23038 html) \
23039 || exit 1
23041 @endif sid
23043 .PHONY: maybe-TAGS-sid TAGS-sid
23044 maybe-TAGS-sid:
23045 @if sid
23046 maybe-TAGS-sid: TAGS-sid
23048 TAGS-sid: \
23049 configure-sid
23050 @: $(MAKE); $(unstage)
23051 @[ -f ./sid/Makefile ] || exit 0; \
23052 r=`${PWD_COMMAND}`; export r; \
23053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23054 $(HOST_EXPORTS) \
23055 for flag in $(EXTRA_HOST_FLAGS) ; do \
23056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23057 done; \
23058 echo "Doing TAGS in sid" ; \
23059 (cd $(HOST_SUBDIR)/sid && \
23060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23062 "RANLIB=$${RANLIB}" \
23063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23064 TAGS) \
23065 || exit 1
23067 @endif sid
23069 .PHONY: maybe-install-info-sid install-info-sid
23070 maybe-install-info-sid:
23071 @if sid
23072 maybe-install-info-sid: install-info-sid
23074 install-info-sid: \
23075 configure-sid \
23076 info-sid
23077 @: $(MAKE); $(unstage)
23078 @[ -f ./sid/Makefile ] || exit 0; \
23079 r=`${PWD_COMMAND}`; export r; \
23080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23081 $(HOST_EXPORTS) \
23082 for flag in $(EXTRA_HOST_FLAGS) ; do \
23083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23084 done; \
23085 echo "Doing install-info in sid" ; \
23086 (cd $(HOST_SUBDIR)/sid && \
23087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23089 "RANLIB=$${RANLIB}" \
23090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23091 install-info) \
23092 || exit 1
23094 @endif sid
23096 .PHONY: maybe-installcheck-sid installcheck-sid
23097 maybe-installcheck-sid:
23098 @if sid
23099 maybe-installcheck-sid: installcheck-sid
23101 installcheck-sid: \
23102 configure-sid
23103 @: $(MAKE); $(unstage)
23104 @[ -f ./sid/Makefile ] || exit 0; \
23105 r=`${PWD_COMMAND}`; export r; \
23106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23107 $(HOST_EXPORTS) \
23108 for flag in $(EXTRA_HOST_FLAGS) ; do \
23109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23110 done; \
23111 echo "Doing installcheck in sid" ; \
23112 (cd $(HOST_SUBDIR)/sid && \
23113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23115 "RANLIB=$${RANLIB}" \
23116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23117 installcheck) \
23118 || exit 1
23120 @endif sid
23122 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23123 maybe-mostlyclean-sid:
23124 @if sid
23125 maybe-mostlyclean-sid: mostlyclean-sid
23127 mostlyclean-sid:
23128 @: $(MAKE); $(unstage)
23129 @[ -f ./sid/Makefile ] || exit 0; \
23130 r=`${PWD_COMMAND}`; export r; \
23131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23132 $(HOST_EXPORTS) \
23133 for flag in $(EXTRA_HOST_FLAGS) ; do \
23134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23135 done; \
23136 echo "Doing mostlyclean in sid" ; \
23137 (cd $(HOST_SUBDIR)/sid && \
23138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23140 "RANLIB=$${RANLIB}" \
23141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23142 mostlyclean) \
23143 || exit 1
23145 @endif sid
23147 .PHONY: maybe-clean-sid clean-sid
23148 maybe-clean-sid:
23149 @if sid
23150 maybe-clean-sid: clean-sid
23152 clean-sid:
23153 @: $(MAKE); $(unstage)
23154 @[ -f ./sid/Makefile ] || exit 0; \
23155 r=`${PWD_COMMAND}`; export r; \
23156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23157 $(HOST_EXPORTS) \
23158 for flag in $(EXTRA_HOST_FLAGS) ; do \
23159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23160 done; \
23161 echo "Doing clean in sid" ; \
23162 (cd $(HOST_SUBDIR)/sid && \
23163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23165 "RANLIB=$${RANLIB}" \
23166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23167 clean) \
23168 || exit 1
23170 @endif sid
23172 .PHONY: maybe-distclean-sid distclean-sid
23173 maybe-distclean-sid:
23174 @if sid
23175 maybe-distclean-sid: distclean-sid
23177 distclean-sid:
23178 @: $(MAKE); $(unstage)
23179 @[ -f ./sid/Makefile ] || exit 0; \
23180 r=`${PWD_COMMAND}`; export r; \
23181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23182 $(HOST_EXPORTS) \
23183 for flag in $(EXTRA_HOST_FLAGS) ; do \
23184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23185 done; \
23186 echo "Doing distclean in sid" ; \
23187 (cd $(HOST_SUBDIR)/sid && \
23188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23190 "RANLIB=$${RANLIB}" \
23191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23192 distclean) \
23193 || exit 1
23195 @endif sid
23197 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23198 maybe-maintainer-clean-sid:
23199 @if sid
23200 maybe-maintainer-clean-sid: maintainer-clean-sid
23202 maintainer-clean-sid:
23203 @: $(MAKE); $(unstage)
23204 @[ -f ./sid/Makefile ] || exit 0; \
23205 r=`${PWD_COMMAND}`; export r; \
23206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23207 $(HOST_EXPORTS) \
23208 for flag in $(EXTRA_HOST_FLAGS) ; do \
23209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23210 done; \
23211 echo "Doing maintainer-clean in sid" ; \
23212 (cd $(HOST_SUBDIR)/sid && \
23213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23215 "RANLIB=$${RANLIB}" \
23216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23217 maintainer-clean) \
23218 || exit 1
23220 @endif sid
23224 .PHONY: configure-sim maybe-configure-sim
23225 maybe-configure-sim:
23226 @if sim
23227 maybe-configure-sim: configure-sim
23228 configure-sim:
23229 @: $(MAKE); $(unstage)
23230 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23232 r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(HOST_EXPORTS) \
23235 echo Configuring in $(HOST_SUBDIR)/sim; \
23236 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23237 case $(srcdir) in \
23238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23239 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23241 esac; \
23242 srcdiroption="--srcdir=$${topdir}/sim"; \
23243 libsrcdir="$$s/sim"; \
23244 $(SHELL) $${libsrcdir}/configure \
23245 $(HOST_CONFIGARGS) $${srcdiroption} \
23246 || exit 1
23247 @endif sim
23253 .PHONY: all-sim maybe-all-sim
23254 maybe-all-sim:
23255 @if sim
23256 TARGET-sim=all
23257 maybe-all-sim: all-sim
23258 all-sim: configure-sim
23259 @: $(MAKE); $(unstage)
23260 @r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 $(HOST_EXPORTS) \
23263 (cd $(HOST_SUBDIR)/sim && \
23264 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23265 @endif sim
23270 .PHONY: check-sim maybe-check-sim
23271 maybe-check-sim:
23272 @if sim
23273 maybe-check-sim: check-sim
23275 check-sim:
23276 @: $(MAKE); $(unstage)
23277 @r=`${PWD_COMMAND}`; export r; \
23278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23279 $(HOST_EXPORTS) \
23280 (cd $(HOST_SUBDIR)/sim && \
23281 $(MAKE) $(FLAGS_TO_PASS) check)
23283 @endif sim
23285 .PHONY: install-sim maybe-install-sim
23286 maybe-install-sim:
23287 @if sim
23288 maybe-install-sim: install-sim
23290 install-sim: installdirs
23291 @: $(MAKE); $(unstage)
23292 @r=`${PWD_COMMAND}`; export r; \
23293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23294 $(HOST_EXPORTS) \
23295 (cd $(HOST_SUBDIR)/sim && \
23296 $(MAKE) $(FLAGS_TO_PASS) install)
23298 @endif sim
23300 # Other targets (info, dvi, etc.)
23302 .PHONY: maybe-info-sim info-sim
23303 maybe-info-sim:
23304 @if sim
23305 maybe-info-sim: info-sim
23307 info-sim: \
23308 configure-sim
23309 @: $(MAKE); $(unstage)
23310 @[ -f ./sim/Makefile ] || exit 0; \
23311 r=`${PWD_COMMAND}`; export r; \
23312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23313 $(HOST_EXPORTS) \
23314 for flag in $(EXTRA_HOST_FLAGS) ; do \
23315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23316 done; \
23317 echo "Doing info in sim" ; \
23318 (cd $(HOST_SUBDIR)/sim && \
23319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23321 "RANLIB=$${RANLIB}" \
23322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23323 info) \
23324 || exit 1
23326 @endif sim
23328 .PHONY: maybe-dvi-sim dvi-sim
23329 maybe-dvi-sim:
23330 @if sim
23331 maybe-dvi-sim: dvi-sim
23333 dvi-sim: \
23334 configure-sim
23335 @: $(MAKE); $(unstage)
23336 @[ -f ./sim/Makefile ] || exit 0; \
23337 r=`${PWD_COMMAND}`; export r; \
23338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23339 $(HOST_EXPORTS) \
23340 for flag in $(EXTRA_HOST_FLAGS) ; do \
23341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23342 done; \
23343 echo "Doing dvi in sim" ; \
23344 (cd $(HOST_SUBDIR)/sim && \
23345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23347 "RANLIB=$${RANLIB}" \
23348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23349 dvi) \
23350 || exit 1
23352 @endif sim
23354 .PHONY: maybe-html-sim html-sim
23355 maybe-html-sim:
23356 @if sim
23357 maybe-html-sim: html-sim
23359 html-sim: \
23360 configure-sim
23361 @: $(MAKE); $(unstage)
23362 @[ -f ./sim/Makefile ] || exit 0; \
23363 r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23365 $(HOST_EXPORTS) \
23366 for flag in $(EXTRA_HOST_FLAGS) ; do \
23367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23368 done; \
23369 echo "Doing html in sim" ; \
23370 (cd $(HOST_SUBDIR)/sim && \
23371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23373 "RANLIB=$${RANLIB}" \
23374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23375 html) \
23376 || exit 1
23378 @endif sim
23380 .PHONY: maybe-TAGS-sim TAGS-sim
23381 maybe-TAGS-sim:
23382 @if sim
23383 maybe-TAGS-sim: TAGS-sim
23385 TAGS-sim: \
23386 configure-sim
23387 @: $(MAKE); $(unstage)
23388 @[ -f ./sim/Makefile ] || exit 0; \
23389 r=`${PWD_COMMAND}`; export r; \
23390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23391 $(HOST_EXPORTS) \
23392 for flag in $(EXTRA_HOST_FLAGS) ; do \
23393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23394 done; \
23395 echo "Doing TAGS in sim" ; \
23396 (cd $(HOST_SUBDIR)/sim && \
23397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23399 "RANLIB=$${RANLIB}" \
23400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23401 TAGS) \
23402 || exit 1
23404 @endif sim
23406 .PHONY: maybe-install-info-sim install-info-sim
23407 maybe-install-info-sim:
23408 @if sim
23409 maybe-install-info-sim: install-info-sim
23411 install-info-sim: \
23412 configure-sim \
23413 info-sim
23414 @: $(MAKE); $(unstage)
23415 @[ -f ./sim/Makefile ] || exit 0; \
23416 r=`${PWD_COMMAND}`; export r; \
23417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23418 $(HOST_EXPORTS) \
23419 for flag in $(EXTRA_HOST_FLAGS) ; do \
23420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23421 done; \
23422 echo "Doing install-info in sim" ; \
23423 (cd $(HOST_SUBDIR)/sim && \
23424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23426 "RANLIB=$${RANLIB}" \
23427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23428 install-info) \
23429 || exit 1
23431 @endif sim
23433 .PHONY: maybe-installcheck-sim installcheck-sim
23434 maybe-installcheck-sim:
23435 @if sim
23436 maybe-installcheck-sim: installcheck-sim
23438 installcheck-sim: \
23439 configure-sim
23440 @: $(MAKE); $(unstage)
23441 @[ -f ./sim/Makefile ] || exit 0; \
23442 r=`${PWD_COMMAND}`; export r; \
23443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23444 $(HOST_EXPORTS) \
23445 for flag in $(EXTRA_HOST_FLAGS) ; do \
23446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23447 done; \
23448 echo "Doing installcheck in sim" ; \
23449 (cd $(HOST_SUBDIR)/sim && \
23450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23452 "RANLIB=$${RANLIB}" \
23453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23454 installcheck) \
23455 || exit 1
23457 @endif sim
23459 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23460 maybe-mostlyclean-sim:
23461 @if sim
23462 maybe-mostlyclean-sim: mostlyclean-sim
23464 mostlyclean-sim:
23465 @: $(MAKE); $(unstage)
23466 @[ -f ./sim/Makefile ] || exit 0; \
23467 r=`${PWD_COMMAND}`; export r; \
23468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23469 $(HOST_EXPORTS) \
23470 for flag in $(EXTRA_HOST_FLAGS) ; do \
23471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23472 done; \
23473 echo "Doing mostlyclean in sim" ; \
23474 (cd $(HOST_SUBDIR)/sim && \
23475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23477 "RANLIB=$${RANLIB}" \
23478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23479 mostlyclean) \
23480 || exit 1
23482 @endif sim
23484 .PHONY: maybe-clean-sim clean-sim
23485 maybe-clean-sim:
23486 @if sim
23487 maybe-clean-sim: clean-sim
23489 clean-sim:
23490 @: $(MAKE); $(unstage)
23491 @[ -f ./sim/Makefile ] || exit 0; \
23492 r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 $(HOST_EXPORTS) \
23495 for flag in $(EXTRA_HOST_FLAGS) ; do \
23496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23497 done; \
23498 echo "Doing clean in sim" ; \
23499 (cd $(HOST_SUBDIR)/sim && \
23500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23502 "RANLIB=$${RANLIB}" \
23503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23504 clean) \
23505 || exit 1
23507 @endif sim
23509 .PHONY: maybe-distclean-sim distclean-sim
23510 maybe-distclean-sim:
23511 @if sim
23512 maybe-distclean-sim: distclean-sim
23514 distclean-sim:
23515 @: $(MAKE); $(unstage)
23516 @[ -f ./sim/Makefile ] || exit 0; \
23517 r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519 $(HOST_EXPORTS) \
23520 for flag in $(EXTRA_HOST_FLAGS) ; do \
23521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23522 done; \
23523 echo "Doing distclean in sim" ; \
23524 (cd $(HOST_SUBDIR)/sim && \
23525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23527 "RANLIB=$${RANLIB}" \
23528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23529 distclean) \
23530 || exit 1
23532 @endif sim
23534 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23535 maybe-maintainer-clean-sim:
23536 @if sim
23537 maybe-maintainer-clean-sim: maintainer-clean-sim
23539 maintainer-clean-sim:
23540 @: $(MAKE); $(unstage)
23541 @[ -f ./sim/Makefile ] || exit 0; \
23542 r=`${PWD_COMMAND}`; export r; \
23543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23544 $(HOST_EXPORTS) \
23545 for flag in $(EXTRA_HOST_FLAGS) ; do \
23546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23547 done; \
23548 echo "Doing maintainer-clean in sim" ; \
23549 (cd $(HOST_SUBDIR)/sim && \
23550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23552 "RANLIB=$${RANLIB}" \
23553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23554 maintainer-clean) \
23555 || exit 1
23557 @endif sim
23561 .PHONY: configure-tar maybe-configure-tar
23562 maybe-configure-tar:
23563 @if tar
23564 maybe-configure-tar: configure-tar
23565 configure-tar:
23566 @: $(MAKE); $(unstage)
23567 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23569 r=`${PWD_COMMAND}`; export r; \
23570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 $(HOST_EXPORTS) \
23572 echo Configuring in $(HOST_SUBDIR)/tar; \
23573 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23574 case $(srcdir) in \
23575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23576 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23578 esac; \
23579 srcdiroption="--srcdir=$${topdir}/tar"; \
23580 libsrcdir="$$s/tar"; \
23581 $(SHELL) $${libsrcdir}/configure \
23582 $(HOST_CONFIGARGS) $${srcdiroption} \
23583 || exit 1
23584 @endif tar
23590 .PHONY: all-tar maybe-all-tar
23591 maybe-all-tar:
23592 @if tar
23593 TARGET-tar=all
23594 maybe-all-tar: all-tar
23595 all-tar: configure-tar
23596 @: $(MAKE); $(unstage)
23597 @r=`${PWD_COMMAND}`; export r; \
23598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23599 $(HOST_EXPORTS) \
23600 (cd $(HOST_SUBDIR)/tar && \
23601 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23602 @endif tar
23607 .PHONY: check-tar maybe-check-tar
23608 maybe-check-tar:
23609 @if tar
23610 maybe-check-tar: check-tar
23612 check-tar:
23613 @: $(MAKE); $(unstage)
23614 @r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 (cd $(HOST_SUBDIR)/tar && \
23618 $(MAKE) $(FLAGS_TO_PASS) check)
23620 @endif tar
23622 .PHONY: install-tar maybe-install-tar
23623 maybe-install-tar:
23624 @if tar
23625 maybe-install-tar: install-tar
23627 install-tar: installdirs
23628 @: $(MAKE); $(unstage)
23629 @r=`${PWD_COMMAND}`; export r; \
23630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23631 $(HOST_EXPORTS) \
23632 (cd $(HOST_SUBDIR)/tar && \
23633 $(MAKE) $(FLAGS_TO_PASS) install)
23635 @endif tar
23637 # Other targets (info, dvi, etc.)
23639 .PHONY: maybe-info-tar info-tar
23640 maybe-info-tar:
23641 @if tar
23642 maybe-info-tar: info-tar
23644 info-tar: \
23645 configure-tar
23646 @: $(MAKE); $(unstage)
23647 @[ -f ./tar/Makefile ] || exit 0; \
23648 r=`${PWD_COMMAND}`; export r; \
23649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23650 $(HOST_EXPORTS) \
23651 for flag in $(EXTRA_HOST_FLAGS) ; do \
23652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23653 done; \
23654 echo "Doing info in tar" ; \
23655 (cd $(HOST_SUBDIR)/tar && \
23656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23658 "RANLIB=$${RANLIB}" \
23659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23660 info) \
23661 || exit 1
23663 @endif tar
23665 .PHONY: maybe-dvi-tar dvi-tar
23666 maybe-dvi-tar:
23667 @if tar
23668 maybe-dvi-tar: dvi-tar
23670 dvi-tar: \
23671 configure-tar
23672 @: $(MAKE); $(unstage)
23673 @[ -f ./tar/Makefile ] || exit 0; \
23674 r=`${PWD_COMMAND}`; export r; \
23675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23676 $(HOST_EXPORTS) \
23677 for flag in $(EXTRA_HOST_FLAGS) ; do \
23678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23679 done; \
23680 echo "Doing dvi in tar" ; \
23681 (cd $(HOST_SUBDIR)/tar && \
23682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23684 "RANLIB=$${RANLIB}" \
23685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23686 dvi) \
23687 || exit 1
23689 @endif tar
23691 .PHONY: maybe-html-tar html-tar
23692 maybe-html-tar:
23693 @if tar
23694 maybe-html-tar: html-tar
23696 html-tar: \
23697 configure-tar
23698 @: $(MAKE); $(unstage)
23699 @[ -f ./tar/Makefile ] || exit 0; \
23700 r=`${PWD_COMMAND}`; export r; \
23701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23702 $(HOST_EXPORTS) \
23703 for flag in $(EXTRA_HOST_FLAGS) ; do \
23704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23705 done; \
23706 echo "Doing html in tar" ; \
23707 (cd $(HOST_SUBDIR)/tar && \
23708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23710 "RANLIB=$${RANLIB}" \
23711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23712 html) \
23713 || exit 1
23715 @endif tar
23717 .PHONY: maybe-TAGS-tar TAGS-tar
23718 maybe-TAGS-tar:
23719 @if tar
23720 maybe-TAGS-tar: TAGS-tar
23722 TAGS-tar: \
23723 configure-tar
23724 @: $(MAKE); $(unstage)
23725 @[ -f ./tar/Makefile ] || exit 0; \
23726 r=`${PWD_COMMAND}`; export r; \
23727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23728 $(HOST_EXPORTS) \
23729 for flag in $(EXTRA_HOST_FLAGS) ; do \
23730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23731 done; \
23732 echo "Doing TAGS in tar" ; \
23733 (cd $(HOST_SUBDIR)/tar && \
23734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23736 "RANLIB=$${RANLIB}" \
23737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23738 TAGS) \
23739 || exit 1
23741 @endif tar
23743 .PHONY: maybe-install-info-tar install-info-tar
23744 maybe-install-info-tar:
23745 @if tar
23746 maybe-install-info-tar: install-info-tar
23748 install-info-tar: \
23749 configure-tar \
23750 info-tar
23751 @: $(MAKE); $(unstage)
23752 @[ -f ./tar/Makefile ] || exit 0; \
23753 r=`${PWD_COMMAND}`; export r; \
23754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23755 $(HOST_EXPORTS) \
23756 for flag in $(EXTRA_HOST_FLAGS) ; do \
23757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23758 done; \
23759 echo "Doing install-info in tar" ; \
23760 (cd $(HOST_SUBDIR)/tar && \
23761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23763 "RANLIB=$${RANLIB}" \
23764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23765 install-info) \
23766 || exit 1
23768 @endif tar
23770 .PHONY: maybe-installcheck-tar installcheck-tar
23771 maybe-installcheck-tar:
23772 @if tar
23773 maybe-installcheck-tar: installcheck-tar
23775 installcheck-tar: \
23776 configure-tar
23777 @: $(MAKE); $(unstage)
23778 @[ -f ./tar/Makefile ] || exit 0; \
23779 r=`${PWD_COMMAND}`; export r; \
23780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23781 $(HOST_EXPORTS) \
23782 for flag in $(EXTRA_HOST_FLAGS) ; do \
23783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23784 done; \
23785 echo "Doing installcheck in tar" ; \
23786 (cd $(HOST_SUBDIR)/tar && \
23787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23789 "RANLIB=$${RANLIB}" \
23790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23791 installcheck) \
23792 || exit 1
23794 @endif tar
23796 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23797 maybe-mostlyclean-tar:
23798 @if tar
23799 maybe-mostlyclean-tar: mostlyclean-tar
23801 mostlyclean-tar:
23802 @: $(MAKE); $(unstage)
23803 @[ -f ./tar/Makefile ] || exit 0; \
23804 r=`${PWD_COMMAND}`; export r; \
23805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 $(HOST_EXPORTS) \
23807 for flag in $(EXTRA_HOST_FLAGS) ; do \
23808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23809 done; \
23810 echo "Doing mostlyclean in tar" ; \
23811 (cd $(HOST_SUBDIR)/tar && \
23812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23814 "RANLIB=$${RANLIB}" \
23815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23816 mostlyclean) \
23817 || exit 1
23819 @endif tar
23821 .PHONY: maybe-clean-tar clean-tar
23822 maybe-clean-tar:
23823 @if tar
23824 maybe-clean-tar: clean-tar
23826 clean-tar:
23827 @: $(MAKE); $(unstage)
23828 @[ -f ./tar/Makefile ] || exit 0; \
23829 r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831 $(HOST_EXPORTS) \
23832 for flag in $(EXTRA_HOST_FLAGS) ; do \
23833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23834 done; \
23835 echo "Doing clean in tar" ; \
23836 (cd $(HOST_SUBDIR)/tar && \
23837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23839 "RANLIB=$${RANLIB}" \
23840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23841 clean) \
23842 || exit 1
23844 @endif tar
23846 .PHONY: maybe-distclean-tar distclean-tar
23847 maybe-distclean-tar:
23848 @if tar
23849 maybe-distclean-tar: distclean-tar
23851 distclean-tar:
23852 @: $(MAKE); $(unstage)
23853 @[ -f ./tar/Makefile ] || exit 0; \
23854 r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856 $(HOST_EXPORTS) \
23857 for flag in $(EXTRA_HOST_FLAGS) ; do \
23858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859 done; \
23860 echo "Doing distclean in tar" ; \
23861 (cd $(HOST_SUBDIR)/tar && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864 "RANLIB=$${RANLIB}" \
23865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23866 distclean) \
23867 || exit 1
23869 @endif tar
23871 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23872 maybe-maintainer-clean-tar:
23873 @if tar
23874 maybe-maintainer-clean-tar: maintainer-clean-tar
23876 maintainer-clean-tar:
23877 @: $(MAKE); $(unstage)
23878 @[ -f ./tar/Makefile ] || exit 0; \
23879 r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 $(HOST_EXPORTS) \
23882 for flag in $(EXTRA_HOST_FLAGS) ; do \
23883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884 done; \
23885 echo "Doing maintainer-clean in tar" ; \
23886 (cd $(HOST_SUBDIR)/tar && \
23887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23889 "RANLIB=$${RANLIB}" \
23890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23891 maintainer-clean) \
23892 || exit 1
23894 @endif tar
23898 .PHONY: configure-texinfo maybe-configure-texinfo
23899 maybe-configure-texinfo:
23900 @if texinfo
23901 maybe-configure-texinfo: configure-texinfo
23902 configure-texinfo:
23903 @: $(MAKE); $(unstage)
23904 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23906 r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23908 $(HOST_EXPORTS) \
23909 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23910 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23911 case $(srcdir) in \
23912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23913 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23915 esac; \
23916 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23917 libsrcdir="$$s/texinfo"; \
23918 $(SHELL) $${libsrcdir}/configure \
23919 $(HOST_CONFIGARGS) $${srcdiroption} \
23920 || exit 1
23921 @endif texinfo
23927 .PHONY: all-texinfo maybe-all-texinfo
23928 maybe-all-texinfo:
23929 @if texinfo
23930 TARGET-texinfo=all
23931 maybe-all-texinfo: all-texinfo
23932 all-texinfo: configure-texinfo
23933 @: $(MAKE); $(unstage)
23934 @r=`${PWD_COMMAND}`; export r; \
23935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23936 $(HOST_EXPORTS) \
23937 (cd $(HOST_SUBDIR)/texinfo && \
23938 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23939 @endif texinfo
23944 .PHONY: check-texinfo maybe-check-texinfo
23945 maybe-check-texinfo:
23946 @if texinfo
23947 maybe-check-texinfo: check-texinfo
23949 check-texinfo:
23950 @: $(MAKE); $(unstage)
23951 @r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 (cd $(HOST_SUBDIR)/texinfo && \
23955 $(MAKE) $(FLAGS_TO_PASS) check)
23957 @endif texinfo
23959 .PHONY: install-texinfo maybe-install-texinfo
23960 maybe-install-texinfo:
23961 @if texinfo
23962 maybe-install-texinfo: install-texinfo
23964 install-texinfo:
23966 @endif texinfo
23968 # Other targets (info, dvi, etc.)
23970 .PHONY: maybe-info-texinfo info-texinfo
23971 maybe-info-texinfo:
23972 @if texinfo
23973 maybe-info-texinfo: info-texinfo
23975 info-texinfo: \
23976 configure-texinfo
23977 @: $(MAKE); $(unstage)
23978 @[ -f ./texinfo/Makefile ] || exit 0; \
23979 r=`${PWD_COMMAND}`; export r; \
23980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 $(HOST_EXPORTS) \
23982 for flag in $(EXTRA_HOST_FLAGS) ; do \
23983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23984 done; \
23985 echo "Doing info in texinfo" ; \
23986 (cd $(HOST_SUBDIR)/texinfo && \
23987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23989 "RANLIB=$${RANLIB}" \
23990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23991 info) \
23992 || exit 1
23994 @endif texinfo
23996 .PHONY: maybe-dvi-texinfo dvi-texinfo
23997 maybe-dvi-texinfo:
23998 @if texinfo
23999 maybe-dvi-texinfo: dvi-texinfo
24001 dvi-texinfo: \
24002 configure-texinfo
24003 @: $(MAKE); $(unstage)
24004 @[ -f ./texinfo/Makefile ] || exit 0; \
24005 r=`${PWD_COMMAND}`; export r; \
24006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24007 $(HOST_EXPORTS) \
24008 for flag in $(EXTRA_HOST_FLAGS) ; do \
24009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24010 done; \
24011 echo "Doing dvi in texinfo" ; \
24012 (cd $(HOST_SUBDIR)/texinfo && \
24013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24015 "RANLIB=$${RANLIB}" \
24016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24017 dvi) \
24018 || exit 1
24020 @endif texinfo
24022 .PHONY: maybe-html-texinfo html-texinfo
24023 maybe-html-texinfo:
24024 @if texinfo
24025 maybe-html-texinfo: html-texinfo
24027 html-texinfo: \
24028 configure-texinfo
24029 @: $(MAKE); $(unstage)
24030 @[ -f ./texinfo/Makefile ] || exit 0; \
24031 r=`${PWD_COMMAND}`; export r; \
24032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24033 $(HOST_EXPORTS) \
24034 for flag in $(EXTRA_HOST_FLAGS) ; do \
24035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24036 done; \
24037 echo "Doing html in texinfo" ; \
24038 (cd $(HOST_SUBDIR)/texinfo && \
24039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24041 "RANLIB=$${RANLIB}" \
24042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24043 html) \
24044 || exit 1
24046 @endif texinfo
24048 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24049 maybe-TAGS-texinfo:
24050 @if texinfo
24051 maybe-TAGS-texinfo: TAGS-texinfo
24053 TAGS-texinfo: \
24054 configure-texinfo
24055 @: $(MAKE); $(unstage)
24056 @[ -f ./texinfo/Makefile ] || exit 0; \
24057 r=`${PWD_COMMAND}`; export r; \
24058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24059 $(HOST_EXPORTS) \
24060 for flag in $(EXTRA_HOST_FLAGS) ; do \
24061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24062 done; \
24063 echo "Doing TAGS in texinfo" ; \
24064 (cd $(HOST_SUBDIR)/texinfo && \
24065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24067 "RANLIB=$${RANLIB}" \
24068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24069 TAGS) \
24070 || exit 1
24072 @endif texinfo
24074 .PHONY: maybe-install-info-texinfo install-info-texinfo
24075 maybe-install-info-texinfo:
24076 @if texinfo
24077 maybe-install-info-texinfo: install-info-texinfo
24079 install-info-texinfo: \
24080 configure-texinfo \
24081 info-texinfo
24082 @: $(MAKE); $(unstage)
24083 @[ -f ./texinfo/Makefile ] || exit 0; \
24084 r=`${PWD_COMMAND}`; export r; \
24085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24086 $(HOST_EXPORTS) \
24087 for flag in $(EXTRA_HOST_FLAGS) ; do \
24088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24089 done; \
24090 echo "Doing install-info in texinfo" ; \
24091 (cd $(HOST_SUBDIR)/texinfo && \
24092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24094 "RANLIB=$${RANLIB}" \
24095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24096 install-info) \
24097 || exit 1
24099 @endif texinfo
24101 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24102 maybe-installcheck-texinfo:
24103 @if texinfo
24104 maybe-installcheck-texinfo: installcheck-texinfo
24106 installcheck-texinfo: \
24107 configure-texinfo
24108 @: $(MAKE); $(unstage)
24109 @[ -f ./texinfo/Makefile ] || exit 0; \
24110 r=`${PWD_COMMAND}`; export r; \
24111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24112 $(HOST_EXPORTS) \
24113 for flag in $(EXTRA_HOST_FLAGS) ; do \
24114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24115 done; \
24116 echo "Doing installcheck in texinfo" ; \
24117 (cd $(HOST_SUBDIR)/texinfo && \
24118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24120 "RANLIB=$${RANLIB}" \
24121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24122 installcheck) \
24123 || exit 1
24125 @endif texinfo
24127 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24128 maybe-mostlyclean-texinfo:
24129 @if texinfo
24130 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24132 mostlyclean-texinfo:
24133 @: $(MAKE); $(unstage)
24134 @[ -f ./texinfo/Makefile ] || exit 0; \
24135 r=`${PWD_COMMAND}`; export r; \
24136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137 $(HOST_EXPORTS) \
24138 for flag in $(EXTRA_HOST_FLAGS) ; do \
24139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24140 done; \
24141 echo "Doing mostlyclean in texinfo" ; \
24142 (cd $(HOST_SUBDIR)/texinfo && \
24143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24145 "RANLIB=$${RANLIB}" \
24146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24147 mostlyclean) \
24148 || exit 1
24150 @endif texinfo
24152 .PHONY: maybe-clean-texinfo clean-texinfo
24153 maybe-clean-texinfo:
24154 @if texinfo
24155 maybe-clean-texinfo: clean-texinfo
24157 clean-texinfo:
24158 @: $(MAKE); $(unstage)
24159 @[ -f ./texinfo/Makefile ] || exit 0; \
24160 r=`${PWD_COMMAND}`; export r; \
24161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24162 $(HOST_EXPORTS) \
24163 for flag in $(EXTRA_HOST_FLAGS) ; do \
24164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24165 done; \
24166 echo "Doing clean in texinfo" ; \
24167 (cd $(HOST_SUBDIR)/texinfo && \
24168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24170 "RANLIB=$${RANLIB}" \
24171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24172 clean) \
24173 || exit 1
24175 @endif texinfo
24177 .PHONY: maybe-distclean-texinfo distclean-texinfo
24178 maybe-distclean-texinfo:
24179 @if texinfo
24180 maybe-distclean-texinfo: distclean-texinfo
24182 distclean-texinfo:
24183 @: $(MAKE); $(unstage)
24184 @[ -f ./texinfo/Makefile ] || exit 0; \
24185 r=`${PWD_COMMAND}`; export r; \
24186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24187 $(HOST_EXPORTS) \
24188 for flag in $(EXTRA_HOST_FLAGS) ; do \
24189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24190 done; \
24191 echo "Doing distclean in texinfo" ; \
24192 (cd $(HOST_SUBDIR)/texinfo && \
24193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24195 "RANLIB=$${RANLIB}" \
24196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24197 distclean) \
24198 || exit 1
24200 @endif texinfo
24202 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24203 maybe-maintainer-clean-texinfo:
24204 @if texinfo
24205 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24207 maintainer-clean-texinfo:
24208 @: $(MAKE); $(unstage)
24209 @[ -f ./texinfo/Makefile ] || exit 0; \
24210 r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24212 $(HOST_EXPORTS) \
24213 for flag in $(EXTRA_HOST_FLAGS) ; do \
24214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24215 done; \
24216 echo "Doing maintainer-clean in texinfo" ; \
24217 (cd $(HOST_SUBDIR)/texinfo && \
24218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24220 "RANLIB=$${RANLIB}" \
24221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24222 maintainer-clean) \
24223 || exit 1
24225 @endif texinfo
24229 .PHONY: configure-textutils maybe-configure-textutils
24230 maybe-configure-textutils:
24231 @if textutils
24232 maybe-configure-textutils: configure-textutils
24233 configure-textutils:
24234 @: $(MAKE); $(unstage)
24235 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24237 r=`${PWD_COMMAND}`; export r; \
24238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24239 $(HOST_EXPORTS) \
24240 echo Configuring in $(HOST_SUBDIR)/textutils; \
24241 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24242 case $(srcdir) in \
24243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24244 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24246 esac; \
24247 srcdiroption="--srcdir=$${topdir}/textutils"; \
24248 libsrcdir="$$s/textutils"; \
24249 $(SHELL) $${libsrcdir}/configure \
24250 $(HOST_CONFIGARGS) $${srcdiroption} \
24251 || exit 1
24252 @endif textutils
24258 .PHONY: all-textutils maybe-all-textutils
24259 maybe-all-textutils:
24260 @if textutils
24261 TARGET-textutils=all
24262 maybe-all-textutils: all-textutils
24263 all-textutils: configure-textutils
24264 @: $(MAKE); $(unstage)
24265 @r=`${PWD_COMMAND}`; export r; \
24266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24267 $(HOST_EXPORTS) \
24268 (cd $(HOST_SUBDIR)/textutils && \
24269 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24270 @endif textutils
24275 .PHONY: check-textutils maybe-check-textutils
24276 maybe-check-textutils:
24277 @if textutils
24278 maybe-check-textutils: check-textutils
24280 check-textutils:
24281 @: $(MAKE); $(unstage)
24282 @r=`${PWD_COMMAND}`; export r; \
24283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24284 $(HOST_EXPORTS) \
24285 (cd $(HOST_SUBDIR)/textutils && \
24286 $(MAKE) $(FLAGS_TO_PASS) check)
24288 @endif textutils
24290 .PHONY: install-textutils maybe-install-textutils
24291 maybe-install-textutils:
24292 @if textutils
24293 maybe-install-textutils: install-textutils
24295 install-textutils: installdirs
24296 @: $(MAKE); $(unstage)
24297 @r=`${PWD_COMMAND}`; export r; \
24298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24299 $(HOST_EXPORTS) \
24300 (cd $(HOST_SUBDIR)/textutils && \
24301 $(MAKE) $(FLAGS_TO_PASS) install)
24303 @endif textutils
24305 # Other targets (info, dvi, etc.)
24307 .PHONY: maybe-info-textutils info-textutils
24308 maybe-info-textutils:
24309 @if textutils
24310 maybe-info-textutils: info-textutils
24312 info-textutils: \
24313 configure-textutils
24314 @: $(MAKE); $(unstage)
24315 @[ -f ./textutils/Makefile ] || exit 0; \
24316 r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(HOST_EXPORTS) \
24319 for flag in $(EXTRA_HOST_FLAGS) ; do \
24320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24321 done; \
24322 echo "Doing info in textutils" ; \
24323 (cd $(HOST_SUBDIR)/textutils && \
24324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24326 "RANLIB=$${RANLIB}" \
24327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24328 info) \
24329 || exit 1
24331 @endif textutils
24333 .PHONY: maybe-dvi-textutils dvi-textutils
24334 maybe-dvi-textutils:
24335 @if textutils
24336 maybe-dvi-textutils: dvi-textutils
24338 dvi-textutils: \
24339 configure-textutils
24340 @: $(MAKE); $(unstage)
24341 @[ -f ./textutils/Makefile ] || exit 0; \
24342 r=`${PWD_COMMAND}`; export r; \
24343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24344 $(HOST_EXPORTS) \
24345 for flag in $(EXTRA_HOST_FLAGS) ; do \
24346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24347 done; \
24348 echo "Doing dvi in textutils" ; \
24349 (cd $(HOST_SUBDIR)/textutils && \
24350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24352 "RANLIB=$${RANLIB}" \
24353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24354 dvi) \
24355 || exit 1
24357 @endif textutils
24359 .PHONY: maybe-html-textutils html-textutils
24360 maybe-html-textutils:
24361 @if textutils
24362 maybe-html-textutils: html-textutils
24364 html-textutils: \
24365 configure-textutils
24366 @: $(MAKE); $(unstage)
24367 @[ -f ./textutils/Makefile ] || exit 0; \
24368 r=`${PWD_COMMAND}`; export r; \
24369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24370 $(HOST_EXPORTS) \
24371 for flag in $(EXTRA_HOST_FLAGS) ; do \
24372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24373 done; \
24374 echo "Doing html in textutils" ; \
24375 (cd $(HOST_SUBDIR)/textutils && \
24376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24378 "RANLIB=$${RANLIB}" \
24379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24380 html) \
24381 || exit 1
24383 @endif textutils
24385 .PHONY: maybe-TAGS-textutils TAGS-textutils
24386 maybe-TAGS-textutils:
24387 @if textutils
24388 maybe-TAGS-textutils: TAGS-textutils
24390 TAGS-textutils: \
24391 configure-textutils
24392 @: $(MAKE); $(unstage)
24393 @[ -f ./textutils/Makefile ] || exit 0; \
24394 r=`${PWD_COMMAND}`; export r; \
24395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24396 $(HOST_EXPORTS) \
24397 for flag in $(EXTRA_HOST_FLAGS) ; do \
24398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24399 done; \
24400 echo "Doing TAGS in textutils" ; \
24401 (cd $(HOST_SUBDIR)/textutils && \
24402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24404 "RANLIB=$${RANLIB}" \
24405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24406 TAGS) \
24407 || exit 1
24409 @endif textutils
24411 .PHONY: maybe-install-info-textutils install-info-textutils
24412 maybe-install-info-textutils:
24413 @if textutils
24414 maybe-install-info-textutils: install-info-textutils
24416 install-info-textutils: \
24417 configure-textutils \
24418 info-textutils
24419 @: $(MAKE); $(unstage)
24420 @[ -f ./textutils/Makefile ] || exit 0; \
24421 r=`${PWD_COMMAND}`; export r; \
24422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24423 $(HOST_EXPORTS) \
24424 for flag in $(EXTRA_HOST_FLAGS) ; do \
24425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24426 done; \
24427 echo "Doing install-info in textutils" ; \
24428 (cd $(HOST_SUBDIR)/textutils && \
24429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24431 "RANLIB=$${RANLIB}" \
24432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24433 install-info) \
24434 || exit 1
24436 @endif textutils
24438 .PHONY: maybe-installcheck-textutils installcheck-textutils
24439 maybe-installcheck-textutils:
24440 @if textutils
24441 maybe-installcheck-textutils: installcheck-textutils
24443 installcheck-textutils: \
24444 configure-textutils
24445 @: $(MAKE); $(unstage)
24446 @[ -f ./textutils/Makefile ] || exit 0; \
24447 r=`${PWD_COMMAND}`; export r; \
24448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449 $(HOST_EXPORTS) \
24450 for flag in $(EXTRA_HOST_FLAGS) ; do \
24451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24452 done; \
24453 echo "Doing installcheck in textutils" ; \
24454 (cd $(HOST_SUBDIR)/textutils && \
24455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24457 "RANLIB=$${RANLIB}" \
24458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24459 installcheck) \
24460 || exit 1
24462 @endif textutils
24464 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24465 maybe-mostlyclean-textutils:
24466 @if textutils
24467 maybe-mostlyclean-textutils: mostlyclean-textutils
24469 mostlyclean-textutils:
24470 @: $(MAKE); $(unstage)
24471 @[ -f ./textutils/Makefile ] || exit 0; \
24472 r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24474 $(HOST_EXPORTS) \
24475 for flag in $(EXTRA_HOST_FLAGS) ; do \
24476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24477 done; \
24478 echo "Doing mostlyclean in textutils" ; \
24479 (cd $(HOST_SUBDIR)/textutils && \
24480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24482 "RANLIB=$${RANLIB}" \
24483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24484 mostlyclean) \
24485 || exit 1
24487 @endif textutils
24489 .PHONY: maybe-clean-textutils clean-textutils
24490 maybe-clean-textutils:
24491 @if textutils
24492 maybe-clean-textutils: clean-textutils
24494 clean-textutils:
24495 @: $(MAKE); $(unstage)
24496 @[ -f ./textutils/Makefile ] || exit 0; \
24497 r=`${PWD_COMMAND}`; export r; \
24498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499 $(HOST_EXPORTS) \
24500 for flag in $(EXTRA_HOST_FLAGS) ; do \
24501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24502 done; \
24503 echo "Doing clean in textutils" ; \
24504 (cd $(HOST_SUBDIR)/textutils && \
24505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24507 "RANLIB=$${RANLIB}" \
24508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24509 clean) \
24510 || exit 1
24512 @endif textutils
24514 .PHONY: maybe-distclean-textutils distclean-textutils
24515 maybe-distclean-textutils:
24516 @if textutils
24517 maybe-distclean-textutils: distclean-textutils
24519 distclean-textutils:
24520 @: $(MAKE); $(unstage)
24521 @[ -f ./textutils/Makefile ] || exit 0; \
24522 r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 for flag in $(EXTRA_HOST_FLAGS) ; do \
24526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24527 done; \
24528 echo "Doing distclean in textutils" ; \
24529 (cd $(HOST_SUBDIR)/textutils && \
24530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24532 "RANLIB=$${RANLIB}" \
24533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24534 distclean) \
24535 || exit 1
24537 @endif textutils
24539 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24540 maybe-maintainer-clean-textutils:
24541 @if textutils
24542 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24544 maintainer-clean-textutils:
24545 @: $(MAKE); $(unstage)
24546 @[ -f ./textutils/Makefile ] || exit 0; \
24547 r=`${PWD_COMMAND}`; export r; \
24548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24549 $(HOST_EXPORTS) \
24550 for flag in $(EXTRA_HOST_FLAGS) ; do \
24551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24552 done; \
24553 echo "Doing maintainer-clean in textutils" ; \
24554 (cd $(HOST_SUBDIR)/textutils && \
24555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24557 "RANLIB=$${RANLIB}" \
24558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24559 maintainer-clean) \
24560 || exit 1
24562 @endif textutils
24566 .PHONY: configure-time maybe-configure-time
24567 maybe-configure-time:
24568 @if time
24569 maybe-configure-time: configure-time
24570 configure-time:
24571 @: $(MAKE); $(unstage)
24572 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24573 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24574 r=`${PWD_COMMAND}`; export r; \
24575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24576 $(HOST_EXPORTS) \
24577 echo Configuring in $(HOST_SUBDIR)/time; \
24578 cd "$(HOST_SUBDIR)/time" || exit 1; \
24579 case $(srcdir) in \
24580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24581 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24583 esac; \
24584 srcdiroption="--srcdir=$${topdir}/time"; \
24585 libsrcdir="$$s/time"; \
24586 $(SHELL) $${libsrcdir}/configure \
24587 $(HOST_CONFIGARGS) $${srcdiroption} \
24588 || exit 1
24589 @endif time
24595 .PHONY: all-time maybe-all-time
24596 maybe-all-time:
24597 @if time
24598 TARGET-time=all
24599 maybe-all-time: all-time
24600 all-time: configure-time
24601 @: $(MAKE); $(unstage)
24602 @r=`${PWD_COMMAND}`; export r; \
24603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24604 $(HOST_EXPORTS) \
24605 (cd $(HOST_SUBDIR)/time && \
24606 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24607 @endif time
24612 .PHONY: check-time maybe-check-time
24613 maybe-check-time:
24614 @if time
24615 maybe-check-time: check-time
24617 check-time:
24618 @: $(MAKE); $(unstage)
24619 @r=`${PWD_COMMAND}`; export r; \
24620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24621 $(HOST_EXPORTS) \
24622 (cd $(HOST_SUBDIR)/time && \
24623 $(MAKE) $(FLAGS_TO_PASS) check)
24625 @endif time
24627 .PHONY: install-time maybe-install-time
24628 maybe-install-time:
24629 @if time
24630 maybe-install-time: install-time
24632 install-time: installdirs
24633 @: $(MAKE); $(unstage)
24634 @r=`${PWD_COMMAND}`; export r; \
24635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24636 $(HOST_EXPORTS) \
24637 (cd $(HOST_SUBDIR)/time && \
24638 $(MAKE) $(FLAGS_TO_PASS) install)
24640 @endif time
24642 # Other targets (info, dvi, etc.)
24644 .PHONY: maybe-info-time info-time
24645 maybe-info-time:
24646 @if time
24647 maybe-info-time: info-time
24649 info-time: \
24650 configure-time
24651 @: $(MAKE); $(unstage)
24652 @[ -f ./time/Makefile ] || exit 0; \
24653 r=`${PWD_COMMAND}`; export r; \
24654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 $(HOST_EXPORTS) \
24656 for flag in $(EXTRA_HOST_FLAGS) ; do \
24657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658 done; \
24659 echo "Doing info in time" ; \
24660 (cd $(HOST_SUBDIR)/time && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24663 "RANLIB=$${RANLIB}" \
24664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24665 info) \
24666 || exit 1
24668 @endif time
24670 .PHONY: maybe-dvi-time dvi-time
24671 maybe-dvi-time:
24672 @if time
24673 maybe-dvi-time: dvi-time
24675 dvi-time: \
24676 configure-time
24677 @: $(MAKE); $(unstage)
24678 @[ -f ./time/Makefile ] || exit 0; \
24679 r=`${PWD_COMMAND}`; export r; \
24680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24681 $(HOST_EXPORTS) \
24682 for flag in $(EXTRA_HOST_FLAGS) ; do \
24683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24684 done; \
24685 echo "Doing dvi in time" ; \
24686 (cd $(HOST_SUBDIR)/time && \
24687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24689 "RANLIB=$${RANLIB}" \
24690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24691 dvi) \
24692 || exit 1
24694 @endif time
24696 .PHONY: maybe-html-time html-time
24697 maybe-html-time:
24698 @if time
24699 maybe-html-time: html-time
24701 html-time: \
24702 configure-time
24703 @: $(MAKE); $(unstage)
24704 @[ -f ./time/Makefile ] || exit 0; \
24705 r=`${PWD_COMMAND}`; export r; \
24706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24707 $(HOST_EXPORTS) \
24708 for flag in $(EXTRA_HOST_FLAGS) ; do \
24709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24710 done; \
24711 echo "Doing html in time" ; \
24712 (cd $(HOST_SUBDIR)/time && \
24713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24715 "RANLIB=$${RANLIB}" \
24716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24717 html) \
24718 || exit 1
24720 @endif time
24722 .PHONY: maybe-TAGS-time TAGS-time
24723 maybe-TAGS-time:
24724 @if time
24725 maybe-TAGS-time: TAGS-time
24727 TAGS-time: \
24728 configure-time
24729 @: $(MAKE); $(unstage)
24730 @[ -f ./time/Makefile ] || exit 0; \
24731 r=`${PWD_COMMAND}`; export r; \
24732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24733 $(HOST_EXPORTS) \
24734 for flag in $(EXTRA_HOST_FLAGS) ; do \
24735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24736 done; \
24737 echo "Doing TAGS in time" ; \
24738 (cd $(HOST_SUBDIR)/time && \
24739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24741 "RANLIB=$${RANLIB}" \
24742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24743 TAGS) \
24744 || exit 1
24746 @endif time
24748 .PHONY: maybe-install-info-time install-info-time
24749 maybe-install-info-time:
24750 @if time
24751 maybe-install-info-time: install-info-time
24753 install-info-time: \
24754 configure-time \
24755 info-time
24756 @: $(MAKE); $(unstage)
24757 @[ -f ./time/Makefile ] || exit 0; \
24758 r=`${PWD_COMMAND}`; export r; \
24759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24760 $(HOST_EXPORTS) \
24761 for flag in $(EXTRA_HOST_FLAGS) ; do \
24762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24763 done; \
24764 echo "Doing install-info in time" ; \
24765 (cd $(HOST_SUBDIR)/time && \
24766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24768 "RANLIB=$${RANLIB}" \
24769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24770 install-info) \
24771 || exit 1
24773 @endif time
24775 .PHONY: maybe-installcheck-time installcheck-time
24776 maybe-installcheck-time:
24777 @if time
24778 maybe-installcheck-time: installcheck-time
24780 installcheck-time: \
24781 configure-time
24782 @: $(MAKE); $(unstage)
24783 @[ -f ./time/Makefile ] || exit 0; \
24784 r=`${PWD_COMMAND}`; export r; \
24785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24786 $(HOST_EXPORTS) \
24787 for flag in $(EXTRA_HOST_FLAGS) ; do \
24788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24789 done; \
24790 echo "Doing installcheck in time" ; \
24791 (cd $(HOST_SUBDIR)/time && \
24792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24794 "RANLIB=$${RANLIB}" \
24795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24796 installcheck) \
24797 || exit 1
24799 @endif time
24801 .PHONY: maybe-mostlyclean-time mostlyclean-time
24802 maybe-mostlyclean-time:
24803 @if time
24804 maybe-mostlyclean-time: mostlyclean-time
24806 mostlyclean-time:
24807 @: $(MAKE); $(unstage)
24808 @[ -f ./time/Makefile ] || exit 0; \
24809 r=`${PWD_COMMAND}`; export r; \
24810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24811 $(HOST_EXPORTS) \
24812 for flag in $(EXTRA_HOST_FLAGS) ; do \
24813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24814 done; \
24815 echo "Doing mostlyclean in time" ; \
24816 (cd $(HOST_SUBDIR)/time && \
24817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24819 "RANLIB=$${RANLIB}" \
24820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24821 mostlyclean) \
24822 || exit 1
24824 @endif time
24826 .PHONY: maybe-clean-time clean-time
24827 maybe-clean-time:
24828 @if time
24829 maybe-clean-time: clean-time
24831 clean-time:
24832 @: $(MAKE); $(unstage)
24833 @[ -f ./time/Makefile ] || exit 0; \
24834 r=`${PWD_COMMAND}`; export r; \
24835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24836 $(HOST_EXPORTS) \
24837 for flag in $(EXTRA_HOST_FLAGS) ; do \
24838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24839 done; \
24840 echo "Doing clean in time" ; \
24841 (cd $(HOST_SUBDIR)/time && \
24842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24844 "RANLIB=$${RANLIB}" \
24845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24846 clean) \
24847 || exit 1
24849 @endif time
24851 .PHONY: maybe-distclean-time distclean-time
24852 maybe-distclean-time:
24853 @if time
24854 maybe-distclean-time: distclean-time
24856 distclean-time:
24857 @: $(MAKE); $(unstage)
24858 @[ -f ./time/Makefile ] || exit 0; \
24859 r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 $(HOST_EXPORTS) \
24862 for flag in $(EXTRA_HOST_FLAGS) ; do \
24863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24864 done; \
24865 echo "Doing distclean in time" ; \
24866 (cd $(HOST_SUBDIR)/time && \
24867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24869 "RANLIB=$${RANLIB}" \
24870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24871 distclean) \
24872 || exit 1
24874 @endif time
24876 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24877 maybe-maintainer-clean-time:
24878 @if time
24879 maybe-maintainer-clean-time: maintainer-clean-time
24881 maintainer-clean-time:
24882 @: $(MAKE); $(unstage)
24883 @[ -f ./time/Makefile ] || exit 0; \
24884 r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 $(HOST_EXPORTS) \
24887 for flag in $(EXTRA_HOST_FLAGS) ; do \
24888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24889 done; \
24890 echo "Doing maintainer-clean in time" ; \
24891 (cd $(HOST_SUBDIR)/time && \
24892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24894 "RANLIB=$${RANLIB}" \
24895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24896 maintainer-clean) \
24897 || exit 1
24899 @endif time
24903 .PHONY: configure-uudecode maybe-configure-uudecode
24904 maybe-configure-uudecode:
24905 @if uudecode
24906 maybe-configure-uudecode: configure-uudecode
24907 configure-uudecode:
24908 @: $(MAKE); $(unstage)
24909 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24911 r=`${PWD_COMMAND}`; export r; \
24912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 $(HOST_EXPORTS) \
24914 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24915 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24916 case $(srcdir) in \
24917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24918 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24920 esac; \
24921 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24922 libsrcdir="$$s/uudecode"; \
24923 $(SHELL) $${libsrcdir}/configure \
24924 $(HOST_CONFIGARGS) $${srcdiroption} \
24925 || exit 1
24926 @endif uudecode
24932 .PHONY: all-uudecode maybe-all-uudecode
24933 maybe-all-uudecode:
24934 @if uudecode
24935 TARGET-uudecode=all
24936 maybe-all-uudecode: all-uudecode
24937 all-uudecode: configure-uudecode
24938 @: $(MAKE); $(unstage)
24939 @r=`${PWD_COMMAND}`; export r; \
24940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24941 $(HOST_EXPORTS) \
24942 (cd $(HOST_SUBDIR)/uudecode && \
24943 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24944 @endif uudecode
24949 .PHONY: check-uudecode maybe-check-uudecode
24950 maybe-check-uudecode:
24951 @if uudecode
24952 maybe-check-uudecode: check-uudecode
24954 check-uudecode:
24955 @: $(MAKE); $(unstage)
24956 @r=`${PWD_COMMAND}`; export r; \
24957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24958 $(HOST_EXPORTS) \
24959 (cd $(HOST_SUBDIR)/uudecode && \
24960 $(MAKE) $(FLAGS_TO_PASS) check)
24962 @endif uudecode
24964 .PHONY: install-uudecode maybe-install-uudecode
24965 maybe-install-uudecode:
24966 @if uudecode
24967 maybe-install-uudecode: install-uudecode
24969 install-uudecode: installdirs
24970 @: $(MAKE); $(unstage)
24971 @r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24973 $(HOST_EXPORTS) \
24974 (cd $(HOST_SUBDIR)/uudecode && \
24975 $(MAKE) $(FLAGS_TO_PASS) install)
24977 @endif uudecode
24979 # Other targets (info, dvi, etc.)
24981 .PHONY: maybe-info-uudecode info-uudecode
24982 maybe-info-uudecode:
24983 @if uudecode
24984 maybe-info-uudecode: info-uudecode
24986 info-uudecode: \
24987 configure-uudecode
24988 @: $(MAKE); $(unstage)
24989 @[ -f ./uudecode/Makefile ] || exit 0; \
24990 r=`${PWD_COMMAND}`; export r; \
24991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24992 $(HOST_EXPORTS) \
24993 for flag in $(EXTRA_HOST_FLAGS) ; do \
24994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24995 done; \
24996 echo "Doing info in uudecode" ; \
24997 (cd $(HOST_SUBDIR)/uudecode && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25002 info) \
25003 || exit 1
25005 @endif uudecode
25007 .PHONY: maybe-dvi-uudecode dvi-uudecode
25008 maybe-dvi-uudecode:
25009 @if uudecode
25010 maybe-dvi-uudecode: dvi-uudecode
25012 dvi-uudecode: \
25013 configure-uudecode
25014 @: $(MAKE); $(unstage)
25015 @[ -f ./uudecode/Makefile ] || exit 0; \
25016 r=`${PWD_COMMAND}`; export r; \
25017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25018 $(HOST_EXPORTS) \
25019 for flag in $(EXTRA_HOST_FLAGS) ; do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 echo "Doing dvi in uudecode" ; \
25023 (cd $(HOST_SUBDIR)/uudecode && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25028 dvi) \
25029 || exit 1
25031 @endif uudecode
25033 .PHONY: maybe-html-uudecode html-uudecode
25034 maybe-html-uudecode:
25035 @if uudecode
25036 maybe-html-uudecode: html-uudecode
25038 html-uudecode: \
25039 configure-uudecode
25040 @: $(MAKE); $(unstage)
25041 @[ -f ./uudecode/Makefile ] || exit 0; \
25042 r=`${PWD_COMMAND}`; export r; \
25043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25044 $(HOST_EXPORTS) \
25045 for flag in $(EXTRA_HOST_FLAGS) ; do \
25046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25047 done; \
25048 echo "Doing html in uudecode" ; \
25049 (cd $(HOST_SUBDIR)/uudecode && \
25050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25052 "RANLIB=$${RANLIB}" \
25053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25054 html) \
25055 || exit 1
25057 @endif uudecode
25059 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25060 maybe-TAGS-uudecode:
25061 @if uudecode
25062 maybe-TAGS-uudecode: TAGS-uudecode
25064 TAGS-uudecode: \
25065 configure-uudecode
25066 @: $(MAKE); $(unstage)
25067 @[ -f ./uudecode/Makefile ] || exit 0; \
25068 r=`${PWD_COMMAND}`; export r; \
25069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25070 $(HOST_EXPORTS) \
25071 for flag in $(EXTRA_HOST_FLAGS) ; do \
25072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25073 done; \
25074 echo "Doing TAGS in uudecode" ; \
25075 (cd $(HOST_SUBDIR)/uudecode && \
25076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25078 "RANLIB=$${RANLIB}" \
25079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25080 TAGS) \
25081 || exit 1
25083 @endif uudecode
25085 .PHONY: maybe-install-info-uudecode install-info-uudecode
25086 maybe-install-info-uudecode:
25087 @if uudecode
25088 maybe-install-info-uudecode: install-info-uudecode
25090 install-info-uudecode: \
25091 configure-uudecode \
25092 info-uudecode
25093 @: $(MAKE); $(unstage)
25094 @[ -f ./uudecode/Makefile ] || exit 0; \
25095 r=`${PWD_COMMAND}`; export r; \
25096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25097 $(HOST_EXPORTS) \
25098 for flag in $(EXTRA_HOST_FLAGS) ; do \
25099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25100 done; \
25101 echo "Doing install-info in uudecode" ; \
25102 (cd $(HOST_SUBDIR)/uudecode && \
25103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25105 "RANLIB=$${RANLIB}" \
25106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25107 install-info) \
25108 || exit 1
25110 @endif uudecode
25112 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25113 maybe-installcheck-uudecode:
25114 @if uudecode
25115 maybe-installcheck-uudecode: installcheck-uudecode
25117 installcheck-uudecode: \
25118 configure-uudecode
25119 @: $(MAKE); $(unstage)
25120 @[ -f ./uudecode/Makefile ] || exit 0; \
25121 r=`${PWD_COMMAND}`; export r; \
25122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25123 $(HOST_EXPORTS) \
25124 for flag in $(EXTRA_HOST_FLAGS) ; do \
25125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25126 done; \
25127 echo "Doing installcheck in uudecode" ; \
25128 (cd $(HOST_SUBDIR)/uudecode && \
25129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25131 "RANLIB=$${RANLIB}" \
25132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25133 installcheck) \
25134 || exit 1
25136 @endif uudecode
25138 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25139 maybe-mostlyclean-uudecode:
25140 @if uudecode
25141 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25143 mostlyclean-uudecode:
25144 @: $(MAKE); $(unstage)
25145 @[ -f ./uudecode/Makefile ] || exit 0; \
25146 r=`${PWD_COMMAND}`; export r; \
25147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25148 $(HOST_EXPORTS) \
25149 for flag in $(EXTRA_HOST_FLAGS) ; do \
25150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25151 done; \
25152 echo "Doing mostlyclean in uudecode" ; \
25153 (cd $(HOST_SUBDIR)/uudecode && \
25154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25156 "RANLIB=$${RANLIB}" \
25157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25158 mostlyclean) \
25159 || exit 1
25161 @endif uudecode
25163 .PHONY: maybe-clean-uudecode clean-uudecode
25164 maybe-clean-uudecode:
25165 @if uudecode
25166 maybe-clean-uudecode: clean-uudecode
25168 clean-uudecode:
25169 @: $(MAKE); $(unstage)
25170 @[ -f ./uudecode/Makefile ] || exit 0; \
25171 r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 $(HOST_EXPORTS) \
25174 for flag in $(EXTRA_HOST_FLAGS) ; do \
25175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25176 done; \
25177 echo "Doing clean in uudecode" ; \
25178 (cd $(HOST_SUBDIR)/uudecode && \
25179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25181 "RANLIB=$${RANLIB}" \
25182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25183 clean) \
25184 || exit 1
25186 @endif uudecode
25188 .PHONY: maybe-distclean-uudecode distclean-uudecode
25189 maybe-distclean-uudecode:
25190 @if uudecode
25191 maybe-distclean-uudecode: distclean-uudecode
25193 distclean-uudecode:
25194 @: $(MAKE); $(unstage)
25195 @[ -f ./uudecode/Makefile ] || exit 0; \
25196 r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(HOST_EXPORTS) \
25199 for flag in $(EXTRA_HOST_FLAGS) ; do \
25200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25201 done; \
25202 echo "Doing distclean in uudecode" ; \
25203 (cd $(HOST_SUBDIR)/uudecode && \
25204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25206 "RANLIB=$${RANLIB}" \
25207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25208 distclean) \
25209 || exit 1
25211 @endif uudecode
25213 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25214 maybe-maintainer-clean-uudecode:
25215 @if uudecode
25216 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25218 maintainer-clean-uudecode:
25219 @: $(MAKE); $(unstage)
25220 @[ -f ./uudecode/Makefile ] || exit 0; \
25221 r=`${PWD_COMMAND}`; export r; \
25222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25223 $(HOST_EXPORTS) \
25224 for flag in $(EXTRA_HOST_FLAGS) ; do \
25225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25226 done; \
25227 echo "Doing maintainer-clean in uudecode" ; \
25228 (cd $(HOST_SUBDIR)/uudecode && \
25229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25231 "RANLIB=$${RANLIB}" \
25232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25233 maintainer-clean) \
25234 || exit 1
25236 @endif uudecode
25240 .PHONY: configure-wdiff maybe-configure-wdiff
25241 maybe-configure-wdiff:
25242 @if wdiff
25243 maybe-configure-wdiff: configure-wdiff
25244 configure-wdiff:
25245 @: $(MAKE); $(unstage)
25246 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25248 r=`${PWD_COMMAND}`; export r; \
25249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25250 $(HOST_EXPORTS) \
25251 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25252 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25253 case $(srcdir) in \
25254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25255 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25257 esac; \
25258 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25259 libsrcdir="$$s/wdiff"; \
25260 $(SHELL) $${libsrcdir}/configure \
25261 $(HOST_CONFIGARGS) $${srcdiroption} \
25262 || exit 1
25263 @endif wdiff
25269 .PHONY: all-wdiff maybe-all-wdiff
25270 maybe-all-wdiff:
25271 @if wdiff
25272 TARGET-wdiff=all
25273 maybe-all-wdiff: all-wdiff
25274 all-wdiff: configure-wdiff
25275 @: $(MAKE); $(unstage)
25276 @r=`${PWD_COMMAND}`; export r; \
25277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25278 $(HOST_EXPORTS) \
25279 (cd $(HOST_SUBDIR)/wdiff && \
25280 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25281 @endif wdiff
25286 .PHONY: check-wdiff maybe-check-wdiff
25287 maybe-check-wdiff:
25288 @if wdiff
25289 maybe-check-wdiff: check-wdiff
25291 check-wdiff:
25292 @: $(MAKE); $(unstage)
25293 @r=`${PWD_COMMAND}`; export r; \
25294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25295 $(HOST_EXPORTS) \
25296 (cd $(HOST_SUBDIR)/wdiff && \
25297 $(MAKE) $(FLAGS_TO_PASS) check)
25299 @endif wdiff
25301 .PHONY: install-wdiff maybe-install-wdiff
25302 maybe-install-wdiff:
25303 @if wdiff
25304 maybe-install-wdiff: install-wdiff
25306 install-wdiff: installdirs
25307 @: $(MAKE); $(unstage)
25308 @r=`${PWD_COMMAND}`; export r; \
25309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25310 $(HOST_EXPORTS) \
25311 (cd $(HOST_SUBDIR)/wdiff && \
25312 $(MAKE) $(FLAGS_TO_PASS) install)
25314 @endif wdiff
25316 # Other targets (info, dvi, etc.)
25318 .PHONY: maybe-info-wdiff info-wdiff
25319 maybe-info-wdiff:
25320 @if wdiff
25321 maybe-info-wdiff: info-wdiff
25323 info-wdiff: \
25324 configure-wdiff
25325 @: $(MAKE); $(unstage)
25326 @[ -f ./wdiff/Makefile ] || exit 0; \
25327 r=`${PWD_COMMAND}`; export r; \
25328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25329 $(HOST_EXPORTS) \
25330 for flag in $(EXTRA_HOST_FLAGS) ; do \
25331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25332 done; \
25333 echo "Doing info in wdiff" ; \
25334 (cd $(HOST_SUBDIR)/wdiff && \
25335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25337 "RANLIB=$${RANLIB}" \
25338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25339 info) \
25340 || exit 1
25342 @endif wdiff
25344 .PHONY: maybe-dvi-wdiff dvi-wdiff
25345 maybe-dvi-wdiff:
25346 @if wdiff
25347 maybe-dvi-wdiff: dvi-wdiff
25349 dvi-wdiff: \
25350 configure-wdiff
25351 @: $(MAKE); $(unstage)
25352 @[ -f ./wdiff/Makefile ] || exit 0; \
25353 r=`${PWD_COMMAND}`; export r; \
25354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25355 $(HOST_EXPORTS) \
25356 for flag in $(EXTRA_HOST_FLAGS) ; do \
25357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25358 done; \
25359 echo "Doing dvi in wdiff" ; \
25360 (cd $(HOST_SUBDIR)/wdiff && \
25361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25363 "RANLIB=$${RANLIB}" \
25364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25365 dvi) \
25366 || exit 1
25368 @endif wdiff
25370 .PHONY: maybe-html-wdiff html-wdiff
25371 maybe-html-wdiff:
25372 @if wdiff
25373 maybe-html-wdiff: html-wdiff
25375 html-wdiff: \
25376 configure-wdiff
25377 @: $(MAKE); $(unstage)
25378 @[ -f ./wdiff/Makefile ] || exit 0; \
25379 r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25381 $(HOST_EXPORTS) \
25382 for flag in $(EXTRA_HOST_FLAGS) ; do \
25383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25384 done; \
25385 echo "Doing html in wdiff" ; \
25386 (cd $(HOST_SUBDIR)/wdiff && \
25387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25389 "RANLIB=$${RANLIB}" \
25390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25391 html) \
25392 || exit 1
25394 @endif wdiff
25396 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25397 maybe-TAGS-wdiff:
25398 @if wdiff
25399 maybe-TAGS-wdiff: TAGS-wdiff
25401 TAGS-wdiff: \
25402 configure-wdiff
25403 @: $(MAKE); $(unstage)
25404 @[ -f ./wdiff/Makefile ] || exit 0; \
25405 r=`${PWD_COMMAND}`; export r; \
25406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 $(HOST_EXPORTS) \
25408 for flag in $(EXTRA_HOST_FLAGS) ; do \
25409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25410 done; \
25411 echo "Doing TAGS in wdiff" ; \
25412 (cd $(HOST_SUBDIR)/wdiff && \
25413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25415 "RANLIB=$${RANLIB}" \
25416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25417 TAGS) \
25418 || exit 1
25420 @endif wdiff
25422 .PHONY: maybe-install-info-wdiff install-info-wdiff
25423 maybe-install-info-wdiff:
25424 @if wdiff
25425 maybe-install-info-wdiff: install-info-wdiff
25427 install-info-wdiff: \
25428 configure-wdiff \
25429 info-wdiff
25430 @: $(MAKE); $(unstage)
25431 @[ -f ./wdiff/Makefile ] || exit 0; \
25432 r=`${PWD_COMMAND}`; export r; \
25433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25434 $(HOST_EXPORTS) \
25435 for flag in $(EXTRA_HOST_FLAGS) ; do \
25436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25437 done; \
25438 echo "Doing install-info in wdiff" ; \
25439 (cd $(HOST_SUBDIR)/wdiff && \
25440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25442 "RANLIB=$${RANLIB}" \
25443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25444 install-info) \
25445 || exit 1
25447 @endif wdiff
25449 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25450 maybe-installcheck-wdiff:
25451 @if wdiff
25452 maybe-installcheck-wdiff: installcheck-wdiff
25454 installcheck-wdiff: \
25455 configure-wdiff
25456 @: $(MAKE); $(unstage)
25457 @[ -f ./wdiff/Makefile ] || exit 0; \
25458 r=`${PWD_COMMAND}`; export r; \
25459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 $(HOST_EXPORTS) \
25461 for flag in $(EXTRA_HOST_FLAGS) ; do \
25462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25463 done; \
25464 echo "Doing installcheck in wdiff" ; \
25465 (cd $(HOST_SUBDIR)/wdiff && \
25466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25468 "RANLIB=$${RANLIB}" \
25469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25470 installcheck) \
25471 || exit 1
25473 @endif wdiff
25475 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25476 maybe-mostlyclean-wdiff:
25477 @if wdiff
25478 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25480 mostlyclean-wdiff:
25481 @: $(MAKE); $(unstage)
25482 @[ -f ./wdiff/Makefile ] || exit 0; \
25483 r=`${PWD_COMMAND}`; export r; \
25484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25485 $(HOST_EXPORTS) \
25486 for flag in $(EXTRA_HOST_FLAGS) ; do \
25487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25488 done; \
25489 echo "Doing mostlyclean in wdiff" ; \
25490 (cd $(HOST_SUBDIR)/wdiff && \
25491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25493 "RANLIB=$${RANLIB}" \
25494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25495 mostlyclean) \
25496 || exit 1
25498 @endif wdiff
25500 .PHONY: maybe-clean-wdiff clean-wdiff
25501 maybe-clean-wdiff:
25502 @if wdiff
25503 maybe-clean-wdiff: clean-wdiff
25505 clean-wdiff:
25506 @: $(MAKE); $(unstage)
25507 @[ -f ./wdiff/Makefile ] || exit 0; \
25508 r=`${PWD_COMMAND}`; export r; \
25509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25510 $(HOST_EXPORTS) \
25511 for flag in $(EXTRA_HOST_FLAGS) ; do \
25512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25513 done; \
25514 echo "Doing clean in wdiff" ; \
25515 (cd $(HOST_SUBDIR)/wdiff && \
25516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25518 "RANLIB=$${RANLIB}" \
25519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25520 clean) \
25521 || exit 1
25523 @endif wdiff
25525 .PHONY: maybe-distclean-wdiff distclean-wdiff
25526 maybe-distclean-wdiff:
25527 @if wdiff
25528 maybe-distclean-wdiff: distclean-wdiff
25530 distclean-wdiff:
25531 @: $(MAKE); $(unstage)
25532 @[ -f ./wdiff/Makefile ] || exit 0; \
25533 r=`${PWD_COMMAND}`; export r; \
25534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 $(HOST_EXPORTS) \
25536 for flag in $(EXTRA_HOST_FLAGS) ; do \
25537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25538 done; \
25539 echo "Doing distclean in wdiff" ; \
25540 (cd $(HOST_SUBDIR)/wdiff && \
25541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25543 "RANLIB=$${RANLIB}" \
25544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25545 distclean) \
25546 || exit 1
25548 @endif wdiff
25550 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25551 maybe-maintainer-clean-wdiff:
25552 @if wdiff
25553 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25555 maintainer-clean-wdiff:
25556 @: $(MAKE); $(unstage)
25557 @[ -f ./wdiff/Makefile ] || exit 0; \
25558 r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 $(HOST_EXPORTS) \
25561 for flag in $(EXTRA_HOST_FLAGS) ; do \
25562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25563 done; \
25564 echo "Doing maintainer-clean in wdiff" ; \
25565 (cd $(HOST_SUBDIR)/wdiff && \
25566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25568 "RANLIB=$${RANLIB}" \
25569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25570 maintainer-clean) \
25571 || exit 1
25573 @endif wdiff
25577 .PHONY: configure-zip maybe-configure-zip
25578 maybe-configure-zip:
25579 @if zip
25580 maybe-configure-zip: configure-zip
25581 configure-zip:
25582 @: $(MAKE); $(unstage)
25583 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25584 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25585 r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(HOST_EXPORTS) \
25588 echo Configuring in $(HOST_SUBDIR)/zip; \
25589 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25590 case $(srcdir) in \
25591 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25592 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25593 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25594 esac; \
25595 srcdiroption="--srcdir=$${topdir}/zip"; \
25596 libsrcdir="$$s/zip"; \
25597 $(SHELL) $${libsrcdir}/configure \
25598 $(HOST_CONFIGARGS) $${srcdiroption} \
25599 || exit 1
25600 @endif zip
25606 .PHONY: all-zip maybe-all-zip
25607 maybe-all-zip:
25608 @if zip
25609 TARGET-zip=all
25610 maybe-all-zip: all-zip
25611 all-zip: configure-zip
25612 @: $(MAKE); $(unstage)
25613 @r=`${PWD_COMMAND}`; export r; \
25614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25615 $(HOST_EXPORTS) \
25616 (cd $(HOST_SUBDIR)/zip && \
25617 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25618 @endif zip
25623 .PHONY: check-zip maybe-check-zip
25624 maybe-check-zip:
25625 @if zip
25626 maybe-check-zip: check-zip
25628 # This module is only tested in a native toolchain.
25629 check-zip:
25630 @: $(MAKE); $(unstage)
25631 @if [ '$(host)' = '$(target)' ] ; then \
25632 r=`${PWD_COMMAND}`; export r; \
25633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25634 $(HOST_EXPORTS) \
25635 (cd $(HOST_SUBDIR)/zip && \
25636 $(MAKE) $(FLAGS_TO_PASS) check); \
25639 @endif zip
25641 .PHONY: install-zip maybe-install-zip
25642 maybe-install-zip:
25643 @if zip
25644 maybe-install-zip: install-zip
25646 install-zip: installdirs
25647 @: $(MAKE); $(unstage)
25648 @r=`${PWD_COMMAND}`; export r; \
25649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25650 $(HOST_EXPORTS) \
25651 (cd $(HOST_SUBDIR)/zip && \
25652 $(MAKE) $(FLAGS_TO_PASS) install)
25654 @endif zip
25656 # Other targets (info, dvi, etc.)
25658 .PHONY: maybe-info-zip info-zip
25659 maybe-info-zip:
25660 @if zip
25661 maybe-info-zip: info-zip
25663 info-zip: \
25664 configure-zip
25665 @: $(MAKE); $(unstage)
25666 @[ -f ./zip/Makefile ] || exit 0; \
25667 r=`${PWD_COMMAND}`; export r; \
25668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25669 $(HOST_EXPORTS) \
25670 for flag in $(EXTRA_HOST_FLAGS) ; do \
25671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25672 done; \
25673 echo "Doing info in zip" ; \
25674 (cd $(HOST_SUBDIR)/zip && \
25675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25677 "RANLIB=$${RANLIB}" \
25678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25679 info) \
25680 || exit 1
25682 @endif zip
25684 .PHONY: maybe-dvi-zip dvi-zip
25685 maybe-dvi-zip:
25686 @if zip
25687 maybe-dvi-zip: dvi-zip
25689 dvi-zip: \
25690 configure-zip
25691 @: $(MAKE); $(unstage)
25692 @[ -f ./zip/Makefile ] || exit 0; \
25693 r=`${PWD_COMMAND}`; export r; \
25694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25695 $(HOST_EXPORTS) \
25696 for flag in $(EXTRA_HOST_FLAGS) ; do \
25697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25698 done; \
25699 echo "Doing dvi in zip" ; \
25700 (cd $(HOST_SUBDIR)/zip && \
25701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25703 "RANLIB=$${RANLIB}" \
25704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25705 dvi) \
25706 || exit 1
25708 @endif zip
25710 .PHONY: maybe-html-zip html-zip
25711 maybe-html-zip:
25712 @if zip
25713 maybe-html-zip: html-zip
25715 html-zip: \
25716 configure-zip
25717 @: $(MAKE); $(unstage)
25718 @[ -f ./zip/Makefile ] || exit 0; \
25719 r=`${PWD_COMMAND}`; export r; \
25720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25721 $(HOST_EXPORTS) \
25722 for flag in $(EXTRA_HOST_FLAGS) ; do \
25723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25724 done; \
25725 echo "Doing html in zip" ; \
25726 (cd $(HOST_SUBDIR)/zip && \
25727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25729 "RANLIB=$${RANLIB}" \
25730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25731 html) \
25732 || exit 1
25734 @endif zip
25736 .PHONY: maybe-TAGS-zip TAGS-zip
25737 maybe-TAGS-zip:
25738 @if zip
25739 maybe-TAGS-zip: TAGS-zip
25741 TAGS-zip: \
25742 configure-zip
25743 @: $(MAKE); $(unstage)
25744 @[ -f ./zip/Makefile ] || exit 0; \
25745 r=`${PWD_COMMAND}`; export r; \
25746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25747 $(HOST_EXPORTS) \
25748 for flag in $(EXTRA_HOST_FLAGS) ; do \
25749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25750 done; \
25751 echo "Doing TAGS in zip" ; \
25752 (cd $(HOST_SUBDIR)/zip && \
25753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25755 "RANLIB=$${RANLIB}" \
25756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25757 TAGS) \
25758 || exit 1
25760 @endif zip
25762 .PHONY: maybe-install-info-zip install-info-zip
25763 maybe-install-info-zip:
25764 @if zip
25765 maybe-install-info-zip: install-info-zip
25767 install-info-zip: \
25768 configure-zip \
25769 info-zip
25770 @: $(MAKE); $(unstage)
25771 @[ -f ./zip/Makefile ] || exit 0; \
25772 r=`${PWD_COMMAND}`; export r; \
25773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25774 $(HOST_EXPORTS) \
25775 for flag in $(EXTRA_HOST_FLAGS) ; do \
25776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25777 done; \
25778 echo "Doing install-info in zip" ; \
25779 (cd $(HOST_SUBDIR)/zip && \
25780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25782 "RANLIB=$${RANLIB}" \
25783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25784 install-info) \
25785 || exit 1
25787 @endif zip
25789 .PHONY: maybe-installcheck-zip installcheck-zip
25790 maybe-installcheck-zip:
25791 @if zip
25792 maybe-installcheck-zip: installcheck-zip
25794 installcheck-zip: \
25795 configure-zip
25796 @: $(MAKE); $(unstage)
25797 @[ -f ./zip/Makefile ] || exit 0; \
25798 r=`${PWD_COMMAND}`; export r; \
25799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25800 $(HOST_EXPORTS) \
25801 for flag in $(EXTRA_HOST_FLAGS) ; do \
25802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25803 done; \
25804 echo "Doing installcheck in zip" ; \
25805 (cd $(HOST_SUBDIR)/zip && \
25806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25808 "RANLIB=$${RANLIB}" \
25809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25810 installcheck) \
25811 || exit 1
25813 @endif zip
25815 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25816 maybe-mostlyclean-zip:
25817 @if zip
25818 maybe-mostlyclean-zip: mostlyclean-zip
25820 mostlyclean-zip:
25821 @: $(MAKE); $(unstage)
25822 @[ -f ./zip/Makefile ] || exit 0; \
25823 r=`${PWD_COMMAND}`; export r; \
25824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25825 $(HOST_EXPORTS) \
25826 for flag in $(EXTRA_HOST_FLAGS) ; do \
25827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25828 done; \
25829 echo "Doing mostlyclean in zip" ; \
25830 (cd $(HOST_SUBDIR)/zip && \
25831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25833 "RANLIB=$${RANLIB}" \
25834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25835 mostlyclean) \
25836 || exit 1
25838 @endif zip
25840 .PHONY: maybe-clean-zip clean-zip
25841 maybe-clean-zip:
25842 @if zip
25843 maybe-clean-zip: clean-zip
25845 clean-zip:
25846 @: $(MAKE); $(unstage)
25847 @[ -f ./zip/Makefile ] || exit 0; \
25848 r=`${PWD_COMMAND}`; export r; \
25849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25850 $(HOST_EXPORTS) \
25851 for flag in $(EXTRA_HOST_FLAGS) ; do \
25852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25853 done; \
25854 echo "Doing clean in zip" ; \
25855 (cd $(HOST_SUBDIR)/zip && \
25856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25858 "RANLIB=$${RANLIB}" \
25859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25860 clean) \
25861 || exit 1
25863 @endif zip
25865 .PHONY: maybe-distclean-zip distclean-zip
25866 maybe-distclean-zip:
25867 @if zip
25868 maybe-distclean-zip: distclean-zip
25870 distclean-zip:
25871 @: $(MAKE); $(unstage)
25872 @[ -f ./zip/Makefile ] || exit 0; \
25873 r=`${PWD_COMMAND}`; export r; \
25874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25875 $(HOST_EXPORTS) \
25876 for flag in $(EXTRA_HOST_FLAGS) ; do \
25877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25878 done; \
25879 echo "Doing distclean in zip" ; \
25880 (cd $(HOST_SUBDIR)/zip && \
25881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25883 "RANLIB=$${RANLIB}" \
25884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25885 distclean) \
25886 || exit 1
25888 @endif zip
25890 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25891 maybe-maintainer-clean-zip:
25892 @if zip
25893 maybe-maintainer-clean-zip: maintainer-clean-zip
25895 maintainer-clean-zip:
25896 @: $(MAKE); $(unstage)
25897 @[ -f ./zip/Makefile ] || exit 0; \
25898 r=`${PWD_COMMAND}`; export r; \
25899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25900 $(HOST_EXPORTS) \
25901 for flag in $(EXTRA_HOST_FLAGS) ; do \
25902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25903 done; \
25904 echo "Doing maintainer-clean in zip" ; \
25905 (cd $(HOST_SUBDIR)/zip && \
25906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25908 "RANLIB=$${RANLIB}" \
25909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25910 maintainer-clean) \
25911 || exit 1
25913 @endif zip
25917 .PHONY: configure-zlib maybe-configure-zlib
25918 maybe-configure-zlib:
25919 @if zlib
25920 maybe-configure-zlib: configure-zlib
25921 configure-zlib:
25922 @test -f stage_last && exit 0; \
25923 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25925 r=`${PWD_COMMAND}`; export r; \
25926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25927 $(HOST_EXPORTS) \
25928 echo Configuring in $(HOST_SUBDIR)/zlib; \
25929 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25930 case $(srcdir) in \
25931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25932 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25934 esac; \
25935 srcdiroption="--srcdir=$${topdir}/zlib"; \
25936 libsrcdir="$$s/zlib"; \
25937 $(SHELL) $${libsrcdir}/configure \
25938 $(HOST_CONFIGARGS) $${srcdiroption} \
25939 || exit 1
25940 @endif zlib
25944 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25945 maybe-configure-stage1-zlib:
25946 @if zlib-bootstrap
25947 maybe-configure-stage1-zlib: configure-stage1-zlib
25948 configure-stage1-zlib:
25949 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25951 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25952 $(HOST_EXPORTS) \
25953 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25955 cd $(HOST_SUBDIR)/zlib || exit 1; \
25956 case $(srcdir) in \
25957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25958 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25960 esac; \
25961 srcdiroption="--srcdir=$${topdir}/zlib"; \
25962 libsrcdir="$$s/zlib"; \
25963 $(SHELL) $${libsrcdir}/configure \
25964 $(HOST_CONFIGARGS) $${srcdiroption} \
25965 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25966 @endif zlib-bootstrap
25968 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25969 maybe-configure-stage2-zlib:
25970 @if zlib-bootstrap
25971 maybe-configure-stage2-zlib: configure-stage2-zlib
25972 configure-stage2-zlib:
25973 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25975 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25976 $(HOST_EXPORTS) \
25977 $(POSTSTAGE1_HOST_EXPORTS) \
25978 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25980 cd $(HOST_SUBDIR)/zlib || exit 1; \
25981 case $(srcdir) in \
25982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25983 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25985 esac; \
25986 srcdiroption="--srcdir=$${topdir}/zlib"; \
25987 libsrcdir="$$s/zlib"; \
25988 $(SHELL) $${libsrcdir}/configure \
25989 $(HOST_CONFIGARGS) $${srcdiroption} \
25990 @stage2_werror_flag@
25991 @endif zlib-bootstrap
25993 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25994 maybe-configure-stage3-zlib:
25995 @if zlib-bootstrap
25996 maybe-configure-stage3-zlib: configure-stage3-zlib
25997 configure-stage3-zlib:
25998 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26000 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26001 $(HOST_EXPORTS) \
26002 $(POSTSTAGE1_HOST_EXPORTS) \
26003 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26005 cd $(HOST_SUBDIR)/zlib || exit 1; \
26006 case $(srcdir) in \
26007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26008 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26010 esac; \
26011 srcdiroption="--srcdir=$${topdir}/zlib"; \
26012 libsrcdir="$$s/zlib"; \
26013 $(SHELL) $${libsrcdir}/configure \
26014 $(HOST_CONFIGARGS) $${srcdiroption} \
26015 @stage2_werror_flag@
26016 @endif zlib-bootstrap
26018 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26019 maybe-configure-stage4-zlib:
26020 @if zlib-bootstrap
26021 maybe-configure-stage4-zlib: configure-stage4-zlib
26022 configure-stage4-zlib:
26023 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26025 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26026 $(HOST_EXPORTS) \
26027 $(POSTSTAGE1_HOST_EXPORTS) \
26028 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26030 cd $(HOST_SUBDIR)/zlib || exit 1; \
26031 case $(srcdir) in \
26032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26033 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26035 esac; \
26036 srcdiroption="--srcdir=$${topdir}/zlib"; \
26037 libsrcdir="$$s/zlib"; \
26038 $(SHELL) $${libsrcdir}/configure \
26039 $(HOST_CONFIGARGS) $${srcdiroption} \
26040 @stage2_werror_flag@
26041 @endif zlib-bootstrap
26043 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26044 maybe-configure-stageprofile-zlib:
26045 @if zlib-bootstrap
26046 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26047 configure-stageprofile-zlib:
26048 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26050 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26051 $(HOST_EXPORTS) \
26052 $(POSTSTAGE1_HOST_EXPORTS) \
26053 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26055 cd $(HOST_SUBDIR)/zlib || exit 1; \
26056 case $(srcdir) in \
26057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26058 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26060 esac; \
26061 srcdiroption="--srcdir=$${topdir}/zlib"; \
26062 libsrcdir="$$s/zlib"; \
26063 $(SHELL) $${libsrcdir}/configure \
26064 $(HOST_CONFIGARGS) $${srcdiroption} \
26065 @stage2_werror_flag@
26066 @endif zlib-bootstrap
26068 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26069 maybe-configure-stagefeedback-zlib:
26070 @if zlib-bootstrap
26071 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26072 configure-stagefeedback-zlib:
26073 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26075 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26076 $(HOST_EXPORTS) \
26077 $(POSTSTAGE1_HOST_EXPORTS) \
26078 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26080 cd $(HOST_SUBDIR)/zlib || exit 1; \
26081 case $(srcdir) in \
26082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26083 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26085 esac; \
26086 srcdiroption="--srcdir=$${topdir}/zlib"; \
26087 libsrcdir="$$s/zlib"; \
26088 $(SHELL) $${libsrcdir}/configure \
26089 $(HOST_CONFIGARGS) $${srcdiroption} \
26090 @stage2_werror_flag@
26091 @endif zlib-bootstrap
26097 .PHONY: all-zlib maybe-all-zlib
26098 maybe-all-zlib:
26099 @if zlib
26100 TARGET-zlib=all
26101 maybe-all-zlib: all-zlib
26102 all-zlib: configure-zlib
26103 @test -f stage_last && exit 0; \
26104 r=`${PWD_COMMAND}`; export r; \
26105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26106 $(HOST_EXPORTS) \
26107 (cd $(HOST_SUBDIR)/zlib && \
26108 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26109 @endif zlib
26113 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26114 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26115 maybe-all-stage1-zlib:
26116 maybe-clean-stage1-zlib:
26117 @if zlib-bootstrap
26118 maybe-all-stage1-zlib: all-stage1-zlib
26119 all-stage1: all-stage1-zlib
26120 TARGET-stage1-zlib = $(TARGET-zlib)
26121 all-stage1-zlib: configure-stage1-zlib
26122 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26123 @r=`${PWD_COMMAND}`; export r; \
26124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26125 $(HOST_EXPORTS) \
26126 cd $(HOST_SUBDIR)/zlib && \
26127 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26128 $(TARGET-stage1-zlib)
26130 maybe-clean-stage1-zlib: clean-stage1-zlib
26131 clean-stage1: clean-stage1-zlib
26132 clean-stage1-zlib:
26133 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26134 || exit 0 ; \
26135 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26136 cd $(HOST_SUBDIR)/zlib && \
26137 $(MAKE) $(FLAGS_TO_PASS) \
26138 CFLAGS="$(STAGE1_CFLAGS)" clean
26139 @endif zlib-bootstrap
26142 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26143 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26144 maybe-all-stage2-zlib:
26145 maybe-clean-stage2-zlib:
26146 @if zlib-bootstrap
26147 maybe-all-stage2-zlib: all-stage2-zlib
26148 all-stage2: all-stage2-zlib
26149 TARGET-stage2-zlib = $(TARGET-zlib)
26150 all-stage2-zlib: configure-stage2-zlib
26151 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26152 @r=`${PWD_COMMAND}`; export r; \
26153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26154 $(HOST_EXPORTS) \
26155 $(POSTSTAGE1_HOST_EXPORTS) \
26156 cd $(HOST_SUBDIR)/zlib && \
26157 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26158 $(TARGET-stage2-zlib)
26160 maybe-clean-stage2-zlib: clean-stage2-zlib
26161 clean-stage2: clean-stage2-zlib
26162 clean-stage2-zlib:
26163 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26164 || exit 0 ; \
26165 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26166 cd $(HOST_SUBDIR)/zlib && \
26167 $(MAKE) $(FLAGS_TO_PASS) \
26168 $(POSTSTAGE1_FLAGS_TO_PASS) \
26169 clean
26170 @endif zlib-bootstrap
26173 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26174 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26175 maybe-all-stage3-zlib:
26176 maybe-clean-stage3-zlib:
26177 @if zlib-bootstrap
26178 maybe-all-stage3-zlib: all-stage3-zlib
26179 all-stage3: all-stage3-zlib
26180 TARGET-stage3-zlib = $(TARGET-zlib)
26181 all-stage3-zlib: configure-stage3-zlib
26182 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26183 @r=`${PWD_COMMAND}`; export r; \
26184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26185 $(HOST_EXPORTS) \
26186 $(POSTSTAGE1_HOST_EXPORTS) \
26187 cd $(HOST_SUBDIR)/zlib && \
26188 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26189 $(TARGET-stage3-zlib)
26191 maybe-clean-stage3-zlib: clean-stage3-zlib
26192 clean-stage3: clean-stage3-zlib
26193 clean-stage3-zlib:
26194 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26195 || exit 0 ; \
26196 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26197 cd $(HOST_SUBDIR)/zlib && \
26198 $(MAKE) $(FLAGS_TO_PASS) \
26199 $(POSTSTAGE1_FLAGS_TO_PASS) \
26200 clean
26201 @endif zlib-bootstrap
26204 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26205 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26206 maybe-all-stage4-zlib:
26207 maybe-clean-stage4-zlib:
26208 @if zlib-bootstrap
26209 maybe-all-stage4-zlib: all-stage4-zlib
26210 all-stage4: all-stage4-zlib
26211 TARGET-stage4-zlib = $(TARGET-zlib)
26212 all-stage4-zlib: configure-stage4-zlib
26213 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26214 @r=`${PWD_COMMAND}`; export r; \
26215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26216 $(HOST_EXPORTS) \
26217 $(POSTSTAGE1_HOST_EXPORTS) \
26218 cd $(HOST_SUBDIR)/zlib && \
26219 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26220 $(TARGET-stage4-zlib)
26222 maybe-clean-stage4-zlib: clean-stage4-zlib
26223 clean-stage4: clean-stage4-zlib
26224 clean-stage4-zlib:
26225 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26226 || exit 0 ; \
26227 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26228 cd $(HOST_SUBDIR)/zlib && \
26229 $(MAKE) $(FLAGS_TO_PASS) \
26230 $(POSTSTAGE1_FLAGS_TO_PASS) \
26231 clean
26232 @endif zlib-bootstrap
26235 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26236 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26237 maybe-all-stageprofile-zlib:
26238 maybe-clean-stageprofile-zlib:
26239 @if zlib-bootstrap
26240 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26241 all-stageprofile: all-stageprofile-zlib
26242 TARGET-stageprofile-zlib = $(TARGET-zlib)
26243 all-stageprofile-zlib: configure-stageprofile-zlib
26244 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26245 @r=`${PWD_COMMAND}`; export r; \
26246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26247 $(HOST_EXPORTS) \
26248 $(POSTSTAGE1_HOST_EXPORTS) \
26249 cd $(HOST_SUBDIR)/zlib && \
26250 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26251 $(TARGET-stageprofile-zlib)
26253 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26254 clean-stageprofile: clean-stageprofile-zlib
26255 clean-stageprofile-zlib:
26256 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26257 || exit 0 ; \
26258 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26259 cd $(HOST_SUBDIR)/zlib && \
26260 $(MAKE) $(FLAGS_TO_PASS) \
26261 $(POSTSTAGE1_FLAGS_TO_PASS) \
26262 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26263 @endif zlib-bootstrap
26266 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26267 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26268 maybe-all-stagefeedback-zlib:
26269 maybe-clean-stagefeedback-zlib:
26270 @if zlib-bootstrap
26271 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26272 all-stagefeedback: all-stagefeedback-zlib
26273 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26274 all-stagefeedback-zlib: configure-stagefeedback-zlib
26275 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26276 @r=`${PWD_COMMAND}`; export r; \
26277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26278 $(HOST_EXPORTS) \
26279 $(POSTSTAGE1_HOST_EXPORTS) \
26280 cd $(HOST_SUBDIR)/zlib && \
26281 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26282 $(TARGET-stagefeedback-zlib)
26284 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26285 clean-stagefeedback: clean-stagefeedback-zlib
26286 clean-stagefeedback-zlib:
26287 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26288 || exit 0 ; \
26289 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26290 cd $(HOST_SUBDIR)/zlib && \
26291 $(MAKE) $(FLAGS_TO_PASS) \
26292 $(POSTSTAGE1_FLAGS_TO_PASS) \
26293 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26294 @endif zlib-bootstrap
26300 .PHONY: check-zlib maybe-check-zlib
26301 maybe-check-zlib:
26302 @if zlib
26303 maybe-check-zlib: check-zlib
26305 check-zlib:
26307 @endif zlib
26309 .PHONY: install-zlib maybe-install-zlib
26310 maybe-install-zlib:
26311 @if zlib
26312 maybe-install-zlib: install-zlib
26314 install-zlib:
26316 @endif zlib
26318 # Other targets (info, dvi, etc.)
26320 .PHONY: maybe-info-zlib info-zlib
26321 maybe-info-zlib:
26322 @if zlib
26323 maybe-info-zlib: info-zlib
26325 info-zlib: \
26326 configure-zlib
26327 @[ -f ./zlib/Makefile ] || exit 0; \
26328 r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 $(HOST_EXPORTS) \
26331 for flag in $(EXTRA_HOST_FLAGS) ; do \
26332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26333 done; \
26334 echo "Doing info in zlib" ; \
26335 (cd $(HOST_SUBDIR)/zlib && \
26336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26338 "RANLIB=$${RANLIB}" \
26339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26340 info) \
26341 || exit 1
26343 @endif zlib
26345 .PHONY: maybe-dvi-zlib dvi-zlib
26346 maybe-dvi-zlib:
26347 @if zlib
26348 maybe-dvi-zlib: dvi-zlib
26350 dvi-zlib: \
26351 configure-zlib
26352 @[ -f ./zlib/Makefile ] || exit 0; \
26353 r=`${PWD_COMMAND}`; export r; \
26354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26355 $(HOST_EXPORTS) \
26356 for flag in $(EXTRA_HOST_FLAGS) ; do \
26357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26358 done; \
26359 echo "Doing dvi in zlib" ; \
26360 (cd $(HOST_SUBDIR)/zlib && \
26361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26363 "RANLIB=$${RANLIB}" \
26364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26365 dvi) \
26366 || exit 1
26368 @endif zlib
26370 .PHONY: maybe-html-zlib html-zlib
26371 maybe-html-zlib:
26372 @if zlib
26373 maybe-html-zlib: html-zlib
26375 html-zlib: \
26376 configure-zlib
26377 @[ -f ./zlib/Makefile ] || exit 0; \
26378 r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(HOST_EXPORTS) \
26381 for flag in $(EXTRA_HOST_FLAGS) ; do \
26382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26383 done; \
26384 echo "Doing html in zlib" ; \
26385 (cd $(HOST_SUBDIR)/zlib && \
26386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26388 "RANLIB=$${RANLIB}" \
26389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26390 html) \
26391 || exit 1
26393 @endif zlib
26395 .PHONY: maybe-TAGS-zlib TAGS-zlib
26396 maybe-TAGS-zlib:
26397 @if zlib
26398 maybe-TAGS-zlib: TAGS-zlib
26400 TAGS-zlib: \
26401 configure-zlib
26402 @[ -f ./zlib/Makefile ] || exit 0; \
26403 r=`${PWD_COMMAND}`; export r; \
26404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26405 $(HOST_EXPORTS) \
26406 for flag in $(EXTRA_HOST_FLAGS) ; do \
26407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26408 done; \
26409 echo "Doing TAGS in zlib" ; \
26410 (cd $(HOST_SUBDIR)/zlib && \
26411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26413 "RANLIB=$${RANLIB}" \
26414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26415 TAGS) \
26416 || exit 1
26418 @endif zlib
26420 .PHONY: maybe-install-info-zlib install-info-zlib
26421 maybe-install-info-zlib:
26422 @if zlib
26423 maybe-install-info-zlib: install-info-zlib
26425 install-info-zlib: \
26426 configure-zlib \
26427 info-zlib
26428 @[ -f ./zlib/Makefile ] || exit 0; \
26429 r=`${PWD_COMMAND}`; export r; \
26430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26431 $(HOST_EXPORTS) \
26432 for flag in $(EXTRA_HOST_FLAGS) ; do \
26433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26434 done; \
26435 echo "Doing install-info in zlib" ; \
26436 (cd $(HOST_SUBDIR)/zlib && \
26437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26439 "RANLIB=$${RANLIB}" \
26440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26441 install-info) \
26442 || exit 1
26444 @endif zlib
26446 .PHONY: maybe-installcheck-zlib installcheck-zlib
26447 maybe-installcheck-zlib:
26448 @if zlib
26449 maybe-installcheck-zlib: installcheck-zlib
26451 installcheck-zlib: \
26452 configure-zlib
26453 @[ -f ./zlib/Makefile ] || exit 0; \
26454 r=`${PWD_COMMAND}`; export r; \
26455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26456 $(HOST_EXPORTS) \
26457 for flag in $(EXTRA_HOST_FLAGS) ; do \
26458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26459 done; \
26460 echo "Doing installcheck in zlib" ; \
26461 (cd $(HOST_SUBDIR)/zlib && \
26462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26464 "RANLIB=$${RANLIB}" \
26465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26466 installcheck) \
26467 || exit 1
26469 @endif zlib
26471 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26472 maybe-mostlyclean-zlib:
26473 @if zlib
26474 maybe-mostlyclean-zlib: mostlyclean-zlib
26476 mostlyclean-zlib:
26477 @[ -f ./zlib/Makefile ] || exit 0; \
26478 r=`${PWD_COMMAND}`; export r; \
26479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26480 $(HOST_EXPORTS) \
26481 for flag in $(EXTRA_HOST_FLAGS) ; do \
26482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26483 done; \
26484 echo "Doing mostlyclean in zlib" ; \
26485 (cd $(HOST_SUBDIR)/zlib && \
26486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26488 "RANLIB=$${RANLIB}" \
26489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26490 mostlyclean) \
26491 || exit 1
26493 @endif zlib
26495 .PHONY: maybe-clean-zlib clean-zlib
26496 maybe-clean-zlib:
26497 @if zlib
26498 maybe-clean-zlib: clean-zlib
26500 clean-zlib:
26501 @[ -f ./zlib/Makefile ] || exit 0; \
26502 r=`${PWD_COMMAND}`; export r; \
26503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26504 $(HOST_EXPORTS) \
26505 for flag in $(EXTRA_HOST_FLAGS) ; do \
26506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26507 done; \
26508 echo "Doing clean in zlib" ; \
26509 (cd $(HOST_SUBDIR)/zlib && \
26510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26512 "RANLIB=$${RANLIB}" \
26513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26514 clean) \
26515 || exit 1
26517 @endif zlib
26519 .PHONY: maybe-distclean-zlib distclean-zlib
26520 maybe-distclean-zlib:
26521 @if zlib
26522 maybe-distclean-zlib: distclean-zlib
26524 distclean-zlib:
26525 @[ -f ./zlib/Makefile ] || exit 0; \
26526 r=`${PWD_COMMAND}`; export r; \
26527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528 $(HOST_EXPORTS) \
26529 for flag in $(EXTRA_HOST_FLAGS) ; do \
26530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26531 done; \
26532 echo "Doing distclean in zlib" ; \
26533 (cd $(HOST_SUBDIR)/zlib && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26536 "RANLIB=$${RANLIB}" \
26537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26538 distclean) \
26539 || exit 1
26541 @endif zlib
26543 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26544 maybe-maintainer-clean-zlib:
26545 @if zlib
26546 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26548 maintainer-clean-zlib:
26549 @[ -f ./zlib/Makefile ] || exit 0; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26552 $(HOST_EXPORTS) \
26553 for flag in $(EXTRA_HOST_FLAGS) ; do \
26554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26555 done; \
26556 echo "Doing maintainer-clean in zlib" ; \
26557 (cd $(HOST_SUBDIR)/zlib && \
26558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26560 "RANLIB=$${RANLIB}" \
26561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26562 maintainer-clean) \
26563 || exit 1
26565 @endif zlib
26569 .PHONY: configure-gdb maybe-configure-gdb
26570 maybe-configure-gdb:
26571 @if gdb
26572 maybe-configure-gdb: configure-gdb
26573 configure-gdb:
26574 @: $(MAKE); $(unstage)
26575 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26577 r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 $(HOST_EXPORTS) \
26580 echo Configuring in $(HOST_SUBDIR)/gdb; \
26581 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26582 case $(srcdir) in \
26583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26584 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26586 esac; \
26587 srcdiroption="--srcdir=$${topdir}/gdb"; \
26588 libsrcdir="$$s/gdb"; \
26589 $(SHELL) $${libsrcdir}/configure \
26590 $(HOST_CONFIGARGS) $${srcdiroption} \
26591 || exit 1
26592 @endif gdb
26598 .PHONY: all-gdb maybe-all-gdb
26599 maybe-all-gdb:
26600 @if gdb
26601 TARGET-gdb=all
26602 maybe-all-gdb: all-gdb
26603 all-gdb: configure-gdb
26604 @: $(MAKE); $(unstage)
26605 @r=`${PWD_COMMAND}`; export r; \
26606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26607 $(HOST_EXPORTS) \
26608 (cd $(HOST_SUBDIR)/gdb && \
26609 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26610 @endif gdb
26615 .PHONY: check-gdb maybe-check-gdb
26616 maybe-check-gdb:
26617 @if gdb
26618 maybe-check-gdb: check-gdb
26620 check-gdb:
26621 @: $(MAKE); $(unstage)
26622 @r=`${PWD_COMMAND}`; export r; \
26623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26624 $(HOST_EXPORTS) \
26625 (cd $(HOST_SUBDIR)/gdb && \
26626 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26628 @endif gdb
26630 .PHONY: install-gdb maybe-install-gdb
26631 maybe-install-gdb:
26632 @if gdb
26633 maybe-install-gdb: install-gdb
26635 install-gdb: installdirs
26636 @: $(MAKE); $(unstage)
26637 @r=`${PWD_COMMAND}`; export r; \
26638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26639 $(HOST_EXPORTS) \
26640 (cd $(HOST_SUBDIR)/gdb && \
26641 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26643 @endif gdb
26645 # Other targets (info, dvi, etc.)
26647 .PHONY: maybe-info-gdb info-gdb
26648 maybe-info-gdb:
26649 @if gdb
26650 maybe-info-gdb: info-gdb
26652 info-gdb: \
26653 configure-gdb
26654 @: $(MAKE); $(unstage)
26655 @[ -f ./gdb/Makefile ] || exit 0; \
26656 r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 $(HOST_EXPORTS) \
26659 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26661 done; \
26662 echo "Doing info in gdb" ; \
26663 (cd $(HOST_SUBDIR)/gdb && \
26664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26666 "RANLIB=$${RANLIB}" \
26667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26668 info) \
26669 || exit 1
26671 @endif gdb
26673 .PHONY: maybe-dvi-gdb dvi-gdb
26674 maybe-dvi-gdb:
26675 @if gdb
26676 maybe-dvi-gdb: dvi-gdb
26678 dvi-gdb: \
26679 configure-gdb
26680 @: $(MAKE); $(unstage)
26681 @[ -f ./gdb/Makefile ] || exit 0; \
26682 r=`${PWD_COMMAND}`; export r; \
26683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26684 $(HOST_EXPORTS) \
26685 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26687 done; \
26688 echo "Doing dvi in gdb" ; \
26689 (cd $(HOST_SUBDIR)/gdb && \
26690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26692 "RANLIB=$${RANLIB}" \
26693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26694 dvi) \
26695 || exit 1
26697 @endif gdb
26699 .PHONY: maybe-html-gdb html-gdb
26700 maybe-html-gdb:
26701 @if gdb
26702 maybe-html-gdb: html-gdb
26704 html-gdb: \
26705 configure-gdb
26706 @: $(MAKE); $(unstage)
26707 @[ -f ./gdb/Makefile ] || exit 0; \
26708 r=`${PWD_COMMAND}`; export r; \
26709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26710 $(HOST_EXPORTS) \
26711 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26713 done; \
26714 echo "Doing html in gdb" ; \
26715 (cd $(HOST_SUBDIR)/gdb && \
26716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26718 "RANLIB=$${RANLIB}" \
26719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26720 html) \
26721 || exit 1
26723 @endif gdb
26725 .PHONY: maybe-TAGS-gdb TAGS-gdb
26726 maybe-TAGS-gdb:
26727 @if gdb
26728 maybe-TAGS-gdb: TAGS-gdb
26730 TAGS-gdb: \
26731 configure-gdb
26732 @: $(MAKE); $(unstage)
26733 @[ -f ./gdb/Makefile ] || exit 0; \
26734 r=`${PWD_COMMAND}`; export r; \
26735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26736 $(HOST_EXPORTS) \
26737 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26739 done; \
26740 echo "Doing TAGS in gdb" ; \
26741 (cd $(HOST_SUBDIR)/gdb && \
26742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26744 "RANLIB=$${RANLIB}" \
26745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26746 TAGS) \
26747 || exit 1
26749 @endif gdb
26751 .PHONY: maybe-install-info-gdb install-info-gdb
26752 maybe-install-info-gdb:
26753 @if gdb
26754 maybe-install-info-gdb: install-info-gdb
26756 install-info-gdb: \
26757 configure-gdb \
26758 info-gdb
26759 @: $(MAKE); $(unstage)
26760 @[ -f ./gdb/Makefile ] || exit 0; \
26761 r=`${PWD_COMMAND}`; export r; \
26762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26763 $(HOST_EXPORTS) \
26764 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26766 done; \
26767 echo "Doing install-info in gdb" ; \
26768 (cd $(HOST_SUBDIR)/gdb && \
26769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26771 "RANLIB=$${RANLIB}" \
26772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26773 install-info) \
26774 || exit 1
26776 @endif gdb
26778 .PHONY: maybe-installcheck-gdb installcheck-gdb
26779 maybe-installcheck-gdb:
26780 @if gdb
26781 maybe-installcheck-gdb: installcheck-gdb
26783 installcheck-gdb: \
26784 configure-gdb
26785 @: $(MAKE); $(unstage)
26786 @[ -f ./gdb/Makefile ] || exit 0; \
26787 r=`${PWD_COMMAND}`; export r; \
26788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26789 $(HOST_EXPORTS) \
26790 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26792 done; \
26793 echo "Doing installcheck in gdb" ; \
26794 (cd $(HOST_SUBDIR)/gdb && \
26795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26797 "RANLIB=$${RANLIB}" \
26798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26799 installcheck) \
26800 || exit 1
26802 @endif gdb
26804 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26805 maybe-mostlyclean-gdb:
26806 @if gdb
26807 maybe-mostlyclean-gdb: mostlyclean-gdb
26809 mostlyclean-gdb:
26810 @: $(MAKE); $(unstage)
26811 @[ -f ./gdb/Makefile ] || exit 0; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(HOST_EXPORTS) \
26815 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26817 done; \
26818 echo "Doing mostlyclean in gdb" ; \
26819 (cd $(HOST_SUBDIR)/gdb && \
26820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26822 "RANLIB=$${RANLIB}" \
26823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26824 mostlyclean) \
26825 || exit 1
26827 @endif gdb
26829 .PHONY: maybe-clean-gdb clean-gdb
26830 maybe-clean-gdb:
26831 @if gdb
26832 maybe-clean-gdb: clean-gdb
26834 clean-gdb:
26835 @: $(MAKE); $(unstage)
26836 @[ -f ./gdb/Makefile ] || exit 0; \
26837 r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839 $(HOST_EXPORTS) \
26840 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26842 done; \
26843 echo "Doing clean in gdb" ; \
26844 (cd $(HOST_SUBDIR)/gdb && \
26845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26847 "RANLIB=$${RANLIB}" \
26848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26849 clean) \
26850 || exit 1
26852 @endif gdb
26854 .PHONY: maybe-distclean-gdb distclean-gdb
26855 maybe-distclean-gdb:
26856 @if gdb
26857 maybe-distclean-gdb: distclean-gdb
26859 distclean-gdb:
26860 @: $(MAKE); $(unstage)
26861 @[ -f ./gdb/Makefile ] || exit 0; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(HOST_EXPORTS) \
26865 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26867 done; \
26868 echo "Doing distclean in gdb" ; \
26869 (cd $(HOST_SUBDIR)/gdb && \
26870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26872 "RANLIB=$${RANLIB}" \
26873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26874 distclean) \
26875 || exit 1
26877 @endif gdb
26879 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26880 maybe-maintainer-clean-gdb:
26881 @if gdb
26882 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26884 maintainer-clean-gdb:
26885 @: $(MAKE); $(unstage)
26886 @[ -f ./gdb/Makefile ] || exit 0; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(HOST_EXPORTS) \
26890 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26892 done; \
26893 echo "Doing maintainer-clean in gdb" ; \
26894 (cd $(HOST_SUBDIR)/gdb && \
26895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26897 "RANLIB=$${RANLIB}" \
26898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26899 maintainer-clean) \
26900 || exit 1
26902 @endif gdb
26906 .PHONY: configure-expect maybe-configure-expect
26907 maybe-configure-expect:
26908 @if expect
26909 maybe-configure-expect: configure-expect
26910 configure-expect:
26911 @: $(MAKE); $(unstage)
26912 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26914 r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 echo Configuring in $(HOST_SUBDIR)/expect; \
26918 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26919 case $(srcdir) in \
26920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26921 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26923 esac; \
26924 srcdiroption="--srcdir=$${topdir}/expect"; \
26925 libsrcdir="$$s/expect"; \
26926 $(SHELL) $${libsrcdir}/configure \
26927 $(HOST_CONFIGARGS) $${srcdiroption} \
26928 || exit 1
26929 @endif expect
26935 .PHONY: all-expect maybe-all-expect
26936 maybe-all-expect:
26937 @if expect
26938 TARGET-expect=all
26939 maybe-all-expect: all-expect
26940 all-expect: configure-expect
26941 @: $(MAKE); $(unstage)
26942 @r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 $(HOST_EXPORTS) \
26945 (cd $(HOST_SUBDIR)/expect && \
26946 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26947 @endif expect
26952 .PHONY: check-expect maybe-check-expect
26953 maybe-check-expect:
26954 @if expect
26955 maybe-check-expect: check-expect
26957 check-expect:
26958 @: $(MAKE); $(unstage)
26959 @r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26961 $(HOST_EXPORTS) \
26962 (cd $(HOST_SUBDIR)/expect && \
26963 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26965 @endif expect
26967 .PHONY: install-expect maybe-install-expect
26968 maybe-install-expect:
26969 @if expect
26970 maybe-install-expect: install-expect
26972 install-expect: installdirs
26973 @: $(MAKE); $(unstage)
26974 @r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26976 $(HOST_EXPORTS) \
26977 (cd $(HOST_SUBDIR)/expect && \
26978 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26980 @endif expect
26982 # Other targets (info, dvi, etc.)
26984 .PHONY: maybe-info-expect info-expect
26985 maybe-info-expect:
26986 @if expect
26987 maybe-info-expect: info-expect
26989 info-expect: \
26990 configure-expect
26991 @: $(MAKE); $(unstage)
26992 @[ -f ./expect/Makefile ] || exit 0; \
26993 r=`${PWD_COMMAND}`; export r; \
26994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26995 $(HOST_EXPORTS) \
26996 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26998 done; \
26999 echo "Doing info in expect" ; \
27000 (cd $(HOST_SUBDIR)/expect && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27005 info) \
27006 || exit 1
27008 @endif expect
27010 .PHONY: maybe-dvi-expect dvi-expect
27011 maybe-dvi-expect:
27012 @if expect
27013 maybe-dvi-expect: dvi-expect
27015 dvi-expect: \
27016 configure-expect
27017 @: $(MAKE); $(unstage)
27018 @[ -f ./expect/Makefile ] || exit 0; \
27019 r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27021 $(HOST_EXPORTS) \
27022 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024 done; \
27025 echo "Doing dvi in expect" ; \
27026 (cd $(HOST_SUBDIR)/expect && \
27027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27029 "RANLIB=$${RANLIB}" \
27030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27031 dvi) \
27032 || exit 1
27034 @endif expect
27036 .PHONY: maybe-html-expect html-expect
27037 maybe-html-expect:
27038 @if expect
27039 maybe-html-expect: html-expect
27041 html-expect: \
27042 configure-expect
27043 @: $(MAKE); $(unstage)
27044 @[ -f ./expect/Makefile ] || exit 0; \
27045 r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27047 $(HOST_EXPORTS) \
27048 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27050 done; \
27051 echo "Doing html in expect" ; \
27052 (cd $(HOST_SUBDIR)/expect && \
27053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27055 "RANLIB=$${RANLIB}" \
27056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27057 html) \
27058 || exit 1
27060 @endif expect
27062 .PHONY: maybe-TAGS-expect TAGS-expect
27063 maybe-TAGS-expect:
27064 @if expect
27065 maybe-TAGS-expect: TAGS-expect
27067 TAGS-expect: \
27068 configure-expect
27069 @: $(MAKE); $(unstage)
27070 @[ -f ./expect/Makefile ] || exit 0; \
27071 r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(HOST_EXPORTS) \
27074 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27076 done; \
27077 echo "Doing TAGS in expect" ; \
27078 (cd $(HOST_SUBDIR)/expect && \
27079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27081 "RANLIB=$${RANLIB}" \
27082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27083 TAGS) \
27084 || exit 1
27086 @endif expect
27088 .PHONY: maybe-install-info-expect install-info-expect
27089 maybe-install-info-expect:
27090 @if expect
27091 maybe-install-info-expect: install-info-expect
27093 install-info-expect: \
27094 configure-expect \
27095 info-expect
27096 @: $(MAKE); $(unstage)
27097 @[ -f ./expect/Makefile ] || exit 0; \
27098 r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27100 $(HOST_EXPORTS) \
27101 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27103 done; \
27104 echo "Doing install-info in expect" ; \
27105 (cd $(HOST_SUBDIR)/expect && \
27106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27108 "RANLIB=$${RANLIB}" \
27109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27110 install-info) \
27111 || exit 1
27113 @endif expect
27115 .PHONY: maybe-installcheck-expect installcheck-expect
27116 maybe-installcheck-expect:
27117 @if expect
27118 maybe-installcheck-expect: installcheck-expect
27120 installcheck-expect: \
27121 configure-expect
27122 @: $(MAKE); $(unstage)
27123 @[ -f ./expect/Makefile ] || exit 0; \
27124 r=`${PWD_COMMAND}`; export r; \
27125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27126 $(HOST_EXPORTS) \
27127 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27129 done; \
27130 echo "Doing installcheck in expect" ; \
27131 (cd $(HOST_SUBDIR)/expect && \
27132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27134 "RANLIB=$${RANLIB}" \
27135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27136 installcheck) \
27137 || exit 1
27139 @endif expect
27141 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27142 maybe-mostlyclean-expect:
27143 @if expect
27144 maybe-mostlyclean-expect: mostlyclean-expect
27146 mostlyclean-expect:
27147 @: $(MAKE); $(unstage)
27148 @[ -f ./expect/Makefile ] || exit 0; \
27149 r=`${PWD_COMMAND}`; export r; \
27150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27151 $(HOST_EXPORTS) \
27152 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27154 done; \
27155 echo "Doing mostlyclean in expect" ; \
27156 (cd $(HOST_SUBDIR)/expect && \
27157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27159 "RANLIB=$${RANLIB}" \
27160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27161 mostlyclean) \
27162 || exit 1
27164 @endif expect
27166 .PHONY: maybe-clean-expect clean-expect
27167 maybe-clean-expect:
27168 @if expect
27169 maybe-clean-expect: clean-expect
27171 clean-expect:
27172 @: $(MAKE); $(unstage)
27173 @[ -f ./expect/Makefile ] || exit 0; \
27174 r=`${PWD_COMMAND}`; export r; \
27175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(HOST_EXPORTS) \
27177 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27179 done; \
27180 echo "Doing clean in expect" ; \
27181 (cd $(HOST_SUBDIR)/expect && \
27182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184 "RANLIB=$${RANLIB}" \
27185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27186 clean) \
27187 || exit 1
27189 @endif expect
27191 .PHONY: maybe-distclean-expect distclean-expect
27192 maybe-distclean-expect:
27193 @if expect
27194 maybe-distclean-expect: distclean-expect
27196 distclean-expect:
27197 @: $(MAKE); $(unstage)
27198 @[ -f ./expect/Makefile ] || exit 0; \
27199 r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(HOST_EXPORTS) \
27202 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 done; \
27205 echo "Doing distclean in expect" ; \
27206 (cd $(HOST_SUBDIR)/expect && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27211 distclean) \
27212 || exit 1
27214 @endif expect
27216 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27217 maybe-maintainer-clean-expect:
27218 @if expect
27219 maybe-maintainer-clean-expect: maintainer-clean-expect
27221 maintainer-clean-expect:
27222 @: $(MAKE); $(unstage)
27223 @[ -f ./expect/Makefile ] || exit 0; \
27224 r=`${PWD_COMMAND}`; export r; \
27225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27226 $(HOST_EXPORTS) \
27227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27229 done; \
27230 echo "Doing maintainer-clean in expect" ; \
27231 (cd $(HOST_SUBDIR)/expect && \
27232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27234 "RANLIB=$${RANLIB}" \
27235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27236 maintainer-clean) \
27237 || exit 1
27239 @endif expect
27243 .PHONY: configure-guile maybe-configure-guile
27244 maybe-configure-guile:
27245 @if guile
27246 maybe-configure-guile: configure-guile
27247 configure-guile:
27248 @: $(MAKE); $(unstage)
27249 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27250 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27251 r=`${PWD_COMMAND}`; export r; \
27252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27253 $(HOST_EXPORTS) \
27254 echo Configuring in $(HOST_SUBDIR)/guile; \
27255 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27256 case $(srcdir) in \
27257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27258 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27260 esac; \
27261 srcdiroption="--srcdir=$${topdir}/guile"; \
27262 libsrcdir="$$s/guile"; \
27263 $(SHELL) $${libsrcdir}/configure \
27264 $(HOST_CONFIGARGS) $${srcdiroption} \
27265 || exit 1
27266 @endif guile
27272 .PHONY: all-guile maybe-all-guile
27273 maybe-all-guile:
27274 @if guile
27275 TARGET-guile=all
27276 maybe-all-guile: all-guile
27277 all-guile: configure-guile
27278 @: $(MAKE); $(unstage)
27279 @r=`${PWD_COMMAND}`; export r; \
27280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 $(HOST_EXPORTS) \
27282 (cd $(HOST_SUBDIR)/guile && \
27283 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27284 @endif guile
27289 .PHONY: check-guile maybe-check-guile
27290 maybe-check-guile:
27291 @if guile
27292 maybe-check-guile: check-guile
27294 check-guile:
27295 @: $(MAKE); $(unstage)
27296 @r=`${PWD_COMMAND}`; export r; \
27297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27298 $(HOST_EXPORTS) \
27299 (cd $(HOST_SUBDIR)/guile && \
27300 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27302 @endif guile
27304 .PHONY: install-guile maybe-install-guile
27305 maybe-install-guile:
27306 @if guile
27307 maybe-install-guile: install-guile
27309 install-guile: installdirs
27310 @: $(MAKE); $(unstage)
27311 @r=`${PWD_COMMAND}`; export r; \
27312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27313 $(HOST_EXPORTS) \
27314 (cd $(HOST_SUBDIR)/guile && \
27315 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27317 @endif guile
27319 # Other targets (info, dvi, etc.)
27321 .PHONY: maybe-info-guile info-guile
27322 maybe-info-guile:
27323 @if guile
27324 maybe-info-guile: info-guile
27326 info-guile: \
27327 configure-guile
27328 @: $(MAKE); $(unstage)
27329 @[ -f ./guile/Makefile ] || exit 0; \
27330 r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 $(HOST_EXPORTS) \
27333 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27335 done; \
27336 echo "Doing info in guile" ; \
27337 (cd $(HOST_SUBDIR)/guile && \
27338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27340 "RANLIB=$${RANLIB}" \
27341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27342 info) \
27343 || exit 1
27345 @endif guile
27347 .PHONY: maybe-dvi-guile dvi-guile
27348 maybe-dvi-guile:
27349 @if guile
27350 maybe-dvi-guile: dvi-guile
27352 dvi-guile: \
27353 configure-guile
27354 @: $(MAKE); $(unstage)
27355 @[ -f ./guile/Makefile ] || exit 0; \
27356 r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27361 done; \
27362 echo "Doing dvi in guile" ; \
27363 (cd $(HOST_SUBDIR)/guile && \
27364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27366 "RANLIB=$${RANLIB}" \
27367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27368 dvi) \
27369 || exit 1
27371 @endif guile
27373 .PHONY: maybe-html-guile html-guile
27374 maybe-html-guile:
27375 @if guile
27376 maybe-html-guile: html-guile
27378 html-guile: \
27379 configure-guile
27380 @: $(MAKE); $(unstage)
27381 @[ -f ./guile/Makefile ] || exit 0; \
27382 r=`${PWD_COMMAND}`; export r; \
27383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27384 $(HOST_EXPORTS) \
27385 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27387 done; \
27388 echo "Doing html in guile" ; \
27389 (cd $(HOST_SUBDIR)/guile && \
27390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27392 "RANLIB=$${RANLIB}" \
27393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27394 html) \
27395 || exit 1
27397 @endif guile
27399 .PHONY: maybe-TAGS-guile TAGS-guile
27400 maybe-TAGS-guile:
27401 @if guile
27402 maybe-TAGS-guile: TAGS-guile
27404 TAGS-guile: \
27405 configure-guile
27406 @: $(MAKE); $(unstage)
27407 @[ -f ./guile/Makefile ] || exit 0; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(HOST_EXPORTS) \
27411 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27413 done; \
27414 echo "Doing TAGS in guile" ; \
27415 (cd $(HOST_SUBDIR)/guile && \
27416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27418 "RANLIB=$${RANLIB}" \
27419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27420 TAGS) \
27421 || exit 1
27423 @endif guile
27425 .PHONY: maybe-install-info-guile install-info-guile
27426 maybe-install-info-guile:
27427 @if guile
27428 maybe-install-info-guile: install-info-guile
27430 install-info-guile: \
27431 configure-guile \
27432 info-guile
27433 @: $(MAKE); $(unstage)
27434 @[ -f ./guile/Makefile ] || exit 0; \
27435 r=`${PWD_COMMAND}`; export r; \
27436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27437 $(HOST_EXPORTS) \
27438 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27440 done; \
27441 echo "Doing install-info in guile" ; \
27442 (cd $(HOST_SUBDIR)/guile && \
27443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27445 "RANLIB=$${RANLIB}" \
27446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27447 install-info) \
27448 || exit 1
27450 @endif guile
27452 .PHONY: maybe-installcheck-guile installcheck-guile
27453 maybe-installcheck-guile:
27454 @if guile
27455 maybe-installcheck-guile: installcheck-guile
27457 installcheck-guile: \
27458 configure-guile
27459 @: $(MAKE); $(unstage)
27460 @[ -f ./guile/Makefile ] || exit 0; \
27461 r=`${PWD_COMMAND}`; export r; \
27462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27463 $(HOST_EXPORTS) \
27464 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27466 done; \
27467 echo "Doing installcheck in guile" ; \
27468 (cd $(HOST_SUBDIR)/guile && \
27469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27471 "RANLIB=$${RANLIB}" \
27472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27473 installcheck) \
27474 || exit 1
27476 @endif guile
27478 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27479 maybe-mostlyclean-guile:
27480 @if guile
27481 maybe-mostlyclean-guile: mostlyclean-guile
27483 mostlyclean-guile:
27484 @: $(MAKE); $(unstage)
27485 @[ -f ./guile/Makefile ] || exit 0; \
27486 r=`${PWD_COMMAND}`; export r; \
27487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27488 $(HOST_EXPORTS) \
27489 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27491 done; \
27492 echo "Doing mostlyclean in guile" ; \
27493 (cd $(HOST_SUBDIR)/guile && \
27494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27496 "RANLIB=$${RANLIB}" \
27497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27498 mostlyclean) \
27499 || exit 1
27501 @endif guile
27503 .PHONY: maybe-clean-guile clean-guile
27504 maybe-clean-guile:
27505 @if guile
27506 maybe-clean-guile: clean-guile
27508 clean-guile:
27509 @: $(MAKE); $(unstage)
27510 @[ -f ./guile/Makefile ] || exit 0; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 $(HOST_EXPORTS) \
27514 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27516 done; \
27517 echo "Doing clean in guile" ; \
27518 (cd $(HOST_SUBDIR)/guile && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27523 clean) \
27524 || exit 1
27526 @endif guile
27528 .PHONY: maybe-distclean-guile distclean-guile
27529 maybe-distclean-guile:
27530 @if guile
27531 maybe-distclean-guile: distclean-guile
27533 distclean-guile:
27534 @: $(MAKE); $(unstage)
27535 @[ -f ./guile/Makefile ] || exit 0; \
27536 r=`${PWD_COMMAND}`; export r; \
27537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27538 $(HOST_EXPORTS) \
27539 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27541 done; \
27542 echo "Doing distclean in guile" ; \
27543 (cd $(HOST_SUBDIR)/guile && \
27544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27546 "RANLIB=$${RANLIB}" \
27547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27548 distclean) \
27549 || exit 1
27551 @endif guile
27553 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27554 maybe-maintainer-clean-guile:
27555 @if guile
27556 maybe-maintainer-clean-guile: maintainer-clean-guile
27558 maintainer-clean-guile:
27559 @: $(MAKE); $(unstage)
27560 @[ -f ./guile/Makefile ] || exit 0; \
27561 r=`${PWD_COMMAND}`; export r; \
27562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27563 $(HOST_EXPORTS) \
27564 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27566 done; \
27567 echo "Doing maintainer-clean in guile" ; \
27568 (cd $(HOST_SUBDIR)/guile && \
27569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27571 "RANLIB=$${RANLIB}" \
27572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27573 maintainer-clean) \
27574 || exit 1
27576 @endif guile
27580 .PHONY: configure-tk maybe-configure-tk
27581 maybe-configure-tk:
27582 @if tk
27583 maybe-configure-tk: configure-tk
27584 configure-tk:
27585 @: $(MAKE); $(unstage)
27586 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27587 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27588 r=`${PWD_COMMAND}`; export r; \
27589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27590 $(HOST_EXPORTS) \
27591 echo Configuring in $(HOST_SUBDIR)/tk; \
27592 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27593 case $(srcdir) in \
27594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27595 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27597 esac; \
27598 srcdiroption="--srcdir=$${topdir}/tk"; \
27599 libsrcdir="$$s/tk"; \
27600 $(SHELL) $${libsrcdir}/configure \
27601 $(HOST_CONFIGARGS) $${srcdiroption} \
27602 || exit 1
27603 @endif tk
27609 .PHONY: all-tk maybe-all-tk
27610 maybe-all-tk:
27611 @if tk
27612 TARGET-tk=all
27613 maybe-all-tk: all-tk
27614 all-tk: configure-tk
27615 @: $(MAKE); $(unstage)
27616 @r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 (cd $(HOST_SUBDIR)/tk && \
27620 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27621 @endif tk
27626 .PHONY: check-tk maybe-check-tk
27627 maybe-check-tk:
27628 @if tk
27629 maybe-check-tk: check-tk
27631 check-tk:
27632 @: $(MAKE); $(unstage)
27633 @r=`${PWD_COMMAND}`; export r; \
27634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27635 $(HOST_EXPORTS) \
27636 (cd $(HOST_SUBDIR)/tk && \
27637 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27639 @endif tk
27641 .PHONY: install-tk maybe-install-tk
27642 maybe-install-tk:
27643 @if tk
27644 maybe-install-tk: install-tk
27646 install-tk: installdirs
27647 @: $(MAKE); $(unstage)
27648 @r=`${PWD_COMMAND}`; export r; \
27649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27650 $(HOST_EXPORTS) \
27651 (cd $(HOST_SUBDIR)/tk && \
27652 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27654 @endif tk
27656 # Other targets (info, dvi, etc.)
27658 .PHONY: maybe-info-tk info-tk
27659 maybe-info-tk:
27660 @if tk
27661 maybe-info-tk: info-tk
27663 info-tk: \
27664 configure-tk
27665 @: $(MAKE); $(unstage)
27666 @[ -f ./tk/Makefile ] || exit 0; \
27667 r=`${PWD_COMMAND}`; export r; \
27668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27669 $(HOST_EXPORTS) \
27670 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27672 done; \
27673 echo "Doing info in tk" ; \
27674 (cd $(HOST_SUBDIR)/tk && \
27675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27677 "RANLIB=$${RANLIB}" \
27678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27679 info) \
27680 || exit 1
27682 @endif tk
27684 .PHONY: maybe-dvi-tk dvi-tk
27685 maybe-dvi-tk:
27686 @if tk
27687 maybe-dvi-tk: dvi-tk
27689 dvi-tk: \
27690 configure-tk
27691 @: $(MAKE); $(unstage)
27692 @[ -f ./tk/Makefile ] || exit 0; \
27693 r=`${PWD_COMMAND}`; export r; \
27694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27695 $(HOST_EXPORTS) \
27696 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27698 done; \
27699 echo "Doing dvi in tk" ; \
27700 (cd $(HOST_SUBDIR)/tk && \
27701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27703 "RANLIB=$${RANLIB}" \
27704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27705 dvi) \
27706 || exit 1
27708 @endif tk
27710 .PHONY: maybe-html-tk html-tk
27711 maybe-html-tk:
27712 @if tk
27713 maybe-html-tk: html-tk
27715 html-tk: \
27716 configure-tk
27717 @: $(MAKE); $(unstage)
27718 @[ -f ./tk/Makefile ] || exit 0; \
27719 r=`${PWD_COMMAND}`; export r; \
27720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27721 $(HOST_EXPORTS) \
27722 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27724 done; \
27725 echo "Doing html in tk" ; \
27726 (cd $(HOST_SUBDIR)/tk && \
27727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27729 "RANLIB=$${RANLIB}" \
27730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27731 html) \
27732 || exit 1
27734 @endif tk
27736 .PHONY: maybe-TAGS-tk TAGS-tk
27737 maybe-TAGS-tk:
27738 @if tk
27739 maybe-TAGS-tk: TAGS-tk
27741 TAGS-tk: \
27742 configure-tk
27743 @: $(MAKE); $(unstage)
27744 @[ -f ./tk/Makefile ] || exit 0; \
27745 r=`${PWD_COMMAND}`; export r; \
27746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27747 $(HOST_EXPORTS) \
27748 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27750 done; \
27751 echo "Doing TAGS in tk" ; \
27752 (cd $(HOST_SUBDIR)/tk && \
27753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27755 "RANLIB=$${RANLIB}" \
27756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27757 TAGS) \
27758 || exit 1
27760 @endif tk
27762 .PHONY: maybe-install-info-tk install-info-tk
27763 maybe-install-info-tk:
27764 @if tk
27765 maybe-install-info-tk: install-info-tk
27767 install-info-tk: \
27768 configure-tk \
27769 info-tk
27770 @: $(MAKE); $(unstage)
27771 @[ -f ./tk/Makefile ] || exit 0; \
27772 r=`${PWD_COMMAND}`; export r; \
27773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27774 $(HOST_EXPORTS) \
27775 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27777 done; \
27778 echo "Doing install-info in tk" ; \
27779 (cd $(HOST_SUBDIR)/tk && \
27780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27782 "RANLIB=$${RANLIB}" \
27783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27784 install-info) \
27785 || exit 1
27787 @endif tk
27789 .PHONY: maybe-installcheck-tk installcheck-tk
27790 maybe-installcheck-tk:
27791 @if tk
27792 maybe-installcheck-tk: installcheck-tk
27794 installcheck-tk: \
27795 configure-tk
27796 @: $(MAKE); $(unstage)
27797 @[ -f ./tk/Makefile ] || exit 0; \
27798 r=`${PWD_COMMAND}`; export r; \
27799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800 $(HOST_EXPORTS) \
27801 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27803 done; \
27804 echo "Doing installcheck in tk" ; \
27805 (cd $(HOST_SUBDIR)/tk && \
27806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27808 "RANLIB=$${RANLIB}" \
27809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27810 installcheck) \
27811 || exit 1
27813 @endif tk
27815 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27816 maybe-mostlyclean-tk:
27817 @if tk
27818 maybe-mostlyclean-tk: mostlyclean-tk
27820 mostlyclean-tk:
27821 @: $(MAKE); $(unstage)
27822 @[ -f ./tk/Makefile ] || exit 0; \
27823 r=`${PWD_COMMAND}`; export r; \
27824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27825 $(HOST_EXPORTS) \
27826 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27828 done; \
27829 echo "Doing mostlyclean in tk" ; \
27830 (cd $(HOST_SUBDIR)/tk && \
27831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27833 "RANLIB=$${RANLIB}" \
27834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27835 mostlyclean) \
27836 || exit 1
27838 @endif tk
27840 .PHONY: maybe-clean-tk clean-tk
27841 maybe-clean-tk:
27842 @if tk
27843 maybe-clean-tk: clean-tk
27845 clean-tk:
27846 @: $(MAKE); $(unstage)
27847 @[ -f ./tk/Makefile ] || exit 0; \
27848 r=`${PWD_COMMAND}`; export r; \
27849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27850 $(HOST_EXPORTS) \
27851 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27853 done; \
27854 echo "Doing clean in tk" ; \
27855 (cd $(HOST_SUBDIR)/tk && \
27856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27858 "RANLIB=$${RANLIB}" \
27859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27860 clean) \
27861 || exit 1
27863 @endif tk
27865 .PHONY: maybe-distclean-tk distclean-tk
27866 maybe-distclean-tk:
27867 @if tk
27868 maybe-distclean-tk: distclean-tk
27870 distclean-tk:
27871 @: $(MAKE); $(unstage)
27872 @[ -f ./tk/Makefile ] || exit 0; \
27873 r=`${PWD_COMMAND}`; export r; \
27874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27875 $(HOST_EXPORTS) \
27876 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27878 done; \
27879 echo "Doing distclean in tk" ; \
27880 (cd $(HOST_SUBDIR)/tk && \
27881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27883 "RANLIB=$${RANLIB}" \
27884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27885 distclean) \
27886 || exit 1
27888 @endif tk
27890 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27891 maybe-maintainer-clean-tk:
27892 @if tk
27893 maybe-maintainer-clean-tk: maintainer-clean-tk
27895 maintainer-clean-tk:
27896 @: $(MAKE); $(unstage)
27897 @[ -f ./tk/Makefile ] || exit 0; \
27898 r=`${PWD_COMMAND}`; export r; \
27899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27900 $(HOST_EXPORTS) \
27901 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27903 done; \
27904 echo "Doing maintainer-clean in tk" ; \
27905 (cd $(HOST_SUBDIR)/tk && \
27906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27908 "RANLIB=$${RANLIB}" \
27909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27910 maintainer-clean) \
27911 || exit 1
27913 @endif tk
27917 .PHONY: configure-libtermcap maybe-configure-libtermcap
27918 maybe-configure-libtermcap:
27919 @if libtermcap
27920 maybe-configure-libtermcap: configure-libtermcap
27921 configure-libtermcap:
27922 @: $(MAKE); $(unstage)
27923 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(HOST_EXPORTS) \
27928 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27929 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27930 case $(srcdir) in \
27931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27932 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27934 esac; \
27935 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27936 libsrcdir="$$s/libtermcap"; \
27937 $(SHELL) $${libsrcdir}/configure \
27938 $(HOST_CONFIGARGS) $${srcdiroption} \
27939 || exit 1
27940 @endif libtermcap
27946 .PHONY: all-libtermcap maybe-all-libtermcap
27947 maybe-all-libtermcap:
27948 @if libtermcap
27949 TARGET-libtermcap=all
27950 maybe-all-libtermcap: all-libtermcap
27951 all-libtermcap: configure-libtermcap
27952 @: $(MAKE); $(unstage)
27953 @r=`${PWD_COMMAND}`; export r; \
27954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27955 $(HOST_EXPORTS) \
27956 (cd $(HOST_SUBDIR)/libtermcap && \
27957 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27958 @endif libtermcap
27963 .PHONY: check-libtermcap maybe-check-libtermcap
27964 maybe-check-libtermcap:
27965 @if libtermcap
27966 maybe-check-libtermcap: check-libtermcap
27968 check-libtermcap:
27970 @endif libtermcap
27972 .PHONY: install-libtermcap maybe-install-libtermcap
27973 maybe-install-libtermcap:
27974 @if libtermcap
27975 maybe-install-libtermcap: install-libtermcap
27977 install-libtermcap: installdirs
27978 @: $(MAKE); $(unstage)
27979 @r=`${PWD_COMMAND}`; export r; \
27980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27981 $(HOST_EXPORTS) \
27982 (cd $(HOST_SUBDIR)/libtermcap && \
27983 $(MAKE) $(FLAGS_TO_PASS) install)
27985 @endif libtermcap
27987 # Other targets (info, dvi, etc.)
27989 .PHONY: maybe-info-libtermcap info-libtermcap
27990 maybe-info-libtermcap:
27991 @if libtermcap
27992 maybe-info-libtermcap: info-libtermcap
27994 info-libtermcap: \
27995 configure-libtermcap
27996 @: $(MAKE); $(unstage)
27997 @[ -f ./libtermcap/Makefile ] || exit 0; \
27998 r=`${PWD_COMMAND}`; export r; \
27999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28000 $(HOST_EXPORTS) \
28001 for flag in $(EXTRA_HOST_FLAGS) ; do \
28002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28003 done; \
28004 echo "Doing info in libtermcap" ; \
28005 (cd $(HOST_SUBDIR)/libtermcap && \
28006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28008 "RANLIB=$${RANLIB}" \
28009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28010 info) \
28011 || exit 1
28013 @endif libtermcap
28015 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28016 maybe-dvi-libtermcap:
28017 @if libtermcap
28018 maybe-dvi-libtermcap: dvi-libtermcap
28020 dvi-libtermcap: \
28021 configure-libtermcap
28022 @: $(MAKE); $(unstage)
28023 @[ -f ./libtermcap/Makefile ] || exit 0; \
28024 r=`${PWD_COMMAND}`; export r; \
28025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28026 $(HOST_EXPORTS) \
28027 for flag in $(EXTRA_HOST_FLAGS) ; do \
28028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28029 done; \
28030 echo "Doing dvi in libtermcap" ; \
28031 (cd $(HOST_SUBDIR)/libtermcap && \
28032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28034 "RANLIB=$${RANLIB}" \
28035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28036 dvi) \
28037 || exit 1
28039 @endif libtermcap
28041 .PHONY: maybe-html-libtermcap html-libtermcap
28042 maybe-html-libtermcap:
28043 @if libtermcap
28044 maybe-html-libtermcap: html-libtermcap
28046 html-libtermcap: \
28047 configure-libtermcap
28048 @: $(MAKE); $(unstage)
28049 @[ -f ./libtermcap/Makefile ] || exit 0; \
28050 r=`${PWD_COMMAND}`; export r; \
28051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28052 $(HOST_EXPORTS) \
28053 for flag in $(EXTRA_HOST_FLAGS) ; do \
28054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28055 done; \
28056 echo "Doing html in libtermcap" ; \
28057 (cd $(HOST_SUBDIR)/libtermcap && \
28058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28060 "RANLIB=$${RANLIB}" \
28061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28062 html) \
28063 || exit 1
28065 @endif libtermcap
28067 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28068 maybe-TAGS-libtermcap:
28069 @if libtermcap
28070 maybe-TAGS-libtermcap: TAGS-libtermcap
28072 TAGS-libtermcap: \
28073 configure-libtermcap
28074 @: $(MAKE); $(unstage)
28075 @[ -f ./libtermcap/Makefile ] || exit 0; \
28076 r=`${PWD_COMMAND}`; export r; \
28077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28078 $(HOST_EXPORTS) \
28079 for flag in $(EXTRA_HOST_FLAGS) ; do \
28080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28081 done; \
28082 echo "Doing TAGS in libtermcap" ; \
28083 (cd $(HOST_SUBDIR)/libtermcap && \
28084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28086 "RANLIB=$${RANLIB}" \
28087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28088 TAGS) \
28089 || exit 1
28091 @endif libtermcap
28093 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28094 maybe-install-info-libtermcap:
28095 @if libtermcap
28096 maybe-install-info-libtermcap: install-info-libtermcap
28098 install-info-libtermcap: \
28099 configure-libtermcap \
28100 info-libtermcap
28101 @: $(MAKE); $(unstage)
28102 @[ -f ./libtermcap/Makefile ] || exit 0; \
28103 r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 $(HOST_EXPORTS) \
28106 for flag in $(EXTRA_HOST_FLAGS) ; do \
28107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28108 done; \
28109 echo "Doing install-info in libtermcap" ; \
28110 (cd $(HOST_SUBDIR)/libtermcap && \
28111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28113 "RANLIB=$${RANLIB}" \
28114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28115 install-info) \
28116 || exit 1
28118 @endif libtermcap
28120 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28121 maybe-installcheck-libtermcap:
28122 @if libtermcap
28123 maybe-installcheck-libtermcap: installcheck-libtermcap
28125 installcheck-libtermcap: \
28126 configure-libtermcap
28127 @: $(MAKE); $(unstage)
28128 @[ -f ./libtermcap/Makefile ] || exit 0; \
28129 r=`${PWD_COMMAND}`; export r; \
28130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28131 $(HOST_EXPORTS) \
28132 for flag in $(EXTRA_HOST_FLAGS) ; do \
28133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28134 done; \
28135 echo "Doing installcheck in libtermcap" ; \
28136 (cd $(HOST_SUBDIR)/libtermcap && \
28137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28139 "RANLIB=$${RANLIB}" \
28140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28141 installcheck) \
28142 || exit 1
28144 @endif libtermcap
28146 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28147 maybe-mostlyclean-libtermcap:
28148 @if libtermcap
28149 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28151 # libtermcap doesn't support mostlyclean.
28152 mostlyclean-libtermcap:
28154 @endif libtermcap
28156 .PHONY: maybe-clean-libtermcap clean-libtermcap
28157 maybe-clean-libtermcap:
28158 @if libtermcap
28159 maybe-clean-libtermcap: clean-libtermcap
28161 # libtermcap doesn't support clean.
28162 clean-libtermcap:
28164 @endif libtermcap
28166 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28167 maybe-distclean-libtermcap:
28168 @if libtermcap
28169 maybe-distclean-libtermcap: distclean-libtermcap
28171 # libtermcap doesn't support distclean.
28172 distclean-libtermcap:
28174 @endif libtermcap
28176 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28177 maybe-maintainer-clean-libtermcap:
28178 @if libtermcap
28179 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28181 # libtermcap doesn't support maintainer-clean.
28182 maintainer-clean-libtermcap:
28184 @endif libtermcap
28188 .PHONY: configure-utils maybe-configure-utils
28189 maybe-configure-utils:
28190 @if utils
28191 maybe-configure-utils: configure-utils
28192 configure-utils:
28193 @: $(MAKE); $(unstage)
28194 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28196 r=`${PWD_COMMAND}`; export r; \
28197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28198 $(HOST_EXPORTS) \
28199 echo Configuring in $(HOST_SUBDIR)/utils; \
28200 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28201 case $(srcdir) in \
28202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28203 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28205 esac; \
28206 srcdiroption="--srcdir=$${topdir}/utils"; \
28207 libsrcdir="$$s/utils"; \
28208 $(SHELL) $${libsrcdir}/configure \
28209 $(HOST_CONFIGARGS) $${srcdiroption} \
28210 || exit 1
28211 @endif utils
28217 .PHONY: all-utils maybe-all-utils
28218 maybe-all-utils:
28219 @if utils
28220 TARGET-utils=all
28221 maybe-all-utils: all-utils
28222 all-utils: configure-utils
28223 @: $(MAKE); $(unstage)
28224 @r=`${PWD_COMMAND}`; export r; \
28225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28226 $(HOST_EXPORTS) \
28227 (cd $(HOST_SUBDIR)/utils && \
28228 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28229 @endif utils
28234 .PHONY: check-utils maybe-check-utils
28235 maybe-check-utils:
28236 @if utils
28237 maybe-check-utils: check-utils
28239 check-utils:
28241 @endif utils
28243 .PHONY: install-utils maybe-install-utils
28244 maybe-install-utils:
28245 @if utils
28246 maybe-install-utils: install-utils
28248 install-utils: installdirs
28249 @: $(MAKE); $(unstage)
28250 @r=`${PWD_COMMAND}`; export r; \
28251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28252 $(HOST_EXPORTS) \
28253 (cd $(HOST_SUBDIR)/utils && \
28254 $(MAKE) $(FLAGS_TO_PASS) install)
28256 @endif utils
28258 # Other targets (info, dvi, etc.)
28260 .PHONY: maybe-info-utils info-utils
28261 maybe-info-utils:
28262 @if utils
28263 maybe-info-utils: info-utils
28265 info-utils: \
28266 configure-utils
28267 @: $(MAKE); $(unstage)
28268 @[ -f ./utils/Makefile ] || exit 0; \
28269 r=`${PWD_COMMAND}`; export r; \
28270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 $(HOST_EXPORTS) \
28272 for flag in $(EXTRA_HOST_FLAGS) ; do \
28273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28274 done; \
28275 echo "Doing info in utils" ; \
28276 (cd $(HOST_SUBDIR)/utils && \
28277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28279 "RANLIB=$${RANLIB}" \
28280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28281 info) \
28282 || exit 1
28284 @endif utils
28286 .PHONY: maybe-dvi-utils dvi-utils
28287 maybe-dvi-utils:
28288 @if utils
28289 maybe-dvi-utils: dvi-utils
28291 dvi-utils: \
28292 configure-utils
28293 @: $(MAKE); $(unstage)
28294 @[ -f ./utils/Makefile ] || exit 0; \
28295 r=`${PWD_COMMAND}`; export r; \
28296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28297 $(HOST_EXPORTS) \
28298 for flag in $(EXTRA_HOST_FLAGS) ; do \
28299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28300 done; \
28301 echo "Doing dvi in utils" ; \
28302 (cd $(HOST_SUBDIR)/utils && \
28303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28305 "RANLIB=$${RANLIB}" \
28306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28307 dvi) \
28308 || exit 1
28310 @endif utils
28312 .PHONY: maybe-html-utils html-utils
28313 maybe-html-utils:
28314 @if utils
28315 maybe-html-utils: html-utils
28317 html-utils: \
28318 configure-utils
28319 @: $(MAKE); $(unstage)
28320 @[ -f ./utils/Makefile ] || exit 0; \
28321 r=`${PWD_COMMAND}`; export r; \
28322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323 $(HOST_EXPORTS) \
28324 for flag in $(EXTRA_HOST_FLAGS) ; do \
28325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28326 done; \
28327 echo "Doing html in utils" ; \
28328 (cd $(HOST_SUBDIR)/utils && \
28329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28331 "RANLIB=$${RANLIB}" \
28332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28333 html) \
28334 || exit 1
28336 @endif utils
28338 .PHONY: maybe-TAGS-utils TAGS-utils
28339 maybe-TAGS-utils:
28340 @if utils
28341 maybe-TAGS-utils: TAGS-utils
28343 TAGS-utils: \
28344 configure-utils
28345 @: $(MAKE); $(unstage)
28346 @[ -f ./utils/Makefile ] || exit 0; \
28347 r=`${PWD_COMMAND}`; export r; \
28348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28349 $(HOST_EXPORTS) \
28350 for flag in $(EXTRA_HOST_FLAGS) ; do \
28351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28352 done; \
28353 echo "Doing TAGS in utils" ; \
28354 (cd $(HOST_SUBDIR)/utils && \
28355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28357 "RANLIB=$${RANLIB}" \
28358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28359 TAGS) \
28360 || exit 1
28362 @endif utils
28364 .PHONY: maybe-install-info-utils install-info-utils
28365 maybe-install-info-utils:
28366 @if utils
28367 maybe-install-info-utils: install-info-utils
28369 install-info-utils: \
28370 configure-utils \
28371 info-utils
28372 @: $(MAKE); $(unstage)
28373 @[ -f ./utils/Makefile ] || exit 0; \
28374 r=`${PWD_COMMAND}`; export r; \
28375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28376 $(HOST_EXPORTS) \
28377 for flag in $(EXTRA_HOST_FLAGS) ; do \
28378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28379 done; \
28380 echo "Doing install-info in utils" ; \
28381 (cd $(HOST_SUBDIR)/utils && \
28382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28384 "RANLIB=$${RANLIB}" \
28385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28386 install-info) \
28387 || exit 1
28389 @endif utils
28391 .PHONY: maybe-installcheck-utils installcheck-utils
28392 maybe-installcheck-utils:
28393 @if utils
28394 maybe-installcheck-utils: installcheck-utils
28396 installcheck-utils: \
28397 configure-utils
28398 @: $(MAKE); $(unstage)
28399 @[ -f ./utils/Makefile ] || exit 0; \
28400 r=`${PWD_COMMAND}`; export r; \
28401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28402 $(HOST_EXPORTS) \
28403 for flag in $(EXTRA_HOST_FLAGS) ; do \
28404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28405 done; \
28406 echo "Doing installcheck in utils" ; \
28407 (cd $(HOST_SUBDIR)/utils && \
28408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28410 "RANLIB=$${RANLIB}" \
28411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28412 installcheck) \
28413 || exit 1
28415 @endif utils
28417 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28418 maybe-mostlyclean-utils:
28419 @if utils
28420 maybe-mostlyclean-utils: mostlyclean-utils
28422 mostlyclean-utils:
28423 @: $(MAKE); $(unstage)
28424 @[ -f ./utils/Makefile ] || exit 0; \
28425 r=`${PWD_COMMAND}`; export r; \
28426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28427 $(HOST_EXPORTS) \
28428 for flag in $(EXTRA_HOST_FLAGS) ; do \
28429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28430 done; \
28431 echo "Doing mostlyclean in utils" ; \
28432 (cd $(HOST_SUBDIR)/utils && \
28433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28435 "RANLIB=$${RANLIB}" \
28436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28437 mostlyclean) \
28438 || exit 1
28440 @endif utils
28442 .PHONY: maybe-clean-utils clean-utils
28443 maybe-clean-utils:
28444 @if utils
28445 maybe-clean-utils: clean-utils
28447 clean-utils:
28448 @: $(MAKE); $(unstage)
28449 @[ -f ./utils/Makefile ] || exit 0; \
28450 r=`${PWD_COMMAND}`; export r; \
28451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28452 $(HOST_EXPORTS) \
28453 for flag in $(EXTRA_HOST_FLAGS) ; do \
28454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28455 done; \
28456 echo "Doing clean in utils" ; \
28457 (cd $(HOST_SUBDIR)/utils && \
28458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28460 "RANLIB=$${RANLIB}" \
28461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28462 clean) \
28463 || exit 1
28465 @endif utils
28467 .PHONY: maybe-distclean-utils distclean-utils
28468 maybe-distclean-utils:
28469 @if utils
28470 maybe-distclean-utils: distclean-utils
28472 distclean-utils:
28473 @: $(MAKE); $(unstage)
28474 @[ -f ./utils/Makefile ] || exit 0; \
28475 r=`${PWD_COMMAND}`; export r; \
28476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28477 $(HOST_EXPORTS) \
28478 for flag in $(EXTRA_HOST_FLAGS) ; do \
28479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28480 done; \
28481 echo "Doing distclean in utils" ; \
28482 (cd $(HOST_SUBDIR)/utils && \
28483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28485 "RANLIB=$${RANLIB}" \
28486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28487 distclean) \
28488 || exit 1
28490 @endif utils
28492 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28493 maybe-maintainer-clean-utils:
28494 @if utils
28495 maybe-maintainer-clean-utils: maintainer-clean-utils
28497 maintainer-clean-utils:
28498 @: $(MAKE); $(unstage)
28499 @[ -f ./utils/Makefile ] || exit 0; \
28500 r=`${PWD_COMMAND}`; export r; \
28501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28502 $(HOST_EXPORTS) \
28503 for flag in $(EXTRA_HOST_FLAGS) ; do \
28504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28505 done; \
28506 echo "Doing maintainer-clean in utils" ; \
28507 (cd $(HOST_SUBDIR)/utils && \
28508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28510 "RANLIB=$${RANLIB}" \
28511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28512 maintainer-clean) \
28513 || exit 1
28515 @endif utils
28519 .PHONY: configure-gnattools maybe-configure-gnattools
28520 maybe-configure-gnattools:
28521 @if gnattools
28522 maybe-configure-gnattools: configure-gnattools
28523 configure-gnattools:
28524 @: $(MAKE); $(unstage)
28525 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28527 r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28531 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28532 case $(srcdir) in \
28533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28534 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28536 esac; \
28537 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28538 libsrcdir="$$s/gnattools"; \
28539 $(SHELL) $${libsrcdir}/configure \
28540 $(HOST_CONFIGARGS) $${srcdiroption} \
28541 || exit 1
28542 @endif gnattools
28548 .PHONY: all-gnattools maybe-all-gnattools
28549 maybe-all-gnattools:
28550 @if gnattools
28551 TARGET-gnattools=all
28552 maybe-all-gnattools: all-gnattools
28553 all-gnattools: configure-gnattools
28554 @: $(MAKE); $(unstage)
28555 @r=`${PWD_COMMAND}`; export r; \
28556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28557 $(HOST_EXPORTS) \
28558 (cd $(HOST_SUBDIR)/gnattools && \
28559 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28560 @endif gnattools
28565 .PHONY: check-gnattools maybe-check-gnattools
28566 maybe-check-gnattools:
28567 @if gnattools
28568 maybe-check-gnattools: check-gnattools
28570 check-gnattools:
28571 @: $(MAKE); $(unstage)
28572 @r=`${PWD_COMMAND}`; export r; \
28573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28574 $(HOST_EXPORTS) \
28575 (cd $(HOST_SUBDIR)/gnattools && \
28576 $(MAKE) $(FLAGS_TO_PASS) check)
28578 @endif gnattools
28580 .PHONY: install-gnattools maybe-install-gnattools
28581 maybe-install-gnattools:
28582 @if gnattools
28583 maybe-install-gnattools: install-gnattools
28585 install-gnattools: installdirs
28586 @: $(MAKE); $(unstage)
28587 @r=`${PWD_COMMAND}`; export r; \
28588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28589 $(HOST_EXPORTS) \
28590 (cd $(HOST_SUBDIR)/gnattools && \
28591 $(MAKE) $(FLAGS_TO_PASS) install)
28593 @endif gnattools
28595 # Other targets (info, dvi, etc.)
28597 .PHONY: maybe-info-gnattools info-gnattools
28598 maybe-info-gnattools:
28599 @if gnattools
28600 maybe-info-gnattools: info-gnattools
28602 info-gnattools: \
28603 configure-gnattools
28604 @: $(MAKE); $(unstage)
28605 @[ -f ./gnattools/Makefile ] || exit 0; \
28606 r=`${PWD_COMMAND}`; export r; \
28607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28608 $(HOST_EXPORTS) \
28609 for flag in $(EXTRA_HOST_FLAGS) ; do \
28610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28611 done; \
28612 echo "Doing info in gnattools" ; \
28613 (cd $(HOST_SUBDIR)/gnattools && \
28614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28616 "RANLIB=$${RANLIB}" \
28617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28618 info) \
28619 || exit 1
28621 @endif gnattools
28623 .PHONY: maybe-dvi-gnattools dvi-gnattools
28624 maybe-dvi-gnattools:
28625 @if gnattools
28626 maybe-dvi-gnattools: dvi-gnattools
28628 dvi-gnattools: \
28629 configure-gnattools
28630 @: $(MAKE); $(unstage)
28631 @[ -f ./gnattools/Makefile ] || exit 0; \
28632 r=`${PWD_COMMAND}`; export r; \
28633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28634 $(HOST_EXPORTS) \
28635 for flag in $(EXTRA_HOST_FLAGS) ; do \
28636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28637 done; \
28638 echo "Doing dvi in gnattools" ; \
28639 (cd $(HOST_SUBDIR)/gnattools && \
28640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28642 "RANLIB=$${RANLIB}" \
28643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28644 dvi) \
28645 || exit 1
28647 @endif gnattools
28649 .PHONY: maybe-html-gnattools html-gnattools
28650 maybe-html-gnattools:
28651 @if gnattools
28652 maybe-html-gnattools: html-gnattools
28654 html-gnattools: \
28655 configure-gnattools
28656 @: $(MAKE); $(unstage)
28657 @[ -f ./gnattools/Makefile ] || exit 0; \
28658 r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(HOST_EXPORTS) \
28661 for flag in $(EXTRA_HOST_FLAGS) ; do \
28662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28663 done; \
28664 echo "Doing html in gnattools" ; \
28665 (cd $(HOST_SUBDIR)/gnattools && \
28666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28668 "RANLIB=$${RANLIB}" \
28669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28670 html) \
28671 || exit 1
28673 @endif gnattools
28675 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28676 maybe-TAGS-gnattools:
28677 @if gnattools
28678 maybe-TAGS-gnattools: TAGS-gnattools
28680 TAGS-gnattools: \
28681 configure-gnattools
28682 @: $(MAKE); $(unstage)
28683 @[ -f ./gnattools/Makefile ] || exit 0; \
28684 r=`${PWD_COMMAND}`; export r; \
28685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28686 $(HOST_EXPORTS) \
28687 for flag in $(EXTRA_HOST_FLAGS) ; do \
28688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28689 done; \
28690 echo "Doing TAGS in gnattools" ; \
28691 (cd $(HOST_SUBDIR)/gnattools && \
28692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28694 "RANLIB=$${RANLIB}" \
28695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28696 TAGS) \
28697 || exit 1
28699 @endif gnattools
28701 .PHONY: maybe-install-info-gnattools install-info-gnattools
28702 maybe-install-info-gnattools:
28703 @if gnattools
28704 maybe-install-info-gnattools: install-info-gnattools
28706 install-info-gnattools: \
28707 configure-gnattools \
28708 info-gnattools
28709 @: $(MAKE); $(unstage)
28710 @[ -f ./gnattools/Makefile ] || exit 0; \
28711 r=`${PWD_COMMAND}`; export r; \
28712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28713 $(HOST_EXPORTS) \
28714 for flag in $(EXTRA_HOST_FLAGS) ; do \
28715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28716 done; \
28717 echo "Doing install-info in gnattools" ; \
28718 (cd $(HOST_SUBDIR)/gnattools && \
28719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28721 "RANLIB=$${RANLIB}" \
28722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28723 install-info) \
28724 || exit 1
28726 @endif gnattools
28728 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28729 maybe-installcheck-gnattools:
28730 @if gnattools
28731 maybe-installcheck-gnattools: installcheck-gnattools
28733 installcheck-gnattools: \
28734 configure-gnattools
28735 @: $(MAKE); $(unstage)
28736 @[ -f ./gnattools/Makefile ] || exit 0; \
28737 r=`${PWD_COMMAND}`; export r; \
28738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28739 $(HOST_EXPORTS) \
28740 for flag in $(EXTRA_HOST_FLAGS) ; do \
28741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28742 done; \
28743 echo "Doing installcheck in gnattools" ; \
28744 (cd $(HOST_SUBDIR)/gnattools && \
28745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28747 "RANLIB=$${RANLIB}" \
28748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28749 installcheck) \
28750 || exit 1
28752 @endif gnattools
28754 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28755 maybe-mostlyclean-gnattools:
28756 @if gnattools
28757 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28759 mostlyclean-gnattools:
28760 @: $(MAKE); $(unstage)
28761 @[ -f ./gnattools/Makefile ] || exit 0; \
28762 r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 $(HOST_EXPORTS) \
28765 for flag in $(EXTRA_HOST_FLAGS) ; do \
28766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28767 done; \
28768 echo "Doing mostlyclean in gnattools" ; \
28769 (cd $(HOST_SUBDIR)/gnattools && \
28770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28772 "RANLIB=$${RANLIB}" \
28773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28774 mostlyclean) \
28775 || exit 1
28777 @endif gnattools
28779 .PHONY: maybe-clean-gnattools clean-gnattools
28780 maybe-clean-gnattools:
28781 @if gnattools
28782 maybe-clean-gnattools: clean-gnattools
28784 clean-gnattools:
28785 @: $(MAKE); $(unstage)
28786 @[ -f ./gnattools/Makefile ] || exit 0; \
28787 r=`${PWD_COMMAND}`; export r; \
28788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28789 $(HOST_EXPORTS) \
28790 for flag in $(EXTRA_HOST_FLAGS) ; do \
28791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28792 done; \
28793 echo "Doing clean in gnattools" ; \
28794 (cd $(HOST_SUBDIR)/gnattools && \
28795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28797 "RANLIB=$${RANLIB}" \
28798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28799 clean) \
28800 || exit 1
28802 @endif gnattools
28804 .PHONY: maybe-distclean-gnattools distclean-gnattools
28805 maybe-distclean-gnattools:
28806 @if gnattools
28807 maybe-distclean-gnattools: distclean-gnattools
28809 distclean-gnattools:
28810 @: $(MAKE); $(unstage)
28811 @[ -f ./gnattools/Makefile ] || exit 0; \
28812 r=`${PWD_COMMAND}`; export r; \
28813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28814 $(HOST_EXPORTS) \
28815 for flag in $(EXTRA_HOST_FLAGS) ; do \
28816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28817 done; \
28818 echo "Doing distclean in gnattools" ; \
28819 (cd $(HOST_SUBDIR)/gnattools && \
28820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28822 "RANLIB=$${RANLIB}" \
28823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28824 distclean) \
28825 || exit 1
28827 @endif gnattools
28829 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28830 maybe-maintainer-clean-gnattools:
28831 @if gnattools
28832 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28834 maintainer-clean-gnattools:
28835 @: $(MAKE); $(unstage)
28836 @[ -f ./gnattools/Makefile ] || exit 0; \
28837 r=`${PWD_COMMAND}`; export r; \
28838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28839 $(HOST_EXPORTS) \
28840 for flag in $(EXTRA_HOST_FLAGS) ; do \
28841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28842 done; \
28843 echo "Doing maintainer-clean in gnattools" ; \
28844 (cd $(HOST_SUBDIR)/gnattools && \
28845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28847 "RANLIB=$${RANLIB}" \
28848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28849 maintainer-clean) \
28850 || exit 1
28852 @endif gnattools
28856 # ---------------------------------------
28857 # Modules which run on the target machine
28858 # ---------------------------------------
28863 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28864 maybe-configure-target-libstdc++-v3:
28865 @if target-libstdc++-v3
28866 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28867 configure-target-libstdc++-v3:
28868 @: $(MAKE); $(unstage)
28869 @r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 echo "Checking multilib configuration for libstdc++-v3..."; \
28872 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28873 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
28874 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28875 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28876 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
28877 else \
28878 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
28879 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28880 fi; \
28881 else \
28882 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28884 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28885 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28886 r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 $(RAW_CXX_TARGET_EXPORTS) \
28889 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28890 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28891 case $(srcdir) in \
28892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28893 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28895 esac; \
28896 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28897 libsrcdir="$$s/libstdc++-v3"; \
28898 rm -f no-such-file || : ; \
28899 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28900 $(TARGET_CONFIGARGS) $${srcdiroption} \
28901 || exit 1
28902 @endif target-libstdc++-v3
28908 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28909 maybe-all-target-libstdc++-v3:
28910 @if target-libstdc++-v3
28911 TARGET-target-libstdc++-v3=all
28912 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28913 all-target-libstdc++-v3: configure-target-libstdc++-v3
28914 @: $(MAKE); $(unstage)
28915 @r=`${PWD_COMMAND}`; export r; \
28916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28917 $(RAW_CXX_TARGET_EXPORTS) \
28918 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28919 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28920 @endif target-libstdc++-v3
28926 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28927 maybe-check-target-libstdc++-v3:
28928 @if target-libstdc++-v3
28929 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28931 check-target-libstdc++-v3:
28932 @: $(MAKE); $(unstage)
28933 @r=`${PWD_COMMAND}`; export r; \
28934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28935 $(RAW_CXX_TARGET_EXPORTS) \
28936 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28937 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28939 @endif target-libstdc++-v3
28941 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28942 maybe-install-target-libstdc++-v3:
28943 @if target-libstdc++-v3
28944 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28946 install-target-libstdc++-v3: installdirs
28947 @: $(MAKE); $(unstage)
28948 @r=`${PWD_COMMAND}`; export r; \
28949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28950 $(RAW_CXX_TARGET_EXPORTS) \
28951 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28952 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28954 @endif target-libstdc++-v3
28956 # Other targets (info, dvi, etc.)
28958 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28959 maybe-info-target-libstdc++-v3:
28960 @if target-libstdc++-v3
28961 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28963 info-target-libstdc++-v3: \
28964 configure-target-libstdc++-v3
28965 @: $(MAKE); $(unstage)
28966 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28967 r=`${PWD_COMMAND}`; export r; \
28968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28969 $(RAW_CXX_TARGET_EXPORTS) \
28970 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28971 for flag in $(EXTRA_TARGET_FLAGS); do \
28972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28973 done; \
28974 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28977 "RANLIB=$${RANLIB}" \
28978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28979 info) \
28980 || exit 1
28982 @endif target-libstdc++-v3
28984 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28985 maybe-dvi-target-libstdc++-v3:
28986 @if target-libstdc++-v3
28987 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28989 dvi-target-libstdc++-v3: \
28990 configure-target-libstdc++-v3
28991 @: $(MAKE); $(unstage)
28992 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28993 r=`${PWD_COMMAND}`; export r; \
28994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28995 $(RAW_CXX_TARGET_EXPORTS) \
28996 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28997 for flag in $(EXTRA_TARGET_FLAGS); do \
28998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28999 done; \
29000 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29003 "RANLIB=$${RANLIB}" \
29004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29005 dvi) \
29006 || exit 1
29008 @endif target-libstdc++-v3
29010 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29011 maybe-html-target-libstdc++-v3:
29012 @if target-libstdc++-v3
29013 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29015 html-target-libstdc++-v3: \
29016 configure-target-libstdc++-v3
29017 @: $(MAKE); $(unstage)
29018 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29019 r=`${PWD_COMMAND}`; export r; \
29020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29021 $(RAW_CXX_TARGET_EXPORTS) \
29022 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29023 for flag in $(EXTRA_TARGET_FLAGS); do \
29024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29025 done; \
29026 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29029 "RANLIB=$${RANLIB}" \
29030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29031 html) \
29032 || exit 1
29034 @endif target-libstdc++-v3
29036 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29037 maybe-TAGS-target-libstdc++-v3:
29038 @if target-libstdc++-v3
29039 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29041 TAGS-target-libstdc++-v3: \
29042 configure-target-libstdc++-v3
29043 @: $(MAKE); $(unstage)
29044 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29045 r=`${PWD_COMMAND}`; export r; \
29046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29047 $(RAW_CXX_TARGET_EXPORTS) \
29048 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29049 for flag in $(EXTRA_TARGET_FLAGS); do \
29050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29051 done; \
29052 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29055 "RANLIB=$${RANLIB}" \
29056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29057 TAGS) \
29058 || exit 1
29060 @endif target-libstdc++-v3
29062 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29063 maybe-install-info-target-libstdc++-v3:
29064 @if target-libstdc++-v3
29065 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29067 install-info-target-libstdc++-v3: \
29068 configure-target-libstdc++-v3 \
29069 info-target-libstdc++-v3
29070 @: $(MAKE); $(unstage)
29071 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29072 r=`${PWD_COMMAND}`; export r; \
29073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29074 $(RAW_CXX_TARGET_EXPORTS) \
29075 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29076 for flag in $(EXTRA_TARGET_FLAGS); do \
29077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29078 done; \
29079 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29082 "RANLIB=$${RANLIB}" \
29083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29084 install-info) \
29085 || exit 1
29087 @endif target-libstdc++-v3
29089 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29090 maybe-installcheck-target-libstdc++-v3:
29091 @if target-libstdc++-v3
29092 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29094 installcheck-target-libstdc++-v3: \
29095 configure-target-libstdc++-v3
29096 @: $(MAKE); $(unstage)
29097 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29098 r=`${PWD_COMMAND}`; export r; \
29099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29100 $(RAW_CXX_TARGET_EXPORTS) \
29101 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29102 for flag in $(EXTRA_TARGET_FLAGS); do \
29103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29104 done; \
29105 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29108 "RANLIB=$${RANLIB}" \
29109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29110 installcheck) \
29111 || exit 1
29113 @endif target-libstdc++-v3
29115 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29116 maybe-mostlyclean-target-libstdc++-v3:
29117 @if target-libstdc++-v3
29118 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29120 mostlyclean-target-libstdc++-v3:
29121 @: $(MAKE); $(unstage)
29122 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29123 r=`${PWD_COMMAND}`; export r; \
29124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29125 $(RAW_CXX_TARGET_EXPORTS) \
29126 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29127 for flag in $(EXTRA_TARGET_FLAGS); do \
29128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29129 done; \
29130 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29133 "RANLIB=$${RANLIB}" \
29134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29135 mostlyclean) \
29136 || exit 1
29138 @endif target-libstdc++-v3
29140 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29141 maybe-clean-target-libstdc++-v3:
29142 @if target-libstdc++-v3
29143 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29145 clean-target-libstdc++-v3:
29146 @: $(MAKE); $(unstage)
29147 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29148 r=`${PWD_COMMAND}`; export r; \
29149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29150 $(RAW_CXX_TARGET_EXPORTS) \
29151 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29152 for flag in $(EXTRA_TARGET_FLAGS); do \
29153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29154 done; \
29155 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29158 "RANLIB=$${RANLIB}" \
29159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29160 clean) \
29161 || exit 1
29163 @endif target-libstdc++-v3
29165 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29166 maybe-distclean-target-libstdc++-v3:
29167 @if target-libstdc++-v3
29168 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29170 distclean-target-libstdc++-v3:
29171 @: $(MAKE); $(unstage)
29172 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29173 r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29175 $(RAW_CXX_TARGET_EXPORTS) \
29176 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29177 for flag in $(EXTRA_TARGET_FLAGS); do \
29178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29179 done; \
29180 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29183 "RANLIB=$${RANLIB}" \
29184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29185 distclean) \
29186 || exit 1
29188 @endif target-libstdc++-v3
29190 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29191 maybe-maintainer-clean-target-libstdc++-v3:
29192 @if target-libstdc++-v3
29193 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29195 maintainer-clean-target-libstdc++-v3:
29196 @: $(MAKE); $(unstage)
29197 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29198 r=`${PWD_COMMAND}`; export r; \
29199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29200 $(RAW_CXX_TARGET_EXPORTS) \
29201 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29202 for flag in $(EXTRA_TARGET_FLAGS); do \
29203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29204 done; \
29205 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29208 "RANLIB=$${RANLIB}" \
29209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29210 maintainer-clean) \
29211 || exit 1
29213 @endif target-libstdc++-v3
29219 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29220 maybe-configure-target-libmudflap:
29221 @if target-libmudflap
29222 maybe-configure-target-libmudflap: configure-target-libmudflap
29223 configure-target-libmudflap:
29224 @: $(MAKE); $(unstage)
29225 @r=`${PWD_COMMAND}`; export r; \
29226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29227 echo "Checking multilib configuration for libmudflap..."; \
29228 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29229 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29230 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29231 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29232 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29233 else \
29234 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29235 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29236 fi; \
29237 else \
29238 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29240 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29242 r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(NORMAL_TARGET_EXPORTS) \
29245 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29246 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29247 case $(srcdir) in \
29248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29249 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29251 esac; \
29252 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29253 libsrcdir="$$s/libmudflap"; \
29254 rm -f no-such-file || : ; \
29255 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29256 $(TARGET_CONFIGARGS) $${srcdiroption} \
29257 || exit 1
29258 @endif target-libmudflap
29264 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29265 maybe-all-target-libmudflap:
29266 @if target-libmudflap
29267 TARGET-target-libmudflap=all
29268 maybe-all-target-libmudflap: all-target-libmudflap
29269 all-target-libmudflap: configure-target-libmudflap
29270 @: $(MAKE); $(unstage)
29271 @r=`${PWD_COMMAND}`; export r; \
29272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29273 $(NORMAL_TARGET_EXPORTS) \
29274 (cd $(TARGET_SUBDIR)/libmudflap && \
29275 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29276 @endif target-libmudflap
29282 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29283 maybe-check-target-libmudflap:
29284 @if target-libmudflap
29285 maybe-check-target-libmudflap: check-target-libmudflap
29287 check-target-libmudflap:
29288 @: $(MAKE); $(unstage)
29289 @r=`${PWD_COMMAND}`; export r; \
29290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29291 $(NORMAL_TARGET_EXPORTS) \
29292 (cd $(TARGET_SUBDIR)/libmudflap && \
29293 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29295 @endif target-libmudflap
29297 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29298 maybe-install-target-libmudflap:
29299 @if target-libmudflap
29300 maybe-install-target-libmudflap: install-target-libmudflap
29302 install-target-libmudflap: installdirs
29303 @: $(MAKE); $(unstage)
29304 @r=`${PWD_COMMAND}`; export r; \
29305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29306 $(NORMAL_TARGET_EXPORTS) \
29307 (cd $(TARGET_SUBDIR)/libmudflap && \
29308 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29310 @endif target-libmudflap
29312 # Other targets (info, dvi, etc.)
29314 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29315 maybe-info-target-libmudflap:
29316 @if target-libmudflap
29317 maybe-info-target-libmudflap: info-target-libmudflap
29319 info-target-libmudflap: \
29320 configure-target-libmudflap
29321 @: $(MAKE); $(unstage)
29322 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29323 r=`${PWD_COMMAND}`; export r; \
29324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29325 $(NORMAL_TARGET_EXPORTS) \
29326 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29327 for flag in $(EXTRA_TARGET_FLAGS); do \
29328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29329 done; \
29330 (cd $(TARGET_SUBDIR)/libmudflap && \
29331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29333 "RANLIB=$${RANLIB}" \
29334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29335 info) \
29336 || exit 1
29338 @endif target-libmudflap
29340 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29341 maybe-dvi-target-libmudflap:
29342 @if target-libmudflap
29343 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29345 dvi-target-libmudflap: \
29346 configure-target-libmudflap
29347 @: $(MAKE); $(unstage)
29348 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29349 r=`${PWD_COMMAND}`; export r; \
29350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29351 $(NORMAL_TARGET_EXPORTS) \
29352 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29353 for flag in $(EXTRA_TARGET_FLAGS); do \
29354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29355 done; \
29356 (cd $(TARGET_SUBDIR)/libmudflap && \
29357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29359 "RANLIB=$${RANLIB}" \
29360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29361 dvi) \
29362 || exit 1
29364 @endif target-libmudflap
29366 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29367 maybe-html-target-libmudflap:
29368 @if target-libmudflap
29369 maybe-html-target-libmudflap: html-target-libmudflap
29371 html-target-libmudflap: \
29372 configure-target-libmudflap
29373 @: $(MAKE); $(unstage)
29374 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29375 r=`${PWD_COMMAND}`; export r; \
29376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29377 $(NORMAL_TARGET_EXPORTS) \
29378 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29379 for flag in $(EXTRA_TARGET_FLAGS); do \
29380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29381 done; \
29382 (cd $(TARGET_SUBDIR)/libmudflap && \
29383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29385 "RANLIB=$${RANLIB}" \
29386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29387 html) \
29388 || exit 1
29390 @endif target-libmudflap
29392 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29393 maybe-TAGS-target-libmudflap:
29394 @if target-libmudflap
29395 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29397 TAGS-target-libmudflap: \
29398 configure-target-libmudflap
29399 @: $(MAKE); $(unstage)
29400 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29401 r=`${PWD_COMMAND}`; export r; \
29402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29403 $(NORMAL_TARGET_EXPORTS) \
29404 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29405 for flag in $(EXTRA_TARGET_FLAGS); do \
29406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29407 done; \
29408 (cd $(TARGET_SUBDIR)/libmudflap && \
29409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29411 "RANLIB=$${RANLIB}" \
29412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29413 TAGS) \
29414 || exit 1
29416 @endif target-libmudflap
29418 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29419 maybe-install-info-target-libmudflap:
29420 @if target-libmudflap
29421 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29423 install-info-target-libmudflap: \
29424 configure-target-libmudflap \
29425 info-target-libmudflap
29426 @: $(MAKE); $(unstage)
29427 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29428 r=`${PWD_COMMAND}`; export r; \
29429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29430 $(NORMAL_TARGET_EXPORTS) \
29431 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29432 for flag in $(EXTRA_TARGET_FLAGS); do \
29433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29434 done; \
29435 (cd $(TARGET_SUBDIR)/libmudflap && \
29436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29438 "RANLIB=$${RANLIB}" \
29439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29440 install-info) \
29441 || exit 1
29443 @endif target-libmudflap
29445 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29446 maybe-installcheck-target-libmudflap:
29447 @if target-libmudflap
29448 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29450 installcheck-target-libmudflap: \
29451 configure-target-libmudflap
29452 @: $(MAKE); $(unstage)
29453 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29454 r=`${PWD_COMMAND}`; export r; \
29455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29456 $(NORMAL_TARGET_EXPORTS) \
29457 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29458 for flag in $(EXTRA_TARGET_FLAGS); do \
29459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29460 done; \
29461 (cd $(TARGET_SUBDIR)/libmudflap && \
29462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29464 "RANLIB=$${RANLIB}" \
29465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29466 installcheck) \
29467 || exit 1
29469 @endif target-libmudflap
29471 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29472 maybe-mostlyclean-target-libmudflap:
29473 @if target-libmudflap
29474 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29476 mostlyclean-target-libmudflap:
29477 @: $(MAKE); $(unstage)
29478 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29479 r=`${PWD_COMMAND}`; export r; \
29480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29481 $(NORMAL_TARGET_EXPORTS) \
29482 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29483 for flag in $(EXTRA_TARGET_FLAGS); do \
29484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29485 done; \
29486 (cd $(TARGET_SUBDIR)/libmudflap && \
29487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29489 "RANLIB=$${RANLIB}" \
29490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29491 mostlyclean) \
29492 || exit 1
29494 @endif target-libmudflap
29496 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29497 maybe-clean-target-libmudflap:
29498 @if target-libmudflap
29499 maybe-clean-target-libmudflap: clean-target-libmudflap
29501 clean-target-libmudflap:
29502 @: $(MAKE); $(unstage)
29503 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29504 r=`${PWD_COMMAND}`; export r; \
29505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29506 $(NORMAL_TARGET_EXPORTS) \
29507 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29508 for flag in $(EXTRA_TARGET_FLAGS); do \
29509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29510 done; \
29511 (cd $(TARGET_SUBDIR)/libmudflap && \
29512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29514 "RANLIB=$${RANLIB}" \
29515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29516 clean) \
29517 || exit 1
29519 @endif target-libmudflap
29521 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29522 maybe-distclean-target-libmudflap:
29523 @if target-libmudflap
29524 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29526 distclean-target-libmudflap:
29527 @: $(MAKE); $(unstage)
29528 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29529 r=`${PWD_COMMAND}`; export r; \
29530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29531 $(NORMAL_TARGET_EXPORTS) \
29532 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29533 for flag in $(EXTRA_TARGET_FLAGS); do \
29534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29535 done; \
29536 (cd $(TARGET_SUBDIR)/libmudflap && \
29537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29539 "RANLIB=$${RANLIB}" \
29540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29541 distclean) \
29542 || exit 1
29544 @endif target-libmudflap
29546 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29547 maybe-maintainer-clean-target-libmudflap:
29548 @if target-libmudflap
29549 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29551 maintainer-clean-target-libmudflap:
29552 @: $(MAKE); $(unstage)
29553 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29554 r=`${PWD_COMMAND}`; export r; \
29555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29556 $(NORMAL_TARGET_EXPORTS) \
29557 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29558 for flag in $(EXTRA_TARGET_FLAGS); do \
29559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29560 done; \
29561 (cd $(TARGET_SUBDIR)/libmudflap && \
29562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29564 "RANLIB=$${RANLIB}" \
29565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29566 maintainer-clean) \
29567 || exit 1
29569 @endif target-libmudflap
29575 .PHONY: configure-target-libssp maybe-configure-target-libssp
29576 maybe-configure-target-libssp:
29577 @if target-libssp
29578 maybe-configure-target-libssp: configure-target-libssp
29579 configure-target-libssp:
29580 @: $(MAKE); $(unstage)
29581 @r=`${PWD_COMMAND}`; export r; \
29582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29583 echo "Checking multilib configuration for libssp..."; \
29584 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29585 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29586 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29587 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29588 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29589 else \
29590 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29591 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29592 fi; \
29593 else \
29594 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29596 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29598 r=`${PWD_COMMAND}`; export r; \
29599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29600 $(NORMAL_TARGET_EXPORTS) \
29601 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29602 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29603 case $(srcdir) in \
29604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29605 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29607 esac; \
29608 srcdiroption="--srcdir=$${topdir}/libssp"; \
29609 libsrcdir="$$s/libssp"; \
29610 rm -f no-such-file || : ; \
29611 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29612 $(TARGET_CONFIGARGS) $${srcdiroption} \
29613 || exit 1
29614 @endif target-libssp
29620 .PHONY: all-target-libssp maybe-all-target-libssp
29621 maybe-all-target-libssp:
29622 @if target-libssp
29623 TARGET-target-libssp=all
29624 maybe-all-target-libssp: all-target-libssp
29625 all-target-libssp: configure-target-libssp
29626 @: $(MAKE); $(unstage)
29627 @r=`${PWD_COMMAND}`; export r; \
29628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29629 $(NORMAL_TARGET_EXPORTS) \
29630 (cd $(TARGET_SUBDIR)/libssp && \
29631 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29632 @endif target-libssp
29638 .PHONY: check-target-libssp maybe-check-target-libssp
29639 maybe-check-target-libssp:
29640 @if target-libssp
29641 maybe-check-target-libssp: check-target-libssp
29643 check-target-libssp:
29644 @: $(MAKE); $(unstage)
29645 @r=`${PWD_COMMAND}`; export r; \
29646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29647 $(NORMAL_TARGET_EXPORTS) \
29648 (cd $(TARGET_SUBDIR)/libssp && \
29649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29651 @endif target-libssp
29653 .PHONY: install-target-libssp maybe-install-target-libssp
29654 maybe-install-target-libssp:
29655 @if target-libssp
29656 maybe-install-target-libssp: install-target-libssp
29658 install-target-libssp: installdirs
29659 @: $(MAKE); $(unstage)
29660 @r=`${PWD_COMMAND}`; export r; \
29661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29662 $(NORMAL_TARGET_EXPORTS) \
29663 (cd $(TARGET_SUBDIR)/libssp && \
29664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29666 @endif target-libssp
29668 # Other targets (info, dvi, etc.)
29670 .PHONY: maybe-info-target-libssp info-target-libssp
29671 maybe-info-target-libssp:
29672 @if target-libssp
29673 maybe-info-target-libssp: info-target-libssp
29675 info-target-libssp: \
29676 configure-target-libssp
29677 @: $(MAKE); $(unstage)
29678 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29679 r=`${PWD_COMMAND}`; export r; \
29680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29681 $(NORMAL_TARGET_EXPORTS) \
29682 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29683 for flag in $(EXTRA_TARGET_FLAGS); do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29685 done; \
29686 (cd $(TARGET_SUBDIR)/libssp && \
29687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29689 "RANLIB=$${RANLIB}" \
29690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29691 info) \
29692 || exit 1
29694 @endif target-libssp
29696 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29697 maybe-dvi-target-libssp:
29698 @if target-libssp
29699 maybe-dvi-target-libssp: dvi-target-libssp
29701 dvi-target-libssp: \
29702 configure-target-libssp
29703 @: $(MAKE); $(unstage)
29704 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29705 r=`${PWD_COMMAND}`; export r; \
29706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29707 $(NORMAL_TARGET_EXPORTS) \
29708 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29709 for flag in $(EXTRA_TARGET_FLAGS); do \
29710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29711 done; \
29712 (cd $(TARGET_SUBDIR)/libssp && \
29713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29715 "RANLIB=$${RANLIB}" \
29716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29717 dvi) \
29718 || exit 1
29720 @endif target-libssp
29722 .PHONY: maybe-html-target-libssp html-target-libssp
29723 maybe-html-target-libssp:
29724 @if target-libssp
29725 maybe-html-target-libssp: html-target-libssp
29727 html-target-libssp: \
29728 configure-target-libssp
29729 @: $(MAKE); $(unstage)
29730 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29731 r=`${PWD_COMMAND}`; export r; \
29732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29733 $(NORMAL_TARGET_EXPORTS) \
29734 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29735 for flag in $(EXTRA_TARGET_FLAGS); do \
29736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29737 done; \
29738 (cd $(TARGET_SUBDIR)/libssp && \
29739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29741 "RANLIB=$${RANLIB}" \
29742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29743 html) \
29744 || exit 1
29746 @endif target-libssp
29748 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29749 maybe-TAGS-target-libssp:
29750 @if target-libssp
29751 maybe-TAGS-target-libssp: TAGS-target-libssp
29753 TAGS-target-libssp: \
29754 configure-target-libssp
29755 @: $(MAKE); $(unstage)
29756 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29757 r=`${PWD_COMMAND}`; export r; \
29758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(NORMAL_TARGET_EXPORTS) \
29760 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29761 for flag in $(EXTRA_TARGET_FLAGS); do \
29762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29763 done; \
29764 (cd $(TARGET_SUBDIR)/libssp && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29769 TAGS) \
29770 || exit 1
29772 @endif target-libssp
29774 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29775 maybe-install-info-target-libssp:
29776 @if target-libssp
29777 maybe-install-info-target-libssp: install-info-target-libssp
29779 install-info-target-libssp: \
29780 configure-target-libssp \
29781 info-target-libssp
29782 @: $(MAKE); $(unstage)
29783 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29784 r=`${PWD_COMMAND}`; export r; \
29785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29786 $(NORMAL_TARGET_EXPORTS) \
29787 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29788 for flag in $(EXTRA_TARGET_FLAGS); do \
29789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29790 done; \
29791 (cd $(TARGET_SUBDIR)/libssp && \
29792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29794 "RANLIB=$${RANLIB}" \
29795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29796 install-info) \
29797 || exit 1
29799 @endif target-libssp
29801 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29802 maybe-installcheck-target-libssp:
29803 @if target-libssp
29804 maybe-installcheck-target-libssp: installcheck-target-libssp
29806 installcheck-target-libssp: \
29807 configure-target-libssp
29808 @: $(MAKE); $(unstage)
29809 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29810 r=`${PWD_COMMAND}`; export r; \
29811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29812 $(NORMAL_TARGET_EXPORTS) \
29813 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29814 for flag in $(EXTRA_TARGET_FLAGS); do \
29815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29816 done; \
29817 (cd $(TARGET_SUBDIR)/libssp && \
29818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29820 "RANLIB=$${RANLIB}" \
29821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29822 installcheck) \
29823 || exit 1
29825 @endif target-libssp
29827 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29828 maybe-mostlyclean-target-libssp:
29829 @if target-libssp
29830 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29832 mostlyclean-target-libssp:
29833 @: $(MAKE); $(unstage)
29834 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29835 r=`${PWD_COMMAND}`; export r; \
29836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29837 $(NORMAL_TARGET_EXPORTS) \
29838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29839 for flag in $(EXTRA_TARGET_FLAGS); do \
29840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29841 done; \
29842 (cd $(TARGET_SUBDIR)/libssp && \
29843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29845 "RANLIB=$${RANLIB}" \
29846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29847 mostlyclean) \
29848 || exit 1
29850 @endif target-libssp
29852 .PHONY: maybe-clean-target-libssp clean-target-libssp
29853 maybe-clean-target-libssp:
29854 @if target-libssp
29855 maybe-clean-target-libssp: clean-target-libssp
29857 clean-target-libssp:
29858 @: $(MAKE); $(unstage)
29859 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29860 r=`${PWD_COMMAND}`; export r; \
29861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(NORMAL_TARGET_EXPORTS) \
29863 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29864 for flag in $(EXTRA_TARGET_FLAGS); do \
29865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29866 done; \
29867 (cd $(TARGET_SUBDIR)/libssp && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29872 clean) \
29873 || exit 1
29875 @endif target-libssp
29877 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29878 maybe-distclean-target-libssp:
29879 @if target-libssp
29880 maybe-distclean-target-libssp: distclean-target-libssp
29882 distclean-target-libssp:
29883 @: $(MAKE); $(unstage)
29884 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29885 r=`${PWD_COMMAND}`; export r; \
29886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29887 $(NORMAL_TARGET_EXPORTS) \
29888 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29889 for flag in $(EXTRA_TARGET_FLAGS); do \
29890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29891 done; \
29892 (cd $(TARGET_SUBDIR)/libssp && \
29893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29895 "RANLIB=$${RANLIB}" \
29896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29897 distclean) \
29898 || exit 1
29900 @endif target-libssp
29902 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29903 maybe-maintainer-clean-target-libssp:
29904 @if target-libssp
29905 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29907 maintainer-clean-target-libssp:
29908 @: $(MAKE); $(unstage)
29909 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29910 r=`${PWD_COMMAND}`; export r; \
29911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 $(NORMAL_TARGET_EXPORTS) \
29913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29914 for flag in $(EXTRA_TARGET_FLAGS); do \
29915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29916 done; \
29917 (cd $(TARGET_SUBDIR)/libssp && \
29918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29920 "RANLIB=$${RANLIB}" \
29921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29922 maintainer-clean) \
29923 || exit 1
29925 @endif target-libssp
29931 .PHONY: configure-target-newlib maybe-configure-target-newlib
29932 maybe-configure-target-newlib:
29933 @if target-newlib
29934 maybe-configure-target-newlib: configure-target-newlib
29935 configure-target-newlib:
29936 @: $(MAKE); $(unstage)
29937 @r=`${PWD_COMMAND}`; export r; \
29938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29939 echo "Checking multilib configuration for newlib..."; \
29940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29941 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
29942 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
29943 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
29944 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
29945 else \
29946 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
29947 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29948 fi; \
29949 else \
29950 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29952 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29954 r=`${PWD_COMMAND}`; export r; \
29955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29956 $(NORMAL_TARGET_EXPORTS) \
29957 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29958 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29959 case $(srcdir) in \
29960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29961 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29963 esac; \
29964 srcdiroption="--srcdir=$${topdir}/newlib"; \
29965 libsrcdir="$$s/newlib"; \
29966 rm -f no-such-file || : ; \
29967 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29968 $(TARGET_CONFIGARGS) $${srcdiroption} \
29969 || exit 1
29970 @endif target-newlib
29976 .PHONY: all-target-newlib maybe-all-target-newlib
29977 maybe-all-target-newlib:
29978 @if target-newlib
29979 TARGET-target-newlib=all
29980 maybe-all-target-newlib: all-target-newlib
29981 all-target-newlib: configure-target-newlib
29982 @: $(MAKE); $(unstage)
29983 @r=`${PWD_COMMAND}`; export r; \
29984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29985 $(NORMAL_TARGET_EXPORTS) \
29986 (cd $(TARGET_SUBDIR)/newlib && \
29987 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29988 @endif target-newlib
29994 .PHONY: check-target-newlib maybe-check-target-newlib
29995 maybe-check-target-newlib:
29996 @if target-newlib
29997 maybe-check-target-newlib: check-target-newlib
29999 check-target-newlib:
30000 @: $(MAKE); $(unstage)
30001 @r=`${PWD_COMMAND}`; export r; \
30002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30003 $(NORMAL_TARGET_EXPORTS) \
30004 (cd $(TARGET_SUBDIR)/newlib && \
30005 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30007 @endif target-newlib
30009 .PHONY: install-target-newlib maybe-install-target-newlib
30010 maybe-install-target-newlib:
30011 @if target-newlib
30012 maybe-install-target-newlib: install-target-newlib
30014 install-target-newlib: installdirs
30015 @: $(MAKE); $(unstage)
30016 @r=`${PWD_COMMAND}`; export r; \
30017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30018 $(NORMAL_TARGET_EXPORTS) \
30019 (cd $(TARGET_SUBDIR)/newlib && \
30020 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30022 @endif target-newlib
30024 # Other targets (info, dvi, etc.)
30026 .PHONY: maybe-info-target-newlib info-target-newlib
30027 maybe-info-target-newlib:
30028 @if target-newlib
30029 maybe-info-target-newlib: info-target-newlib
30031 info-target-newlib: \
30032 configure-target-newlib
30033 @: $(MAKE); $(unstage)
30034 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30035 r=`${PWD_COMMAND}`; export r; \
30036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30037 $(NORMAL_TARGET_EXPORTS) \
30038 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30039 for flag in $(EXTRA_TARGET_FLAGS); do \
30040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30041 done; \
30042 (cd $(TARGET_SUBDIR)/newlib && \
30043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30045 "RANLIB=$${RANLIB}" \
30046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30047 info) \
30048 || exit 1
30050 @endif target-newlib
30052 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30053 maybe-dvi-target-newlib:
30054 @if target-newlib
30055 maybe-dvi-target-newlib: dvi-target-newlib
30057 dvi-target-newlib: \
30058 configure-target-newlib
30059 @: $(MAKE); $(unstage)
30060 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30061 r=`${PWD_COMMAND}`; export r; \
30062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30063 $(NORMAL_TARGET_EXPORTS) \
30064 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30065 for flag in $(EXTRA_TARGET_FLAGS); do \
30066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30067 done; \
30068 (cd $(TARGET_SUBDIR)/newlib && \
30069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30071 "RANLIB=$${RANLIB}" \
30072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30073 dvi) \
30074 || exit 1
30076 @endif target-newlib
30078 .PHONY: maybe-html-target-newlib html-target-newlib
30079 maybe-html-target-newlib:
30080 @if target-newlib
30081 maybe-html-target-newlib: html-target-newlib
30083 html-target-newlib: \
30084 configure-target-newlib
30085 @: $(MAKE); $(unstage)
30086 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30087 r=`${PWD_COMMAND}`; export r; \
30088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30089 $(NORMAL_TARGET_EXPORTS) \
30090 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30091 for flag in $(EXTRA_TARGET_FLAGS); do \
30092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30093 done; \
30094 (cd $(TARGET_SUBDIR)/newlib && \
30095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30097 "RANLIB=$${RANLIB}" \
30098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30099 html) \
30100 || exit 1
30102 @endif target-newlib
30104 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30105 maybe-TAGS-target-newlib:
30106 @if target-newlib
30107 maybe-TAGS-target-newlib: TAGS-target-newlib
30109 TAGS-target-newlib: \
30110 configure-target-newlib
30111 @: $(MAKE); $(unstage)
30112 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30113 r=`${PWD_COMMAND}`; export r; \
30114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30115 $(NORMAL_TARGET_EXPORTS) \
30116 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30117 for flag in $(EXTRA_TARGET_FLAGS); do \
30118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30119 done; \
30120 (cd $(TARGET_SUBDIR)/newlib && \
30121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30123 "RANLIB=$${RANLIB}" \
30124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30125 TAGS) \
30126 || exit 1
30128 @endif target-newlib
30130 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30131 maybe-install-info-target-newlib:
30132 @if target-newlib
30133 maybe-install-info-target-newlib: install-info-target-newlib
30135 install-info-target-newlib: \
30136 configure-target-newlib \
30137 info-target-newlib
30138 @: $(MAKE); $(unstage)
30139 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30140 r=`${PWD_COMMAND}`; export r; \
30141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30142 $(NORMAL_TARGET_EXPORTS) \
30143 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30144 for flag in $(EXTRA_TARGET_FLAGS); do \
30145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30146 done; \
30147 (cd $(TARGET_SUBDIR)/newlib && \
30148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30150 "RANLIB=$${RANLIB}" \
30151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30152 install-info) \
30153 || exit 1
30155 @endif target-newlib
30157 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30158 maybe-installcheck-target-newlib:
30159 @if target-newlib
30160 maybe-installcheck-target-newlib: installcheck-target-newlib
30162 installcheck-target-newlib: \
30163 configure-target-newlib
30164 @: $(MAKE); $(unstage)
30165 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30166 r=`${PWD_COMMAND}`; export r; \
30167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30168 $(NORMAL_TARGET_EXPORTS) \
30169 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30170 for flag in $(EXTRA_TARGET_FLAGS); do \
30171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30172 done; \
30173 (cd $(TARGET_SUBDIR)/newlib && \
30174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30176 "RANLIB=$${RANLIB}" \
30177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30178 installcheck) \
30179 || exit 1
30181 @endif target-newlib
30183 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30184 maybe-mostlyclean-target-newlib:
30185 @if target-newlib
30186 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30188 mostlyclean-target-newlib:
30189 @: $(MAKE); $(unstage)
30190 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30191 r=`${PWD_COMMAND}`; export r; \
30192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30193 $(NORMAL_TARGET_EXPORTS) \
30194 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30195 for flag in $(EXTRA_TARGET_FLAGS); do \
30196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30197 done; \
30198 (cd $(TARGET_SUBDIR)/newlib && \
30199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30201 "RANLIB=$${RANLIB}" \
30202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30203 mostlyclean) \
30204 || exit 1
30206 @endif target-newlib
30208 .PHONY: maybe-clean-target-newlib clean-target-newlib
30209 maybe-clean-target-newlib:
30210 @if target-newlib
30211 maybe-clean-target-newlib: clean-target-newlib
30213 clean-target-newlib:
30214 @: $(MAKE); $(unstage)
30215 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30216 r=`${PWD_COMMAND}`; export r; \
30217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30218 $(NORMAL_TARGET_EXPORTS) \
30219 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30220 for flag in $(EXTRA_TARGET_FLAGS); do \
30221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30222 done; \
30223 (cd $(TARGET_SUBDIR)/newlib && \
30224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30226 "RANLIB=$${RANLIB}" \
30227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30228 clean) \
30229 || exit 1
30231 @endif target-newlib
30233 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30234 maybe-distclean-target-newlib:
30235 @if target-newlib
30236 maybe-distclean-target-newlib: distclean-target-newlib
30238 distclean-target-newlib:
30239 @: $(MAKE); $(unstage)
30240 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30241 r=`${PWD_COMMAND}`; export r; \
30242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30243 $(NORMAL_TARGET_EXPORTS) \
30244 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30245 for flag in $(EXTRA_TARGET_FLAGS); do \
30246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30247 done; \
30248 (cd $(TARGET_SUBDIR)/newlib && \
30249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30251 "RANLIB=$${RANLIB}" \
30252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30253 distclean) \
30254 || exit 1
30256 @endif target-newlib
30258 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30259 maybe-maintainer-clean-target-newlib:
30260 @if target-newlib
30261 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30263 maintainer-clean-target-newlib:
30264 @: $(MAKE); $(unstage)
30265 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30266 r=`${PWD_COMMAND}`; export r; \
30267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30268 $(NORMAL_TARGET_EXPORTS) \
30269 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30270 for flag in $(EXTRA_TARGET_FLAGS); do \
30271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30272 done; \
30273 (cd $(TARGET_SUBDIR)/newlib && \
30274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30276 "RANLIB=$${RANLIB}" \
30277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30278 maintainer-clean) \
30279 || exit 1
30281 @endif target-newlib
30287 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30288 maybe-configure-target-libgfortran:
30289 @if target-libgfortran
30290 maybe-configure-target-libgfortran: configure-target-libgfortran
30291 configure-target-libgfortran:
30292 @: $(MAKE); $(unstage)
30293 @r=`${PWD_COMMAND}`; export r; \
30294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30295 echo "Checking multilib configuration for libgfortran..."; \
30296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30297 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30298 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30299 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30300 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30301 else \
30302 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30303 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30304 fi; \
30305 else \
30306 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30308 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30310 r=`${PWD_COMMAND}`; export r; \
30311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30312 $(NORMAL_TARGET_EXPORTS) \
30313 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30314 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30315 case $(srcdir) in \
30316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30317 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30319 esac; \
30320 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30321 libsrcdir="$$s/libgfortran"; \
30322 rm -f no-such-file || : ; \
30323 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30324 $(TARGET_CONFIGARGS) $${srcdiroption} \
30325 || exit 1
30326 @endif target-libgfortran
30332 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30333 maybe-all-target-libgfortran:
30334 @if target-libgfortran
30335 TARGET-target-libgfortran=all
30336 maybe-all-target-libgfortran: all-target-libgfortran
30337 all-target-libgfortran: configure-target-libgfortran
30338 @: $(MAKE); $(unstage)
30339 @r=`${PWD_COMMAND}`; export r; \
30340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30341 $(NORMAL_TARGET_EXPORTS) \
30342 (cd $(TARGET_SUBDIR)/libgfortran && \
30343 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30344 @endif target-libgfortran
30350 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30351 maybe-check-target-libgfortran:
30352 @if target-libgfortran
30353 maybe-check-target-libgfortran: check-target-libgfortran
30355 check-target-libgfortran:
30356 @: $(MAKE); $(unstage)
30357 @r=`${PWD_COMMAND}`; export r; \
30358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30359 $(NORMAL_TARGET_EXPORTS) \
30360 (cd $(TARGET_SUBDIR)/libgfortran && \
30361 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30363 @endif target-libgfortran
30365 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30366 maybe-install-target-libgfortran:
30367 @if target-libgfortran
30368 maybe-install-target-libgfortran: install-target-libgfortran
30370 install-target-libgfortran: installdirs
30371 @: $(MAKE); $(unstage)
30372 @r=`${PWD_COMMAND}`; export r; \
30373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30374 $(NORMAL_TARGET_EXPORTS) \
30375 (cd $(TARGET_SUBDIR)/libgfortran && \
30376 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30378 @endif target-libgfortran
30380 # Other targets (info, dvi, etc.)
30382 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30383 maybe-info-target-libgfortran:
30384 @if target-libgfortran
30385 maybe-info-target-libgfortran: info-target-libgfortran
30387 info-target-libgfortran: \
30388 configure-target-libgfortran
30389 @: $(MAKE); $(unstage)
30390 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30391 r=`${PWD_COMMAND}`; export r; \
30392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30393 $(NORMAL_TARGET_EXPORTS) \
30394 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30395 for flag in $(EXTRA_TARGET_FLAGS); do \
30396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30397 done; \
30398 (cd $(TARGET_SUBDIR)/libgfortran && \
30399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30401 "RANLIB=$${RANLIB}" \
30402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30403 info) \
30404 || exit 1
30406 @endif target-libgfortran
30408 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30409 maybe-dvi-target-libgfortran:
30410 @if target-libgfortran
30411 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30413 dvi-target-libgfortran: \
30414 configure-target-libgfortran
30415 @: $(MAKE); $(unstage)
30416 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30417 r=`${PWD_COMMAND}`; export r; \
30418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30419 $(NORMAL_TARGET_EXPORTS) \
30420 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30421 for flag in $(EXTRA_TARGET_FLAGS); do \
30422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30423 done; \
30424 (cd $(TARGET_SUBDIR)/libgfortran && \
30425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30427 "RANLIB=$${RANLIB}" \
30428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30429 dvi) \
30430 || exit 1
30432 @endif target-libgfortran
30434 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30435 maybe-html-target-libgfortran:
30436 @if target-libgfortran
30437 maybe-html-target-libgfortran: html-target-libgfortran
30439 html-target-libgfortran: \
30440 configure-target-libgfortran
30441 @: $(MAKE); $(unstage)
30442 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30443 r=`${PWD_COMMAND}`; export r; \
30444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30445 $(NORMAL_TARGET_EXPORTS) \
30446 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30447 for flag in $(EXTRA_TARGET_FLAGS); do \
30448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30449 done; \
30450 (cd $(TARGET_SUBDIR)/libgfortran && \
30451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30453 "RANLIB=$${RANLIB}" \
30454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30455 html) \
30456 || exit 1
30458 @endif target-libgfortran
30460 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30461 maybe-TAGS-target-libgfortran:
30462 @if target-libgfortran
30463 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30465 TAGS-target-libgfortran: \
30466 configure-target-libgfortran
30467 @: $(MAKE); $(unstage)
30468 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30469 r=`${PWD_COMMAND}`; export r; \
30470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30471 $(NORMAL_TARGET_EXPORTS) \
30472 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30473 for flag in $(EXTRA_TARGET_FLAGS); do \
30474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30475 done; \
30476 (cd $(TARGET_SUBDIR)/libgfortran && \
30477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30479 "RANLIB=$${RANLIB}" \
30480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30481 TAGS) \
30482 || exit 1
30484 @endif target-libgfortran
30486 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30487 maybe-install-info-target-libgfortran:
30488 @if target-libgfortran
30489 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30491 install-info-target-libgfortran: \
30492 configure-target-libgfortran \
30493 info-target-libgfortran
30494 @: $(MAKE); $(unstage)
30495 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30496 r=`${PWD_COMMAND}`; export r; \
30497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30498 $(NORMAL_TARGET_EXPORTS) \
30499 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30500 for flag in $(EXTRA_TARGET_FLAGS); do \
30501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30502 done; \
30503 (cd $(TARGET_SUBDIR)/libgfortran && \
30504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30506 "RANLIB=$${RANLIB}" \
30507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30508 install-info) \
30509 || exit 1
30511 @endif target-libgfortran
30513 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30514 maybe-installcheck-target-libgfortran:
30515 @if target-libgfortran
30516 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30518 installcheck-target-libgfortran: \
30519 configure-target-libgfortran
30520 @: $(MAKE); $(unstage)
30521 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30522 r=`${PWD_COMMAND}`; export r; \
30523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30524 $(NORMAL_TARGET_EXPORTS) \
30525 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30526 for flag in $(EXTRA_TARGET_FLAGS); do \
30527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30528 done; \
30529 (cd $(TARGET_SUBDIR)/libgfortran && \
30530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30532 "RANLIB=$${RANLIB}" \
30533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30534 installcheck) \
30535 || exit 1
30537 @endif target-libgfortran
30539 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30540 maybe-mostlyclean-target-libgfortran:
30541 @if target-libgfortran
30542 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30544 mostlyclean-target-libgfortran:
30545 @: $(MAKE); $(unstage)
30546 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30547 r=`${PWD_COMMAND}`; export r; \
30548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30549 $(NORMAL_TARGET_EXPORTS) \
30550 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30551 for flag in $(EXTRA_TARGET_FLAGS); do \
30552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30553 done; \
30554 (cd $(TARGET_SUBDIR)/libgfortran && \
30555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30557 "RANLIB=$${RANLIB}" \
30558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30559 mostlyclean) \
30560 || exit 1
30562 @endif target-libgfortran
30564 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30565 maybe-clean-target-libgfortran:
30566 @if target-libgfortran
30567 maybe-clean-target-libgfortran: clean-target-libgfortran
30569 clean-target-libgfortran:
30570 @: $(MAKE); $(unstage)
30571 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30572 r=`${PWD_COMMAND}`; export r; \
30573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30574 $(NORMAL_TARGET_EXPORTS) \
30575 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30576 for flag in $(EXTRA_TARGET_FLAGS); do \
30577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30578 done; \
30579 (cd $(TARGET_SUBDIR)/libgfortran && \
30580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30582 "RANLIB=$${RANLIB}" \
30583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30584 clean) \
30585 || exit 1
30587 @endif target-libgfortran
30589 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30590 maybe-distclean-target-libgfortran:
30591 @if target-libgfortran
30592 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30594 distclean-target-libgfortran:
30595 @: $(MAKE); $(unstage)
30596 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30597 r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(NORMAL_TARGET_EXPORTS) \
30600 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30601 for flag in $(EXTRA_TARGET_FLAGS); do \
30602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30603 done; \
30604 (cd $(TARGET_SUBDIR)/libgfortran && \
30605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30607 "RANLIB=$${RANLIB}" \
30608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30609 distclean) \
30610 || exit 1
30612 @endif target-libgfortran
30614 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30615 maybe-maintainer-clean-target-libgfortran:
30616 @if target-libgfortran
30617 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30619 maintainer-clean-target-libgfortran:
30620 @: $(MAKE); $(unstage)
30621 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30622 r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(NORMAL_TARGET_EXPORTS) \
30625 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30626 for flag in $(EXTRA_TARGET_FLAGS); do \
30627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30628 done; \
30629 (cd $(TARGET_SUBDIR)/libgfortran && \
30630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30632 "RANLIB=$${RANLIB}" \
30633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30634 maintainer-clean) \
30635 || exit 1
30637 @endif target-libgfortran
30643 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30644 maybe-configure-target-libobjc:
30645 @if target-libobjc
30646 maybe-configure-target-libobjc: configure-target-libobjc
30647 configure-target-libobjc:
30648 @: $(MAKE); $(unstage)
30649 @r=`${PWD_COMMAND}`; export r; \
30650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30651 echo "Checking multilib configuration for libobjc..."; \
30652 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30653 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
30654 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30655 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30656 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
30657 else \
30658 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
30659 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30660 fi; \
30661 else \
30662 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30664 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30666 r=`${PWD_COMMAND}`; export r; \
30667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30668 $(NORMAL_TARGET_EXPORTS) \
30669 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30670 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30671 case $(srcdir) in \
30672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30673 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30675 esac; \
30676 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30677 libsrcdir="$$s/libobjc"; \
30678 rm -f no-such-file || : ; \
30679 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30680 $(TARGET_CONFIGARGS) $${srcdiroption} \
30681 || exit 1
30682 @endif target-libobjc
30688 .PHONY: all-target-libobjc maybe-all-target-libobjc
30689 maybe-all-target-libobjc:
30690 @if target-libobjc
30691 TARGET-target-libobjc=all
30692 maybe-all-target-libobjc: all-target-libobjc
30693 all-target-libobjc: configure-target-libobjc
30694 @: $(MAKE); $(unstage)
30695 @r=`${PWD_COMMAND}`; export r; \
30696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30697 $(NORMAL_TARGET_EXPORTS) \
30698 (cd $(TARGET_SUBDIR)/libobjc && \
30699 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30700 @endif target-libobjc
30706 .PHONY: check-target-libobjc maybe-check-target-libobjc
30707 maybe-check-target-libobjc:
30708 @if target-libobjc
30709 maybe-check-target-libobjc: check-target-libobjc
30711 check-target-libobjc:
30712 @: $(MAKE); $(unstage)
30713 @r=`${PWD_COMMAND}`; export r; \
30714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30715 $(NORMAL_TARGET_EXPORTS) \
30716 (cd $(TARGET_SUBDIR)/libobjc && \
30717 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30719 @endif target-libobjc
30721 .PHONY: install-target-libobjc maybe-install-target-libobjc
30722 maybe-install-target-libobjc:
30723 @if target-libobjc
30724 maybe-install-target-libobjc: install-target-libobjc
30726 install-target-libobjc: installdirs
30727 @: $(MAKE); $(unstage)
30728 @r=`${PWD_COMMAND}`; export r; \
30729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30730 $(NORMAL_TARGET_EXPORTS) \
30731 (cd $(TARGET_SUBDIR)/libobjc && \
30732 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30734 @endif target-libobjc
30736 # Other targets (info, dvi, etc.)
30738 .PHONY: maybe-info-target-libobjc info-target-libobjc
30739 maybe-info-target-libobjc:
30740 @if target-libobjc
30741 maybe-info-target-libobjc: info-target-libobjc
30743 info-target-libobjc: \
30744 configure-target-libobjc
30745 @: $(MAKE); $(unstage)
30746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30747 r=`${PWD_COMMAND}`; export r; \
30748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30749 $(NORMAL_TARGET_EXPORTS) \
30750 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30751 for flag in $(EXTRA_TARGET_FLAGS); do \
30752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30753 done; \
30754 (cd $(TARGET_SUBDIR)/libobjc && \
30755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30757 "RANLIB=$${RANLIB}" \
30758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30759 info) \
30760 || exit 1
30762 @endif target-libobjc
30764 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30765 maybe-dvi-target-libobjc:
30766 @if target-libobjc
30767 maybe-dvi-target-libobjc: dvi-target-libobjc
30769 dvi-target-libobjc: \
30770 configure-target-libobjc
30771 @: $(MAKE); $(unstage)
30772 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30773 r=`${PWD_COMMAND}`; export r; \
30774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30775 $(NORMAL_TARGET_EXPORTS) \
30776 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30777 for flag in $(EXTRA_TARGET_FLAGS); do \
30778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30779 done; \
30780 (cd $(TARGET_SUBDIR)/libobjc && \
30781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30783 "RANLIB=$${RANLIB}" \
30784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30785 dvi) \
30786 || exit 1
30788 @endif target-libobjc
30790 .PHONY: maybe-html-target-libobjc html-target-libobjc
30791 maybe-html-target-libobjc:
30792 @if target-libobjc
30793 maybe-html-target-libobjc: html-target-libobjc
30795 html-target-libobjc: \
30796 configure-target-libobjc
30797 @: $(MAKE); $(unstage)
30798 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30799 r=`${PWD_COMMAND}`; export r; \
30800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30801 $(NORMAL_TARGET_EXPORTS) \
30802 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30803 for flag in $(EXTRA_TARGET_FLAGS); do \
30804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30805 done; \
30806 (cd $(TARGET_SUBDIR)/libobjc && \
30807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30809 "RANLIB=$${RANLIB}" \
30810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30811 html) \
30812 || exit 1
30814 @endif target-libobjc
30816 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30817 maybe-TAGS-target-libobjc:
30818 @if target-libobjc
30819 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30821 TAGS-target-libobjc: \
30822 configure-target-libobjc
30823 @: $(MAKE); $(unstage)
30824 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30825 r=`${PWD_COMMAND}`; export r; \
30826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30827 $(NORMAL_TARGET_EXPORTS) \
30828 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30829 for flag in $(EXTRA_TARGET_FLAGS); do \
30830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30831 done; \
30832 (cd $(TARGET_SUBDIR)/libobjc && \
30833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30835 "RANLIB=$${RANLIB}" \
30836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30837 TAGS) \
30838 || exit 1
30840 @endif target-libobjc
30842 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30843 maybe-install-info-target-libobjc:
30844 @if target-libobjc
30845 maybe-install-info-target-libobjc: install-info-target-libobjc
30847 install-info-target-libobjc: \
30848 configure-target-libobjc \
30849 info-target-libobjc
30850 @: $(MAKE); $(unstage)
30851 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30852 r=`${PWD_COMMAND}`; export r; \
30853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 $(NORMAL_TARGET_EXPORTS) \
30855 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30856 for flag in $(EXTRA_TARGET_FLAGS); do \
30857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30858 done; \
30859 (cd $(TARGET_SUBDIR)/libobjc && \
30860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30862 "RANLIB=$${RANLIB}" \
30863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30864 install-info) \
30865 || exit 1
30867 @endif target-libobjc
30869 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30870 maybe-installcheck-target-libobjc:
30871 @if target-libobjc
30872 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30874 installcheck-target-libobjc: \
30875 configure-target-libobjc
30876 @: $(MAKE); $(unstage)
30877 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30878 r=`${PWD_COMMAND}`; export r; \
30879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30880 $(NORMAL_TARGET_EXPORTS) \
30881 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30882 for flag in $(EXTRA_TARGET_FLAGS); do \
30883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30884 done; \
30885 (cd $(TARGET_SUBDIR)/libobjc && \
30886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30888 "RANLIB=$${RANLIB}" \
30889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30890 installcheck) \
30891 || exit 1
30893 @endif target-libobjc
30895 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30896 maybe-mostlyclean-target-libobjc:
30897 @if target-libobjc
30898 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30900 mostlyclean-target-libobjc:
30901 @: $(MAKE); $(unstage)
30902 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30903 r=`${PWD_COMMAND}`; export r; \
30904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30905 $(NORMAL_TARGET_EXPORTS) \
30906 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30907 for flag in $(EXTRA_TARGET_FLAGS); do \
30908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30909 done; \
30910 (cd $(TARGET_SUBDIR)/libobjc && \
30911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30913 "RANLIB=$${RANLIB}" \
30914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30915 mostlyclean) \
30916 || exit 1
30918 @endif target-libobjc
30920 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30921 maybe-clean-target-libobjc:
30922 @if target-libobjc
30923 maybe-clean-target-libobjc: clean-target-libobjc
30925 clean-target-libobjc:
30926 @: $(MAKE); $(unstage)
30927 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30928 r=`${PWD_COMMAND}`; export r; \
30929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30930 $(NORMAL_TARGET_EXPORTS) \
30931 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30932 for flag in $(EXTRA_TARGET_FLAGS); do \
30933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30934 done; \
30935 (cd $(TARGET_SUBDIR)/libobjc && \
30936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30938 "RANLIB=$${RANLIB}" \
30939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30940 clean) \
30941 || exit 1
30943 @endif target-libobjc
30945 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30946 maybe-distclean-target-libobjc:
30947 @if target-libobjc
30948 maybe-distclean-target-libobjc: distclean-target-libobjc
30950 distclean-target-libobjc:
30951 @: $(MAKE); $(unstage)
30952 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30953 r=`${PWD_COMMAND}`; export r; \
30954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30955 $(NORMAL_TARGET_EXPORTS) \
30956 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30957 for flag in $(EXTRA_TARGET_FLAGS); do \
30958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30959 done; \
30960 (cd $(TARGET_SUBDIR)/libobjc && \
30961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30963 "RANLIB=$${RANLIB}" \
30964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30965 distclean) \
30966 || exit 1
30968 @endif target-libobjc
30970 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30971 maybe-maintainer-clean-target-libobjc:
30972 @if target-libobjc
30973 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30975 maintainer-clean-target-libobjc:
30976 @: $(MAKE); $(unstage)
30977 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30978 r=`${PWD_COMMAND}`; export r; \
30979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30980 $(NORMAL_TARGET_EXPORTS) \
30981 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30982 for flag in $(EXTRA_TARGET_FLAGS); do \
30983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30984 done; \
30985 (cd $(TARGET_SUBDIR)/libobjc && \
30986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30988 "RANLIB=$${RANLIB}" \
30989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30990 maintainer-clean) \
30991 || exit 1
30993 @endif target-libobjc
30999 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31000 maybe-configure-target-libtermcap:
31001 @if target-libtermcap
31002 maybe-configure-target-libtermcap: configure-target-libtermcap
31003 configure-target-libtermcap:
31004 @: $(MAKE); $(unstage)
31005 @r=`${PWD_COMMAND}`; export r; \
31006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31007 echo "Checking multilib configuration for libtermcap..."; \
31008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31009 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31010 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31011 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31012 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31013 else \
31014 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31015 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31016 fi; \
31017 else \
31018 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31020 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31021 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31022 r=`${PWD_COMMAND}`; export r; \
31023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31024 $(NORMAL_TARGET_EXPORTS) \
31025 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31026 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31027 case $(srcdir) in \
31028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31029 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31031 esac; \
31032 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31033 libsrcdir="$$s/libtermcap"; \
31034 rm -f no-such-file || : ; \
31035 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31036 $(TARGET_CONFIGARGS) $${srcdiroption} \
31037 || exit 1
31038 @endif target-libtermcap
31044 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31045 maybe-all-target-libtermcap:
31046 @if target-libtermcap
31047 TARGET-target-libtermcap=all
31048 maybe-all-target-libtermcap: all-target-libtermcap
31049 all-target-libtermcap: configure-target-libtermcap
31050 @: $(MAKE); $(unstage)
31051 @r=`${PWD_COMMAND}`; export r; \
31052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31053 $(NORMAL_TARGET_EXPORTS) \
31054 (cd $(TARGET_SUBDIR)/libtermcap && \
31055 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31056 @endif target-libtermcap
31062 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31063 maybe-check-target-libtermcap:
31064 @if target-libtermcap
31065 maybe-check-target-libtermcap: check-target-libtermcap
31067 # Dummy target for uncheckable module.
31068 check-target-libtermcap:
31070 @endif target-libtermcap
31072 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31073 maybe-install-target-libtermcap:
31074 @if target-libtermcap
31075 maybe-install-target-libtermcap: install-target-libtermcap
31077 install-target-libtermcap: installdirs
31078 @: $(MAKE); $(unstage)
31079 @r=`${PWD_COMMAND}`; export r; \
31080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31081 $(NORMAL_TARGET_EXPORTS) \
31082 (cd $(TARGET_SUBDIR)/libtermcap && \
31083 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31085 @endif target-libtermcap
31087 # Other targets (info, dvi, etc.)
31089 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31090 maybe-info-target-libtermcap:
31091 @if target-libtermcap
31092 maybe-info-target-libtermcap: info-target-libtermcap
31094 info-target-libtermcap: \
31095 configure-target-libtermcap
31096 @: $(MAKE); $(unstage)
31097 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31098 r=`${PWD_COMMAND}`; export r; \
31099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31100 $(NORMAL_TARGET_EXPORTS) \
31101 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31102 for flag in $(EXTRA_TARGET_FLAGS); do \
31103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31104 done; \
31105 (cd $(TARGET_SUBDIR)/libtermcap && \
31106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31108 "RANLIB=$${RANLIB}" \
31109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31110 info) \
31111 || exit 1
31113 @endif target-libtermcap
31115 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31116 maybe-dvi-target-libtermcap:
31117 @if target-libtermcap
31118 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31120 dvi-target-libtermcap: \
31121 configure-target-libtermcap
31122 @: $(MAKE); $(unstage)
31123 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31124 r=`${PWD_COMMAND}`; export r; \
31125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31126 $(NORMAL_TARGET_EXPORTS) \
31127 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31128 for flag in $(EXTRA_TARGET_FLAGS); do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 (cd $(TARGET_SUBDIR)/libtermcap && \
31132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31134 "RANLIB=$${RANLIB}" \
31135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31136 dvi) \
31137 || exit 1
31139 @endif target-libtermcap
31141 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31142 maybe-html-target-libtermcap:
31143 @if target-libtermcap
31144 maybe-html-target-libtermcap: html-target-libtermcap
31146 html-target-libtermcap: \
31147 configure-target-libtermcap
31148 @: $(MAKE); $(unstage)
31149 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31150 r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(NORMAL_TARGET_EXPORTS) \
31153 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31154 for flag in $(EXTRA_TARGET_FLAGS); do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 (cd $(TARGET_SUBDIR)/libtermcap && \
31158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31160 "RANLIB=$${RANLIB}" \
31161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31162 html) \
31163 || exit 1
31165 @endif target-libtermcap
31167 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31168 maybe-TAGS-target-libtermcap:
31169 @if target-libtermcap
31170 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31172 TAGS-target-libtermcap: \
31173 configure-target-libtermcap
31174 @: $(MAKE); $(unstage)
31175 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(NORMAL_TARGET_EXPORTS) \
31179 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31180 for flag in $(EXTRA_TARGET_FLAGS); do \
31181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31182 done; \
31183 (cd $(TARGET_SUBDIR)/libtermcap && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31188 TAGS) \
31189 || exit 1
31191 @endif target-libtermcap
31193 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31194 maybe-install-info-target-libtermcap:
31195 @if target-libtermcap
31196 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31198 install-info-target-libtermcap: \
31199 configure-target-libtermcap \
31200 info-target-libtermcap
31201 @: $(MAKE); $(unstage)
31202 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31203 r=`${PWD_COMMAND}`; export r; \
31204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31205 $(NORMAL_TARGET_EXPORTS) \
31206 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31207 for flag in $(EXTRA_TARGET_FLAGS); do \
31208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31209 done; \
31210 (cd $(TARGET_SUBDIR)/libtermcap && \
31211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31213 "RANLIB=$${RANLIB}" \
31214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31215 install-info) \
31216 || exit 1
31218 @endif target-libtermcap
31220 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31221 maybe-installcheck-target-libtermcap:
31222 @if target-libtermcap
31223 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31225 installcheck-target-libtermcap: \
31226 configure-target-libtermcap
31227 @: $(MAKE); $(unstage)
31228 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31229 r=`${PWD_COMMAND}`; export r; \
31230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31231 $(NORMAL_TARGET_EXPORTS) \
31232 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31233 for flag in $(EXTRA_TARGET_FLAGS); do \
31234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31235 done; \
31236 (cd $(TARGET_SUBDIR)/libtermcap && \
31237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31239 "RANLIB=$${RANLIB}" \
31240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31241 installcheck) \
31242 || exit 1
31244 @endif target-libtermcap
31246 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31247 maybe-mostlyclean-target-libtermcap:
31248 @if target-libtermcap
31249 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31251 # libtermcap doesn't support mostlyclean.
31252 mostlyclean-target-libtermcap:
31254 @endif target-libtermcap
31256 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31257 maybe-clean-target-libtermcap:
31258 @if target-libtermcap
31259 maybe-clean-target-libtermcap: clean-target-libtermcap
31261 # libtermcap doesn't support clean.
31262 clean-target-libtermcap:
31264 @endif target-libtermcap
31266 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31267 maybe-distclean-target-libtermcap:
31268 @if target-libtermcap
31269 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31271 # libtermcap doesn't support distclean.
31272 distclean-target-libtermcap:
31274 @endif target-libtermcap
31276 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31277 maybe-maintainer-clean-target-libtermcap:
31278 @if target-libtermcap
31279 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31281 # libtermcap doesn't support maintainer-clean.
31282 maintainer-clean-target-libtermcap:
31284 @endif target-libtermcap
31290 .PHONY: configure-target-winsup maybe-configure-target-winsup
31291 maybe-configure-target-winsup:
31292 @if target-winsup
31293 maybe-configure-target-winsup: configure-target-winsup
31294 configure-target-winsup:
31295 @: $(MAKE); $(unstage)
31296 @r=`${PWD_COMMAND}`; export r; \
31297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31298 echo "Checking multilib configuration for winsup..."; \
31299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31300 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31301 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31302 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31303 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31304 else \
31305 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31306 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31307 fi; \
31308 else \
31309 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31311 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31313 r=`${PWD_COMMAND}`; export r; \
31314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31315 $(NORMAL_TARGET_EXPORTS) \
31316 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31317 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31318 case $(srcdir) in \
31319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31320 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31322 esac; \
31323 srcdiroption="--srcdir=$${topdir}/winsup"; \
31324 libsrcdir="$$s/winsup"; \
31325 rm -f no-such-file || : ; \
31326 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31327 $(TARGET_CONFIGARGS) $${srcdiroption} \
31328 || exit 1
31329 @endif target-winsup
31335 .PHONY: all-target-winsup maybe-all-target-winsup
31336 maybe-all-target-winsup:
31337 @if target-winsup
31338 TARGET-target-winsup=all
31339 maybe-all-target-winsup: all-target-winsup
31340 all-target-winsup: configure-target-winsup
31341 @: $(MAKE); $(unstage)
31342 @r=`${PWD_COMMAND}`; export r; \
31343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31344 $(NORMAL_TARGET_EXPORTS) \
31345 (cd $(TARGET_SUBDIR)/winsup && \
31346 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31347 @endif target-winsup
31353 .PHONY: check-target-winsup maybe-check-target-winsup
31354 maybe-check-target-winsup:
31355 @if target-winsup
31356 maybe-check-target-winsup: check-target-winsup
31358 check-target-winsup:
31359 @: $(MAKE); $(unstage)
31360 @r=`${PWD_COMMAND}`; export r; \
31361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31362 $(NORMAL_TARGET_EXPORTS) \
31363 (cd $(TARGET_SUBDIR)/winsup && \
31364 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31366 @endif target-winsup
31368 .PHONY: install-target-winsup maybe-install-target-winsup
31369 maybe-install-target-winsup:
31370 @if target-winsup
31371 maybe-install-target-winsup: install-target-winsup
31373 install-target-winsup: installdirs
31374 @: $(MAKE); $(unstage)
31375 @r=`${PWD_COMMAND}`; export r; \
31376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31377 $(NORMAL_TARGET_EXPORTS) \
31378 (cd $(TARGET_SUBDIR)/winsup && \
31379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31381 @endif target-winsup
31383 # Other targets (info, dvi, etc.)
31385 .PHONY: maybe-info-target-winsup info-target-winsup
31386 maybe-info-target-winsup:
31387 @if target-winsup
31388 maybe-info-target-winsup: info-target-winsup
31390 info-target-winsup: \
31391 configure-target-winsup
31392 @: $(MAKE); $(unstage)
31393 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31394 r=`${PWD_COMMAND}`; export r; \
31395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31396 $(NORMAL_TARGET_EXPORTS) \
31397 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31398 for flag in $(EXTRA_TARGET_FLAGS); do \
31399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31400 done; \
31401 (cd $(TARGET_SUBDIR)/winsup && \
31402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31404 "RANLIB=$${RANLIB}" \
31405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31406 info) \
31407 || exit 1
31409 @endif target-winsup
31411 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31412 maybe-dvi-target-winsup:
31413 @if target-winsup
31414 maybe-dvi-target-winsup: dvi-target-winsup
31416 dvi-target-winsup: \
31417 configure-target-winsup
31418 @: $(MAKE); $(unstage)
31419 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31420 r=`${PWD_COMMAND}`; export r; \
31421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31422 $(NORMAL_TARGET_EXPORTS) \
31423 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31424 for flag in $(EXTRA_TARGET_FLAGS); do \
31425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31426 done; \
31427 (cd $(TARGET_SUBDIR)/winsup && \
31428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31430 "RANLIB=$${RANLIB}" \
31431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31432 dvi) \
31433 || exit 1
31435 @endif target-winsup
31437 .PHONY: maybe-html-target-winsup html-target-winsup
31438 maybe-html-target-winsup:
31439 @if target-winsup
31440 maybe-html-target-winsup: html-target-winsup
31442 html-target-winsup: \
31443 configure-target-winsup
31444 @: $(MAKE); $(unstage)
31445 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31446 r=`${PWD_COMMAND}`; export r; \
31447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31448 $(NORMAL_TARGET_EXPORTS) \
31449 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31450 for flag in $(EXTRA_TARGET_FLAGS); do \
31451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31452 done; \
31453 (cd $(TARGET_SUBDIR)/winsup && \
31454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31456 "RANLIB=$${RANLIB}" \
31457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31458 html) \
31459 || exit 1
31461 @endif target-winsup
31463 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31464 maybe-TAGS-target-winsup:
31465 @if target-winsup
31466 maybe-TAGS-target-winsup: TAGS-target-winsup
31468 TAGS-target-winsup: \
31469 configure-target-winsup
31470 @: $(MAKE); $(unstage)
31471 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31472 r=`${PWD_COMMAND}`; export r; \
31473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31474 $(NORMAL_TARGET_EXPORTS) \
31475 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31476 for flag in $(EXTRA_TARGET_FLAGS); do \
31477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31478 done; \
31479 (cd $(TARGET_SUBDIR)/winsup && \
31480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31482 "RANLIB=$${RANLIB}" \
31483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31484 TAGS) \
31485 || exit 1
31487 @endif target-winsup
31489 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31490 maybe-install-info-target-winsup:
31491 @if target-winsup
31492 maybe-install-info-target-winsup: install-info-target-winsup
31494 install-info-target-winsup: \
31495 configure-target-winsup \
31496 info-target-winsup
31497 @: $(MAKE); $(unstage)
31498 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31499 r=`${PWD_COMMAND}`; export r; \
31500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31501 $(NORMAL_TARGET_EXPORTS) \
31502 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31503 for flag in $(EXTRA_TARGET_FLAGS); do \
31504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31505 done; \
31506 (cd $(TARGET_SUBDIR)/winsup && \
31507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31509 "RANLIB=$${RANLIB}" \
31510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31511 install-info) \
31512 || exit 1
31514 @endif target-winsup
31516 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31517 maybe-installcheck-target-winsup:
31518 @if target-winsup
31519 maybe-installcheck-target-winsup: installcheck-target-winsup
31521 installcheck-target-winsup: \
31522 configure-target-winsup
31523 @: $(MAKE); $(unstage)
31524 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31525 r=`${PWD_COMMAND}`; export r; \
31526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31527 $(NORMAL_TARGET_EXPORTS) \
31528 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31529 for flag in $(EXTRA_TARGET_FLAGS); do \
31530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31531 done; \
31532 (cd $(TARGET_SUBDIR)/winsup && \
31533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31535 "RANLIB=$${RANLIB}" \
31536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31537 installcheck) \
31538 || exit 1
31540 @endif target-winsup
31542 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31543 maybe-mostlyclean-target-winsup:
31544 @if target-winsup
31545 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31547 mostlyclean-target-winsup:
31548 @: $(MAKE); $(unstage)
31549 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31550 r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(NORMAL_TARGET_EXPORTS) \
31553 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31554 for flag in $(EXTRA_TARGET_FLAGS); do \
31555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31556 done; \
31557 (cd $(TARGET_SUBDIR)/winsup && \
31558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31560 "RANLIB=$${RANLIB}" \
31561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31562 mostlyclean) \
31563 || exit 1
31565 @endif target-winsup
31567 .PHONY: maybe-clean-target-winsup clean-target-winsup
31568 maybe-clean-target-winsup:
31569 @if target-winsup
31570 maybe-clean-target-winsup: clean-target-winsup
31572 clean-target-winsup:
31573 @: $(MAKE); $(unstage)
31574 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31575 r=`${PWD_COMMAND}`; export r; \
31576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31577 $(NORMAL_TARGET_EXPORTS) \
31578 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31579 for flag in $(EXTRA_TARGET_FLAGS); do \
31580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31581 done; \
31582 (cd $(TARGET_SUBDIR)/winsup && \
31583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31585 "RANLIB=$${RANLIB}" \
31586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31587 clean) \
31588 || exit 1
31590 @endif target-winsup
31592 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31593 maybe-distclean-target-winsup:
31594 @if target-winsup
31595 maybe-distclean-target-winsup: distclean-target-winsup
31597 distclean-target-winsup:
31598 @: $(MAKE); $(unstage)
31599 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31600 r=`${PWD_COMMAND}`; export r; \
31601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31602 $(NORMAL_TARGET_EXPORTS) \
31603 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31604 for flag in $(EXTRA_TARGET_FLAGS); do \
31605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31606 done; \
31607 (cd $(TARGET_SUBDIR)/winsup && \
31608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31610 "RANLIB=$${RANLIB}" \
31611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31612 distclean) \
31613 || exit 1
31615 @endif target-winsup
31617 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31618 maybe-maintainer-clean-target-winsup:
31619 @if target-winsup
31620 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31622 maintainer-clean-target-winsup:
31623 @: $(MAKE); $(unstage)
31624 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31625 r=`${PWD_COMMAND}`; export r; \
31626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31627 $(NORMAL_TARGET_EXPORTS) \
31628 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31629 for flag in $(EXTRA_TARGET_FLAGS); do \
31630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31631 done; \
31632 (cd $(TARGET_SUBDIR)/winsup && \
31633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31635 "RANLIB=$${RANLIB}" \
31636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31637 maintainer-clean) \
31638 || exit 1
31640 @endif target-winsup
31646 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31647 maybe-configure-target-libgloss:
31648 @if target-libgloss
31649 maybe-configure-target-libgloss: configure-target-libgloss
31650 configure-target-libgloss:
31651 @: $(MAKE); $(unstage)
31652 @r=`${PWD_COMMAND}`; export r; \
31653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31654 echo "Checking multilib configuration for libgloss..."; \
31655 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31656 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
31657 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31658 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31659 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
31660 else \
31661 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
31662 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31663 fi; \
31664 else \
31665 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31667 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31668 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31669 r=`${PWD_COMMAND}`; export r; \
31670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31671 $(NORMAL_TARGET_EXPORTS) \
31672 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31673 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31674 case $(srcdir) in \
31675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31676 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31678 esac; \
31679 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31680 libsrcdir="$$s/libgloss"; \
31681 rm -f no-such-file || : ; \
31682 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31683 $(TARGET_CONFIGARGS) $${srcdiroption} \
31684 || exit 1
31685 @endif target-libgloss
31691 .PHONY: all-target-libgloss maybe-all-target-libgloss
31692 maybe-all-target-libgloss:
31693 @if target-libgloss
31694 TARGET-target-libgloss=all
31695 maybe-all-target-libgloss: all-target-libgloss
31696 all-target-libgloss: configure-target-libgloss
31697 @: $(MAKE); $(unstage)
31698 @r=`${PWD_COMMAND}`; export r; \
31699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31700 $(NORMAL_TARGET_EXPORTS) \
31701 (cd $(TARGET_SUBDIR)/libgloss && \
31702 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31703 @endif target-libgloss
31709 .PHONY: check-target-libgloss maybe-check-target-libgloss
31710 maybe-check-target-libgloss:
31711 @if target-libgloss
31712 maybe-check-target-libgloss: check-target-libgloss
31714 # Dummy target for uncheckable module.
31715 check-target-libgloss:
31717 @endif target-libgloss
31719 .PHONY: install-target-libgloss maybe-install-target-libgloss
31720 maybe-install-target-libgloss:
31721 @if target-libgloss
31722 maybe-install-target-libgloss: install-target-libgloss
31724 install-target-libgloss: installdirs
31725 @: $(MAKE); $(unstage)
31726 @r=`${PWD_COMMAND}`; export r; \
31727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31728 $(NORMAL_TARGET_EXPORTS) \
31729 (cd $(TARGET_SUBDIR)/libgloss && \
31730 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31732 @endif target-libgloss
31734 # Other targets (info, dvi, etc.)
31736 .PHONY: maybe-info-target-libgloss info-target-libgloss
31737 maybe-info-target-libgloss:
31738 @if target-libgloss
31739 maybe-info-target-libgloss: info-target-libgloss
31741 info-target-libgloss: \
31742 configure-target-libgloss
31743 @: $(MAKE); $(unstage)
31744 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31745 r=`${PWD_COMMAND}`; export r; \
31746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31747 $(NORMAL_TARGET_EXPORTS) \
31748 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31749 for flag in $(EXTRA_TARGET_FLAGS); do \
31750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31751 done; \
31752 (cd $(TARGET_SUBDIR)/libgloss && \
31753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31755 "RANLIB=$${RANLIB}" \
31756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31757 info) \
31758 || exit 1
31760 @endif target-libgloss
31762 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31763 maybe-dvi-target-libgloss:
31764 @if target-libgloss
31765 maybe-dvi-target-libgloss: dvi-target-libgloss
31767 dvi-target-libgloss: \
31768 configure-target-libgloss
31769 @: $(MAKE); $(unstage)
31770 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31771 r=`${PWD_COMMAND}`; export r; \
31772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31773 $(NORMAL_TARGET_EXPORTS) \
31774 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31775 for flag in $(EXTRA_TARGET_FLAGS); do \
31776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31777 done; \
31778 (cd $(TARGET_SUBDIR)/libgloss && \
31779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31781 "RANLIB=$${RANLIB}" \
31782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31783 dvi) \
31784 || exit 1
31786 @endif target-libgloss
31788 .PHONY: maybe-html-target-libgloss html-target-libgloss
31789 maybe-html-target-libgloss:
31790 @if target-libgloss
31791 maybe-html-target-libgloss: html-target-libgloss
31793 html-target-libgloss: \
31794 configure-target-libgloss
31795 @: $(MAKE); $(unstage)
31796 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31797 r=`${PWD_COMMAND}`; export r; \
31798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31799 $(NORMAL_TARGET_EXPORTS) \
31800 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31801 for flag in $(EXTRA_TARGET_FLAGS); do \
31802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31803 done; \
31804 (cd $(TARGET_SUBDIR)/libgloss && \
31805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31807 "RANLIB=$${RANLIB}" \
31808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31809 html) \
31810 || exit 1
31812 @endif target-libgloss
31814 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31815 maybe-TAGS-target-libgloss:
31816 @if target-libgloss
31817 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31819 TAGS-target-libgloss: \
31820 configure-target-libgloss
31821 @: $(MAKE); $(unstage)
31822 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31823 r=`${PWD_COMMAND}`; export r; \
31824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31825 $(NORMAL_TARGET_EXPORTS) \
31826 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31827 for flag in $(EXTRA_TARGET_FLAGS); do \
31828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31829 done; \
31830 (cd $(TARGET_SUBDIR)/libgloss && \
31831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31833 "RANLIB=$${RANLIB}" \
31834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31835 TAGS) \
31836 || exit 1
31838 @endif target-libgloss
31840 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31841 maybe-install-info-target-libgloss:
31842 @if target-libgloss
31843 maybe-install-info-target-libgloss: install-info-target-libgloss
31845 install-info-target-libgloss: \
31846 configure-target-libgloss \
31847 info-target-libgloss
31848 @: $(MAKE); $(unstage)
31849 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31850 r=`${PWD_COMMAND}`; export r; \
31851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31852 $(NORMAL_TARGET_EXPORTS) \
31853 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31854 for flag in $(EXTRA_TARGET_FLAGS); do \
31855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31856 done; \
31857 (cd $(TARGET_SUBDIR)/libgloss && \
31858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31860 "RANLIB=$${RANLIB}" \
31861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31862 install-info) \
31863 || exit 1
31865 @endif target-libgloss
31867 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31868 maybe-installcheck-target-libgloss:
31869 @if target-libgloss
31870 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31872 installcheck-target-libgloss: \
31873 configure-target-libgloss
31874 @: $(MAKE); $(unstage)
31875 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31876 r=`${PWD_COMMAND}`; export r; \
31877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31878 $(NORMAL_TARGET_EXPORTS) \
31879 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31880 for flag in $(EXTRA_TARGET_FLAGS); do \
31881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31882 done; \
31883 (cd $(TARGET_SUBDIR)/libgloss && \
31884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31886 "RANLIB=$${RANLIB}" \
31887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31888 installcheck) \
31889 || exit 1
31891 @endif target-libgloss
31893 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31894 maybe-mostlyclean-target-libgloss:
31895 @if target-libgloss
31896 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31898 mostlyclean-target-libgloss:
31899 @: $(MAKE); $(unstage)
31900 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31901 r=`${PWD_COMMAND}`; export r; \
31902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31903 $(NORMAL_TARGET_EXPORTS) \
31904 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31905 for flag in $(EXTRA_TARGET_FLAGS); do \
31906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31907 done; \
31908 (cd $(TARGET_SUBDIR)/libgloss && \
31909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31911 "RANLIB=$${RANLIB}" \
31912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31913 mostlyclean) \
31914 || exit 1
31916 @endif target-libgloss
31918 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31919 maybe-clean-target-libgloss:
31920 @if target-libgloss
31921 maybe-clean-target-libgloss: clean-target-libgloss
31923 clean-target-libgloss:
31924 @: $(MAKE); $(unstage)
31925 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31926 r=`${PWD_COMMAND}`; export r; \
31927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31928 $(NORMAL_TARGET_EXPORTS) \
31929 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31930 for flag in $(EXTRA_TARGET_FLAGS); do \
31931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31932 done; \
31933 (cd $(TARGET_SUBDIR)/libgloss && \
31934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31936 "RANLIB=$${RANLIB}" \
31937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31938 clean) \
31939 || exit 1
31941 @endif target-libgloss
31943 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31944 maybe-distclean-target-libgloss:
31945 @if target-libgloss
31946 maybe-distclean-target-libgloss: distclean-target-libgloss
31948 distclean-target-libgloss:
31949 @: $(MAKE); $(unstage)
31950 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31951 r=`${PWD_COMMAND}`; export r; \
31952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31953 $(NORMAL_TARGET_EXPORTS) \
31954 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31955 for flag in $(EXTRA_TARGET_FLAGS); do \
31956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31957 done; \
31958 (cd $(TARGET_SUBDIR)/libgloss && \
31959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31961 "RANLIB=$${RANLIB}" \
31962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31963 distclean) \
31964 || exit 1
31966 @endif target-libgloss
31968 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31969 maybe-maintainer-clean-target-libgloss:
31970 @if target-libgloss
31971 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31973 maintainer-clean-target-libgloss:
31974 @: $(MAKE); $(unstage)
31975 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31976 r=`${PWD_COMMAND}`; export r; \
31977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31978 $(NORMAL_TARGET_EXPORTS) \
31979 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31980 for flag in $(EXTRA_TARGET_FLAGS); do \
31981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31982 done; \
31983 (cd $(TARGET_SUBDIR)/libgloss && \
31984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31986 "RANLIB=$${RANLIB}" \
31987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31988 maintainer-clean) \
31989 || exit 1
31991 @endif target-libgloss
31997 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
31998 maybe-configure-target-libiberty:
31999 @if target-libiberty
32000 maybe-configure-target-libiberty: configure-target-libiberty
32001 configure-target-libiberty:
32002 @: $(MAKE); $(unstage)
32003 @r=`${PWD_COMMAND}`; export r; \
32004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32005 echo "Checking multilib configuration for libiberty..."; \
32006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32007 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32008 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32009 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32010 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32011 else \
32012 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32013 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32014 fi; \
32015 else \
32016 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32018 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32020 r=`${PWD_COMMAND}`; export r; \
32021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32022 $(NORMAL_TARGET_EXPORTS) \
32023 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32024 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32025 case $(srcdir) in \
32026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32027 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32029 esac; \
32030 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32031 libsrcdir="$$s/libiberty"; \
32032 rm -f no-such-file || : ; \
32033 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32034 $(TARGET_CONFIGARGS) $${srcdiroption} \
32035 || exit 1
32036 @endif target-libiberty
32042 .PHONY: all-target-libiberty maybe-all-target-libiberty
32043 maybe-all-target-libiberty:
32044 @if target-libiberty
32045 TARGET-target-libiberty=all
32046 maybe-all-target-libiberty: all-target-libiberty
32047 all-target-libiberty: configure-target-libiberty
32048 @: $(MAKE); $(unstage)
32049 @r=`${PWD_COMMAND}`; export r; \
32050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32051 $(NORMAL_TARGET_EXPORTS) \
32052 (cd $(TARGET_SUBDIR)/libiberty && \
32053 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32054 @endif target-libiberty
32060 .PHONY: check-target-libiberty maybe-check-target-libiberty
32061 maybe-check-target-libiberty:
32062 @if target-libiberty
32063 maybe-check-target-libiberty: check-target-libiberty
32065 check-target-libiberty:
32066 @: $(MAKE); $(unstage)
32067 @r=`${PWD_COMMAND}`; export r; \
32068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32069 $(NORMAL_TARGET_EXPORTS) \
32070 (cd $(TARGET_SUBDIR)/libiberty && \
32071 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32073 @endif target-libiberty
32075 .PHONY: install-target-libiberty maybe-install-target-libiberty
32076 maybe-install-target-libiberty:
32077 @if target-libiberty
32078 maybe-install-target-libiberty: install-target-libiberty
32080 install-target-libiberty: installdirs
32081 @: $(MAKE); $(unstage)
32082 @r=`${PWD_COMMAND}`; export r; \
32083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32084 $(NORMAL_TARGET_EXPORTS) \
32085 (cd $(TARGET_SUBDIR)/libiberty && \
32086 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32088 @endif target-libiberty
32090 # Other targets (info, dvi, etc.)
32092 .PHONY: maybe-info-target-libiberty info-target-libiberty
32093 maybe-info-target-libiberty:
32094 @if target-libiberty
32095 maybe-info-target-libiberty: info-target-libiberty
32097 info-target-libiberty: \
32098 configure-target-libiberty
32099 @: $(MAKE); $(unstage)
32100 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32101 r=`${PWD_COMMAND}`; export r; \
32102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32103 $(NORMAL_TARGET_EXPORTS) \
32104 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32105 for flag in $(EXTRA_TARGET_FLAGS); do \
32106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32107 done; \
32108 (cd $(TARGET_SUBDIR)/libiberty && \
32109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32111 "RANLIB=$${RANLIB}" \
32112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32113 info) \
32114 || exit 1
32116 @endif target-libiberty
32118 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32119 maybe-dvi-target-libiberty:
32120 @if target-libiberty
32121 maybe-dvi-target-libiberty: dvi-target-libiberty
32123 dvi-target-libiberty: \
32124 configure-target-libiberty
32125 @: $(MAKE); $(unstage)
32126 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32127 r=`${PWD_COMMAND}`; export r; \
32128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32129 $(NORMAL_TARGET_EXPORTS) \
32130 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32131 for flag in $(EXTRA_TARGET_FLAGS); do \
32132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32133 done; \
32134 (cd $(TARGET_SUBDIR)/libiberty && \
32135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32137 "RANLIB=$${RANLIB}" \
32138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32139 dvi) \
32140 || exit 1
32142 @endif target-libiberty
32144 .PHONY: maybe-html-target-libiberty html-target-libiberty
32145 maybe-html-target-libiberty:
32146 @if target-libiberty
32147 maybe-html-target-libiberty: html-target-libiberty
32149 html-target-libiberty: \
32150 configure-target-libiberty
32151 @: $(MAKE); $(unstage)
32152 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32153 r=`${PWD_COMMAND}`; export r; \
32154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32155 $(NORMAL_TARGET_EXPORTS) \
32156 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32157 for flag in $(EXTRA_TARGET_FLAGS); do \
32158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32159 done; \
32160 (cd $(TARGET_SUBDIR)/libiberty && \
32161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32163 "RANLIB=$${RANLIB}" \
32164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32165 html) \
32166 || exit 1
32168 @endif target-libiberty
32170 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32171 maybe-TAGS-target-libiberty:
32172 @if target-libiberty
32173 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32175 TAGS-target-libiberty: \
32176 configure-target-libiberty
32177 @: $(MAKE); $(unstage)
32178 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32179 r=`${PWD_COMMAND}`; export r; \
32180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32181 $(NORMAL_TARGET_EXPORTS) \
32182 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32183 for flag in $(EXTRA_TARGET_FLAGS); do \
32184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32185 done; \
32186 (cd $(TARGET_SUBDIR)/libiberty && \
32187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32189 "RANLIB=$${RANLIB}" \
32190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32191 TAGS) \
32192 || exit 1
32194 @endif target-libiberty
32196 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32197 maybe-install-info-target-libiberty:
32198 @if target-libiberty
32199 maybe-install-info-target-libiberty: install-info-target-libiberty
32201 install-info-target-libiberty: \
32202 configure-target-libiberty \
32203 info-target-libiberty
32204 @: $(MAKE); $(unstage)
32205 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32206 r=`${PWD_COMMAND}`; export r; \
32207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32208 $(NORMAL_TARGET_EXPORTS) \
32209 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32210 for flag in $(EXTRA_TARGET_FLAGS); do \
32211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32212 done; \
32213 (cd $(TARGET_SUBDIR)/libiberty && \
32214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32216 "RANLIB=$${RANLIB}" \
32217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32218 install-info) \
32219 || exit 1
32221 @endif target-libiberty
32223 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32224 maybe-installcheck-target-libiberty:
32225 @if target-libiberty
32226 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32228 installcheck-target-libiberty: \
32229 configure-target-libiberty
32230 @: $(MAKE); $(unstage)
32231 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32232 r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 $(NORMAL_TARGET_EXPORTS) \
32235 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32236 for flag in $(EXTRA_TARGET_FLAGS); do \
32237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32238 done; \
32239 (cd $(TARGET_SUBDIR)/libiberty && \
32240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32242 "RANLIB=$${RANLIB}" \
32243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32244 installcheck) \
32245 || exit 1
32247 @endif target-libiberty
32249 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32250 maybe-mostlyclean-target-libiberty:
32251 @if target-libiberty
32252 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32254 mostlyclean-target-libiberty:
32255 @: $(MAKE); $(unstage)
32256 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32257 r=`${PWD_COMMAND}`; export r; \
32258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32259 $(NORMAL_TARGET_EXPORTS) \
32260 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32261 for flag in $(EXTRA_TARGET_FLAGS); do \
32262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32263 done; \
32264 (cd $(TARGET_SUBDIR)/libiberty && \
32265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32267 "RANLIB=$${RANLIB}" \
32268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32269 mostlyclean) \
32270 || exit 1
32272 @endif target-libiberty
32274 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32275 maybe-clean-target-libiberty:
32276 @if target-libiberty
32277 maybe-clean-target-libiberty: clean-target-libiberty
32279 clean-target-libiberty:
32280 @: $(MAKE); $(unstage)
32281 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32282 r=`${PWD_COMMAND}`; export r; \
32283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32284 $(NORMAL_TARGET_EXPORTS) \
32285 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32286 for flag in $(EXTRA_TARGET_FLAGS); do \
32287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32288 done; \
32289 (cd $(TARGET_SUBDIR)/libiberty && \
32290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32292 "RANLIB=$${RANLIB}" \
32293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32294 clean) \
32295 || exit 1
32297 @endif target-libiberty
32299 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32300 maybe-distclean-target-libiberty:
32301 @if target-libiberty
32302 maybe-distclean-target-libiberty: distclean-target-libiberty
32304 distclean-target-libiberty:
32305 @: $(MAKE); $(unstage)
32306 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32307 r=`${PWD_COMMAND}`; export r; \
32308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32309 $(NORMAL_TARGET_EXPORTS) \
32310 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32311 for flag in $(EXTRA_TARGET_FLAGS); do \
32312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32313 done; \
32314 (cd $(TARGET_SUBDIR)/libiberty && \
32315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32317 "RANLIB=$${RANLIB}" \
32318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32319 distclean) \
32320 || exit 1
32322 @endif target-libiberty
32324 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32325 maybe-maintainer-clean-target-libiberty:
32326 @if target-libiberty
32327 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32329 maintainer-clean-target-libiberty:
32330 @: $(MAKE); $(unstage)
32331 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32332 r=`${PWD_COMMAND}`; export r; \
32333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32334 $(NORMAL_TARGET_EXPORTS) \
32335 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32336 for flag in $(EXTRA_TARGET_FLAGS); do \
32337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32338 done; \
32339 (cd $(TARGET_SUBDIR)/libiberty && \
32340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32342 "RANLIB=$${RANLIB}" \
32343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32344 maintainer-clean) \
32345 || exit 1
32347 @endif target-libiberty
32353 .PHONY: configure-target-gperf maybe-configure-target-gperf
32354 maybe-configure-target-gperf:
32355 @if target-gperf
32356 maybe-configure-target-gperf: configure-target-gperf
32357 configure-target-gperf:
32358 @: $(MAKE); $(unstage)
32359 @r=`${PWD_COMMAND}`; export r; \
32360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32361 echo "Checking multilib configuration for gperf..."; \
32362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32363 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32364 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32365 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32366 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32367 else \
32368 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32369 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32370 fi; \
32371 else \
32372 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32374 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32375 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32376 r=`${PWD_COMMAND}`; export r; \
32377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32378 $(NORMAL_TARGET_EXPORTS) \
32379 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32380 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32381 case $(srcdir) in \
32382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32383 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32385 esac; \
32386 srcdiroption="--srcdir=$${topdir}/gperf"; \
32387 libsrcdir="$$s/gperf"; \
32388 rm -f no-such-file || : ; \
32389 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32390 $(TARGET_CONFIGARGS) $${srcdiroption} \
32391 || exit 1
32392 @endif target-gperf
32398 .PHONY: all-target-gperf maybe-all-target-gperf
32399 maybe-all-target-gperf:
32400 @if target-gperf
32401 TARGET-target-gperf=all
32402 maybe-all-target-gperf: all-target-gperf
32403 all-target-gperf: configure-target-gperf
32404 @: $(MAKE); $(unstage)
32405 @r=`${PWD_COMMAND}`; export r; \
32406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32407 $(NORMAL_TARGET_EXPORTS) \
32408 (cd $(TARGET_SUBDIR)/gperf && \
32409 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32410 @endif target-gperf
32416 .PHONY: check-target-gperf maybe-check-target-gperf
32417 maybe-check-target-gperf:
32418 @if target-gperf
32419 maybe-check-target-gperf: check-target-gperf
32421 check-target-gperf:
32422 @: $(MAKE); $(unstage)
32423 @r=`${PWD_COMMAND}`; export r; \
32424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32425 $(NORMAL_TARGET_EXPORTS) \
32426 (cd $(TARGET_SUBDIR)/gperf && \
32427 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32429 @endif target-gperf
32431 .PHONY: install-target-gperf maybe-install-target-gperf
32432 maybe-install-target-gperf:
32433 @if target-gperf
32434 maybe-install-target-gperf: install-target-gperf
32436 install-target-gperf: installdirs
32437 @: $(MAKE); $(unstage)
32438 @r=`${PWD_COMMAND}`; export r; \
32439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32440 $(NORMAL_TARGET_EXPORTS) \
32441 (cd $(TARGET_SUBDIR)/gperf && \
32442 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32444 @endif target-gperf
32446 # Other targets (info, dvi, etc.)
32448 .PHONY: maybe-info-target-gperf info-target-gperf
32449 maybe-info-target-gperf:
32450 @if target-gperf
32451 maybe-info-target-gperf: info-target-gperf
32453 info-target-gperf: \
32454 configure-target-gperf
32455 @: $(MAKE); $(unstage)
32456 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32457 r=`${PWD_COMMAND}`; export r; \
32458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32459 $(NORMAL_TARGET_EXPORTS) \
32460 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32461 for flag in $(EXTRA_TARGET_FLAGS); do \
32462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32463 done; \
32464 (cd $(TARGET_SUBDIR)/gperf && \
32465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32467 "RANLIB=$${RANLIB}" \
32468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32469 info) \
32470 || exit 1
32472 @endif target-gperf
32474 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32475 maybe-dvi-target-gperf:
32476 @if target-gperf
32477 maybe-dvi-target-gperf: dvi-target-gperf
32479 dvi-target-gperf: \
32480 configure-target-gperf
32481 @: $(MAKE); $(unstage)
32482 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32483 r=`${PWD_COMMAND}`; export r; \
32484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32485 $(NORMAL_TARGET_EXPORTS) \
32486 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32487 for flag in $(EXTRA_TARGET_FLAGS); do \
32488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32489 done; \
32490 (cd $(TARGET_SUBDIR)/gperf && \
32491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32493 "RANLIB=$${RANLIB}" \
32494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32495 dvi) \
32496 || exit 1
32498 @endif target-gperf
32500 .PHONY: maybe-html-target-gperf html-target-gperf
32501 maybe-html-target-gperf:
32502 @if target-gperf
32503 maybe-html-target-gperf: html-target-gperf
32505 html-target-gperf: \
32506 configure-target-gperf
32507 @: $(MAKE); $(unstage)
32508 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32509 r=`${PWD_COMMAND}`; export r; \
32510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32511 $(NORMAL_TARGET_EXPORTS) \
32512 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32513 for flag in $(EXTRA_TARGET_FLAGS); do \
32514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32515 done; \
32516 (cd $(TARGET_SUBDIR)/gperf && \
32517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32519 "RANLIB=$${RANLIB}" \
32520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32521 html) \
32522 || exit 1
32524 @endif target-gperf
32526 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32527 maybe-TAGS-target-gperf:
32528 @if target-gperf
32529 maybe-TAGS-target-gperf: TAGS-target-gperf
32531 TAGS-target-gperf: \
32532 configure-target-gperf
32533 @: $(MAKE); $(unstage)
32534 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32535 r=`${PWD_COMMAND}`; export r; \
32536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32537 $(NORMAL_TARGET_EXPORTS) \
32538 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32539 for flag in $(EXTRA_TARGET_FLAGS); do \
32540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32541 done; \
32542 (cd $(TARGET_SUBDIR)/gperf && \
32543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32545 "RANLIB=$${RANLIB}" \
32546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32547 TAGS) \
32548 || exit 1
32550 @endif target-gperf
32552 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32553 maybe-install-info-target-gperf:
32554 @if target-gperf
32555 maybe-install-info-target-gperf: install-info-target-gperf
32557 install-info-target-gperf: \
32558 configure-target-gperf \
32559 info-target-gperf
32560 @: $(MAKE); $(unstage)
32561 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32562 r=`${PWD_COMMAND}`; export r; \
32563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32564 $(NORMAL_TARGET_EXPORTS) \
32565 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32566 for flag in $(EXTRA_TARGET_FLAGS); do \
32567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32568 done; \
32569 (cd $(TARGET_SUBDIR)/gperf && \
32570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32572 "RANLIB=$${RANLIB}" \
32573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32574 install-info) \
32575 || exit 1
32577 @endif target-gperf
32579 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32580 maybe-installcheck-target-gperf:
32581 @if target-gperf
32582 maybe-installcheck-target-gperf: installcheck-target-gperf
32584 installcheck-target-gperf: \
32585 configure-target-gperf
32586 @: $(MAKE); $(unstage)
32587 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32588 r=`${PWD_COMMAND}`; export r; \
32589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32590 $(NORMAL_TARGET_EXPORTS) \
32591 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32592 for flag in $(EXTRA_TARGET_FLAGS); do \
32593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32594 done; \
32595 (cd $(TARGET_SUBDIR)/gperf && \
32596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32598 "RANLIB=$${RANLIB}" \
32599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32600 installcheck) \
32601 || exit 1
32603 @endif target-gperf
32605 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32606 maybe-mostlyclean-target-gperf:
32607 @if target-gperf
32608 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32610 mostlyclean-target-gperf:
32611 @: $(MAKE); $(unstage)
32612 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32613 r=`${PWD_COMMAND}`; export r; \
32614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32615 $(NORMAL_TARGET_EXPORTS) \
32616 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32617 for flag in $(EXTRA_TARGET_FLAGS); do \
32618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32619 done; \
32620 (cd $(TARGET_SUBDIR)/gperf && \
32621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32623 "RANLIB=$${RANLIB}" \
32624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32625 mostlyclean) \
32626 || exit 1
32628 @endif target-gperf
32630 .PHONY: maybe-clean-target-gperf clean-target-gperf
32631 maybe-clean-target-gperf:
32632 @if target-gperf
32633 maybe-clean-target-gperf: clean-target-gperf
32635 clean-target-gperf:
32636 @: $(MAKE); $(unstage)
32637 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32638 r=`${PWD_COMMAND}`; export r; \
32639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32640 $(NORMAL_TARGET_EXPORTS) \
32641 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32642 for flag in $(EXTRA_TARGET_FLAGS); do \
32643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32644 done; \
32645 (cd $(TARGET_SUBDIR)/gperf && \
32646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32648 "RANLIB=$${RANLIB}" \
32649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32650 clean) \
32651 || exit 1
32653 @endif target-gperf
32655 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32656 maybe-distclean-target-gperf:
32657 @if target-gperf
32658 maybe-distclean-target-gperf: distclean-target-gperf
32660 distclean-target-gperf:
32661 @: $(MAKE); $(unstage)
32662 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32663 r=`${PWD_COMMAND}`; export r; \
32664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32665 $(NORMAL_TARGET_EXPORTS) \
32666 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32667 for flag in $(EXTRA_TARGET_FLAGS); do \
32668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32669 done; \
32670 (cd $(TARGET_SUBDIR)/gperf && \
32671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32673 "RANLIB=$${RANLIB}" \
32674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32675 distclean) \
32676 || exit 1
32678 @endif target-gperf
32680 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32681 maybe-maintainer-clean-target-gperf:
32682 @if target-gperf
32683 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32685 maintainer-clean-target-gperf:
32686 @: $(MAKE); $(unstage)
32687 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32688 r=`${PWD_COMMAND}`; export r; \
32689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32690 $(NORMAL_TARGET_EXPORTS) \
32691 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32692 for flag in $(EXTRA_TARGET_FLAGS); do \
32693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32694 done; \
32695 (cd $(TARGET_SUBDIR)/gperf && \
32696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32698 "RANLIB=$${RANLIB}" \
32699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32700 maintainer-clean) \
32701 || exit 1
32703 @endif target-gperf
32709 .PHONY: configure-target-examples maybe-configure-target-examples
32710 maybe-configure-target-examples:
32711 @if target-examples
32712 maybe-configure-target-examples: configure-target-examples
32713 configure-target-examples:
32714 @: $(MAKE); $(unstage)
32715 @r=`${PWD_COMMAND}`; export r; \
32716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32717 echo "Checking multilib configuration for examples..."; \
32718 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32719 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
32720 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
32721 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
32722 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
32723 else \
32724 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
32725 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32726 fi; \
32727 else \
32728 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32730 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32731 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32732 r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 $(NORMAL_TARGET_EXPORTS) \
32735 echo Configuring in $(TARGET_SUBDIR)/examples; \
32736 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32737 case $(srcdir) in \
32738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32739 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32741 esac; \
32742 srcdiroption="--srcdir=$${topdir}/examples"; \
32743 libsrcdir="$$s/examples"; \
32744 rm -f no-such-file || : ; \
32745 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32746 $(TARGET_CONFIGARGS) $${srcdiroption} \
32747 || exit 1
32748 @endif target-examples
32754 .PHONY: all-target-examples maybe-all-target-examples
32755 maybe-all-target-examples:
32756 @if target-examples
32757 TARGET-target-examples=all
32758 maybe-all-target-examples: all-target-examples
32759 all-target-examples: configure-target-examples
32760 @: $(MAKE); $(unstage)
32761 @r=`${PWD_COMMAND}`; export r; \
32762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32763 $(NORMAL_TARGET_EXPORTS) \
32764 (cd $(TARGET_SUBDIR)/examples && \
32765 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32766 @endif target-examples
32772 .PHONY: check-target-examples maybe-check-target-examples
32773 maybe-check-target-examples:
32774 @if target-examples
32775 maybe-check-target-examples: check-target-examples
32777 # Dummy target for uncheckable module.
32778 check-target-examples:
32780 @endif target-examples
32782 .PHONY: install-target-examples maybe-install-target-examples
32783 maybe-install-target-examples:
32784 @if target-examples
32785 maybe-install-target-examples: install-target-examples
32787 # Dummy target for uninstallable.
32788 install-target-examples:
32790 @endif target-examples
32792 # Other targets (info, dvi, etc.)
32794 .PHONY: maybe-info-target-examples info-target-examples
32795 maybe-info-target-examples:
32796 @if target-examples
32797 maybe-info-target-examples: info-target-examples
32799 info-target-examples: \
32800 configure-target-examples
32801 @: $(MAKE); $(unstage)
32802 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32803 r=`${PWD_COMMAND}`; export r; \
32804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32805 $(NORMAL_TARGET_EXPORTS) \
32806 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32807 for flag in $(EXTRA_TARGET_FLAGS); do \
32808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32809 done; \
32810 (cd $(TARGET_SUBDIR)/examples && \
32811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32813 "RANLIB=$${RANLIB}" \
32814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32815 info) \
32816 || exit 1
32818 @endif target-examples
32820 .PHONY: maybe-dvi-target-examples dvi-target-examples
32821 maybe-dvi-target-examples:
32822 @if target-examples
32823 maybe-dvi-target-examples: dvi-target-examples
32825 dvi-target-examples: \
32826 configure-target-examples
32827 @: $(MAKE); $(unstage)
32828 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32829 r=`${PWD_COMMAND}`; export r; \
32830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32831 $(NORMAL_TARGET_EXPORTS) \
32832 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32833 for flag in $(EXTRA_TARGET_FLAGS); do \
32834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32835 done; \
32836 (cd $(TARGET_SUBDIR)/examples && \
32837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32839 "RANLIB=$${RANLIB}" \
32840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32841 dvi) \
32842 || exit 1
32844 @endif target-examples
32846 .PHONY: maybe-html-target-examples html-target-examples
32847 maybe-html-target-examples:
32848 @if target-examples
32849 maybe-html-target-examples: html-target-examples
32851 html-target-examples: \
32852 configure-target-examples
32853 @: $(MAKE); $(unstage)
32854 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32855 r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 $(NORMAL_TARGET_EXPORTS) \
32858 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32859 for flag in $(EXTRA_TARGET_FLAGS); do \
32860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32861 done; \
32862 (cd $(TARGET_SUBDIR)/examples && \
32863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32865 "RANLIB=$${RANLIB}" \
32866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32867 html) \
32868 || exit 1
32870 @endif target-examples
32872 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32873 maybe-TAGS-target-examples:
32874 @if target-examples
32875 maybe-TAGS-target-examples: TAGS-target-examples
32877 TAGS-target-examples: \
32878 configure-target-examples
32879 @: $(MAKE); $(unstage)
32880 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32881 r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 $(NORMAL_TARGET_EXPORTS) \
32884 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32885 for flag in $(EXTRA_TARGET_FLAGS); do \
32886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32887 done; \
32888 (cd $(TARGET_SUBDIR)/examples && \
32889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32891 "RANLIB=$${RANLIB}" \
32892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32893 TAGS) \
32894 || exit 1
32896 @endif target-examples
32898 .PHONY: maybe-install-info-target-examples install-info-target-examples
32899 maybe-install-info-target-examples:
32900 @if target-examples
32901 maybe-install-info-target-examples: install-info-target-examples
32903 install-info-target-examples: \
32904 configure-target-examples \
32905 info-target-examples
32906 @: $(MAKE); $(unstage)
32907 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32908 r=`${PWD_COMMAND}`; export r; \
32909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32910 $(NORMAL_TARGET_EXPORTS) \
32911 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32912 for flag in $(EXTRA_TARGET_FLAGS); do \
32913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32914 done; \
32915 (cd $(TARGET_SUBDIR)/examples && \
32916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32918 "RANLIB=$${RANLIB}" \
32919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32920 install-info) \
32921 || exit 1
32923 @endif target-examples
32925 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32926 maybe-installcheck-target-examples:
32927 @if target-examples
32928 maybe-installcheck-target-examples: installcheck-target-examples
32930 installcheck-target-examples: \
32931 configure-target-examples
32932 @: $(MAKE); $(unstage)
32933 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32934 r=`${PWD_COMMAND}`; export r; \
32935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32936 $(NORMAL_TARGET_EXPORTS) \
32937 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32938 for flag in $(EXTRA_TARGET_FLAGS); do \
32939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32940 done; \
32941 (cd $(TARGET_SUBDIR)/examples && \
32942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32944 "RANLIB=$${RANLIB}" \
32945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32946 installcheck) \
32947 || exit 1
32949 @endif target-examples
32951 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32952 maybe-mostlyclean-target-examples:
32953 @if target-examples
32954 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32956 mostlyclean-target-examples:
32957 @: $(MAKE); $(unstage)
32958 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32959 r=`${PWD_COMMAND}`; export r; \
32960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32961 $(NORMAL_TARGET_EXPORTS) \
32962 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32963 for flag in $(EXTRA_TARGET_FLAGS); do \
32964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32965 done; \
32966 (cd $(TARGET_SUBDIR)/examples && \
32967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32969 "RANLIB=$${RANLIB}" \
32970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32971 mostlyclean) \
32972 || exit 1
32974 @endif target-examples
32976 .PHONY: maybe-clean-target-examples clean-target-examples
32977 maybe-clean-target-examples:
32978 @if target-examples
32979 maybe-clean-target-examples: clean-target-examples
32981 clean-target-examples:
32982 @: $(MAKE); $(unstage)
32983 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32984 r=`${PWD_COMMAND}`; export r; \
32985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32986 $(NORMAL_TARGET_EXPORTS) \
32987 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32988 for flag in $(EXTRA_TARGET_FLAGS); do \
32989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32990 done; \
32991 (cd $(TARGET_SUBDIR)/examples && \
32992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32994 "RANLIB=$${RANLIB}" \
32995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32996 clean) \
32997 || exit 1
32999 @endif target-examples
33001 .PHONY: maybe-distclean-target-examples distclean-target-examples
33002 maybe-distclean-target-examples:
33003 @if target-examples
33004 maybe-distclean-target-examples: distclean-target-examples
33006 distclean-target-examples:
33007 @: $(MAKE); $(unstage)
33008 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33009 r=`${PWD_COMMAND}`; export r; \
33010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33011 $(NORMAL_TARGET_EXPORTS) \
33012 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33013 for flag in $(EXTRA_TARGET_FLAGS); do \
33014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33015 done; \
33016 (cd $(TARGET_SUBDIR)/examples && \
33017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33019 "RANLIB=$${RANLIB}" \
33020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33021 distclean) \
33022 || exit 1
33024 @endif target-examples
33026 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33027 maybe-maintainer-clean-target-examples:
33028 @if target-examples
33029 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33031 maintainer-clean-target-examples:
33032 @: $(MAKE); $(unstage)
33033 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33034 r=`${PWD_COMMAND}`; export r; \
33035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33036 $(NORMAL_TARGET_EXPORTS) \
33037 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33038 for flag in $(EXTRA_TARGET_FLAGS); do \
33039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33040 done; \
33041 (cd $(TARGET_SUBDIR)/examples && \
33042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33044 "RANLIB=$${RANLIB}" \
33045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33046 maintainer-clean) \
33047 || exit 1
33049 @endif target-examples
33055 .PHONY: configure-target-libffi maybe-configure-target-libffi
33056 maybe-configure-target-libffi:
33057 @if target-libffi
33058 maybe-configure-target-libffi: configure-target-libffi
33059 configure-target-libffi:
33060 @: $(MAKE); $(unstage)
33061 @r=`${PWD_COMMAND}`; export r; \
33062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33063 echo "Checking multilib configuration for libffi..."; \
33064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33065 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33066 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33067 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33068 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33069 else \
33070 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33071 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33072 fi; \
33073 else \
33074 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33076 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33077 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33078 r=`${PWD_COMMAND}`; export r; \
33079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33080 $(NORMAL_TARGET_EXPORTS) \
33081 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33082 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33083 case $(srcdir) in \
33084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33085 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33087 esac; \
33088 srcdiroption="--srcdir=$${topdir}/libffi"; \
33089 libsrcdir="$$s/libffi"; \
33090 rm -f no-such-file || : ; \
33091 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33092 $(TARGET_CONFIGARGS) $${srcdiroption} \
33093 || exit 1
33094 @endif target-libffi
33100 .PHONY: all-target-libffi maybe-all-target-libffi
33101 maybe-all-target-libffi:
33102 @if target-libffi
33103 TARGET-target-libffi=all
33104 maybe-all-target-libffi: all-target-libffi
33105 all-target-libffi: configure-target-libffi
33106 @: $(MAKE); $(unstage)
33107 @r=`${PWD_COMMAND}`; export r; \
33108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33109 $(NORMAL_TARGET_EXPORTS) \
33110 (cd $(TARGET_SUBDIR)/libffi && \
33111 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33112 @endif target-libffi
33118 .PHONY: check-target-libffi maybe-check-target-libffi
33119 maybe-check-target-libffi:
33120 @if target-libffi
33121 maybe-check-target-libffi: check-target-libffi
33123 check-target-libffi:
33124 @: $(MAKE); $(unstage)
33125 @r=`${PWD_COMMAND}`; export r; \
33126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33127 $(NORMAL_TARGET_EXPORTS) \
33128 (cd $(TARGET_SUBDIR)/libffi && \
33129 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33131 @endif target-libffi
33133 .PHONY: install-target-libffi maybe-install-target-libffi
33134 maybe-install-target-libffi:
33135 @if target-libffi
33136 maybe-install-target-libffi: install-target-libffi
33138 install-target-libffi: installdirs
33139 @: $(MAKE); $(unstage)
33140 @r=`${PWD_COMMAND}`; export r; \
33141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33142 $(NORMAL_TARGET_EXPORTS) \
33143 (cd $(TARGET_SUBDIR)/libffi && \
33144 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33146 @endif target-libffi
33148 # Other targets (info, dvi, etc.)
33150 .PHONY: maybe-info-target-libffi info-target-libffi
33151 maybe-info-target-libffi:
33152 @if target-libffi
33153 maybe-info-target-libffi: info-target-libffi
33155 info-target-libffi: \
33156 configure-target-libffi
33157 @: $(MAKE); $(unstage)
33158 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33159 r=`${PWD_COMMAND}`; export r; \
33160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33161 $(NORMAL_TARGET_EXPORTS) \
33162 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33163 for flag in $(EXTRA_TARGET_FLAGS); do \
33164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33165 done; \
33166 (cd $(TARGET_SUBDIR)/libffi && \
33167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33169 "RANLIB=$${RANLIB}" \
33170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33171 info) \
33172 || exit 1
33174 @endif target-libffi
33176 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33177 maybe-dvi-target-libffi:
33178 @if target-libffi
33179 maybe-dvi-target-libffi: dvi-target-libffi
33181 dvi-target-libffi: \
33182 configure-target-libffi
33183 @: $(MAKE); $(unstage)
33184 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33185 r=`${PWD_COMMAND}`; export r; \
33186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33187 $(NORMAL_TARGET_EXPORTS) \
33188 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33189 for flag in $(EXTRA_TARGET_FLAGS); do \
33190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33191 done; \
33192 (cd $(TARGET_SUBDIR)/libffi && \
33193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33195 "RANLIB=$${RANLIB}" \
33196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33197 dvi) \
33198 || exit 1
33200 @endif target-libffi
33202 .PHONY: maybe-html-target-libffi html-target-libffi
33203 maybe-html-target-libffi:
33204 @if target-libffi
33205 maybe-html-target-libffi: html-target-libffi
33207 html-target-libffi: \
33208 configure-target-libffi
33209 @: $(MAKE); $(unstage)
33210 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33211 r=`${PWD_COMMAND}`; export r; \
33212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33213 $(NORMAL_TARGET_EXPORTS) \
33214 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33215 for flag in $(EXTRA_TARGET_FLAGS); do \
33216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33217 done; \
33218 (cd $(TARGET_SUBDIR)/libffi && \
33219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33221 "RANLIB=$${RANLIB}" \
33222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33223 html) \
33224 || exit 1
33226 @endif target-libffi
33228 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33229 maybe-TAGS-target-libffi:
33230 @if target-libffi
33231 maybe-TAGS-target-libffi: TAGS-target-libffi
33233 TAGS-target-libffi: \
33234 configure-target-libffi
33235 @: $(MAKE); $(unstage)
33236 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33237 r=`${PWD_COMMAND}`; export r; \
33238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33239 $(NORMAL_TARGET_EXPORTS) \
33240 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33241 for flag in $(EXTRA_TARGET_FLAGS); do \
33242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33243 done; \
33244 (cd $(TARGET_SUBDIR)/libffi && \
33245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33247 "RANLIB=$${RANLIB}" \
33248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33249 TAGS) \
33250 || exit 1
33252 @endif target-libffi
33254 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33255 maybe-install-info-target-libffi:
33256 @if target-libffi
33257 maybe-install-info-target-libffi: install-info-target-libffi
33259 install-info-target-libffi: \
33260 configure-target-libffi \
33261 info-target-libffi
33262 @: $(MAKE); $(unstage)
33263 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33264 r=`${PWD_COMMAND}`; export r; \
33265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33266 $(NORMAL_TARGET_EXPORTS) \
33267 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33268 for flag in $(EXTRA_TARGET_FLAGS); do \
33269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33270 done; \
33271 (cd $(TARGET_SUBDIR)/libffi && \
33272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33274 "RANLIB=$${RANLIB}" \
33275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33276 install-info) \
33277 || exit 1
33279 @endif target-libffi
33281 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33282 maybe-installcheck-target-libffi:
33283 @if target-libffi
33284 maybe-installcheck-target-libffi: installcheck-target-libffi
33286 installcheck-target-libffi: \
33287 configure-target-libffi
33288 @: $(MAKE); $(unstage)
33289 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33290 r=`${PWD_COMMAND}`; export r; \
33291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33292 $(NORMAL_TARGET_EXPORTS) \
33293 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33294 for flag in $(EXTRA_TARGET_FLAGS); do \
33295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33296 done; \
33297 (cd $(TARGET_SUBDIR)/libffi && \
33298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33300 "RANLIB=$${RANLIB}" \
33301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33302 installcheck) \
33303 || exit 1
33305 @endif target-libffi
33307 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33308 maybe-mostlyclean-target-libffi:
33309 @if target-libffi
33310 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33312 mostlyclean-target-libffi:
33313 @: $(MAKE); $(unstage)
33314 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33315 r=`${PWD_COMMAND}`; export r; \
33316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33317 $(NORMAL_TARGET_EXPORTS) \
33318 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33319 for flag in $(EXTRA_TARGET_FLAGS); do \
33320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33321 done; \
33322 (cd $(TARGET_SUBDIR)/libffi && \
33323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33325 "RANLIB=$${RANLIB}" \
33326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33327 mostlyclean) \
33328 || exit 1
33330 @endif target-libffi
33332 .PHONY: maybe-clean-target-libffi clean-target-libffi
33333 maybe-clean-target-libffi:
33334 @if target-libffi
33335 maybe-clean-target-libffi: clean-target-libffi
33337 clean-target-libffi:
33338 @: $(MAKE); $(unstage)
33339 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33340 r=`${PWD_COMMAND}`; export r; \
33341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33342 $(NORMAL_TARGET_EXPORTS) \
33343 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33344 for flag in $(EXTRA_TARGET_FLAGS); do \
33345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33346 done; \
33347 (cd $(TARGET_SUBDIR)/libffi && \
33348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33350 "RANLIB=$${RANLIB}" \
33351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33352 clean) \
33353 || exit 1
33355 @endif target-libffi
33357 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33358 maybe-distclean-target-libffi:
33359 @if target-libffi
33360 maybe-distclean-target-libffi: distclean-target-libffi
33362 distclean-target-libffi:
33363 @: $(MAKE); $(unstage)
33364 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33365 r=`${PWD_COMMAND}`; export r; \
33366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33367 $(NORMAL_TARGET_EXPORTS) \
33368 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33369 for flag in $(EXTRA_TARGET_FLAGS); do \
33370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33371 done; \
33372 (cd $(TARGET_SUBDIR)/libffi && \
33373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33375 "RANLIB=$${RANLIB}" \
33376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33377 distclean) \
33378 || exit 1
33380 @endif target-libffi
33382 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33383 maybe-maintainer-clean-target-libffi:
33384 @if target-libffi
33385 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33387 maintainer-clean-target-libffi:
33388 @: $(MAKE); $(unstage)
33389 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33390 r=`${PWD_COMMAND}`; export r; \
33391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33392 $(NORMAL_TARGET_EXPORTS) \
33393 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33394 for flag in $(EXTRA_TARGET_FLAGS); do \
33395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33396 done; \
33397 (cd $(TARGET_SUBDIR)/libffi && \
33398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33400 "RANLIB=$${RANLIB}" \
33401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33402 maintainer-clean) \
33403 || exit 1
33405 @endif target-libffi
33411 .PHONY: configure-target-libjava maybe-configure-target-libjava
33412 maybe-configure-target-libjava:
33413 @if target-libjava
33414 maybe-configure-target-libjava: configure-target-libjava
33415 configure-target-libjava:
33416 @: $(MAKE); $(unstage)
33417 @r=`${PWD_COMMAND}`; export r; \
33418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33419 echo "Checking multilib configuration for libjava..."; \
33420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33421 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
33422 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
33423 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
33424 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
33425 else \
33426 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
33427 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33428 fi; \
33429 else \
33430 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33432 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33433 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33434 r=`${PWD_COMMAND}`; export r; \
33435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33436 $(RAW_CXX_TARGET_EXPORTS) \
33437 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33438 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33439 case $(srcdir) in \
33440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33441 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33443 esac; \
33444 srcdiroption="--srcdir=$${topdir}/libjava"; \
33445 libsrcdir="$$s/libjava"; \
33446 rm -f no-such-file || : ; \
33447 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33448 $(TARGET_CONFIGARGS) $${srcdiroption} \
33449 || exit 1
33450 @endif target-libjava
33456 .PHONY: all-target-libjava maybe-all-target-libjava
33457 maybe-all-target-libjava:
33458 @if target-libjava
33459 TARGET-target-libjava=all
33460 maybe-all-target-libjava: all-target-libjava
33461 all-target-libjava: configure-target-libjava
33462 @: $(MAKE); $(unstage)
33463 @r=`${PWD_COMMAND}`; export r; \
33464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33465 $(RAW_CXX_TARGET_EXPORTS) \
33466 (cd $(TARGET_SUBDIR)/libjava && \
33467 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33468 @endif target-libjava
33474 .PHONY: check-target-libjava maybe-check-target-libjava
33475 maybe-check-target-libjava:
33476 @if target-libjava
33477 maybe-check-target-libjava: check-target-libjava
33479 check-target-libjava:
33480 @: $(MAKE); $(unstage)
33481 @r=`${PWD_COMMAND}`; export r; \
33482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33483 $(RAW_CXX_TARGET_EXPORTS) \
33484 (cd $(TARGET_SUBDIR)/libjava && \
33485 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33487 @endif target-libjava
33489 .PHONY: install-target-libjava maybe-install-target-libjava
33490 maybe-install-target-libjava:
33491 @if target-libjava
33492 maybe-install-target-libjava: install-target-libjava
33494 install-target-libjava: installdirs
33495 @: $(MAKE); $(unstage)
33496 @r=`${PWD_COMMAND}`; export r; \
33497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33498 $(RAW_CXX_TARGET_EXPORTS) \
33499 (cd $(TARGET_SUBDIR)/libjava && \
33500 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33502 @endif target-libjava
33504 # Other targets (info, dvi, etc.)
33506 .PHONY: maybe-info-target-libjava info-target-libjava
33507 maybe-info-target-libjava:
33508 @if target-libjava
33509 maybe-info-target-libjava: info-target-libjava
33511 info-target-libjava: \
33512 configure-target-libjava
33513 @: $(MAKE); $(unstage)
33514 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33515 r=`${PWD_COMMAND}`; export r; \
33516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33517 $(RAW_CXX_TARGET_EXPORTS) \
33518 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33519 for flag in $(EXTRA_TARGET_FLAGS); do \
33520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33521 done; \
33522 (cd $(TARGET_SUBDIR)/libjava && \
33523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33525 "RANLIB=$${RANLIB}" \
33526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33527 info) \
33528 || exit 1
33530 @endif target-libjava
33532 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33533 maybe-dvi-target-libjava:
33534 @if target-libjava
33535 maybe-dvi-target-libjava: dvi-target-libjava
33537 dvi-target-libjava: \
33538 configure-target-libjava
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(RAW_CXX_TARGET_EXPORTS) \
33544 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33545 for flag in $(EXTRA_TARGET_FLAGS); do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33547 done; \
33548 (cd $(TARGET_SUBDIR)/libjava && \
33549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33551 "RANLIB=$${RANLIB}" \
33552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33553 dvi) \
33554 || exit 1
33556 @endif target-libjava
33558 .PHONY: maybe-html-target-libjava html-target-libjava
33559 maybe-html-target-libjava:
33560 @if target-libjava
33561 maybe-html-target-libjava: html-target-libjava
33563 html-target-libjava: \
33564 configure-target-libjava
33565 @: $(MAKE); $(unstage)
33566 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33567 r=`${PWD_COMMAND}`; export r; \
33568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33569 $(RAW_CXX_TARGET_EXPORTS) \
33570 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33571 for flag in $(EXTRA_TARGET_FLAGS); do \
33572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33573 done; \
33574 (cd $(TARGET_SUBDIR)/libjava && \
33575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33577 "RANLIB=$${RANLIB}" \
33578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33579 html) \
33580 || exit 1
33582 @endif target-libjava
33584 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33585 maybe-TAGS-target-libjava:
33586 @if target-libjava
33587 maybe-TAGS-target-libjava: TAGS-target-libjava
33589 TAGS-target-libjava: \
33590 configure-target-libjava
33591 @: $(MAKE); $(unstage)
33592 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33593 r=`${PWD_COMMAND}`; export r; \
33594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33595 $(RAW_CXX_TARGET_EXPORTS) \
33596 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33597 for flag in $(EXTRA_TARGET_FLAGS); do \
33598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33599 done; \
33600 (cd $(TARGET_SUBDIR)/libjava && \
33601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33603 "RANLIB=$${RANLIB}" \
33604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33605 TAGS) \
33606 || exit 1
33608 @endif target-libjava
33610 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33611 maybe-install-info-target-libjava:
33612 @if target-libjava
33613 maybe-install-info-target-libjava: install-info-target-libjava
33615 install-info-target-libjava: \
33616 configure-target-libjava \
33617 info-target-libjava
33618 @: $(MAKE); $(unstage)
33619 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33620 r=`${PWD_COMMAND}`; export r; \
33621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33622 $(RAW_CXX_TARGET_EXPORTS) \
33623 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33624 for flag in $(EXTRA_TARGET_FLAGS); do \
33625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33626 done; \
33627 (cd $(TARGET_SUBDIR)/libjava && \
33628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33630 "RANLIB=$${RANLIB}" \
33631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33632 install-info) \
33633 || exit 1
33635 @endif target-libjava
33637 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33638 maybe-installcheck-target-libjava:
33639 @if target-libjava
33640 maybe-installcheck-target-libjava: installcheck-target-libjava
33642 installcheck-target-libjava: \
33643 configure-target-libjava
33644 @: $(MAKE); $(unstage)
33645 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33646 r=`${PWD_COMMAND}`; export r; \
33647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33648 $(RAW_CXX_TARGET_EXPORTS) \
33649 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33650 for flag in $(EXTRA_TARGET_FLAGS); do \
33651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33652 done; \
33653 (cd $(TARGET_SUBDIR)/libjava && \
33654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33656 "RANLIB=$${RANLIB}" \
33657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33658 installcheck) \
33659 || exit 1
33661 @endif target-libjava
33663 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33664 maybe-mostlyclean-target-libjava:
33665 @if target-libjava
33666 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33668 mostlyclean-target-libjava:
33669 @: $(MAKE); $(unstage)
33670 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33671 r=`${PWD_COMMAND}`; export r; \
33672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33673 $(RAW_CXX_TARGET_EXPORTS) \
33674 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33675 for flag in $(EXTRA_TARGET_FLAGS); do \
33676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33677 done; \
33678 (cd $(TARGET_SUBDIR)/libjava && \
33679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33681 "RANLIB=$${RANLIB}" \
33682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33683 mostlyclean) \
33684 || exit 1
33686 @endif target-libjava
33688 .PHONY: maybe-clean-target-libjava clean-target-libjava
33689 maybe-clean-target-libjava:
33690 @if target-libjava
33691 maybe-clean-target-libjava: clean-target-libjava
33693 clean-target-libjava:
33694 @: $(MAKE); $(unstage)
33695 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33696 r=`${PWD_COMMAND}`; export r; \
33697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33698 $(RAW_CXX_TARGET_EXPORTS) \
33699 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33700 for flag in $(EXTRA_TARGET_FLAGS); do \
33701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33702 done; \
33703 (cd $(TARGET_SUBDIR)/libjava && \
33704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33706 "RANLIB=$${RANLIB}" \
33707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33708 clean) \
33709 || exit 1
33711 @endif target-libjava
33713 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33714 maybe-distclean-target-libjava:
33715 @if target-libjava
33716 maybe-distclean-target-libjava: distclean-target-libjava
33718 distclean-target-libjava:
33719 @: $(MAKE); $(unstage)
33720 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33721 r=`${PWD_COMMAND}`; export r; \
33722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33723 $(RAW_CXX_TARGET_EXPORTS) \
33724 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33725 for flag in $(EXTRA_TARGET_FLAGS); do \
33726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33727 done; \
33728 (cd $(TARGET_SUBDIR)/libjava && \
33729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33731 "RANLIB=$${RANLIB}" \
33732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33733 distclean) \
33734 || exit 1
33736 @endif target-libjava
33738 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33739 maybe-maintainer-clean-target-libjava:
33740 @if target-libjava
33741 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33743 maintainer-clean-target-libjava:
33744 @: $(MAKE); $(unstage)
33745 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33746 r=`${PWD_COMMAND}`; export r; \
33747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33748 $(RAW_CXX_TARGET_EXPORTS) \
33749 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33750 for flag in $(EXTRA_TARGET_FLAGS); do \
33751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33752 done; \
33753 (cd $(TARGET_SUBDIR)/libjava && \
33754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33756 "RANLIB=$${RANLIB}" \
33757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33758 maintainer-clean) \
33759 || exit 1
33761 @endif target-libjava
33767 .PHONY: configure-target-zlib maybe-configure-target-zlib
33768 maybe-configure-target-zlib:
33769 @if target-zlib
33770 maybe-configure-target-zlib: configure-target-zlib
33771 configure-target-zlib:
33772 @: $(MAKE); $(unstage)
33773 @r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 echo "Checking multilib configuration for zlib..."; \
33776 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33777 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
33778 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
33779 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
33780 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
33781 else \
33782 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
33783 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33784 fi; \
33785 else \
33786 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33788 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33789 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33790 r=`${PWD_COMMAND}`; export r; \
33791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33792 $(NORMAL_TARGET_EXPORTS) \
33793 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33794 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33795 case $(srcdir) in \
33796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33797 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33799 esac; \
33800 srcdiroption="--srcdir=$${topdir}/zlib"; \
33801 libsrcdir="$$s/zlib"; \
33802 rm -f no-such-file || : ; \
33803 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33804 $(TARGET_CONFIGARGS) $${srcdiroption} \
33805 || exit 1
33806 @endif target-zlib
33812 .PHONY: all-target-zlib maybe-all-target-zlib
33813 maybe-all-target-zlib:
33814 @if target-zlib
33815 TARGET-target-zlib=all
33816 maybe-all-target-zlib: all-target-zlib
33817 all-target-zlib: configure-target-zlib
33818 @: $(MAKE); $(unstage)
33819 @r=`${PWD_COMMAND}`; export r; \
33820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33821 $(NORMAL_TARGET_EXPORTS) \
33822 (cd $(TARGET_SUBDIR)/zlib && \
33823 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33824 @endif target-zlib
33830 .PHONY: check-target-zlib maybe-check-target-zlib
33831 maybe-check-target-zlib:
33832 @if target-zlib
33833 maybe-check-target-zlib: check-target-zlib
33835 check-target-zlib:
33836 @: $(MAKE); $(unstage)
33837 @r=`${PWD_COMMAND}`; export r; \
33838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33839 $(NORMAL_TARGET_EXPORTS) \
33840 (cd $(TARGET_SUBDIR)/zlib && \
33841 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33843 @endif target-zlib
33845 .PHONY: install-target-zlib maybe-install-target-zlib
33846 maybe-install-target-zlib:
33847 @if target-zlib
33848 maybe-install-target-zlib: install-target-zlib
33850 install-target-zlib: installdirs
33851 @: $(MAKE); $(unstage)
33852 @r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(NORMAL_TARGET_EXPORTS) \
33855 (cd $(TARGET_SUBDIR)/zlib && \
33856 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33858 @endif target-zlib
33860 # Other targets (info, dvi, etc.)
33862 .PHONY: maybe-info-target-zlib info-target-zlib
33863 maybe-info-target-zlib:
33864 @if target-zlib
33865 maybe-info-target-zlib: info-target-zlib
33867 info-target-zlib: \
33868 configure-target-zlib
33869 @: $(MAKE); $(unstage)
33870 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33871 r=`${PWD_COMMAND}`; export r; \
33872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33873 $(NORMAL_TARGET_EXPORTS) \
33874 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33875 for flag in $(EXTRA_TARGET_FLAGS); do \
33876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33877 done; \
33878 (cd $(TARGET_SUBDIR)/zlib && \
33879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33881 "RANLIB=$${RANLIB}" \
33882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33883 info) \
33884 || exit 1
33886 @endif target-zlib
33888 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33889 maybe-dvi-target-zlib:
33890 @if target-zlib
33891 maybe-dvi-target-zlib: dvi-target-zlib
33893 dvi-target-zlib: \
33894 configure-target-zlib
33895 @: $(MAKE); $(unstage)
33896 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33897 r=`${PWD_COMMAND}`; export r; \
33898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33899 $(NORMAL_TARGET_EXPORTS) \
33900 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33901 for flag in $(EXTRA_TARGET_FLAGS); do \
33902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33903 done; \
33904 (cd $(TARGET_SUBDIR)/zlib && \
33905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33907 "RANLIB=$${RANLIB}" \
33908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33909 dvi) \
33910 || exit 1
33912 @endif target-zlib
33914 .PHONY: maybe-html-target-zlib html-target-zlib
33915 maybe-html-target-zlib:
33916 @if target-zlib
33917 maybe-html-target-zlib: html-target-zlib
33919 html-target-zlib: \
33920 configure-target-zlib
33921 @: $(MAKE); $(unstage)
33922 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33923 r=`${PWD_COMMAND}`; export r; \
33924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33925 $(NORMAL_TARGET_EXPORTS) \
33926 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33927 for flag in $(EXTRA_TARGET_FLAGS); do \
33928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33929 done; \
33930 (cd $(TARGET_SUBDIR)/zlib && \
33931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33933 "RANLIB=$${RANLIB}" \
33934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33935 html) \
33936 || exit 1
33938 @endif target-zlib
33940 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33941 maybe-TAGS-target-zlib:
33942 @if target-zlib
33943 maybe-TAGS-target-zlib: TAGS-target-zlib
33945 TAGS-target-zlib: \
33946 configure-target-zlib
33947 @: $(MAKE); $(unstage)
33948 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33949 r=`${PWD_COMMAND}`; export r; \
33950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33951 $(NORMAL_TARGET_EXPORTS) \
33952 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33953 for flag in $(EXTRA_TARGET_FLAGS); do \
33954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33955 done; \
33956 (cd $(TARGET_SUBDIR)/zlib && \
33957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33959 "RANLIB=$${RANLIB}" \
33960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33961 TAGS) \
33962 || exit 1
33964 @endif target-zlib
33966 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33967 maybe-install-info-target-zlib:
33968 @if target-zlib
33969 maybe-install-info-target-zlib: install-info-target-zlib
33971 install-info-target-zlib: \
33972 configure-target-zlib \
33973 info-target-zlib
33974 @: $(MAKE); $(unstage)
33975 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33976 r=`${PWD_COMMAND}`; export r; \
33977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33978 $(NORMAL_TARGET_EXPORTS) \
33979 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33980 for flag in $(EXTRA_TARGET_FLAGS); do \
33981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33982 done; \
33983 (cd $(TARGET_SUBDIR)/zlib && \
33984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33986 "RANLIB=$${RANLIB}" \
33987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33988 install-info) \
33989 || exit 1
33991 @endif target-zlib
33993 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33994 maybe-installcheck-target-zlib:
33995 @if target-zlib
33996 maybe-installcheck-target-zlib: installcheck-target-zlib
33998 installcheck-target-zlib: \
33999 configure-target-zlib
34000 @: $(MAKE); $(unstage)
34001 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34002 r=`${PWD_COMMAND}`; export r; \
34003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34004 $(NORMAL_TARGET_EXPORTS) \
34005 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34006 for flag in $(EXTRA_TARGET_FLAGS); do \
34007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34008 done; \
34009 (cd $(TARGET_SUBDIR)/zlib && \
34010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34012 "RANLIB=$${RANLIB}" \
34013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34014 installcheck) \
34015 || exit 1
34017 @endif target-zlib
34019 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34020 maybe-mostlyclean-target-zlib:
34021 @if target-zlib
34022 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34024 mostlyclean-target-zlib:
34025 @: $(MAKE); $(unstage)
34026 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34027 r=`${PWD_COMMAND}`; export r; \
34028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34029 $(NORMAL_TARGET_EXPORTS) \
34030 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34031 for flag in $(EXTRA_TARGET_FLAGS); do \
34032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34033 done; \
34034 (cd $(TARGET_SUBDIR)/zlib && \
34035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34037 "RANLIB=$${RANLIB}" \
34038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34039 mostlyclean) \
34040 || exit 1
34042 @endif target-zlib
34044 .PHONY: maybe-clean-target-zlib clean-target-zlib
34045 maybe-clean-target-zlib:
34046 @if target-zlib
34047 maybe-clean-target-zlib: clean-target-zlib
34049 clean-target-zlib:
34050 @: $(MAKE); $(unstage)
34051 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(NORMAL_TARGET_EXPORTS) \
34055 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34056 for flag in $(EXTRA_TARGET_FLAGS); do \
34057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34058 done; \
34059 (cd $(TARGET_SUBDIR)/zlib && \
34060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34062 "RANLIB=$${RANLIB}" \
34063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34064 clean) \
34065 || exit 1
34067 @endif target-zlib
34069 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34070 maybe-distclean-target-zlib:
34071 @if target-zlib
34072 maybe-distclean-target-zlib: distclean-target-zlib
34074 distclean-target-zlib:
34075 @: $(MAKE); $(unstage)
34076 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34077 r=`${PWD_COMMAND}`; export r; \
34078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34079 $(NORMAL_TARGET_EXPORTS) \
34080 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34081 for flag in $(EXTRA_TARGET_FLAGS); do \
34082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34083 done; \
34084 (cd $(TARGET_SUBDIR)/zlib && \
34085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34087 "RANLIB=$${RANLIB}" \
34088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34089 distclean) \
34090 || exit 1
34092 @endif target-zlib
34094 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34095 maybe-maintainer-clean-target-zlib:
34096 @if target-zlib
34097 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34099 maintainer-clean-target-zlib:
34100 @: $(MAKE); $(unstage)
34101 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34102 r=`${PWD_COMMAND}`; export r; \
34103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34104 $(NORMAL_TARGET_EXPORTS) \
34105 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34106 for flag in $(EXTRA_TARGET_FLAGS); do \
34107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34108 done; \
34109 (cd $(TARGET_SUBDIR)/zlib && \
34110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34112 "RANLIB=$${RANLIB}" \
34113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34114 maintainer-clean) \
34115 || exit 1
34117 @endif target-zlib
34123 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34124 maybe-configure-target-boehm-gc:
34125 @if target-boehm-gc
34126 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34127 configure-target-boehm-gc:
34128 @: $(MAKE); $(unstage)
34129 @r=`${PWD_COMMAND}`; export r; \
34130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34131 echo "Checking multilib configuration for boehm-gc..."; \
34132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34134 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34135 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34136 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34137 else \
34138 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34139 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34140 fi; \
34141 else \
34142 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34144 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34146 r=`${PWD_COMMAND}`; export r; \
34147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34148 $(NORMAL_TARGET_EXPORTS) \
34149 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34150 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34151 case $(srcdir) in \
34152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34153 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34155 esac; \
34156 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34157 libsrcdir="$$s/boehm-gc"; \
34158 rm -f no-such-file || : ; \
34159 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34160 $(TARGET_CONFIGARGS) $${srcdiroption} \
34161 || exit 1
34162 @endif target-boehm-gc
34168 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34169 maybe-all-target-boehm-gc:
34170 @if target-boehm-gc
34171 TARGET-target-boehm-gc=all
34172 maybe-all-target-boehm-gc: all-target-boehm-gc
34173 all-target-boehm-gc: configure-target-boehm-gc
34174 @: $(MAKE); $(unstage)
34175 @r=`${PWD_COMMAND}`; export r; \
34176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34177 $(NORMAL_TARGET_EXPORTS) \
34178 (cd $(TARGET_SUBDIR)/boehm-gc && \
34179 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34180 @endif target-boehm-gc
34186 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34187 maybe-check-target-boehm-gc:
34188 @if target-boehm-gc
34189 maybe-check-target-boehm-gc: check-target-boehm-gc
34191 check-target-boehm-gc:
34192 @: $(MAKE); $(unstage)
34193 @r=`${PWD_COMMAND}`; export r; \
34194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34195 $(NORMAL_TARGET_EXPORTS) \
34196 (cd $(TARGET_SUBDIR)/boehm-gc && \
34197 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34199 @endif target-boehm-gc
34201 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34202 maybe-install-target-boehm-gc:
34203 @if target-boehm-gc
34204 maybe-install-target-boehm-gc: install-target-boehm-gc
34206 install-target-boehm-gc: installdirs
34207 @: $(MAKE); $(unstage)
34208 @r=`${PWD_COMMAND}`; export r; \
34209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34210 $(NORMAL_TARGET_EXPORTS) \
34211 (cd $(TARGET_SUBDIR)/boehm-gc && \
34212 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34214 @endif target-boehm-gc
34216 # Other targets (info, dvi, etc.)
34218 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34219 maybe-info-target-boehm-gc:
34220 @if target-boehm-gc
34221 maybe-info-target-boehm-gc: info-target-boehm-gc
34223 info-target-boehm-gc: \
34224 configure-target-boehm-gc
34225 @: $(MAKE); $(unstage)
34226 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34227 r=`${PWD_COMMAND}`; export r; \
34228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34229 $(NORMAL_TARGET_EXPORTS) \
34230 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34231 for flag in $(EXTRA_TARGET_FLAGS); do \
34232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34233 done; \
34234 (cd $(TARGET_SUBDIR)/boehm-gc && \
34235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34237 "RANLIB=$${RANLIB}" \
34238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34239 info) \
34240 || exit 1
34242 @endif target-boehm-gc
34244 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34245 maybe-dvi-target-boehm-gc:
34246 @if target-boehm-gc
34247 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34249 dvi-target-boehm-gc: \
34250 configure-target-boehm-gc
34251 @: $(MAKE); $(unstage)
34252 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34253 r=`${PWD_COMMAND}`; export r; \
34254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34255 $(NORMAL_TARGET_EXPORTS) \
34256 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34257 for flag in $(EXTRA_TARGET_FLAGS); do \
34258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34259 done; \
34260 (cd $(TARGET_SUBDIR)/boehm-gc && \
34261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34263 "RANLIB=$${RANLIB}" \
34264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34265 dvi) \
34266 || exit 1
34268 @endif target-boehm-gc
34270 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34271 maybe-html-target-boehm-gc:
34272 @if target-boehm-gc
34273 maybe-html-target-boehm-gc: html-target-boehm-gc
34275 html-target-boehm-gc: \
34276 configure-target-boehm-gc
34277 @: $(MAKE); $(unstage)
34278 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34279 r=`${PWD_COMMAND}`; export r; \
34280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34281 $(NORMAL_TARGET_EXPORTS) \
34282 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34283 for flag in $(EXTRA_TARGET_FLAGS); do \
34284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34285 done; \
34286 (cd $(TARGET_SUBDIR)/boehm-gc && \
34287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34289 "RANLIB=$${RANLIB}" \
34290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34291 html) \
34292 || exit 1
34294 @endif target-boehm-gc
34296 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34297 maybe-TAGS-target-boehm-gc:
34298 @if target-boehm-gc
34299 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34301 TAGS-target-boehm-gc: \
34302 configure-target-boehm-gc
34303 @: $(MAKE); $(unstage)
34304 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34305 r=`${PWD_COMMAND}`; export r; \
34306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34307 $(NORMAL_TARGET_EXPORTS) \
34308 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34309 for flag in $(EXTRA_TARGET_FLAGS); do \
34310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34311 done; \
34312 (cd $(TARGET_SUBDIR)/boehm-gc && \
34313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34315 "RANLIB=$${RANLIB}" \
34316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34317 TAGS) \
34318 || exit 1
34320 @endif target-boehm-gc
34322 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34323 maybe-install-info-target-boehm-gc:
34324 @if target-boehm-gc
34325 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34327 install-info-target-boehm-gc: \
34328 configure-target-boehm-gc \
34329 info-target-boehm-gc
34330 @: $(MAKE); $(unstage)
34331 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34332 r=`${PWD_COMMAND}`; export r; \
34333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34334 $(NORMAL_TARGET_EXPORTS) \
34335 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34336 for flag in $(EXTRA_TARGET_FLAGS); do \
34337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34338 done; \
34339 (cd $(TARGET_SUBDIR)/boehm-gc && \
34340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34342 "RANLIB=$${RANLIB}" \
34343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34344 install-info) \
34345 || exit 1
34347 @endif target-boehm-gc
34349 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34350 maybe-installcheck-target-boehm-gc:
34351 @if target-boehm-gc
34352 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34354 installcheck-target-boehm-gc: \
34355 configure-target-boehm-gc
34356 @: $(MAKE); $(unstage)
34357 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34358 r=`${PWD_COMMAND}`; export r; \
34359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34360 $(NORMAL_TARGET_EXPORTS) \
34361 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34362 for flag in $(EXTRA_TARGET_FLAGS); do \
34363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34364 done; \
34365 (cd $(TARGET_SUBDIR)/boehm-gc && \
34366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34368 "RANLIB=$${RANLIB}" \
34369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34370 installcheck) \
34371 || exit 1
34373 @endif target-boehm-gc
34375 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34376 maybe-mostlyclean-target-boehm-gc:
34377 @if target-boehm-gc
34378 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34380 mostlyclean-target-boehm-gc:
34381 @: $(MAKE); $(unstage)
34382 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34383 r=`${PWD_COMMAND}`; export r; \
34384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34385 $(NORMAL_TARGET_EXPORTS) \
34386 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34387 for flag in $(EXTRA_TARGET_FLAGS); do \
34388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34389 done; \
34390 (cd $(TARGET_SUBDIR)/boehm-gc && \
34391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34393 "RANLIB=$${RANLIB}" \
34394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34395 mostlyclean) \
34396 || exit 1
34398 @endif target-boehm-gc
34400 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34401 maybe-clean-target-boehm-gc:
34402 @if target-boehm-gc
34403 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34405 clean-target-boehm-gc:
34406 @: $(MAKE); $(unstage)
34407 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34408 r=`${PWD_COMMAND}`; export r; \
34409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34410 $(NORMAL_TARGET_EXPORTS) \
34411 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34412 for flag in $(EXTRA_TARGET_FLAGS); do \
34413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34414 done; \
34415 (cd $(TARGET_SUBDIR)/boehm-gc && \
34416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34418 "RANLIB=$${RANLIB}" \
34419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34420 clean) \
34421 || exit 1
34423 @endif target-boehm-gc
34425 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34426 maybe-distclean-target-boehm-gc:
34427 @if target-boehm-gc
34428 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34430 distclean-target-boehm-gc:
34431 @: $(MAKE); $(unstage)
34432 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34433 r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(NORMAL_TARGET_EXPORTS) \
34436 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34437 for flag in $(EXTRA_TARGET_FLAGS); do \
34438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34439 done; \
34440 (cd $(TARGET_SUBDIR)/boehm-gc && \
34441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34443 "RANLIB=$${RANLIB}" \
34444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34445 distclean) \
34446 || exit 1
34448 @endif target-boehm-gc
34450 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34451 maybe-maintainer-clean-target-boehm-gc:
34452 @if target-boehm-gc
34453 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34455 maintainer-clean-target-boehm-gc:
34456 @: $(MAKE); $(unstage)
34457 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34458 r=`${PWD_COMMAND}`; export r; \
34459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34460 $(NORMAL_TARGET_EXPORTS) \
34461 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34462 for flag in $(EXTRA_TARGET_FLAGS); do \
34463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34464 done; \
34465 (cd $(TARGET_SUBDIR)/boehm-gc && \
34466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34468 "RANLIB=$${RANLIB}" \
34469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34470 maintainer-clean) \
34471 || exit 1
34473 @endif target-boehm-gc
34479 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34480 maybe-configure-target-qthreads:
34481 @if target-qthreads
34482 maybe-configure-target-qthreads: configure-target-qthreads
34483 configure-target-qthreads:
34484 @: $(MAKE); $(unstage)
34485 @r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 echo "Checking multilib configuration for qthreads..."; \
34488 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34489 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
34490 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34491 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34492 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
34493 else \
34494 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
34495 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34496 fi; \
34497 else \
34498 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34500 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34501 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34502 r=`${PWD_COMMAND}`; export r; \
34503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34504 $(NORMAL_TARGET_EXPORTS) \
34505 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34506 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34507 case $(srcdir) in \
34508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34509 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34511 esac; \
34512 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34513 libsrcdir="$$s/qthreads"; \
34514 rm -f no-such-file || : ; \
34515 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34516 $(TARGET_CONFIGARGS) $${srcdiroption} \
34517 || exit 1
34518 @endif target-qthreads
34524 .PHONY: all-target-qthreads maybe-all-target-qthreads
34525 maybe-all-target-qthreads:
34526 @if target-qthreads
34527 TARGET-target-qthreads=all
34528 maybe-all-target-qthreads: all-target-qthreads
34529 all-target-qthreads: configure-target-qthreads
34530 @: $(MAKE); $(unstage)
34531 @r=`${PWD_COMMAND}`; export r; \
34532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34533 $(NORMAL_TARGET_EXPORTS) \
34534 (cd $(TARGET_SUBDIR)/qthreads && \
34535 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34536 @endif target-qthreads
34542 .PHONY: check-target-qthreads maybe-check-target-qthreads
34543 maybe-check-target-qthreads:
34544 @if target-qthreads
34545 maybe-check-target-qthreads: check-target-qthreads
34547 check-target-qthreads:
34548 @: $(MAKE); $(unstage)
34549 @r=`${PWD_COMMAND}`; export r; \
34550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34551 $(NORMAL_TARGET_EXPORTS) \
34552 (cd $(TARGET_SUBDIR)/qthreads && \
34553 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34555 @endif target-qthreads
34557 .PHONY: install-target-qthreads maybe-install-target-qthreads
34558 maybe-install-target-qthreads:
34559 @if target-qthreads
34560 maybe-install-target-qthreads: install-target-qthreads
34562 install-target-qthreads: installdirs
34563 @: $(MAKE); $(unstage)
34564 @r=`${PWD_COMMAND}`; export r; \
34565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34566 $(NORMAL_TARGET_EXPORTS) \
34567 (cd $(TARGET_SUBDIR)/qthreads && \
34568 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34570 @endif target-qthreads
34572 # Other targets (info, dvi, etc.)
34574 .PHONY: maybe-info-target-qthreads info-target-qthreads
34575 maybe-info-target-qthreads:
34576 @if target-qthreads
34577 maybe-info-target-qthreads: info-target-qthreads
34579 info-target-qthreads: \
34580 configure-target-qthreads
34581 @: $(MAKE); $(unstage)
34582 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34583 r=`${PWD_COMMAND}`; export r; \
34584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34585 $(NORMAL_TARGET_EXPORTS) \
34586 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34587 for flag in $(EXTRA_TARGET_FLAGS); do \
34588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34589 done; \
34590 (cd $(TARGET_SUBDIR)/qthreads && \
34591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34593 "RANLIB=$${RANLIB}" \
34594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34595 info) \
34596 || exit 1
34598 @endif target-qthreads
34600 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34601 maybe-dvi-target-qthreads:
34602 @if target-qthreads
34603 maybe-dvi-target-qthreads: dvi-target-qthreads
34605 dvi-target-qthreads: \
34606 configure-target-qthreads
34607 @: $(MAKE); $(unstage)
34608 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34609 r=`${PWD_COMMAND}`; export r; \
34610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34611 $(NORMAL_TARGET_EXPORTS) \
34612 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34613 for flag in $(EXTRA_TARGET_FLAGS); do \
34614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34615 done; \
34616 (cd $(TARGET_SUBDIR)/qthreads && \
34617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34619 "RANLIB=$${RANLIB}" \
34620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34621 dvi) \
34622 || exit 1
34624 @endif target-qthreads
34626 .PHONY: maybe-html-target-qthreads html-target-qthreads
34627 maybe-html-target-qthreads:
34628 @if target-qthreads
34629 maybe-html-target-qthreads: html-target-qthreads
34631 html-target-qthreads: \
34632 configure-target-qthreads
34633 @: $(MAKE); $(unstage)
34634 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34635 r=`${PWD_COMMAND}`; export r; \
34636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34637 $(NORMAL_TARGET_EXPORTS) \
34638 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34639 for flag in $(EXTRA_TARGET_FLAGS); do \
34640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34641 done; \
34642 (cd $(TARGET_SUBDIR)/qthreads && \
34643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34645 "RANLIB=$${RANLIB}" \
34646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34647 html) \
34648 || exit 1
34650 @endif target-qthreads
34652 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34653 maybe-TAGS-target-qthreads:
34654 @if target-qthreads
34655 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34657 TAGS-target-qthreads: \
34658 configure-target-qthreads
34659 @: $(MAKE); $(unstage)
34660 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34661 r=`${PWD_COMMAND}`; export r; \
34662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34663 $(NORMAL_TARGET_EXPORTS) \
34664 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34665 for flag in $(EXTRA_TARGET_FLAGS); do \
34666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34667 done; \
34668 (cd $(TARGET_SUBDIR)/qthreads && \
34669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34671 "RANLIB=$${RANLIB}" \
34672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34673 TAGS) \
34674 || exit 1
34676 @endif target-qthreads
34678 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34679 maybe-install-info-target-qthreads:
34680 @if target-qthreads
34681 maybe-install-info-target-qthreads: install-info-target-qthreads
34683 install-info-target-qthreads: \
34684 configure-target-qthreads \
34685 info-target-qthreads
34686 @: $(MAKE); $(unstage)
34687 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34688 r=`${PWD_COMMAND}`; export r; \
34689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34690 $(NORMAL_TARGET_EXPORTS) \
34691 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34692 for flag in $(EXTRA_TARGET_FLAGS); do \
34693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34694 done; \
34695 (cd $(TARGET_SUBDIR)/qthreads && \
34696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34698 "RANLIB=$${RANLIB}" \
34699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34700 install-info) \
34701 || exit 1
34703 @endif target-qthreads
34705 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34706 maybe-installcheck-target-qthreads:
34707 @if target-qthreads
34708 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34710 installcheck-target-qthreads: \
34711 configure-target-qthreads
34712 @: $(MAKE); $(unstage)
34713 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34714 r=`${PWD_COMMAND}`; export r; \
34715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34716 $(NORMAL_TARGET_EXPORTS) \
34717 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34718 for flag in $(EXTRA_TARGET_FLAGS); do \
34719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34720 done; \
34721 (cd $(TARGET_SUBDIR)/qthreads && \
34722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34724 "RANLIB=$${RANLIB}" \
34725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34726 installcheck) \
34727 || exit 1
34729 @endif target-qthreads
34731 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34732 maybe-mostlyclean-target-qthreads:
34733 @if target-qthreads
34734 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34736 mostlyclean-target-qthreads:
34737 @: $(MAKE); $(unstage)
34738 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34739 r=`${PWD_COMMAND}`; export r; \
34740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34741 $(NORMAL_TARGET_EXPORTS) \
34742 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34743 for flag in $(EXTRA_TARGET_FLAGS); do \
34744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34745 done; \
34746 (cd $(TARGET_SUBDIR)/qthreads && \
34747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34749 "RANLIB=$${RANLIB}" \
34750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34751 mostlyclean) \
34752 || exit 1
34754 @endif target-qthreads
34756 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34757 maybe-clean-target-qthreads:
34758 @if target-qthreads
34759 maybe-clean-target-qthreads: clean-target-qthreads
34761 clean-target-qthreads:
34762 @: $(MAKE); $(unstage)
34763 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34764 r=`${PWD_COMMAND}`; export r; \
34765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34766 $(NORMAL_TARGET_EXPORTS) \
34767 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34768 for flag in $(EXTRA_TARGET_FLAGS); do \
34769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34770 done; \
34771 (cd $(TARGET_SUBDIR)/qthreads && \
34772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34774 "RANLIB=$${RANLIB}" \
34775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34776 clean) \
34777 || exit 1
34779 @endif target-qthreads
34781 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34782 maybe-distclean-target-qthreads:
34783 @if target-qthreads
34784 maybe-distclean-target-qthreads: distclean-target-qthreads
34786 distclean-target-qthreads:
34787 @: $(MAKE); $(unstage)
34788 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34789 r=`${PWD_COMMAND}`; export r; \
34790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34791 $(NORMAL_TARGET_EXPORTS) \
34792 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34793 for flag in $(EXTRA_TARGET_FLAGS); do \
34794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34795 done; \
34796 (cd $(TARGET_SUBDIR)/qthreads && \
34797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34799 "RANLIB=$${RANLIB}" \
34800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34801 distclean) \
34802 || exit 1
34804 @endif target-qthreads
34806 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34807 maybe-maintainer-clean-target-qthreads:
34808 @if target-qthreads
34809 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34811 maintainer-clean-target-qthreads:
34812 @: $(MAKE); $(unstage)
34813 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34814 r=`${PWD_COMMAND}`; export r; \
34815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34816 $(NORMAL_TARGET_EXPORTS) \
34817 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34818 for flag in $(EXTRA_TARGET_FLAGS); do \
34819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34820 done; \
34821 (cd $(TARGET_SUBDIR)/qthreads && \
34822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34824 "RANLIB=$${RANLIB}" \
34825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34826 maintainer-clean) \
34827 || exit 1
34829 @endif target-qthreads
34835 .PHONY: configure-target-rda maybe-configure-target-rda
34836 maybe-configure-target-rda:
34837 @if target-rda
34838 maybe-configure-target-rda: configure-target-rda
34839 configure-target-rda:
34840 @: $(MAKE); $(unstage)
34841 @r=`${PWD_COMMAND}`; export r; \
34842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34843 echo "Checking multilib configuration for rda..."; \
34844 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34845 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
34846 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
34847 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
34848 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
34849 else \
34850 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
34851 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34852 fi; \
34853 else \
34854 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34856 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34858 r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 $(NORMAL_TARGET_EXPORTS) \
34861 echo Configuring in $(TARGET_SUBDIR)/rda; \
34862 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34863 case $(srcdir) in \
34864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34865 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34867 esac; \
34868 srcdiroption="--srcdir=$${topdir}/rda"; \
34869 libsrcdir="$$s/rda"; \
34870 rm -f no-such-file || : ; \
34871 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34872 $(TARGET_CONFIGARGS) $${srcdiroption} \
34873 || exit 1
34874 @endif target-rda
34880 .PHONY: all-target-rda maybe-all-target-rda
34881 maybe-all-target-rda:
34882 @if target-rda
34883 TARGET-target-rda=all
34884 maybe-all-target-rda: all-target-rda
34885 all-target-rda: configure-target-rda
34886 @: $(MAKE); $(unstage)
34887 @r=`${PWD_COMMAND}`; export r; \
34888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34889 $(NORMAL_TARGET_EXPORTS) \
34890 (cd $(TARGET_SUBDIR)/rda && \
34891 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34892 @endif target-rda
34898 .PHONY: check-target-rda maybe-check-target-rda
34899 maybe-check-target-rda:
34900 @if target-rda
34901 maybe-check-target-rda: check-target-rda
34903 check-target-rda:
34904 @: $(MAKE); $(unstage)
34905 @r=`${PWD_COMMAND}`; export r; \
34906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34907 $(NORMAL_TARGET_EXPORTS) \
34908 (cd $(TARGET_SUBDIR)/rda && \
34909 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34911 @endif target-rda
34913 .PHONY: install-target-rda maybe-install-target-rda
34914 maybe-install-target-rda:
34915 @if target-rda
34916 maybe-install-target-rda: install-target-rda
34918 install-target-rda: installdirs
34919 @: $(MAKE); $(unstage)
34920 @r=`${PWD_COMMAND}`; export r; \
34921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34922 $(NORMAL_TARGET_EXPORTS) \
34923 (cd $(TARGET_SUBDIR)/rda && \
34924 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34926 @endif target-rda
34928 # Other targets (info, dvi, etc.)
34930 .PHONY: maybe-info-target-rda info-target-rda
34931 maybe-info-target-rda:
34932 @if target-rda
34933 maybe-info-target-rda: info-target-rda
34935 info-target-rda: \
34936 configure-target-rda
34937 @: $(MAKE); $(unstage)
34938 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34939 r=`${PWD_COMMAND}`; export r; \
34940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34941 $(NORMAL_TARGET_EXPORTS) \
34942 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34943 for flag in $(EXTRA_TARGET_FLAGS); do \
34944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34945 done; \
34946 (cd $(TARGET_SUBDIR)/rda && \
34947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34949 "RANLIB=$${RANLIB}" \
34950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34951 info) \
34952 || exit 1
34954 @endif target-rda
34956 .PHONY: maybe-dvi-target-rda dvi-target-rda
34957 maybe-dvi-target-rda:
34958 @if target-rda
34959 maybe-dvi-target-rda: dvi-target-rda
34961 dvi-target-rda: \
34962 configure-target-rda
34963 @: $(MAKE); $(unstage)
34964 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34965 r=`${PWD_COMMAND}`; export r; \
34966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34967 $(NORMAL_TARGET_EXPORTS) \
34968 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34969 for flag in $(EXTRA_TARGET_FLAGS); do \
34970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34971 done; \
34972 (cd $(TARGET_SUBDIR)/rda && \
34973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34975 "RANLIB=$${RANLIB}" \
34976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34977 dvi) \
34978 || exit 1
34980 @endif target-rda
34982 .PHONY: maybe-html-target-rda html-target-rda
34983 maybe-html-target-rda:
34984 @if target-rda
34985 maybe-html-target-rda: html-target-rda
34987 html-target-rda: \
34988 configure-target-rda
34989 @: $(MAKE); $(unstage)
34990 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34991 r=`${PWD_COMMAND}`; export r; \
34992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34993 $(NORMAL_TARGET_EXPORTS) \
34994 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
34995 for flag in $(EXTRA_TARGET_FLAGS); do \
34996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34997 done; \
34998 (cd $(TARGET_SUBDIR)/rda && \
34999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35001 "RANLIB=$${RANLIB}" \
35002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35003 html) \
35004 || exit 1
35006 @endif target-rda
35008 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35009 maybe-TAGS-target-rda:
35010 @if target-rda
35011 maybe-TAGS-target-rda: TAGS-target-rda
35013 TAGS-target-rda: \
35014 configure-target-rda
35015 @: $(MAKE); $(unstage)
35016 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35017 r=`${PWD_COMMAND}`; export r; \
35018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35019 $(NORMAL_TARGET_EXPORTS) \
35020 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35021 for flag in $(EXTRA_TARGET_FLAGS); do \
35022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35023 done; \
35024 (cd $(TARGET_SUBDIR)/rda && \
35025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35027 "RANLIB=$${RANLIB}" \
35028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35029 TAGS) \
35030 || exit 1
35032 @endif target-rda
35034 .PHONY: maybe-install-info-target-rda install-info-target-rda
35035 maybe-install-info-target-rda:
35036 @if target-rda
35037 maybe-install-info-target-rda: install-info-target-rda
35039 install-info-target-rda: \
35040 configure-target-rda \
35041 info-target-rda
35042 @: $(MAKE); $(unstage)
35043 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35044 r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 $(NORMAL_TARGET_EXPORTS) \
35047 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35048 for flag in $(EXTRA_TARGET_FLAGS); do \
35049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35050 done; \
35051 (cd $(TARGET_SUBDIR)/rda && \
35052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35054 "RANLIB=$${RANLIB}" \
35055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35056 install-info) \
35057 || exit 1
35059 @endif target-rda
35061 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35062 maybe-installcheck-target-rda:
35063 @if target-rda
35064 maybe-installcheck-target-rda: installcheck-target-rda
35066 installcheck-target-rda: \
35067 configure-target-rda
35068 @: $(MAKE); $(unstage)
35069 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35070 r=`${PWD_COMMAND}`; export r; \
35071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35072 $(NORMAL_TARGET_EXPORTS) \
35073 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35074 for flag in $(EXTRA_TARGET_FLAGS); do \
35075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35076 done; \
35077 (cd $(TARGET_SUBDIR)/rda && \
35078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35080 "RANLIB=$${RANLIB}" \
35081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35082 installcheck) \
35083 || exit 1
35085 @endif target-rda
35087 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35088 maybe-mostlyclean-target-rda:
35089 @if target-rda
35090 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35092 mostlyclean-target-rda:
35093 @: $(MAKE); $(unstage)
35094 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35095 r=`${PWD_COMMAND}`; export r; \
35096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35097 $(NORMAL_TARGET_EXPORTS) \
35098 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35099 for flag in $(EXTRA_TARGET_FLAGS); do \
35100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35101 done; \
35102 (cd $(TARGET_SUBDIR)/rda && \
35103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35105 "RANLIB=$${RANLIB}" \
35106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35107 mostlyclean) \
35108 || exit 1
35110 @endif target-rda
35112 .PHONY: maybe-clean-target-rda clean-target-rda
35113 maybe-clean-target-rda:
35114 @if target-rda
35115 maybe-clean-target-rda: clean-target-rda
35117 clean-target-rda:
35118 @: $(MAKE); $(unstage)
35119 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35120 r=`${PWD_COMMAND}`; export r; \
35121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35122 $(NORMAL_TARGET_EXPORTS) \
35123 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35124 for flag in $(EXTRA_TARGET_FLAGS); do \
35125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35126 done; \
35127 (cd $(TARGET_SUBDIR)/rda && \
35128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35130 "RANLIB=$${RANLIB}" \
35131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35132 clean) \
35133 || exit 1
35135 @endif target-rda
35137 .PHONY: maybe-distclean-target-rda distclean-target-rda
35138 maybe-distclean-target-rda:
35139 @if target-rda
35140 maybe-distclean-target-rda: distclean-target-rda
35142 distclean-target-rda:
35143 @: $(MAKE); $(unstage)
35144 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35145 r=`${PWD_COMMAND}`; export r; \
35146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35147 $(NORMAL_TARGET_EXPORTS) \
35148 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35149 for flag in $(EXTRA_TARGET_FLAGS); do \
35150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35151 done; \
35152 (cd $(TARGET_SUBDIR)/rda && \
35153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35155 "RANLIB=$${RANLIB}" \
35156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35157 distclean) \
35158 || exit 1
35160 @endif target-rda
35162 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35163 maybe-maintainer-clean-target-rda:
35164 @if target-rda
35165 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35167 maintainer-clean-target-rda:
35168 @: $(MAKE); $(unstage)
35169 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35170 r=`${PWD_COMMAND}`; export r; \
35171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35172 $(NORMAL_TARGET_EXPORTS) \
35173 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35174 for flag in $(EXTRA_TARGET_FLAGS); do \
35175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35176 done; \
35177 (cd $(TARGET_SUBDIR)/rda && \
35178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35180 "RANLIB=$${RANLIB}" \
35181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35182 maintainer-clean) \
35183 || exit 1
35185 @endif target-rda
35191 .PHONY: configure-target-libada maybe-configure-target-libada
35192 maybe-configure-target-libada:
35193 @if target-libada
35194 maybe-configure-target-libada: configure-target-libada
35195 configure-target-libada:
35196 @: $(MAKE); $(unstage)
35197 @r=`${PWD_COMMAND}`; export r; \
35198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35199 echo "Checking multilib configuration for libada..."; \
35200 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35201 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35202 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35203 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35204 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35205 else \
35206 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35207 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35208 fi; \
35209 else \
35210 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35212 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35214 r=`${PWD_COMMAND}`; export r; \
35215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35216 $(NORMAL_TARGET_EXPORTS) \
35217 echo Configuring in $(TARGET_SUBDIR)/libada; \
35218 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35219 case $(srcdir) in \
35220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35221 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35223 esac; \
35224 srcdiroption="--srcdir=$${topdir}/libada"; \
35225 libsrcdir="$$s/libada"; \
35226 rm -f no-such-file || : ; \
35227 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35228 $(TARGET_CONFIGARGS) $${srcdiroption} \
35229 || exit 1
35230 @endif target-libada
35236 .PHONY: all-target-libada maybe-all-target-libada
35237 maybe-all-target-libada:
35238 @if target-libada
35239 TARGET-target-libada=all
35240 maybe-all-target-libada: all-target-libada
35241 all-target-libada: configure-target-libada
35242 @: $(MAKE); $(unstage)
35243 @r=`${PWD_COMMAND}`; export r; \
35244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35245 $(NORMAL_TARGET_EXPORTS) \
35246 (cd $(TARGET_SUBDIR)/libada && \
35247 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35248 @endif target-libada
35254 .PHONY: check-target-libada maybe-check-target-libada
35255 maybe-check-target-libada:
35256 @if target-libada
35257 maybe-check-target-libada: check-target-libada
35259 check-target-libada:
35260 @: $(MAKE); $(unstage)
35261 @r=`${PWD_COMMAND}`; export r; \
35262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35263 $(NORMAL_TARGET_EXPORTS) \
35264 (cd $(TARGET_SUBDIR)/libada && \
35265 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35267 @endif target-libada
35269 .PHONY: install-target-libada maybe-install-target-libada
35270 maybe-install-target-libada:
35271 @if target-libada
35272 maybe-install-target-libada: install-target-libada
35274 install-target-libada: installdirs
35275 @: $(MAKE); $(unstage)
35276 @r=`${PWD_COMMAND}`; export r; \
35277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35278 $(NORMAL_TARGET_EXPORTS) \
35279 (cd $(TARGET_SUBDIR)/libada && \
35280 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35282 @endif target-libada
35284 # Other targets (info, dvi, etc.)
35286 .PHONY: maybe-info-target-libada info-target-libada
35287 maybe-info-target-libada:
35288 @if target-libada
35289 maybe-info-target-libada: info-target-libada
35291 info-target-libada: \
35292 configure-target-libada
35293 @: $(MAKE); $(unstage)
35294 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35295 r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(NORMAL_TARGET_EXPORTS) \
35298 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35299 for flag in $(EXTRA_TARGET_FLAGS); do \
35300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35301 done; \
35302 (cd $(TARGET_SUBDIR)/libada && \
35303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35305 "RANLIB=$${RANLIB}" \
35306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35307 info) \
35308 || exit 1
35310 @endif target-libada
35312 .PHONY: maybe-dvi-target-libada dvi-target-libada
35313 maybe-dvi-target-libada:
35314 @if target-libada
35315 maybe-dvi-target-libada: dvi-target-libada
35317 dvi-target-libada: \
35318 configure-target-libada
35319 @: $(MAKE); $(unstage)
35320 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35321 r=`${PWD_COMMAND}`; export r; \
35322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35323 $(NORMAL_TARGET_EXPORTS) \
35324 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35325 for flag in $(EXTRA_TARGET_FLAGS); do \
35326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35327 done; \
35328 (cd $(TARGET_SUBDIR)/libada && \
35329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35331 "RANLIB=$${RANLIB}" \
35332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35333 dvi) \
35334 || exit 1
35336 @endif target-libada
35338 .PHONY: maybe-html-target-libada html-target-libada
35339 maybe-html-target-libada:
35340 @if target-libada
35341 maybe-html-target-libada: html-target-libada
35343 html-target-libada: \
35344 configure-target-libada
35345 @: $(MAKE); $(unstage)
35346 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35347 r=`${PWD_COMMAND}`; export r; \
35348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35349 $(NORMAL_TARGET_EXPORTS) \
35350 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35351 for flag in $(EXTRA_TARGET_FLAGS); do \
35352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35353 done; \
35354 (cd $(TARGET_SUBDIR)/libada && \
35355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35357 "RANLIB=$${RANLIB}" \
35358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35359 html) \
35360 || exit 1
35362 @endif target-libada
35364 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35365 maybe-TAGS-target-libada:
35366 @if target-libada
35367 maybe-TAGS-target-libada: TAGS-target-libada
35369 TAGS-target-libada: \
35370 configure-target-libada
35371 @: $(MAKE); $(unstage)
35372 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35373 r=`${PWD_COMMAND}`; export r; \
35374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35375 $(NORMAL_TARGET_EXPORTS) \
35376 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35377 for flag in $(EXTRA_TARGET_FLAGS); do \
35378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35379 done; \
35380 (cd $(TARGET_SUBDIR)/libada && \
35381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35383 "RANLIB=$${RANLIB}" \
35384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35385 TAGS) \
35386 || exit 1
35388 @endif target-libada
35390 .PHONY: maybe-install-info-target-libada install-info-target-libada
35391 maybe-install-info-target-libada:
35392 @if target-libada
35393 maybe-install-info-target-libada: install-info-target-libada
35395 install-info-target-libada: \
35396 configure-target-libada \
35397 info-target-libada
35398 @: $(MAKE); $(unstage)
35399 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35400 r=`${PWD_COMMAND}`; export r; \
35401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35402 $(NORMAL_TARGET_EXPORTS) \
35403 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35404 for flag in $(EXTRA_TARGET_FLAGS); do \
35405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35406 done; \
35407 (cd $(TARGET_SUBDIR)/libada && \
35408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35410 "RANLIB=$${RANLIB}" \
35411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35412 install-info) \
35413 || exit 1
35415 @endif target-libada
35417 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35418 maybe-installcheck-target-libada:
35419 @if target-libada
35420 maybe-installcheck-target-libada: installcheck-target-libada
35422 installcheck-target-libada: \
35423 configure-target-libada
35424 @: $(MAKE); $(unstage)
35425 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35426 r=`${PWD_COMMAND}`; export r; \
35427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35428 $(NORMAL_TARGET_EXPORTS) \
35429 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35430 for flag in $(EXTRA_TARGET_FLAGS); do \
35431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35432 done; \
35433 (cd $(TARGET_SUBDIR)/libada && \
35434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35436 "RANLIB=$${RANLIB}" \
35437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35438 installcheck) \
35439 || exit 1
35441 @endif target-libada
35443 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35444 maybe-mostlyclean-target-libada:
35445 @if target-libada
35446 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35448 mostlyclean-target-libada:
35449 @: $(MAKE); $(unstage)
35450 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35451 r=`${PWD_COMMAND}`; export r; \
35452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35453 $(NORMAL_TARGET_EXPORTS) \
35454 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35455 for flag in $(EXTRA_TARGET_FLAGS); do \
35456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35457 done; \
35458 (cd $(TARGET_SUBDIR)/libada && \
35459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35461 "RANLIB=$${RANLIB}" \
35462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35463 mostlyclean) \
35464 || exit 1
35466 @endif target-libada
35468 .PHONY: maybe-clean-target-libada clean-target-libada
35469 maybe-clean-target-libada:
35470 @if target-libada
35471 maybe-clean-target-libada: clean-target-libada
35473 clean-target-libada:
35474 @: $(MAKE); $(unstage)
35475 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35476 r=`${PWD_COMMAND}`; export r; \
35477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35478 $(NORMAL_TARGET_EXPORTS) \
35479 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35480 for flag in $(EXTRA_TARGET_FLAGS); do \
35481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35482 done; \
35483 (cd $(TARGET_SUBDIR)/libada && \
35484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35486 "RANLIB=$${RANLIB}" \
35487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35488 clean) \
35489 || exit 1
35491 @endif target-libada
35493 .PHONY: maybe-distclean-target-libada distclean-target-libada
35494 maybe-distclean-target-libada:
35495 @if target-libada
35496 maybe-distclean-target-libada: distclean-target-libada
35498 distclean-target-libada:
35499 @: $(MAKE); $(unstage)
35500 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35501 r=`${PWD_COMMAND}`; export r; \
35502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35503 $(NORMAL_TARGET_EXPORTS) \
35504 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
35505 for flag in $(EXTRA_TARGET_FLAGS); do \
35506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35507 done; \
35508 (cd $(TARGET_SUBDIR)/libada && \
35509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35511 "RANLIB=$${RANLIB}" \
35512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35513 distclean) \
35514 || exit 1
35516 @endif target-libada
35518 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35519 maybe-maintainer-clean-target-libada:
35520 @if target-libada
35521 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35523 maintainer-clean-target-libada:
35524 @: $(MAKE); $(unstage)
35525 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35526 r=`${PWD_COMMAND}`; export r; \
35527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35528 $(NORMAL_TARGET_EXPORTS) \
35529 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35530 for flag in $(EXTRA_TARGET_FLAGS); do \
35531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35532 done; \
35533 (cd $(TARGET_SUBDIR)/libada && \
35534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35536 "RANLIB=$${RANLIB}" \
35537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35538 maintainer-clean) \
35539 || exit 1
35541 @endif target-libada
35545 # ----------
35546 # GCC module
35547 # ----------
35549 @if gcc-no-bootstrap
35550 # GCC has some more recursive targets, which trigger the old
35551 # (but still current, until the toplevel bootstrap project
35552 # is finished) compiler bootstrapping rules.
35554 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35555 .PHONY: $(GCC_STRAP_TARGETS)
35556 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35557 @r=`${PWD_COMMAND}`; export r; \
35558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35559 $(HOST_EXPORTS) \
35560 echo "Bootstrapping the compiler"; \
35561 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35562 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35563 @r=`${PWD_COMMAND}`; export r; \
35564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35565 case "$@" in \
35566 *bootstrap4-lean ) \
35567 msg="Comparing stage3 and stage4 of the compiler"; \
35568 compare=compare3-lean ;; \
35569 *bootstrap4 ) \
35570 msg="Comparing stage3 and stage4 of the compiler"; \
35571 compare=compare3 ;; \
35572 *-lean ) \
35573 msg="Comparing stage2 and stage3 of the compiler"; \
35574 compare=compare-lean ;; \
35575 * ) \
35576 msg="Comparing stage2 and stage3 of the compiler"; \
35577 compare=compare ;; \
35578 esac; \
35579 $(HOST_EXPORTS) \
35580 echo "$$msg"; \
35581 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35582 @r=`${PWD_COMMAND}`; export r; \
35583 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35584 echo "Building runtime libraries"; \
35585 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35587 profiledbootstrap: all-prebootstrap configure-gcc
35588 @r=`${PWD_COMMAND}`; export r; \
35589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35590 $(HOST_EXPORTS) \
35591 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35592 echo "Bootstrapping training compiler"; \
35593 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35594 @r=`${PWD_COMMAND}`; export r; \
35595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35596 $(HOST_EXPORTS) \
35597 echo "Building feedback based compiler"; \
35598 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35599 @r=`${PWD_COMMAND}`; export r; \
35600 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35601 echo "Building runtime libraries"; \
35602 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35604 .PHONY: cross
35605 cross: all-build all-gas all-ld
35606 @r=`${PWD_COMMAND}`; export r; \
35607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35608 $(HOST_EXPORTS) \
35609 echo "Building the C and C++ compiler"; \
35610 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35611 @r=`${PWD_COMMAND}`; export r; \
35612 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35613 echo "Building runtime libraries"; \
35614 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35615 @endif gcc-no-bootstrap
35617 @if gcc
35618 .PHONY: check-gcc-c++
35619 check-gcc-c++:
35620 @if [ -f ./gcc/Makefile ] ; then \
35621 r=`${PWD_COMMAND}`; export r; \
35622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35623 $(HOST_EXPORTS) \
35624 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35625 else \
35626 true; \
35629 .PHONY: check-c++
35630 check-c++: check-target-libstdc++-v3 check-gcc-c++
35632 # Install the gcc headers files, but not the fixed include files,
35633 # which Cygnus is not allowed to distribute. This rule is very
35634 # dependent on the workings of the gcc Makefile.in.
35635 .PHONY: gcc-no-fixedincludes
35636 gcc-no-fixedincludes:
35637 @if [ -f ./gcc/Makefile ]; then \
35638 rm -rf gcc/tmp-include; \
35639 mv gcc/include gcc/tmp-include 2>/dev/null; \
35640 mkdir gcc/include; \
35641 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35642 touch gcc/stmp-fixinc gcc/include/fixed; \
35643 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35644 r=`${PWD_COMMAND}`; export r; \
35645 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35646 $(HOST_EXPORTS) \
35647 (cd ./gcc && \
35648 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35649 rm -rf gcc/include; \
35650 mv gcc/tmp-include gcc/include 2>/dev/null; \
35651 else true; fi
35652 @endif gcc
35654 # ---------------------
35655 # GCC bootstrap support
35656 # ---------------------
35658 # We track the current stage (the one in 'gcc') in the stage_current file.
35659 # stage_last instead tracks the stage that was built last. These targets
35660 # are dummy when toplevel bootstrap is not active.
35662 # While making host and target tools, symlinks to the final stage must be
35663 # there, so $(unstage) should be run at various points. To avoid excessive
35664 # recursive invocations of make, we "inline" them using a variable. These
35665 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
35666 # to avoid warnings from the GNU Make job server.
35668 unstage = :
35669 stage = :
35671 @if gcc-bootstrap
35672 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35673 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
35674 @endif gcc-bootstrap
35676 .PHONY: unstage stage
35677 unstage:
35678 @: $(MAKE); $(unstage)
35679 stage:
35680 @: $(MAKE); $(stage)
35682 # We name the build directories for the various stages "stage1-gcc",
35683 # "stage2-gcc","stage3-gcc", etc.
35685 # Since the 'compare' process will fail (on debugging information) if any
35686 # directory names are different, we need to link the gcc directory for
35687 # the previous stage to a constant name ('prev-gcc'), and to make the name of
35688 # the build directories constant as well. For the latter, we use naked names
35689 # like 'gcc', because the scripts in that directory assume it. We use
35690 # mv on platforms where symlinks to directories do not work or are not
35691 # reliable.
35693 # 'touch' doesn't work right on some platforms.
35694 STAMP = echo timestamp >
35696 # Only build the C compiler for stage1, because that is the only one that
35697 # we can guarantee will build with the native compiler, and also it is the
35698 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35699 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35700 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35702 STAGE1_CFLAGS=@stage1_cflags@
35703 STAGE1_LANGUAGES=@stage1_languages@
35705 # We only want to compare .o files, so set this!
35706 objext = .o
35708 # Flags to pass to stage2 and later makes.
35709 POSTSTAGE1_FLAGS_TO_PASS = \
35710 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35711 STAGE_PREFIX=$$r/prev-gcc/ \
35712 CFLAGS="$(BOOT_CFLAGS)" \
35713 LDFLAGS="$(BOOT_LDFLAGS)" \
35714 ADAC="\$$(CC)"
35716 # For stage 1:
35717 # * We force-disable intermodule optimizations, even if
35718 # --enable-intermodule was passed, since the installed compiler probably
35719 # can't handle them. Luckily, autoconf always respects
35720 # the last argument when conflicting --enable arguments are passed.
35721 # * Likewise, we force-disable coverage flags, since the installed compiler
35722 # probably has never heard of them.
35723 # * We build only C (and possibly Ada).
35726 .PHONY: stage1-start stage1-end
35728 stage1-start::
35729 @: $(MAKE); $(stage); \
35730 echo stage1 > stage_current ; \
35731 echo stage1 > stage_last; \
35732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
35733 @if bfd
35734 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35735 mkdir stage1-bfd; \
35736 set stage1-bfd bfd ; \
35737 @CREATE_LINK_TO_DIR@
35738 @endif bfd
35739 @if opcodes
35740 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35741 mkdir stage1-opcodes; \
35742 set stage1-opcodes opcodes ; \
35743 @CREATE_LINK_TO_DIR@
35744 @endif opcodes
35745 @if binutils
35746 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35747 mkdir stage1-binutils; \
35748 set stage1-binutils binutils ; \
35749 @CREATE_LINK_TO_DIR@
35750 @endif binutils
35751 @if gas
35752 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35753 mkdir stage1-gas; \
35754 set stage1-gas gas ; \
35755 @CREATE_LINK_TO_DIR@
35756 @endif gas
35757 @if gcc
35758 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35759 mkdir stage1-gcc; \
35760 set stage1-gcc gcc ; \
35761 @CREATE_LINK_TO_DIR@
35762 @endif gcc
35763 @if intl
35764 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35765 mkdir stage1-intl; \
35766 set stage1-intl intl ; \
35767 @CREATE_LINK_TO_DIR@
35768 @endif intl
35769 @if ld
35770 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35771 mkdir stage1-ld; \
35772 set stage1-ld ld ; \
35773 @CREATE_LINK_TO_DIR@
35774 @endif ld
35775 @if libcpp
35776 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35777 mkdir stage1-libcpp; \
35778 set stage1-libcpp libcpp ; \
35779 @CREATE_LINK_TO_DIR@
35780 @endif libcpp
35781 @if libdecnumber
35782 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
35783 mkdir stage1-libdecnumber; \
35784 set stage1-libdecnumber libdecnumber ; \
35785 @CREATE_LINK_TO_DIR@
35786 @endif libdecnumber
35787 @if libiberty
35788 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35789 mkdir stage1-libiberty; \
35790 set stage1-libiberty libiberty ; \
35791 @CREATE_LINK_TO_DIR@
35792 @endif libiberty
35793 @if zlib
35794 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35795 mkdir stage1-zlib; \
35796 set stage1-zlib zlib ; \
35797 @CREATE_LINK_TO_DIR@
35798 @endif zlib
35799 @[ -d stage1-$(TARGET_SUBDIR) ] || \
35800 mkdir stage1-$(TARGET_SUBDIR); \
35801 set stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
35802 @CREATE_LINK_TO_DIR@
35804 stage1-end::
35805 @rm -f stage_current
35806 @if bfd
35807 @if test -d $(HOST_SUBDIR) ; then \
35808 cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35809 @UNDO_LINK_TO_DIR@ ; \
35811 @endif bfd
35812 @if opcodes
35813 @if test -d $(HOST_SUBDIR) ; then \
35814 cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35815 @UNDO_LINK_TO_DIR@ ; \
35817 @endif opcodes
35818 @if binutils
35819 @if test -d $(HOST_SUBDIR) ; then \
35820 cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35821 @UNDO_LINK_TO_DIR@ ; \
35823 @endif binutils
35824 @if gas
35825 @if test -d $(HOST_SUBDIR) ; then \
35826 cd $(HOST_SUBDIR); set gas stage1-gas ; \
35827 @UNDO_LINK_TO_DIR@ ; \
35829 @endif gas
35830 @if gcc
35831 @if test -d $(HOST_SUBDIR) ; then \
35832 cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35833 @UNDO_LINK_TO_DIR@ ; \
35835 @endif gcc
35836 @if intl
35837 @if test -d $(HOST_SUBDIR) ; then \
35838 cd $(HOST_SUBDIR); set intl stage1-intl ; \
35839 @UNDO_LINK_TO_DIR@ ; \
35841 @endif intl
35842 @if ld
35843 @if test -d $(HOST_SUBDIR) ; then \
35844 cd $(HOST_SUBDIR); set ld stage1-ld ; \
35845 @UNDO_LINK_TO_DIR@ ; \
35847 @endif ld
35848 @if libcpp
35849 @if test -d $(HOST_SUBDIR) ; then \
35850 cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35851 @UNDO_LINK_TO_DIR@ ; \
35853 @endif libcpp
35854 @if libdecnumber
35855 @if test -d $(HOST_SUBDIR) ; then \
35856 cd $(HOST_SUBDIR); set libdecnumber stage1-libdecnumber ; \
35857 @UNDO_LINK_TO_DIR@ ; \
35859 @endif libdecnumber
35860 @if libiberty
35861 @if test -d $(HOST_SUBDIR) ; then \
35862 cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35863 @UNDO_LINK_TO_DIR@ ; \
35865 @endif libiberty
35866 @if zlib
35867 @if test -d $(HOST_SUBDIR) ; then \
35868 cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35869 @UNDO_LINK_TO_DIR@ ; \
35871 @endif zlib
35872 @if test -d $(TARGET_SUBDIR) ; then \
35873 set $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
35874 @UNDO_LINK_TO_DIR@ ; \
35877 # Bubble a bugfix through all the stages up to stage 1. They are
35878 # remade, but not reconfigured. The next stage (if any) will not be
35879 # reconfigured as well.
35880 .PHONY: stage1-bubble
35881 stage1-bubble::
35882 @r=`${PWD_COMMAND}`; export r; \
35883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35884 if test -f stage1-lean ; then \
35885 echo Skipping rebuild of stage1 ; \
35886 else \
35887 $(MAKE) stage1-start; \
35888 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35891 .PHONY: all-stage1 clean-stage1
35892 do-clean: clean-stage1
35894 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35895 # only possibility, but now it conflicts with no-bootstrap rules
35896 @if gcc-bootstrap
35901 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35903 .PHONY: distclean-stage1
35904 distclean-stage1::
35905 @: $(MAKE); $(stage)
35906 rm -rf stage1-*
35909 @endif gcc-bootstrap
35912 .PHONY: stage2-start stage2-end
35914 stage2-start::
35915 @: $(MAKE); $(stage); \
35916 echo stage2 > stage_current ; \
35917 echo stage2 > stage_last; \
35918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
35919 @if bfd
35920 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35921 mkdir stage2-bfd; \
35922 set stage2-bfd bfd ; \
35923 @CREATE_LINK_TO_DIR@ ; \
35924 set stage1-bfd prev-bfd ; \
35925 @CREATE_LINK_TO_DIR@
35926 @endif bfd
35927 @if opcodes
35928 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35929 mkdir stage2-opcodes; \
35930 set stage2-opcodes opcodes ; \
35931 @CREATE_LINK_TO_DIR@ ; \
35932 set stage1-opcodes prev-opcodes ; \
35933 @CREATE_LINK_TO_DIR@
35934 @endif opcodes
35935 @if binutils
35936 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35937 mkdir stage2-binutils; \
35938 set stage2-binutils binutils ; \
35939 @CREATE_LINK_TO_DIR@ ; \
35940 set stage1-binutils prev-binutils ; \
35941 @CREATE_LINK_TO_DIR@
35942 @endif binutils
35943 @if gas
35944 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35945 mkdir stage2-gas; \
35946 set stage2-gas gas ; \
35947 @CREATE_LINK_TO_DIR@ ; \
35948 set stage1-gas prev-gas ; \
35949 @CREATE_LINK_TO_DIR@
35950 @endif gas
35951 @if gcc
35952 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35953 mkdir stage2-gcc; \
35954 set stage2-gcc gcc ; \
35955 @CREATE_LINK_TO_DIR@ ; \
35956 set stage1-gcc prev-gcc ; \
35957 @CREATE_LINK_TO_DIR@
35958 @endif gcc
35959 @if intl
35960 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35961 mkdir stage2-intl; \
35962 set stage2-intl intl ; \
35963 @CREATE_LINK_TO_DIR@ ; \
35964 set stage1-intl prev-intl ; \
35965 @CREATE_LINK_TO_DIR@
35966 @endif intl
35967 @if ld
35968 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35969 mkdir stage2-ld; \
35970 set stage2-ld ld ; \
35971 @CREATE_LINK_TO_DIR@ ; \
35972 set stage1-ld prev-ld ; \
35973 @CREATE_LINK_TO_DIR@
35974 @endif ld
35975 @if libcpp
35976 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35977 mkdir stage2-libcpp; \
35978 set stage2-libcpp libcpp ; \
35979 @CREATE_LINK_TO_DIR@ ; \
35980 set stage1-libcpp prev-libcpp ; \
35981 @CREATE_LINK_TO_DIR@
35982 @endif libcpp
35983 @if libdecnumber
35984 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
35985 mkdir stage2-libdecnumber; \
35986 set stage2-libdecnumber libdecnumber ; \
35987 @CREATE_LINK_TO_DIR@ ; \
35988 set stage1-libdecnumber prev-libdecnumber ; \
35989 @CREATE_LINK_TO_DIR@
35990 @endif libdecnumber
35991 @if libiberty
35992 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
35993 mkdir stage2-libiberty; \
35994 set stage2-libiberty libiberty ; \
35995 @CREATE_LINK_TO_DIR@ ; \
35996 set stage1-libiberty prev-libiberty ; \
35997 @CREATE_LINK_TO_DIR@
35998 @endif libiberty
35999 @if zlib
36000 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36001 mkdir stage2-zlib; \
36002 set stage2-zlib zlib ; \
36003 @CREATE_LINK_TO_DIR@ ; \
36004 set stage1-zlib prev-zlib ; \
36005 @CREATE_LINK_TO_DIR@
36006 @endif zlib
36007 @[ -d stage2-$(TARGET_SUBDIR) ] || \
36008 mkdir stage2-$(TARGET_SUBDIR); \
36009 set stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36010 @CREATE_LINK_TO_DIR@ ; \
36011 set stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36012 @CREATE_LINK_TO_DIR@
36014 stage2-end::
36015 @rm -f stage_current
36016 @if bfd
36017 @if test -d $(HOST_SUBDIR) ; then \
36018 cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
36019 @UNDO_LINK_TO_DIR@ ; \
36020 set prev-bfd stage1-bfd ; \
36021 @UNDO_LINK_TO_DIR@ ; \
36023 @endif bfd
36024 @if opcodes
36025 @if test -d $(HOST_SUBDIR) ; then \
36026 cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
36027 @UNDO_LINK_TO_DIR@ ; \
36028 set prev-opcodes stage1-opcodes ; \
36029 @UNDO_LINK_TO_DIR@ ; \
36031 @endif opcodes
36032 @if binutils
36033 @if test -d $(HOST_SUBDIR) ; then \
36034 cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
36035 @UNDO_LINK_TO_DIR@ ; \
36036 set prev-binutils stage1-binutils ; \
36037 @UNDO_LINK_TO_DIR@ ; \
36039 @endif binutils
36040 @if gas
36041 @if test -d $(HOST_SUBDIR) ; then \
36042 cd $(HOST_SUBDIR); set gas stage2-gas ; \
36043 @UNDO_LINK_TO_DIR@ ; \
36044 set prev-gas stage1-gas ; \
36045 @UNDO_LINK_TO_DIR@ ; \
36047 @endif gas
36048 @if gcc
36049 @if test -d $(HOST_SUBDIR) ; then \
36050 cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
36051 @UNDO_LINK_TO_DIR@ ; \
36052 set prev-gcc stage1-gcc ; \
36053 @UNDO_LINK_TO_DIR@ ; \
36055 @endif gcc
36056 @if intl
36057 @if test -d $(HOST_SUBDIR) ; then \
36058 cd $(HOST_SUBDIR); set intl stage2-intl ; \
36059 @UNDO_LINK_TO_DIR@ ; \
36060 set prev-intl stage1-intl ; \
36061 @UNDO_LINK_TO_DIR@ ; \
36063 @endif intl
36064 @if ld
36065 @if test -d $(HOST_SUBDIR) ; then \
36066 cd $(HOST_SUBDIR); set ld stage2-ld ; \
36067 @UNDO_LINK_TO_DIR@ ; \
36068 set prev-ld stage1-ld ; \
36069 @UNDO_LINK_TO_DIR@ ; \
36071 @endif ld
36072 @if libcpp
36073 @if test -d $(HOST_SUBDIR) ; then \
36074 cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
36075 @UNDO_LINK_TO_DIR@ ; \
36076 set prev-libcpp stage1-libcpp ; \
36077 @UNDO_LINK_TO_DIR@ ; \
36079 @endif libcpp
36080 @if libdecnumber
36081 @if test -d $(HOST_SUBDIR) ; then \
36082 cd $(HOST_SUBDIR); set libdecnumber stage2-libdecnumber ; \
36083 @UNDO_LINK_TO_DIR@ ; \
36084 set prev-libdecnumber stage1-libdecnumber ; \
36085 @UNDO_LINK_TO_DIR@ ; \
36087 @endif libdecnumber
36088 @if libiberty
36089 @if test -d $(HOST_SUBDIR) ; then \
36090 cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
36091 @UNDO_LINK_TO_DIR@ ; \
36092 set prev-libiberty stage1-libiberty ; \
36093 @UNDO_LINK_TO_DIR@ ; \
36095 @endif libiberty
36096 @if zlib
36097 @if test -d $(HOST_SUBDIR) ; then \
36098 cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
36099 @UNDO_LINK_TO_DIR@ ; \
36100 set prev-zlib stage1-zlib ; \
36101 @UNDO_LINK_TO_DIR@ ; \
36103 @endif zlib
36104 @if test -d $(TARGET_SUBDIR) ; then \
36105 set $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36106 @UNDO_LINK_TO_DIR@ ; \
36107 set prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36108 @UNDO_LINK_TO_DIR@ ; \
36111 # Bubble a bugfix through all the stages up to stage 2. They are
36112 # remade, but not reconfigured. The next stage (if any) will not be
36113 # reconfigured as well.
36114 .PHONY: stage2-bubble
36115 stage2-bubble:: stage1-bubble
36116 @r=`${PWD_COMMAND}`; export r; \
36117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36118 if test -f stage2-lean || test -f stage1-lean ; then \
36119 echo Skipping rebuild of stage2 ; \
36120 else \
36121 $(MAKE) stage2-start; \
36122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
36125 .PHONY: all-stage2 clean-stage2
36126 do-clean: clean-stage2
36128 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36129 # only possibility, but now it conflicts with no-bootstrap rules
36130 @if gcc-bootstrap
36134 .PHONY: bootstrap2
36135 bootstrap2:
36136 echo stage2 > stage_final
36137 @r=`${PWD_COMMAND}`; export r; \
36138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
36140 @: $(MAKE); $(unstage)
36141 @r=`${PWD_COMMAND}`; export r; \
36142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36143 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36146 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36147 distclean-stage1:: distclean-stage2
36148 .PHONY: distclean-stage2
36149 distclean-stage2::
36150 @: $(MAKE); $(stage)
36151 rm -rf stage2-*
36154 @endif gcc-bootstrap
36157 .PHONY: stage3-start stage3-end
36159 stage3-start::
36160 @: $(MAKE); $(stage); \
36161 echo stage3 > stage_current ; \
36162 echo stage3 > stage_last; \
36163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36164 @if bfd
36165 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
36166 mkdir stage3-bfd; \
36167 set stage3-bfd bfd ; \
36168 @CREATE_LINK_TO_DIR@ ; \
36169 set stage2-bfd prev-bfd ; \
36170 @CREATE_LINK_TO_DIR@
36171 @endif bfd
36172 @if opcodes
36173 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
36174 mkdir stage3-opcodes; \
36175 set stage3-opcodes opcodes ; \
36176 @CREATE_LINK_TO_DIR@ ; \
36177 set stage2-opcodes prev-opcodes ; \
36178 @CREATE_LINK_TO_DIR@
36179 @endif opcodes
36180 @if binutils
36181 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
36182 mkdir stage3-binutils; \
36183 set stage3-binutils binutils ; \
36184 @CREATE_LINK_TO_DIR@ ; \
36185 set stage2-binutils prev-binutils ; \
36186 @CREATE_LINK_TO_DIR@
36187 @endif binutils
36188 @if gas
36189 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
36190 mkdir stage3-gas; \
36191 set stage3-gas gas ; \
36192 @CREATE_LINK_TO_DIR@ ; \
36193 set stage2-gas prev-gas ; \
36194 @CREATE_LINK_TO_DIR@
36195 @endif gas
36196 @if gcc
36197 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36198 mkdir stage3-gcc; \
36199 set stage3-gcc gcc ; \
36200 @CREATE_LINK_TO_DIR@ ; \
36201 set stage2-gcc prev-gcc ; \
36202 @CREATE_LINK_TO_DIR@
36203 @endif gcc
36204 @if intl
36205 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36206 mkdir stage3-intl; \
36207 set stage3-intl intl ; \
36208 @CREATE_LINK_TO_DIR@ ; \
36209 set stage2-intl prev-intl ; \
36210 @CREATE_LINK_TO_DIR@
36211 @endif intl
36212 @if ld
36213 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36214 mkdir stage3-ld; \
36215 set stage3-ld ld ; \
36216 @CREATE_LINK_TO_DIR@ ; \
36217 set stage2-ld prev-ld ; \
36218 @CREATE_LINK_TO_DIR@
36219 @endif ld
36220 @if libcpp
36221 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36222 mkdir stage3-libcpp; \
36223 set stage3-libcpp libcpp ; \
36224 @CREATE_LINK_TO_DIR@ ; \
36225 set stage2-libcpp prev-libcpp ; \
36226 @CREATE_LINK_TO_DIR@
36227 @endif libcpp
36228 @if libdecnumber
36229 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36230 mkdir stage3-libdecnumber; \
36231 set stage3-libdecnumber libdecnumber ; \
36232 @CREATE_LINK_TO_DIR@ ; \
36233 set stage2-libdecnumber prev-libdecnumber ; \
36234 @CREATE_LINK_TO_DIR@
36235 @endif libdecnumber
36236 @if libiberty
36237 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36238 mkdir stage3-libiberty; \
36239 set stage3-libiberty libiberty ; \
36240 @CREATE_LINK_TO_DIR@ ; \
36241 set stage2-libiberty prev-libiberty ; \
36242 @CREATE_LINK_TO_DIR@
36243 @endif libiberty
36244 @if zlib
36245 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36246 mkdir stage3-zlib; \
36247 set stage3-zlib zlib ; \
36248 @CREATE_LINK_TO_DIR@ ; \
36249 set stage2-zlib prev-zlib ; \
36250 @CREATE_LINK_TO_DIR@
36251 @endif zlib
36252 @[ -d stage3-$(TARGET_SUBDIR) ] || \
36253 mkdir stage3-$(TARGET_SUBDIR); \
36254 set stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36255 @CREATE_LINK_TO_DIR@ ; \
36256 set stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36257 @CREATE_LINK_TO_DIR@
36259 stage3-end::
36260 @rm -f stage_current
36261 @if bfd
36262 @if test -d $(HOST_SUBDIR) ; then \
36263 cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
36264 @UNDO_LINK_TO_DIR@ ; \
36265 set prev-bfd stage2-bfd ; \
36266 @UNDO_LINK_TO_DIR@ ; \
36268 @endif bfd
36269 @if opcodes
36270 @if test -d $(HOST_SUBDIR) ; then \
36271 cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
36272 @UNDO_LINK_TO_DIR@ ; \
36273 set prev-opcodes stage2-opcodes ; \
36274 @UNDO_LINK_TO_DIR@ ; \
36276 @endif opcodes
36277 @if binutils
36278 @if test -d $(HOST_SUBDIR) ; then \
36279 cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
36280 @UNDO_LINK_TO_DIR@ ; \
36281 set prev-binutils stage2-binutils ; \
36282 @UNDO_LINK_TO_DIR@ ; \
36284 @endif binutils
36285 @if gas
36286 @if test -d $(HOST_SUBDIR) ; then \
36287 cd $(HOST_SUBDIR); set gas stage3-gas ; \
36288 @UNDO_LINK_TO_DIR@ ; \
36289 set prev-gas stage2-gas ; \
36290 @UNDO_LINK_TO_DIR@ ; \
36292 @endif gas
36293 @if gcc
36294 @if test -d $(HOST_SUBDIR) ; then \
36295 cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
36296 @UNDO_LINK_TO_DIR@ ; \
36297 set prev-gcc stage2-gcc ; \
36298 @UNDO_LINK_TO_DIR@ ; \
36300 @endif gcc
36301 @if intl
36302 @if test -d $(HOST_SUBDIR) ; then \
36303 cd $(HOST_SUBDIR); set intl stage3-intl ; \
36304 @UNDO_LINK_TO_DIR@ ; \
36305 set prev-intl stage2-intl ; \
36306 @UNDO_LINK_TO_DIR@ ; \
36308 @endif intl
36309 @if ld
36310 @if test -d $(HOST_SUBDIR) ; then \
36311 cd $(HOST_SUBDIR); set ld stage3-ld ; \
36312 @UNDO_LINK_TO_DIR@ ; \
36313 set prev-ld stage2-ld ; \
36314 @UNDO_LINK_TO_DIR@ ; \
36316 @endif ld
36317 @if libcpp
36318 @if test -d $(HOST_SUBDIR) ; then \
36319 cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
36320 @UNDO_LINK_TO_DIR@ ; \
36321 set prev-libcpp stage2-libcpp ; \
36322 @UNDO_LINK_TO_DIR@ ; \
36324 @endif libcpp
36325 @if libdecnumber
36326 @if test -d $(HOST_SUBDIR) ; then \
36327 cd $(HOST_SUBDIR); set libdecnumber stage3-libdecnumber ; \
36328 @UNDO_LINK_TO_DIR@ ; \
36329 set prev-libdecnumber stage2-libdecnumber ; \
36330 @UNDO_LINK_TO_DIR@ ; \
36332 @endif libdecnumber
36333 @if libiberty
36334 @if test -d $(HOST_SUBDIR) ; then \
36335 cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
36336 @UNDO_LINK_TO_DIR@ ; \
36337 set prev-libiberty stage2-libiberty ; \
36338 @UNDO_LINK_TO_DIR@ ; \
36340 @endif libiberty
36341 @if zlib
36342 @if test -d $(HOST_SUBDIR) ; then \
36343 cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
36344 @UNDO_LINK_TO_DIR@ ; \
36345 set prev-zlib stage2-zlib ; \
36346 @UNDO_LINK_TO_DIR@ ; \
36348 @endif zlib
36349 @if test -d $(TARGET_SUBDIR) ; then \
36350 set $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36351 @UNDO_LINK_TO_DIR@ ; \
36352 set prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36353 @UNDO_LINK_TO_DIR@ ; \
36356 # Bubble a bugfix through all the stages up to stage 3. They are
36357 # remade, but not reconfigured. The next stage (if any) will not be
36358 # reconfigured as well.
36359 .PHONY: stage3-bubble
36360 stage3-bubble:: stage2-bubble
36361 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
36362 @r=`${PWD_COMMAND}`; export r; \
36363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36364 if test -f stage3-lean || test -f stage2-lean ; then \
36365 echo Skipping rebuild of stage3 ; \
36366 else \
36367 $(MAKE) stage3-start; \
36368 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
36370 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
36372 .PHONY: all-stage3 clean-stage3
36373 do-clean: clean-stage3
36375 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36376 # only possibility, but now it conflicts with no-bootstrap rules
36377 @if gcc-bootstrap
36379 compare:
36380 @r=`${PWD_COMMAND}`; export r; \
36381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36382 if test -f stage2-lean; then \
36383 echo Cannot compare object files as stage 2 was deleted. ; \
36384 exit 0 ; \
36385 fi; \
36386 : $(MAKE); $(stage); \
36387 rm -f .bad_compare ; \
36388 cd stage3-gcc; \
36389 files=`find . -name "*$(objext)" -print` ; \
36390 cd .. ; \
36391 for file in $${files} ; do \
36392 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
36393 @do_compare@ > /dev/null 2>&1; \
36394 if test $$? -eq 1; then \
36395 case $$file in \
36396 ./cc*-checksum$(objext) | ./libgcc/* ) \
36397 echo warning: $$file differs ;; \
36398 *) \
36399 echo $$file differs >> .bad_compare ;; \
36400 esac ; \
36401 fi ; \
36402 done ; \
36403 if [ -f .bad_compare ]; then \
36404 echo "Bootstrap comparison failure!"; \
36405 cat .bad_compare; \
36406 exit 1; \
36407 else \
36408 true; \
36409 fi ; \
36410 $(STAMP) compare
36411 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36415 .PHONY: bootstrap
36416 bootstrap:
36417 echo stage3 > stage_final
36418 @r=`${PWD_COMMAND}`; export r; \
36419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36420 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
36421 @: $(MAKE); $(unstage)
36422 @r=`${PWD_COMMAND}`; export r; \
36423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36424 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36427 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36428 distclean-stage2:: distclean-stage3
36429 .PHONY: distclean-stage3
36430 distclean-stage3::
36431 @: $(MAKE); $(stage)
36432 rm -rf stage3-* compare
36435 .PHONY: cleanstrap
36436 cleanstrap: distclean bootstrap
36438 @endif gcc-bootstrap
36441 .PHONY: stage4-start stage4-end
36443 stage4-start::
36444 @: $(MAKE); $(stage); \
36445 echo stage4 > stage_current ; \
36446 echo stage4 > stage_last; \
36447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36448 @if bfd
36449 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
36450 mkdir stage4-bfd; \
36451 set stage4-bfd bfd ; \
36452 @CREATE_LINK_TO_DIR@ ; \
36453 set stage3-bfd prev-bfd ; \
36454 @CREATE_LINK_TO_DIR@
36455 @endif bfd
36456 @if opcodes
36457 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
36458 mkdir stage4-opcodes; \
36459 set stage4-opcodes opcodes ; \
36460 @CREATE_LINK_TO_DIR@ ; \
36461 set stage3-opcodes prev-opcodes ; \
36462 @CREATE_LINK_TO_DIR@
36463 @endif opcodes
36464 @if binutils
36465 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
36466 mkdir stage4-binutils; \
36467 set stage4-binutils binutils ; \
36468 @CREATE_LINK_TO_DIR@ ; \
36469 set stage3-binutils prev-binutils ; \
36470 @CREATE_LINK_TO_DIR@
36471 @endif binutils
36472 @if gas
36473 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
36474 mkdir stage4-gas; \
36475 set stage4-gas gas ; \
36476 @CREATE_LINK_TO_DIR@ ; \
36477 set stage3-gas prev-gas ; \
36478 @CREATE_LINK_TO_DIR@
36479 @endif gas
36480 @if gcc
36481 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
36482 mkdir stage4-gcc; \
36483 set stage4-gcc gcc ; \
36484 @CREATE_LINK_TO_DIR@ ; \
36485 set stage3-gcc prev-gcc ; \
36486 @CREATE_LINK_TO_DIR@
36487 @endif gcc
36488 @if intl
36489 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
36490 mkdir stage4-intl; \
36491 set stage4-intl intl ; \
36492 @CREATE_LINK_TO_DIR@ ; \
36493 set stage3-intl prev-intl ; \
36494 @CREATE_LINK_TO_DIR@
36495 @endif intl
36496 @if ld
36497 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
36498 mkdir stage4-ld; \
36499 set stage4-ld ld ; \
36500 @CREATE_LINK_TO_DIR@ ; \
36501 set stage3-ld prev-ld ; \
36502 @CREATE_LINK_TO_DIR@
36503 @endif ld
36504 @if libcpp
36505 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
36506 mkdir stage4-libcpp; \
36507 set stage4-libcpp libcpp ; \
36508 @CREATE_LINK_TO_DIR@ ; \
36509 set stage3-libcpp prev-libcpp ; \
36510 @CREATE_LINK_TO_DIR@
36511 @endif libcpp
36512 @if libdecnumber
36513 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
36514 mkdir stage4-libdecnumber; \
36515 set stage4-libdecnumber libdecnumber ; \
36516 @CREATE_LINK_TO_DIR@ ; \
36517 set stage3-libdecnumber prev-libdecnumber ; \
36518 @CREATE_LINK_TO_DIR@
36519 @endif libdecnumber
36520 @if libiberty
36521 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
36522 mkdir stage4-libiberty; \
36523 set stage4-libiberty libiberty ; \
36524 @CREATE_LINK_TO_DIR@ ; \
36525 set stage3-libiberty prev-libiberty ; \
36526 @CREATE_LINK_TO_DIR@
36527 @endif libiberty
36528 @if zlib
36529 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
36530 mkdir stage4-zlib; \
36531 set stage4-zlib zlib ; \
36532 @CREATE_LINK_TO_DIR@ ; \
36533 set stage3-zlib prev-zlib ; \
36534 @CREATE_LINK_TO_DIR@
36535 @endif zlib
36536 @[ -d stage4-$(TARGET_SUBDIR) ] || \
36537 mkdir stage4-$(TARGET_SUBDIR); \
36538 set stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36539 @CREATE_LINK_TO_DIR@ ; \
36540 set stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36541 @CREATE_LINK_TO_DIR@
36543 stage4-end::
36544 @rm -f stage_current
36545 @if bfd
36546 @if test -d $(HOST_SUBDIR) ; then \
36547 cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
36548 @UNDO_LINK_TO_DIR@ ; \
36549 set prev-bfd stage3-bfd ; \
36550 @UNDO_LINK_TO_DIR@ ; \
36552 @endif bfd
36553 @if opcodes
36554 @if test -d $(HOST_SUBDIR) ; then \
36555 cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
36556 @UNDO_LINK_TO_DIR@ ; \
36557 set prev-opcodes stage3-opcodes ; \
36558 @UNDO_LINK_TO_DIR@ ; \
36560 @endif opcodes
36561 @if binutils
36562 @if test -d $(HOST_SUBDIR) ; then \
36563 cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
36564 @UNDO_LINK_TO_DIR@ ; \
36565 set prev-binutils stage3-binutils ; \
36566 @UNDO_LINK_TO_DIR@ ; \
36568 @endif binutils
36569 @if gas
36570 @if test -d $(HOST_SUBDIR) ; then \
36571 cd $(HOST_SUBDIR); set gas stage4-gas ; \
36572 @UNDO_LINK_TO_DIR@ ; \
36573 set prev-gas stage3-gas ; \
36574 @UNDO_LINK_TO_DIR@ ; \
36576 @endif gas
36577 @if gcc
36578 @if test -d $(HOST_SUBDIR) ; then \
36579 cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
36580 @UNDO_LINK_TO_DIR@ ; \
36581 set prev-gcc stage3-gcc ; \
36582 @UNDO_LINK_TO_DIR@ ; \
36584 @endif gcc
36585 @if intl
36586 @if test -d $(HOST_SUBDIR) ; then \
36587 cd $(HOST_SUBDIR); set intl stage4-intl ; \
36588 @UNDO_LINK_TO_DIR@ ; \
36589 set prev-intl stage3-intl ; \
36590 @UNDO_LINK_TO_DIR@ ; \
36592 @endif intl
36593 @if ld
36594 @if test -d $(HOST_SUBDIR) ; then \
36595 cd $(HOST_SUBDIR); set ld stage4-ld ; \
36596 @UNDO_LINK_TO_DIR@ ; \
36597 set prev-ld stage3-ld ; \
36598 @UNDO_LINK_TO_DIR@ ; \
36600 @endif ld
36601 @if libcpp
36602 @if test -d $(HOST_SUBDIR) ; then \
36603 cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
36604 @UNDO_LINK_TO_DIR@ ; \
36605 set prev-libcpp stage3-libcpp ; \
36606 @UNDO_LINK_TO_DIR@ ; \
36608 @endif libcpp
36609 @if libdecnumber
36610 @if test -d $(HOST_SUBDIR) ; then \
36611 cd $(HOST_SUBDIR); set libdecnumber stage4-libdecnumber ; \
36612 @UNDO_LINK_TO_DIR@ ; \
36613 set prev-libdecnumber stage3-libdecnumber ; \
36614 @UNDO_LINK_TO_DIR@ ; \
36616 @endif libdecnumber
36617 @if libiberty
36618 @if test -d $(HOST_SUBDIR) ; then \
36619 cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
36620 @UNDO_LINK_TO_DIR@ ; \
36621 set prev-libiberty stage3-libiberty ; \
36622 @UNDO_LINK_TO_DIR@ ; \
36624 @endif libiberty
36625 @if zlib
36626 @if test -d $(HOST_SUBDIR) ; then \
36627 cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
36628 @UNDO_LINK_TO_DIR@ ; \
36629 set prev-zlib stage3-zlib ; \
36630 @UNDO_LINK_TO_DIR@ ; \
36632 @endif zlib
36633 @if test -d $(TARGET_SUBDIR) ; then \
36634 set $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
36635 @UNDO_LINK_TO_DIR@ ; \
36636 set prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36637 @UNDO_LINK_TO_DIR@ ; \
36640 # Bubble a bugfix through all the stages up to stage 4. They are
36641 # remade, but not reconfigured. The next stage (if any) will not be
36642 # reconfigured as well.
36643 .PHONY: stage4-bubble
36644 stage4-bubble:: stage3-bubble
36645 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36646 @r=`${PWD_COMMAND}`; export r; \
36647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36648 if test -f stage4-lean || test -f stage3-lean ; then \
36649 echo Skipping rebuild of stage4 ; \
36650 else \
36651 $(MAKE) stage4-start; \
36652 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
36654 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
36656 .PHONY: all-stage4 clean-stage4
36657 do-clean: clean-stage4
36659 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36660 # only possibility, but now it conflicts with no-bootstrap rules
36661 @if gcc-bootstrap
36663 compare3:
36664 @r=`${PWD_COMMAND}`; export r; \
36665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36666 if test -f stage3-lean; then \
36667 echo Cannot compare object files as stage 3 was deleted. ; \
36668 exit 0 ; \
36669 fi; \
36670 : $(MAKE); $(stage); \
36671 rm -f .bad_compare ; \
36672 cd stage4-gcc; \
36673 files=`find . -name "*$(objext)" -print` ; \
36674 cd .. ; \
36675 for file in $${files} ; do \
36676 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
36677 @do_compare@ > /dev/null 2>&1; \
36678 if test $$? -eq 1; then \
36679 case $$file in \
36680 ./cc*-checksum$(objext) | ./libgcc/* ) \
36681 echo warning: $$file differs ;; \
36682 *) \
36683 echo $$file differs >> .bad_compare ;; \
36684 esac ; \
36685 fi ; \
36686 done ; \
36687 if [ -f .bad_compare ]; then \
36688 echo "Bootstrap comparison failure!"; \
36689 cat .bad_compare; \
36690 exit 1; \
36691 else \
36692 true; \
36693 fi ; \
36694 $(STAMP) compare3
36695 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
36699 .PHONY: bootstrap4
36700 bootstrap4:
36701 echo stage4 > stage_final
36702 @r=`${PWD_COMMAND}`; export r; \
36703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36704 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
36705 @: $(MAKE); $(unstage)
36706 @r=`${PWD_COMMAND}`; export r; \
36707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36708 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36711 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36712 distclean-stage3:: distclean-stage4
36713 .PHONY: distclean-stage4
36714 distclean-stage4::
36715 @: $(MAKE); $(stage)
36716 rm -rf stage4-* compare3
36719 @endif gcc-bootstrap
36722 .PHONY: stageprofile-start stageprofile-end
36724 stageprofile-start::
36725 @: $(MAKE); $(stage); \
36726 echo stageprofile > stage_current ; \
36727 echo stageprofile > stage_last; \
36728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36729 @if bfd
36730 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
36731 mkdir stageprofile-bfd; \
36732 set stageprofile-bfd bfd ; \
36733 @CREATE_LINK_TO_DIR@ ; \
36734 set stage1-bfd prev-bfd ; \
36735 @CREATE_LINK_TO_DIR@
36736 @endif bfd
36737 @if opcodes
36738 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
36739 mkdir stageprofile-opcodes; \
36740 set stageprofile-opcodes opcodes ; \
36741 @CREATE_LINK_TO_DIR@ ; \
36742 set stage1-opcodes prev-opcodes ; \
36743 @CREATE_LINK_TO_DIR@
36744 @endif opcodes
36745 @if binutils
36746 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
36747 mkdir stageprofile-binutils; \
36748 set stageprofile-binutils binutils ; \
36749 @CREATE_LINK_TO_DIR@ ; \
36750 set stage1-binutils prev-binutils ; \
36751 @CREATE_LINK_TO_DIR@
36752 @endif binutils
36753 @if gas
36754 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
36755 mkdir stageprofile-gas; \
36756 set stageprofile-gas gas ; \
36757 @CREATE_LINK_TO_DIR@ ; \
36758 set stage1-gas prev-gas ; \
36759 @CREATE_LINK_TO_DIR@
36760 @endif gas
36761 @if gcc
36762 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
36763 mkdir stageprofile-gcc; \
36764 set stageprofile-gcc gcc ; \
36765 @CREATE_LINK_TO_DIR@ ; \
36766 set stage1-gcc prev-gcc ; \
36767 @CREATE_LINK_TO_DIR@
36768 @endif gcc
36769 @if intl
36770 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
36771 mkdir stageprofile-intl; \
36772 set stageprofile-intl intl ; \
36773 @CREATE_LINK_TO_DIR@ ; \
36774 set stage1-intl prev-intl ; \
36775 @CREATE_LINK_TO_DIR@
36776 @endif intl
36777 @if ld
36778 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
36779 mkdir stageprofile-ld; \
36780 set stageprofile-ld ld ; \
36781 @CREATE_LINK_TO_DIR@ ; \
36782 set stage1-ld prev-ld ; \
36783 @CREATE_LINK_TO_DIR@
36784 @endif ld
36785 @if libcpp
36786 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
36787 mkdir stageprofile-libcpp; \
36788 set stageprofile-libcpp libcpp ; \
36789 @CREATE_LINK_TO_DIR@ ; \
36790 set stage1-libcpp prev-libcpp ; \
36791 @CREATE_LINK_TO_DIR@
36792 @endif libcpp
36793 @if libdecnumber
36794 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
36795 mkdir stageprofile-libdecnumber; \
36796 set stageprofile-libdecnumber libdecnumber ; \
36797 @CREATE_LINK_TO_DIR@ ; \
36798 set stage1-libdecnumber prev-libdecnumber ; \
36799 @CREATE_LINK_TO_DIR@
36800 @endif libdecnumber
36801 @if libiberty
36802 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36803 mkdir stageprofile-libiberty; \
36804 set stageprofile-libiberty libiberty ; \
36805 @CREATE_LINK_TO_DIR@ ; \
36806 set stage1-libiberty prev-libiberty ; \
36807 @CREATE_LINK_TO_DIR@
36808 @endif libiberty
36809 @if zlib
36810 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36811 mkdir stageprofile-zlib; \
36812 set stageprofile-zlib zlib ; \
36813 @CREATE_LINK_TO_DIR@ ; \
36814 set stage1-zlib prev-zlib ; \
36815 @CREATE_LINK_TO_DIR@
36816 @endif zlib
36817 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
36818 mkdir stageprofile-$(TARGET_SUBDIR); \
36819 set stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36820 @CREATE_LINK_TO_DIR@ ; \
36821 set stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36822 @CREATE_LINK_TO_DIR@
36824 stageprofile-end::
36825 @rm -f stage_current
36826 @if bfd
36827 @if test -d $(HOST_SUBDIR) ; then \
36828 cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
36829 @UNDO_LINK_TO_DIR@ ; \
36830 set prev-bfd stage1-bfd ; \
36831 @UNDO_LINK_TO_DIR@ ; \
36833 @endif bfd
36834 @if opcodes
36835 @if test -d $(HOST_SUBDIR) ; then \
36836 cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36837 @UNDO_LINK_TO_DIR@ ; \
36838 set prev-opcodes stage1-opcodes ; \
36839 @UNDO_LINK_TO_DIR@ ; \
36841 @endif opcodes
36842 @if binutils
36843 @if test -d $(HOST_SUBDIR) ; then \
36844 cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36845 @UNDO_LINK_TO_DIR@ ; \
36846 set prev-binutils stage1-binutils ; \
36847 @UNDO_LINK_TO_DIR@ ; \
36849 @endif binutils
36850 @if gas
36851 @if test -d $(HOST_SUBDIR) ; then \
36852 cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36853 @UNDO_LINK_TO_DIR@ ; \
36854 set prev-gas stage1-gas ; \
36855 @UNDO_LINK_TO_DIR@ ; \
36857 @endif gas
36858 @if gcc
36859 @if test -d $(HOST_SUBDIR) ; then \
36860 cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36861 @UNDO_LINK_TO_DIR@ ; \
36862 set prev-gcc stage1-gcc ; \
36863 @UNDO_LINK_TO_DIR@ ; \
36865 @endif gcc
36866 @if intl
36867 @if test -d $(HOST_SUBDIR) ; then \
36868 cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36869 @UNDO_LINK_TO_DIR@ ; \
36870 set prev-intl stage1-intl ; \
36871 @UNDO_LINK_TO_DIR@ ; \
36873 @endif intl
36874 @if ld
36875 @if test -d $(HOST_SUBDIR) ; then \
36876 cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36877 @UNDO_LINK_TO_DIR@ ; \
36878 set prev-ld stage1-ld ; \
36879 @UNDO_LINK_TO_DIR@ ; \
36881 @endif ld
36882 @if libcpp
36883 @if test -d $(HOST_SUBDIR) ; then \
36884 cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36885 @UNDO_LINK_TO_DIR@ ; \
36886 set prev-libcpp stage1-libcpp ; \
36887 @UNDO_LINK_TO_DIR@ ; \
36889 @endif libcpp
36890 @if libdecnumber
36891 @if test -d $(HOST_SUBDIR) ; then \
36892 cd $(HOST_SUBDIR); set libdecnumber stageprofile-libdecnumber ; \
36893 @UNDO_LINK_TO_DIR@ ; \
36894 set prev-libdecnumber stage1-libdecnumber ; \
36895 @UNDO_LINK_TO_DIR@ ; \
36897 @endif libdecnumber
36898 @if libiberty
36899 @if test -d $(HOST_SUBDIR) ; then \
36900 cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36901 @UNDO_LINK_TO_DIR@ ; \
36902 set prev-libiberty stage1-libiberty ; \
36903 @UNDO_LINK_TO_DIR@ ; \
36905 @endif libiberty
36906 @if zlib
36907 @if test -d $(HOST_SUBDIR) ; then \
36908 cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36909 @UNDO_LINK_TO_DIR@ ; \
36910 set prev-zlib stage1-zlib ; \
36911 @UNDO_LINK_TO_DIR@ ; \
36913 @endif zlib
36914 @if test -d $(TARGET_SUBDIR) ; then \
36915 set $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
36916 @UNDO_LINK_TO_DIR@ ; \
36917 set prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36918 @UNDO_LINK_TO_DIR@ ; \
36921 # Bubble a bugfix through all the stages up to stage profile. They are
36922 # remade, but not reconfigured. The next stage (if any) will not be
36923 # reconfigured as well.
36924 .PHONY: stageprofile-bubble
36925 stageprofile-bubble:: stage1-bubble
36926 @r=`${PWD_COMMAND}`; export r; \
36927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36928 if test -f stageprofile-lean || test -f stage1-lean ; then \
36929 echo Skipping rebuild of stageprofile ; \
36930 else \
36931 $(MAKE) stageprofile-start; \
36932 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36935 .PHONY: all-stageprofile clean-stageprofile
36936 do-clean: clean-stageprofile
36938 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36939 # only possibility, but now it conflicts with no-bootstrap rules
36940 @if gcc-bootstrap
36945 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36946 distclean-stage1:: distclean-stageprofile
36947 .PHONY: distclean-stageprofile
36948 distclean-stageprofile::
36949 @: $(MAKE); $(stage)
36950 rm -rf stageprofile-*
36953 @endif gcc-bootstrap
36956 .PHONY: stagefeedback-start stagefeedback-end
36958 stagefeedback-start::
36959 @: $(MAKE); $(stage); \
36960 echo stagefeedback > stage_current ; \
36961 echo stagefeedback > stage_last; \
36962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36963 @if bfd
36964 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36965 mkdir stagefeedback-bfd; \
36966 set stagefeedback-bfd bfd ; \
36967 @CREATE_LINK_TO_DIR@ ; \
36968 set stageprofile-bfd prev-bfd ; \
36969 @CREATE_LINK_TO_DIR@
36970 @endif bfd
36971 @if opcodes
36972 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36973 mkdir stagefeedback-opcodes; \
36974 set stagefeedback-opcodes opcodes ; \
36975 @CREATE_LINK_TO_DIR@ ; \
36976 set stageprofile-opcodes prev-opcodes ; \
36977 @CREATE_LINK_TO_DIR@
36978 @endif opcodes
36979 @if binutils
36980 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36981 mkdir stagefeedback-binutils; \
36982 set stagefeedback-binutils binutils ; \
36983 @CREATE_LINK_TO_DIR@ ; \
36984 set stageprofile-binutils prev-binutils ; \
36985 @CREATE_LINK_TO_DIR@
36986 @endif binutils
36987 @if gas
36988 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36989 mkdir stagefeedback-gas; \
36990 set stagefeedback-gas gas ; \
36991 @CREATE_LINK_TO_DIR@ ; \
36992 set stageprofile-gas prev-gas ; \
36993 @CREATE_LINK_TO_DIR@
36994 @endif gas
36995 @if gcc
36996 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36997 mkdir stagefeedback-gcc; \
36998 set stagefeedback-gcc gcc ; \
36999 @CREATE_LINK_TO_DIR@ ; \
37000 set stageprofile-gcc prev-gcc ; \
37001 @CREATE_LINK_TO_DIR@
37002 @endif gcc
37003 @if intl
37004 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
37005 mkdir stagefeedback-intl; \
37006 set stagefeedback-intl intl ; \
37007 @CREATE_LINK_TO_DIR@ ; \
37008 set stageprofile-intl prev-intl ; \
37009 @CREATE_LINK_TO_DIR@
37010 @endif intl
37011 @if ld
37012 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
37013 mkdir stagefeedback-ld; \
37014 set stagefeedback-ld ld ; \
37015 @CREATE_LINK_TO_DIR@ ; \
37016 set stageprofile-ld prev-ld ; \
37017 @CREATE_LINK_TO_DIR@
37018 @endif ld
37019 @if libcpp
37020 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
37021 mkdir stagefeedback-libcpp; \
37022 set stagefeedback-libcpp libcpp ; \
37023 @CREATE_LINK_TO_DIR@ ; \
37024 set stageprofile-libcpp prev-libcpp ; \
37025 @CREATE_LINK_TO_DIR@
37026 @endif libcpp
37027 @if libdecnumber
37028 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
37029 mkdir stagefeedback-libdecnumber; \
37030 set stagefeedback-libdecnumber libdecnumber ; \
37031 @CREATE_LINK_TO_DIR@ ; \
37032 set stageprofile-libdecnumber prev-libdecnumber ; \
37033 @CREATE_LINK_TO_DIR@
37034 @endif libdecnumber
37035 @if libiberty
37036 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
37037 mkdir stagefeedback-libiberty; \
37038 set stagefeedback-libiberty libiberty ; \
37039 @CREATE_LINK_TO_DIR@ ; \
37040 set stageprofile-libiberty prev-libiberty ; \
37041 @CREATE_LINK_TO_DIR@
37042 @endif libiberty
37043 @if zlib
37044 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
37045 mkdir stagefeedback-zlib; \
37046 set stagefeedback-zlib zlib ; \
37047 @CREATE_LINK_TO_DIR@ ; \
37048 set stageprofile-zlib prev-zlib ; \
37049 @CREATE_LINK_TO_DIR@
37050 @endif zlib
37051 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
37052 mkdir stagefeedback-$(TARGET_SUBDIR); \
37053 set stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37054 @CREATE_LINK_TO_DIR@ ; \
37055 set stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
37056 @CREATE_LINK_TO_DIR@
37058 stagefeedback-end::
37059 @rm -f stage_current
37060 @if bfd
37061 @if test -d $(HOST_SUBDIR) ; then \
37062 cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
37063 @UNDO_LINK_TO_DIR@ ; \
37064 set prev-bfd stageprofile-bfd ; \
37065 @UNDO_LINK_TO_DIR@ ; \
37067 @endif bfd
37068 @if opcodes
37069 @if test -d $(HOST_SUBDIR) ; then \
37070 cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
37071 @UNDO_LINK_TO_DIR@ ; \
37072 set prev-opcodes stageprofile-opcodes ; \
37073 @UNDO_LINK_TO_DIR@ ; \
37075 @endif opcodes
37076 @if binutils
37077 @if test -d $(HOST_SUBDIR) ; then \
37078 cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
37079 @UNDO_LINK_TO_DIR@ ; \
37080 set prev-binutils stageprofile-binutils ; \
37081 @UNDO_LINK_TO_DIR@ ; \
37083 @endif binutils
37084 @if gas
37085 @if test -d $(HOST_SUBDIR) ; then \
37086 cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
37087 @UNDO_LINK_TO_DIR@ ; \
37088 set prev-gas stageprofile-gas ; \
37089 @UNDO_LINK_TO_DIR@ ; \
37091 @endif gas
37092 @if gcc
37093 @if test -d $(HOST_SUBDIR) ; then \
37094 cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
37095 @UNDO_LINK_TO_DIR@ ; \
37096 set prev-gcc stageprofile-gcc ; \
37097 @UNDO_LINK_TO_DIR@ ; \
37099 @endif gcc
37100 @if intl
37101 @if test -d $(HOST_SUBDIR) ; then \
37102 cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
37103 @UNDO_LINK_TO_DIR@ ; \
37104 set prev-intl stageprofile-intl ; \
37105 @UNDO_LINK_TO_DIR@ ; \
37107 @endif intl
37108 @if ld
37109 @if test -d $(HOST_SUBDIR) ; then \
37110 cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
37111 @UNDO_LINK_TO_DIR@ ; \
37112 set prev-ld stageprofile-ld ; \
37113 @UNDO_LINK_TO_DIR@ ; \
37115 @endif ld
37116 @if libcpp
37117 @if test -d $(HOST_SUBDIR) ; then \
37118 cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
37119 @UNDO_LINK_TO_DIR@ ; \
37120 set prev-libcpp stageprofile-libcpp ; \
37121 @UNDO_LINK_TO_DIR@ ; \
37123 @endif libcpp
37124 @if libdecnumber
37125 @if test -d $(HOST_SUBDIR) ; then \
37126 cd $(HOST_SUBDIR); set libdecnumber stagefeedback-libdecnumber ; \
37127 @UNDO_LINK_TO_DIR@ ; \
37128 set prev-libdecnumber stageprofile-libdecnumber ; \
37129 @UNDO_LINK_TO_DIR@ ; \
37131 @endif libdecnumber
37132 @if libiberty
37133 @if test -d $(HOST_SUBDIR) ; then \
37134 cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
37135 @UNDO_LINK_TO_DIR@ ; \
37136 set prev-libiberty stageprofile-libiberty ; \
37137 @UNDO_LINK_TO_DIR@ ; \
37139 @endif libiberty
37140 @if zlib
37141 @if test -d $(HOST_SUBDIR) ; then \
37142 cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
37143 @UNDO_LINK_TO_DIR@ ; \
37144 set prev-zlib stageprofile-zlib ; \
37145 @UNDO_LINK_TO_DIR@ ; \
37147 @endif zlib
37148 @if test -d $(TARGET_SUBDIR) ; then \
37149 set $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
37150 @UNDO_LINK_TO_DIR@ ; \
37151 set prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
37152 @UNDO_LINK_TO_DIR@ ; \
37155 # Bubble a bugfix through all the stages up to stage feedback. They are
37156 # remade, but not reconfigured. The next stage (if any) will not be
37157 # reconfigured as well.
37158 .PHONY: stagefeedback-bubble
37159 stagefeedback-bubble:: stageprofile-bubble
37160 @r=`${PWD_COMMAND}`; export r; \
37161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37162 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37163 echo Skipping rebuild of stagefeedback ; \
37164 else \
37165 $(MAKE) stagefeedback-start; \
37166 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37169 .PHONY: all-stagefeedback clean-stagefeedback
37170 do-clean: clean-stagefeedback
37172 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37173 # only possibility, but now it conflicts with no-bootstrap rules
37174 @if gcc-bootstrap
37178 .PHONY: profiledbootstrap
37179 profiledbootstrap:
37180 echo stagefeedback > stage_final
37181 @r=`${PWD_COMMAND}`; export r; \
37182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37183 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
37184 @: $(MAKE); $(unstage)
37185 @r=`${PWD_COMMAND}`; export r; \
37186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37187 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37190 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37191 distclean-stageprofile:: distclean-stagefeedback
37192 .PHONY: distclean-stagefeedback
37193 distclean-stagefeedback::
37194 @: $(MAKE); $(stage)
37195 rm -rf stagefeedback-*
37198 @endif gcc-bootstrap
37202 stageprofile-end::
37203 $(MAKE) distclean-stagefeedback
37205 stagefeedback-start::
37206 @r=`${PWD_COMMAND}`; export r; \
37207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37208 for i in prev-*; do \
37209 j=`echo $$i | sed s/^prev-//` ; \
37210 cd $$r/$$i && \
37211 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37212 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37213 done
37215 @if gcc-bootstrap
37216 do-distclean: distclean-stage1
37217 @endif gcc-bootstrap
37219 # --------------------------------------
37220 # Dependencies between different modules
37221 # --------------------------------------
37223 # Generic dependencies for target modules on host stuff, especially gcc
37225 configure-target-libstdc++-v3: maybe-all-gcc
37227 configure-target-libmudflap: maybe-all-gcc
37229 configure-target-libssp: maybe-all-gcc
37231 configure-target-newlib: maybe-all-gcc
37233 configure-target-libgfortran: maybe-all-gcc
37235 configure-target-libobjc: maybe-all-gcc
37237 configure-target-libtermcap: maybe-all-gcc
37239 configure-target-winsup: maybe-all-gcc
37241 configure-target-libgloss: maybe-all-gcc
37243 configure-target-libiberty: maybe-all-gcc
37245 configure-target-gperf: maybe-all-gcc
37247 configure-target-examples: maybe-all-gcc
37249 configure-target-libffi: maybe-all-gcc
37251 configure-target-libjava: maybe-all-gcc
37253 configure-target-zlib: maybe-all-gcc
37255 configure-target-boehm-gc: maybe-all-gcc
37257 configure-target-qthreads: maybe-all-gcc
37259 configure-target-rda: maybe-all-gcc
37261 configure-target-libada: maybe-all-gcc
37265 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
37267 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
37268 configure-target-gperf: maybe-all-target-libstdc++-v3
37270 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
37272 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
37274 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
37276 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
37277 configure-target-libjava: maybe-all-target-libstdc++-v3
37279 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
37281 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
37283 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
37285 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
37287 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
37289 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
37291 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
37293 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
37295 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
37297 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
37300 # There are two types of dependencies here: 'hard' dependencies, where one
37301 # module simply won't build without the other; and 'soft' dependencies, where
37302 # if the depended-on module is missing, the depending module will do without
37303 # or find a substitute somewhere (perhaps installed). Soft dependencies
37304 # are made here to depend on a 'maybe-' target. If you're not sure,
37305 # it's safer to use a soft dependency.
37312 # With all the machinery above in place, it is pretty easy to generate
37313 # dependencies. Host dependencies are a bit more complex because we have
37314 # to check for bootstrap/prebootstrap dependencies. To resolve
37315 # prebootstrap dependencies, prebootstrap modules are gathered in
37316 # a hash table.
37317 all-build-bison: maybe-all-build-texinfo
37318 all-build-byacc: maybe-all-build-texinfo
37319 all-build-flex: maybe-all-build-texinfo
37320 all-build-flex: maybe-all-build-bison
37321 all-build-flex: maybe-all-build-byacc
37322 all-build-flex: maybe-all-build-m4
37323 all-build-libiberty: maybe-all-build-texinfo
37324 all-build-m4: maybe-all-build-texinfo
37325 all-build-fixincludes: maybe-all-build-libiberty
37326 configure-gcc: maybe-configure-intl
37328 configure-stage1-gcc: maybe-configure-stage1-intl
37329 configure-stage2-gcc: maybe-configure-stage2-intl
37330 configure-stage3-gcc: maybe-configure-stage3-intl
37331 configure-stage4-gcc: maybe-configure-stage4-intl
37332 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37333 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37334 configure-gcc: maybe-all-binutils
37336 configure-stage1-gcc: maybe-all-stage1-binutils
37337 configure-stage2-gcc: maybe-all-stage2-binutils
37338 configure-stage3-gcc: maybe-all-stage3-binutils
37339 configure-stage4-gcc: maybe-all-stage4-binutils
37340 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37341 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37342 configure-gcc: maybe-all-gas
37344 configure-stage1-gcc: maybe-all-stage1-gas
37345 configure-stage2-gcc: maybe-all-stage2-gas
37346 configure-stage3-gcc: maybe-all-stage3-gas
37347 configure-stage4-gcc: maybe-all-stage4-gas
37348 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37349 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37350 configure-gcc: maybe-all-ld
37352 configure-stage1-gcc: maybe-all-stage1-ld
37353 configure-stage2-gcc: maybe-all-stage2-ld
37354 configure-stage3-gcc: maybe-all-stage3-ld
37355 configure-stage4-gcc: maybe-all-stage4-ld
37356 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37357 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37358 all-gcc: all-libiberty
37360 all-stage1-gcc: all-stage1-libiberty
37361 all-stage2-gcc: all-stage2-libiberty
37362 all-stage3-gcc: all-stage3-libiberty
37363 all-stage4-gcc: all-stage4-libiberty
37364 all-stageprofile-gcc: all-stageprofile-libiberty
37365 all-stagefeedback-gcc: all-stagefeedback-libiberty
37366 all-gcc: maybe-all-intl
37368 all-stage1-gcc: maybe-all-stage1-intl
37369 all-stage2-gcc: maybe-all-stage2-intl
37370 all-stage3-gcc: maybe-all-stage3-intl
37371 all-stage4-gcc: maybe-all-stage4-intl
37372 all-stageprofile-gcc: maybe-all-stageprofile-intl
37373 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37374 all-gcc: maybe-all-build-texinfo
37376 all-stage1-gcc: maybe-all-build-texinfo
37377 all-stage2-gcc: maybe-all-build-texinfo
37378 all-stage3-gcc: maybe-all-build-texinfo
37379 all-stage4-gcc: maybe-all-build-texinfo
37380 all-stageprofile-gcc: maybe-all-build-texinfo
37381 all-stagefeedback-gcc: maybe-all-build-texinfo
37382 all-prebootstrap: maybe-all-build-texinfo
37383 all-gcc: maybe-all-build-bison
37385 all-stage1-gcc: maybe-all-build-bison
37386 all-stage2-gcc: maybe-all-build-bison
37387 all-stage3-gcc: maybe-all-build-bison
37388 all-stage4-gcc: maybe-all-build-bison
37389 all-stageprofile-gcc: maybe-all-build-bison
37390 all-stagefeedback-gcc: maybe-all-build-bison
37391 all-prebootstrap: maybe-all-build-bison
37392 all-gcc: maybe-all-build-byacc
37394 all-stage1-gcc: maybe-all-build-byacc
37395 all-stage2-gcc: maybe-all-build-byacc
37396 all-stage3-gcc: maybe-all-build-byacc
37397 all-stage4-gcc: maybe-all-build-byacc
37398 all-stageprofile-gcc: maybe-all-build-byacc
37399 all-stagefeedback-gcc: maybe-all-build-byacc
37400 all-prebootstrap: maybe-all-build-byacc
37401 all-gcc: maybe-all-build-flex
37403 all-stage1-gcc: maybe-all-build-flex
37404 all-stage2-gcc: maybe-all-build-flex
37405 all-stage3-gcc: maybe-all-build-flex
37406 all-stage4-gcc: maybe-all-build-flex
37407 all-stageprofile-gcc: maybe-all-build-flex
37408 all-stagefeedback-gcc: maybe-all-build-flex
37409 all-prebootstrap: maybe-all-build-flex
37410 all-gcc: maybe-all-build-libiberty
37412 all-stage1-gcc: maybe-all-build-libiberty
37413 all-stage2-gcc: maybe-all-build-libiberty
37414 all-stage3-gcc: maybe-all-build-libiberty
37415 all-stage4-gcc: maybe-all-build-libiberty
37416 all-stageprofile-gcc: maybe-all-build-libiberty
37417 all-stagefeedback-gcc: maybe-all-build-libiberty
37418 all-prebootstrap: maybe-all-build-libiberty
37419 all-gcc: maybe-all-build-fixincludes
37421 all-stage1-gcc: maybe-all-build-fixincludes
37422 all-stage2-gcc: maybe-all-build-fixincludes
37423 all-stage3-gcc: maybe-all-build-fixincludes
37424 all-stage4-gcc: maybe-all-build-fixincludes
37425 all-stageprofile-gcc: maybe-all-build-fixincludes
37426 all-stagefeedback-gcc: maybe-all-build-fixincludes
37427 all-prebootstrap: maybe-all-build-fixincludes
37428 all-gcc: maybe-all-zlib
37430 all-stage1-gcc: maybe-all-stage1-zlib
37431 all-stage2-gcc: maybe-all-stage2-zlib
37432 all-stage3-gcc: maybe-all-stage3-zlib
37433 all-stage4-gcc: maybe-all-stage4-zlib
37434 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37435 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37436 all-gcc: all-libcpp
37438 all-stage1-gcc: all-stage1-libcpp
37439 all-stage2-gcc: all-stage2-libcpp
37440 all-stage3-gcc: all-stage3-libcpp
37441 all-stage4-gcc: all-stage4-libcpp
37442 all-stageprofile-gcc: all-stageprofile-libcpp
37443 all-stagefeedback-gcc: all-stagefeedback-libcpp
37444 all-gcc: all-libdecnumber
37446 all-stage1-gcc: all-stage1-libdecnumber
37447 all-stage2-gcc: all-stage2-libdecnumber
37448 all-stage3-gcc: all-stage3-libdecnumber
37449 all-stage4-gcc: all-stage4-libdecnumber
37450 all-stageprofile-gcc: all-stageprofile-libdecnumber
37451 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37452 all-gcc: maybe-all-libiberty
37454 all-stage1-gcc: maybe-all-stage1-libiberty
37455 all-stage2-gcc: maybe-all-stage2-libiberty
37456 all-stage3-gcc: maybe-all-stage3-libiberty
37457 all-stage4-gcc: maybe-all-stage4-libiberty
37458 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
37459 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
37460 all-gcc: maybe-all-fixincludes
37461 install-gcc: maybe-install-fixincludes
37462 configure-libcpp: configure-libiberty
37464 configure-stage1-libcpp: configure-stage1-libiberty
37465 configure-stage2-libcpp: configure-stage2-libiberty
37466 configure-stage3-libcpp: configure-stage3-libiberty
37467 configure-stage4-libcpp: configure-stage4-libiberty
37468 configure-stageprofile-libcpp: configure-stageprofile-libiberty
37469 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
37470 configure-libcpp: maybe-configure-intl
37472 configure-stage1-libcpp: maybe-configure-stage1-intl
37473 configure-stage2-libcpp: maybe-configure-stage2-intl
37474 configure-stage3-libcpp: maybe-configure-stage3-intl
37475 configure-stage4-libcpp: maybe-configure-stage4-intl
37476 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
37477 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
37478 all-libcpp: all-libiberty
37480 all-stage1-libcpp: all-stage1-libiberty
37481 all-stage2-libcpp: all-stage2-libiberty
37482 all-stage3-libcpp: all-stage3-libiberty
37483 all-stage4-libcpp: all-stage4-libiberty
37484 all-stageprofile-libcpp: all-stageprofile-libiberty
37485 all-stagefeedback-libcpp: all-stagefeedback-libiberty
37486 all-libcpp: maybe-all-intl
37488 all-stage1-libcpp: maybe-all-stage1-intl
37489 all-stage2-libcpp: maybe-all-stage2-intl
37490 all-stage3-libcpp: maybe-all-stage3-intl
37491 all-stage4-libcpp: maybe-all-stage4-intl
37492 all-stageprofile-libcpp: maybe-all-stageprofile-intl
37493 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
37494 all-fixincludes: maybe-all-libiberty
37495 all-gnattools: maybe-all-target-libada
37496 configure-gdb: maybe-configure-sim
37497 all-gdb: maybe-all-libiberty
37498 all-gdb: maybe-all-opcodes
37499 all-gdb: maybe-all-bfd
37500 all-gdb: maybe-all-readline
37501 all-gdb: maybe-all-build-bison
37502 all-gdb: maybe-all-build-byacc
37503 all-gdb: maybe-all-sim
37504 configure-libgui: maybe-configure-tcl
37505 configure-libgui: maybe-configure-tk
37506 all-libgui: maybe-all-tcl
37507 all-libgui: maybe-all-tk
37508 all-libgui: maybe-all-itcl
37509 configure-bfd: configure-libiberty
37511 configure-stage1-bfd: configure-stage1-libiberty
37512 configure-stage2-bfd: configure-stage2-libiberty
37513 configure-stage3-bfd: configure-stage3-libiberty
37514 configure-stage4-bfd: configure-stage4-libiberty
37515 configure-stageprofile-bfd: configure-stageprofile-libiberty
37516 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
37517 all-bfd: maybe-all-libiberty
37519 all-stage1-bfd: maybe-all-stage1-libiberty
37520 all-stage2-bfd: maybe-all-stage2-libiberty
37521 all-stage3-bfd: maybe-all-stage3-libiberty
37522 all-stage4-bfd: maybe-all-stage4-libiberty
37523 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
37524 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
37525 all-bfd: maybe-all-intl
37527 all-stage1-bfd: maybe-all-stage1-intl
37528 all-stage2-bfd: maybe-all-stage2-intl
37529 all-stage3-bfd: maybe-all-stage3-intl
37530 all-stage4-bfd: maybe-all-stage4-intl
37531 all-stageprofile-bfd: maybe-all-stageprofile-intl
37532 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
37533 all-binutils: maybe-all-libiberty
37535 all-stage1-binutils: maybe-all-stage1-libiberty
37536 all-stage2-binutils: maybe-all-stage2-libiberty
37537 all-stage3-binutils: maybe-all-stage3-libiberty
37538 all-stage4-binutils: maybe-all-stage4-libiberty
37539 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
37540 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
37541 all-binutils: maybe-all-opcodes
37543 all-stage1-binutils: maybe-all-stage1-opcodes
37544 all-stage2-binutils: maybe-all-stage2-opcodes
37545 all-stage3-binutils: maybe-all-stage3-opcodes
37546 all-stage4-binutils: maybe-all-stage4-opcodes
37547 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
37548 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
37549 all-binutils: maybe-all-bfd
37551 all-stage1-binutils: maybe-all-stage1-bfd
37552 all-stage2-binutils: maybe-all-stage2-bfd
37553 all-stage3-binutils: maybe-all-stage3-bfd
37554 all-stage4-binutils: maybe-all-stage4-bfd
37555 all-stageprofile-binutils: maybe-all-stageprofile-bfd
37556 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
37557 all-binutils: maybe-all-build-flex
37559 all-stage1-binutils: maybe-all-build-flex
37560 all-stage2-binutils: maybe-all-build-flex
37561 all-stage3-binutils: maybe-all-build-flex
37562 all-stage4-binutils: maybe-all-build-flex
37563 all-stageprofile-binutils: maybe-all-build-flex
37564 all-stagefeedback-binutils: maybe-all-build-flex
37565 all-prebootstrap: maybe-all-build-flex
37566 all-binutils: maybe-all-build-bison
37568 all-stage1-binutils: maybe-all-build-bison
37569 all-stage2-binutils: maybe-all-build-bison
37570 all-stage3-binutils: maybe-all-build-bison
37571 all-stage4-binutils: maybe-all-build-bison
37572 all-stageprofile-binutils: maybe-all-build-bison
37573 all-stagefeedback-binutils: maybe-all-build-bison
37574 all-prebootstrap: maybe-all-build-bison
37575 all-binutils: maybe-all-build-byacc
37577 all-stage1-binutils: maybe-all-build-byacc
37578 all-stage2-binutils: maybe-all-build-byacc
37579 all-stage3-binutils: maybe-all-build-byacc
37580 all-stage4-binutils: maybe-all-build-byacc
37581 all-stageprofile-binutils: maybe-all-build-byacc
37582 all-stagefeedback-binutils: maybe-all-build-byacc
37583 all-prebootstrap: maybe-all-build-byacc
37584 all-binutils: maybe-all-intl
37586 all-stage1-binutils: maybe-all-stage1-intl
37587 all-stage2-binutils: maybe-all-stage2-intl
37588 all-stage3-binutils: maybe-all-stage3-intl
37589 all-stage4-binutils: maybe-all-stage4-intl
37590 all-stageprofile-binutils: maybe-all-stageprofile-intl
37591 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
37592 install-binutils: maybe-install-opcodes
37593 install-opcodes: maybe-install-bfd
37594 all-gas: maybe-all-libiberty
37596 all-stage1-gas: maybe-all-stage1-libiberty
37597 all-stage2-gas: maybe-all-stage2-libiberty
37598 all-stage3-gas: maybe-all-stage3-libiberty
37599 all-stage4-gas: maybe-all-stage4-libiberty
37600 all-stageprofile-gas: maybe-all-stageprofile-libiberty
37601 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
37602 all-gas: maybe-all-opcodes
37604 all-stage1-gas: maybe-all-stage1-opcodes
37605 all-stage2-gas: maybe-all-stage2-opcodes
37606 all-stage3-gas: maybe-all-stage3-opcodes
37607 all-stage4-gas: maybe-all-stage4-opcodes
37608 all-stageprofile-gas: maybe-all-stageprofile-opcodes
37609 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
37610 all-gas: maybe-all-bfd
37612 all-stage1-gas: maybe-all-stage1-bfd
37613 all-stage2-gas: maybe-all-stage2-bfd
37614 all-stage3-gas: maybe-all-stage3-bfd
37615 all-stage4-gas: maybe-all-stage4-bfd
37616 all-stageprofile-gas: maybe-all-stageprofile-bfd
37617 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
37618 all-gas: maybe-all-intl
37620 all-stage1-gas: maybe-all-stage1-intl
37621 all-stage2-gas: maybe-all-stage2-intl
37622 all-stage3-gas: maybe-all-stage3-intl
37623 all-stage4-gas: maybe-all-stage4-intl
37624 all-stageprofile-gas: maybe-all-stageprofile-intl
37625 all-stagefeedback-gas: maybe-all-stagefeedback-intl
37626 all-gprof: maybe-all-libiberty
37627 all-gprof: maybe-all-bfd
37628 all-gprof: maybe-all-opcodes
37629 all-gprof: maybe-all-intl
37630 all-ld: maybe-all-libiberty
37632 all-stage1-ld: maybe-all-stage1-libiberty
37633 all-stage2-ld: maybe-all-stage2-libiberty
37634 all-stage3-ld: maybe-all-stage3-libiberty
37635 all-stage4-ld: maybe-all-stage4-libiberty
37636 all-stageprofile-ld: maybe-all-stageprofile-libiberty
37637 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
37638 all-ld: maybe-all-bfd
37640 all-stage1-ld: maybe-all-stage1-bfd
37641 all-stage2-ld: maybe-all-stage2-bfd
37642 all-stage3-ld: maybe-all-stage3-bfd
37643 all-stage4-ld: maybe-all-stage4-bfd
37644 all-stageprofile-ld: maybe-all-stageprofile-bfd
37645 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
37646 all-ld: maybe-all-opcodes
37648 all-stage1-ld: maybe-all-stage1-opcodes
37649 all-stage2-ld: maybe-all-stage2-opcodes
37650 all-stage3-ld: maybe-all-stage3-opcodes
37651 all-stage4-ld: maybe-all-stage4-opcodes
37652 all-stageprofile-ld: maybe-all-stageprofile-opcodes
37653 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
37654 all-ld: maybe-all-build-bison
37656 all-stage1-ld: maybe-all-build-bison
37657 all-stage2-ld: maybe-all-build-bison
37658 all-stage3-ld: maybe-all-build-bison
37659 all-stage4-ld: maybe-all-build-bison
37660 all-stageprofile-ld: maybe-all-build-bison
37661 all-stagefeedback-ld: maybe-all-build-bison
37662 all-prebootstrap: maybe-all-build-bison
37663 all-ld: maybe-all-build-byacc
37665 all-stage1-ld: maybe-all-build-byacc
37666 all-stage2-ld: maybe-all-build-byacc
37667 all-stage3-ld: maybe-all-build-byacc
37668 all-stage4-ld: maybe-all-build-byacc
37669 all-stageprofile-ld: maybe-all-build-byacc
37670 all-stagefeedback-ld: maybe-all-build-byacc
37671 all-prebootstrap: maybe-all-build-byacc
37672 all-ld: maybe-all-build-flex
37674 all-stage1-ld: maybe-all-build-flex
37675 all-stage2-ld: maybe-all-build-flex
37676 all-stage3-ld: maybe-all-build-flex
37677 all-stage4-ld: maybe-all-build-flex
37678 all-stageprofile-ld: maybe-all-build-flex
37679 all-stagefeedback-ld: maybe-all-build-flex
37680 all-prebootstrap: maybe-all-build-flex
37681 all-ld: maybe-all-intl
37683 all-stage1-ld: maybe-all-stage1-intl
37684 all-stage2-ld: maybe-all-stage2-intl
37685 all-stage3-ld: maybe-all-stage3-intl
37686 all-stage4-ld: maybe-all-stage4-intl
37687 all-stageprofile-ld: maybe-all-stageprofile-intl
37688 all-stagefeedback-ld: maybe-all-stagefeedback-intl
37689 all-opcodes: maybe-all-bfd
37691 all-stage1-opcodes: maybe-all-stage1-bfd
37692 all-stage2-opcodes: maybe-all-stage2-bfd
37693 all-stage3-opcodes: maybe-all-stage3-bfd
37694 all-stage4-opcodes: maybe-all-stage4-bfd
37695 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
37696 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
37697 all-opcodes: maybe-all-libiberty
37699 all-stage1-opcodes: maybe-all-stage1-libiberty
37700 all-stage2-opcodes: maybe-all-stage2-libiberty
37701 all-stage3-opcodes: maybe-all-stage3-libiberty
37702 all-stage4-opcodes: maybe-all-stage4-libiberty
37703 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
37704 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
37705 all-dejagnu: maybe-all-tcl
37706 all-dejagnu: maybe-all-expect
37707 all-dejagnu: maybe-all-tk
37708 configure-expect: maybe-configure-tcl
37709 configure-expect: maybe-configure-tk
37710 all-expect: maybe-all-tcl
37711 all-expect: maybe-all-tk
37712 configure-itcl: maybe-configure-tcl
37713 configure-itcl: maybe-configure-tk
37714 all-itcl: maybe-all-tcl
37715 all-itcl: maybe-all-tk
37716 install-itcl: maybe-install-tcl
37717 configure-tk: maybe-configure-tcl
37718 all-tk: maybe-all-tcl
37719 all-sid: maybe-all-libiberty
37720 all-sid: maybe-all-bfd
37721 all-sid: maybe-all-opcodes
37722 all-sid: maybe-all-tcl
37723 all-sid: maybe-all-tk
37724 install-sid: maybe-install-tcl
37725 install-sid: maybe-install-tk
37726 all-sim: maybe-all-libiberty
37727 all-sim: maybe-all-bfd
37728 all-sim: maybe-all-opcodes
37729 all-sim: maybe-all-readline
37730 all-sim: maybe-configure-gdb
37731 all-fastjar: maybe-all-zlib
37732 all-fastjar: maybe-all-build-texinfo
37733 all-fastjar: maybe-all-libiberty
37734 all-autoconf: maybe-all-m4
37735 all-autoconf: maybe-all-build-texinfo
37736 all-automake: maybe-all-m4
37737 all-automake: maybe-all-build-texinfo
37738 all-automake: maybe-all-autoconf
37739 all-bison: maybe-all-intl
37740 all-bison: maybe-all-build-texinfo
37741 all-diff: maybe-all-intl
37742 all-diff: maybe-all-build-texinfo
37743 all-fileutils: maybe-all-intl
37744 all-fileutils: maybe-all-build-texinfo
37745 all-flex: maybe-all-build-bison
37746 all-flex: maybe-all-build-byacc
37747 all-flex: maybe-all-intl
37748 all-flex: maybe-all-m4
37749 all-flex: maybe-all-build-texinfo
37750 all-gzip: maybe-all-intl
37751 all-gzip: maybe-all-zlib
37752 all-gzip: maybe-all-build-texinfo
37753 all-hello: maybe-all-intl
37754 all-hello: maybe-all-build-texinfo
37755 all-m4: maybe-all-intl
37756 all-m4: maybe-all-build-texinfo
37757 all-make: maybe-all-intl
37758 all-make: maybe-all-build-texinfo
37759 all-patch: maybe-all-build-texinfo
37760 all-make: maybe-all-build-texinfo
37761 all-prms: maybe-all-libiberty
37762 all-recode: maybe-all-build-texinfo
37763 all-sed: maybe-all-build-texinfo
37764 all-send-pr: maybe-all-prms
37765 all-tar: maybe-all-build-texinfo
37766 all-uudecode: maybe-all-build-texinfo
37767 configure-target-boehm-gc: maybe-configure-target-qthreads
37768 configure-target-fastjar: maybe-configure-target-zlib
37769 all-target-fastjar: maybe-all-target-zlib
37770 all-target-fastjar: maybe-all-target-libiberty
37771 configure-target-libjava: maybe-configure-target-zlib
37772 configure-target-libjava: maybe-configure-target-boehm-gc
37773 configure-target-libjava: maybe-configure-target-qthreads
37774 configure-target-libjava: maybe-configure-target-libffi
37775 all-target-libjava: maybe-all-fastjar
37776 all-target-libjava: maybe-all-target-zlib
37777 all-target-libjava: maybe-all-target-boehm-gc
37778 all-target-libjava: maybe-all-target-qthreads
37779 all-target-libjava: maybe-all-target-libffi
37780 all-target-libobjc: maybe-all-target-libiberty
37781 all-target-libstdc++-v3: maybe-all-target-libiberty
37782 all-target-libgloss: maybe-configure-target-newlib
37783 all-target-winsup: maybe-all-target-libiberty
37784 all-target-winsup: maybe-all-target-libtermcap
37787 # Non-toplevel bootstrap rules must depend on several packages, to be built
37788 # before gcc. Another wart that will go away, hopefully soon.
37789 @if gcc-no-bootstrap
37791 all-prebootstrap: maybe-all-bfd
37792 all-prebootstrap: maybe-all-opcodes
37793 all-prebootstrap: maybe-all-binutils
37794 all-prebootstrap: maybe-all-gas
37795 all-prebootstrap: maybe-all-intl
37796 all-prebootstrap: maybe-all-ld
37797 all-prebootstrap: maybe-all-libcpp
37798 all-prebootstrap: maybe-all-libdecnumber
37799 all-prebootstrap: maybe-all-libiberty
37800 all-prebootstrap: maybe-all-zlib
37801 @endif gcc-no-bootstrap
37803 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
37804 GDB_TK = @GDB_TK@
37805 INSTALL_GDB_TK = @INSTALL_GDB_TK@
37806 configure-gdb: $(CONFIGURE_GDB_TK)
37807 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
37808 install-gdb: $(INSTALL_GDB_TK)
37810 # Serialization dependencies. Host configures don't work well in parallel to
37811 # each other, due to contention over config.cache. Target configures and
37812 # build configures are similar.
37813 @serialization_dependencies@
37815 # --------------------------------
37816 # Regenerating top level configury
37817 # --------------------------------
37819 # Rebuilding Makefile.in, using autogen.
37820 AUTOGEN = autogen
37821 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
37822 cd $(srcdir) && $(AUTOGEN) Makefile.def
37824 # Rebuilding Makefile.
37825 Makefile: $(srcdir)/Makefile.in config.status
37826 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
37828 config.status: configure
37829 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
37831 # Rebuilding configure.
37832 AUTOCONF = autoconf
37833 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
37834 cd $(srcdir) && $(AUTOCONF)
37836 # ------------------------------
37837 # Special directives to GNU Make
37838 # ------------------------------
37840 # Don't pass command-line variables to submakes.
37841 .NOEXPORT:
37842 MAKEOVERRIDES=
37844 # end of Makefile.in