2005-12-14 Paolo Bonzini <bonzini@gnu.org>
[binutils.git] / Makefile.in
blob973973209d33a76fb8b00f8acdef66ef6734ff46
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
256 BISON = @BISON@
257 YACC = @YACC@
258 FLEX = @FLEX@
259 LEX = @LEX@
260 M4 = @M4@
261 MAKEINFO = @MAKEINFO@
262 EXPECT = @EXPECT@
263 RUNTEST = @RUNTEST@
265 # This just becomes part of the MAKEINFO definition passed down to
266 # sub-makes. It lets flags be given on the command line while still
267 # using the makeinfo from the object tree.
268 # (Default to avoid splitting info files by setting the threshold high.)
269 MAKEINFOFLAGS = --split-size=5000000
271 # ---------------------------------------------
272 # Programs producing files for the HOST machine
273 # ---------------------------------------------
275 AS = @AS@
276 AR = @AR@
277 AR_FLAGS = rc
278 CC = @CC@
279 CXX = @CXX@
280 DLLTOOL = @DLLTOOL@
281 LD = @LD@
282 LIPO = @LIPO@
283 NM = @NM@
284 RANLIB = @RANLIB@
285 STRIP = @STRIP@
286 WINDRES = @WINDRES@
288 CFLAGS = @CFLAGS@
289 LDFLAGS =
290 LIBCFLAGS = $(CFLAGS)
291 CXXFLAGS = @CXXFLAGS@
292 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
293 PICFLAG =
295 # -----------------------------------------------
296 # Programs producing files for the TARGET machine
297 # -----------------------------------------------
299 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
301 AR_FOR_TARGET=@AR_FOR_TARGET@
302 AS_FOR_TARGET=@AS_FOR_TARGET@
303 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
305 # If GCC_FOR_TARGET is not overriden on the command line, then this
306 # variable is passed down to the gcc Makefile, where it is used to
307 # build libgcc2.a. We define it here so that it can itself be
308 # overridden on the command line.
309 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
310 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
311 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
315 LD_FOR_TARGET=@LD_FOR_TARGET@
317 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
318 NM_FOR_TARGET=@NM_FOR_TARGET@
319 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
320 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
321 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
322 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
324 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
325 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
326 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
328 # During gcc bootstrap, if we use some random cc for stage1 then
329 # CFLAGS will be just -g. We want to ensure that TARGET libraries
330 # (which we know are built with gcc) are built with optimizations so
331 # prepend -O2 when setting CFLAGS_FOR_TARGET.
332 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
333 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
334 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
336 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
337 LDFLAGS_FOR_TARGET =
338 PICFLAG_FOR_TARGET =
340 # ------------------------------------
341 # Miscellaneous targets and flag lists
342 # ------------------------------------
344 # The first rule in the file had better be this one. Don't put any above it.
345 # This lives here to allow makefile fragments to contain dependencies.
346 all:
348 #### host and target specific makefile fragments come in here.
349 @target_makefile_frag@
350 @alphaieee_frag@
351 @ospace_frag@
352 @host_makefile_frag@
355 # This is the list of directories that may be needed in RPATH_ENVVAR
356 # so that prorgams built for the target machine work.
357 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
359 @if target-libstdc++-v3
360 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
361 @endif target-libstdc++-v3
363 @if target-libmudflap
364 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
365 @endif target-libmudflap
367 @if target-libssp
368 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
369 @endif target-libssp
373 # This is the list of directories that may be needed in RPATH_ENVVAR
374 # so that programs built for the host machine work.
375 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
377 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
378 @if gcc
379 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
380 @endif gcc
383 @if bfd
384 HOST_LIB_PATH_bfd = \
385 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
386 @endif bfd
388 @if opcodes
389 HOST_LIB_PATH_opcodes = \
390 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
391 @endif opcodes
394 # Flags to pass down to all sub-makes.
395 BASE_FLAGS_TO_PASS = \
396 "DESTDIR=$(DESTDIR)" \
397 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
398 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
399 "bindir=$(bindir)" \
400 "datadir=$(datadir)" \
401 "exec_prefix=$(exec_prefix)" \
402 "includedir=$(includedir)" \
403 "infodir=$(infodir)" \
404 "libdir=$(libdir)" \
405 "libexecdir=$(libexecdir)" \
406 "lispdir=$(lispdir)" \
407 "localstatedir=$(localstatedir)" \
408 "mandir=$(mandir)" \
409 "oldincludedir=$(oldincludedir)" \
410 "prefix=$(prefix)" \
411 "sbindir=$(sbindir)" \
412 "sharedstatedir=$(sharedstatedir)" \
413 "sysconfdir=$(sysconfdir)" \
414 "tooldir=$(tooldir)" \
415 "build_tooldir=$(build_tooldir)" \
416 "target_alias=$(target_alias)" \
417 "BISON=$(BISON)" \
418 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
419 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
420 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
421 "EXPECT=$(EXPECT)" \
422 "FLEX=$(FLEX)" \
423 "INSTALL=$(INSTALL)" \
424 "INSTALL_DATA=$(INSTALL_DATA)" \
425 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
426 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
427 "LEX=$(LEX)" \
428 "M4=$(M4)" \
429 "MAKE=$(MAKE)" \
430 "RUNTEST=$(RUNTEST)" \
431 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
432 "SHELL=$(SHELL)" \
433 "YACC=$(YACC)" \
434 "AR_FLAGS=$(AR_FLAGS)" \
435 "CFLAGS=$(CFLAGS)" \
436 "CXXFLAGS=$(CXXFLAGS)" \
437 "LDFLAGS=$(LDFLAGS)" \
438 "LIBCFLAGS=$(LIBCFLAGS)" \
439 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
440 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
441 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
442 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
443 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
444 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
445 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
446 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
447 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
448 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
449 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
450 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
451 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
452 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
453 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
454 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
455 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
456 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
457 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
458 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
459 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
460 "CONFIG_SHELL=$(SHELL)" \
461 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
463 # We leave this in just in case, but it is not needed anymore.
464 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
466 # Flags to pass down to most sub-makes, in which we're building with
467 # the host environment.
468 EXTRA_HOST_FLAGS = \
469 'AR=$(AR)' \
470 'AS=$(AS)' \
471 'CC=$(CC)' \
472 'CXX=$(CXX)' \
473 'DLLTOOL=$(DLLTOOL)' \
474 'LD=$(LD)' \
475 'LIPO=$(LIPO)' \
476 'NM=$(NM)' \
477 'RANLIB=$(RANLIB)' \
478 'STRIP=$(STRIP)' \
479 'WINDRES=$(WINDRES)'
481 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
483 # Flags that are concerned with the location of the X11 include files
484 # and library files
486 # NOTE: until the top-level is getting the values via autoconf, it only
487 # causes problems to have this top-level Makefile overriding the autoconf-set
488 # values in child directories. Only variables that don't conflict with
489 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
491 X11_FLAGS_TO_PASS = \
492 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
493 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
495 # Flags to pass down to makes which are built with the target environment.
496 # The double $ decreases the length of the command line; those variables
497 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
498 # COMPILER_ prefixed variables are not passed down so we expand them here.
499 EXTRA_TARGET_FLAGS = \
500 'AR=$$(AR_FOR_TARGET)' \
501 'AS=$(COMPILER_AS_FOR_TARGET)' \
502 'CC=$$(CC_FOR_TARGET)' \
503 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
504 'CXX=$$(CXX_FOR_TARGET)' \
505 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
506 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
507 'LD=$(COMPILER_LD_FOR_TARGET)' \
508 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
509 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
510 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
511 'NM=$(COMPILER_NM_FOR_TARGET)' \
512 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
513 'RANLIB=$$(RANLIB_FOR_TARGET)' \
514 'WINDRES=$$(WINDRES_FOR_TARGET)'
516 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
518 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
519 # unfortunately needs the native compiler and the target ar and
520 # ranlib.
521 # If any variables are added here, they must be added to do-*, below.
522 # The BUILD_* variables are a special case, which are used for the gcc
523 # cross-building scheme.
524 EXTRA_GCC_FLAGS = \
525 'BUILD_PREFIX=$(BUILD_PREFIX)' \
526 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
527 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
528 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
529 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
530 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
531 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
534 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
535 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
536 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
538 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
540 .PHONY: configure-host
541 configure-host: \
542 maybe-configure-ash \
543 maybe-configure-autoconf \
544 maybe-configure-automake \
545 maybe-configure-bash \
546 maybe-configure-bfd \
547 maybe-configure-opcodes \
548 maybe-configure-binutils \
549 maybe-configure-bison \
550 maybe-configure-byacc \
551 maybe-configure-bzip2 \
552 maybe-configure-dejagnu \
553 maybe-configure-diff \
554 maybe-configure-dosutils \
555 maybe-configure-etc \
556 maybe-configure-fastjar \
557 maybe-configure-fileutils \
558 maybe-configure-findutils \
559 maybe-configure-find \
560 maybe-configure-fixincludes \
561 maybe-configure-flex \
562 maybe-configure-gas \
563 maybe-configure-gcc \
564 maybe-configure-gawk \
565 maybe-configure-gettext \
566 maybe-configure-gnuserv \
567 maybe-configure-gprof \
568 maybe-configure-gzip \
569 maybe-configure-hello \
570 maybe-configure-indent \
571 maybe-configure-intl \
572 maybe-configure-tcl \
573 maybe-configure-itcl \
574 maybe-configure-ld \
575 maybe-configure-libcpp \
576 maybe-configure-libdecnumber \
577 maybe-configure-libgui \
578 maybe-configure-libiberty \
579 maybe-configure-libtool \
580 maybe-configure-m4 \
581 maybe-configure-make \
582 maybe-configure-mmalloc \
583 maybe-configure-patch \
584 maybe-configure-perl \
585 maybe-configure-prms \
586 maybe-configure-rcs \
587 maybe-configure-readline \
588 maybe-configure-release \
589 maybe-configure-recode \
590 maybe-configure-sed \
591 maybe-configure-send-pr \
592 maybe-configure-shellutils \
593 maybe-configure-sid \
594 maybe-configure-sim \
595 maybe-configure-tar \
596 maybe-configure-texinfo \
597 maybe-configure-textutils \
598 maybe-configure-time \
599 maybe-configure-uudecode \
600 maybe-configure-wdiff \
601 maybe-configure-zip \
602 maybe-configure-zlib \
603 maybe-configure-gdb \
604 maybe-configure-expect \
605 maybe-configure-guile \
606 maybe-configure-tk \
607 maybe-configure-libtermcap \
608 maybe-configure-utils \
609 maybe-configure-gnattools
610 .PHONY: configure-target
611 configure-target: \
612 maybe-configure-target-libstdc++-v3 \
613 maybe-configure-target-libmudflap \
614 maybe-configure-target-libssp \
615 maybe-configure-target-newlib \
616 maybe-configure-target-libgfortran \
617 maybe-configure-target-libobjc \
618 maybe-configure-target-libtermcap \
619 maybe-configure-target-winsup \
620 maybe-configure-target-libgloss \
621 maybe-configure-target-libiberty \
622 maybe-configure-target-gperf \
623 maybe-configure-target-examples \
624 maybe-configure-target-libffi \
625 maybe-configure-target-libjava \
626 maybe-configure-target-zlib \
627 maybe-configure-target-boehm-gc \
628 maybe-configure-target-qthreads \
629 maybe-configure-target-rda \
630 maybe-configure-target-libada
632 # The target built for a native non-bootstrap build.
633 .PHONY: all
634 all:
635 @if gcc-bootstrap
636 [ -f stage_final ] || echo stage3 > stage_final
637 @r=`${PWD_COMMAND}`; export r; \
638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
639 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
640 @endif gcc-bootstrap
641 @: $(MAKE); $(unstage)
642 @r=`${PWD_COMMAND}`; export r; \
643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
644 if [ -f stage_last ]; then \
645 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
646 else \
647 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
649 @: $(MAKE); $(stage)
651 .PHONY: all-build
652 all-build: \
653 maybe-all-build-libiberty \
654 maybe-all-build-bison \
655 maybe-all-build-byacc \
656 maybe-all-build-flex \
657 maybe-all-build-m4 \
658 maybe-all-build-texinfo \
659 maybe-all-build-fixincludes
660 .PHONY: all-host
661 all-host: \
662 maybe-all-ash \
663 maybe-all-autoconf \
664 maybe-all-automake \
665 maybe-all-bash \
666 maybe-all-bfd \
667 maybe-all-opcodes \
668 maybe-all-binutils \
669 maybe-all-bison \
670 maybe-all-byacc \
671 maybe-all-bzip2 \
672 maybe-all-dejagnu \
673 maybe-all-diff \
674 maybe-all-dosutils \
675 maybe-all-etc \
676 maybe-all-fastjar \
677 maybe-all-fileutils \
678 maybe-all-findutils \
679 maybe-all-find \
680 maybe-all-fixincludes \
681 maybe-all-flex \
682 maybe-all-gas \
683 maybe-all-gcc \
684 maybe-all-gawk \
685 maybe-all-gettext \
686 maybe-all-gnuserv \
687 maybe-all-gprof \
688 maybe-all-gzip \
689 maybe-all-hello \
690 maybe-all-indent \
691 maybe-all-intl \
692 maybe-all-tcl \
693 maybe-all-itcl \
694 maybe-all-ld \
695 maybe-all-libcpp \
696 maybe-all-libdecnumber \
697 maybe-all-libgui \
698 maybe-all-libiberty \
699 maybe-all-libtool \
700 maybe-all-m4 \
701 maybe-all-make \
702 maybe-all-mmalloc \
703 maybe-all-patch \
704 maybe-all-perl \
705 maybe-all-prms \
706 maybe-all-rcs \
707 maybe-all-readline \
708 maybe-all-release \
709 maybe-all-recode \
710 maybe-all-sed \
711 maybe-all-send-pr \
712 maybe-all-shellutils \
713 maybe-all-sid \
714 maybe-all-sim \
715 maybe-all-tar \
716 maybe-all-texinfo \
717 maybe-all-textutils \
718 maybe-all-time \
719 maybe-all-uudecode \
720 maybe-all-wdiff \
721 maybe-all-zip \
722 maybe-all-zlib \
723 maybe-all-gdb \
724 maybe-all-expect \
725 maybe-all-guile \
726 maybe-all-tk \
727 maybe-all-libtermcap \
728 maybe-all-utils \
729 maybe-all-gnattools
730 .PHONY: all-target
731 all-target: \
732 maybe-all-target-libstdc++-v3 \
733 maybe-all-target-libmudflap \
734 maybe-all-target-libssp \
735 maybe-all-target-newlib \
736 maybe-all-target-libgfortran \
737 maybe-all-target-libobjc \
738 maybe-all-target-libtermcap \
739 maybe-all-target-winsup \
740 maybe-all-target-libgloss \
741 maybe-all-target-libiberty \
742 maybe-all-target-gperf \
743 maybe-all-target-examples \
744 maybe-all-target-libffi \
745 maybe-all-target-libjava \
746 maybe-all-target-zlib \
747 maybe-all-target-boehm-gc \
748 maybe-all-target-qthreads \
749 maybe-all-target-rda \
750 maybe-all-target-libada
752 # Do a target for all the subdirectories. A ``make do-X'' will do a
753 # ``make X'' in all subdirectories (because, in general, there is a
754 # dependency (below) of X upon do-X, a ``make X'' will also do this,
755 # but it may do additional work as well).
757 .PHONY: do-info
758 do-info:
759 @: $(MAKE); $(unstage)
760 @r=`${PWD_COMMAND}`; export r; \
761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
762 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
763 info-target
764 @: $(MAKE); $(stage)
767 .PHONY: info-host
768 info-host: \
769 maybe-info-ash \
770 maybe-info-autoconf \
771 maybe-info-automake \
772 maybe-info-bash \
773 maybe-info-bfd \
774 maybe-info-opcodes \
775 maybe-info-binutils \
776 maybe-info-bison \
777 maybe-info-byacc \
778 maybe-info-bzip2 \
779 maybe-info-dejagnu \
780 maybe-info-diff \
781 maybe-info-dosutils \
782 maybe-info-etc \
783 maybe-info-fastjar \
784 maybe-info-fileutils \
785 maybe-info-findutils \
786 maybe-info-find \
787 maybe-info-fixincludes \
788 maybe-info-flex \
789 maybe-info-gas \
790 maybe-info-gcc \
791 maybe-info-gawk \
792 maybe-info-gettext \
793 maybe-info-gnuserv \
794 maybe-info-gprof \
795 maybe-info-gzip \
796 maybe-info-hello \
797 maybe-info-indent \
798 maybe-info-intl \
799 maybe-info-tcl \
800 maybe-info-itcl \
801 maybe-info-ld \
802 maybe-info-libcpp \
803 maybe-info-libdecnumber \
804 maybe-info-libgui \
805 maybe-info-libiberty \
806 maybe-info-libtool \
807 maybe-info-m4 \
808 maybe-info-make \
809 maybe-info-mmalloc \
810 maybe-info-patch \
811 maybe-info-perl \
812 maybe-info-prms \
813 maybe-info-rcs \
814 maybe-info-readline \
815 maybe-info-release \
816 maybe-info-recode \
817 maybe-info-sed \
818 maybe-info-send-pr \
819 maybe-info-shellutils \
820 maybe-info-sid \
821 maybe-info-sim \
822 maybe-info-tar \
823 maybe-info-texinfo \
824 maybe-info-textutils \
825 maybe-info-time \
826 maybe-info-uudecode \
827 maybe-info-wdiff \
828 maybe-info-zip \
829 maybe-info-zlib \
830 maybe-info-gdb \
831 maybe-info-expect \
832 maybe-info-guile \
833 maybe-info-tk \
834 maybe-info-libtermcap \
835 maybe-info-utils \
836 maybe-info-gnattools
838 .PHONY: info-target
839 info-target: \
840 maybe-info-target-libstdc++-v3 \
841 maybe-info-target-libmudflap \
842 maybe-info-target-libssp \
843 maybe-info-target-newlib \
844 maybe-info-target-libgfortran \
845 maybe-info-target-libobjc \
846 maybe-info-target-libtermcap \
847 maybe-info-target-winsup \
848 maybe-info-target-libgloss \
849 maybe-info-target-libiberty \
850 maybe-info-target-gperf \
851 maybe-info-target-examples \
852 maybe-info-target-libffi \
853 maybe-info-target-libjava \
854 maybe-info-target-zlib \
855 maybe-info-target-boehm-gc \
856 maybe-info-target-qthreads \
857 maybe-info-target-rda \
858 maybe-info-target-libada
860 .PHONY: do-dvi
861 do-dvi:
862 @: $(MAKE); $(unstage)
863 @r=`${PWD_COMMAND}`; export r; \
864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
865 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
866 dvi-target
867 @: $(MAKE); $(stage)
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
970 @: $(MAKE); $(stage)
973 .PHONY: html-host
974 html-host: \
975 maybe-html-ash \
976 maybe-html-autoconf \
977 maybe-html-automake \
978 maybe-html-bash \
979 maybe-html-bfd \
980 maybe-html-opcodes \
981 maybe-html-binutils \
982 maybe-html-bison \
983 maybe-html-byacc \
984 maybe-html-bzip2 \
985 maybe-html-dejagnu \
986 maybe-html-diff \
987 maybe-html-dosutils \
988 maybe-html-etc \
989 maybe-html-fastjar \
990 maybe-html-fileutils \
991 maybe-html-findutils \
992 maybe-html-find \
993 maybe-html-fixincludes \
994 maybe-html-flex \
995 maybe-html-gas \
996 maybe-html-gcc \
997 maybe-html-gawk \
998 maybe-html-gettext \
999 maybe-html-gnuserv \
1000 maybe-html-gprof \
1001 maybe-html-gzip \
1002 maybe-html-hello \
1003 maybe-html-indent \
1004 maybe-html-intl \
1005 maybe-html-tcl \
1006 maybe-html-itcl \
1007 maybe-html-ld \
1008 maybe-html-libcpp \
1009 maybe-html-libdecnumber \
1010 maybe-html-libgui \
1011 maybe-html-libiberty \
1012 maybe-html-libtool \
1013 maybe-html-m4 \
1014 maybe-html-make \
1015 maybe-html-mmalloc \
1016 maybe-html-patch \
1017 maybe-html-perl \
1018 maybe-html-prms \
1019 maybe-html-rcs \
1020 maybe-html-readline \
1021 maybe-html-release \
1022 maybe-html-recode \
1023 maybe-html-sed \
1024 maybe-html-send-pr \
1025 maybe-html-shellutils \
1026 maybe-html-sid \
1027 maybe-html-sim \
1028 maybe-html-tar \
1029 maybe-html-texinfo \
1030 maybe-html-textutils \
1031 maybe-html-time \
1032 maybe-html-uudecode \
1033 maybe-html-wdiff \
1034 maybe-html-zip \
1035 maybe-html-zlib \
1036 maybe-html-gdb \
1037 maybe-html-expect \
1038 maybe-html-guile \
1039 maybe-html-tk \
1040 maybe-html-libtermcap \
1041 maybe-html-utils \
1042 maybe-html-gnattools
1044 .PHONY: html-target
1045 html-target: \
1046 maybe-html-target-libstdc++-v3 \
1047 maybe-html-target-libmudflap \
1048 maybe-html-target-libssp \
1049 maybe-html-target-newlib \
1050 maybe-html-target-libgfortran \
1051 maybe-html-target-libobjc \
1052 maybe-html-target-libtermcap \
1053 maybe-html-target-winsup \
1054 maybe-html-target-libgloss \
1055 maybe-html-target-libiberty \
1056 maybe-html-target-gperf \
1057 maybe-html-target-examples \
1058 maybe-html-target-libffi \
1059 maybe-html-target-libjava \
1060 maybe-html-target-zlib \
1061 maybe-html-target-boehm-gc \
1062 maybe-html-target-qthreads \
1063 maybe-html-target-rda \
1064 maybe-html-target-libada
1066 .PHONY: do-TAGS
1067 do-TAGS:
1068 @: $(MAKE); $(unstage)
1069 @r=`${PWD_COMMAND}`; export r; \
1070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1071 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1072 TAGS-target
1073 @: $(MAKE); $(stage)
1076 .PHONY: TAGS-host
1077 TAGS-host: \
1078 maybe-TAGS-ash \
1079 maybe-TAGS-autoconf \
1080 maybe-TAGS-automake \
1081 maybe-TAGS-bash \
1082 maybe-TAGS-bfd \
1083 maybe-TAGS-opcodes \
1084 maybe-TAGS-binutils \
1085 maybe-TAGS-bison \
1086 maybe-TAGS-byacc \
1087 maybe-TAGS-bzip2 \
1088 maybe-TAGS-dejagnu \
1089 maybe-TAGS-diff \
1090 maybe-TAGS-dosutils \
1091 maybe-TAGS-etc \
1092 maybe-TAGS-fastjar \
1093 maybe-TAGS-fileutils \
1094 maybe-TAGS-findutils \
1095 maybe-TAGS-find \
1096 maybe-TAGS-fixincludes \
1097 maybe-TAGS-flex \
1098 maybe-TAGS-gas \
1099 maybe-TAGS-gcc \
1100 maybe-TAGS-gawk \
1101 maybe-TAGS-gettext \
1102 maybe-TAGS-gnuserv \
1103 maybe-TAGS-gprof \
1104 maybe-TAGS-gzip \
1105 maybe-TAGS-hello \
1106 maybe-TAGS-indent \
1107 maybe-TAGS-intl \
1108 maybe-TAGS-tcl \
1109 maybe-TAGS-itcl \
1110 maybe-TAGS-ld \
1111 maybe-TAGS-libcpp \
1112 maybe-TAGS-libdecnumber \
1113 maybe-TAGS-libgui \
1114 maybe-TAGS-libiberty \
1115 maybe-TAGS-libtool \
1116 maybe-TAGS-m4 \
1117 maybe-TAGS-make \
1118 maybe-TAGS-mmalloc \
1119 maybe-TAGS-patch \
1120 maybe-TAGS-perl \
1121 maybe-TAGS-prms \
1122 maybe-TAGS-rcs \
1123 maybe-TAGS-readline \
1124 maybe-TAGS-release \
1125 maybe-TAGS-recode \
1126 maybe-TAGS-sed \
1127 maybe-TAGS-send-pr \
1128 maybe-TAGS-shellutils \
1129 maybe-TAGS-sid \
1130 maybe-TAGS-sim \
1131 maybe-TAGS-tar \
1132 maybe-TAGS-texinfo \
1133 maybe-TAGS-textutils \
1134 maybe-TAGS-time \
1135 maybe-TAGS-uudecode \
1136 maybe-TAGS-wdiff \
1137 maybe-TAGS-zip \
1138 maybe-TAGS-zlib \
1139 maybe-TAGS-gdb \
1140 maybe-TAGS-expect \
1141 maybe-TAGS-guile \
1142 maybe-TAGS-tk \
1143 maybe-TAGS-libtermcap \
1144 maybe-TAGS-utils \
1145 maybe-TAGS-gnattools
1147 .PHONY: TAGS-target
1148 TAGS-target: \
1149 maybe-TAGS-target-libstdc++-v3 \
1150 maybe-TAGS-target-libmudflap \
1151 maybe-TAGS-target-libssp \
1152 maybe-TAGS-target-newlib \
1153 maybe-TAGS-target-libgfortran \
1154 maybe-TAGS-target-libobjc \
1155 maybe-TAGS-target-libtermcap \
1156 maybe-TAGS-target-winsup \
1157 maybe-TAGS-target-libgloss \
1158 maybe-TAGS-target-libiberty \
1159 maybe-TAGS-target-gperf \
1160 maybe-TAGS-target-examples \
1161 maybe-TAGS-target-libffi \
1162 maybe-TAGS-target-libjava \
1163 maybe-TAGS-target-zlib \
1164 maybe-TAGS-target-boehm-gc \
1165 maybe-TAGS-target-qthreads \
1166 maybe-TAGS-target-rda \
1167 maybe-TAGS-target-libada
1169 .PHONY: do-install-info
1170 do-install-info:
1171 @: $(MAKE); $(unstage)
1172 @r=`${PWD_COMMAND}`; export r; \
1173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1174 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1175 install-info-target
1176 @: $(MAKE); $(stage)
1179 .PHONY: install-info-host
1180 install-info-host: \
1181 maybe-install-info-ash \
1182 maybe-install-info-autoconf \
1183 maybe-install-info-automake \
1184 maybe-install-info-bash \
1185 maybe-install-info-bfd \
1186 maybe-install-info-opcodes \
1187 maybe-install-info-binutils \
1188 maybe-install-info-bison \
1189 maybe-install-info-byacc \
1190 maybe-install-info-bzip2 \
1191 maybe-install-info-dejagnu \
1192 maybe-install-info-diff \
1193 maybe-install-info-dosutils \
1194 maybe-install-info-etc \
1195 maybe-install-info-fastjar \
1196 maybe-install-info-fileutils \
1197 maybe-install-info-findutils \
1198 maybe-install-info-find \
1199 maybe-install-info-fixincludes \
1200 maybe-install-info-flex \
1201 maybe-install-info-gas \
1202 maybe-install-info-gcc \
1203 maybe-install-info-gawk \
1204 maybe-install-info-gettext \
1205 maybe-install-info-gnuserv \
1206 maybe-install-info-gprof \
1207 maybe-install-info-gzip \
1208 maybe-install-info-hello \
1209 maybe-install-info-indent \
1210 maybe-install-info-intl \
1211 maybe-install-info-tcl \
1212 maybe-install-info-itcl \
1213 maybe-install-info-ld \
1214 maybe-install-info-libcpp \
1215 maybe-install-info-libdecnumber \
1216 maybe-install-info-libgui \
1217 maybe-install-info-libiberty \
1218 maybe-install-info-libtool \
1219 maybe-install-info-m4 \
1220 maybe-install-info-make \
1221 maybe-install-info-mmalloc \
1222 maybe-install-info-patch \
1223 maybe-install-info-perl \
1224 maybe-install-info-prms \
1225 maybe-install-info-rcs \
1226 maybe-install-info-readline \
1227 maybe-install-info-release \
1228 maybe-install-info-recode \
1229 maybe-install-info-sed \
1230 maybe-install-info-send-pr \
1231 maybe-install-info-shellutils \
1232 maybe-install-info-sid \
1233 maybe-install-info-sim \
1234 maybe-install-info-tar \
1235 maybe-install-info-texinfo \
1236 maybe-install-info-textutils \
1237 maybe-install-info-time \
1238 maybe-install-info-uudecode \
1239 maybe-install-info-wdiff \
1240 maybe-install-info-zip \
1241 maybe-install-info-zlib \
1242 maybe-install-info-gdb \
1243 maybe-install-info-expect \
1244 maybe-install-info-guile \
1245 maybe-install-info-tk \
1246 maybe-install-info-libtermcap \
1247 maybe-install-info-utils \
1248 maybe-install-info-gnattools
1250 .PHONY: install-info-target
1251 install-info-target: \
1252 maybe-install-info-target-libstdc++-v3 \
1253 maybe-install-info-target-libmudflap \
1254 maybe-install-info-target-libssp \
1255 maybe-install-info-target-newlib \
1256 maybe-install-info-target-libgfortran \
1257 maybe-install-info-target-libobjc \
1258 maybe-install-info-target-libtermcap \
1259 maybe-install-info-target-winsup \
1260 maybe-install-info-target-libgloss \
1261 maybe-install-info-target-libiberty \
1262 maybe-install-info-target-gperf \
1263 maybe-install-info-target-examples \
1264 maybe-install-info-target-libffi \
1265 maybe-install-info-target-libjava \
1266 maybe-install-info-target-zlib \
1267 maybe-install-info-target-boehm-gc \
1268 maybe-install-info-target-qthreads \
1269 maybe-install-info-target-rda \
1270 maybe-install-info-target-libada
1272 .PHONY: do-installcheck
1273 do-installcheck:
1274 @: $(MAKE); $(unstage)
1275 @r=`${PWD_COMMAND}`; export r; \
1276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1277 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1278 installcheck-target
1279 @: $(MAKE); $(stage)
1282 .PHONY: installcheck-host
1283 installcheck-host: \
1284 maybe-installcheck-ash \
1285 maybe-installcheck-autoconf \
1286 maybe-installcheck-automake \
1287 maybe-installcheck-bash \
1288 maybe-installcheck-bfd \
1289 maybe-installcheck-opcodes \
1290 maybe-installcheck-binutils \
1291 maybe-installcheck-bison \
1292 maybe-installcheck-byacc \
1293 maybe-installcheck-bzip2 \
1294 maybe-installcheck-dejagnu \
1295 maybe-installcheck-diff \
1296 maybe-installcheck-dosutils \
1297 maybe-installcheck-etc \
1298 maybe-installcheck-fastjar \
1299 maybe-installcheck-fileutils \
1300 maybe-installcheck-findutils \
1301 maybe-installcheck-find \
1302 maybe-installcheck-fixincludes \
1303 maybe-installcheck-flex \
1304 maybe-installcheck-gas \
1305 maybe-installcheck-gcc \
1306 maybe-installcheck-gawk \
1307 maybe-installcheck-gettext \
1308 maybe-installcheck-gnuserv \
1309 maybe-installcheck-gprof \
1310 maybe-installcheck-gzip \
1311 maybe-installcheck-hello \
1312 maybe-installcheck-indent \
1313 maybe-installcheck-intl \
1314 maybe-installcheck-tcl \
1315 maybe-installcheck-itcl \
1316 maybe-installcheck-ld \
1317 maybe-installcheck-libcpp \
1318 maybe-installcheck-libdecnumber \
1319 maybe-installcheck-libgui \
1320 maybe-installcheck-libiberty \
1321 maybe-installcheck-libtool \
1322 maybe-installcheck-m4 \
1323 maybe-installcheck-make \
1324 maybe-installcheck-mmalloc \
1325 maybe-installcheck-patch \
1326 maybe-installcheck-perl \
1327 maybe-installcheck-prms \
1328 maybe-installcheck-rcs \
1329 maybe-installcheck-readline \
1330 maybe-installcheck-release \
1331 maybe-installcheck-recode \
1332 maybe-installcheck-sed \
1333 maybe-installcheck-send-pr \
1334 maybe-installcheck-shellutils \
1335 maybe-installcheck-sid \
1336 maybe-installcheck-sim \
1337 maybe-installcheck-tar \
1338 maybe-installcheck-texinfo \
1339 maybe-installcheck-textutils \
1340 maybe-installcheck-time \
1341 maybe-installcheck-uudecode \
1342 maybe-installcheck-wdiff \
1343 maybe-installcheck-zip \
1344 maybe-installcheck-zlib \
1345 maybe-installcheck-gdb \
1346 maybe-installcheck-expect \
1347 maybe-installcheck-guile \
1348 maybe-installcheck-tk \
1349 maybe-installcheck-libtermcap \
1350 maybe-installcheck-utils \
1351 maybe-installcheck-gnattools
1353 .PHONY: installcheck-target
1354 installcheck-target: \
1355 maybe-installcheck-target-libstdc++-v3 \
1356 maybe-installcheck-target-libmudflap \
1357 maybe-installcheck-target-libssp \
1358 maybe-installcheck-target-newlib \
1359 maybe-installcheck-target-libgfortran \
1360 maybe-installcheck-target-libobjc \
1361 maybe-installcheck-target-libtermcap \
1362 maybe-installcheck-target-winsup \
1363 maybe-installcheck-target-libgloss \
1364 maybe-installcheck-target-libiberty \
1365 maybe-installcheck-target-gperf \
1366 maybe-installcheck-target-examples \
1367 maybe-installcheck-target-libffi \
1368 maybe-installcheck-target-libjava \
1369 maybe-installcheck-target-zlib \
1370 maybe-installcheck-target-boehm-gc \
1371 maybe-installcheck-target-qthreads \
1372 maybe-installcheck-target-rda \
1373 maybe-installcheck-target-libada
1375 .PHONY: do-mostlyclean
1376 do-mostlyclean:
1377 @: $(MAKE); $(unstage)
1378 @r=`${PWD_COMMAND}`; export r; \
1379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1380 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1381 mostlyclean-target
1382 @: $(MAKE); $(stage)
1385 .PHONY: mostlyclean-host
1386 mostlyclean-host: \
1387 maybe-mostlyclean-ash \
1388 maybe-mostlyclean-autoconf \
1389 maybe-mostlyclean-automake \
1390 maybe-mostlyclean-bash \
1391 maybe-mostlyclean-bfd \
1392 maybe-mostlyclean-opcodes \
1393 maybe-mostlyclean-binutils \
1394 maybe-mostlyclean-bison \
1395 maybe-mostlyclean-byacc \
1396 maybe-mostlyclean-bzip2 \
1397 maybe-mostlyclean-dejagnu \
1398 maybe-mostlyclean-diff \
1399 maybe-mostlyclean-dosutils \
1400 maybe-mostlyclean-etc \
1401 maybe-mostlyclean-fastjar \
1402 maybe-mostlyclean-fileutils \
1403 maybe-mostlyclean-findutils \
1404 maybe-mostlyclean-find \
1405 maybe-mostlyclean-fixincludes \
1406 maybe-mostlyclean-flex \
1407 maybe-mostlyclean-gas \
1408 maybe-mostlyclean-gcc \
1409 maybe-mostlyclean-gawk \
1410 maybe-mostlyclean-gettext \
1411 maybe-mostlyclean-gnuserv \
1412 maybe-mostlyclean-gprof \
1413 maybe-mostlyclean-gzip \
1414 maybe-mostlyclean-hello \
1415 maybe-mostlyclean-indent \
1416 maybe-mostlyclean-intl \
1417 maybe-mostlyclean-tcl \
1418 maybe-mostlyclean-itcl \
1419 maybe-mostlyclean-ld \
1420 maybe-mostlyclean-libcpp \
1421 maybe-mostlyclean-libdecnumber \
1422 maybe-mostlyclean-libgui \
1423 maybe-mostlyclean-libiberty \
1424 maybe-mostlyclean-libtool \
1425 maybe-mostlyclean-m4 \
1426 maybe-mostlyclean-make \
1427 maybe-mostlyclean-mmalloc \
1428 maybe-mostlyclean-patch \
1429 maybe-mostlyclean-perl \
1430 maybe-mostlyclean-prms \
1431 maybe-mostlyclean-rcs \
1432 maybe-mostlyclean-readline \
1433 maybe-mostlyclean-release \
1434 maybe-mostlyclean-recode \
1435 maybe-mostlyclean-sed \
1436 maybe-mostlyclean-send-pr \
1437 maybe-mostlyclean-shellutils \
1438 maybe-mostlyclean-sid \
1439 maybe-mostlyclean-sim \
1440 maybe-mostlyclean-tar \
1441 maybe-mostlyclean-texinfo \
1442 maybe-mostlyclean-textutils \
1443 maybe-mostlyclean-time \
1444 maybe-mostlyclean-uudecode \
1445 maybe-mostlyclean-wdiff \
1446 maybe-mostlyclean-zip \
1447 maybe-mostlyclean-zlib \
1448 maybe-mostlyclean-gdb \
1449 maybe-mostlyclean-expect \
1450 maybe-mostlyclean-guile \
1451 maybe-mostlyclean-tk \
1452 maybe-mostlyclean-libtermcap \
1453 maybe-mostlyclean-utils \
1454 maybe-mostlyclean-gnattools
1456 .PHONY: mostlyclean-target
1457 mostlyclean-target: \
1458 maybe-mostlyclean-target-libstdc++-v3 \
1459 maybe-mostlyclean-target-libmudflap \
1460 maybe-mostlyclean-target-libssp \
1461 maybe-mostlyclean-target-newlib \
1462 maybe-mostlyclean-target-libgfortran \
1463 maybe-mostlyclean-target-libobjc \
1464 maybe-mostlyclean-target-libtermcap \
1465 maybe-mostlyclean-target-winsup \
1466 maybe-mostlyclean-target-libgloss \
1467 maybe-mostlyclean-target-libiberty \
1468 maybe-mostlyclean-target-gperf \
1469 maybe-mostlyclean-target-examples \
1470 maybe-mostlyclean-target-libffi \
1471 maybe-mostlyclean-target-libjava \
1472 maybe-mostlyclean-target-zlib \
1473 maybe-mostlyclean-target-boehm-gc \
1474 maybe-mostlyclean-target-qthreads \
1475 maybe-mostlyclean-target-rda \
1476 maybe-mostlyclean-target-libada
1478 .PHONY: do-clean
1479 do-clean:
1480 @: $(MAKE); $(unstage)
1481 @r=`${PWD_COMMAND}`; export r; \
1482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1483 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1484 clean-target
1485 @: $(MAKE); $(stage)
1488 .PHONY: clean-host
1489 clean-host: \
1490 maybe-clean-ash \
1491 maybe-clean-autoconf \
1492 maybe-clean-automake \
1493 maybe-clean-bash \
1494 maybe-clean-bfd \
1495 maybe-clean-opcodes \
1496 maybe-clean-binutils \
1497 maybe-clean-bison \
1498 maybe-clean-byacc \
1499 maybe-clean-bzip2 \
1500 maybe-clean-dejagnu \
1501 maybe-clean-diff \
1502 maybe-clean-dosutils \
1503 maybe-clean-etc \
1504 maybe-clean-fastjar \
1505 maybe-clean-fileutils \
1506 maybe-clean-findutils \
1507 maybe-clean-find \
1508 maybe-clean-fixincludes \
1509 maybe-clean-flex \
1510 maybe-clean-gas \
1511 maybe-clean-gcc \
1512 maybe-clean-gawk \
1513 maybe-clean-gettext \
1514 maybe-clean-gnuserv \
1515 maybe-clean-gprof \
1516 maybe-clean-gzip \
1517 maybe-clean-hello \
1518 maybe-clean-indent \
1519 maybe-clean-intl \
1520 maybe-clean-tcl \
1521 maybe-clean-itcl \
1522 maybe-clean-ld \
1523 maybe-clean-libcpp \
1524 maybe-clean-libdecnumber \
1525 maybe-clean-libgui \
1526 maybe-clean-libiberty \
1527 maybe-clean-libtool \
1528 maybe-clean-m4 \
1529 maybe-clean-make \
1530 maybe-clean-mmalloc \
1531 maybe-clean-patch \
1532 maybe-clean-perl \
1533 maybe-clean-prms \
1534 maybe-clean-rcs \
1535 maybe-clean-readline \
1536 maybe-clean-release \
1537 maybe-clean-recode \
1538 maybe-clean-sed \
1539 maybe-clean-send-pr \
1540 maybe-clean-shellutils \
1541 maybe-clean-sid \
1542 maybe-clean-sim \
1543 maybe-clean-tar \
1544 maybe-clean-texinfo \
1545 maybe-clean-textutils \
1546 maybe-clean-time \
1547 maybe-clean-uudecode \
1548 maybe-clean-wdiff \
1549 maybe-clean-zip \
1550 maybe-clean-zlib \
1551 maybe-clean-gdb \
1552 maybe-clean-expect \
1553 maybe-clean-guile \
1554 maybe-clean-tk \
1555 maybe-clean-libtermcap \
1556 maybe-clean-utils \
1557 maybe-clean-gnattools
1559 .PHONY: clean-target
1560 clean-target: \
1561 maybe-clean-target-libstdc++-v3 \
1562 maybe-clean-target-libmudflap \
1563 maybe-clean-target-libssp \
1564 maybe-clean-target-newlib \
1565 maybe-clean-target-libgfortran \
1566 maybe-clean-target-libobjc \
1567 maybe-clean-target-libtermcap \
1568 maybe-clean-target-winsup \
1569 maybe-clean-target-libgloss \
1570 maybe-clean-target-libiberty \
1571 maybe-clean-target-gperf \
1572 maybe-clean-target-examples \
1573 maybe-clean-target-libffi \
1574 maybe-clean-target-libjava \
1575 maybe-clean-target-zlib \
1576 maybe-clean-target-boehm-gc \
1577 maybe-clean-target-qthreads \
1578 maybe-clean-target-rda \
1579 maybe-clean-target-libada
1581 .PHONY: do-distclean
1582 do-distclean:
1583 @: $(MAKE); $(unstage)
1584 @r=`${PWD_COMMAND}`; export r; \
1585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1586 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1587 distclean-target
1588 @: $(MAKE); $(stage)
1591 .PHONY: distclean-host
1592 distclean-host: \
1593 maybe-distclean-ash \
1594 maybe-distclean-autoconf \
1595 maybe-distclean-automake \
1596 maybe-distclean-bash \
1597 maybe-distclean-bfd \
1598 maybe-distclean-opcodes \
1599 maybe-distclean-binutils \
1600 maybe-distclean-bison \
1601 maybe-distclean-byacc \
1602 maybe-distclean-bzip2 \
1603 maybe-distclean-dejagnu \
1604 maybe-distclean-diff \
1605 maybe-distclean-dosutils \
1606 maybe-distclean-etc \
1607 maybe-distclean-fastjar \
1608 maybe-distclean-fileutils \
1609 maybe-distclean-findutils \
1610 maybe-distclean-find \
1611 maybe-distclean-fixincludes \
1612 maybe-distclean-flex \
1613 maybe-distclean-gas \
1614 maybe-distclean-gcc \
1615 maybe-distclean-gawk \
1616 maybe-distclean-gettext \
1617 maybe-distclean-gnuserv \
1618 maybe-distclean-gprof \
1619 maybe-distclean-gzip \
1620 maybe-distclean-hello \
1621 maybe-distclean-indent \
1622 maybe-distclean-intl \
1623 maybe-distclean-tcl \
1624 maybe-distclean-itcl \
1625 maybe-distclean-ld \
1626 maybe-distclean-libcpp \
1627 maybe-distclean-libdecnumber \
1628 maybe-distclean-libgui \
1629 maybe-distclean-libiberty \
1630 maybe-distclean-libtool \
1631 maybe-distclean-m4 \
1632 maybe-distclean-make \
1633 maybe-distclean-mmalloc \
1634 maybe-distclean-patch \
1635 maybe-distclean-perl \
1636 maybe-distclean-prms \
1637 maybe-distclean-rcs \
1638 maybe-distclean-readline \
1639 maybe-distclean-release \
1640 maybe-distclean-recode \
1641 maybe-distclean-sed \
1642 maybe-distclean-send-pr \
1643 maybe-distclean-shellutils \
1644 maybe-distclean-sid \
1645 maybe-distclean-sim \
1646 maybe-distclean-tar \
1647 maybe-distclean-texinfo \
1648 maybe-distclean-textutils \
1649 maybe-distclean-time \
1650 maybe-distclean-uudecode \
1651 maybe-distclean-wdiff \
1652 maybe-distclean-zip \
1653 maybe-distclean-zlib \
1654 maybe-distclean-gdb \
1655 maybe-distclean-expect \
1656 maybe-distclean-guile \
1657 maybe-distclean-tk \
1658 maybe-distclean-libtermcap \
1659 maybe-distclean-utils \
1660 maybe-distclean-gnattools
1662 .PHONY: distclean-target
1663 distclean-target: \
1664 maybe-distclean-target-libstdc++-v3 \
1665 maybe-distclean-target-libmudflap \
1666 maybe-distclean-target-libssp \
1667 maybe-distclean-target-newlib \
1668 maybe-distclean-target-libgfortran \
1669 maybe-distclean-target-libobjc \
1670 maybe-distclean-target-libtermcap \
1671 maybe-distclean-target-winsup \
1672 maybe-distclean-target-libgloss \
1673 maybe-distclean-target-libiberty \
1674 maybe-distclean-target-gperf \
1675 maybe-distclean-target-examples \
1676 maybe-distclean-target-libffi \
1677 maybe-distclean-target-libjava \
1678 maybe-distclean-target-zlib \
1679 maybe-distclean-target-boehm-gc \
1680 maybe-distclean-target-qthreads \
1681 maybe-distclean-target-rda \
1682 maybe-distclean-target-libada
1684 .PHONY: do-maintainer-clean
1685 do-maintainer-clean:
1686 @: $(MAKE); $(unstage)
1687 @r=`${PWD_COMMAND}`; export r; \
1688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1689 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1690 maintainer-clean-target
1691 @: $(MAKE); $(stage)
1694 .PHONY: maintainer-clean-host
1695 maintainer-clean-host: \
1696 maybe-maintainer-clean-ash \
1697 maybe-maintainer-clean-autoconf \
1698 maybe-maintainer-clean-automake \
1699 maybe-maintainer-clean-bash \
1700 maybe-maintainer-clean-bfd \
1701 maybe-maintainer-clean-opcodes \
1702 maybe-maintainer-clean-binutils \
1703 maybe-maintainer-clean-bison \
1704 maybe-maintainer-clean-byacc \
1705 maybe-maintainer-clean-bzip2 \
1706 maybe-maintainer-clean-dejagnu \
1707 maybe-maintainer-clean-diff \
1708 maybe-maintainer-clean-dosutils \
1709 maybe-maintainer-clean-etc \
1710 maybe-maintainer-clean-fastjar \
1711 maybe-maintainer-clean-fileutils \
1712 maybe-maintainer-clean-findutils \
1713 maybe-maintainer-clean-find \
1714 maybe-maintainer-clean-fixincludes \
1715 maybe-maintainer-clean-flex \
1716 maybe-maintainer-clean-gas \
1717 maybe-maintainer-clean-gcc \
1718 maybe-maintainer-clean-gawk \
1719 maybe-maintainer-clean-gettext \
1720 maybe-maintainer-clean-gnuserv \
1721 maybe-maintainer-clean-gprof \
1722 maybe-maintainer-clean-gzip \
1723 maybe-maintainer-clean-hello \
1724 maybe-maintainer-clean-indent \
1725 maybe-maintainer-clean-intl \
1726 maybe-maintainer-clean-tcl \
1727 maybe-maintainer-clean-itcl \
1728 maybe-maintainer-clean-ld \
1729 maybe-maintainer-clean-libcpp \
1730 maybe-maintainer-clean-libdecnumber \
1731 maybe-maintainer-clean-libgui \
1732 maybe-maintainer-clean-libiberty \
1733 maybe-maintainer-clean-libtool \
1734 maybe-maintainer-clean-m4 \
1735 maybe-maintainer-clean-make \
1736 maybe-maintainer-clean-mmalloc \
1737 maybe-maintainer-clean-patch \
1738 maybe-maintainer-clean-perl \
1739 maybe-maintainer-clean-prms \
1740 maybe-maintainer-clean-rcs \
1741 maybe-maintainer-clean-readline \
1742 maybe-maintainer-clean-release \
1743 maybe-maintainer-clean-recode \
1744 maybe-maintainer-clean-sed \
1745 maybe-maintainer-clean-send-pr \
1746 maybe-maintainer-clean-shellutils \
1747 maybe-maintainer-clean-sid \
1748 maybe-maintainer-clean-sim \
1749 maybe-maintainer-clean-tar \
1750 maybe-maintainer-clean-texinfo \
1751 maybe-maintainer-clean-textutils \
1752 maybe-maintainer-clean-time \
1753 maybe-maintainer-clean-uudecode \
1754 maybe-maintainer-clean-wdiff \
1755 maybe-maintainer-clean-zip \
1756 maybe-maintainer-clean-zlib \
1757 maybe-maintainer-clean-gdb \
1758 maybe-maintainer-clean-expect \
1759 maybe-maintainer-clean-guile \
1760 maybe-maintainer-clean-tk \
1761 maybe-maintainer-clean-libtermcap \
1762 maybe-maintainer-clean-utils \
1763 maybe-maintainer-clean-gnattools
1765 .PHONY: maintainer-clean-target
1766 maintainer-clean-target: \
1767 maybe-maintainer-clean-target-libstdc++-v3 \
1768 maybe-maintainer-clean-target-libmudflap \
1769 maybe-maintainer-clean-target-libssp \
1770 maybe-maintainer-clean-target-newlib \
1771 maybe-maintainer-clean-target-libgfortran \
1772 maybe-maintainer-clean-target-libobjc \
1773 maybe-maintainer-clean-target-libtermcap \
1774 maybe-maintainer-clean-target-winsup \
1775 maybe-maintainer-clean-target-libgloss \
1776 maybe-maintainer-clean-target-libiberty \
1777 maybe-maintainer-clean-target-gperf \
1778 maybe-maintainer-clean-target-examples \
1779 maybe-maintainer-clean-target-libffi \
1780 maybe-maintainer-clean-target-libjava \
1781 maybe-maintainer-clean-target-zlib \
1782 maybe-maintainer-clean-target-boehm-gc \
1783 maybe-maintainer-clean-target-qthreads \
1784 maybe-maintainer-clean-target-rda \
1785 maybe-maintainer-clean-target-libada
1788 # Here are the targets which correspond to the do-X targets.
1790 .PHONY: info installcheck dvi html install-info
1791 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1792 .PHONY: local-clean local-distclean local-maintainer-clean
1793 info: do-info
1794 installcheck: do-installcheck
1795 dvi: do-dvi
1796 html: do-html
1798 # Make sure makeinfo is built before we do a `make info', if we're
1799 # in fact building texinfo.
1800 do-info: maybe-all-texinfo
1802 install-info: do-install-info dir.info
1803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1804 if [ -f dir.info ] ; then \
1805 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1806 else true ; fi
1808 local-clean:
1809 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1811 local-distclean:
1812 -rm -f Makefile config.status config.cache mh-frag mt-frag
1813 -rm -f maybedep.tmp serdep.tmp
1814 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1815 rm -rf $(TARGET_SUBDIR); \
1816 else true; fi
1817 -rm -rf $(BUILD_SUBDIR)
1818 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1819 rm -rf $(HOST_SUBDIR); \
1820 else true; fi
1821 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1822 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1823 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1824 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1825 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1827 local-maintainer-clean:
1828 @echo "This command is intended for maintainers to use;"
1829 @echo "it deletes files that may require special tools to rebuild."
1831 clean: do-clean local-clean
1832 mostlyclean: do-mostlyclean local-clean
1833 distclean: do-distclean local-clean local-distclean
1834 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1835 maintainer-clean: local-distclean
1836 realclean: maintainer-clean
1838 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1839 clean-target: clean-target-libgcc
1840 clean-target-libgcc:
1841 test ! -d gcc || (cd gcc && $(MAKE) $@)
1843 # Check target.
1845 .PHONY: check do-check
1846 check: do-check
1848 # Only include modules actually being configured and built.
1849 .PHONY: check-host
1850 check-host: \
1851 maybe-check-ash \
1852 maybe-check-autoconf \
1853 maybe-check-automake \
1854 maybe-check-bash \
1855 maybe-check-bfd \
1856 maybe-check-opcodes \
1857 maybe-check-binutils \
1858 maybe-check-bison \
1859 maybe-check-byacc \
1860 maybe-check-bzip2 \
1861 maybe-check-dejagnu \
1862 maybe-check-diff \
1863 maybe-check-dosutils \
1864 maybe-check-etc \
1865 maybe-check-fastjar \
1866 maybe-check-fileutils \
1867 maybe-check-findutils \
1868 maybe-check-find \
1869 maybe-check-fixincludes \
1870 maybe-check-flex \
1871 maybe-check-gas \
1872 maybe-check-gcc \
1873 maybe-check-gawk \
1874 maybe-check-gettext \
1875 maybe-check-gnuserv \
1876 maybe-check-gprof \
1877 maybe-check-gzip \
1878 maybe-check-hello \
1879 maybe-check-indent \
1880 maybe-check-intl \
1881 maybe-check-tcl \
1882 maybe-check-itcl \
1883 maybe-check-ld \
1884 maybe-check-libcpp \
1885 maybe-check-libdecnumber \
1886 maybe-check-libgui \
1887 maybe-check-libiberty \
1888 maybe-check-libtool \
1889 maybe-check-m4 \
1890 maybe-check-make \
1891 maybe-check-mmalloc \
1892 maybe-check-patch \
1893 maybe-check-perl \
1894 maybe-check-prms \
1895 maybe-check-rcs \
1896 maybe-check-readline \
1897 maybe-check-release \
1898 maybe-check-recode \
1899 maybe-check-sed \
1900 maybe-check-send-pr \
1901 maybe-check-shellutils \
1902 maybe-check-sid \
1903 maybe-check-sim \
1904 maybe-check-tar \
1905 maybe-check-texinfo \
1906 maybe-check-textutils \
1907 maybe-check-time \
1908 maybe-check-uudecode \
1909 maybe-check-wdiff \
1910 maybe-check-zip \
1911 maybe-check-zlib \
1912 maybe-check-gdb \
1913 maybe-check-expect \
1914 maybe-check-guile \
1915 maybe-check-tk \
1916 maybe-check-libtermcap \
1917 maybe-check-utils \
1918 maybe-check-gnattools
1920 .PHONY: check-target
1921 check-target: \
1922 maybe-check-target-libstdc++-v3 \
1923 maybe-check-target-libmudflap \
1924 maybe-check-target-libssp \
1925 maybe-check-target-newlib \
1926 maybe-check-target-libgfortran \
1927 maybe-check-target-libobjc \
1928 maybe-check-target-libtermcap \
1929 maybe-check-target-winsup \
1930 maybe-check-target-libgloss \
1931 maybe-check-target-libiberty \
1932 maybe-check-target-gperf \
1933 maybe-check-target-examples \
1934 maybe-check-target-libffi \
1935 maybe-check-target-libjava \
1936 maybe-check-target-zlib \
1937 maybe-check-target-boehm-gc \
1938 maybe-check-target-qthreads \
1939 maybe-check-target-rda \
1940 maybe-check-target-libada
1942 do-check:
1943 @: $(MAKE); $(unstage)
1944 @r=`${PWD_COMMAND}`; export r; \
1945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1946 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1947 @: $(MAKE); $(stage)
1949 # Automated reporting of test results.
1951 warning.log: build.log
1952 $(srcdir)/contrib/warn_summary build.log > $@
1954 mail-report.log:
1955 if test x'$(BOOT_CFLAGS)' != x''; then \
1956 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1957 fi; \
1958 $(srcdir)/contrib/test_summary -t >$@
1959 chmod +x $@
1960 echo If you really want to send e-mail, run ./$@ now
1962 mail-report-with-warnings.log: warning.log
1963 if test x'$(BOOT_CFLAGS)' != x''; then \
1964 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1965 fi; \
1966 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1967 chmod +x $@
1968 echo If you really want to send e-mail, run ./$@ now
1970 # Installation targets.
1972 .PHONY: install uninstall
1973 install:
1974 @: $(MAKE); $(unstage)
1975 @r=`${PWD_COMMAND}`; export r; \
1976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
1978 @: $(MAKE); $(stage)
1980 .PHONY: install-host-nogcc
1981 install-host-nogcc: \
1982 maybe-install-ash \
1983 maybe-install-autoconf \
1984 maybe-install-automake \
1985 maybe-install-bash \
1986 maybe-install-bfd \
1987 maybe-install-opcodes \
1988 maybe-install-binutils \
1989 maybe-install-bison \
1990 maybe-install-byacc \
1991 maybe-install-bzip2 \
1992 maybe-install-dejagnu \
1993 maybe-install-diff \
1994 maybe-install-dosutils \
1995 maybe-install-etc \
1996 maybe-install-fastjar \
1997 maybe-install-fileutils \
1998 maybe-install-findutils \
1999 maybe-install-find \
2000 maybe-install-fixincludes \
2001 maybe-install-flex \
2002 maybe-install-gas \
2003 maybe-install-gawk \
2004 maybe-install-gettext \
2005 maybe-install-gnuserv \
2006 maybe-install-gprof \
2007 maybe-install-gzip \
2008 maybe-install-hello \
2009 maybe-install-indent \
2010 maybe-install-intl \
2011 maybe-install-tcl \
2012 maybe-install-itcl \
2013 maybe-install-ld \
2014 maybe-install-libcpp \
2015 maybe-install-libdecnumber \
2016 maybe-install-libgui \
2017 maybe-install-libiberty \
2018 maybe-install-libtool \
2019 maybe-install-m4 \
2020 maybe-install-make \
2021 maybe-install-mmalloc \
2022 maybe-install-patch \
2023 maybe-install-perl \
2024 maybe-install-prms \
2025 maybe-install-rcs \
2026 maybe-install-readline \
2027 maybe-install-release \
2028 maybe-install-recode \
2029 maybe-install-sed \
2030 maybe-install-send-pr \
2031 maybe-install-shellutils \
2032 maybe-install-sid \
2033 maybe-install-sim \
2034 maybe-install-tar \
2035 maybe-install-texinfo \
2036 maybe-install-textutils \
2037 maybe-install-time \
2038 maybe-install-uudecode \
2039 maybe-install-wdiff \
2040 maybe-install-zip \
2041 maybe-install-zlib \
2042 maybe-install-gdb \
2043 maybe-install-expect \
2044 maybe-install-guile \
2045 maybe-install-tk \
2046 maybe-install-libtermcap \
2047 maybe-install-utils \
2048 maybe-install-gnattools
2050 .PHONY: install-host
2051 install-host: \
2052 maybe-install-ash \
2053 maybe-install-autoconf \
2054 maybe-install-automake \
2055 maybe-install-bash \
2056 maybe-install-bfd \
2057 maybe-install-opcodes \
2058 maybe-install-binutils \
2059 maybe-install-bison \
2060 maybe-install-byacc \
2061 maybe-install-bzip2 \
2062 maybe-install-dejagnu \
2063 maybe-install-diff \
2064 maybe-install-dosutils \
2065 maybe-install-etc \
2066 maybe-install-fastjar \
2067 maybe-install-fileutils \
2068 maybe-install-findutils \
2069 maybe-install-find \
2070 maybe-install-fixincludes \
2071 maybe-install-flex \
2072 maybe-install-gas \
2073 maybe-install-gcc \
2074 maybe-install-gawk \
2075 maybe-install-gettext \
2076 maybe-install-gnuserv \
2077 maybe-install-gprof \
2078 maybe-install-gzip \
2079 maybe-install-hello \
2080 maybe-install-indent \
2081 maybe-install-intl \
2082 maybe-install-tcl \
2083 maybe-install-itcl \
2084 maybe-install-ld \
2085 maybe-install-libcpp \
2086 maybe-install-libdecnumber \
2087 maybe-install-libgui \
2088 maybe-install-libiberty \
2089 maybe-install-libtool \
2090 maybe-install-m4 \
2091 maybe-install-make \
2092 maybe-install-mmalloc \
2093 maybe-install-patch \
2094 maybe-install-perl \
2095 maybe-install-prms \
2096 maybe-install-rcs \
2097 maybe-install-readline \
2098 maybe-install-release \
2099 maybe-install-recode \
2100 maybe-install-sed \
2101 maybe-install-send-pr \
2102 maybe-install-shellutils \
2103 maybe-install-sid \
2104 maybe-install-sim \
2105 maybe-install-tar \
2106 maybe-install-texinfo \
2107 maybe-install-textutils \
2108 maybe-install-time \
2109 maybe-install-uudecode \
2110 maybe-install-wdiff \
2111 maybe-install-zip \
2112 maybe-install-zlib \
2113 maybe-install-gdb \
2114 maybe-install-expect \
2115 maybe-install-guile \
2116 maybe-install-tk \
2117 maybe-install-libtermcap \
2118 maybe-install-utils \
2119 maybe-install-gnattools
2121 .PHONY: install-target
2122 install-target: \
2123 maybe-install-target-libstdc++-v3 \
2124 maybe-install-target-libmudflap \
2125 maybe-install-target-libssp \
2126 maybe-install-target-newlib \
2127 maybe-install-target-libgfortran \
2128 maybe-install-target-libobjc \
2129 maybe-install-target-libtermcap \
2130 maybe-install-target-winsup \
2131 maybe-install-target-libgloss \
2132 maybe-install-target-libiberty \
2133 maybe-install-target-gperf \
2134 maybe-install-target-examples \
2135 maybe-install-target-libffi \
2136 maybe-install-target-libjava \
2137 maybe-install-target-zlib \
2138 maybe-install-target-boehm-gc \
2139 maybe-install-target-qthreads \
2140 maybe-install-target-rda \
2141 maybe-install-target-libada
2143 uninstall:
2144 @echo "the uninstall target is not supported in this tree"
2146 .PHONY: install.all
2147 install.all: install-no-fixedincludes
2148 @if [ -f ./gcc/Makefile ] ; then \
2149 r=`${PWD_COMMAND}` ; export r ; \
2150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2151 $(HOST_EXPORTS) \
2152 (cd ./gcc && \
2153 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2154 else \
2155 true ; \
2158 # install-no-fixedincludes is used because Cygnus can not distribute
2159 # the fixed header files.
2160 .PHONY: install-no-fixedincludes
2161 install-no-fixedincludes: installdirs install-host-nogcc \
2162 install-target gcc-no-fixedincludes
2164 ### other supporting targets
2166 MAKEDIRS= \
2167 $(DESTDIR)$(prefix) \
2168 $(DESTDIR)$(exec_prefix)
2169 .PHONY: installdirs
2170 installdirs: mkinstalldirs
2171 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2173 dir.info: do-install-info
2174 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2175 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2176 mv -f dir.info.new dir.info ; \
2177 else true ; \
2180 dist:
2181 @echo "Building a full distribution of this tree isn't done"
2182 @echo "via 'make dist'. Check out the etc/ subdirectory"
2184 etags tags: TAGS
2186 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2187 # ability to use several tags files at once, so there is probably no need
2188 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2189 # (if we felt like it) have this Makefile write a piece of elisp which
2190 # the user could load to tell emacs19 where all the TAGS files we just
2191 # built are.
2192 TAGS: do-TAGS
2194 # ------------------------------------
2195 # Macros for configure and all targets
2196 # ------------------------------------
2202 # --------------------------------------
2203 # Modules which run on the build machine
2204 # --------------------------------------
2207 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2208 maybe-configure-build-libiberty:
2209 @if build-libiberty
2210 maybe-configure-build-libiberty: configure-build-libiberty
2211 configure-build-libiberty:
2212 @: $(MAKE); $(unstage)
2213 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2214 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2215 r=`${PWD_COMMAND}`; export r; \
2216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2217 $(BUILD_EXPORTS) \
2218 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2219 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2220 case $(srcdir) in \
2221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2222 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2224 esac; \
2225 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2226 libsrcdir="$$s/libiberty"; \
2227 rm -f no-such-file || : ; \
2228 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2229 $(BUILD_CONFIGARGS) $${srcdiroption} \
2230 || exit 1
2231 @endif build-libiberty
2237 .PHONY: all-build-libiberty maybe-all-build-libiberty
2238 maybe-all-build-libiberty:
2239 @if build-libiberty
2240 TARGET-build-libiberty=all
2241 maybe-all-build-libiberty: all-build-libiberty
2242 all-build-libiberty: configure-build-libiberty
2243 @: $(MAKE); $(unstage)
2244 @r=`${PWD_COMMAND}`; export r; \
2245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2246 $(BUILD_EXPORTS) \
2247 (cd $(BUILD_SUBDIR)/libiberty && \
2248 $(MAKE) $(TARGET-build-libiberty))
2249 @endif build-libiberty
2255 .PHONY: configure-build-bison maybe-configure-build-bison
2256 maybe-configure-build-bison:
2257 @if build-bison
2258 maybe-configure-build-bison: configure-build-bison
2259 configure-build-bison:
2260 @: $(MAKE); $(unstage)
2261 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2262 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2263 r=`${PWD_COMMAND}`; export r; \
2264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2265 $(BUILD_EXPORTS) \
2266 echo Configuring in $(BUILD_SUBDIR)/bison; \
2267 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2268 case $(srcdir) in \
2269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2270 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2272 esac; \
2273 srcdiroption="--srcdir=$${topdir}/bison"; \
2274 libsrcdir="$$s/bison"; \
2275 rm -f no-such-file || : ; \
2276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2277 $(BUILD_CONFIGARGS) $${srcdiroption} \
2278 || exit 1
2279 @endif build-bison
2285 .PHONY: all-build-bison maybe-all-build-bison
2286 maybe-all-build-bison:
2287 @if build-bison
2288 TARGET-build-bison=all
2289 maybe-all-build-bison: all-build-bison
2290 all-build-bison: configure-build-bison
2291 @: $(MAKE); $(unstage)
2292 @r=`${PWD_COMMAND}`; export r; \
2293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2294 $(BUILD_EXPORTS) \
2295 (cd $(BUILD_SUBDIR)/bison && \
2296 $(MAKE) $(TARGET-build-bison))
2297 @endif build-bison
2303 .PHONY: configure-build-byacc maybe-configure-build-byacc
2304 maybe-configure-build-byacc:
2305 @if build-byacc
2306 maybe-configure-build-byacc: configure-build-byacc
2307 configure-build-byacc:
2308 @: $(MAKE); $(unstage)
2309 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2310 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2311 r=`${PWD_COMMAND}`; export r; \
2312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2313 $(BUILD_EXPORTS) \
2314 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2315 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2316 case $(srcdir) in \
2317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2318 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2320 esac; \
2321 srcdiroption="--srcdir=$${topdir}/byacc"; \
2322 libsrcdir="$$s/byacc"; \
2323 rm -f no-such-file || : ; \
2324 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2325 $(BUILD_CONFIGARGS) $${srcdiroption} \
2326 || exit 1
2327 @endif build-byacc
2333 .PHONY: all-build-byacc maybe-all-build-byacc
2334 maybe-all-build-byacc:
2335 @if build-byacc
2336 TARGET-build-byacc=all
2337 maybe-all-build-byacc: all-build-byacc
2338 all-build-byacc: configure-build-byacc
2339 @: $(MAKE); $(unstage)
2340 @r=`${PWD_COMMAND}`; export r; \
2341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2342 $(BUILD_EXPORTS) \
2343 (cd $(BUILD_SUBDIR)/byacc && \
2344 $(MAKE) $(TARGET-build-byacc))
2345 @endif build-byacc
2351 .PHONY: configure-build-flex maybe-configure-build-flex
2352 maybe-configure-build-flex:
2353 @if build-flex
2354 maybe-configure-build-flex: configure-build-flex
2355 configure-build-flex:
2356 @: $(MAKE); $(unstage)
2357 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2358 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2359 r=`${PWD_COMMAND}`; export r; \
2360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2361 $(BUILD_EXPORTS) \
2362 echo Configuring in $(BUILD_SUBDIR)/flex; \
2363 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2364 case $(srcdir) in \
2365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2366 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2368 esac; \
2369 srcdiroption="--srcdir=$${topdir}/flex"; \
2370 libsrcdir="$$s/flex"; \
2371 rm -f no-such-file || : ; \
2372 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2373 $(BUILD_CONFIGARGS) $${srcdiroption} \
2374 || exit 1
2375 @endif build-flex
2381 .PHONY: all-build-flex maybe-all-build-flex
2382 maybe-all-build-flex:
2383 @if build-flex
2384 TARGET-build-flex=all
2385 maybe-all-build-flex: all-build-flex
2386 all-build-flex: configure-build-flex
2387 @: $(MAKE); $(unstage)
2388 @r=`${PWD_COMMAND}`; export r; \
2389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 $(BUILD_EXPORTS) \
2391 (cd $(BUILD_SUBDIR)/flex && \
2392 $(MAKE) $(TARGET-build-flex))
2393 @endif build-flex
2399 .PHONY: configure-build-m4 maybe-configure-build-m4
2400 maybe-configure-build-m4:
2401 @if build-m4
2402 maybe-configure-build-m4: configure-build-m4
2403 configure-build-m4:
2404 @: $(MAKE); $(unstage)
2405 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2406 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2407 r=`${PWD_COMMAND}`; export r; \
2408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2409 $(BUILD_EXPORTS) \
2410 echo Configuring in $(BUILD_SUBDIR)/m4; \
2411 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2412 case $(srcdir) in \
2413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2414 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2416 esac; \
2417 srcdiroption="--srcdir=$${topdir}/m4"; \
2418 libsrcdir="$$s/m4"; \
2419 rm -f no-such-file || : ; \
2420 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2421 $(BUILD_CONFIGARGS) $${srcdiroption} \
2422 || exit 1
2423 @endif build-m4
2429 .PHONY: all-build-m4 maybe-all-build-m4
2430 maybe-all-build-m4:
2431 @if build-m4
2432 TARGET-build-m4=all
2433 maybe-all-build-m4: all-build-m4
2434 all-build-m4: configure-build-m4
2435 @: $(MAKE); $(unstage)
2436 @r=`${PWD_COMMAND}`; export r; \
2437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2438 $(BUILD_EXPORTS) \
2439 (cd $(BUILD_SUBDIR)/m4 && \
2440 $(MAKE) $(TARGET-build-m4))
2441 @endif build-m4
2447 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2448 maybe-configure-build-texinfo:
2449 @if build-texinfo
2450 maybe-configure-build-texinfo: configure-build-texinfo
2451 configure-build-texinfo:
2452 @: $(MAKE); $(unstage)
2453 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2454 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2455 r=`${PWD_COMMAND}`; export r; \
2456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2457 $(BUILD_EXPORTS) \
2458 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2459 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2460 case $(srcdir) in \
2461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2462 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2464 esac; \
2465 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2466 libsrcdir="$$s/texinfo"; \
2467 rm -f no-such-file || : ; \
2468 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2469 $(BUILD_CONFIGARGS) $${srcdiroption} \
2470 || exit 1
2471 @endif build-texinfo
2477 .PHONY: all-build-texinfo maybe-all-build-texinfo
2478 maybe-all-build-texinfo:
2479 @if build-texinfo
2480 TARGET-build-texinfo=all
2481 maybe-all-build-texinfo: all-build-texinfo
2482 all-build-texinfo: configure-build-texinfo
2483 @: $(MAKE); $(unstage)
2484 @r=`${PWD_COMMAND}`; export r; \
2485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2486 $(BUILD_EXPORTS) \
2487 (cd $(BUILD_SUBDIR)/texinfo && \
2488 $(MAKE) $(TARGET-build-texinfo))
2489 @endif build-texinfo
2495 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2496 maybe-configure-build-fixincludes:
2497 @if build-fixincludes
2498 maybe-configure-build-fixincludes: configure-build-fixincludes
2499 configure-build-fixincludes:
2500 @: $(MAKE); $(unstage)
2501 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2502 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2503 r=`${PWD_COMMAND}`; export r; \
2504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2505 $(BUILD_EXPORTS) \
2506 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2507 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2508 case $(srcdir) in \
2509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2510 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2512 esac; \
2513 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2514 libsrcdir="$$s/fixincludes"; \
2515 rm -f no-such-file || : ; \
2516 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2517 $(BUILD_CONFIGARGS) $${srcdiroption} \
2518 || exit 1
2519 @endif build-fixincludes
2525 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2526 maybe-all-build-fixincludes:
2527 @if build-fixincludes
2528 TARGET-build-fixincludes=all
2529 maybe-all-build-fixincludes: all-build-fixincludes
2530 all-build-fixincludes: configure-build-fixincludes
2531 @: $(MAKE); $(unstage)
2532 @r=`${PWD_COMMAND}`; export r; \
2533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2534 $(BUILD_EXPORTS) \
2535 (cd $(BUILD_SUBDIR)/fixincludes && \
2536 $(MAKE) $(TARGET-build-fixincludes))
2537 @endif build-fixincludes
2543 # --------------------------------------
2544 # Modules which run on the host machine
2545 # --------------------------------------
2548 .PHONY: configure-ash maybe-configure-ash
2549 maybe-configure-ash:
2550 @if ash
2551 maybe-configure-ash: configure-ash
2552 configure-ash:
2553 @: $(MAKE); $(unstage)
2554 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2556 r=`${PWD_COMMAND}`; export r; \
2557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558 $(HOST_EXPORTS) \
2559 echo Configuring in $(HOST_SUBDIR)/ash; \
2560 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2561 case $(srcdir) in \
2562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2563 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2565 esac; \
2566 srcdiroption="--srcdir=$${topdir}/ash"; \
2567 libsrcdir="$$s/ash"; \
2568 $(SHELL) $${libsrcdir}/configure \
2569 $(HOST_CONFIGARGS) $${srcdiroption} \
2570 || exit 1
2571 @endif ash
2577 .PHONY: all-ash maybe-all-ash
2578 maybe-all-ash:
2579 @if ash
2580 TARGET-ash=all
2581 maybe-all-ash: all-ash
2582 all-ash: configure-ash
2583 @: $(MAKE); $(unstage)
2584 @r=`${PWD_COMMAND}`; export r; \
2585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2586 $(HOST_EXPORTS) \
2587 (cd $(HOST_SUBDIR)/ash && \
2588 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2589 @endif ash
2594 .PHONY: check-ash maybe-check-ash
2595 maybe-check-ash:
2596 @if ash
2597 maybe-check-ash: check-ash
2599 check-ash:
2600 @: $(MAKE); $(unstage)
2601 @r=`${PWD_COMMAND}`; export r; \
2602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2603 $(HOST_EXPORTS) \
2604 (cd $(HOST_SUBDIR)/ash && \
2605 $(MAKE) $(FLAGS_TO_PASS) check)
2607 @endif ash
2609 .PHONY: install-ash maybe-install-ash
2610 maybe-install-ash:
2611 @if ash
2612 maybe-install-ash: install-ash
2614 install-ash: installdirs
2615 @: $(MAKE); $(unstage)
2616 @r=`${PWD_COMMAND}`; export r; \
2617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2618 $(HOST_EXPORTS) \
2619 (cd $(HOST_SUBDIR)/ash && \
2620 $(MAKE) $(FLAGS_TO_PASS) install)
2622 @endif ash
2624 # Other targets (info, dvi, etc.)
2626 .PHONY: maybe-info-ash info-ash
2627 maybe-info-ash:
2628 @if ash
2629 maybe-info-ash: info-ash
2631 info-ash: \
2632 configure-ash
2633 @: $(MAKE); $(unstage)
2634 @[ -f ./ash/Makefile ] || exit 0; \
2635 r=`${PWD_COMMAND}`; export r; \
2636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2637 $(HOST_EXPORTS) \
2638 for flag in $(EXTRA_HOST_FLAGS) ; do \
2639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2640 done; \
2641 echo "Doing info in ash" ; \
2642 (cd $(HOST_SUBDIR)/ash && \
2643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2645 "RANLIB=$${RANLIB}" \
2646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2647 info) \
2648 || exit 1
2650 @endif ash
2652 .PHONY: maybe-dvi-ash dvi-ash
2653 maybe-dvi-ash:
2654 @if ash
2655 maybe-dvi-ash: dvi-ash
2657 dvi-ash: \
2658 configure-ash
2659 @: $(MAKE); $(unstage)
2660 @[ -f ./ash/Makefile ] || exit 0; \
2661 r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 $(HOST_EXPORTS) \
2664 for flag in $(EXTRA_HOST_FLAGS) ; do \
2665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2666 done; \
2667 echo "Doing dvi in ash" ; \
2668 (cd $(HOST_SUBDIR)/ash && \
2669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2671 "RANLIB=$${RANLIB}" \
2672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2673 dvi) \
2674 || exit 1
2676 @endif ash
2678 .PHONY: maybe-html-ash html-ash
2679 maybe-html-ash:
2680 @if ash
2681 maybe-html-ash: html-ash
2683 html-ash: \
2684 configure-ash
2685 @: $(MAKE); $(unstage)
2686 @[ -f ./ash/Makefile ] || exit 0; \
2687 r=`${PWD_COMMAND}`; export r; \
2688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2689 $(HOST_EXPORTS) \
2690 for flag in $(EXTRA_HOST_FLAGS) ; do \
2691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2692 done; \
2693 echo "Doing html in ash" ; \
2694 (cd $(HOST_SUBDIR)/ash && \
2695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2697 "RANLIB=$${RANLIB}" \
2698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2699 html) \
2700 || exit 1
2702 @endif ash
2704 .PHONY: maybe-TAGS-ash TAGS-ash
2705 maybe-TAGS-ash:
2706 @if ash
2707 maybe-TAGS-ash: TAGS-ash
2709 TAGS-ash: \
2710 configure-ash
2711 @: $(MAKE); $(unstage)
2712 @[ -f ./ash/Makefile ] || exit 0; \
2713 r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 $(HOST_EXPORTS) \
2716 for flag in $(EXTRA_HOST_FLAGS) ; do \
2717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2718 done; \
2719 echo "Doing TAGS in ash" ; \
2720 (cd $(HOST_SUBDIR)/ash && \
2721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2723 "RANLIB=$${RANLIB}" \
2724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2725 TAGS) \
2726 || exit 1
2728 @endif ash
2730 .PHONY: maybe-install-info-ash install-info-ash
2731 maybe-install-info-ash:
2732 @if ash
2733 maybe-install-info-ash: install-info-ash
2735 install-info-ash: \
2736 configure-ash \
2737 info-ash
2738 @: $(MAKE); $(unstage)
2739 @[ -f ./ash/Makefile ] || exit 0; \
2740 r=`${PWD_COMMAND}`; export r; \
2741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2742 $(HOST_EXPORTS) \
2743 for flag in $(EXTRA_HOST_FLAGS) ; do \
2744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2745 done; \
2746 echo "Doing install-info in ash" ; \
2747 (cd $(HOST_SUBDIR)/ash && \
2748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2750 "RANLIB=$${RANLIB}" \
2751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2752 install-info) \
2753 || exit 1
2755 @endif ash
2757 .PHONY: maybe-installcheck-ash installcheck-ash
2758 maybe-installcheck-ash:
2759 @if ash
2760 maybe-installcheck-ash: installcheck-ash
2762 installcheck-ash: \
2763 configure-ash
2764 @: $(MAKE); $(unstage)
2765 @[ -f ./ash/Makefile ] || exit 0; \
2766 r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(HOST_EXPORTS) \
2769 for flag in $(EXTRA_HOST_FLAGS) ; do \
2770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2771 done; \
2772 echo "Doing installcheck in ash" ; \
2773 (cd $(HOST_SUBDIR)/ash && \
2774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2776 "RANLIB=$${RANLIB}" \
2777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2778 installcheck) \
2779 || exit 1
2781 @endif ash
2783 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2784 maybe-mostlyclean-ash:
2785 @if ash
2786 maybe-mostlyclean-ash: mostlyclean-ash
2788 mostlyclean-ash:
2789 @: $(MAKE); $(unstage)
2790 @[ -f ./ash/Makefile ] || exit 0; \
2791 r=`${PWD_COMMAND}`; export r; \
2792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2793 $(HOST_EXPORTS) \
2794 for flag in $(EXTRA_HOST_FLAGS) ; do \
2795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2796 done; \
2797 echo "Doing mostlyclean in ash" ; \
2798 (cd $(HOST_SUBDIR)/ash && \
2799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2801 "RANLIB=$${RANLIB}" \
2802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2803 mostlyclean) \
2804 || exit 1
2806 @endif ash
2808 .PHONY: maybe-clean-ash clean-ash
2809 maybe-clean-ash:
2810 @if ash
2811 maybe-clean-ash: clean-ash
2813 clean-ash:
2814 @: $(MAKE); $(unstage)
2815 @[ -f ./ash/Makefile ] || exit 0; \
2816 r=`${PWD_COMMAND}`; export r; \
2817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 $(HOST_EXPORTS) \
2819 for flag in $(EXTRA_HOST_FLAGS) ; do \
2820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2821 done; \
2822 echo "Doing clean in ash" ; \
2823 (cd $(HOST_SUBDIR)/ash && \
2824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2826 "RANLIB=$${RANLIB}" \
2827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2828 clean) \
2829 || exit 1
2831 @endif ash
2833 .PHONY: maybe-distclean-ash distclean-ash
2834 maybe-distclean-ash:
2835 @if ash
2836 maybe-distclean-ash: distclean-ash
2838 distclean-ash:
2839 @: $(MAKE); $(unstage)
2840 @[ -f ./ash/Makefile ] || exit 0; \
2841 r=`${PWD_COMMAND}`; export r; \
2842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 $(HOST_EXPORTS) \
2844 for flag in $(EXTRA_HOST_FLAGS) ; do \
2845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2846 done; \
2847 echo "Doing distclean in ash" ; \
2848 (cd $(HOST_SUBDIR)/ash && \
2849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2851 "RANLIB=$${RANLIB}" \
2852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2853 distclean) \
2854 || exit 1
2856 @endif ash
2858 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2859 maybe-maintainer-clean-ash:
2860 @if ash
2861 maybe-maintainer-clean-ash: maintainer-clean-ash
2863 maintainer-clean-ash:
2864 @: $(MAKE); $(unstage)
2865 @[ -f ./ash/Makefile ] || exit 0; \
2866 r=`${PWD_COMMAND}`; export r; \
2867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2868 $(HOST_EXPORTS) \
2869 for flag in $(EXTRA_HOST_FLAGS) ; do \
2870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2871 done; \
2872 echo "Doing maintainer-clean in ash" ; \
2873 (cd $(HOST_SUBDIR)/ash && \
2874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2876 "RANLIB=$${RANLIB}" \
2877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2878 maintainer-clean) \
2879 || exit 1
2881 @endif ash
2885 .PHONY: configure-autoconf maybe-configure-autoconf
2886 maybe-configure-autoconf:
2887 @if autoconf
2888 maybe-configure-autoconf: configure-autoconf
2889 configure-autoconf:
2890 @: $(MAKE); $(unstage)
2891 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2892 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2893 r=`${PWD_COMMAND}`; export r; \
2894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2895 $(HOST_EXPORTS) \
2896 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2897 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2898 case $(srcdir) in \
2899 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2900 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2901 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2902 esac; \
2903 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2904 libsrcdir="$$s/autoconf"; \
2905 $(SHELL) $${libsrcdir}/configure \
2906 $(HOST_CONFIGARGS) $${srcdiroption} \
2907 || exit 1
2908 @endif autoconf
2914 .PHONY: all-autoconf maybe-all-autoconf
2915 maybe-all-autoconf:
2916 @if autoconf
2917 TARGET-autoconf=all
2918 maybe-all-autoconf: all-autoconf
2919 all-autoconf: configure-autoconf
2920 @: $(MAKE); $(unstage)
2921 @r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923 $(HOST_EXPORTS) \
2924 (cd $(HOST_SUBDIR)/autoconf && \
2925 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2926 @endif autoconf
2931 .PHONY: check-autoconf maybe-check-autoconf
2932 maybe-check-autoconf:
2933 @if autoconf
2934 maybe-check-autoconf: check-autoconf
2936 check-autoconf:
2937 @: $(MAKE); $(unstage)
2938 @r=`${PWD_COMMAND}`; export r; \
2939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 $(HOST_EXPORTS) \
2941 (cd $(HOST_SUBDIR)/autoconf && \
2942 $(MAKE) $(FLAGS_TO_PASS) check)
2944 @endif autoconf
2946 .PHONY: install-autoconf maybe-install-autoconf
2947 maybe-install-autoconf:
2948 @if autoconf
2949 maybe-install-autoconf: install-autoconf
2951 install-autoconf: installdirs
2952 @: $(MAKE); $(unstage)
2953 @r=`${PWD_COMMAND}`; export r; \
2954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2955 $(HOST_EXPORTS) \
2956 (cd $(HOST_SUBDIR)/autoconf && \
2957 $(MAKE) $(FLAGS_TO_PASS) install)
2959 @endif autoconf
2961 # Other targets (info, dvi, etc.)
2963 .PHONY: maybe-info-autoconf info-autoconf
2964 maybe-info-autoconf:
2965 @if autoconf
2966 maybe-info-autoconf: info-autoconf
2968 info-autoconf: \
2969 configure-autoconf
2970 @: $(MAKE); $(unstage)
2971 @[ -f ./autoconf/Makefile ] || exit 0; \
2972 r=`${PWD_COMMAND}`; export r; \
2973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2974 $(HOST_EXPORTS) \
2975 for flag in $(EXTRA_HOST_FLAGS) ; do \
2976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2977 done; \
2978 echo "Doing info in autoconf" ; \
2979 (cd $(HOST_SUBDIR)/autoconf && \
2980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2982 "RANLIB=$${RANLIB}" \
2983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2984 info) \
2985 || exit 1
2987 @endif autoconf
2989 .PHONY: maybe-dvi-autoconf dvi-autoconf
2990 maybe-dvi-autoconf:
2991 @if autoconf
2992 maybe-dvi-autoconf: dvi-autoconf
2994 dvi-autoconf: \
2995 configure-autoconf
2996 @: $(MAKE); $(unstage)
2997 @[ -f ./autoconf/Makefile ] || exit 0; \
2998 r=`${PWD_COMMAND}`; export r; \
2999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3000 $(HOST_EXPORTS) \
3001 for flag in $(EXTRA_HOST_FLAGS) ; do \
3002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3003 done; \
3004 echo "Doing dvi in autoconf" ; \
3005 (cd $(HOST_SUBDIR)/autoconf && \
3006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3008 "RANLIB=$${RANLIB}" \
3009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3010 dvi) \
3011 || exit 1
3013 @endif autoconf
3015 .PHONY: maybe-html-autoconf html-autoconf
3016 maybe-html-autoconf:
3017 @if autoconf
3018 maybe-html-autoconf: html-autoconf
3020 html-autoconf: \
3021 configure-autoconf
3022 @: $(MAKE); $(unstage)
3023 @[ -f ./autoconf/Makefile ] || exit 0; \
3024 r=`${PWD_COMMAND}`; export r; \
3025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 $(HOST_EXPORTS) \
3027 for flag in $(EXTRA_HOST_FLAGS) ; do \
3028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3029 done; \
3030 echo "Doing html in autoconf" ; \
3031 (cd $(HOST_SUBDIR)/autoconf && \
3032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3034 "RANLIB=$${RANLIB}" \
3035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3036 html) \
3037 || exit 1
3039 @endif autoconf
3041 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3042 maybe-TAGS-autoconf:
3043 @if autoconf
3044 maybe-TAGS-autoconf: TAGS-autoconf
3046 TAGS-autoconf: \
3047 configure-autoconf
3048 @: $(MAKE); $(unstage)
3049 @[ -f ./autoconf/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3052 $(HOST_EXPORTS) \
3053 for flag in $(EXTRA_HOST_FLAGS) ; do \
3054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3055 done; \
3056 echo "Doing TAGS in autoconf" ; \
3057 (cd $(HOST_SUBDIR)/autoconf && \
3058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3060 "RANLIB=$${RANLIB}" \
3061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3062 TAGS) \
3063 || exit 1
3065 @endif autoconf
3067 .PHONY: maybe-install-info-autoconf install-info-autoconf
3068 maybe-install-info-autoconf:
3069 @if autoconf
3070 maybe-install-info-autoconf: install-info-autoconf
3072 install-info-autoconf: \
3073 configure-autoconf \
3074 info-autoconf
3075 @: $(MAKE); $(unstage)
3076 @[ -f ./autoconf/Makefile ] || exit 0; \
3077 r=`${PWD_COMMAND}`; export r; \
3078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3079 $(HOST_EXPORTS) \
3080 for flag in $(EXTRA_HOST_FLAGS) ; do \
3081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3082 done; \
3083 echo "Doing install-info in autoconf" ; \
3084 (cd $(HOST_SUBDIR)/autoconf && \
3085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3087 "RANLIB=$${RANLIB}" \
3088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3089 install-info) \
3090 || exit 1
3092 @endif autoconf
3094 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3095 maybe-installcheck-autoconf:
3096 @if autoconf
3097 maybe-installcheck-autoconf: installcheck-autoconf
3099 installcheck-autoconf: \
3100 configure-autoconf
3101 @: $(MAKE); $(unstage)
3102 @[ -f ./autoconf/Makefile ] || exit 0; \
3103 r=`${PWD_COMMAND}`; export r; \
3104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3105 $(HOST_EXPORTS) \
3106 for flag in $(EXTRA_HOST_FLAGS) ; do \
3107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3108 done; \
3109 echo "Doing installcheck in autoconf" ; \
3110 (cd $(HOST_SUBDIR)/autoconf && \
3111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3113 "RANLIB=$${RANLIB}" \
3114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3115 installcheck) \
3116 || exit 1
3118 @endif autoconf
3120 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3121 maybe-mostlyclean-autoconf:
3122 @if autoconf
3123 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3125 mostlyclean-autoconf:
3126 @: $(MAKE); $(unstage)
3127 @[ -f ./autoconf/Makefile ] || exit 0; \
3128 r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 $(HOST_EXPORTS) \
3131 for flag in $(EXTRA_HOST_FLAGS) ; do \
3132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3133 done; \
3134 echo "Doing mostlyclean in autoconf" ; \
3135 (cd $(HOST_SUBDIR)/autoconf && \
3136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3138 "RANLIB=$${RANLIB}" \
3139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3140 mostlyclean) \
3141 || exit 1
3143 @endif autoconf
3145 .PHONY: maybe-clean-autoconf clean-autoconf
3146 maybe-clean-autoconf:
3147 @if autoconf
3148 maybe-clean-autoconf: clean-autoconf
3150 clean-autoconf:
3151 @: $(MAKE); $(unstage)
3152 @[ -f ./autoconf/Makefile ] || exit 0; \
3153 r=`${PWD_COMMAND}`; export r; \
3154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3155 $(HOST_EXPORTS) \
3156 for flag in $(EXTRA_HOST_FLAGS) ; do \
3157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3158 done; \
3159 echo "Doing clean in autoconf" ; \
3160 (cd $(HOST_SUBDIR)/autoconf && \
3161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3163 "RANLIB=$${RANLIB}" \
3164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3165 clean) \
3166 || exit 1
3168 @endif autoconf
3170 .PHONY: maybe-distclean-autoconf distclean-autoconf
3171 maybe-distclean-autoconf:
3172 @if autoconf
3173 maybe-distclean-autoconf: distclean-autoconf
3175 distclean-autoconf:
3176 @: $(MAKE); $(unstage)
3177 @[ -f ./autoconf/Makefile ] || exit 0; \
3178 r=`${PWD_COMMAND}`; export r; \
3179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3180 $(HOST_EXPORTS) \
3181 for flag in $(EXTRA_HOST_FLAGS) ; do \
3182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3183 done; \
3184 echo "Doing distclean in autoconf" ; \
3185 (cd $(HOST_SUBDIR)/autoconf && \
3186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3188 "RANLIB=$${RANLIB}" \
3189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3190 distclean) \
3191 || exit 1
3193 @endif autoconf
3195 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3196 maybe-maintainer-clean-autoconf:
3197 @if autoconf
3198 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3200 maintainer-clean-autoconf:
3201 @: $(MAKE); $(unstage)
3202 @[ -f ./autoconf/Makefile ] || exit 0; \
3203 r=`${PWD_COMMAND}`; export r; \
3204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3205 $(HOST_EXPORTS) \
3206 for flag in $(EXTRA_HOST_FLAGS) ; do \
3207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3208 done; \
3209 echo "Doing maintainer-clean in autoconf" ; \
3210 (cd $(HOST_SUBDIR)/autoconf && \
3211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3213 "RANLIB=$${RANLIB}" \
3214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3215 maintainer-clean) \
3216 || exit 1
3218 @endif autoconf
3222 .PHONY: configure-automake maybe-configure-automake
3223 maybe-configure-automake:
3224 @if automake
3225 maybe-configure-automake: configure-automake
3226 configure-automake:
3227 @: $(MAKE); $(unstage)
3228 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3230 r=`${PWD_COMMAND}`; export r; \
3231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3232 $(HOST_EXPORTS) \
3233 echo Configuring in $(HOST_SUBDIR)/automake; \
3234 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3235 case $(srcdir) in \
3236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3237 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3239 esac; \
3240 srcdiroption="--srcdir=$${topdir}/automake"; \
3241 libsrcdir="$$s/automake"; \
3242 $(SHELL) $${libsrcdir}/configure \
3243 $(HOST_CONFIGARGS) $${srcdiroption} \
3244 || exit 1
3245 @endif automake
3251 .PHONY: all-automake maybe-all-automake
3252 maybe-all-automake:
3253 @if automake
3254 TARGET-automake=all
3255 maybe-all-automake: all-automake
3256 all-automake: configure-automake
3257 @: $(MAKE); $(unstage)
3258 @r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3260 $(HOST_EXPORTS) \
3261 (cd $(HOST_SUBDIR)/automake && \
3262 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3263 @endif automake
3268 .PHONY: check-automake maybe-check-automake
3269 maybe-check-automake:
3270 @if automake
3271 maybe-check-automake: check-automake
3273 check-automake:
3274 @: $(MAKE); $(unstage)
3275 @r=`${PWD_COMMAND}`; export r; \
3276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3277 $(HOST_EXPORTS) \
3278 (cd $(HOST_SUBDIR)/automake && \
3279 $(MAKE) $(FLAGS_TO_PASS) check)
3281 @endif automake
3283 .PHONY: install-automake maybe-install-automake
3284 maybe-install-automake:
3285 @if automake
3286 maybe-install-automake: install-automake
3288 install-automake: installdirs
3289 @: $(MAKE); $(unstage)
3290 @r=`${PWD_COMMAND}`; export r; \
3291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3292 $(HOST_EXPORTS) \
3293 (cd $(HOST_SUBDIR)/automake && \
3294 $(MAKE) $(FLAGS_TO_PASS) install)
3296 @endif automake
3298 # Other targets (info, dvi, etc.)
3300 .PHONY: maybe-info-automake info-automake
3301 maybe-info-automake:
3302 @if automake
3303 maybe-info-automake: info-automake
3305 info-automake: \
3306 configure-automake
3307 @: $(MAKE); $(unstage)
3308 @[ -f ./automake/Makefile ] || exit 0; \
3309 r=`${PWD_COMMAND}`; export r; \
3310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3311 $(HOST_EXPORTS) \
3312 for flag in $(EXTRA_HOST_FLAGS) ; do \
3313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3314 done; \
3315 echo "Doing info in automake" ; \
3316 (cd $(HOST_SUBDIR)/automake && \
3317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3319 "RANLIB=$${RANLIB}" \
3320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3321 info) \
3322 || exit 1
3324 @endif automake
3326 .PHONY: maybe-dvi-automake dvi-automake
3327 maybe-dvi-automake:
3328 @if automake
3329 maybe-dvi-automake: dvi-automake
3331 dvi-automake: \
3332 configure-automake
3333 @: $(MAKE); $(unstage)
3334 @[ -f ./automake/Makefile ] || exit 0; \
3335 r=`${PWD_COMMAND}`; export r; \
3336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 $(HOST_EXPORTS) \
3338 for flag in $(EXTRA_HOST_FLAGS) ; do \
3339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3340 done; \
3341 echo "Doing dvi in automake" ; \
3342 (cd $(HOST_SUBDIR)/automake && \
3343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3345 "RANLIB=$${RANLIB}" \
3346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3347 dvi) \
3348 || exit 1
3350 @endif automake
3352 .PHONY: maybe-html-automake html-automake
3353 maybe-html-automake:
3354 @if automake
3355 maybe-html-automake: html-automake
3357 html-automake: \
3358 configure-automake
3359 @: $(MAKE); $(unstage)
3360 @[ -f ./automake/Makefile ] || exit 0; \
3361 r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3363 $(HOST_EXPORTS) \
3364 for flag in $(EXTRA_HOST_FLAGS) ; do \
3365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3366 done; \
3367 echo "Doing html in automake" ; \
3368 (cd $(HOST_SUBDIR)/automake && \
3369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3371 "RANLIB=$${RANLIB}" \
3372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3373 html) \
3374 || exit 1
3376 @endif automake
3378 .PHONY: maybe-TAGS-automake TAGS-automake
3379 maybe-TAGS-automake:
3380 @if automake
3381 maybe-TAGS-automake: TAGS-automake
3383 TAGS-automake: \
3384 configure-automake
3385 @: $(MAKE); $(unstage)
3386 @[ -f ./automake/Makefile ] || exit 0; \
3387 r=`${PWD_COMMAND}`; export r; \
3388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3389 $(HOST_EXPORTS) \
3390 for flag in $(EXTRA_HOST_FLAGS) ; do \
3391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3392 done; \
3393 echo "Doing TAGS in automake" ; \
3394 (cd $(HOST_SUBDIR)/automake && \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3397 "RANLIB=$${RANLIB}" \
3398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3399 TAGS) \
3400 || exit 1
3402 @endif automake
3404 .PHONY: maybe-install-info-automake install-info-automake
3405 maybe-install-info-automake:
3406 @if automake
3407 maybe-install-info-automake: install-info-automake
3409 install-info-automake: \
3410 configure-automake \
3411 info-automake
3412 @: $(MAKE); $(unstage)
3413 @[ -f ./automake/Makefile ] || exit 0; \
3414 r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 $(HOST_EXPORTS) \
3417 for flag in $(EXTRA_HOST_FLAGS) ; do \
3418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3419 done; \
3420 echo "Doing install-info in automake" ; \
3421 (cd $(HOST_SUBDIR)/automake && \
3422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3424 "RANLIB=$${RANLIB}" \
3425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3426 install-info) \
3427 || exit 1
3429 @endif automake
3431 .PHONY: maybe-installcheck-automake installcheck-automake
3432 maybe-installcheck-automake:
3433 @if automake
3434 maybe-installcheck-automake: installcheck-automake
3436 installcheck-automake: \
3437 configure-automake
3438 @: $(MAKE); $(unstage)
3439 @[ -f ./automake/Makefile ] || exit 0; \
3440 r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 $(HOST_EXPORTS) \
3443 for flag in $(EXTRA_HOST_FLAGS) ; do \
3444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3445 done; \
3446 echo "Doing installcheck in automake" ; \
3447 (cd $(HOST_SUBDIR)/automake && \
3448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3450 "RANLIB=$${RANLIB}" \
3451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3452 installcheck) \
3453 || exit 1
3455 @endif automake
3457 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3458 maybe-mostlyclean-automake:
3459 @if automake
3460 maybe-mostlyclean-automake: mostlyclean-automake
3462 mostlyclean-automake:
3463 @: $(MAKE); $(unstage)
3464 @[ -f ./automake/Makefile ] || exit 0; \
3465 r=`${PWD_COMMAND}`; export r; \
3466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 $(HOST_EXPORTS) \
3468 for flag in $(EXTRA_HOST_FLAGS) ; do \
3469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3470 done; \
3471 echo "Doing mostlyclean in automake" ; \
3472 (cd $(HOST_SUBDIR)/automake && \
3473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3475 "RANLIB=$${RANLIB}" \
3476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3477 mostlyclean) \
3478 || exit 1
3480 @endif automake
3482 .PHONY: maybe-clean-automake clean-automake
3483 maybe-clean-automake:
3484 @if automake
3485 maybe-clean-automake: clean-automake
3487 clean-automake:
3488 @: $(MAKE); $(unstage)
3489 @[ -f ./automake/Makefile ] || exit 0; \
3490 r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3492 $(HOST_EXPORTS) \
3493 for flag in $(EXTRA_HOST_FLAGS) ; do \
3494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3495 done; \
3496 echo "Doing clean in automake" ; \
3497 (cd $(HOST_SUBDIR)/automake && \
3498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500 "RANLIB=$${RANLIB}" \
3501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3502 clean) \
3503 || exit 1
3505 @endif automake
3507 .PHONY: maybe-distclean-automake distclean-automake
3508 maybe-distclean-automake:
3509 @if automake
3510 maybe-distclean-automake: distclean-automake
3512 distclean-automake:
3513 @: $(MAKE); $(unstage)
3514 @[ -f ./automake/Makefile ] || exit 0; \
3515 r=`${PWD_COMMAND}`; export r; \
3516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3517 $(HOST_EXPORTS) \
3518 for flag in $(EXTRA_HOST_FLAGS) ; do \
3519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3520 done; \
3521 echo "Doing distclean in automake" ; \
3522 (cd $(HOST_SUBDIR)/automake && \
3523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3525 "RANLIB=$${RANLIB}" \
3526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3527 distclean) \
3528 || exit 1
3530 @endif automake
3532 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3533 maybe-maintainer-clean-automake:
3534 @if automake
3535 maybe-maintainer-clean-automake: maintainer-clean-automake
3537 maintainer-clean-automake:
3538 @: $(MAKE); $(unstage)
3539 @[ -f ./automake/Makefile ] || exit 0; \
3540 r=`${PWD_COMMAND}`; export r; \
3541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3542 $(HOST_EXPORTS) \
3543 for flag in $(EXTRA_HOST_FLAGS) ; do \
3544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3545 done; \
3546 echo "Doing maintainer-clean in automake" ; \
3547 (cd $(HOST_SUBDIR)/automake && \
3548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3550 "RANLIB=$${RANLIB}" \
3551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3552 maintainer-clean) \
3553 || exit 1
3555 @endif automake
3559 .PHONY: configure-bash maybe-configure-bash
3560 maybe-configure-bash:
3561 @if bash
3562 maybe-configure-bash: configure-bash
3563 configure-bash:
3564 @: $(MAKE); $(unstage)
3565 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3567 r=`${PWD_COMMAND}`; export r; \
3568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3569 $(HOST_EXPORTS) \
3570 echo Configuring in $(HOST_SUBDIR)/bash; \
3571 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3572 case $(srcdir) in \
3573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3574 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3576 esac; \
3577 srcdiroption="--srcdir=$${topdir}/bash"; \
3578 libsrcdir="$$s/bash"; \
3579 $(SHELL) $${libsrcdir}/configure \
3580 $(HOST_CONFIGARGS) $${srcdiroption} \
3581 || exit 1
3582 @endif bash
3588 .PHONY: all-bash maybe-all-bash
3589 maybe-all-bash:
3590 @if bash
3591 TARGET-bash=all
3592 maybe-all-bash: all-bash
3593 all-bash: configure-bash
3594 @: $(MAKE); $(unstage)
3595 @r=`${PWD_COMMAND}`; export r; \
3596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3597 $(HOST_EXPORTS) \
3598 (cd $(HOST_SUBDIR)/bash && \
3599 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3600 @endif bash
3605 .PHONY: check-bash maybe-check-bash
3606 maybe-check-bash:
3607 @if bash
3608 maybe-check-bash: check-bash
3610 check-bash:
3611 @: $(MAKE); $(unstage)
3612 @r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3614 $(HOST_EXPORTS) \
3615 (cd $(HOST_SUBDIR)/bash && \
3616 $(MAKE) $(FLAGS_TO_PASS) check)
3618 @endif bash
3620 .PHONY: install-bash maybe-install-bash
3621 maybe-install-bash:
3622 @if bash
3623 maybe-install-bash: install-bash
3625 install-bash: installdirs
3626 @: $(MAKE); $(unstage)
3627 @r=`${PWD_COMMAND}`; export r; \
3628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3629 $(HOST_EXPORTS) \
3630 (cd $(HOST_SUBDIR)/bash && \
3631 $(MAKE) $(FLAGS_TO_PASS) install)
3633 @endif bash
3635 # Other targets (info, dvi, etc.)
3637 .PHONY: maybe-info-bash info-bash
3638 maybe-info-bash:
3639 @if bash
3640 maybe-info-bash: info-bash
3642 info-bash: \
3643 configure-bash
3644 @: $(MAKE); $(unstage)
3645 @[ -f ./bash/Makefile ] || exit 0; \
3646 r=`${PWD_COMMAND}`; export r; \
3647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3648 $(HOST_EXPORTS) \
3649 for flag in $(EXTRA_HOST_FLAGS) ; do \
3650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3651 done; \
3652 echo "Doing info in bash" ; \
3653 (cd $(HOST_SUBDIR)/bash && \
3654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3656 "RANLIB=$${RANLIB}" \
3657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3658 info) \
3659 || exit 1
3661 @endif bash
3663 .PHONY: maybe-dvi-bash dvi-bash
3664 maybe-dvi-bash:
3665 @if bash
3666 maybe-dvi-bash: dvi-bash
3668 dvi-bash: \
3669 configure-bash
3670 @: $(MAKE); $(unstage)
3671 @[ -f ./bash/Makefile ] || exit 0; \
3672 r=`${PWD_COMMAND}`; export r; \
3673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3674 $(HOST_EXPORTS) \
3675 for flag in $(EXTRA_HOST_FLAGS) ; do \
3676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3677 done; \
3678 echo "Doing dvi in bash" ; \
3679 (cd $(HOST_SUBDIR)/bash && \
3680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3682 "RANLIB=$${RANLIB}" \
3683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3684 dvi) \
3685 || exit 1
3687 @endif bash
3689 .PHONY: maybe-html-bash html-bash
3690 maybe-html-bash:
3691 @if bash
3692 maybe-html-bash: html-bash
3694 html-bash: \
3695 configure-bash
3696 @: $(MAKE); $(unstage)
3697 @[ -f ./bash/Makefile ] || exit 0; \
3698 r=`${PWD_COMMAND}`; export r; \
3699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3700 $(HOST_EXPORTS) \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3703 done; \
3704 echo "Doing html in bash" ; \
3705 (cd $(HOST_SUBDIR)/bash && \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3710 html) \
3711 || exit 1
3713 @endif bash
3715 .PHONY: maybe-TAGS-bash TAGS-bash
3716 maybe-TAGS-bash:
3717 @if bash
3718 maybe-TAGS-bash: TAGS-bash
3720 TAGS-bash: \
3721 configure-bash
3722 @: $(MAKE); $(unstage)
3723 @[ -f ./bash/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 done; \
3730 echo "Doing TAGS in bash" ; \
3731 (cd $(HOST_SUBDIR)/bash && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3736 TAGS) \
3737 || exit 1
3739 @endif bash
3741 .PHONY: maybe-install-info-bash install-info-bash
3742 maybe-install-info-bash:
3743 @if bash
3744 maybe-install-info-bash: install-info-bash
3746 install-info-bash: \
3747 configure-bash \
3748 info-bash
3749 @: $(MAKE); $(unstage)
3750 @[ -f ./bash/Makefile ] || exit 0; \
3751 r=`${PWD_COMMAND}`; export r; \
3752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3753 $(HOST_EXPORTS) \
3754 for flag in $(EXTRA_HOST_FLAGS) ; do \
3755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3756 done; \
3757 echo "Doing install-info in bash" ; \
3758 (cd $(HOST_SUBDIR)/bash && \
3759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3761 "RANLIB=$${RANLIB}" \
3762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3763 install-info) \
3764 || exit 1
3766 @endif bash
3768 .PHONY: maybe-installcheck-bash installcheck-bash
3769 maybe-installcheck-bash:
3770 @if bash
3771 maybe-installcheck-bash: installcheck-bash
3773 installcheck-bash: \
3774 configure-bash
3775 @: $(MAKE); $(unstage)
3776 @[ -f ./bash/Makefile ] || exit 0; \
3777 r=`${PWD_COMMAND}`; export r; \
3778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3779 $(HOST_EXPORTS) \
3780 for flag in $(EXTRA_HOST_FLAGS) ; do \
3781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3782 done; \
3783 echo "Doing installcheck in bash" ; \
3784 (cd $(HOST_SUBDIR)/bash && \
3785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3787 "RANLIB=$${RANLIB}" \
3788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3789 installcheck) \
3790 || exit 1
3792 @endif bash
3794 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3795 maybe-mostlyclean-bash:
3796 @if bash
3797 maybe-mostlyclean-bash: mostlyclean-bash
3799 mostlyclean-bash:
3800 @: $(MAKE); $(unstage)
3801 @[ -f ./bash/Makefile ] || exit 0; \
3802 r=`${PWD_COMMAND}`; export r; \
3803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 $(HOST_EXPORTS) \
3805 for flag in $(EXTRA_HOST_FLAGS) ; do \
3806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3807 done; \
3808 echo "Doing mostlyclean in bash" ; \
3809 (cd $(HOST_SUBDIR)/bash && \
3810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3812 "RANLIB=$${RANLIB}" \
3813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3814 mostlyclean) \
3815 || exit 1
3817 @endif bash
3819 .PHONY: maybe-clean-bash clean-bash
3820 maybe-clean-bash:
3821 @if bash
3822 maybe-clean-bash: clean-bash
3824 clean-bash:
3825 @: $(MAKE); $(unstage)
3826 @[ -f ./bash/Makefile ] || exit 0; \
3827 r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 $(HOST_EXPORTS) \
3830 for flag in $(EXTRA_HOST_FLAGS) ; do \
3831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3832 done; \
3833 echo "Doing clean in bash" ; \
3834 (cd $(HOST_SUBDIR)/bash && \
3835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3837 "RANLIB=$${RANLIB}" \
3838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3839 clean) \
3840 || exit 1
3842 @endif bash
3844 .PHONY: maybe-distclean-bash distclean-bash
3845 maybe-distclean-bash:
3846 @if bash
3847 maybe-distclean-bash: distclean-bash
3849 distclean-bash:
3850 @: $(MAKE); $(unstage)
3851 @[ -f ./bash/Makefile ] || exit 0; \
3852 r=`${PWD_COMMAND}`; export r; \
3853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 $(HOST_EXPORTS) \
3855 for flag in $(EXTRA_HOST_FLAGS) ; do \
3856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857 done; \
3858 echo "Doing distclean in bash" ; \
3859 (cd $(HOST_SUBDIR)/bash && \
3860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3862 "RANLIB=$${RANLIB}" \
3863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3864 distclean) \
3865 || exit 1
3867 @endif bash
3869 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3870 maybe-maintainer-clean-bash:
3871 @if bash
3872 maybe-maintainer-clean-bash: maintainer-clean-bash
3874 maintainer-clean-bash:
3875 @: $(MAKE); $(unstage)
3876 @[ -f ./bash/Makefile ] || exit 0; \
3877 r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 $(HOST_EXPORTS) \
3880 for flag in $(EXTRA_HOST_FLAGS) ; do \
3881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3882 done; \
3883 echo "Doing maintainer-clean in bash" ; \
3884 (cd $(HOST_SUBDIR)/bash && \
3885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3887 "RANLIB=$${RANLIB}" \
3888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3889 maintainer-clean) \
3890 || exit 1
3892 @endif bash
3896 .PHONY: configure-bfd maybe-configure-bfd
3897 maybe-configure-bfd:
3898 @if bfd
3899 maybe-configure-bfd: configure-bfd
3900 configure-bfd:
3901 @test -f stage_last && exit 0; \
3902 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3904 r=`${PWD_COMMAND}`; export r; \
3905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3906 $(HOST_EXPORTS) \
3907 echo Configuring in $(HOST_SUBDIR)/bfd; \
3908 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3909 case $(srcdir) in \
3910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3911 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3913 esac; \
3914 srcdiroption="--srcdir=$${topdir}/bfd"; \
3915 libsrcdir="$$s/bfd"; \
3916 $(SHELL) $${libsrcdir}/configure \
3917 $(HOST_CONFIGARGS) $${srcdiroption} \
3918 || exit 1
3919 @endif bfd
3923 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3924 maybe-configure-stage1-bfd:
3925 @if bfd-bootstrap
3926 maybe-configure-stage1-bfd: configure-stage1-bfd
3927 configure-stage1-bfd:
3928 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
3929 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3930 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3931 $(HOST_EXPORTS) \
3932 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3934 cd $(HOST_SUBDIR)/bfd || exit 1; \
3935 case $(srcdir) in \
3936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3937 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3939 esac; \
3940 srcdiroption="--srcdir=$${topdir}/bfd"; \
3941 libsrcdir="$$s/bfd"; \
3942 $(SHELL) $${libsrcdir}/configure \
3943 $(HOST_CONFIGARGS) $${srcdiroption} \
3944 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3945 @endif bfd-bootstrap
3947 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3948 maybe-configure-stage2-bfd:
3949 @if bfd-bootstrap
3950 maybe-configure-stage2-bfd: configure-stage2-bfd
3951 configure-stage2-bfd:
3952 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
3953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3954 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3955 $(HOST_EXPORTS) \
3956 $(POSTSTAGE1_HOST_EXPORTS) \
3957 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3958 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3959 cd $(HOST_SUBDIR)/bfd || exit 1; \
3960 case $(srcdir) in \
3961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3962 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3964 esac; \
3965 srcdiroption="--srcdir=$${topdir}/bfd"; \
3966 libsrcdir="$$s/bfd"; \
3967 $(SHELL) $${libsrcdir}/configure \
3968 $(HOST_CONFIGARGS) $${srcdiroption} \
3969 @stage2_werror_flag@
3970 @endif bfd-bootstrap
3972 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3973 maybe-configure-stage3-bfd:
3974 @if bfd-bootstrap
3975 maybe-configure-stage3-bfd: configure-stage3-bfd
3976 configure-stage3-bfd:
3977 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
3978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3979 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3980 $(HOST_EXPORTS) \
3981 $(POSTSTAGE1_HOST_EXPORTS) \
3982 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3983 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3984 cd $(HOST_SUBDIR)/bfd || exit 1; \
3985 case $(srcdir) in \
3986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3987 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3989 esac; \
3990 srcdiroption="--srcdir=$${topdir}/bfd"; \
3991 libsrcdir="$$s/bfd"; \
3992 $(SHELL) $${libsrcdir}/configure \
3993 $(HOST_CONFIGARGS) $${srcdiroption} \
3994 @stage2_werror_flag@
3995 @endif bfd-bootstrap
3997 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3998 maybe-configure-stage4-bfd:
3999 @if bfd-bootstrap
4000 maybe-configure-stage4-bfd: configure-stage4-bfd
4001 configure-stage4-bfd:
4002 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4004 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4005 $(HOST_EXPORTS) \
4006 $(POSTSTAGE1_HOST_EXPORTS) \
4007 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4009 cd $(HOST_SUBDIR)/bfd || exit 1; \
4010 case $(srcdir) in \
4011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4012 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4014 esac; \
4015 srcdiroption="--srcdir=$${topdir}/bfd"; \
4016 libsrcdir="$$s/bfd"; \
4017 $(SHELL) $${libsrcdir}/configure \
4018 $(HOST_CONFIGARGS) $${srcdiroption} \
4019 @stage2_werror_flag@
4020 @endif bfd-bootstrap
4022 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4023 maybe-configure-stageprofile-bfd:
4024 @if bfd-bootstrap
4025 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4026 configure-stageprofile-bfd:
4027 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4028 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4029 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4030 $(HOST_EXPORTS) \
4031 $(POSTSTAGE1_HOST_EXPORTS) \
4032 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4034 cd $(HOST_SUBDIR)/bfd || exit 1; \
4035 case $(srcdir) in \
4036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4037 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4039 esac; \
4040 srcdiroption="--srcdir=$${topdir}/bfd"; \
4041 libsrcdir="$$s/bfd"; \
4042 $(SHELL) $${libsrcdir}/configure \
4043 $(HOST_CONFIGARGS) $${srcdiroption} \
4044 @stage2_werror_flag@
4045 @endif bfd-bootstrap
4047 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4048 maybe-configure-stagefeedback-bfd:
4049 @if bfd-bootstrap
4050 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4051 configure-stagefeedback-bfd:
4052 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4054 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4055 $(HOST_EXPORTS) \
4056 $(POSTSTAGE1_HOST_EXPORTS) \
4057 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4059 cd $(HOST_SUBDIR)/bfd || exit 1; \
4060 case $(srcdir) in \
4061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4062 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4064 esac; \
4065 srcdiroption="--srcdir=$${topdir}/bfd"; \
4066 libsrcdir="$$s/bfd"; \
4067 $(SHELL) $${libsrcdir}/configure \
4068 $(HOST_CONFIGARGS) $${srcdiroption} \
4069 @stage2_werror_flag@
4070 @endif bfd-bootstrap
4076 .PHONY: all-bfd maybe-all-bfd
4077 maybe-all-bfd:
4078 @if bfd
4079 TARGET-bfd=all
4080 maybe-all-bfd: all-bfd
4081 all-bfd: configure-bfd
4082 @test -f stage_last && exit 0; \
4083 r=`${PWD_COMMAND}`; export r; \
4084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4085 $(HOST_EXPORTS) \
4086 (cd $(HOST_SUBDIR)/bfd && \
4087 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4088 @endif bfd
4092 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4093 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4094 maybe-all-stage1-bfd:
4095 maybe-clean-stage1-bfd:
4096 @if bfd-bootstrap
4097 maybe-all-stage1-bfd: all-stage1-bfd
4098 all-stage1: all-stage1-bfd
4099 TARGET-stage1-bfd = $(TARGET-bfd)
4100 all-stage1-bfd: configure-stage1-bfd
4101 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4102 @r=`${PWD_COMMAND}`; export r; \
4103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4104 $(HOST_EXPORTS) \
4105 cd $(HOST_SUBDIR)/bfd && \
4106 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4107 $(TARGET-stage1-bfd)
4109 maybe-clean-stage1-bfd: clean-stage1-bfd
4110 clean-stage1: clean-stage1-bfd
4111 clean-stage1-bfd:
4112 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4113 || exit 0 ; \
4114 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4115 cd $(HOST_SUBDIR)/bfd && \
4116 $(MAKE) $(FLAGS_TO_PASS) \
4117 CFLAGS="$(STAGE1_CFLAGS)" clean
4118 @endif bfd-bootstrap
4121 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4122 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4123 maybe-all-stage2-bfd:
4124 maybe-clean-stage2-bfd:
4125 @if bfd-bootstrap
4126 maybe-all-stage2-bfd: all-stage2-bfd
4127 all-stage2: all-stage2-bfd
4128 TARGET-stage2-bfd = $(TARGET-bfd)
4129 all-stage2-bfd: configure-stage2-bfd
4130 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4131 @r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 $(HOST_EXPORTS) \
4134 $(POSTSTAGE1_HOST_EXPORTS) \
4135 cd $(HOST_SUBDIR)/bfd && \
4136 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4137 $(TARGET-stage2-bfd)
4139 maybe-clean-stage2-bfd: clean-stage2-bfd
4140 clean-stage2: clean-stage2-bfd
4141 clean-stage2-bfd:
4142 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4143 || exit 0 ; \
4144 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4145 cd $(HOST_SUBDIR)/bfd && \
4146 $(MAKE) $(FLAGS_TO_PASS) \
4147 $(POSTSTAGE1_FLAGS_TO_PASS) \
4148 clean
4149 @endif bfd-bootstrap
4152 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4153 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4154 maybe-all-stage3-bfd:
4155 maybe-clean-stage3-bfd:
4156 @if bfd-bootstrap
4157 maybe-all-stage3-bfd: all-stage3-bfd
4158 all-stage3: all-stage3-bfd
4159 TARGET-stage3-bfd = $(TARGET-bfd)
4160 all-stage3-bfd: configure-stage3-bfd
4161 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4162 @r=`${PWD_COMMAND}`; export r; \
4163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4164 $(HOST_EXPORTS) \
4165 $(POSTSTAGE1_HOST_EXPORTS) \
4166 cd $(HOST_SUBDIR)/bfd && \
4167 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4168 $(TARGET-stage3-bfd)
4170 maybe-clean-stage3-bfd: clean-stage3-bfd
4171 clean-stage3: clean-stage3-bfd
4172 clean-stage3-bfd:
4173 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4174 || exit 0 ; \
4175 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4176 cd $(HOST_SUBDIR)/bfd && \
4177 $(MAKE) $(FLAGS_TO_PASS) \
4178 $(POSTSTAGE1_FLAGS_TO_PASS) \
4179 clean
4180 @endif bfd-bootstrap
4183 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4184 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4185 maybe-all-stage4-bfd:
4186 maybe-clean-stage4-bfd:
4187 @if bfd-bootstrap
4188 maybe-all-stage4-bfd: all-stage4-bfd
4189 all-stage4: all-stage4-bfd
4190 TARGET-stage4-bfd = $(TARGET-bfd)
4191 all-stage4-bfd: configure-stage4-bfd
4192 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4193 @r=`${PWD_COMMAND}`; export r; \
4194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4195 $(HOST_EXPORTS) \
4196 $(POSTSTAGE1_HOST_EXPORTS) \
4197 cd $(HOST_SUBDIR)/bfd && \
4198 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4199 $(TARGET-stage4-bfd)
4201 maybe-clean-stage4-bfd: clean-stage4-bfd
4202 clean-stage4: clean-stage4-bfd
4203 clean-stage4-bfd:
4204 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4205 || exit 0 ; \
4206 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4207 cd $(HOST_SUBDIR)/bfd && \
4208 $(MAKE) $(FLAGS_TO_PASS) \
4209 $(POSTSTAGE1_FLAGS_TO_PASS) \
4210 clean
4211 @endif bfd-bootstrap
4214 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4215 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4216 maybe-all-stageprofile-bfd:
4217 maybe-clean-stageprofile-bfd:
4218 @if bfd-bootstrap
4219 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4220 all-stageprofile: all-stageprofile-bfd
4221 TARGET-stageprofile-bfd = $(TARGET-bfd)
4222 all-stageprofile-bfd: configure-stageprofile-bfd
4223 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4224 @r=`${PWD_COMMAND}`; export r; \
4225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4226 $(HOST_EXPORTS) \
4227 $(POSTSTAGE1_HOST_EXPORTS) \
4228 cd $(HOST_SUBDIR)/bfd && \
4229 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4230 $(TARGET-stageprofile-bfd)
4232 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4233 clean-stageprofile: clean-stageprofile-bfd
4234 clean-stageprofile-bfd:
4235 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4236 || exit 0 ; \
4237 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4238 cd $(HOST_SUBDIR)/bfd && \
4239 $(MAKE) $(FLAGS_TO_PASS) \
4240 $(POSTSTAGE1_FLAGS_TO_PASS) \
4241 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4242 @endif bfd-bootstrap
4245 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4246 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4247 maybe-all-stagefeedback-bfd:
4248 maybe-clean-stagefeedback-bfd:
4249 @if bfd-bootstrap
4250 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4251 all-stagefeedback: all-stagefeedback-bfd
4252 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4253 all-stagefeedback-bfd: configure-stagefeedback-bfd
4254 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4255 @r=`${PWD_COMMAND}`; export r; \
4256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4257 $(HOST_EXPORTS) \
4258 $(POSTSTAGE1_HOST_EXPORTS) \
4259 cd $(HOST_SUBDIR)/bfd && \
4260 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4261 $(TARGET-stagefeedback-bfd)
4263 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4264 clean-stagefeedback: clean-stagefeedback-bfd
4265 clean-stagefeedback-bfd:
4266 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4267 || exit 0 ; \
4268 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4269 cd $(HOST_SUBDIR)/bfd && \
4270 $(MAKE) $(FLAGS_TO_PASS) \
4271 $(POSTSTAGE1_FLAGS_TO_PASS) \
4272 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4273 @endif bfd-bootstrap
4279 .PHONY: check-bfd maybe-check-bfd
4280 maybe-check-bfd:
4281 @if bfd
4282 maybe-check-bfd: check-bfd
4284 check-bfd:
4285 @: $(MAKE); $(unstage)
4286 @r=`${PWD_COMMAND}`; export r; \
4287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4288 $(HOST_EXPORTS) \
4289 (cd $(HOST_SUBDIR)/bfd && \
4290 $(MAKE) $(FLAGS_TO_PASS) check)
4292 @endif bfd
4294 .PHONY: install-bfd maybe-install-bfd
4295 maybe-install-bfd:
4296 @if bfd
4297 maybe-install-bfd: install-bfd
4299 install-bfd: installdirs
4300 @: $(MAKE); $(unstage)
4301 @r=`${PWD_COMMAND}`; export r; \
4302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4303 $(HOST_EXPORTS) \
4304 (cd $(HOST_SUBDIR)/bfd && \
4305 $(MAKE) $(FLAGS_TO_PASS) install)
4307 @endif bfd
4309 # Other targets (info, dvi, etc.)
4311 .PHONY: maybe-info-bfd info-bfd
4312 maybe-info-bfd:
4313 @if bfd
4314 maybe-info-bfd: info-bfd
4316 info-bfd: \
4317 configure-bfd
4318 @[ -f ./bfd/Makefile ] || exit 0; \
4319 r=`${PWD_COMMAND}`; export r; \
4320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4321 $(HOST_EXPORTS) \
4322 for flag in $(EXTRA_HOST_FLAGS) ; do \
4323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4324 done; \
4325 echo "Doing info in bfd" ; \
4326 (cd $(HOST_SUBDIR)/bfd && \
4327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4329 "RANLIB=$${RANLIB}" \
4330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4331 info) \
4332 || exit 1
4334 @endif bfd
4336 .PHONY: maybe-dvi-bfd dvi-bfd
4337 maybe-dvi-bfd:
4338 @if bfd
4339 maybe-dvi-bfd: dvi-bfd
4341 dvi-bfd: \
4342 configure-bfd
4343 @[ -f ./bfd/Makefile ] || exit 0; \
4344 r=`${PWD_COMMAND}`; export r; \
4345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4346 $(HOST_EXPORTS) \
4347 for flag in $(EXTRA_HOST_FLAGS) ; do \
4348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4349 done; \
4350 echo "Doing dvi in bfd" ; \
4351 (cd $(HOST_SUBDIR)/bfd && \
4352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4354 "RANLIB=$${RANLIB}" \
4355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4356 dvi) \
4357 || exit 1
4359 @endif bfd
4361 .PHONY: maybe-html-bfd html-bfd
4362 maybe-html-bfd:
4363 @if bfd
4364 maybe-html-bfd: html-bfd
4366 html-bfd: \
4367 configure-bfd
4368 @[ -f ./bfd/Makefile ] || exit 0; \
4369 r=`${PWD_COMMAND}`; export r; \
4370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4371 $(HOST_EXPORTS) \
4372 for flag in $(EXTRA_HOST_FLAGS) ; do \
4373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4374 done; \
4375 echo "Doing html in bfd" ; \
4376 (cd $(HOST_SUBDIR)/bfd && \
4377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4379 "RANLIB=$${RANLIB}" \
4380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4381 html) \
4382 || exit 1
4384 @endif bfd
4386 .PHONY: maybe-TAGS-bfd TAGS-bfd
4387 maybe-TAGS-bfd:
4388 @if bfd
4389 maybe-TAGS-bfd: TAGS-bfd
4391 TAGS-bfd: \
4392 configure-bfd
4393 @[ -f ./bfd/Makefile ] || exit 0; \
4394 r=`${PWD_COMMAND}`; export r; \
4395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4396 $(HOST_EXPORTS) \
4397 for flag in $(EXTRA_HOST_FLAGS) ; do \
4398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4399 done; \
4400 echo "Doing TAGS in bfd" ; \
4401 (cd $(HOST_SUBDIR)/bfd && \
4402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4404 "RANLIB=$${RANLIB}" \
4405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4406 TAGS) \
4407 || exit 1
4409 @endif bfd
4411 .PHONY: maybe-install-info-bfd install-info-bfd
4412 maybe-install-info-bfd:
4413 @if bfd
4414 maybe-install-info-bfd: install-info-bfd
4416 install-info-bfd: \
4417 configure-bfd \
4418 info-bfd
4419 @[ -f ./bfd/Makefile ] || exit 0; \
4420 r=`${PWD_COMMAND}`; export r; \
4421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4422 $(HOST_EXPORTS) \
4423 for flag in $(EXTRA_HOST_FLAGS) ; do \
4424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4425 done; \
4426 echo "Doing install-info in bfd" ; \
4427 (cd $(HOST_SUBDIR)/bfd && \
4428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4430 "RANLIB=$${RANLIB}" \
4431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4432 install-info) \
4433 || exit 1
4435 @endif bfd
4437 .PHONY: maybe-installcheck-bfd installcheck-bfd
4438 maybe-installcheck-bfd:
4439 @if bfd
4440 maybe-installcheck-bfd: installcheck-bfd
4442 installcheck-bfd: \
4443 configure-bfd
4444 @[ -f ./bfd/Makefile ] || exit 0; \
4445 r=`${PWD_COMMAND}`; export r; \
4446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4447 $(HOST_EXPORTS) \
4448 for flag in $(EXTRA_HOST_FLAGS) ; do \
4449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4450 done; \
4451 echo "Doing installcheck in bfd" ; \
4452 (cd $(HOST_SUBDIR)/bfd && \
4453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4455 "RANLIB=$${RANLIB}" \
4456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4457 installcheck) \
4458 || exit 1
4460 @endif bfd
4462 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4463 maybe-mostlyclean-bfd:
4464 @if bfd
4465 maybe-mostlyclean-bfd: mostlyclean-bfd
4467 mostlyclean-bfd:
4468 @[ -f ./bfd/Makefile ] || exit 0; \
4469 r=`${PWD_COMMAND}`; export r; \
4470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4471 $(HOST_EXPORTS) \
4472 for flag in $(EXTRA_HOST_FLAGS) ; do \
4473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4474 done; \
4475 echo "Doing mostlyclean in bfd" ; \
4476 (cd $(HOST_SUBDIR)/bfd && \
4477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4479 "RANLIB=$${RANLIB}" \
4480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4481 mostlyclean) \
4482 || exit 1
4484 @endif bfd
4486 .PHONY: maybe-clean-bfd clean-bfd
4487 maybe-clean-bfd:
4488 @if bfd
4489 maybe-clean-bfd: clean-bfd
4491 clean-bfd:
4492 @[ -f ./bfd/Makefile ] || exit 0; \
4493 r=`${PWD_COMMAND}`; export r; \
4494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 $(HOST_EXPORTS) \
4496 for flag in $(EXTRA_HOST_FLAGS) ; do \
4497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4498 done; \
4499 echo "Doing clean in bfd" ; \
4500 (cd $(HOST_SUBDIR)/bfd && \
4501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4503 "RANLIB=$${RANLIB}" \
4504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4505 clean) \
4506 || exit 1
4508 @endif bfd
4510 .PHONY: maybe-distclean-bfd distclean-bfd
4511 maybe-distclean-bfd:
4512 @if bfd
4513 maybe-distclean-bfd: distclean-bfd
4515 distclean-bfd:
4516 @[ -f ./bfd/Makefile ] || exit 0; \
4517 r=`${PWD_COMMAND}`; export r; \
4518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 $(HOST_EXPORTS) \
4520 for flag in $(EXTRA_HOST_FLAGS) ; do \
4521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4522 done; \
4523 echo "Doing distclean in bfd" ; \
4524 (cd $(HOST_SUBDIR)/bfd && \
4525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4527 "RANLIB=$${RANLIB}" \
4528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4529 distclean) \
4530 || exit 1
4532 @endif bfd
4534 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4535 maybe-maintainer-clean-bfd:
4536 @if bfd
4537 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4539 maintainer-clean-bfd:
4540 @[ -f ./bfd/Makefile ] || exit 0; \
4541 r=`${PWD_COMMAND}`; export r; \
4542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 $(HOST_EXPORTS) \
4544 for flag in $(EXTRA_HOST_FLAGS) ; do \
4545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4546 done; \
4547 echo "Doing maintainer-clean in bfd" ; \
4548 (cd $(HOST_SUBDIR)/bfd && \
4549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4551 "RANLIB=$${RANLIB}" \
4552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4553 maintainer-clean) \
4554 || exit 1
4556 @endif bfd
4560 .PHONY: configure-opcodes maybe-configure-opcodes
4561 maybe-configure-opcodes:
4562 @if opcodes
4563 maybe-configure-opcodes: configure-opcodes
4564 configure-opcodes:
4565 @test -f stage_last && exit 0; \
4566 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4568 r=`${PWD_COMMAND}`; export r; \
4569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4570 $(HOST_EXPORTS) \
4571 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4572 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4573 case $(srcdir) in \
4574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4575 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4577 esac; \
4578 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4579 libsrcdir="$$s/opcodes"; \
4580 $(SHELL) $${libsrcdir}/configure \
4581 $(HOST_CONFIGARGS) $${srcdiroption} \
4582 || exit 1
4583 @endif opcodes
4587 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4588 maybe-configure-stage1-opcodes:
4589 @if opcodes-bootstrap
4590 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4591 configure-stage1-opcodes:
4592 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4593 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4594 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4595 $(HOST_EXPORTS) \
4596 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4598 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4599 case $(srcdir) in \
4600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4601 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4603 esac; \
4604 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4605 libsrcdir="$$s/opcodes"; \
4606 $(SHELL) $${libsrcdir}/configure \
4607 $(HOST_CONFIGARGS) $${srcdiroption} \
4608 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4609 @endif opcodes-bootstrap
4611 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4612 maybe-configure-stage2-opcodes:
4613 @if opcodes-bootstrap
4614 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4615 configure-stage2-opcodes:
4616 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4617 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4618 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4619 $(HOST_EXPORTS) \
4620 $(POSTSTAGE1_HOST_EXPORTS) \
4621 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4623 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4624 case $(srcdir) in \
4625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4626 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4628 esac; \
4629 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4630 libsrcdir="$$s/opcodes"; \
4631 $(SHELL) $${libsrcdir}/configure \
4632 $(HOST_CONFIGARGS) $${srcdiroption} \
4633 @stage2_werror_flag@
4634 @endif opcodes-bootstrap
4636 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4637 maybe-configure-stage3-opcodes:
4638 @if opcodes-bootstrap
4639 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4640 configure-stage3-opcodes:
4641 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4642 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4643 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4644 $(HOST_EXPORTS) \
4645 $(POSTSTAGE1_HOST_EXPORTS) \
4646 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4647 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4648 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4649 case $(srcdir) in \
4650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4651 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4653 esac; \
4654 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4655 libsrcdir="$$s/opcodes"; \
4656 $(SHELL) $${libsrcdir}/configure \
4657 $(HOST_CONFIGARGS) $${srcdiroption} \
4658 @stage2_werror_flag@
4659 @endif opcodes-bootstrap
4661 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4662 maybe-configure-stage4-opcodes:
4663 @if opcodes-bootstrap
4664 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4665 configure-stage4-opcodes:
4666 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4667 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4668 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4669 $(HOST_EXPORTS) \
4670 $(POSTSTAGE1_HOST_EXPORTS) \
4671 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4673 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4674 case $(srcdir) in \
4675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4676 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4678 esac; \
4679 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4680 libsrcdir="$$s/opcodes"; \
4681 $(SHELL) $${libsrcdir}/configure \
4682 $(HOST_CONFIGARGS) $${srcdiroption} \
4683 @stage2_werror_flag@
4684 @endif opcodes-bootstrap
4686 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4687 maybe-configure-stageprofile-opcodes:
4688 @if opcodes-bootstrap
4689 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4690 configure-stageprofile-opcodes:
4691 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4692 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4693 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4694 $(HOST_EXPORTS) \
4695 $(POSTSTAGE1_HOST_EXPORTS) \
4696 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4698 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4699 case $(srcdir) in \
4700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4701 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4703 esac; \
4704 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4705 libsrcdir="$$s/opcodes"; \
4706 $(SHELL) $${libsrcdir}/configure \
4707 $(HOST_CONFIGARGS) $${srcdiroption} \
4708 @stage2_werror_flag@
4709 @endif opcodes-bootstrap
4711 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4712 maybe-configure-stagefeedback-opcodes:
4713 @if opcodes-bootstrap
4714 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4715 configure-stagefeedback-opcodes:
4716 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4717 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4718 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4719 $(HOST_EXPORTS) \
4720 $(POSTSTAGE1_HOST_EXPORTS) \
4721 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4723 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4724 case $(srcdir) in \
4725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4726 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4728 esac; \
4729 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4730 libsrcdir="$$s/opcodes"; \
4731 $(SHELL) $${libsrcdir}/configure \
4732 $(HOST_CONFIGARGS) $${srcdiroption} \
4733 @stage2_werror_flag@
4734 @endif opcodes-bootstrap
4740 .PHONY: all-opcodes maybe-all-opcodes
4741 maybe-all-opcodes:
4742 @if opcodes
4743 TARGET-opcodes=all
4744 maybe-all-opcodes: all-opcodes
4745 all-opcodes: configure-opcodes
4746 @test -f stage_last && exit 0; \
4747 r=`${PWD_COMMAND}`; export r; \
4748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4749 $(HOST_EXPORTS) \
4750 (cd $(HOST_SUBDIR)/opcodes && \
4751 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4752 @endif opcodes
4756 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4757 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4758 maybe-all-stage1-opcodes:
4759 maybe-clean-stage1-opcodes:
4760 @if opcodes-bootstrap
4761 maybe-all-stage1-opcodes: all-stage1-opcodes
4762 all-stage1: all-stage1-opcodes
4763 TARGET-stage1-opcodes = $(TARGET-opcodes)
4764 all-stage1-opcodes: configure-stage1-opcodes
4765 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4766 @r=`${PWD_COMMAND}`; export r; \
4767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4768 $(HOST_EXPORTS) \
4769 cd $(HOST_SUBDIR)/opcodes && \
4770 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4771 $(TARGET-stage1-opcodes)
4773 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4774 clean-stage1: clean-stage1-opcodes
4775 clean-stage1-opcodes:
4776 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4777 || exit 0 ; \
4778 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4779 cd $(HOST_SUBDIR)/opcodes && \
4780 $(MAKE) $(FLAGS_TO_PASS) \
4781 CFLAGS="$(STAGE1_CFLAGS)" clean
4782 @endif opcodes-bootstrap
4785 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4786 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4787 maybe-all-stage2-opcodes:
4788 maybe-clean-stage2-opcodes:
4789 @if opcodes-bootstrap
4790 maybe-all-stage2-opcodes: all-stage2-opcodes
4791 all-stage2: all-stage2-opcodes
4792 TARGET-stage2-opcodes = $(TARGET-opcodes)
4793 all-stage2-opcodes: configure-stage2-opcodes
4794 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4795 @r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 $(HOST_EXPORTS) \
4798 $(POSTSTAGE1_HOST_EXPORTS) \
4799 cd $(HOST_SUBDIR)/opcodes && \
4800 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4801 $(TARGET-stage2-opcodes)
4803 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4804 clean-stage2: clean-stage2-opcodes
4805 clean-stage2-opcodes:
4806 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4807 || exit 0 ; \
4808 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4809 cd $(HOST_SUBDIR)/opcodes && \
4810 $(MAKE) $(FLAGS_TO_PASS) \
4811 $(POSTSTAGE1_FLAGS_TO_PASS) \
4812 clean
4813 @endif opcodes-bootstrap
4816 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4817 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4818 maybe-all-stage3-opcodes:
4819 maybe-clean-stage3-opcodes:
4820 @if opcodes-bootstrap
4821 maybe-all-stage3-opcodes: all-stage3-opcodes
4822 all-stage3: all-stage3-opcodes
4823 TARGET-stage3-opcodes = $(TARGET-opcodes)
4824 all-stage3-opcodes: configure-stage3-opcodes
4825 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4826 @r=`${PWD_COMMAND}`; export r; \
4827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4828 $(HOST_EXPORTS) \
4829 $(POSTSTAGE1_HOST_EXPORTS) \
4830 cd $(HOST_SUBDIR)/opcodes && \
4831 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4832 $(TARGET-stage3-opcodes)
4834 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4835 clean-stage3: clean-stage3-opcodes
4836 clean-stage3-opcodes:
4837 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4838 || exit 0 ; \
4839 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4840 cd $(HOST_SUBDIR)/opcodes && \
4841 $(MAKE) $(FLAGS_TO_PASS) \
4842 $(POSTSTAGE1_FLAGS_TO_PASS) \
4843 clean
4844 @endif opcodes-bootstrap
4847 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4848 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4849 maybe-all-stage4-opcodes:
4850 maybe-clean-stage4-opcodes:
4851 @if opcodes-bootstrap
4852 maybe-all-stage4-opcodes: all-stage4-opcodes
4853 all-stage4: all-stage4-opcodes
4854 TARGET-stage4-opcodes = $(TARGET-opcodes)
4855 all-stage4-opcodes: configure-stage4-opcodes
4856 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4857 @r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 $(HOST_EXPORTS) \
4860 $(POSTSTAGE1_HOST_EXPORTS) \
4861 cd $(HOST_SUBDIR)/opcodes && \
4862 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4863 $(TARGET-stage4-opcodes)
4865 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4866 clean-stage4: clean-stage4-opcodes
4867 clean-stage4-opcodes:
4868 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4869 || exit 0 ; \
4870 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4871 cd $(HOST_SUBDIR)/opcodes && \
4872 $(MAKE) $(FLAGS_TO_PASS) \
4873 $(POSTSTAGE1_FLAGS_TO_PASS) \
4874 clean
4875 @endif opcodes-bootstrap
4878 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4879 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4880 maybe-all-stageprofile-opcodes:
4881 maybe-clean-stageprofile-opcodes:
4882 @if opcodes-bootstrap
4883 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4884 all-stageprofile: all-stageprofile-opcodes
4885 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4886 all-stageprofile-opcodes: configure-stageprofile-opcodes
4887 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4888 @r=`${PWD_COMMAND}`; export r; \
4889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4890 $(HOST_EXPORTS) \
4891 $(POSTSTAGE1_HOST_EXPORTS) \
4892 cd $(HOST_SUBDIR)/opcodes && \
4893 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4894 $(TARGET-stageprofile-opcodes)
4896 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4897 clean-stageprofile: clean-stageprofile-opcodes
4898 clean-stageprofile-opcodes:
4899 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4900 || exit 0 ; \
4901 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4902 cd $(HOST_SUBDIR)/opcodes && \
4903 $(MAKE) $(FLAGS_TO_PASS) \
4904 $(POSTSTAGE1_FLAGS_TO_PASS) \
4905 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4906 @endif opcodes-bootstrap
4909 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4910 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4911 maybe-all-stagefeedback-opcodes:
4912 maybe-clean-stagefeedback-opcodes:
4913 @if opcodes-bootstrap
4914 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4915 all-stagefeedback: all-stagefeedback-opcodes
4916 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4917 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4918 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4919 @r=`${PWD_COMMAND}`; export r; \
4920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4921 $(HOST_EXPORTS) \
4922 $(POSTSTAGE1_HOST_EXPORTS) \
4923 cd $(HOST_SUBDIR)/opcodes && \
4924 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4925 $(TARGET-stagefeedback-opcodes)
4927 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4928 clean-stagefeedback: clean-stagefeedback-opcodes
4929 clean-stagefeedback-opcodes:
4930 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4931 || exit 0 ; \
4932 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4933 cd $(HOST_SUBDIR)/opcodes && \
4934 $(MAKE) $(FLAGS_TO_PASS) \
4935 $(POSTSTAGE1_FLAGS_TO_PASS) \
4936 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4937 @endif opcodes-bootstrap
4943 .PHONY: check-opcodes maybe-check-opcodes
4944 maybe-check-opcodes:
4945 @if opcodes
4946 maybe-check-opcodes: check-opcodes
4948 check-opcodes:
4949 @: $(MAKE); $(unstage)
4950 @r=`${PWD_COMMAND}`; export r; \
4951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4952 $(HOST_EXPORTS) \
4953 (cd $(HOST_SUBDIR)/opcodes && \
4954 $(MAKE) $(FLAGS_TO_PASS) check)
4956 @endif opcodes
4958 .PHONY: install-opcodes maybe-install-opcodes
4959 maybe-install-opcodes:
4960 @if opcodes
4961 maybe-install-opcodes: install-opcodes
4963 install-opcodes: installdirs
4964 @: $(MAKE); $(unstage)
4965 @r=`${PWD_COMMAND}`; export r; \
4966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4967 $(HOST_EXPORTS) \
4968 (cd $(HOST_SUBDIR)/opcodes && \
4969 $(MAKE) $(FLAGS_TO_PASS) install)
4971 @endif opcodes
4973 # Other targets (info, dvi, etc.)
4975 .PHONY: maybe-info-opcodes info-opcodes
4976 maybe-info-opcodes:
4977 @if opcodes
4978 maybe-info-opcodes: info-opcodes
4980 info-opcodes: \
4981 configure-opcodes
4982 @[ -f ./opcodes/Makefile ] || exit 0; \
4983 r=`${PWD_COMMAND}`; export r; \
4984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4985 $(HOST_EXPORTS) \
4986 for flag in $(EXTRA_HOST_FLAGS) ; do \
4987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4988 done; \
4989 echo "Doing info in opcodes" ; \
4990 (cd $(HOST_SUBDIR)/opcodes && \
4991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4993 "RANLIB=$${RANLIB}" \
4994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4995 info) \
4996 || exit 1
4998 @endif opcodes
5000 .PHONY: maybe-dvi-opcodes dvi-opcodes
5001 maybe-dvi-opcodes:
5002 @if opcodes
5003 maybe-dvi-opcodes: dvi-opcodes
5005 dvi-opcodes: \
5006 configure-opcodes
5007 @[ -f ./opcodes/Makefile ] || exit 0; \
5008 r=`${PWD_COMMAND}`; export r; \
5009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5010 $(HOST_EXPORTS) \
5011 for flag in $(EXTRA_HOST_FLAGS) ; do \
5012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5013 done; \
5014 echo "Doing dvi in opcodes" ; \
5015 (cd $(HOST_SUBDIR)/opcodes && \
5016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5018 "RANLIB=$${RANLIB}" \
5019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5020 dvi) \
5021 || exit 1
5023 @endif opcodes
5025 .PHONY: maybe-html-opcodes html-opcodes
5026 maybe-html-opcodes:
5027 @if opcodes
5028 maybe-html-opcodes: html-opcodes
5030 html-opcodes: \
5031 configure-opcodes
5032 @[ -f ./opcodes/Makefile ] || exit 0; \
5033 r=`${PWD_COMMAND}`; export r; \
5034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5035 $(HOST_EXPORTS) \
5036 for flag in $(EXTRA_HOST_FLAGS) ; do \
5037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5038 done; \
5039 echo "Doing html in opcodes" ; \
5040 (cd $(HOST_SUBDIR)/opcodes && \
5041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5043 "RANLIB=$${RANLIB}" \
5044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5045 html) \
5046 || exit 1
5048 @endif opcodes
5050 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5051 maybe-TAGS-opcodes:
5052 @if opcodes
5053 maybe-TAGS-opcodes: TAGS-opcodes
5055 TAGS-opcodes: \
5056 configure-opcodes
5057 @[ -f ./opcodes/Makefile ] || exit 0; \
5058 r=`${PWD_COMMAND}`; export r; \
5059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5060 $(HOST_EXPORTS) \
5061 for flag in $(EXTRA_HOST_FLAGS) ; do \
5062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5063 done; \
5064 echo "Doing TAGS in opcodes" ; \
5065 (cd $(HOST_SUBDIR)/opcodes && \
5066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5068 "RANLIB=$${RANLIB}" \
5069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5070 TAGS) \
5071 || exit 1
5073 @endif opcodes
5075 .PHONY: maybe-install-info-opcodes install-info-opcodes
5076 maybe-install-info-opcodes:
5077 @if opcodes
5078 maybe-install-info-opcodes: install-info-opcodes
5080 install-info-opcodes: \
5081 configure-opcodes \
5082 info-opcodes
5083 @[ -f ./opcodes/Makefile ] || exit 0; \
5084 r=`${PWD_COMMAND}`; export r; \
5085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5086 $(HOST_EXPORTS) \
5087 for flag in $(EXTRA_HOST_FLAGS) ; do \
5088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5089 done; \
5090 echo "Doing install-info in opcodes" ; \
5091 (cd $(HOST_SUBDIR)/opcodes && \
5092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5094 "RANLIB=$${RANLIB}" \
5095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5096 install-info) \
5097 || exit 1
5099 @endif opcodes
5101 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5102 maybe-installcheck-opcodes:
5103 @if opcodes
5104 maybe-installcheck-opcodes: installcheck-opcodes
5106 installcheck-opcodes: \
5107 configure-opcodes
5108 @[ -f ./opcodes/Makefile ] || exit 0; \
5109 r=`${PWD_COMMAND}`; export r; \
5110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5111 $(HOST_EXPORTS) \
5112 for flag in $(EXTRA_HOST_FLAGS) ; do \
5113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5114 done; \
5115 echo "Doing installcheck in opcodes" ; \
5116 (cd $(HOST_SUBDIR)/opcodes && \
5117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5119 "RANLIB=$${RANLIB}" \
5120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5121 installcheck) \
5122 || exit 1
5124 @endif opcodes
5126 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5127 maybe-mostlyclean-opcodes:
5128 @if opcodes
5129 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5131 mostlyclean-opcodes:
5132 @[ -f ./opcodes/Makefile ] || exit 0; \
5133 r=`${PWD_COMMAND}`; export r; \
5134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5135 $(HOST_EXPORTS) \
5136 for flag in $(EXTRA_HOST_FLAGS) ; do \
5137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5138 done; \
5139 echo "Doing mostlyclean in opcodes" ; \
5140 (cd $(HOST_SUBDIR)/opcodes && \
5141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5143 "RANLIB=$${RANLIB}" \
5144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5145 mostlyclean) \
5146 || exit 1
5148 @endif opcodes
5150 .PHONY: maybe-clean-opcodes clean-opcodes
5151 maybe-clean-opcodes:
5152 @if opcodes
5153 maybe-clean-opcodes: clean-opcodes
5155 clean-opcodes:
5156 @[ -f ./opcodes/Makefile ] || exit 0; \
5157 r=`${PWD_COMMAND}`; export r; \
5158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5159 $(HOST_EXPORTS) \
5160 for flag in $(EXTRA_HOST_FLAGS) ; do \
5161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5162 done; \
5163 echo "Doing clean in opcodes" ; \
5164 (cd $(HOST_SUBDIR)/opcodes && \
5165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5167 "RANLIB=$${RANLIB}" \
5168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5169 clean) \
5170 || exit 1
5172 @endif opcodes
5174 .PHONY: maybe-distclean-opcodes distclean-opcodes
5175 maybe-distclean-opcodes:
5176 @if opcodes
5177 maybe-distclean-opcodes: distclean-opcodes
5179 distclean-opcodes:
5180 @[ -f ./opcodes/Makefile ] || exit 0; \
5181 r=`${PWD_COMMAND}`; export r; \
5182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5183 $(HOST_EXPORTS) \
5184 for flag in $(EXTRA_HOST_FLAGS) ; do \
5185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5186 done; \
5187 echo "Doing distclean in opcodes" ; \
5188 (cd $(HOST_SUBDIR)/opcodes && \
5189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5191 "RANLIB=$${RANLIB}" \
5192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5193 distclean) \
5194 || exit 1
5196 @endif opcodes
5198 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5199 maybe-maintainer-clean-opcodes:
5200 @if opcodes
5201 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5203 maintainer-clean-opcodes:
5204 @[ -f ./opcodes/Makefile ] || exit 0; \
5205 r=`${PWD_COMMAND}`; export r; \
5206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5207 $(HOST_EXPORTS) \
5208 for flag in $(EXTRA_HOST_FLAGS) ; do \
5209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5210 done; \
5211 echo "Doing maintainer-clean in opcodes" ; \
5212 (cd $(HOST_SUBDIR)/opcodes && \
5213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5215 "RANLIB=$${RANLIB}" \
5216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5217 maintainer-clean) \
5218 || exit 1
5220 @endif opcodes
5224 .PHONY: configure-binutils maybe-configure-binutils
5225 maybe-configure-binutils:
5226 @if binutils
5227 maybe-configure-binutils: configure-binutils
5228 configure-binutils:
5229 @test -f stage_last && exit 0; \
5230 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5232 r=`${PWD_COMMAND}`; export r; \
5233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5234 $(HOST_EXPORTS) \
5235 echo Configuring in $(HOST_SUBDIR)/binutils; \
5236 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5237 case $(srcdir) in \
5238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5239 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5241 esac; \
5242 srcdiroption="--srcdir=$${topdir}/binutils"; \
5243 libsrcdir="$$s/binutils"; \
5244 $(SHELL) $${libsrcdir}/configure \
5245 $(HOST_CONFIGARGS) $${srcdiroption} \
5246 || exit 1
5247 @endif binutils
5251 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5252 maybe-configure-stage1-binutils:
5253 @if binutils-bootstrap
5254 maybe-configure-stage1-binutils: configure-stage1-binutils
5255 configure-stage1-binutils:
5256 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5257 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5258 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5259 $(HOST_EXPORTS) \
5260 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5262 cd $(HOST_SUBDIR)/binutils || exit 1; \
5263 case $(srcdir) in \
5264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5265 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5267 esac; \
5268 srcdiroption="--srcdir=$${topdir}/binutils"; \
5269 libsrcdir="$$s/binutils"; \
5270 $(SHELL) $${libsrcdir}/configure \
5271 $(HOST_CONFIGARGS) $${srcdiroption} \
5272 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5273 @endif binutils-bootstrap
5275 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5276 maybe-configure-stage2-binutils:
5277 @if binutils-bootstrap
5278 maybe-configure-stage2-binutils: configure-stage2-binutils
5279 configure-stage2-binutils:
5280 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5282 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5283 $(HOST_EXPORTS) \
5284 $(POSTSTAGE1_HOST_EXPORTS) \
5285 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5286 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5287 cd $(HOST_SUBDIR)/binutils || exit 1; \
5288 case $(srcdir) in \
5289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5290 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5292 esac; \
5293 srcdiroption="--srcdir=$${topdir}/binutils"; \
5294 libsrcdir="$$s/binutils"; \
5295 $(SHELL) $${libsrcdir}/configure \
5296 $(HOST_CONFIGARGS) $${srcdiroption} \
5297 @stage2_werror_flag@
5298 @endif binutils-bootstrap
5300 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5301 maybe-configure-stage3-binutils:
5302 @if binutils-bootstrap
5303 maybe-configure-stage3-binutils: configure-stage3-binutils
5304 configure-stage3-binutils:
5305 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5306 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5307 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5308 $(HOST_EXPORTS) \
5309 $(POSTSTAGE1_HOST_EXPORTS) \
5310 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5312 cd $(HOST_SUBDIR)/binutils || exit 1; \
5313 case $(srcdir) in \
5314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5315 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5317 esac; \
5318 srcdiroption="--srcdir=$${topdir}/binutils"; \
5319 libsrcdir="$$s/binutils"; \
5320 $(SHELL) $${libsrcdir}/configure \
5321 $(HOST_CONFIGARGS) $${srcdiroption} \
5322 @stage2_werror_flag@
5323 @endif binutils-bootstrap
5325 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5326 maybe-configure-stage4-binutils:
5327 @if binutils-bootstrap
5328 maybe-configure-stage4-binutils: configure-stage4-binutils
5329 configure-stage4-binutils:
5330 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5332 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5333 $(HOST_EXPORTS) \
5334 $(POSTSTAGE1_HOST_EXPORTS) \
5335 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5337 cd $(HOST_SUBDIR)/binutils || exit 1; \
5338 case $(srcdir) in \
5339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5340 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5342 esac; \
5343 srcdiroption="--srcdir=$${topdir}/binutils"; \
5344 libsrcdir="$$s/binutils"; \
5345 $(SHELL) $${libsrcdir}/configure \
5346 $(HOST_CONFIGARGS) $${srcdiroption} \
5347 @stage2_werror_flag@
5348 @endif binutils-bootstrap
5350 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5351 maybe-configure-stageprofile-binutils:
5352 @if binutils-bootstrap
5353 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5354 configure-stageprofile-binutils:
5355 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5357 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5358 $(HOST_EXPORTS) \
5359 $(POSTSTAGE1_HOST_EXPORTS) \
5360 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5361 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5362 cd $(HOST_SUBDIR)/binutils || exit 1; \
5363 case $(srcdir) in \
5364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5365 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5367 esac; \
5368 srcdiroption="--srcdir=$${topdir}/binutils"; \
5369 libsrcdir="$$s/binutils"; \
5370 $(SHELL) $${libsrcdir}/configure \
5371 $(HOST_CONFIGARGS) $${srcdiroption} \
5372 @stage2_werror_flag@
5373 @endif binutils-bootstrap
5375 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5376 maybe-configure-stagefeedback-binutils:
5377 @if binutils-bootstrap
5378 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5379 configure-stagefeedback-binutils:
5380 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5382 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5383 $(HOST_EXPORTS) \
5384 $(POSTSTAGE1_HOST_EXPORTS) \
5385 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5387 cd $(HOST_SUBDIR)/binutils || exit 1; \
5388 case $(srcdir) in \
5389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5390 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5392 esac; \
5393 srcdiroption="--srcdir=$${topdir}/binutils"; \
5394 libsrcdir="$$s/binutils"; \
5395 $(SHELL) $${libsrcdir}/configure \
5396 $(HOST_CONFIGARGS) $${srcdiroption} \
5397 @stage2_werror_flag@
5398 @endif binutils-bootstrap
5404 .PHONY: all-binutils maybe-all-binutils
5405 maybe-all-binutils:
5406 @if binutils
5407 TARGET-binutils=all
5408 maybe-all-binutils: all-binutils
5409 all-binutils: configure-binutils
5410 @test -f stage_last && exit 0; \
5411 r=`${PWD_COMMAND}`; export r; \
5412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5413 $(HOST_EXPORTS) \
5414 (cd $(HOST_SUBDIR)/binutils && \
5415 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5416 @endif binutils
5420 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5421 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5422 maybe-all-stage1-binutils:
5423 maybe-clean-stage1-binutils:
5424 @if binutils-bootstrap
5425 maybe-all-stage1-binutils: all-stage1-binutils
5426 all-stage1: all-stage1-binutils
5427 TARGET-stage1-binutils = $(TARGET-binutils)
5428 all-stage1-binutils: configure-stage1-binutils
5429 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5430 @r=`${PWD_COMMAND}`; export r; \
5431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5432 $(HOST_EXPORTS) \
5433 cd $(HOST_SUBDIR)/binutils && \
5434 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5435 $(TARGET-stage1-binutils)
5437 maybe-clean-stage1-binutils: clean-stage1-binutils
5438 clean-stage1: clean-stage1-binutils
5439 clean-stage1-binutils:
5440 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5441 || exit 0 ; \
5442 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5443 cd $(HOST_SUBDIR)/binutils && \
5444 $(MAKE) $(FLAGS_TO_PASS) \
5445 CFLAGS="$(STAGE1_CFLAGS)" clean
5446 @endif binutils-bootstrap
5449 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5450 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5451 maybe-all-stage2-binutils:
5452 maybe-clean-stage2-binutils:
5453 @if binutils-bootstrap
5454 maybe-all-stage2-binutils: all-stage2-binutils
5455 all-stage2: all-stage2-binutils
5456 TARGET-stage2-binutils = $(TARGET-binutils)
5457 all-stage2-binutils: configure-stage2-binutils
5458 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5459 @r=`${PWD_COMMAND}`; export r; \
5460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5461 $(HOST_EXPORTS) \
5462 $(POSTSTAGE1_HOST_EXPORTS) \
5463 cd $(HOST_SUBDIR)/binutils && \
5464 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5465 $(TARGET-stage2-binutils)
5467 maybe-clean-stage2-binutils: clean-stage2-binutils
5468 clean-stage2: clean-stage2-binutils
5469 clean-stage2-binutils:
5470 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5471 || exit 0 ; \
5472 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5473 cd $(HOST_SUBDIR)/binutils && \
5474 $(MAKE) $(FLAGS_TO_PASS) \
5475 $(POSTSTAGE1_FLAGS_TO_PASS) \
5476 clean
5477 @endif binutils-bootstrap
5480 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5481 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5482 maybe-all-stage3-binutils:
5483 maybe-clean-stage3-binutils:
5484 @if binutils-bootstrap
5485 maybe-all-stage3-binutils: all-stage3-binutils
5486 all-stage3: all-stage3-binutils
5487 TARGET-stage3-binutils = $(TARGET-binutils)
5488 all-stage3-binutils: configure-stage3-binutils
5489 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5490 @r=`${PWD_COMMAND}`; export r; \
5491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5492 $(HOST_EXPORTS) \
5493 $(POSTSTAGE1_HOST_EXPORTS) \
5494 cd $(HOST_SUBDIR)/binutils && \
5495 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5496 $(TARGET-stage3-binutils)
5498 maybe-clean-stage3-binutils: clean-stage3-binutils
5499 clean-stage3: clean-stage3-binutils
5500 clean-stage3-binutils:
5501 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5502 || exit 0 ; \
5503 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5504 cd $(HOST_SUBDIR)/binutils && \
5505 $(MAKE) $(FLAGS_TO_PASS) \
5506 $(POSTSTAGE1_FLAGS_TO_PASS) \
5507 clean
5508 @endif binutils-bootstrap
5511 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5512 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5513 maybe-all-stage4-binutils:
5514 maybe-clean-stage4-binutils:
5515 @if binutils-bootstrap
5516 maybe-all-stage4-binutils: all-stage4-binutils
5517 all-stage4: all-stage4-binutils
5518 TARGET-stage4-binutils = $(TARGET-binutils)
5519 all-stage4-binutils: configure-stage4-binutils
5520 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5521 @r=`${PWD_COMMAND}`; export r; \
5522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5523 $(HOST_EXPORTS) \
5524 $(POSTSTAGE1_HOST_EXPORTS) \
5525 cd $(HOST_SUBDIR)/binutils && \
5526 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5527 $(TARGET-stage4-binutils)
5529 maybe-clean-stage4-binutils: clean-stage4-binutils
5530 clean-stage4: clean-stage4-binutils
5531 clean-stage4-binutils:
5532 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5533 || exit 0 ; \
5534 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5535 cd $(HOST_SUBDIR)/binutils && \
5536 $(MAKE) $(FLAGS_TO_PASS) \
5537 $(POSTSTAGE1_FLAGS_TO_PASS) \
5538 clean
5539 @endif binutils-bootstrap
5542 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5543 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5544 maybe-all-stageprofile-binutils:
5545 maybe-clean-stageprofile-binutils:
5546 @if binutils-bootstrap
5547 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5548 all-stageprofile: all-stageprofile-binutils
5549 TARGET-stageprofile-binutils = $(TARGET-binutils)
5550 all-stageprofile-binutils: configure-stageprofile-binutils
5551 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5552 @r=`${PWD_COMMAND}`; export r; \
5553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5554 $(HOST_EXPORTS) \
5555 $(POSTSTAGE1_HOST_EXPORTS) \
5556 cd $(HOST_SUBDIR)/binutils && \
5557 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5558 $(TARGET-stageprofile-binutils)
5560 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5561 clean-stageprofile: clean-stageprofile-binutils
5562 clean-stageprofile-binutils:
5563 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5564 || exit 0 ; \
5565 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5566 cd $(HOST_SUBDIR)/binutils && \
5567 $(MAKE) $(FLAGS_TO_PASS) \
5568 $(POSTSTAGE1_FLAGS_TO_PASS) \
5569 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5570 @endif binutils-bootstrap
5573 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5574 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5575 maybe-all-stagefeedback-binutils:
5576 maybe-clean-stagefeedback-binutils:
5577 @if binutils-bootstrap
5578 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5579 all-stagefeedback: all-stagefeedback-binutils
5580 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5581 all-stagefeedback-binutils: configure-stagefeedback-binutils
5582 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5583 @r=`${PWD_COMMAND}`; export r; \
5584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5585 $(HOST_EXPORTS) \
5586 $(POSTSTAGE1_HOST_EXPORTS) \
5587 cd $(HOST_SUBDIR)/binutils && \
5588 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5589 $(TARGET-stagefeedback-binutils)
5591 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5592 clean-stagefeedback: clean-stagefeedback-binutils
5593 clean-stagefeedback-binutils:
5594 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5595 || exit 0 ; \
5596 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5597 cd $(HOST_SUBDIR)/binutils && \
5598 $(MAKE) $(FLAGS_TO_PASS) \
5599 $(POSTSTAGE1_FLAGS_TO_PASS) \
5600 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5601 @endif binutils-bootstrap
5607 .PHONY: check-binutils maybe-check-binutils
5608 maybe-check-binutils:
5609 @if binutils
5610 maybe-check-binutils: check-binutils
5612 check-binutils:
5613 @: $(MAKE); $(unstage)
5614 @r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 $(HOST_EXPORTS) \
5617 (cd $(HOST_SUBDIR)/binutils && \
5618 $(MAKE) $(FLAGS_TO_PASS) check)
5620 @endif binutils
5622 .PHONY: install-binutils maybe-install-binutils
5623 maybe-install-binutils:
5624 @if binutils
5625 maybe-install-binutils: install-binutils
5627 install-binutils: installdirs
5628 @: $(MAKE); $(unstage)
5629 @r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(HOST_EXPORTS) \
5632 (cd $(HOST_SUBDIR)/binutils && \
5633 $(MAKE) $(FLAGS_TO_PASS) install)
5635 @endif binutils
5637 # Other targets (info, dvi, etc.)
5639 .PHONY: maybe-info-binutils info-binutils
5640 maybe-info-binutils:
5641 @if binutils
5642 maybe-info-binutils: info-binutils
5644 info-binutils: \
5645 configure-binutils
5646 @[ -f ./binutils/Makefile ] || exit 0; \
5647 r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 $(HOST_EXPORTS) \
5650 for flag in $(EXTRA_HOST_FLAGS) ; do \
5651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5652 done; \
5653 echo "Doing info in binutils" ; \
5654 (cd $(HOST_SUBDIR)/binutils && \
5655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5657 "RANLIB=$${RANLIB}" \
5658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5659 info) \
5660 || exit 1
5662 @endif binutils
5664 .PHONY: maybe-dvi-binutils dvi-binutils
5665 maybe-dvi-binutils:
5666 @if binutils
5667 maybe-dvi-binutils: dvi-binutils
5669 dvi-binutils: \
5670 configure-binutils
5671 @[ -f ./binutils/Makefile ] || exit 0; \
5672 r=`${PWD_COMMAND}`; export r; \
5673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5674 $(HOST_EXPORTS) \
5675 for flag in $(EXTRA_HOST_FLAGS) ; do \
5676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5677 done; \
5678 echo "Doing dvi in binutils" ; \
5679 (cd $(HOST_SUBDIR)/binutils && \
5680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5682 "RANLIB=$${RANLIB}" \
5683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5684 dvi) \
5685 || exit 1
5687 @endif binutils
5689 .PHONY: maybe-html-binutils html-binutils
5690 maybe-html-binutils:
5691 @if binutils
5692 maybe-html-binutils: html-binutils
5694 html-binutils: \
5695 configure-binutils
5696 @[ -f ./binutils/Makefile ] || exit 0; \
5697 r=`${PWD_COMMAND}`; export r; \
5698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 $(HOST_EXPORTS) \
5700 for flag in $(EXTRA_HOST_FLAGS) ; do \
5701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5702 done; \
5703 echo "Doing html in binutils" ; \
5704 (cd $(HOST_SUBDIR)/binutils && \
5705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5707 "RANLIB=$${RANLIB}" \
5708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5709 html) \
5710 || exit 1
5712 @endif binutils
5714 .PHONY: maybe-TAGS-binutils TAGS-binutils
5715 maybe-TAGS-binutils:
5716 @if binutils
5717 maybe-TAGS-binutils: TAGS-binutils
5719 TAGS-binutils: \
5720 configure-binutils
5721 @[ -f ./binutils/Makefile ] || exit 0; \
5722 r=`${PWD_COMMAND}`; export r; \
5723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5724 $(HOST_EXPORTS) \
5725 for flag in $(EXTRA_HOST_FLAGS) ; do \
5726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5727 done; \
5728 echo "Doing TAGS in binutils" ; \
5729 (cd $(HOST_SUBDIR)/binutils && \
5730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5732 "RANLIB=$${RANLIB}" \
5733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5734 TAGS) \
5735 || exit 1
5737 @endif binutils
5739 .PHONY: maybe-install-info-binutils install-info-binutils
5740 maybe-install-info-binutils:
5741 @if binutils
5742 maybe-install-info-binutils: install-info-binutils
5744 install-info-binutils: \
5745 configure-binutils \
5746 info-binutils
5747 @[ -f ./binutils/Makefile ] || exit 0; \
5748 r=`${PWD_COMMAND}`; export r; \
5749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5750 $(HOST_EXPORTS) \
5751 for flag in $(EXTRA_HOST_FLAGS) ; do \
5752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5753 done; \
5754 echo "Doing install-info in binutils" ; \
5755 (cd $(HOST_SUBDIR)/binutils && \
5756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5758 "RANLIB=$${RANLIB}" \
5759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5760 install-info) \
5761 || exit 1
5763 @endif binutils
5765 .PHONY: maybe-installcheck-binutils installcheck-binutils
5766 maybe-installcheck-binutils:
5767 @if binutils
5768 maybe-installcheck-binutils: installcheck-binutils
5770 installcheck-binutils: \
5771 configure-binutils
5772 @[ -f ./binutils/Makefile ] || exit 0; \
5773 r=`${PWD_COMMAND}`; export r; \
5774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5775 $(HOST_EXPORTS) \
5776 for flag in $(EXTRA_HOST_FLAGS) ; do \
5777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5778 done; \
5779 echo "Doing installcheck in binutils" ; \
5780 (cd $(HOST_SUBDIR)/binutils && \
5781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5783 "RANLIB=$${RANLIB}" \
5784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5785 installcheck) \
5786 || exit 1
5788 @endif binutils
5790 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5791 maybe-mostlyclean-binutils:
5792 @if binutils
5793 maybe-mostlyclean-binutils: mostlyclean-binutils
5795 mostlyclean-binutils:
5796 @[ -f ./binutils/Makefile ] || exit 0; \
5797 r=`${PWD_COMMAND}`; export r; \
5798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5799 $(HOST_EXPORTS) \
5800 for flag in $(EXTRA_HOST_FLAGS) ; do \
5801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5802 done; \
5803 echo "Doing mostlyclean in binutils" ; \
5804 (cd $(HOST_SUBDIR)/binutils && \
5805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5807 "RANLIB=$${RANLIB}" \
5808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5809 mostlyclean) \
5810 || exit 1
5812 @endif binutils
5814 .PHONY: maybe-clean-binutils clean-binutils
5815 maybe-clean-binutils:
5816 @if binutils
5817 maybe-clean-binutils: clean-binutils
5819 clean-binutils:
5820 @[ -f ./binutils/Makefile ] || exit 0; \
5821 r=`${PWD_COMMAND}`; export r; \
5822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5823 $(HOST_EXPORTS) \
5824 for flag in $(EXTRA_HOST_FLAGS) ; do \
5825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5826 done; \
5827 echo "Doing clean in binutils" ; \
5828 (cd $(HOST_SUBDIR)/binutils && \
5829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5831 "RANLIB=$${RANLIB}" \
5832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5833 clean) \
5834 || exit 1
5836 @endif binutils
5838 .PHONY: maybe-distclean-binutils distclean-binutils
5839 maybe-distclean-binutils:
5840 @if binutils
5841 maybe-distclean-binutils: distclean-binutils
5843 distclean-binutils:
5844 @[ -f ./binutils/Makefile ] || exit 0; \
5845 r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 $(HOST_EXPORTS) \
5848 for flag in $(EXTRA_HOST_FLAGS) ; do \
5849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5850 done; \
5851 echo "Doing distclean in binutils" ; \
5852 (cd $(HOST_SUBDIR)/binutils && \
5853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5855 "RANLIB=$${RANLIB}" \
5856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5857 distclean) \
5858 || exit 1
5860 @endif binutils
5862 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5863 maybe-maintainer-clean-binutils:
5864 @if binutils
5865 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5867 maintainer-clean-binutils:
5868 @[ -f ./binutils/Makefile ] || exit 0; \
5869 r=`${PWD_COMMAND}`; export r; \
5870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5871 $(HOST_EXPORTS) \
5872 for flag in $(EXTRA_HOST_FLAGS) ; do \
5873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5874 done; \
5875 echo "Doing maintainer-clean in binutils" ; \
5876 (cd $(HOST_SUBDIR)/binutils && \
5877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5879 "RANLIB=$${RANLIB}" \
5880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5881 maintainer-clean) \
5882 || exit 1
5884 @endif binutils
5888 .PHONY: configure-bison maybe-configure-bison
5889 maybe-configure-bison:
5890 @if bison
5891 maybe-configure-bison: configure-bison
5892 configure-bison:
5893 @: $(MAKE); $(unstage)
5894 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5896 r=`${PWD_COMMAND}`; export r; \
5897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5898 $(HOST_EXPORTS) \
5899 echo Configuring in $(HOST_SUBDIR)/bison; \
5900 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5901 case $(srcdir) in \
5902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5903 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5905 esac; \
5906 srcdiroption="--srcdir=$${topdir}/bison"; \
5907 libsrcdir="$$s/bison"; \
5908 $(SHELL) $${libsrcdir}/configure \
5909 $(HOST_CONFIGARGS) $${srcdiroption} \
5910 || exit 1
5911 @endif bison
5917 .PHONY: all-bison maybe-all-bison
5918 maybe-all-bison:
5919 @if bison
5920 TARGET-bison=all
5921 maybe-all-bison: all-bison
5922 all-bison: configure-bison
5923 @: $(MAKE); $(unstage)
5924 @r=`${PWD_COMMAND}`; export r; \
5925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926 $(HOST_EXPORTS) \
5927 (cd $(HOST_SUBDIR)/bison && \
5928 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5929 @endif bison
5934 .PHONY: check-bison maybe-check-bison
5935 maybe-check-bison:
5936 @if bison
5937 maybe-check-bison: check-bison
5939 # This module is only tested in a native toolchain.
5940 check-bison:
5941 @: $(MAKE); $(unstage)
5942 @if [ '$(host)' = '$(target)' ] ; then \
5943 r=`${PWD_COMMAND}`; export r; \
5944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5945 $(HOST_EXPORTS) \
5946 (cd $(HOST_SUBDIR)/bison && \
5947 $(MAKE) $(FLAGS_TO_PASS) check); \
5950 @endif bison
5952 .PHONY: install-bison maybe-install-bison
5953 maybe-install-bison:
5954 @if bison
5955 maybe-install-bison: install-bison
5957 install-bison: installdirs
5958 @: $(MAKE); $(unstage)
5959 @r=`${PWD_COMMAND}`; export r; \
5960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 $(HOST_EXPORTS) \
5962 (cd $(HOST_SUBDIR)/bison && \
5963 $(MAKE) $(FLAGS_TO_PASS) install)
5965 @endif bison
5967 # Other targets (info, dvi, etc.)
5969 .PHONY: maybe-info-bison info-bison
5970 maybe-info-bison:
5971 @if bison
5972 maybe-info-bison: info-bison
5974 info-bison: \
5975 configure-bison
5976 @: $(MAKE); $(unstage)
5977 @[ -f ./bison/Makefile ] || exit 0; \
5978 r=`${PWD_COMMAND}`; export r; \
5979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5980 $(HOST_EXPORTS) \
5981 for flag in $(EXTRA_HOST_FLAGS) ; do \
5982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5983 done; \
5984 echo "Doing info in bison" ; \
5985 (cd $(HOST_SUBDIR)/bison && \
5986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988 "RANLIB=$${RANLIB}" \
5989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5990 info) \
5991 || exit 1
5993 @endif bison
5995 .PHONY: maybe-dvi-bison dvi-bison
5996 maybe-dvi-bison:
5997 @if bison
5998 maybe-dvi-bison: dvi-bison
6000 dvi-bison: \
6001 configure-bison
6002 @: $(MAKE); $(unstage)
6003 @[ -f ./bison/Makefile ] || exit 0; \
6004 r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006 $(HOST_EXPORTS) \
6007 for flag in $(EXTRA_HOST_FLAGS) ; do \
6008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6009 done; \
6010 echo "Doing dvi in bison" ; \
6011 (cd $(HOST_SUBDIR)/bison && \
6012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6014 "RANLIB=$${RANLIB}" \
6015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6016 dvi) \
6017 || exit 1
6019 @endif bison
6021 .PHONY: maybe-html-bison html-bison
6022 maybe-html-bison:
6023 @if bison
6024 maybe-html-bison: html-bison
6026 html-bison: \
6027 configure-bison
6028 @: $(MAKE); $(unstage)
6029 @[ -f ./bison/Makefile ] || exit 0; \
6030 r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032 $(HOST_EXPORTS) \
6033 for flag in $(EXTRA_HOST_FLAGS) ; do \
6034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6035 done; \
6036 echo "Doing html in bison" ; \
6037 (cd $(HOST_SUBDIR)/bison && \
6038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6040 "RANLIB=$${RANLIB}" \
6041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6042 html) \
6043 || exit 1
6045 @endif bison
6047 .PHONY: maybe-TAGS-bison TAGS-bison
6048 maybe-TAGS-bison:
6049 @if bison
6050 maybe-TAGS-bison: TAGS-bison
6052 TAGS-bison: \
6053 configure-bison
6054 @: $(MAKE); $(unstage)
6055 @[ -f ./bison/Makefile ] || exit 0; \
6056 r=`${PWD_COMMAND}`; export r; \
6057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6058 $(HOST_EXPORTS) \
6059 for flag in $(EXTRA_HOST_FLAGS) ; do \
6060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6061 done; \
6062 echo "Doing TAGS in bison" ; \
6063 (cd $(HOST_SUBDIR)/bison && \
6064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6066 "RANLIB=$${RANLIB}" \
6067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6068 TAGS) \
6069 || exit 1
6071 @endif bison
6073 .PHONY: maybe-install-info-bison install-info-bison
6074 maybe-install-info-bison:
6075 @if bison
6076 maybe-install-info-bison: install-info-bison
6078 install-info-bison: \
6079 configure-bison \
6080 info-bison
6081 @: $(MAKE); $(unstage)
6082 @[ -f ./bison/Makefile ] || exit 0; \
6083 r=`${PWD_COMMAND}`; export r; \
6084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6085 $(HOST_EXPORTS) \
6086 for flag in $(EXTRA_HOST_FLAGS) ; do \
6087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6088 done; \
6089 echo "Doing install-info in bison" ; \
6090 (cd $(HOST_SUBDIR)/bison && \
6091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6093 "RANLIB=$${RANLIB}" \
6094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6095 install-info) \
6096 || exit 1
6098 @endif bison
6100 .PHONY: maybe-installcheck-bison installcheck-bison
6101 maybe-installcheck-bison:
6102 @if bison
6103 maybe-installcheck-bison: installcheck-bison
6105 installcheck-bison: \
6106 configure-bison
6107 @: $(MAKE); $(unstage)
6108 @[ -f ./bison/Makefile ] || exit 0; \
6109 r=`${PWD_COMMAND}`; export r; \
6110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6111 $(HOST_EXPORTS) \
6112 for flag in $(EXTRA_HOST_FLAGS) ; do \
6113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6114 done; \
6115 echo "Doing installcheck in bison" ; \
6116 (cd $(HOST_SUBDIR)/bison && \
6117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6119 "RANLIB=$${RANLIB}" \
6120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6121 installcheck) \
6122 || exit 1
6124 @endif bison
6126 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6127 maybe-mostlyclean-bison:
6128 @if bison
6129 maybe-mostlyclean-bison: mostlyclean-bison
6131 mostlyclean-bison:
6132 @: $(MAKE); $(unstage)
6133 @[ -f ./bison/Makefile ] || exit 0; \
6134 r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(HOST_EXPORTS) \
6137 for flag in $(EXTRA_HOST_FLAGS) ; do \
6138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6139 done; \
6140 echo "Doing mostlyclean in bison" ; \
6141 (cd $(HOST_SUBDIR)/bison && \
6142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6144 "RANLIB=$${RANLIB}" \
6145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6146 mostlyclean) \
6147 || exit 1
6149 @endif bison
6151 .PHONY: maybe-clean-bison clean-bison
6152 maybe-clean-bison:
6153 @if bison
6154 maybe-clean-bison: clean-bison
6156 clean-bison:
6157 @: $(MAKE); $(unstage)
6158 @[ -f ./bison/Makefile ] || exit 0; \
6159 r=`${PWD_COMMAND}`; export r; \
6160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6161 $(HOST_EXPORTS) \
6162 for flag in $(EXTRA_HOST_FLAGS) ; do \
6163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6164 done; \
6165 echo "Doing clean in bison" ; \
6166 (cd $(HOST_SUBDIR)/bison && \
6167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6169 "RANLIB=$${RANLIB}" \
6170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6171 clean) \
6172 || exit 1
6174 @endif bison
6176 .PHONY: maybe-distclean-bison distclean-bison
6177 maybe-distclean-bison:
6178 @if bison
6179 maybe-distclean-bison: distclean-bison
6181 distclean-bison:
6182 @: $(MAKE); $(unstage)
6183 @[ -f ./bison/Makefile ] || exit 0; \
6184 r=`${PWD_COMMAND}`; export r; \
6185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6186 $(HOST_EXPORTS) \
6187 for flag in $(EXTRA_HOST_FLAGS) ; do \
6188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6189 done; \
6190 echo "Doing distclean in bison" ; \
6191 (cd $(HOST_SUBDIR)/bison && \
6192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6194 "RANLIB=$${RANLIB}" \
6195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6196 distclean) \
6197 || exit 1
6199 @endif bison
6201 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6202 maybe-maintainer-clean-bison:
6203 @if bison
6204 maybe-maintainer-clean-bison: maintainer-clean-bison
6206 maintainer-clean-bison:
6207 @: $(MAKE); $(unstage)
6208 @[ -f ./bison/Makefile ] || exit 0; \
6209 r=`${PWD_COMMAND}`; export r; \
6210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6211 $(HOST_EXPORTS) \
6212 for flag in $(EXTRA_HOST_FLAGS) ; do \
6213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6214 done; \
6215 echo "Doing maintainer-clean in bison" ; \
6216 (cd $(HOST_SUBDIR)/bison && \
6217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6219 "RANLIB=$${RANLIB}" \
6220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6221 maintainer-clean) \
6222 || exit 1
6224 @endif bison
6228 .PHONY: configure-byacc maybe-configure-byacc
6229 maybe-configure-byacc:
6230 @if byacc
6231 maybe-configure-byacc: configure-byacc
6232 configure-byacc:
6233 @: $(MAKE); $(unstage)
6234 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6235 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6236 r=`${PWD_COMMAND}`; export r; \
6237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6238 $(HOST_EXPORTS) \
6239 echo Configuring in $(HOST_SUBDIR)/byacc; \
6240 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6241 case $(srcdir) in \
6242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6243 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6245 esac; \
6246 srcdiroption="--srcdir=$${topdir}/byacc"; \
6247 libsrcdir="$$s/byacc"; \
6248 $(SHELL) $${libsrcdir}/configure \
6249 $(HOST_CONFIGARGS) $${srcdiroption} \
6250 || exit 1
6251 @endif byacc
6257 .PHONY: all-byacc maybe-all-byacc
6258 maybe-all-byacc:
6259 @if byacc
6260 TARGET-byacc=all
6261 maybe-all-byacc: all-byacc
6262 all-byacc: configure-byacc
6263 @: $(MAKE); $(unstage)
6264 @r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6266 $(HOST_EXPORTS) \
6267 (cd $(HOST_SUBDIR)/byacc && \
6268 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6269 @endif byacc
6274 .PHONY: check-byacc maybe-check-byacc
6275 maybe-check-byacc:
6276 @if byacc
6277 maybe-check-byacc: check-byacc
6279 # This module is only tested in a native toolchain.
6280 check-byacc:
6281 @: $(MAKE); $(unstage)
6282 @if [ '$(host)' = '$(target)' ] ; then \
6283 r=`${PWD_COMMAND}`; export r; \
6284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6285 $(HOST_EXPORTS) \
6286 (cd $(HOST_SUBDIR)/byacc && \
6287 $(MAKE) $(FLAGS_TO_PASS) check); \
6290 @endif byacc
6292 .PHONY: install-byacc maybe-install-byacc
6293 maybe-install-byacc:
6294 @if byacc
6295 maybe-install-byacc: install-byacc
6297 install-byacc: installdirs
6298 @: $(MAKE); $(unstage)
6299 @r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(HOST_EXPORTS) \
6302 (cd $(HOST_SUBDIR)/byacc && \
6303 $(MAKE) $(FLAGS_TO_PASS) install)
6305 @endif byacc
6307 # Other targets (info, dvi, etc.)
6309 .PHONY: maybe-info-byacc info-byacc
6310 maybe-info-byacc:
6311 @if byacc
6312 maybe-info-byacc: info-byacc
6314 info-byacc: \
6315 configure-byacc
6316 @: $(MAKE); $(unstage)
6317 @[ -f ./byacc/Makefile ] || exit 0; \
6318 r=`${PWD_COMMAND}`; export r; \
6319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6320 $(HOST_EXPORTS) \
6321 for flag in $(EXTRA_HOST_FLAGS) ; do \
6322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6323 done; \
6324 echo "Doing info in byacc" ; \
6325 (cd $(HOST_SUBDIR)/byacc && \
6326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6328 "RANLIB=$${RANLIB}" \
6329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6330 info) \
6331 || exit 1
6333 @endif byacc
6335 .PHONY: maybe-dvi-byacc dvi-byacc
6336 maybe-dvi-byacc:
6337 @if byacc
6338 maybe-dvi-byacc: dvi-byacc
6340 dvi-byacc: \
6341 configure-byacc
6342 @: $(MAKE); $(unstage)
6343 @[ -f ./byacc/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing dvi in byacc" ; \
6351 (cd $(HOST_SUBDIR)/byacc && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6356 dvi) \
6357 || exit 1
6359 @endif byacc
6361 .PHONY: maybe-html-byacc html-byacc
6362 maybe-html-byacc:
6363 @if byacc
6364 maybe-html-byacc: html-byacc
6366 html-byacc: \
6367 configure-byacc
6368 @: $(MAKE); $(unstage)
6369 @[ -f ./byacc/Makefile ] || exit 0; \
6370 r=`${PWD_COMMAND}`; export r; \
6371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 $(HOST_EXPORTS) \
6373 for flag in $(EXTRA_HOST_FLAGS) ; do \
6374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6375 done; \
6376 echo "Doing html in byacc" ; \
6377 (cd $(HOST_SUBDIR)/byacc && \
6378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6380 "RANLIB=$${RANLIB}" \
6381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6382 html) \
6383 || exit 1
6385 @endif byacc
6387 .PHONY: maybe-TAGS-byacc TAGS-byacc
6388 maybe-TAGS-byacc:
6389 @if byacc
6390 maybe-TAGS-byacc: TAGS-byacc
6392 TAGS-byacc: \
6393 configure-byacc
6394 @: $(MAKE); $(unstage)
6395 @[ -f ./byacc/Makefile ] || exit 0; \
6396 r=`${PWD_COMMAND}`; export r; \
6397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6398 $(HOST_EXPORTS) \
6399 for flag in $(EXTRA_HOST_FLAGS) ; do \
6400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6401 done; \
6402 echo "Doing TAGS in byacc" ; \
6403 (cd $(HOST_SUBDIR)/byacc && \
6404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6406 "RANLIB=$${RANLIB}" \
6407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6408 TAGS) \
6409 || exit 1
6411 @endif byacc
6413 .PHONY: maybe-install-info-byacc install-info-byacc
6414 maybe-install-info-byacc:
6415 @if byacc
6416 maybe-install-info-byacc: install-info-byacc
6418 install-info-byacc: \
6419 configure-byacc \
6420 info-byacc
6421 @: $(MAKE); $(unstage)
6422 @[ -f ./byacc/Makefile ] || exit 0; \
6423 r=`${PWD_COMMAND}`; export r; \
6424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6425 $(HOST_EXPORTS) \
6426 for flag in $(EXTRA_HOST_FLAGS) ; do \
6427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6428 done; \
6429 echo "Doing install-info in byacc" ; \
6430 (cd $(HOST_SUBDIR)/byacc && \
6431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6433 "RANLIB=$${RANLIB}" \
6434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6435 install-info) \
6436 || exit 1
6438 @endif byacc
6440 .PHONY: maybe-installcheck-byacc installcheck-byacc
6441 maybe-installcheck-byacc:
6442 @if byacc
6443 maybe-installcheck-byacc: installcheck-byacc
6445 installcheck-byacc: \
6446 configure-byacc
6447 @: $(MAKE); $(unstage)
6448 @[ -f ./byacc/Makefile ] || exit 0; \
6449 r=`${PWD_COMMAND}`; export r; \
6450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6451 $(HOST_EXPORTS) \
6452 for flag in $(EXTRA_HOST_FLAGS) ; do \
6453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6454 done; \
6455 echo "Doing installcheck in byacc" ; \
6456 (cd $(HOST_SUBDIR)/byacc && \
6457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6459 "RANLIB=$${RANLIB}" \
6460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6461 installcheck) \
6462 || exit 1
6464 @endif byacc
6466 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6467 maybe-mostlyclean-byacc:
6468 @if byacc
6469 maybe-mostlyclean-byacc: mostlyclean-byacc
6471 mostlyclean-byacc:
6472 @: $(MAKE); $(unstage)
6473 @[ -f ./byacc/Makefile ] || exit 0; \
6474 r=`${PWD_COMMAND}`; export r; \
6475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 $(HOST_EXPORTS) \
6477 for flag in $(EXTRA_HOST_FLAGS) ; do \
6478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6479 done; \
6480 echo "Doing mostlyclean in byacc" ; \
6481 (cd $(HOST_SUBDIR)/byacc && \
6482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6484 "RANLIB=$${RANLIB}" \
6485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6486 mostlyclean) \
6487 || exit 1
6489 @endif byacc
6491 .PHONY: maybe-clean-byacc clean-byacc
6492 maybe-clean-byacc:
6493 @if byacc
6494 maybe-clean-byacc: clean-byacc
6496 clean-byacc:
6497 @: $(MAKE); $(unstage)
6498 @[ -f ./byacc/Makefile ] || exit 0; \
6499 r=`${PWD_COMMAND}`; export r; \
6500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6501 $(HOST_EXPORTS) \
6502 for flag in $(EXTRA_HOST_FLAGS) ; do \
6503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6504 done; \
6505 echo "Doing clean in byacc" ; \
6506 (cd $(HOST_SUBDIR)/byacc && \
6507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6509 "RANLIB=$${RANLIB}" \
6510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6511 clean) \
6512 || exit 1
6514 @endif byacc
6516 .PHONY: maybe-distclean-byacc distclean-byacc
6517 maybe-distclean-byacc:
6518 @if byacc
6519 maybe-distclean-byacc: distclean-byacc
6521 distclean-byacc:
6522 @: $(MAKE); $(unstage)
6523 @[ -f ./byacc/Makefile ] || exit 0; \
6524 r=`${PWD_COMMAND}`; export r; \
6525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6526 $(HOST_EXPORTS) \
6527 for flag in $(EXTRA_HOST_FLAGS) ; do \
6528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6529 done; \
6530 echo "Doing distclean in byacc" ; \
6531 (cd $(HOST_SUBDIR)/byacc && \
6532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6534 "RANLIB=$${RANLIB}" \
6535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6536 distclean) \
6537 || exit 1
6539 @endif byacc
6541 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6542 maybe-maintainer-clean-byacc:
6543 @if byacc
6544 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6546 maintainer-clean-byacc:
6547 @: $(MAKE); $(unstage)
6548 @[ -f ./byacc/Makefile ] || exit 0; \
6549 r=`${PWD_COMMAND}`; export r; \
6550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6551 $(HOST_EXPORTS) \
6552 for flag in $(EXTRA_HOST_FLAGS) ; do \
6553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6554 done; \
6555 echo "Doing maintainer-clean in byacc" ; \
6556 (cd $(HOST_SUBDIR)/byacc && \
6557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6559 "RANLIB=$${RANLIB}" \
6560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6561 maintainer-clean) \
6562 || exit 1
6564 @endif byacc
6568 .PHONY: configure-bzip2 maybe-configure-bzip2
6569 maybe-configure-bzip2:
6570 @if bzip2
6571 maybe-configure-bzip2: configure-bzip2
6572 configure-bzip2:
6573 @: $(MAKE); $(unstage)
6574 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6576 r=`${PWD_COMMAND}`; export r; \
6577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6578 $(HOST_EXPORTS) \
6579 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6580 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6581 case $(srcdir) in \
6582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6583 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6585 esac; \
6586 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6587 libsrcdir="$$s/bzip2"; \
6588 $(SHELL) $${libsrcdir}/configure \
6589 $(HOST_CONFIGARGS) $${srcdiroption} \
6590 || exit 1
6591 @endif bzip2
6597 .PHONY: all-bzip2 maybe-all-bzip2
6598 maybe-all-bzip2:
6599 @if bzip2
6600 TARGET-bzip2=all
6601 maybe-all-bzip2: all-bzip2
6602 all-bzip2: configure-bzip2
6603 @: $(MAKE); $(unstage)
6604 @r=`${PWD_COMMAND}`; export r; \
6605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6606 $(HOST_EXPORTS) \
6607 (cd $(HOST_SUBDIR)/bzip2 && \
6608 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6609 @endif bzip2
6614 .PHONY: check-bzip2 maybe-check-bzip2
6615 maybe-check-bzip2:
6616 @if bzip2
6617 maybe-check-bzip2: check-bzip2
6619 check-bzip2:
6620 @: $(MAKE); $(unstage)
6621 @r=`${PWD_COMMAND}`; export r; \
6622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6623 $(HOST_EXPORTS) \
6624 (cd $(HOST_SUBDIR)/bzip2 && \
6625 $(MAKE) $(FLAGS_TO_PASS) check)
6627 @endif bzip2
6629 .PHONY: install-bzip2 maybe-install-bzip2
6630 maybe-install-bzip2:
6631 @if bzip2
6632 maybe-install-bzip2: install-bzip2
6634 install-bzip2: installdirs
6635 @: $(MAKE); $(unstage)
6636 @r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 $(HOST_EXPORTS) \
6639 (cd $(HOST_SUBDIR)/bzip2 && \
6640 $(MAKE) $(FLAGS_TO_PASS) install)
6642 @endif bzip2
6644 # Other targets (info, dvi, etc.)
6646 .PHONY: maybe-info-bzip2 info-bzip2
6647 maybe-info-bzip2:
6648 @if bzip2
6649 maybe-info-bzip2: info-bzip2
6651 info-bzip2: \
6652 configure-bzip2
6653 @: $(MAKE); $(unstage)
6654 @[ -f ./bzip2/Makefile ] || exit 0; \
6655 r=`${PWD_COMMAND}`; export r; \
6656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 $(HOST_EXPORTS) \
6658 for flag in $(EXTRA_HOST_FLAGS) ; do \
6659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6660 done; \
6661 echo "Doing info in bzip2" ; \
6662 (cd $(HOST_SUBDIR)/bzip2 && \
6663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6665 "RANLIB=$${RANLIB}" \
6666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6667 info) \
6668 || exit 1
6670 @endif bzip2
6672 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6673 maybe-dvi-bzip2:
6674 @if bzip2
6675 maybe-dvi-bzip2: dvi-bzip2
6677 dvi-bzip2: \
6678 configure-bzip2
6679 @: $(MAKE); $(unstage)
6680 @[ -f ./bzip2/Makefile ] || exit 0; \
6681 r=`${PWD_COMMAND}`; export r; \
6682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6683 $(HOST_EXPORTS) \
6684 for flag in $(EXTRA_HOST_FLAGS) ; do \
6685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6686 done; \
6687 echo "Doing dvi in bzip2" ; \
6688 (cd $(HOST_SUBDIR)/bzip2 && \
6689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6691 "RANLIB=$${RANLIB}" \
6692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6693 dvi) \
6694 || exit 1
6696 @endif bzip2
6698 .PHONY: maybe-html-bzip2 html-bzip2
6699 maybe-html-bzip2:
6700 @if bzip2
6701 maybe-html-bzip2: html-bzip2
6703 html-bzip2: \
6704 configure-bzip2
6705 @: $(MAKE); $(unstage)
6706 @[ -f ./bzip2/Makefile ] || exit 0; \
6707 r=`${PWD_COMMAND}`; export r; \
6708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6709 $(HOST_EXPORTS) \
6710 for flag in $(EXTRA_HOST_FLAGS) ; do \
6711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6712 done; \
6713 echo "Doing html in bzip2" ; \
6714 (cd $(HOST_SUBDIR)/bzip2 && \
6715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6717 "RANLIB=$${RANLIB}" \
6718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6719 html) \
6720 || exit 1
6722 @endif bzip2
6724 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6725 maybe-TAGS-bzip2:
6726 @if bzip2
6727 maybe-TAGS-bzip2: TAGS-bzip2
6729 TAGS-bzip2: \
6730 configure-bzip2
6731 @: $(MAKE); $(unstage)
6732 @[ -f ./bzip2/Makefile ] || exit 0; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 for flag in $(EXTRA_HOST_FLAGS) ; do \
6737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6738 done; \
6739 echo "Doing TAGS in bzip2" ; \
6740 (cd $(HOST_SUBDIR)/bzip2 && \
6741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6743 "RANLIB=$${RANLIB}" \
6744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6745 TAGS) \
6746 || exit 1
6748 @endif bzip2
6750 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6751 maybe-install-info-bzip2:
6752 @if bzip2
6753 maybe-install-info-bzip2: install-info-bzip2
6755 install-info-bzip2: \
6756 configure-bzip2 \
6757 info-bzip2
6758 @: $(MAKE); $(unstage)
6759 @[ -f ./bzip2/Makefile ] || exit 0; \
6760 r=`${PWD_COMMAND}`; export r; \
6761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6762 $(HOST_EXPORTS) \
6763 for flag in $(EXTRA_HOST_FLAGS) ; do \
6764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6765 done; \
6766 echo "Doing install-info in bzip2" ; \
6767 (cd $(HOST_SUBDIR)/bzip2 && \
6768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6770 "RANLIB=$${RANLIB}" \
6771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6772 install-info) \
6773 || exit 1
6775 @endif bzip2
6777 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6778 maybe-installcheck-bzip2:
6779 @if bzip2
6780 maybe-installcheck-bzip2: installcheck-bzip2
6782 installcheck-bzip2: \
6783 configure-bzip2
6784 @: $(MAKE); $(unstage)
6785 @[ -f ./bzip2/Makefile ] || exit 0; \
6786 r=`${PWD_COMMAND}`; export r; \
6787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 $(HOST_EXPORTS) \
6789 for flag in $(EXTRA_HOST_FLAGS) ; do \
6790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6791 done; \
6792 echo "Doing installcheck in bzip2" ; \
6793 (cd $(HOST_SUBDIR)/bzip2 && \
6794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6796 "RANLIB=$${RANLIB}" \
6797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6798 installcheck) \
6799 || exit 1
6801 @endif bzip2
6803 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6804 maybe-mostlyclean-bzip2:
6805 @if bzip2
6806 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6808 mostlyclean-bzip2:
6809 @: $(MAKE); $(unstage)
6810 @[ -f ./bzip2/Makefile ] || exit 0; \
6811 r=`${PWD_COMMAND}`; export r; \
6812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6813 $(HOST_EXPORTS) \
6814 for flag in $(EXTRA_HOST_FLAGS) ; do \
6815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6816 done; \
6817 echo "Doing mostlyclean in bzip2" ; \
6818 (cd $(HOST_SUBDIR)/bzip2 && \
6819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6821 "RANLIB=$${RANLIB}" \
6822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6823 mostlyclean) \
6824 || exit 1
6826 @endif bzip2
6828 .PHONY: maybe-clean-bzip2 clean-bzip2
6829 maybe-clean-bzip2:
6830 @if bzip2
6831 maybe-clean-bzip2: clean-bzip2
6833 clean-bzip2:
6834 @: $(MAKE); $(unstage)
6835 @[ -f ./bzip2/Makefile ] || exit 0; \
6836 r=`${PWD_COMMAND}`; export r; \
6837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6838 $(HOST_EXPORTS) \
6839 for flag in $(EXTRA_HOST_FLAGS) ; do \
6840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6841 done; \
6842 echo "Doing clean in bzip2" ; \
6843 (cd $(HOST_SUBDIR)/bzip2 && \
6844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6846 "RANLIB=$${RANLIB}" \
6847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6848 clean) \
6849 || exit 1
6851 @endif bzip2
6853 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6854 maybe-distclean-bzip2:
6855 @if bzip2
6856 maybe-distclean-bzip2: distclean-bzip2
6858 distclean-bzip2:
6859 @: $(MAKE); $(unstage)
6860 @[ -f ./bzip2/Makefile ] || exit 0; \
6861 r=`${PWD_COMMAND}`; export r; \
6862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6863 $(HOST_EXPORTS) \
6864 for flag in $(EXTRA_HOST_FLAGS) ; do \
6865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6866 done; \
6867 echo "Doing distclean in bzip2" ; \
6868 (cd $(HOST_SUBDIR)/bzip2 && \
6869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6871 "RANLIB=$${RANLIB}" \
6872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6873 distclean) \
6874 || exit 1
6876 @endif bzip2
6878 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6879 maybe-maintainer-clean-bzip2:
6880 @if bzip2
6881 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6883 maintainer-clean-bzip2:
6884 @: $(MAKE); $(unstage)
6885 @[ -f ./bzip2/Makefile ] || exit 0; \
6886 r=`${PWD_COMMAND}`; export r; \
6887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6888 $(HOST_EXPORTS) \
6889 for flag in $(EXTRA_HOST_FLAGS) ; do \
6890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6891 done; \
6892 echo "Doing maintainer-clean in bzip2" ; \
6893 (cd $(HOST_SUBDIR)/bzip2 && \
6894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6896 "RANLIB=$${RANLIB}" \
6897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6898 maintainer-clean) \
6899 || exit 1
6901 @endif bzip2
6905 .PHONY: configure-dejagnu maybe-configure-dejagnu
6906 maybe-configure-dejagnu:
6907 @if dejagnu
6908 maybe-configure-dejagnu: configure-dejagnu
6909 configure-dejagnu:
6910 @: $(MAKE); $(unstage)
6911 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6912 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6913 r=`${PWD_COMMAND}`; export r; \
6914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915 $(HOST_EXPORTS) \
6916 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6917 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6918 case $(srcdir) in \
6919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6920 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6922 esac; \
6923 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6924 libsrcdir="$$s/dejagnu"; \
6925 $(SHELL) $${libsrcdir}/configure \
6926 $(HOST_CONFIGARGS) $${srcdiroption} \
6927 || exit 1
6928 @endif dejagnu
6934 .PHONY: all-dejagnu maybe-all-dejagnu
6935 maybe-all-dejagnu:
6936 @if dejagnu
6937 TARGET-dejagnu=all
6938 maybe-all-dejagnu: all-dejagnu
6939 all-dejagnu: configure-dejagnu
6940 @: $(MAKE); $(unstage)
6941 @r=`${PWD_COMMAND}`; export r; \
6942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6943 $(HOST_EXPORTS) \
6944 (cd $(HOST_SUBDIR)/dejagnu && \
6945 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6946 @endif dejagnu
6951 .PHONY: check-dejagnu maybe-check-dejagnu
6952 maybe-check-dejagnu:
6953 @if dejagnu
6954 maybe-check-dejagnu: check-dejagnu
6956 check-dejagnu:
6957 @: $(MAKE); $(unstage)
6958 @r=`${PWD_COMMAND}`; export r; \
6959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 $(HOST_EXPORTS) \
6961 (cd $(HOST_SUBDIR)/dejagnu && \
6962 $(MAKE) $(FLAGS_TO_PASS) check)
6964 @endif dejagnu
6966 .PHONY: install-dejagnu maybe-install-dejagnu
6967 maybe-install-dejagnu:
6968 @if dejagnu
6969 maybe-install-dejagnu: install-dejagnu
6971 install-dejagnu: installdirs
6972 @: $(MAKE); $(unstage)
6973 @r=`${PWD_COMMAND}`; export r; \
6974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6975 $(HOST_EXPORTS) \
6976 (cd $(HOST_SUBDIR)/dejagnu && \
6977 $(MAKE) $(FLAGS_TO_PASS) install)
6979 @endif dejagnu
6981 # Other targets (info, dvi, etc.)
6983 .PHONY: maybe-info-dejagnu info-dejagnu
6984 maybe-info-dejagnu:
6985 @if dejagnu
6986 maybe-info-dejagnu: info-dejagnu
6988 info-dejagnu: \
6989 configure-dejagnu
6990 @: $(MAKE); $(unstage)
6991 @[ -f ./dejagnu/Makefile ] || exit 0; \
6992 r=`${PWD_COMMAND}`; export r; \
6993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6994 $(HOST_EXPORTS) \
6995 for flag in $(EXTRA_HOST_FLAGS) ; do \
6996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6997 done; \
6998 echo "Doing info in dejagnu" ; \
6999 (cd $(HOST_SUBDIR)/dejagnu && \
7000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7002 "RANLIB=$${RANLIB}" \
7003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7004 info) \
7005 || exit 1
7007 @endif dejagnu
7009 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7010 maybe-dvi-dejagnu:
7011 @if dejagnu
7012 maybe-dvi-dejagnu: dvi-dejagnu
7014 dvi-dejagnu: \
7015 configure-dejagnu
7016 @: $(MAKE); $(unstage)
7017 @[ -f ./dejagnu/Makefile ] || exit 0; \
7018 r=`${PWD_COMMAND}`; export r; \
7019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7020 $(HOST_EXPORTS) \
7021 for flag in $(EXTRA_HOST_FLAGS) ; do \
7022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7023 done; \
7024 echo "Doing dvi in dejagnu" ; \
7025 (cd $(HOST_SUBDIR)/dejagnu && \
7026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7028 "RANLIB=$${RANLIB}" \
7029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7030 dvi) \
7031 || exit 1
7033 @endif dejagnu
7035 .PHONY: maybe-html-dejagnu html-dejagnu
7036 maybe-html-dejagnu:
7037 @if dejagnu
7038 maybe-html-dejagnu: html-dejagnu
7040 html-dejagnu: \
7041 configure-dejagnu
7042 @: $(MAKE); $(unstage)
7043 @[ -f ./dejagnu/Makefile ] || exit 0; \
7044 r=`${PWD_COMMAND}`; export r; \
7045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7046 $(HOST_EXPORTS) \
7047 for flag in $(EXTRA_HOST_FLAGS) ; do \
7048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7049 done; \
7050 echo "Doing html in dejagnu" ; \
7051 (cd $(HOST_SUBDIR)/dejagnu && \
7052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7054 "RANLIB=$${RANLIB}" \
7055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7056 html) \
7057 || exit 1
7059 @endif dejagnu
7061 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7062 maybe-TAGS-dejagnu:
7063 @if dejagnu
7064 maybe-TAGS-dejagnu: TAGS-dejagnu
7066 TAGS-dejagnu: \
7067 configure-dejagnu
7068 @: $(MAKE); $(unstage)
7069 @[ -f ./dejagnu/Makefile ] || exit 0; \
7070 r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing TAGS in dejagnu" ; \
7077 (cd $(HOST_SUBDIR)/dejagnu && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7082 TAGS) \
7083 || exit 1
7085 @endif dejagnu
7087 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7088 maybe-install-info-dejagnu:
7089 @if dejagnu
7090 maybe-install-info-dejagnu: install-info-dejagnu
7092 install-info-dejagnu: \
7093 configure-dejagnu \
7094 info-dejagnu
7095 @: $(MAKE); $(unstage)
7096 @[ -f ./dejagnu/Makefile ] || exit 0; \
7097 r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(HOST_EXPORTS) \
7100 for flag in $(EXTRA_HOST_FLAGS) ; do \
7101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7102 done; \
7103 echo "Doing install-info in dejagnu" ; \
7104 (cd $(HOST_SUBDIR)/dejagnu && \
7105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7107 "RANLIB=$${RANLIB}" \
7108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7109 install-info) \
7110 || exit 1
7112 @endif dejagnu
7114 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7115 maybe-installcheck-dejagnu:
7116 @if dejagnu
7117 maybe-installcheck-dejagnu: installcheck-dejagnu
7119 installcheck-dejagnu: \
7120 configure-dejagnu
7121 @: $(MAKE); $(unstage)
7122 @[ -f ./dejagnu/Makefile ] || exit 0; \
7123 r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 $(HOST_EXPORTS) \
7126 for flag in $(EXTRA_HOST_FLAGS) ; do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing installcheck in dejagnu" ; \
7130 (cd $(HOST_SUBDIR)/dejagnu && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7135 installcheck) \
7136 || exit 1
7138 @endif dejagnu
7140 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7141 maybe-mostlyclean-dejagnu:
7142 @if dejagnu
7143 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7145 mostlyclean-dejagnu:
7146 @: $(MAKE); $(unstage)
7147 @[ -f ./dejagnu/Makefile ] || exit 0; \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(HOST_EXPORTS) \
7151 for flag in $(EXTRA_HOST_FLAGS) ; do \
7152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7153 done; \
7154 echo "Doing mostlyclean in dejagnu" ; \
7155 (cd $(HOST_SUBDIR)/dejagnu && \
7156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7158 "RANLIB=$${RANLIB}" \
7159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7160 mostlyclean) \
7161 || exit 1
7163 @endif dejagnu
7165 .PHONY: maybe-clean-dejagnu clean-dejagnu
7166 maybe-clean-dejagnu:
7167 @if dejagnu
7168 maybe-clean-dejagnu: clean-dejagnu
7170 clean-dejagnu:
7171 @: $(MAKE); $(unstage)
7172 @[ -f ./dejagnu/Makefile ] || exit 0; \
7173 r=`${PWD_COMMAND}`; export r; \
7174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7175 $(HOST_EXPORTS) \
7176 for flag in $(EXTRA_HOST_FLAGS) ; do \
7177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7178 done; \
7179 echo "Doing clean in dejagnu" ; \
7180 (cd $(HOST_SUBDIR)/dejagnu && \
7181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7183 "RANLIB=$${RANLIB}" \
7184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7185 clean) \
7186 || exit 1
7188 @endif dejagnu
7190 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7191 maybe-distclean-dejagnu:
7192 @if dejagnu
7193 maybe-distclean-dejagnu: distclean-dejagnu
7195 distclean-dejagnu:
7196 @: $(MAKE); $(unstage)
7197 @[ -f ./dejagnu/Makefile ] || exit 0; \
7198 r=`${PWD_COMMAND}`; export r; \
7199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7200 $(HOST_EXPORTS) \
7201 for flag in $(EXTRA_HOST_FLAGS) ; do \
7202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7203 done; \
7204 echo "Doing distclean in dejagnu" ; \
7205 (cd $(HOST_SUBDIR)/dejagnu && \
7206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7208 "RANLIB=$${RANLIB}" \
7209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7210 distclean) \
7211 || exit 1
7213 @endif dejagnu
7215 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7216 maybe-maintainer-clean-dejagnu:
7217 @if dejagnu
7218 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7220 maintainer-clean-dejagnu:
7221 @: $(MAKE); $(unstage)
7222 @[ -f ./dejagnu/Makefile ] || exit 0; \
7223 r=`${PWD_COMMAND}`; export r; \
7224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7225 $(HOST_EXPORTS) \
7226 for flag in $(EXTRA_HOST_FLAGS) ; do \
7227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7228 done; \
7229 echo "Doing maintainer-clean in dejagnu" ; \
7230 (cd $(HOST_SUBDIR)/dejagnu && \
7231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7233 "RANLIB=$${RANLIB}" \
7234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7235 maintainer-clean) \
7236 || exit 1
7238 @endif dejagnu
7242 .PHONY: configure-diff maybe-configure-diff
7243 maybe-configure-diff:
7244 @if diff
7245 maybe-configure-diff: configure-diff
7246 configure-diff:
7247 @: $(MAKE); $(unstage)
7248 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7250 r=`${PWD_COMMAND}`; export r; \
7251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7252 $(HOST_EXPORTS) \
7253 echo Configuring in $(HOST_SUBDIR)/diff; \
7254 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7255 case $(srcdir) in \
7256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7257 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7259 esac; \
7260 srcdiroption="--srcdir=$${topdir}/diff"; \
7261 libsrcdir="$$s/diff"; \
7262 $(SHELL) $${libsrcdir}/configure \
7263 $(HOST_CONFIGARGS) $${srcdiroption} \
7264 || exit 1
7265 @endif diff
7271 .PHONY: all-diff maybe-all-diff
7272 maybe-all-diff:
7273 @if diff
7274 TARGET-diff=all
7275 maybe-all-diff: all-diff
7276 all-diff: configure-diff
7277 @: $(MAKE); $(unstage)
7278 @r=`${PWD_COMMAND}`; export r; \
7279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7280 $(HOST_EXPORTS) \
7281 (cd $(HOST_SUBDIR)/diff && \
7282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7283 @endif diff
7288 .PHONY: check-diff maybe-check-diff
7289 maybe-check-diff:
7290 @if diff
7291 maybe-check-diff: check-diff
7293 check-diff:
7294 @: $(MAKE); $(unstage)
7295 @r=`${PWD_COMMAND}`; export r; \
7296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7297 $(HOST_EXPORTS) \
7298 (cd $(HOST_SUBDIR)/diff && \
7299 $(MAKE) $(FLAGS_TO_PASS) check)
7301 @endif diff
7303 .PHONY: install-diff maybe-install-diff
7304 maybe-install-diff:
7305 @if diff
7306 maybe-install-diff: install-diff
7308 install-diff: installdirs
7309 @: $(MAKE); $(unstage)
7310 @r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 (cd $(HOST_SUBDIR)/diff && \
7314 $(MAKE) $(FLAGS_TO_PASS) install)
7316 @endif diff
7318 # Other targets (info, dvi, etc.)
7320 .PHONY: maybe-info-diff info-diff
7321 maybe-info-diff:
7322 @if diff
7323 maybe-info-diff: info-diff
7325 info-diff: \
7326 configure-diff
7327 @: $(MAKE); $(unstage)
7328 @[ -f ./diff/Makefile ] || exit 0; \
7329 r=`${PWD_COMMAND}`; export r; \
7330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7331 $(HOST_EXPORTS) \
7332 for flag in $(EXTRA_HOST_FLAGS) ; do \
7333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7334 done; \
7335 echo "Doing info in diff" ; \
7336 (cd $(HOST_SUBDIR)/diff && \
7337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7339 "RANLIB=$${RANLIB}" \
7340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7341 info) \
7342 || exit 1
7344 @endif diff
7346 .PHONY: maybe-dvi-diff dvi-diff
7347 maybe-dvi-diff:
7348 @if diff
7349 maybe-dvi-diff: dvi-diff
7351 dvi-diff: \
7352 configure-diff
7353 @: $(MAKE); $(unstage)
7354 @[ -f ./diff/Makefile ] || exit 0; \
7355 r=`${PWD_COMMAND}`; export r; \
7356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7357 $(HOST_EXPORTS) \
7358 for flag in $(EXTRA_HOST_FLAGS) ; do \
7359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7360 done; \
7361 echo "Doing dvi in diff" ; \
7362 (cd $(HOST_SUBDIR)/diff && \
7363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7365 "RANLIB=$${RANLIB}" \
7366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7367 dvi) \
7368 || exit 1
7370 @endif diff
7372 .PHONY: maybe-html-diff html-diff
7373 maybe-html-diff:
7374 @if diff
7375 maybe-html-diff: html-diff
7377 html-diff: \
7378 configure-diff
7379 @: $(MAKE); $(unstage)
7380 @[ -f ./diff/Makefile ] || exit 0; \
7381 r=`${PWD_COMMAND}`; export r; \
7382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7383 $(HOST_EXPORTS) \
7384 for flag in $(EXTRA_HOST_FLAGS) ; do \
7385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7386 done; \
7387 echo "Doing html in diff" ; \
7388 (cd $(HOST_SUBDIR)/diff && \
7389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7391 "RANLIB=$${RANLIB}" \
7392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7393 html) \
7394 || exit 1
7396 @endif diff
7398 .PHONY: maybe-TAGS-diff TAGS-diff
7399 maybe-TAGS-diff:
7400 @if diff
7401 maybe-TAGS-diff: TAGS-diff
7403 TAGS-diff: \
7404 configure-diff
7405 @: $(MAKE); $(unstage)
7406 @[ -f ./diff/Makefile ] || exit 0; \
7407 r=`${PWD_COMMAND}`; export r; \
7408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7409 $(HOST_EXPORTS) \
7410 for flag in $(EXTRA_HOST_FLAGS) ; do \
7411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7412 done; \
7413 echo "Doing TAGS in diff" ; \
7414 (cd $(HOST_SUBDIR)/diff && \
7415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7417 "RANLIB=$${RANLIB}" \
7418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7419 TAGS) \
7420 || exit 1
7422 @endif diff
7424 .PHONY: maybe-install-info-diff install-info-diff
7425 maybe-install-info-diff:
7426 @if diff
7427 maybe-install-info-diff: install-info-diff
7429 install-info-diff: \
7430 configure-diff \
7431 info-diff
7432 @: $(MAKE); $(unstage)
7433 @[ -f ./diff/Makefile ] || exit 0; \
7434 r=`${PWD_COMMAND}`; export r; \
7435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7436 $(HOST_EXPORTS) \
7437 for flag in $(EXTRA_HOST_FLAGS) ; do \
7438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7439 done; \
7440 echo "Doing install-info in diff" ; \
7441 (cd $(HOST_SUBDIR)/diff && \
7442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7444 "RANLIB=$${RANLIB}" \
7445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7446 install-info) \
7447 || exit 1
7449 @endif diff
7451 .PHONY: maybe-installcheck-diff installcheck-diff
7452 maybe-installcheck-diff:
7453 @if diff
7454 maybe-installcheck-diff: installcheck-diff
7456 installcheck-diff: \
7457 configure-diff
7458 @: $(MAKE); $(unstage)
7459 @[ -f ./diff/Makefile ] || exit 0; \
7460 r=`${PWD_COMMAND}`; export r; \
7461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7462 $(HOST_EXPORTS) \
7463 for flag in $(EXTRA_HOST_FLAGS) ; do \
7464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7465 done; \
7466 echo "Doing installcheck in diff" ; \
7467 (cd $(HOST_SUBDIR)/diff && \
7468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7470 "RANLIB=$${RANLIB}" \
7471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7472 installcheck) \
7473 || exit 1
7475 @endif diff
7477 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7478 maybe-mostlyclean-diff:
7479 @if diff
7480 maybe-mostlyclean-diff: mostlyclean-diff
7482 mostlyclean-diff:
7483 @: $(MAKE); $(unstage)
7484 @[ -f ./diff/Makefile ] || exit 0; \
7485 r=`${PWD_COMMAND}`; export r; \
7486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7487 $(HOST_EXPORTS) \
7488 for flag in $(EXTRA_HOST_FLAGS) ; do \
7489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7490 done; \
7491 echo "Doing mostlyclean in diff" ; \
7492 (cd $(HOST_SUBDIR)/diff && \
7493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7495 "RANLIB=$${RANLIB}" \
7496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7497 mostlyclean) \
7498 || exit 1
7500 @endif diff
7502 .PHONY: maybe-clean-diff clean-diff
7503 maybe-clean-diff:
7504 @if diff
7505 maybe-clean-diff: clean-diff
7507 clean-diff:
7508 @: $(MAKE); $(unstage)
7509 @[ -f ./diff/Makefile ] || exit 0; \
7510 r=`${PWD_COMMAND}`; export r; \
7511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7512 $(HOST_EXPORTS) \
7513 for flag in $(EXTRA_HOST_FLAGS) ; do \
7514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7515 done; \
7516 echo "Doing clean in diff" ; \
7517 (cd $(HOST_SUBDIR)/diff && \
7518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520 "RANLIB=$${RANLIB}" \
7521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7522 clean) \
7523 || exit 1
7525 @endif diff
7527 .PHONY: maybe-distclean-diff distclean-diff
7528 maybe-distclean-diff:
7529 @if diff
7530 maybe-distclean-diff: distclean-diff
7532 distclean-diff:
7533 @: $(MAKE); $(unstage)
7534 @[ -f ./diff/Makefile ] || exit 0; \
7535 r=`${PWD_COMMAND}`; export r; \
7536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7537 $(HOST_EXPORTS) \
7538 for flag in $(EXTRA_HOST_FLAGS) ; do \
7539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7540 done; \
7541 echo "Doing distclean in diff" ; \
7542 (cd $(HOST_SUBDIR)/diff && \
7543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7545 "RANLIB=$${RANLIB}" \
7546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7547 distclean) \
7548 || exit 1
7550 @endif diff
7552 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7553 maybe-maintainer-clean-diff:
7554 @if diff
7555 maybe-maintainer-clean-diff: maintainer-clean-diff
7557 maintainer-clean-diff:
7558 @: $(MAKE); $(unstage)
7559 @[ -f ./diff/Makefile ] || exit 0; \
7560 r=`${PWD_COMMAND}`; export r; \
7561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7562 $(HOST_EXPORTS) \
7563 for flag in $(EXTRA_HOST_FLAGS) ; do \
7564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7565 done; \
7566 echo "Doing maintainer-clean in diff" ; \
7567 (cd $(HOST_SUBDIR)/diff && \
7568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7570 "RANLIB=$${RANLIB}" \
7571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7572 maintainer-clean) \
7573 || exit 1
7575 @endif diff
7579 .PHONY: configure-dosutils maybe-configure-dosutils
7580 maybe-configure-dosutils:
7581 @if dosutils
7582 maybe-configure-dosutils: configure-dosutils
7583 configure-dosutils:
7584 @: $(MAKE); $(unstage)
7585 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7587 r=`${PWD_COMMAND}`; export r; \
7588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7589 $(HOST_EXPORTS) \
7590 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7591 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7592 case $(srcdir) in \
7593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7594 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7596 esac; \
7597 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7598 libsrcdir="$$s/dosutils"; \
7599 $(SHELL) $${libsrcdir}/configure \
7600 $(HOST_CONFIGARGS) $${srcdiroption} \
7601 || exit 1
7602 @endif dosutils
7608 .PHONY: all-dosutils maybe-all-dosutils
7609 maybe-all-dosutils:
7610 @if dosutils
7611 TARGET-dosutils=all
7612 maybe-all-dosutils: all-dosutils
7613 all-dosutils: configure-dosutils
7614 @: $(MAKE); $(unstage)
7615 @r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 (cd $(HOST_SUBDIR)/dosutils && \
7619 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7620 @endif dosutils
7625 .PHONY: check-dosutils maybe-check-dosutils
7626 maybe-check-dosutils:
7627 @if dosutils
7628 maybe-check-dosutils: check-dosutils
7630 check-dosutils:
7632 @endif dosutils
7634 .PHONY: install-dosutils maybe-install-dosutils
7635 maybe-install-dosutils:
7636 @if dosutils
7637 maybe-install-dosutils: install-dosutils
7639 install-dosutils: installdirs
7640 @: $(MAKE); $(unstage)
7641 @r=`${PWD_COMMAND}`; export r; \
7642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7643 $(HOST_EXPORTS) \
7644 (cd $(HOST_SUBDIR)/dosutils && \
7645 $(MAKE) $(FLAGS_TO_PASS) install)
7647 @endif dosutils
7649 # Other targets (info, dvi, etc.)
7651 .PHONY: maybe-info-dosutils info-dosutils
7652 maybe-info-dosutils:
7653 @if dosutils
7654 maybe-info-dosutils: info-dosutils
7656 info-dosutils: \
7657 configure-dosutils
7658 @: $(MAKE); $(unstage)
7659 @[ -f ./dosutils/Makefile ] || exit 0; \
7660 r=`${PWD_COMMAND}`; export r; \
7661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7662 $(HOST_EXPORTS) \
7663 for flag in $(EXTRA_HOST_FLAGS) ; do \
7664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7665 done; \
7666 echo "Doing info in dosutils" ; \
7667 (cd $(HOST_SUBDIR)/dosutils && \
7668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7670 "RANLIB=$${RANLIB}" \
7671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7672 info) \
7673 || exit 1
7675 @endif dosutils
7677 .PHONY: maybe-dvi-dosutils dvi-dosutils
7678 maybe-dvi-dosutils:
7679 @if dosutils
7680 maybe-dvi-dosutils: dvi-dosutils
7682 dvi-dosutils: \
7683 configure-dosutils
7684 @: $(MAKE); $(unstage)
7685 @[ -f ./dosutils/Makefile ] || exit 0; \
7686 r=`${PWD_COMMAND}`; export r; \
7687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7688 $(HOST_EXPORTS) \
7689 for flag in $(EXTRA_HOST_FLAGS) ; do \
7690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7691 done; \
7692 echo "Doing dvi in dosutils" ; \
7693 (cd $(HOST_SUBDIR)/dosutils && \
7694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7696 "RANLIB=$${RANLIB}" \
7697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7698 dvi) \
7699 || exit 1
7701 @endif dosutils
7703 .PHONY: maybe-html-dosutils html-dosutils
7704 maybe-html-dosutils:
7705 @if dosutils
7706 maybe-html-dosutils: html-dosutils
7708 html-dosutils: \
7709 configure-dosutils
7710 @: $(MAKE); $(unstage)
7711 @[ -f ./dosutils/Makefile ] || exit 0; \
7712 r=`${PWD_COMMAND}`; export r; \
7713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7714 $(HOST_EXPORTS) \
7715 for flag in $(EXTRA_HOST_FLAGS) ; do \
7716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7717 done; \
7718 echo "Doing html in dosutils" ; \
7719 (cd $(HOST_SUBDIR)/dosutils && \
7720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7722 "RANLIB=$${RANLIB}" \
7723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7724 html) \
7725 || exit 1
7727 @endif dosutils
7729 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7730 maybe-TAGS-dosutils:
7731 @if dosutils
7732 maybe-TAGS-dosutils: TAGS-dosutils
7734 TAGS-dosutils: \
7735 configure-dosutils
7736 @: $(MAKE); $(unstage)
7737 @[ -f ./dosutils/Makefile ] || exit 0; \
7738 r=`${PWD_COMMAND}`; export r; \
7739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7740 $(HOST_EXPORTS) \
7741 for flag in $(EXTRA_HOST_FLAGS) ; do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7743 done; \
7744 echo "Doing TAGS in dosutils" ; \
7745 (cd $(HOST_SUBDIR)/dosutils && \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7750 TAGS) \
7751 || exit 1
7753 @endif dosutils
7755 .PHONY: maybe-install-info-dosutils install-info-dosutils
7756 maybe-install-info-dosutils:
7757 @if dosutils
7758 maybe-install-info-dosutils: install-info-dosutils
7760 install-info-dosutils: \
7761 configure-dosutils \
7762 info-dosutils
7763 @: $(MAKE); $(unstage)
7764 @[ -f ./dosutils/Makefile ] || exit 0; \
7765 r=`${PWD_COMMAND}`; export r; \
7766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7767 $(HOST_EXPORTS) \
7768 for flag in $(EXTRA_HOST_FLAGS) ; do \
7769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7770 done; \
7771 echo "Doing install-info in dosutils" ; \
7772 (cd $(HOST_SUBDIR)/dosutils && \
7773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7775 "RANLIB=$${RANLIB}" \
7776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7777 install-info) \
7778 || exit 1
7780 @endif dosutils
7782 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7783 maybe-installcheck-dosutils:
7784 @if dosutils
7785 maybe-installcheck-dosutils: installcheck-dosutils
7787 installcheck-dosutils: \
7788 configure-dosutils
7789 @: $(MAKE); $(unstage)
7790 @[ -f ./dosutils/Makefile ] || exit 0; \
7791 r=`${PWD_COMMAND}`; export r; \
7792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7793 $(HOST_EXPORTS) \
7794 for flag in $(EXTRA_HOST_FLAGS) ; do \
7795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7796 done; \
7797 echo "Doing installcheck in dosutils" ; \
7798 (cd $(HOST_SUBDIR)/dosutils && \
7799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7801 "RANLIB=$${RANLIB}" \
7802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7803 installcheck) \
7804 || exit 1
7806 @endif dosutils
7808 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7809 maybe-mostlyclean-dosutils:
7810 @if dosutils
7811 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7813 mostlyclean-dosutils:
7814 @: $(MAKE); $(unstage)
7815 @[ -f ./dosutils/Makefile ] || exit 0; \
7816 r=`${PWD_COMMAND}`; export r; \
7817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7818 $(HOST_EXPORTS) \
7819 for flag in $(EXTRA_HOST_FLAGS) ; do \
7820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7821 done; \
7822 echo "Doing mostlyclean in dosutils" ; \
7823 (cd $(HOST_SUBDIR)/dosutils && \
7824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7826 "RANLIB=$${RANLIB}" \
7827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7828 mostlyclean) \
7829 || exit 1
7831 @endif dosutils
7833 .PHONY: maybe-clean-dosutils clean-dosutils
7834 maybe-clean-dosutils:
7835 @if dosutils
7836 maybe-clean-dosutils: clean-dosutils
7838 clean-dosutils:
7839 @: $(MAKE); $(unstage)
7840 @[ -f ./dosutils/Makefile ] || exit 0; \
7841 r=`${PWD_COMMAND}`; export r; \
7842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7843 $(HOST_EXPORTS) \
7844 for flag in $(EXTRA_HOST_FLAGS) ; do \
7845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7846 done; \
7847 echo "Doing clean in dosutils" ; \
7848 (cd $(HOST_SUBDIR)/dosutils && \
7849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7851 "RANLIB=$${RANLIB}" \
7852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7853 clean) \
7854 || exit 1
7856 @endif dosutils
7858 .PHONY: maybe-distclean-dosutils distclean-dosutils
7859 maybe-distclean-dosutils:
7860 @if dosutils
7861 maybe-distclean-dosutils: distclean-dosutils
7863 distclean-dosutils:
7864 @: $(MAKE); $(unstage)
7865 @[ -f ./dosutils/Makefile ] || exit 0; \
7866 r=`${PWD_COMMAND}`; export r; \
7867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7868 $(HOST_EXPORTS) \
7869 for flag in $(EXTRA_HOST_FLAGS) ; do \
7870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7871 done; \
7872 echo "Doing distclean in dosutils" ; \
7873 (cd $(HOST_SUBDIR)/dosutils && \
7874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7876 "RANLIB=$${RANLIB}" \
7877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7878 distclean) \
7879 || exit 1
7881 @endif dosutils
7883 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7884 maybe-maintainer-clean-dosutils:
7885 @if dosutils
7886 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7888 maintainer-clean-dosutils:
7889 @: $(MAKE); $(unstage)
7890 @[ -f ./dosutils/Makefile ] || exit 0; \
7891 r=`${PWD_COMMAND}`; export r; \
7892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7893 $(HOST_EXPORTS) \
7894 for flag in $(EXTRA_HOST_FLAGS) ; do \
7895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7896 done; \
7897 echo "Doing maintainer-clean in dosutils" ; \
7898 (cd $(HOST_SUBDIR)/dosutils && \
7899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7901 "RANLIB=$${RANLIB}" \
7902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7903 maintainer-clean) \
7904 || exit 1
7906 @endif dosutils
7910 .PHONY: configure-etc maybe-configure-etc
7911 maybe-configure-etc:
7912 @if etc
7913 maybe-configure-etc: configure-etc
7914 configure-etc:
7915 @: $(MAKE); $(unstage)
7916 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7918 r=`${PWD_COMMAND}`; export r; \
7919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7920 $(HOST_EXPORTS) \
7921 echo Configuring in $(HOST_SUBDIR)/etc; \
7922 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7923 case $(srcdir) in \
7924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7925 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7927 esac; \
7928 srcdiroption="--srcdir=$${topdir}/etc"; \
7929 libsrcdir="$$s/etc"; \
7930 $(SHELL) $${libsrcdir}/configure \
7931 $(HOST_CONFIGARGS) $${srcdiroption} \
7932 || exit 1
7933 @endif etc
7939 .PHONY: all-etc maybe-all-etc
7940 maybe-all-etc:
7941 @if etc
7942 TARGET-etc=all
7943 maybe-all-etc: all-etc
7944 all-etc: configure-etc
7945 @: $(MAKE); $(unstage)
7946 @r=`${PWD_COMMAND}`; export r; \
7947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7948 $(HOST_EXPORTS) \
7949 (cd $(HOST_SUBDIR)/etc && \
7950 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7951 @endif etc
7956 .PHONY: check-etc maybe-check-etc
7957 maybe-check-etc:
7958 @if etc
7959 maybe-check-etc: check-etc
7961 check-etc:
7962 @: $(MAKE); $(unstage)
7963 @r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7965 $(HOST_EXPORTS) \
7966 (cd $(HOST_SUBDIR)/etc && \
7967 $(MAKE) $(FLAGS_TO_PASS) check)
7969 @endif etc
7971 .PHONY: install-etc maybe-install-etc
7972 maybe-install-etc:
7973 @if etc
7974 maybe-install-etc: install-etc
7976 install-etc: installdirs
7977 @: $(MAKE); $(unstage)
7978 @r=`${PWD_COMMAND}`; export r; \
7979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980 $(HOST_EXPORTS) \
7981 (cd $(HOST_SUBDIR)/etc && \
7982 $(MAKE) $(FLAGS_TO_PASS) install)
7984 @endif etc
7986 # Other targets (info, dvi, etc.)
7988 .PHONY: maybe-info-etc info-etc
7989 maybe-info-etc:
7990 @if etc
7991 maybe-info-etc: info-etc
7993 info-etc: \
7994 configure-etc
7995 @: $(MAKE); $(unstage)
7996 @[ -f ./etc/Makefile ] || exit 0; \
7997 r=`${PWD_COMMAND}`; export r; \
7998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7999 $(HOST_EXPORTS) \
8000 for flag in $(EXTRA_HOST_FLAGS) ; do \
8001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8002 done; \
8003 echo "Doing info in etc" ; \
8004 (cd $(HOST_SUBDIR)/etc && \
8005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8007 "RANLIB=$${RANLIB}" \
8008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8009 info) \
8010 || exit 1
8012 @endif etc
8014 .PHONY: maybe-dvi-etc dvi-etc
8015 maybe-dvi-etc:
8016 @if etc
8017 maybe-dvi-etc: dvi-etc
8019 dvi-etc: \
8020 configure-etc
8021 @: $(MAKE); $(unstage)
8022 @[ -f ./etc/Makefile ] || exit 0; \
8023 r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 $(HOST_EXPORTS) \
8026 for flag in $(EXTRA_HOST_FLAGS) ; do \
8027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8028 done; \
8029 echo "Doing dvi in etc" ; \
8030 (cd $(HOST_SUBDIR)/etc && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8035 dvi) \
8036 || exit 1
8038 @endif etc
8040 .PHONY: maybe-html-etc html-etc
8041 maybe-html-etc:
8042 @if etc
8043 maybe-html-etc: html-etc
8045 html-etc: \
8046 configure-etc
8047 @: $(MAKE); $(unstage)
8048 @[ -f ./etc/Makefile ] || exit 0; \
8049 r=`${PWD_COMMAND}`; export r; \
8050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 $(HOST_EXPORTS) \
8052 for flag in $(EXTRA_HOST_FLAGS) ; do \
8053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8054 done; \
8055 echo "Doing html in etc" ; \
8056 (cd $(HOST_SUBDIR)/etc && \
8057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8059 "RANLIB=$${RANLIB}" \
8060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8061 html) \
8062 || exit 1
8064 @endif etc
8066 .PHONY: maybe-TAGS-etc TAGS-etc
8067 maybe-TAGS-etc:
8068 @if etc
8069 maybe-TAGS-etc: TAGS-etc
8071 TAGS-etc: \
8072 configure-etc
8073 @: $(MAKE); $(unstage)
8074 @[ -f ./etc/Makefile ] || exit 0; \
8075 r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(HOST_EXPORTS) \
8078 for flag in $(EXTRA_HOST_FLAGS) ; do \
8079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8080 done; \
8081 echo "Doing TAGS in etc" ; \
8082 (cd $(HOST_SUBDIR)/etc && \
8083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8085 "RANLIB=$${RANLIB}" \
8086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8087 TAGS) \
8088 || exit 1
8090 @endif etc
8092 .PHONY: maybe-install-info-etc install-info-etc
8093 maybe-install-info-etc:
8094 @if etc
8095 maybe-install-info-etc: install-info-etc
8097 install-info-etc: \
8098 configure-etc \
8099 info-etc
8100 @: $(MAKE); $(unstage)
8101 @[ -f ./etc/Makefile ] || exit 0; \
8102 r=`${PWD_COMMAND}`; export r; \
8103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8104 $(HOST_EXPORTS) \
8105 for flag in $(EXTRA_HOST_FLAGS) ; do \
8106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8107 done; \
8108 echo "Doing install-info in etc" ; \
8109 (cd $(HOST_SUBDIR)/etc && \
8110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8112 "RANLIB=$${RANLIB}" \
8113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8114 install-info) \
8115 || exit 1
8117 @endif etc
8119 .PHONY: maybe-installcheck-etc installcheck-etc
8120 maybe-installcheck-etc:
8121 @if etc
8122 maybe-installcheck-etc: installcheck-etc
8124 installcheck-etc: \
8125 configure-etc
8126 @: $(MAKE); $(unstage)
8127 @[ -f ./etc/Makefile ] || exit 0; \
8128 r=`${PWD_COMMAND}`; export r; \
8129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8130 $(HOST_EXPORTS) \
8131 for flag in $(EXTRA_HOST_FLAGS) ; do \
8132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8133 done; \
8134 echo "Doing installcheck in etc" ; \
8135 (cd $(HOST_SUBDIR)/etc && \
8136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8138 "RANLIB=$${RANLIB}" \
8139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8140 installcheck) \
8141 || exit 1
8143 @endif etc
8145 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8146 maybe-mostlyclean-etc:
8147 @if etc
8148 maybe-mostlyclean-etc: mostlyclean-etc
8150 mostlyclean-etc:
8151 @: $(MAKE); $(unstage)
8152 @[ -f ./etc/Makefile ] || exit 0; \
8153 r=`${PWD_COMMAND}`; export r; \
8154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8155 $(HOST_EXPORTS) \
8156 for flag in $(EXTRA_HOST_FLAGS) ; do \
8157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8158 done; \
8159 echo "Doing mostlyclean in etc" ; \
8160 (cd $(HOST_SUBDIR)/etc && \
8161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8163 "RANLIB=$${RANLIB}" \
8164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8165 mostlyclean) \
8166 || exit 1
8168 @endif etc
8170 .PHONY: maybe-clean-etc clean-etc
8171 maybe-clean-etc:
8172 @if etc
8173 maybe-clean-etc: clean-etc
8175 clean-etc:
8176 @: $(MAKE); $(unstage)
8177 @[ -f ./etc/Makefile ] || exit 0; \
8178 r=`${PWD_COMMAND}`; export r; \
8179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8180 $(HOST_EXPORTS) \
8181 for flag in $(EXTRA_HOST_FLAGS) ; do \
8182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8183 done; \
8184 echo "Doing clean in etc" ; \
8185 (cd $(HOST_SUBDIR)/etc && \
8186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8188 "RANLIB=$${RANLIB}" \
8189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8190 clean) \
8191 || exit 1
8193 @endif etc
8195 .PHONY: maybe-distclean-etc distclean-etc
8196 maybe-distclean-etc:
8197 @if etc
8198 maybe-distclean-etc: distclean-etc
8200 distclean-etc:
8201 @: $(MAKE); $(unstage)
8202 @[ -f ./etc/Makefile ] || exit 0; \
8203 r=`${PWD_COMMAND}`; export r; \
8204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 $(HOST_EXPORTS) \
8206 for flag in $(EXTRA_HOST_FLAGS) ; do \
8207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8208 done; \
8209 echo "Doing distclean in etc" ; \
8210 (cd $(HOST_SUBDIR)/etc && \
8211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8213 "RANLIB=$${RANLIB}" \
8214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8215 distclean) \
8216 || exit 1
8218 @endif etc
8220 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8221 maybe-maintainer-clean-etc:
8222 @if etc
8223 maybe-maintainer-clean-etc: maintainer-clean-etc
8225 maintainer-clean-etc:
8226 @: $(MAKE); $(unstage)
8227 @[ -f ./etc/Makefile ] || exit 0; \
8228 r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(HOST_EXPORTS) \
8231 for flag in $(EXTRA_HOST_FLAGS) ; do \
8232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8233 done; \
8234 echo "Doing maintainer-clean in etc" ; \
8235 (cd $(HOST_SUBDIR)/etc && \
8236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8238 "RANLIB=$${RANLIB}" \
8239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8240 maintainer-clean) \
8241 || exit 1
8243 @endif etc
8247 .PHONY: configure-fastjar maybe-configure-fastjar
8248 maybe-configure-fastjar:
8249 @if fastjar
8250 maybe-configure-fastjar: configure-fastjar
8251 configure-fastjar:
8252 @: $(MAKE); $(unstage)
8253 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8255 r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8257 $(HOST_EXPORTS) \
8258 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8259 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8260 case $(srcdir) in \
8261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8262 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8264 esac; \
8265 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8266 libsrcdir="$$s/fastjar"; \
8267 $(SHELL) $${libsrcdir}/configure \
8268 $(HOST_CONFIGARGS) $${srcdiroption} \
8269 || exit 1
8270 @endif fastjar
8276 .PHONY: all-fastjar maybe-all-fastjar
8277 maybe-all-fastjar:
8278 @if fastjar
8279 TARGET-fastjar=all
8280 maybe-all-fastjar: all-fastjar
8281 all-fastjar: configure-fastjar
8282 @: $(MAKE); $(unstage)
8283 @r=`${PWD_COMMAND}`; export r; \
8284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8285 $(HOST_EXPORTS) \
8286 (cd $(HOST_SUBDIR)/fastjar && \
8287 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8288 @endif fastjar
8293 .PHONY: check-fastjar maybe-check-fastjar
8294 maybe-check-fastjar:
8295 @if fastjar
8296 maybe-check-fastjar: check-fastjar
8298 # This module is only tested in a native toolchain.
8299 check-fastjar:
8300 @: $(MAKE); $(unstage)
8301 @if [ '$(host)' = '$(target)' ] ; then \
8302 r=`${PWD_COMMAND}`; export r; \
8303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8304 $(HOST_EXPORTS) \
8305 (cd $(HOST_SUBDIR)/fastjar && \
8306 $(MAKE) $(FLAGS_TO_PASS) check); \
8309 @endif fastjar
8311 .PHONY: install-fastjar maybe-install-fastjar
8312 maybe-install-fastjar:
8313 @if fastjar
8314 maybe-install-fastjar: install-fastjar
8316 install-fastjar: installdirs
8317 @: $(MAKE); $(unstage)
8318 @r=`${PWD_COMMAND}`; export r; \
8319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8320 $(HOST_EXPORTS) \
8321 (cd $(HOST_SUBDIR)/fastjar && \
8322 $(MAKE) $(FLAGS_TO_PASS) install)
8324 @endif fastjar
8326 # Other targets (info, dvi, etc.)
8328 .PHONY: maybe-info-fastjar info-fastjar
8329 maybe-info-fastjar:
8330 @if fastjar
8331 maybe-info-fastjar: info-fastjar
8333 info-fastjar: \
8334 configure-fastjar
8335 @: $(MAKE); $(unstage)
8336 @[ -f ./fastjar/Makefile ] || exit 0; \
8337 r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(HOST_EXPORTS) \
8340 for flag in $(EXTRA_HOST_FLAGS) ; do \
8341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8342 done; \
8343 echo "Doing info in fastjar" ; \
8344 (cd $(HOST_SUBDIR)/fastjar && \
8345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8347 "RANLIB=$${RANLIB}" \
8348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8349 info) \
8350 || exit 1
8352 @endif fastjar
8354 .PHONY: maybe-dvi-fastjar dvi-fastjar
8355 maybe-dvi-fastjar:
8356 @if fastjar
8357 maybe-dvi-fastjar: dvi-fastjar
8359 dvi-fastjar: \
8360 configure-fastjar
8361 @: $(MAKE); $(unstage)
8362 @[ -f ./fastjar/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8365 $(HOST_EXPORTS) \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8368 done; \
8369 echo "Doing dvi in fastjar" ; \
8370 (cd $(HOST_SUBDIR)/fastjar && \
8371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8373 "RANLIB=$${RANLIB}" \
8374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8375 dvi) \
8376 || exit 1
8378 @endif fastjar
8380 .PHONY: maybe-html-fastjar html-fastjar
8381 maybe-html-fastjar:
8382 @if fastjar
8383 maybe-html-fastjar: html-fastjar
8385 html-fastjar: \
8386 configure-fastjar
8387 @: $(MAKE); $(unstage)
8388 @[ -f ./fastjar/Makefile ] || exit 0; \
8389 r=`${PWD_COMMAND}`; export r; \
8390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 $(HOST_EXPORTS) \
8392 for flag in $(EXTRA_HOST_FLAGS) ; do \
8393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8394 done; \
8395 echo "Doing html in fastjar" ; \
8396 (cd $(HOST_SUBDIR)/fastjar && \
8397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8399 "RANLIB=$${RANLIB}" \
8400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8401 html) \
8402 || exit 1
8404 @endif fastjar
8406 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8407 maybe-TAGS-fastjar:
8408 @if fastjar
8409 maybe-TAGS-fastjar: TAGS-fastjar
8411 TAGS-fastjar: \
8412 configure-fastjar
8413 @: $(MAKE); $(unstage)
8414 @[ -f ./fastjar/Makefile ] || exit 0; \
8415 r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 $(HOST_EXPORTS) \
8418 for flag in $(EXTRA_HOST_FLAGS) ; do \
8419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8420 done; \
8421 echo "Doing TAGS in fastjar" ; \
8422 (cd $(HOST_SUBDIR)/fastjar && \
8423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8425 "RANLIB=$${RANLIB}" \
8426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8427 TAGS) \
8428 || exit 1
8430 @endif fastjar
8432 .PHONY: maybe-install-info-fastjar install-info-fastjar
8433 maybe-install-info-fastjar:
8434 @if fastjar
8435 maybe-install-info-fastjar: install-info-fastjar
8437 install-info-fastjar: \
8438 configure-fastjar \
8439 info-fastjar
8440 @: $(MAKE); $(unstage)
8441 @[ -f ./fastjar/Makefile ] || exit 0; \
8442 r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 for flag in $(EXTRA_HOST_FLAGS) ; do \
8446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8447 done; \
8448 echo "Doing install-info in fastjar" ; \
8449 (cd $(HOST_SUBDIR)/fastjar && \
8450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8452 "RANLIB=$${RANLIB}" \
8453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8454 install-info) \
8455 || exit 1
8457 @endif fastjar
8459 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8460 maybe-installcheck-fastjar:
8461 @if fastjar
8462 maybe-installcheck-fastjar: installcheck-fastjar
8464 installcheck-fastjar: \
8465 configure-fastjar
8466 @: $(MAKE); $(unstage)
8467 @[ -f ./fastjar/Makefile ] || exit 0; \
8468 r=`${PWD_COMMAND}`; export r; \
8469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 $(HOST_EXPORTS) \
8471 for flag in $(EXTRA_HOST_FLAGS) ; do \
8472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 done; \
8474 echo "Doing installcheck in fastjar" ; \
8475 (cd $(HOST_SUBDIR)/fastjar && \
8476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8478 "RANLIB=$${RANLIB}" \
8479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8480 installcheck) \
8481 || exit 1
8483 @endif fastjar
8485 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8486 maybe-mostlyclean-fastjar:
8487 @if fastjar
8488 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8490 mostlyclean-fastjar:
8491 @: $(MAKE); $(unstage)
8492 @[ -f ./fastjar/Makefile ] || exit 0; \
8493 r=`${PWD_COMMAND}`; export r; \
8494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8495 $(HOST_EXPORTS) \
8496 for flag in $(EXTRA_HOST_FLAGS) ; do \
8497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8498 done; \
8499 echo "Doing mostlyclean in fastjar" ; \
8500 (cd $(HOST_SUBDIR)/fastjar && \
8501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8503 "RANLIB=$${RANLIB}" \
8504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8505 mostlyclean) \
8506 || exit 1
8508 @endif fastjar
8510 .PHONY: maybe-clean-fastjar clean-fastjar
8511 maybe-clean-fastjar:
8512 @if fastjar
8513 maybe-clean-fastjar: clean-fastjar
8515 clean-fastjar:
8516 @: $(MAKE); $(unstage)
8517 @[ -f ./fastjar/Makefile ] || exit 0; \
8518 r=`${PWD_COMMAND}`; export r; \
8519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8520 $(HOST_EXPORTS) \
8521 for flag in $(EXTRA_HOST_FLAGS) ; do \
8522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8523 done; \
8524 echo "Doing clean in fastjar" ; \
8525 (cd $(HOST_SUBDIR)/fastjar && \
8526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8528 "RANLIB=$${RANLIB}" \
8529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8530 clean) \
8531 || exit 1
8533 @endif fastjar
8535 .PHONY: maybe-distclean-fastjar distclean-fastjar
8536 maybe-distclean-fastjar:
8537 @if fastjar
8538 maybe-distclean-fastjar: distclean-fastjar
8540 distclean-fastjar:
8541 @: $(MAKE); $(unstage)
8542 @[ -f ./fastjar/Makefile ] || exit 0; \
8543 r=`${PWD_COMMAND}`; export r; \
8544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8545 $(HOST_EXPORTS) \
8546 for flag in $(EXTRA_HOST_FLAGS) ; do \
8547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8548 done; \
8549 echo "Doing distclean in fastjar" ; \
8550 (cd $(HOST_SUBDIR)/fastjar && \
8551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8553 "RANLIB=$${RANLIB}" \
8554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8555 distclean) \
8556 || exit 1
8558 @endif fastjar
8560 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8561 maybe-maintainer-clean-fastjar:
8562 @if fastjar
8563 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8565 maintainer-clean-fastjar:
8566 @: $(MAKE); $(unstage)
8567 @[ -f ./fastjar/Makefile ] || exit 0; \
8568 r=`${PWD_COMMAND}`; export r; \
8569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8570 $(HOST_EXPORTS) \
8571 for flag in $(EXTRA_HOST_FLAGS) ; do \
8572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8573 done; \
8574 echo "Doing maintainer-clean in fastjar" ; \
8575 (cd $(HOST_SUBDIR)/fastjar && \
8576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8578 "RANLIB=$${RANLIB}" \
8579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8580 maintainer-clean) \
8581 || exit 1
8583 @endif fastjar
8587 .PHONY: configure-fileutils maybe-configure-fileutils
8588 maybe-configure-fileutils:
8589 @if fileutils
8590 maybe-configure-fileutils: configure-fileutils
8591 configure-fileutils:
8592 @: $(MAKE); $(unstage)
8593 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8595 r=`${PWD_COMMAND}`; export r; \
8596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8597 $(HOST_EXPORTS) \
8598 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8599 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8600 case $(srcdir) in \
8601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8602 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8604 esac; \
8605 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8606 libsrcdir="$$s/fileutils"; \
8607 $(SHELL) $${libsrcdir}/configure \
8608 $(HOST_CONFIGARGS) $${srcdiroption} \
8609 || exit 1
8610 @endif fileutils
8616 .PHONY: all-fileutils maybe-all-fileutils
8617 maybe-all-fileutils:
8618 @if fileutils
8619 TARGET-fileutils=all
8620 maybe-all-fileutils: all-fileutils
8621 all-fileutils: configure-fileutils
8622 @: $(MAKE); $(unstage)
8623 @r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 (cd $(HOST_SUBDIR)/fileutils && \
8627 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8628 @endif fileutils
8633 .PHONY: check-fileutils maybe-check-fileutils
8634 maybe-check-fileutils:
8635 @if fileutils
8636 maybe-check-fileutils: check-fileutils
8638 check-fileutils:
8639 @: $(MAKE); $(unstage)
8640 @r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8642 $(HOST_EXPORTS) \
8643 (cd $(HOST_SUBDIR)/fileutils && \
8644 $(MAKE) $(FLAGS_TO_PASS) check)
8646 @endif fileutils
8648 .PHONY: install-fileutils maybe-install-fileutils
8649 maybe-install-fileutils:
8650 @if fileutils
8651 maybe-install-fileutils: install-fileutils
8653 install-fileutils: installdirs
8654 @: $(MAKE); $(unstage)
8655 @r=`${PWD_COMMAND}`; export r; \
8656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8657 $(HOST_EXPORTS) \
8658 (cd $(HOST_SUBDIR)/fileutils && \
8659 $(MAKE) $(FLAGS_TO_PASS) install)
8661 @endif fileutils
8663 # Other targets (info, dvi, etc.)
8665 .PHONY: maybe-info-fileutils info-fileutils
8666 maybe-info-fileutils:
8667 @if fileutils
8668 maybe-info-fileutils: info-fileutils
8670 info-fileutils: \
8671 configure-fileutils
8672 @: $(MAKE); $(unstage)
8673 @[ -f ./fileutils/Makefile ] || exit 0; \
8674 r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 $(HOST_EXPORTS) \
8677 for flag in $(EXTRA_HOST_FLAGS) ; do \
8678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8679 done; \
8680 echo "Doing info in fileutils" ; \
8681 (cd $(HOST_SUBDIR)/fileutils && \
8682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8684 "RANLIB=$${RANLIB}" \
8685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8686 info) \
8687 || exit 1
8689 @endif fileutils
8691 .PHONY: maybe-dvi-fileutils dvi-fileutils
8692 maybe-dvi-fileutils:
8693 @if fileutils
8694 maybe-dvi-fileutils: dvi-fileutils
8696 dvi-fileutils: \
8697 configure-fileutils
8698 @: $(MAKE); $(unstage)
8699 @[ -f ./fileutils/Makefile ] || exit 0; \
8700 r=`${PWD_COMMAND}`; export r; \
8701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8702 $(HOST_EXPORTS) \
8703 for flag in $(EXTRA_HOST_FLAGS) ; do \
8704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8705 done; \
8706 echo "Doing dvi in fileutils" ; \
8707 (cd $(HOST_SUBDIR)/fileutils && \
8708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8710 "RANLIB=$${RANLIB}" \
8711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8712 dvi) \
8713 || exit 1
8715 @endif fileutils
8717 .PHONY: maybe-html-fileutils html-fileutils
8718 maybe-html-fileutils:
8719 @if fileutils
8720 maybe-html-fileutils: html-fileutils
8722 html-fileutils: \
8723 configure-fileutils
8724 @: $(MAKE); $(unstage)
8725 @[ -f ./fileutils/Makefile ] || exit 0; \
8726 r=`${PWD_COMMAND}`; export r; \
8727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8728 $(HOST_EXPORTS) \
8729 for flag in $(EXTRA_HOST_FLAGS) ; do \
8730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8731 done; \
8732 echo "Doing html in fileutils" ; \
8733 (cd $(HOST_SUBDIR)/fileutils && \
8734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8736 "RANLIB=$${RANLIB}" \
8737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8738 html) \
8739 || exit 1
8741 @endif fileutils
8743 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8744 maybe-TAGS-fileutils:
8745 @if fileutils
8746 maybe-TAGS-fileutils: TAGS-fileutils
8748 TAGS-fileutils: \
8749 configure-fileutils
8750 @: $(MAKE); $(unstage)
8751 @[ -f ./fileutils/Makefile ] || exit 0; \
8752 r=`${PWD_COMMAND}`; export r; \
8753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8754 $(HOST_EXPORTS) \
8755 for flag in $(EXTRA_HOST_FLAGS) ; do \
8756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8757 done; \
8758 echo "Doing TAGS in fileutils" ; \
8759 (cd $(HOST_SUBDIR)/fileutils && \
8760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8762 "RANLIB=$${RANLIB}" \
8763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8764 TAGS) \
8765 || exit 1
8767 @endif fileutils
8769 .PHONY: maybe-install-info-fileutils install-info-fileutils
8770 maybe-install-info-fileutils:
8771 @if fileutils
8772 maybe-install-info-fileutils: install-info-fileutils
8774 install-info-fileutils: \
8775 configure-fileutils \
8776 info-fileutils
8777 @: $(MAKE); $(unstage)
8778 @[ -f ./fileutils/Makefile ] || exit 0; \
8779 r=`${PWD_COMMAND}`; export r; \
8780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS) ; do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing install-info in fileutils" ; \
8786 (cd $(HOST_SUBDIR)/fileutils && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8791 install-info) \
8792 || exit 1
8794 @endif fileutils
8796 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8797 maybe-installcheck-fileutils:
8798 @if fileutils
8799 maybe-installcheck-fileutils: installcheck-fileutils
8801 installcheck-fileutils: \
8802 configure-fileutils
8803 @: $(MAKE); $(unstage)
8804 @[ -f ./fileutils/Makefile ] || exit 0; \
8805 r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 $(HOST_EXPORTS) \
8808 for flag in $(EXTRA_HOST_FLAGS) ; do \
8809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8810 done; \
8811 echo "Doing installcheck in fileutils" ; \
8812 (cd $(HOST_SUBDIR)/fileutils && \
8813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8815 "RANLIB=$${RANLIB}" \
8816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8817 installcheck) \
8818 || exit 1
8820 @endif fileutils
8822 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8823 maybe-mostlyclean-fileutils:
8824 @if fileutils
8825 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8827 mostlyclean-fileutils:
8828 @: $(MAKE); $(unstage)
8829 @[ -f ./fileutils/Makefile ] || exit 0; \
8830 r=`${PWD_COMMAND}`; export r; \
8831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8832 $(HOST_EXPORTS) \
8833 for flag in $(EXTRA_HOST_FLAGS) ; do \
8834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8835 done; \
8836 echo "Doing mostlyclean in fileutils" ; \
8837 (cd $(HOST_SUBDIR)/fileutils && \
8838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8840 "RANLIB=$${RANLIB}" \
8841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8842 mostlyclean) \
8843 || exit 1
8845 @endif fileutils
8847 .PHONY: maybe-clean-fileutils clean-fileutils
8848 maybe-clean-fileutils:
8849 @if fileutils
8850 maybe-clean-fileutils: clean-fileutils
8852 clean-fileutils:
8853 @: $(MAKE); $(unstage)
8854 @[ -f ./fileutils/Makefile ] || exit 0; \
8855 r=`${PWD_COMMAND}`; export r; \
8856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 $(HOST_EXPORTS) \
8858 for flag in $(EXTRA_HOST_FLAGS) ; do \
8859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8860 done; \
8861 echo "Doing clean in fileutils" ; \
8862 (cd $(HOST_SUBDIR)/fileutils && \
8863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8865 "RANLIB=$${RANLIB}" \
8866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8867 clean) \
8868 || exit 1
8870 @endif fileutils
8872 .PHONY: maybe-distclean-fileutils distclean-fileutils
8873 maybe-distclean-fileutils:
8874 @if fileutils
8875 maybe-distclean-fileutils: distclean-fileutils
8877 distclean-fileutils:
8878 @: $(MAKE); $(unstage)
8879 @[ -f ./fileutils/Makefile ] || exit 0; \
8880 r=`${PWD_COMMAND}`; export r; \
8881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8882 $(HOST_EXPORTS) \
8883 for flag in $(EXTRA_HOST_FLAGS) ; do \
8884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8885 done; \
8886 echo "Doing distclean in fileutils" ; \
8887 (cd $(HOST_SUBDIR)/fileutils && \
8888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8890 "RANLIB=$${RANLIB}" \
8891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8892 distclean) \
8893 || exit 1
8895 @endif fileutils
8897 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8898 maybe-maintainer-clean-fileutils:
8899 @if fileutils
8900 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8902 maintainer-clean-fileutils:
8903 @: $(MAKE); $(unstage)
8904 @[ -f ./fileutils/Makefile ] || exit 0; \
8905 r=`${PWD_COMMAND}`; export r; \
8906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8907 $(HOST_EXPORTS) \
8908 for flag in $(EXTRA_HOST_FLAGS) ; do \
8909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8910 done; \
8911 echo "Doing maintainer-clean in fileutils" ; \
8912 (cd $(HOST_SUBDIR)/fileutils && \
8913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8915 "RANLIB=$${RANLIB}" \
8916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8917 maintainer-clean) \
8918 || exit 1
8920 @endif fileutils
8924 .PHONY: configure-findutils maybe-configure-findutils
8925 maybe-configure-findutils:
8926 @if findutils
8927 maybe-configure-findutils: configure-findutils
8928 configure-findutils:
8929 @: $(MAKE); $(unstage)
8930 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8932 r=`${PWD_COMMAND}`; export r; \
8933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8934 $(HOST_EXPORTS) \
8935 echo Configuring in $(HOST_SUBDIR)/findutils; \
8936 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8937 case $(srcdir) in \
8938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8939 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8941 esac; \
8942 srcdiroption="--srcdir=$${topdir}/findutils"; \
8943 libsrcdir="$$s/findutils"; \
8944 $(SHELL) $${libsrcdir}/configure \
8945 $(HOST_CONFIGARGS) $${srcdiroption} \
8946 || exit 1
8947 @endif findutils
8953 .PHONY: all-findutils maybe-all-findutils
8954 maybe-all-findutils:
8955 @if findutils
8956 TARGET-findutils=all
8957 maybe-all-findutils: all-findutils
8958 all-findutils: configure-findutils
8959 @: $(MAKE); $(unstage)
8960 @r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(HOST_EXPORTS) \
8963 (cd $(HOST_SUBDIR)/findutils && \
8964 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8965 @endif findutils
8970 .PHONY: check-findutils maybe-check-findutils
8971 maybe-check-findutils:
8972 @if findutils
8973 maybe-check-findutils: check-findutils
8975 check-findutils:
8976 @: $(MAKE); $(unstage)
8977 @r=`${PWD_COMMAND}`; export r; \
8978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8979 $(HOST_EXPORTS) \
8980 (cd $(HOST_SUBDIR)/findutils && \
8981 $(MAKE) $(FLAGS_TO_PASS) check)
8983 @endif findutils
8985 .PHONY: install-findutils maybe-install-findutils
8986 maybe-install-findutils:
8987 @if findutils
8988 maybe-install-findutils: install-findutils
8990 install-findutils: installdirs
8991 @: $(MAKE); $(unstage)
8992 @r=`${PWD_COMMAND}`; export r; \
8993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8994 $(HOST_EXPORTS) \
8995 (cd $(HOST_SUBDIR)/findutils && \
8996 $(MAKE) $(FLAGS_TO_PASS) install)
8998 @endif findutils
9000 # Other targets (info, dvi, etc.)
9002 .PHONY: maybe-info-findutils info-findutils
9003 maybe-info-findutils:
9004 @if findutils
9005 maybe-info-findutils: info-findutils
9007 info-findutils: \
9008 configure-findutils
9009 @: $(MAKE); $(unstage)
9010 @[ -f ./findutils/Makefile ] || exit 0; \
9011 r=`${PWD_COMMAND}`; export r; \
9012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9013 $(HOST_EXPORTS) \
9014 for flag in $(EXTRA_HOST_FLAGS) ; do \
9015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9016 done; \
9017 echo "Doing info in findutils" ; \
9018 (cd $(HOST_SUBDIR)/findutils && \
9019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9021 "RANLIB=$${RANLIB}" \
9022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9023 info) \
9024 || exit 1
9026 @endif findutils
9028 .PHONY: maybe-dvi-findutils dvi-findutils
9029 maybe-dvi-findutils:
9030 @if findutils
9031 maybe-dvi-findutils: dvi-findutils
9033 dvi-findutils: \
9034 configure-findutils
9035 @: $(MAKE); $(unstage)
9036 @[ -f ./findutils/Makefile ] || exit 0; \
9037 r=`${PWD_COMMAND}`; export r; \
9038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9039 $(HOST_EXPORTS) \
9040 for flag in $(EXTRA_HOST_FLAGS) ; do \
9041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9042 done; \
9043 echo "Doing dvi in findutils" ; \
9044 (cd $(HOST_SUBDIR)/findutils && \
9045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9047 "RANLIB=$${RANLIB}" \
9048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9049 dvi) \
9050 || exit 1
9052 @endif findutils
9054 .PHONY: maybe-html-findutils html-findutils
9055 maybe-html-findutils:
9056 @if findutils
9057 maybe-html-findutils: html-findutils
9059 html-findutils: \
9060 configure-findutils
9061 @: $(MAKE); $(unstage)
9062 @[ -f ./findutils/Makefile ] || exit 0; \
9063 r=`${PWD_COMMAND}`; export r; \
9064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9065 $(HOST_EXPORTS) \
9066 for flag in $(EXTRA_HOST_FLAGS) ; do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9068 done; \
9069 echo "Doing html in findutils" ; \
9070 (cd $(HOST_SUBDIR)/findutils && \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9075 html) \
9076 || exit 1
9078 @endif findutils
9080 .PHONY: maybe-TAGS-findutils TAGS-findutils
9081 maybe-TAGS-findutils:
9082 @if findutils
9083 maybe-TAGS-findutils: TAGS-findutils
9085 TAGS-findutils: \
9086 configure-findutils
9087 @: $(MAKE); $(unstage)
9088 @[ -f ./findutils/Makefile ] || exit 0; \
9089 r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 $(HOST_EXPORTS) \
9092 for flag in $(EXTRA_HOST_FLAGS) ; do \
9093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9094 done; \
9095 echo "Doing TAGS in findutils" ; \
9096 (cd $(HOST_SUBDIR)/findutils && \
9097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9099 "RANLIB=$${RANLIB}" \
9100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9101 TAGS) \
9102 || exit 1
9104 @endif findutils
9106 .PHONY: maybe-install-info-findutils install-info-findutils
9107 maybe-install-info-findutils:
9108 @if findutils
9109 maybe-install-info-findutils: install-info-findutils
9111 install-info-findutils: \
9112 configure-findutils \
9113 info-findutils
9114 @: $(MAKE); $(unstage)
9115 @[ -f ./findutils/Makefile ] || exit 0; \
9116 r=`${PWD_COMMAND}`; export r; \
9117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9118 $(HOST_EXPORTS) \
9119 for flag in $(EXTRA_HOST_FLAGS) ; do \
9120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9121 done; \
9122 echo "Doing install-info in findutils" ; \
9123 (cd $(HOST_SUBDIR)/findutils && \
9124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9126 "RANLIB=$${RANLIB}" \
9127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9128 install-info) \
9129 || exit 1
9131 @endif findutils
9133 .PHONY: maybe-installcheck-findutils installcheck-findutils
9134 maybe-installcheck-findutils:
9135 @if findutils
9136 maybe-installcheck-findutils: installcheck-findutils
9138 installcheck-findutils: \
9139 configure-findutils
9140 @: $(MAKE); $(unstage)
9141 @[ -f ./findutils/Makefile ] || exit 0; \
9142 r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(HOST_EXPORTS) \
9145 for flag in $(EXTRA_HOST_FLAGS) ; do \
9146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9147 done; \
9148 echo "Doing installcheck in findutils" ; \
9149 (cd $(HOST_SUBDIR)/findutils && \
9150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9152 "RANLIB=$${RANLIB}" \
9153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9154 installcheck) \
9155 || exit 1
9157 @endif findutils
9159 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9160 maybe-mostlyclean-findutils:
9161 @if findutils
9162 maybe-mostlyclean-findutils: mostlyclean-findutils
9164 mostlyclean-findutils:
9165 @: $(MAKE); $(unstage)
9166 @[ -f ./findutils/Makefile ] || exit 0; \
9167 r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 $(HOST_EXPORTS) \
9170 for flag in $(EXTRA_HOST_FLAGS) ; do \
9171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9172 done; \
9173 echo "Doing mostlyclean in findutils" ; \
9174 (cd $(HOST_SUBDIR)/findutils && \
9175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9177 "RANLIB=$${RANLIB}" \
9178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9179 mostlyclean) \
9180 || exit 1
9182 @endif findutils
9184 .PHONY: maybe-clean-findutils clean-findutils
9185 maybe-clean-findutils:
9186 @if findutils
9187 maybe-clean-findutils: clean-findutils
9189 clean-findutils:
9190 @: $(MAKE); $(unstage)
9191 @[ -f ./findutils/Makefile ] || exit 0; \
9192 r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194 $(HOST_EXPORTS) \
9195 for flag in $(EXTRA_HOST_FLAGS) ; do \
9196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9197 done; \
9198 echo "Doing clean in findutils" ; \
9199 (cd $(HOST_SUBDIR)/findutils && \
9200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9202 "RANLIB=$${RANLIB}" \
9203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9204 clean) \
9205 || exit 1
9207 @endif findutils
9209 .PHONY: maybe-distclean-findutils distclean-findutils
9210 maybe-distclean-findutils:
9211 @if findutils
9212 maybe-distclean-findutils: distclean-findutils
9214 distclean-findutils:
9215 @: $(MAKE); $(unstage)
9216 @[ -f ./findutils/Makefile ] || exit 0; \
9217 r=`${PWD_COMMAND}`; export r; \
9218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 $(HOST_EXPORTS) \
9220 for flag in $(EXTRA_HOST_FLAGS) ; do \
9221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9222 done; \
9223 echo "Doing distclean in findutils" ; \
9224 (cd $(HOST_SUBDIR)/findutils && \
9225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9227 "RANLIB=$${RANLIB}" \
9228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9229 distclean) \
9230 || exit 1
9232 @endif findutils
9234 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9235 maybe-maintainer-clean-findutils:
9236 @if findutils
9237 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9239 maintainer-clean-findutils:
9240 @: $(MAKE); $(unstage)
9241 @[ -f ./findutils/Makefile ] || exit 0; \
9242 r=`${PWD_COMMAND}`; export r; \
9243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9244 $(HOST_EXPORTS) \
9245 for flag in $(EXTRA_HOST_FLAGS) ; do \
9246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9247 done; \
9248 echo "Doing maintainer-clean in findutils" ; \
9249 (cd $(HOST_SUBDIR)/findutils && \
9250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9252 "RANLIB=$${RANLIB}" \
9253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9254 maintainer-clean) \
9255 || exit 1
9257 @endif findutils
9261 .PHONY: configure-find maybe-configure-find
9262 maybe-configure-find:
9263 @if find
9264 maybe-configure-find: configure-find
9265 configure-find:
9266 @: $(MAKE); $(unstage)
9267 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9269 r=`${PWD_COMMAND}`; export r; \
9270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9271 $(HOST_EXPORTS) \
9272 echo Configuring in $(HOST_SUBDIR)/find; \
9273 cd "$(HOST_SUBDIR)/find" || exit 1; \
9274 case $(srcdir) in \
9275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9276 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9278 esac; \
9279 srcdiroption="--srcdir=$${topdir}/find"; \
9280 libsrcdir="$$s/find"; \
9281 $(SHELL) $${libsrcdir}/configure \
9282 $(HOST_CONFIGARGS) $${srcdiroption} \
9283 || exit 1
9284 @endif find
9290 .PHONY: all-find maybe-all-find
9291 maybe-all-find:
9292 @if find
9293 TARGET-find=all
9294 maybe-all-find: all-find
9295 all-find: configure-find
9296 @: $(MAKE); $(unstage)
9297 @r=`${PWD_COMMAND}`; export r; \
9298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9299 $(HOST_EXPORTS) \
9300 (cd $(HOST_SUBDIR)/find && \
9301 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9302 @endif find
9307 .PHONY: check-find maybe-check-find
9308 maybe-check-find:
9309 @if find
9310 maybe-check-find: check-find
9312 check-find:
9313 @: $(MAKE); $(unstage)
9314 @r=`${PWD_COMMAND}`; export r; \
9315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9316 $(HOST_EXPORTS) \
9317 (cd $(HOST_SUBDIR)/find && \
9318 $(MAKE) $(FLAGS_TO_PASS) check)
9320 @endif find
9322 .PHONY: install-find maybe-install-find
9323 maybe-install-find:
9324 @if find
9325 maybe-install-find: install-find
9327 install-find: installdirs
9328 @: $(MAKE); $(unstage)
9329 @r=`${PWD_COMMAND}`; export r; \
9330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331 $(HOST_EXPORTS) \
9332 (cd $(HOST_SUBDIR)/find && \
9333 $(MAKE) $(FLAGS_TO_PASS) install)
9335 @endif find
9337 # Other targets (info, dvi, etc.)
9339 .PHONY: maybe-info-find info-find
9340 maybe-info-find:
9341 @if find
9342 maybe-info-find: info-find
9344 info-find: \
9345 configure-find
9346 @: $(MAKE); $(unstage)
9347 @[ -f ./find/Makefile ] || exit 0; \
9348 r=`${PWD_COMMAND}`; export r; \
9349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9350 $(HOST_EXPORTS) \
9351 for flag in $(EXTRA_HOST_FLAGS) ; do \
9352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9353 done; \
9354 echo "Doing info in find" ; \
9355 (cd $(HOST_SUBDIR)/find && \
9356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9358 "RANLIB=$${RANLIB}" \
9359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9360 info) \
9361 || exit 1
9363 @endif find
9365 .PHONY: maybe-dvi-find dvi-find
9366 maybe-dvi-find:
9367 @if find
9368 maybe-dvi-find: dvi-find
9370 dvi-find: \
9371 configure-find
9372 @: $(MAKE); $(unstage)
9373 @[ -f ./find/Makefile ] || exit 0; \
9374 r=`${PWD_COMMAND}`; export r; \
9375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9376 $(HOST_EXPORTS) \
9377 for flag in $(EXTRA_HOST_FLAGS) ; do \
9378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9379 done; \
9380 echo "Doing dvi in find" ; \
9381 (cd $(HOST_SUBDIR)/find && \
9382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9384 "RANLIB=$${RANLIB}" \
9385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9386 dvi) \
9387 || exit 1
9389 @endif find
9391 .PHONY: maybe-html-find html-find
9392 maybe-html-find:
9393 @if find
9394 maybe-html-find: html-find
9396 html-find: \
9397 configure-find
9398 @: $(MAKE); $(unstage)
9399 @[ -f ./find/Makefile ] || exit 0; \
9400 r=`${PWD_COMMAND}`; export r; \
9401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9402 $(HOST_EXPORTS) \
9403 for flag in $(EXTRA_HOST_FLAGS) ; do \
9404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9405 done; \
9406 echo "Doing html in find" ; \
9407 (cd $(HOST_SUBDIR)/find && \
9408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9410 "RANLIB=$${RANLIB}" \
9411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9412 html) \
9413 || exit 1
9415 @endif find
9417 .PHONY: maybe-TAGS-find TAGS-find
9418 maybe-TAGS-find:
9419 @if find
9420 maybe-TAGS-find: TAGS-find
9422 TAGS-find: \
9423 configure-find
9424 @: $(MAKE); $(unstage)
9425 @[ -f ./find/Makefile ] || exit 0; \
9426 r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 $(HOST_EXPORTS) \
9429 for flag in $(EXTRA_HOST_FLAGS) ; do \
9430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9431 done; \
9432 echo "Doing TAGS in find" ; \
9433 (cd $(HOST_SUBDIR)/find && \
9434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9436 "RANLIB=$${RANLIB}" \
9437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9438 TAGS) \
9439 || exit 1
9441 @endif find
9443 .PHONY: maybe-install-info-find install-info-find
9444 maybe-install-info-find:
9445 @if find
9446 maybe-install-info-find: install-info-find
9448 install-info-find: \
9449 configure-find \
9450 info-find
9451 @: $(MAKE); $(unstage)
9452 @[ -f ./find/Makefile ] || exit 0; \
9453 r=`${PWD_COMMAND}`; export r; \
9454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9455 $(HOST_EXPORTS) \
9456 for flag in $(EXTRA_HOST_FLAGS) ; do \
9457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9458 done; \
9459 echo "Doing install-info in find" ; \
9460 (cd $(HOST_SUBDIR)/find && \
9461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9463 "RANLIB=$${RANLIB}" \
9464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9465 install-info) \
9466 || exit 1
9468 @endif find
9470 .PHONY: maybe-installcheck-find installcheck-find
9471 maybe-installcheck-find:
9472 @if find
9473 maybe-installcheck-find: installcheck-find
9475 installcheck-find: \
9476 configure-find
9477 @: $(MAKE); $(unstage)
9478 @[ -f ./find/Makefile ] || exit 0; \
9479 r=`${PWD_COMMAND}`; export r; \
9480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9481 $(HOST_EXPORTS) \
9482 for flag in $(EXTRA_HOST_FLAGS) ; do \
9483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9484 done; \
9485 echo "Doing installcheck in find" ; \
9486 (cd $(HOST_SUBDIR)/find && \
9487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9489 "RANLIB=$${RANLIB}" \
9490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9491 installcheck) \
9492 || exit 1
9494 @endif find
9496 .PHONY: maybe-mostlyclean-find mostlyclean-find
9497 maybe-mostlyclean-find:
9498 @if find
9499 maybe-mostlyclean-find: mostlyclean-find
9501 mostlyclean-find:
9502 @: $(MAKE); $(unstage)
9503 @[ -f ./find/Makefile ] || exit 0; \
9504 r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(HOST_EXPORTS) \
9507 for flag in $(EXTRA_HOST_FLAGS) ; do \
9508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9509 done; \
9510 echo "Doing mostlyclean in find" ; \
9511 (cd $(HOST_SUBDIR)/find && \
9512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9514 "RANLIB=$${RANLIB}" \
9515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9516 mostlyclean) \
9517 || exit 1
9519 @endif find
9521 .PHONY: maybe-clean-find clean-find
9522 maybe-clean-find:
9523 @if find
9524 maybe-clean-find: clean-find
9526 clean-find:
9527 @: $(MAKE); $(unstage)
9528 @[ -f ./find/Makefile ] || exit 0; \
9529 r=`${PWD_COMMAND}`; export r; \
9530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9531 $(HOST_EXPORTS) \
9532 for flag in $(EXTRA_HOST_FLAGS) ; do \
9533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9534 done; \
9535 echo "Doing clean in find" ; \
9536 (cd $(HOST_SUBDIR)/find && \
9537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9539 "RANLIB=$${RANLIB}" \
9540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9541 clean) \
9542 || exit 1
9544 @endif find
9546 .PHONY: maybe-distclean-find distclean-find
9547 maybe-distclean-find:
9548 @if find
9549 maybe-distclean-find: distclean-find
9551 distclean-find:
9552 @: $(MAKE); $(unstage)
9553 @[ -f ./find/Makefile ] || exit 0; \
9554 r=`${PWD_COMMAND}`; export r; \
9555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 $(HOST_EXPORTS) \
9557 for flag in $(EXTRA_HOST_FLAGS) ; do \
9558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9559 done; \
9560 echo "Doing distclean in find" ; \
9561 (cd $(HOST_SUBDIR)/find && \
9562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9564 "RANLIB=$${RANLIB}" \
9565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9566 distclean) \
9567 || exit 1
9569 @endif find
9571 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9572 maybe-maintainer-clean-find:
9573 @if find
9574 maybe-maintainer-clean-find: maintainer-clean-find
9576 maintainer-clean-find:
9577 @: $(MAKE); $(unstage)
9578 @[ -f ./find/Makefile ] || exit 0; \
9579 r=`${PWD_COMMAND}`; export r; \
9580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9581 $(HOST_EXPORTS) \
9582 for flag in $(EXTRA_HOST_FLAGS) ; do \
9583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9584 done; \
9585 echo "Doing maintainer-clean in find" ; \
9586 (cd $(HOST_SUBDIR)/find && \
9587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589 "RANLIB=$${RANLIB}" \
9590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9591 maintainer-clean) \
9592 || exit 1
9594 @endif find
9598 .PHONY: configure-fixincludes maybe-configure-fixincludes
9599 maybe-configure-fixincludes:
9600 @if fixincludes
9601 maybe-configure-fixincludes: configure-fixincludes
9602 configure-fixincludes:
9603 @: $(MAKE); $(unstage)
9604 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9606 r=`${PWD_COMMAND}`; export r; \
9607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 $(HOST_EXPORTS) \
9609 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9610 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9611 case $(srcdir) in \
9612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9613 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9615 esac; \
9616 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9617 libsrcdir="$$s/fixincludes"; \
9618 $(SHELL) $${libsrcdir}/configure \
9619 $(HOST_CONFIGARGS) $${srcdiroption} \
9620 || exit 1
9621 @endif fixincludes
9627 .PHONY: all-fixincludes maybe-all-fixincludes
9628 maybe-all-fixincludes:
9629 @if fixincludes
9630 TARGET-fixincludes=all
9631 maybe-all-fixincludes: all-fixincludes
9632 all-fixincludes: configure-fixincludes
9633 @: $(MAKE); $(unstage)
9634 @r=`${PWD_COMMAND}`; export r; \
9635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9636 $(HOST_EXPORTS) \
9637 (cd $(HOST_SUBDIR)/fixincludes && \
9638 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9639 @endif fixincludes
9644 .PHONY: check-fixincludes maybe-check-fixincludes
9645 maybe-check-fixincludes:
9646 @if fixincludes
9647 maybe-check-fixincludes: check-fixincludes
9649 check-fixincludes:
9650 @: $(MAKE); $(unstage)
9651 @r=`${PWD_COMMAND}`; export r; \
9652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 $(HOST_EXPORTS) \
9654 (cd $(HOST_SUBDIR)/fixincludes && \
9655 $(MAKE) $(FLAGS_TO_PASS) check)
9657 @endif fixincludes
9659 .PHONY: install-fixincludes maybe-install-fixincludes
9660 maybe-install-fixincludes:
9661 @if fixincludes
9662 maybe-install-fixincludes: install-fixincludes
9664 install-fixincludes: installdirs
9665 @: $(MAKE); $(unstage)
9666 @r=`${PWD_COMMAND}`; export r; \
9667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9668 $(HOST_EXPORTS) \
9669 (cd $(HOST_SUBDIR)/fixincludes && \
9670 $(MAKE) $(FLAGS_TO_PASS) install)
9672 @endif fixincludes
9674 # Other targets (info, dvi, etc.)
9676 .PHONY: maybe-info-fixincludes info-fixincludes
9677 maybe-info-fixincludes:
9678 @if fixincludes
9679 maybe-info-fixincludes: info-fixincludes
9681 # fixincludes doesn't support info.
9682 info-fixincludes:
9684 @endif fixincludes
9686 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9687 maybe-dvi-fixincludes:
9688 @if fixincludes
9689 maybe-dvi-fixincludes: dvi-fixincludes
9691 # fixincludes doesn't support dvi.
9692 dvi-fixincludes:
9694 @endif fixincludes
9696 .PHONY: maybe-html-fixincludes html-fixincludes
9697 maybe-html-fixincludes:
9698 @if fixincludes
9699 maybe-html-fixincludes: html-fixincludes
9701 html-fixincludes: \
9702 configure-fixincludes
9703 @: $(MAKE); $(unstage)
9704 @[ -f ./fixincludes/Makefile ] || exit 0; \
9705 r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(HOST_EXPORTS) \
9708 for flag in $(EXTRA_HOST_FLAGS) ; do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710 done; \
9711 echo "Doing html in fixincludes" ; \
9712 (cd $(HOST_SUBDIR)/fixincludes && \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715 "RANLIB=$${RANLIB}" \
9716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9717 html) \
9718 || exit 1
9720 @endif fixincludes
9722 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9723 maybe-TAGS-fixincludes:
9724 @if fixincludes
9725 maybe-TAGS-fixincludes: TAGS-fixincludes
9727 # fixincludes doesn't support TAGS.
9728 TAGS-fixincludes:
9730 @endif fixincludes
9732 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9733 maybe-install-info-fixincludes:
9734 @if fixincludes
9735 maybe-install-info-fixincludes: install-info-fixincludes
9737 # fixincludes doesn't support install-info.
9738 install-info-fixincludes:
9740 @endif fixincludes
9742 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9743 maybe-installcheck-fixincludes:
9744 @if fixincludes
9745 maybe-installcheck-fixincludes: installcheck-fixincludes
9747 # fixincludes doesn't support installcheck.
9748 installcheck-fixincludes:
9750 @endif fixincludes
9752 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9753 maybe-mostlyclean-fixincludes:
9754 @if fixincludes
9755 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9757 mostlyclean-fixincludes:
9758 @: $(MAKE); $(unstage)
9759 @[ -f ./fixincludes/Makefile ] || exit 0; \
9760 r=`${PWD_COMMAND}`; export r; \
9761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9762 $(HOST_EXPORTS) \
9763 for flag in $(EXTRA_HOST_FLAGS) ; do \
9764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9765 done; \
9766 echo "Doing mostlyclean in fixincludes" ; \
9767 (cd $(HOST_SUBDIR)/fixincludes && \
9768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9770 "RANLIB=$${RANLIB}" \
9771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9772 mostlyclean) \
9773 || exit 1
9775 @endif fixincludes
9777 .PHONY: maybe-clean-fixincludes clean-fixincludes
9778 maybe-clean-fixincludes:
9779 @if fixincludes
9780 maybe-clean-fixincludes: clean-fixincludes
9782 clean-fixincludes:
9783 @: $(MAKE); $(unstage)
9784 @[ -f ./fixincludes/Makefile ] || exit 0; \
9785 r=`${PWD_COMMAND}`; export r; \
9786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9787 $(HOST_EXPORTS) \
9788 for flag in $(EXTRA_HOST_FLAGS) ; do \
9789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9790 done; \
9791 echo "Doing clean in fixincludes" ; \
9792 (cd $(HOST_SUBDIR)/fixincludes && \
9793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9795 "RANLIB=$${RANLIB}" \
9796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9797 clean) \
9798 || exit 1
9800 @endif fixincludes
9802 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9803 maybe-distclean-fixincludes:
9804 @if fixincludes
9805 maybe-distclean-fixincludes: distclean-fixincludes
9807 distclean-fixincludes:
9808 @: $(MAKE); $(unstage)
9809 @[ -f ./fixincludes/Makefile ] || exit 0; \
9810 r=`${PWD_COMMAND}`; export r; \
9811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9812 $(HOST_EXPORTS) \
9813 for flag in $(EXTRA_HOST_FLAGS) ; do \
9814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9815 done; \
9816 echo "Doing distclean in fixincludes" ; \
9817 (cd $(HOST_SUBDIR)/fixincludes && \
9818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9820 "RANLIB=$${RANLIB}" \
9821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9822 distclean) \
9823 || exit 1
9825 @endif fixincludes
9827 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9828 maybe-maintainer-clean-fixincludes:
9829 @if fixincludes
9830 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9832 maintainer-clean-fixincludes:
9833 @: $(MAKE); $(unstage)
9834 @[ -f ./fixincludes/Makefile ] || exit 0; \
9835 r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9837 $(HOST_EXPORTS) \
9838 for flag in $(EXTRA_HOST_FLAGS) ; do \
9839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9840 done; \
9841 echo "Doing maintainer-clean in fixincludes" ; \
9842 (cd $(HOST_SUBDIR)/fixincludes && \
9843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9845 "RANLIB=$${RANLIB}" \
9846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9847 maintainer-clean) \
9848 || exit 1
9850 @endif fixincludes
9854 .PHONY: configure-flex maybe-configure-flex
9855 maybe-configure-flex:
9856 @if flex
9857 maybe-configure-flex: configure-flex
9858 configure-flex:
9859 @: $(MAKE); $(unstage)
9860 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9862 r=`${PWD_COMMAND}`; export r; \
9863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9864 $(HOST_EXPORTS) \
9865 echo Configuring in $(HOST_SUBDIR)/flex; \
9866 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9867 case $(srcdir) in \
9868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9869 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9871 esac; \
9872 srcdiroption="--srcdir=$${topdir}/flex"; \
9873 libsrcdir="$$s/flex"; \
9874 $(SHELL) $${libsrcdir}/configure \
9875 $(HOST_CONFIGARGS) $${srcdiroption} \
9876 || exit 1
9877 @endif flex
9883 .PHONY: all-flex maybe-all-flex
9884 maybe-all-flex:
9885 @if flex
9886 TARGET-flex=all
9887 maybe-all-flex: all-flex
9888 all-flex: configure-flex
9889 @: $(MAKE); $(unstage)
9890 @r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892 $(HOST_EXPORTS) \
9893 (cd $(HOST_SUBDIR)/flex && \
9894 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9895 @endif flex
9900 .PHONY: check-flex maybe-check-flex
9901 maybe-check-flex:
9902 @if flex
9903 maybe-check-flex: check-flex
9905 # This module is only tested in a native toolchain.
9906 check-flex:
9907 @: $(MAKE); $(unstage)
9908 @if [ '$(host)' = '$(target)' ] ; then \
9909 r=`${PWD_COMMAND}`; export r; \
9910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9911 $(HOST_EXPORTS) \
9912 (cd $(HOST_SUBDIR)/flex && \
9913 $(MAKE) $(FLAGS_TO_PASS) check); \
9916 @endif flex
9918 .PHONY: install-flex maybe-install-flex
9919 maybe-install-flex:
9920 @if flex
9921 maybe-install-flex: install-flex
9923 install-flex: installdirs
9924 @: $(MAKE); $(unstage)
9925 @r=`${PWD_COMMAND}`; export r; \
9926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9927 $(HOST_EXPORTS) \
9928 (cd $(HOST_SUBDIR)/flex && \
9929 $(MAKE) $(FLAGS_TO_PASS) install)
9931 @endif flex
9933 # Other targets (info, dvi, etc.)
9935 .PHONY: maybe-info-flex info-flex
9936 maybe-info-flex:
9937 @if flex
9938 maybe-info-flex: info-flex
9940 info-flex: \
9941 configure-flex
9942 @: $(MAKE); $(unstage)
9943 @[ -f ./flex/Makefile ] || exit 0; \
9944 r=`${PWD_COMMAND}`; export r; \
9945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9946 $(HOST_EXPORTS) \
9947 for flag in $(EXTRA_HOST_FLAGS) ; do \
9948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9949 done; \
9950 echo "Doing info in flex" ; \
9951 (cd $(HOST_SUBDIR)/flex && \
9952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9954 "RANLIB=$${RANLIB}" \
9955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9956 info) \
9957 || exit 1
9959 @endif flex
9961 .PHONY: maybe-dvi-flex dvi-flex
9962 maybe-dvi-flex:
9963 @if flex
9964 maybe-dvi-flex: dvi-flex
9966 dvi-flex: \
9967 configure-flex
9968 @: $(MAKE); $(unstage)
9969 @[ -f ./flex/Makefile ] || exit 0; \
9970 r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972 $(HOST_EXPORTS) \
9973 for flag in $(EXTRA_HOST_FLAGS) ; do \
9974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9975 done; \
9976 echo "Doing dvi in flex" ; \
9977 (cd $(HOST_SUBDIR)/flex && \
9978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9980 "RANLIB=$${RANLIB}" \
9981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9982 dvi) \
9983 || exit 1
9985 @endif flex
9987 .PHONY: maybe-html-flex html-flex
9988 maybe-html-flex:
9989 @if flex
9990 maybe-html-flex: html-flex
9992 html-flex: \
9993 configure-flex
9994 @: $(MAKE); $(unstage)
9995 @[ -f ./flex/Makefile ] || exit 0; \
9996 r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 $(HOST_EXPORTS) \
9999 for flag in $(EXTRA_HOST_FLAGS) ; do \
10000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10001 done; \
10002 echo "Doing html in flex" ; \
10003 (cd $(HOST_SUBDIR)/flex && \
10004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10006 "RANLIB=$${RANLIB}" \
10007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10008 html) \
10009 || exit 1
10011 @endif flex
10013 .PHONY: maybe-TAGS-flex TAGS-flex
10014 maybe-TAGS-flex:
10015 @if flex
10016 maybe-TAGS-flex: TAGS-flex
10018 TAGS-flex: \
10019 configure-flex
10020 @: $(MAKE); $(unstage)
10021 @[ -f ./flex/Makefile ] || exit 0; \
10022 r=`${PWD_COMMAND}`; export r; \
10023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10024 $(HOST_EXPORTS) \
10025 for flag in $(EXTRA_HOST_FLAGS) ; do \
10026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 done; \
10028 echo "Doing TAGS in flex" ; \
10029 (cd $(HOST_SUBDIR)/flex && \
10030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10032 "RANLIB=$${RANLIB}" \
10033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10034 TAGS) \
10035 || exit 1
10037 @endif flex
10039 .PHONY: maybe-install-info-flex install-info-flex
10040 maybe-install-info-flex:
10041 @if flex
10042 maybe-install-info-flex: install-info-flex
10044 install-info-flex: \
10045 configure-flex \
10046 info-flex
10047 @: $(MAKE); $(unstage)
10048 @[ -f ./flex/Makefile ] || exit 0; \
10049 r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS) ; do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing install-info in flex" ; \
10056 (cd $(HOST_SUBDIR)/flex && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10061 install-info) \
10062 || exit 1
10064 @endif flex
10066 .PHONY: maybe-installcheck-flex installcheck-flex
10067 maybe-installcheck-flex:
10068 @if flex
10069 maybe-installcheck-flex: installcheck-flex
10071 installcheck-flex: \
10072 configure-flex
10073 @: $(MAKE); $(unstage)
10074 @[ -f ./flex/Makefile ] || exit 0; \
10075 r=`${PWD_COMMAND}`; export r; \
10076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 $(HOST_EXPORTS) \
10078 for flag in $(EXTRA_HOST_FLAGS) ; do \
10079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10080 done; \
10081 echo "Doing installcheck in flex" ; \
10082 (cd $(HOST_SUBDIR)/flex && \
10083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10085 "RANLIB=$${RANLIB}" \
10086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10087 installcheck) \
10088 || exit 1
10090 @endif flex
10092 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10093 maybe-mostlyclean-flex:
10094 @if flex
10095 maybe-mostlyclean-flex: mostlyclean-flex
10097 mostlyclean-flex:
10098 @: $(MAKE); $(unstage)
10099 @[ -f ./flex/Makefile ] || exit 0; \
10100 r=`${PWD_COMMAND}`; export r; \
10101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10102 $(HOST_EXPORTS) \
10103 for flag in $(EXTRA_HOST_FLAGS) ; do \
10104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10105 done; \
10106 echo "Doing mostlyclean in flex" ; \
10107 (cd $(HOST_SUBDIR)/flex && \
10108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10110 "RANLIB=$${RANLIB}" \
10111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10112 mostlyclean) \
10113 || exit 1
10115 @endif flex
10117 .PHONY: maybe-clean-flex clean-flex
10118 maybe-clean-flex:
10119 @if flex
10120 maybe-clean-flex: clean-flex
10122 clean-flex:
10123 @: $(MAKE); $(unstage)
10124 @[ -f ./flex/Makefile ] || exit 0; \
10125 r=`${PWD_COMMAND}`; export r; \
10126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10127 $(HOST_EXPORTS) \
10128 for flag in $(EXTRA_HOST_FLAGS) ; do \
10129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10130 done; \
10131 echo "Doing clean in flex" ; \
10132 (cd $(HOST_SUBDIR)/flex && \
10133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10135 "RANLIB=$${RANLIB}" \
10136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10137 clean) \
10138 || exit 1
10140 @endif flex
10142 .PHONY: maybe-distclean-flex distclean-flex
10143 maybe-distclean-flex:
10144 @if flex
10145 maybe-distclean-flex: distclean-flex
10147 distclean-flex:
10148 @: $(MAKE); $(unstage)
10149 @[ -f ./flex/Makefile ] || exit 0; \
10150 r=`${PWD_COMMAND}`; export r; \
10151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10152 $(HOST_EXPORTS) \
10153 for flag in $(EXTRA_HOST_FLAGS) ; do \
10154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10155 done; \
10156 echo "Doing distclean in flex" ; \
10157 (cd $(HOST_SUBDIR)/flex && \
10158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10160 "RANLIB=$${RANLIB}" \
10161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10162 distclean) \
10163 || exit 1
10165 @endif flex
10167 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10168 maybe-maintainer-clean-flex:
10169 @if flex
10170 maybe-maintainer-clean-flex: maintainer-clean-flex
10172 maintainer-clean-flex:
10173 @: $(MAKE); $(unstage)
10174 @[ -f ./flex/Makefile ] || exit 0; \
10175 r=`${PWD_COMMAND}`; export r; \
10176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10177 $(HOST_EXPORTS) \
10178 for flag in $(EXTRA_HOST_FLAGS) ; do \
10179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10180 done; \
10181 echo "Doing maintainer-clean in flex" ; \
10182 (cd $(HOST_SUBDIR)/flex && \
10183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10185 "RANLIB=$${RANLIB}" \
10186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10187 maintainer-clean) \
10188 || exit 1
10190 @endif flex
10194 .PHONY: configure-gas maybe-configure-gas
10195 maybe-configure-gas:
10196 @if gas
10197 maybe-configure-gas: configure-gas
10198 configure-gas:
10199 @test -f stage_last && exit 0; \
10200 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10202 r=`${PWD_COMMAND}`; export r; \
10203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10204 $(HOST_EXPORTS) \
10205 echo Configuring in $(HOST_SUBDIR)/gas; \
10206 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10207 case $(srcdir) in \
10208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10209 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10211 esac; \
10212 srcdiroption="--srcdir=$${topdir}/gas"; \
10213 libsrcdir="$$s/gas"; \
10214 $(SHELL) $${libsrcdir}/configure \
10215 $(HOST_CONFIGARGS) $${srcdiroption} \
10216 || exit 1
10217 @endif gas
10221 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10222 maybe-configure-stage1-gas:
10223 @if gas-bootstrap
10224 maybe-configure-stage1-gas: configure-stage1-gas
10225 configure-stage1-gas:
10226 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10227 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10228 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10229 $(HOST_EXPORTS) \
10230 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10232 cd $(HOST_SUBDIR)/gas || exit 1; \
10233 case $(srcdir) in \
10234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10235 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10237 esac; \
10238 srcdiroption="--srcdir=$${topdir}/gas"; \
10239 libsrcdir="$$s/gas"; \
10240 $(SHELL) $${libsrcdir}/configure \
10241 $(HOST_CONFIGARGS) $${srcdiroption} \
10242 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10243 @endif gas-bootstrap
10245 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10246 maybe-configure-stage2-gas:
10247 @if gas-bootstrap
10248 maybe-configure-stage2-gas: configure-stage2-gas
10249 configure-stage2-gas:
10250 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10251 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10252 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10253 $(HOST_EXPORTS) \
10254 $(POSTSTAGE1_HOST_EXPORTS) \
10255 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10257 cd $(HOST_SUBDIR)/gas || exit 1; \
10258 case $(srcdir) in \
10259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10260 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10262 esac; \
10263 srcdiroption="--srcdir=$${topdir}/gas"; \
10264 libsrcdir="$$s/gas"; \
10265 $(SHELL) $${libsrcdir}/configure \
10266 $(HOST_CONFIGARGS) $${srcdiroption} \
10267 @stage2_werror_flag@
10268 @endif gas-bootstrap
10270 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10271 maybe-configure-stage3-gas:
10272 @if gas-bootstrap
10273 maybe-configure-stage3-gas: configure-stage3-gas
10274 configure-stage3-gas:
10275 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10277 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10278 $(HOST_EXPORTS) \
10279 $(POSTSTAGE1_HOST_EXPORTS) \
10280 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10282 cd $(HOST_SUBDIR)/gas || exit 1; \
10283 case $(srcdir) in \
10284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10285 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10287 esac; \
10288 srcdiroption="--srcdir=$${topdir}/gas"; \
10289 libsrcdir="$$s/gas"; \
10290 $(SHELL) $${libsrcdir}/configure \
10291 $(HOST_CONFIGARGS) $${srcdiroption} \
10292 @stage2_werror_flag@
10293 @endif gas-bootstrap
10295 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10296 maybe-configure-stage4-gas:
10297 @if gas-bootstrap
10298 maybe-configure-stage4-gas: configure-stage4-gas
10299 configure-stage4-gas:
10300 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10301 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10302 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10303 $(HOST_EXPORTS) \
10304 $(POSTSTAGE1_HOST_EXPORTS) \
10305 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10307 cd $(HOST_SUBDIR)/gas || exit 1; \
10308 case $(srcdir) in \
10309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10310 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10312 esac; \
10313 srcdiroption="--srcdir=$${topdir}/gas"; \
10314 libsrcdir="$$s/gas"; \
10315 $(SHELL) $${libsrcdir}/configure \
10316 $(HOST_CONFIGARGS) $${srcdiroption} \
10317 @stage2_werror_flag@
10318 @endif gas-bootstrap
10320 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10321 maybe-configure-stageprofile-gas:
10322 @if gas-bootstrap
10323 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10324 configure-stageprofile-gas:
10325 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10326 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10327 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10328 $(HOST_EXPORTS) \
10329 $(POSTSTAGE1_HOST_EXPORTS) \
10330 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10331 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10332 cd $(HOST_SUBDIR)/gas || exit 1; \
10333 case $(srcdir) in \
10334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10335 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10337 esac; \
10338 srcdiroption="--srcdir=$${topdir}/gas"; \
10339 libsrcdir="$$s/gas"; \
10340 $(SHELL) $${libsrcdir}/configure \
10341 $(HOST_CONFIGARGS) $${srcdiroption} \
10342 @stage2_werror_flag@
10343 @endif gas-bootstrap
10345 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10346 maybe-configure-stagefeedback-gas:
10347 @if gas-bootstrap
10348 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10349 configure-stagefeedback-gas:
10350 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10352 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10353 $(HOST_EXPORTS) \
10354 $(POSTSTAGE1_HOST_EXPORTS) \
10355 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10356 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10357 cd $(HOST_SUBDIR)/gas || exit 1; \
10358 case $(srcdir) in \
10359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10360 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10362 esac; \
10363 srcdiroption="--srcdir=$${topdir}/gas"; \
10364 libsrcdir="$$s/gas"; \
10365 $(SHELL) $${libsrcdir}/configure \
10366 $(HOST_CONFIGARGS) $${srcdiroption} \
10367 @stage2_werror_flag@
10368 @endif gas-bootstrap
10374 .PHONY: all-gas maybe-all-gas
10375 maybe-all-gas:
10376 @if gas
10377 TARGET-gas=all
10378 maybe-all-gas: all-gas
10379 all-gas: configure-gas
10380 @test -f stage_last && exit 0; \
10381 r=`${PWD_COMMAND}`; export r; \
10382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10383 $(HOST_EXPORTS) \
10384 (cd $(HOST_SUBDIR)/gas && \
10385 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10386 @endif gas
10390 .PHONY: all-stage1-gas maybe-all-stage1-gas
10391 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10392 maybe-all-stage1-gas:
10393 maybe-clean-stage1-gas:
10394 @if gas-bootstrap
10395 maybe-all-stage1-gas: all-stage1-gas
10396 all-stage1: all-stage1-gas
10397 TARGET-stage1-gas = $(TARGET-gas)
10398 all-stage1-gas: configure-stage1-gas
10399 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10400 @r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 $(HOST_EXPORTS) \
10403 cd $(HOST_SUBDIR)/gas && \
10404 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10405 $(TARGET-stage1-gas)
10407 maybe-clean-stage1-gas: clean-stage1-gas
10408 clean-stage1: clean-stage1-gas
10409 clean-stage1-gas:
10410 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10411 || exit 0 ; \
10412 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10413 cd $(HOST_SUBDIR)/gas && \
10414 $(MAKE) $(FLAGS_TO_PASS) \
10415 CFLAGS="$(STAGE1_CFLAGS)" clean
10416 @endif gas-bootstrap
10419 .PHONY: all-stage2-gas maybe-all-stage2-gas
10420 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10421 maybe-all-stage2-gas:
10422 maybe-clean-stage2-gas:
10423 @if gas-bootstrap
10424 maybe-all-stage2-gas: all-stage2-gas
10425 all-stage2: all-stage2-gas
10426 TARGET-stage2-gas = $(TARGET-gas)
10427 all-stage2-gas: configure-stage2-gas
10428 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10429 @r=`${PWD_COMMAND}`; export r; \
10430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10431 $(HOST_EXPORTS) \
10432 $(POSTSTAGE1_HOST_EXPORTS) \
10433 cd $(HOST_SUBDIR)/gas && \
10434 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10435 $(TARGET-stage2-gas)
10437 maybe-clean-stage2-gas: clean-stage2-gas
10438 clean-stage2: clean-stage2-gas
10439 clean-stage2-gas:
10440 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10441 || exit 0 ; \
10442 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10443 cd $(HOST_SUBDIR)/gas && \
10444 $(MAKE) $(FLAGS_TO_PASS) \
10445 $(POSTSTAGE1_FLAGS_TO_PASS) \
10446 clean
10447 @endif gas-bootstrap
10450 .PHONY: all-stage3-gas maybe-all-stage3-gas
10451 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10452 maybe-all-stage3-gas:
10453 maybe-clean-stage3-gas:
10454 @if gas-bootstrap
10455 maybe-all-stage3-gas: all-stage3-gas
10456 all-stage3: all-stage3-gas
10457 TARGET-stage3-gas = $(TARGET-gas)
10458 all-stage3-gas: configure-stage3-gas
10459 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10460 @r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(HOST_EXPORTS) \
10463 $(POSTSTAGE1_HOST_EXPORTS) \
10464 cd $(HOST_SUBDIR)/gas && \
10465 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10466 $(TARGET-stage3-gas)
10468 maybe-clean-stage3-gas: clean-stage3-gas
10469 clean-stage3: clean-stage3-gas
10470 clean-stage3-gas:
10471 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10472 || exit 0 ; \
10473 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10474 cd $(HOST_SUBDIR)/gas && \
10475 $(MAKE) $(FLAGS_TO_PASS) \
10476 $(POSTSTAGE1_FLAGS_TO_PASS) \
10477 clean
10478 @endif gas-bootstrap
10481 .PHONY: all-stage4-gas maybe-all-stage4-gas
10482 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10483 maybe-all-stage4-gas:
10484 maybe-clean-stage4-gas:
10485 @if gas-bootstrap
10486 maybe-all-stage4-gas: all-stage4-gas
10487 all-stage4: all-stage4-gas
10488 TARGET-stage4-gas = $(TARGET-gas)
10489 all-stage4-gas: configure-stage4-gas
10490 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10491 @r=`${PWD_COMMAND}`; export r; \
10492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10493 $(HOST_EXPORTS) \
10494 $(POSTSTAGE1_HOST_EXPORTS) \
10495 cd $(HOST_SUBDIR)/gas && \
10496 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10497 $(TARGET-stage4-gas)
10499 maybe-clean-stage4-gas: clean-stage4-gas
10500 clean-stage4: clean-stage4-gas
10501 clean-stage4-gas:
10502 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10503 || exit 0 ; \
10504 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10505 cd $(HOST_SUBDIR)/gas && \
10506 $(MAKE) $(FLAGS_TO_PASS) \
10507 $(POSTSTAGE1_FLAGS_TO_PASS) \
10508 clean
10509 @endif gas-bootstrap
10512 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10513 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10514 maybe-all-stageprofile-gas:
10515 maybe-clean-stageprofile-gas:
10516 @if gas-bootstrap
10517 maybe-all-stageprofile-gas: all-stageprofile-gas
10518 all-stageprofile: all-stageprofile-gas
10519 TARGET-stageprofile-gas = $(TARGET-gas)
10520 all-stageprofile-gas: configure-stageprofile-gas
10521 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10522 @r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 $(HOST_EXPORTS) \
10525 $(POSTSTAGE1_HOST_EXPORTS) \
10526 cd $(HOST_SUBDIR)/gas && \
10527 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10528 $(TARGET-stageprofile-gas)
10530 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10531 clean-stageprofile: clean-stageprofile-gas
10532 clean-stageprofile-gas:
10533 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10534 || exit 0 ; \
10535 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10536 cd $(HOST_SUBDIR)/gas && \
10537 $(MAKE) $(FLAGS_TO_PASS) \
10538 $(POSTSTAGE1_FLAGS_TO_PASS) \
10539 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10540 @endif gas-bootstrap
10543 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10544 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10545 maybe-all-stagefeedback-gas:
10546 maybe-clean-stagefeedback-gas:
10547 @if gas-bootstrap
10548 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10549 all-stagefeedback: all-stagefeedback-gas
10550 TARGET-stagefeedback-gas = $(TARGET-gas)
10551 all-stagefeedback-gas: configure-stagefeedback-gas
10552 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10553 @r=`${PWD_COMMAND}`; export r; \
10554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10555 $(HOST_EXPORTS) \
10556 $(POSTSTAGE1_HOST_EXPORTS) \
10557 cd $(HOST_SUBDIR)/gas && \
10558 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10559 $(TARGET-stagefeedback-gas)
10561 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10562 clean-stagefeedback: clean-stagefeedback-gas
10563 clean-stagefeedback-gas:
10564 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10565 || exit 0 ; \
10566 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10567 cd $(HOST_SUBDIR)/gas && \
10568 $(MAKE) $(FLAGS_TO_PASS) \
10569 $(POSTSTAGE1_FLAGS_TO_PASS) \
10570 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10571 @endif gas-bootstrap
10577 .PHONY: check-gas maybe-check-gas
10578 maybe-check-gas:
10579 @if gas
10580 maybe-check-gas: check-gas
10582 check-gas:
10583 @: $(MAKE); $(unstage)
10584 @r=`${PWD_COMMAND}`; export r; \
10585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586 $(HOST_EXPORTS) \
10587 (cd $(HOST_SUBDIR)/gas && \
10588 $(MAKE) $(FLAGS_TO_PASS) check)
10590 @endif gas
10592 .PHONY: install-gas maybe-install-gas
10593 maybe-install-gas:
10594 @if gas
10595 maybe-install-gas: install-gas
10597 install-gas: installdirs
10598 @: $(MAKE); $(unstage)
10599 @r=`${PWD_COMMAND}`; export r; \
10600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10601 $(HOST_EXPORTS) \
10602 (cd $(HOST_SUBDIR)/gas && \
10603 $(MAKE) $(FLAGS_TO_PASS) install)
10605 @endif gas
10607 # Other targets (info, dvi, etc.)
10609 .PHONY: maybe-info-gas info-gas
10610 maybe-info-gas:
10611 @if gas
10612 maybe-info-gas: info-gas
10614 info-gas: \
10615 configure-gas
10616 @[ -f ./gas/Makefile ] || exit 0; \
10617 r=`${PWD_COMMAND}`; export r; \
10618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10619 $(HOST_EXPORTS) \
10620 for flag in $(EXTRA_HOST_FLAGS) ; do \
10621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10622 done; \
10623 echo "Doing info in gas" ; \
10624 (cd $(HOST_SUBDIR)/gas && \
10625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10627 "RANLIB=$${RANLIB}" \
10628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10629 info) \
10630 || exit 1
10632 @endif gas
10634 .PHONY: maybe-dvi-gas dvi-gas
10635 maybe-dvi-gas:
10636 @if gas
10637 maybe-dvi-gas: dvi-gas
10639 dvi-gas: \
10640 configure-gas
10641 @[ -f ./gas/Makefile ] || exit 0; \
10642 r=`${PWD_COMMAND}`; export r; \
10643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10644 $(HOST_EXPORTS) \
10645 for flag in $(EXTRA_HOST_FLAGS) ; do \
10646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10647 done; \
10648 echo "Doing dvi in gas" ; \
10649 (cd $(HOST_SUBDIR)/gas && \
10650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10652 "RANLIB=$${RANLIB}" \
10653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10654 dvi) \
10655 || exit 1
10657 @endif gas
10659 .PHONY: maybe-html-gas html-gas
10660 maybe-html-gas:
10661 @if gas
10662 maybe-html-gas: html-gas
10664 html-gas: \
10665 configure-gas
10666 @[ -f ./gas/Makefile ] || exit 0; \
10667 r=`${PWD_COMMAND}`; export r; \
10668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10669 $(HOST_EXPORTS) \
10670 for flag in $(EXTRA_HOST_FLAGS) ; do \
10671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10672 done; \
10673 echo "Doing html in gas" ; \
10674 (cd $(HOST_SUBDIR)/gas && \
10675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10677 "RANLIB=$${RANLIB}" \
10678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10679 html) \
10680 || exit 1
10682 @endif gas
10684 .PHONY: maybe-TAGS-gas TAGS-gas
10685 maybe-TAGS-gas:
10686 @if gas
10687 maybe-TAGS-gas: TAGS-gas
10689 TAGS-gas: \
10690 configure-gas
10691 @[ -f ./gas/Makefile ] || exit 0; \
10692 r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694 $(HOST_EXPORTS) \
10695 for flag in $(EXTRA_HOST_FLAGS) ; do \
10696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10697 done; \
10698 echo "Doing TAGS in gas" ; \
10699 (cd $(HOST_SUBDIR)/gas && \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10702 "RANLIB=$${RANLIB}" \
10703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10704 TAGS) \
10705 || exit 1
10707 @endif gas
10709 .PHONY: maybe-install-info-gas install-info-gas
10710 maybe-install-info-gas:
10711 @if gas
10712 maybe-install-info-gas: install-info-gas
10714 install-info-gas: \
10715 configure-gas \
10716 info-gas
10717 @[ -f ./gas/Makefile ] || exit 0; \
10718 r=`${PWD_COMMAND}`; export r; \
10719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10720 $(HOST_EXPORTS) \
10721 for flag in $(EXTRA_HOST_FLAGS) ; do \
10722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10723 done; \
10724 echo "Doing install-info in gas" ; \
10725 (cd $(HOST_SUBDIR)/gas && \
10726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10728 "RANLIB=$${RANLIB}" \
10729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10730 install-info) \
10731 || exit 1
10733 @endif gas
10735 .PHONY: maybe-installcheck-gas installcheck-gas
10736 maybe-installcheck-gas:
10737 @if gas
10738 maybe-installcheck-gas: installcheck-gas
10740 installcheck-gas: \
10741 configure-gas
10742 @[ -f ./gas/Makefile ] || exit 0; \
10743 r=`${PWD_COMMAND}`; export r; \
10744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10745 $(HOST_EXPORTS) \
10746 for flag in $(EXTRA_HOST_FLAGS) ; do \
10747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10748 done; \
10749 echo "Doing installcheck in gas" ; \
10750 (cd $(HOST_SUBDIR)/gas && \
10751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10753 "RANLIB=$${RANLIB}" \
10754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10755 installcheck) \
10756 || exit 1
10758 @endif gas
10760 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10761 maybe-mostlyclean-gas:
10762 @if gas
10763 maybe-mostlyclean-gas: mostlyclean-gas
10765 mostlyclean-gas:
10766 @[ -f ./gas/Makefile ] || exit 0; \
10767 r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(HOST_EXPORTS) \
10770 for flag in $(EXTRA_HOST_FLAGS) ; do \
10771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10772 done; \
10773 echo "Doing mostlyclean in gas" ; \
10774 (cd $(HOST_SUBDIR)/gas && \
10775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10777 "RANLIB=$${RANLIB}" \
10778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10779 mostlyclean) \
10780 || exit 1
10782 @endif gas
10784 .PHONY: maybe-clean-gas clean-gas
10785 maybe-clean-gas:
10786 @if gas
10787 maybe-clean-gas: clean-gas
10789 clean-gas:
10790 @[ -f ./gas/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(HOST_EXPORTS) \
10794 for flag in $(EXTRA_HOST_FLAGS) ; do \
10795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10796 done; \
10797 echo "Doing clean in gas" ; \
10798 (cd $(HOST_SUBDIR)/gas && \
10799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10801 "RANLIB=$${RANLIB}" \
10802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10803 clean) \
10804 || exit 1
10806 @endif gas
10808 .PHONY: maybe-distclean-gas distclean-gas
10809 maybe-distclean-gas:
10810 @if gas
10811 maybe-distclean-gas: distclean-gas
10813 distclean-gas:
10814 @[ -f ./gas/Makefile ] || exit 0; \
10815 r=`${PWD_COMMAND}`; export r; \
10816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10817 $(HOST_EXPORTS) \
10818 for flag in $(EXTRA_HOST_FLAGS) ; do \
10819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10820 done; \
10821 echo "Doing distclean in gas" ; \
10822 (cd $(HOST_SUBDIR)/gas && \
10823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10825 "RANLIB=$${RANLIB}" \
10826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10827 distclean) \
10828 || exit 1
10830 @endif gas
10832 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10833 maybe-maintainer-clean-gas:
10834 @if gas
10835 maybe-maintainer-clean-gas: maintainer-clean-gas
10837 maintainer-clean-gas:
10838 @[ -f ./gas/Makefile ] || exit 0; \
10839 r=`${PWD_COMMAND}`; export r; \
10840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10841 $(HOST_EXPORTS) \
10842 for flag in $(EXTRA_HOST_FLAGS) ; do \
10843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10844 done; \
10845 echo "Doing maintainer-clean in gas" ; \
10846 (cd $(HOST_SUBDIR)/gas && \
10847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10849 "RANLIB=$${RANLIB}" \
10850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10851 maintainer-clean) \
10852 || exit 1
10854 @endif gas
10858 .PHONY: configure-gcc maybe-configure-gcc
10859 maybe-configure-gcc:
10860 @if gcc
10861 maybe-configure-gcc: configure-gcc
10862 configure-gcc:
10863 @test -f stage_last && exit 0; \
10864 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10866 r=`${PWD_COMMAND}`; export r; \
10867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10868 $(HOST_EXPORTS) \
10869 echo Configuring in $(HOST_SUBDIR)/gcc; \
10870 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10871 case $(srcdir) in \
10872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10873 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10875 esac; \
10876 srcdiroption="--srcdir=$${topdir}/gcc"; \
10877 libsrcdir="$$s/gcc"; \
10878 $(SHELL) $${libsrcdir}/configure \
10879 $(HOST_CONFIGARGS) $${srcdiroption} \
10880 || exit 1
10881 @endif gcc
10885 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10886 maybe-configure-stage1-gcc:
10887 @if gcc-bootstrap
10888 maybe-configure-stage1-gcc: configure-stage1-gcc
10889 configure-stage1-gcc:
10890 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10892 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10893 $(HOST_EXPORTS) \
10894 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10896 cd $(HOST_SUBDIR)/gcc || exit 1; \
10897 case $(srcdir) in \
10898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10899 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10901 esac; \
10902 srcdiroption="--srcdir=$${topdir}/gcc"; \
10903 libsrcdir="$$s/gcc"; \
10904 $(SHELL) $${libsrcdir}/configure \
10905 $(HOST_CONFIGARGS) $${srcdiroption} \
10906 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10907 @endif gcc-bootstrap
10909 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10910 maybe-configure-stage2-gcc:
10911 @if gcc-bootstrap
10912 maybe-configure-stage2-gcc: configure-stage2-gcc
10913 configure-stage2-gcc:
10914 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10916 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10917 $(HOST_EXPORTS) \
10918 $(POSTSTAGE1_HOST_EXPORTS) \
10919 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10921 cd $(HOST_SUBDIR)/gcc || exit 1; \
10922 case $(srcdir) in \
10923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10924 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10926 esac; \
10927 srcdiroption="--srcdir=$${topdir}/gcc"; \
10928 libsrcdir="$$s/gcc"; \
10929 $(SHELL) $${libsrcdir}/configure \
10930 $(HOST_CONFIGARGS) $${srcdiroption} \
10931 @stage2_werror_flag@
10932 @endif gcc-bootstrap
10934 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10935 maybe-configure-stage3-gcc:
10936 @if gcc-bootstrap
10937 maybe-configure-stage3-gcc: configure-stage3-gcc
10938 configure-stage3-gcc:
10939 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10941 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10942 $(HOST_EXPORTS) \
10943 $(POSTSTAGE1_HOST_EXPORTS) \
10944 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10946 cd $(HOST_SUBDIR)/gcc || exit 1; \
10947 case $(srcdir) in \
10948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10949 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10951 esac; \
10952 srcdiroption="--srcdir=$${topdir}/gcc"; \
10953 libsrcdir="$$s/gcc"; \
10954 $(SHELL) $${libsrcdir}/configure \
10955 $(HOST_CONFIGARGS) $${srcdiroption} \
10956 @stage2_werror_flag@
10957 @endif gcc-bootstrap
10959 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10960 maybe-configure-stage4-gcc:
10961 @if gcc-bootstrap
10962 maybe-configure-stage4-gcc: configure-stage4-gcc
10963 configure-stage4-gcc:
10964 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10966 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10967 $(HOST_EXPORTS) \
10968 $(POSTSTAGE1_HOST_EXPORTS) \
10969 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10971 cd $(HOST_SUBDIR)/gcc || exit 1; \
10972 case $(srcdir) in \
10973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10974 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10976 esac; \
10977 srcdiroption="--srcdir=$${topdir}/gcc"; \
10978 libsrcdir="$$s/gcc"; \
10979 $(SHELL) $${libsrcdir}/configure \
10980 $(HOST_CONFIGARGS) $${srcdiroption} \
10981 @stage2_werror_flag@
10982 @endif gcc-bootstrap
10984 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10985 maybe-configure-stageprofile-gcc:
10986 @if gcc-bootstrap
10987 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10988 configure-stageprofile-gcc:
10989 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10991 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10992 $(HOST_EXPORTS) \
10993 $(POSTSTAGE1_HOST_EXPORTS) \
10994 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10996 cd $(HOST_SUBDIR)/gcc || exit 1; \
10997 case $(srcdir) in \
10998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10999 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11001 esac; \
11002 srcdiroption="--srcdir=$${topdir}/gcc"; \
11003 libsrcdir="$$s/gcc"; \
11004 $(SHELL) $${libsrcdir}/configure \
11005 $(HOST_CONFIGARGS) $${srcdiroption} \
11006 @stage2_werror_flag@
11007 @endif gcc-bootstrap
11009 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11010 maybe-configure-stagefeedback-gcc:
11011 @if gcc-bootstrap
11012 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11013 configure-stagefeedback-gcc:
11014 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11016 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11017 $(HOST_EXPORTS) \
11018 $(POSTSTAGE1_HOST_EXPORTS) \
11019 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11021 cd $(HOST_SUBDIR)/gcc || exit 1; \
11022 case $(srcdir) in \
11023 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11024 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11025 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11026 esac; \
11027 srcdiroption="--srcdir=$${topdir}/gcc"; \
11028 libsrcdir="$$s/gcc"; \
11029 $(SHELL) $${libsrcdir}/configure \
11030 $(HOST_CONFIGARGS) $${srcdiroption} \
11031 @stage2_werror_flag@
11032 @endif gcc-bootstrap
11038 .PHONY: all-gcc maybe-all-gcc
11039 maybe-all-gcc:
11040 @if gcc
11041 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11042 maybe-all-gcc: all-gcc
11043 all-gcc: configure-gcc
11044 @test -f stage_last && exit 0; \
11045 r=`${PWD_COMMAND}`; export r; \
11046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11047 $(HOST_EXPORTS) \
11048 (cd $(HOST_SUBDIR)/gcc && \
11049 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11050 @endif gcc
11054 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11055 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11056 maybe-all-stage1-gcc:
11057 maybe-clean-stage1-gcc:
11058 @if gcc-bootstrap
11059 maybe-all-stage1-gcc: all-stage1-gcc
11060 all-stage1: all-stage1-gcc
11061 TARGET-stage1-gcc = $(TARGET-gcc)
11062 all-stage1-gcc: configure-stage1-gcc
11063 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11064 @r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 $(HOST_EXPORTS) \
11067 cd $(HOST_SUBDIR)/gcc && \
11068 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11069 $(TARGET-stage1-gcc)
11071 maybe-clean-stage1-gcc: clean-stage1-gcc
11072 clean-stage1: clean-stage1-gcc
11073 clean-stage1-gcc:
11074 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11075 || exit 0 ; \
11076 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11077 cd $(HOST_SUBDIR)/gcc && \
11078 $(MAKE) $(FLAGS_TO_PASS) \
11079 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11080 @endif gcc-bootstrap
11083 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11084 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11085 maybe-all-stage2-gcc:
11086 maybe-clean-stage2-gcc:
11087 @if gcc-bootstrap
11088 maybe-all-stage2-gcc: all-stage2-gcc
11089 all-stage2: all-stage2-gcc
11090 TARGET-stage2-gcc = $(TARGET-gcc)
11091 all-stage2-gcc: configure-stage2-gcc
11092 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11093 @r=`${PWD_COMMAND}`; export r; \
11094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11095 $(HOST_EXPORTS) \
11096 $(POSTSTAGE1_HOST_EXPORTS) \
11097 cd $(HOST_SUBDIR)/gcc && \
11098 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11099 $(TARGET-stage2-gcc)
11101 maybe-clean-stage2-gcc: clean-stage2-gcc
11102 clean-stage2: clean-stage2-gcc
11103 clean-stage2-gcc:
11104 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11105 || exit 0 ; \
11106 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11107 cd $(HOST_SUBDIR)/gcc && \
11108 $(MAKE) $(FLAGS_TO_PASS) \
11109 $(POSTSTAGE1_FLAGS_TO_PASS) \
11110 $(EXTRA_GCC_FLAGS) clean
11111 @endif gcc-bootstrap
11114 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11115 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11116 maybe-all-stage3-gcc:
11117 maybe-clean-stage3-gcc:
11118 @if gcc-bootstrap
11119 maybe-all-stage3-gcc: all-stage3-gcc
11120 all-stage3: all-stage3-gcc
11121 TARGET-stage3-gcc = $(TARGET-gcc)
11122 all-stage3-gcc: configure-stage3-gcc
11123 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11124 @r=`${PWD_COMMAND}`; export r; \
11125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11126 $(HOST_EXPORTS) \
11127 $(POSTSTAGE1_HOST_EXPORTS) \
11128 cd $(HOST_SUBDIR)/gcc && \
11129 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11130 $(TARGET-stage3-gcc)
11132 maybe-clean-stage3-gcc: clean-stage3-gcc
11133 clean-stage3: clean-stage3-gcc
11134 clean-stage3-gcc:
11135 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11136 || exit 0 ; \
11137 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11138 cd $(HOST_SUBDIR)/gcc && \
11139 $(MAKE) $(FLAGS_TO_PASS) \
11140 $(POSTSTAGE1_FLAGS_TO_PASS) \
11141 $(EXTRA_GCC_FLAGS) clean
11142 @endif gcc-bootstrap
11145 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11146 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11147 maybe-all-stage4-gcc:
11148 maybe-clean-stage4-gcc:
11149 @if gcc-bootstrap
11150 maybe-all-stage4-gcc: all-stage4-gcc
11151 all-stage4: all-stage4-gcc
11152 TARGET-stage4-gcc = $(TARGET-gcc)
11153 all-stage4-gcc: configure-stage4-gcc
11154 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11155 @r=`${PWD_COMMAND}`; export r; \
11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 $(HOST_EXPORTS) \
11158 $(POSTSTAGE1_HOST_EXPORTS) \
11159 cd $(HOST_SUBDIR)/gcc && \
11160 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11161 $(TARGET-stage4-gcc)
11163 maybe-clean-stage4-gcc: clean-stage4-gcc
11164 clean-stage4: clean-stage4-gcc
11165 clean-stage4-gcc:
11166 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11167 || exit 0 ; \
11168 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11169 cd $(HOST_SUBDIR)/gcc && \
11170 $(MAKE) $(FLAGS_TO_PASS) \
11171 $(POSTSTAGE1_FLAGS_TO_PASS) \
11172 $(EXTRA_GCC_FLAGS) clean
11173 @endif gcc-bootstrap
11176 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11177 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11178 maybe-all-stageprofile-gcc:
11179 maybe-clean-stageprofile-gcc:
11180 @if gcc-bootstrap
11181 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11182 all-stageprofile: all-stageprofile-gcc
11183 TARGET-stageprofile-gcc = $(TARGET-gcc)
11184 all-stageprofile-gcc: configure-stageprofile-gcc
11185 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11186 @r=`${PWD_COMMAND}`; export r; \
11187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11188 $(HOST_EXPORTS) \
11189 $(POSTSTAGE1_HOST_EXPORTS) \
11190 cd $(HOST_SUBDIR)/gcc && \
11191 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11192 $(TARGET-stageprofile-gcc)
11194 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11195 clean-stageprofile: clean-stageprofile-gcc
11196 clean-stageprofile-gcc:
11197 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11198 || exit 0 ; \
11199 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11200 cd $(HOST_SUBDIR)/gcc && \
11201 $(MAKE) $(FLAGS_TO_PASS) \
11202 $(POSTSTAGE1_FLAGS_TO_PASS) \
11203 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11204 @endif gcc-bootstrap
11207 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11208 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11209 maybe-all-stagefeedback-gcc:
11210 maybe-clean-stagefeedback-gcc:
11211 @if gcc-bootstrap
11212 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11213 all-stagefeedback: all-stagefeedback-gcc
11214 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11215 all-stagefeedback-gcc: configure-stagefeedback-gcc
11216 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11217 @r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 $(HOST_EXPORTS) \
11220 $(POSTSTAGE1_HOST_EXPORTS) \
11221 cd $(HOST_SUBDIR)/gcc && \
11222 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11223 $(TARGET-stagefeedback-gcc)
11225 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11226 clean-stagefeedback: clean-stagefeedback-gcc
11227 clean-stagefeedback-gcc:
11228 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11229 || exit 0 ; \
11230 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11231 cd $(HOST_SUBDIR)/gcc && \
11232 $(MAKE) $(FLAGS_TO_PASS) \
11233 $(POSTSTAGE1_FLAGS_TO_PASS) \
11234 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11235 @endif gcc-bootstrap
11241 .PHONY: check-gcc maybe-check-gcc
11242 maybe-check-gcc:
11243 @if gcc
11244 maybe-check-gcc: check-gcc
11246 check-gcc:
11247 @: $(MAKE); $(unstage)
11248 @r=`${PWD_COMMAND}`; export r; \
11249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11250 $(HOST_EXPORTS) \
11251 (cd $(HOST_SUBDIR)/gcc && \
11252 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11254 @endif gcc
11256 .PHONY: install-gcc maybe-install-gcc
11257 maybe-install-gcc:
11258 @if gcc
11259 maybe-install-gcc: install-gcc
11261 install-gcc: installdirs
11262 @: $(MAKE); $(unstage)
11263 @r=`${PWD_COMMAND}`; export r; \
11264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11265 $(HOST_EXPORTS) \
11266 (cd $(HOST_SUBDIR)/gcc && \
11267 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11269 @endif gcc
11271 # Other targets (info, dvi, etc.)
11273 .PHONY: maybe-info-gcc info-gcc
11274 maybe-info-gcc:
11275 @if gcc
11276 maybe-info-gcc: info-gcc
11278 info-gcc: \
11279 configure-gcc
11280 @[ -f ./gcc/Makefile ] || exit 0; \
11281 r=`${PWD_COMMAND}`; export r; \
11282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11283 $(HOST_EXPORTS) \
11284 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11286 done; \
11287 echo "Doing info in gcc" ; \
11288 (cd $(HOST_SUBDIR)/gcc && \
11289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11291 "RANLIB=$${RANLIB}" \
11292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11293 info) \
11294 || exit 1
11296 @endif gcc
11298 .PHONY: maybe-dvi-gcc dvi-gcc
11299 maybe-dvi-gcc:
11300 @if gcc
11301 maybe-dvi-gcc: dvi-gcc
11303 dvi-gcc: \
11304 configure-gcc
11305 @[ -f ./gcc/Makefile ] || exit 0; \
11306 r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308 $(HOST_EXPORTS) \
11309 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11311 done; \
11312 echo "Doing dvi in gcc" ; \
11313 (cd $(HOST_SUBDIR)/gcc && \
11314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11316 "RANLIB=$${RANLIB}" \
11317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11318 dvi) \
11319 || exit 1
11321 @endif gcc
11323 .PHONY: maybe-html-gcc html-gcc
11324 maybe-html-gcc:
11325 @if gcc
11326 maybe-html-gcc: html-gcc
11328 html-gcc: \
11329 configure-gcc
11330 @[ -f ./gcc/Makefile ] || exit 0; \
11331 r=`${PWD_COMMAND}`; export r; \
11332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333 $(HOST_EXPORTS) \
11334 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11336 done; \
11337 echo "Doing html in gcc" ; \
11338 (cd $(HOST_SUBDIR)/gcc && \
11339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11341 "RANLIB=$${RANLIB}" \
11342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11343 html) \
11344 || exit 1
11346 @endif gcc
11348 .PHONY: maybe-TAGS-gcc TAGS-gcc
11349 maybe-TAGS-gcc:
11350 @if gcc
11351 maybe-TAGS-gcc: TAGS-gcc
11353 TAGS-gcc: \
11354 configure-gcc
11355 @[ -f ./gcc/Makefile ] || exit 0; \
11356 r=`${PWD_COMMAND}`; export r; \
11357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358 $(HOST_EXPORTS) \
11359 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11361 done; \
11362 echo "Doing TAGS in gcc" ; \
11363 (cd $(HOST_SUBDIR)/gcc && \
11364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11366 "RANLIB=$${RANLIB}" \
11367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11368 TAGS) \
11369 || exit 1
11371 @endif gcc
11373 .PHONY: maybe-install-info-gcc install-info-gcc
11374 maybe-install-info-gcc:
11375 @if gcc
11376 maybe-install-info-gcc: install-info-gcc
11378 install-info-gcc: \
11379 configure-gcc \
11380 info-gcc
11381 @[ -f ./gcc/Makefile ] || exit 0; \
11382 r=`${PWD_COMMAND}`; export r; \
11383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11384 $(HOST_EXPORTS) \
11385 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11387 done; \
11388 echo "Doing install-info in gcc" ; \
11389 (cd $(HOST_SUBDIR)/gcc && \
11390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11392 "RANLIB=$${RANLIB}" \
11393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11394 install-info) \
11395 || exit 1
11397 @endif gcc
11399 .PHONY: maybe-installcheck-gcc installcheck-gcc
11400 maybe-installcheck-gcc:
11401 @if gcc
11402 maybe-installcheck-gcc: installcheck-gcc
11404 installcheck-gcc: \
11405 configure-gcc
11406 @[ -f ./gcc/Makefile ] || exit 0; \
11407 r=`${PWD_COMMAND}`; export r; \
11408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 $(HOST_EXPORTS) \
11410 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11412 done; \
11413 echo "Doing installcheck in gcc" ; \
11414 (cd $(HOST_SUBDIR)/gcc && \
11415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11417 "RANLIB=$${RANLIB}" \
11418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11419 installcheck) \
11420 || exit 1
11422 @endif gcc
11424 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11425 maybe-mostlyclean-gcc:
11426 @if gcc
11427 maybe-mostlyclean-gcc: mostlyclean-gcc
11429 mostlyclean-gcc:
11430 @[ -f ./gcc/Makefile ] || exit 0; \
11431 r=`${PWD_COMMAND}`; export r; \
11432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11433 $(HOST_EXPORTS) \
11434 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11436 done; \
11437 echo "Doing mostlyclean in gcc" ; \
11438 (cd $(HOST_SUBDIR)/gcc && \
11439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441 "RANLIB=$${RANLIB}" \
11442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11443 mostlyclean) \
11444 || exit 1
11446 @endif gcc
11448 .PHONY: maybe-clean-gcc clean-gcc
11449 maybe-clean-gcc:
11450 @if gcc
11451 maybe-clean-gcc: clean-gcc
11453 clean-gcc:
11454 @[ -f ./gcc/Makefile ] || exit 0; \
11455 r=`${PWD_COMMAND}`; export r; \
11456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11457 $(HOST_EXPORTS) \
11458 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11460 done; \
11461 echo "Doing clean in gcc" ; \
11462 (cd $(HOST_SUBDIR)/gcc && \
11463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11465 "RANLIB=$${RANLIB}" \
11466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11467 clean) \
11468 || exit 1
11470 @endif gcc
11472 .PHONY: maybe-distclean-gcc distclean-gcc
11473 maybe-distclean-gcc:
11474 @if gcc
11475 maybe-distclean-gcc: distclean-gcc
11477 distclean-gcc:
11478 @[ -f ./gcc/Makefile ] || exit 0; \
11479 r=`${PWD_COMMAND}`; export r; \
11480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11481 $(HOST_EXPORTS) \
11482 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11484 done; \
11485 echo "Doing distclean in gcc" ; \
11486 (cd $(HOST_SUBDIR)/gcc && \
11487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11489 "RANLIB=$${RANLIB}" \
11490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11491 distclean) \
11492 || exit 1
11494 @endif gcc
11496 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11497 maybe-maintainer-clean-gcc:
11498 @if gcc
11499 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11501 maintainer-clean-gcc:
11502 @[ -f ./gcc/Makefile ] || exit 0; \
11503 r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 $(HOST_EXPORTS) \
11506 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11508 done; \
11509 echo "Doing maintainer-clean in gcc" ; \
11510 (cd $(HOST_SUBDIR)/gcc && \
11511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11513 "RANLIB=$${RANLIB}" \
11514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11515 maintainer-clean) \
11516 || exit 1
11518 @endif gcc
11522 .PHONY: configure-gawk maybe-configure-gawk
11523 maybe-configure-gawk:
11524 @if gawk
11525 maybe-configure-gawk: configure-gawk
11526 configure-gawk:
11527 @: $(MAKE); $(unstage)
11528 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11530 r=`${PWD_COMMAND}`; export r; \
11531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11532 $(HOST_EXPORTS) \
11533 echo Configuring in $(HOST_SUBDIR)/gawk; \
11534 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11535 case $(srcdir) in \
11536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11537 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11539 esac; \
11540 srcdiroption="--srcdir=$${topdir}/gawk"; \
11541 libsrcdir="$$s/gawk"; \
11542 $(SHELL) $${libsrcdir}/configure \
11543 $(HOST_CONFIGARGS) $${srcdiroption} \
11544 || exit 1
11545 @endif gawk
11551 .PHONY: all-gawk maybe-all-gawk
11552 maybe-all-gawk:
11553 @if gawk
11554 TARGET-gawk=all
11555 maybe-all-gawk: all-gawk
11556 all-gawk: configure-gawk
11557 @: $(MAKE); $(unstage)
11558 @r=`${PWD_COMMAND}`; export r; \
11559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11560 $(HOST_EXPORTS) \
11561 (cd $(HOST_SUBDIR)/gawk && \
11562 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11563 @endif gawk
11568 .PHONY: check-gawk maybe-check-gawk
11569 maybe-check-gawk:
11570 @if gawk
11571 maybe-check-gawk: check-gawk
11573 check-gawk:
11574 @: $(MAKE); $(unstage)
11575 @r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 $(HOST_EXPORTS) \
11578 (cd $(HOST_SUBDIR)/gawk && \
11579 $(MAKE) $(FLAGS_TO_PASS) check)
11581 @endif gawk
11583 .PHONY: install-gawk maybe-install-gawk
11584 maybe-install-gawk:
11585 @if gawk
11586 maybe-install-gawk: install-gawk
11588 install-gawk: installdirs
11589 @: $(MAKE); $(unstage)
11590 @r=`${PWD_COMMAND}`; export r; \
11591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11592 $(HOST_EXPORTS) \
11593 (cd $(HOST_SUBDIR)/gawk && \
11594 $(MAKE) $(FLAGS_TO_PASS) install)
11596 @endif gawk
11598 # Other targets (info, dvi, etc.)
11600 .PHONY: maybe-info-gawk info-gawk
11601 maybe-info-gawk:
11602 @if gawk
11603 maybe-info-gawk: info-gawk
11605 info-gawk: \
11606 configure-gawk
11607 @: $(MAKE); $(unstage)
11608 @[ -f ./gawk/Makefile ] || exit 0; \
11609 r=`${PWD_COMMAND}`; export r; \
11610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11611 $(HOST_EXPORTS) \
11612 for flag in $(EXTRA_HOST_FLAGS) ; do \
11613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11614 done; \
11615 echo "Doing info in gawk" ; \
11616 (cd $(HOST_SUBDIR)/gawk && \
11617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11619 "RANLIB=$${RANLIB}" \
11620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11621 info) \
11622 || exit 1
11624 @endif gawk
11626 .PHONY: maybe-dvi-gawk dvi-gawk
11627 maybe-dvi-gawk:
11628 @if gawk
11629 maybe-dvi-gawk: dvi-gawk
11631 dvi-gawk: \
11632 configure-gawk
11633 @: $(MAKE); $(unstage)
11634 @[ -f ./gawk/Makefile ] || exit 0; \
11635 r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11637 $(HOST_EXPORTS) \
11638 for flag in $(EXTRA_HOST_FLAGS) ; do \
11639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11640 done; \
11641 echo "Doing dvi in gawk" ; \
11642 (cd $(HOST_SUBDIR)/gawk && \
11643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11645 "RANLIB=$${RANLIB}" \
11646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11647 dvi) \
11648 || exit 1
11650 @endif gawk
11652 .PHONY: maybe-html-gawk html-gawk
11653 maybe-html-gawk:
11654 @if gawk
11655 maybe-html-gawk: html-gawk
11657 html-gawk: \
11658 configure-gawk
11659 @: $(MAKE); $(unstage)
11660 @[ -f ./gawk/Makefile ] || exit 0; \
11661 r=`${PWD_COMMAND}`; export r; \
11662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11663 $(HOST_EXPORTS) \
11664 for flag in $(EXTRA_HOST_FLAGS) ; do \
11665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11666 done; \
11667 echo "Doing html in gawk" ; \
11668 (cd $(HOST_SUBDIR)/gawk && \
11669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11671 "RANLIB=$${RANLIB}" \
11672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11673 html) \
11674 || exit 1
11676 @endif gawk
11678 .PHONY: maybe-TAGS-gawk TAGS-gawk
11679 maybe-TAGS-gawk:
11680 @if gawk
11681 maybe-TAGS-gawk: TAGS-gawk
11683 TAGS-gawk: \
11684 configure-gawk
11685 @: $(MAKE); $(unstage)
11686 @[ -f ./gawk/Makefile ] || exit 0; \
11687 r=`${PWD_COMMAND}`; export r; \
11688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11689 $(HOST_EXPORTS) \
11690 for flag in $(EXTRA_HOST_FLAGS) ; do \
11691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11692 done; \
11693 echo "Doing TAGS in gawk" ; \
11694 (cd $(HOST_SUBDIR)/gawk && \
11695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11697 "RANLIB=$${RANLIB}" \
11698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11699 TAGS) \
11700 || exit 1
11702 @endif gawk
11704 .PHONY: maybe-install-info-gawk install-info-gawk
11705 maybe-install-info-gawk:
11706 @if gawk
11707 maybe-install-info-gawk: install-info-gawk
11709 install-info-gawk: \
11710 configure-gawk \
11711 info-gawk
11712 @: $(MAKE); $(unstage)
11713 @[ -f ./gawk/Makefile ] || exit 0; \
11714 r=`${PWD_COMMAND}`; export r; \
11715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11716 $(HOST_EXPORTS) \
11717 for flag in $(EXTRA_HOST_FLAGS) ; do \
11718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11719 done; \
11720 echo "Doing install-info in gawk" ; \
11721 (cd $(HOST_SUBDIR)/gawk && \
11722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11724 "RANLIB=$${RANLIB}" \
11725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11726 install-info) \
11727 || exit 1
11729 @endif gawk
11731 .PHONY: maybe-installcheck-gawk installcheck-gawk
11732 maybe-installcheck-gawk:
11733 @if gawk
11734 maybe-installcheck-gawk: installcheck-gawk
11736 installcheck-gawk: \
11737 configure-gawk
11738 @: $(MAKE); $(unstage)
11739 @[ -f ./gawk/Makefile ] || exit 0; \
11740 r=`${PWD_COMMAND}`; export r; \
11741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11742 $(HOST_EXPORTS) \
11743 for flag in $(EXTRA_HOST_FLAGS) ; do \
11744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11745 done; \
11746 echo "Doing installcheck in gawk" ; \
11747 (cd $(HOST_SUBDIR)/gawk && \
11748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11750 "RANLIB=$${RANLIB}" \
11751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11752 installcheck) \
11753 || exit 1
11755 @endif gawk
11757 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11758 maybe-mostlyclean-gawk:
11759 @if gawk
11760 maybe-mostlyclean-gawk: mostlyclean-gawk
11762 mostlyclean-gawk:
11763 @: $(MAKE); $(unstage)
11764 @[ -f ./gawk/Makefile ] || exit 0; \
11765 r=`${PWD_COMMAND}`; export r; \
11766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11767 $(HOST_EXPORTS) \
11768 for flag in $(EXTRA_HOST_FLAGS) ; do \
11769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11770 done; \
11771 echo "Doing mostlyclean in gawk" ; \
11772 (cd $(HOST_SUBDIR)/gawk && \
11773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11775 "RANLIB=$${RANLIB}" \
11776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11777 mostlyclean) \
11778 || exit 1
11780 @endif gawk
11782 .PHONY: maybe-clean-gawk clean-gawk
11783 maybe-clean-gawk:
11784 @if gawk
11785 maybe-clean-gawk: clean-gawk
11787 clean-gawk:
11788 @: $(MAKE); $(unstage)
11789 @[ -f ./gawk/Makefile ] || exit 0; \
11790 r=`${PWD_COMMAND}`; export r; \
11791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11792 $(HOST_EXPORTS) \
11793 for flag in $(EXTRA_HOST_FLAGS) ; do \
11794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11795 done; \
11796 echo "Doing clean in gawk" ; \
11797 (cd $(HOST_SUBDIR)/gawk && \
11798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11800 "RANLIB=$${RANLIB}" \
11801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11802 clean) \
11803 || exit 1
11805 @endif gawk
11807 .PHONY: maybe-distclean-gawk distclean-gawk
11808 maybe-distclean-gawk:
11809 @if gawk
11810 maybe-distclean-gawk: distclean-gawk
11812 distclean-gawk:
11813 @: $(MAKE); $(unstage)
11814 @[ -f ./gawk/Makefile ] || exit 0; \
11815 r=`${PWD_COMMAND}`; export r; \
11816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11817 $(HOST_EXPORTS) \
11818 for flag in $(EXTRA_HOST_FLAGS) ; do \
11819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11820 done; \
11821 echo "Doing distclean in gawk" ; \
11822 (cd $(HOST_SUBDIR)/gawk && \
11823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11825 "RANLIB=$${RANLIB}" \
11826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11827 distclean) \
11828 || exit 1
11830 @endif gawk
11832 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11833 maybe-maintainer-clean-gawk:
11834 @if gawk
11835 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11837 maintainer-clean-gawk:
11838 @: $(MAKE); $(unstage)
11839 @[ -f ./gawk/Makefile ] || exit 0; \
11840 r=`${PWD_COMMAND}`; export r; \
11841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11842 $(HOST_EXPORTS) \
11843 for flag in $(EXTRA_HOST_FLAGS) ; do \
11844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11845 done; \
11846 echo "Doing maintainer-clean in gawk" ; \
11847 (cd $(HOST_SUBDIR)/gawk && \
11848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11850 "RANLIB=$${RANLIB}" \
11851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11852 maintainer-clean) \
11853 || exit 1
11855 @endif gawk
11859 .PHONY: configure-gettext maybe-configure-gettext
11860 maybe-configure-gettext:
11861 @if gettext
11862 maybe-configure-gettext: configure-gettext
11863 configure-gettext:
11864 @: $(MAKE); $(unstage)
11865 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11867 r=`${PWD_COMMAND}`; export r; \
11868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11869 $(HOST_EXPORTS) \
11870 echo Configuring in $(HOST_SUBDIR)/gettext; \
11871 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11872 case $(srcdir) in \
11873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11874 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11876 esac; \
11877 srcdiroption="--srcdir=$${topdir}/gettext"; \
11878 libsrcdir="$$s/gettext"; \
11879 $(SHELL) $${libsrcdir}/configure \
11880 $(HOST_CONFIGARGS) $${srcdiroption} \
11881 || exit 1
11882 @endif gettext
11888 .PHONY: all-gettext maybe-all-gettext
11889 maybe-all-gettext:
11890 @if gettext
11891 TARGET-gettext=all
11892 maybe-all-gettext: all-gettext
11893 all-gettext: configure-gettext
11894 @: $(MAKE); $(unstage)
11895 @r=`${PWD_COMMAND}`; export r; \
11896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11897 $(HOST_EXPORTS) \
11898 (cd $(HOST_SUBDIR)/gettext && \
11899 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11900 @endif gettext
11905 .PHONY: check-gettext maybe-check-gettext
11906 maybe-check-gettext:
11907 @if gettext
11908 maybe-check-gettext: check-gettext
11910 check-gettext:
11911 @: $(MAKE); $(unstage)
11912 @r=`${PWD_COMMAND}`; export r; \
11913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914 $(HOST_EXPORTS) \
11915 (cd $(HOST_SUBDIR)/gettext && \
11916 $(MAKE) $(FLAGS_TO_PASS) check)
11918 @endif gettext
11920 .PHONY: install-gettext maybe-install-gettext
11921 maybe-install-gettext:
11922 @if gettext
11923 maybe-install-gettext: install-gettext
11925 install-gettext: installdirs
11926 @: $(MAKE); $(unstage)
11927 @r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(HOST_EXPORTS) \
11930 (cd $(HOST_SUBDIR)/gettext && \
11931 $(MAKE) $(FLAGS_TO_PASS) install)
11933 @endif gettext
11935 # Other targets (info, dvi, etc.)
11937 .PHONY: maybe-info-gettext info-gettext
11938 maybe-info-gettext:
11939 @if gettext
11940 maybe-info-gettext: info-gettext
11942 info-gettext: \
11943 configure-gettext
11944 @: $(MAKE); $(unstage)
11945 @[ -f ./gettext/Makefile ] || exit 0; \
11946 r=`${PWD_COMMAND}`; export r; \
11947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11948 $(HOST_EXPORTS) \
11949 for flag in $(EXTRA_HOST_FLAGS) ; do \
11950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11951 done; \
11952 echo "Doing info in gettext" ; \
11953 (cd $(HOST_SUBDIR)/gettext && \
11954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11956 "RANLIB=$${RANLIB}" \
11957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11958 info) \
11959 || exit 1
11961 @endif gettext
11963 .PHONY: maybe-dvi-gettext dvi-gettext
11964 maybe-dvi-gettext:
11965 @if gettext
11966 maybe-dvi-gettext: dvi-gettext
11968 dvi-gettext: \
11969 configure-gettext
11970 @: $(MAKE); $(unstage)
11971 @[ -f ./gettext/Makefile ] || exit 0; \
11972 r=`${PWD_COMMAND}`; export r; \
11973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11974 $(HOST_EXPORTS) \
11975 for flag in $(EXTRA_HOST_FLAGS) ; do \
11976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11977 done; \
11978 echo "Doing dvi in gettext" ; \
11979 (cd $(HOST_SUBDIR)/gettext && \
11980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11982 "RANLIB=$${RANLIB}" \
11983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11984 dvi) \
11985 || exit 1
11987 @endif gettext
11989 .PHONY: maybe-html-gettext html-gettext
11990 maybe-html-gettext:
11991 @if gettext
11992 maybe-html-gettext: html-gettext
11994 html-gettext: \
11995 configure-gettext
11996 @: $(MAKE); $(unstage)
11997 @[ -f ./gettext/Makefile ] || exit 0; \
11998 r=`${PWD_COMMAND}`; export r; \
11999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12000 $(HOST_EXPORTS) \
12001 for flag in $(EXTRA_HOST_FLAGS) ; do \
12002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12003 done; \
12004 echo "Doing html in gettext" ; \
12005 (cd $(HOST_SUBDIR)/gettext && \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008 "RANLIB=$${RANLIB}" \
12009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12010 html) \
12011 || exit 1
12013 @endif gettext
12015 .PHONY: maybe-TAGS-gettext TAGS-gettext
12016 maybe-TAGS-gettext:
12017 @if gettext
12018 maybe-TAGS-gettext: TAGS-gettext
12020 TAGS-gettext: \
12021 configure-gettext
12022 @: $(MAKE); $(unstage)
12023 @[ -f ./gettext/Makefile ] || exit 0; \
12024 r=`${PWD_COMMAND}`; export r; \
12025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12026 $(HOST_EXPORTS) \
12027 for flag in $(EXTRA_HOST_FLAGS) ; do \
12028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12029 done; \
12030 echo "Doing TAGS in gettext" ; \
12031 (cd $(HOST_SUBDIR)/gettext && \
12032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12034 "RANLIB=$${RANLIB}" \
12035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12036 TAGS) \
12037 || exit 1
12039 @endif gettext
12041 .PHONY: maybe-install-info-gettext install-info-gettext
12042 maybe-install-info-gettext:
12043 @if gettext
12044 maybe-install-info-gettext: install-info-gettext
12046 install-info-gettext: \
12047 configure-gettext \
12048 info-gettext
12049 @: $(MAKE); $(unstage)
12050 @[ -f ./gettext/Makefile ] || exit 0; \
12051 r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 $(HOST_EXPORTS) \
12054 for flag in $(EXTRA_HOST_FLAGS) ; do \
12055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12056 done; \
12057 echo "Doing install-info in gettext" ; \
12058 (cd $(HOST_SUBDIR)/gettext && \
12059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12061 "RANLIB=$${RANLIB}" \
12062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12063 install-info) \
12064 || exit 1
12066 @endif gettext
12068 .PHONY: maybe-installcheck-gettext installcheck-gettext
12069 maybe-installcheck-gettext:
12070 @if gettext
12071 maybe-installcheck-gettext: installcheck-gettext
12073 installcheck-gettext: \
12074 configure-gettext
12075 @: $(MAKE); $(unstage)
12076 @[ -f ./gettext/Makefile ] || exit 0; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 $(HOST_EXPORTS) \
12080 for flag in $(EXTRA_HOST_FLAGS) ; do \
12081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12082 done; \
12083 echo "Doing installcheck in gettext" ; \
12084 (cd $(HOST_SUBDIR)/gettext && \
12085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12087 "RANLIB=$${RANLIB}" \
12088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12089 installcheck) \
12090 || exit 1
12092 @endif gettext
12094 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12095 maybe-mostlyclean-gettext:
12096 @if gettext
12097 maybe-mostlyclean-gettext: mostlyclean-gettext
12099 mostlyclean-gettext:
12100 @: $(MAKE); $(unstage)
12101 @[ -f ./gettext/Makefile ] || exit 0; \
12102 r=`${PWD_COMMAND}`; export r; \
12103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 $(HOST_EXPORTS) \
12105 for flag in $(EXTRA_HOST_FLAGS) ; do \
12106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12107 done; \
12108 echo "Doing mostlyclean in gettext" ; \
12109 (cd $(HOST_SUBDIR)/gettext && \
12110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12112 "RANLIB=$${RANLIB}" \
12113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12114 mostlyclean) \
12115 || exit 1
12117 @endif gettext
12119 .PHONY: maybe-clean-gettext clean-gettext
12120 maybe-clean-gettext:
12121 @if gettext
12122 maybe-clean-gettext: clean-gettext
12124 clean-gettext:
12125 @: $(MAKE); $(unstage)
12126 @[ -f ./gettext/Makefile ] || exit 0; \
12127 r=`${PWD_COMMAND}`; export r; \
12128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12129 $(HOST_EXPORTS) \
12130 for flag in $(EXTRA_HOST_FLAGS) ; do \
12131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12132 done; \
12133 echo "Doing clean in gettext" ; \
12134 (cd $(HOST_SUBDIR)/gettext && \
12135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12137 "RANLIB=$${RANLIB}" \
12138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12139 clean) \
12140 || exit 1
12142 @endif gettext
12144 .PHONY: maybe-distclean-gettext distclean-gettext
12145 maybe-distclean-gettext:
12146 @if gettext
12147 maybe-distclean-gettext: distclean-gettext
12149 distclean-gettext:
12150 @: $(MAKE); $(unstage)
12151 @[ -f ./gettext/Makefile ] || exit 0; \
12152 r=`${PWD_COMMAND}`; export r; \
12153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12154 $(HOST_EXPORTS) \
12155 for flag in $(EXTRA_HOST_FLAGS) ; do \
12156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12157 done; \
12158 echo "Doing distclean in gettext" ; \
12159 (cd $(HOST_SUBDIR)/gettext && \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12162 "RANLIB=$${RANLIB}" \
12163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12164 distclean) \
12165 || exit 1
12167 @endif gettext
12169 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12170 maybe-maintainer-clean-gettext:
12171 @if gettext
12172 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12174 maintainer-clean-gettext:
12175 @: $(MAKE); $(unstage)
12176 @[ -f ./gettext/Makefile ] || exit 0; \
12177 r=`${PWD_COMMAND}`; export r; \
12178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12179 $(HOST_EXPORTS) \
12180 for flag in $(EXTRA_HOST_FLAGS) ; do \
12181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12182 done; \
12183 echo "Doing maintainer-clean in gettext" ; \
12184 (cd $(HOST_SUBDIR)/gettext && \
12185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12187 "RANLIB=$${RANLIB}" \
12188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12189 maintainer-clean) \
12190 || exit 1
12192 @endif gettext
12196 .PHONY: configure-gnuserv maybe-configure-gnuserv
12197 maybe-configure-gnuserv:
12198 @if gnuserv
12199 maybe-configure-gnuserv: configure-gnuserv
12200 configure-gnuserv:
12201 @: $(MAKE); $(unstage)
12202 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12204 r=`${PWD_COMMAND}`; export r; \
12205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12206 $(HOST_EXPORTS) \
12207 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12208 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12209 case $(srcdir) in \
12210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12211 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12213 esac; \
12214 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12215 libsrcdir="$$s/gnuserv"; \
12216 $(SHELL) $${libsrcdir}/configure \
12217 $(HOST_CONFIGARGS) $${srcdiroption} \
12218 || exit 1
12219 @endif gnuserv
12225 .PHONY: all-gnuserv maybe-all-gnuserv
12226 maybe-all-gnuserv:
12227 @if gnuserv
12228 TARGET-gnuserv=all
12229 maybe-all-gnuserv: all-gnuserv
12230 all-gnuserv: configure-gnuserv
12231 @: $(MAKE); $(unstage)
12232 @r=`${PWD_COMMAND}`; export r; \
12233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12234 $(HOST_EXPORTS) \
12235 (cd $(HOST_SUBDIR)/gnuserv && \
12236 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12237 @endif gnuserv
12242 .PHONY: check-gnuserv maybe-check-gnuserv
12243 maybe-check-gnuserv:
12244 @if gnuserv
12245 maybe-check-gnuserv: check-gnuserv
12247 check-gnuserv:
12248 @: $(MAKE); $(unstage)
12249 @r=`${PWD_COMMAND}`; export r; \
12250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12251 $(HOST_EXPORTS) \
12252 (cd $(HOST_SUBDIR)/gnuserv && \
12253 $(MAKE) $(FLAGS_TO_PASS) check)
12255 @endif gnuserv
12257 .PHONY: install-gnuserv maybe-install-gnuserv
12258 maybe-install-gnuserv:
12259 @if gnuserv
12260 maybe-install-gnuserv: install-gnuserv
12262 install-gnuserv: installdirs
12263 @: $(MAKE); $(unstage)
12264 @r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12266 $(HOST_EXPORTS) \
12267 (cd $(HOST_SUBDIR)/gnuserv && \
12268 $(MAKE) $(FLAGS_TO_PASS) install)
12270 @endif gnuserv
12272 # Other targets (info, dvi, etc.)
12274 .PHONY: maybe-info-gnuserv info-gnuserv
12275 maybe-info-gnuserv:
12276 @if gnuserv
12277 maybe-info-gnuserv: info-gnuserv
12279 info-gnuserv: \
12280 configure-gnuserv
12281 @: $(MAKE); $(unstage)
12282 @[ -f ./gnuserv/Makefile ] || exit 0; \
12283 r=`${PWD_COMMAND}`; export r; \
12284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12285 $(HOST_EXPORTS) \
12286 for flag in $(EXTRA_HOST_FLAGS) ; do \
12287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12288 done; \
12289 echo "Doing info in gnuserv" ; \
12290 (cd $(HOST_SUBDIR)/gnuserv && \
12291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12293 "RANLIB=$${RANLIB}" \
12294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12295 info) \
12296 || exit 1
12298 @endif gnuserv
12300 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12301 maybe-dvi-gnuserv:
12302 @if gnuserv
12303 maybe-dvi-gnuserv: dvi-gnuserv
12305 dvi-gnuserv: \
12306 configure-gnuserv
12307 @: $(MAKE); $(unstage)
12308 @[ -f ./gnuserv/Makefile ] || exit 0; \
12309 r=`${PWD_COMMAND}`; export r; \
12310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12311 $(HOST_EXPORTS) \
12312 for flag in $(EXTRA_HOST_FLAGS) ; do \
12313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12314 done; \
12315 echo "Doing dvi in gnuserv" ; \
12316 (cd $(HOST_SUBDIR)/gnuserv && \
12317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12319 "RANLIB=$${RANLIB}" \
12320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12321 dvi) \
12322 || exit 1
12324 @endif gnuserv
12326 .PHONY: maybe-html-gnuserv html-gnuserv
12327 maybe-html-gnuserv:
12328 @if gnuserv
12329 maybe-html-gnuserv: html-gnuserv
12331 html-gnuserv: \
12332 configure-gnuserv
12333 @: $(MAKE); $(unstage)
12334 @[ -f ./gnuserv/Makefile ] || exit 0; \
12335 r=`${PWD_COMMAND}`; export r; \
12336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12337 $(HOST_EXPORTS) \
12338 for flag in $(EXTRA_HOST_FLAGS) ; do \
12339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12340 done; \
12341 echo "Doing html in gnuserv" ; \
12342 (cd $(HOST_SUBDIR)/gnuserv && \
12343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12345 "RANLIB=$${RANLIB}" \
12346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12347 html) \
12348 || exit 1
12350 @endif gnuserv
12352 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12353 maybe-TAGS-gnuserv:
12354 @if gnuserv
12355 maybe-TAGS-gnuserv: TAGS-gnuserv
12357 TAGS-gnuserv: \
12358 configure-gnuserv
12359 @: $(MAKE); $(unstage)
12360 @[ -f ./gnuserv/Makefile ] || exit 0; \
12361 r=`${PWD_COMMAND}`; export r; \
12362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12363 $(HOST_EXPORTS) \
12364 for flag in $(EXTRA_HOST_FLAGS) ; do \
12365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12366 done; \
12367 echo "Doing TAGS in gnuserv" ; \
12368 (cd $(HOST_SUBDIR)/gnuserv && \
12369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12371 "RANLIB=$${RANLIB}" \
12372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12373 TAGS) \
12374 || exit 1
12376 @endif gnuserv
12378 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12379 maybe-install-info-gnuserv:
12380 @if gnuserv
12381 maybe-install-info-gnuserv: install-info-gnuserv
12383 install-info-gnuserv: \
12384 configure-gnuserv \
12385 info-gnuserv
12386 @: $(MAKE); $(unstage)
12387 @[ -f ./gnuserv/Makefile ] || exit 0; \
12388 r=`${PWD_COMMAND}`; export r; \
12389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12390 $(HOST_EXPORTS) \
12391 for flag in $(EXTRA_HOST_FLAGS) ; do \
12392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12393 done; \
12394 echo "Doing install-info in gnuserv" ; \
12395 (cd $(HOST_SUBDIR)/gnuserv && \
12396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12398 "RANLIB=$${RANLIB}" \
12399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12400 install-info) \
12401 || exit 1
12403 @endif gnuserv
12405 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12406 maybe-installcheck-gnuserv:
12407 @if gnuserv
12408 maybe-installcheck-gnuserv: installcheck-gnuserv
12410 installcheck-gnuserv: \
12411 configure-gnuserv
12412 @: $(MAKE); $(unstage)
12413 @[ -f ./gnuserv/Makefile ] || exit 0; \
12414 r=`${PWD_COMMAND}`; export r; \
12415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12416 $(HOST_EXPORTS) \
12417 for flag in $(EXTRA_HOST_FLAGS) ; do \
12418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12419 done; \
12420 echo "Doing installcheck in gnuserv" ; \
12421 (cd $(HOST_SUBDIR)/gnuserv && \
12422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12424 "RANLIB=$${RANLIB}" \
12425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12426 installcheck) \
12427 || exit 1
12429 @endif gnuserv
12431 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12432 maybe-mostlyclean-gnuserv:
12433 @if gnuserv
12434 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12436 mostlyclean-gnuserv:
12437 @: $(MAKE); $(unstage)
12438 @[ -f ./gnuserv/Makefile ] || exit 0; \
12439 r=`${PWD_COMMAND}`; export r; \
12440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12441 $(HOST_EXPORTS) \
12442 for flag in $(EXTRA_HOST_FLAGS) ; do \
12443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12444 done; \
12445 echo "Doing mostlyclean in gnuserv" ; \
12446 (cd $(HOST_SUBDIR)/gnuserv && \
12447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12449 "RANLIB=$${RANLIB}" \
12450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12451 mostlyclean) \
12452 || exit 1
12454 @endif gnuserv
12456 .PHONY: maybe-clean-gnuserv clean-gnuserv
12457 maybe-clean-gnuserv:
12458 @if gnuserv
12459 maybe-clean-gnuserv: clean-gnuserv
12461 clean-gnuserv:
12462 @: $(MAKE); $(unstage)
12463 @[ -f ./gnuserv/Makefile ] || exit 0; \
12464 r=`${PWD_COMMAND}`; export r; \
12465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12466 $(HOST_EXPORTS) \
12467 for flag in $(EXTRA_HOST_FLAGS) ; do \
12468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12469 done; \
12470 echo "Doing clean in gnuserv" ; \
12471 (cd $(HOST_SUBDIR)/gnuserv && \
12472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12474 "RANLIB=$${RANLIB}" \
12475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12476 clean) \
12477 || exit 1
12479 @endif gnuserv
12481 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12482 maybe-distclean-gnuserv:
12483 @if gnuserv
12484 maybe-distclean-gnuserv: distclean-gnuserv
12486 distclean-gnuserv:
12487 @: $(MAKE); $(unstage)
12488 @[ -f ./gnuserv/Makefile ] || exit 0; \
12489 r=`${PWD_COMMAND}`; export r; \
12490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12491 $(HOST_EXPORTS) \
12492 for flag in $(EXTRA_HOST_FLAGS) ; do \
12493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12494 done; \
12495 echo "Doing distclean in gnuserv" ; \
12496 (cd $(HOST_SUBDIR)/gnuserv && \
12497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12499 "RANLIB=$${RANLIB}" \
12500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12501 distclean) \
12502 || exit 1
12504 @endif gnuserv
12506 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12507 maybe-maintainer-clean-gnuserv:
12508 @if gnuserv
12509 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12511 maintainer-clean-gnuserv:
12512 @: $(MAKE); $(unstage)
12513 @[ -f ./gnuserv/Makefile ] || exit 0; \
12514 r=`${PWD_COMMAND}`; export r; \
12515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12516 $(HOST_EXPORTS) \
12517 for flag in $(EXTRA_HOST_FLAGS) ; do \
12518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12519 done; \
12520 echo "Doing maintainer-clean in gnuserv" ; \
12521 (cd $(HOST_SUBDIR)/gnuserv && \
12522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12524 "RANLIB=$${RANLIB}" \
12525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12526 maintainer-clean) \
12527 || exit 1
12529 @endif gnuserv
12533 .PHONY: configure-gprof maybe-configure-gprof
12534 maybe-configure-gprof:
12535 @if gprof
12536 maybe-configure-gprof: configure-gprof
12537 configure-gprof:
12538 @: $(MAKE); $(unstage)
12539 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12541 r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12543 $(HOST_EXPORTS) \
12544 echo Configuring in $(HOST_SUBDIR)/gprof; \
12545 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12546 case $(srcdir) in \
12547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12548 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12550 esac; \
12551 srcdiroption="--srcdir=$${topdir}/gprof"; \
12552 libsrcdir="$$s/gprof"; \
12553 $(SHELL) $${libsrcdir}/configure \
12554 $(HOST_CONFIGARGS) $${srcdiroption} \
12555 || exit 1
12556 @endif gprof
12562 .PHONY: all-gprof maybe-all-gprof
12563 maybe-all-gprof:
12564 @if gprof
12565 TARGET-gprof=all
12566 maybe-all-gprof: all-gprof
12567 all-gprof: configure-gprof
12568 @: $(MAKE); $(unstage)
12569 @r=`${PWD_COMMAND}`; export r; \
12570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12571 $(HOST_EXPORTS) \
12572 (cd $(HOST_SUBDIR)/gprof && \
12573 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12574 @endif gprof
12579 .PHONY: check-gprof maybe-check-gprof
12580 maybe-check-gprof:
12581 @if gprof
12582 maybe-check-gprof: check-gprof
12584 check-gprof:
12585 @: $(MAKE); $(unstage)
12586 @r=`${PWD_COMMAND}`; export r; \
12587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12588 $(HOST_EXPORTS) \
12589 (cd $(HOST_SUBDIR)/gprof && \
12590 $(MAKE) $(FLAGS_TO_PASS) check)
12592 @endif gprof
12594 .PHONY: install-gprof maybe-install-gprof
12595 maybe-install-gprof:
12596 @if gprof
12597 maybe-install-gprof: install-gprof
12599 install-gprof: installdirs
12600 @: $(MAKE); $(unstage)
12601 @r=`${PWD_COMMAND}`; export r; \
12602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12603 $(HOST_EXPORTS) \
12604 (cd $(HOST_SUBDIR)/gprof && \
12605 $(MAKE) $(FLAGS_TO_PASS) install)
12607 @endif gprof
12609 # Other targets (info, dvi, etc.)
12611 .PHONY: maybe-info-gprof info-gprof
12612 maybe-info-gprof:
12613 @if gprof
12614 maybe-info-gprof: info-gprof
12616 info-gprof: \
12617 configure-gprof
12618 @: $(MAKE); $(unstage)
12619 @[ -f ./gprof/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(HOST_EXPORTS) \
12623 for flag in $(EXTRA_HOST_FLAGS) ; do \
12624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12625 done; \
12626 echo "Doing info in gprof" ; \
12627 (cd $(HOST_SUBDIR)/gprof && \
12628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12630 "RANLIB=$${RANLIB}" \
12631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12632 info) \
12633 || exit 1
12635 @endif gprof
12637 .PHONY: maybe-dvi-gprof dvi-gprof
12638 maybe-dvi-gprof:
12639 @if gprof
12640 maybe-dvi-gprof: dvi-gprof
12642 dvi-gprof: \
12643 configure-gprof
12644 @: $(MAKE); $(unstage)
12645 @[ -f ./gprof/Makefile ] || exit 0; \
12646 r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 $(HOST_EXPORTS) \
12649 for flag in $(EXTRA_HOST_FLAGS) ; do \
12650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12651 done; \
12652 echo "Doing dvi in gprof" ; \
12653 (cd $(HOST_SUBDIR)/gprof && \
12654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12656 "RANLIB=$${RANLIB}" \
12657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12658 dvi) \
12659 || exit 1
12661 @endif gprof
12663 .PHONY: maybe-html-gprof html-gprof
12664 maybe-html-gprof:
12665 @if gprof
12666 maybe-html-gprof: html-gprof
12668 html-gprof: \
12669 configure-gprof
12670 @: $(MAKE); $(unstage)
12671 @[ -f ./gprof/Makefile ] || exit 0; \
12672 r=`${PWD_COMMAND}`; export r; \
12673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12674 $(HOST_EXPORTS) \
12675 for flag in $(EXTRA_HOST_FLAGS) ; do \
12676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12677 done; \
12678 echo "Doing html in gprof" ; \
12679 (cd $(HOST_SUBDIR)/gprof && \
12680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12682 "RANLIB=$${RANLIB}" \
12683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12684 html) \
12685 || exit 1
12687 @endif gprof
12689 .PHONY: maybe-TAGS-gprof TAGS-gprof
12690 maybe-TAGS-gprof:
12691 @if gprof
12692 maybe-TAGS-gprof: TAGS-gprof
12694 TAGS-gprof: \
12695 configure-gprof
12696 @: $(MAKE); $(unstage)
12697 @[ -f ./gprof/Makefile ] || exit 0; \
12698 r=`${PWD_COMMAND}`; export r; \
12699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700 $(HOST_EXPORTS) \
12701 for flag in $(EXTRA_HOST_FLAGS) ; do \
12702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12703 done; \
12704 echo "Doing TAGS in gprof" ; \
12705 (cd $(HOST_SUBDIR)/gprof && \
12706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12708 "RANLIB=$${RANLIB}" \
12709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12710 TAGS) \
12711 || exit 1
12713 @endif gprof
12715 .PHONY: maybe-install-info-gprof install-info-gprof
12716 maybe-install-info-gprof:
12717 @if gprof
12718 maybe-install-info-gprof: install-info-gprof
12720 install-info-gprof: \
12721 configure-gprof \
12722 info-gprof
12723 @: $(MAKE); $(unstage)
12724 @[ -f ./gprof/Makefile ] || exit 0; \
12725 r=`${PWD_COMMAND}`; export r; \
12726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12727 $(HOST_EXPORTS) \
12728 for flag in $(EXTRA_HOST_FLAGS) ; do \
12729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12730 done; \
12731 echo "Doing install-info in gprof" ; \
12732 (cd $(HOST_SUBDIR)/gprof && \
12733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12735 "RANLIB=$${RANLIB}" \
12736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12737 install-info) \
12738 || exit 1
12740 @endif gprof
12742 .PHONY: maybe-installcheck-gprof installcheck-gprof
12743 maybe-installcheck-gprof:
12744 @if gprof
12745 maybe-installcheck-gprof: installcheck-gprof
12747 installcheck-gprof: \
12748 configure-gprof
12749 @: $(MAKE); $(unstage)
12750 @[ -f ./gprof/Makefile ] || exit 0; \
12751 r=`${PWD_COMMAND}`; export r; \
12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12753 $(HOST_EXPORTS) \
12754 for flag in $(EXTRA_HOST_FLAGS) ; do \
12755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12756 done; \
12757 echo "Doing installcheck in gprof" ; \
12758 (cd $(HOST_SUBDIR)/gprof && \
12759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12761 "RANLIB=$${RANLIB}" \
12762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12763 installcheck) \
12764 || exit 1
12766 @endif gprof
12768 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12769 maybe-mostlyclean-gprof:
12770 @if gprof
12771 maybe-mostlyclean-gprof: mostlyclean-gprof
12773 mostlyclean-gprof:
12774 @: $(MAKE); $(unstage)
12775 @[ -f ./gprof/Makefile ] || exit 0; \
12776 r=`${PWD_COMMAND}`; export r; \
12777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12778 $(HOST_EXPORTS) \
12779 for flag in $(EXTRA_HOST_FLAGS) ; do \
12780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12781 done; \
12782 echo "Doing mostlyclean in gprof" ; \
12783 (cd $(HOST_SUBDIR)/gprof && \
12784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12786 "RANLIB=$${RANLIB}" \
12787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12788 mostlyclean) \
12789 || exit 1
12791 @endif gprof
12793 .PHONY: maybe-clean-gprof clean-gprof
12794 maybe-clean-gprof:
12795 @if gprof
12796 maybe-clean-gprof: clean-gprof
12798 clean-gprof:
12799 @: $(MAKE); $(unstage)
12800 @[ -f ./gprof/Makefile ] || exit 0; \
12801 r=`${PWD_COMMAND}`; export r; \
12802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12803 $(HOST_EXPORTS) \
12804 for flag in $(EXTRA_HOST_FLAGS) ; do \
12805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12806 done; \
12807 echo "Doing clean in gprof" ; \
12808 (cd $(HOST_SUBDIR)/gprof && \
12809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12811 "RANLIB=$${RANLIB}" \
12812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12813 clean) \
12814 || exit 1
12816 @endif gprof
12818 .PHONY: maybe-distclean-gprof distclean-gprof
12819 maybe-distclean-gprof:
12820 @if gprof
12821 maybe-distclean-gprof: distclean-gprof
12823 distclean-gprof:
12824 @: $(MAKE); $(unstage)
12825 @[ -f ./gprof/Makefile ] || exit 0; \
12826 r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 $(HOST_EXPORTS) \
12829 for flag in $(EXTRA_HOST_FLAGS) ; do \
12830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12831 done; \
12832 echo "Doing distclean in gprof" ; \
12833 (cd $(HOST_SUBDIR)/gprof && \
12834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12836 "RANLIB=$${RANLIB}" \
12837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12838 distclean) \
12839 || exit 1
12841 @endif gprof
12843 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12844 maybe-maintainer-clean-gprof:
12845 @if gprof
12846 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12848 maintainer-clean-gprof:
12849 @: $(MAKE); $(unstage)
12850 @[ -f ./gprof/Makefile ] || exit 0; \
12851 r=`${PWD_COMMAND}`; export r; \
12852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12853 $(HOST_EXPORTS) \
12854 for flag in $(EXTRA_HOST_FLAGS) ; do \
12855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12856 done; \
12857 echo "Doing maintainer-clean in gprof" ; \
12858 (cd $(HOST_SUBDIR)/gprof && \
12859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12861 "RANLIB=$${RANLIB}" \
12862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12863 maintainer-clean) \
12864 || exit 1
12866 @endif gprof
12870 .PHONY: configure-gzip maybe-configure-gzip
12871 maybe-configure-gzip:
12872 @if gzip
12873 maybe-configure-gzip: configure-gzip
12874 configure-gzip:
12875 @: $(MAKE); $(unstage)
12876 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12878 r=`${PWD_COMMAND}`; export r; \
12879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12880 $(HOST_EXPORTS) \
12881 echo Configuring in $(HOST_SUBDIR)/gzip; \
12882 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12883 case $(srcdir) in \
12884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12885 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12887 esac; \
12888 srcdiroption="--srcdir=$${topdir}/gzip"; \
12889 libsrcdir="$$s/gzip"; \
12890 $(SHELL) $${libsrcdir}/configure \
12891 $(HOST_CONFIGARGS) $${srcdiroption} \
12892 || exit 1
12893 @endif gzip
12899 .PHONY: all-gzip maybe-all-gzip
12900 maybe-all-gzip:
12901 @if gzip
12902 TARGET-gzip=all
12903 maybe-all-gzip: all-gzip
12904 all-gzip: configure-gzip
12905 @: $(MAKE); $(unstage)
12906 @r=`${PWD_COMMAND}`; export r; \
12907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12908 $(HOST_EXPORTS) \
12909 (cd $(HOST_SUBDIR)/gzip && \
12910 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12911 @endif gzip
12916 .PHONY: check-gzip maybe-check-gzip
12917 maybe-check-gzip:
12918 @if gzip
12919 maybe-check-gzip: check-gzip
12921 check-gzip:
12922 @: $(MAKE); $(unstage)
12923 @r=`${PWD_COMMAND}`; export r; \
12924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925 $(HOST_EXPORTS) \
12926 (cd $(HOST_SUBDIR)/gzip && \
12927 $(MAKE) $(FLAGS_TO_PASS) check)
12929 @endif gzip
12931 .PHONY: install-gzip maybe-install-gzip
12932 maybe-install-gzip:
12933 @if gzip
12934 maybe-install-gzip: install-gzip
12936 install-gzip: installdirs
12937 @: $(MAKE); $(unstage)
12938 @r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940 $(HOST_EXPORTS) \
12941 (cd $(HOST_SUBDIR)/gzip && \
12942 $(MAKE) $(FLAGS_TO_PASS) install)
12944 @endif gzip
12946 # Other targets (info, dvi, etc.)
12948 .PHONY: maybe-info-gzip info-gzip
12949 maybe-info-gzip:
12950 @if gzip
12951 maybe-info-gzip: info-gzip
12953 info-gzip: \
12954 configure-gzip
12955 @: $(MAKE); $(unstage)
12956 @[ -f ./gzip/Makefile ] || exit 0; \
12957 r=`${PWD_COMMAND}`; export r; \
12958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12959 $(HOST_EXPORTS) \
12960 for flag in $(EXTRA_HOST_FLAGS) ; do \
12961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12962 done; \
12963 echo "Doing info in gzip" ; \
12964 (cd $(HOST_SUBDIR)/gzip && \
12965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12967 "RANLIB=$${RANLIB}" \
12968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12969 info) \
12970 || exit 1
12972 @endif gzip
12974 .PHONY: maybe-dvi-gzip dvi-gzip
12975 maybe-dvi-gzip:
12976 @if gzip
12977 maybe-dvi-gzip: dvi-gzip
12979 dvi-gzip: \
12980 configure-gzip
12981 @: $(MAKE); $(unstage)
12982 @[ -f ./gzip/Makefile ] || exit 0; \
12983 r=`${PWD_COMMAND}`; export r; \
12984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12985 $(HOST_EXPORTS) \
12986 for flag in $(EXTRA_HOST_FLAGS) ; do \
12987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12988 done; \
12989 echo "Doing dvi in gzip" ; \
12990 (cd $(HOST_SUBDIR)/gzip && \
12991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12993 "RANLIB=$${RANLIB}" \
12994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12995 dvi) \
12996 || exit 1
12998 @endif gzip
13000 .PHONY: maybe-html-gzip html-gzip
13001 maybe-html-gzip:
13002 @if gzip
13003 maybe-html-gzip: html-gzip
13005 html-gzip: \
13006 configure-gzip
13007 @: $(MAKE); $(unstage)
13008 @[ -f ./gzip/Makefile ] || exit 0; \
13009 r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 $(HOST_EXPORTS) \
13012 for flag in $(EXTRA_HOST_FLAGS) ; do \
13013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13014 done; \
13015 echo "Doing html in gzip" ; \
13016 (cd $(HOST_SUBDIR)/gzip && \
13017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13019 "RANLIB=$${RANLIB}" \
13020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13021 html) \
13022 || exit 1
13024 @endif gzip
13026 .PHONY: maybe-TAGS-gzip TAGS-gzip
13027 maybe-TAGS-gzip:
13028 @if gzip
13029 maybe-TAGS-gzip: TAGS-gzip
13031 TAGS-gzip: \
13032 configure-gzip
13033 @: $(MAKE); $(unstage)
13034 @[ -f ./gzip/Makefile ] || exit 0; \
13035 r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 $(HOST_EXPORTS) \
13038 for flag in $(EXTRA_HOST_FLAGS) ; do \
13039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13040 done; \
13041 echo "Doing TAGS in gzip" ; \
13042 (cd $(HOST_SUBDIR)/gzip && \
13043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13045 "RANLIB=$${RANLIB}" \
13046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13047 TAGS) \
13048 || exit 1
13050 @endif gzip
13052 .PHONY: maybe-install-info-gzip install-info-gzip
13053 maybe-install-info-gzip:
13054 @if gzip
13055 maybe-install-info-gzip: install-info-gzip
13057 install-info-gzip: \
13058 configure-gzip \
13059 info-gzip
13060 @: $(MAKE); $(unstage)
13061 @[ -f ./gzip/Makefile ] || exit 0; \
13062 r=`${PWD_COMMAND}`; export r; \
13063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13064 $(HOST_EXPORTS) \
13065 for flag in $(EXTRA_HOST_FLAGS) ; do \
13066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13067 done; \
13068 echo "Doing install-info in gzip" ; \
13069 (cd $(HOST_SUBDIR)/gzip && \
13070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13072 "RANLIB=$${RANLIB}" \
13073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13074 install-info) \
13075 || exit 1
13077 @endif gzip
13079 .PHONY: maybe-installcheck-gzip installcheck-gzip
13080 maybe-installcheck-gzip:
13081 @if gzip
13082 maybe-installcheck-gzip: installcheck-gzip
13084 installcheck-gzip: \
13085 configure-gzip
13086 @: $(MAKE); $(unstage)
13087 @[ -f ./gzip/Makefile ] || exit 0; \
13088 r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13090 $(HOST_EXPORTS) \
13091 for flag in $(EXTRA_HOST_FLAGS) ; do \
13092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13093 done; \
13094 echo "Doing installcheck in gzip" ; \
13095 (cd $(HOST_SUBDIR)/gzip && \
13096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13098 "RANLIB=$${RANLIB}" \
13099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13100 installcheck) \
13101 || exit 1
13103 @endif gzip
13105 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13106 maybe-mostlyclean-gzip:
13107 @if gzip
13108 maybe-mostlyclean-gzip: mostlyclean-gzip
13110 mostlyclean-gzip:
13111 @: $(MAKE); $(unstage)
13112 @[ -f ./gzip/Makefile ] || exit 0; \
13113 r=`${PWD_COMMAND}`; export r; \
13114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13115 $(HOST_EXPORTS) \
13116 for flag in $(EXTRA_HOST_FLAGS) ; do \
13117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13118 done; \
13119 echo "Doing mostlyclean in gzip" ; \
13120 (cd $(HOST_SUBDIR)/gzip && \
13121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13123 "RANLIB=$${RANLIB}" \
13124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13125 mostlyclean) \
13126 || exit 1
13128 @endif gzip
13130 .PHONY: maybe-clean-gzip clean-gzip
13131 maybe-clean-gzip:
13132 @if gzip
13133 maybe-clean-gzip: clean-gzip
13135 clean-gzip:
13136 @: $(MAKE); $(unstage)
13137 @[ -f ./gzip/Makefile ] || exit 0; \
13138 r=`${PWD_COMMAND}`; export r; \
13139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13140 $(HOST_EXPORTS) \
13141 for flag in $(EXTRA_HOST_FLAGS) ; do \
13142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13143 done; \
13144 echo "Doing clean in gzip" ; \
13145 (cd $(HOST_SUBDIR)/gzip && \
13146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13148 "RANLIB=$${RANLIB}" \
13149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13150 clean) \
13151 || exit 1
13153 @endif gzip
13155 .PHONY: maybe-distclean-gzip distclean-gzip
13156 maybe-distclean-gzip:
13157 @if gzip
13158 maybe-distclean-gzip: distclean-gzip
13160 distclean-gzip:
13161 @: $(MAKE); $(unstage)
13162 @[ -f ./gzip/Makefile ] || exit 0; \
13163 r=`${PWD_COMMAND}`; export r; \
13164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13165 $(HOST_EXPORTS) \
13166 for flag in $(EXTRA_HOST_FLAGS) ; do \
13167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13168 done; \
13169 echo "Doing distclean in gzip" ; \
13170 (cd $(HOST_SUBDIR)/gzip && \
13171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13173 "RANLIB=$${RANLIB}" \
13174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13175 distclean) \
13176 || exit 1
13178 @endif gzip
13180 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13181 maybe-maintainer-clean-gzip:
13182 @if gzip
13183 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13185 maintainer-clean-gzip:
13186 @: $(MAKE); $(unstage)
13187 @[ -f ./gzip/Makefile ] || exit 0; \
13188 r=`${PWD_COMMAND}`; export r; \
13189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13190 $(HOST_EXPORTS) \
13191 for flag in $(EXTRA_HOST_FLAGS) ; do \
13192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13193 done; \
13194 echo "Doing maintainer-clean in gzip" ; \
13195 (cd $(HOST_SUBDIR)/gzip && \
13196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13198 "RANLIB=$${RANLIB}" \
13199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13200 maintainer-clean) \
13201 || exit 1
13203 @endif gzip
13207 .PHONY: configure-hello maybe-configure-hello
13208 maybe-configure-hello:
13209 @if hello
13210 maybe-configure-hello: configure-hello
13211 configure-hello:
13212 @: $(MAKE); $(unstage)
13213 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13215 r=`${PWD_COMMAND}`; export r; \
13216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13217 $(HOST_EXPORTS) \
13218 echo Configuring in $(HOST_SUBDIR)/hello; \
13219 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13220 case $(srcdir) in \
13221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13222 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13224 esac; \
13225 srcdiroption="--srcdir=$${topdir}/hello"; \
13226 libsrcdir="$$s/hello"; \
13227 $(SHELL) $${libsrcdir}/configure \
13228 $(HOST_CONFIGARGS) $${srcdiroption} \
13229 || exit 1
13230 @endif hello
13236 .PHONY: all-hello maybe-all-hello
13237 maybe-all-hello:
13238 @if hello
13239 TARGET-hello=all
13240 maybe-all-hello: all-hello
13241 all-hello: configure-hello
13242 @: $(MAKE); $(unstage)
13243 @r=`${PWD_COMMAND}`; export r; \
13244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13245 $(HOST_EXPORTS) \
13246 (cd $(HOST_SUBDIR)/hello && \
13247 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13248 @endif hello
13253 .PHONY: check-hello maybe-check-hello
13254 maybe-check-hello:
13255 @if hello
13256 maybe-check-hello: check-hello
13258 check-hello:
13259 @: $(MAKE); $(unstage)
13260 @r=`${PWD_COMMAND}`; export r; \
13261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13262 $(HOST_EXPORTS) \
13263 (cd $(HOST_SUBDIR)/hello && \
13264 $(MAKE) $(FLAGS_TO_PASS) check)
13266 @endif hello
13268 .PHONY: install-hello maybe-install-hello
13269 maybe-install-hello:
13270 @if hello
13271 maybe-install-hello: install-hello
13273 install-hello: installdirs
13274 @: $(MAKE); $(unstage)
13275 @r=`${PWD_COMMAND}`; export r; \
13276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13277 $(HOST_EXPORTS) \
13278 (cd $(HOST_SUBDIR)/hello && \
13279 $(MAKE) $(FLAGS_TO_PASS) install)
13281 @endif hello
13283 # Other targets (info, dvi, etc.)
13285 .PHONY: maybe-info-hello info-hello
13286 maybe-info-hello:
13287 @if hello
13288 maybe-info-hello: info-hello
13290 info-hello: \
13291 configure-hello
13292 @: $(MAKE); $(unstage)
13293 @[ -f ./hello/Makefile ] || exit 0; \
13294 r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 $(HOST_EXPORTS) \
13297 for flag in $(EXTRA_HOST_FLAGS) ; do \
13298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13299 done; \
13300 echo "Doing info in hello" ; \
13301 (cd $(HOST_SUBDIR)/hello && \
13302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13304 "RANLIB=$${RANLIB}" \
13305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13306 info) \
13307 || exit 1
13309 @endif hello
13311 .PHONY: maybe-dvi-hello dvi-hello
13312 maybe-dvi-hello:
13313 @if hello
13314 maybe-dvi-hello: dvi-hello
13316 dvi-hello: \
13317 configure-hello
13318 @: $(MAKE); $(unstage)
13319 @[ -f ./hello/Makefile ] || exit 0; \
13320 r=`${PWD_COMMAND}`; export r; \
13321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13322 $(HOST_EXPORTS) \
13323 for flag in $(EXTRA_HOST_FLAGS) ; do \
13324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13325 done; \
13326 echo "Doing dvi in hello" ; \
13327 (cd $(HOST_SUBDIR)/hello && \
13328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13330 "RANLIB=$${RANLIB}" \
13331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13332 dvi) \
13333 || exit 1
13335 @endif hello
13337 .PHONY: maybe-html-hello html-hello
13338 maybe-html-hello:
13339 @if hello
13340 maybe-html-hello: html-hello
13342 html-hello: \
13343 configure-hello
13344 @: $(MAKE); $(unstage)
13345 @[ -f ./hello/Makefile ] || exit 0; \
13346 r=`${PWD_COMMAND}`; export r; \
13347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13348 $(HOST_EXPORTS) \
13349 for flag in $(EXTRA_HOST_FLAGS) ; do \
13350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13351 done; \
13352 echo "Doing html in hello" ; \
13353 (cd $(HOST_SUBDIR)/hello && \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13356 "RANLIB=$${RANLIB}" \
13357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13358 html) \
13359 || exit 1
13361 @endif hello
13363 .PHONY: maybe-TAGS-hello TAGS-hello
13364 maybe-TAGS-hello:
13365 @if hello
13366 maybe-TAGS-hello: TAGS-hello
13368 TAGS-hello: \
13369 configure-hello
13370 @: $(MAKE); $(unstage)
13371 @[ -f ./hello/Makefile ] || exit 0; \
13372 r=`${PWD_COMMAND}`; export r; \
13373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13374 $(HOST_EXPORTS) \
13375 for flag in $(EXTRA_HOST_FLAGS) ; do \
13376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13377 done; \
13378 echo "Doing TAGS in hello" ; \
13379 (cd $(HOST_SUBDIR)/hello && \
13380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13382 "RANLIB=$${RANLIB}" \
13383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13384 TAGS) \
13385 || exit 1
13387 @endif hello
13389 .PHONY: maybe-install-info-hello install-info-hello
13390 maybe-install-info-hello:
13391 @if hello
13392 maybe-install-info-hello: install-info-hello
13394 install-info-hello: \
13395 configure-hello \
13396 info-hello
13397 @: $(MAKE); $(unstage)
13398 @[ -f ./hello/Makefile ] || exit 0; \
13399 r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13401 $(HOST_EXPORTS) \
13402 for flag in $(EXTRA_HOST_FLAGS) ; do \
13403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13404 done; \
13405 echo "Doing install-info in hello" ; \
13406 (cd $(HOST_SUBDIR)/hello && \
13407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13409 "RANLIB=$${RANLIB}" \
13410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13411 install-info) \
13412 || exit 1
13414 @endif hello
13416 .PHONY: maybe-installcheck-hello installcheck-hello
13417 maybe-installcheck-hello:
13418 @if hello
13419 maybe-installcheck-hello: installcheck-hello
13421 installcheck-hello: \
13422 configure-hello
13423 @: $(MAKE); $(unstage)
13424 @[ -f ./hello/Makefile ] || exit 0; \
13425 r=`${PWD_COMMAND}`; export r; \
13426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13427 $(HOST_EXPORTS) \
13428 for flag in $(EXTRA_HOST_FLAGS) ; do \
13429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13430 done; \
13431 echo "Doing installcheck in hello" ; \
13432 (cd $(HOST_SUBDIR)/hello && \
13433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13435 "RANLIB=$${RANLIB}" \
13436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13437 installcheck) \
13438 || exit 1
13440 @endif hello
13442 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13443 maybe-mostlyclean-hello:
13444 @if hello
13445 maybe-mostlyclean-hello: mostlyclean-hello
13447 mostlyclean-hello:
13448 @: $(MAKE); $(unstage)
13449 @[ -f ./hello/Makefile ] || exit 0; \
13450 r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 $(HOST_EXPORTS) \
13453 for flag in $(EXTRA_HOST_FLAGS) ; do \
13454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13455 done; \
13456 echo "Doing mostlyclean in hello" ; \
13457 (cd $(HOST_SUBDIR)/hello && \
13458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13460 "RANLIB=$${RANLIB}" \
13461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13462 mostlyclean) \
13463 || exit 1
13465 @endif hello
13467 .PHONY: maybe-clean-hello clean-hello
13468 maybe-clean-hello:
13469 @if hello
13470 maybe-clean-hello: clean-hello
13472 clean-hello:
13473 @: $(MAKE); $(unstage)
13474 @[ -f ./hello/Makefile ] || exit 0; \
13475 r=`${PWD_COMMAND}`; export r; \
13476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13477 $(HOST_EXPORTS) \
13478 for flag in $(EXTRA_HOST_FLAGS) ; do \
13479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13480 done; \
13481 echo "Doing clean in hello" ; \
13482 (cd $(HOST_SUBDIR)/hello && \
13483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13485 "RANLIB=$${RANLIB}" \
13486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13487 clean) \
13488 || exit 1
13490 @endif hello
13492 .PHONY: maybe-distclean-hello distclean-hello
13493 maybe-distclean-hello:
13494 @if hello
13495 maybe-distclean-hello: distclean-hello
13497 distclean-hello:
13498 @: $(MAKE); $(unstage)
13499 @[ -f ./hello/Makefile ] || exit 0; \
13500 r=`${PWD_COMMAND}`; export r; \
13501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13502 $(HOST_EXPORTS) \
13503 for flag in $(EXTRA_HOST_FLAGS) ; do \
13504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13505 done; \
13506 echo "Doing distclean in hello" ; \
13507 (cd $(HOST_SUBDIR)/hello && \
13508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13510 "RANLIB=$${RANLIB}" \
13511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13512 distclean) \
13513 || exit 1
13515 @endif hello
13517 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13518 maybe-maintainer-clean-hello:
13519 @if hello
13520 maybe-maintainer-clean-hello: maintainer-clean-hello
13522 maintainer-clean-hello:
13523 @: $(MAKE); $(unstage)
13524 @[ -f ./hello/Makefile ] || exit 0; \
13525 r=`${PWD_COMMAND}`; export r; \
13526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13527 $(HOST_EXPORTS) \
13528 for flag in $(EXTRA_HOST_FLAGS) ; do \
13529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13530 done; \
13531 echo "Doing maintainer-clean in hello" ; \
13532 (cd $(HOST_SUBDIR)/hello && \
13533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13535 "RANLIB=$${RANLIB}" \
13536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13537 maintainer-clean) \
13538 || exit 1
13540 @endif hello
13544 .PHONY: configure-indent maybe-configure-indent
13545 maybe-configure-indent:
13546 @if indent
13547 maybe-configure-indent: configure-indent
13548 configure-indent:
13549 @: $(MAKE); $(unstage)
13550 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13552 r=`${PWD_COMMAND}`; export r; \
13553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13554 $(HOST_EXPORTS) \
13555 echo Configuring in $(HOST_SUBDIR)/indent; \
13556 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13557 case $(srcdir) in \
13558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13559 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13561 esac; \
13562 srcdiroption="--srcdir=$${topdir}/indent"; \
13563 libsrcdir="$$s/indent"; \
13564 $(SHELL) $${libsrcdir}/configure \
13565 $(HOST_CONFIGARGS) $${srcdiroption} \
13566 || exit 1
13567 @endif indent
13573 .PHONY: all-indent maybe-all-indent
13574 maybe-all-indent:
13575 @if indent
13576 TARGET-indent=all
13577 maybe-all-indent: all-indent
13578 all-indent: configure-indent
13579 @: $(MAKE); $(unstage)
13580 @r=`${PWD_COMMAND}`; export r; \
13581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13582 $(HOST_EXPORTS) \
13583 (cd $(HOST_SUBDIR)/indent && \
13584 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13585 @endif indent
13590 .PHONY: check-indent maybe-check-indent
13591 maybe-check-indent:
13592 @if indent
13593 maybe-check-indent: check-indent
13595 check-indent:
13596 @: $(MAKE); $(unstage)
13597 @r=`${PWD_COMMAND}`; export r; \
13598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13599 $(HOST_EXPORTS) \
13600 (cd $(HOST_SUBDIR)/indent && \
13601 $(MAKE) $(FLAGS_TO_PASS) check)
13603 @endif indent
13605 .PHONY: install-indent maybe-install-indent
13606 maybe-install-indent:
13607 @if indent
13608 maybe-install-indent: install-indent
13610 install-indent: installdirs
13611 @: $(MAKE); $(unstage)
13612 @r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13614 $(HOST_EXPORTS) \
13615 (cd $(HOST_SUBDIR)/indent && \
13616 $(MAKE) $(FLAGS_TO_PASS) install)
13618 @endif indent
13620 # Other targets (info, dvi, etc.)
13622 .PHONY: maybe-info-indent info-indent
13623 maybe-info-indent:
13624 @if indent
13625 maybe-info-indent: info-indent
13627 info-indent: \
13628 configure-indent
13629 @: $(MAKE); $(unstage)
13630 @[ -f ./indent/Makefile ] || exit 0; \
13631 r=`${PWD_COMMAND}`; export r; \
13632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13633 $(HOST_EXPORTS) \
13634 for flag in $(EXTRA_HOST_FLAGS) ; do \
13635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13636 done; \
13637 echo "Doing info in indent" ; \
13638 (cd $(HOST_SUBDIR)/indent && \
13639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13641 "RANLIB=$${RANLIB}" \
13642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13643 info) \
13644 || exit 1
13646 @endif indent
13648 .PHONY: maybe-dvi-indent dvi-indent
13649 maybe-dvi-indent:
13650 @if indent
13651 maybe-dvi-indent: dvi-indent
13653 dvi-indent: \
13654 configure-indent
13655 @: $(MAKE); $(unstage)
13656 @[ -f ./indent/Makefile ] || exit 0; \
13657 r=`${PWD_COMMAND}`; export r; \
13658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13659 $(HOST_EXPORTS) \
13660 for flag in $(EXTRA_HOST_FLAGS) ; do \
13661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13662 done; \
13663 echo "Doing dvi in indent" ; \
13664 (cd $(HOST_SUBDIR)/indent && \
13665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13667 "RANLIB=$${RANLIB}" \
13668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13669 dvi) \
13670 || exit 1
13672 @endif indent
13674 .PHONY: maybe-html-indent html-indent
13675 maybe-html-indent:
13676 @if indent
13677 maybe-html-indent: html-indent
13679 html-indent: \
13680 configure-indent
13681 @: $(MAKE); $(unstage)
13682 @[ -f ./indent/Makefile ] || exit 0; \
13683 r=`${PWD_COMMAND}`; export r; \
13684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13685 $(HOST_EXPORTS) \
13686 for flag in $(EXTRA_HOST_FLAGS) ; do \
13687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13688 done; \
13689 echo "Doing html in indent" ; \
13690 (cd $(HOST_SUBDIR)/indent && \
13691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13693 "RANLIB=$${RANLIB}" \
13694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13695 html) \
13696 || exit 1
13698 @endif indent
13700 .PHONY: maybe-TAGS-indent TAGS-indent
13701 maybe-TAGS-indent:
13702 @if indent
13703 maybe-TAGS-indent: TAGS-indent
13705 TAGS-indent: \
13706 configure-indent
13707 @: $(MAKE); $(unstage)
13708 @[ -f ./indent/Makefile ] || exit 0; \
13709 r=`${PWD_COMMAND}`; export r; \
13710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13711 $(HOST_EXPORTS) \
13712 for flag in $(EXTRA_HOST_FLAGS) ; do \
13713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13714 done; \
13715 echo "Doing TAGS in indent" ; \
13716 (cd $(HOST_SUBDIR)/indent && \
13717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13719 "RANLIB=$${RANLIB}" \
13720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13721 TAGS) \
13722 || exit 1
13724 @endif indent
13726 .PHONY: maybe-install-info-indent install-info-indent
13727 maybe-install-info-indent:
13728 @if indent
13729 maybe-install-info-indent: install-info-indent
13731 install-info-indent: \
13732 configure-indent \
13733 info-indent
13734 @: $(MAKE); $(unstage)
13735 @[ -f ./indent/Makefile ] || exit 0; \
13736 r=`${PWD_COMMAND}`; export r; \
13737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13738 $(HOST_EXPORTS) \
13739 for flag in $(EXTRA_HOST_FLAGS) ; do \
13740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13741 done; \
13742 echo "Doing install-info in indent" ; \
13743 (cd $(HOST_SUBDIR)/indent && \
13744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13746 "RANLIB=$${RANLIB}" \
13747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13748 install-info) \
13749 || exit 1
13751 @endif indent
13753 .PHONY: maybe-installcheck-indent installcheck-indent
13754 maybe-installcheck-indent:
13755 @if indent
13756 maybe-installcheck-indent: installcheck-indent
13758 installcheck-indent: \
13759 configure-indent
13760 @: $(MAKE); $(unstage)
13761 @[ -f ./indent/Makefile ] || exit 0; \
13762 r=`${PWD_COMMAND}`; export r; \
13763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13764 $(HOST_EXPORTS) \
13765 for flag in $(EXTRA_HOST_FLAGS) ; do \
13766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13767 done; \
13768 echo "Doing installcheck in indent" ; \
13769 (cd $(HOST_SUBDIR)/indent && \
13770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13772 "RANLIB=$${RANLIB}" \
13773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13774 installcheck) \
13775 || exit 1
13777 @endif indent
13779 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13780 maybe-mostlyclean-indent:
13781 @if indent
13782 maybe-mostlyclean-indent: mostlyclean-indent
13784 mostlyclean-indent:
13785 @: $(MAKE); $(unstage)
13786 @[ -f ./indent/Makefile ] || exit 0; \
13787 r=`${PWD_COMMAND}`; export r; \
13788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13789 $(HOST_EXPORTS) \
13790 for flag in $(EXTRA_HOST_FLAGS) ; do \
13791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13792 done; \
13793 echo "Doing mostlyclean in indent" ; \
13794 (cd $(HOST_SUBDIR)/indent && \
13795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13797 "RANLIB=$${RANLIB}" \
13798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13799 mostlyclean) \
13800 || exit 1
13802 @endif indent
13804 .PHONY: maybe-clean-indent clean-indent
13805 maybe-clean-indent:
13806 @if indent
13807 maybe-clean-indent: clean-indent
13809 clean-indent:
13810 @: $(MAKE); $(unstage)
13811 @[ -f ./indent/Makefile ] || exit 0; \
13812 r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814 $(HOST_EXPORTS) \
13815 for flag in $(EXTRA_HOST_FLAGS) ; do \
13816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13817 done; \
13818 echo "Doing clean in indent" ; \
13819 (cd $(HOST_SUBDIR)/indent && \
13820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13822 "RANLIB=$${RANLIB}" \
13823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13824 clean) \
13825 || exit 1
13827 @endif indent
13829 .PHONY: maybe-distclean-indent distclean-indent
13830 maybe-distclean-indent:
13831 @if indent
13832 maybe-distclean-indent: distclean-indent
13834 distclean-indent:
13835 @: $(MAKE); $(unstage)
13836 @[ -f ./indent/Makefile ] || exit 0; \
13837 r=`${PWD_COMMAND}`; export r; \
13838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13839 $(HOST_EXPORTS) \
13840 for flag in $(EXTRA_HOST_FLAGS) ; do \
13841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13842 done; \
13843 echo "Doing distclean in indent" ; \
13844 (cd $(HOST_SUBDIR)/indent && \
13845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13847 "RANLIB=$${RANLIB}" \
13848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13849 distclean) \
13850 || exit 1
13852 @endif indent
13854 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13855 maybe-maintainer-clean-indent:
13856 @if indent
13857 maybe-maintainer-clean-indent: maintainer-clean-indent
13859 maintainer-clean-indent:
13860 @: $(MAKE); $(unstage)
13861 @[ -f ./indent/Makefile ] || exit 0; \
13862 r=`${PWD_COMMAND}`; export r; \
13863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13864 $(HOST_EXPORTS) \
13865 for flag in $(EXTRA_HOST_FLAGS) ; do \
13866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13867 done; \
13868 echo "Doing maintainer-clean in indent" ; \
13869 (cd $(HOST_SUBDIR)/indent && \
13870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13872 "RANLIB=$${RANLIB}" \
13873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13874 maintainer-clean) \
13875 || exit 1
13877 @endif indent
13881 .PHONY: configure-intl maybe-configure-intl
13882 maybe-configure-intl:
13883 @if intl
13884 maybe-configure-intl: configure-intl
13885 configure-intl:
13886 @test -f stage_last && exit 0; \
13887 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13889 r=`${PWD_COMMAND}`; export r; \
13890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13891 $(HOST_EXPORTS) \
13892 echo Configuring in $(HOST_SUBDIR)/intl; \
13893 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13894 case $(srcdir) in \
13895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13896 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13898 esac; \
13899 srcdiroption="--srcdir=$${topdir}/intl"; \
13900 libsrcdir="$$s/intl"; \
13901 $(SHELL) $${libsrcdir}/configure \
13902 $(HOST_CONFIGARGS) $${srcdiroption} \
13903 || exit 1
13904 @endif intl
13908 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13909 maybe-configure-stage1-intl:
13910 @if intl-bootstrap
13911 maybe-configure-stage1-intl: configure-stage1-intl
13912 configure-stage1-intl:
13913 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
13914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13915 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13916 $(HOST_EXPORTS) \
13917 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13919 cd $(HOST_SUBDIR)/intl || exit 1; \
13920 case $(srcdir) in \
13921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13922 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13924 esac; \
13925 srcdiroption="--srcdir=$${topdir}/intl"; \
13926 libsrcdir="$$s/intl"; \
13927 $(SHELL) $${libsrcdir}/configure \
13928 $(HOST_CONFIGARGS) $${srcdiroption} \
13929 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13930 @endif intl-bootstrap
13932 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13933 maybe-configure-stage2-intl:
13934 @if intl-bootstrap
13935 maybe-configure-stage2-intl: configure-stage2-intl
13936 configure-stage2-intl:
13937 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
13938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13939 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13940 $(HOST_EXPORTS) \
13941 $(POSTSTAGE1_HOST_EXPORTS) \
13942 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13944 cd $(HOST_SUBDIR)/intl || exit 1; \
13945 case $(srcdir) in \
13946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13947 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13949 esac; \
13950 srcdiroption="--srcdir=$${topdir}/intl"; \
13951 libsrcdir="$$s/intl"; \
13952 $(SHELL) $${libsrcdir}/configure \
13953 $(HOST_CONFIGARGS) $${srcdiroption} \
13954 @stage2_werror_flag@
13955 @endif intl-bootstrap
13957 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13958 maybe-configure-stage3-intl:
13959 @if intl-bootstrap
13960 maybe-configure-stage3-intl: configure-stage3-intl
13961 configure-stage3-intl:
13962 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
13963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13964 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13965 $(HOST_EXPORTS) \
13966 $(POSTSTAGE1_HOST_EXPORTS) \
13967 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13969 cd $(HOST_SUBDIR)/intl || exit 1; \
13970 case $(srcdir) in \
13971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13972 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13974 esac; \
13975 srcdiroption="--srcdir=$${topdir}/intl"; \
13976 libsrcdir="$$s/intl"; \
13977 $(SHELL) $${libsrcdir}/configure \
13978 $(HOST_CONFIGARGS) $${srcdiroption} \
13979 @stage2_werror_flag@
13980 @endif intl-bootstrap
13982 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13983 maybe-configure-stage4-intl:
13984 @if intl-bootstrap
13985 maybe-configure-stage4-intl: configure-stage4-intl
13986 configure-stage4-intl:
13987 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
13988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13989 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13990 $(HOST_EXPORTS) \
13991 $(POSTSTAGE1_HOST_EXPORTS) \
13992 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13994 cd $(HOST_SUBDIR)/intl || exit 1; \
13995 case $(srcdir) in \
13996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13997 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13999 esac; \
14000 srcdiroption="--srcdir=$${topdir}/intl"; \
14001 libsrcdir="$$s/intl"; \
14002 $(SHELL) $${libsrcdir}/configure \
14003 $(HOST_CONFIGARGS) $${srcdiroption} \
14004 @stage2_werror_flag@
14005 @endif intl-bootstrap
14007 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14008 maybe-configure-stageprofile-intl:
14009 @if intl-bootstrap
14010 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14011 configure-stageprofile-intl:
14012 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14013 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14014 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14015 $(HOST_EXPORTS) \
14016 $(POSTSTAGE1_HOST_EXPORTS) \
14017 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14019 cd $(HOST_SUBDIR)/intl || exit 1; \
14020 case $(srcdir) in \
14021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14022 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14024 esac; \
14025 srcdiroption="--srcdir=$${topdir}/intl"; \
14026 libsrcdir="$$s/intl"; \
14027 $(SHELL) $${libsrcdir}/configure \
14028 $(HOST_CONFIGARGS) $${srcdiroption} \
14029 @stage2_werror_flag@
14030 @endif intl-bootstrap
14032 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14033 maybe-configure-stagefeedback-intl:
14034 @if intl-bootstrap
14035 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14036 configure-stagefeedback-intl:
14037 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14038 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14039 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14040 $(HOST_EXPORTS) \
14041 $(POSTSTAGE1_HOST_EXPORTS) \
14042 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14044 cd $(HOST_SUBDIR)/intl || exit 1; \
14045 case $(srcdir) in \
14046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14047 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14049 esac; \
14050 srcdiroption="--srcdir=$${topdir}/intl"; \
14051 libsrcdir="$$s/intl"; \
14052 $(SHELL) $${libsrcdir}/configure \
14053 $(HOST_CONFIGARGS) $${srcdiroption} \
14054 @stage2_werror_flag@
14055 @endif intl-bootstrap
14061 .PHONY: all-intl maybe-all-intl
14062 maybe-all-intl:
14063 @if intl
14064 TARGET-intl=all
14065 maybe-all-intl: all-intl
14066 all-intl: configure-intl
14067 @test -f stage_last && exit 0; \
14068 r=`${PWD_COMMAND}`; export r; \
14069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 $(HOST_EXPORTS) \
14071 (cd $(HOST_SUBDIR)/intl && \
14072 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14073 @endif intl
14077 .PHONY: all-stage1-intl maybe-all-stage1-intl
14078 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14079 maybe-all-stage1-intl:
14080 maybe-clean-stage1-intl:
14081 @if intl-bootstrap
14082 maybe-all-stage1-intl: all-stage1-intl
14083 all-stage1: all-stage1-intl
14084 TARGET-stage1-intl = $(TARGET-intl)
14085 all-stage1-intl: configure-stage1-intl
14086 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14087 @r=`${PWD_COMMAND}`; export r; \
14088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14089 $(HOST_EXPORTS) \
14090 cd $(HOST_SUBDIR)/intl && \
14091 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14092 $(TARGET-stage1-intl)
14094 maybe-clean-stage1-intl: clean-stage1-intl
14095 clean-stage1: clean-stage1-intl
14096 clean-stage1-intl:
14097 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14098 || exit 0 ; \
14099 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14100 cd $(HOST_SUBDIR)/intl && \
14101 $(MAKE) $(FLAGS_TO_PASS) \
14102 CFLAGS="$(STAGE1_CFLAGS)" clean
14103 @endif intl-bootstrap
14106 .PHONY: all-stage2-intl maybe-all-stage2-intl
14107 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14108 maybe-all-stage2-intl:
14109 maybe-clean-stage2-intl:
14110 @if intl-bootstrap
14111 maybe-all-stage2-intl: all-stage2-intl
14112 all-stage2: all-stage2-intl
14113 TARGET-stage2-intl = $(TARGET-intl)
14114 all-stage2-intl: configure-stage2-intl
14115 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14116 @r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 $(HOST_EXPORTS) \
14119 $(POSTSTAGE1_HOST_EXPORTS) \
14120 cd $(HOST_SUBDIR)/intl && \
14121 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14122 $(TARGET-stage2-intl)
14124 maybe-clean-stage2-intl: clean-stage2-intl
14125 clean-stage2: clean-stage2-intl
14126 clean-stage2-intl:
14127 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14128 || exit 0 ; \
14129 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14130 cd $(HOST_SUBDIR)/intl && \
14131 $(MAKE) $(FLAGS_TO_PASS) \
14132 $(POSTSTAGE1_FLAGS_TO_PASS) \
14133 clean
14134 @endif intl-bootstrap
14137 .PHONY: all-stage3-intl maybe-all-stage3-intl
14138 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14139 maybe-all-stage3-intl:
14140 maybe-clean-stage3-intl:
14141 @if intl-bootstrap
14142 maybe-all-stage3-intl: all-stage3-intl
14143 all-stage3: all-stage3-intl
14144 TARGET-stage3-intl = $(TARGET-intl)
14145 all-stage3-intl: configure-stage3-intl
14146 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14147 @r=`${PWD_COMMAND}`; export r; \
14148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14149 $(HOST_EXPORTS) \
14150 $(POSTSTAGE1_HOST_EXPORTS) \
14151 cd $(HOST_SUBDIR)/intl && \
14152 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14153 $(TARGET-stage3-intl)
14155 maybe-clean-stage3-intl: clean-stage3-intl
14156 clean-stage3: clean-stage3-intl
14157 clean-stage3-intl:
14158 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14159 || exit 0 ; \
14160 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14161 cd $(HOST_SUBDIR)/intl && \
14162 $(MAKE) $(FLAGS_TO_PASS) \
14163 $(POSTSTAGE1_FLAGS_TO_PASS) \
14164 clean
14165 @endif intl-bootstrap
14168 .PHONY: all-stage4-intl maybe-all-stage4-intl
14169 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14170 maybe-all-stage4-intl:
14171 maybe-clean-stage4-intl:
14172 @if intl-bootstrap
14173 maybe-all-stage4-intl: all-stage4-intl
14174 all-stage4: all-stage4-intl
14175 TARGET-stage4-intl = $(TARGET-intl)
14176 all-stage4-intl: configure-stage4-intl
14177 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14178 @r=`${PWD_COMMAND}`; export r; \
14179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14180 $(HOST_EXPORTS) \
14181 $(POSTSTAGE1_HOST_EXPORTS) \
14182 cd $(HOST_SUBDIR)/intl && \
14183 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14184 $(TARGET-stage4-intl)
14186 maybe-clean-stage4-intl: clean-stage4-intl
14187 clean-stage4: clean-stage4-intl
14188 clean-stage4-intl:
14189 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14190 || exit 0 ; \
14191 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14192 cd $(HOST_SUBDIR)/intl && \
14193 $(MAKE) $(FLAGS_TO_PASS) \
14194 $(POSTSTAGE1_FLAGS_TO_PASS) \
14195 clean
14196 @endif intl-bootstrap
14199 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14200 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14201 maybe-all-stageprofile-intl:
14202 maybe-clean-stageprofile-intl:
14203 @if intl-bootstrap
14204 maybe-all-stageprofile-intl: all-stageprofile-intl
14205 all-stageprofile: all-stageprofile-intl
14206 TARGET-stageprofile-intl = $(TARGET-intl)
14207 all-stageprofile-intl: configure-stageprofile-intl
14208 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14209 @r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14211 $(HOST_EXPORTS) \
14212 $(POSTSTAGE1_HOST_EXPORTS) \
14213 cd $(HOST_SUBDIR)/intl && \
14214 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14215 $(TARGET-stageprofile-intl)
14217 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14218 clean-stageprofile: clean-stageprofile-intl
14219 clean-stageprofile-intl:
14220 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14221 || exit 0 ; \
14222 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14223 cd $(HOST_SUBDIR)/intl && \
14224 $(MAKE) $(FLAGS_TO_PASS) \
14225 $(POSTSTAGE1_FLAGS_TO_PASS) \
14226 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14227 @endif intl-bootstrap
14230 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14231 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14232 maybe-all-stagefeedback-intl:
14233 maybe-clean-stagefeedback-intl:
14234 @if intl-bootstrap
14235 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14236 all-stagefeedback: all-stagefeedback-intl
14237 TARGET-stagefeedback-intl = $(TARGET-intl)
14238 all-stagefeedback-intl: configure-stagefeedback-intl
14239 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14240 @r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 $(HOST_EXPORTS) \
14243 $(POSTSTAGE1_HOST_EXPORTS) \
14244 cd $(HOST_SUBDIR)/intl && \
14245 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14246 $(TARGET-stagefeedback-intl)
14248 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14249 clean-stagefeedback: clean-stagefeedback-intl
14250 clean-stagefeedback-intl:
14251 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14252 || exit 0 ; \
14253 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14254 cd $(HOST_SUBDIR)/intl && \
14255 $(MAKE) $(FLAGS_TO_PASS) \
14256 $(POSTSTAGE1_FLAGS_TO_PASS) \
14257 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14258 @endif intl-bootstrap
14264 .PHONY: check-intl maybe-check-intl
14265 maybe-check-intl:
14266 @if intl
14267 maybe-check-intl: check-intl
14269 check-intl:
14270 @: $(MAKE); $(unstage)
14271 @r=`${PWD_COMMAND}`; export r; \
14272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14273 $(HOST_EXPORTS) \
14274 (cd $(HOST_SUBDIR)/intl && \
14275 $(MAKE) $(FLAGS_TO_PASS) check)
14277 @endif intl
14279 .PHONY: install-intl maybe-install-intl
14280 maybe-install-intl:
14281 @if intl
14282 maybe-install-intl: install-intl
14284 install-intl: installdirs
14285 @: $(MAKE); $(unstage)
14286 @r=`${PWD_COMMAND}`; export r; \
14287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14288 $(HOST_EXPORTS) \
14289 (cd $(HOST_SUBDIR)/intl && \
14290 $(MAKE) $(FLAGS_TO_PASS) install)
14292 @endif intl
14294 # Other targets (info, dvi, etc.)
14296 .PHONY: maybe-info-intl info-intl
14297 maybe-info-intl:
14298 @if intl
14299 maybe-info-intl: info-intl
14301 info-intl: \
14302 configure-intl
14303 @[ -f ./intl/Makefile ] || exit 0; \
14304 r=`${PWD_COMMAND}`; export r; \
14305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14306 $(HOST_EXPORTS) \
14307 for flag in $(EXTRA_HOST_FLAGS) ; do \
14308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14309 done; \
14310 echo "Doing info in intl" ; \
14311 (cd $(HOST_SUBDIR)/intl && \
14312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14314 "RANLIB=$${RANLIB}" \
14315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14316 info) \
14317 || exit 1
14319 @endif intl
14321 .PHONY: maybe-dvi-intl dvi-intl
14322 maybe-dvi-intl:
14323 @if intl
14324 maybe-dvi-intl: dvi-intl
14326 dvi-intl: \
14327 configure-intl
14328 @[ -f ./intl/Makefile ] || exit 0; \
14329 r=`${PWD_COMMAND}`; export r; \
14330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14331 $(HOST_EXPORTS) \
14332 for flag in $(EXTRA_HOST_FLAGS) ; do \
14333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14334 done; \
14335 echo "Doing dvi in intl" ; \
14336 (cd $(HOST_SUBDIR)/intl && \
14337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14339 "RANLIB=$${RANLIB}" \
14340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14341 dvi) \
14342 || exit 1
14344 @endif intl
14346 .PHONY: maybe-html-intl html-intl
14347 maybe-html-intl:
14348 @if intl
14349 maybe-html-intl: html-intl
14351 html-intl: \
14352 configure-intl
14353 @[ -f ./intl/Makefile ] || exit 0; \
14354 r=`${PWD_COMMAND}`; export r; \
14355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14356 $(HOST_EXPORTS) \
14357 for flag in $(EXTRA_HOST_FLAGS) ; do \
14358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14359 done; \
14360 echo "Doing html in intl" ; \
14361 (cd $(HOST_SUBDIR)/intl && \
14362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14364 "RANLIB=$${RANLIB}" \
14365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14366 html) \
14367 || exit 1
14369 @endif intl
14371 .PHONY: maybe-TAGS-intl TAGS-intl
14372 maybe-TAGS-intl:
14373 @if intl
14374 maybe-TAGS-intl: TAGS-intl
14376 TAGS-intl: \
14377 configure-intl
14378 @[ -f ./intl/Makefile ] || exit 0; \
14379 r=`${PWD_COMMAND}`; export r; \
14380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14381 $(HOST_EXPORTS) \
14382 for flag in $(EXTRA_HOST_FLAGS) ; do \
14383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14384 done; \
14385 echo "Doing TAGS in intl" ; \
14386 (cd $(HOST_SUBDIR)/intl && \
14387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14389 "RANLIB=$${RANLIB}" \
14390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14391 TAGS) \
14392 || exit 1
14394 @endif intl
14396 .PHONY: maybe-install-info-intl install-info-intl
14397 maybe-install-info-intl:
14398 @if intl
14399 maybe-install-info-intl: install-info-intl
14401 install-info-intl: \
14402 configure-intl \
14403 info-intl
14404 @[ -f ./intl/Makefile ] || exit 0; \
14405 r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14407 $(HOST_EXPORTS) \
14408 for flag in $(EXTRA_HOST_FLAGS) ; do \
14409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14410 done; \
14411 echo "Doing install-info in intl" ; \
14412 (cd $(HOST_SUBDIR)/intl && \
14413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14415 "RANLIB=$${RANLIB}" \
14416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14417 install-info) \
14418 || exit 1
14420 @endif intl
14422 .PHONY: maybe-installcheck-intl installcheck-intl
14423 maybe-installcheck-intl:
14424 @if intl
14425 maybe-installcheck-intl: installcheck-intl
14427 installcheck-intl: \
14428 configure-intl
14429 @[ -f ./intl/Makefile ] || exit 0; \
14430 r=`${PWD_COMMAND}`; export r; \
14431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14432 $(HOST_EXPORTS) \
14433 for flag in $(EXTRA_HOST_FLAGS) ; do \
14434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14435 done; \
14436 echo "Doing installcheck in intl" ; \
14437 (cd $(HOST_SUBDIR)/intl && \
14438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14440 "RANLIB=$${RANLIB}" \
14441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14442 installcheck) \
14443 || exit 1
14445 @endif intl
14447 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14448 maybe-mostlyclean-intl:
14449 @if intl
14450 maybe-mostlyclean-intl: mostlyclean-intl
14452 mostlyclean-intl:
14453 @[ -f ./intl/Makefile ] || exit 0; \
14454 r=`${PWD_COMMAND}`; export r; \
14455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14456 $(HOST_EXPORTS) \
14457 for flag in $(EXTRA_HOST_FLAGS) ; do \
14458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14459 done; \
14460 echo "Doing mostlyclean in intl" ; \
14461 (cd $(HOST_SUBDIR)/intl && \
14462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14464 "RANLIB=$${RANLIB}" \
14465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14466 mostlyclean) \
14467 || exit 1
14469 @endif intl
14471 .PHONY: maybe-clean-intl clean-intl
14472 maybe-clean-intl:
14473 @if intl
14474 maybe-clean-intl: clean-intl
14476 clean-intl:
14477 @[ -f ./intl/Makefile ] || exit 0; \
14478 r=`${PWD_COMMAND}`; export r; \
14479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14480 $(HOST_EXPORTS) \
14481 for flag in $(EXTRA_HOST_FLAGS) ; do \
14482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14483 done; \
14484 echo "Doing clean in intl" ; \
14485 (cd $(HOST_SUBDIR)/intl && \
14486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14488 "RANLIB=$${RANLIB}" \
14489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14490 clean) \
14491 || exit 1
14493 @endif intl
14495 .PHONY: maybe-distclean-intl distclean-intl
14496 maybe-distclean-intl:
14497 @if intl
14498 maybe-distclean-intl: distclean-intl
14500 distclean-intl:
14501 @[ -f ./intl/Makefile ] || exit 0; \
14502 r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 for flag in $(EXTRA_HOST_FLAGS) ; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 done; \
14508 echo "Doing distclean in intl" ; \
14509 (cd $(HOST_SUBDIR)/intl && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 distclean) \
14515 || exit 1
14517 @endif intl
14519 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14520 maybe-maintainer-clean-intl:
14521 @if intl
14522 maybe-maintainer-clean-intl: maintainer-clean-intl
14524 maintainer-clean-intl:
14525 @[ -f ./intl/Makefile ] || exit 0; \
14526 r=`${PWD_COMMAND}`; export r; \
14527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528 $(HOST_EXPORTS) \
14529 for flag in $(EXTRA_HOST_FLAGS) ; do \
14530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14531 done; \
14532 echo "Doing maintainer-clean in intl" ; \
14533 (cd $(HOST_SUBDIR)/intl && \
14534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14536 "RANLIB=$${RANLIB}" \
14537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14538 maintainer-clean) \
14539 || exit 1
14541 @endif intl
14545 .PHONY: configure-tcl maybe-configure-tcl
14546 maybe-configure-tcl:
14547 @if tcl
14548 maybe-configure-tcl: configure-tcl
14549 configure-tcl:
14550 @: $(MAKE); $(unstage)
14551 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14553 r=`${PWD_COMMAND}`; export r; \
14554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14555 $(HOST_EXPORTS) \
14556 echo Configuring in $(HOST_SUBDIR)/tcl; \
14557 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14558 case $(srcdir) in \
14559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14560 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14562 esac; \
14563 srcdiroption="--srcdir=$${topdir}/tcl"; \
14564 libsrcdir="$$s/tcl"; \
14565 $(SHELL) $${libsrcdir}/configure \
14566 $(HOST_CONFIGARGS) $${srcdiroption} \
14567 || exit 1
14568 @endif tcl
14574 .PHONY: all-tcl maybe-all-tcl
14575 maybe-all-tcl:
14576 @if tcl
14577 TARGET-tcl=all
14578 maybe-all-tcl: all-tcl
14579 all-tcl: configure-tcl
14580 @: $(MAKE); $(unstage)
14581 @r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 $(HOST_EXPORTS) \
14584 (cd $(HOST_SUBDIR)/tcl && \
14585 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14586 @endif tcl
14591 .PHONY: check-tcl maybe-check-tcl
14592 maybe-check-tcl:
14593 @if tcl
14594 maybe-check-tcl: check-tcl
14596 check-tcl:
14597 @: $(MAKE); $(unstage)
14598 @r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14600 $(HOST_EXPORTS) \
14601 (cd $(HOST_SUBDIR)/tcl && \
14602 $(MAKE) $(FLAGS_TO_PASS) check)
14604 @endif tcl
14606 .PHONY: install-tcl maybe-install-tcl
14607 maybe-install-tcl:
14608 @if tcl
14609 maybe-install-tcl: install-tcl
14611 install-tcl: installdirs
14612 @: $(MAKE); $(unstage)
14613 @r=`${PWD_COMMAND}`; export r; \
14614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14615 $(HOST_EXPORTS) \
14616 (cd $(HOST_SUBDIR)/tcl && \
14617 $(MAKE) $(FLAGS_TO_PASS) install)
14619 @endif tcl
14621 # Other targets (info, dvi, etc.)
14623 .PHONY: maybe-info-tcl info-tcl
14624 maybe-info-tcl:
14625 @if tcl
14626 maybe-info-tcl: info-tcl
14628 info-tcl: \
14629 configure-tcl
14630 @: $(MAKE); $(unstage)
14631 @[ -f ./tcl/Makefile ] || exit 0; \
14632 r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14634 $(HOST_EXPORTS) \
14635 for flag in $(EXTRA_HOST_FLAGS) ; do \
14636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14637 done; \
14638 echo "Doing info in tcl" ; \
14639 (cd $(HOST_SUBDIR)/tcl && \
14640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14642 "RANLIB=$${RANLIB}" \
14643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14644 info) \
14645 || exit 1
14647 @endif tcl
14649 .PHONY: maybe-dvi-tcl dvi-tcl
14650 maybe-dvi-tcl:
14651 @if tcl
14652 maybe-dvi-tcl: dvi-tcl
14654 dvi-tcl: \
14655 configure-tcl
14656 @: $(MAKE); $(unstage)
14657 @[ -f ./tcl/Makefile ] || exit 0; \
14658 r=`${PWD_COMMAND}`; export r; \
14659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14660 $(HOST_EXPORTS) \
14661 for flag in $(EXTRA_HOST_FLAGS) ; do \
14662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14663 done; \
14664 echo "Doing dvi in tcl" ; \
14665 (cd $(HOST_SUBDIR)/tcl && \
14666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14668 "RANLIB=$${RANLIB}" \
14669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14670 dvi) \
14671 || exit 1
14673 @endif tcl
14675 .PHONY: maybe-html-tcl html-tcl
14676 maybe-html-tcl:
14677 @if tcl
14678 maybe-html-tcl: html-tcl
14680 html-tcl: \
14681 configure-tcl
14682 @: $(MAKE); $(unstage)
14683 @[ -f ./tcl/Makefile ] || exit 0; \
14684 r=`${PWD_COMMAND}`; export r; \
14685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14686 $(HOST_EXPORTS) \
14687 for flag in $(EXTRA_HOST_FLAGS) ; do \
14688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14689 done; \
14690 echo "Doing html in tcl" ; \
14691 (cd $(HOST_SUBDIR)/tcl && \
14692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14694 "RANLIB=$${RANLIB}" \
14695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14696 html) \
14697 || exit 1
14699 @endif tcl
14701 .PHONY: maybe-TAGS-tcl TAGS-tcl
14702 maybe-TAGS-tcl:
14703 @if tcl
14704 maybe-TAGS-tcl: TAGS-tcl
14706 TAGS-tcl: \
14707 configure-tcl
14708 @: $(MAKE); $(unstage)
14709 @[ -f ./tcl/Makefile ] || exit 0; \
14710 r=`${PWD_COMMAND}`; export r; \
14711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14712 $(HOST_EXPORTS) \
14713 for flag in $(EXTRA_HOST_FLAGS) ; do \
14714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14715 done; \
14716 echo "Doing TAGS in tcl" ; \
14717 (cd $(HOST_SUBDIR)/tcl && \
14718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14720 "RANLIB=$${RANLIB}" \
14721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14722 TAGS) \
14723 || exit 1
14725 @endif tcl
14727 .PHONY: maybe-install-info-tcl install-info-tcl
14728 maybe-install-info-tcl:
14729 @if tcl
14730 maybe-install-info-tcl: install-info-tcl
14732 install-info-tcl: \
14733 configure-tcl \
14734 info-tcl
14735 @: $(MAKE); $(unstage)
14736 @[ -f ./tcl/Makefile ] || exit 0; \
14737 r=`${PWD_COMMAND}`; export r; \
14738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14739 $(HOST_EXPORTS) \
14740 for flag in $(EXTRA_HOST_FLAGS) ; do \
14741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14742 done; \
14743 echo "Doing install-info in tcl" ; \
14744 (cd $(HOST_SUBDIR)/tcl && \
14745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14747 "RANLIB=$${RANLIB}" \
14748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14749 install-info) \
14750 || exit 1
14752 @endif tcl
14754 .PHONY: maybe-installcheck-tcl installcheck-tcl
14755 maybe-installcheck-tcl:
14756 @if tcl
14757 maybe-installcheck-tcl: installcheck-tcl
14759 installcheck-tcl: \
14760 configure-tcl
14761 @: $(MAKE); $(unstage)
14762 @[ -f ./tcl/Makefile ] || exit 0; \
14763 r=`${PWD_COMMAND}`; export r; \
14764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14765 $(HOST_EXPORTS) \
14766 for flag in $(EXTRA_HOST_FLAGS) ; do \
14767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14768 done; \
14769 echo "Doing installcheck in tcl" ; \
14770 (cd $(HOST_SUBDIR)/tcl && \
14771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14773 "RANLIB=$${RANLIB}" \
14774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14775 installcheck) \
14776 || exit 1
14778 @endif tcl
14780 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14781 maybe-mostlyclean-tcl:
14782 @if tcl
14783 maybe-mostlyclean-tcl: mostlyclean-tcl
14785 # tcl doesn't support mostlyclean.
14786 mostlyclean-tcl:
14788 @endif tcl
14790 .PHONY: maybe-clean-tcl clean-tcl
14791 maybe-clean-tcl:
14792 @if tcl
14793 maybe-clean-tcl: clean-tcl
14795 clean-tcl:
14796 @: $(MAKE); $(unstage)
14797 @[ -f ./tcl/Makefile ] || exit 0; \
14798 r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(HOST_EXPORTS) \
14801 for flag in $(EXTRA_HOST_FLAGS) ; do \
14802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14803 done; \
14804 echo "Doing clean in tcl" ; \
14805 (cd $(HOST_SUBDIR)/tcl && \
14806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14808 "RANLIB=$${RANLIB}" \
14809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14810 clean) \
14811 || exit 1
14813 @endif tcl
14815 .PHONY: maybe-distclean-tcl distclean-tcl
14816 maybe-distclean-tcl:
14817 @if tcl
14818 maybe-distclean-tcl: distclean-tcl
14820 distclean-tcl:
14821 @: $(MAKE); $(unstage)
14822 @[ -f ./tcl/Makefile ] || exit 0; \
14823 r=`${PWD_COMMAND}`; export r; \
14824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14825 $(HOST_EXPORTS) \
14826 for flag in $(EXTRA_HOST_FLAGS) ; do \
14827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14828 done; \
14829 echo "Doing distclean in tcl" ; \
14830 (cd $(HOST_SUBDIR)/tcl && \
14831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14833 "RANLIB=$${RANLIB}" \
14834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14835 distclean) \
14836 || exit 1
14838 @endif tcl
14840 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14841 maybe-maintainer-clean-tcl:
14842 @if tcl
14843 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14845 maintainer-clean-tcl:
14846 @: $(MAKE); $(unstage)
14847 @[ -f ./tcl/Makefile ] || exit 0; \
14848 r=`${PWD_COMMAND}`; export r; \
14849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14850 $(HOST_EXPORTS) \
14851 for flag in $(EXTRA_HOST_FLAGS) ; do \
14852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14853 done; \
14854 echo "Doing maintainer-clean in tcl" ; \
14855 (cd $(HOST_SUBDIR)/tcl && \
14856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14858 "RANLIB=$${RANLIB}" \
14859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14860 maintainer-clean) \
14861 || exit 1
14863 @endif tcl
14867 .PHONY: configure-itcl maybe-configure-itcl
14868 maybe-configure-itcl:
14869 @if itcl
14870 maybe-configure-itcl: configure-itcl
14871 configure-itcl:
14872 @: $(MAKE); $(unstage)
14873 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14875 r=`${PWD_COMMAND}`; export r; \
14876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 $(HOST_EXPORTS) \
14878 echo Configuring in $(HOST_SUBDIR)/itcl; \
14879 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14880 case $(srcdir) in \
14881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14882 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14884 esac; \
14885 srcdiroption="--srcdir=$${topdir}/itcl"; \
14886 libsrcdir="$$s/itcl"; \
14887 $(SHELL) $${libsrcdir}/configure \
14888 $(HOST_CONFIGARGS) $${srcdiroption} \
14889 || exit 1
14890 @endif itcl
14896 .PHONY: all-itcl maybe-all-itcl
14897 maybe-all-itcl:
14898 @if itcl
14899 TARGET-itcl=all
14900 maybe-all-itcl: all-itcl
14901 all-itcl: configure-itcl
14902 @: $(MAKE); $(unstage)
14903 @r=`${PWD_COMMAND}`; export r; \
14904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14905 $(HOST_EXPORTS) \
14906 (cd $(HOST_SUBDIR)/itcl && \
14907 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14908 @endif itcl
14913 .PHONY: check-itcl maybe-check-itcl
14914 maybe-check-itcl:
14915 @if itcl
14916 maybe-check-itcl: check-itcl
14918 check-itcl:
14919 @: $(MAKE); $(unstage)
14920 @r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 $(HOST_EXPORTS) \
14923 (cd $(HOST_SUBDIR)/itcl && \
14924 $(MAKE) $(FLAGS_TO_PASS) check)
14926 @endif itcl
14928 .PHONY: install-itcl maybe-install-itcl
14929 maybe-install-itcl:
14930 @if itcl
14931 maybe-install-itcl: install-itcl
14933 install-itcl: installdirs
14934 @: $(MAKE); $(unstage)
14935 @r=`${PWD_COMMAND}`; export r; \
14936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14937 $(HOST_EXPORTS) \
14938 (cd $(HOST_SUBDIR)/itcl && \
14939 $(MAKE) $(FLAGS_TO_PASS) install)
14941 @endif itcl
14943 # Other targets (info, dvi, etc.)
14945 .PHONY: maybe-info-itcl info-itcl
14946 maybe-info-itcl:
14947 @if itcl
14948 maybe-info-itcl: info-itcl
14950 info-itcl: \
14951 configure-itcl
14952 @: $(MAKE); $(unstage)
14953 @[ -f ./itcl/Makefile ] || exit 0; \
14954 r=`${PWD_COMMAND}`; export r; \
14955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14956 $(HOST_EXPORTS) \
14957 for flag in $(EXTRA_HOST_FLAGS) ; do \
14958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14959 done; \
14960 echo "Doing info in itcl" ; \
14961 (cd $(HOST_SUBDIR)/itcl && \
14962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14964 "RANLIB=$${RANLIB}" \
14965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14966 info) \
14967 || exit 1
14969 @endif itcl
14971 .PHONY: maybe-dvi-itcl dvi-itcl
14972 maybe-dvi-itcl:
14973 @if itcl
14974 maybe-dvi-itcl: dvi-itcl
14976 dvi-itcl: \
14977 configure-itcl
14978 @: $(MAKE); $(unstage)
14979 @[ -f ./itcl/Makefile ] || exit 0; \
14980 r=`${PWD_COMMAND}`; export r; \
14981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14982 $(HOST_EXPORTS) \
14983 for flag in $(EXTRA_HOST_FLAGS) ; do \
14984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14985 done; \
14986 echo "Doing dvi in itcl" ; \
14987 (cd $(HOST_SUBDIR)/itcl && \
14988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14990 "RANLIB=$${RANLIB}" \
14991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14992 dvi) \
14993 || exit 1
14995 @endif itcl
14997 .PHONY: maybe-html-itcl html-itcl
14998 maybe-html-itcl:
14999 @if itcl
15000 maybe-html-itcl: html-itcl
15002 html-itcl: \
15003 configure-itcl
15004 @: $(MAKE); $(unstage)
15005 @[ -f ./itcl/Makefile ] || exit 0; \
15006 r=`${PWD_COMMAND}`; export r; \
15007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15008 $(HOST_EXPORTS) \
15009 for flag in $(EXTRA_HOST_FLAGS) ; do \
15010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15011 done; \
15012 echo "Doing html in itcl" ; \
15013 (cd $(HOST_SUBDIR)/itcl && \
15014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15016 "RANLIB=$${RANLIB}" \
15017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15018 html) \
15019 || exit 1
15021 @endif itcl
15023 .PHONY: maybe-TAGS-itcl TAGS-itcl
15024 maybe-TAGS-itcl:
15025 @if itcl
15026 maybe-TAGS-itcl: TAGS-itcl
15028 TAGS-itcl: \
15029 configure-itcl
15030 @: $(MAKE); $(unstage)
15031 @[ -f ./itcl/Makefile ] || exit 0; \
15032 r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15034 $(HOST_EXPORTS) \
15035 for flag in $(EXTRA_HOST_FLAGS) ; do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037 done; \
15038 echo "Doing TAGS in itcl" ; \
15039 (cd $(HOST_SUBDIR)/itcl && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15044 TAGS) \
15045 || exit 1
15047 @endif itcl
15049 .PHONY: maybe-install-info-itcl install-info-itcl
15050 maybe-install-info-itcl:
15051 @if itcl
15052 maybe-install-info-itcl: install-info-itcl
15054 install-info-itcl: \
15055 configure-itcl \
15056 info-itcl
15057 @: $(MAKE); $(unstage)
15058 @[ -f ./itcl/Makefile ] || exit 0; \
15059 r=`${PWD_COMMAND}`; export r; \
15060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15061 $(HOST_EXPORTS) \
15062 for flag in $(EXTRA_HOST_FLAGS) ; do \
15063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15064 done; \
15065 echo "Doing install-info in itcl" ; \
15066 (cd $(HOST_SUBDIR)/itcl && \
15067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15069 "RANLIB=$${RANLIB}" \
15070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15071 install-info) \
15072 || exit 1
15074 @endif itcl
15076 .PHONY: maybe-installcheck-itcl installcheck-itcl
15077 maybe-installcheck-itcl:
15078 @if itcl
15079 maybe-installcheck-itcl: installcheck-itcl
15081 installcheck-itcl: \
15082 configure-itcl
15083 @: $(MAKE); $(unstage)
15084 @[ -f ./itcl/Makefile ] || exit 0; \
15085 r=`${PWD_COMMAND}`; export r; \
15086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15087 $(HOST_EXPORTS) \
15088 for flag in $(EXTRA_HOST_FLAGS) ; do \
15089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15090 done; \
15091 echo "Doing installcheck in itcl" ; \
15092 (cd $(HOST_SUBDIR)/itcl && \
15093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15095 "RANLIB=$${RANLIB}" \
15096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15097 installcheck) \
15098 || exit 1
15100 @endif itcl
15102 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15103 maybe-mostlyclean-itcl:
15104 @if itcl
15105 maybe-mostlyclean-itcl: mostlyclean-itcl
15107 mostlyclean-itcl:
15108 @: $(MAKE); $(unstage)
15109 @[ -f ./itcl/Makefile ] || exit 0; \
15110 r=`${PWD_COMMAND}`; export r; \
15111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15112 $(HOST_EXPORTS) \
15113 for flag in $(EXTRA_HOST_FLAGS) ; do \
15114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15115 done; \
15116 echo "Doing mostlyclean in itcl" ; \
15117 (cd $(HOST_SUBDIR)/itcl && \
15118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15120 "RANLIB=$${RANLIB}" \
15121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15122 mostlyclean) \
15123 || exit 1
15125 @endif itcl
15127 .PHONY: maybe-clean-itcl clean-itcl
15128 maybe-clean-itcl:
15129 @if itcl
15130 maybe-clean-itcl: clean-itcl
15132 clean-itcl:
15133 @: $(MAKE); $(unstage)
15134 @[ -f ./itcl/Makefile ] || exit 0; \
15135 r=`${PWD_COMMAND}`; export r; \
15136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15137 $(HOST_EXPORTS) \
15138 for flag in $(EXTRA_HOST_FLAGS) ; do \
15139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15140 done; \
15141 echo "Doing clean in itcl" ; \
15142 (cd $(HOST_SUBDIR)/itcl && \
15143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15145 "RANLIB=$${RANLIB}" \
15146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15147 clean) \
15148 || exit 1
15150 @endif itcl
15152 .PHONY: maybe-distclean-itcl distclean-itcl
15153 maybe-distclean-itcl:
15154 @if itcl
15155 maybe-distclean-itcl: distclean-itcl
15157 distclean-itcl:
15158 @: $(MAKE); $(unstage)
15159 @[ -f ./itcl/Makefile ] || exit 0; \
15160 r=`${PWD_COMMAND}`; export r; \
15161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15162 $(HOST_EXPORTS) \
15163 for flag in $(EXTRA_HOST_FLAGS) ; do \
15164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15165 done; \
15166 echo "Doing distclean in itcl" ; \
15167 (cd $(HOST_SUBDIR)/itcl && \
15168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15170 "RANLIB=$${RANLIB}" \
15171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15172 distclean) \
15173 || exit 1
15175 @endif itcl
15177 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15178 maybe-maintainer-clean-itcl:
15179 @if itcl
15180 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15182 maintainer-clean-itcl:
15183 @: $(MAKE); $(unstage)
15184 @[ -f ./itcl/Makefile ] || exit 0; \
15185 r=`${PWD_COMMAND}`; export r; \
15186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15187 $(HOST_EXPORTS) \
15188 for flag in $(EXTRA_HOST_FLAGS) ; do \
15189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15190 done; \
15191 echo "Doing maintainer-clean in itcl" ; \
15192 (cd $(HOST_SUBDIR)/itcl && \
15193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15195 "RANLIB=$${RANLIB}" \
15196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15197 maintainer-clean) \
15198 || exit 1
15200 @endif itcl
15204 .PHONY: configure-ld maybe-configure-ld
15205 maybe-configure-ld:
15206 @if ld
15207 maybe-configure-ld: configure-ld
15208 configure-ld:
15209 @test -f stage_last && exit 0; \
15210 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15212 r=`${PWD_COMMAND}`; export r; \
15213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15214 $(HOST_EXPORTS) \
15215 echo Configuring in $(HOST_SUBDIR)/ld; \
15216 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15217 case $(srcdir) in \
15218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15219 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15221 esac; \
15222 srcdiroption="--srcdir=$${topdir}/ld"; \
15223 libsrcdir="$$s/ld"; \
15224 $(SHELL) $${libsrcdir}/configure \
15225 $(HOST_CONFIGARGS) $${srcdiroption} \
15226 || exit 1
15227 @endif ld
15231 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15232 maybe-configure-stage1-ld:
15233 @if ld-bootstrap
15234 maybe-configure-stage1-ld: configure-stage1-ld
15235 configure-stage1-ld:
15236 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15238 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15239 $(HOST_EXPORTS) \
15240 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15242 cd $(HOST_SUBDIR)/ld || exit 1; \
15243 case $(srcdir) in \
15244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15245 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15247 esac; \
15248 srcdiroption="--srcdir=$${topdir}/ld"; \
15249 libsrcdir="$$s/ld"; \
15250 $(SHELL) $${libsrcdir}/configure \
15251 $(HOST_CONFIGARGS) $${srcdiroption} \
15252 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15253 @endif ld-bootstrap
15255 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15256 maybe-configure-stage2-ld:
15257 @if ld-bootstrap
15258 maybe-configure-stage2-ld: configure-stage2-ld
15259 configure-stage2-ld:
15260 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15262 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15263 $(HOST_EXPORTS) \
15264 $(POSTSTAGE1_HOST_EXPORTS) \
15265 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15267 cd $(HOST_SUBDIR)/ld || exit 1; \
15268 case $(srcdir) in \
15269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15270 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15272 esac; \
15273 srcdiroption="--srcdir=$${topdir}/ld"; \
15274 libsrcdir="$$s/ld"; \
15275 $(SHELL) $${libsrcdir}/configure \
15276 $(HOST_CONFIGARGS) $${srcdiroption} \
15277 @stage2_werror_flag@
15278 @endif ld-bootstrap
15280 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15281 maybe-configure-stage3-ld:
15282 @if ld-bootstrap
15283 maybe-configure-stage3-ld: configure-stage3-ld
15284 configure-stage3-ld:
15285 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15286 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15287 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15288 $(HOST_EXPORTS) \
15289 $(POSTSTAGE1_HOST_EXPORTS) \
15290 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15292 cd $(HOST_SUBDIR)/ld || exit 1; \
15293 case $(srcdir) in \
15294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15295 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15297 esac; \
15298 srcdiroption="--srcdir=$${topdir}/ld"; \
15299 libsrcdir="$$s/ld"; \
15300 $(SHELL) $${libsrcdir}/configure \
15301 $(HOST_CONFIGARGS) $${srcdiroption} \
15302 @stage2_werror_flag@
15303 @endif ld-bootstrap
15305 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15306 maybe-configure-stage4-ld:
15307 @if ld-bootstrap
15308 maybe-configure-stage4-ld: configure-stage4-ld
15309 configure-stage4-ld:
15310 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15311 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15312 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15313 $(HOST_EXPORTS) \
15314 $(POSTSTAGE1_HOST_EXPORTS) \
15315 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15317 cd $(HOST_SUBDIR)/ld || exit 1; \
15318 case $(srcdir) in \
15319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15320 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15322 esac; \
15323 srcdiroption="--srcdir=$${topdir}/ld"; \
15324 libsrcdir="$$s/ld"; \
15325 $(SHELL) $${libsrcdir}/configure \
15326 $(HOST_CONFIGARGS) $${srcdiroption} \
15327 @stage2_werror_flag@
15328 @endif ld-bootstrap
15330 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15331 maybe-configure-stageprofile-ld:
15332 @if ld-bootstrap
15333 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15334 configure-stageprofile-ld:
15335 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15337 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15338 $(HOST_EXPORTS) \
15339 $(POSTSTAGE1_HOST_EXPORTS) \
15340 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15341 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15342 cd $(HOST_SUBDIR)/ld || exit 1; \
15343 case $(srcdir) in \
15344 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15345 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15346 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15347 esac; \
15348 srcdiroption="--srcdir=$${topdir}/ld"; \
15349 libsrcdir="$$s/ld"; \
15350 $(SHELL) $${libsrcdir}/configure \
15351 $(HOST_CONFIGARGS) $${srcdiroption} \
15352 @stage2_werror_flag@
15353 @endif ld-bootstrap
15355 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15356 maybe-configure-stagefeedback-ld:
15357 @if ld-bootstrap
15358 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15359 configure-stagefeedback-ld:
15360 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15361 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15362 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15363 $(HOST_EXPORTS) \
15364 $(POSTSTAGE1_HOST_EXPORTS) \
15365 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15367 cd $(HOST_SUBDIR)/ld || exit 1; \
15368 case $(srcdir) in \
15369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15370 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15372 esac; \
15373 srcdiroption="--srcdir=$${topdir}/ld"; \
15374 libsrcdir="$$s/ld"; \
15375 $(SHELL) $${libsrcdir}/configure \
15376 $(HOST_CONFIGARGS) $${srcdiroption} \
15377 @stage2_werror_flag@
15378 @endif ld-bootstrap
15384 .PHONY: all-ld maybe-all-ld
15385 maybe-all-ld:
15386 @if ld
15387 TARGET-ld=all
15388 maybe-all-ld: all-ld
15389 all-ld: configure-ld
15390 @test -f stage_last && exit 0; \
15391 r=`${PWD_COMMAND}`; export r; \
15392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15393 $(HOST_EXPORTS) \
15394 (cd $(HOST_SUBDIR)/ld && \
15395 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15396 @endif ld
15400 .PHONY: all-stage1-ld maybe-all-stage1-ld
15401 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15402 maybe-all-stage1-ld:
15403 maybe-clean-stage1-ld:
15404 @if ld-bootstrap
15405 maybe-all-stage1-ld: all-stage1-ld
15406 all-stage1: all-stage1-ld
15407 TARGET-stage1-ld = $(TARGET-ld)
15408 all-stage1-ld: configure-stage1-ld
15409 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15410 @r=`${PWD_COMMAND}`; export r; \
15411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15412 $(HOST_EXPORTS) \
15413 cd $(HOST_SUBDIR)/ld && \
15414 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15415 $(TARGET-stage1-ld)
15417 maybe-clean-stage1-ld: clean-stage1-ld
15418 clean-stage1: clean-stage1-ld
15419 clean-stage1-ld:
15420 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15421 || exit 0 ; \
15422 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15423 cd $(HOST_SUBDIR)/ld && \
15424 $(MAKE) $(FLAGS_TO_PASS) \
15425 CFLAGS="$(STAGE1_CFLAGS)" clean
15426 @endif ld-bootstrap
15429 .PHONY: all-stage2-ld maybe-all-stage2-ld
15430 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15431 maybe-all-stage2-ld:
15432 maybe-clean-stage2-ld:
15433 @if ld-bootstrap
15434 maybe-all-stage2-ld: all-stage2-ld
15435 all-stage2: all-stage2-ld
15436 TARGET-stage2-ld = $(TARGET-ld)
15437 all-stage2-ld: configure-stage2-ld
15438 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15439 @r=`${PWD_COMMAND}`; export r; \
15440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15441 $(HOST_EXPORTS) \
15442 $(POSTSTAGE1_HOST_EXPORTS) \
15443 cd $(HOST_SUBDIR)/ld && \
15444 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15445 $(TARGET-stage2-ld)
15447 maybe-clean-stage2-ld: clean-stage2-ld
15448 clean-stage2: clean-stage2-ld
15449 clean-stage2-ld:
15450 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15451 || exit 0 ; \
15452 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15453 cd $(HOST_SUBDIR)/ld && \
15454 $(MAKE) $(FLAGS_TO_PASS) \
15455 $(POSTSTAGE1_FLAGS_TO_PASS) \
15456 clean
15457 @endif ld-bootstrap
15460 .PHONY: all-stage3-ld maybe-all-stage3-ld
15461 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15462 maybe-all-stage3-ld:
15463 maybe-clean-stage3-ld:
15464 @if ld-bootstrap
15465 maybe-all-stage3-ld: all-stage3-ld
15466 all-stage3: all-stage3-ld
15467 TARGET-stage3-ld = $(TARGET-ld)
15468 all-stage3-ld: configure-stage3-ld
15469 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15470 @r=`${PWD_COMMAND}`; export r; \
15471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15472 $(HOST_EXPORTS) \
15473 $(POSTSTAGE1_HOST_EXPORTS) \
15474 cd $(HOST_SUBDIR)/ld && \
15475 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15476 $(TARGET-stage3-ld)
15478 maybe-clean-stage3-ld: clean-stage3-ld
15479 clean-stage3: clean-stage3-ld
15480 clean-stage3-ld:
15481 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15482 || exit 0 ; \
15483 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15484 cd $(HOST_SUBDIR)/ld && \
15485 $(MAKE) $(FLAGS_TO_PASS) \
15486 $(POSTSTAGE1_FLAGS_TO_PASS) \
15487 clean
15488 @endif ld-bootstrap
15491 .PHONY: all-stage4-ld maybe-all-stage4-ld
15492 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15493 maybe-all-stage4-ld:
15494 maybe-clean-stage4-ld:
15495 @if ld-bootstrap
15496 maybe-all-stage4-ld: all-stage4-ld
15497 all-stage4: all-stage4-ld
15498 TARGET-stage4-ld = $(TARGET-ld)
15499 all-stage4-ld: configure-stage4-ld
15500 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15501 @r=`${PWD_COMMAND}`; export r; \
15502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 $(HOST_EXPORTS) \
15504 $(POSTSTAGE1_HOST_EXPORTS) \
15505 cd $(HOST_SUBDIR)/ld && \
15506 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15507 $(TARGET-stage4-ld)
15509 maybe-clean-stage4-ld: clean-stage4-ld
15510 clean-stage4: clean-stage4-ld
15511 clean-stage4-ld:
15512 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15513 || exit 0 ; \
15514 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15515 cd $(HOST_SUBDIR)/ld && \
15516 $(MAKE) $(FLAGS_TO_PASS) \
15517 $(POSTSTAGE1_FLAGS_TO_PASS) \
15518 clean
15519 @endif ld-bootstrap
15522 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15523 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15524 maybe-all-stageprofile-ld:
15525 maybe-clean-stageprofile-ld:
15526 @if ld-bootstrap
15527 maybe-all-stageprofile-ld: all-stageprofile-ld
15528 all-stageprofile: all-stageprofile-ld
15529 TARGET-stageprofile-ld = $(TARGET-ld)
15530 all-stageprofile-ld: configure-stageprofile-ld
15531 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15532 @r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 $(POSTSTAGE1_HOST_EXPORTS) \
15536 cd $(HOST_SUBDIR)/ld && \
15537 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15538 $(TARGET-stageprofile-ld)
15540 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15541 clean-stageprofile: clean-stageprofile-ld
15542 clean-stageprofile-ld:
15543 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15544 || exit 0 ; \
15545 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15546 cd $(HOST_SUBDIR)/ld && \
15547 $(MAKE) $(FLAGS_TO_PASS) \
15548 $(POSTSTAGE1_FLAGS_TO_PASS) \
15549 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15550 @endif ld-bootstrap
15553 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15554 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15555 maybe-all-stagefeedback-ld:
15556 maybe-clean-stagefeedback-ld:
15557 @if ld-bootstrap
15558 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15559 all-stagefeedback: all-stagefeedback-ld
15560 TARGET-stagefeedback-ld = $(TARGET-ld)
15561 all-stagefeedback-ld: configure-stagefeedback-ld
15562 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15563 @r=`${PWD_COMMAND}`; export r; \
15564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15565 $(HOST_EXPORTS) \
15566 $(POSTSTAGE1_HOST_EXPORTS) \
15567 cd $(HOST_SUBDIR)/ld && \
15568 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15569 $(TARGET-stagefeedback-ld)
15571 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15572 clean-stagefeedback: clean-stagefeedback-ld
15573 clean-stagefeedback-ld:
15574 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15575 || exit 0 ; \
15576 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15577 cd $(HOST_SUBDIR)/ld && \
15578 $(MAKE) $(FLAGS_TO_PASS) \
15579 $(POSTSTAGE1_FLAGS_TO_PASS) \
15580 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15581 @endif ld-bootstrap
15587 .PHONY: check-ld maybe-check-ld
15588 maybe-check-ld:
15589 @if ld
15590 maybe-check-ld: check-ld
15592 check-ld:
15593 @: $(MAKE); $(unstage)
15594 @r=`${PWD_COMMAND}`; export r; \
15595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15596 $(HOST_EXPORTS) \
15597 (cd $(HOST_SUBDIR)/ld && \
15598 $(MAKE) $(FLAGS_TO_PASS) check)
15600 @endif ld
15602 .PHONY: install-ld maybe-install-ld
15603 maybe-install-ld:
15604 @if ld
15605 maybe-install-ld: install-ld
15607 install-ld: installdirs
15608 @: $(MAKE); $(unstage)
15609 @r=`${PWD_COMMAND}`; export r; \
15610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15611 $(HOST_EXPORTS) \
15612 (cd $(HOST_SUBDIR)/ld && \
15613 $(MAKE) $(FLAGS_TO_PASS) install)
15615 @endif ld
15617 # Other targets (info, dvi, etc.)
15619 .PHONY: maybe-info-ld info-ld
15620 maybe-info-ld:
15621 @if ld
15622 maybe-info-ld: info-ld
15624 info-ld: \
15625 configure-ld
15626 @[ -f ./ld/Makefile ] || exit 0; \
15627 r=`${PWD_COMMAND}`; export r; \
15628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15629 $(HOST_EXPORTS) \
15630 for flag in $(EXTRA_HOST_FLAGS) ; do \
15631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15632 done; \
15633 echo "Doing info in ld" ; \
15634 (cd $(HOST_SUBDIR)/ld && \
15635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15637 "RANLIB=$${RANLIB}" \
15638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15639 info) \
15640 || exit 1
15642 @endif ld
15644 .PHONY: maybe-dvi-ld dvi-ld
15645 maybe-dvi-ld:
15646 @if ld
15647 maybe-dvi-ld: dvi-ld
15649 dvi-ld: \
15650 configure-ld
15651 @[ -f ./ld/Makefile ] || exit 0; \
15652 r=`${PWD_COMMAND}`; export r; \
15653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15654 $(HOST_EXPORTS) \
15655 for flag in $(EXTRA_HOST_FLAGS) ; do \
15656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15657 done; \
15658 echo "Doing dvi in ld" ; \
15659 (cd $(HOST_SUBDIR)/ld && \
15660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15662 "RANLIB=$${RANLIB}" \
15663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15664 dvi) \
15665 || exit 1
15667 @endif ld
15669 .PHONY: maybe-html-ld html-ld
15670 maybe-html-ld:
15671 @if ld
15672 maybe-html-ld: html-ld
15674 html-ld: \
15675 configure-ld
15676 @[ -f ./ld/Makefile ] || exit 0; \
15677 r=`${PWD_COMMAND}`; export r; \
15678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15679 $(HOST_EXPORTS) \
15680 for flag in $(EXTRA_HOST_FLAGS) ; do \
15681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15682 done; \
15683 echo "Doing html in ld" ; \
15684 (cd $(HOST_SUBDIR)/ld && \
15685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15687 "RANLIB=$${RANLIB}" \
15688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15689 html) \
15690 || exit 1
15692 @endif ld
15694 .PHONY: maybe-TAGS-ld TAGS-ld
15695 maybe-TAGS-ld:
15696 @if ld
15697 maybe-TAGS-ld: TAGS-ld
15699 TAGS-ld: \
15700 configure-ld
15701 @[ -f ./ld/Makefile ] || exit 0; \
15702 r=`${PWD_COMMAND}`; export r; \
15703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15704 $(HOST_EXPORTS) \
15705 for flag in $(EXTRA_HOST_FLAGS) ; do \
15706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15707 done; \
15708 echo "Doing TAGS in ld" ; \
15709 (cd $(HOST_SUBDIR)/ld && \
15710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15712 "RANLIB=$${RANLIB}" \
15713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15714 TAGS) \
15715 || exit 1
15717 @endif ld
15719 .PHONY: maybe-install-info-ld install-info-ld
15720 maybe-install-info-ld:
15721 @if ld
15722 maybe-install-info-ld: install-info-ld
15724 install-info-ld: \
15725 configure-ld \
15726 info-ld
15727 @[ -f ./ld/Makefile ] || exit 0; \
15728 r=`${PWD_COMMAND}`; export r; \
15729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15730 $(HOST_EXPORTS) \
15731 for flag in $(EXTRA_HOST_FLAGS) ; do \
15732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15733 done; \
15734 echo "Doing install-info in ld" ; \
15735 (cd $(HOST_SUBDIR)/ld && \
15736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15738 "RANLIB=$${RANLIB}" \
15739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15740 install-info) \
15741 || exit 1
15743 @endif ld
15745 .PHONY: maybe-installcheck-ld installcheck-ld
15746 maybe-installcheck-ld:
15747 @if ld
15748 maybe-installcheck-ld: installcheck-ld
15750 installcheck-ld: \
15751 configure-ld
15752 @[ -f ./ld/Makefile ] || exit 0; \
15753 r=`${PWD_COMMAND}`; export r; \
15754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15755 $(HOST_EXPORTS) \
15756 for flag in $(EXTRA_HOST_FLAGS) ; do \
15757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15758 done; \
15759 echo "Doing installcheck in ld" ; \
15760 (cd $(HOST_SUBDIR)/ld && \
15761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15763 "RANLIB=$${RANLIB}" \
15764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15765 installcheck) \
15766 || exit 1
15768 @endif ld
15770 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15771 maybe-mostlyclean-ld:
15772 @if ld
15773 maybe-mostlyclean-ld: mostlyclean-ld
15775 mostlyclean-ld:
15776 @[ -f ./ld/Makefile ] || exit 0; \
15777 r=`${PWD_COMMAND}`; export r; \
15778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15779 $(HOST_EXPORTS) \
15780 for flag in $(EXTRA_HOST_FLAGS) ; do \
15781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15782 done; \
15783 echo "Doing mostlyclean in ld" ; \
15784 (cd $(HOST_SUBDIR)/ld && \
15785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15787 "RANLIB=$${RANLIB}" \
15788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15789 mostlyclean) \
15790 || exit 1
15792 @endif ld
15794 .PHONY: maybe-clean-ld clean-ld
15795 maybe-clean-ld:
15796 @if ld
15797 maybe-clean-ld: clean-ld
15799 clean-ld:
15800 @[ -f ./ld/Makefile ] || exit 0; \
15801 r=`${PWD_COMMAND}`; export r; \
15802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15803 $(HOST_EXPORTS) \
15804 for flag in $(EXTRA_HOST_FLAGS) ; do \
15805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15806 done; \
15807 echo "Doing clean in ld" ; \
15808 (cd $(HOST_SUBDIR)/ld && \
15809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15811 "RANLIB=$${RANLIB}" \
15812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15813 clean) \
15814 || exit 1
15816 @endif ld
15818 .PHONY: maybe-distclean-ld distclean-ld
15819 maybe-distclean-ld:
15820 @if ld
15821 maybe-distclean-ld: distclean-ld
15823 distclean-ld:
15824 @[ -f ./ld/Makefile ] || exit 0; \
15825 r=`${PWD_COMMAND}`; export r; \
15826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15827 $(HOST_EXPORTS) \
15828 for flag in $(EXTRA_HOST_FLAGS) ; do \
15829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15830 done; \
15831 echo "Doing distclean in ld" ; \
15832 (cd $(HOST_SUBDIR)/ld && \
15833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15835 "RANLIB=$${RANLIB}" \
15836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15837 distclean) \
15838 || exit 1
15840 @endif ld
15842 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15843 maybe-maintainer-clean-ld:
15844 @if ld
15845 maybe-maintainer-clean-ld: maintainer-clean-ld
15847 maintainer-clean-ld:
15848 @[ -f ./ld/Makefile ] || exit 0; \
15849 r=`${PWD_COMMAND}`; export r; \
15850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15851 $(HOST_EXPORTS) \
15852 for flag in $(EXTRA_HOST_FLAGS) ; do \
15853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15854 done; \
15855 echo "Doing maintainer-clean in ld" ; \
15856 (cd $(HOST_SUBDIR)/ld && \
15857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15859 "RANLIB=$${RANLIB}" \
15860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15861 maintainer-clean) \
15862 || exit 1
15864 @endif ld
15868 .PHONY: configure-libcpp maybe-configure-libcpp
15869 maybe-configure-libcpp:
15870 @if libcpp
15871 maybe-configure-libcpp: configure-libcpp
15872 configure-libcpp:
15873 @test -f stage_last && exit 0; \
15874 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15876 r=`${PWD_COMMAND}`; export r; \
15877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15878 $(HOST_EXPORTS) \
15879 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15880 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15881 case $(srcdir) in \
15882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15883 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15885 esac; \
15886 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15887 libsrcdir="$$s/libcpp"; \
15888 $(SHELL) $${libsrcdir}/configure \
15889 $(HOST_CONFIGARGS) $${srcdiroption} \
15890 || exit 1
15891 @endif libcpp
15895 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15896 maybe-configure-stage1-libcpp:
15897 @if libcpp-bootstrap
15898 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15899 configure-stage1-libcpp:
15900 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15901 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15902 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15903 $(HOST_EXPORTS) \
15904 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15906 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15907 case $(srcdir) in \
15908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15909 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15911 esac; \
15912 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15913 libsrcdir="$$s/libcpp"; \
15914 $(SHELL) $${libsrcdir}/configure \
15915 $(HOST_CONFIGARGS) $${srcdiroption} \
15916 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15917 @endif libcpp-bootstrap
15919 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15920 maybe-configure-stage2-libcpp:
15921 @if libcpp-bootstrap
15922 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15923 configure-stage2-libcpp:
15924 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15926 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15927 $(HOST_EXPORTS) \
15928 $(POSTSTAGE1_HOST_EXPORTS) \
15929 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15931 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15932 case $(srcdir) in \
15933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15934 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15936 esac; \
15937 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15938 libsrcdir="$$s/libcpp"; \
15939 $(SHELL) $${libsrcdir}/configure \
15940 $(HOST_CONFIGARGS) $${srcdiroption} \
15941 @stage2_werror_flag@
15942 @endif libcpp-bootstrap
15944 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15945 maybe-configure-stage3-libcpp:
15946 @if libcpp-bootstrap
15947 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15948 configure-stage3-libcpp:
15949 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15951 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15952 $(HOST_EXPORTS) \
15953 $(POSTSTAGE1_HOST_EXPORTS) \
15954 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15956 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15957 case $(srcdir) in \
15958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15959 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15961 esac; \
15962 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15963 libsrcdir="$$s/libcpp"; \
15964 $(SHELL) $${libsrcdir}/configure \
15965 $(HOST_CONFIGARGS) $${srcdiroption} \
15966 @stage2_werror_flag@
15967 @endif libcpp-bootstrap
15969 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15970 maybe-configure-stage4-libcpp:
15971 @if libcpp-bootstrap
15972 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15973 configure-stage4-libcpp:
15974 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15975 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15976 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15977 $(HOST_EXPORTS) \
15978 $(POSTSTAGE1_HOST_EXPORTS) \
15979 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15981 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15982 case $(srcdir) in \
15983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15984 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15986 esac; \
15987 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15988 libsrcdir="$$s/libcpp"; \
15989 $(SHELL) $${libsrcdir}/configure \
15990 $(HOST_CONFIGARGS) $${srcdiroption} \
15991 @stage2_werror_flag@
15992 @endif libcpp-bootstrap
15994 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15995 maybe-configure-stageprofile-libcpp:
15996 @if libcpp-bootstrap
15997 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15998 configure-stageprofile-libcpp:
15999 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16001 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16002 $(HOST_EXPORTS) \
16003 $(POSTSTAGE1_HOST_EXPORTS) \
16004 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16006 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16007 case $(srcdir) in \
16008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16009 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16011 esac; \
16012 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16013 libsrcdir="$$s/libcpp"; \
16014 $(SHELL) $${libsrcdir}/configure \
16015 $(HOST_CONFIGARGS) $${srcdiroption} \
16016 @stage2_werror_flag@
16017 @endif libcpp-bootstrap
16019 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16020 maybe-configure-stagefeedback-libcpp:
16021 @if libcpp-bootstrap
16022 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16023 configure-stagefeedback-libcpp:
16024 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16025 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16026 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16027 $(HOST_EXPORTS) \
16028 $(POSTSTAGE1_HOST_EXPORTS) \
16029 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16030 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16031 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16032 case $(srcdir) in \
16033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16034 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16036 esac; \
16037 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16038 libsrcdir="$$s/libcpp"; \
16039 $(SHELL) $${libsrcdir}/configure \
16040 $(HOST_CONFIGARGS) $${srcdiroption} \
16041 @stage2_werror_flag@
16042 @endif libcpp-bootstrap
16048 .PHONY: all-libcpp maybe-all-libcpp
16049 maybe-all-libcpp:
16050 @if libcpp
16051 TARGET-libcpp=all
16052 maybe-all-libcpp: all-libcpp
16053 all-libcpp: configure-libcpp
16054 @test -f stage_last && exit 0; \
16055 r=`${PWD_COMMAND}`; export r; \
16056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16057 $(HOST_EXPORTS) \
16058 (cd $(HOST_SUBDIR)/libcpp && \
16059 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16060 @endif libcpp
16064 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16065 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16066 maybe-all-stage1-libcpp:
16067 maybe-clean-stage1-libcpp:
16068 @if libcpp-bootstrap
16069 maybe-all-stage1-libcpp: all-stage1-libcpp
16070 all-stage1: all-stage1-libcpp
16071 TARGET-stage1-libcpp = $(TARGET-libcpp)
16072 all-stage1-libcpp: configure-stage1-libcpp
16073 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16074 @r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 $(HOST_EXPORTS) \
16077 cd $(HOST_SUBDIR)/libcpp && \
16078 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16079 $(TARGET-stage1-libcpp)
16081 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16082 clean-stage1: clean-stage1-libcpp
16083 clean-stage1-libcpp:
16084 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16085 || exit 0 ; \
16086 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16087 cd $(HOST_SUBDIR)/libcpp && \
16088 $(MAKE) $(FLAGS_TO_PASS) \
16089 CFLAGS="$(STAGE1_CFLAGS)" clean
16090 @endif libcpp-bootstrap
16093 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16094 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16095 maybe-all-stage2-libcpp:
16096 maybe-clean-stage2-libcpp:
16097 @if libcpp-bootstrap
16098 maybe-all-stage2-libcpp: all-stage2-libcpp
16099 all-stage2: all-stage2-libcpp
16100 TARGET-stage2-libcpp = $(TARGET-libcpp)
16101 all-stage2-libcpp: configure-stage2-libcpp
16102 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16103 @r=`${PWD_COMMAND}`; export r; \
16104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16105 $(HOST_EXPORTS) \
16106 $(POSTSTAGE1_HOST_EXPORTS) \
16107 cd $(HOST_SUBDIR)/libcpp && \
16108 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16109 $(TARGET-stage2-libcpp)
16111 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16112 clean-stage2: clean-stage2-libcpp
16113 clean-stage2-libcpp:
16114 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16115 || exit 0 ; \
16116 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16117 cd $(HOST_SUBDIR)/libcpp && \
16118 $(MAKE) $(FLAGS_TO_PASS) \
16119 $(POSTSTAGE1_FLAGS_TO_PASS) \
16120 clean
16121 @endif libcpp-bootstrap
16124 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16125 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16126 maybe-all-stage3-libcpp:
16127 maybe-clean-stage3-libcpp:
16128 @if libcpp-bootstrap
16129 maybe-all-stage3-libcpp: all-stage3-libcpp
16130 all-stage3: all-stage3-libcpp
16131 TARGET-stage3-libcpp = $(TARGET-libcpp)
16132 all-stage3-libcpp: configure-stage3-libcpp
16133 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16134 @r=`${PWD_COMMAND}`; export r; \
16135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16136 $(HOST_EXPORTS) \
16137 $(POSTSTAGE1_HOST_EXPORTS) \
16138 cd $(HOST_SUBDIR)/libcpp && \
16139 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16140 $(TARGET-stage3-libcpp)
16142 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16143 clean-stage3: clean-stage3-libcpp
16144 clean-stage3-libcpp:
16145 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16146 || exit 0 ; \
16147 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16148 cd $(HOST_SUBDIR)/libcpp && \
16149 $(MAKE) $(FLAGS_TO_PASS) \
16150 $(POSTSTAGE1_FLAGS_TO_PASS) \
16151 clean
16152 @endif libcpp-bootstrap
16155 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16156 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16157 maybe-all-stage4-libcpp:
16158 maybe-clean-stage4-libcpp:
16159 @if libcpp-bootstrap
16160 maybe-all-stage4-libcpp: all-stage4-libcpp
16161 all-stage4: all-stage4-libcpp
16162 TARGET-stage4-libcpp = $(TARGET-libcpp)
16163 all-stage4-libcpp: configure-stage4-libcpp
16164 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16165 @r=`${PWD_COMMAND}`; export r; \
16166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16167 $(HOST_EXPORTS) \
16168 $(POSTSTAGE1_HOST_EXPORTS) \
16169 cd $(HOST_SUBDIR)/libcpp && \
16170 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16171 $(TARGET-stage4-libcpp)
16173 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16174 clean-stage4: clean-stage4-libcpp
16175 clean-stage4-libcpp:
16176 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16177 || exit 0 ; \
16178 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16179 cd $(HOST_SUBDIR)/libcpp && \
16180 $(MAKE) $(FLAGS_TO_PASS) \
16181 $(POSTSTAGE1_FLAGS_TO_PASS) \
16182 clean
16183 @endif libcpp-bootstrap
16186 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16187 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16188 maybe-all-stageprofile-libcpp:
16189 maybe-clean-stageprofile-libcpp:
16190 @if libcpp-bootstrap
16191 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16192 all-stageprofile: all-stageprofile-libcpp
16193 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16194 all-stageprofile-libcpp: configure-stageprofile-libcpp
16195 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16196 @r=`${PWD_COMMAND}`; export r; \
16197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16198 $(HOST_EXPORTS) \
16199 $(POSTSTAGE1_HOST_EXPORTS) \
16200 cd $(HOST_SUBDIR)/libcpp && \
16201 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16202 $(TARGET-stageprofile-libcpp)
16204 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16205 clean-stageprofile: clean-stageprofile-libcpp
16206 clean-stageprofile-libcpp:
16207 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16208 || exit 0 ; \
16209 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16210 cd $(HOST_SUBDIR)/libcpp && \
16211 $(MAKE) $(FLAGS_TO_PASS) \
16212 $(POSTSTAGE1_FLAGS_TO_PASS) \
16213 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16214 @endif libcpp-bootstrap
16217 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16218 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16219 maybe-all-stagefeedback-libcpp:
16220 maybe-clean-stagefeedback-libcpp:
16221 @if libcpp-bootstrap
16222 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16223 all-stagefeedback: all-stagefeedback-libcpp
16224 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16225 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16226 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16227 @r=`${PWD_COMMAND}`; export r; \
16228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16229 $(HOST_EXPORTS) \
16230 $(POSTSTAGE1_HOST_EXPORTS) \
16231 cd $(HOST_SUBDIR)/libcpp && \
16232 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16233 $(TARGET-stagefeedback-libcpp)
16235 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16236 clean-stagefeedback: clean-stagefeedback-libcpp
16237 clean-stagefeedback-libcpp:
16238 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16239 || exit 0 ; \
16240 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16241 cd $(HOST_SUBDIR)/libcpp && \
16242 $(MAKE) $(FLAGS_TO_PASS) \
16243 $(POSTSTAGE1_FLAGS_TO_PASS) \
16244 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16245 @endif libcpp-bootstrap
16251 .PHONY: check-libcpp maybe-check-libcpp
16252 maybe-check-libcpp:
16253 @if libcpp
16254 maybe-check-libcpp: check-libcpp
16256 check-libcpp:
16257 @: $(MAKE); $(unstage)
16258 @r=`${PWD_COMMAND}`; export r; \
16259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16260 $(HOST_EXPORTS) \
16261 (cd $(HOST_SUBDIR)/libcpp && \
16262 $(MAKE) $(FLAGS_TO_PASS) check)
16264 @endif libcpp
16266 .PHONY: install-libcpp maybe-install-libcpp
16267 maybe-install-libcpp:
16268 @if libcpp
16269 maybe-install-libcpp: install-libcpp
16271 install-libcpp: installdirs
16272 @: $(MAKE); $(unstage)
16273 @r=`${PWD_COMMAND}`; export r; \
16274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16275 $(HOST_EXPORTS) \
16276 (cd $(HOST_SUBDIR)/libcpp && \
16277 $(MAKE) $(FLAGS_TO_PASS) install)
16279 @endif libcpp
16281 # Other targets (info, dvi, etc.)
16283 .PHONY: maybe-info-libcpp info-libcpp
16284 maybe-info-libcpp:
16285 @if libcpp
16286 maybe-info-libcpp: info-libcpp
16288 info-libcpp: \
16289 configure-libcpp
16290 @[ -f ./libcpp/Makefile ] || exit 0; \
16291 r=`${PWD_COMMAND}`; export r; \
16292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16293 $(HOST_EXPORTS) \
16294 for flag in $(EXTRA_HOST_FLAGS) ; do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16296 done; \
16297 echo "Doing info in libcpp" ; \
16298 (cd $(HOST_SUBDIR)/libcpp && \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16303 info) \
16304 || exit 1
16306 @endif libcpp
16308 .PHONY: maybe-dvi-libcpp dvi-libcpp
16309 maybe-dvi-libcpp:
16310 @if libcpp
16311 maybe-dvi-libcpp: dvi-libcpp
16313 dvi-libcpp: \
16314 configure-libcpp
16315 @[ -f ./libcpp/Makefile ] || exit 0; \
16316 r=`${PWD_COMMAND}`; export r; \
16317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16318 $(HOST_EXPORTS) \
16319 for flag in $(EXTRA_HOST_FLAGS) ; do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 done; \
16322 echo "Doing dvi in libcpp" ; \
16323 (cd $(HOST_SUBDIR)/libcpp && \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 dvi) \
16329 || exit 1
16331 @endif libcpp
16333 .PHONY: maybe-html-libcpp html-libcpp
16334 maybe-html-libcpp:
16335 @if libcpp
16336 maybe-html-libcpp: html-libcpp
16338 html-libcpp: \
16339 configure-libcpp
16340 @[ -f ./libcpp/Makefile ] || exit 0; \
16341 r=`${PWD_COMMAND}`; export r; \
16342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 $(HOST_EXPORTS) \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 done; \
16347 echo "Doing html in libcpp" ; \
16348 (cd $(HOST_SUBDIR)/libcpp && \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16353 html) \
16354 || exit 1
16356 @endif libcpp
16358 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16359 maybe-TAGS-libcpp:
16360 @if libcpp
16361 maybe-TAGS-libcpp: TAGS-libcpp
16363 TAGS-libcpp: \
16364 configure-libcpp
16365 @[ -f ./libcpp/Makefile ] || exit 0; \
16366 r=`${PWD_COMMAND}`; export r; \
16367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 $(HOST_EXPORTS) \
16369 for flag in $(EXTRA_HOST_FLAGS) ; do \
16370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16371 done; \
16372 echo "Doing TAGS in libcpp" ; \
16373 (cd $(HOST_SUBDIR)/libcpp && \
16374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16376 "RANLIB=$${RANLIB}" \
16377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16378 TAGS) \
16379 || exit 1
16381 @endif libcpp
16383 .PHONY: maybe-install-info-libcpp install-info-libcpp
16384 maybe-install-info-libcpp:
16385 @if libcpp
16386 maybe-install-info-libcpp: install-info-libcpp
16388 install-info-libcpp: \
16389 configure-libcpp \
16390 info-libcpp
16391 @[ -f ./libcpp/Makefile ] || exit 0; \
16392 r=`${PWD_COMMAND}`; export r; \
16393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16394 $(HOST_EXPORTS) \
16395 for flag in $(EXTRA_HOST_FLAGS) ; do \
16396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16397 done; \
16398 echo "Doing install-info in libcpp" ; \
16399 (cd $(HOST_SUBDIR)/libcpp && \
16400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16402 "RANLIB=$${RANLIB}" \
16403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16404 install-info) \
16405 || exit 1
16407 @endif libcpp
16409 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16410 maybe-installcheck-libcpp:
16411 @if libcpp
16412 maybe-installcheck-libcpp: installcheck-libcpp
16414 installcheck-libcpp: \
16415 configure-libcpp
16416 @[ -f ./libcpp/Makefile ] || exit 0; \
16417 r=`${PWD_COMMAND}`; export r; \
16418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16419 $(HOST_EXPORTS) \
16420 for flag in $(EXTRA_HOST_FLAGS) ; do \
16421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16422 done; \
16423 echo "Doing installcheck in libcpp" ; \
16424 (cd $(HOST_SUBDIR)/libcpp && \
16425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16427 "RANLIB=$${RANLIB}" \
16428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16429 installcheck) \
16430 || exit 1
16432 @endif libcpp
16434 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16435 maybe-mostlyclean-libcpp:
16436 @if libcpp
16437 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16439 mostlyclean-libcpp:
16440 @[ -f ./libcpp/Makefile ] || exit 0; \
16441 r=`${PWD_COMMAND}`; export r; \
16442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 $(HOST_EXPORTS) \
16444 for flag in $(EXTRA_HOST_FLAGS) ; do \
16445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16446 done; \
16447 echo "Doing mostlyclean in libcpp" ; \
16448 (cd $(HOST_SUBDIR)/libcpp && \
16449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16451 "RANLIB=$${RANLIB}" \
16452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16453 mostlyclean) \
16454 || exit 1
16456 @endif libcpp
16458 .PHONY: maybe-clean-libcpp clean-libcpp
16459 maybe-clean-libcpp:
16460 @if libcpp
16461 maybe-clean-libcpp: clean-libcpp
16463 clean-libcpp:
16464 @[ -f ./libcpp/Makefile ] || exit 0; \
16465 r=`${PWD_COMMAND}`; export r; \
16466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16467 $(HOST_EXPORTS) \
16468 for flag in $(EXTRA_HOST_FLAGS) ; do \
16469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16470 done; \
16471 echo "Doing clean in libcpp" ; \
16472 (cd $(HOST_SUBDIR)/libcpp && \
16473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475 "RANLIB=$${RANLIB}" \
16476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16477 clean) \
16478 || exit 1
16480 @endif libcpp
16482 .PHONY: maybe-distclean-libcpp distclean-libcpp
16483 maybe-distclean-libcpp:
16484 @if libcpp
16485 maybe-distclean-libcpp: distclean-libcpp
16487 distclean-libcpp:
16488 @[ -f ./libcpp/Makefile ] || exit 0; \
16489 r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16491 $(HOST_EXPORTS) \
16492 for flag in $(EXTRA_HOST_FLAGS) ; do \
16493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16494 done; \
16495 echo "Doing distclean in libcpp" ; \
16496 (cd $(HOST_SUBDIR)/libcpp && \
16497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16499 "RANLIB=$${RANLIB}" \
16500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16501 distclean) \
16502 || exit 1
16504 @endif libcpp
16506 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16507 maybe-maintainer-clean-libcpp:
16508 @if libcpp
16509 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16511 maintainer-clean-libcpp:
16512 @[ -f ./libcpp/Makefile ] || exit 0; \
16513 r=`${PWD_COMMAND}`; export r; \
16514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16515 $(HOST_EXPORTS) \
16516 for flag in $(EXTRA_HOST_FLAGS) ; do \
16517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16518 done; \
16519 echo "Doing maintainer-clean in libcpp" ; \
16520 (cd $(HOST_SUBDIR)/libcpp && \
16521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16523 "RANLIB=$${RANLIB}" \
16524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16525 maintainer-clean) \
16526 || exit 1
16528 @endif libcpp
16532 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16533 maybe-configure-libdecnumber:
16534 @if libdecnumber
16535 maybe-configure-libdecnumber: configure-libdecnumber
16536 configure-libdecnumber:
16537 @test -f stage_last && exit 0; \
16538 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16540 r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(HOST_EXPORTS) \
16543 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16544 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16545 case $(srcdir) in \
16546 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16547 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16548 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16549 esac; \
16550 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16551 libsrcdir="$$s/libdecnumber"; \
16552 $(SHELL) $${libsrcdir}/configure \
16553 $(HOST_CONFIGARGS) $${srcdiroption} \
16554 || exit 1
16555 @endif libdecnumber
16559 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16560 maybe-configure-stage1-libdecnumber:
16561 @if libdecnumber-bootstrap
16562 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16563 configure-stage1-libdecnumber:
16564 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16565 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16566 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16567 $(HOST_EXPORTS) \
16568 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16569 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16570 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16571 case $(srcdir) in \
16572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16573 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16575 esac; \
16576 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16577 libsrcdir="$$s/libdecnumber"; \
16578 $(SHELL) $${libsrcdir}/configure \
16579 $(HOST_CONFIGARGS) $${srcdiroption} \
16580 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16581 @endif libdecnumber-bootstrap
16583 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16584 maybe-configure-stage2-libdecnumber:
16585 @if libdecnumber-bootstrap
16586 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16587 configure-stage2-libdecnumber:
16588 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16589 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16590 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16591 $(HOST_EXPORTS) \
16592 $(POSTSTAGE1_HOST_EXPORTS) \
16593 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16595 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16596 case $(srcdir) in \
16597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16598 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16600 esac; \
16601 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16602 libsrcdir="$$s/libdecnumber"; \
16603 $(SHELL) $${libsrcdir}/configure \
16604 $(HOST_CONFIGARGS) $${srcdiroption} \
16605 @stage2_werror_flag@
16606 @endif libdecnumber-bootstrap
16608 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16609 maybe-configure-stage3-libdecnumber:
16610 @if libdecnumber-bootstrap
16611 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16612 configure-stage3-libdecnumber:
16613 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16614 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16615 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16616 $(HOST_EXPORTS) \
16617 $(POSTSTAGE1_HOST_EXPORTS) \
16618 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16620 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16621 case $(srcdir) in \
16622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16623 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16625 esac; \
16626 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16627 libsrcdir="$$s/libdecnumber"; \
16628 $(SHELL) $${libsrcdir}/configure \
16629 $(HOST_CONFIGARGS) $${srcdiroption} \
16630 @stage2_werror_flag@
16631 @endif libdecnumber-bootstrap
16633 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16634 maybe-configure-stage4-libdecnumber:
16635 @if libdecnumber-bootstrap
16636 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16637 configure-stage4-libdecnumber:
16638 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16639 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16640 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16641 $(HOST_EXPORTS) \
16642 $(POSTSTAGE1_HOST_EXPORTS) \
16643 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16644 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16645 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16646 case $(srcdir) in \
16647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16648 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16650 esac; \
16651 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16652 libsrcdir="$$s/libdecnumber"; \
16653 $(SHELL) $${libsrcdir}/configure \
16654 $(HOST_CONFIGARGS) $${srcdiroption} \
16655 @stage2_werror_flag@
16656 @endif libdecnumber-bootstrap
16658 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16659 maybe-configure-stageprofile-libdecnumber:
16660 @if libdecnumber-bootstrap
16661 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16662 configure-stageprofile-libdecnumber:
16663 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16664 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16665 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16666 $(HOST_EXPORTS) \
16667 $(POSTSTAGE1_HOST_EXPORTS) \
16668 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16669 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16670 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16671 case $(srcdir) in \
16672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16673 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16675 esac; \
16676 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16677 libsrcdir="$$s/libdecnumber"; \
16678 $(SHELL) $${libsrcdir}/configure \
16679 $(HOST_CONFIGARGS) $${srcdiroption} \
16680 @stage2_werror_flag@
16681 @endif libdecnumber-bootstrap
16683 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16684 maybe-configure-stagefeedback-libdecnumber:
16685 @if libdecnumber-bootstrap
16686 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16687 configure-stagefeedback-libdecnumber:
16688 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16689 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16690 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16691 $(HOST_EXPORTS) \
16692 $(POSTSTAGE1_HOST_EXPORTS) \
16693 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16695 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16696 case $(srcdir) in \
16697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16698 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16700 esac; \
16701 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16702 libsrcdir="$$s/libdecnumber"; \
16703 $(SHELL) $${libsrcdir}/configure \
16704 $(HOST_CONFIGARGS) $${srcdiroption} \
16705 @stage2_werror_flag@
16706 @endif libdecnumber-bootstrap
16712 .PHONY: all-libdecnumber maybe-all-libdecnumber
16713 maybe-all-libdecnumber:
16714 @if libdecnumber
16715 TARGET-libdecnumber=all
16716 maybe-all-libdecnumber: all-libdecnumber
16717 all-libdecnumber: configure-libdecnumber
16718 @test -f stage_last && exit 0; \
16719 r=`${PWD_COMMAND}`; export r; \
16720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16721 $(HOST_EXPORTS) \
16722 (cd $(HOST_SUBDIR)/libdecnumber && \
16723 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16724 @endif libdecnumber
16728 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16729 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16730 maybe-all-stage1-libdecnumber:
16731 maybe-clean-stage1-libdecnumber:
16732 @if libdecnumber-bootstrap
16733 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16734 all-stage1: all-stage1-libdecnumber
16735 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16736 all-stage1-libdecnumber: configure-stage1-libdecnumber
16737 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16738 @r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 $(HOST_EXPORTS) \
16741 cd $(HOST_SUBDIR)/libdecnumber && \
16742 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16743 $(TARGET-stage1-libdecnumber)
16745 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16746 clean-stage1: clean-stage1-libdecnumber
16747 clean-stage1-libdecnumber:
16748 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16749 || exit 0 ; \
16750 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16751 cd $(HOST_SUBDIR)/libdecnumber && \
16752 $(MAKE) $(FLAGS_TO_PASS) \
16753 CFLAGS="$(STAGE1_CFLAGS)" clean
16754 @endif libdecnumber-bootstrap
16757 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16758 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16759 maybe-all-stage2-libdecnumber:
16760 maybe-clean-stage2-libdecnumber:
16761 @if libdecnumber-bootstrap
16762 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16763 all-stage2: all-stage2-libdecnumber
16764 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16765 all-stage2-libdecnumber: configure-stage2-libdecnumber
16766 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16767 @r=`${PWD_COMMAND}`; export r; \
16768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16769 $(HOST_EXPORTS) \
16770 $(POSTSTAGE1_HOST_EXPORTS) \
16771 cd $(HOST_SUBDIR)/libdecnumber && \
16772 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16773 $(TARGET-stage2-libdecnumber)
16775 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
16776 clean-stage2: clean-stage2-libdecnumber
16777 clean-stage2-libdecnumber:
16778 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
16779 || exit 0 ; \
16780 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16781 cd $(HOST_SUBDIR)/libdecnumber && \
16782 $(MAKE) $(FLAGS_TO_PASS) \
16783 $(POSTSTAGE1_FLAGS_TO_PASS) \
16784 clean
16785 @endif libdecnumber-bootstrap
16788 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
16789 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
16790 maybe-all-stage3-libdecnumber:
16791 maybe-clean-stage3-libdecnumber:
16792 @if libdecnumber-bootstrap
16793 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
16794 all-stage3: all-stage3-libdecnumber
16795 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
16796 all-stage3-libdecnumber: configure-stage3-libdecnumber
16797 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16798 @r=`${PWD_COMMAND}`; export r; \
16799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16800 $(HOST_EXPORTS) \
16801 $(POSTSTAGE1_HOST_EXPORTS) \
16802 cd $(HOST_SUBDIR)/libdecnumber && \
16803 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16804 $(TARGET-stage3-libdecnumber)
16806 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
16807 clean-stage3: clean-stage3-libdecnumber
16808 clean-stage3-libdecnumber:
16809 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
16810 || exit 0 ; \
16811 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16812 cd $(HOST_SUBDIR)/libdecnumber && \
16813 $(MAKE) $(FLAGS_TO_PASS) \
16814 $(POSTSTAGE1_FLAGS_TO_PASS) \
16815 clean
16816 @endif libdecnumber-bootstrap
16819 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
16820 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
16821 maybe-all-stage4-libdecnumber:
16822 maybe-clean-stage4-libdecnumber:
16823 @if libdecnumber-bootstrap
16824 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
16825 all-stage4: all-stage4-libdecnumber
16826 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
16827 all-stage4-libdecnumber: configure-stage4-libdecnumber
16828 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16829 @r=`${PWD_COMMAND}`; export r; \
16830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16831 $(HOST_EXPORTS) \
16832 $(POSTSTAGE1_HOST_EXPORTS) \
16833 cd $(HOST_SUBDIR)/libdecnumber && \
16834 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16835 $(TARGET-stage4-libdecnumber)
16837 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
16838 clean-stage4: clean-stage4-libdecnumber
16839 clean-stage4-libdecnumber:
16840 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
16841 || exit 0 ; \
16842 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16843 cd $(HOST_SUBDIR)/libdecnumber && \
16844 $(MAKE) $(FLAGS_TO_PASS) \
16845 $(POSTSTAGE1_FLAGS_TO_PASS) \
16846 clean
16847 @endif libdecnumber-bootstrap
16850 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
16851 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
16852 maybe-all-stageprofile-libdecnumber:
16853 maybe-clean-stageprofile-libdecnumber:
16854 @if libdecnumber-bootstrap
16855 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
16856 all-stageprofile: all-stageprofile-libdecnumber
16857 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
16858 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16859 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16860 @r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 $(POSTSTAGE1_HOST_EXPORTS) \
16864 cd $(HOST_SUBDIR)/libdecnumber && \
16865 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16866 $(TARGET-stageprofile-libdecnumber)
16868 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
16869 clean-stageprofile: clean-stageprofile-libdecnumber
16870 clean-stageprofile-libdecnumber:
16871 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
16872 || exit 0 ; \
16873 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16874 cd $(HOST_SUBDIR)/libdecnumber && \
16875 $(MAKE) $(FLAGS_TO_PASS) \
16876 $(POSTSTAGE1_FLAGS_TO_PASS) \
16877 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16878 @endif libdecnumber-bootstrap
16881 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
16882 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
16883 maybe-all-stagefeedback-libdecnumber:
16884 maybe-clean-stagefeedback-libdecnumber:
16885 @if libdecnumber-bootstrap
16886 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
16887 all-stagefeedback: all-stagefeedback-libdecnumber
16888 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
16889 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16890 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16891 @r=`${PWD_COMMAND}`; export r; \
16892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16893 $(HOST_EXPORTS) \
16894 $(POSTSTAGE1_HOST_EXPORTS) \
16895 cd $(HOST_SUBDIR)/libdecnumber && \
16896 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16897 $(TARGET-stagefeedback-libdecnumber)
16899 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
16900 clean-stagefeedback: clean-stagefeedback-libdecnumber
16901 clean-stagefeedback-libdecnumber:
16902 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
16903 || exit 0 ; \
16904 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16905 cd $(HOST_SUBDIR)/libdecnumber && \
16906 $(MAKE) $(FLAGS_TO_PASS) \
16907 $(POSTSTAGE1_FLAGS_TO_PASS) \
16908 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16909 @endif libdecnumber-bootstrap
16915 .PHONY: check-libdecnumber maybe-check-libdecnumber
16916 maybe-check-libdecnumber:
16917 @if libdecnumber
16918 maybe-check-libdecnumber: check-libdecnumber
16920 check-libdecnumber:
16921 @: $(MAKE); $(unstage)
16922 @r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(HOST_EXPORTS) \
16925 (cd $(HOST_SUBDIR)/libdecnumber && \
16926 $(MAKE) $(FLAGS_TO_PASS) check)
16928 @endif libdecnumber
16930 .PHONY: install-libdecnumber maybe-install-libdecnumber
16931 maybe-install-libdecnumber:
16932 @if libdecnumber
16933 maybe-install-libdecnumber: install-libdecnumber
16935 install-libdecnumber: installdirs
16936 @: $(MAKE); $(unstage)
16937 @r=`${PWD_COMMAND}`; export r; \
16938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16939 $(HOST_EXPORTS) \
16940 (cd $(HOST_SUBDIR)/libdecnumber && \
16941 $(MAKE) $(FLAGS_TO_PASS) install)
16943 @endif libdecnumber
16945 # Other targets (info, dvi, etc.)
16947 .PHONY: maybe-info-libdecnumber info-libdecnumber
16948 maybe-info-libdecnumber:
16949 @if libdecnumber
16950 maybe-info-libdecnumber: info-libdecnumber
16952 info-libdecnumber: \
16953 configure-libdecnumber
16954 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16955 r=`${PWD_COMMAND}`; export r; \
16956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16957 $(HOST_EXPORTS) \
16958 for flag in $(EXTRA_HOST_FLAGS) ; do \
16959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16960 done; \
16961 echo "Doing info in libdecnumber" ; \
16962 (cd $(HOST_SUBDIR)/libdecnumber && \
16963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16965 "RANLIB=$${RANLIB}" \
16966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16967 info) \
16968 || exit 1
16970 @endif libdecnumber
16972 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
16973 maybe-dvi-libdecnumber:
16974 @if libdecnumber
16975 maybe-dvi-libdecnumber: dvi-libdecnumber
16977 dvi-libdecnumber: \
16978 configure-libdecnumber
16979 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16980 r=`${PWD_COMMAND}`; export r; \
16981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16982 $(HOST_EXPORTS) \
16983 for flag in $(EXTRA_HOST_FLAGS) ; do \
16984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16985 done; \
16986 echo "Doing dvi in libdecnumber" ; \
16987 (cd $(HOST_SUBDIR)/libdecnumber && \
16988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16990 "RANLIB=$${RANLIB}" \
16991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16992 dvi) \
16993 || exit 1
16995 @endif libdecnumber
16997 .PHONY: maybe-html-libdecnumber html-libdecnumber
16998 maybe-html-libdecnumber:
16999 @if libdecnumber
17000 maybe-html-libdecnumber: html-libdecnumber
17002 html-libdecnumber: \
17003 configure-libdecnumber
17004 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17005 r=`${PWD_COMMAND}`; export r; \
17006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17007 $(HOST_EXPORTS) \
17008 for flag in $(EXTRA_HOST_FLAGS) ; do \
17009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17010 done; \
17011 echo "Doing html in libdecnumber" ; \
17012 (cd $(HOST_SUBDIR)/libdecnumber && \
17013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17015 "RANLIB=$${RANLIB}" \
17016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17017 html) \
17018 || exit 1
17020 @endif libdecnumber
17022 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17023 maybe-TAGS-libdecnumber:
17024 @if libdecnumber
17025 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17027 TAGS-libdecnumber: \
17028 configure-libdecnumber
17029 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17030 r=`${PWD_COMMAND}`; export r; \
17031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17032 $(HOST_EXPORTS) \
17033 for flag in $(EXTRA_HOST_FLAGS) ; do \
17034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17035 done; \
17036 echo "Doing TAGS in libdecnumber" ; \
17037 (cd $(HOST_SUBDIR)/libdecnumber && \
17038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17040 "RANLIB=$${RANLIB}" \
17041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17042 TAGS) \
17043 || exit 1
17045 @endif libdecnumber
17047 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17048 maybe-install-info-libdecnumber:
17049 @if libdecnumber
17050 maybe-install-info-libdecnumber: install-info-libdecnumber
17052 install-info-libdecnumber: \
17053 configure-libdecnumber \
17054 info-libdecnumber
17055 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17056 r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058 $(HOST_EXPORTS) \
17059 for flag in $(EXTRA_HOST_FLAGS) ; do \
17060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17061 done; \
17062 echo "Doing install-info in libdecnumber" ; \
17063 (cd $(HOST_SUBDIR)/libdecnumber && \
17064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066 "RANLIB=$${RANLIB}" \
17067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17068 install-info) \
17069 || exit 1
17071 @endif libdecnumber
17073 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17074 maybe-installcheck-libdecnumber:
17075 @if libdecnumber
17076 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17078 installcheck-libdecnumber: \
17079 configure-libdecnumber
17080 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17081 r=`${PWD_COMMAND}`; export r; \
17082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17083 $(HOST_EXPORTS) \
17084 for flag in $(EXTRA_HOST_FLAGS) ; do \
17085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17086 done; \
17087 echo "Doing installcheck in libdecnumber" ; \
17088 (cd $(HOST_SUBDIR)/libdecnumber && \
17089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17091 "RANLIB=$${RANLIB}" \
17092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17093 installcheck) \
17094 || exit 1
17096 @endif libdecnumber
17098 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17099 maybe-mostlyclean-libdecnumber:
17100 @if libdecnumber
17101 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17103 mostlyclean-libdecnumber:
17104 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17105 r=`${PWD_COMMAND}`; export r; \
17106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17107 $(HOST_EXPORTS) \
17108 for flag in $(EXTRA_HOST_FLAGS) ; do \
17109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17110 done; \
17111 echo "Doing mostlyclean in libdecnumber" ; \
17112 (cd $(HOST_SUBDIR)/libdecnumber && \
17113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17115 "RANLIB=$${RANLIB}" \
17116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17117 mostlyclean) \
17118 || exit 1
17120 @endif libdecnumber
17122 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17123 maybe-clean-libdecnumber:
17124 @if libdecnumber
17125 maybe-clean-libdecnumber: clean-libdecnumber
17127 clean-libdecnumber:
17128 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17129 r=`${PWD_COMMAND}`; export r; \
17130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17131 $(HOST_EXPORTS) \
17132 for flag in $(EXTRA_HOST_FLAGS) ; do \
17133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17134 done; \
17135 echo "Doing clean in libdecnumber" ; \
17136 (cd $(HOST_SUBDIR)/libdecnumber && \
17137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17139 "RANLIB=$${RANLIB}" \
17140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17141 clean) \
17142 || exit 1
17144 @endif libdecnumber
17146 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17147 maybe-distclean-libdecnumber:
17148 @if libdecnumber
17149 maybe-distclean-libdecnumber: distclean-libdecnumber
17151 distclean-libdecnumber:
17152 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17153 r=`${PWD_COMMAND}`; export r; \
17154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17155 $(HOST_EXPORTS) \
17156 for flag in $(EXTRA_HOST_FLAGS) ; do \
17157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17158 done; \
17159 echo "Doing distclean in libdecnumber" ; \
17160 (cd $(HOST_SUBDIR)/libdecnumber && \
17161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17163 "RANLIB=$${RANLIB}" \
17164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17165 distclean) \
17166 || exit 1
17168 @endif libdecnumber
17170 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17171 maybe-maintainer-clean-libdecnumber:
17172 @if libdecnumber
17173 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17175 maintainer-clean-libdecnumber:
17176 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17177 r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179 $(HOST_EXPORTS) \
17180 for flag in $(EXTRA_HOST_FLAGS) ; do \
17181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17182 done; \
17183 echo "Doing maintainer-clean in libdecnumber" ; \
17184 (cd $(HOST_SUBDIR)/libdecnumber && \
17185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17187 "RANLIB=$${RANLIB}" \
17188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17189 maintainer-clean) \
17190 || exit 1
17192 @endif libdecnumber
17196 .PHONY: configure-libgui maybe-configure-libgui
17197 maybe-configure-libgui:
17198 @if libgui
17199 maybe-configure-libgui: configure-libgui
17200 configure-libgui:
17201 @: $(MAKE); $(unstage)
17202 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17204 r=`${PWD_COMMAND}`; export r; \
17205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17206 $(HOST_EXPORTS) \
17207 echo Configuring in $(HOST_SUBDIR)/libgui; \
17208 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17209 case $(srcdir) in \
17210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17211 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17213 esac; \
17214 srcdiroption="--srcdir=$${topdir}/libgui"; \
17215 libsrcdir="$$s/libgui"; \
17216 $(SHELL) $${libsrcdir}/configure \
17217 $(HOST_CONFIGARGS) $${srcdiroption} \
17218 || exit 1
17219 @endif libgui
17225 .PHONY: all-libgui maybe-all-libgui
17226 maybe-all-libgui:
17227 @if libgui
17228 TARGET-libgui=all
17229 maybe-all-libgui: all-libgui
17230 all-libgui: configure-libgui
17231 @: $(MAKE); $(unstage)
17232 @r=`${PWD_COMMAND}`; export r; \
17233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17234 $(HOST_EXPORTS) \
17235 (cd $(HOST_SUBDIR)/libgui && \
17236 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17237 @endif libgui
17242 .PHONY: check-libgui maybe-check-libgui
17243 maybe-check-libgui:
17244 @if libgui
17245 maybe-check-libgui: check-libgui
17247 check-libgui:
17248 @: $(MAKE); $(unstage)
17249 @r=`${PWD_COMMAND}`; export r; \
17250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17251 $(HOST_EXPORTS) \
17252 (cd $(HOST_SUBDIR)/libgui && \
17253 $(MAKE) $(FLAGS_TO_PASS) check)
17255 @endif libgui
17257 .PHONY: install-libgui maybe-install-libgui
17258 maybe-install-libgui:
17259 @if libgui
17260 maybe-install-libgui: install-libgui
17262 install-libgui: installdirs
17263 @: $(MAKE); $(unstage)
17264 @r=`${PWD_COMMAND}`; export r; \
17265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17266 $(HOST_EXPORTS) \
17267 (cd $(HOST_SUBDIR)/libgui && \
17268 $(MAKE) $(FLAGS_TO_PASS) install)
17270 @endif libgui
17272 # Other targets (info, dvi, etc.)
17274 .PHONY: maybe-info-libgui info-libgui
17275 maybe-info-libgui:
17276 @if libgui
17277 maybe-info-libgui: info-libgui
17279 info-libgui: \
17280 configure-libgui
17281 @: $(MAKE); $(unstage)
17282 @[ -f ./libgui/Makefile ] || exit 0; \
17283 r=`${PWD_COMMAND}`; export r; \
17284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17285 $(HOST_EXPORTS) \
17286 for flag in $(EXTRA_HOST_FLAGS) ; do \
17287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17288 done; \
17289 echo "Doing info in libgui" ; \
17290 (cd $(HOST_SUBDIR)/libgui && \
17291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17293 "RANLIB=$${RANLIB}" \
17294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17295 info) \
17296 || exit 1
17298 @endif libgui
17300 .PHONY: maybe-dvi-libgui dvi-libgui
17301 maybe-dvi-libgui:
17302 @if libgui
17303 maybe-dvi-libgui: dvi-libgui
17305 dvi-libgui: \
17306 configure-libgui
17307 @: $(MAKE); $(unstage)
17308 @[ -f ./libgui/Makefile ] || exit 0; \
17309 r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311 $(HOST_EXPORTS) \
17312 for flag in $(EXTRA_HOST_FLAGS) ; do \
17313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17314 done; \
17315 echo "Doing dvi in libgui" ; \
17316 (cd $(HOST_SUBDIR)/libgui && \
17317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17319 "RANLIB=$${RANLIB}" \
17320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17321 dvi) \
17322 || exit 1
17324 @endif libgui
17326 .PHONY: maybe-html-libgui html-libgui
17327 maybe-html-libgui:
17328 @if libgui
17329 maybe-html-libgui: html-libgui
17331 html-libgui: \
17332 configure-libgui
17333 @: $(MAKE); $(unstage)
17334 @[ -f ./libgui/Makefile ] || exit 0; \
17335 r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337 $(HOST_EXPORTS) \
17338 for flag in $(EXTRA_HOST_FLAGS) ; do \
17339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17340 done; \
17341 echo "Doing html in libgui" ; \
17342 (cd $(HOST_SUBDIR)/libgui && \
17343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17345 "RANLIB=$${RANLIB}" \
17346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17347 html) \
17348 || exit 1
17350 @endif libgui
17352 .PHONY: maybe-TAGS-libgui TAGS-libgui
17353 maybe-TAGS-libgui:
17354 @if libgui
17355 maybe-TAGS-libgui: TAGS-libgui
17357 TAGS-libgui: \
17358 configure-libgui
17359 @: $(MAKE); $(unstage)
17360 @[ -f ./libgui/Makefile ] || exit 0; \
17361 r=`${PWD_COMMAND}`; export r; \
17362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17363 $(HOST_EXPORTS) \
17364 for flag in $(EXTRA_HOST_FLAGS) ; do \
17365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17366 done; \
17367 echo "Doing TAGS in libgui" ; \
17368 (cd $(HOST_SUBDIR)/libgui && \
17369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17371 "RANLIB=$${RANLIB}" \
17372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17373 TAGS) \
17374 || exit 1
17376 @endif libgui
17378 .PHONY: maybe-install-info-libgui install-info-libgui
17379 maybe-install-info-libgui:
17380 @if libgui
17381 maybe-install-info-libgui: install-info-libgui
17383 install-info-libgui: \
17384 configure-libgui \
17385 info-libgui
17386 @: $(MAKE); $(unstage)
17387 @[ -f ./libgui/Makefile ] || exit 0; \
17388 r=`${PWD_COMMAND}`; export r; \
17389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17390 $(HOST_EXPORTS) \
17391 for flag in $(EXTRA_HOST_FLAGS) ; do \
17392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17393 done; \
17394 echo "Doing install-info in libgui" ; \
17395 (cd $(HOST_SUBDIR)/libgui && \
17396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17398 "RANLIB=$${RANLIB}" \
17399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17400 install-info) \
17401 || exit 1
17403 @endif libgui
17405 .PHONY: maybe-installcheck-libgui installcheck-libgui
17406 maybe-installcheck-libgui:
17407 @if libgui
17408 maybe-installcheck-libgui: installcheck-libgui
17410 installcheck-libgui: \
17411 configure-libgui
17412 @: $(MAKE); $(unstage)
17413 @[ -f ./libgui/Makefile ] || exit 0; \
17414 r=`${PWD_COMMAND}`; export r; \
17415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17416 $(HOST_EXPORTS) \
17417 for flag in $(EXTRA_HOST_FLAGS) ; do \
17418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17419 done; \
17420 echo "Doing installcheck in libgui" ; \
17421 (cd $(HOST_SUBDIR)/libgui && \
17422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424 "RANLIB=$${RANLIB}" \
17425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17426 installcheck) \
17427 || exit 1
17429 @endif libgui
17431 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17432 maybe-mostlyclean-libgui:
17433 @if libgui
17434 maybe-mostlyclean-libgui: mostlyclean-libgui
17436 mostlyclean-libgui:
17437 @: $(MAKE); $(unstage)
17438 @[ -f ./libgui/Makefile ] || exit 0; \
17439 r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 $(HOST_EXPORTS) \
17442 for flag in $(EXTRA_HOST_FLAGS) ; do \
17443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17444 done; \
17445 echo "Doing mostlyclean in libgui" ; \
17446 (cd $(HOST_SUBDIR)/libgui && \
17447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17449 "RANLIB=$${RANLIB}" \
17450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17451 mostlyclean) \
17452 || exit 1
17454 @endif libgui
17456 .PHONY: maybe-clean-libgui clean-libgui
17457 maybe-clean-libgui:
17458 @if libgui
17459 maybe-clean-libgui: clean-libgui
17461 clean-libgui:
17462 @: $(MAKE); $(unstage)
17463 @[ -f ./libgui/Makefile ] || exit 0; \
17464 r=`${PWD_COMMAND}`; export r; \
17465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17466 $(HOST_EXPORTS) \
17467 for flag in $(EXTRA_HOST_FLAGS) ; do \
17468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17469 done; \
17470 echo "Doing clean in libgui" ; \
17471 (cd $(HOST_SUBDIR)/libgui && \
17472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474 "RANLIB=$${RANLIB}" \
17475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17476 clean) \
17477 || exit 1
17479 @endif libgui
17481 .PHONY: maybe-distclean-libgui distclean-libgui
17482 maybe-distclean-libgui:
17483 @if libgui
17484 maybe-distclean-libgui: distclean-libgui
17486 distclean-libgui:
17487 @: $(MAKE); $(unstage)
17488 @[ -f ./libgui/Makefile ] || exit 0; \
17489 r=`${PWD_COMMAND}`; export r; \
17490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17491 $(HOST_EXPORTS) \
17492 for flag in $(EXTRA_HOST_FLAGS) ; do \
17493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17494 done; \
17495 echo "Doing distclean in libgui" ; \
17496 (cd $(HOST_SUBDIR)/libgui && \
17497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17499 "RANLIB=$${RANLIB}" \
17500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17501 distclean) \
17502 || exit 1
17504 @endif libgui
17506 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17507 maybe-maintainer-clean-libgui:
17508 @if libgui
17509 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17511 maintainer-clean-libgui:
17512 @: $(MAKE); $(unstage)
17513 @[ -f ./libgui/Makefile ] || exit 0; \
17514 r=`${PWD_COMMAND}`; export r; \
17515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS) ; do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing maintainer-clean in libgui" ; \
17521 (cd $(HOST_SUBDIR)/libgui && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17526 maintainer-clean) \
17527 || exit 1
17529 @endif libgui
17533 .PHONY: configure-libiberty maybe-configure-libiberty
17534 maybe-configure-libiberty:
17535 @if libiberty
17536 maybe-configure-libiberty: configure-libiberty
17537 configure-libiberty:
17538 @test -f stage_last && exit 0; \
17539 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17541 r=`${PWD_COMMAND}`; export r; \
17542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17543 $(HOST_EXPORTS) \
17544 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17545 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17546 case $(srcdir) in \
17547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17548 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17550 esac; \
17551 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17552 libsrcdir="$$s/libiberty"; \
17553 $(SHELL) $${libsrcdir}/configure \
17554 $(HOST_CONFIGARGS) $${srcdiroption} \
17555 || exit 1
17556 @endif libiberty
17560 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17561 maybe-configure-stage1-libiberty:
17562 @if libiberty-bootstrap
17563 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17564 configure-stage1-libiberty:
17565 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17566 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17567 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17568 $(HOST_EXPORTS) \
17569 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17570 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17571 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17572 case $(srcdir) in \
17573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17574 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17576 esac; \
17577 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17578 libsrcdir="$$s/libiberty"; \
17579 $(SHELL) $${libsrcdir}/configure \
17580 $(HOST_CONFIGARGS) $${srcdiroption} \
17581 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17582 @endif libiberty-bootstrap
17584 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17585 maybe-configure-stage2-libiberty:
17586 @if libiberty-bootstrap
17587 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17588 configure-stage2-libiberty:
17589 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17590 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17591 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17592 $(HOST_EXPORTS) \
17593 $(POSTSTAGE1_HOST_EXPORTS) \
17594 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17596 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17597 case $(srcdir) in \
17598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17599 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17601 esac; \
17602 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17603 libsrcdir="$$s/libiberty"; \
17604 $(SHELL) $${libsrcdir}/configure \
17605 $(HOST_CONFIGARGS) $${srcdiroption} \
17606 @stage2_werror_flag@
17607 @endif libiberty-bootstrap
17609 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17610 maybe-configure-stage3-libiberty:
17611 @if libiberty-bootstrap
17612 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17613 configure-stage3-libiberty:
17614 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17616 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17617 $(HOST_EXPORTS) \
17618 $(POSTSTAGE1_HOST_EXPORTS) \
17619 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17621 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17622 case $(srcdir) in \
17623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17624 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17626 esac; \
17627 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17628 libsrcdir="$$s/libiberty"; \
17629 $(SHELL) $${libsrcdir}/configure \
17630 $(HOST_CONFIGARGS) $${srcdiroption} \
17631 @stage2_werror_flag@
17632 @endif libiberty-bootstrap
17634 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17635 maybe-configure-stage4-libiberty:
17636 @if libiberty-bootstrap
17637 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17638 configure-stage4-libiberty:
17639 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17640 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17641 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17642 $(HOST_EXPORTS) \
17643 $(POSTSTAGE1_HOST_EXPORTS) \
17644 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17646 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17647 case $(srcdir) in \
17648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17649 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17651 esac; \
17652 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17653 libsrcdir="$$s/libiberty"; \
17654 $(SHELL) $${libsrcdir}/configure \
17655 $(HOST_CONFIGARGS) $${srcdiroption} \
17656 @stage2_werror_flag@
17657 @endif libiberty-bootstrap
17659 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17660 maybe-configure-stageprofile-libiberty:
17661 @if libiberty-bootstrap
17662 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17663 configure-stageprofile-libiberty:
17664 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17666 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17667 $(HOST_EXPORTS) \
17668 $(POSTSTAGE1_HOST_EXPORTS) \
17669 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17671 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17672 case $(srcdir) in \
17673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17674 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17676 esac; \
17677 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17678 libsrcdir="$$s/libiberty"; \
17679 $(SHELL) $${libsrcdir}/configure \
17680 $(HOST_CONFIGARGS) $${srcdiroption} \
17681 @stage2_werror_flag@
17682 @endif libiberty-bootstrap
17684 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17685 maybe-configure-stagefeedback-libiberty:
17686 @if libiberty-bootstrap
17687 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17688 configure-stagefeedback-libiberty:
17689 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17691 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17692 $(HOST_EXPORTS) \
17693 $(POSTSTAGE1_HOST_EXPORTS) \
17694 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17696 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17697 case $(srcdir) in \
17698 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17699 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17700 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17701 esac; \
17702 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17703 libsrcdir="$$s/libiberty"; \
17704 $(SHELL) $${libsrcdir}/configure \
17705 $(HOST_CONFIGARGS) $${srcdiroption} \
17706 @stage2_werror_flag@
17707 @endif libiberty-bootstrap
17713 .PHONY: all-libiberty maybe-all-libiberty
17714 maybe-all-libiberty:
17715 @if libiberty
17716 TARGET-libiberty=all
17717 maybe-all-libiberty: all-libiberty
17718 all-libiberty: configure-libiberty
17719 @test -f stage_last && exit 0; \
17720 r=`${PWD_COMMAND}`; export r; \
17721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17722 $(HOST_EXPORTS) \
17723 (cd $(HOST_SUBDIR)/libiberty && \
17724 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17725 @endif libiberty
17729 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17730 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17731 maybe-all-stage1-libiberty:
17732 maybe-clean-stage1-libiberty:
17733 @if libiberty-bootstrap
17734 maybe-all-stage1-libiberty: all-stage1-libiberty
17735 all-stage1: all-stage1-libiberty
17736 TARGET-stage1-libiberty = $(TARGET-libiberty)
17737 all-stage1-libiberty: configure-stage1-libiberty
17738 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17739 @r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17741 $(HOST_EXPORTS) \
17742 cd $(HOST_SUBDIR)/libiberty && \
17743 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17744 $(TARGET-stage1-libiberty)
17746 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17747 clean-stage1: clean-stage1-libiberty
17748 clean-stage1-libiberty:
17749 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17750 || exit 0 ; \
17751 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17752 cd $(HOST_SUBDIR)/libiberty && \
17753 $(MAKE) $(FLAGS_TO_PASS) \
17754 CFLAGS="$(STAGE1_CFLAGS)" clean
17755 @endif libiberty-bootstrap
17758 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17759 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17760 maybe-all-stage2-libiberty:
17761 maybe-clean-stage2-libiberty:
17762 @if libiberty-bootstrap
17763 maybe-all-stage2-libiberty: all-stage2-libiberty
17764 all-stage2: all-stage2-libiberty
17765 TARGET-stage2-libiberty = $(TARGET-libiberty)
17766 all-stage2-libiberty: configure-stage2-libiberty
17767 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17768 @r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(HOST_EXPORTS) \
17771 $(POSTSTAGE1_HOST_EXPORTS) \
17772 cd $(HOST_SUBDIR)/libiberty && \
17773 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17774 $(TARGET-stage2-libiberty)
17776 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17777 clean-stage2: clean-stage2-libiberty
17778 clean-stage2-libiberty:
17779 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17780 || exit 0 ; \
17781 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17782 cd $(HOST_SUBDIR)/libiberty && \
17783 $(MAKE) $(FLAGS_TO_PASS) \
17784 $(POSTSTAGE1_FLAGS_TO_PASS) \
17785 clean
17786 @endif libiberty-bootstrap
17789 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17790 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17791 maybe-all-stage3-libiberty:
17792 maybe-clean-stage3-libiberty:
17793 @if libiberty-bootstrap
17794 maybe-all-stage3-libiberty: all-stage3-libiberty
17795 all-stage3: all-stage3-libiberty
17796 TARGET-stage3-libiberty = $(TARGET-libiberty)
17797 all-stage3-libiberty: configure-stage3-libiberty
17798 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17799 @r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 $(HOST_EXPORTS) \
17802 $(POSTSTAGE1_HOST_EXPORTS) \
17803 cd $(HOST_SUBDIR)/libiberty && \
17804 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17805 $(TARGET-stage3-libiberty)
17807 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17808 clean-stage3: clean-stage3-libiberty
17809 clean-stage3-libiberty:
17810 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17811 || exit 0 ; \
17812 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17813 cd $(HOST_SUBDIR)/libiberty && \
17814 $(MAKE) $(FLAGS_TO_PASS) \
17815 $(POSTSTAGE1_FLAGS_TO_PASS) \
17816 clean
17817 @endif libiberty-bootstrap
17820 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17821 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17822 maybe-all-stage4-libiberty:
17823 maybe-clean-stage4-libiberty:
17824 @if libiberty-bootstrap
17825 maybe-all-stage4-libiberty: all-stage4-libiberty
17826 all-stage4: all-stage4-libiberty
17827 TARGET-stage4-libiberty = $(TARGET-libiberty)
17828 all-stage4-libiberty: configure-stage4-libiberty
17829 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17830 @r=`${PWD_COMMAND}`; export r; \
17831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17832 $(HOST_EXPORTS) \
17833 $(POSTSTAGE1_HOST_EXPORTS) \
17834 cd $(HOST_SUBDIR)/libiberty && \
17835 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17836 $(TARGET-stage4-libiberty)
17838 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17839 clean-stage4: clean-stage4-libiberty
17840 clean-stage4-libiberty:
17841 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17842 || exit 0 ; \
17843 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17844 cd $(HOST_SUBDIR)/libiberty && \
17845 $(MAKE) $(FLAGS_TO_PASS) \
17846 $(POSTSTAGE1_FLAGS_TO_PASS) \
17847 clean
17848 @endif libiberty-bootstrap
17851 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17852 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17853 maybe-all-stageprofile-libiberty:
17854 maybe-clean-stageprofile-libiberty:
17855 @if libiberty-bootstrap
17856 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17857 all-stageprofile: all-stageprofile-libiberty
17858 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17859 all-stageprofile-libiberty: configure-stageprofile-libiberty
17860 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17861 @r=`${PWD_COMMAND}`; export r; \
17862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17863 $(HOST_EXPORTS) \
17864 $(POSTSTAGE1_HOST_EXPORTS) \
17865 cd $(HOST_SUBDIR)/libiberty && \
17866 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17867 $(TARGET-stageprofile-libiberty)
17869 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17870 clean-stageprofile: clean-stageprofile-libiberty
17871 clean-stageprofile-libiberty:
17872 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17873 || exit 0 ; \
17874 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17875 cd $(HOST_SUBDIR)/libiberty && \
17876 $(MAKE) $(FLAGS_TO_PASS) \
17877 $(POSTSTAGE1_FLAGS_TO_PASS) \
17878 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17879 @endif libiberty-bootstrap
17882 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17883 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17884 maybe-all-stagefeedback-libiberty:
17885 maybe-clean-stagefeedback-libiberty:
17886 @if libiberty-bootstrap
17887 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17888 all-stagefeedback: all-stagefeedback-libiberty
17889 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17890 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17891 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17892 @r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 $(HOST_EXPORTS) \
17895 $(POSTSTAGE1_HOST_EXPORTS) \
17896 cd $(HOST_SUBDIR)/libiberty && \
17897 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17898 $(TARGET-stagefeedback-libiberty)
17900 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17901 clean-stagefeedback: clean-stagefeedback-libiberty
17902 clean-stagefeedback-libiberty:
17903 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17904 || exit 0 ; \
17905 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17906 cd $(HOST_SUBDIR)/libiberty && \
17907 $(MAKE) $(FLAGS_TO_PASS) \
17908 $(POSTSTAGE1_FLAGS_TO_PASS) \
17909 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17910 @endif libiberty-bootstrap
17916 .PHONY: check-libiberty maybe-check-libiberty
17917 maybe-check-libiberty:
17918 @if libiberty
17919 maybe-check-libiberty: check-libiberty
17921 check-libiberty:
17922 @: $(MAKE); $(unstage)
17923 @r=`${PWD_COMMAND}`; export r; \
17924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17925 $(HOST_EXPORTS) \
17926 (cd $(HOST_SUBDIR)/libiberty && \
17927 $(MAKE) $(FLAGS_TO_PASS) check)
17929 @endif libiberty
17931 .PHONY: install-libiberty maybe-install-libiberty
17932 maybe-install-libiberty:
17933 @if libiberty
17934 maybe-install-libiberty: install-libiberty
17936 install-libiberty: installdirs
17937 @: $(MAKE); $(unstage)
17938 @r=`${PWD_COMMAND}`; export r; \
17939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17940 $(HOST_EXPORTS) \
17941 (cd $(HOST_SUBDIR)/libiberty && \
17942 $(MAKE) $(FLAGS_TO_PASS) install)
17944 @endif libiberty
17946 # Other targets (info, dvi, etc.)
17948 .PHONY: maybe-info-libiberty info-libiberty
17949 maybe-info-libiberty:
17950 @if libiberty
17951 maybe-info-libiberty: info-libiberty
17953 info-libiberty: \
17954 configure-libiberty
17955 @[ -f ./libiberty/Makefile ] || exit 0; \
17956 r=`${PWD_COMMAND}`; export r; \
17957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17958 $(HOST_EXPORTS) \
17959 for flag in $(EXTRA_HOST_FLAGS) ; do \
17960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17961 done; \
17962 echo "Doing info in libiberty" ; \
17963 (cd $(HOST_SUBDIR)/libiberty && \
17964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17966 "RANLIB=$${RANLIB}" \
17967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17968 info) \
17969 || exit 1
17971 @endif libiberty
17973 .PHONY: maybe-dvi-libiberty dvi-libiberty
17974 maybe-dvi-libiberty:
17975 @if libiberty
17976 maybe-dvi-libiberty: dvi-libiberty
17978 dvi-libiberty: \
17979 configure-libiberty
17980 @[ -f ./libiberty/Makefile ] || exit 0; \
17981 r=`${PWD_COMMAND}`; export r; \
17982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17983 $(HOST_EXPORTS) \
17984 for flag in $(EXTRA_HOST_FLAGS) ; do \
17985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17986 done; \
17987 echo "Doing dvi in libiberty" ; \
17988 (cd $(HOST_SUBDIR)/libiberty && \
17989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17991 "RANLIB=$${RANLIB}" \
17992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17993 dvi) \
17994 || exit 1
17996 @endif libiberty
17998 .PHONY: maybe-html-libiberty html-libiberty
17999 maybe-html-libiberty:
18000 @if libiberty
18001 maybe-html-libiberty: html-libiberty
18003 html-libiberty: \
18004 configure-libiberty
18005 @[ -f ./libiberty/Makefile ] || exit 0; \
18006 r=`${PWD_COMMAND}`; export r; \
18007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18008 $(HOST_EXPORTS) \
18009 for flag in $(EXTRA_HOST_FLAGS) ; do \
18010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18011 done; \
18012 echo "Doing html in libiberty" ; \
18013 (cd $(HOST_SUBDIR)/libiberty && \
18014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18016 "RANLIB=$${RANLIB}" \
18017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18018 html) \
18019 || exit 1
18021 @endif libiberty
18023 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18024 maybe-TAGS-libiberty:
18025 @if libiberty
18026 maybe-TAGS-libiberty: TAGS-libiberty
18028 TAGS-libiberty: \
18029 configure-libiberty
18030 @[ -f ./libiberty/Makefile ] || exit 0; \
18031 r=`${PWD_COMMAND}`; export r; \
18032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18033 $(HOST_EXPORTS) \
18034 for flag in $(EXTRA_HOST_FLAGS) ; do \
18035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18036 done; \
18037 echo "Doing TAGS in libiberty" ; \
18038 (cd $(HOST_SUBDIR)/libiberty && \
18039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18041 "RANLIB=$${RANLIB}" \
18042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18043 TAGS) \
18044 || exit 1
18046 @endif libiberty
18048 .PHONY: maybe-install-info-libiberty install-info-libiberty
18049 maybe-install-info-libiberty:
18050 @if libiberty
18051 maybe-install-info-libiberty: install-info-libiberty
18053 install-info-libiberty: \
18054 configure-libiberty \
18055 info-libiberty
18056 @[ -f ./libiberty/Makefile ] || exit 0; \
18057 r=`${PWD_COMMAND}`; export r; \
18058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18059 $(HOST_EXPORTS) \
18060 for flag in $(EXTRA_HOST_FLAGS) ; do \
18061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18062 done; \
18063 echo "Doing install-info in libiberty" ; \
18064 (cd $(HOST_SUBDIR)/libiberty && \
18065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18067 "RANLIB=$${RANLIB}" \
18068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18069 install-info) \
18070 || exit 1
18072 @endif libiberty
18074 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18075 maybe-installcheck-libiberty:
18076 @if libiberty
18077 maybe-installcheck-libiberty: installcheck-libiberty
18079 installcheck-libiberty: \
18080 configure-libiberty
18081 @[ -f ./libiberty/Makefile ] || exit 0; \
18082 r=`${PWD_COMMAND}`; export r; \
18083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18084 $(HOST_EXPORTS) \
18085 for flag in $(EXTRA_HOST_FLAGS) ; do \
18086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18087 done; \
18088 echo "Doing installcheck in libiberty" ; \
18089 (cd $(HOST_SUBDIR)/libiberty && \
18090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18092 "RANLIB=$${RANLIB}" \
18093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18094 installcheck) \
18095 || exit 1
18097 @endif libiberty
18099 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18100 maybe-mostlyclean-libiberty:
18101 @if libiberty
18102 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18104 mostlyclean-libiberty:
18105 @[ -f ./libiberty/Makefile ] || exit 0; \
18106 r=`${PWD_COMMAND}`; export r; \
18107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18108 $(HOST_EXPORTS) \
18109 for flag in $(EXTRA_HOST_FLAGS) ; do \
18110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18111 done; \
18112 echo "Doing mostlyclean in libiberty" ; \
18113 (cd $(HOST_SUBDIR)/libiberty && \
18114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18116 "RANLIB=$${RANLIB}" \
18117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18118 mostlyclean) \
18119 || exit 1
18121 @endif libiberty
18123 .PHONY: maybe-clean-libiberty clean-libiberty
18124 maybe-clean-libiberty:
18125 @if libiberty
18126 maybe-clean-libiberty: clean-libiberty
18128 clean-libiberty:
18129 @[ -f ./libiberty/Makefile ] || exit 0; \
18130 r=`${PWD_COMMAND}`; export r; \
18131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18132 $(HOST_EXPORTS) \
18133 for flag in $(EXTRA_HOST_FLAGS) ; do \
18134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18135 done; \
18136 echo "Doing clean in libiberty" ; \
18137 (cd $(HOST_SUBDIR)/libiberty && \
18138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18140 "RANLIB=$${RANLIB}" \
18141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18142 clean) \
18143 || exit 1
18145 @endif libiberty
18147 .PHONY: maybe-distclean-libiberty distclean-libiberty
18148 maybe-distclean-libiberty:
18149 @if libiberty
18150 maybe-distclean-libiberty: distclean-libiberty
18152 distclean-libiberty:
18153 @[ -f ./libiberty/Makefile ] || exit 0; \
18154 r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(HOST_EXPORTS) \
18157 for flag in $(EXTRA_HOST_FLAGS) ; do \
18158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18159 done; \
18160 echo "Doing distclean in libiberty" ; \
18161 (cd $(HOST_SUBDIR)/libiberty && \
18162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18164 "RANLIB=$${RANLIB}" \
18165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18166 distclean) \
18167 || exit 1
18169 @endif libiberty
18171 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18172 maybe-maintainer-clean-libiberty:
18173 @if libiberty
18174 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18176 maintainer-clean-libiberty:
18177 @[ -f ./libiberty/Makefile ] || exit 0; \
18178 r=`${PWD_COMMAND}`; export r; \
18179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18180 $(HOST_EXPORTS) \
18181 for flag in $(EXTRA_HOST_FLAGS) ; do \
18182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18183 done; \
18184 echo "Doing maintainer-clean in libiberty" ; \
18185 (cd $(HOST_SUBDIR)/libiberty && \
18186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18188 "RANLIB=$${RANLIB}" \
18189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18190 maintainer-clean) \
18191 || exit 1
18193 @endif libiberty
18197 .PHONY: configure-libtool maybe-configure-libtool
18198 maybe-configure-libtool:
18199 @if libtool
18200 maybe-configure-libtool: configure-libtool
18201 configure-libtool:
18202 @: $(MAKE); $(unstage)
18203 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18205 r=`${PWD_COMMAND}`; export r; \
18206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18207 $(HOST_EXPORTS) \
18208 echo Configuring in $(HOST_SUBDIR)/libtool; \
18209 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18210 case $(srcdir) in \
18211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18212 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18214 esac; \
18215 srcdiroption="--srcdir=$${topdir}/libtool"; \
18216 libsrcdir="$$s/libtool"; \
18217 $(SHELL) $${libsrcdir}/configure \
18218 $(HOST_CONFIGARGS) $${srcdiroption} \
18219 || exit 1
18220 @endif libtool
18226 .PHONY: all-libtool maybe-all-libtool
18227 maybe-all-libtool:
18228 @if libtool
18229 TARGET-libtool=all
18230 maybe-all-libtool: all-libtool
18231 all-libtool: configure-libtool
18232 @: $(MAKE); $(unstage)
18233 @r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 $(HOST_EXPORTS) \
18236 (cd $(HOST_SUBDIR)/libtool && \
18237 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18238 @endif libtool
18243 .PHONY: check-libtool maybe-check-libtool
18244 maybe-check-libtool:
18245 @if libtool
18246 maybe-check-libtool: check-libtool
18248 check-libtool:
18249 @: $(MAKE); $(unstage)
18250 @r=`${PWD_COMMAND}`; export r; \
18251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18252 $(HOST_EXPORTS) \
18253 (cd $(HOST_SUBDIR)/libtool && \
18254 $(MAKE) $(FLAGS_TO_PASS) check)
18256 @endif libtool
18258 .PHONY: install-libtool maybe-install-libtool
18259 maybe-install-libtool:
18260 @if libtool
18261 maybe-install-libtool: install-libtool
18263 install-libtool: installdirs
18264 @: $(MAKE); $(unstage)
18265 @r=`${PWD_COMMAND}`; export r; \
18266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18267 $(HOST_EXPORTS) \
18268 (cd $(HOST_SUBDIR)/libtool && \
18269 $(MAKE) $(FLAGS_TO_PASS) install)
18271 @endif libtool
18273 # Other targets (info, dvi, etc.)
18275 .PHONY: maybe-info-libtool info-libtool
18276 maybe-info-libtool:
18277 @if libtool
18278 maybe-info-libtool: info-libtool
18280 info-libtool: \
18281 configure-libtool
18282 @: $(MAKE); $(unstage)
18283 @[ -f ./libtool/Makefile ] || exit 0; \
18284 r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 $(HOST_EXPORTS) \
18287 for flag in $(EXTRA_HOST_FLAGS) ; do \
18288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18289 done; \
18290 echo "Doing info in libtool" ; \
18291 (cd $(HOST_SUBDIR)/libtool && \
18292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18294 "RANLIB=$${RANLIB}" \
18295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18296 info) \
18297 || exit 1
18299 @endif libtool
18301 .PHONY: maybe-dvi-libtool dvi-libtool
18302 maybe-dvi-libtool:
18303 @if libtool
18304 maybe-dvi-libtool: dvi-libtool
18306 dvi-libtool: \
18307 configure-libtool
18308 @: $(MAKE); $(unstage)
18309 @[ -f ./libtool/Makefile ] || exit 0; \
18310 r=`${PWD_COMMAND}`; export r; \
18311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18312 $(HOST_EXPORTS) \
18313 for flag in $(EXTRA_HOST_FLAGS) ; do \
18314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18315 done; \
18316 echo "Doing dvi in libtool" ; \
18317 (cd $(HOST_SUBDIR)/libtool && \
18318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18320 "RANLIB=$${RANLIB}" \
18321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18322 dvi) \
18323 || exit 1
18325 @endif libtool
18327 .PHONY: maybe-html-libtool html-libtool
18328 maybe-html-libtool:
18329 @if libtool
18330 maybe-html-libtool: html-libtool
18332 html-libtool: \
18333 configure-libtool
18334 @: $(MAKE); $(unstage)
18335 @[ -f ./libtool/Makefile ] || exit 0; \
18336 r=`${PWD_COMMAND}`; export r; \
18337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18338 $(HOST_EXPORTS) \
18339 for flag in $(EXTRA_HOST_FLAGS) ; do \
18340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18341 done; \
18342 echo "Doing html in libtool" ; \
18343 (cd $(HOST_SUBDIR)/libtool && \
18344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18346 "RANLIB=$${RANLIB}" \
18347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18348 html) \
18349 || exit 1
18351 @endif libtool
18353 .PHONY: maybe-TAGS-libtool TAGS-libtool
18354 maybe-TAGS-libtool:
18355 @if libtool
18356 maybe-TAGS-libtool: TAGS-libtool
18358 TAGS-libtool: \
18359 configure-libtool
18360 @: $(MAKE); $(unstage)
18361 @[ -f ./libtool/Makefile ] || exit 0; \
18362 r=`${PWD_COMMAND}`; export r; \
18363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18364 $(HOST_EXPORTS) \
18365 for flag in $(EXTRA_HOST_FLAGS) ; do \
18366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18367 done; \
18368 echo "Doing TAGS in libtool" ; \
18369 (cd $(HOST_SUBDIR)/libtool && \
18370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18372 "RANLIB=$${RANLIB}" \
18373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18374 TAGS) \
18375 || exit 1
18377 @endif libtool
18379 .PHONY: maybe-install-info-libtool install-info-libtool
18380 maybe-install-info-libtool:
18381 @if libtool
18382 maybe-install-info-libtool: install-info-libtool
18384 install-info-libtool: \
18385 configure-libtool \
18386 info-libtool
18387 @: $(MAKE); $(unstage)
18388 @[ -f ./libtool/Makefile ] || exit 0; \
18389 r=`${PWD_COMMAND}`; export r; \
18390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18391 $(HOST_EXPORTS) \
18392 for flag in $(EXTRA_HOST_FLAGS) ; do \
18393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18394 done; \
18395 echo "Doing install-info in libtool" ; \
18396 (cd $(HOST_SUBDIR)/libtool && \
18397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18399 "RANLIB=$${RANLIB}" \
18400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18401 install-info) \
18402 || exit 1
18404 @endif libtool
18406 .PHONY: maybe-installcheck-libtool installcheck-libtool
18407 maybe-installcheck-libtool:
18408 @if libtool
18409 maybe-installcheck-libtool: installcheck-libtool
18411 installcheck-libtool: \
18412 configure-libtool
18413 @: $(MAKE); $(unstage)
18414 @[ -f ./libtool/Makefile ] || exit 0; \
18415 r=`${PWD_COMMAND}`; export r; \
18416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18417 $(HOST_EXPORTS) \
18418 for flag in $(EXTRA_HOST_FLAGS) ; do \
18419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18420 done; \
18421 echo "Doing installcheck in libtool" ; \
18422 (cd $(HOST_SUBDIR)/libtool && \
18423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18425 "RANLIB=$${RANLIB}" \
18426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18427 installcheck) \
18428 || exit 1
18430 @endif libtool
18432 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18433 maybe-mostlyclean-libtool:
18434 @if libtool
18435 maybe-mostlyclean-libtool: mostlyclean-libtool
18437 mostlyclean-libtool:
18438 @: $(MAKE); $(unstage)
18439 @[ -f ./libtool/Makefile ] || exit 0; \
18440 r=`${PWD_COMMAND}`; export r; \
18441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18442 $(HOST_EXPORTS) \
18443 for flag in $(EXTRA_HOST_FLAGS) ; do \
18444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18445 done; \
18446 echo "Doing mostlyclean in libtool" ; \
18447 (cd $(HOST_SUBDIR)/libtool && \
18448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18450 "RANLIB=$${RANLIB}" \
18451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18452 mostlyclean) \
18453 || exit 1
18455 @endif libtool
18457 .PHONY: maybe-clean-libtool clean-libtool
18458 maybe-clean-libtool:
18459 @if libtool
18460 maybe-clean-libtool: clean-libtool
18462 clean-libtool:
18463 @: $(MAKE); $(unstage)
18464 @[ -f ./libtool/Makefile ] || exit 0; \
18465 r=`${PWD_COMMAND}`; export r; \
18466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18467 $(HOST_EXPORTS) \
18468 for flag in $(EXTRA_HOST_FLAGS) ; do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18470 done; \
18471 echo "Doing clean in libtool" ; \
18472 (cd $(HOST_SUBDIR)/libtool && \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18477 clean) \
18478 || exit 1
18480 @endif libtool
18482 .PHONY: maybe-distclean-libtool distclean-libtool
18483 maybe-distclean-libtool:
18484 @if libtool
18485 maybe-distclean-libtool: distclean-libtool
18487 distclean-libtool:
18488 @: $(MAKE); $(unstage)
18489 @[ -f ./libtool/Makefile ] || exit 0; \
18490 r=`${PWD_COMMAND}`; export r; \
18491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18492 $(HOST_EXPORTS) \
18493 for flag in $(EXTRA_HOST_FLAGS) ; do \
18494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18495 done; \
18496 echo "Doing distclean in libtool" ; \
18497 (cd $(HOST_SUBDIR)/libtool && \
18498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18500 "RANLIB=$${RANLIB}" \
18501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18502 distclean) \
18503 || exit 1
18505 @endif libtool
18507 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18508 maybe-maintainer-clean-libtool:
18509 @if libtool
18510 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18512 maintainer-clean-libtool:
18513 @: $(MAKE); $(unstage)
18514 @[ -f ./libtool/Makefile ] || exit 0; \
18515 r=`${PWD_COMMAND}`; export r; \
18516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 $(HOST_EXPORTS) \
18518 for flag in $(EXTRA_HOST_FLAGS) ; do \
18519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18520 done; \
18521 echo "Doing maintainer-clean in libtool" ; \
18522 (cd $(HOST_SUBDIR)/libtool && \
18523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18525 "RANLIB=$${RANLIB}" \
18526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18527 maintainer-clean) \
18528 || exit 1
18530 @endif libtool
18534 .PHONY: configure-m4 maybe-configure-m4
18535 maybe-configure-m4:
18536 @if m4
18537 maybe-configure-m4: configure-m4
18538 configure-m4:
18539 @: $(MAKE); $(unstage)
18540 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18542 r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(HOST_EXPORTS) \
18545 echo Configuring in $(HOST_SUBDIR)/m4; \
18546 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18547 case $(srcdir) in \
18548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18549 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18551 esac; \
18552 srcdiroption="--srcdir=$${topdir}/m4"; \
18553 libsrcdir="$$s/m4"; \
18554 $(SHELL) $${libsrcdir}/configure \
18555 $(HOST_CONFIGARGS) $${srcdiroption} \
18556 || exit 1
18557 @endif m4
18563 .PHONY: all-m4 maybe-all-m4
18564 maybe-all-m4:
18565 @if m4
18566 TARGET-m4=all
18567 maybe-all-m4: all-m4
18568 all-m4: configure-m4
18569 @: $(MAKE); $(unstage)
18570 @r=`${PWD_COMMAND}`; export r; \
18571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18572 $(HOST_EXPORTS) \
18573 (cd $(HOST_SUBDIR)/m4 && \
18574 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18575 @endif m4
18580 .PHONY: check-m4 maybe-check-m4
18581 maybe-check-m4:
18582 @if m4
18583 maybe-check-m4: check-m4
18585 check-m4:
18586 @: $(MAKE); $(unstage)
18587 @r=`${PWD_COMMAND}`; export r; \
18588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18589 $(HOST_EXPORTS) \
18590 (cd $(HOST_SUBDIR)/m4 && \
18591 $(MAKE) $(FLAGS_TO_PASS) check)
18593 @endif m4
18595 .PHONY: install-m4 maybe-install-m4
18596 maybe-install-m4:
18597 @if m4
18598 maybe-install-m4: install-m4
18600 install-m4: installdirs
18601 @: $(MAKE); $(unstage)
18602 @r=`${PWD_COMMAND}`; export r; \
18603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18604 $(HOST_EXPORTS) \
18605 (cd $(HOST_SUBDIR)/m4 && \
18606 $(MAKE) $(FLAGS_TO_PASS) install)
18608 @endif m4
18610 # Other targets (info, dvi, etc.)
18612 .PHONY: maybe-info-m4 info-m4
18613 maybe-info-m4:
18614 @if m4
18615 maybe-info-m4: info-m4
18617 info-m4: \
18618 configure-m4
18619 @: $(MAKE); $(unstage)
18620 @[ -f ./m4/Makefile ] || exit 0; \
18621 r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18623 $(HOST_EXPORTS) \
18624 for flag in $(EXTRA_HOST_FLAGS) ; do \
18625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18626 done; \
18627 echo "Doing info in m4" ; \
18628 (cd $(HOST_SUBDIR)/m4 && \
18629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18631 "RANLIB=$${RANLIB}" \
18632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18633 info) \
18634 || exit 1
18636 @endif m4
18638 .PHONY: maybe-dvi-m4 dvi-m4
18639 maybe-dvi-m4:
18640 @if m4
18641 maybe-dvi-m4: dvi-m4
18643 dvi-m4: \
18644 configure-m4
18645 @: $(MAKE); $(unstage)
18646 @[ -f ./m4/Makefile ] || exit 0; \
18647 r=`${PWD_COMMAND}`; export r; \
18648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18649 $(HOST_EXPORTS) \
18650 for flag in $(EXTRA_HOST_FLAGS) ; do \
18651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18652 done; \
18653 echo "Doing dvi in m4" ; \
18654 (cd $(HOST_SUBDIR)/m4 && \
18655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18657 "RANLIB=$${RANLIB}" \
18658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18659 dvi) \
18660 || exit 1
18662 @endif m4
18664 .PHONY: maybe-html-m4 html-m4
18665 maybe-html-m4:
18666 @if m4
18667 maybe-html-m4: html-m4
18669 html-m4: \
18670 configure-m4
18671 @: $(MAKE); $(unstage)
18672 @[ -f ./m4/Makefile ] || exit 0; \
18673 r=`${PWD_COMMAND}`; export r; \
18674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18675 $(HOST_EXPORTS) \
18676 for flag in $(EXTRA_HOST_FLAGS) ; do \
18677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18678 done; \
18679 echo "Doing html in m4" ; \
18680 (cd $(HOST_SUBDIR)/m4 && \
18681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18683 "RANLIB=$${RANLIB}" \
18684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18685 html) \
18686 || exit 1
18688 @endif m4
18690 .PHONY: maybe-TAGS-m4 TAGS-m4
18691 maybe-TAGS-m4:
18692 @if m4
18693 maybe-TAGS-m4: TAGS-m4
18695 TAGS-m4: \
18696 configure-m4
18697 @: $(MAKE); $(unstage)
18698 @[ -f ./m4/Makefile ] || exit 0; \
18699 r=`${PWD_COMMAND}`; export r; \
18700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 $(HOST_EXPORTS) \
18702 for flag in $(EXTRA_HOST_FLAGS) ; do \
18703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18704 done; \
18705 echo "Doing TAGS in m4" ; \
18706 (cd $(HOST_SUBDIR)/m4 && \
18707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18709 "RANLIB=$${RANLIB}" \
18710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18711 TAGS) \
18712 || exit 1
18714 @endif m4
18716 .PHONY: maybe-install-info-m4 install-info-m4
18717 maybe-install-info-m4:
18718 @if m4
18719 maybe-install-info-m4: install-info-m4
18721 install-info-m4: \
18722 configure-m4 \
18723 info-m4
18724 @: $(MAKE); $(unstage)
18725 @[ -f ./m4/Makefile ] || exit 0; \
18726 r=`${PWD_COMMAND}`; export r; \
18727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18728 $(HOST_EXPORTS) \
18729 for flag in $(EXTRA_HOST_FLAGS) ; do \
18730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18731 done; \
18732 echo "Doing install-info in m4" ; \
18733 (cd $(HOST_SUBDIR)/m4 && \
18734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18736 "RANLIB=$${RANLIB}" \
18737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18738 install-info) \
18739 || exit 1
18741 @endif m4
18743 .PHONY: maybe-installcheck-m4 installcheck-m4
18744 maybe-installcheck-m4:
18745 @if m4
18746 maybe-installcheck-m4: installcheck-m4
18748 installcheck-m4: \
18749 configure-m4
18750 @: $(MAKE); $(unstage)
18751 @[ -f ./m4/Makefile ] || exit 0; \
18752 r=`${PWD_COMMAND}`; export r; \
18753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18754 $(HOST_EXPORTS) \
18755 for flag in $(EXTRA_HOST_FLAGS) ; do \
18756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18757 done; \
18758 echo "Doing installcheck in m4" ; \
18759 (cd $(HOST_SUBDIR)/m4 && \
18760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18762 "RANLIB=$${RANLIB}" \
18763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18764 installcheck) \
18765 || exit 1
18767 @endif m4
18769 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18770 maybe-mostlyclean-m4:
18771 @if m4
18772 maybe-mostlyclean-m4: mostlyclean-m4
18774 mostlyclean-m4:
18775 @: $(MAKE); $(unstage)
18776 @[ -f ./m4/Makefile ] || exit 0; \
18777 r=`${PWD_COMMAND}`; export r; \
18778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18779 $(HOST_EXPORTS) \
18780 for flag in $(EXTRA_HOST_FLAGS) ; do \
18781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18782 done; \
18783 echo "Doing mostlyclean in m4" ; \
18784 (cd $(HOST_SUBDIR)/m4 && \
18785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18787 "RANLIB=$${RANLIB}" \
18788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18789 mostlyclean) \
18790 || exit 1
18792 @endif m4
18794 .PHONY: maybe-clean-m4 clean-m4
18795 maybe-clean-m4:
18796 @if m4
18797 maybe-clean-m4: clean-m4
18799 clean-m4:
18800 @: $(MAKE); $(unstage)
18801 @[ -f ./m4/Makefile ] || exit 0; \
18802 r=`${PWD_COMMAND}`; export r; \
18803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18804 $(HOST_EXPORTS) \
18805 for flag in $(EXTRA_HOST_FLAGS) ; do \
18806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18807 done; \
18808 echo "Doing clean in m4" ; \
18809 (cd $(HOST_SUBDIR)/m4 && \
18810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18812 "RANLIB=$${RANLIB}" \
18813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18814 clean) \
18815 || exit 1
18817 @endif m4
18819 .PHONY: maybe-distclean-m4 distclean-m4
18820 maybe-distclean-m4:
18821 @if m4
18822 maybe-distclean-m4: distclean-m4
18824 distclean-m4:
18825 @: $(MAKE); $(unstage)
18826 @[ -f ./m4/Makefile ] || exit 0; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 $(HOST_EXPORTS) \
18830 for flag in $(EXTRA_HOST_FLAGS) ; do \
18831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18832 done; \
18833 echo "Doing distclean in m4" ; \
18834 (cd $(HOST_SUBDIR)/m4 && \
18835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837 "RANLIB=$${RANLIB}" \
18838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18839 distclean) \
18840 || exit 1
18842 @endif m4
18844 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18845 maybe-maintainer-clean-m4:
18846 @if m4
18847 maybe-maintainer-clean-m4: maintainer-clean-m4
18849 maintainer-clean-m4:
18850 @: $(MAKE); $(unstage)
18851 @[ -f ./m4/Makefile ] || exit 0; \
18852 r=`${PWD_COMMAND}`; export r; \
18853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854 $(HOST_EXPORTS) \
18855 for flag in $(EXTRA_HOST_FLAGS) ; do \
18856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18857 done; \
18858 echo "Doing maintainer-clean in m4" ; \
18859 (cd $(HOST_SUBDIR)/m4 && \
18860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18862 "RANLIB=$${RANLIB}" \
18863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18864 maintainer-clean) \
18865 || exit 1
18867 @endif m4
18871 .PHONY: configure-make maybe-configure-make
18872 maybe-configure-make:
18873 @if make
18874 maybe-configure-make: configure-make
18875 configure-make:
18876 @: $(MAKE); $(unstage)
18877 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18879 r=`${PWD_COMMAND}`; export r; \
18880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18881 $(HOST_EXPORTS) \
18882 echo Configuring in $(HOST_SUBDIR)/make; \
18883 cd "$(HOST_SUBDIR)/make" || exit 1; \
18884 case $(srcdir) in \
18885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18886 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18888 esac; \
18889 srcdiroption="--srcdir=$${topdir}/make"; \
18890 libsrcdir="$$s/make"; \
18891 $(SHELL) $${libsrcdir}/configure \
18892 $(HOST_CONFIGARGS) $${srcdiroption} \
18893 || exit 1
18894 @endif make
18900 .PHONY: all-make maybe-all-make
18901 maybe-all-make:
18902 @if make
18903 TARGET-make=all
18904 maybe-all-make: all-make
18905 all-make: configure-make
18906 @: $(MAKE); $(unstage)
18907 @r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18909 $(HOST_EXPORTS) \
18910 (cd $(HOST_SUBDIR)/make && \
18911 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18912 @endif make
18917 .PHONY: check-make maybe-check-make
18918 maybe-check-make:
18919 @if make
18920 maybe-check-make: check-make
18922 check-make:
18923 @: $(MAKE); $(unstage)
18924 @r=`${PWD_COMMAND}`; export r; \
18925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18926 $(HOST_EXPORTS) \
18927 (cd $(HOST_SUBDIR)/make && \
18928 $(MAKE) $(FLAGS_TO_PASS) check)
18930 @endif make
18932 .PHONY: install-make maybe-install-make
18933 maybe-install-make:
18934 @if make
18935 maybe-install-make: install-make
18937 install-make: installdirs
18938 @: $(MAKE); $(unstage)
18939 @r=`${PWD_COMMAND}`; export r; \
18940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18941 $(HOST_EXPORTS) \
18942 (cd $(HOST_SUBDIR)/make && \
18943 $(MAKE) $(FLAGS_TO_PASS) install)
18945 @endif make
18947 # Other targets (info, dvi, etc.)
18949 .PHONY: maybe-info-make info-make
18950 maybe-info-make:
18951 @if make
18952 maybe-info-make: info-make
18954 info-make: \
18955 configure-make
18956 @: $(MAKE); $(unstage)
18957 @[ -f ./make/Makefile ] || exit 0; \
18958 r=`${PWD_COMMAND}`; export r; \
18959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18960 $(HOST_EXPORTS) \
18961 for flag in $(EXTRA_HOST_FLAGS) ; do \
18962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18963 done; \
18964 echo "Doing info in make" ; \
18965 (cd $(HOST_SUBDIR)/make && \
18966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18968 "RANLIB=$${RANLIB}" \
18969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18970 info) \
18971 || exit 1
18973 @endif make
18975 .PHONY: maybe-dvi-make dvi-make
18976 maybe-dvi-make:
18977 @if make
18978 maybe-dvi-make: dvi-make
18980 dvi-make: \
18981 configure-make
18982 @: $(MAKE); $(unstage)
18983 @[ -f ./make/Makefile ] || exit 0; \
18984 r=`${PWD_COMMAND}`; export r; \
18985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18986 $(HOST_EXPORTS) \
18987 for flag in $(EXTRA_HOST_FLAGS) ; do \
18988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18989 done; \
18990 echo "Doing dvi in make" ; \
18991 (cd $(HOST_SUBDIR)/make && \
18992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18994 "RANLIB=$${RANLIB}" \
18995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18996 dvi) \
18997 || exit 1
18999 @endif make
19001 .PHONY: maybe-html-make html-make
19002 maybe-html-make:
19003 @if make
19004 maybe-html-make: html-make
19006 html-make: \
19007 configure-make
19008 @: $(MAKE); $(unstage)
19009 @[ -f ./make/Makefile ] || exit 0; \
19010 r=`${PWD_COMMAND}`; export r; \
19011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19012 $(HOST_EXPORTS) \
19013 for flag in $(EXTRA_HOST_FLAGS) ; do \
19014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19015 done; \
19016 echo "Doing html in make" ; \
19017 (cd $(HOST_SUBDIR)/make && \
19018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19020 "RANLIB=$${RANLIB}" \
19021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19022 html) \
19023 || exit 1
19025 @endif make
19027 .PHONY: maybe-TAGS-make TAGS-make
19028 maybe-TAGS-make:
19029 @if make
19030 maybe-TAGS-make: TAGS-make
19032 TAGS-make: \
19033 configure-make
19034 @: $(MAKE); $(unstage)
19035 @[ -f ./make/Makefile ] || exit 0; \
19036 r=`${PWD_COMMAND}`; export r; \
19037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19038 $(HOST_EXPORTS) \
19039 for flag in $(EXTRA_HOST_FLAGS) ; do \
19040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19041 done; \
19042 echo "Doing TAGS in make" ; \
19043 (cd $(HOST_SUBDIR)/make && \
19044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19046 "RANLIB=$${RANLIB}" \
19047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19048 TAGS) \
19049 || exit 1
19051 @endif make
19053 .PHONY: maybe-install-info-make install-info-make
19054 maybe-install-info-make:
19055 @if make
19056 maybe-install-info-make: install-info-make
19058 install-info-make: \
19059 configure-make \
19060 info-make
19061 @: $(MAKE); $(unstage)
19062 @[ -f ./make/Makefile ] || exit 0; \
19063 r=`${PWD_COMMAND}`; export r; \
19064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19065 $(HOST_EXPORTS) \
19066 for flag in $(EXTRA_HOST_FLAGS) ; do \
19067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19068 done; \
19069 echo "Doing install-info in make" ; \
19070 (cd $(HOST_SUBDIR)/make && \
19071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19073 "RANLIB=$${RANLIB}" \
19074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19075 install-info) \
19076 || exit 1
19078 @endif make
19080 .PHONY: maybe-installcheck-make installcheck-make
19081 maybe-installcheck-make:
19082 @if make
19083 maybe-installcheck-make: installcheck-make
19085 installcheck-make: \
19086 configure-make
19087 @: $(MAKE); $(unstage)
19088 @[ -f ./make/Makefile ] || exit 0; \
19089 r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 $(HOST_EXPORTS) \
19092 for flag in $(EXTRA_HOST_FLAGS) ; do \
19093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19094 done; \
19095 echo "Doing installcheck in make" ; \
19096 (cd $(HOST_SUBDIR)/make && \
19097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19099 "RANLIB=$${RANLIB}" \
19100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19101 installcheck) \
19102 || exit 1
19104 @endif make
19106 .PHONY: maybe-mostlyclean-make mostlyclean-make
19107 maybe-mostlyclean-make:
19108 @if make
19109 maybe-mostlyclean-make: mostlyclean-make
19111 mostlyclean-make:
19112 @: $(MAKE); $(unstage)
19113 @[ -f ./make/Makefile ] || exit 0; \
19114 r=`${PWD_COMMAND}`; export r; \
19115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19116 $(HOST_EXPORTS) \
19117 for flag in $(EXTRA_HOST_FLAGS) ; do \
19118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19119 done; \
19120 echo "Doing mostlyclean in make" ; \
19121 (cd $(HOST_SUBDIR)/make && \
19122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19124 "RANLIB=$${RANLIB}" \
19125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19126 mostlyclean) \
19127 || exit 1
19129 @endif make
19131 .PHONY: maybe-clean-make clean-make
19132 maybe-clean-make:
19133 @if make
19134 maybe-clean-make: clean-make
19136 clean-make:
19137 @: $(MAKE); $(unstage)
19138 @[ -f ./make/Makefile ] || exit 0; \
19139 r=`${PWD_COMMAND}`; export r; \
19140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19141 $(HOST_EXPORTS) \
19142 for flag in $(EXTRA_HOST_FLAGS) ; do \
19143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19144 done; \
19145 echo "Doing clean in make" ; \
19146 (cd $(HOST_SUBDIR)/make && \
19147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19149 "RANLIB=$${RANLIB}" \
19150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19151 clean) \
19152 || exit 1
19154 @endif make
19156 .PHONY: maybe-distclean-make distclean-make
19157 maybe-distclean-make:
19158 @if make
19159 maybe-distclean-make: distclean-make
19161 distclean-make:
19162 @: $(MAKE); $(unstage)
19163 @[ -f ./make/Makefile ] || exit 0; \
19164 r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(HOST_EXPORTS) \
19167 for flag in $(EXTRA_HOST_FLAGS) ; do \
19168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19169 done; \
19170 echo "Doing distclean in make" ; \
19171 (cd $(HOST_SUBDIR)/make && \
19172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19174 "RANLIB=$${RANLIB}" \
19175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19176 distclean) \
19177 || exit 1
19179 @endif make
19181 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19182 maybe-maintainer-clean-make:
19183 @if make
19184 maybe-maintainer-clean-make: maintainer-clean-make
19186 maintainer-clean-make:
19187 @: $(MAKE); $(unstage)
19188 @[ -f ./make/Makefile ] || exit 0; \
19189 r=`${PWD_COMMAND}`; export r; \
19190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19191 $(HOST_EXPORTS) \
19192 for flag in $(EXTRA_HOST_FLAGS) ; do \
19193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19194 done; \
19195 echo "Doing maintainer-clean in make" ; \
19196 (cd $(HOST_SUBDIR)/make && \
19197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19199 "RANLIB=$${RANLIB}" \
19200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19201 maintainer-clean) \
19202 || exit 1
19204 @endif make
19208 .PHONY: configure-mmalloc maybe-configure-mmalloc
19209 maybe-configure-mmalloc:
19210 @if mmalloc
19211 maybe-configure-mmalloc: configure-mmalloc
19212 configure-mmalloc:
19213 @: $(MAKE); $(unstage)
19214 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19216 r=`${PWD_COMMAND}`; export r; \
19217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19218 $(HOST_EXPORTS) \
19219 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19220 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19221 case $(srcdir) in \
19222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19223 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19225 esac; \
19226 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19227 libsrcdir="$$s/mmalloc"; \
19228 $(SHELL) $${libsrcdir}/configure \
19229 $(HOST_CONFIGARGS) $${srcdiroption} \
19230 || exit 1
19231 @endif mmalloc
19237 .PHONY: all-mmalloc maybe-all-mmalloc
19238 maybe-all-mmalloc:
19239 @if mmalloc
19240 TARGET-mmalloc=all
19241 maybe-all-mmalloc: all-mmalloc
19242 all-mmalloc: configure-mmalloc
19243 @: $(MAKE); $(unstage)
19244 @r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 $(HOST_EXPORTS) \
19247 (cd $(HOST_SUBDIR)/mmalloc && \
19248 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19249 @endif mmalloc
19254 .PHONY: check-mmalloc maybe-check-mmalloc
19255 maybe-check-mmalloc:
19256 @if mmalloc
19257 maybe-check-mmalloc: check-mmalloc
19259 check-mmalloc:
19261 @endif mmalloc
19263 .PHONY: install-mmalloc maybe-install-mmalloc
19264 maybe-install-mmalloc:
19265 @if mmalloc
19266 maybe-install-mmalloc: install-mmalloc
19268 install-mmalloc: installdirs
19269 @: $(MAKE); $(unstage)
19270 @r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(HOST_EXPORTS) \
19273 (cd $(HOST_SUBDIR)/mmalloc && \
19274 $(MAKE) $(FLAGS_TO_PASS) install)
19276 @endif mmalloc
19278 # Other targets (info, dvi, etc.)
19280 .PHONY: maybe-info-mmalloc info-mmalloc
19281 maybe-info-mmalloc:
19282 @if mmalloc
19283 maybe-info-mmalloc: info-mmalloc
19285 info-mmalloc: \
19286 configure-mmalloc
19287 @: $(MAKE); $(unstage)
19288 @[ -f ./mmalloc/Makefile ] || exit 0; \
19289 r=`${PWD_COMMAND}`; export r; \
19290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 $(HOST_EXPORTS) \
19292 for flag in $(EXTRA_HOST_FLAGS) ; do \
19293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19294 done; \
19295 echo "Doing info in mmalloc" ; \
19296 (cd $(HOST_SUBDIR)/mmalloc && \
19297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19299 "RANLIB=$${RANLIB}" \
19300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19301 info) \
19302 || exit 1
19304 @endif mmalloc
19306 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19307 maybe-dvi-mmalloc:
19308 @if mmalloc
19309 maybe-dvi-mmalloc: dvi-mmalloc
19311 dvi-mmalloc: \
19312 configure-mmalloc
19313 @: $(MAKE); $(unstage)
19314 @[ -f ./mmalloc/Makefile ] || exit 0; \
19315 r=`${PWD_COMMAND}`; export r; \
19316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19317 $(HOST_EXPORTS) \
19318 for flag in $(EXTRA_HOST_FLAGS) ; do \
19319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19320 done; \
19321 echo "Doing dvi in mmalloc" ; \
19322 (cd $(HOST_SUBDIR)/mmalloc && \
19323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19325 "RANLIB=$${RANLIB}" \
19326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19327 dvi) \
19328 || exit 1
19330 @endif mmalloc
19332 .PHONY: maybe-html-mmalloc html-mmalloc
19333 maybe-html-mmalloc:
19334 @if mmalloc
19335 maybe-html-mmalloc: html-mmalloc
19337 html-mmalloc: \
19338 configure-mmalloc
19339 @: $(MAKE); $(unstage)
19340 @[ -f ./mmalloc/Makefile ] || exit 0; \
19341 r=`${PWD_COMMAND}`; export r; \
19342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19343 $(HOST_EXPORTS) \
19344 for flag in $(EXTRA_HOST_FLAGS) ; do \
19345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19346 done; \
19347 echo "Doing html in mmalloc" ; \
19348 (cd $(HOST_SUBDIR)/mmalloc && \
19349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19351 "RANLIB=$${RANLIB}" \
19352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19353 html) \
19354 || exit 1
19356 @endif mmalloc
19358 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19359 maybe-TAGS-mmalloc:
19360 @if mmalloc
19361 maybe-TAGS-mmalloc: TAGS-mmalloc
19363 TAGS-mmalloc: \
19364 configure-mmalloc
19365 @: $(MAKE); $(unstage)
19366 @[ -f ./mmalloc/Makefile ] || exit 0; \
19367 r=`${PWD_COMMAND}`; export r; \
19368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19369 $(HOST_EXPORTS) \
19370 for flag in $(EXTRA_HOST_FLAGS) ; do \
19371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19372 done; \
19373 echo "Doing TAGS in mmalloc" ; \
19374 (cd $(HOST_SUBDIR)/mmalloc && \
19375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19377 "RANLIB=$${RANLIB}" \
19378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19379 TAGS) \
19380 || exit 1
19382 @endif mmalloc
19384 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19385 maybe-install-info-mmalloc:
19386 @if mmalloc
19387 maybe-install-info-mmalloc: install-info-mmalloc
19389 install-info-mmalloc: \
19390 configure-mmalloc \
19391 info-mmalloc
19392 @: $(MAKE); $(unstage)
19393 @[ -f ./mmalloc/Makefile ] || exit 0; \
19394 r=`${PWD_COMMAND}`; export r; \
19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19396 $(HOST_EXPORTS) \
19397 for flag in $(EXTRA_HOST_FLAGS) ; do \
19398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19399 done; \
19400 echo "Doing install-info in mmalloc" ; \
19401 (cd $(HOST_SUBDIR)/mmalloc && \
19402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19404 "RANLIB=$${RANLIB}" \
19405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19406 install-info) \
19407 || exit 1
19409 @endif mmalloc
19411 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19412 maybe-installcheck-mmalloc:
19413 @if mmalloc
19414 maybe-installcheck-mmalloc: installcheck-mmalloc
19416 installcheck-mmalloc: \
19417 configure-mmalloc
19418 @: $(MAKE); $(unstage)
19419 @[ -f ./mmalloc/Makefile ] || exit 0; \
19420 r=`${PWD_COMMAND}`; export r; \
19421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19422 $(HOST_EXPORTS) \
19423 for flag in $(EXTRA_HOST_FLAGS) ; do \
19424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19425 done; \
19426 echo "Doing installcheck in mmalloc" ; \
19427 (cd $(HOST_SUBDIR)/mmalloc && \
19428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19430 "RANLIB=$${RANLIB}" \
19431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19432 installcheck) \
19433 || exit 1
19435 @endif mmalloc
19437 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19438 maybe-mostlyclean-mmalloc:
19439 @if mmalloc
19440 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19442 mostlyclean-mmalloc:
19443 @: $(MAKE); $(unstage)
19444 @[ -f ./mmalloc/Makefile ] || exit 0; \
19445 r=`${PWD_COMMAND}`; export r; \
19446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19447 $(HOST_EXPORTS) \
19448 for flag in $(EXTRA_HOST_FLAGS) ; do \
19449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19450 done; \
19451 echo "Doing mostlyclean in mmalloc" ; \
19452 (cd $(HOST_SUBDIR)/mmalloc && \
19453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19455 "RANLIB=$${RANLIB}" \
19456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19457 mostlyclean) \
19458 || exit 1
19460 @endif mmalloc
19462 .PHONY: maybe-clean-mmalloc clean-mmalloc
19463 maybe-clean-mmalloc:
19464 @if mmalloc
19465 maybe-clean-mmalloc: clean-mmalloc
19467 clean-mmalloc:
19468 @: $(MAKE); $(unstage)
19469 @[ -f ./mmalloc/Makefile ] || exit 0; \
19470 r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19472 $(HOST_EXPORTS) \
19473 for flag in $(EXTRA_HOST_FLAGS) ; do \
19474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19475 done; \
19476 echo "Doing clean in mmalloc" ; \
19477 (cd $(HOST_SUBDIR)/mmalloc && \
19478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19480 "RANLIB=$${RANLIB}" \
19481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19482 clean) \
19483 || exit 1
19485 @endif mmalloc
19487 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19488 maybe-distclean-mmalloc:
19489 @if mmalloc
19490 maybe-distclean-mmalloc: distclean-mmalloc
19492 distclean-mmalloc:
19493 @: $(MAKE); $(unstage)
19494 @[ -f ./mmalloc/Makefile ] || exit 0; \
19495 r=`${PWD_COMMAND}`; export r; \
19496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19497 $(HOST_EXPORTS) \
19498 for flag in $(EXTRA_HOST_FLAGS) ; do \
19499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19500 done; \
19501 echo "Doing distclean in mmalloc" ; \
19502 (cd $(HOST_SUBDIR)/mmalloc && \
19503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19505 "RANLIB=$${RANLIB}" \
19506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19507 distclean) \
19508 || exit 1
19510 @endif mmalloc
19512 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19513 maybe-maintainer-clean-mmalloc:
19514 @if mmalloc
19515 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19517 maintainer-clean-mmalloc:
19518 @: $(MAKE); $(unstage)
19519 @[ -f ./mmalloc/Makefile ] || exit 0; \
19520 r=`${PWD_COMMAND}`; export r; \
19521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19522 $(HOST_EXPORTS) \
19523 for flag in $(EXTRA_HOST_FLAGS) ; do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19525 done; \
19526 echo "Doing maintainer-clean in mmalloc" ; \
19527 (cd $(HOST_SUBDIR)/mmalloc && \
19528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530 "RANLIB=$${RANLIB}" \
19531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19532 maintainer-clean) \
19533 || exit 1
19535 @endif mmalloc
19539 .PHONY: configure-patch maybe-configure-patch
19540 maybe-configure-patch:
19541 @if patch
19542 maybe-configure-patch: configure-patch
19543 configure-patch:
19544 @: $(MAKE); $(unstage)
19545 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19547 r=`${PWD_COMMAND}`; export r; \
19548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19549 $(HOST_EXPORTS) \
19550 echo Configuring in $(HOST_SUBDIR)/patch; \
19551 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19552 case $(srcdir) in \
19553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19554 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19556 esac; \
19557 srcdiroption="--srcdir=$${topdir}/patch"; \
19558 libsrcdir="$$s/patch"; \
19559 $(SHELL) $${libsrcdir}/configure \
19560 $(HOST_CONFIGARGS) $${srcdiroption} \
19561 || exit 1
19562 @endif patch
19568 .PHONY: all-patch maybe-all-patch
19569 maybe-all-patch:
19570 @if patch
19571 TARGET-patch=all
19572 maybe-all-patch: all-patch
19573 all-patch: configure-patch
19574 @: $(MAKE); $(unstage)
19575 @r=`${PWD_COMMAND}`; export r; \
19576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19577 $(HOST_EXPORTS) \
19578 (cd $(HOST_SUBDIR)/patch && \
19579 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19580 @endif patch
19585 .PHONY: check-patch maybe-check-patch
19586 maybe-check-patch:
19587 @if patch
19588 maybe-check-patch: check-patch
19590 check-patch:
19591 @: $(MAKE); $(unstage)
19592 @r=`${PWD_COMMAND}`; export r; \
19593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19594 $(HOST_EXPORTS) \
19595 (cd $(HOST_SUBDIR)/patch && \
19596 $(MAKE) $(FLAGS_TO_PASS) check)
19598 @endif patch
19600 .PHONY: install-patch maybe-install-patch
19601 maybe-install-patch:
19602 @if patch
19603 maybe-install-patch: install-patch
19605 install-patch: installdirs
19606 @: $(MAKE); $(unstage)
19607 @r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 $(HOST_EXPORTS) \
19610 (cd $(HOST_SUBDIR)/patch && \
19611 $(MAKE) $(FLAGS_TO_PASS) install)
19613 @endif patch
19615 # Other targets (info, dvi, etc.)
19617 .PHONY: maybe-info-patch info-patch
19618 maybe-info-patch:
19619 @if patch
19620 maybe-info-patch: info-patch
19622 info-patch: \
19623 configure-patch
19624 @: $(MAKE); $(unstage)
19625 @[ -f ./patch/Makefile ] || exit 0; \
19626 r=`${PWD_COMMAND}`; export r; \
19627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19628 $(HOST_EXPORTS) \
19629 for flag in $(EXTRA_HOST_FLAGS) ; do \
19630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19631 done; \
19632 echo "Doing info in patch" ; \
19633 (cd $(HOST_SUBDIR)/patch && \
19634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19636 "RANLIB=$${RANLIB}" \
19637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19638 info) \
19639 || exit 1
19641 @endif patch
19643 .PHONY: maybe-dvi-patch dvi-patch
19644 maybe-dvi-patch:
19645 @if patch
19646 maybe-dvi-patch: dvi-patch
19648 dvi-patch: \
19649 configure-patch
19650 @: $(MAKE); $(unstage)
19651 @[ -f ./patch/Makefile ] || exit 0; \
19652 r=`${PWD_COMMAND}`; export r; \
19653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19654 $(HOST_EXPORTS) \
19655 for flag in $(EXTRA_HOST_FLAGS) ; do \
19656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19657 done; \
19658 echo "Doing dvi in patch" ; \
19659 (cd $(HOST_SUBDIR)/patch && \
19660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19662 "RANLIB=$${RANLIB}" \
19663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19664 dvi) \
19665 || exit 1
19667 @endif patch
19669 .PHONY: maybe-html-patch html-patch
19670 maybe-html-patch:
19671 @if patch
19672 maybe-html-patch: html-patch
19674 html-patch: \
19675 configure-patch
19676 @: $(MAKE); $(unstage)
19677 @[ -f ./patch/Makefile ] || exit 0; \
19678 r=`${PWD_COMMAND}`; export r; \
19679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19680 $(HOST_EXPORTS) \
19681 for flag in $(EXTRA_HOST_FLAGS) ; do \
19682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19683 done; \
19684 echo "Doing html in patch" ; \
19685 (cd $(HOST_SUBDIR)/patch && \
19686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19688 "RANLIB=$${RANLIB}" \
19689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19690 html) \
19691 || exit 1
19693 @endif patch
19695 .PHONY: maybe-TAGS-patch TAGS-patch
19696 maybe-TAGS-patch:
19697 @if patch
19698 maybe-TAGS-patch: TAGS-patch
19700 TAGS-patch: \
19701 configure-patch
19702 @: $(MAKE); $(unstage)
19703 @[ -f ./patch/Makefile ] || exit 0; \
19704 r=`${PWD_COMMAND}`; export r; \
19705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19706 $(HOST_EXPORTS) \
19707 for flag in $(EXTRA_HOST_FLAGS) ; do \
19708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19709 done; \
19710 echo "Doing TAGS in patch" ; \
19711 (cd $(HOST_SUBDIR)/patch && \
19712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19714 "RANLIB=$${RANLIB}" \
19715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19716 TAGS) \
19717 || exit 1
19719 @endif patch
19721 .PHONY: maybe-install-info-patch install-info-patch
19722 maybe-install-info-patch:
19723 @if patch
19724 maybe-install-info-patch: install-info-patch
19726 install-info-patch: \
19727 configure-patch \
19728 info-patch
19729 @: $(MAKE); $(unstage)
19730 @[ -f ./patch/Makefile ] || exit 0; \
19731 r=`${PWD_COMMAND}`; export r; \
19732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19733 $(HOST_EXPORTS) \
19734 for flag in $(EXTRA_HOST_FLAGS) ; do \
19735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19736 done; \
19737 echo "Doing install-info in patch" ; \
19738 (cd $(HOST_SUBDIR)/patch && \
19739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19741 "RANLIB=$${RANLIB}" \
19742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19743 install-info) \
19744 || exit 1
19746 @endif patch
19748 .PHONY: maybe-installcheck-patch installcheck-patch
19749 maybe-installcheck-patch:
19750 @if patch
19751 maybe-installcheck-patch: installcheck-patch
19753 installcheck-patch: \
19754 configure-patch
19755 @: $(MAKE); $(unstage)
19756 @[ -f ./patch/Makefile ] || exit 0; \
19757 r=`${PWD_COMMAND}`; export r; \
19758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19759 $(HOST_EXPORTS) \
19760 for flag in $(EXTRA_HOST_FLAGS) ; do \
19761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19762 done; \
19763 echo "Doing installcheck in patch" ; \
19764 (cd $(HOST_SUBDIR)/patch && \
19765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19767 "RANLIB=$${RANLIB}" \
19768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19769 installcheck) \
19770 || exit 1
19772 @endif patch
19774 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19775 maybe-mostlyclean-patch:
19776 @if patch
19777 maybe-mostlyclean-patch: mostlyclean-patch
19779 mostlyclean-patch:
19780 @: $(MAKE); $(unstage)
19781 @[ -f ./patch/Makefile ] || exit 0; \
19782 r=`${PWD_COMMAND}`; export r; \
19783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19784 $(HOST_EXPORTS) \
19785 for flag in $(EXTRA_HOST_FLAGS) ; do \
19786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19787 done; \
19788 echo "Doing mostlyclean in patch" ; \
19789 (cd $(HOST_SUBDIR)/patch && \
19790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19792 "RANLIB=$${RANLIB}" \
19793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19794 mostlyclean) \
19795 || exit 1
19797 @endif patch
19799 .PHONY: maybe-clean-patch clean-patch
19800 maybe-clean-patch:
19801 @if patch
19802 maybe-clean-patch: clean-patch
19804 clean-patch:
19805 @: $(MAKE); $(unstage)
19806 @[ -f ./patch/Makefile ] || exit 0; \
19807 r=`${PWD_COMMAND}`; export r; \
19808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19809 $(HOST_EXPORTS) \
19810 for flag in $(EXTRA_HOST_FLAGS) ; do \
19811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19812 done; \
19813 echo "Doing clean in patch" ; \
19814 (cd $(HOST_SUBDIR)/patch && \
19815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19817 "RANLIB=$${RANLIB}" \
19818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19819 clean) \
19820 || exit 1
19822 @endif patch
19824 .PHONY: maybe-distclean-patch distclean-patch
19825 maybe-distclean-patch:
19826 @if patch
19827 maybe-distclean-patch: distclean-patch
19829 distclean-patch:
19830 @: $(MAKE); $(unstage)
19831 @[ -f ./patch/Makefile ] || exit 0; \
19832 r=`${PWD_COMMAND}`; export r; \
19833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19834 $(HOST_EXPORTS) \
19835 for flag in $(EXTRA_HOST_FLAGS) ; do \
19836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19837 done; \
19838 echo "Doing distclean in patch" ; \
19839 (cd $(HOST_SUBDIR)/patch && \
19840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19842 "RANLIB=$${RANLIB}" \
19843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19844 distclean) \
19845 || exit 1
19847 @endif patch
19849 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19850 maybe-maintainer-clean-patch:
19851 @if patch
19852 maybe-maintainer-clean-patch: maintainer-clean-patch
19854 maintainer-clean-patch:
19855 @: $(MAKE); $(unstage)
19856 @[ -f ./patch/Makefile ] || exit 0; \
19857 r=`${PWD_COMMAND}`; export r; \
19858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19859 $(HOST_EXPORTS) \
19860 for flag in $(EXTRA_HOST_FLAGS) ; do \
19861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19862 done; \
19863 echo "Doing maintainer-clean in patch" ; \
19864 (cd $(HOST_SUBDIR)/patch && \
19865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19867 "RANLIB=$${RANLIB}" \
19868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19869 maintainer-clean) \
19870 || exit 1
19872 @endif patch
19876 .PHONY: configure-perl maybe-configure-perl
19877 maybe-configure-perl:
19878 @if perl
19879 maybe-configure-perl: configure-perl
19880 configure-perl:
19881 @: $(MAKE); $(unstage)
19882 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19884 r=`${PWD_COMMAND}`; export r; \
19885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19886 $(HOST_EXPORTS) \
19887 echo Configuring in $(HOST_SUBDIR)/perl; \
19888 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19889 case $(srcdir) in \
19890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19891 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19893 esac; \
19894 srcdiroption="--srcdir=$${topdir}/perl"; \
19895 libsrcdir="$$s/perl"; \
19896 $(SHELL) $${libsrcdir}/configure \
19897 $(HOST_CONFIGARGS) $${srcdiroption} \
19898 || exit 1
19899 @endif perl
19905 .PHONY: all-perl maybe-all-perl
19906 maybe-all-perl:
19907 @if perl
19908 TARGET-perl=all
19909 maybe-all-perl: all-perl
19910 all-perl: configure-perl
19911 @: $(MAKE); $(unstage)
19912 @r=`${PWD_COMMAND}`; export r; \
19913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19914 $(HOST_EXPORTS) \
19915 (cd $(HOST_SUBDIR)/perl && \
19916 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19917 @endif perl
19922 .PHONY: check-perl maybe-check-perl
19923 maybe-check-perl:
19924 @if perl
19925 maybe-check-perl: check-perl
19927 check-perl:
19928 @: $(MAKE); $(unstage)
19929 @r=`${PWD_COMMAND}`; export r; \
19930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19931 $(HOST_EXPORTS) \
19932 (cd $(HOST_SUBDIR)/perl && \
19933 $(MAKE) $(FLAGS_TO_PASS) check)
19935 @endif perl
19937 .PHONY: install-perl maybe-install-perl
19938 maybe-install-perl:
19939 @if perl
19940 maybe-install-perl: install-perl
19942 install-perl: installdirs
19943 @: $(MAKE); $(unstage)
19944 @r=`${PWD_COMMAND}`; export r; \
19945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19946 $(HOST_EXPORTS) \
19947 (cd $(HOST_SUBDIR)/perl && \
19948 $(MAKE) $(FLAGS_TO_PASS) install)
19950 @endif perl
19952 # Other targets (info, dvi, etc.)
19954 .PHONY: maybe-info-perl info-perl
19955 maybe-info-perl:
19956 @if perl
19957 maybe-info-perl: info-perl
19959 info-perl: \
19960 configure-perl
19961 @: $(MAKE); $(unstage)
19962 @[ -f ./perl/Makefile ] || exit 0; \
19963 r=`${PWD_COMMAND}`; export r; \
19964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19965 $(HOST_EXPORTS) \
19966 for flag in $(EXTRA_HOST_FLAGS) ; do \
19967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19968 done; \
19969 echo "Doing info in perl" ; \
19970 (cd $(HOST_SUBDIR)/perl && \
19971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19973 "RANLIB=$${RANLIB}" \
19974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19975 info) \
19976 || exit 1
19978 @endif perl
19980 .PHONY: maybe-dvi-perl dvi-perl
19981 maybe-dvi-perl:
19982 @if perl
19983 maybe-dvi-perl: dvi-perl
19985 dvi-perl: \
19986 configure-perl
19987 @: $(MAKE); $(unstage)
19988 @[ -f ./perl/Makefile ] || exit 0; \
19989 r=`${PWD_COMMAND}`; export r; \
19990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19991 $(HOST_EXPORTS) \
19992 for flag in $(EXTRA_HOST_FLAGS) ; do \
19993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19994 done; \
19995 echo "Doing dvi in perl" ; \
19996 (cd $(HOST_SUBDIR)/perl && \
19997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19999 "RANLIB=$${RANLIB}" \
20000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20001 dvi) \
20002 || exit 1
20004 @endif perl
20006 .PHONY: maybe-html-perl html-perl
20007 maybe-html-perl:
20008 @if perl
20009 maybe-html-perl: html-perl
20011 html-perl: \
20012 configure-perl
20013 @: $(MAKE); $(unstage)
20014 @[ -f ./perl/Makefile ] || exit 0; \
20015 r=`${PWD_COMMAND}`; export r; \
20016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20017 $(HOST_EXPORTS) \
20018 for flag in $(EXTRA_HOST_FLAGS) ; do \
20019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20020 done; \
20021 echo "Doing html in perl" ; \
20022 (cd $(HOST_SUBDIR)/perl && \
20023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20025 "RANLIB=$${RANLIB}" \
20026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20027 html) \
20028 || exit 1
20030 @endif perl
20032 .PHONY: maybe-TAGS-perl TAGS-perl
20033 maybe-TAGS-perl:
20034 @if perl
20035 maybe-TAGS-perl: TAGS-perl
20037 TAGS-perl: \
20038 configure-perl
20039 @: $(MAKE); $(unstage)
20040 @[ -f ./perl/Makefile ] || exit 0; \
20041 r=`${PWD_COMMAND}`; export r; \
20042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20043 $(HOST_EXPORTS) \
20044 for flag in $(EXTRA_HOST_FLAGS) ; do \
20045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20046 done; \
20047 echo "Doing TAGS in perl" ; \
20048 (cd $(HOST_SUBDIR)/perl && \
20049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20051 "RANLIB=$${RANLIB}" \
20052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20053 TAGS) \
20054 || exit 1
20056 @endif perl
20058 .PHONY: maybe-install-info-perl install-info-perl
20059 maybe-install-info-perl:
20060 @if perl
20061 maybe-install-info-perl: install-info-perl
20063 install-info-perl: \
20064 configure-perl \
20065 info-perl
20066 @: $(MAKE); $(unstage)
20067 @[ -f ./perl/Makefile ] || exit 0; \
20068 r=`${PWD_COMMAND}`; export r; \
20069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20070 $(HOST_EXPORTS) \
20071 for flag in $(EXTRA_HOST_FLAGS) ; do \
20072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20073 done; \
20074 echo "Doing install-info in perl" ; \
20075 (cd $(HOST_SUBDIR)/perl && \
20076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20078 "RANLIB=$${RANLIB}" \
20079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20080 install-info) \
20081 || exit 1
20083 @endif perl
20085 .PHONY: maybe-installcheck-perl installcheck-perl
20086 maybe-installcheck-perl:
20087 @if perl
20088 maybe-installcheck-perl: installcheck-perl
20090 installcheck-perl: \
20091 configure-perl
20092 @: $(MAKE); $(unstage)
20093 @[ -f ./perl/Makefile ] || exit 0; \
20094 r=`${PWD_COMMAND}`; export r; \
20095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20096 $(HOST_EXPORTS) \
20097 for flag in $(EXTRA_HOST_FLAGS) ; do \
20098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20099 done; \
20100 echo "Doing installcheck in perl" ; \
20101 (cd $(HOST_SUBDIR)/perl && \
20102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20104 "RANLIB=$${RANLIB}" \
20105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20106 installcheck) \
20107 || exit 1
20109 @endif perl
20111 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20112 maybe-mostlyclean-perl:
20113 @if perl
20114 maybe-mostlyclean-perl: mostlyclean-perl
20116 mostlyclean-perl:
20117 @: $(MAKE); $(unstage)
20118 @[ -f ./perl/Makefile ] || exit 0; \
20119 r=`${PWD_COMMAND}`; export r; \
20120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20121 $(HOST_EXPORTS) \
20122 for flag in $(EXTRA_HOST_FLAGS) ; do \
20123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20124 done; \
20125 echo "Doing mostlyclean in perl" ; \
20126 (cd $(HOST_SUBDIR)/perl && \
20127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20129 "RANLIB=$${RANLIB}" \
20130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20131 mostlyclean) \
20132 || exit 1
20134 @endif perl
20136 .PHONY: maybe-clean-perl clean-perl
20137 maybe-clean-perl:
20138 @if perl
20139 maybe-clean-perl: clean-perl
20141 clean-perl:
20142 @: $(MAKE); $(unstage)
20143 @[ -f ./perl/Makefile ] || exit 0; \
20144 r=`${PWD_COMMAND}`; export r; \
20145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 $(HOST_EXPORTS) \
20147 for flag in $(EXTRA_HOST_FLAGS) ; do \
20148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20149 done; \
20150 echo "Doing clean in perl" ; \
20151 (cd $(HOST_SUBDIR)/perl && \
20152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20154 "RANLIB=$${RANLIB}" \
20155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20156 clean) \
20157 || exit 1
20159 @endif perl
20161 .PHONY: maybe-distclean-perl distclean-perl
20162 maybe-distclean-perl:
20163 @if perl
20164 maybe-distclean-perl: distclean-perl
20166 distclean-perl:
20167 @: $(MAKE); $(unstage)
20168 @[ -f ./perl/Makefile ] || exit 0; \
20169 r=`${PWD_COMMAND}`; export r; \
20170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20171 $(HOST_EXPORTS) \
20172 for flag in $(EXTRA_HOST_FLAGS) ; do \
20173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20174 done; \
20175 echo "Doing distclean in perl" ; \
20176 (cd $(HOST_SUBDIR)/perl && \
20177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20179 "RANLIB=$${RANLIB}" \
20180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20181 distclean) \
20182 || exit 1
20184 @endif perl
20186 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20187 maybe-maintainer-clean-perl:
20188 @if perl
20189 maybe-maintainer-clean-perl: maintainer-clean-perl
20191 maintainer-clean-perl:
20192 @: $(MAKE); $(unstage)
20193 @[ -f ./perl/Makefile ] || exit 0; \
20194 r=`${PWD_COMMAND}`; export r; \
20195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20196 $(HOST_EXPORTS) \
20197 for flag in $(EXTRA_HOST_FLAGS) ; do \
20198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20199 done; \
20200 echo "Doing maintainer-clean in perl" ; \
20201 (cd $(HOST_SUBDIR)/perl && \
20202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20204 "RANLIB=$${RANLIB}" \
20205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20206 maintainer-clean) \
20207 || exit 1
20209 @endif perl
20213 .PHONY: configure-prms maybe-configure-prms
20214 maybe-configure-prms:
20215 @if prms
20216 maybe-configure-prms: configure-prms
20217 configure-prms:
20218 @: $(MAKE); $(unstage)
20219 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20221 r=`${PWD_COMMAND}`; export r; \
20222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20223 $(HOST_EXPORTS) \
20224 echo Configuring in $(HOST_SUBDIR)/prms; \
20225 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20226 case $(srcdir) in \
20227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20228 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20230 esac; \
20231 srcdiroption="--srcdir=$${topdir}/prms"; \
20232 libsrcdir="$$s/prms"; \
20233 $(SHELL) $${libsrcdir}/configure \
20234 $(HOST_CONFIGARGS) $${srcdiroption} \
20235 || exit 1
20236 @endif prms
20242 .PHONY: all-prms maybe-all-prms
20243 maybe-all-prms:
20244 @if prms
20245 TARGET-prms=all
20246 maybe-all-prms: all-prms
20247 all-prms: configure-prms
20248 @: $(MAKE); $(unstage)
20249 @r=`${PWD_COMMAND}`; export r; \
20250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20251 $(HOST_EXPORTS) \
20252 (cd $(HOST_SUBDIR)/prms && \
20253 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20254 @endif prms
20259 .PHONY: check-prms maybe-check-prms
20260 maybe-check-prms:
20261 @if prms
20262 maybe-check-prms: check-prms
20264 check-prms:
20265 @: $(MAKE); $(unstage)
20266 @r=`${PWD_COMMAND}`; export r; \
20267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20268 $(HOST_EXPORTS) \
20269 (cd $(HOST_SUBDIR)/prms && \
20270 $(MAKE) $(FLAGS_TO_PASS) check)
20272 @endif prms
20274 .PHONY: install-prms maybe-install-prms
20275 maybe-install-prms:
20276 @if prms
20277 maybe-install-prms: install-prms
20279 install-prms: installdirs
20280 @: $(MAKE); $(unstage)
20281 @r=`${PWD_COMMAND}`; export r; \
20282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20283 $(HOST_EXPORTS) \
20284 (cd $(HOST_SUBDIR)/prms && \
20285 $(MAKE) $(FLAGS_TO_PASS) install)
20287 @endif prms
20289 # Other targets (info, dvi, etc.)
20291 .PHONY: maybe-info-prms info-prms
20292 maybe-info-prms:
20293 @if prms
20294 maybe-info-prms: info-prms
20296 info-prms: \
20297 configure-prms
20298 @: $(MAKE); $(unstage)
20299 @[ -f ./prms/Makefile ] || exit 0; \
20300 r=`${PWD_COMMAND}`; export r; \
20301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20302 $(HOST_EXPORTS) \
20303 for flag in $(EXTRA_HOST_FLAGS) ; do \
20304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20305 done; \
20306 echo "Doing info in prms" ; \
20307 (cd $(HOST_SUBDIR)/prms && \
20308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20310 "RANLIB=$${RANLIB}" \
20311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20312 info) \
20313 || exit 1
20315 @endif prms
20317 .PHONY: maybe-dvi-prms dvi-prms
20318 maybe-dvi-prms:
20319 @if prms
20320 maybe-dvi-prms: dvi-prms
20322 dvi-prms: \
20323 configure-prms
20324 @: $(MAKE); $(unstage)
20325 @[ -f ./prms/Makefile ] || exit 0; \
20326 r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 $(HOST_EXPORTS) \
20329 for flag in $(EXTRA_HOST_FLAGS) ; do \
20330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20331 done; \
20332 echo "Doing dvi in prms" ; \
20333 (cd $(HOST_SUBDIR)/prms && \
20334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20336 "RANLIB=$${RANLIB}" \
20337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20338 dvi) \
20339 || exit 1
20341 @endif prms
20343 .PHONY: maybe-html-prms html-prms
20344 maybe-html-prms:
20345 @if prms
20346 maybe-html-prms: html-prms
20348 html-prms: \
20349 configure-prms
20350 @: $(MAKE); $(unstage)
20351 @[ -f ./prms/Makefile ] || exit 0; \
20352 r=`${PWD_COMMAND}`; export r; \
20353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20354 $(HOST_EXPORTS) \
20355 for flag in $(EXTRA_HOST_FLAGS) ; do \
20356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20357 done; \
20358 echo "Doing html in prms" ; \
20359 (cd $(HOST_SUBDIR)/prms && \
20360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20362 "RANLIB=$${RANLIB}" \
20363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20364 html) \
20365 || exit 1
20367 @endif prms
20369 .PHONY: maybe-TAGS-prms TAGS-prms
20370 maybe-TAGS-prms:
20371 @if prms
20372 maybe-TAGS-prms: TAGS-prms
20374 TAGS-prms: \
20375 configure-prms
20376 @: $(MAKE); $(unstage)
20377 @[ -f ./prms/Makefile ] || exit 0; \
20378 r=`${PWD_COMMAND}`; export r; \
20379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20380 $(HOST_EXPORTS) \
20381 for flag in $(EXTRA_HOST_FLAGS) ; do \
20382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20383 done; \
20384 echo "Doing TAGS in prms" ; \
20385 (cd $(HOST_SUBDIR)/prms && \
20386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20388 "RANLIB=$${RANLIB}" \
20389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20390 TAGS) \
20391 || exit 1
20393 @endif prms
20395 .PHONY: maybe-install-info-prms install-info-prms
20396 maybe-install-info-prms:
20397 @if prms
20398 maybe-install-info-prms: install-info-prms
20400 install-info-prms: \
20401 configure-prms \
20402 info-prms
20403 @: $(MAKE); $(unstage)
20404 @[ -f ./prms/Makefile ] || exit 0; \
20405 r=`${PWD_COMMAND}`; export r; \
20406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20407 $(HOST_EXPORTS) \
20408 for flag in $(EXTRA_HOST_FLAGS) ; do \
20409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20410 done; \
20411 echo "Doing install-info in prms" ; \
20412 (cd $(HOST_SUBDIR)/prms && \
20413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20415 "RANLIB=$${RANLIB}" \
20416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20417 install-info) \
20418 || exit 1
20420 @endif prms
20422 .PHONY: maybe-installcheck-prms installcheck-prms
20423 maybe-installcheck-prms:
20424 @if prms
20425 maybe-installcheck-prms: installcheck-prms
20427 installcheck-prms: \
20428 configure-prms
20429 @: $(MAKE); $(unstage)
20430 @[ -f ./prms/Makefile ] || exit 0; \
20431 r=`${PWD_COMMAND}`; export r; \
20432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20433 $(HOST_EXPORTS) \
20434 for flag in $(EXTRA_HOST_FLAGS) ; do \
20435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20436 done; \
20437 echo "Doing installcheck in prms" ; \
20438 (cd $(HOST_SUBDIR)/prms && \
20439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20441 "RANLIB=$${RANLIB}" \
20442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20443 installcheck) \
20444 || exit 1
20446 @endif prms
20448 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20449 maybe-mostlyclean-prms:
20450 @if prms
20451 maybe-mostlyclean-prms: mostlyclean-prms
20453 mostlyclean-prms:
20454 @: $(MAKE); $(unstage)
20455 @[ -f ./prms/Makefile ] || exit 0; \
20456 r=`${PWD_COMMAND}`; export r; \
20457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20458 $(HOST_EXPORTS) \
20459 for flag in $(EXTRA_HOST_FLAGS) ; do \
20460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20461 done; \
20462 echo "Doing mostlyclean in prms" ; \
20463 (cd $(HOST_SUBDIR)/prms && \
20464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20466 "RANLIB=$${RANLIB}" \
20467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20468 mostlyclean) \
20469 || exit 1
20471 @endif prms
20473 .PHONY: maybe-clean-prms clean-prms
20474 maybe-clean-prms:
20475 @if prms
20476 maybe-clean-prms: clean-prms
20478 clean-prms:
20479 @: $(MAKE); $(unstage)
20480 @[ -f ./prms/Makefile ] || exit 0; \
20481 r=`${PWD_COMMAND}`; export r; \
20482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20483 $(HOST_EXPORTS) \
20484 for flag in $(EXTRA_HOST_FLAGS) ; do \
20485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20486 done; \
20487 echo "Doing clean in prms" ; \
20488 (cd $(HOST_SUBDIR)/prms && \
20489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20491 "RANLIB=$${RANLIB}" \
20492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20493 clean) \
20494 || exit 1
20496 @endif prms
20498 .PHONY: maybe-distclean-prms distclean-prms
20499 maybe-distclean-prms:
20500 @if prms
20501 maybe-distclean-prms: distclean-prms
20503 distclean-prms:
20504 @: $(MAKE); $(unstage)
20505 @[ -f ./prms/Makefile ] || exit 0; \
20506 r=`${PWD_COMMAND}`; export r; \
20507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20508 $(HOST_EXPORTS) \
20509 for flag in $(EXTRA_HOST_FLAGS) ; do \
20510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20511 done; \
20512 echo "Doing distclean in prms" ; \
20513 (cd $(HOST_SUBDIR)/prms && \
20514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20516 "RANLIB=$${RANLIB}" \
20517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20518 distclean) \
20519 || exit 1
20521 @endif prms
20523 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20524 maybe-maintainer-clean-prms:
20525 @if prms
20526 maybe-maintainer-clean-prms: maintainer-clean-prms
20528 maintainer-clean-prms:
20529 @: $(MAKE); $(unstage)
20530 @[ -f ./prms/Makefile ] || exit 0; \
20531 r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533 $(HOST_EXPORTS) \
20534 for flag in $(EXTRA_HOST_FLAGS) ; do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20536 done; \
20537 echo "Doing maintainer-clean in prms" ; \
20538 (cd $(HOST_SUBDIR)/prms && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20543 maintainer-clean) \
20544 || exit 1
20546 @endif prms
20550 .PHONY: configure-rcs maybe-configure-rcs
20551 maybe-configure-rcs:
20552 @if rcs
20553 maybe-configure-rcs: configure-rcs
20554 configure-rcs:
20555 @: $(MAKE); $(unstage)
20556 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20558 r=`${PWD_COMMAND}`; export r; \
20559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 $(HOST_EXPORTS) \
20561 echo Configuring in $(HOST_SUBDIR)/rcs; \
20562 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20563 case $(srcdir) in \
20564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20565 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20567 esac; \
20568 srcdiroption="--srcdir=$${topdir}/rcs"; \
20569 libsrcdir="$$s/rcs"; \
20570 $(SHELL) $${libsrcdir}/configure \
20571 $(HOST_CONFIGARGS) $${srcdiroption} \
20572 || exit 1
20573 @endif rcs
20579 .PHONY: all-rcs maybe-all-rcs
20580 maybe-all-rcs:
20581 @if rcs
20582 TARGET-rcs=all
20583 maybe-all-rcs: all-rcs
20584 all-rcs: configure-rcs
20585 @: $(MAKE); $(unstage)
20586 @r=`${PWD_COMMAND}`; export r; \
20587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20588 $(HOST_EXPORTS) \
20589 (cd $(HOST_SUBDIR)/rcs && \
20590 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20591 @endif rcs
20596 .PHONY: check-rcs maybe-check-rcs
20597 maybe-check-rcs:
20598 @if rcs
20599 maybe-check-rcs: check-rcs
20601 check-rcs:
20602 @: $(MAKE); $(unstage)
20603 @r=`${PWD_COMMAND}`; export r; \
20604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20605 $(HOST_EXPORTS) \
20606 (cd $(HOST_SUBDIR)/rcs && \
20607 $(MAKE) $(FLAGS_TO_PASS) check)
20609 @endif rcs
20611 .PHONY: install-rcs maybe-install-rcs
20612 maybe-install-rcs:
20613 @if rcs
20614 maybe-install-rcs: install-rcs
20616 install-rcs: installdirs
20617 @: $(MAKE); $(unstage)
20618 @r=`${PWD_COMMAND}`; export r; \
20619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20620 $(HOST_EXPORTS) \
20621 (cd $(HOST_SUBDIR)/rcs && \
20622 $(MAKE) $(FLAGS_TO_PASS) install)
20624 @endif rcs
20626 # Other targets (info, dvi, etc.)
20628 .PHONY: maybe-info-rcs info-rcs
20629 maybe-info-rcs:
20630 @if rcs
20631 maybe-info-rcs: info-rcs
20633 info-rcs: \
20634 configure-rcs
20635 @: $(MAKE); $(unstage)
20636 @[ -f ./rcs/Makefile ] || exit 0; \
20637 r=`${PWD_COMMAND}`; export r; \
20638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 $(HOST_EXPORTS) \
20640 for flag in $(EXTRA_HOST_FLAGS) ; do \
20641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20642 done; \
20643 echo "Doing info in rcs" ; \
20644 (cd $(HOST_SUBDIR)/rcs && \
20645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20647 "RANLIB=$${RANLIB}" \
20648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20649 info) \
20650 || exit 1
20652 @endif rcs
20654 .PHONY: maybe-dvi-rcs dvi-rcs
20655 maybe-dvi-rcs:
20656 @if rcs
20657 maybe-dvi-rcs: dvi-rcs
20659 dvi-rcs: \
20660 configure-rcs
20661 @: $(MAKE); $(unstage)
20662 @[ -f ./rcs/Makefile ] || exit 0; \
20663 r=`${PWD_COMMAND}`; export r; \
20664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20665 $(HOST_EXPORTS) \
20666 for flag in $(EXTRA_HOST_FLAGS) ; do \
20667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20668 done; \
20669 echo "Doing dvi in rcs" ; \
20670 (cd $(HOST_SUBDIR)/rcs && \
20671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20673 "RANLIB=$${RANLIB}" \
20674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20675 dvi) \
20676 || exit 1
20678 @endif rcs
20680 .PHONY: maybe-html-rcs html-rcs
20681 maybe-html-rcs:
20682 @if rcs
20683 maybe-html-rcs: html-rcs
20685 html-rcs: \
20686 configure-rcs
20687 @: $(MAKE); $(unstage)
20688 @[ -f ./rcs/Makefile ] || exit 0; \
20689 r=`${PWD_COMMAND}`; export r; \
20690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20691 $(HOST_EXPORTS) \
20692 for flag in $(EXTRA_HOST_FLAGS) ; do \
20693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20694 done; \
20695 echo "Doing html in rcs" ; \
20696 (cd $(HOST_SUBDIR)/rcs && \
20697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20699 "RANLIB=$${RANLIB}" \
20700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20701 html) \
20702 || exit 1
20704 @endif rcs
20706 .PHONY: maybe-TAGS-rcs TAGS-rcs
20707 maybe-TAGS-rcs:
20708 @if rcs
20709 maybe-TAGS-rcs: TAGS-rcs
20711 TAGS-rcs: \
20712 configure-rcs
20713 @: $(MAKE); $(unstage)
20714 @[ -f ./rcs/Makefile ] || exit 0; \
20715 r=`${PWD_COMMAND}`; export r; \
20716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20717 $(HOST_EXPORTS) \
20718 for flag in $(EXTRA_HOST_FLAGS) ; do \
20719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20720 done; \
20721 echo "Doing TAGS in rcs" ; \
20722 (cd $(HOST_SUBDIR)/rcs && \
20723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20725 "RANLIB=$${RANLIB}" \
20726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20727 TAGS) \
20728 || exit 1
20730 @endif rcs
20732 .PHONY: maybe-install-info-rcs install-info-rcs
20733 maybe-install-info-rcs:
20734 @if rcs
20735 maybe-install-info-rcs: install-info-rcs
20737 install-info-rcs: \
20738 configure-rcs \
20739 info-rcs
20740 @: $(MAKE); $(unstage)
20741 @[ -f ./rcs/Makefile ] || exit 0; \
20742 r=`${PWD_COMMAND}`; export r; \
20743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20744 $(HOST_EXPORTS) \
20745 for flag in $(EXTRA_HOST_FLAGS) ; do \
20746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20747 done; \
20748 echo "Doing install-info in rcs" ; \
20749 (cd $(HOST_SUBDIR)/rcs && \
20750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20752 "RANLIB=$${RANLIB}" \
20753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20754 install-info) \
20755 || exit 1
20757 @endif rcs
20759 .PHONY: maybe-installcheck-rcs installcheck-rcs
20760 maybe-installcheck-rcs:
20761 @if rcs
20762 maybe-installcheck-rcs: installcheck-rcs
20764 installcheck-rcs: \
20765 configure-rcs
20766 @: $(MAKE); $(unstage)
20767 @[ -f ./rcs/Makefile ] || exit 0; \
20768 r=`${PWD_COMMAND}`; export r; \
20769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20770 $(HOST_EXPORTS) \
20771 for flag in $(EXTRA_HOST_FLAGS) ; do \
20772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20773 done; \
20774 echo "Doing installcheck in rcs" ; \
20775 (cd $(HOST_SUBDIR)/rcs && \
20776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20778 "RANLIB=$${RANLIB}" \
20779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20780 installcheck) \
20781 || exit 1
20783 @endif rcs
20785 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20786 maybe-mostlyclean-rcs:
20787 @if rcs
20788 maybe-mostlyclean-rcs: mostlyclean-rcs
20790 mostlyclean-rcs:
20791 @: $(MAKE); $(unstage)
20792 @[ -f ./rcs/Makefile ] || exit 0; \
20793 r=`${PWD_COMMAND}`; export r; \
20794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20795 $(HOST_EXPORTS) \
20796 for flag in $(EXTRA_HOST_FLAGS) ; do \
20797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20798 done; \
20799 echo "Doing mostlyclean in rcs" ; \
20800 (cd $(HOST_SUBDIR)/rcs && \
20801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20803 "RANLIB=$${RANLIB}" \
20804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20805 mostlyclean) \
20806 || exit 1
20808 @endif rcs
20810 .PHONY: maybe-clean-rcs clean-rcs
20811 maybe-clean-rcs:
20812 @if rcs
20813 maybe-clean-rcs: clean-rcs
20815 clean-rcs:
20816 @: $(MAKE); $(unstage)
20817 @[ -f ./rcs/Makefile ] || exit 0; \
20818 r=`${PWD_COMMAND}`; export r; \
20819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20820 $(HOST_EXPORTS) \
20821 for flag in $(EXTRA_HOST_FLAGS) ; do \
20822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20823 done; \
20824 echo "Doing clean in rcs" ; \
20825 (cd $(HOST_SUBDIR)/rcs && \
20826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20828 "RANLIB=$${RANLIB}" \
20829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20830 clean) \
20831 || exit 1
20833 @endif rcs
20835 .PHONY: maybe-distclean-rcs distclean-rcs
20836 maybe-distclean-rcs:
20837 @if rcs
20838 maybe-distclean-rcs: distclean-rcs
20840 distclean-rcs:
20841 @: $(MAKE); $(unstage)
20842 @[ -f ./rcs/Makefile ] || exit 0; \
20843 r=`${PWD_COMMAND}`; export r; \
20844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20845 $(HOST_EXPORTS) \
20846 for flag in $(EXTRA_HOST_FLAGS) ; do \
20847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20848 done; \
20849 echo "Doing distclean in rcs" ; \
20850 (cd $(HOST_SUBDIR)/rcs && \
20851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20853 "RANLIB=$${RANLIB}" \
20854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20855 distclean) \
20856 || exit 1
20858 @endif rcs
20860 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20861 maybe-maintainer-clean-rcs:
20862 @if rcs
20863 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20865 maintainer-clean-rcs:
20866 @: $(MAKE); $(unstage)
20867 @[ -f ./rcs/Makefile ] || exit 0; \
20868 r=`${PWD_COMMAND}`; export r; \
20869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20870 $(HOST_EXPORTS) \
20871 for flag in $(EXTRA_HOST_FLAGS) ; do \
20872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20873 done; \
20874 echo "Doing maintainer-clean in rcs" ; \
20875 (cd $(HOST_SUBDIR)/rcs && \
20876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20878 "RANLIB=$${RANLIB}" \
20879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20880 maintainer-clean) \
20881 || exit 1
20883 @endif rcs
20887 .PHONY: configure-readline maybe-configure-readline
20888 maybe-configure-readline:
20889 @if readline
20890 maybe-configure-readline: configure-readline
20891 configure-readline:
20892 @: $(MAKE); $(unstage)
20893 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20895 r=`${PWD_COMMAND}`; export r; \
20896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20897 $(HOST_EXPORTS) \
20898 echo Configuring in $(HOST_SUBDIR)/readline; \
20899 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20900 case $(srcdir) in \
20901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20902 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20904 esac; \
20905 srcdiroption="--srcdir=$${topdir}/readline"; \
20906 libsrcdir="$$s/readline"; \
20907 $(SHELL) $${libsrcdir}/configure \
20908 $(HOST_CONFIGARGS) $${srcdiroption} \
20909 || exit 1
20910 @endif readline
20916 .PHONY: all-readline maybe-all-readline
20917 maybe-all-readline:
20918 @if readline
20919 TARGET-readline=all
20920 maybe-all-readline: all-readline
20921 all-readline: configure-readline
20922 @: $(MAKE); $(unstage)
20923 @r=`${PWD_COMMAND}`; export r; \
20924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20925 $(HOST_EXPORTS) \
20926 (cd $(HOST_SUBDIR)/readline && \
20927 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20928 @endif readline
20933 .PHONY: check-readline maybe-check-readline
20934 maybe-check-readline:
20935 @if readline
20936 maybe-check-readline: check-readline
20938 check-readline:
20939 @: $(MAKE); $(unstage)
20940 @r=`${PWD_COMMAND}`; export r; \
20941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20942 $(HOST_EXPORTS) \
20943 (cd $(HOST_SUBDIR)/readline && \
20944 $(MAKE) $(FLAGS_TO_PASS) check)
20946 @endif readline
20948 .PHONY: install-readline maybe-install-readline
20949 maybe-install-readline:
20950 @if readline
20951 maybe-install-readline: install-readline
20953 install-readline: installdirs
20954 @: $(MAKE); $(unstage)
20955 @r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(HOST_EXPORTS) \
20958 (cd $(HOST_SUBDIR)/readline && \
20959 $(MAKE) $(FLAGS_TO_PASS) install)
20961 @endif readline
20963 # Other targets (info, dvi, etc.)
20965 .PHONY: maybe-info-readline info-readline
20966 maybe-info-readline:
20967 @if readline
20968 maybe-info-readline: info-readline
20970 info-readline: \
20971 configure-readline
20972 @: $(MAKE); $(unstage)
20973 @[ -f ./readline/Makefile ] || exit 0; \
20974 r=`${PWD_COMMAND}`; export r; \
20975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20976 $(HOST_EXPORTS) \
20977 for flag in $(EXTRA_HOST_FLAGS) ; do \
20978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20979 done; \
20980 echo "Doing info in readline" ; \
20981 (cd $(HOST_SUBDIR)/readline && \
20982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20984 "RANLIB=$${RANLIB}" \
20985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20986 info) \
20987 || exit 1
20989 @endif readline
20991 .PHONY: maybe-dvi-readline dvi-readline
20992 maybe-dvi-readline:
20993 @if readline
20994 maybe-dvi-readline: dvi-readline
20996 dvi-readline: \
20997 configure-readline
20998 @: $(MAKE); $(unstage)
20999 @[ -f ./readline/Makefile ] || exit 0; \
21000 r=`${PWD_COMMAND}`; export r; \
21001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21002 $(HOST_EXPORTS) \
21003 for flag in $(EXTRA_HOST_FLAGS) ; do \
21004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21005 done; \
21006 echo "Doing dvi in readline" ; \
21007 (cd $(HOST_SUBDIR)/readline && \
21008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21010 "RANLIB=$${RANLIB}" \
21011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21012 dvi) \
21013 || exit 1
21015 @endif readline
21017 .PHONY: maybe-html-readline html-readline
21018 maybe-html-readline:
21019 @if readline
21020 maybe-html-readline: html-readline
21022 html-readline: \
21023 configure-readline
21024 @: $(MAKE); $(unstage)
21025 @[ -f ./readline/Makefile ] || exit 0; \
21026 r=`${PWD_COMMAND}`; export r; \
21027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21028 $(HOST_EXPORTS) \
21029 for flag in $(EXTRA_HOST_FLAGS) ; do \
21030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21031 done; \
21032 echo "Doing html in readline" ; \
21033 (cd $(HOST_SUBDIR)/readline && \
21034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21036 "RANLIB=$${RANLIB}" \
21037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21038 html) \
21039 || exit 1
21041 @endif readline
21043 .PHONY: maybe-TAGS-readline TAGS-readline
21044 maybe-TAGS-readline:
21045 @if readline
21046 maybe-TAGS-readline: TAGS-readline
21048 TAGS-readline: \
21049 configure-readline
21050 @: $(MAKE); $(unstage)
21051 @[ -f ./readline/Makefile ] || exit 0; \
21052 r=`${PWD_COMMAND}`; export r; \
21053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 $(HOST_EXPORTS) \
21055 for flag in $(EXTRA_HOST_FLAGS) ; do \
21056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21057 done; \
21058 echo "Doing TAGS in readline" ; \
21059 (cd $(HOST_SUBDIR)/readline && \
21060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21062 "RANLIB=$${RANLIB}" \
21063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21064 TAGS) \
21065 || exit 1
21067 @endif readline
21069 .PHONY: maybe-install-info-readline install-info-readline
21070 maybe-install-info-readline:
21071 @if readline
21072 maybe-install-info-readline: install-info-readline
21074 install-info-readline: \
21075 configure-readline \
21076 info-readline
21077 @: $(MAKE); $(unstage)
21078 @[ -f ./readline/Makefile ] || exit 0; \
21079 r=`${PWD_COMMAND}`; export r; \
21080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21081 $(HOST_EXPORTS) \
21082 for flag in $(EXTRA_HOST_FLAGS) ; do \
21083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21084 done; \
21085 echo "Doing install-info in readline" ; \
21086 (cd $(HOST_SUBDIR)/readline && \
21087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21089 "RANLIB=$${RANLIB}" \
21090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21091 install-info) \
21092 || exit 1
21094 @endif readline
21096 .PHONY: maybe-installcheck-readline installcheck-readline
21097 maybe-installcheck-readline:
21098 @if readline
21099 maybe-installcheck-readline: installcheck-readline
21101 installcheck-readline: \
21102 configure-readline
21103 @: $(MAKE); $(unstage)
21104 @[ -f ./readline/Makefile ] || exit 0; \
21105 r=`${PWD_COMMAND}`; export r; \
21106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21107 $(HOST_EXPORTS) \
21108 for flag in $(EXTRA_HOST_FLAGS) ; do \
21109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21110 done; \
21111 echo "Doing installcheck in readline" ; \
21112 (cd $(HOST_SUBDIR)/readline && \
21113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21115 "RANLIB=$${RANLIB}" \
21116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21117 installcheck) \
21118 || exit 1
21120 @endif readline
21122 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21123 maybe-mostlyclean-readline:
21124 @if readline
21125 maybe-mostlyclean-readline: mostlyclean-readline
21127 mostlyclean-readline:
21128 @: $(MAKE); $(unstage)
21129 @[ -f ./readline/Makefile ] || exit 0; \
21130 r=`${PWD_COMMAND}`; export r; \
21131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21132 $(HOST_EXPORTS) \
21133 for flag in $(EXTRA_HOST_FLAGS) ; do \
21134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21135 done; \
21136 echo "Doing mostlyclean in readline" ; \
21137 (cd $(HOST_SUBDIR)/readline && \
21138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21140 "RANLIB=$${RANLIB}" \
21141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21142 mostlyclean) \
21143 || exit 1
21145 @endif readline
21147 .PHONY: maybe-clean-readline clean-readline
21148 maybe-clean-readline:
21149 @if readline
21150 maybe-clean-readline: clean-readline
21152 clean-readline:
21153 @: $(MAKE); $(unstage)
21154 @[ -f ./readline/Makefile ] || exit 0; \
21155 r=`${PWD_COMMAND}`; export r; \
21156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21157 $(HOST_EXPORTS) \
21158 for flag in $(EXTRA_HOST_FLAGS) ; do \
21159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21160 done; \
21161 echo "Doing clean in readline" ; \
21162 (cd $(HOST_SUBDIR)/readline && \
21163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21165 "RANLIB=$${RANLIB}" \
21166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21167 clean) \
21168 || exit 1
21170 @endif readline
21172 .PHONY: maybe-distclean-readline distclean-readline
21173 maybe-distclean-readline:
21174 @if readline
21175 maybe-distclean-readline: distclean-readline
21177 distclean-readline:
21178 @: $(MAKE); $(unstage)
21179 @[ -f ./readline/Makefile ] || exit 0; \
21180 r=`${PWD_COMMAND}`; export r; \
21181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21182 $(HOST_EXPORTS) \
21183 for flag in $(EXTRA_HOST_FLAGS) ; do \
21184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21185 done; \
21186 echo "Doing distclean in readline" ; \
21187 (cd $(HOST_SUBDIR)/readline && \
21188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21190 "RANLIB=$${RANLIB}" \
21191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21192 distclean) \
21193 || exit 1
21195 @endif readline
21197 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21198 maybe-maintainer-clean-readline:
21199 @if readline
21200 maybe-maintainer-clean-readline: maintainer-clean-readline
21202 maintainer-clean-readline:
21203 @: $(MAKE); $(unstage)
21204 @[ -f ./readline/Makefile ] || exit 0; \
21205 r=`${PWD_COMMAND}`; export r; \
21206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21207 $(HOST_EXPORTS) \
21208 for flag in $(EXTRA_HOST_FLAGS) ; do \
21209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21210 done; \
21211 echo "Doing maintainer-clean in readline" ; \
21212 (cd $(HOST_SUBDIR)/readline && \
21213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21215 "RANLIB=$${RANLIB}" \
21216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21217 maintainer-clean) \
21218 || exit 1
21220 @endif readline
21224 .PHONY: configure-release maybe-configure-release
21225 maybe-configure-release:
21226 @if release
21227 maybe-configure-release: configure-release
21228 configure-release:
21229 @: $(MAKE); $(unstage)
21230 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21232 r=`${PWD_COMMAND}`; export r; \
21233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21234 $(HOST_EXPORTS) \
21235 echo Configuring in $(HOST_SUBDIR)/release; \
21236 cd "$(HOST_SUBDIR)/release" || exit 1; \
21237 case $(srcdir) in \
21238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21239 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21241 esac; \
21242 srcdiroption="--srcdir=$${topdir}/release"; \
21243 libsrcdir="$$s/release"; \
21244 $(SHELL) $${libsrcdir}/configure \
21245 $(HOST_CONFIGARGS) $${srcdiroption} \
21246 || exit 1
21247 @endif release
21253 .PHONY: all-release maybe-all-release
21254 maybe-all-release:
21255 @if release
21256 TARGET-release=all
21257 maybe-all-release: all-release
21258 all-release: configure-release
21259 @: $(MAKE); $(unstage)
21260 @r=`${PWD_COMMAND}`; export r; \
21261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21262 $(HOST_EXPORTS) \
21263 (cd $(HOST_SUBDIR)/release && \
21264 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21265 @endif release
21270 .PHONY: check-release maybe-check-release
21271 maybe-check-release:
21272 @if release
21273 maybe-check-release: check-release
21275 check-release:
21277 @endif release
21279 .PHONY: install-release maybe-install-release
21280 maybe-install-release:
21281 @if release
21282 maybe-install-release: install-release
21284 install-release:
21286 @endif release
21288 # Other targets (info, dvi, etc.)
21290 .PHONY: maybe-info-release info-release
21291 maybe-info-release:
21292 @if release
21293 maybe-info-release: info-release
21295 info-release: \
21296 configure-release
21297 @: $(MAKE); $(unstage)
21298 @[ -f ./release/Makefile ] || exit 0; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301 $(HOST_EXPORTS) \
21302 for flag in $(EXTRA_HOST_FLAGS) ; do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21304 done; \
21305 echo "Doing info in release" ; \
21306 (cd $(HOST_SUBDIR)/release && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311 info) \
21312 || exit 1
21314 @endif release
21316 .PHONY: maybe-dvi-release dvi-release
21317 maybe-dvi-release:
21318 @if release
21319 maybe-dvi-release: dvi-release
21321 dvi-release: \
21322 configure-release
21323 @: $(MAKE); $(unstage)
21324 @[ -f ./release/Makefile ] || exit 0; \
21325 r=`${PWD_COMMAND}`; export r; \
21326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21327 $(HOST_EXPORTS) \
21328 for flag in $(EXTRA_HOST_FLAGS) ; do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21330 done; \
21331 echo "Doing dvi in release" ; \
21332 (cd $(HOST_SUBDIR)/release && \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21337 dvi) \
21338 || exit 1
21340 @endif release
21342 .PHONY: maybe-html-release html-release
21343 maybe-html-release:
21344 @if release
21345 maybe-html-release: html-release
21347 html-release: \
21348 configure-release
21349 @: $(MAKE); $(unstage)
21350 @[ -f ./release/Makefile ] || exit 0; \
21351 r=`${PWD_COMMAND}`; export r; \
21352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21353 $(HOST_EXPORTS) \
21354 for flag in $(EXTRA_HOST_FLAGS) ; do \
21355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21356 done; \
21357 echo "Doing html in release" ; \
21358 (cd $(HOST_SUBDIR)/release && \
21359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21361 "RANLIB=$${RANLIB}" \
21362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21363 html) \
21364 || exit 1
21366 @endif release
21368 .PHONY: maybe-TAGS-release TAGS-release
21369 maybe-TAGS-release:
21370 @if release
21371 maybe-TAGS-release: TAGS-release
21373 TAGS-release: \
21374 configure-release
21375 @: $(MAKE); $(unstage)
21376 @[ -f ./release/Makefile ] || exit 0; \
21377 r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 $(HOST_EXPORTS) \
21380 for flag in $(EXTRA_HOST_FLAGS) ; do \
21381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21382 done; \
21383 echo "Doing TAGS in release" ; \
21384 (cd $(HOST_SUBDIR)/release && \
21385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21387 "RANLIB=$${RANLIB}" \
21388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21389 TAGS) \
21390 || exit 1
21392 @endif release
21394 .PHONY: maybe-install-info-release install-info-release
21395 maybe-install-info-release:
21396 @if release
21397 maybe-install-info-release: install-info-release
21399 install-info-release: \
21400 configure-release \
21401 info-release
21402 @: $(MAKE); $(unstage)
21403 @[ -f ./release/Makefile ] || exit 0; \
21404 r=`${PWD_COMMAND}`; export r; \
21405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21406 $(HOST_EXPORTS) \
21407 for flag in $(EXTRA_HOST_FLAGS) ; do \
21408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21409 done; \
21410 echo "Doing install-info in release" ; \
21411 (cd $(HOST_SUBDIR)/release && \
21412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21414 "RANLIB=$${RANLIB}" \
21415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21416 install-info) \
21417 || exit 1
21419 @endif release
21421 .PHONY: maybe-installcheck-release installcheck-release
21422 maybe-installcheck-release:
21423 @if release
21424 maybe-installcheck-release: installcheck-release
21426 installcheck-release: \
21427 configure-release
21428 @: $(MAKE); $(unstage)
21429 @[ -f ./release/Makefile ] || exit 0; \
21430 r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 $(HOST_EXPORTS) \
21433 for flag in $(EXTRA_HOST_FLAGS) ; do \
21434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21435 done; \
21436 echo "Doing installcheck in release" ; \
21437 (cd $(HOST_SUBDIR)/release && \
21438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21440 "RANLIB=$${RANLIB}" \
21441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21442 installcheck) \
21443 || exit 1
21445 @endif release
21447 .PHONY: maybe-mostlyclean-release mostlyclean-release
21448 maybe-mostlyclean-release:
21449 @if release
21450 maybe-mostlyclean-release: mostlyclean-release
21452 mostlyclean-release:
21453 @: $(MAKE); $(unstage)
21454 @[ -f ./release/Makefile ] || exit 0; \
21455 r=`${PWD_COMMAND}`; export r; \
21456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21457 $(HOST_EXPORTS) \
21458 for flag in $(EXTRA_HOST_FLAGS) ; do \
21459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21460 done; \
21461 echo "Doing mostlyclean in release" ; \
21462 (cd $(HOST_SUBDIR)/release && \
21463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21465 "RANLIB=$${RANLIB}" \
21466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21467 mostlyclean) \
21468 || exit 1
21470 @endif release
21472 .PHONY: maybe-clean-release clean-release
21473 maybe-clean-release:
21474 @if release
21475 maybe-clean-release: clean-release
21477 clean-release:
21478 @: $(MAKE); $(unstage)
21479 @[ -f ./release/Makefile ] || exit 0; \
21480 r=`${PWD_COMMAND}`; export r; \
21481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21482 $(HOST_EXPORTS) \
21483 for flag in $(EXTRA_HOST_FLAGS) ; do \
21484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21485 done; \
21486 echo "Doing clean in release" ; \
21487 (cd $(HOST_SUBDIR)/release && \
21488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21490 "RANLIB=$${RANLIB}" \
21491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21492 clean) \
21493 || exit 1
21495 @endif release
21497 .PHONY: maybe-distclean-release distclean-release
21498 maybe-distclean-release:
21499 @if release
21500 maybe-distclean-release: distclean-release
21502 distclean-release:
21503 @: $(MAKE); $(unstage)
21504 @[ -f ./release/Makefile ] || exit 0; \
21505 r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 $(HOST_EXPORTS) \
21508 for flag in $(EXTRA_HOST_FLAGS) ; do \
21509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21510 done; \
21511 echo "Doing distclean in release" ; \
21512 (cd $(HOST_SUBDIR)/release && \
21513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21515 "RANLIB=$${RANLIB}" \
21516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21517 distclean) \
21518 || exit 1
21520 @endif release
21522 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21523 maybe-maintainer-clean-release:
21524 @if release
21525 maybe-maintainer-clean-release: maintainer-clean-release
21527 maintainer-clean-release:
21528 @: $(MAKE); $(unstage)
21529 @[ -f ./release/Makefile ] || exit 0; \
21530 r=`${PWD_COMMAND}`; export r; \
21531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 $(HOST_EXPORTS) \
21533 for flag in $(EXTRA_HOST_FLAGS) ; do \
21534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21535 done; \
21536 echo "Doing maintainer-clean in release" ; \
21537 (cd $(HOST_SUBDIR)/release && \
21538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21540 "RANLIB=$${RANLIB}" \
21541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21542 maintainer-clean) \
21543 || exit 1
21545 @endif release
21549 .PHONY: configure-recode maybe-configure-recode
21550 maybe-configure-recode:
21551 @if recode
21552 maybe-configure-recode: configure-recode
21553 configure-recode:
21554 @: $(MAKE); $(unstage)
21555 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21557 r=`${PWD_COMMAND}`; export r; \
21558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 $(HOST_EXPORTS) \
21560 echo Configuring in $(HOST_SUBDIR)/recode; \
21561 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21562 case $(srcdir) in \
21563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21564 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21566 esac; \
21567 srcdiroption="--srcdir=$${topdir}/recode"; \
21568 libsrcdir="$$s/recode"; \
21569 $(SHELL) $${libsrcdir}/configure \
21570 $(HOST_CONFIGARGS) $${srcdiroption} \
21571 || exit 1
21572 @endif recode
21578 .PHONY: all-recode maybe-all-recode
21579 maybe-all-recode:
21580 @if recode
21581 TARGET-recode=all
21582 maybe-all-recode: all-recode
21583 all-recode: configure-recode
21584 @: $(MAKE); $(unstage)
21585 @r=`${PWD_COMMAND}`; export r; \
21586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21587 $(HOST_EXPORTS) \
21588 (cd $(HOST_SUBDIR)/recode && \
21589 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21590 @endif recode
21595 .PHONY: check-recode maybe-check-recode
21596 maybe-check-recode:
21597 @if recode
21598 maybe-check-recode: check-recode
21600 check-recode:
21601 @: $(MAKE); $(unstage)
21602 @r=`${PWD_COMMAND}`; export r; \
21603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21604 $(HOST_EXPORTS) \
21605 (cd $(HOST_SUBDIR)/recode && \
21606 $(MAKE) $(FLAGS_TO_PASS) check)
21608 @endif recode
21610 .PHONY: install-recode maybe-install-recode
21611 maybe-install-recode:
21612 @if recode
21613 maybe-install-recode: install-recode
21615 install-recode: installdirs
21616 @: $(MAKE); $(unstage)
21617 @r=`${PWD_COMMAND}`; export r; \
21618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21619 $(HOST_EXPORTS) \
21620 (cd $(HOST_SUBDIR)/recode && \
21621 $(MAKE) $(FLAGS_TO_PASS) install)
21623 @endif recode
21625 # Other targets (info, dvi, etc.)
21627 .PHONY: maybe-info-recode info-recode
21628 maybe-info-recode:
21629 @if recode
21630 maybe-info-recode: info-recode
21632 info-recode: \
21633 configure-recode
21634 @: $(MAKE); $(unstage)
21635 @[ -f ./recode/Makefile ] || exit 0; \
21636 r=`${PWD_COMMAND}`; export r; \
21637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21638 $(HOST_EXPORTS) \
21639 for flag in $(EXTRA_HOST_FLAGS) ; do \
21640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21641 done; \
21642 echo "Doing info in recode" ; \
21643 (cd $(HOST_SUBDIR)/recode && \
21644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21646 "RANLIB=$${RANLIB}" \
21647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21648 info) \
21649 || exit 1
21651 @endif recode
21653 .PHONY: maybe-dvi-recode dvi-recode
21654 maybe-dvi-recode:
21655 @if recode
21656 maybe-dvi-recode: dvi-recode
21658 dvi-recode: \
21659 configure-recode
21660 @: $(MAKE); $(unstage)
21661 @[ -f ./recode/Makefile ] || exit 0; \
21662 r=`${PWD_COMMAND}`; export r; \
21663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21664 $(HOST_EXPORTS) \
21665 for flag in $(EXTRA_HOST_FLAGS) ; do \
21666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21667 done; \
21668 echo "Doing dvi in recode" ; \
21669 (cd $(HOST_SUBDIR)/recode && \
21670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21672 "RANLIB=$${RANLIB}" \
21673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21674 dvi) \
21675 || exit 1
21677 @endif recode
21679 .PHONY: maybe-html-recode html-recode
21680 maybe-html-recode:
21681 @if recode
21682 maybe-html-recode: html-recode
21684 html-recode: \
21685 configure-recode
21686 @: $(MAKE); $(unstage)
21687 @[ -f ./recode/Makefile ] || exit 0; \
21688 r=`${PWD_COMMAND}`; export r; \
21689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21690 $(HOST_EXPORTS) \
21691 for flag in $(EXTRA_HOST_FLAGS) ; do \
21692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21693 done; \
21694 echo "Doing html in recode" ; \
21695 (cd $(HOST_SUBDIR)/recode && \
21696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21698 "RANLIB=$${RANLIB}" \
21699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21700 html) \
21701 || exit 1
21703 @endif recode
21705 .PHONY: maybe-TAGS-recode TAGS-recode
21706 maybe-TAGS-recode:
21707 @if recode
21708 maybe-TAGS-recode: TAGS-recode
21710 TAGS-recode: \
21711 configure-recode
21712 @: $(MAKE); $(unstage)
21713 @[ -f ./recode/Makefile ] || exit 0; \
21714 r=`${PWD_COMMAND}`; export r; \
21715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21716 $(HOST_EXPORTS) \
21717 for flag in $(EXTRA_HOST_FLAGS) ; do \
21718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21719 done; \
21720 echo "Doing TAGS in recode" ; \
21721 (cd $(HOST_SUBDIR)/recode && \
21722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21724 "RANLIB=$${RANLIB}" \
21725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21726 TAGS) \
21727 || exit 1
21729 @endif recode
21731 .PHONY: maybe-install-info-recode install-info-recode
21732 maybe-install-info-recode:
21733 @if recode
21734 maybe-install-info-recode: install-info-recode
21736 install-info-recode: \
21737 configure-recode \
21738 info-recode
21739 @: $(MAKE); $(unstage)
21740 @[ -f ./recode/Makefile ] || exit 0; \
21741 r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(HOST_EXPORTS) \
21744 for flag in $(EXTRA_HOST_FLAGS) ; do \
21745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21746 done; \
21747 echo "Doing install-info in recode" ; \
21748 (cd $(HOST_SUBDIR)/recode && \
21749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21751 "RANLIB=$${RANLIB}" \
21752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21753 install-info) \
21754 || exit 1
21756 @endif recode
21758 .PHONY: maybe-installcheck-recode installcheck-recode
21759 maybe-installcheck-recode:
21760 @if recode
21761 maybe-installcheck-recode: installcheck-recode
21763 installcheck-recode: \
21764 configure-recode
21765 @: $(MAKE); $(unstage)
21766 @[ -f ./recode/Makefile ] || exit 0; \
21767 r=`${PWD_COMMAND}`; export r; \
21768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 $(HOST_EXPORTS) \
21770 for flag in $(EXTRA_HOST_FLAGS) ; do \
21771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21772 done; \
21773 echo "Doing installcheck in recode" ; \
21774 (cd $(HOST_SUBDIR)/recode && \
21775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21777 "RANLIB=$${RANLIB}" \
21778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21779 installcheck) \
21780 || exit 1
21782 @endif recode
21784 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21785 maybe-mostlyclean-recode:
21786 @if recode
21787 maybe-mostlyclean-recode: mostlyclean-recode
21789 mostlyclean-recode:
21790 @: $(MAKE); $(unstage)
21791 @[ -f ./recode/Makefile ] || exit 0; \
21792 r=`${PWD_COMMAND}`; export r; \
21793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21794 $(HOST_EXPORTS) \
21795 for flag in $(EXTRA_HOST_FLAGS) ; do \
21796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21797 done; \
21798 echo "Doing mostlyclean in recode" ; \
21799 (cd $(HOST_SUBDIR)/recode && \
21800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21802 "RANLIB=$${RANLIB}" \
21803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21804 mostlyclean) \
21805 || exit 1
21807 @endif recode
21809 .PHONY: maybe-clean-recode clean-recode
21810 maybe-clean-recode:
21811 @if recode
21812 maybe-clean-recode: clean-recode
21814 clean-recode:
21815 @: $(MAKE); $(unstage)
21816 @[ -f ./recode/Makefile ] || exit 0; \
21817 r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 $(HOST_EXPORTS) \
21820 for flag in $(EXTRA_HOST_FLAGS) ; do \
21821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21822 done; \
21823 echo "Doing clean in recode" ; \
21824 (cd $(HOST_SUBDIR)/recode && \
21825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21827 "RANLIB=$${RANLIB}" \
21828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21829 clean) \
21830 || exit 1
21832 @endif recode
21834 .PHONY: maybe-distclean-recode distclean-recode
21835 maybe-distclean-recode:
21836 @if recode
21837 maybe-distclean-recode: distclean-recode
21839 distclean-recode:
21840 @: $(MAKE); $(unstage)
21841 @[ -f ./recode/Makefile ] || exit 0; \
21842 r=`${PWD_COMMAND}`; export r; \
21843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21844 $(HOST_EXPORTS) \
21845 for flag in $(EXTRA_HOST_FLAGS) ; do \
21846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21847 done; \
21848 echo "Doing distclean in recode" ; \
21849 (cd $(HOST_SUBDIR)/recode && \
21850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21852 "RANLIB=$${RANLIB}" \
21853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21854 distclean) \
21855 || exit 1
21857 @endif recode
21859 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21860 maybe-maintainer-clean-recode:
21861 @if recode
21862 maybe-maintainer-clean-recode: maintainer-clean-recode
21864 maintainer-clean-recode:
21865 @: $(MAKE); $(unstage)
21866 @[ -f ./recode/Makefile ] || exit 0; \
21867 r=`${PWD_COMMAND}`; export r; \
21868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21869 $(HOST_EXPORTS) \
21870 for flag in $(EXTRA_HOST_FLAGS) ; do \
21871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21872 done; \
21873 echo "Doing maintainer-clean in recode" ; \
21874 (cd $(HOST_SUBDIR)/recode && \
21875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21877 "RANLIB=$${RANLIB}" \
21878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21879 maintainer-clean) \
21880 || exit 1
21882 @endif recode
21886 .PHONY: configure-sed maybe-configure-sed
21887 maybe-configure-sed:
21888 @if sed
21889 maybe-configure-sed: configure-sed
21890 configure-sed:
21891 @: $(MAKE); $(unstage)
21892 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21893 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21894 r=`${PWD_COMMAND}`; export r; \
21895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21896 $(HOST_EXPORTS) \
21897 echo Configuring in $(HOST_SUBDIR)/sed; \
21898 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21899 case $(srcdir) in \
21900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21901 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21903 esac; \
21904 srcdiroption="--srcdir=$${topdir}/sed"; \
21905 libsrcdir="$$s/sed"; \
21906 $(SHELL) $${libsrcdir}/configure \
21907 $(HOST_CONFIGARGS) $${srcdiroption} \
21908 || exit 1
21909 @endif sed
21915 .PHONY: all-sed maybe-all-sed
21916 maybe-all-sed:
21917 @if sed
21918 TARGET-sed=all
21919 maybe-all-sed: all-sed
21920 all-sed: configure-sed
21921 @: $(MAKE); $(unstage)
21922 @r=`${PWD_COMMAND}`; export r; \
21923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21924 $(HOST_EXPORTS) \
21925 (cd $(HOST_SUBDIR)/sed && \
21926 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21927 @endif sed
21932 .PHONY: check-sed maybe-check-sed
21933 maybe-check-sed:
21934 @if sed
21935 maybe-check-sed: check-sed
21937 check-sed:
21938 @: $(MAKE); $(unstage)
21939 @r=`${PWD_COMMAND}`; export r; \
21940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21941 $(HOST_EXPORTS) \
21942 (cd $(HOST_SUBDIR)/sed && \
21943 $(MAKE) $(FLAGS_TO_PASS) check)
21945 @endif sed
21947 .PHONY: install-sed maybe-install-sed
21948 maybe-install-sed:
21949 @if sed
21950 maybe-install-sed: install-sed
21952 install-sed: installdirs
21953 @: $(MAKE); $(unstage)
21954 @r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 $(HOST_EXPORTS) \
21957 (cd $(HOST_SUBDIR)/sed && \
21958 $(MAKE) $(FLAGS_TO_PASS) install)
21960 @endif sed
21962 # Other targets (info, dvi, etc.)
21964 .PHONY: maybe-info-sed info-sed
21965 maybe-info-sed:
21966 @if sed
21967 maybe-info-sed: info-sed
21969 info-sed: \
21970 configure-sed
21971 @: $(MAKE); $(unstage)
21972 @[ -f ./sed/Makefile ] || exit 0; \
21973 r=`${PWD_COMMAND}`; export r; \
21974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21975 $(HOST_EXPORTS) \
21976 for flag in $(EXTRA_HOST_FLAGS) ; do \
21977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21978 done; \
21979 echo "Doing info in sed" ; \
21980 (cd $(HOST_SUBDIR)/sed && \
21981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21983 "RANLIB=$${RANLIB}" \
21984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21985 info) \
21986 || exit 1
21988 @endif sed
21990 .PHONY: maybe-dvi-sed dvi-sed
21991 maybe-dvi-sed:
21992 @if sed
21993 maybe-dvi-sed: dvi-sed
21995 dvi-sed: \
21996 configure-sed
21997 @: $(MAKE); $(unstage)
21998 @[ -f ./sed/Makefile ] || exit 0; \
21999 r=`${PWD_COMMAND}`; export r; \
22000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22001 $(HOST_EXPORTS) \
22002 for flag in $(EXTRA_HOST_FLAGS) ; do \
22003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22004 done; \
22005 echo "Doing dvi in sed" ; \
22006 (cd $(HOST_SUBDIR)/sed && \
22007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22009 "RANLIB=$${RANLIB}" \
22010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22011 dvi) \
22012 || exit 1
22014 @endif sed
22016 .PHONY: maybe-html-sed html-sed
22017 maybe-html-sed:
22018 @if sed
22019 maybe-html-sed: html-sed
22021 html-sed: \
22022 configure-sed
22023 @: $(MAKE); $(unstage)
22024 @[ -f ./sed/Makefile ] || exit 0; \
22025 r=`${PWD_COMMAND}`; export r; \
22026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22027 $(HOST_EXPORTS) \
22028 for flag in $(EXTRA_HOST_FLAGS) ; do \
22029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22030 done; \
22031 echo "Doing html in sed" ; \
22032 (cd $(HOST_SUBDIR)/sed && \
22033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22035 "RANLIB=$${RANLIB}" \
22036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22037 html) \
22038 || exit 1
22040 @endif sed
22042 .PHONY: maybe-TAGS-sed TAGS-sed
22043 maybe-TAGS-sed:
22044 @if sed
22045 maybe-TAGS-sed: TAGS-sed
22047 TAGS-sed: \
22048 configure-sed
22049 @: $(MAKE); $(unstage)
22050 @[ -f ./sed/Makefile ] || exit 0; \
22051 r=`${PWD_COMMAND}`; export r; \
22052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22053 $(HOST_EXPORTS) \
22054 for flag in $(EXTRA_HOST_FLAGS) ; do \
22055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22056 done; \
22057 echo "Doing TAGS in sed" ; \
22058 (cd $(HOST_SUBDIR)/sed && \
22059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22061 "RANLIB=$${RANLIB}" \
22062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22063 TAGS) \
22064 || exit 1
22066 @endif sed
22068 .PHONY: maybe-install-info-sed install-info-sed
22069 maybe-install-info-sed:
22070 @if sed
22071 maybe-install-info-sed: install-info-sed
22073 install-info-sed: \
22074 configure-sed \
22075 info-sed
22076 @: $(MAKE); $(unstage)
22077 @[ -f ./sed/Makefile ] || exit 0; \
22078 r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22080 $(HOST_EXPORTS) \
22081 for flag in $(EXTRA_HOST_FLAGS) ; do \
22082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22083 done; \
22084 echo "Doing install-info in sed" ; \
22085 (cd $(HOST_SUBDIR)/sed && \
22086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22088 "RANLIB=$${RANLIB}" \
22089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22090 install-info) \
22091 || exit 1
22093 @endif sed
22095 .PHONY: maybe-installcheck-sed installcheck-sed
22096 maybe-installcheck-sed:
22097 @if sed
22098 maybe-installcheck-sed: installcheck-sed
22100 installcheck-sed: \
22101 configure-sed
22102 @: $(MAKE); $(unstage)
22103 @[ -f ./sed/Makefile ] || exit 0; \
22104 r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22106 $(HOST_EXPORTS) \
22107 for flag in $(EXTRA_HOST_FLAGS) ; do \
22108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22109 done; \
22110 echo "Doing installcheck in sed" ; \
22111 (cd $(HOST_SUBDIR)/sed && \
22112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22114 "RANLIB=$${RANLIB}" \
22115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22116 installcheck) \
22117 || exit 1
22119 @endif sed
22121 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22122 maybe-mostlyclean-sed:
22123 @if sed
22124 maybe-mostlyclean-sed: mostlyclean-sed
22126 mostlyclean-sed:
22127 @: $(MAKE); $(unstage)
22128 @[ -f ./sed/Makefile ] || exit 0; \
22129 r=`${PWD_COMMAND}`; export r; \
22130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22131 $(HOST_EXPORTS) \
22132 for flag in $(EXTRA_HOST_FLAGS) ; do \
22133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22134 done; \
22135 echo "Doing mostlyclean in sed" ; \
22136 (cd $(HOST_SUBDIR)/sed && \
22137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22139 "RANLIB=$${RANLIB}" \
22140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22141 mostlyclean) \
22142 || exit 1
22144 @endif sed
22146 .PHONY: maybe-clean-sed clean-sed
22147 maybe-clean-sed:
22148 @if sed
22149 maybe-clean-sed: clean-sed
22151 clean-sed:
22152 @: $(MAKE); $(unstage)
22153 @[ -f ./sed/Makefile ] || exit 0; \
22154 r=`${PWD_COMMAND}`; export r; \
22155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22156 $(HOST_EXPORTS) \
22157 for flag in $(EXTRA_HOST_FLAGS) ; do \
22158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22159 done; \
22160 echo "Doing clean in sed" ; \
22161 (cd $(HOST_SUBDIR)/sed && \
22162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22164 "RANLIB=$${RANLIB}" \
22165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22166 clean) \
22167 || exit 1
22169 @endif sed
22171 .PHONY: maybe-distclean-sed distclean-sed
22172 maybe-distclean-sed:
22173 @if sed
22174 maybe-distclean-sed: distclean-sed
22176 distclean-sed:
22177 @: $(MAKE); $(unstage)
22178 @[ -f ./sed/Makefile ] || exit 0; \
22179 r=`${PWD_COMMAND}`; export r; \
22180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22181 $(HOST_EXPORTS) \
22182 for flag in $(EXTRA_HOST_FLAGS) ; do \
22183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22184 done; \
22185 echo "Doing distclean in sed" ; \
22186 (cd $(HOST_SUBDIR)/sed && \
22187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22189 "RANLIB=$${RANLIB}" \
22190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22191 distclean) \
22192 || exit 1
22194 @endif sed
22196 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22197 maybe-maintainer-clean-sed:
22198 @if sed
22199 maybe-maintainer-clean-sed: maintainer-clean-sed
22201 maintainer-clean-sed:
22202 @: $(MAKE); $(unstage)
22203 @[ -f ./sed/Makefile ] || exit 0; \
22204 r=`${PWD_COMMAND}`; export r; \
22205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22206 $(HOST_EXPORTS) \
22207 for flag in $(EXTRA_HOST_FLAGS) ; do \
22208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22209 done; \
22210 echo "Doing maintainer-clean in sed" ; \
22211 (cd $(HOST_SUBDIR)/sed && \
22212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22214 "RANLIB=$${RANLIB}" \
22215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22216 maintainer-clean) \
22217 || exit 1
22219 @endif sed
22223 .PHONY: configure-send-pr maybe-configure-send-pr
22224 maybe-configure-send-pr:
22225 @if send-pr
22226 maybe-configure-send-pr: configure-send-pr
22227 configure-send-pr:
22228 @: $(MAKE); $(unstage)
22229 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22231 r=`${PWD_COMMAND}`; export r; \
22232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22233 $(HOST_EXPORTS) \
22234 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22235 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22236 case $(srcdir) in \
22237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22238 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22240 esac; \
22241 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22242 libsrcdir="$$s/send-pr"; \
22243 $(SHELL) $${libsrcdir}/configure \
22244 $(HOST_CONFIGARGS) $${srcdiroption} \
22245 || exit 1
22246 @endif send-pr
22252 .PHONY: all-send-pr maybe-all-send-pr
22253 maybe-all-send-pr:
22254 @if send-pr
22255 TARGET-send-pr=all
22256 maybe-all-send-pr: all-send-pr
22257 all-send-pr: configure-send-pr
22258 @: $(MAKE); $(unstage)
22259 @r=`${PWD_COMMAND}`; export r; \
22260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22261 $(HOST_EXPORTS) \
22262 (cd $(HOST_SUBDIR)/send-pr && \
22263 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22264 @endif send-pr
22269 .PHONY: check-send-pr maybe-check-send-pr
22270 maybe-check-send-pr:
22271 @if send-pr
22272 maybe-check-send-pr: check-send-pr
22274 check-send-pr:
22275 @: $(MAKE); $(unstage)
22276 @r=`${PWD_COMMAND}`; export r; \
22277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22278 $(HOST_EXPORTS) \
22279 (cd $(HOST_SUBDIR)/send-pr && \
22280 $(MAKE) $(FLAGS_TO_PASS) check)
22282 @endif send-pr
22284 .PHONY: install-send-pr maybe-install-send-pr
22285 maybe-install-send-pr:
22286 @if send-pr
22287 maybe-install-send-pr: install-send-pr
22289 install-send-pr: installdirs
22290 @: $(MAKE); $(unstage)
22291 @r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 $(HOST_EXPORTS) \
22294 (cd $(HOST_SUBDIR)/send-pr && \
22295 $(MAKE) $(FLAGS_TO_PASS) install)
22297 @endif send-pr
22299 # Other targets (info, dvi, etc.)
22301 .PHONY: maybe-info-send-pr info-send-pr
22302 maybe-info-send-pr:
22303 @if send-pr
22304 maybe-info-send-pr: info-send-pr
22306 info-send-pr: \
22307 configure-send-pr
22308 @: $(MAKE); $(unstage)
22309 @[ -f ./send-pr/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22312 $(HOST_EXPORTS) \
22313 for flag in $(EXTRA_HOST_FLAGS) ; do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22315 done; \
22316 echo "Doing info in send-pr" ; \
22317 (cd $(HOST_SUBDIR)/send-pr && \
22318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22320 "RANLIB=$${RANLIB}" \
22321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22322 info) \
22323 || exit 1
22325 @endif send-pr
22327 .PHONY: maybe-dvi-send-pr dvi-send-pr
22328 maybe-dvi-send-pr:
22329 @if send-pr
22330 maybe-dvi-send-pr: dvi-send-pr
22332 dvi-send-pr: \
22333 configure-send-pr
22334 @: $(MAKE); $(unstage)
22335 @[ -f ./send-pr/Makefile ] || exit 0; \
22336 r=`${PWD_COMMAND}`; export r; \
22337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22338 $(HOST_EXPORTS) \
22339 for flag in $(EXTRA_HOST_FLAGS) ; do \
22340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22341 done; \
22342 echo "Doing dvi in send-pr" ; \
22343 (cd $(HOST_SUBDIR)/send-pr && \
22344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22346 "RANLIB=$${RANLIB}" \
22347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22348 dvi) \
22349 || exit 1
22351 @endif send-pr
22353 .PHONY: maybe-html-send-pr html-send-pr
22354 maybe-html-send-pr:
22355 @if send-pr
22356 maybe-html-send-pr: html-send-pr
22358 html-send-pr: \
22359 configure-send-pr
22360 @: $(MAKE); $(unstage)
22361 @[ -f ./send-pr/Makefile ] || exit 0; \
22362 r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22364 $(HOST_EXPORTS) \
22365 for flag in $(EXTRA_HOST_FLAGS) ; do \
22366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22367 done; \
22368 echo "Doing html in send-pr" ; \
22369 (cd $(HOST_SUBDIR)/send-pr && \
22370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22372 "RANLIB=$${RANLIB}" \
22373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22374 html) \
22375 || exit 1
22377 @endif send-pr
22379 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22380 maybe-TAGS-send-pr:
22381 @if send-pr
22382 maybe-TAGS-send-pr: TAGS-send-pr
22384 TAGS-send-pr: \
22385 configure-send-pr
22386 @: $(MAKE); $(unstage)
22387 @[ -f ./send-pr/Makefile ] || exit 0; \
22388 r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22390 $(HOST_EXPORTS) \
22391 for flag in $(EXTRA_HOST_FLAGS) ; do \
22392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22393 done; \
22394 echo "Doing TAGS in send-pr" ; \
22395 (cd $(HOST_SUBDIR)/send-pr && \
22396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22398 "RANLIB=$${RANLIB}" \
22399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22400 TAGS) \
22401 || exit 1
22403 @endif send-pr
22405 .PHONY: maybe-install-info-send-pr install-info-send-pr
22406 maybe-install-info-send-pr:
22407 @if send-pr
22408 maybe-install-info-send-pr: install-info-send-pr
22410 install-info-send-pr: \
22411 configure-send-pr \
22412 info-send-pr
22413 @: $(MAKE); $(unstage)
22414 @[ -f ./send-pr/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(HOST_EXPORTS) \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22420 done; \
22421 echo "Doing install-info in send-pr" ; \
22422 (cd $(HOST_SUBDIR)/send-pr && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22427 install-info) \
22428 || exit 1
22430 @endif send-pr
22432 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22433 maybe-installcheck-send-pr:
22434 @if send-pr
22435 maybe-installcheck-send-pr: installcheck-send-pr
22437 installcheck-send-pr: \
22438 configure-send-pr
22439 @: $(MAKE); $(unstage)
22440 @[ -f ./send-pr/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing installcheck in send-pr" ; \
22448 (cd $(HOST_SUBDIR)/send-pr && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22453 installcheck) \
22454 || exit 1
22456 @endif send-pr
22458 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22459 maybe-mostlyclean-send-pr:
22460 @if send-pr
22461 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22463 mostlyclean-send-pr:
22464 @: $(MAKE); $(unstage)
22465 @[ -f ./send-pr/Makefile ] || exit 0; \
22466 r=`${PWD_COMMAND}`; export r; \
22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22468 $(HOST_EXPORTS) \
22469 for flag in $(EXTRA_HOST_FLAGS) ; do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22471 done; \
22472 echo "Doing mostlyclean in send-pr" ; \
22473 (cd $(HOST_SUBDIR)/send-pr && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22478 mostlyclean) \
22479 || exit 1
22481 @endif send-pr
22483 .PHONY: maybe-clean-send-pr clean-send-pr
22484 maybe-clean-send-pr:
22485 @if send-pr
22486 maybe-clean-send-pr: clean-send-pr
22488 clean-send-pr:
22489 @: $(MAKE); $(unstage)
22490 @[ -f ./send-pr/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(HOST_EXPORTS) \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 done; \
22497 echo "Doing clean in send-pr" ; \
22498 (cd $(HOST_SUBDIR)/send-pr && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22503 clean) \
22504 || exit 1
22506 @endif send-pr
22508 .PHONY: maybe-distclean-send-pr distclean-send-pr
22509 maybe-distclean-send-pr:
22510 @if send-pr
22511 maybe-distclean-send-pr: distclean-send-pr
22513 distclean-send-pr:
22514 @: $(MAKE); $(unstage)
22515 @[ -f ./send-pr/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing distclean in send-pr" ; \
22523 (cd $(HOST_SUBDIR)/send-pr && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22528 distclean) \
22529 || exit 1
22531 @endif send-pr
22533 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22534 maybe-maintainer-clean-send-pr:
22535 @if send-pr
22536 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22538 maintainer-clean-send-pr:
22539 @: $(MAKE); $(unstage)
22540 @[ -f ./send-pr/Makefile ] || exit 0; \
22541 r=`${PWD_COMMAND}`; export r; \
22542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22543 $(HOST_EXPORTS) \
22544 for flag in $(EXTRA_HOST_FLAGS) ; do \
22545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22546 done; \
22547 echo "Doing maintainer-clean in send-pr" ; \
22548 (cd $(HOST_SUBDIR)/send-pr && \
22549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22551 "RANLIB=$${RANLIB}" \
22552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22553 maintainer-clean) \
22554 || exit 1
22556 @endif send-pr
22560 .PHONY: configure-shellutils maybe-configure-shellutils
22561 maybe-configure-shellutils:
22562 @if shellutils
22563 maybe-configure-shellutils: configure-shellutils
22564 configure-shellutils:
22565 @: $(MAKE); $(unstage)
22566 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22568 r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 $(HOST_EXPORTS) \
22571 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22572 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22573 case $(srcdir) in \
22574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22575 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22577 esac; \
22578 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22579 libsrcdir="$$s/shellutils"; \
22580 $(SHELL) $${libsrcdir}/configure \
22581 $(HOST_CONFIGARGS) $${srcdiroption} \
22582 || exit 1
22583 @endif shellutils
22589 .PHONY: all-shellutils maybe-all-shellutils
22590 maybe-all-shellutils:
22591 @if shellutils
22592 TARGET-shellutils=all
22593 maybe-all-shellutils: all-shellutils
22594 all-shellutils: configure-shellutils
22595 @: $(MAKE); $(unstage)
22596 @r=`${PWD_COMMAND}`; export r; \
22597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598 $(HOST_EXPORTS) \
22599 (cd $(HOST_SUBDIR)/shellutils && \
22600 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22601 @endif shellutils
22606 .PHONY: check-shellutils maybe-check-shellutils
22607 maybe-check-shellutils:
22608 @if shellutils
22609 maybe-check-shellutils: check-shellutils
22611 check-shellutils:
22612 @: $(MAKE); $(unstage)
22613 @r=`${PWD_COMMAND}`; export r; \
22614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22615 $(HOST_EXPORTS) \
22616 (cd $(HOST_SUBDIR)/shellutils && \
22617 $(MAKE) $(FLAGS_TO_PASS) check)
22619 @endif shellutils
22621 .PHONY: install-shellutils maybe-install-shellutils
22622 maybe-install-shellutils:
22623 @if shellutils
22624 maybe-install-shellutils: install-shellutils
22626 install-shellutils: installdirs
22627 @: $(MAKE); $(unstage)
22628 @r=`${PWD_COMMAND}`; export r; \
22629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22630 $(HOST_EXPORTS) \
22631 (cd $(HOST_SUBDIR)/shellutils && \
22632 $(MAKE) $(FLAGS_TO_PASS) install)
22634 @endif shellutils
22636 # Other targets (info, dvi, etc.)
22638 .PHONY: maybe-info-shellutils info-shellutils
22639 maybe-info-shellutils:
22640 @if shellutils
22641 maybe-info-shellutils: info-shellutils
22643 info-shellutils: \
22644 configure-shellutils
22645 @: $(MAKE); $(unstage)
22646 @[ -f ./shellutils/Makefile ] || exit 0; \
22647 r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649 $(HOST_EXPORTS) \
22650 for flag in $(EXTRA_HOST_FLAGS) ; do \
22651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22652 done; \
22653 echo "Doing info in shellutils" ; \
22654 (cd $(HOST_SUBDIR)/shellutils && \
22655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22657 "RANLIB=$${RANLIB}" \
22658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22659 info) \
22660 || exit 1
22662 @endif shellutils
22664 .PHONY: maybe-dvi-shellutils dvi-shellutils
22665 maybe-dvi-shellutils:
22666 @if shellutils
22667 maybe-dvi-shellutils: dvi-shellutils
22669 dvi-shellutils: \
22670 configure-shellutils
22671 @: $(MAKE); $(unstage)
22672 @[ -f ./shellutils/Makefile ] || exit 0; \
22673 r=`${PWD_COMMAND}`; export r; \
22674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22675 $(HOST_EXPORTS) \
22676 for flag in $(EXTRA_HOST_FLAGS) ; do \
22677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22678 done; \
22679 echo "Doing dvi in shellutils" ; \
22680 (cd $(HOST_SUBDIR)/shellutils && \
22681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22683 "RANLIB=$${RANLIB}" \
22684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22685 dvi) \
22686 || exit 1
22688 @endif shellutils
22690 .PHONY: maybe-html-shellutils html-shellutils
22691 maybe-html-shellutils:
22692 @if shellutils
22693 maybe-html-shellutils: html-shellutils
22695 html-shellutils: \
22696 configure-shellutils
22697 @: $(MAKE); $(unstage)
22698 @[ -f ./shellutils/Makefile ] || exit 0; \
22699 r=`${PWD_COMMAND}`; export r; \
22700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22701 $(HOST_EXPORTS) \
22702 for flag in $(EXTRA_HOST_FLAGS) ; do \
22703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22704 done; \
22705 echo "Doing html in shellutils" ; \
22706 (cd $(HOST_SUBDIR)/shellutils && \
22707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22709 "RANLIB=$${RANLIB}" \
22710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22711 html) \
22712 || exit 1
22714 @endif shellutils
22716 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22717 maybe-TAGS-shellutils:
22718 @if shellutils
22719 maybe-TAGS-shellutils: TAGS-shellutils
22721 TAGS-shellutils: \
22722 configure-shellutils
22723 @: $(MAKE); $(unstage)
22724 @[ -f ./shellutils/Makefile ] || exit 0; \
22725 r=`${PWD_COMMAND}`; export r; \
22726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22727 $(HOST_EXPORTS) \
22728 for flag in $(EXTRA_HOST_FLAGS) ; do \
22729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22730 done; \
22731 echo "Doing TAGS in shellutils" ; \
22732 (cd $(HOST_SUBDIR)/shellutils && \
22733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22735 "RANLIB=$${RANLIB}" \
22736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22737 TAGS) \
22738 || exit 1
22740 @endif shellutils
22742 .PHONY: maybe-install-info-shellutils install-info-shellutils
22743 maybe-install-info-shellutils:
22744 @if shellutils
22745 maybe-install-info-shellutils: install-info-shellutils
22747 install-info-shellutils: \
22748 configure-shellutils \
22749 info-shellutils
22750 @: $(MAKE); $(unstage)
22751 @[ -f ./shellutils/Makefile ] || exit 0; \
22752 r=`${PWD_COMMAND}`; export r; \
22753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754 $(HOST_EXPORTS) \
22755 for flag in $(EXTRA_HOST_FLAGS) ; do \
22756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22757 done; \
22758 echo "Doing install-info in shellutils" ; \
22759 (cd $(HOST_SUBDIR)/shellutils && \
22760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22762 "RANLIB=$${RANLIB}" \
22763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22764 install-info) \
22765 || exit 1
22767 @endif shellutils
22769 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22770 maybe-installcheck-shellutils:
22771 @if shellutils
22772 maybe-installcheck-shellutils: installcheck-shellutils
22774 installcheck-shellutils: \
22775 configure-shellutils
22776 @: $(MAKE); $(unstage)
22777 @[ -f ./shellutils/Makefile ] || exit 0; \
22778 r=`${PWD_COMMAND}`; export r; \
22779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22780 $(HOST_EXPORTS) \
22781 for flag in $(EXTRA_HOST_FLAGS) ; do \
22782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22783 done; \
22784 echo "Doing installcheck in shellutils" ; \
22785 (cd $(HOST_SUBDIR)/shellutils && \
22786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22788 "RANLIB=$${RANLIB}" \
22789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22790 installcheck) \
22791 || exit 1
22793 @endif shellutils
22795 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22796 maybe-mostlyclean-shellutils:
22797 @if shellutils
22798 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22800 mostlyclean-shellutils:
22801 @: $(MAKE); $(unstage)
22802 @[ -f ./shellutils/Makefile ] || exit 0; \
22803 r=`${PWD_COMMAND}`; export r; \
22804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22805 $(HOST_EXPORTS) \
22806 for flag in $(EXTRA_HOST_FLAGS) ; do \
22807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22808 done; \
22809 echo "Doing mostlyclean in shellutils" ; \
22810 (cd $(HOST_SUBDIR)/shellutils && \
22811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22813 "RANLIB=$${RANLIB}" \
22814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22815 mostlyclean) \
22816 || exit 1
22818 @endif shellutils
22820 .PHONY: maybe-clean-shellutils clean-shellutils
22821 maybe-clean-shellutils:
22822 @if shellutils
22823 maybe-clean-shellutils: clean-shellutils
22825 clean-shellutils:
22826 @: $(MAKE); $(unstage)
22827 @[ -f ./shellutils/Makefile ] || exit 0; \
22828 r=`${PWD_COMMAND}`; export r; \
22829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22830 $(HOST_EXPORTS) \
22831 for flag in $(EXTRA_HOST_FLAGS) ; do \
22832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22833 done; \
22834 echo "Doing clean in shellutils" ; \
22835 (cd $(HOST_SUBDIR)/shellutils && \
22836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22838 "RANLIB=$${RANLIB}" \
22839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22840 clean) \
22841 || exit 1
22843 @endif shellutils
22845 .PHONY: maybe-distclean-shellutils distclean-shellutils
22846 maybe-distclean-shellutils:
22847 @if shellutils
22848 maybe-distclean-shellutils: distclean-shellutils
22850 distclean-shellutils:
22851 @: $(MAKE); $(unstage)
22852 @[ -f ./shellutils/Makefile ] || exit 0; \
22853 r=`${PWD_COMMAND}`; export r; \
22854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22855 $(HOST_EXPORTS) \
22856 for flag in $(EXTRA_HOST_FLAGS) ; do \
22857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22858 done; \
22859 echo "Doing distclean in shellutils" ; \
22860 (cd $(HOST_SUBDIR)/shellutils && \
22861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22863 "RANLIB=$${RANLIB}" \
22864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22865 distclean) \
22866 || exit 1
22868 @endif shellutils
22870 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22871 maybe-maintainer-clean-shellutils:
22872 @if shellutils
22873 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22875 maintainer-clean-shellutils:
22876 @: $(MAKE); $(unstage)
22877 @[ -f ./shellutils/Makefile ] || exit 0; \
22878 r=`${PWD_COMMAND}`; export r; \
22879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22880 $(HOST_EXPORTS) \
22881 for flag in $(EXTRA_HOST_FLAGS) ; do \
22882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22883 done; \
22884 echo "Doing maintainer-clean in shellutils" ; \
22885 (cd $(HOST_SUBDIR)/shellutils && \
22886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22888 "RANLIB=$${RANLIB}" \
22889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22890 maintainer-clean) \
22891 || exit 1
22893 @endif shellutils
22897 .PHONY: configure-sid maybe-configure-sid
22898 maybe-configure-sid:
22899 @if sid
22900 maybe-configure-sid: configure-sid
22901 configure-sid:
22902 @: $(MAKE); $(unstage)
22903 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22905 r=`${PWD_COMMAND}`; export r; \
22906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22907 $(HOST_EXPORTS) \
22908 echo Configuring in $(HOST_SUBDIR)/sid; \
22909 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22910 case $(srcdir) in \
22911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22912 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22914 esac; \
22915 srcdiroption="--srcdir=$${topdir}/sid"; \
22916 libsrcdir="$$s/sid"; \
22917 $(SHELL) $${libsrcdir}/configure \
22918 $(HOST_CONFIGARGS) $${srcdiroption} \
22919 || exit 1
22920 @endif sid
22926 .PHONY: all-sid maybe-all-sid
22927 maybe-all-sid:
22928 @if sid
22929 TARGET-sid=all
22930 maybe-all-sid: all-sid
22931 all-sid: configure-sid
22932 @: $(MAKE); $(unstage)
22933 @r=`${PWD_COMMAND}`; export r; \
22934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22935 $(HOST_EXPORTS) \
22936 (cd $(HOST_SUBDIR)/sid && \
22937 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22938 @endif sid
22943 .PHONY: check-sid maybe-check-sid
22944 maybe-check-sid:
22945 @if sid
22946 maybe-check-sid: check-sid
22948 check-sid:
22949 @: $(MAKE); $(unstage)
22950 @r=`${PWD_COMMAND}`; export r; \
22951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22952 $(HOST_EXPORTS) \
22953 (cd $(HOST_SUBDIR)/sid && \
22954 $(MAKE) $(FLAGS_TO_PASS) check)
22956 @endif sid
22958 .PHONY: install-sid maybe-install-sid
22959 maybe-install-sid:
22960 @if sid
22961 maybe-install-sid: install-sid
22963 install-sid: installdirs
22964 @: $(MAKE); $(unstage)
22965 @r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22967 $(HOST_EXPORTS) \
22968 (cd $(HOST_SUBDIR)/sid && \
22969 $(MAKE) $(FLAGS_TO_PASS) install)
22971 @endif sid
22973 # Other targets (info, dvi, etc.)
22975 .PHONY: maybe-info-sid info-sid
22976 maybe-info-sid:
22977 @if sid
22978 maybe-info-sid: info-sid
22980 info-sid: \
22981 configure-sid
22982 @: $(MAKE); $(unstage)
22983 @[ -f ./sid/Makefile ] || exit 0; \
22984 r=`${PWD_COMMAND}`; export r; \
22985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22986 $(HOST_EXPORTS) \
22987 for flag in $(EXTRA_HOST_FLAGS) ; do \
22988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22989 done; \
22990 echo "Doing info in sid" ; \
22991 (cd $(HOST_SUBDIR)/sid && \
22992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22994 "RANLIB=$${RANLIB}" \
22995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22996 info) \
22997 || exit 1
22999 @endif sid
23001 .PHONY: maybe-dvi-sid dvi-sid
23002 maybe-dvi-sid:
23003 @if sid
23004 maybe-dvi-sid: dvi-sid
23006 dvi-sid: \
23007 configure-sid
23008 @: $(MAKE); $(unstage)
23009 @[ -f ./sid/Makefile ] || exit 0; \
23010 r=`${PWD_COMMAND}`; export r; \
23011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23012 $(HOST_EXPORTS) \
23013 for flag in $(EXTRA_HOST_FLAGS) ; do \
23014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23015 done; \
23016 echo "Doing dvi in sid" ; \
23017 (cd $(HOST_SUBDIR)/sid && \
23018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23020 "RANLIB=$${RANLIB}" \
23021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23022 dvi) \
23023 || exit 1
23025 @endif sid
23027 .PHONY: maybe-html-sid html-sid
23028 maybe-html-sid:
23029 @if sid
23030 maybe-html-sid: html-sid
23032 html-sid: \
23033 configure-sid
23034 @: $(MAKE); $(unstage)
23035 @[ -f ./sid/Makefile ] || exit 0; \
23036 r=`${PWD_COMMAND}`; export r; \
23037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23038 $(HOST_EXPORTS) \
23039 for flag in $(EXTRA_HOST_FLAGS) ; do \
23040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23041 done; \
23042 echo "Doing html in sid" ; \
23043 (cd $(HOST_SUBDIR)/sid && \
23044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23046 "RANLIB=$${RANLIB}" \
23047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23048 html) \
23049 || exit 1
23051 @endif sid
23053 .PHONY: maybe-TAGS-sid TAGS-sid
23054 maybe-TAGS-sid:
23055 @if sid
23056 maybe-TAGS-sid: TAGS-sid
23058 TAGS-sid: \
23059 configure-sid
23060 @: $(MAKE); $(unstage)
23061 @[ -f ./sid/Makefile ] || exit 0; \
23062 r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064 $(HOST_EXPORTS) \
23065 for flag in $(EXTRA_HOST_FLAGS) ; do \
23066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23067 done; \
23068 echo "Doing TAGS in sid" ; \
23069 (cd $(HOST_SUBDIR)/sid && \
23070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072 "RANLIB=$${RANLIB}" \
23073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23074 TAGS) \
23075 || exit 1
23077 @endif sid
23079 .PHONY: maybe-install-info-sid install-info-sid
23080 maybe-install-info-sid:
23081 @if sid
23082 maybe-install-info-sid: install-info-sid
23084 install-info-sid: \
23085 configure-sid \
23086 info-sid
23087 @: $(MAKE); $(unstage)
23088 @[ -f ./sid/Makefile ] || exit 0; \
23089 r=`${PWD_COMMAND}`; export r; \
23090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23091 $(HOST_EXPORTS) \
23092 for flag in $(EXTRA_HOST_FLAGS) ; do \
23093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23094 done; \
23095 echo "Doing install-info in sid" ; \
23096 (cd $(HOST_SUBDIR)/sid && \
23097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23099 "RANLIB=$${RANLIB}" \
23100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23101 install-info) \
23102 || exit 1
23104 @endif sid
23106 .PHONY: maybe-installcheck-sid installcheck-sid
23107 maybe-installcheck-sid:
23108 @if sid
23109 maybe-installcheck-sid: installcheck-sid
23111 installcheck-sid: \
23112 configure-sid
23113 @: $(MAKE); $(unstage)
23114 @[ -f ./sid/Makefile ] || exit 0; \
23115 r=`${PWD_COMMAND}`; export r; \
23116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23117 $(HOST_EXPORTS) \
23118 for flag in $(EXTRA_HOST_FLAGS) ; do \
23119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23120 done; \
23121 echo "Doing installcheck in sid" ; \
23122 (cd $(HOST_SUBDIR)/sid && \
23123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23125 "RANLIB=$${RANLIB}" \
23126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23127 installcheck) \
23128 || exit 1
23130 @endif sid
23132 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23133 maybe-mostlyclean-sid:
23134 @if sid
23135 maybe-mostlyclean-sid: mostlyclean-sid
23137 mostlyclean-sid:
23138 @: $(MAKE); $(unstage)
23139 @[ -f ./sid/Makefile ] || exit 0; \
23140 r=`${PWD_COMMAND}`; export r; \
23141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23142 $(HOST_EXPORTS) \
23143 for flag in $(EXTRA_HOST_FLAGS) ; do \
23144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23145 done; \
23146 echo "Doing mostlyclean in sid" ; \
23147 (cd $(HOST_SUBDIR)/sid && \
23148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23150 "RANLIB=$${RANLIB}" \
23151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23152 mostlyclean) \
23153 || exit 1
23155 @endif sid
23157 .PHONY: maybe-clean-sid clean-sid
23158 maybe-clean-sid:
23159 @if sid
23160 maybe-clean-sid: clean-sid
23162 clean-sid:
23163 @: $(MAKE); $(unstage)
23164 @[ -f ./sid/Makefile ] || exit 0; \
23165 r=`${PWD_COMMAND}`; export r; \
23166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23167 $(HOST_EXPORTS) \
23168 for flag in $(EXTRA_HOST_FLAGS) ; do \
23169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23170 done; \
23171 echo "Doing clean in sid" ; \
23172 (cd $(HOST_SUBDIR)/sid && \
23173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23175 "RANLIB=$${RANLIB}" \
23176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23177 clean) \
23178 || exit 1
23180 @endif sid
23182 .PHONY: maybe-distclean-sid distclean-sid
23183 maybe-distclean-sid:
23184 @if sid
23185 maybe-distclean-sid: distclean-sid
23187 distclean-sid:
23188 @: $(MAKE); $(unstage)
23189 @[ -f ./sid/Makefile ] || exit 0; \
23190 r=`${PWD_COMMAND}`; export r; \
23191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23192 $(HOST_EXPORTS) \
23193 for flag in $(EXTRA_HOST_FLAGS) ; do \
23194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23195 done; \
23196 echo "Doing distclean in sid" ; \
23197 (cd $(HOST_SUBDIR)/sid && \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23200 "RANLIB=$${RANLIB}" \
23201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23202 distclean) \
23203 || exit 1
23205 @endif sid
23207 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23208 maybe-maintainer-clean-sid:
23209 @if sid
23210 maybe-maintainer-clean-sid: maintainer-clean-sid
23212 maintainer-clean-sid:
23213 @: $(MAKE); $(unstage)
23214 @[ -f ./sid/Makefile ] || exit 0; \
23215 r=`${PWD_COMMAND}`; export r; \
23216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23217 $(HOST_EXPORTS) \
23218 for flag in $(EXTRA_HOST_FLAGS) ; do \
23219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23220 done; \
23221 echo "Doing maintainer-clean in sid" ; \
23222 (cd $(HOST_SUBDIR)/sid && \
23223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23225 "RANLIB=$${RANLIB}" \
23226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23227 maintainer-clean) \
23228 || exit 1
23230 @endif sid
23234 .PHONY: configure-sim maybe-configure-sim
23235 maybe-configure-sim:
23236 @if sim
23237 maybe-configure-sim: configure-sim
23238 configure-sim:
23239 @: $(MAKE); $(unstage)
23240 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23242 r=`${PWD_COMMAND}`; export r; \
23243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23244 $(HOST_EXPORTS) \
23245 echo Configuring in $(HOST_SUBDIR)/sim; \
23246 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23247 case $(srcdir) in \
23248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23249 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23251 esac; \
23252 srcdiroption="--srcdir=$${topdir}/sim"; \
23253 libsrcdir="$$s/sim"; \
23254 $(SHELL) $${libsrcdir}/configure \
23255 $(HOST_CONFIGARGS) $${srcdiroption} \
23256 || exit 1
23257 @endif sim
23263 .PHONY: all-sim maybe-all-sim
23264 maybe-all-sim:
23265 @if sim
23266 TARGET-sim=all
23267 maybe-all-sim: all-sim
23268 all-sim: configure-sim
23269 @: $(MAKE); $(unstage)
23270 @r=`${PWD_COMMAND}`; export r; \
23271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23272 $(HOST_EXPORTS) \
23273 (cd $(HOST_SUBDIR)/sim && \
23274 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23275 @endif sim
23280 .PHONY: check-sim maybe-check-sim
23281 maybe-check-sim:
23282 @if sim
23283 maybe-check-sim: check-sim
23285 check-sim:
23286 @: $(MAKE); $(unstage)
23287 @r=`${PWD_COMMAND}`; export r; \
23288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23289 $(HOST_EXPORTS) \
23290 (cd $(HOST_SUBDIR)/sim && \
23291 $(MAKE) $(FLAGS_TO_PASS) check)
23293 @endif sim
23295 .PHONY: install-sim maybe-install-sim
23296 maybe-install-sim:
23297 @if sim
23298 maybe-install-sim: install-sim
23300 install-sim: installdirs
23301 @: $(MAKE); $(unstage)
23302 @r=`${PWD_COMMAND}`; export r; \
23303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304 $(HOST_EXPORTS) \
23305 (cd $(HOST_SUBDIR)/sim && \
23306 $(MAKE) $(FLAGS_TO_PASS) install)
23308 @endif sim
23310 # Other targets (info, dvi, etc.)
23312 .PHONY: maybe-info-sim info-sim
23313 maybe-info-sim:
23314 @if sim
23315 maybe-info-sim: info-sim
23317 info-sim: \
23318 configure-sim
23319 @: $(MAKE); $(unstage)
23320 @[ -f ./sim/Makefile ] || exit 0; \
23321 r=`${PWD_COMMAND}`; export r; \
23322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23323 $(HOST_EXPORTS) \
23324 for flag in $(EXTRA_HOST_FLAGS) ; do \
23325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23326 done; \
23327 echo "Doing info in sim" ; \
23328 (cd $(HOST_SUBDIR)/sim && \
23329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23331 "RANLIB=$${RANLIB}" \
23332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23333 info) \
23334 || exit 1
23336 @endif sim
23338 .PHONY: maybe-dvi-sim dvi-sim
23339 maybe-dvi-sim:
23340 @if sim
23341 maybe-dvi-sim: dvi-sim
23343 dvi-sim: \
23344 configure-sim
23345 @: $(MAKE); $(unstage)
23346 @[ -f ./sim/Makefile ] || exit 0; \
23347 r=`${PWD_COMMAND}`; export r; \
23348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23349 $(HOST_EXPORTS) \
23350 for flag in $(EXTRA_HOST_FLAGS) ; do \
23351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23352 done; \
23353 echo "Doing dvi in sim" ; \
23354 (cd $(HOST_SUBDIR)/sim && \
23355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23357 "RANLIB=$${RANLIB}" \
23358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23359 dvi) \
23360 || exit 1
23362 @endif sim
23364 .PHONY: maybe-html-sim html-sim
23365 maybe-html-sim:
23366 @if sim
23367 maybe-html-sim: html-sim
23369 html-sim: \
23370 configure-sim
23371 @: $(MAKE); $(unstage)
23372 @[ -f ./sim/Makefile ] || exit 0; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(HOST_EXPORTS) \
23376 for flag in $(EXTRA_HOST_FLAGS) ; do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 echo "Doing html in sim" ; \
23380 (cd $(HOST_SUBDIR)/sim && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23385 html) \
23386 || exit 1
23388 @endif sim
23390 .PHONY: maybe-TAGS-sim TAGS-sim
23391 maybe-TAGS-sim:
23392 @if sim
23393 maybe-TAGS-sim: TAGS-sim
23395 TAGS-sim: \
23396 configure-sim
23397 @: $(MAKE); $(unstage)
23398 @[ -f ./sim/Makefile ] || exit 0; \
23399 r=`${PWD_COMMAND}`; export r; \
23400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23401 $(HOST_EXPORTS) \
23402 for flag in $(EXTRA_HOST_FLAGS) ; do \
23403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23404 done; \
23405 echo "Doing TAGS in sim" ; \
23406 (cd $(HOST_SUBDIR)/sim && \
23407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23409 "RANLIB=$${RANLIB}" \
23410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23411 TAGS) \
23412 || exit 1
23414 @endif sim
23416 .PHONY: maybe-install-info-sim install-info-sim
23417 maybe-install-info-sim:
23418 @if sim
23419 maybe-install-info-sim: install-info-sim
23421 install-info-sim: \
23422 configure-sim \
23423 info-sim
23424 @: $(MAKE); $(unstage)
23425 @[ -f ./sim/Makefile ] || exit 0; \
23426 r=`${PWD_COMMAND}`; export r; \
23427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23428 $(HOST_EXPORTS) \
23429 for flag in $(EXTRA_HOST_FLAGS) ; do \
23430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23431 done; \
23432 echo "Doing install-info in sim" ; \
23433 (cd $(HOST_SUBDIR)/sim && \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23438 install-info) \
23439 || exit 1
23441 @endif sim
23443 .PHONY: maybe-installcheck-sim installcheck-sim
23444 maybe-installcheck-sim:
23445 @if sim
23446 maybe-installcheck-sim: installcheck-sim
23448 installcheck-sim: \
23449 configure-sim
23450 @: $(MAKE); $(unstage)
23451 @[ -f ./sim/Makefile ] || exit 0; \
23452 r=`${PWD_COMMAND}`; export r; \
23453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23454 $(HOST_EXPORTS) \
23455 for flag in $(EXTRA_HOST_FLAGS) ; do \
23456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23457 done; \
23458 echo "Doing installcheck in sim" ; \
23459 (cd $(HOST_SUBDIR)/sim && \
23460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23462 "RANLIB=$${RANLIB}" \
23463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23464 installcheck) \
23465 || exit 1
23467 @endif sim
23469 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23470 maybe-mostlyclean-sim:
23471 @if sim
23472 maybe-mostlyclean-sim: mostlyclean-sim
23474 mostlyclean-sim:
23475 @: $(MAKE); $(unstage)
23476 @[ -f ./sim/Makefile ] || exit 0; \
23477 r=`${PWD_COMMAND}`; export r; \
23478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23479 $(HOST_EXPORTS) \
23480 for flag in $(EXTRA_HOST_FLAGS) ; do \
23481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23482 done; \
23483 echo "Doing mostlyclean in sim" ; \
23484 (cd $(HOST_SUBDIR)/sim && \
23485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23487 "RANLIB=$${RANLIB}" \
23488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23489 mostlyclean) \
23490 || exit 1
23492 @endif sim
23494 .PHONY: maybe-clean-sim clean-sim
23495 maybe-clean-sim:
23496 @if sim
23497 maybe-clean-sim: clean-sim
23499 clean-sim:
23500 @: $(MAKE); $(unstage)
23501 @[ -f ./sim/Makefile ] || exit 0; \
23502 r=`${PWD_COMMAND}`; export r; \
23503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23504 $(HOST_EXPORTS) \
23505 for flag in $(EXTRA_HOST_FLAGS) ; do \
23506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23507 done; \
23508 echo "Doing clean in sim" ; \
23509 (cd $(HOST_SUBDIR)/sim && \
23510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23512 "RANLIB=$${RANLIB}" \
23513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23514 clean) \
23515 || exit 1
23517 @endif sim
23519 .PHONY: maybe-distclean-sim distclean-sim
23520 maybe-distclean-sim:
23521 @if sim
23522 maybe-distclean-sim: distclean-sim
23524 distclean-sim:
23525 @: $(MAKE); $(unstage)
23526 @[ -f ./sim/Makefile ] || exit 0; \
23527 r=`${PWD_COMMAND}`; export r; \
23528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23529 $(HOST_EXPORTS) \
23530 for flag in $(EXTRA_HOST_FLAGS) ; do \
23531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23532 done; \
23533 echo "Doing distclean in sim" ; \
23534 (cd $(HOST_SUBDIR)/sim && \
23535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23537 "RANLIB=$${RANLIB}" \
23538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23539 distclean) \
23540 || exit 1
23542 @endif sim
23544 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23545 maybe-maintainer-clean-sim:
23546 @if sim
23547 maybe-maintainer-clean-sim: maintainer-clean-sim
23549 maintainer-clean-sim:
23550 @: $(MAKE); $(unstage)
23551 @[ -f ./sim/Makefile ] || exit 0; \
23552 r=`${PWD_COMMAND}`; export r; \
23553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23554 $(HOST_EXPORTS) \
23555 for flag in $(EXTRA_HOST_FLAGS) ; do \
23556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23557 done; \
23558 echo "Doing maintainer-clean in sim" ; \
23559 (cd $(HOST_SUBDIR)/sim && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23564 maintainer-clean) \
23565 || exit 1
23567 @endif sim
23571 .PHONY: configure-tar maybe-configure-tar
23572 maybe-configure-tar:
23573 @if tar
23574 maybe-configure-tar: configure-tar
23575 configure-tar:
23576 @: $(MAKE); $(unstage)
23577 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23579 r=`${PWD_COMMAND}`; export r; \
23580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23581 $(HOST_EXPORTS) \
23582 echo Configuring in $(HOST_SUBDIR)/tar; \
23583 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23584 case $(srcdir) in \
23585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23586 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23588 esac; \
23589 srcdiroption="--srcdir=$${topdir}/tar"; \
23590 libsrcdir="$$s/tar"; \
23591 $(SHELL) $${libsrcdir}/configure \
23592 $(HOST_CONFIGARGS) $${srcdiroption} \
23593 || exit 1
23594 @endif tar
23600 .PHONY: all-tar maybe-all-tar
23601 maybe-all-tar:
23602 @if tar
23603 TARGET-tar=all
23604 maybe-all-tar: all-tar
23605 all-tar: configure-tar
23606 @: $(MAKE); $(unstage)
23607 @r=`${PWD_COMMAND}`; export r; \
23608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23609 $(HOST_EXPORTS) \
23610 (cd $(HOST_SUBDIR)/tar && \
23611 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23612 @endif tar
23617 .PHONY: check-tar maybe-check-tar
23618 maybe-check-tar:
23619 @if tar
23620 maybe-check-tar: check-tar
23622 check-tar:
23623 @: $(MAKE); $(unstage)
23624 @r=`${PWD_COMMAND}`; export r; \
23625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23626 $(HOST_EXPORTS) \
23627 (cd $(HOST_SUBDIR)/tar && \
23628 $(MAKE) $(FLAGS_TO_PASS) check)
23630 @endif tar
23632 .PHONY: install-tar maybe-install-tar
23633 maybe-install-tar:
23634 @if tar
23635 maybe-install-tar: install-tar
23637 install-tar: installdirs
23638 @: $(MAKE); $(unstage)
23639 @r=`${PWD_COMMAND}`; export r; \
23640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641 $(HOST_EXPORTS) \
23642 (cd $(HOST_SUBDIR)/tar && \
23643 $(MAKE) $(FLAGS_TO_PASS) install)
23645 @endif tar
23647 # Other targets (info, dvi, etc.)
23649 .PHONY: maybe-info-tar info-tar
23650 maybe-info-tar:
23651 @if tar
23652 maybe-info-tar: info-tar
23654 info-tar: \
23655 configure-tar
23656 @: $(MAKE); $(unstage)
23657 @[ -f ./tar/Makefile ] || exit 0; \
23658 r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660 $(HOST_EXPORTS) \
23661 for flag in $(EXTRA_HOST_FLAGS) ; do \
23662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23663 done; \
23664 echo "Doing info in tar" ; \
23665 (cd $(HOST_SUBDIR)/tar && \
23666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23668 "RANLIB=$${RANLIB}" \
23669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23670 info) \
23671 || exit 1
23673 @endif tar
23675 .PHONY: maybe-dvi-tar dvi-tar
23676 maybe-dvi-tar:
23677 @if tar
23678 maybe-dvi-tar: dvi-tar
23680 dvi-tar: \
23681 configure-tar
23682 @: $(MAKE); $(unstage)
23683 @[ -f ./tar/Makefile ] || exit 0; \
23684 r=`${PWD_COMMAND}`; export r; \
23685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23686 $(HOST_EXPORTS) \
23687 for flag in $(EXTRA_HOST_FLAGS) ; do \
23688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23689 done; \
23690 echo "Doing dvi in tar" ; \
23691 (cd $(HOST_SUBDIR)/tar && \
23692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23694 "RANLIB=$${RANLIB}" \
23695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23696 dvi) \
23697 || exit 1
23699 @endif tar
23701 .PHONY: maybe-html-tar html-tar
23702 maybe-html-tar:
23703 @if tar
23704 maybe-html-tar: html-tar
23706 html-tar: \
23707 configure-tar
23708 @: $(MAKE); $(unstage)
23709 @[ -f ./tar/Makefile ] || exit 0; \
23710 r=`${PWD_COMMAND}`; export r; \
23711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23712 $(HOST_EXPORTS) \
23713 for flag in $(EXTRA_HOST_FLAGS) ; do \
23714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23715 done; \
23716 echo "Doing html in tar" ; \
23717 (cd $(HOST_SUBDIR)/tar && \
23718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23720 "RANLIB=$${RANLIB}" \
23721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23722 html) \
23723 || exit 1
23725 @endif tar
23727 .PHONY: maybe-TAGS-tar TAGS-tar
23728 maybe-TAGS-tar:
23729 @if tar
23730 maybe-TAGS-tar: TAGS-tar
23732 TAGS-tar: \
23733 configure-tar
23734 @: $(MAKE); $(unstage)
23735 @[ -f ./tar/Makefile ] || exit 0; \
23736 r=`${PWD_COMMAND}`; export r; \
23737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23738 $(HOST_EXPORTS) \
23739 for flag in $(EXTRA_HOST_FLAGS) ; do \
23740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23741 done; \
23742 echo "Doing TAGS in tar" ; \
23743 (cd $(HOST_SUBDIR)/tar && \
23744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23746 "RANLIB=$${RANLIB}" \
23747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23748 TAGS) \
23749 || exit 1
23751 @endif tar
23753 .PHONY: maybe-install-info-tar install-info-tar
23754 maybe-install-info-tar:
23755 @if tar
23756 maybe-install-info-tar: install-info-tar
23758 install-info-tar: \
23759 configure-tar \
23760 info-tar
23761 @: $(MAKE); $(unstage)
23762 @[ -f ./tar/Makefile ] || exit 0; \
23763 r=`${PWD_COMMAND}`; export r; \
23764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23765 $(HOST_EXPORTS) \
23766 for flag in $(EXTRA_HOST_FLAGS) ; do \
23767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23768 done; \
23769 echo "Doing install-info in tar" ; \
23770 (cd $(HOST_SUBDIR)/tar && \
23771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23773 "RANLIB=$${RANLIB}" \
23774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23775 install-info) \
23776 || exit 1
23778 @endif tar
23780 .PHONY: maybe-installcheck-tar installcheck-tar
23781 maybe-installcheck-tar:
23782 @if tar
23783 maybe-installcheck-tar: installcheck-tar
23785 installcheck-tar: \
23786 configure-tar
23787 @: $(MAKE); $(unstage)
23788 @[ -f ./tar/Makefile ] || exit 0; \
23789 r=`${PWD_COMMAND}`; export r; \
23790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23791 $(HOST_EXPORTS) \
23792 for flag in $(EXTRA_HOST_FLAGS) ; do \
23793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23794 done; \
23795 echo "Doing installcheck in tar" ; \
23796 (cd $(HOST_SUBDIR)/tar && \
23797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23799 "RANLIB=$${RANLIB}" \
23800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23801 installcheck) \
23802 || exit 1
23804 @endif tar
23806 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23807 maybe-mostlyclean-tar:
23808 @if tar
23809 maybe-mostlyclean-tar: mostlyclean-tar
23811 mostlyclean-tar:
23812 @: $(MAKE); $(unstage)
23813 @[ -f ./tar/Makefile ] || exit 0; \
23814 r=`${PWD_COMMAND}`; export r; \
23815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816 $(HOST_EXPORTS) \
23817 for flag in $(EXTRA_HOST_FLAGS) ; do \
23818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23819 done; \
23820 echo "Doing mostlyclean in tar" ; \
23821 (cd $(HOST_SUBDIR)/tar && \
23822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23824 "RANLIB=$${RANLIB}" \
23825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23826 mostlyclean) \
23827 || exit 1
23829 @endif tar
23831 .PHONY: maybe-clean-tar clean-tar
23832 maybe-clean-tar:
23833 @if tar
23834 maybe-clean-tar: clean-tar
23836 clean-tar:
23837 @: $(MAKE); $(unstage)
23838 @[ -f ./tar/Makefile ] || exit 0; \
23839 r=`${PWD_COMMAND}`; export r; \
23840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23841 $(HOST_EXPORTS) \
23842 for flag in $(EXTRA_HOST_FLAGS) ; do \
23843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23844 done; \
23845 echo "Doing clean in tar" ; \
23846 (cd $(HOST_SUBDIR)/tar && \
23847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23849 "RANLIB=$${RANLIB}" \
23850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23851 clean) \
23852 || exit 1
23854 @endif tar
23856 .PHONY: maybe-distclean-tar distclean-tar
23857 maybe-distclean-tar:
23858 @if tar
23859 maybe-distclean-tar: distclean-tar
23861 distclean-tar:
23862 @: $(MAKE); $(unstage)
23863 @[ -f ./tar/Makefile ] || exit 0; \
23864 r=`${PWD_COMMAND}`; export r; \
23865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23866 $(HOST_EXPORTS) \
23867 for flag in $(EXTRA_HOST_FLAGS) ; do \
23868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23869 done; \
23870 echo "Doing distclean in tar" ; \
23871 (cd $(HOST_SUBDIR)/tar && \
23872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23874 "RANLIB=$${RANLIB}" \
23875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23876 distclean) \
23877 || exit 1
23879 @endif tar
23881 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23882 maybe-maintainer-clean-tar:
23883 @if tar
23884 maybe-maintainer-clean-tar: maintainer-clean-tar
23886 maintainer-clean-tar:
23887 @: $(MAKE); $(unstage)
23888 @[ -f ./tar/Makefile ] || exit 0; \
23889 r=`${PWD_COMMAND}`; export r; \
23890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23891 $(HOST_EXPORTS) \
23892 for flag in $(EXTRA_HOST_FLAGS) ; do \
23893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23894 done; \
23895 echo "Doing maintainer-clean in tar" ; \
23896 (cd $(HOST_SUBDIR)/tar && \
23897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23899 "RANLIB=$${RANLIB}" \
23900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23901 maintainer-clean) \
23902 || exit 1
23904 @endif tar
23908 .PHONY: configure-texinfo maybe-configure-texinfo
23909 maybe-configure-texinfo:
23910 @if texinfo
23911 maybe-configure-texinfo: configure-texinfo
23912 configure-texinfo:
23913 @: $(MAKE); $(unstage)
23914 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23916 r=`${PWD_COMMAND}`; export r; \
23917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23918 $(HOST_EXPORTS) \
23919 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23920 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23921 case $(srcdir) in \
23922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23923 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23925 esac; \
23926 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23927 libsrcdir="$$s/texinfo"; \
23928 $(SHELL) $${libsrcdir}/configure \
23929 $(HOST_CONFIGARGS) $${srcdiroption} \
23930 || exit 1
23931 @endif texinfo
23937 .PHONY: all-texinfo maybe-all-texinfo
23938 maybe-all-texinfo:
23939 @if texinfo
23940 TARGET-texinfo=all
23941 maybe-all-texinfo: all-texinfo
23942 all-texinfo: configure-texinfo
23943 @: $(MAKE); $(unstage)
23944 @r=`${PWD_COMMAND}`; export r; \
23945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23946 $(HOST_EXPORTS) \
23947 (cd $(HOST_SUBDIR)/texinfo && \
23948 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23949 @endif texinfo
23954 .PHONY: check-texinfo maybe-check-texinfo
23955 maybe-check-texinfo:
23956 @if texinfo
23957 maybe-check-texinfo: check-texinfo
23959 check-texinfo:
23960 @: $(MAKE); $(unstage)
23961 @r=`${PWD_COMMAND}`; export r; \
23962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23963 $(HOST_EXPORTS) \
23964 (cd $(HOST_SUBDIR)/texinfo && \
23965 $(MAKE) $(FLAGS_TO_PASS) check)
23967 @endif texinfo
23969 .PHONY: install-texinfo maybe-install-texinfo
23970 maybe-install-texinfo:
23971 @if texinfo
23972 maybe-install-texinfo: install-texinfo
23974 install-texinfo:
23976 @endif texinfo
23978 # Other targets (info, dvi, etc.)
23980 .PHONY: maybe-info-texinfo info-texinfo
23981 maybe-info-texinfo:
23982 @if texinfo
23983 maybe-info-texinfo: info-texinfo
23985 info-texinfo: \
23986 configure-texinfo
23987 @: $(MAKE); $(unstage)
23988 @[ -f ./texinfo/Makefile ] || exit 0; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23991 $(HOST_EXPORTS) \
23992 for flag in $(EXTRA_HOST_FLAGS) ; do \
23993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23994 done; \
23995 echo "Doing info in texinfo" ; \
23996 (cd $(HOST_SUBDIR)/texinfo && \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24001 info) \
24002 || exit 1
24004 @endif texinfo
24006 .PHONY: maybe-dvi-texinfo dvi-texinfo
24007 maybe-dvi-texinfo:
24008 @if texinfo
24009 maybe-dvi-texinfo: dvi-texinfo
24011 dvi-texinfo: \
24012 configure-texinfo
24013 @: $(MAKE); $(unstage)
24014 @[ -f ./texinfo/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(HOST_EXPORTS) \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 echo "Doing dvi in texinfo" ; \
24022 (cd $(HOST_SUBDIR)/texinfo && \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24027 dvi) \
24028 || exit 1
24030 @endif texinfo
24032 .PHONY: maybe-html-texinfo html-texinfo
24033 maybe-html-texinfo:
24034 @if texinfo
24035 maybe-html-texinfo: html-texinfo
24037 html-texinfo: \
24038 configure-texinfo
24039 @: $(MAKE); $(unstage)
24040 @[ -f ./texinfo/Makefile ] || exit 0; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24043 $(HOST_EXPORTS) \
24044 for flag in $(EXTRA_HOST_FLAGS) ; do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24046 done; \
24047 echo "Doing html in texinfo" ; \
24048 (cd $(HOST_SUBDIR)/texinfo && \
24049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24051 "RANLIB=$${RANLIB}" \
24052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24053 html) \
24054 || exit 1
24056 @endif texinfo
24058 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24059 maybe-TAGS-texinfo:
24060 @if texinfo
24061 maybe-TAGS-texinfo: TAGS-texinfo
24063 TAGS-texinfo: \
24064 configure-texinfo
24065 @: $(MAKE); $(unstage)
24066 @[ -f ./texinfo/Makefile ] || exit 0; \
24067 r=`${PWD_COMMAND}`; export r; \
24068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24069 $(HOST_EXPORTS) \
24070 for flag in $(EXTRA_HOST_FLAGS) ; do \
24071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24072 done; \
24073 echo "Doing TAGS in texinfo" ; \
24074 (cd $(HOST_SUBDIR)/texinfo && \
24075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24077 "RANLIB=$${RANLIB}" \
24078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24079 TAGS) \
24080 || exit 1
24082 @endif texinfo
24084 .PHONY: maybe-install-info-texinfo install-info-texinfo
24085 maybe-install-info-texinfo:
24086 @if texinfo
24087 maybe-install-info-texinfo: install-info-texinfo
24089 install-info-texinfo: \
24090 configure-texinfo \
24091 info-texinfo
24092 @: $(MAKE); $(unstage)
24093 @[ -f ./texinfo/Makefile ] || exit 0; \
24094 r=`${PWD_COMMAND}`; export r; \
24095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24096 $(HOST_EXPORTS) \
24097 for flag in $(EXTRA_HOST_FLAGS) ; do \
24098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24099 done; \
24100 echo "Doing install-info in texinfo" ; \
24101 (cd $(HOST_SUBDIR)/texinfo && \
24102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24104 "RANLIB=$${RANLIB}" \
24105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24106 install-info) \
24107 || exit 1
24109 @endif texinfo
24111 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24112 maybe-installcheck-texinfo:
24113 @if texinfo
24114 maybe-installcheck-texinfo: installcheck-texinfo
24116 installcheck-texinfo: \
24117 configure-texinfo
24118 @: $(MAKE); $(unstage)
24119 @[ -f ./texinfo/Makefile ] || exit 0; \
24120 r=`${PWD_COMMAND}`; export r; \
24121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24122 $(HOST_EXPORTS) \
24123 for flag in $(EXTRA_HOST_FLAGS) ; do \
24124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24125 done; \
24126 echo "Doing installcheck in texinfo" ; \
24127 (cd $(HOST_SUBDIR)/texinfo && \
24128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24130 "RANLIB=$${RANLIB}" \
24131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24132 installcheck) \
24133 || exit 1
24135 @endif texinfo
24137 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24138 maybe-mostlyclean-texinfo:
24139 @if texinfo
24140 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24142 mostlyclean-texinfo:
24143 @: $(MAKE); $(unstage)
24144 @[ -f ./texinfo/Makefile ] || exit 0; \
24145 r=`${PWD_COMMAND}`; export r; \
24146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24147 $(HOST_EXPORTS) \
24148 for flag in $(EXTRA_HOST_FLAGS) ; do \
24149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24150 done; \
24151 echo "Doing mostlyclean in texinfo" ; \
24152 (cd $(HOST_SUBDIR)/texinfo && \
24153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24155 "RANLIB=$${RANLIB}" \
24156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24157 mostlyclean) \
24158 || exit 1
24160 @endif texinfo
24162 .PHONY: maybe-clean-texinfo clean-texinfo
24163 maybe-clean-texinfo:
24164 @if texinfo
24165 maybe-clean-texinfo: clean-texinfo
24167 clean-texinfo:
24168 @: $(MAKE); $(unstage)
24169 @[ -f ./texinfo/Makefile ] || exit 0; \
24170 r=`${PWD_COMMAND}`; export r; \
24171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24172 $(HOST_EXPORTS) \
24173 for flag in $(EXTRA_HOST_FLAGS) ; do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24175 done; \
24176 echo "Doing clean in texinfo" ; \
24177 (cd $(HOST_SUBDIR)/texinfo && \
24178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24180 "RANLIB=$${RANLIB}" \
24181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24182 clean) \
24183 || exit 1
24185 @endif texinfo
24187 .PHONY: maybe-distclean-texinfo distclean-texinfo
24188 maybe-distclean-texinfo:
24189 @if texinfo
24190 maybe-distclean-texinfo: distclean-texinfo
24192 distclean-texinfo:
24193 @: $(MAKE); $(unstage)
24194 @[ -f ./texinfo/Makefile ] || exit 0; \
24195 r=`${PWD_COMMAND}`; export r; \
24196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24197 $(HOST_EXPORTS) \
24198 for flag in $(EXTRA_HOST_FLAGS) ; do \
24199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24200 done; \
24201 echo "Doing distclean in texinfo" ; \
24202 (cd $(HOST_SUBDIR)/texinfo && \
24203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24205 "RANLIB=$${RANLIB}" \
24206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24207 distclean) \
24208 || exit 1
24210 @endif texinfo
24212 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24213 maybe-maintainer-clean-texinfo:
24214 @if texinfo
24215 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24217 maintainer-clean-texinfo:
24218 @: $(MAKE); $(unstage)
24219 @[ -f ./texinfo/Makefile ] || exit 0; \
24220 r=`${PWD_COMMAND}`; export r; \
24221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24222 $(HOST_EXPORTS) \
24223 for flag in $(EXTRA_HOST_FLAGS) ; do \
24224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24225 done; \
24226 echo "Doing maintainer-clean in texinfo" ; \
24227 (cd $(HOST_SUBDIR)/texinfo && \
24228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230 "RANLIB=$${RANLIB}" \
24231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24232 maintainer-clean) \
24233 || exit 1
24235 @endif texinfo
24239 .PHONY: configure-textutils maybe-configure-textutils
24240 maybe-configure-textutils:
24241 @if textutils
24242 maybe-configure-textutils: configure-textutils
24243 configure-textutils:
24244 @: $(MAKE); $(unstage)
24245 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24247 r=`${PWD_COMMAND}`; export r; \
24248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24249 $(HOST_EXPORTS) \
24250 echo Configuring in $(HOST_SUBDIR)/textutils; \
24251 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24252 case $(srcdir) in \
24253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24254 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24256 esac; \
24257 srcdiroption="--srcdir=$${topdir}/textutils"; \
24258 libsrcdir="$$s/textutils"; \
24259 $(SHELL) $${libsrcdir}/configure \
24260 $(HOST_CONFIGARGS) $${srcdiroption} \
24261 || exit 1
24262 @endif textutils
24268 .PHONY: all-textutils maybe-all-textutils
24269 maybe-all-textutils:
24270 @if textutils
24271 TARGET-textutils=all
24272 maybe-all-textutils: all-textutils
24273 all-textutils: configure-textutils
24274 @: $(MAKE); $(unstage)
24275 @r=`${PWD_COMMAND}`; export r; \
24276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 $(HOST_EXPORTS) \
24278 (cd $(HOST_SUBDIR)/textutils && \
24279 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24280 @endif textutils
24285 .PHONY: check-textutils maybe-check-textutils
24286 maybe-check-textutils:
24287 @if textutils
24288 maybe-check-textutils: check-textutils
24290 check-textutils:
24291 @: $(MAKE); $(unstage)
24292 @r=`${PWD_COMMAND}`; export r; \
24293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24294 $(HOST_EXPORTS) \
24295 (cd $(HOST_SUBDIR)/textutils && \
24296 $(MAKE) $(FLAGS_TO_PASS) check)
24298 @endif textutils
24300 .PHONY: install-textutils maybe-install-textutils
24301 maybe-install-textutils:
24302 @if textutils
24303 maybe-install-textutils: install-textutils
24305 install-textutils: installdirs
24306 @: $(MAKE); $(unstage)
24307 @r=`${PWD_COMMAND}`; export r; \
24308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24309 $(HOST_EXPORTS) \
24310 (cd $(HOST_SUBDIR)/textutils && \
24311 $(MAKE) $(FLAGS_TO_PASS) install)
24313 @endif textutils
24315 # Other targets (info, dvi, etc.)
24317 .PHONY: maybe-info-textutils info-textutils
24318 maybe-info-textutils:
24319 @if textutils
24320 maybe-info-textutils: info-textutils
24322 info-textutils: \
24323 configure-textutils
24324 @: $(MAKE); $(unstage)
24325 @[ -f ./textutils/Makefile ] || exit 0; \
24326 r=`${PWD_COMMAND}`; export r; \
24327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24328 $(HOST_EXPORTS) \
24329 for flag in $(EXTRA_HOST_FLAGS) ; do \
24330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24331 done; \
24332 echo "Doing info in textutils" ; \
24333 (cd $(HOST_SUBDIR)/textutils && \
24334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24336 "RANLIB=$${RANLIB}" \
24337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24338 info) \
24339 || exit 1
24341 @endif textutils
24343 .PHONY: maybe-dvi-textutils dvi-textutils
24344 maybe-dvi-textutils:
24345 @if textutils
24346 maybe-dvi-textutils: dvi-textutils
24348 dvi-textutils: \
24349 configure-textutils
24350 @: $(MAKE); $(unstage)
24351 @[ -f ./textutils/Makefile ] || exit 0; \
24352 r=`${PWD_COMMAND}`; export r; \
24353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24354 $(HOST_EXPORTS) \
24355 for flag in $(EXTRA_HOST_FLAGS) ; do \
24356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24357 done; \
24358 echo "Doing dvi in textutils" ; \
24359 (cd $(HOST_SUBDIR)/textutils && \
24360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24362 "RANLIB=$${RANLIB}" \
24363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24364 dvi) \
24365 || exit 1
24367 @endif textutils
24369 .PHONY: maybe-html-textutils html-textutils
24370 maybe-html-textutils:
24371 @if textutils
24372 maybe-html-textutils: html-textutils
24374 html-textutils: \
24375 configure-textutils
24376 @: $(MAKE); $(unstage)
24377 @[ -f ./textutils/Makefile ] || exit 0; \
24378 r=`${PWD_COMMAND}`; export r; \
24379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24380 $(HOST_EXPORTS) \
24381 for flag in $(EXTRA_HOST_FLAGS) ; do \
24382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24383 done; \
24384 echo "Doing html in textutils" ; \
24385 (cd $(HOST_SUBDIR)/textutils && \
24386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24388 "RANLIB=$${RANLIB}" \
24389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24390 html) \
24391 || exit 1
24393 @endif textutils
24395 .PHONY: maybe-TAGS-textutils TAGS-textutils
24396 maybe-TAGS-textutils:
24397 @if textutils
24398 maybe-TAGS-textutils: TAGS-textutils
24400 TAGS-textutils: \
24401 configure-textutils
24402 @: $(MAKE); $(unstage)
24403 @[ -f ./textutils/Makefile ] || exit 0; \
24404 r=`${PWD_COMMAND}`; export r; \
24405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24406 $(HOST_EXPORTS) \
24407 for flag in $(EXTRA_HOST_FLAGS) ; do \
24408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24409 done; \
24410 echo "Doing TAGS in textutils" ; \
24411 (cd $(HOST_SUBDIR)/textutils && \
24412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24414 "RANLIB=$${RANLIB}" \
24415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24416 TAGS) \
24417 || exit 1
24419 @endif textutils
24421 .PHONY: maybe-install-info-textutils install-info-textutils
24422 maybe-install-info-textutils:
24423 @if textutils
24424 maybe-install-info-textutils: install-info-textutils
24426 install-info-textutils: \
24427 configure-textutils \
24428 info-textutils
24429 @: $(MAKE); $(unstage)
24430 @[ -f ./textutils/Makefile ] || exit 0; \
24431 r=`${PWD_COMMAND}`; export r; \
24432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24433 $(HOST_EXPORTS) \
24434 for flag in $(EXTRA_HOST_FLAGS) ; do \
24435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24436 done; \
24437 echo "Doing install-info in textutils" ; \
24438 (cd $(HOST_SUBDIR)/textutils && \
24439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24441 "RANLIB=$${RANLIB}" \
24442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24443 install-info) \
24444 || exit 1
24446 @endif textutils
24448 .PHONY: maybe-installcheck-textutils installcheck-textutils
24449 maybe-installcheck-textutils:
24450 @if textutils
24451 maybe-installcheck-textutils: installcheck-textutils
24453 installcheck-textutils: \
24454 configure-textutils
24455 @: $(MAKE); $(unstage)
24456 @[ -f ./textutils/Makefile ] || exit 0; \
24457 r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 for flag in $(EXTRA_HOST_FLAGS) ; do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 echo "Doing installcheck in textutils" ; \
24464 (cd $(HOST_SUBDIR)/textutils && \
24465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24467 "RANLIB=$${RANLIB}" \
24468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24469 installcheck) \
24470 || exit 1
24472 @endif textutils
24474 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24475 maybe-mostlyclean-textutils:
24476 @if textutils
24477 maybe-mostlyclean-textutils: mostlyclean-textutils
24479 mostlyclean-textutils:
24480 @: $(MAKE); $(unstage)
24481 @[ -f ./textutils/Makefile ] || exit 0; \
24482 r=`${PWD_COMMAND}`; export r; \
24483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24484 $(HOST_EXPORTS) \
24485 for flag in $(EXTRA_HOST_FLAGS) ; do \
24486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24487 done; \
24488 echo "Doing mostlyclean in textutils" ; \
24489 (cd $(HOST_SUBDIR)/textutils && \
24490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24492 "RANLIB=$${RANLIB}" \
24493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24494 mostlyclean) \
24495 || exit 1
24497 @endif textutils
24499 .PHONY: maybe-clean-textutils clean-textutils
24500 maybe-clean-textutils:
24501 @if textutils
24502 maybe-clean-textutils: clean-textutils
24504 clean-textutils:
24505 @: $(MAKE); $(unstage)
24506 @[ -f ./textutils/Makefile ] || exit 0; \
24507 r=`${PWD_COMMAND}`; export r; \
24508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24509 $(HOST_EXPORTS) \
24510 for flag in $(EXTRA_HOST_FLAGS) ; do \
24511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24512 done; \
24513 echo "Doing clean in textutils" ; \
24514 (cd $(HOST_SUBDIR)/textutils && \
24515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24517 "RANLIB=$${RANLIB}" \
24518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24519 clean) \
24520 || exit 1
24522 @endif textutils
24524 .PHONY: maybe-distclean-textutils distclean-textutils
24525 maybe-distclean-textutils:
24526 @if textutils
24527 maybe-distclean-textutils: distclean-textutils
24529 distclean-textutils:
24530 @: $(MAKE); $(unstage)
24531 @[ -f ./textutils/Makefile ] || exit 0; \
24532 r=`${PWD_COMMAND}`; export r; \
24533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(HOST_EXPORTS) \
24535 for flag in $(EXTRA_HOST_FLAGS) ; do \
24536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537 done; \
24538 echo "Doing distclean in textutils" ; \
24539 (cd $(HOST_SUBDIR)/textutils && \
24540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24542 "RANLIB=$${RANLIB}" \
24543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24544 distclean) \
24545 || exit 1
24547 @endif textutils
24549 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24550 maybe-maintainer-clean-textutils:
24551 @if textutils
24552 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24554 maintainer-clean-textutils:
24555 @: $(MAKE); $(unstage)
24556 @[ -f ./textutils/Makefile ] || exit 0; \
24557 r=`${PWD_COMMAND}`; export r; \
24558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(HOST_EXPORTS) \
24560 for flag in $(EXTRA_HOST_FLAGS) ; do \
24561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24562 done; \
24563 echo "Doing maintainer-clean in textutils" ; \
24564 (cd $(HOST_SUBDIR)/textutils && \
24565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24567 "RANLIB=$${RANLIB}" \
24568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24569 maintainer-clean) \
24570 || exit 1
24572 @endif textutils
24576 .PHONY: configure-time maybe-configure-time
24577 maybe-configure-time:
24578 @if time
24579 maybe-configure-time: configure-time
24580 configure-time:
24581 @: $(MAKE); $(unstage)
24582 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24584 r=`${PWD_COMMAND}`; export r; \
24585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24586 $(HOST_EXPORTS) \
24587 echo Configuring in $(HOST_SUBDIR)/time; \
24588 cd "$(HOST_SUBDIR)/time" || exit 1; \
24589 case $(srcdir) in \
24590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24591 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24593 esac; \
24594 srcdiroption="--srcdir=$${topdir}/time"; \
24595 libsrcdir="$$s/time"; \
24596 $(SHELL) $${libsrcdir}/configure \
24597 $(HOST_CONFIGARGS) $${srcdiroption} \
24598 || exit 1
24599 @endif time
24605 .PHONY: all-time maybe-all-time
24606 maybe-all-time:
24607 @if time
24608 TARGET-time=all
24609 maybe-all-time: all-time
24610 all-time: configure-time
24611 @: $(MAKE); $(unstage)
24612 @r=`${PWD_COMMAND}`; export r; \
24613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24614 $(HOST_EXPORTS) \
24615 (cd $(HOST_SUBDIR)/time && \
24616 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24617 @endif time
24622 .PHONY: check-time maybe-check-time
24623 maybe-check-time:
24624 @if time
24625 maybe-check-time: check-time
24627 check-time:
24628 @: $(MAKE); $(unstage)
24629 @r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 $(HOST_EXPORTS) \
24632 (cd $(HOST_SUBDIR)/time && \
24633 $(MAKE) $(FLAGS_TO_PASS) check)
24635 @endif time
24637 .PHONY: install-time maybe-install-time
24638 maybe-install-time:
24639 @if time
24640 maybe-install-time: install-time
24642 install-time: installdirs
24643 @: $(MAKE); $(unstage)
24644 @r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 $(HOST_EXPORTS) \
24647 (cd $(HOST_SUBDIR)/time && \
24648 $(MAKE) $(FLAGS_TO_PASS) install)
24650 @endif time
24652 # Other targets (info, dvi, etc.)
24654 .PHONY: maybe-info-time info-time
24655 maybe-info-time:
24656 @if time
24657 maybe-info-time: info-time
24659 info-time: \
24660 configure-time
24661 @: $(MAKE); $(unstage)
24662 @[ -f ./time/Makefile ] || exit 0; \
24663 r=`${PWD_COMMAND}`; export r; \
24664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24665 $(HOST_EXPORTS) \
24666 for flag in $(EXTRA_HOST_FLAGS) ; do \
24667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24668 done; \
24669 echo "Doing info in time" ; \
24670 (cd $(HOST_SUBDIR)/time && \
24671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24673 "RANLIB=$${RANLIB}" \
24674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24675 info) \
24676 || exit 1
24678 @endif time
24680 .PHONY: maybe-dvi-time dvi-time
24681 maybe-dvi-time:
24682 @if time
24683 maybe-dvi-time: dvi-time
24685 dvi-time: \
24686 configure-time
24687 @: $(MAKE); $(unstage)
24688 @[ -f ./time/Makefile ] || exit 0; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 for flag in $(EXTRA_HOST_FLAGS) ; do \
24693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24694 done; \
24695 echo "Doing dvi in time" ; \
24696 (cd $(HOST_SUBDIR)/time && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 dvi) \
24702 || exit 1
24704 @endif time
24706 .PHONY: maybe-html-time html-time
24707 maybe-html-time:
24708 @if time
24709 maybe-html-time: html-time
24711 html-time: \
24712 configure-time
24713 @: $(MAKE); $(unstage)
24714 @[ -f ./time/Makefile ] || exit 0; \
24715 r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(HOST_EXPORTS) \
24718 for flag in $(EXTRA_HOST_FLAGS) ; do \
24719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24720 done; \
24721 echo "Doing html in time" ; \
24722 (cd $(HOST_SUBDIR)/time && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24727 html) \
24728 || exit 1
24730 @endif time
24732 .PHONY: maybe-TAGS-time TAGS-time
24733 maybe-TAGS-time:
24734 @if time
24735 maybe-TAGS-time: TAGS-time
24737 TAGS-time: \
24738 configure-time
24739 @: $(MAKE); $(unstage)
24740 @[ -f ./time/Makefile ] || exit 0; \
24741 r=`${PWD_COMMAND}`; export r; \
24742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24743 $(HOST_EXPORTS) \
24744 for flag in $(EXTRA_HOST_FLAGS) ; do \
24745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24746 done; \
24747 echo "Doing TAGS in time" ; \
24748 (cd $(HOST_SUBDIR)/time && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24753 TAGS) \
24754 || exit 1
24756 @endif time
24758 .PHONY: maybe-install-info-time install-info-time
24759 maybe-install-info-time:
24760 @if time
24761 maybe-install-info-time: install-info-time
24763 install-info-time: \
24764 configure-time \
24765 info-time
24766 @: $(MAKE); $(unstage)
24767 @[ -f ./time/Makefile ] || exit 0; \
24768 r=`${PWD_COMMAND}`; export r; \
24769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24770 $(HOST_EXPORTS) \
24771 for flag in $(EXTRA_HOST_FLAGS) ; do \
24772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24773 done; \
24774 echo "Doing install-info in time" ; \
24775 (cd $(HOST_SUBDIR)/time && \
24776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24778 "RANLIB=$${RANLIB}" \
24779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24780 install-info) \
24781 || exit 1
24783 @endif time
24785 .PHONY: maybe-installcheck-time installcheck-time
24786 maybe-installcheck-time:
24787 @if time
24788 maybe-installcheck-time: installcheck-time
24790 installcheck-time: \
24791 configure-time
24792 @: $(MAKE); $(unstage)
24793 @[ -f ./time/Makefile ] || exit 0; \
24794 r=`${PWD_COMMAND}`; export r; \
24795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24796 $(HOST_EXPORTS) \
24797 for flag in $(EXTRA_HOST_FLAGS) ; do \
24798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24799 done; \
24800 echo "Doing installcheck in time" ; \
24801 (cd $(HOST_SUBDIR)/time && \
24802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804 "RANLIB=$${RANLIB}" \
24805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24806 installcheck) \
24807 || exit 1
24809 @endif time
24811 .PHONY: maybe-mostlyclean-time mostlyclean-time
24812 maybe-mostlyclean-time:
24813 @if time
24814 maybe-mostlyclean-time: mostlyclean-time
24816 mostlyclean-time:
24817 @: $(MAKE); $(unstage)
24818 @[ -f ./time/Makefile ] || exit 0; \
24819 r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24821 $(HOST_EXPORTS) \
24822 for flag in $(EXTRA_HOST_FLAGS) ; do \
24823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24824 done; \
24825 echo "Doing mostlyclean in time" ; \
24826 (cd $(HOST_SUBDIR)/time && \
24827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24829 "RANLIB=$${RANLIB}" \
24830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24831 mostlyclean) \
24832 || exit 1
24834 @endif time
24836 .PHONY: maybe-clean-time clean-time
24837 maybe-clean-time:
24838 @if time
24839 maybe-clean-time: clean-time
24841 clean-time:
24842 @: $(MAKE); $(unstage)
24843 @[ -f ./time/Makefile ] || exit 0; \
24844 r=`${PWD_COMMAND}`; export r; \
24845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24846 $(HOST_EXPORTS) \
24847 for flag in $(EXTRA_HOST_FLAGS) ; do \
24848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24849 done; \
24850 echo "Doing clean in time" ; \
24851 (cd $(HOST_SUBDIR)/time && \
24852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24854 "RANLIB=$${RANLIB}" \
24855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24856 clean) \
24857 || exit 1
24859 @endif time
24861 .PHONY: maybe-distclean-time distclean-time
24862 maybe-distclean-time:
24863 @if time
24864 maybe-distclean-time: distclean-time
24866 distclean-time:
24867 @: $(MAKE); $(unstage)
24868 @[ -f ./time/Makefile ] || exit 0; \
24869 r=`${PWD_COMMAND}`; export r; \
24870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24871 $(HOST_EXPORTS) \
24872 for flag in $(EXTRA_HOST_FLAGS) ; do \
24873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24874 done; \
24875 echo "Doing distclean in time" ; \
24876 (cd $(HOST_SUBDIR)/time && \
24877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24879 "RANLIB=$${RANLIB}" \
24880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24881 distclean) \
24882 || exit 1
24884 @endif time
24886 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24887 maybe-maintainer-clean-time:
24888 @if time
24889 maybe-maintainer-clean-time: maintainer-clean-time
24891 maintainer-clean-time:
24892 @: $(MAKE); $(unstage)
24893 @[ -f ./time/Makefile ] || exit 0; \
24894 r=`${PWD_COMMAND}`; export r; \
24895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24896 $(HOST_EXPORTS) \
24897 for flag in $(EXTRA_HOST_FLAGS) ; do \
24898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24899 done; \
24900 echo "Doing maintainer-clean in time" ; \
24901 (cd $(HOST_SUBDIR)/time && \
24902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24904 "RANLIB=$${RANLIB}" \
24905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24906 maintainer-clean) \
24907 || exit 1
24909 @endif time
24913 .PHONY: configure-uudecode maybe-configure-uudecode
24914 maybe-configure-uudecode:
24915 @if uudecode
24916 maybe-configure-uudecode: configure-uudecode
24917 configure-uudecode:
24918 @: $(MAKE); $(unstage)
24919 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24921 r=`${PWD_COMMAND}`; export r; \
24922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24923 $(HOST_EXPORTS) \
24924 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24925 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24926 case $(srcdir) in \
24927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24928 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24930 esac; \
24931 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24932 libsrcdir="$$s/uudecode"; \
24933 $(SHELL) $${libsrcdir}/configure \
24934 $(HOST_CONFIGARGS) $${srcdiroption} \
24935 || exit 1
24936 @endif uudecode
24942 .PHONY: all-uudecode maybe-all-uudecode
24943 maybe-all-uudecode:
24944 @if uudecode
24945 TARGET-uudecode=all
24946 maybe-all-uudecode: all-uudecode
24947 all-uudecode: configure-uudecode
24948 @: $(MAKE); $(unstage)
24949 @r=`${PWD_COMMAND}`; export r; \
24950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24951 $(HOST_EXPORTS) \
24952 (cd $(HOST_SUBDIR)/uudecode && \
24953 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24954 @endif uudecode
24959 .PHONY: check-uudecode maybe-check-uudecode
24960 maybe-check-uudecode:
24961 @if uudecode
24962 maybe-check-uudecode: check-uudecode
24964 check-uudecode:
24965 @: $(MAKE); $(unstage)
24966 @r=`${PWD_COMMAND}`; export r; \
24967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24968 $(HOST_EXPORTS) \
24969 (cd $(HOST_SUBDIR)/uudecode && \
24970 $(MAKE) $(FLAGS_TO_PASS) check)
24972 @endif uudecode
24974 .PHONY: install-uudecode maybe-install-uudecode
24975 maybe-install-uudecode:
24976 @if uudecode
24977 maybe-install-uudecode: install-uudecode
24979 install-uudecode: installdirs
24980 @: $(MAKE); $(unstage)
24981 @r=`${PWD_COMMAND}`; export r; \
24982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24983 $(HOST_EXPORTS) \
24984 (cd $(HOST_SUBDIR)/uudecode && \
24985 $(MAKE) $(FLAGS_TO_PASS) install)
24987 @endif uudecode
24989 # Other targets (info, dvi, etc.)
24991 .PHONY: maybe-info-uudecode info-uudecode
24992 maybe-info-uudecode:
24993 @if uudecode
24994 maybe-info-uudecode: info-uudecode
24996 info-uudecode: \
24997 configure-uudecode
24998 @: $(MAKE); $(unstage)
24999 @[ -f ./uudecode/Makefile ] || exit 0; \
25000 r=`${PWD_COMMAND}`; export r; \
25001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25002 $(HOST_EXPORTS) \
25003 for flag in $(EXTRA_HOST_FLAGS) ; do \
25004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25005 done; \
25006 echo "Doing info in uudecode" ; \
25007 (cd $(HOST_SUBDIR)/uudecode && \
25008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25010 "RANLIB=$${RANLIB}" \
25011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25012 info) \
25013 || exit 1
25015 @endif uudecode
25017 .PHONY: maybe-dvi-uudecode dvi-uudecode
25018 maybe-dvi-uudecode:
25019 @if uudecode
25020 maybe-dvi-uudecode: dvi-uudecode
25022 dvi-uudecode: \
25023 configure-uudecode
25024 @: $(MAKE); $(unstage)
25025 @[ -f ./uudecode/Makefile ] || exit 0; \
25026 r=`${PWD_COMMAND}`; export r; \
25027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25028 $(HOST_EXPORTS) \
25029 for flag in $(EXTRA_HOST_FLAGS) ; do \
25030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25031 done; \
25032 echo "Doing dvi in uudecode" ; \
25033 (cd $(HOST_SUBDIR)/uudecode && \
25034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25036 "RANLIB=$${RANLIB}" \
25037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25038 dvi) \
25039 || exit 1
25041 @endif uudecode
25043 .PHONY: maybe-html-uudecode html-uudecode
25044 maybe-html-uudecode:
25045 @if uudecode
25046 maybe-html-uudecode: html-uudecode
25048 html-uudecode: \
25049 configure-uudecode
25050 @: $(MAKE); $(unstage)
25051 @[ -f ./uudecode/Makefile ] || exit 0; \
25052 r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 $(HOST_EXPORTS) \
25055 for flag in $(EXTRA_HOST_FLAGS) ; do \
25056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25057 done; \
25058 echo "Doing html in uudecode" ; \
25059 (cd $(HOST_SUBDIR)/uudecode && \
25060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25062 "RANLIB=$${RANLIB}" \
25063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25064 html) \
25065 || exit 1
25067 @endif uudecode
25069 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25070 maybe-TAGS-uudecode:
25071 @if uudecode
25072 maybe-TAGS-uudecode: TAGS-uudecode
25074 TAGS-uudecode: \
25075 configure-uudecode
25076 @: $(MAKE); $(unstage)
25077 @[ -f ./uudecode/Makefile ] || exit 0; \
25078 r=`${PWD_COMMAND}`; export r; \
25079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25080 $(HOST_EXPORTS) \
25081 for flag in $(EXTRA_HOST_FLAGS) ; do \
25082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25083 done; \
25084 echo "Doing TAGS in uudecode" ; \
25085 (cd $(HOST_SUBDIR)/uudecode && \
25086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25088 "RANLIB=$${RANLIB}" \
25089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25090 TAGS) \
25091 || exit 1
25093 @endif uudecode
25095 .PHONY: maybe-install-info-uudecode install-info-uudecode
25096 maybe-install-info-uudecode:
25097 @if uudecode
25098 maybe-install-info-uudecode: install-info-uudecode
25100 install-info-uudecode: \
25101 configure-uudecode \
25102 info-uudecode
25103 @: $(MAKE); $(unstage)
25104 @[ -f ./uudecode/Makefile ] || exit 0; \
25105 r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(HOST_EXPORTS) \
25108 for flag in $(EXTRA_HOST_FLAGS) ; do \
25109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25110 done; \
25111 echo "Doing install-info in uudecode" ; \
25112 (cd $(HOST_SUBDIR)/uudecode && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25117 install-info) \
25118 || exit 1
25120 @endif uudecode
25122 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25123 maybe-installcheck-uudecode:
25124 @if uudecode
25125 maybe-installcheck-uudecode: installcheck-uudecode
25127 installcheck-uudecode: \
25128 configure-uudecode
25129 @: $(MAKE); $(unstage)
25130 @[ -f ./uudecode/Makefile ] || exit 0; \
25131 r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25133 $(HOST_EXPORTS) \
25134 for flag in $(EXTRA_HOST_FLAGS) ; do \
25135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25136 done; \
25137 echo "Doing installcheck in uudecode" ; \
25138 (cd $(HOST_SUBDIR)/uudecode && \
25139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25141 "RANLIB=$${RANLIB}" \
25142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25143 installcheck) \
25144 || exit 1
25146 @endif uudecode
25148 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25149 maybe-mostlyclean-uudecode:
25150 @if uudecode
25151 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25153 mostlyclean-uudecode:
25154 @: $(MAKE); $(unstage)
25155 @[ -f ./uudecode/Makefile ] || exit 0; \
25156 r=`${PWD_COMMAND}`; export r; \
25157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25158 $(HOST_EXPORTS) \
25159 for flag in $(EXTRA_HOST_FLAGS) ; do \
25160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25161 done; \
25162 echo "Doing mostlyclean in uudecode" ; \
25163 (cd $(HOST_SUBDIR)/uudecode && \
25164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25166 "RANLIB=$${RANLIB}" \
25167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25168 mostlyclean) \
25169 || exit 1
25171 @endif uudecode
25173 .PHONY: maybe-clean-uudecode clean-uudecode
25174 maybe-clean-uudecode:
25175 @if uudecode
25176 maybe-clean-uudecode: clean-uudecode
25178 clean-uudecode:
25179 @: $(MAKE); $(unstage)
25180 @[ -f ./uudecode/Makefile ] || exit 0; \
25181 r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25183 $(HOST_EXPORTS) \
25184 for flag in $(EXTRA_HOST_FLAGS) ; do \
25185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25186 done; \
25187 echo "Doing clean in uudecode" ; \
25188 (cd $(HOST_SUBDIR)/uudecode && \
25189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25191 "RANLIB=$${RANLIB}" \
25192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25193 clean) \
25194 || exit 1
25196 @endif uudecode
25198 .PHONY: maybe-distclean-uudecode distclean-uudecode
25199 maybe-distclean-uudecode:
25200 @if uudecode
25201 maybe-distclean-uudecode: distclean-uudecode
25203 distclean-uudecode:
25204 @: $(MAKE); $(unstage)
25205 @[ -f ./uudecode/Makefile ] || exit 0; \
25206 r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(HOST_EXPORTS) \
25209 for flag in $(EXTRA_HOST_FLAGS) ; do \
25210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25211 done; \
25212 echo "Doing distclean in uudecode" ; \
25213 (cd $(HOST_SUBDIR)/uudecode && \
25214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25216 "RANLIB=$${RANLIB}" \
25217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25218 distclean) \
25219 || exit 1
25221 @endif uudecode
25223 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25224 maybe-maintainer-clean-uudecode:
25225 @if uudecode
25226 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25228 maintainer-clean-uudecode:
25229 @: $(MAKE); $(unstage)
25230 @[ -f ./uudecode/Makefile ] || exit 0; \
25231 r=`${PWD_COMMAND}`; export r; \
25232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25233 $(HOST_EXPORTS) \
25234 for flag in $(EXTRA_HOST_FLAGS) ; do \
25235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25236 done; \
25237 echo "Doing maintainer-clean in uudecode" ; \
25238 (cd $(HOST_SUBDIR)/uudecode && \
25239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25241 "RANLIB=$${RANLIB}" \
25242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25243 maintainer-clean) \
25244 || exit 1
25246 @endif uudecode
25250 .PHONY: configure-wdiff maybe-configure-wdiff
25251 maybe-configure-wdiff:
25252 @if wdiff
25253 maybe-configure-wdiff: configure-wdiff
25254 configure-wdiff:
25255 @: $(MAKE); $(unstage)
25256 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25258 r=`${PWD_COMMAND}`; export r; \
25259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25260 $(HOST_EXPORTS) \
25261 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25262 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25263 case $(srcdir) in \
25264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25265 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25267 esac; \
25268 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25269 libsrcdir="$$s/wdiff"; \
25270 $(SHELL) $${libsrcdir}/configure \
25271 $(HOST_CONFIGARGS) $${srcdiroption} \
25272 || exit 1
25273 @endif wdiff
25279 .PHONY: all-wdiff maybe-all-wdiff
25280 maybe-all-wdiff:
25281 @if wdiff
25282 TARGET-wdiff=all
25283 maybe-all-wdiff: all-wdiff
25284 all-wdiff: configure-wdiff
25285 @: $(MAKE); $(unstage)
25286 @r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(HOST_EXPORTS) \
25289 (cd $(HOST_SUBDIR)/wdiff && \
25290 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25291 @endif wdiff
25296 .PHONY: check-wdiff maybe-check-wdiff
25297 maybe-check-wdiff:
25298 @if wdiff
25299 maybe-check-wdiff: check-wdiff
25301 check-wdiff:
25302 @: $(MAKE); $(unstage)
25303 @r=`${PWD_COMMAND}`; export r; \
25304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25305 $(HOST_EXPORTS) \
25306 (cd $(HOST_SUBDIR)/wdiff && \
25307 $(MAKE) $(FLAGS_TO_PASS) check)
25309 @endif wdiff
25311 .PHONY: install-wdiff maybe-install-wdiff
25312 maybe-install-wdiff:
25313 @if wdiff
25314 maybe-install-wdiff: install-wdiff
25316 install-wdiff: installdirs
25317 @: $(MAKE); $(unstage)
25318 @r=`${PWD_COMMAND}`; export r; \
25319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25320 $(HOST_EXPORTS) \
25321 (cd $(HOST_SUBDIR)/wdiff && \
25322 $(MAKE) $(FLAGS_TO_PASS) install)
25324 @endif wdiff
25326 # Other targets (info, dvi, etc.)
25328 .PHONY: maybe-info-wdiff info-wdiff
25329 maybe-info-wdiff:
25330 @if wdiff
25331 maybe-info-wdiff: info-wdiff
25333 info-wdiff: \
25334 configure-wdiff
25335 @: $(MAKE); $(unstage)
25336 @[ -f ./wdiff/Makefile ] || exit 0; \
25337 r=`${PWD_COMMAND}`; export r; \
25338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25339 $(HOST_EXPORTS) \
25340 for flag in $(EXTRA_HOST_FLAGS) ; do \
25341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25342 done; \
25343 echo "Doing info in wdiff" ; \
25344 (cd $(HOST_SUBDIR)/wdiff && \
25345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25347 "RANLIB=$${RANLIB}" \
25348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25349 info) \
25350 || exit 1
25352 @endif wdiff
25354 .PHONY: maybe-dvi-wdiff dvi-wdiff
25355 maybe-dvi-wdiff:
25356 @if wdiff
25357 maybe-dvi-wdiff: dvi-wdiff
25359 dvi-wdiff: \
25360 configure-wdiff
25361 @: $(MAKE); $(unstage)
25362 @[ -f ./wdiff/Makefile ] || exit 0; \
25363 r=`${PWD_COMMAND}`; export r; \
25364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25365 $(HOST_EXPORTS) \
25366 for flag in $(EXTRA_HOST_FLAGS) ; do \
25367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25368 done; \
25369 echo "Doing dvi in wdiff" ; \
25370 (cd $(HOST_SUBDIR)/wdiff && \
25371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25373 "RANLIB=$${RANLIB}" \
25374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25375 dvi) \
25376 || exit 1
25378 @endif wdiff
25380 .PHONY: maybe-html-wdiff html-wdiff
25381 maybe-html-wdiff:
25382 @if wdiff
25383 maybe-html-wdiff: html-wdiff
25385 html-wdiff: \
25386 configure-wdiff
25387 @: $(MAKE); $(unstage)
25388 @[ -f ./wdiff/Makefile ] || exit 0; \
25389 r=`${PWD_COMMAND}`; export r; \
25390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25391 $(HOST_EXPORTS) \
25392 for flag in $(EXTRA_HOST_FLAGS) ; do \
25393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25394 done; \
25395 echo "Doing html in wdiff" ; \
25396 (cd $(HOST_SUBDIR)/wdiff && \
25397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25399 "RANLIB=$${RANLIB}" \
25400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25401 html) \
25402 || exit 1
25404 @endif wdiff
25406 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25407 maybe-TAGS-wdiff:
25408 @if wdiff
25409 maybe-TAGS-wdiff: TAGS-wdiff
25411 TAGS-wdiff: \
25412 configure-wdiff
25413 @: $(MAKE); $(unstage)
25414 @[ -f ./wdiff/Makefile ] || exit 0; \
25415 r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(HOST_EXPORTS) \
25418 for flag in $(EXTRA_HOST_FLAGS) ; do \
25419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25420 done; \
25421 echo "Doing TAGS in wdiff" ; \
25422 (cd $(HOST_SUBDIR)/wdiff && \
25423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25425 "RANLIB=$${RANLIB}" \
25426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25427 TAGS) \
25428 || exit 1
25430 @endif wdiff
25432 .PHONY: maybe-install-info-wdiff install-info-wdiff
25433 maybe-install-info-wdiff:
25434 @if wdiff
25435 maybe-install-info-wdiff: install-info-wdiff
25437 install-info-wdiff: \
25438 configure-wdiff \
25439 info-wdiff
25440 @: $(MAKE); $(unstage)
25441 @[ -f ./wdiff/Makefile ] || exit 0; \
25442 r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 $(HOST_EXPORTS) \
25445 for flag in $(EXTRA_HOST_FLAGS) ; do \
25446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25447 done; \
25448 echo "Doing install-info in wdiff" ; \
25449 (cd $(HOST_SUBDIR)/wdiff && \
25450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25452 "RANLIB=$${RANLIB}" \
25453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25454 install-info) \
25455 || exit 1
25457 @endif wdiff
25459 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25460 maybe-installcheck-wdiff:
25461 @if wdiff
25462 maybe-installcheck-wdiff: installcheck-wdiff
25464 installcheck-wdiff: \
25465 configure-wdiff
25466 @: $(MAKE); $(unstage)
25467 @[ -f ./wdiff/Makefile ] || exit 0; \
25468 r=`${PWD_COMMAND}`; export r; \
25469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25470 $(HOST_EXPORTS) \
25471 for flag in $(EXTRA_HOST_FLAGS) ; do \
25472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25473 done; \
25474 echo "Doing installcheck in wdiff" ; \
25475 (cd $(HOST_SUBDIR)/wdiff && \
25476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25478 "RANLIB=$${RANLIB}" \
25479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25480 installcheck) \
25481 || exit 1
25483 @endif wdiff
25485 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25486 maybe-mostlyclean-wdiff:
25487 @if wdiff
25488 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25490 mostlyclean-wdiff:
25491 @: $(MAKE); $(unstage)
25492 @[ -f ./wdiff/Makefile ] || exit 0; \
25493 r=`${PWD_COMMAND}`; export r; \
25494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495 $(HOST_EXPORTS) \
25496 for flag in $(EXTRA_HOST_FLAGS) ; do \
25497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25498 done; \
25499 echo "Doing mostlyclean in wdiff" ; \
25500 (cd $(HOST_SUBDIR)/wdiff && \
25501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25503 "RANLIB=$${RANLIB}" \
25504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25505 mostlyclean) \
25506 || exit 1
25508 @endif wdiff
25510 .PHONY: maybe-clean-wdiff clean-wdiff
25511 maybe-clean-wdiff:
25512 @if wdiff
25513 maybe-clean-wdiff: clean-wdiff
25515 clean-wdiff:
25516 @: $(MAKE); $(unstage)
25517 @[ -f ./wdiff/Makefile ] || exit 0; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(HOST_EXPORTS) \
25521 for flag in $(EXTRA_HOST_FLAGS) ; do \
25522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25523 done; \
25524 echo "Doing clean in wdiff" ; \
25525 (cd $(HOST_SUBDIR)/wdiff && \
25526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528 "RANLIB=$${RANLIB}" \
25529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25530 clean) \
25531 || exit 1
25533 @endif wdiff
25535 .PHONY: maybe-distclean-wdiff distclean-wdiff
25536 maybe-distclean-wdiff:
25537 @if wdiff
25538 maybe-distclean-wdiff: distclean-wdiff
25540 distclean-wdiff:
25541 @: $(MAKE); $(unstage)
25542 @[ -f ./wdiff/Makefile ] || exit 0; \
25543 r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(HOST_EXPORTS) \
25546 for flag in $(EXTRA_HOST_FLAGS) ; do \
25547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25548 done; \
25549 echo "Doing distclean in wdiff" ; \
25550 (cd $(HOST_SUBDIR)/wdiff && \
25551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25553 "RANLIB=$${RANLIB}" \
25554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25555 distclean) \
25556 || exit 1
25558 @endif wdiff
25560 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25561 maybe-maintainer-clean-wdiff:
25562 @if wdiff
25563 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25565 maintainer-clean-wdiff:
25566 @: $(MAKE); $(unstage)
25567 @[ -f ./wdiff/Makefile ] || exit 0; \
25568 r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 $(HOST_EXPORTS) \
25571 for flag in $(EXTRA_HOST_FLAGS) ; do \
25572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25573 done; \
25574 echo "Doing maintainer-clean in wdiff" ; \
25575 (cd $(HOST_SUBDIR)/wdiff && \
25576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25578 "RANLIB=$${RANLIB}" \
25579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25580 maintainer-clean) \
25581 || exit 1
25583 @endif wdiff
25587 .PHONY: configure-zip maybe-configure-zip
25588 maybe-configure-zip:
25589 @if zip
25590 maybe-configure-zip: configure-zip
25591 configure-zip:
25592 @: $(MAKE); $(unstage)
25593 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25595 r=`${PWD_COMMAND}`; export r; \
25596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25597 $(HOST_EXPORTS) \
25598 echo Configuring in $(HOST_SUBDIR)/zip; \
25599 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25600 case $(srcdir) in \
25601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25602 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25604 esac; \
25605 srcdiroption="--srcdir=$${topdir}/zip"; \
25606 libsrcdir="$$s/zip"; \
25607 $(SHELL) $${libsrcdir}/configure \
25608 $(HOST_CONFIGARGS) $${srcdiroption} \
25609 || exit 1
25610 @endif zip
25616 .PHONY: all-zip maybe-all-zip
25617 maybe-all-zip:
25618 @if zip
25619 TARGET-zip=all
25620 maybe-all-zip: all-zip
25621 all-zip: configure-zip
25622 @: $(MAKE); $(unstage)
25623 @r=`${PWD_COMMAND}`; export r; \
25624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25625 $(HOST_EXPORTS) \
25626 (cd $(HOST_SUBDIR)/zip && \
25627 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25628 @endif zip
25633 .PHONY: check-zip maybe-check-zip
25634 maybe-check-zip:
25635 @if zip
25636 maybe-check-zip: check-zip
25638 # This module is only tested in a native toolchain.
25639 check-zip:
25640 @: $(MAKE); $(unstage)
25641 @if [ '$(host)' = '$(target)' ] ; then \
25642 r=`${PWD_COMMAND}`; export r; \
25643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25644 $(HOST_EXPORTS) \
25645 (cd $(HOST_SUBDIR)/zip && \
25646 $(MAKE) $(FLAGS_TO_PASS) check); \
25649 @endif zip
25651 .PHONY: install-zip maybe-install-zip
25652 maybe-install-zip:
25653 @if zip
25654 maybe-install-zip: install-zip
25656 install-zip: installdirs
25657 @: $(MAKE); $(unstage)
25658 @r=`${PWD_COMMAND}`; export r; \
25659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(HOST_EXPORTS) \
25661 (cd $(HOST_SUBDIR)/zip && \
25662 $(MAKE) $(FLAGS_TO_PASS) install)
25664 @endif zip
25666 # Other targets (info, dvi, etc.)
25668 .PHONY: maybe-info-zip info-zip
25669 maybe-info-zip:
25670 @if zip
25671 maybe-info-zip: info-zip
25673 info-zip: \
25674 configure-zip
25675 @: $(MAKE); $(unstage)
25676 @[ -f ./zip/Makefile ] || exit 0; \
25677 r=`${PWD_COMMAND}`; export r; \
25678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 $(HOST_EXPORTS) \
25680 for flag in $(EXTRA_HOST_FLAGS) ; do \
25681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25682 done; \
25683 echo "Doing info in zip" ; \
25684 (cd $(HOST_SUBDIR)/zip && \
25685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687 "RANLIB=$${RANLIB}" \
25688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25689 info) \
25690 || exit 1
25692 @endif zip
25694 .PHONY: maybe-dvi-zip dvi-zip
25695 maybe-dvi-zip:
25696 @if zip
25697 maybe-dvi-zip: dvi-zip
25699 dvi-zip: \
25700 configure-zip
25701 @: $(MAKE); $(unstage)
25702 @[ -f ./zip/Makefile ] || exit 0; \
25703 r=`${PWD_COMMAND}`; export r; \
25704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25705 $(HOST_EXPORTS) \
25706 for flag in $(EXTRA_HOST_FLAGS) ; do \
25707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25708 done; \
25709 echo "Doing dvi in zip" ; \
25710 (cd $(HOST_SUBDIR)/zip && \
25711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25713 "RANLIB=$${RANLIB}" \
25714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25715 dvi) \
25716 || exit 1
25718 @endif zip
25720 .PHONY: maybe-html-zip html-zip
25721 maybe-html-zip:
25722 @if zip
25723 maybe-html-zip: html-zip
25725 html-zip: \
25726 configure-zip
25727 @: $(MAKE); $(unstage)
25728 @[ -f ./zip/Makefile ] || exit 0; \
25729 r=`${PWD_COMMAND}`; export r; \
25730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25731 $(HOST_EXPORTS) \
25732 for flag in $(EXTRA_HOST_FLAGS) ; do \
25733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25734 done; \
25735 echo "Doing html in zip" ; \
25736 (cd $(HOST_SUBDIR)/zip && \
25737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25739 "RANLIB=$${RANLIB}" \
25740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25741 html) \
25742 || exit 1
25744 @endif zip
25746 .PHONY: maybe-TAGS-zip TAGS-zip
25747 maybe-TAGS-zip:
25748 @if zip
25749 maybe-TAGS-zip: TAGS-zip
25751 TAGS-zip: \
25752 configure-zip
25753 @: $(MAKE); $(unstage)
25754 @[ -f ./zip/Makefile ] || exit 0; \
25755 r=`${PWD_COMMAND}`; export r; \
25756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25757 $(HOST_EXPORTS) \
25758 for flag in $(EXTRA_HOST_FLAGS) ; do \
25759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25760 done; \
25761 echo "Doing TAGS in zip" ; \
25762 (cd $(HOST_SUBDIR)/zip && \
25763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25765 "RANLIB=$${RANLIB}" \
25766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25767 TAGS) \
25768 || exit 1
25770 @endif zip
25772 .PHONY: maybe-install-info-zip install-info-zip
25773 maybe-install-info-zip:
25774 @if zip
25775 maybe-install-info-zip: install-info-zip
25777 install-info-zip: \
25778 configure-zip \
25779 info-zip
25780 @: $(MAKE); $(unstage)
25781 @[ -f ./zip/Makefile ] || exit 0; \
25782 r=`${PWD_COMMAND}`; export r; \
25783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25784 $(HOST_EXPORTS) \
25785 for flag in $(EXTRA_HOST_FLAGS) ; do \
25786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25787 done; \
25788 echo "Doing install-info in zip" ; \
25789 (cd $(HOST_SUBDIR)/zip && \
25790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25792 "RANLIB=$${RANLIB}" \
25793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25794 install-info) \
25795 || exit 1
25797 @endif zip
25799 .PHONY: maybe-installcheck-zip installcheck-zip
25800 maybe-installcheck-zip:
25801 @if zip
25802 maybe-installcheck-zip: installcheck-zip
25804 installcheck-zip: \
25805 configure-zip
25806 @: $(MAKE); $(unstage)
25807 @[ -f ./zip/Makefile ] || exit 0; \
25808 r=`${PWD_COMMAND}`; export r; \
25809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25810 $(HOST_EXPORTS) \
25811 for flag in $(EXTRA_HOST_FLAGS) ; do \
25812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25813 done; \
25814 echo "Doing installcheck in zip" ; \
25815 (cd $(HOST_SUBDIR)/zip && \
25816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25818 "RANLIB=$${RANLIB}" \
25819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25820 installcheck) \
25821 || exit 1
25823 @endif zip
25825 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25826 maybe-mostlyclean-zip:
25827 @if zip
25828 maybe-mostlyclean-zip: mostlyclean-zip
25830 mostlyclean-zip:
25831 @: $(MAKE); $(unstage)
25832 @[ -f ./zip/Makefile ] || exit 0; \
25833 r=`${PWD_COMMAND}`; export r; \
25834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25835 $(HOST_EXPORTS) \
25836 for flag in $(EXTRA_HOST_FLAGS) ; do \
25837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25838 done; \
25839 echo "Doing mostlyclean in zip" ; \
25840 (cd $(HOST_SUBDIR)/zip && \
25841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25843 "RANLIB=$${RANLIB}" \
25844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25845 mostlyclean) \
25846 || exit 1
25848 @endif zip
25850 .PHONY: maybe-clean-zip clean-zip
25851 maybe-clean-zip:
25852 @if zip
25853 maybe-clean-zip: clean-zip
25855 clean-zip:
25856 @: $(MAKE); $(unstage)
25857 @[ -f ./zip/Makefile ] || exit 0; \
25858 r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 $(HOST_EXPORTS) \
25861 for flag in $(EXTRA_HOST_FLAGS) ; do \
25862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25863 done; \
25864 echo "Doing clean in zip" ; \
25865 (cd $(HOST_SUBDIR)/zip && \
25866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25868 "RANLIB=$${RANLIB}" \
25869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25870 clean) \
25871 || exit 1
25873 @endif zip
25875 .PHONY: maybe-distclean-zip distclean-zip
25876 maybe-distclean-zip:
25877 @if zip
25878 maybe-distclean-zip: distclean-zip
25880 distclean-zip:
25881 @: $(MAKE); $(unstage)
25882 @[ -f ./zip/Makefile ] || exit 0; \
25883 r=`${PWD_COMMAND}`; export r; \
25884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25885 $(HOST_EXPORTS) \
25886 for flag in $(EXTRA_HOST_FLAGS) ; do \
25887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25888 done; \
25889 echo "Doing distclean in zip" ; \
25890 (cd $(HOST_SUBDIR)/zip && \
25891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25893 "RANLIB=$${RANLIB}" \
25894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25895 distclean) \
25896 || exit 1
25898 @endif zip
25900 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25901 maybe-maintainer-clean-zip:
25902 @if zip
25903 maybe-maintainer-clean-zip: maintainer-clean-zip
25905 maintainer-clean-zip:
25906 @: $(MAKE); $(unstage)
25907 @[ -f ./zip/Makefile ] || exit 0; \
25908 r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25910 $(HOST_EXPORTS) \
25911 for flag in $(EXTRA_HOST_FLAGS) ; do \
25912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25913 done; \
25914 echo "Doing maintainer-clean in zip" ; \
25915 (cd $(HOST_SUBDIR)/zip && \
25916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25918 "RANLIB=$${RANLIB}" \
25919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25920 maintainer-clean) \
25921 || exit 1
25923 @endif zip
25927 .PHONY: configure-zlib maybe-configure-zlib
25928 maybe-configure-zlib:
25929 @if zlib
25930 maybe-configure-zlib: configure-zlib
25931 configure-zlib:
25932 @test -f stage_last && exit 0; \
25933 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(HOST_EXPORTS) \
25938 echo Configuring in $(HOST_SUBDIR)/zlib; \
25939 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25940 case $(srcdir) in \
25941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25942 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25944 esac; \
25945 srcdiroption="--srcdir=$${topdir}/zlib"; \
25946 libsrcdir="$$s/zlib"; \
25947 $(SHELL) $${libsrcdir}/configure \
25948 $(HOST_CONFIGARGS) $${srcdiroption} \
25949 || exit 1
25950 @endif zlib
25954 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25955 maybe-configure-stage1-zlib:
25956 @if zlib-bootstrap
25957 maybe-configure-stage1-zlib: configure-stage1-zlib
25958 configure-stage1-zlib:
25959 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25960 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25961 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25962 $(HOST_EXPORTS) \
25963 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25965 cd $(HOST_SUBDIR)/zlib || exit 1; \
25966 case $(srcdir) in \
25967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25968 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25970 esac; \
25971 srcdiroption="--srcdir=$${topdir}/zlib"; \
25972 libsrcdir="$$s/zlib"; \
25973 $(SHELL) $${libsrcdir}/configure \
25974 $(HOST_CONFIGARGS) $${srcdiroption} \
25975 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25976 @endif zlib-bootstrap
25978 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25979 maybe-configure-stage2-zlib:
25980 @if zlib-bootstrap
25981 maybe-configure-stage2-zlib: configure-stage2-zlib
25982 configure-stage2-zlib:
25983 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25985 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25986 $(HOST_EXPORTS) \
25987 $(POSTSTAGE1_HOST_EXPORTS) \
25988 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25989 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25990 cd $(HOST_SUBDIR)/zlib || exit 1; \
25991 case $(srcdir) in \
25992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25993 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25995 esac; \
25996 srcdiroption="--srcdir=$${topdir}/zlib"; \
25997 libsrcdir="$$s/zlib"; \
25998 $(SHELL) $${libsrcdir}/configure \
25999 $(HOST_CONFIGARGS) $${srcdiroption} \
26000 @stage2_werror_flag@
26001 @endif zlib-bootstrap
26003 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26004 maybe-configure-stage3-zlib:
26005 @if zlib-bootstrap
26006 maybe-configure-stage3-zlib: configure-stage3-zlib
26007 configure-stage3-zlib:
26008 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26010 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26011 $(HOST_EXPORTS) \
26012 $(POSTSTAGE1_HOST_EXPORTS) \
26013 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26015 cd $(HOST_SUBDIR)/zlib || exit 1; \
26016 case $(srcdir) in \
26017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26018 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26020 esac; \
26021 srcdiroption="--srcdir=$${topdir}/zlib"; \
26022 libsrcdir="$$s/zlib"; \
26023 $(SHELL) $${libsrcdir}/configure \
26024 $(HOST_CONFIGARGS) $${srcdiroption} \
26025 @stage2_werror_flag@
26026 @endif zlib-bootstrap
26028 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26029 maybe-configure-stage4-zlib:
26030 @if zlib-bootstrap
26031 maybe-configure-stage4-zlib: configure-stage4-zlib
26032 configure-stage4-zlib:
26033 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26035 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26036 $(HOST_EXPORTS) \
26037 $(POSTSTAGE1_HOST_EXPORTS) \
26038 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26040 cd $(HOST_SUBDIR)/zlib || exit 1; \
26041 case $(srcdir) in \
26042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26043 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26045 esac; \
26046 srcdiroption="--srcdir=$${topdir}/zlib"; \
26047 libsrcdir="$$s/zlib"; \
26048 $(SHELL) $${libsrcdir}/configure \
26049 $(HOST_CONFIGARGS) $${srcdiroption} \
26050 @stage2_werror_flag@
26051 @endif zlib-bootstrap
26053 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26054 maybe-configure-stageprofile-zlib:
26055 @if zlib-bootstrap
26056 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26057 configure-stageprofile-zlib:
26058 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26060 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26061 $(HOST_EXPORTS) \
26062 $(POSTSTAGE1_HOST_EXPORTS) \
26063 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26065 cd $(HOST_SUBDIR)/zlib || exit 1; \
26066 case $(srcdir) in \
26067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26068 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26070 esac; \
26071 srcdiroption="--srcdir=$${topdir}/zlib"; \
26072 libsrcdir="$$s/zlib"; \
26073 $(SHELL) $${libsrcdir}/configure \
26074 $(HOST_CONFIGARGS) $${srcdiroption} \
26075 @stage2_werror_flag@
26076 @endif zlib-bootstrap
26078 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26079 maybe-configure-stagefeedback-zlib:
26080 @if zlib-bootstrap
26081 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26082 configure-stagefeedback-zlib:
26083 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26085 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26086 $(HOST_EXPORTS) \
26087 $(POSTSTAGE1_HOST_EXPORTS) \
26088 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26090 cd $(HOST_SUBDIR)/zlib || exit 1; \
26091 case $(srcdir) in \
26092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26093 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26095 esac; \
26096 srcdiroption="--srcdir=$${topdir}/zlib"; \
26097 libsrcdir="$$s/zlib"; \
26098 $(SHELL) $${libsrcdir}/configure \
26099 $(HOST_CONFIGARGS) $${srcdiroption} \
26100 @stage2_werror_flag@
26101 @endif zlib-bootstrap
26107 .PHONY: all-zlib maybe-all-zlib
26108 maybe-all-zlib:
26109 @if zlib
26110 TARGET-zlib=all
26111 maybe-all-zlib: all-zlib
26112 all-zlib: configure-zlib
26113 @test -f stage_last && exit 0; \
26114 r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 $(HOST_EXPORTS) \
26117 (cd $(HOST_SUBDIR)/zlib && \
26118 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26119 @endif zlib
26123 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26124 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26125 maybe-all-stage1-zlib:
26126 maybe-clean-stage1-zlib:
26127 @if zlib-bootstrap
26128 maybe-all-stage1-zlib: all-stage1-zlib
26129 all-stage1: all-stage1-zlib
26130 TARGET-stage1-zlib = $(TARGET-zlib)
26131 all-stage1-zlib: configure-stage1-zlib
26132 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26133 @r=`${PWD_COMMAND}`; export r; \
26134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26135 $(HOST_EXPORTS) \
26136 cd $(HOST_SUBDIR)/zlib && \
26137 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26138 $(TARGET-stage1-zlib)
26140 maybe-clean-stage1-zlib: clean-stage1-zlib
26141 clean-stage1: clean-stage1-zlib
26142 clean-stage1-zlib:
26143 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26144 || exit 0 ; \
26145 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26146 cd $(HOST_SUBDIR)/zlib && \
26147 $(MAKE) $(FLAGS_TO_PASS) \
26148 CFLAGS="$(STAGE1_CFLAGS)" clean
26149 @endif zlib-bootstrap
26152 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26153 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26154 maybe-all-stage2-zlib:
26155 maybe-clean-stage2-zlib:
26156 @if zlib-bootstrap
26157 maybe-all-stage2-zlib: all-stage2-zlib
26158 all-stage2: all-stage2-zlib
26159 TARGET-stage2-zlib = $(TARGET-zlib)
26160 all-stage2-zlib: configure-stage2-zlib
26161 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26162 @r=`${PWD_COMMAND}`; export r; \
26163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164 $(HOST_EXPORTS) \
26165 $(POSTSTAGE1_HOST_EXPORTS) \
26166 cd $(HOST_SUBDIR)/zlib && \
26167 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26168 $(TARGET-stage2-zlib)
26170 maybe-clean-stage2-zlib: clean-stage2-zlib
26171 clean-stage2: clean-stage2-zlib
26172 clean-stage2-zlib:
26173 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26174 || exit 0 ; \
26175 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26176 cd $(HOST_SUBDIR)/zlib && \
26177 $(MAKE) $(FLAGS_TO_PASS) \
26178 $(POSTSTAGE1_FLAGS_TO_PASS) \
26179 clean
26180 @endif zlib-bootstrap
26183 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26184 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26185 maybe-all-stage3-zlib:
26186 maybe-clean-stage3-zlib:
26187 @if zlib-bootstrap
26188 maybe-all-stage3-zlib: all-stage3-zlib
26189 all-stage3: all-stage3-zlib
26190 TARGET-stage3-zlib = $(TARGET-zlib)
26191 all-stage3-zlib: configure-stage3-zlib
26192 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26193 @r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 $(POSTSTAGE1_HOST_EXPORTS) \
26197 cd $(HOST_SUBDIR)/zlib && \
26198 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26199 $(TARGET-stage3-zlib)
26201 maybe-clean-stage3-zlib: clean-stage3-zlib
26202 clean-stage3: clean-stage3-zlib
26203 clean-stage3-zlib:
26204 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26205 || exit 0 ; \
26206 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26207 cd $(HOST_SUBDIR)/zlib && \
26208 $(MAKE) $(FLAGS_TO_PASS) \
26209 $(POSTSTAGE1_FLAGS_TO_PASS) \
26210 clean
26211 @endif zlib-bootstrap
26214 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26215 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26216 maybe-all-stage4-zlib:
26217 maybe-clean-stage4-zlib:
26218 @if zlib-bootstrap
26219 maybe-all-stage4-zlib: all-stage4-zlib
26220 all-stage4: all-stage4-zlib
26221 TARGET-stage4-zlib = $(TARGET-zlib)
26222 all-stage4-zlib: configure-stage4-zlib
26223 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26224 @r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(HOST_EXPORTS) \
26227 $(POSTSTAGE1_HOST_EXPORTS) \
26228 cd $(HOST_SUBDIR)/zlib && \
26229 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26230 $(TARGET-stage4-zlib)
26232 maybe-clean-stage4-zlib: clean-stage4-zlib
26233 clean-stage4: clean-stage4-zlib
26234 clean-stage4-zlib:
26235 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26236 || exit 0 ; \
26237 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26238 cd $(HOST_SUBDIR)/zlib && \
26239 $(MAKE) $(FLAGS_TO_PASS) \
26240 $(POSTSTAGE1_FLAGS_TO_PASS) \
26241 clean
26242 @endif zlib-bootstrap
26245 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26246 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26247 maybe-all-stageprofile-zlib:
26248 maybe-clean-stageprofile-zlib:
26249 @if zlib-bootstrap
26250 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26251 all-stageprofile: all-stageprofile-zlib
26252 TARGET-stageprofile-zlib = $(TARGET-zlib)
26253 all-stageprofile-zlib: configure-stageprofile-zlib
26254 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26255 @r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(HOST_EXPORTS) \
26258 $(POSTSTAGE1_HOST_EXPORTS) \
26259 cd $(HOST_SUBDIR)/zlib && \
26260 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26261 $(TARGET-stageprofile-zlib)
26263 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26264 clean-stageprofile: clean-stageprofile-zlib
26265 clean-stageprofile-zlib:
26266 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26267 || exit 0 ; \
26268 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26269 cd $(HOST_SUBDIR)/zlib && \
26270 $(MAKE) $(FLAGS_TO_PASS) \
26271 $(POSTSTAGE1_FLAGS_TO_PASS) \
26272 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26273 @endif zlib-bootstrap
26276 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26277 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26278 maybe-all-stagefeedback-zlib:
26279 maybe-clean-stagefeedback-zlib:
26280 @if zlib-bootstrap
26281 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26282 all-stagefeedback: all-stagefeedback-zlib
26283 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26284 all-stagefeedback-zlib: configure-stagefeedback-zlib
26285 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26286 @r=`${PWD_COMMAND}`; export r; \
26287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26288 $(HOST_EXPORTS) \
26289 $(POSTSTAGE1_HOST_EXPORTS) \
26290 cd $(HOST_SUBDIR)/zlib && \
26291 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26292 $(TARGET-stagefeedback-zlib)
26294 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26295 clean-stagefeedback: clean-stagefeedback-zlib
26296 clean-stagefeedback-zlib:
26297 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26298 || exit 0 ; \
26299 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26300 cd $(HOST_SUBDIR)/zlib && \
26301 $(MAKE) $(FLAGS_TO_PASS) \
26302 $(POSTSTAGE1_FLAGS_TO_PASS) \
26303 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26304 @endif zlib-bootstrap
26310 .PHONY: check-zlib maybe-check-zlib
26311 maybe-check-zlib:
26312 @if zlib
26313 maybe-check-zlib: check-zlib
26315 check-zlib:
26317 @endif zlib
26319 .PHONY: install-zlib maybe-install-zlib
26320 maybe-install-zlib:
26321 @if zlib
26322 maybe-install-zlib: install-zlib
26324 install-zlib:
26326 @endif zlib
26328 # Other targets (info, dvi, etc.)
26330 .PHONY: maybe-info-zlib info-zlib
26331 maybe-info-zlib:
26332 @if zlib
26333 maybe-info-zlib: info-zlib
26335 info-zlib: \
26336 configure-zlib
26337 @[ -f ./zlib/Makefile ] || exit 0; \
26338 r=`${PWD_COMMAND}`; export r; \
26339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26340 $(HOST_EXPORTS) \
26341 for flag in $(EXTRA_HOST_FLAGS) ; do \
26342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26343 done; \
26344 echo "Doing info in zlib" ; \
26345 (cd $(HOST_SUBDIR)/zlib && \
26346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26348 "RANLIB=$${RANLIB}" \
26349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26350 info) \
26351 || exit 1
26353 @endif zlib
26355 .PHONY: maybe-dvi-zlib dvi-zlib
26356 maybe-dvi-zlib:
26357 @if zlib
26358 maybe-dvi-zlib: dvi-zlib
26360 dvi-zlib: \
26361 configure-zlib
26362 @[ -f ./zlib/Makefile ] || exit 0; \
26363 r=`${PWD_COMMAND}`; export r; \
26364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26365 $(HOST_EXPORTS) \
26366 for flag in $(EXTRA_HOST_FLAGS) ; do \
26367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26368 done; \
26369 echo "Doing dvi in zlib" ; \
26370 (cd $(HOST_SUBDIR)/zlib && \
26371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26373 "RANLIB=$${RANLIB}" \
26374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26375 dvi) \
26376 || exit 1
26378 @endif zlib
26380 .PHONY: maybe-html-zlib html-zlib
26381 maybe-html-zlib:
26382 @if zlib
26383 maybe-html-zlib: html-zlib
26385 html-zlib: \
26386 configure-zlib
26387 @[ -f ./zlib/Makefile ] || exit 0; \
26388 r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26390 $(HOST_EXPORTS) \
26391 for flag in $(EXTRA_HOST_FLAGS) ; do \
26392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26393 done; \
26394 echo "Doing html in zlib" ; \
26395 (cd $(HOST_SUBDIR)/zlib && \
26396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26398 "RANLIB=$${RANLIB}" \
26399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26400 html) \
26401 || exit 1
26403 @endif zlib
26405 .PHONY: maybe-TAGS-zlib TAGS-zlib
26406 maybe-TAGS-zlib:
26407 @if zlib
26408 maybe-TAGS-zlib: TAGS-zlib
26410 TAGS-zlib: \
26411 configure-zlib
26412 @[ -f ./zlib/Makefile ] || exit 0; \
26413 r=`${PWD_COMMAND}`; export r; \
26414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26415 $(HOST_EXPORTS) \
26416 for flag in $(EXTRA_HOST_FLAGS) ; do \
26417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26418 done; \
26419 echo "Doing TAGS in zlib" ; \
26420 (cd $(HOST_SUBDIR)/zlib && \
26421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26423 "RANLIB=$${RANLIB}" \
26424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26425 TAGS) \
26426 || exit 1
26428 @endif zlib
26430 .PHONY: maybe-install-info-zlib install-info-zlib
26431 maybe-install-info-zlib:
26432 @if zlib
26433 maybe-install-info-zlib: install-info-zlib
26435 install-info-zlib: \
26436 configure-zlib \
26437 info-zlib
26438 @[ -f ./zlib/Makefile ] || exit 0; \
26439 r=`${PWD_COMMAND}`; export r; \
26440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26441 $(HOST_EXPORTS) \
26442 for flag in $(EXTRA_HOST_FLAGS) ; do \
26443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26444 done; \
26445 echo "Doing install-info in zlib" ; \
26446 (cd $(HOST_SUBDIR)/zlib && \
26447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26449 "RANLIB=$${RANLIB}" \
26450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26451 install-info) \
26452 || exit 1
26454 @endif zlib
26456 .PHONY: maybe-installcheck-zlib installcheck-zlib
26457 maybe-installcheck-zlib:
26458 @if zlib
26459 maybe-installcheck-zlib: installcheck-zlib
26461 installcheck-zlib: \
26462 configure-zlib
26463 @[ -f ./zlib/Makefile ] || exit 0; \
26464 r=`${PWD_COMMAND}`; export r; \
26465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26466 $(HOST_EXPORTS) \
26467 for flag in $(EXTRA_HOST_FLAGS) ; do \
26468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26469 done; \
26470 echo "Doing installcheck in zlib" ; \
26471 (cd $(HOST_SUBDIR)/zlib && \
26472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26474 "RANLIB=$${RANLIB}" \
26475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26476 installcheck) \
26477 || exit 1
26479 @endif zlib
26481 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26482 maybe-mostlyclean-zlib:
26483 @if zlib
26484 maybe-mostlyclean-zlib: mostlyclean-zlib
26486 mostlyclean-zlib:
26487 @[ -f ./zlib/Makefile ] || exit 0; \
26488 r=`${PWD_COMMAND}`; export r; \
26489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26490 $(HOST_EXPORTS) \
26491 for flag in $(EXTRA_HOST_FLAGS) ; do \
26492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26493 done; \
26494 echo "Doing mostlyclean in zlib" ; \
26495 (cd $(HOST_SUBDIR)/zlib && \
26496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26498 "RANLIB=$${RANLIB}" \
26499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26500 mostlyclean) \
26501 || exit 1
26503 @endif zlib
26505 .PHONY: maybe-clean-zlib clean-zlib
26506 maybe-clean-zlib:
26507 @if zlib
26508 maybe-clean-zlib: clean-zlib
26510 clean-zlib:
26511 @[ -f ./zlib/Makefile ] || exit 0; \
26512 r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(HOST_EXPORTS) \
26515 for flag in $(EXTRA_HOST_FLAGS) ; do \
26516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26517 done; \
26518 echo "Doing clean in zlib" ; \
26519 (cd $(HOST_SUBDIR)/zlib && \
26520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26522 "RANLIB=$${RANLIB}" \
26523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26524 clean) \
26525 || exit 1
26527 @endif zlib
26529 .PHONY: maybe-distclean-zlib distclean-zlib
26530 maybe-distclean-zlib:
26531 @if zlib
26532 maybe-distclean-zlib: distclean-zlib
26534 distclean-zlib:
26535 @[ -f ./zlib/Makefile ] || exit 0; \
26536 r=`${PWD_COMMAND}`; export r; \
26537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26538 $(HOST_EXPORTS) \
26539 for flag in $(EXTRA_HOST_FLAGS) ; do \
26540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26541 done; \
26542 echo "Doing distclean in zlib" ; \
26543 (cd $(HOST_SUBDIR)/zlib && \
26544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26546 "RANLIB=$${RANLIB}" \
26547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26548 distclean) \
26549 || exit 1
26551 @endif zlib
26553 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26554 maybe-maintainer-clean-zlib:
26555 @if zlib
26556 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26558 maintainer-clean-zlib:
26559 @[ -f ./zlib/Makefile ] || exit 0; \
26560 r=`${PWD_COMMAND}`; export r; \
26561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26562 $(HOST_EXPORTS) \
26563 for flag in $(EXTRA_HOST_FLAGS) ; do \
26564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26565 done; \
26566 echo "Doing maintainer-clean in zlib" ; \
26567 (cd $(HOST_SUBDIR)/zlib && \
26568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26570 "RANLIB=$${RANLIB}" \
26571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26572 maintainer-clean) \
26573 || exit 1
26575 @endif zlib
26579 .PHONY: configure-gdb maybe-configure-gdb
26580 maybe-configure-gdb:
26581 @if gdb
26582 maybe-configure-gdb: configure-gdb
26583 configure-gdb:
26584 @: $(MAKE); $(unstage)
26585 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26587 r=`${PWD_COMMAND}`; export r; \
26588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26589 $(HOST_EXPORTS) \
26590 echo Configuring in $(HOST_SUBDIR)/gdb; \
26591 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26592 case $(srcdir) in \
26593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26594 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26596 esac; \
26597 srcdiroption="--srcdir=$${topdir}/gdb"; \
26598 libsrcdir="$$s/gdb"; \
26599 $(SHELL) $${libsrcdir}/configure \
26600 $(HOST_CONFIGARGS) $${srcdiroption} \
26601 || exit 1
26602 @endif gdb
26608 .PHONY: all-gdb maybe-all-gdb
26609 maybe-all-gdb:
26610 @if gdb
26611 TARGET-gdb=all
26612 maybe-all-gdb: all-gdb
26613 all-gdb: configure-gdb
26614 @: $(MAKE); $(unstage)
26615 @r=`${PWD_COMMAND}`; export r; \
26616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26617 $(HOST_EXPORTS) \
26618 (cd $(HOST_SUBDIR)/gdb && \
26619 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26620 @endif gdb
26625 .PHONY: check-gdb maybe-check-gdb
26626 maybe-check-gdb:
26627 @if gdb
26628 maybe-check-gdb: check-gdb
26630 check-gdb:
26631 @: $(MAKE); $(unstage)
26632 @r=`${PWD_COMMAND}`; export r; \
26633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26634 $(HOST_EXPORTS) \
26635 (cd $(HOST_SUBDIR)/gdb && \
26636 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26638 @endif gdb
26640 .PHONY: install-gdb maybe-install-gdb
26641 maybe-install-gdb:
26642 @if gdb
26643 maybe-install-gdb: install-gdb
26645 install-gdb: installdirs
26646 @: $(MAKE); $(unstage)
26647 @r=`${PWD_COMMAND}`; export r; \
26648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 $(HOST_EXPORTS) \
26650 (cd $(HOST_SUBDIR)/gdb && \
26651 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26653 @endif gdb
26655 # Other targets (info, dvi, etc.)
26657 .PHONY: maybe-info-gdb info-gdb
26658 maybe-info-gdb:
26659 @if gdb
26660 maybe-info-gdb: info-gdb
26662 info-gdb: \
26663 configure-gdb
26664 @: $(MAKE); $(unstage)
26665 @[ -f ./gdb/Makefile ] || exit 0; \
26666 r=`${PWD_COMMAND}`; export r; \
26667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26668 $(HOST_EXPORTS) \
26669 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26671 done; \
26672 echo "Doing info in gdb" ; \
26673 (cd $(HOST_SUBDIR)/gdb && \
26674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26676 "RANLIB=$${RANLIB}" \
26677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26678 info) \
26679 || exit 1
26681 @endif gdb
26683 .PHONY: maybe-dvi-gdb dvi-gdb
26684 maybe-dvi-gdb:
26685 @if gdb
26686 maybe-dvi-gdb: dvi-gdb
26688 dvi-gdb: \
26689 configure-gdb
26690 @: $(MAKE); $(unstage)
26691 @[ -f ./gdb/Makefile ] || exit 0; \
26692 r=`${PWD_COMMAND}`; export r; \
26693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26694 $(HOST_EXPORTS) \
26695 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26697 done; \
26698 echo "Doing dvi in gdb" ; \
26699 (cd $(HOST_SUBDIR)/gdb && \
26700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26702 "RANLIB=$${RANLIB}" \
26703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26704 dvi) \
26705 || exit 1
26707 @endif gdb
26709 .PHONY: maybe-html-gdb html-gdb
26710 maybe-html-gdb:
26711 @if gdb
26712 maybe-html-gdb: html-gdb
26714 html-gdb: \
26715 configure-gdb
26716 @: $(MAKE); $(unstage)
26717 @[ -f ./gdb/Makefile ] || exit 0; \
26718 r=`${PWD_COMMAND}`; export r; \
26719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26720 $(HOST_EXPORTS) \
26721 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26723 done; \
26724 echo "Doing html in gdb" ; \
26725 (cd $(HOST_SUBDIR)/gdb && \
26726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26728 "RANLIB=$${RANLIB}" \
26729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26730 html) \
26731 || exit 1
26733 @endif gdb
26735 .PHONY: maybe-TAGS-gdb TAGS-gdb
26736 maybe-TAGS-gdb:
26737 @if gdb
26738 maybe-TAGS-gdb: TAGS-gdb
26740 TAGS-gdb: \
26741 configure-gdb
26742 @: $(MAKE); $(unstage)
26743 @[ -f ./gdb/Makefile ] || exit 0; \
26744 r=`${PWD_COMMAND}`; export r; \
26745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26746 $(HOST_EXPORTS) \
26747 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26749 done; \
26750 echo "Doing TAGS in gdb" ; \
26751 (cd $(HOST_SUBDIR)/gdb && \
26752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26754 "RANLIB=$${RANLIB}" \
26755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26756 TAGS) \
26757 || exit 1
26759 @endif gdb
26761 .PHONY: maybe-install-info-gdb install-info-gdb
26762 maybe-install-info-gdb:
26763 @if gdb
26764 maybe-install-info-gdb: install-info-gdb
26766 install-info-gdb: \
26767 configure-gdb \
26768 info-gdb
26769 @: $(MAKE); $(unstage)
26770 @[ -f ./gdb/Makefile ] || exit 0; \
26771 r=`${PWD_COMMAND}`; export r; \
26772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26773 $(HOST_EXPORTS) \
26774 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26776 done; \
26777 echo "Doing install-info in gdb" ; \
26778 (cd $(HOST_SUBDIR)/gdb && \
26779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26781 "RANLIB=$${RANLIB}" \
26782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26783 install-info) \
26784 || exit 1
26786 @endif gdb
26788 .PHONY: maybe-installcheck-gdb installcheck-gdb
26789 maybe-installcheck-gdb:
26790 @if gdb
26791 maybe-installcheck-gdb: installcheck-gdb
26793 installcheck-gdb: \
26794 configure-gdb
26795 @: $(MAKE); $(unstage)
26796 @[ -f ./gdb/Makefile ] || exit 0; \
26797 r=`${PWD_COMMAND}`; export r; \
26798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26799 $(HOST_EXPORTS) \
26800 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26802 done; \
26803 echo "Doing installcheck in gdb" ; \
26804 (cd $(HOST_SUBDIR)/gdb && \
26805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26807 "RANLIB=$${RANLIB}" \
26808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26809 installcheck) \
26810 || exit 1
26812 @endif gdb
26814 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26815 maybe-mostlyclean-gdb:
26816 @if gdb
26817 maybe-mostlyclean-gdb: mostlyclean-gdb
26819 mostlyclean-gdb:
26820 @: $(MAKE); $(unstage)
26821 @[ -f ./gdb/Makefile ] || exit 0; \
26822 r=`${PWD_COMMAND}`; export r; \
26823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26824 $(HOST_EXPORTS) \
26825 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26827 done; \
26828 echo "Doing mostlyclean in gdb" ; \
26829 (cd $(HOST_SUBDIR)/gdb && \
26830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26832 "RANLIB=$${RANLIB}" \
26833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26834 mostlyclean) \
26835 || exit 1
26837 @endif gdb
26839 .PHONY: maybe-clean-gdb clean-gdb
26840 maybe-clean-gdb:
26841 @if gdb
26842 maybe-clean-gdb: clean-gdb
26844 clean-gdb:
26845 @: $(MAKE); $(unstage)
26846 @[ -f ./gdb/Makefile ] || exit 0; \
26847 r=`${PWD_COMMAND}`; export r; \
26848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26849 $(HOST_EXPORTS) \
26850 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26852 done; \
26853 echo "Doing clean in gdb" ; \
26854 (cd $(HOST_SUBDIR)/gdb && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26859 clean) \
26860 || exit 1
26862 @endif gdb
26864 .PHONY: maybe-distclean-gdb distclean-gdb
26865 maybe-distclean-gdb:
26866 @if gdb
26867 maybe-distclean-gdb: distclean-gdb
26869 distclean-gdb:
26870 @: $(MAKE); $(unstage)
26871 @[ -f ./gdb/Makefile ] || exit 0; \
26872 r=`${PWD_COMMAND}`; export r; \
26873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26874 $(HOST_EXPORTS) \
26875 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26877 done; \
26878 echo "Doing distclean in gdb" ; \
26879 (cd $(HOST_SUBDIR)/gdb && \
26880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26882 "RANLIB=$${RANLIB}" \
26883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26884 distclean) \
26885 || exit 1
26887 @endif gdb
26889 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26890 maybe-maintainer-clean-gdb:
26891 @if gdb
26892 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26894 maintainer-clean-gdb:
26895 @: $(MAKE); $(unstage)
26896 @[ -f ./gdb/Makefile ] || exit 0; \
26897 r=`${PWD_COMMAND}`; export r; \
26898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26899 $(HOST_EXPORTS) \
26900 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26902 done; \
26903 echo "Doing maintainer-clean in gdb" ; \
26904 (cd $(HOST_SUBDIR)/gdb && \
26905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26907 "RANLIB=$${RANLIB}" \
26908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26909 maintainer-clean) \
26910 || exit 1
26912 @endif gdb
26916 .PHONY: configure-expect maybe-configure-expect
26917 maybe-configure-expect:
26918 @if expect
26919 maybe-configure-expect: configure-expect
26920 configure-expect:
26921 @: $(MAKE); $(unstage)
26922 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26924 r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26926 $(HOST_EXPORTS) \
26927 echo Configuring in $(HOST_SUBDIR)/expect; \
26928 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26929 case $(srcdir) in \
26930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26931 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26933 esac; \
26934 srcdiroption="--srcdir=$${topdir}/expect"; \
26935 libsrcdir="$$s/expect"; \
26936 $(SHELL) $${libsrcdir}/configure \
26937 $(HOST_CONFIGARGS) $${srcdiroption} \
26938 || exit 1
26939 @endif expect
26945 .PHONY: all-expect maybe-all-expect
26946 maybe-all-expect:
26947 @if expect
26948 TARGET-expect=all
26949 maybe-all-expect: all-expect
26950 all-expect: configure-expect
26951 @: $(MAKE); $(unstage)
26952 @r=`${PWD_COMMAND}`; export r; \
26953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26954 $(HOST_EXPORTS) \
26955 (cd $(HOST_SUBDIR)/expect && \
26956 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26957 @endif expect
26962 .PHONY: check-expect maybe-check-expect
26963 maybe-check-expect:
26964 @if expect
26965 maybe-check-expect: check-expect
26967 check-expect:
26968 @: $(MAKE); $(unstage)
26969 @r=`${PWD_COMMAND}`; export r; \
26970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26971 $(HOST_EXPORTS) \
26972 (cd $(HOST_SUBDIR)/expect && \
26973 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26975 @endif expect
26977 .PHONY: install-expect maybe-install-expect
26978 maybe-install-expect:
26979 @if expect
26980 maybe-install-expect: install-expect
26982 install-expect: installdirs
26983 @: $(MAKE); $(unstage)
26984 @r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26986 $(HOST_EXPORTS) \
26987 (cd $(HOST_SUBDIR)/expect && \
26988 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26990 @endif expect
26992 # Other targets (info, dvi, etc.)
26994 .PHONY: maybe-info-expect info-expect
26995 maybe-info-expect:
26996 @if expect
26997 maybe-info-expect: info-expect
26999 info-expect: \
27000 configure-expect
27001 @: $(MAKE); $(unstage)
27002 @[ -f ./expect/Makefile ] || exit 0; \
27003 r=`${PWD_COMMAND}`; export r; \
27004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27005 $(HOST_EXPORTS) \
27006 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27008 done; \
27009 echo "Doing info in expect" ; \
27010 (cd $(HOST_SUBDIR)/expect && \
27011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27013 "RANLIB=$${RANLIB}" \
27014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27015 info) \
27016 || exit 1
27018 @endif expect
27020 .PHONY: maybe-dvi-expect dvi-expect
27021 maybe-dvi-expect:
27022 @if expect
27023 maybe-dvi-expect: dvi-expect
27025 dvi-expect: \
27026 configure-expect
27027 @: $(MAKE); $(unstage)
27028 @[ -f ./expect/Makefile ] || exit 0; \
27029 r=`${PWD_COMMAND}`; export r; \
27030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27031 $(HOST_EXPORTS) \
27032 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27034 done; \
27035 echo "Doing dvi in expect" ; \
27036 (cd $(HOST_SUBDIR)/expect && \
27037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27039 "RANLIB=$${RANLIB}" \
27040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27041 dvi) \
27042 || exit 1
27044 @endif expect
27046 .PHONY: maybe-html-expect html-expect
27047 maybe-html-expect:
27048 @if expect
27049 maybe-html-expect: html-expect
27051 html-expect: \
27052 configure-expect
27053 @: $(MAKE); $(unstage)
27054 @[ -f ./expect/Makefile ] || exit 0; \
27055 r=`${PWD_COMMAND}`; export r; \
27056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27057 $(HOST_EXPORTS) \
27058 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27060 done; \
27061 echo "Doing html in expect" ; \
27062 (cd $(HOST_SUBDIR)/expect && \
27063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27065 "RANLIB=$${RANLIB}" \
27066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27067 html) \
27068 || exit 1
27070 @endif expect
27072 .PHONY: maybe-TAGS-expect TAGS-expect
27073 maybe-TAGS-expect:
27074 @if expect
27075 maybe-TAGS-expect: TAGS-expect
27077 TAGS-expect: \
27078 configure-expect
27079 @: $(MAKE); $(unstage)
27080 @[ -f ./expect/Makefile ] || exit 0; \
27081 r=`${PWD_COMMAND}`; export r; \
27082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27083 $(HOST_EXPORTS) \
27084 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27086 done; \
27087 echo "Doing TAGS in expect" ; \
27088 (cd $(HOST_SUBDIR)/expect && \
27089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27091 "RANLIB=$${RANLIB}" \
27092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27093 TAGS) \
27094 || exit 1
27096 @endif expect
27098 .PHONY: maybe-install-info-expect install-info-expect
27099 maybe-install-info-expect:
27100 @if expect
27101 maybe-install-info-expect: install-info-expect
27103 install-info-expect: \
27104 configure-expect \
27105 info-expect
27106 @: $(MAKE); $(unstage)
27107 @[ -f ./expect/Makefile ] || exit 0; \
27108 r=`${PWD_COMMAND}`; export r; \
27109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27110 $(HOST_EXPORTS) \
27111 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27113 done; \
27114 echo "Doing install-info in expect" ; \
27115 (cd $(HOST_SUBDIR)/expect && \
27116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27118 "RANLIB=$${RANLIB}" \
27119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27120 install-info) \
27121 || exit 1
27123 @endif expect
27125 .PHONY: maybe-installcheck-expect installcheck-expect
27126 maybe-installcheck-expect:
27127 @if expect
27128 maybe-installcheck-expect: installcheck-expect
27130 installcheck-expect: \
27131 configure-expect
27132 @: $(MAKE); $(unstage)
27133 @[ -f ./expect/Makefile ] || exit 0; \
27134 r=`${PWD_COMMAND}`; export r; \
27135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27136 $(HOST_EXPORTS) \
27137 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27139 done; \
27140 echo "Doing installcheck in expect" ; \
27141 (cd $(HOST_SUBDIR)/expect && \
27142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27144 "RANLIB=$${RANLIB}" \
27145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27146 installcheck) \
27147 || exit 1
27149 @endif expect
27151 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27152 maybe-mostlyclean-expect:
27153 @if expect
27154 maybe-mostlyclean-expect: mostlyclean-expect
27156 mostlyclean-expect:
27157 @: $(MAKE); $(unstage)
27158 @[ -f ./expect/Makefile ] || exit 0; \
27159 r=`${PWD_COMMAND}`; export r; \
27160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27161 $(HOST_EXPORTS) \
27162 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27164 done; \
27165 echo "Doing mostlyclean in expect" ; \
27166 (cd $(HOST_SUBDIR)/expect && \
27167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27169 "RANLIB=$${RANLIB}" \
27170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27171 mostlyclean) \
27172 || exit 1
27174 @endif expect
27176 .PHONY: maybe-clean-expect clean-expect
27177 maybe-clean-expect:
27178 @if expect
27179 maybe-clean-expect: clean-expect
27181 clean-expect:
27182 @: $(MAKE); $(unstage)
27183 @[ -f ./expect/Makefile ] || exit 0; \
27184 r=`${PWD_COMMAND}`; export r; \
27185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27186 $(HOST_EXPORTS) \
27187 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27189 done; \
27190 echo "Doing clean in expect" ; \
27191 (cd $(HOST_SUBDIR)/expect && \
27192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27194 "RANLIB=$${RANLIB}" \
27195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27196 clean) \
27197 || exit 1
27199 @endif expect
27201 .PHONY: maybe-distclean-expect distclean-expect
27202 maybe-distclean-expect:
27203 @if expect
27204 maybe-distclean-expect: distclean-expect
27206 distclean-expect:
27207 @: $(MAKE); $(unstage)
27208 @[ -f ./expect/Makefile ] || exit 0; \
27209 r=`${PWD_COMMAND}`; export r; \
27210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27211 $(HOST_EXPORTS) \
27212 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27214 done; \
27215 echo "Doing distclean in expect" ; \
27216 (cd $(HOST_SUBDIR)/expect && \
27217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27219 "RANLIB=$${RANLIB}" \
27220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27221 distclean) \
27222 || exit 1
27224 @endif expect
27226 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27227 maybe-maintainer-clean-expect:
27228 @if expect
27229 maybe-maintainer-clean-expect: maintainer-clean-expect
27231 maintainer-clean-expect:
27232 @: $(MAKE); $(unstage)
27233 @[ -f ./expect/Makefile ] || exit 0; \
27234 r=`${PWD_COMMAND}`; export r; \
27235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27236 $(HOST_EXPORTS) \
27237 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27239 done; \
27240 echo "Doing maintainer-clean in expect" ; \
27241 (cd $(HOST_SUBDIR)/expect && \
27242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27244 "RANLIB=$${RANLIB}" \
27245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27246 maintainer-clean) \
27247 || exit 1
27249 @endif expect
27253 .PHONY: configure-guile maybe-configure-guile
27254 maybe-configure-guile:
27255 @if guile
27256 maybe-configure-guile: configure-guile
27257 configure-guile:
27258 @: $(MAKE); $(unstage)
27259 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27261 r=`${PWD_COMMAND}`; export r; \
27262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27263 $(HOST_EXPORTS) \
27264 echo Configuring in $(HOST_SUBDIR)/guile; \
27265 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27266 case $(srcdir) in \
27267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27268 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27270 esac; \
27271 srcdiroption="--srcdir=$${topdir}/guile"; \
27272 libsrcdir="$$s/guile"; \
27273 $(SHELL) $${libsrcdir}/configure \
27274 $(HOST_CONFIGARGS) $${srcdiroption} \
27275 || exit 1
27276 @endif guile
27282 .PHONY: all-guile maybe-all-guile
27283 maybe-all-guile:
27284 @if guile
27285 TARGET-guile=all
27286 maybe-all-guile: all-guile
27287 all-guile: configure-guile
27288 @: $(MAKE); $(unstage)
27289 @r=`${PWD_COMMAND}`; export r; \
27290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27291 $(HOST_EXPORTS) \
27292 (cd $(HOST_SUBDIR)/guile && \
27293 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27294 @endif guile
27299 .PHONY: check-guile maybe-check-guile
27300 maybe-check-guile:
27301 @if guile
27302 maybe-check-guile: check-guile
27304 check-guile:
27305 @: $(MAKE); $(unstage)
27306 @r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(HOST_EXPORTS) \
27309 (cd $(HOST_SUBDIR)/guile && \
27310 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27312 @endif guile
27314 .PHONY: install-guile maybe-install-guile
27315 maybe-install-guile:
27316 @if guile
27317 maybe-install-guile: install-guile
27319 install-guile: installdirs
27320 @: $(MAKE); $(unstage)
27321 @r=`${PWD_COMMAND}`; export r; \
27322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27323 $(HOST_EXPORTS) \
27324 (cd $(HOST_SUBDIR)/guile && \
27325 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27327 @endif guile
27329 # Other targets (info, dvi, etc.)
27331 .PHONY: maybe-info-guile info-guile
27332 maybe-info-guile:
27333 @if guile
27334 maybe-info-guile: info-guile
27336 info-guile: \
27337 configure-guile
27338 @: $(MAKE); $(unstage)
27339 @[ -f ./guile/Makefile ] || exit 0; \
27340 r=`${PWD_COMMAND}`; export r; \
27341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27342 $(HOST_EXPORTS) \
27343 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27345 done; \
27346 echo "Doing info in guile" ; \
27347 (cd $(HOST_SUBDIR)/guile && \
27348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27350 "RANLIB=$${RANLIB}" \
27351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27352 info) \
27353 || exit 1
27355 @endif guile
27357 .PHONY: maybe-dvi-guile dvi-guile
27358 maybe-dvi-guile:
27359 @if guile
27360 maybe-dvi-guile: dvi-guile
27362 dvi-guile: \
27363 configure-guile
27364 @: $(MAKE); $(unstage)
27365 @[ -f ./guile/Makefile ] || exit 0; \
27366 r=`${PWD_COMMAND}`; export r; \
27367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27368 $(HOST_EXPORTS) \
27369 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27371 done; \
27372 echo "Doing dvi in guile" ; \
27373 (cd $(HOST_SUBDIR)/guile && \
27374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27376 "RANLIB=$${RANLIB}" \
27377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27378 dvi) \
27379 || exit 1
27381 @endif guile
27383 .PHONY: maybe-html-guile html-guile
27384 maybe-html-guile:
27385 @if guile
27386 maybe-html-guile: html-guile
27388 html-guile: \
27389 configure-guile
27390 @: $(MAKE); $(unstage)
27391 @[ -f ./guile/Makefile ] || exit 0; \
27392 r=`${PWD_COMMAND}`; export r; \
27393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27394 $(HOST_EXPORTS) \
27395 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27397 done; \
27398 echo "Doing html in guile" ; \
27399 (cd $(HOST_SUBDIR)/guile && \
27400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27402 "RANLIB=$${RANLIB}" \
27403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27404 html) \
27405 || exit 1
27407 @endif guile
27409 .PHONY: maybe-TAGS-guile TAGS-guile
27410 maybe-TAGS-guile:
27411 @if guile
27412 maybe-TAGS-guile: TAGS-guile
27414 TAGS-guile: \
27415 configure-guile
27416 @: $(MAKE); $(unstage)
27417 @[ -f ./guile/Makefile ] || exit 0; \
27418 r=`${PWD_COMMAND}`; export r; \
27419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27420 $(HOST_EXPORTS) \
27421 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27423 done; \
27424 echo "Doing TAGS in guile" ; \
27425 (cd $(HOST_SUBDIR)/guile && \
27426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27428 "RANLIB=$${RANLIB}" \
27429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27430 TAGS) \
27431 || exit 1
27433 @endif guile
27435 .PHONY: maybe-install-info-guile install-info-guile
27436 maybe-install-info-guile:
27437 @if guile
27438 maybe-install-info-guile: install-info-guile
27440 install-info-guile: \
27441 configure-guile \
27442 info-guile
27443 @: $(MAKE); $(unstage)
27444 @[ -f ./guile/Makefile ] || exit 0; \
27445 r=`${PWD_COMMAND}`; export r; \
27446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27447 $(HOST_EXPORTS) \
27448 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27450 done; \
27451 echo "Doing install-info in guile" ; \
27452 (cd $(HOST_SUBDIR)/guile && \
27453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27455 "RANLIB=$${RANLIB}" \
27456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27457 install-info) \
27458 || exit 1
27460 @endif guile
27462 .PHONY: maybe-installcheck-guile installcheck-guile
27463 maybe-installcheck-guile:
27464 @if guile
27465 maybe-installcheck-guile: installcheck-guile
27467 installcheck-guile: \
27468 configure-guile
27469 @: $(MAKE); $(unstage)
27470 @[ -f ./guile/Makefile ] || exit 0; \
27471 r=`${PWD_COMMAND}`; export r; \
27472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 $(HOST_EXPORTS) \
27474 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27476 done; \
27477 echo "Doing installcheck in guile" ; \
27478 (cd $(HOST_SUBDIR)/guile && \
27479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27481 "RANLIB=$${RANLIB}" \
27482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27483 installcheck) \
27484 || exit 1
27486 @endif guile
27488 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27489 maybe-mostlyclean-guile:
27490 @if guile
27491 maybe-mostlyclean-guile: mostlyclean-guile
27493 mostlyclean-guile:
27494 @: $(MAKE); $(unstage)
27495 @[ -f ./guile/Makefile ] || exit 0; \
27496 r=`${PWD_COMMAND}`; export r; \
27497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27498 $(HOST_EXPORTS) \
27499 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27501 done; \
27502 echo "Doing mostlyclean in guile" ; \
27503 (cd $(HOST_SUBDIR)/guile && \
27504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27506 "RANLIB=$${RANLIB}" \
27507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27508 mostlyclean) \
27509 || exit 1
27511 @endif guile
27513 .PHONY: maybe-clean-guile clean-guile
27514 maybe-clean-guile:
27515 @if guile
27516 maybe-clean-guile: clean-guile
27518 clean-guile:
27519 @: $(MAKE); $(unstage)
27520 @[ -f ./guile/Makefile ] || exit 0; \
27521 r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27523 $(HOST_EXPORTS) \
27524 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27526 done; \
27527 echo "Doing clean in guile" ; \
27528 (cd $(HOST_SUBDIR)/guile && \
27529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27531 "RANLIB=$${RANLIB}" \
27532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27533 clean) \
27534 || exit 1
27536 @endif guile
27538 .PHONY: maybe-distclean-guile distclean-guile
27539 maybe-distclean-guile:
27540 @if guile
27541 maybe-distclean-guile: distclean-guile
27543 distclean-guile:
27544 @: $(MAKE); $(unstage)
27545 @[ -f ./guile/Makefile ] || exit 0; \
27546 r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(HOST_EXPORTS) \
27549 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27551 done; \
27552 echo "Doing distclean in guile" ; \
27553 (cd $(HOST_SUBDIR)/guile && \
27554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27556 "RANLIB=$${RANLIB}" \
27557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27558 distclean) \
27559 || exit 1
27561 @endif guile
27563 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27564 maybe-maintainer-clean-guile:
27565 @if guile
27566 maybe-maintainer-clean-guile: maintainer-clean-guile
27568 maintainer-clean-guile:
27569 @: $(MAKE); $(unstage)
27570 @[ -f ./guile/Makefile ] || exit 0; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(HOST_EXPORTS) \
27574 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27576 done; \
27577 echo "Doing maintainer-clean in guile" ; \
27578 (cd $(HOST_SUBDIR)/guile && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27583 maintainer-clean) \
27584 || exit 1
27586 @endif guile
27590 .PHONY: configure-tk maybe-configure-tk
27591 maybe-configure-tk:
27592 @if tk
27593 maybe-configure-tk: configure-tk
27594 configure-tk:
27595 @: $(MAKE); $(unstage)
27596 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27598 r=`${PWD_COMMAND}`; export r; \
27599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27600 $(HOST_EXPORTS) \
27601 echo Configuring in $(HOST_SUBDIR)/tk; \
27602 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27603 case $(srcdir) in \
27604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27605 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27607 esac; \
27608 srcdiroption="--srcdir=$${topdir}/tk"; \
27609 libsrcdir="$$s/tk"; \
27610 $(SHELL) $${libsrcdir}/configure \
27611 $(HOST_CONFIGARGS) $${srcdiroption} \
27612 || exit 1
27613 @endif tk
27619 .PHONY: all-tk maybe-all-tk
27620 maybe-all-tk:
27621 @if tk
27622 TARGET-tk=all
27623 maybe-all-tk: all-tk
27624 all-tk: configure-tk
27625 @: $(MAKE); $(unstage)
27626 @r=`${PWD_COMMAND}`; export r; \
27627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27628 $(HOST_EXPORTS) \
27629 (cd $(HOST_SUBDIR)/tk && \
27630 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27631 @endif tk
27636 .PHONY: check-tk maybe-check-tk
27637 maybe-check-tk:
27638 @if tk
27639 maybe-check-tk: check-tk
27641 check-tk:
27642 @: $(MAKE); $(unstage)
27643 @r=`${PWD_COMMAND}`; export r; \
27644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27645 $(HOST_EXPORTS) \
27646 (cd $(HOST_SUBDIR)/tk && \
27647 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27649 @endif tk
27651 .PHONY: install-tk maybe-install-tk
27652 maybe-install-tk:
27653 @if tk
27654 maybe-install-tk: install-tk
27656 install-tk: installdirs
27657 @: $(MAKE); $(unstage)
27658 @r=`${PWD_COMMAND}`; export r; \
27659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27660 $(HOST_EXPORTS) \
27661 (cd $(HOST_SUBDIR)/tk && \
27662 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27664 @endif tk
27666 # Other targets (info, dvi, etc.)
27668 .PHONY: maybe-info-tk info-tk
27669 maybe-info-tk:
27670 @if tk
27671 maybe-info-tk: info-tk
27673 info-tk: \
27674 configure-tk
27675 @: $(MAKE); $(unstage)
27676 @[ -f ./tk/Makefile ] || exit 0; \
27677 r=`${PWD_COMMAND}`; export r; \
27678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27679 $(HOST_EXPORTS) \
27680 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27682 done; \
27683 echo "Doing info in tk" ; \
27684 (cd $(HOST_SUBDIR)/tk && \
27685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27687 "RANLIB=$${RANLIB}" \
27688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27689 info) \
27690 || exit 1
27692 @endif tk
27694 .PHONY: maybe-dvi-tk dvi-tk
27695 maybe-dvi-tk:
27696 @if tk
27697 maybe-dvi-tk: dvi-tk
27699 dvi-tk: \
27700 configure-tk
27701 @: $(MAKE); $(unstage)
27702 @[ -f ./tk/Makefile ] || exit 0; \
27703 r=`${PWD_COMMAND}`; export r; \
27704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 $(HOST_EXPORTS) \
27706 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27708 done; \
27709 echo "Doing dvi in tk" ; \
27710 (cd $(HOST_SUBDIR)/tk && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27715 dvi) \
27716 || exit 1
27718 @endif tk
27720 .PHONY: maybe-html-tk html-tk
27721 maybe-html-tk:
27722 @if tk
27723 maybe-html-tk: html-tk
27725 html-tk: \
27726 configure-tk
27727 @: $(MAKE); $(unstage)
27728 @[ -f ./tk/Makefile ] || exit 0; \
27729 r=`${PWD_COMMAND}`; export r; \
27730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27731 $(HOST_EXPORTS) \
27732 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27734 done; \
27735 echo "Doing html in tk" ; \
27736 (cd $(HOST_SUBDIR)/tk && \
27737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739 "RANLIB=$${RANLIB}" \
27740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27741 html) \
27742 || exit 1
27744 @endif tk
27746 .PHONY: maybe-TAGS-tk TAGS-tk
27747 maybe-TAGS-tk:
27748 @if tk
27749 maybe-TAGS-tk: TAGS-tk
27751 TAGS-tk: \
27752 configure-tk
27753 @: $(MAKE); $(unstage)
27754 @[ -f ./tk/Makefile ] || exit 0; \
27755 r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27757 $(HOST_EXPORTS) \
27758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27760 done; \
27761 echo "Doing TAGS in tk" ; \
27762 (cd $(HOST_SUBDIR)/tk && \
27763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27765 "RANLIB=$${RANLIB}" \
27766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27767 TAGS) \
27768 || exit 1
27770 @endif tk
27772 .PHONY: maybe-install-info-tk install-info-tk
27773 maybe-install-info-tk:
27774 @if tk
27775 maybe-install-info-tk: install-info-tk
27777 install-info-tk: \
27778 configure-tk \
27779 info-tk
27780 @: $(MAKE); $(unstage)
27781 @[ -f ./tk/Makefile ] || exit 0; \
27782 r=`${PWD_COMMAND}`; export r; \
27783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 $(HOST_EXPORTS) \
27785 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27787 done; \
27788 echo "Doing install-info in tk" ; \
27789 (cd $(HOST_SUBDIR)/tk && \
27790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27792 "RANLIB=$${RANLIB}" \
27793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27794 install-info) \
27795 || exit 1
27797 @endif tk
27799 .PHONY: maybe-installcheck-tk installcheck-tk
27800 maybe-installcheck-tk:
27801 @if tk
27802 maybe-installcheck-tk: installcheck-tk
27804 installcheck-tk: \
27805 configure-tk
27806 @: $(MAKE); $(unstage)
27807 @[ -f ./tk/Makefile ] || exit 0; \
27808 r=`${PWD_COMMAND}`; export r; \
27809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810 $(HOST_EXPORTS) \
27811 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 done; \
27814 echo "Doing installcheck in tk" ; \
27815 (cd $(HOST_SUBDIR)/tk && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27820 installcheck) \
27821 || exit 1
27823 @endif tk
27825 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27826 maybe-mostlyclean-tk:
27827 @if tk
27828 maybe-mostlyclean-tk: mostlyclean-tk
27830 mostlyclean-tk:
27831 @: $(MAKE); $(unstage)
27832 @[ -f ./tk/Makefile ] || exit 0; \
27833 r=`${PWD_COMMAND}`; export r; \
27834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27835 $(HOST_EXPORTS) \
27836 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838 done; \
27839 echo "Doing mostlyclean in tk" ; \
27840 (cd $(HOST_SUBDIR)/tk && \
27841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27843 "RANLIB=$${RANLIB}" \
27844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27845 mostlyclean) \
27846 || exit 1
27848 @endif tk
27850 .PHONY: maybe-clean-tk clean-tk
27851 maybe-clean-tk:
27852 @if tk
27853 maybe-clean-tk: clean-tk
27855 clean-tk:
27856 @: $(MAKE); $(unstage)
27857 @[ -f ./tk/Makefile ] || exit 0; \
27858 r=`${PWD_COMMAND}`; export r; \
27859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 $(HOST_EXPORTS) \
27861 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 done; \
27864 echo "Doing clean in tk" ; \
27865 (cd $(HOST_SUBDIR)/tk && \
27866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27868 "RANLIB=$${RANLIB}" \
27869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27870 clean) \
27871 || exit 1
27873 @endif tk
27875 .PHONY: maybe-distclean-tk distclean-tk
27876 maybe-distclean-tk:
27877 @if tk
27878 maybe-distclean-tk: distclean-tk
27880 distclean-tk:
27881 @: $(MAKE); $(unstage)
27882 @[ -f ./tk/Makefile ] || exit 0; \
27883 r=`${PWD_COMMAND}`; export r; \
27884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27885 $(HOST_EXPORTS) \
27886 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27888 done; \
27889 echo "Doing distclean in tk" ; \
27890 (cd $(HOST_SUBDIR)/tk && \
27891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27893 "RANLIB=$${RANLIB}" \
27894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27895 distclean) \
27896 || exit 1
27898 @endif tk
27900 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27901 maybe-maintainer-clean-tk:
27902 @if tk
27903 maybe-maintainer-clean-tk: maintainer-clean-tk
27905 maintainer-clean-tk:
27906 @: $(MAKE); $(unstage)
27907 @[ -f ./tk/Makefile ] || exit 0; \
27908 r=`${PWD_COMMAND}`; export r; \
27909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27910 $(HOST_EXPORTS) \
27911 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27913 done; \
27914 echo "Doing maintainer-clean in tk" ; \
27915 (cd $(HOST_SUBDIR)/tk && \
27916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27918 "RANLIB=$${RANLIB}" \
27919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27920 maintainer-clean) \
27921 || exit 1
27923 @endif tk
27927 .PHONY: configure-libtermcap maybe-configure-libtermcap
27928 maybe-configure-libtermcap:
27929 @if libtermcap
27930 maybe-configure-libtermcap: configure-libtermcap
27931 configure-libtermcap:
27932 @: $(MAKE); $(unstage)
27933 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27935 r=`${PWD_COMMAND}`; export r; \
27936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27937 $(HOST_EXPORTS) \
27938 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27939 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27940 case $(srcdir) in \
27941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27942 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27944 esac; \
27945 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27946 libsrcdir="$$s/libtermcap"; \
27947 $(SHELL) $${libsrcdir}/configure \
27948 $(HOST_CONFIGARGS) $${srcdiroption} \
27949 || exit 1
27950 @endif libtermcap
27956 .PHONY: all-libtermcap maybe-all-libtermcap
27957 maybe-all-libtermcap:
27958 @if libtermcap
27959 TARGET-libtermcap=all
27960 maybe-all-libtermcap: all-libtermcap
27961 all-libtermcap: configure-libtermcap
27962 @: $(MAKE); $(unstage)
27963 @r=`${PWD_COMMAND}`; export r; \
27964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27965 $(HOST_EXPORTS) \
27966 (cd $(HOST_SUBDIR)/libtermcap && \
27967 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27968 @endif libtermcap
27973 .PHONY: check-libtermcap maybe-check-libtermcap
27974 maybe-check-libtermcap:
27975 @if libtermcap
27976 maybe-check-libtermcap: check-libtermcap
27978 check-libtermcap:
27980 @endif libtermcap
27982 .PHONY: install-libtermcap maybe-install-libtermcap
27983 maybe-install-libtermcap:
27984 @if libtermcap
27985 maybe-install-libtermcap: install-libtermcap
27987 install-libtermcap: installdirs
27988 @: $(MAKE); $(unstage)
27989 @r=`${PWD_COMMAND}`; export r; \
27990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27991 $(HOST_EXPORTS) \
27992 (cd $(HOST_SUBDIR)/libtermcap && \
27993 $(MAKE) $(FLAGS_TO_PASS) install)
27995 @endif libtermcap
27997 # Other targets (info, dvi, etc.)
27999 .PHONY: maybe-info-libtermcap info-libtermcap
28000 maybe-info-libtermcap:
28001 @if libtermcap
28002 maybe-info-libtermcap: info-libtermcap
28004 info-libtermcap: \
28005 configure-libtermcap
28006 @: $(MAKE); $(unstage)
28007 @[ -f ./libtermcap/Makefile ] || exit 0; \
28008 r=`${PWD_COMMAND}`; export r; \
28009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28010 $(HOST_EXPORTS) \
28011 for flag in $(EXTRA_HOST_FLAGS) ; do \
28012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28013 done; \
28014 echo "Doing info in libtermcap" ; \
28015 (cd $(HOST_SUBDIR)/libtermcap && \
28016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28018 "RANLIB=$${RANLIB}" \
28019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28020 info) \
28021 || exit 1
28023 @endif libtermcap
28025 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28026 maybe-dvi-libtermcap:
28027 @if libtermcap
28028 maybe-dvi-libtermcap: dvi-libtermcap
28030 dvi-libtermcap: \
28031 configure-libtermcap
28032 @: $(MAKE); $(unstage)
28033 @[ -f ./libtermcap/Makefile ] || exit 0; \
28034 r=`${PWD_COMMAND}`; export r; \
28035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28036 $(HOST_EXPORTS) \
28037 for flag in $(EXTRA_HOST_FLAGS) ; do \
28038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28039 done; \
28040 echo "Doing dvi in libtermcap" ; \
28041 (cd $(HOST_SUBDIR)/libtermcap && \
28042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28044 "RANLIB=$${RANLIB}" \
28045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28046 dvi) \
28047 || exit 1
28049 @endif libtermcap
28051 .PHONY: maybe-html-libtermcap html-libtermcap
28052 maybe-html-libtermcap:
28053 @if libtermcap
28054 maybe-html-libtermcap: html-libtermcap
28056 html-libtermcap: \
28057 configure-libtermcap
28058 @: $(MAKE); $(unstage)
28059 @[ -f ./libtermcap/Makefile ] || exit 0; \
28060 r=`${PWD_COMMAND}`; export r; \
28061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28062 $(HOST_EXPORTS) \
28063 for flag in $(EXTRA_HOST_FLAGS) ; do \
28064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28065 done; \
28066 echo "Doing html in libtermcap" ; \
28067 (cd $(HOST_SUBDIR)/libtermcap && \
28068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28070 "RANLIB=$${RANLIB}" \
28071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28072 html) \
28073 || exit 1
28075 @endif libtermcap
28077 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28078 maybe-TAGS-libtermcap:
28079 @if libtermcap
28080 maybe-TAGS-libtermcap: TAGS-libtermcap
28082 TAGS-libtermcap: \
28083 configure-libtermcap
28084 @: $(MAKE); $(unstage)
28085 @[ -f ./libtermcap/Makefile ] || exit 0; \
28086 r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28088 $(HOST_EXPORTS) \
28089 for flag in $(EXTRA_HOST_FLAGS) ; do \
28090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28091 done; \
28092 echo "Doing TAGS in libtermcap" ; \
28093 (cd $(HOST_SUBDIR)/libtermcap && \
28094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28096 "RANLIB=$${RANLIB}" \
28097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28098 TAGS) \
28099 || exit 1
28101 @endif libtermcap
28103 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28104 maybe-install-info-libtermcap:
28105 @if libtermcap
28106 maybe-install-info-libtermcap: install-info-libtermcap
28108 install-info-libtermcap: \
28109 configure-libtermcap \
28110 info-libtermcap
28111 @: $(MAKE); $(unstage)
28112 @[ -f ./libtermcap/Makefile ] || exit 0; \
28113 r=`${PWD_COMMAND}`; export r; \
28114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28115 $(HOST_EXPORTS) \
28116 for flag in $(EXTRA_HOST_FLAGS) ; do \
28117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28118 done; \
28119 echo "Doing install-info in libtermcap" ; \
28120 (cd $(HOST_SUBDIR)/libtermcap && \
28121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28123 "RANLIB=$${RANLIB}" \
28124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28125 install-info) \
28126 || exit 1
28128 @endif libtermcap
28130 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28131 maybe-installcheck-libtermcap:
28132 @if libtermcap
28133 maybe-installcheck-libtermcap: installcheck-libtermcap
28135 installcheck-libtermcap: \
28136 configure-libtermcap
28137 @: $(MAKE); $(unstage)
28138 @[ -f ./libtermcap/Makefile ] || exit 0; \
28139 r=`${PWD_COMMAND}`; export r; \
28140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28141 $(HOST_EXPORTS) \
28142 for flag in $(EXTRA_HOST_FLAGS) ; do \
28143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28144 done; \
28145 echo "Doing installcheck in libtermcap" ; \
28146 (cd $(HOST_SUBDIR)/libtermcap && \
28147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28149 "RANLIB=$${RANLIB}" \
28150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28151 installcheck) \
28152 || exit 1
28154 @endif libtermcap
28156 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28157 maybe-mostlyclean-libtermcap:
28158 @if libtermcap
28159 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28161 # libtermcap doesn't support mostlyclean.
28162 mostlyclean-libtermcap:
28164 @endif libtermcap
28166 .PHONY: maybe-clean-libtermcap clean-libtermcap
28167 maybe-clean-libtermcap:
28168 @if libtermcap
28169 maybe-clean-libtermcap: clean-libtermcap
28171 # libtermcap doesn't support clean.
28172 clean-libtermcap:
28174 @endif libtermcap
28176 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28177 maybe-distclean-libtermcap:
28178 @if libtermcap
28179 maybe-distclean-libtermcap: distclean-libtermcap
28181 # libtermcap doesn't support distclean.
28182 distclean-libtermcap:
28184 @endif libtermcap
28186 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28187 maybe-maintainer-clean-libtermcap:
28188 @if libtermcap
28189 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28191 # libtermcap doesn't support maintainer-clean.
28192 maintainer-clean-libtermcap:
28194 @endif libtermcap
28198 .PHONY: configure-utils maybe-configure-utils
28199 maybe-configure-utils:
28200 @if utils
28201 maybe-configure-utils: configure-utils
28202 configure-utils:
28203 @: $(MAKE); $(unstage)
28204 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28205 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28206 r=`${PWD_COMMAND}`; export r; \
28207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28208 $(HOST_EXPORTS) \
28209 echo Configuring in $(HOST_SUBDIR)/utils; \
28210 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28211 case $(srcdir) in \
28212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28213 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28215 esac; \
28216 srcdiroption="--srcdir=$${topdir}/utils"; \
28217 libsrcdir="$$s/utils"; \
28218 $(SHELL) $${libsrcdir}/configure \
28219 $(HOST_CONFIGARGS) $${srcdiroption} \
28220 || exit 1
28221 @endif utils
28227 .PHONY: all-utils maybe-all-utils
28228 maybe-all-utils:
28229 @if utils
28230 TARGET-utils=all
28231 maybe-all-utils: all-utils
28232 all-utils: configure-utils
28233 @: $(MAKE); $(unstage)
28234 @r=`${PWD_COMMAND}`; export r; \
28235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28236 $(HOST_EXPORTS) \
28237 (cd $(HOST_SUBDIR)/utils && \
28238 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28239 @endif utils
28244 .PHONY: check-utils maybe-check-utils
28245 maybe-check-utils:
28246 @if utils
28247 maybe-check-utils: check-utils
28249 check-utils:
28251 @endif utils
28253 .PHONY: install-utils maybe-install-utils
28254 maybe-install-utils:
28255 @if utils
28256 maybe-install-utils: install-utils
28258 install-utils: installdirs
28259 @: $(MAKE); $(unstage)
28260 @r=`${PWD_COMMAND}`; export r; \
28261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28262 $(HOST_EXPORTS) \
28263 (cd $(HOST_SUBDIR)/utils && \
28264 $(MAKE) $(FLAGS_TO_PASS) install)
28266 @endif utils
28268 # Other targets (info, dvi, etc.)
28270 .PHONY: maybe-info-utils info-utils
28271 maybe-info-utils:
28272 @if utils
28273 maybe-info-utils: info-utils
28275 info-utils: \
28276 configure-utils
28277 @: $(MAKE); $(unstage)
28278 @[ -f ./utils/Makefile ] || exit 0; \
28279 r=`${PWD_COMMAND}`; export r; \
28280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28281 $(HOST_EXPORTS) \
28282 for flag in $(EXTRA_HOST_FLAGS) ; do \
28283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28284 done; \
28285 echo "Doing info in utils" ; \
28286 (cd $(HOST_SUBDIR)/utils && \
28287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28289 "RANLIB=$${RANLIB}" \
28290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28291 info) \
28292 || exit 1
28294 @endif utils
28296 .PHONY: maybe-dvi-utils dvi-utils
28297 maybe-dvi-utils:
28298 @if utils
28299 maybe-dvi-utils: dvi-utils
28301 dvi-utils: \
28302 configure-utils
28303 @: $(MAKE); $(unstage)
28304 @[ -f ./utils/Makefile ] || exit 0; \
28305 r=`${PWD_COMMAND}`; export r; \
28306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28307 $(HOST_EXPORTS) \
28308 for flag in $(EXTRA_HOST_FLAGS) ; do \
28309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28310 done; \
28311 echo "Doing dvi in utils" ; \
28312 (cd $(HOST_SUBDIR)/utils && \
28313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28315 "RANLIB=$${RANLIB}" \
28316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28317 dvi) \
28318 || exit 1
28320 @endif utils
28322 .PHONY: maybe-html-utils html-utils
28323 maybe-html-utils:
28324 @if utils
28325 maybe-html-utils: html-utils
28327 html-utils: \
28328 configure-utils
28329 @: $(MAKE); $(unstage)
28330 @[ -f ./utils/Makefile ] || exit 0; \
28331 r=`${PWD_COMMAND}`; export r; \
28332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28333 $(HOST_EXPORTS) \
28334 for flag in $(EXTRA_HOST_FLAGS) ; do \
28335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28336 done; \
28337 echo "Doing html in utils" ; \
28338 (cd $(HOST_SUBDIR)/utils && \
28339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28341 "RANLIB=$${RANLIB}" \
28342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28343 html) \
28344 || exit 1
28346 @endif utils
28348 .PHONY: maybe-TAGS-utils TAGS-utils
28349 maybe-TAGS-utils:
28350 @if utils
28351 maybe-TAGS-utils: TAGS-utils
28353 TAGS-utils: \
28354 configure-utils
28355 @: $(MAKE); $(unstage)
28356 @[ -f ./utils/Makefile ] || exit 0; \
28357 r=`${PWD_COMMAND}`; export r; \
28358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28359 $(HOST_EXPORTS) \
28360 for flag in $(EXTRA_HOST_FLAGS) ; do \
28361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28362 done; \
28363 echo "Doing TAGS in utils" ; \
28364 (cd $(HOST_SUBDIR)/utils && \
28365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28367 "RANLIB=$${RANLIB}" \
28368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28369 TAGS) \
28370 || exit 1
28372 @endif utils
28374 .PHONY: maybe-install-info-utils install-info-utils
28375 maybe-install-info-utils:
28376 @if utils
28377 maybe-install-info-utils: install-info-utils
28379 install-info-utils: \
28380 configure-utils \
28381 info-utils
28382 @: $(MAKE); $(unstage)
28383 @[ -f ./utils/Makefile ] || exit 0; \
28384 r=`${PWD_COMMAND}`; export r; \
28385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28386 $(HOST_EXPORTS) \
28387 for flag in $(EXTRA_HOST_FLAGS) ; do \
28388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28389 done; \
28390 echo "Doing install-info in utils" ; \
28391 (cd $(HOST_SUBDIR)/utils && \
28392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28394 "RANLIB=$${RANLIB}" \
28395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28396 install-info) \
28397 || exit 1
28399 @endif utils
28401 .PHONY: maybe-installcheck-utils installcheck-utils
28402 maybe-installcheck-utils:
28403 @if utils
28404 maybe-installcheck-utils: installcheck-utils
28406 installcheck-utils: \
28407 configure-utils
28408 @: $(MAKE); $(unstage)
28409 @[ -f ./utils/Makefile ] || exit 0; \
28410 r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 $(HOST_EXPORTS) \
28413 for flag in $(EXTRA_HOST_FLAGS) ; do \
28414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28415 done; \
28416 echo "Doing installcheck in utils" ; \
28417 (cd $(HOST_SUBDIR)/utils && \
28418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28420 "RANLIB=$${RANLIB}" \
28421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28422 installcheck) \
28423 || exit 1
28425 @endif utils
28427 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28428 maybe-mostlyclean-utils:
28429 @if utils
28430 maybe-mostlyclean-utils: mostlyclean-utils
28432 mostlyclean-utils:
28433 @: $(MAKE); $(unstage)
28434 @[ -f ./utils/Makefile ] || exit 0; \
28435 r=`${PWD_COMMAND}`; export r; \
28436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(HOST_EXPORTS) \
28438 for flag in $(EXTRA_HOST_FLAGS) ; do \
28439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28440 done; \
28441 echo "Doing mostlyclean in utils" ; \
28442 (cd $(HOST_SUBDIR)/utils && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28447 mostlyclean) \
28448 || exit 1
28450 @endif utils
28452 .PHONY: maybe-clean-utils clean-utils
28453 maybe-clean-utils:
28454 @if utils
28455 maybe-clean-utils: clean-utils
28457 clean-utils:
28458 @: $(MAKE); $(unstage)
28459 @[ -f ./utils/Makefile ] || exit 0; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(HOST_EXPORTS) \
28463 for flag in $(EXTRA_HOST_FLAGS) ; do \
28464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28465 done; \
28466 echo "Doing clean in utils" ; \
28467 (cd $(HOST_SUBDIR)/utils && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28472 clean) \
28473 || exit 1
28475 @endif utils
28477 .PHONY: maybe-distclean-utils distclean-utils
28478 maybe-distclean-utils:
28479 @if utils
28480 maybe-distclean-utils: distclean-utils
28482 distclean-utils:
28483 @: $(MAKE); $(unstage)
28484 @[ -f ./utils/Makefile ] || exit 0; \
28485 r=`${PWD_COMMAND}`; export r; \
28486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28487 $(HOST_EXPORTS) \
28488 for flag in $(EXTRA_HOST_FLAGS) ; do \
28489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28490 done; \
28491 echo "Doing distclean in utils" ; \
28492 (cd $(HOST_SUBDIR)/utils && \
28493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28495 "RANLIB=$${RANLIB}" \
28496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28497 distclean) \
28498 || exit 1
28500 @endif utils
28502 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28503 maybe-maintainer-clean-utils:
28504 @if utils
28505 maybe-maintainer-clean-utils: maintainer-clean-utils
28507 maintainer-clean-utils:
28508 @: $(MAKE); $(unstage)
28509 @[ -f ./utils/Makefile ] || exit 0; \
28510 r=`${PWD_COMMAND}`; export r; \
28511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28512 $(HOST_EXPORTS) \
28513 for flag in $(EXTRA_HOST_FLAGS) ; do \
28514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28515 done; \
28516 echo "Doing maintainer-clean in utils" ; \
28517 (cd $(HOST_SUBDIR)/utils && \
28518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28520 "RANLIB=$${RANLIB}" \
28521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28522 maintainer-clean) \
28523 || exit 1
28525 @endif utils
28529 .PHONY: configure-gnattools maybe-configure-gnattools
28530 maybe-configure-gnattools:
28531 @if gnattools
28532 maybe-configure-gnattools: configure-gnattools
28533 configure-gnattools:
28534 @: $(MAKE); $(unstage)
28535 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28537 r=`${PWD_COMMAND}`; export r; \
28538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28539 $(HOST_EXPORTS) \
28540 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28541 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28542 case $(srcdir) in \
28543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28544 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28546 esac; \
28547 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28548 libsrcdir="$$s/gnattools"; \
28549 $(SHELL) $${libsrcdir}/configure \
28550 $(HOST_CONFIGARGS) $${srcdiroption} \
28551 || exit 1
28552 @endif gnattools
28558 .PHONY: all-gnattools maybe-all-gnattools
28559 maybe-all-gnattools:
28560 @if gnattools
28561 TARGET-gnattools=all
28562 maybe-all-gnattools: all-gnattools
28563 all-gnattools: configure-gnattools
28564 @: $(MAKE); $(unstage)
28565 @r=`${PWD_COMMAND}`; export r; \
28566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28567 $(HOST_EXPORTS) \
28568 (cd $(HOST_SUBDIR)/gnattools && \
28569 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28570 @endif gnattools
28575 .PHONY: check-gnattools maybe-check-gnattools
28576 maybe-check-gnattools:
28577 @if gnattools
28578 maybe-check-gnattools: check-gnattools
28580 check-gnattools:
28581 @: $(MAKE); $(unstage)
28582 @r=`${PWD_COMMAND}`; export r; \
28583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28584 $(HOST_EXPORTS) \
28585 (cd $(HOST_SUBDIR)/gnattools && \
28586 $(MAKE) $(FLAGS_TO_PASS) check)
28588 @endif gnattools
28590 .PHONY: install-gnattools maybe-install-gnattools
28591 maybe-install-gnattools:
28592 @if gnattools
28593 maybe-install-gnattools: install-gnattools
28595 install-gnattools: installdirs
28596 @: $(MAKE); $(unstage)
28597 @r=`${PWD_COMMAND}`; export r; \
28598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28599 $(HOST_EXPORTS) \
28600 (cd $(HOST_SUBDIR)/gnattools && \
28601 $(MAKE) $(FLAGS_TO_PASS) install)
28603 @endif gnattools
28605 # Other targets (info, dvi, etc.)
28607 .PHONY: maybe-info-gnattools info-gnattools
28608 maybe-info-gnattools:
28609 @if gnattools
28610 maybe-info-gnattools: info-gnattools
28612 info-gnattools: \
28613 configure-gnattools
28614 @: $(MAKE); $(unstage)
28615 @[ -f ./gnattools/Makefile ] || exit 0; \
28616 r=`${PWD_COMMAND}`; export r; \
28617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28618 $(HOST_EXPORTS) \
28619 for flag in $(EXTRA_HOST_FLAGS) ; do \
28620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28621 done; \
28622 echo "Doing info in gnattools" ; \
28623 (cd $(HOST_SUBDIR)/gnattools && \
28624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28626 "RANLIB=$${RANLIB}" \
28627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28628 info) \
28629 || exit 1
28631 @endif gnattools
28633 .PHONY: maybe-dvi-gnattools dvi-gnattools
28634 maybe-dvi-gnattools:
28635 @if gnattools
28636 maybe-dvi-gnattools: dvi-gnattools
28638 dvi-gnattools: \
28639 configure-gnattools
28640 @: $(MAKE); $(unstage)
28641 @[ -f ./gnattools/Makefile ] || exit 0; \
28642 r=`${PWD_COMMAND}`; export r; \
28643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28644 $(HOST_EXPORTS) \
28645 for flag in $(EXTRA_HOST_FLAGS) ; do \
28646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28647 done; \
28648 echo "Doing dvi in gnattools" ; \
28649 (cd $(HOST_SUBDIR)/gnattools && \
28650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28652 "RANLIB=$${RANLIB}" \
28653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28654 dvi) \
28655 || exit 1
28657 @endif gnattools
28659 .PHONY: maybe-html-gnattools html-gnattools
28660 maybe-html-gnattools:
28661 @if gnattools
28662 maybe-html-gnattools: html-gnattools
28664 html-gnattools: \
28665 configure-gnattools
28666 @: $(MAKE); $(unstage)
28667 @[ -f ./gnattools/Makefile ] || exit 0; \
28668 r=`${PWD_COMMAND}`; export r; \
28669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28670 $(HOST_EXPORTS) \
28671 for flag in $(EXTRA_HOST_FLAGS) ; do \
28672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28673 done; \
28674 echo "Doing html in gnattools" ; \
28675 (cd $(HOST_SUBDIR)/gnattools && \
28676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28678 "RANLIB=$${RANLIB}" \
28679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28680 html) \
28681 || exit 1
28683 @endif gnattools
28685 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28686 maybe-TAGS-gnattools:
28687 @if gnattools
28688 maybe-TAGS-gnattools: TAGS-gnattools
28690 TAGS-gnattools: \
28691 configure-gnattools
28692 @: $(MAKE); $(unstage)
28693 @[ -f ./gnattools/Makefile ] || exit 0; \
28694 r=`${PWD_COMMAND}`; export r; \
28695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28696 $(HOST_EXPORTS) \
28697 for flag in $(EXTRA_HOST_FLAGS) ; do \
28698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28699 done; \
28700 echo "Doing TAGS in gnattools" ; \
28701 (cd $(HOST_SUBDIR)/gnattools && \
28702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28704 "RANLIB=$${RANLIB}" \
28705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28706 TAGS) \
28707 || exit 1
28709 @endif gnattools
28711 .PHONY: maybe-install-info-gnattools install-info-gnattools
28712 maybe-install-info-gnattools:
28713 @if gnattools
28714 maybe-install-info-gnattools: install-info-gnattools
28716 install-info-gnattools: \
28717 configure-gnattools \
28718 info-gnattools
28719 @: $(MAKE); $(unstage)
28720 @[ -f ./gnattools/Makefile ] || exit 0; \
28721 r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(HOST_EXPORTS) \
28724 for flag in $(EXTRA_HOST_FLAGS) ; do \
28725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28726 done; \
28727 echo "Doing install-info in gnattools" ; \
28728 (cd $(HOST_SUBDIR)/gnattools && \
28729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731 "RANLIB=$${RANLIB}" \
28732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28733 install-info) \
28734 || exit 1
28736 @endif gnattools
28738 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28739 maybe-installcheck-gnattools:
28740 @if gnattools
28741 maybe-installcheck-gnattools: installcheck-gnattools
28743 installcheck-gnattools: \
28744 configure-gnattools
28745 @: $(MAKE); $(unstage)
28746 @[ -f ./gnattools/Makefile ] || exit 0; \
28747 r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(HOST_EXPORTS) \
28750 for flag in $(EXTRA_HOST_FLAGS) ; do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752 done; \
28753 echo "Doing installcheck in gnattools" ; \
28754 (cd $(HOST_SUBDIR)/gnattools && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28759 installcheck) \
28760 || exit 1
28762 @endif gnattools
28764 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28765 maybe-mostlyclean-gnattools:
28766 @if gnattools
28767 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28769 mostlyclean-gnattools:
28770 @: $(MAKE); $(unstage)
28771 @[ -f ./gnattools/Makefile ] || exit 0; \
28772 r=`${PWD_COMMAND}`; export r; \
28773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28774 $(HOST_EXPORTS) \
28775 for flag in $(EXTRA_HOST_FLAGS) ; do \
28776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28777 done; \
28778 echo "Doing mostlyclean in gnattools" ; \
28779 (cd $(HOST_SUBDIR)/gnattools && \
28780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28782 "RANLIB=$${RANLIB}" \
28783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28784 mostlyclean) \
28785 || exit 1
28787 @endif gnattools
28789 .PHONY: maybe-clean-gnattools clean-gnattools
28790 maybe-clean-gnattools:
28791 @if gnattools
28792 maybe-clean-gnattools: clean-gnattools
28794 clean-gnattools:
28795 @: $(MAKE); $(unstage)
28796 @[ -f ./gnattools/Makefile ] || exit 0; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28799 $(HOST_EXPORTS) \
28800 for flag in $(EXTRA_HOST_FLAGS) ; do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28802 done; \
28803 echo "Doing clean in gnattools" ; \
28804 (cd $(HOST_SUBDIR)/gnattools && \
28805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28807 "RANLIB=$${RANLIB}" \
28808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28809 clean) \
28810 || exit 1
28812 @endif gnattools
28814 .PHONY: maybe-distclean-gnattools distclean-gnattools
28815 maybe-distclean-gnattools:
28816 @if gnattools
28817 maybe-distclean-gnattools: distclean-gnattools
28819 distclean-gnattools:
28820 @: $(MAKE); $(unstage)
28821 @[ -f ./gnattools/Makefile ] || exit 0; \
28822 r=`${PWD_COMMAND}`; export r; \
28823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28824 $(HOST_EXPORTS) \
28825 for flag in $(EXTRA_HOST_FLAGS) ; do \
28826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28827 done; \
28828 echo "Doing distclean in gnattools" ; \
28829 (cd $(HOST_SUBDIR)/gnattools && \
28830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28832 "RANLIB=$${RANLIB}" \
28833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28834 distclean) \
28835 || exit 1
28837 @endif gnattools
28839 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28840 maybe-maintainer-clean-gnattools:
28841 @if gnattools
28842 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28844 maintainer-clean-gnattools:
28845 @: $(MAKE); $(unstage)
28846 @[ -f ./gnattools/Makefile ] || exit 0; \
28847 r=`${PWD_COMMAND}`; export r; \
28848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28849 $(HOST_EXPORTS) \
28850 for flag in $(EXTRA_HOST_FLAGS) ; do \
28851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28852 done; \
28853 echo "Doing maintainer-clean in gnattools" ; \
28854 (cd $(HOST_SUBDIR)/gnattools && \
28855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28857 "RANLIB=$${RANLIB}" \
28858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28859 maintainer-clean) \
28860 || exit 1
28862 @endif gnattools
28866 # ---------------------------------------
28867 # Modules which run on the target machine
28868 # ---------------------------------------
28873 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28874 maybe-configure-target-libstdc++-v3:
28875 @if target-libstdc++-v3
28876 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28877 configure-target-libstdc++-v3:
28878 @: $(MAKE); $(unstage)
28879 @r=`${PWD_COMMAND}`; export r; \
28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28881 echo "Checking multilib configuration for libstdc++-v3..."; \
28882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28883 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
28884 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28885 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28886 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
28887 else \
28888 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
28889 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28890 fi; \
28891 else \
28892 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28894 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28895 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28896 r=`${PWD_COMMAND}`; export r; \
28897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28898 $(RAW_CXX_TARGET_EXPORTS) \
28899 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28900 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28901 case $(srcdir) in \
28902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28903 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28905 esac; \
28906 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28907 libsrcdir="$$s/libstdc++-v3"; \
28908 rm -f no-such-file || : ; \
28909 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28910 $(TARGET_CONFIGARGS) $${srcdiroption} \
28911 || exit 1
28912 @endif target-libstdc++-v3
28918 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28919 maybe-all-target-libstdc++-v3:
28920 @if target-libstdc++-v3
28921 TARGET-target-libstdc++-v3=all
28922 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28923 all-target-libstdc++-v3: configure-target-libstdc++-v3
28924 @: $(MAKE); $(unstage)
28925 @r=`${PWD_COMMAND}`; export r; \
28926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28927 $(RAW_CXX_TARGET_EXPORTS) \
28928 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28929 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28930 @endif target-libstdc++-v3
28936 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28937 maybe-check-target-libstdc++-v3:
28938 @if target-libstdc++-v3
28939 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28941 check-target-libstdc++-v3:
28942 @: $(MAKE); $(unstage)
28943 @r=`${PWD_COMMAND}`; export r; \
28944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28945 $(RAW_CXX_TARGET_EXPORTS) \
28946 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28947 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28949 @endif target-libstdc++-v3
28951 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28952 maybe-install-target-libstdc++-v3:
28953 @if target-libstdc++-v3
28954 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28956 install-target-libstdc++-v3: installdirs
28957 @: $(MAKE); $(unstage)
28958 @r=`${PWD_COMMAND}`; export r; \
28959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28960 $(RAW_CXX_TARGET_EXPORTS) \
28961 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28962 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28964 @endif target-libstdc++-v3
28966 # Other targets (info, dvi, etc.)
28968 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28969 maybe-info-target-libstdc++-v3:
28970 @if target-libstdc++-v3
28971 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28973 info-target-libstdc++-v3: \
28974 configure-target-libstdc++-v3
28975 @: $(MAKE); $(unstage)
28976 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28977 r=`${PWD_COMMAND}`; export r; \
28978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28979 $(RAW_CXX_TARGET_EXPORTS) \
28980 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28981 for flag in $(EXTRA_TARGET_FLAGS); do \
28982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28983 done; \
28984 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28987 "RANLIB=$${RANLIB}" \
28988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28989 info) \
28990 || exit 1
28992 @endif target-libstdc++-v3
28994 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28995 maybe-dvi-target-libstdc++-v3:
28996 @if target-libstdc++-v3
28997 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28999 dvi-target-libstdc++-v3: \
29000 configure-target-libstdc++-v3
29001 @: $(MAKE); $(unstage)
29002 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29003 r=`${PWD_COMMAND}`; export r; \
29004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29005 $(RAW_CXX_TARGET_EXPORTS) \
29006 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29007 for flag in $(EXTRA_TARGET_FLAGS); do \
29008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29009 done; \
29010 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29013 "RANLIB=$${RANLIB}" \
29014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29015 dvi) \
29016 || exit 1
29018 @endif target-libstdc++-v3
29020 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29021 maybe-html-target-libstdc++-v3:
29022 @if target-libstdc++-v3
29023 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29025 html-target-libstdc++-v3: \
29026 configure-target-libstdc++-v3
29027 @: $(MAKE); $(unstage)
29028 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29029 r=`${PWD_COMMAND}`; export r; \
29030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29031 $(RAW_CXX_TARGET_EXPORTS) \
29032 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29033 for flag in $(EXTRA_TARGET_FLAGS); do \
29034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29035 done; \
29036 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29039 "RANLIB=$${RANLIB}" \
29040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29041 html) \
29042 || exit 1
29044 @endif target-libstdc++-v3
29046 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29047 maybe-TAGS-target-libstdc++-v3:
29048 @if target-libstdc++-v3
29049 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29051 TAGS-target-libstdc++-v3: \
29052 configure-target-libstdc++-v3
29053 @: $(MAKE); $(unstage)
29054 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29055 r=`${PWD_COMMAND}`; export r; \
29056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29057 $(RAW_CXX_TARGET_EXPORTS) \
29058 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29059 for flag in $(EXTRA_TARGET_FLAGS); do \
29060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29061 done; \
29062 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29065 "RANLIB=$${RANLIB}" \
29066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29067 TAGS) \
29068 || exit 1
29070 @endif target-libstdc++-v3
29072 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29073 maybe-install-info-target-libstdc++-v3:
29074 @if target-libstdc++-v3
29075 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29077 install-info-target-libstdc++-v3: \
29078 configure-target-libstdc++-v3 \
29079 info-target-libstdc++-v3
29080 @: $(MAKE); $(unstage)
29081 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29082 r=`${PWD_COMMAND}`; export r; \
29083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29084 $(RAW_CXX_TARGET_EXPORTS) \
29085 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29086 for flag in $(EXTRA_TARGET_FLAGS); do \
29087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29088 done; \
29089 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29092 "RANLIB=$${RANLIB}" \
29093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29094 install-info) \
29095 || exit 1
29097 @endif target-libstdc++-v3
29099 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29100 maybe-installcheck-target-libstdc++-v3:
29101 @if target-libstdc++-v3
29102 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29104 installcheck-target-libstdc++-v3: \
29105 configure-target-libstdc++-v3
29106 @: $(MAKE); $(unstage)
29107 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29108 r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(RAW_CXX_TARGET_EXPORTS) \
29111 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29112 for flag in $(EXTRA_TARGET_FLAGS); do \
29113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29114 done; \
29115 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29118 "RANLIB=$${RANLIB}" \
29119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29120 installcheck) \
29121 || exit 1
29123 @endif target-libstdc++-v3
29125 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29126 maybe-mostlyclean-target-libstdc++-v3:
29127 @if target-libstdc++-v3
29128 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29130 mostlyclean-target-libstdc++-v3:
29131 @: $(MAKE); $(unstage)
29132 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29133 r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 $(RAW_CXX_TARGET_EXPORTS) \
29136 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29137 for flag in $(EXTRA_TARGET_FLAGS); do \
29138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29139 done; \
29140 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29143 "RANLIB=$${RANLIB}" \
29144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29145 mostlyclean) \
29146 || exit 1
29148 @endif target-libstdc++-v3
29150 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29151 maybe-clean-target-libstdc++-v3:
29152 @if target-libstdc++-v3
29153 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29155 clean-target-libstdc++-v3:
29156 @: $(MAKE); $(unstage)
29157 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29158 r=`${PWD_COMMAND}`; export r; \
29159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29160 $(RAW_CXX_TARGET_EXPORTS) \
29161 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29162 for flag in $(EXTRA_TARGET_FLAGS); do \
29163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29164 done; \
29165 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29168 "RANLIB=$${RANLIB}" \
29169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29170 clean) \
29171 || exit 1
29173 @endif target-libstdc++-v3
29175 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29176 maybe-distclean-target-libstdc++-v3:
29177 @if target-libstdc++-v3
29178 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29180 distclean-target-libstdc++-v3:
29181 @: $(MAKE); $(unstage)
29182 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29183 r=`${PWD_COMMAND}`; export r; \
29184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29185 $(RAW_CXX_TARGET_EXPORTS) \
29186 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29187 for flag in $(EXTRA_TARGET_FLAGS); do \
29188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29189 done; \
29190 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29193 "RANLIB=$${RANLIB}" \
29194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29195 distclean) \
29196 || exit 1
29198 @endif target-libstdc++-v3
29200 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29201 maybe-maintainer-clean-target-libstdc++-v3:
29202 @if target-libstdc++-v3
29203 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29205 maintainer-clean-target-libstdc++-v3:
29206 @: $(MAKE); $(unstage)
29207 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29208 r=`${PWD_COMMAND}`; export r; \
29209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29210 $(RAW_CXX_TARGET_EXPORTS) \
29211 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29212 for flag in $(EXTRA_TARGET_FLAGS); do \
29213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29214 done; \
29215 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29218 "RANLIB=$${RANLIB}" \
29219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29220 maintainer-clean) \
29221 || exit 1
29223 @endif target-libstdc++-v3
29229 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29230 maybe-configure-target-libmudflap:
29231 @if target-libmudflap
29232 maybe-configure-target-libmudflap: configure-target-libmudflap
29233 configure-target-libmudflap:
29234 @: $(MAKE); $(unstage)
29235 @r=`${PWD_COMMAND}`; export r; \
29236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29237 echo "Checking multilib configuration for libmudflap..."; \
29238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29239 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29240 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29241 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29242 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29243 else \
29244 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29245 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29246 fi; \
29247 else \
29248 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29250 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29252 r=`${PWD_COMMAND}`; export r; \
29253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29254 $(NORMAL_TARGET_EXPORTS) \
29255 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29256 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29257 case $(srcdir) in \
29258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29259 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29261 esac; \
29262 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29263 libsrcdir="$$s/libmudflap"; \
29264 rm -f no-such-file || : ; \
29265 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29266 $(TARGET_CONFIGARGS) $${srcdiroption} \
29267 || exit 1
29268 @endif target-libmudflap
29274 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29275 maybe-all-target-libmudflap:
29276 @if target-libmudflap
29277 TARGET-target-libmudflap=all
29278 maybe-all-target-libmudflap: all-target-libmudflap
29279 all-target-libmudflap: configure-target-libmudflap
29280 @: $(MAKE); $(unstage)
29281 @r=`${PWD_COMMAND}`; export r; \
29282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29283 $(NORMAL_TARGET_EXPORTS) \
29284 (cd $(TARGET_SUBDIR)/libmudflap && \
29285 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29286 @endif target-libmudflap
29292 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29293 maybe-check-target-libmudflap:
29294 @if target-libmudflap
29295 maybe-check-target-libmudflap: check-target-libmudflap
29297 check-target-libmudflap:
29298 @: $(MAKE); $(unstage)
29299 @r=`${PWD_COMMAND}`; export r; \
29300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29301 $(NORMAL_TARGET_EXPORTS) \
29302 (cd $(TARGET_SUBDIR)/libmudflap && \
29303 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29305 @endif target-libmudflap
29307 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29308 maybe-install-target-libmudflap:
29309 @if target-libmudflap
29310 maybe-install-target-libmudflap: install-target-libmudflap
29312 install-target-libmudflap: installdirs
29313 @: $(MAKE); $(unstage)
29314 @r=`${PWD_COMMAND}`; export r; \
29315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29316 $(NORMAL_TARGET_EXPORTS) \
29317 (cd $(TARGET_SUBDIR)/libmudflap && \
29318 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29320 @endif target-libmudflap
29322 # Other targets (info, dvi, etc.)
29324 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29325 maybe-info-target-libmudflap:
29326 @if target-libmudflap
29327 maybe-info-target-libmudflap: info-target-libmudflap
29329 info-target-libmudflap: \
29330 configure-target-libmudflap
29331 @: $(MAKE); $(unstage)
29332 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29333 r=`${PWD_COMMAND}`; export r; \
29334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29335 $(NORMAL_TARGET_EXPORTS) \
29336 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29337 for flag in $(EXTRA_TARGET_FLAGS); do \
29338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29339 done; \
29340 (cd $(TARGET_SUBDIR)/libmudflap && \
29341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29343 "RANLIB=$${RANLIB}" \
29344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29345 info) \
29346 || exit 1
29348 @endif target-libmudflap
29350 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29351 maybe-dvi-target-libmudflap:
29352 @if target-libmudflap
29353 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29355 dvi-target-libmudflap: \
29356 configure-target-libmudflap
29357 @: $(MAKE); $(unstage)
29358 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29359 r=`${PWD_COMMAND}`; export r; \
29360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29361 $(NORMAL_TARGET_EXPORTS) \
29362 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29363 for flag in $(EXTRA_TARGET_FLAGS); do \
29364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29365 done; \
29366 (cd $(TARGET_SUBDIR)/libmudflap && \
29367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29369 "RANLIB=$${RANLIB}" \
29370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29371 dvi) \
29372 || exit 1
29374 @endif target-libmudflap
29376 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29377 maybe-html-target-libmudflap:
29378 @if target-libmudflap
29379 maybe-html-target-libmudflap: html-target-libmudflap
29381 html-target-libmudflap: \
29382 configure-target-libmudflap
29383 @: $(MAKE); $(unstage)
29384 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29385 r=`${PWD_COMMAND}`; export r; \
29386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29387 $(NORMAL_TARGET_EXPORTS) \
29388 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29389 for flag in $(EXTRA_TARGET_FLAGS); do \
29390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29391 done; \
29392 (cd $(TARGET_SUBDIR)/libmudflap && \
29393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29395 "RANLIB=$${RANLIB}" \
29396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29397 html) \
29398 || exit 1
29400 @endif target-libmudflap
29402 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29403 maybe-TAGS-target-libmudflap:
29404 @if target-libmudflap
29405 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29407 TAGS-target-libmudflap: \
29408 configure-target-libmudflap
29409 @: $(MAKE); $(unstage)
29410 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29411 r=`${PWD_COMMAND}`; export r; \
29412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29413 $(NORMAL_TARGET_EXPORTS) \
29414 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29415 for flag in $(EXTRA_TARGET_FLAGS); do \
29416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29417 done; \
29418 (cd $(TARGET_SUBDIR)/libmudflap && \
29419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29421 "RANLIB=$${RANLIB}" \
29422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29423 TAGS) \
29424 || exit 1
29426 @endif target-libmudflap
29428 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29429 maybe-install-info-target-libmudflap:
29430 @if target-libmudflap
29431 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29433 install-info-target-libmudflap: \
29434 configure-target-libmudflap \
29435 info-target-libmudflap
29436 @: $(MAKE); $(unstage)
29437 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29438 r=`${PWD_COMMAND}`; export r; \
29439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29440 $(NORMAL_TARGET_EXPORTS) \
29441 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29442 for flag in $(EXTRA_TARGET_FLAGS); do \
29443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29444 done; \
29445 (cd $(TARGET_SUBDIR)/libmudflap && \
29446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29448 "RANLIB=$${RANLIB}" \
29449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29450 install-info) \
29451 || exit 1
29453 @endif target-libmudflap
29455 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29456 maybe-installcheck-target-libmudflap:
29457 @if target-libmudflap
29458 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29460 installcheck-target-libmudflap: \
29461 configure-target-libmudflap
29462 @: $(MAKE); $(unstage)
29463 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29464 r=`${PWD_COMMAND}`; export r; \
29465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29466 $(NORMAL_TARGET_EXPORTS) \
29467 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29468 for flag in $(EXTRA_TARGET_FLAGS); do \
29469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29470 done; \
29471 (cd $(TARGET_SUBDIR)/libmudflap && \
29472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29474 "RANLIB=$${RANLIB}" \
29475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29476 installcheck) \
29477 || exit 1
29479 @endif target-libmudflap
29481 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29482 maybe-mostlyclean-target-libmudflap:
29483 @if target-libmudflap
29484 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29486 mostlyclean-target-libmudflap:
29487 @: $(MAKE); $(unstage)
29488 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29489 r=`${PWD_COMMAND}`; export r; \
29490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29491 $(NORMAL_TARGET_EXPORTS) \
29492 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29493 for flag in $(EXTRA_TARGET_FLAGS); do \
29494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29495 done; \
29496 (cd $(TARGET_SUBDIR)/libmudflap && \
29497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29499 "RANLIB=$${RANLIB}" \
29500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29501 mostlyclean) \
29502 || exit 1
29504 @endif target-libmudflap
29506 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29507 maybe-clean-target-libmudflap:
29508 @if target-libmudflap
29509 maybe-clean-target-libmudflap: clean-target-libmudflap
29511 clean-target-libmudflap:
29512 @: $(MAKE); $(unstage)
29513 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29514 r=`${PWD_COMMAND}`; export r; \
29515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29516 $(NORMAL_TARGET_EXPORTS) \
29517 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29518 for flag in $(EXTRA_TARGET_FLAGS); do \
29519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29520 done; \
29521 (cd $(TARGET_SUBDIR)/libmudflap && \
29522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29524 "RANLIB=$${RANLIB}" \
29525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29526 clean) \
29527 || exit 1
29529 @endif target-libmudflap
29531 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29532 maybe-distclean-target-libmudflap:
29533 @if target-libmudflap
29534 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29536 distclean-target-libmudflap:
29537 @: $(MAKE); $(unstage)
29538 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29539 r=`${PWD_COMMAND}`; export r; \
29540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29541 $(NORMAL_TARGET_EXPORTS) \
29542 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29543 for flag in $(EXTRA_TARGET_FLAGS); do \
29544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29545 done; \
29546 (cd $(TARGET_SUBDIR)/libmudflap && \
29547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29549 "RANLIB=$${RANLIB}" \
29550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29551 distclean) \
29552 || exit 1
29554 @endif target-libmudflap
29556 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29557 maybe-maintainer-clean-target-libmudflap:
29558 @if target-libmudflap
29559 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29561 maintainer-clean-target-libmudflap:
29562 @: $(MAKE); $(unstage)
29563 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29564 r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(NORMAL_TARGET_EXPORTS) \
29567 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29568 for flag in $(EXTRA_TARGET_FLAGS); do \
29569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29570 done; \
29571 (cd $(TARGET_SUBDIR)/libmudflap && \
29572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29574 "RANLIB=$${RANLIB}" \
29575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29576 maintainer-clean) \
29577 || exit 1
29579 @endif target-libmudflap
29585 .PHONY: configure-target-libssp maybe-configure-target-libssp
29586 maybe-configure-target-libssp:
29587 @if target-libssp
29588 maybe-configure-target-libssp: configure-target-libssp
29589 configure-target-libssp:
29590 @: $(MAKE); $(unstage)
29591 @r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 echo "Checking multilib configuration for libssp..."; \
29594 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29595 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29596 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29597 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29598 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29599 else \
29600 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29601 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29602 fi; \
29603 else \
29604 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29606 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29608 r=`${PWD_COMMAND}`; export r; \
29609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29610 $(NORMAL_TARGET_EXPORTS) \
29611 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29612 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29613 case $(srcdir) in \
29614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29615 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29617 esac; \
29618 srcdiroption="--srcdir=$${topdir}/libssp"; \
29619 libsrcdir="$$s/libssp"; \
29620 rm -f no-such-file || : ; \
29621 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29622 $(TARGET_CONFIGARGS) $${srcdiroption} \
29623 || exit 1
29624 @endif target-libssp
29630 .PHONY: all-target-libssp maybe-all-target-libssp
29631 maybe-all-target-libssp:
29632 @if target-libssp
29633 TARGET-target-libssp=all
29634 maybe-all-target-libssp: all-target-libssp
29635 all-target-libssp: configure-target-libssp
29636 @: $(MAKE); $(unstage)
29637 @r=`${PWD_COMMAND}`; export r; \
29638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(NORMAL_TARGET_EXPORTS) \
29640 (cd $(TARGET_SUBDIR)/libssp && \
29641 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29642 @endif target-libssp
29648 .PHONY: check-target-libssp maybe-check-target-libssp
29649 maybe-check-target-libssp:
29650 @if target-libssp
29651 maybe-check-target-libssp: check-target-libssp
29653 check-target-libssp:
29654 @: $(MAKE); $(unstage)
29655 @r=`${PWD_COMMAND}`; export r; \
29656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29657 $(NORMAL_TARGET_EXPORTS) \
29658 (cd $(TARGET_SUBDIR)/libssp && \
29659 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29661 @endif target-libssp
29663 .PHONY: install-target-libssp maybe-install-target-libssp
29664 maybe-install-target-libssp:
29665 @if target-libssp
29666 maybe-install-target-libssp: install-target-libssp
29668 install-target-libssp: installdirs
29669 @: $(MAKE); $(unstage)
29670 @r=`${PWD_COMMAND}`; export r; \
29671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29672 $(NORMAL_TARGET_EXPORTS) \
29673 (cd $(TARGET_SUBDIR)/libssp && \
29674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29676 @endif target-libssp
29678 # Other targets (info, dvi, etc.)
29680 .PHONY: maybe-info-target-libssp info-target-libssp
29681 maybe-info-target-libssp:
29682 @if target-libssp
29683 maybe-info-target-libssp: info-target-libssp
29685 info-target-libssp: \
29686 configure-target-libssp
29687 @: $(MAKE); $(unstage)
29688 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29689 r=`${PWD_COMMAND}`; export r; \
29690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29691 $(NORMAL_TARGET_EXPORTS) \
29692 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29693 for flag in $(EXTRA_TARGET_FLAGS); do \
29694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29695 done; \
29696 (cd $(TARGET_SUBDIR)/libssp && \
29697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29699 "RANLIB=$${RANLIB}" \
29700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29701 info) \
29702 || exit 1
29704 @endif target-libssp
29706 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29707 maybe-dvi-target-libssp:
29708 @if target-libssp
29709 maybe-dvi-target-libssp: dvi-target-libssp
29711 dvi-target-libssp: \
29712 configure-target-libssp
29713 @: $(MAKE); $(unstage)
29714 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29715 r=`${PWD_COMMAND}`; export r; \
29716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29717 $(NORMAL_TARGET_EXPORTS) \
29718 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29719 for flag in $(EXTRA_TARGET_FLAGS); do \
29720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29721 done; \
29722 (cd $(TARGET_SUBDIR)/libssp && \
29723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29725 "RANLIB=$${RANLIB}" \
29726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29727 dvi) \
29728 || exit 1
29730 @endif target-libssp
29732 .PHONY: maybe-html-target-libssp html-target-libssp
29733 maybe-html-target-libssp:
29734 @if target-libssp
29735 maybe-html-target-libssp: html-target-libssp
29737 html-target-libssp: \
29738 configure-target-libssp
29739 @: $(MAKE); $(unstage)
29740 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29741 r=`${PWD_COMMAND}`; export r; \
29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29743 $(NORMAL_TARGET_EXPORTS) \
29744 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29745 for flag in $(EXTRA_TARGET_FLAGS); do \
29746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29747 done; \
29748 (cd $(TARGET_SUBDIR)/libssp && \
29749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29751 "RANLIB=$${RANLIB}" \
29752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29753 html) \
29754 || exit 1
29756 @endif target-libssp
29758 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29759 maybe-TAGS-target-libssp:
29760 @if target-libssp
29761 maybe-TAGS-target-libssp: TAGS-target-libssp
29763 TAGS-target-libssp: \
29764 configure-target-libssp
29765 @: $(MAKE); $(unstage)
29766 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29767 r=`${PWD_COMMAND}`; export r; \
29768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29769 $(NORMAL_TARGET_EXPORTS) \
29770 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29771 for flag in $(EXTRA_TARGET_FLAGS); do \
29772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29773 done; \
29774 (cd $(TARGET_SUBDIR)/libssp && \
29775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29777 "RANLIB=$${RANLIB}" \
29778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29779 TAGS) \
29780 || exit 1
29782 @endif target-libssp
29784 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29785 maybe-install-info-target-libssp:
29786 @if target-libssp
29787 maybe-install-info-target-libssp: install-info-target-libssp
29789 install-info-target-libssp: \
29790 configure-target-libssp \
29791 info-target-libssp
29792 @: $(MAKE); $(unstage)
29793 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29794 r=`${PWD_COMMAND}`; export r; \
29795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29796 $(NORMAL_TARGET_EXPORTS) \
29797 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29798 for flag in $(EXTRA_TARGET_FLAGS); do \
29799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29800 done; \
29801 (cd $(TARGET_SUBDIR)/libssp && \
29802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29804 "RANLIB=$${RANLIB}" \
29805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29806 install-info) \
29807 || exit 1
29809 @endif target-libssp
29811 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29812 maybe-installcheck-target-libssp:
29813 @if target-libssp
29814 maybe-installcheck-target-libssp: installcheck-target-libssp
29816 installcheck-target-libssp: \
29817 configure-target-libssp
29818 @: $(MAKE); $(unstage)
29819 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29820 r=`${PWD_COMMAND}`; export r; \
29821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29822 $(NORMAL_TARGET_EXPORTS) \
29823 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29824 for flag in $(EXTRA_TARGET_FLAGS); do \
29825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29826 done; \
29827 (cd $(TARGET_SUBDIR)/libssp && \
29828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29830 "RANLIB=$${RANLIB}" \
29831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29832 installcheck) \
29833 || exit 1
29835 @endif target-libssp
29837 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29838 maybe-mostlyclean-target-libssp:
29839 @if target-libssp
29840 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29842 mostlyclean-target-libssp:
29843 @: $(MAKE); $(unstage)
29844 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29845 r=`${PWD_COMMAND}`; export r; \
29846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29847 $(NORMAL_TARGET_EXPORTS) \
29848 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29849 for flag in $(EXTRA_TARGET_FLAGS); do \
29850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29851 done; \
29852 (cd $(TARGET_SUBDIR)/libssp && \
29853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29855 "RANLIB=$${RANLIB}" \
29856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29857 mostlyclean) \
29858 || exit 1
29860 @endif target-libssp
29862 .PHONY: maybe-clean-target-libssp clean-target-libssp
29863 maybe-clean-target-libssp:
29864 @if target-libssp
29865 maybe-clean-target-libssp: clean-target-libssp
29867 clean-target-libssp:
29868 @: $(MAKE); $(unstage)
29869 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29870 r=`${PWD_COMMAND}`; export r; \
29871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29872 $(NORMAL_TARGET_EXPORTS) \
29873 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29874 for flag in $(EXTRA_TARGET_FLAGS); do \
29875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29876 done; \
29877 (cd $(TARGET_SUBDIR)/libssp && \
29878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29880 "RANLIB=$${RANLIB}" \
29881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29882 clean) \
29883 || exit 1
29885 @endif target-libssp
29887 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29888 maybe-distclean-target-libssp:
29889 @if target-libssp
29890 maybe-distclean-target-libssp: distclean-target-libssp
29892 distclean-target-libssp:
29893 @: $(MAKE); $(unstage)
29894 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29895 r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(NORMAL_TARGET_EXPORTS) \
29898 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29899 for flag in $(EXTRA_TARGET_FLAGS); do \
29900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29901 done; \
29902 (cd $(TARGET_SUBDIR)/libssp && \
29903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29905 "RANLIB=$${RANLIB}" \
29906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29907 distclean) \
29908 || exit 1
29910 @endif target-libssp
29912 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29913 maybe-maintainer-clean-target-libssp:
29914 @if target-libssp
29915 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29917 maintainer-clean-target-libssp:
29918 @: $(MAKE); $(unstage)
29919 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29920 r=`${PWD_COMMAND}`; export r; \
29921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29922 $(NORMAL_TARGET_EXPORTS) \
29923 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29924 for flag in $(EXTRA_TARGET_FLAGS); do \
29925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29926 done; \
29927 (cd $(TARGET_SUBDIR)/libssp && \
29928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29930 "RANLIB=$${RANLIB}" \
29931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29932 maintainer-clean) \
29933 || exit 1
29935 @endif target-libssp
29941 .PHONY: configure-target-newlib maybe-configure-target-newlib
29942 maybe-configure-target-newlib:
29943 @if target-newlib
29944 maybe-configure-target-newlib: configure-target-newlib
29945 configure-target-newlib:
29946 @: $(MAKE); $(unstage)
29947 @r=`${PWD_COMMAND}`; export r; \
29948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29949 echo "Checking multilib configuration for newlib..."; \
29950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29951 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
29952 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
29953 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
29954 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
29955 else \
29956 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
29957 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29958 fi; \
29959 else \
29960 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29962 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(NORMAL_TARGET_EXPORTS) \
29967 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29968 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29969 case $(srcdir) in \
29970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29971 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29973 esac; \
29974 srcdiroption="--srcdir=$${topdir}/newlib"; \
29975 libsrcdir="$$s/newlib"; \
29976 rm -f no-such-file || : ; \
29977 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29978 $(TARGET_CONFIGARGS) $${srcdiroption} \
29979 || exit 1
29980 @endif target-newlib
29986 .PHONY: all-target-newlib maybe-all-target-newlib
29987 maybe-all-target-newlib:
29988 @if target-newlib
29989 TARGET-target-newlib=all
29990 maybe-all-target-newlib: all-target-newlib
29991 all-target-newlib: configure-target-newlib
29992 @: $(MAKE); $(unstage)
29993 @r=`${PWD_COMMAND}`; export r; \
29994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29995 $(NORMAL_TARGET_EXPORTS) \
29996 (cd $(TARGET_SUBDIR)/newlib && \
29997 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29998 @endif target-newlib
30004 .PHONY: check-target-newlib maybe-check-target-newlib
30005 maybe-check-target-newlib:
30006 @if target-newlib
30007 maybe-check-target-newlib: check-target-newlib
30009 check-target-newlib:
30010 @: $(MAKE); $(unstage)
30011 @r=`${PWD_COMMAND}`; export r; \
30012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30013 $(NORMAL_TARGET_EXPORTS) \
30014 (cd $(TARGET_SUBDIR)/newlib && \
30015 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30017 @endif target-newlib
30019 .PHONY: install-target-newlib maybe-install-target-newlib
30020 maybe-install-target-newlib:
30021 @if target-newlib
30022 maybe-install-target-newlib: install-target-newlib
30024 install-target-newlib: installdirs
30025 @: $(MAKE); $(unstage)
30026 @r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 $(NORMAL_TARGET_EXPORTS) \
30029 (cd $(TARGET_SUBDIR)/newlib && \
30030 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30032 @endif target-newlib
30034 # Other targets (info, dvi, etc.)
30036 .PHONY: maybe-info-target-newlib info-target-newlib
30037 maybe-info-target-newlib:
30038 @if target-newlib
30039 maybe-info-target-newlib: info-target-newlib
30041 info-target-newlib: \
30042 configure-target-newlib
30043 @: $(MAKE); $(unstage)
30044 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30045 r=`${PWD_COMMAND}`; export r; \
30046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30047 $(NORMAL_TARGET_EXPORTS) \
30048 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30049 for flag in $(EXTRA_TARGET_FLAGS); do \
30050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30051 done; \
30052 (cd $(TARGET_SUBDIR)/newlib && \
30053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30055 "RANLIB=$${RANLIB}" \
30056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30057 info) \
30058 || exit 1
30060 @endif target-newlib
30062 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30063 maybe-dvi-target-newlib:
30064 @if target-newlib
30065 maybe-dvi-target-newlib: dvi-target-newlib
30067 dvi-target-newlib: \
30068 configure-target-newlib
30069 @: $(MAKE); $(unstage)
30070 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30071 r=`${PWD_COMMAND}`; export r; \
30072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30073 $(NORMAL_TARGET_EXPORTS) \
30074 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30075 for flag in $(EXTRA_TARGET_FLAGS); do \
30076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30077 done; \
30078 (cd $(TARGET_SUBDIR)/newlib && \
30079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30081 "RANLIB=$${RANLIB}" \
30082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30083 dvi) \
30084 || exit 1
30086 @endif target-newlib
30088 .PHONY: maybe-html-target-newlib html-target-newlib
30089 maybe-html-target-newlib:
30090 @if target-newlib
30091 maybe-html-target-newlib: html-target-newlib
30093 html-target-newlib: \
30094 configure-target-newlib
30095 @: $(MAKE); $(unstage)
30096 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30097 r=`${PWD_COMMAND}`; export r; \
30098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30099 $(NORMAL_TARGET_EXPORTS) \
30100 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30101 for flag in $(EXTRA_TARGET_FLAGS); do \
30102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30103 done; \
30104 (cd $(TARGET_SUBDIR)/newlib && \
30105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30107 "RANLIB=$${RANLIB}" \
30108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30109 html) \
30110 || exit 1
30112 @endif target-newlib
30114 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30115 maybe-TAGS-target-newlib:
30116 @if target-newlib
30117 maybe-TAGS-target-newlib: TAGS-target-newlib
30119 TAGS-target-newlib: \
30120 configure-target-newlib
30121 @: $(MAKE); $(unstage)
30122 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30123 r=`${PWD_COMMAND}`; export r; \
30124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30125 $(NORMAL_TARGET_EXPORTS) \
30126 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30127 for flag in $(EXTRA_TARGET_FLAGS); do \
30128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30129 done; \
30130 (cd $(TARGET_SUBDIR)/newlib && \
30131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30133 "RANLIB=$${RANLIB}" \
30134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30135 TAGS) \
30136 || exit 1
30138 @endif target-newlib
30140 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30141 maybe-install-info-target-newlib:
30142 @if target-newlib
30143 maybe-install-info-target-newlib: install-info-target-newlib
30145 install-info-target-newlib: \
30146 configure-target-newlib \
30147 info-target-newlib
30148 @: $(MAKE); $(unstage)
30149 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30150 r=`${PWD_COMMAND}`; export r; \
30151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30152 $(NORMAL_TARGET_EXPORTS) \
30153 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30154 for flag in $(EXTRA_TARGET_FLAGS); do \
30155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30156 done; \
30157 (cd $(TARGET_SUBDIR)/newlib && \
30158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30160 "RANLIB=$${RANLIB}" \
30161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30162 install-info) \
30163 || exit 1
30165 @endif target-newlib
30167 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30168 maybe-installcheck-target-newlib:
30169 @if target-newlib
30170 maybe-installcheck-target-newlib: installcheck-target-newlib
30172 installcheck-target-newlib: \
30173 configure-target-newlib
30174 @: $(MAKE); $(unstage)
30175 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30176 r=`${PWD_COMMAND}`; export r; \
30177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30178 $(NORMAL_TARGET_EXPORTS) \
30179 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30180 for flag in $(EXTRA_TARGET_FLAGS); do \
30181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30182 done; \
30183 (cd $(TARGET_SUBDIR)/newlib && \
30184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30186 "RANLIB=$${RANLIB}" \
30187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30188 installcheck) \
30189 || exit 1
30191 @endif target-newlib
30193 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30194 maybe-mostlyclean-target-newlib:
30195 @if target-newlib
30196 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30198 mostlyclean-target-newlib:
30199 @: $(MAKE); $(unstage)
30200 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30201 r=`${PWD_COMMAND}`; export r; \
30202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30203 $(NORMAL_TARGET_EXPORTS) \
30204 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30205 for flag in $(EXTRA_TARGET_FLAGS); do \
30206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30207 done; \
30208 (cd $(TARGET_SUBDIR)/newlib && \
30209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30211 "RANLIB=$${RANLIB}" \
30212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30213 mostlyclean) \
30214 || exit 1
30216 @endif target-newlib
30218 .PHONY: maybe-clean-target-newlib clean-target-newlib
30219 maybe-clean-target-newlib:
30220 @if target-newlib
30221 maybe-clean-target-newlib: clean-target-newlib
30223 clean-target-newlib:
30224 @: $(MAKE); $(unstage)
30225 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30226 r=`${PWD_COMMAND}`; export r; \
30227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30228 $(NORMAL_TARGET_EXPORTS) \
30229 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30230 for flag in $(EXTRA_TARGET_FLAGS); do \
30231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30232 done; \
30233 (cd $(TARGET_SUBDIR)/newlib && \
30234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30236 "RANLIB=$${RANLIB}" \
30237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30238 clean) \
30239 || exit 1
30241 @endif target-newlib
30243 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30244 maybe-distclean-target-newlib:
30245 @if target-newlib
30246 maybe-distclean-target-newlib: distclean-target-newlib
30248 distclean-target-newlib:
30249 @: $(MAKE); $(unstage)
30250 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30251 r=`${PWD_COMMAND}`; export r; \
30252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30253 $(NORMAL_TARGET_EXPORTS) \
30254 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30255 for flag in $(EXTRA_TARGET_FLAGS); do \
30256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30257 done; \
30258 (cd $(TARGET_SUBDIR)/newlib && \
30259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30261 "RANLIB=$${RANLIB}" \
30262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30263 distclean) \
30264 || exit 1
30266 @endif target-newlib
30268 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30269 maybe-maintainer-clean-target-newlib:
30270 @if target-newlib
30271 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30273 maintainer-clean-target-newlib:
30274 @: $(MAKE); $(unstage)
30275 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30276 r=`${PWD_COMMAND}`; export r; \
30277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30278 $(NORMAL_TARGET_EXPORTS) \
30279 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30280 for flag in $(EXTRA_TARGET_FLAGS); do \
30281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30282 done; \
30283 (cd $(TARGET_SUBDIR)/newlib && \
30284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30286 "RANLIB=$${RANLIB}" \
30287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30288 maintainer-clean) \
30289 || exit 1
30291 @endif target-newlib
30297 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30298 maybe-configure-target-libgfortran:
30299 @if target-libgfortran
30300 maybe-configure-target-libgfortran: configure-target-libgfortran
30301 configure-target-libgfortran:
30302 @: $(MAKE); $(unstage)
30303 @r=`${PWD_COMMAND}`; export r; \
30304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30305 echo "Checking multilib configuration for libgfortran..."; \
30306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30307 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30308 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30309 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30310 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30311 else \
30312 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30313 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30314 fi; \
30315 else \
30316 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30318 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30319 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30320 r=`${PWD_COMMAND}`; export r; \
30321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30322 $(NORMAL_TARGET_EXPORTS) \
30323 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30324 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30325 case $(srcdir) in \
30326 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30327 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30328 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30329 esac; \
30330 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30331 libsrcdir="$$s/libgfortran"; \
30332 rm -f no-such-file || : ; \
30333 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30334 $(TARGET_CONFIGARGS) $${srcdiroption} \
30335 || exit 1
30336 @endif target-libgfortran
30342 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30343 maybe-all-target-libgfortran:
30344 @if target-libgfortran
30345 TARGET-target-libgfortran=all
30346 maybe-all-target-libgfortran: all-target-libgfortran
30347 all-target-libgfortran: configure-target-libgfortran
30348 @: $(MAKE); $(unstage)
30349 @r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 $(NORMAL_TARGET_EXPORTS) \
30352 (cd $(TARGET_SUBDIR)/libgfortran && \
30353 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30354 @endif target-libgfortran
30360 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30361 maybe-check-target-libgfortran:
30362 @if target-libgfortran
30363 maybe-check-target-libgfortran: check-target-libgfortran
30365 check-target-libgfortran:
30366 @: $(MAKE); $(unstage)
30367 @r=`${PWD_COMMAND}`; export r; \
30368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30369 $(NORMAL_TARGET_EXPORTS) \
30370 (cd $(TARGET_SUBDIR)/libgfortran && \
30371 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30373 @endif target-libgfortran
30375 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30376 maybe-install-target-libgfortran:
30377 @if target-libgfortran
30378 maybe-install-target-libgfortran: install-target-libgfortran
30380 install-target-libgfortran: installdirs
30381 @: $(MAKE); $(unstage)
30382 @r=`${PWD_COMMAND}`; export r; \
30383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30384 $(NORMAL_TARGET_EXPORTS) \
30385 (cd $(TARGET_SUBDIR)/libgfortran && \
30386 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30388 @endif target-libgfortran
30390 # Other targets (info, dvi, etc.)
30392 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30393 maybe-info-target-libgfortran:
30394 @if target-libgfortran
30395 maybe-info-target-libgfortran: info-target-libgfortran
30397 info-target-libgfortran: \
30398 configure-target-libgfortran
30399 @: $(MAKE); $(unstage)
30400 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30401 r=`${PWD_COMMAND}`; export r; \
30402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30403 $(NORMAL_TARGET_EXPORTS) \
30404 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30405 for flag in $(EXTRA_TARGET_FLAGS); do \
30406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30407 done; \
30408 (cd $(TARGET_SUBDIR)/libgfortran && \
30409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30411 "RANLIB=$${RANLIB}" \
30412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30413 info) \
30414 || exit 1
30416 @endif target-libgfortran
30418 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30419 maybe-dvi-target-libgfortran:
30420 @if target-libgfortran
30421 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30423 dvi-target-libgfortran: \
30424 configure-target-libgfortran
30425 @: $(MAKE); $(unstage)
30426 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30427 r=`${PWD_COMMAND}`; export r; \
30428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30429 $(NORMAL_TARGET_EXPORTS) \
30430 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30431 for flag in $(EXTRA_TARGET_FLAGS); do \
30432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30433 done; \
30434 (cd $(TARGET_SUBDIR)/libgfortran && \
30435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30437 "RANLIB=$${RANLIB}" \
30438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30439 dvi) \
30440 || exit 1
30442 @endif target-libgfortran
30444 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30445 maybe-html-target-libgfortran:
30446 @if target-libgfortran
30447 maybe-html-target-libgfortran: html-target-libgfortran
30449 html-target-libgfortran: \
30450 configure-target-libgfortran
30451 @: $(MAKE); $(unstage)
30452 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30453 r=`${PWD_COMMAND}`; export r; \
30454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30455 $(NORMAL_TARGET_EXPORTS) \
30456 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30457 for flag in $(EXTRA_TARGET_FLAGS); do \
30458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30459 done; \
30460 (cd $(TARGET_SUBDIR)/libgfortran && \
30461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30463 "RANLIB=$${RANLIB}" \
30464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30465 html) \
30466 || exit 1
30468 @endif target-libgfortran
30470 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30471 maybe-TAGS-target-libgfortran:
30472 @if target-libgfortran
30473 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30475 TAGS-target-libgfortran: \
30476 configure-target-libgfortran
30477 @: $(MAKE); $(unstage)
30478 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30479 r=`${PWD_COMMAND}`; export r; \
30480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30481 $(NORMAL_TARGET_EXPORTS) \
30482 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30483 for flag in $(EXTRA_TARGET_FLAGS); do \
30484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30485 done; \
30486 (cd $(TARGET_SUBDIR)/libgfortran && \
30487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30489 "RANLIB=$${RANLIB}" \
30490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30491 TAGS) \
30492 || exit 1
30494 @endif target-libgfortran
30496 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30497 maybe-install-info-target-libgfortran:
30498 @if target-libgfortran
30499 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30501 install-info-target-libgfortran: \
30502 configure-target-libgfortran \
30503 info-target-libgfortran
30504 @: $(MAKE); $(unstage)
30505 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30506 r=`${PWD_COMMAND}`; export r; \
30507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30508 $(NORMAL_TARGET_EXPORTS) \
30509 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30510 for flag in $(EXTRA_TARGET_FLAGS); do \
30511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30512 done; \
30513 (cd $(TARGET_SUBDIR)/libgfortran && \
30514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30516 "RANLIB=$${RANLIB}" \
30517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30518 install-info) \
30519 || exit 1
30521 @endif target-libgfortran
30523 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30524 maybe-installcheck-target-libgfortran:
30525 @if target-libgfortran
30526 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30528 installcheck-target-libgfortran: \
30529 configure-target-libgfortran
30530 @: $(MAKE); $(unstage)
30531 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30532 r=`${PWD_COMMAND}`; export r; \
30533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30534 $(NORMAL_TARGET_EXPORTS) \
30535 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30536 for flag in $(EXTRA_TARGET_FLAGS); do \
30537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30538 done; \
30539 (cd $(TARGET_SUBDIR)/libgfortran && \
30540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30542 "RANLIB=$${RANLIB}" \
30543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30544 installcheck) \
30545 || exit 1
30547 @endif target-libgfortran
30549 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30550 maybe-mostlyclean-target-libgfortran:
30551 @if target-libgfortran
30552 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30554 mostlyclean-target-libgfortran:
30555 @: $(MAKE); $(unstage)
30556 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30557 r=`${PWD_COMMAND}`; export r; \
30558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30559 $(NORMAL_TARGET_EXPORTS) \
30560 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30561 for flag in $(EXTRA_TARGET_FLAGS); do \
30562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30563 done; \
30564 (cd $(TARGET_SUBDIR)/libgfortran && \
30565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30567 "RANLIB=$${RANLIB}" \
30568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30569 mostlyclean) \
30570 || exit 1
30572 @endif target-libgfortran
30574 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30575 maybe-clean-target-libgfortran:
30576 @if target-libgfortran
30577 maybe-clean-target-libgfortran: clean-target-libgfortran
30579 clean-target-libgfortran:
30580 @: $(MAKE); $(unstage)
30581 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30582 r=`${PWD_COMMAND}`; export r; \
30583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30584 $(NORMAL_TARGET_EXPORTS) \
30585 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30586 for flag in $(EXTRA_TARGET_FLAGS); do \
30587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30588 done; \
30589 (cd $(TARGET_SUBDIR)/libgfortran && \
30590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30592 "RANLIB=$${RANLIB}" \
30593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30594 clean) \
30595 || exit 1
30597 @endif target-libgfortran
30599 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30600 maybe-distclean-target-libgfortran:
30601 @if target-libgfortran
30602 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30604 distclean-target-libgfortran:
30605 @: $(MAKE); $(unstage)
30606 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30607 r=`${PWD_COMMAND}`; export r; \
30608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30609 $(NORMAL_TARGET_EXPORTS) \
30610 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30611 for flag in $(EXTRA_TARGET_FLAGS); do \
30612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30613 done; \
30614 (cd $(TARGET_SUBDIR)/libgfortran && \
30615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30617 "RANLIB=$${RANLIB}" \
30618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30619 distclean) \
30620 || exit 1
30622 @endif target-libgfortran
30624 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30625 maybe-maintainer-clean-target-libgfortran:
30626 @if target-libgfortran
30627 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30629 maintainer-clean-target-libgfortran:
30630 @: $(MAKE); $(unstage)
30631 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30632 r=`${PWD_COMMAND}`; export r; \
30633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30634 $(NORMAL_TARGET_EXPORTS) \
30635 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30636 for flag in $(EXTRA_TARGET_FLAGS); do \
30637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30638 done; \
30639 (cd $(TARGET_SUBDIR)/libgfortran && \
30640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30642 "RANLIB=$${RANLIB}" \
30643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30644 maintainer-clean) \
30645 || exit 1
30647 @endif target-libgfortran
30653 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30654 maybe-configure-target-libobjc:
30655 @if target-libobjc
30656 maybe-configure-target-libobjc: configure-target-libobjc
30657 configure-target-libobjc:
30658 @: $(MAKE); $(unstage)
30659 @r=`${PWD_COMMAND}`; export r; \
30660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30661 echo "Checking multilib configuration for libobjc..."; \
30662 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30663 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
30664 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30665 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30666 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
30667 else \
30668 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
30669 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30670 fi; \
30671 else \
30672 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30674 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30675 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30676 r=`${PWD_COMMAND}`; export r; \
30677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30678 $(NORMAL_TARGET_EXPORTS) \
30679 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30680 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30681 case $(srcdir) in \
30682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30683 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30685 esac; \
30686 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30687 libsrcdir="$$s/libobjc"; \
30688 rm -f no-such-file || : ; \
30689 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30690 $(TARGET_CONFIGARGS) $${srcdiroption} \
30691 || exit 1
30692 @endif target-libobjc
30698 .PHONY: all-target-libobjc maybe-all-target-libobjc
30699 maybe-all-target-libobjc:
30700 @if target-libobjc
30701 TARGET-target-libobjc=all
30702 maybe-all-target-libobjc: all-target-libobjc
30703 all-target-libobjc: configure-target-libobjc
30704 @: $(MAKE); $(unstage)
30705 @r=`${PWD_COMMAND}`; export r; \
30706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30707 $(NORMAL_TARGET_EXPORTS) \
30708 (cd $(TARGET_SUBDIR)/libobjc && \
30709 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30710 @endif target-libobjc
30716 .PHONY: check-target-libobjc maybe-check-target-libobjc
30717 maybe-check-target-libobjc:
30718 @if target-libobjc
30719 maybe-check-target-libobjc: check-target-libobjc
30721 check-target-libobjc:
30722 @: $(MAKE); $(unstage)
30723 @r=`${PWD_COMMAND}`; export r; \
30724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30725 $(NORMAL_TARGET_EXPORTS) \
30726 (cd $(TARGET_SUBDIR)/libobjc && \
30727 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30729 @endif target-libobjc
30731 .PHONY: install-target-libobjc maybe-install-target-libobjc
30732 maybe-install-target-libobjc:
30733 @if target-libobjc
30734 maybe-install-target-libobjc: install-target-libobjc
30736 install-target-libobjc: installdirs
30737 @: $(MAKE); $(unstage)
30738 @r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(NORMAL_TARGET_EXPORTS) \
30741 (cd $(TARGET_SUBDIR)/libobjc && \
30742 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30744 @endif target-libobjc
30746 # Other targets (info, dvi, etc.)
30748 .PHONY: maybe-info-target-libobjc info-target-libobjc
30749 maybe-info-target-libobjc:
30750 @if target-libobjc
30751 maybe-info-target-libobjc: info-target-libobjc
30753 info-target-libobjc: \
30754 configure-target-libobjc
30755 @: $(MAKE); $(unstage)
30756 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30757 r=`${PWD_COMMAND}`; export r; \
30758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30759 $(NORMAL_TARGET_EXPORTS) \
30760 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30761 for flag in $(EXTRA_TARGET_FLAGS); do \
30762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30763 done; \
30764 (cd $(TARGET_SUBDIR)/libobjc && \
30765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30767 "RANLIB=$${RANLIB}" \
30768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30769 info) \
30770 || exit 1
30772 @endif target-libobjc
30774 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30775 maybe-dvi-target-libobjc:
30776 @if target-libobjc
30777 maybe-dvi-target-libobjc: dvi-target-libobjc
30779 dvi-target-libobjc: \
30780 configure-target-libobjc
30781 @: $(MAKE); $(unstage)
30782 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30783 r=`${PWD_COMMAND}`; export r; \
30784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30785 $(NORMAL_TARGET_EXPORTS) \
30786 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30787 for flag in $(EXTRA_TARGET_FLAGS); do \
30788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30789 done; \
30790 (cd $(TARGET_SUBDIR)/libobjc && \
30791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30793 "RANLIB=$${RANLIB}" \
30794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30795 dvi) \
30796 || exit 1
30798 @endif target-libobjc
30800 .PHONY: maybe-html-target-libobjc html-target-libobjc
30801 maybe-html-target-libobjc:
30802 @if target-libobjc
30803 maybe-html-target-libobjc: html-target-libobjc
30805 html-target-libobjc: \
30806 configure-target-libobjc
30807 @: $(MAKE); $(unstage)
30808 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30809 r=`${PWD_COMMAND}`; export r; \
30810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30811 $(NORMAL_TARGET_EXPORTS) \
30812 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30813 for flag in $(EXTRA_TARGET_FLAGS); do \
30814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30815 done; \
30816 (cd $(TARGET_SUBDIR)/libobjc && \
30817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30819 "RANLIB=$${RANLIB}" \
30820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30821 html) \
30822 || exit 1
30824 @endif target-libobjc
30826 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30827 maybe-TAGS-target-libobjc:
30828 @if target-libobjc
30829 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30831 TAGS-target-libobjc: \
30832 configure-target-libobjc
30833 @: $(MAKE); $(unstage)
30834 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30835 r=`${PWD_COMMAND}`; export r; \
30836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30837 $(NORMAL_TARGET_EXPORTS) \
30838 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30839 for flag in $(EXTRA_TARGET_FLAGS); do \
30840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30841 done; \
30842 (cd $(TARGET_SUBDIR)/libobjc && \
30843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30845 "RANLIB=$${RANLIB}" \
30846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30847 TAGS) \
30848 || exit 1
30850 @endif target-libobjc
30852 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30853 maybe-install-info-target-libobjc:
30854 @if target-libobjc
30855 maybe-install-info-target-libobjc: install-info-target-libobjc
30857 install-info-target-libobjc: \
30858 configure-target-libobjc \
30859 info-target-libobjc
30860 @: $(MAKE); $(unstage)
30861 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30862 r=`${PWD_COMMAND}`; export r; \
30863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30864 $(NORMAL_TARGET_EXPORTS) \
30865 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30866 for flag in $(EXTRA_TARGET_FLAGS); do \
30867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30868 done; \
30869 (cd $(TARGET_SUBDIR)/libobjc && \
30870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30872 "RANLIB=$${RANLIB}" \
30873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30874 install-info) \
30875 || exit 1
30877 @endif target-libobjc
30879 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30880 maybe-installcheck-target-libobjc:
30881 @if target-libobjc
30882 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30884 installcheck-target-libobjc: \
30885 configure-target-libobjc
30886 @: $(MAKE); $(unstage)
30887 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30888 r=`${PWD_COMMAND}`; export r; \
30889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30890 $(NORMAL_TARGET_EXPORTS) \
30891 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30892 for flag in $(EXTRA_TARGET_FLAGS); do \
30893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30894 done; \
30895 (cd $(TARGET_SUBDIR)/libobjc && \
30896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30898 "RANLIB=$${RANLIB}" \
30899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30900 installcheck) \
30901 || exit 1
30903 @endif target-libobjc
30905 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30906 maybe-mostlyclean-target-libobjc:
30907 @if target-libobjc
30908 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30910 mostlyclean-target-libobjc:
30911 @: $(MAKE); $(unstage)
30912 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30913 r=`${PWD_COMMAND}`; export r; \
30914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30915 $(NORMAL_TARGET_EXPORTS) \
30916 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30917 for flag in $(EXTRA_TARGET_FLAGS); do \
30918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30919 done; \
30920 (cd $(TARGET_SUBDIR)/libobjc && \
30921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30923 "RANLIB=$${RANLIB}" \
30924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30925 mostlyclean) \
30926 || exit 1
30928 @endif target-libobjc
30930 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30931 maybe-clean-target-libobjc:
30932 @if target-libobjc
30933 maybe-clean-target-libobjc: clean-target-libobjc
30935 clean-target-libobjc:
30936 @: $(MAKE); $(unstage)
30937 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30938 r=`${PWD_COMMAND}`; export r; \
30939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30940 $(NORMAL_TARGET_EXPORTS) \
30941 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30942 for flag in $(EXTRA_TARGET_FLAGS); do \
30943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30944 done; \
30945 (cd $(TARGET_SUBDIR)/libobjc && \
30946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30948 "RANLIB=$${RANLIB}" \
30949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30950 clean) \
30951 || exit 1
30953 @endif target-libobjc
30955 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30956 maybe-distclean-target-libobjc:
30957 @if target-libobjc
30958 maybe-distclean-target-libobjc: distclean-target-libobjc
30960 distclean-target-libobjc:
30961 @: $(MAKE); $(unstage)
30962 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30963 r=`${PWD_COMMAND}`; export r; \
30964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30965 $(NORMAL_TARGET_EXPORTS) \
30966 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30967 for flag in $(EXTRA_TARGET_FLAGS); do \
30968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30969 done; \
30970 (cd $(TARGET_SUBDIR)/libobjc && \
30971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30973 "RANLIB=$${RANLIB}" \
30974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30975 distclean) \
30976 || exit 1
30978 @endif target-libobjc
30980 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30981 maybe-maintainer-clean-target-libobjc:
30982 @if target-libobjc
30983 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30985 maintainer-clean-target-libobjc:
30986 @: $(MAKE); $(unstage)
30987 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30988 r=`${PWD_COMMAND}`; export r; \
30989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30990 $(NORMAL_TARGET_EXPORTS) \
30991 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30992 for flag in $(EXTRA_TARGET_FLAGS); do \
30993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30994 done; \
30995 (cd $(TARGET_SUBDIR)/libobjc && \
30996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30998 "RANLIB=$${RANLIB}" \
30999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31000 maintainer-clean) \
31001 || exit 1
31003 @endif target-libobjc
31009 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31010 maybe-configure-target-libtermcap:
31011 @if target-libtermcap
31012 maybe-configure-target-libtermcap: configure-target-libtermcap
31013 configure-target-libtermcap:
31014 @: $(MAKE); $(unstage)
31015 @r=`${PWD_COMMAND}`; export r; \
31016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31017 echo "Checking multilib configuration for libtermcap..."; \
31018 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31019 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31020 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31021 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31022 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31023 else \
31024 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31025 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31026 fi; \
31027 else \
31028 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31030 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31031 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31032 r=`${PWD_COMMAND}`; export r; \
31033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31034 $(NORMAL_TARGET_EXPORTS) \
31035 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31036 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31037 case $(srcdir) in \
31038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31039 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31041 esac; \
31042 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31043 libsrcdir="$$s/libtermcap"; \
31044 rm -f no-such-file || : ; \
31045 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31046 $(TARGET_CONFIGARGS) $${srcdiroption} \
31047 || exit 1
31048 @endif target-libtermcap
31054 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31055 maybe-all-target-libtermcap:
31056 @if target-libtermcap
31057 TARGET-target-libtermcap=all
31058 maybe-all-target-libtermcap: all-target-libtermcap
31059 all-target-libtermcap: configure-target-libtermcap
31060 @: $(MAKE); $(unstage)
31061 @r=`${PWD_COMMAND}`; export r; \
31062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31063 $(NORMAL_TARGET_EXPORTS) \
31064 (cd $(TARGET_SUBDIR)/libtermcap && \
31065 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31066 @endif target-libtermcap
31072 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31073 maybe-check-target-libtermcap:
31074 @if target-libtermcap
31075 maybe-check-target-libtermcap: check-target-libtermcap
31077 # Dummy target for uncheckable module.
31078 check-target-libtermcap:
31080 @endif target-libtermcap
31082 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31083 maybe-install-target-libtermcap:
31084 @if target-libtermcap
31085 maybe-install-target-libtermcap: install-target-libtermcap
31087 install-target-libtermcap: installdirs
31088 @: $(MAKE); $(unstage)
31089 @r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31091 $(NORMAL_TARGET_EXPORTS) \
31092 (cd $(TARGET_SUBDIR)/libtermcap && \
31093 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31095 @endif target-libtermcap
31097 # Other targets (info, dvi, etc.)
31099 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31100 maybe-info-target-libtermcap:
31101 @if target-libtermcap
31102 maybe-info-target-libtermcap: info-target-libtermcap
31104 info-target-libtermcap: \
31105 configure-target-libtermcap
31106 @: $(MAKE); $(unstage)
31107 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31108 r=`${PWD_COMMAND}`; export r; \
31109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31110 $(NORMAL_TARGET_EXPORTS) \
31111 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31112 for flag in $(EXTRA_TARGET_FLAGS); do \
31113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31114 done; \
31115 (cd $(TARGET_SUBDIR)/libtermcap && \
31116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31118 "RANLIB=$${RANLIB}" \
31119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31120 info) \
31121 || exit 1
31123 @endif target-libtermcap
31125 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31126 maybe-dvi-target-libtermcap:
31127 @if target-libtermcap
31128 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31130 dvi-target-libtermcap: \
31131 configure-target-libtermcap
31132 @: $(MAKE); $(unstage)
31133 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31134 r=`${PWD_COMMAND}`; export r; \
31135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31136 $(NORMAL_TARGET_EXPORTS) \
31137 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31138 for flag in $(EXTRA_TARGET_FLAGS); do \
31139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31140 done; \
31141 (cd $(TARGET_SUBDIR)/libtermcap && \
31142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31144 "RANLIB=$${RANLIB}" \
31145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31146 dvi) \
31147 || exit 1
31149 @endif target-libtermcap
31151 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31152 maybe-html-target-libtermcap:
31153 @if target-libtermcap
31154 maybe-html-target-libtermcap: html-target-libtermcap
31156 html-target-libtermcap: \
31157 configure-target-libtermcap
31158 @: $(MAKE); $(unstage)
31159 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31160 r=`${PWD_COMMAND}`; export r; \
31161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31162 $(NORMAL_TARGET_EXPORTS) \
31163 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31164 for flag in $(EXTRA_TARGET_FLAGS); do \
31165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31166 done; \
31167 (cd $(TARGET_SUBDIR)/libtermcap && \
31168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31170 "RANLIB=$${RANLIB}" \
31171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31172 html) \
31173 || exit 1
31175 @endif target-libtermcap
31177 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31178 maybe-TAGS-target-libtermcap:
31179 @if target-libtermcap
31180 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31182 TAGS-target-libtermcap: \
31183 configure-target-libtermcap
31184 @: $(MAKE); $(unstage)
31185 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31186 r=`${PWD_COMMAND}`; export r; \
31187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31188 $(NORMAL_TARGET_EXPORTS) \
31189 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31190 for flag in $(EXTRA_TARGET_FLAGS); do \
31191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31192 done; \
31193 (cd $(TARGET_SUBDIR)/libtermcap && \
31194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31196 "RANLIB=$${RANLIB}" \
31197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31198 TAGS) \
31199 || exit 1
31201 @endif target-libtermcap
31203 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31204 maybe-install-info-target-libtermcap:
31205 @if target-libtermcap
31206 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31208 install-info-target-libtermcap: \
31209 configure-target-libtermcap \
31210 info-target-libtermcap
31211 @: $(MAKE); $(unstage)
31212 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31213 r=`${PWD_COMMAND}`; export r; \
31214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31215 $(NORMAL_TARGET_EXPORTS) \
31216 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31217 for flag in $(EXTRA_TARGET_FLAGS); do \
31218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31219 done; \
31220 (cd $(TARGET_SUBDIR)/libtermcap && \
31221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31223 "RANLIB=$${RANLIB}" \
31224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31225 install-info) \
31226 || exit 1
31228 @endif target-libtermcap
31230 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31231 maybe-installcheck-target-libtermcap:
31232 @if target-libtermcap
31233 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31235 installcheck-target-libtermcap: \
31236 configure-target-libtermcap
31237 @: $(MAKE); $(unstage)
31238 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31239 r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 $(NORMAL_TARGET_EXPORTS) \
31242 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31243 for flag in $(EXTRA_TARGET_FLAGS); do \
31244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31245 done; \
31246 (cd $(TARGET_SUBDIR)/libtermcap && \
31247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31249 "RANLIB=$${RANLIB}" \
31250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31251 installcheck) \
31252 || exit 1
31254 @endif target-libtermcap
31256 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31257 maybe-mostlyclean-target-libtermcap:
31258 @if target-libtermcap
31259 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31261 # libtermcap doesn't support mostlyclean.
31262 mostlyclean-target-libtermcap:
31264 @endif target-libtermcap
31266 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31267 maybe-clean-target-libtermcap:
31268 @if target-libtermcap
31269 maybe-clean-target-libtermcap: clean-target-libtermcap
31271 # libtermcap doesn't support clean.
31272 clean-target-libtermcap:
31274 @endif target-libtermcap
31276 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31277 maybe-distclean-target-libtermcap:
31278 @if target-libtermcap
31279 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31281 # libtermcap doesn't support distclean.
31282 distclean-target-libtermcap:
31284 @endif target-libtermcap
31286 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31287 maybe-maintainer-clean-target-libtermcap:
31288 @if target-libtermcap
31289 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31291 # libtermcap doesn't support maintainer-clean.
31292 maintainer-clean-target-libtermcap:
31294 @endif target-libtermcap
31300 .PHONY: configure-target-winsup maybe-configure-target-winsup
31301 maybe-configure-target-winsup:
31302 @if target-winsup
31303 maybe-configure-target-winsup: configure-target-winsup
31304 configure-target-winsup:
31305 @: $(MAKE); $(unstage)
31306 @r=`${PWD_COMMAND}`; export r; \
31307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31308 echo "Checking multilib configuration for winsup..."; \
31309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31310 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31311 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31312 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31313 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31314 else \
31315 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31316 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31317 fi; \
31318 else \
31319 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31321 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31323 r=`${PWD_COMMAND}`; export r; \
31324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31325 $(NORMAL_TARGET_EXPORTS) \
31326 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31327 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31328 case $(srcdir) in \
31329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31330 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31332 esac; \
31333 srcdiroption="--srcdir=$${topdir}/winsup"; \
31334 libsrcdir="$$s/winsup"; \
31335 rm -f no-such-file || : ; \
31336 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31337 $(TARGET_CONFIGARGS) $${srcdiroption} \
31338 || exit 1
31339 @endif target-winsup
31345 .PHONY: all-target-winsup maybe-all-target-winsup
31346 maybe-all-target-winsup:
31347 @if target-winsup
31348 TARGET-target-winsup=all
31349 maybe-all-target-winsup: all-target-winsup
31350 all-target-winsup: configure-target-winsup
31351 @: $(MAKE); $(unstage)
31352 @r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(NORMAL_TARGET_EXPORTS) \
31355 (cd $(TARGET_SUBDIR)/winsup && \
31356 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31357 @endif target-winsup
31363 .PHONY: check-target-winsup maybe-check-target-winsup
31364 maybe-check-target-winsup:
31365 @if target-winsup
31366 maybe-check-target-winsup: check-target-winsup
31368 check-target-winsup:
31369 @: $(MAKE); $(unstage)
31370 @r=`${PWD_COMMAND}`; export r; \
31371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31372 $(NORMAL_TARGET_EXPORTS) \
31373 (cd $(TARGET_SUBDIR)/winsup && \
31374 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31376 @endif target-winsup
31378 .PHONY: install-target-winsup maybe-install-target-winsup
31379 maybe-install-target-winsup:
31380 @if target-winsup
31381 maybe-install-target-winsup: install-target-winsup
31383 install-target-winsup: installdirs
31384 @: $(MAKE); $(unstage)
31385 @r=`${PWD_COMMAND}`; export r; \
31386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31387 $(NORMAL_TARGET_EXPORTS) \
31388 (cd $(TARGET_SUBDIR)/winsup && \
31389 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31391 @endif target-winsup
31393 # Other targets (info, dvi, etc.)
31395 .PHONY: maybe-info-target-winsup info-target-winsup
31396 maybe-info-target-winsup:
31397 @if target-winsup
31398 maybe-info-target-winsup: info-target-winsup
31400 info-target-winsup: \
31401 configure-target-winsup
31402 @: $(MAKE); $(unstage)
31403 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31404 r=`${PWD_COMMAND}`; export r; \
31405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31406 $(NORMAL_TARGET_EXPORTS) \
31407 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31408 for flag in $(EXTRA_TARGET_FLAGS); do \
31409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31410 done; \
31411 (cd $(TARGET_SUBDIR)/winsup && \
31412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31414 "RANLIB=$${RANLIB}" \
31415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31416 info) \
31417 || exit 1
31419 @endif target-winsup
31421 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31422 maybe-dvi-target-winsup:
31423 @if target-winsup
31424 maybe-dvi-target-winsup: dvi-target-winsup
31426 dvi-target-winsup: \
31427 configure-target-winsup
31428 @: $(MAKE); $(unstage)
31429 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31430 r=`${PWD_COMMAND}`; export r; \
31431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31432 $(NORMAL_TARGET_EXPORTS) \
31433 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31434 for flag in $(EXTRA_TARGET_FLAGS); do \
31435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31436 done; \
31437 (cd $(TARGET_SUBDIR)/winsup && \
31438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31440 "RANLIB=$${RANLIB}" \
31441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31442 dvi) \
31443 || exit 1
31445 @endif target-winsup
31447 .PHONY: maybe-html-target-winsup html-target-winsup
31448 maybe-html-target-winsup:
31449 @if target-winsup
31450 maybe-html-target-winsup: html-target-winsup
31452 html-target-winsup: \
31453 configure-target-winsup
31454 @: $(MAKE); $(unstage)
31455 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31456 r=`${PWD_COMMAND}`; export r; \
31457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31458 $(NORMAL_TARGET_EXPORTS) \
31459 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31460 for flag in $(EXTRA_TARGET_FLAGS); do \
31461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31462 done; \
31463 (cd $(TARGET_SUBDIR)/winsup && \
31464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31466 "RANLIB=$${RANLIB}" \
31467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31468 html) \
31469 || exit 1
31471 @endif target-winsup
31473 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31474 maybe-TAGS-target-winsup:
31475 @if target-winsup
31476 maybe-TAGS-target-winsup: TAGS-target-winsup
31478 TAGS-target-winsup: \
31479 configure-target-winsup
31480 @: $(MAKE); $(unstage)
31481 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31482 r=`${PWD_COMMAND}`; export r; \
31483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31484 $(NORMAL_TARGET_EXPORTS) \
31485 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31486 for flag in $(EXTRA_TARGET_FLAGS); do \
31487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31488 done; \
31489 (cd $(TARGET_SUBDIR)/winsup && \
31490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31492 "RANLIB=$${RANLIB}" \
31493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31494 TAGS) \
31495 || exit 1
31497 @endif target-winsup
31499 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31500 maybe-install-info-target-winsup:
31501 @if target-winsup
31502 maybe-install-info-target-winsup: install-info-target-winsup
31504 install-info-target-winsup: \
31505 configure-target-winsup \
31506 info-target-winsup
31507 @: $(MAKE); $(unstage)
31508 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31509 r=`${PWD_COMMAND}`; export r; \
31510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31511 $(NORMAL_TARGET_EXPORTS) \
31512 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31513 for flag in $(EXTRA_TARGET_FLAGS); do \
31514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31515 done; \
31516 (cd $(TARGET_SUBDIR)/winsup && \
31517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31519 "RANLIB=$${RANLIB}" \
31520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31521 install-info) \
31522 || exit 1
31524 @endif target-winsup
31526 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31527 maybe-installcheck-target-winsup:
31528 @if target-winsup
31529 maybe-installcheck-target-winsup: installcheck-target-winsup
31531 installcheck-target-winsup: \
31532 configure-target-winsup
31533 @: $(MAKE); $(unstage)
31534 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31535 r=`${PWD_COMMAND}`; export r; \
31536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31537 $(NORMAL_TARGET_EXPORTS) \
31538 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31539 for flag in $(EXTRA_TARGET_FLAGS); do \
31540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31541 done; \
31542 (cd $(TARGET_SUBDIR)/winsup && \
31543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31545 "RANLIB=$${RANLIB}" \
31546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31547 installcheck) \
31548 || exit 1
31550 @endif target-winsup
31552 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31553 maybe-mostlyclean-target-winsup:
31554 @if target-winsup
31555 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31557 mostlyclean-target-winsup:
31558 @: $(MAKE); $(unstage)
31559 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31560 r=`${PWD_COMMAND}`; export r; \
31561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31562 $(NORMAL_TARGET_EXPORTS) \
31563 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31564 for flag in $(EXTRA_TARGET_FLAGS); do \
31565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31566 done; \
31567 (cd $(TARGET_SUBDIR)/winsup && \
31568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31570 "RANLIB=$${RANLIB}" \
31571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31572 mostlyclean) \
31573 || exit 1
31575 @endif target-winsup
31577 .PHONY: maybe-clean-target-winsup clean-target-winsup
31578 maybe-clean-target-winsup:
31579 @if target-winsup
31580 maybe-clean-target-winsup: clean-target-winsup
31582 clean-target-winsup:
31583 @: $(MAKE); $(unstage)
31584 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31585 r=`${PWD_COMMAND}`; export r; \
31586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31587 $(NORMAL_TARGET_EXPORTS) \
31588 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31589 for flag in $(EXTRA_TARGET_FLAGS); do \
31590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31591 done; \
31592 (cd $(TARGET_SUBDIR)/winsup && \
31593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31595 "RANLIB=$${RANLIB}" \
31596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31597 clean) \
31598 || exit 1
31600 @endif target-winsup
31602 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31603 maybe-distclean-target-winsup:
31604 @if target-winsup
31605 maybe-distclean-target-winsup: distclean-target-winsup
31607 distclean-target-winsup:
31608 @: $(MAKE); $(unstage)
31609 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31610 r=`${PWD_COMMAND}`; export r; \
31611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31612 $(NORMAL_TARGET_EXPORTS) \
31613 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31614 for flag in $(EXTRA_TARGET_FLAGS); do \
31615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31616 done; \
31617 (cd $(TARGET_SUBDIR)/winsup && \
31618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31620 "RANLIB=$${RANLIB}" \
31621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31622 distclean) \
31623 || exit 1
31625 @endif target-winsup
31627 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31628 maybe-maintainer-clean-target-winsup:
31629 @if target-winsup
31630 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31632 maintainer-clean-target-winsup:
31633 @: $(MAKE); $(unstage)
31634 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31635 r=`${PWD_COMMAND}`; export r; \
31636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31637 $(NORMAL_TARGET_EXPORTS) \
31638 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31639 for flag in $(EXTRA_TARGET_FLAGS); do \
31640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31641 done; \
31642 (cd $(TARGET_SUBDIR)/winsup && \
31643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31645 "RANLIB=$${RANLIB}" \
31646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31647 maintainer-clean) \
31648 || exit 1
31650 @endif target-winsup
31656 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31657 maybe-configure-target-libgloss:
31658 @if target-libgloss
31659 maybe-configure-target-libgloss: configure-target-libgloss
31660 configure-target-libgloss:
31661 @: $(MAKE); $(unstage)
31662 @r=`${PWD_COMMAND}`; export r; \
31663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31664 echo "Checking multilib configuration for libgloss..."; \
31665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31666 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
31667 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31668 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31669 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
31670 else \
31671 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
31672 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31673 fi; \
31674 else \
31675 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31677 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31678 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31679 r=`${PWD_COMMAND}`; export r; \
31680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31681 $(NORMAL_TARGET_EXPORTS) \
31682 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31683 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31684 case $(srcdir) in \
31685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31686 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31688 esac; \
31689 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31690 libsrcdir="$$s/libgloss"; \
31691 rm -f no-such-file || : ; \
31692 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31693 $(TARGET_CONFIGARGS) $${srcdiroption} \
31694 || exit 1
31695 @endif target-libgloss
31701 .PHONY: all-target-libgloss maybe-all-target-libgloss
31702 maybe-all-target-libgloss:
31703 @if target-libgloss
31704 TARGET-target-libgloss=all
31705 maybe-all-target-libgloss: all-target-libgloss
31706 all-target-libgloss: configure-target-libgloss
31707 @: $(MAKE); $(unstage)
31708 @r=`${PWD_COMMAND}`; export r; \
31709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31710 $(NORMAL_TARGET_EXPORTS) \
31711 (cd $(TARGET_SUBDIR)/libgloss && \
31712 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31713 @endif target-libgloss
31719 .PHONY: check-target-libgloss maybe-check-target-libgloss
31720 maybe-check-target-libgloss:
31721 @if target-libgloss
31722 maybe-check-target-libgloss: check-target-libgloss
31724 # Dummy target for uncheckable module.
31725 check-target-libgloss:
31727 @endif target-libgloss
31729 .PHONY: install-target-libgloss maybe-install-target-libgloss
31730 maybe-install-target-libgloss:
31731 @if target-libgloss
31732 maybe-install-target-libgloss: install-target-libgloss
31734 install-target-libgloss: installdirs
31735 @: $(MAKE); $(unstage)
31736 @r=`${PWD_COMMAND}`; export r; \
31737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31738 $(NORMAL_TARGET_EXPORTS) \
31739 (cd $(TARGET_SUBDIR)/libgloss && \
31740 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31742 @endif target-libgloss
31744 # Other targets (info, dvi, etc.)
31746 .PHONY: maybe-info-target-libgloss info-target-libgloss
31747 maybe-info-target-libgloss:
31748 @if target-libgloss
31749 maybe-info-target-libgloss: info-target-libgloss
31751 info-target-libgloss: \
31752 configure-target-libgloss
31753 @: $(MAKE); $(unstage)
31754 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31755 r=`${PWD_COMMAND}`; export r; \
31756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31757 $(NORMAL_TARGET_EXPORTS) \
31758 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31759 for flag in $(EXTRA_TARGET_FLAGS); do \
31760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31761 done; \
31762 (cd $(TARGET_SUBDIR)/libgloss && \
31763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31765 "RANLIB=$${RANLIB}" \
31766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31767 info) \
31768 || exit 1
31770 @endif target-libgloss
31772 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31773 maybe-dvi-target-libgloss:
31774 @if target-libgloss
31775 maybe-dvi-target-libgloss: dvi-target-libgloss
31777 dvi-target-libgloss: \
31778 configure-target-libgloss
31779 @: $(MAKE); $(unstage)
31780 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31781 r=`${PWD_COMMAND}`; export r; \
31782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31783 $(NORMAL_TARGET_EXPORTS) \
31784 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31785 for flag in $(EXTRA_TARGET_FLAGS); do \
31786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31787 done; \
31788 (cd $(TARGET_SUBDIR)/libgloss && \
31789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31791 "RANLIB=$${RANLIB}" \
31792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31793 dvi) \
31794 || exit 1
31796 @endif target-libgloss
31798 .PHONY: maybe-html-target-libgloss html-target-libgloss
31799 maybe-html-target-libgloss:
31800 @if target-libgloss
31801 maybe-html-target-libgloss: html-target-libgloss
31803 html-target-libgloss: \
31804 configure-target-libgloss
31805 @: $(MAKE); $(unstage)
31806 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31807 r=`${PWD_COMMAND}`; export r; \
31808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31809 $(NORMAL_TARGET_EXPORTS) \
31810 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31811 for flag in $(EXTRA_TARGET_FLAGS); do \
31812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31813 done; \
31814 (cd $(TARGET_SUBDIR)/libgloss && \
31815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31817 "RANLIB=$${RANLIB}" \
31818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31819 html) \
31820 || exit 1
31822 @endif target-libgloss
31824 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31825 maybe-TAGS-target-libgloss:
31826 @if target-libgloss
31827 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31829 TAGS-target-libgloss: \
31830 configure-target-libgloss
31831 @: $(MAKE); $(unstage)
31832 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31833 r=`${PWD_COMMAND}`; export r; \
31834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31835 $(NORMAL_TARGET_EXPORTS) \
31836 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31837 for flag in $(EXTRA_TARGET_FLAGS); do \
31838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31839 done; \
31840 (cd $(TARGET_SUBDIR)/libgloss && \
31841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31843 "RANLIB=$${RANLIB}" \
31844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31845 TAGS) \
31846 || exit 1
31848 @endif target-libgloss
31850 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31851 maybe-install-info-target-libgloss:
31852 @if target-libgloss
31853 maybe-install-info-target-libgloss: install-info-target-libgloss
31855 install-info-target-libgloss: \
31856 configure-target-libgloss \
31857 info-target-libgloss
31858 @: $(MAKE); $(unstage)
31859 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31860 r=`${PWD_COMMAND}`; export r; \
31861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31862 $(NORMAL_TARGET_EXPORTS) \
31863 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31864 for flag in $(EXTRA_TARGET_FLAGS); do \
31865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31866 done; \
31867 (cd $(TARGET_SUBDIR)/libgloss && \
31868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31870 "RANLIB=$${RANLIB}" \
31871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31872 install-info) \
31873 || exit 1
31875 @endif target-libgloss
31877 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31878 maybe-installcheck-target-libgloss:
31879 @if target-libgloss
31880 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31882 installcheck-target-libgloss: \
31883 configure-target-libgloss
31884 @: $(MAKE); $(unstage)
31885 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31886 r=`${PWD_COMMAND}`; export r; \
31887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31888 $(NORMAL_TARGET_EXPORTS) \
31889 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31890 for flag in $(EXTRA_TARGET_FLAGS); do \
31891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31892 done; \
31893 (cd $(TARGET_SUBDIR)/libgloss && \
31894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31896 "RANLIB=$${RANLIB}" \
31897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31898 installcheck) \
31899 || exit 1
31901 @endif target-libgloss
31903 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31904 maybe-mostlyclean-target-libgloss:
31905 @if target-libgloss
31906 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31908 mostlyclean-target-libgloss:
31909 @: $(MAKE); $(unstage)
31910 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31911 r=`${PWD_COMMAND}`; export r; \
31912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31913 $(NORMAL_TARGET_EXPORTS) \
31914 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31915 for flag in $(EXTRA_TARGET_FLAGS); do \
31916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31917 done; \
31918 (cd $(TARGET_SUBDIR)/libgloss && \
31919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31921 "RANLIB=$${RANLIB}" \
31922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31923 mostlyclean) \
31924 || exit 1
31926 @endif target-libgloss
31928 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31929 maybe-clean-target-libgloss:
31930 @if target-libgloss
31931 maybe-clean-target-libgloss: clean-target-libgloss
31933 clean-target-libgloss:
31934 @: $(MAKE); $(unstage)
31935 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31936 r=`${PWD_COMMAND}`; export r; \
31937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31938 $(NORMAL_TARGET_EXPORTS) \
31939 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31940 for flag in $(EXTRA_TARGET_FLAGS); do \
31941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31942 done; \
31943 (cd $(TARGET_SUBDIR)/libgloss && \
31944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31946 "RANLIB=$${RANLIB}" \
31947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31948 clean) \
31949 || exit 1
31951 @endif target-libgloss
31953 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31954 maybe-distclean-target-libgloss:
31955 @if target-libgloss
31956 maybe-distclean-target-libgloss: distclean-target-libgloss
31958 distclean-target-libgloss:
31959 @: $(MAKE); $(unstage)
31960 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31961 r=`${PWD_COMMAND}`; export r; \
31962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31963 $(NORMAL_TARGET_EXPORTS) \
31964 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31965 for flag in $(EXTRA_TARGET_FLAGS); do \
31966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31967 done; \
31968 (cd $(TARGET_SUBDIR)/libgloss && \
31969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31971 "RANLIB=$${RANLIB}" \
31972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31973 distclean) \
31974 || exit 1
31976 @endif target-libgloss
31978 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31979 maybe-maintainer-clean-target-libgloss:
31980 @if target-libgloss
31981 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31983 maintainer-clean-target-libgloss:
31984 @: $(MAKE); $(unstage)
31985 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31986 r=`${PWD_COMMAND}`; export r; \
31987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31988 $(NORMAL_TARGET_EXPORTS) \
31989 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31990 for flag in $(EXTRA_TARGET_FLAGS); do \
31991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31992 done; \
31993 (cd $(TARGET_SUBDIR)/libgloss && \
31994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31996 "RANLIB=$${RANLIB}" \
31997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31998 maintainer-clean) \
31999 || exit 1
32001 @endif target-libgloss
32007 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32008 maybe-configure-target-libiberty:
32009 @if target-libiberty
32010 maybe-configure-target-libiberty: configure-target-libiberty
32011 configure-target-libiberty:
32012 @: $(MAKE); $(unstage)
32013 @r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 echo "Checking multilib configuration for libiberty..."; \
32016 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32017 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32018 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32019 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32020 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32021 else \
32022 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32023 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32024 fi; \
32025 else \
32026 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32028 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32030 r=`${PWD_COMMAND}`; export r; \
32031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32032 $(NORMAL_TARGET_EXPORTS) \
32033 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32034 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32035 case $(srcdir) in \
32036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32037 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32039 esac; \
32040 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32041 libsrcdir="$$s/libiberty"; \
32042 rm -f no-such-file || : ; \
32043 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32044 $(TARGET_CONFIGARGS) $${srcdiroption} \
32045 || exit 1
32046 @endif target-libiberty
32052 .PHONY: all-target-libiberty maybe-all-target-libiberty
32053 maybe-all-target-libiberty:
32054 @if target-libiberty
32055 TARGET-target-libiberty=all
32056 maybe-all-target-libiberty: all-target-libiberty
32057 all-target-libiberty: configure-target-libiberty
32058 @: $(MAKE); $(unstage)
32059 @r=`${PWD_COMMAND}`; export r; \
32060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32061 $(NORMAL_TARGET_EXPORTS) \
32062 (cd $(TARGET_SUBDIR)/libiberty && \
32063 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32064 @endif target-libiberty
32070 .PHONY: check-target-libiberty maybe-check-target-libiberty
32071 maybe-check-target-libiberty:
32072 @if target-libiberty
32073 maybe-check-target-libiberty: check-target-libiberty
32075 check-target-libiberty:
32076 @: $(MAKE); $(unstage)
32077 @r=`${PWD_COMMAND}`; export r; \
32078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32079 $(NORMAL_TARGET_EXPORTS) \
32080 (cd $(TARGET_SUBDIR)/libiberty && \
32081 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32083 @endif target-libiberty
32085 .PHONY: install-target-libiberty maybe-install-target-libiberty
32086 maybe-install-target-libiberty:
32087 @if target-libiberty
32088 maybe-install-target-libiberty: install-target-libiberty
32090 install-target-libiberty: installdirs
32091 @: $(MAKE); $(unstage)
32092 @r=`${PWD_COMMAND}`; export r; \
32093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32094 $(NORMAL_TARGET_EXPORTS) \
32095 (cd $(TARGET_SUBDIR)/libiberty && \
32096 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32098 @endif target-libiberty
32100 # Other targets (info, dvi, etc.)
32102 .PHONY: maybe-info-target-libiberty info-target-libiberty
32103 maybe-info-target-libiberty:
32104 @if target-libiberty
32105 maybe-info-target-libiberty: info-target-libiberty
32107 info-target-libiberty: \
32108 configure-target-libiberty
32109 @: $(MAKE); $(unstage)
32110 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32111 r=`${PWD_COMMAND}`; export r; \
32112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32113 $(NORMAL_TARGET_EXPORTS) \
32114 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32115 for flag in $(EXTRA_TARGET_FLAGS); do \
32116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32117 done; \
32118 (cd $(TARGET_SUBDIR)/libiberty && \
32119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32121 "RANLIB=$${RANLIB}" \
32122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32123 info) \
32124 || exit 1
32126 @endif target-libiberty
32128 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32129 maybe-dvi-target-libiberty:
32130 @if target-libiberty
32131 maybe-dvi-target-libiberty: dvi-target-libiberty
32133 dvi-target-libiberty: \
32134 configure-target-libiberty
32135 @: $(MAKE); $(unstage)
32136 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32137 r=`${PWD_COMMAND}`; export r; \
32138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32139 $(NORMAL_TARGET_EXPORTS) \
32140 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32141 for flag in $(EXTRA_TARGET_FLAGS); do \
32142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32143 done; \
32144 (cd $(TARGET_SUBDIR)/libiberty && \
32145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32147 "RANLIB=$${RANLIB}" \
32148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32149 dvi) \
32150 || exit 1
32152 @endif target-libiberty
32154 .PHONY: maybe-html-target-libiberty html-target-libiberty
32155 maybe-html-target-libiberty:
32156 @if target-libiberty
32157 maybe-html-target-libiberty: html-target-libiberty
32159 html-target-libiberty: \
32160 configure-target-libiberty
32161 @: $(MAKE); $(unstage)
32162 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32163 r=`${PWD_COMMAND}`; export r; \
32164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32165 $(NORMAL_TARGET_EXPORTS) \
32166 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32167 for flag in $(EXTRA_TARGET_FLAGS); do \
32168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32169 done; \
32170 (cd $(TARGET_SUBDIR)/libiberty && \
32171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32173 "RANLIB=$${RANLIB}" \
32174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32175 html) \
32176 || exit 1
32178 @endif target-libiberty
32180 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32181 maybe-TAGS-target-libiberty:
32182 @if target-libiberty
32183 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32185 TAGS-target-libiberty: \
32186 configure-target-libiberty
32187 @: $(MAKE); $(unstage)
32188 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32189 r=`${PWD_COMMAND}`; export r; \
32190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32191 $(NORMAL_TARGET_EXPORTS) \
32192 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32193 for flag in $(EXTRA_TARGET_FLAGS); do \
32194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32195 done; \
32196 (cd $(TARGET_SUBDIR)/libiberty && \
32197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32199 "RANLIB=$${RANLIB}" \
32200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32201 TAGS) \
32202 || exit 1
32204 @endif target-libiberty
32206 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32207 maybe-install-info-target-libiberty:
32208 @if target-libiberty
32209 maybe-install-info-target-libiberty: install-info-target-libiberty
32211 install-info-target-libiberty: \
32212 configure-target-libiberty \
32213 info-target-libiberty
32214 @: $(MAKE); $(unstage)
32215 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32216 r=`${PWD_COMMAND}`; export r; \
32217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32218 $(NORMAL_TARGET_EXPORTS) \
32219 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32220 for flag in $(EXTRA_TARGET_FLAGS); do \
32221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32222 done; \
32223 (cd $(TARGET_SUBDIR)/libiberty && \
32224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32226 "RANLIB=$${RANLIB}" \
32227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32228 install-info) \
32229 || exit 1
32231 @endif target-libiberty
32233 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32234 maybe-installcheck-target-libiberty:
32235 @if target-libiberty
32236 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32238 installcheck-target-libiberty: \
32239 configure-target-libiberty
32240 @: $(MAKE); $(unstage)
32241 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32242 r=`${PWD_COMMAND}`; export r; \
32243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32244 $(NORMAL_TARGET_EXPORTS) \
32245 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32246 for flag in $(EXTRA_TARGET_FLAGS); do \
32247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32248 done; \
32249 (cd $(TARGET_SUBDIR)/libiberty && \
32250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32252 "RANLIB=$${RANLIB}" \
32253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32254 installcheck) \
32255 || exit 1
32257 @endif target-libiberty
32259 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32260 maybe-mostlyclean-target-libiberty:
32261 @if target-libiberty
32262 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32264 mostlyclean-target-libiberty:
32265 @: $(MAKE); $(unstage)
32266 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32267 r=`${PWD_COMMAND}`; export r; \
32268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32269 $(NORMAL_TARGET_EXPORTS) \
32270 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32271 for flag in $(EXTRA_TARGET_FLAGS); do \
32272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32273 done; \
32274 (cd $(TARGET_SUBDIR)/libiberty && \
32275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32277 "RANLIB=$${RANLIB}" \
32278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32279 mostlyclean) \
32280 || exit 1
32282 @endif target-libiberty
32284 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32285 maybe-clean-target-libiberty:
32286 @if target-libiberty
32287 maybe-clean-target-libiberty: clean-target-libiberty
32289 clean-target-libiberty:
32290 @: $(MAKE); $(unstage)
32291 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32292 r=`${PWD_COMMAND}`; export r; \
32293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32294 $(NORMAL_TARGET_EXPORTS) \
32295 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32296 for flag in $(EXTRA_TARGET_FLAGS); do \
32297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32298 done; \
32299 (cd $(TARGET_SUBDIR)/libiberty && \
32300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32302 "RANLIB=$${RANLIB}" \
32303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32304 clean) \
32305 || exit 1
32307 @endif target-libiberty
32309 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32310 maybe-distclean-target-libiberty:
32311 @if target-libiberty
32312 maybe-distclean-target-libiberty: distclean-target-libiberty
32314 distclean-target-libiberty:
32315 @: $(MAKE); $(unstage)
32316 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32317 r=`${PWD_COMMAND}`; export r; \
32318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32319 $(NORMAL_TARGET_EXPORTS) \
32320 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32321 for flag in $(EXTRA_TARGET_FLAGS); do \
32322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32323 done; \
32324 (cd $(TARGET_SUBDIR)/libiberty && \
32325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32327 "RANLIB=$${RANLIB}" \
32328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32329 distclean) \
32330 || exit 1
32332 @endif target-libiberty
32334 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32335 maybe-maintainer-clean-target-libiberty:
32336 @if target-libiberty
32337 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32339 maintainer-clean-target-libiberty:
32340 @: $(MAKE); $(unstage)
32341 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32342 r=`${PWD_COMMAND}`; export r; \
32343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32344 $(NORMAL_TARGET_EXPORTS) \
32345 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32346 for flag in $(EXTRA_TARGET_FLAGS); do \
32347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32348 done; \
32349 (cd $(TARGET_SUBDIR)/libiberty && \
32350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32352 "RANLIB=$${RANLIB}" \
32353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32354 maintainer-clean) \
32355 || exit 1
32357 @endif target-libiberty
32363 .PHONY: configure-target-gperf maybe-configure-target-gperf
32364 maybe-configure-target-gperf:
32365 @if target-gperf
32366 maybe-configure-target-gperf: configure-target-gperf
32367 configure-target-gperf:
32368 @: $(MAKE); $(unstage)
32369 @r=`${PWD_COMMAND}`; export r; \
32370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32371 echo "Checking multilib configuration for gperf..."; \
32372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32374 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32375 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32376 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32377 else \
32378 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32379 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32380 fi; \
32381 else \
32382 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32384 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32386 r=`${PWD_COMMAND}`; export r; \
32387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32388 $(NORMAL_TARGET_EXPORTS) \
32389 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32390 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32391 case $(srcdir) in \
32392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32393 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32395 esac; \
32396 srcdiroption="--srcdir=$${topdir}/gperf"; \
32397 libsrcdir="$$s/gperf"; \
32398 rm -f no-such-file || : ; \
32399 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32400 $(TARGET_CONFIGARGS) $${srcdiroption} \
32401 || exit 1
32402 @endif target-gperf
32408 .PHONY: all-target-gperf maybe-all-target-gperf
32409 maybe-all-target-gperf:
32410 @if target-gperf
32411 TARGET-target-gperf=all
32412 maybe-all-target-gperf: all-target-gperf
32413 all-target-gperf: configure-target-gperf
32414 @: $(MAKE); $(unstage)
32415 @r=`${PWD_COMMAND}`; export r; \
32416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32417 $(NORMAL_TARGET_EXPORTS) \
32418 (cd $(TARGET_SUBDIR)/gperf && \
32419 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32420 @endif target-gperf
32426 .PHONY: check-target-gperf maybe-check-target-gperf
32427 maybe-check-target-gperf:
32428 @if target-gperf
32429 maybe-check-target-gperf: check-target-gperf
32431 check-target-gperf:
32432 @: $(MAKE); $(unstage)
32433 @r=`${PWD_COMMAND}`; export r; \
32434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32435 $(NORMAL_TARGET_EXPORTS) \
32436 (cd $(TARGET_SUBDIR)/gperf && \
32437 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32439 @endif target-gperf
32441 .PHONY: install-target-gperf maybe-install-target-gperf
32442 maybe-install-target-gperf:
32443 @if target-gperf
32444 maybe-install-target-gperf: install-target-gperf
32446 install-target-gperf: installdirs
32447 @: $(MAKE); $(unstage)
32448 @r=`${PWD_COMMAND}`; export r; \
32449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32450 $(NORMAL_TARGET_EXPORTS) \
32451 (cd $(TARGET_SUBDIR)/gperf && \
32452 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32454 @endif target-gperf
32456 # Other targets (info, dvi, etc.)
32458 .PHONY: maybe-info-target-gperf info-target-gperf
32459 maybe-info-target-gperf:
32460 @if target-gperf
32461 maybe-info-target-gperf: info-target-gperf
32463 info-target-gperf: \
32464 configure-target-gperf
32465 @: $(MAKE); $(unstage)
32466 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32467 r=`${PWD_COMMAND}`; export r; \
32468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32469 $(NORMAL_TARGET_EXPORTS) \
32470 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32471 for flag in $(EXTRA_TARGET_FLAGS); do \
32472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32473 done; \
32474 (cd $(TARGET_SUBDIR)/gperf && \
32475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32477 "RANLIB=$${RANLIB}" \
32478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32479 info) \
32480 || exit 1
32482 @endif target-gperf
32484 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32485 maybe-dvi-target-gperf:
32486 @if target-gperf
32487 maybe-dvi-target-gperf: dvi-target-gperf
32489 dvi-target-gperf: \
32490 configure-target-gperf
32491 @: $(MAKE); $(unstage)
32492 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32493 r=`${PWD_COMMAND}`; export r; \
32494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32495 $(NORMAL_TARGET_EXPORTS) \
32496 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32497 for flag in $(EXTRA_TARGET_FLAGS); do \
32498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32499 done; \
32500 (cd $(TARGET_SUBDIR)/gperf && \
32501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32503 "RANLIB=$${RANLIB}" \
32504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32505 dvi) \
32506 || exit 1
32508 @endif target-gperf
32510 .PHONY: maybe-html-target-gperf html-target-gperf
32511 maybe-html-target-gperf:
32512 @if target-gperf
32513 maybe-html-target-gperf: html-target-gperf
32515 html-target-gperf: \
32516 configure-target-gperf
32517 @: $(MAKE); $(unstage)
32518 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32519 r=`${PWD_COMMAND}`; export r; \
32520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32521 $(NORMAL_TARGET_EXPORTS) \
32522 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32523 for flag in $(EXTRA_TARGET_FLAGS); do \
32524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 done; \
32526 (cd $(TARGET_SUBDIR)/gperf && \
32527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32529 "RANLIB=$${RANLIB}" \
32530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32531 html) \
32532 || exit 1
32534 @endif target-gperf
32536 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32537 maybe-TAGS-target-gperf:
32538 @if target-gperf
32539 maybe-TAGS-target-gperf: TAGS-target-gperf
32541 TAGS-target-gperf: \
32542 configure-target-gperf
32543 @: $(MAKE); $(unstage)
32544 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32545 r=`${PWD_COMMAND}`; export r; \
32546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32547 $(NORMAL_TARGET_EXPORTS) \
32548 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32549 for flag in $(EXTRA_TARGET_FLAGS); do \
32550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32551 done; \
32552 (cd $(TARGET_SUBDIR)/gperf && \
32553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32555 "RANLIB=$${RANLIB}" \
32556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32557 TAGS) \
32558 || exit 1
32560 @endif target-gperf
32562 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32563 maybe-install-info-target-gperf:
32564 @if target-gperf
32565 maybe-install-info-target-gperf: install-info-target-gperf
32567 install-info-target-gperf: \
32568 configure-target-gperf \
32569 info-target-gperf
32570 @: $(MAKE); $(unstage)
32571 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32572 r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 $(NORMAL_TARGET_EXPORTS) \
32575 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32576 for flag in $(EXTRA_TARGET_FLAGS); do \
32577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32578 done; \
32579 (cd $(TARGET_SUBDIR)/gperf && \
32580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32582 "RANLIB=$${RANLIB}" \
32583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32584 install-info) \
32585 || exit 1
32587 @endif target-gperf
32589 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32590 maybe-installcheck-target-gperf:
32591 @if target-gperf
32592 maybe-installcheck-target-gperf: installcheck-target-gperf
32594 installcheck-target-gperf: \
32595 configure-target-gperf
32596 @: $(MAKE); $(unstage)
32597 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32598 r=`${PWD_COMMAND}`; export r; \
32599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32600 $(NORMAL_TARGET_EXPORTS) \
32601 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32602 for flag in $(EXTRA_TARGET_FLAGS); do \
32603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32604 done; \
32605 (cd $(TARGET_SUBDIR)/gperf && \
32606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32608 "RANLIB=$${RANLIB}" \
32609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32610 installcheck) \
32611 || exit 1
32613 @endif target-gperf
32615 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32616 maybe-mostlyclean-target-gperf:
32617 @if target-gperf
32618 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32620 mostlyclean-target-gperf:
32621 @: $(MAKE); $(unstage)
32622 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32623 r=`${PWD_COMMAND}`; export r; \
32624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32625 $(NORMAL_TARGET_EXPORTS) \
32626 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32627 for flag in $(EXTRA_TARGET_FLAGS); do \
32628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32629 done; \
32630 (cd $(TARGET_SUBDIR)/gperf && \
32631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32633 "RANLIB=$${RANLIB}" \
32634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32635 mostlyclean) \
32636 || exit 1
32638 @endif target-gperf
32640 .PHONY: maybe-clean-target-gperf clean-target-gperf
32641 maybe-clean-target-gperf:
32642 @if target-gperf
32643 maybe-clean-target-gperf: clean-target-gperf
32645 clean-target-gperf:
32646 @: $(MAKE); $(unstage)
32647 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32648 r=`${PWD_COMMAND}`; export r; \
32649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32650 $(NORMAL_TARGET_EXPORTS) \
32651 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32652 for flag in $(EXTRA_TARGET_FLAGS); do \
32653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32654 done; \
32655 (cd $(TARGET_SUBDIR)/gperf && \
32656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32658 "RANLIB=$${RANLIB}" \
32659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32660 clean) \
32661 || exit 1
32663 @endif target-gperf
32665 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32666 maybe-distclean-target-gperf:
32667 @if target-gperf
32668 maybe-distclean-target-gperf: distclean-target-gperf
32670 distclean-target-gperf:
32671 @: $(MAKE); $(unstage)
32672 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32673 r=`${PWD_COMMAND}`; export r; \
32674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32675 $(NORMAL_TARGET_EXPORTS) \
32676 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32677 for flag in $(EXTRA_TARGET_FLAGS); do \
32678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32679 done; \
32680 (cd $(TARGET_SUBDIR)/gperf && \
32681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32683 "RANLIB=$${RANLIB}" \
32684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32685 distclean) \
32686 || exit 1
32688 @endif target-gperf
32690 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32691 maybe-maintainer-clean-target-gperf:
32692 @if target-gperf
32693 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32695 maintainer-clean-target-gperf:
32696 @: $(MAKE); $(unstage)
32697 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32698 r=`${PWD_COMMAND}`; export r; \
32699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32700 $(NORMAL_TARGET_EXPORTS) \
32701 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32702 for flag in $(EXTRA_TARGET_FLAGS); do \
32703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32704 done; \
32705 (cd $(TARGET_SUBDIR)/gperf && \
32706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32708 "RANLIB=$${RANLIB}" \
32709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32710 maintainer-clean) \
32711 || exit 1
32713 @endif target-gperf
32719 .PHONY: configure-target-examples maybe-configure-target-examples
32720 maybe-configure-target-examples:
32721 @if target-examples
32722 maybe-configure-target-examples: configure-target-examples
32723 configure-target-examples:
32724 @: $(MAKE); $(unstage)
32725 @r=`${PWD_COMMAND}`; export r; \
32726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32727 echo "Checking multilib configuration for examples..."; \
32728 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32729 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
32730 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
32731 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
32732 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
32733 else \
32734 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
32735 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32736 fi; \
32737 else \
32738 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32740 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32741 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32742 r=`${PWD_COMMAND}`; export r; \
32743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32744 $(NORMAL_TARGET_EXPORTS) \
32745 echo Configuring in $(TARGET_SUBDIR)/examples; \
32746 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32747 case $(srcdir) in \
32748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32749 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32751 esac; \
32752 srcdiroption="--srcdir=$${topdir}/examples"; \
32753 libsrcdir="$$s/examples"; \
32754 rm -f no-such-file || : ; \
32755 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32756 $(TARGET_CONFIGARGS) $${srcdiroption} \
32757 || exit 1
32758 @endif target-examples
32764 .PHONY: all-target-examples maybe-all-target-examples
32765 maybe-all-target-examples:
32766 @if target-examples
32767 TARGET-target-examples=all
32768 maybe-all-target-examples: all-target-examples
32769 all-target-examples: configure-target-examples
32770 @: $(MAKE); $(unstage)
32771 @r=`${PWD_COMMAND}`; export r; \
32772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32773 $(NORMAL_TARGET_EXPORTS) \
32774 (cd $(TARGET_SUBDIR)/examples && \
32775 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32776 @endif target-examples
32782 .PHONY: check-target-examples maybe-check-target-examples
32783 maybe-check-target-examples:
32784 @if target-examples
32785 maybe-check-target-examples: check-target-examples
32787 # Dummy target for uncheckable module.
32788 check-target-examples:
32790 @endif target-examples
32792 .PHONY: install-target-examples maybe-install-target-examples
32793 maybe-install-target-examples:
32794 @if target-examples
32795 maybe-install-target-examples: install-target-examples
32797 # Dummy target for uninstallable.
32798 install-target-examples:
32800 @endif target-examples
32802 # Other targets (info, dvi, etc.)
32804 .PHONY: maybe-info-target-examples info-target-examples
32805 maybe-info-target-examples:
32806 @if target-examples
32807 maybe-info-target-examples: info-target-examples
32809 info-target-examples: \
32810 configure-target-examples
32811 @: $(MAKE); $(unstage)
32812 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32813 r=`${PWD_COMMAND}`; export r; \
32814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32815 $(NORMAL_TARGET_EXPORTS) \
32816 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32817 for flag in $(EXTRA_TARGET_FLAGS); do \
32818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32819 done; \
32820 (cd $(TARGET_SUBDIR)/examples && \
32821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32823 "RANLIB=$${RANLIB}" \
32824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32825 info) \
32826 || exit 1
32828 @endif target-examples
32830 .PHONY: maybe-dvi-target-examples dvi-target-examples
32831 maybe-dvi-target-examples:
32832 @if target-examples
32833 maybe-dvi-target-examples: dvi-target-examples
32835 dvi-target-examples: \
32836 configure-target-examples
32837 @: $(MAKE); $(unstage)
32838 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32839 r=`${PWD_COMMAND}`; export r; \
32840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32841 $(NORMAL_TARGET_EXPORTS) \
32842 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32843 for flag in $(EXTRA_TARGET_FLAGS); do \
32844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32845 done; \
32846 (cd $(TARGET_SUBDIR)/examples && \
32847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32849 "RANLIB=$${RANLIB}" \
32850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32851 dvi) \
32852 || exit 1
32854 @endif target-examples
32856 .PHONY: maybe-html-target-examples html-target-examples
32857 maybe-html-target-examples:
32858 @if target-examples
32859 maybe-html-target-examples: html-target-examples
32861 html-target-examples: \
32862 configure-target-examples
32863 @: $(MAKE); $(unstage)
32864 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32865 r=`${PWD_COMMAND}`; export r; \
32866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32867 $(NORMAL_TARGET_EXPORTS) \
32868 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32869 for flag in $(EXTRA_TARGET_FLAGS); do \
32870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32871 done; \
32872 (cd $(TARGET_SUBDIR)/examples && \
32873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32875 "RANLIB=$${RANLIB}" \
32876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32877 html) \
32878 || exit 1
32880 @endif target-examples
32882 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32883 maybe-TAGS-target-examples:
32884 @if target-examples
32885 maybe-TAGS-target-examples: TAGS-target-examples
32887 TAGS-target-examples: \
32888 configure-target-examples
32889 @: $(MAKE); $(unstage)
32890 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32891 r=`${PWD_COMMAND}`; export r; \
32892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32893 $(NORMAL_TARGET_EXPORTS) \
32894 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32895 for flag in $(EXTRA_TARGET_FLAGS); do \
32896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32897 done; \
32898 (cd $(TARGET_SUBDIR)/examples && \
32899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32901 "RANLIB=$${RANLIB}" \
32902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32903 TAGS) \
32904 || exit 1
32906 @endif target-examples
32908 .PHONY: maybe-install-info-target-examples install-info-target-examples
32909 maybe-install-info-target-examples:
32910 @if target-examples
32911 maybe-install-info-target-examples: install-info-target-examples
32913 install-info-target-examples: \
32914 configure-target-examples \
32915 info-target-examples
32916 @: $(MAKE); $(unstage)
32917 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32918 r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(NORMAL_TARGET_EXPORTS) \
32921 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32922 for flag in $(EXTRA_TARGET_FLAGS); do \
32923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32924 done; \
32925 (cd $(TARGET_SUBDIR)/examples && \
32926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32928 "RANLIB=$${RANLIB}" \
32929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32930 install-info) \
32931 || exit 1
32933 @endif target-examples
32935 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32936 maybe-installcheck-target-examples:
32937 @if target-examples
32938 maybe-installcheck-target-examples: installcheck-target-examples
32940 installcheck-target-examples: \
32941 configure-target-examples
32942 @: $(MAKE); $(unstage)
32943 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32944 r=`${PWD_COMMAND}`; export r; \
32945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32946 $(NORMAL_TARGET_EXPORTS) \
32947 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32948 for flag in $(EXTRA_TARGET_FLAGS); do \
32949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32950 done; \
32951 (cd $(TARGET_SUBDIR)/examples && \
32952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32954 "RANLIB=$${RANLIB}" \
32955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32956 installcheck) \
32957 || exit 1
32959 @endif target-examples
32961 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32962 maybe-mostlyclean-target-examples:
32963 @if target-examples
32964 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32966 mostlyclean-target-examples:
32967 @: $(MAKE); $(unstage)
32968 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32969 r=`${PWD_COMMAND}`; export r; \
32970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32971 $(NORMAL_TARGET_EXPORTS) \
32972 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32973 for flag in $(EXTRA_TARGET_FLAGS); do \
32974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32975 done; \
32976 (cd $(TARGET_SUBDIR)/examples && \
32977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32979 "RANLIB=$${RANLIB}" \
32980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32981 mostlyclean) \
32982 || exit 1
32984 @endif target-examples
32986 .PHONY: maybe-clean-target-examples clean-target-examples
32987 maybe-clean-target-examples:
32988 @if target-examples
32989 maybe-clean-target-examples: clean-target-examples
32991 clean-target-examples:
32992 @: $(MAKE); $(unstage)
32993 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32994 r=`${PWD_COMMAND}`; export r; \
32995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32996 $(NORMAL_TARGET_EXPORTS) \
32997 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32998 for flag in $(EXTRA_TARGET_FLAGS); do \
32999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33000 done; \
33001 (cd $(TARGET_SUBDIR)/examples && \
33002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33004 "RANLIB=$${RANLIB}" \
33005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33006 clean) \
33007 || exit 1
33009 @endif target-examples
33011 .PHONY: maybe-distclean-target-examples distclean-target-examples
33012 maybe-distclean-target-examples:
33013 @if target-examples
33014 maybe-distclean-target-examples: distclean-target-examples
33016 distclean-target-examples:
33017 @: $(MAKE); $(unstage)
33018 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33019 r=`${PWD_COMMAND}`; export r; \
33020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33021 $(NORMAL_TARGET_EXPORTS) \
33022 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33023 for flag in $(EXTRA_TARGET_FLAGS); do \
33024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33025 done; \
33026 (cd $(TARGET_SUBDIR)/examples && \
33027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33029 "RANLIB=$${RANLIB}" \
33030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33031 distclean) \
33032 || exit 1
33034 @endif target-examples
33036 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33037 maybe-maintainer-clean-target-examples:
33038 @if target-examples
33039 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33041 maintainer-clean-target-examples:
33042 @: $(MAKE); $(unstage)
33043 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33044 r=`${PWD_COMMAND}`; export r; \
33045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33046 $(NORMAL_TARGET_EXPORTS) \
33047 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33048 for flag in $(EXTRA_TARGET_FLAGS); do \
33049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33050 done; \
33051 (cd $(TARGET_SUBDIR)/examples && \
33052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33054 "RANLIB=$${RANLIB}" \
33055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33056 maintainer-clean) \
33057 || exit 1
33059 @endif target-examples
33065 .PHONY: configure-target-libffi maybe-configure-target-libffi
33066 maybe-configure-target-libffi:
33067 @if target-libffi
33068 maybe-configure-target-libffi: configure-target-libffi
33069 configure-target-libffi:
33070 @: $(MAKE); $(unstage)
33071 @r=`${PWD_COMMAND}`; export r; \
33072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33073 echo "Checking multilib configuration for libffi..."; \
33074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33075 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33076 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33077 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33078 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33079 else \
33080 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33081 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33082 fi; \
33083 else \
33084 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33086 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33088 r=`${PWD_COMMAND}`; export r; \
33089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33090 $(NORMAL_TARGET_EXPORTS) \
33091 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33092 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33093 case $(srcdir) in \
33094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33095 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33097 esac; \
33098 srcdiroption="--srcdir=$${topdir}/libffi"; \
33099 libsrcdir="$$s/libffi"; \
33100 rm -f no-such-file || : ; \
33101 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33102 $(TARGET_CONFIGARGS) $${srcdiroption} \
33103 || exit 1
33104 @endif target-libffi
33110 .PHONY: all-target-libffi maybe-all-target-libffi
33111 maybe-all-target-libffi:
33112 @if target-libffi
33113 TARGET-target-libffi=all
33114 maybe-all-target-libffi: all-target-libffi
33115 all-target-libffi: configure-target-libffi
33116 @: $(MAKE); $(unstage)
33117 @r=`${PWD_COMMAND}`; export r; \
33118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33119 $(NORMAL_TARGET_EXPORTS) \
33120 (cd $(TARGET_SUBDIR)/libffi && \
33121 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33122 @endif target-libffi
33128 .PHONY: check-target-libffi maybe-check-target-libffi
33129 maybe-check-target-libffi:
33130 @if target-libffi
33131 maybe-check-target-libffi: check-target-libffi
33133 check-target-libffi:
33134 @: $(MAKE); $(unstage)
33135 @r=`${PWD_COMMAND}`; export r; \
33136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33137 $(NORMAL_TARGET_EXPORTS) \
33138 (cd $(TARGET_SUBDIR)/libffi && \
33139 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33141 @endif target-libffi
33143 .PHONY: install-target-libffi maybe-install-target-libffi
33144 maybe-install-target-libffi:
33145 @if target-libffi
33146 maybe-install-target-libffi: install-target-libffi
33148 install-target-libffi: installdirs
33149 @: $(MAKE); $(unstage)
33150 @r=`${PWD_COMMAND}`; export r; \
33151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33152 $(NORMAL_TARGET_EXPORTS) \
33153 (cd $(TARGET_SUBDIR)/libffi && \
33154 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33156 @endif target-libffi
33158 # Other targets (info, dvi, etc.)
33160 .PHONY: maybe-info-target-libffi info-target-libffi
33161 maybe-info-target-libffi:
33162 @if target-libffi
33163 maybe-info-target-libffi: info-target-libffi
33165 info-target-libffi: \
33166 configure-target-libffi
33167 @: $(MAKE); $(unstage)
33168 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33169 r=`${PWD_COMMAND}`; export r; \
33170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33171 $(NORMAL_TARGET_EXPORTS) \
33172 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33173 for flag in $(EXTRA_TARGET_FLAGS); do \
33174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33175 done; \
33176 (cd $(TARGET_SUBDIR)/libffi && \
33177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33179 "RANLIB=$${RANLIB}" \
33180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33181 info) \
33182 || exit 1
33184 @endif target-libffi
33186 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33187 maybe-dvi-target-libffi:
33188 @if target-libffi
33189 maybe-dvi-target-libffi: dvi-target-libffi
33191 dvi-target-libffi: \
33192 configure-target-libffi
33193 @: $(MAKE); $(unstage)
33194 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33195 r=`${PWD_COMMAND}`; export r; \
33196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33197 $(NORMAL_TARGET_EXPORTS) \
33198 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33199 for flag in $(EXTRA_TARGET_FLAGS); do \
33200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33201 done; \
33202 (cd $(TARGET_SUBDIR)/libffi && \
33203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33205 "RANLIB=$${RANLIB}" \
33206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33207 dvi) \
33208 || exit 1
33210 @endif target-libffi
33212 .PHONY: maybe-html-target-libffi html-target-libffi
33213 maybe-html-target-libffi:
33214 @if target-libffi
33215 maybe-html-target-libffi: html-target-libffi
33217 html-target-libffi: \
33218 configure-target-libffi
33219 @: $(MAKE); $(unstage)
33220 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33221 r=`${PWD_COMMAND}`; export r; \
33222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33223 $(NORMAL_TARGET_EXPORTS) \
33224 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33225 for flag in $(EXTRA_TARGET_FLAGS); do \
33226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33227 done; \
33228 (cd $(TARGET_SUBDIR)/libffi && \
33229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33231 "RANLIB=$${RANLIB}" \
33232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33233 html) \
33234 || exit 1
33236 @endif target-libffi
33238 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33239 maybe-TAGS-target-libffi:
33240 @if target-libffi
33241 maybe-TAGS-target-libffi: TAGS-target-libffi
33243 TAGS-target-libffi: \
33244 configure-target-libffi
33245 @: $(MAKE); $(unstage)
33246 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33247 r=`${PWD_COMMAND}`; export r; \
33248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33249 $(NORMAL_TARGET_EXPORTS) \
33250 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33251 for flag in $(EXTRA_TARGET_FLAGS); do \
33252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33253 done; \
33254 (cd $(TARGET_SUBDIR)/libffi && \
33255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33257 "RANLIB=$${RANLIB}" \
33258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33259 TAGS) \
33260 || exit 1
33262 @endif target-libffi
33264 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33265 maybe-install-info-target-libffi:
33266 @if target-libffi
33267 maybe-install-info-target-libffi: install-info-target-libffi
33269 install-info-target-libffi: \
33270 configure-target-libffi \
33271 info-target-libffi
33272 @: $(MAKE); $(unstage)
33273 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33274 r=`${PWD_COMMAND}`; export r; \
33275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33276 $(NORMAL_TARGET_EXPORTS) \
33277 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33278 for flag in $(EXTRA_TARGET_FLAGS); do \
33279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33280 done; \
33281 (cd $(TARGET_SUBDIR)/libffi && \
33282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33284 "RANLIB=$${RANLIB}" \
33285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33286 install-info) \
33287 || exit 1
33289 @endif target-libffi
33291 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33292 maybe-installcheck-target-libffi:
33293 @if target-libffi
33294 maybe-installcheck-target-libffi: installcheck-target-libffi
33296 installcheck-target-libffi: \
33297 configure-target-libffi
33298 @: $(MAKE); $(unstage)
33299 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33300 r=`${PWD_COMMAND}`; export r; \
33301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33302 $(NORMAL_TARGET_EXPORTS) \
33303 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33304 for flag in $(EXTRA_TARGET_FLAGS); do \
33305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33306 done; \
33307 (cd $(TARGET_SUBDIR)/libffi && \
33308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33310 "RANLIB=$${RANLIB}" \
33311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33312 installcheck) \
33313 || exit 1
33315 @endif target-libffi
33317 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33318 maybe-mostlyclean-target-libffi:
33319 @if target-libffi
33320 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33322 mostlyclean-target-libffi:
33323 @: $(MAKE); $(unstage)
33324 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33325 r=`${PWD_COMMAND}`; export r; \
33326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33327 $(NORMAL_TARGET_EXPORTS) \
33328 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33329 for flag in $(EXTRA_TARGET_FLAGS); do \
33330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33331 done; \
33332 (cd $(TARGET_SUBDIR)/libffi && \
33333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33335 "RANLIB=$${RANLIB}" \
33336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33337 mostlyclean) \
33338 || exit 1
33340 @endif target-libffi
33342 .PHONY: maybe-clean-target-libffi clean-target-libffi
33343 maybe-clean-target-libffi:
33344 @if target-libffi
33345 maybe-clean-target-libffi: clean-target-libffi
33347 clean-target-libffi:
33348 @: $(MAKE); $(unstage)
33349 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33350 r=`${PWD_COMMAND}`; export r; \
33351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33352 $(NORMAL_TARGET_EXPORTS) \
33353 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33354 for flag in $(EXTRA_TARGET_FLAGS); do \
33355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33356 done; \
33357 (cd $(TARGET_SUBDIR)/libffi && \
33358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33360 "RANLIB=$${RANLIB}" \
33361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33362 clean) \
33363 || exit 1
33365 @endif target-libffi
33367 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33368 maybe-distclean-target-libffi:
33369 @if target-libffi
33370 maybe-distclean-target-libffi: distclean-target-libffi
33372 distclean-target-libffi:
33373 @: $(MAKE); $(unstage)
33374 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33375 r=`${PWD_COMMAND}`; export r; \
33376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33377 $(NORMAL_TARGET_EXPORTS) \
33378 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33379 for flag in $(EXTRA_TARGET_FLAGS); do \
33380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33381 done; \
33382 (cd $(TARGET_SUBDIR)/libffi && \
33383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33385 "RANLIB=$${RANLIB}" \
33386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33387 distclean) \
33388 || exit 1
33390 @endif target-libffi
33392 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33393 maybe-maintainer-clean-target-libffi:
33394 @if target-libffi
33395 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33397 maintainer-clean-target-libffi:
33398 @: $(MAKE); $(unstage)
33399 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33400 r=`${PWD_COMMAND}`; export r; \
33401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33402 $(NORMAL_TARGET_EXPORTS) \
33403 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33404 for flag in $(EXTRA_TARGET_FLAGS); do \
33405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33406 done; \
33407 (cd $(TARGET_SUBDIR)/libffi && \
33408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33410 "RANLIB=$${RANLIB}" \
33411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33412 maintainer-clean) \
33413 || exit 1
33415 @endif target-libffi
33421 .PHONY: configure-target-libjava maybe-configure-target-libjava
33422 maybe-configure-target-libjava:
33423 @if target-libjava
33424 maybe-configure-target-libjava: configure-target-libjava
33425 configure-target-libjava:
33426 @: $(MAKE); $(unstage)
33427 @r=`${PWD_COMMAND}`; export r; \
33428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33429 echo "Checking multilib configuration for libjava..."; \
33430 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33431 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
33432 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
33433 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
33434 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
33435 else \
33436 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
33437 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33438 fi; \
33439 else \
33440 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33442 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33443 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33444 r=`${PWD_COMMAND}`; export r; \
33445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33446 $(RAW_CXX_TARGET_EXPORTS) \
33447 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33448 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33449 case $(srcdir) in \
33450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33451 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33453 esac; \
33454 srcdiroption="--srcdir=$${topdir}/libjava"; \
33455 libsrcdir="$$s/libjava"; \
33456 rm -f no-such-file || : ; \
33457 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33458 $(TARGET_CONFIGARGS) $${srcdiroption} \
33459 || exit 1
33460 @endif target-libjava
33466 .PHONY: all-target-libjava maybe-all-target-libjava
33467 maybe-all-target-libjava:
33468 @if target-libjava
33469 TARGET-target-libjava=all
33470 maybe-all-target-libjava: all-target-libjava
33471 all-target-libjava: configure-target-libjava
33472 @: $(MAKE); $(unstage)
33473 @r=`${PWD_COMMAND}`; export r; \
33474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33475 $(RAW_CXX_TARGET_EXPORTS) \
33476 (cd $(TARGET_SUBDIR)/libjava && \
33477 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33478 @endif target-libjava
33484 .PHONY: check-target-libjava maybe-check-target-libjava
33485 maybe-check-target-libjava:
33486 @if target-libjava
33487 maybe-check-target-libjava: check-target-libjava
33489 check-target-libjava:
33490 @: $(MAKE); $(unstage)
33491 @r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 $(RAW_CXX_TARGET_EXPORTS) \
33494 (cd $(TARGET_SUBDIR)/libjava && \
33495 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33497 @endif target-libjava
33499 .PHONY: install-target-libjava maybe-install-target-libjava
33500 maybe-install-target-libjava:
33501 @if target-libjava
33502 maybe-install-target-libjava: install-target-libjava
33504 install-target-libjava: installdirs
33505 @: $(MAKE); $(unstage)
33506 @r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 $(RAW_CXX_TARGET_EXPORTS) \
33509 (cd $(TARGET_SUBDIR)/libjava && \
33510 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33512 @endif target-libjava
33514 # Other targets (info, dvi, etc.)
33516 .PHONY: maybe-info-target-libjava info-target-libjava
33517 maybe-info-target-libjava:
33518 @if target-libjava
33519 maybe-info-target-libjava: info-target-libjava
33521 info-target-libjava: \
33522 configure-target-libjava
33523 @: $(MAKE); $(unstage)
33524 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33525 r=`${PWD_COMMAND}`; export r; \
33526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33527 $(RAW_CXX_TARGET_EXPORTS) \
33528 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33529 for flag in $(EXTRA_TARGET_FLAGS); do \
33530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33531 done; \
33532 (cd $(TARGET_SUBDIR)/libjava && \
33533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33535 "RANLIB=$${RANLIB}" \
33536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33537 info) \
33538 || exit 1
33540 @endif target-libjava
33542 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33543 maybe-dvi-target-libjava:
33544 @if target-libjava
33545 maybe-dvi-target-libjava: dvi-target-libjava
33547 dvi-target-libjava: \
33548 configure-target-libjava
33549 @: $(MAKE); $(unstage)
33550 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33551 r=`${PWD_COMMAND}`; export r; \
33552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33553 $(RAW_CXX_TARGET_EXPORTS) \
33554 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33555 for flag in $(EXTRA_TARGET_FLAGS); do \
33556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33557 done; \
33558 (cd $(TARGET_SUBDIR)/libjava && \
33559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33561 "RANLIB=$${RANLIB}" \
33562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33563 dvi) \
33564 || exit 1
33566 @endif target-libjava
33568 .PHONY: maybe-html-target-libjava html-target-libjava
33569 maybe-html-target-libjava:
33570 @if target-libjava
33571 maybe-html-target-libjava: html-target-libjava
33573 html-target-libjava: \
33574 configure-target-libjava
33575 @: $(MAKE); $(unstage)
33576 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33577 r=`${PWD_COMMAND}`; export r; \
33578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33579 $(RAW_CXX_TARGET_EXPORTS) \
33580 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33581 for flag in $(EXTRA_TARGET_FLAGS); do \
33582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33583 done; \
33584 (cd $(TARGET_SUBDIR)/libjava && \
33585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33587 "RANLIB=$${RANLIB}" \
33588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33589 html) \
33590 || exit 1
33592 @endif target-libjava
33594 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33595 maybe-TAGS-target-libjava:
33596 @if target-libjava
33597 maybe-TAGS-target-libjava: TAGS-target-libjava
33599 TAGS-target-libjava: \
33600 configure-target-libjava
33601 @: $(MAKE); $(unstage)
33602 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33603 r=`${PWD_COMMAND}`; export r; \
33604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33605 $(RAW_CXX_TARGET_EXPORTS) \
33606 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33607 for flag in $(EXTRA_TARGET_FLAGS); do \
33608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33609 done; \
33610 (cd $(TARGET_SUBDIR)/libjava && \
33611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33613 "RANLIB=$${RANLIB}" \
33614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33615 TAGS) \
33616 || exit 1
33618 @endif target-libjava
33620 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33621 maybe-install-info-target-libjava:
33622 @if target-libjava
33623 maybe-install-info-target-libjava: install-info-target-libjava
33625 install-info-target-libjava: \
33626 configure-target-libjava \
33627 info-target-libjava
33628 @: $(MAKE); $(unstage)
33629 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33630 r=`${PWD_COMMAND}`; export r; \
33631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33632 $(RAW_CXX_TARGET_EXPORTS) \
33633 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33634 for flag in $(EXTRA_TARGET_FLAGS); do \
33635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33636 done; \
33637 (cd $(TARGET_SUBDIR)/libjava && \
33638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33640 "RANLIB=$${RANLIB}" \
33641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33642 install-info) \
33643 || exit 1
33645 @endif target-libjava
33647 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33648 maybe-installcheck-target-libjava:
33649 @if target-libjava
33650 maybe-installcheck-target-libjava: installcheck-target-libjava
33652 installcheck-target-libjava: \
33653 configure-target-libjava
33654 @: $(MAKE); $(unstage)
33655 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33656 r=`${PWD_COMMAND}`; export r; \
33657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33658 $(RAW_CXX_TARGET_EXPORTS) \
33659 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33660 for flag in $(EXTRA_TARGET_FLAGS); do \
33661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33662 done; \
33663 (cd $(TARGET_SUBDIR)/libjava && \
33664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33666 "RANLIB=$${RANLIB}" \
33667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33668 installcheck) \
33669 || exit 1
33671 @endif target-libjava
33673 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33674 maybe-mostlyclean-target-libjava:
33675 @if target-libjava
33676 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33678 mostlyclean-target-libjava:
33679 @: $(MAKE); $(unstage)
33680 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33681 r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(RAW_CXX_TARGET_EXPORTS) \
33684 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33685 for flag in $(EXTRA_TARGET_FLAGS); do \
33686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33687 done; \
33688 (cd $(TARGET_SUBDIR)/libjava && \
33689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33691 "RANLIB=$${RANLIB}" \
33692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33693 mostlyclean) \
33694 || exit 1
33696 @endif target-libjava
33698 .PHONY: maybe-clean-target-libjava clean-target-libjava
33699 maybe-clean-target-libjava:
33700 @if target-libjava
33701 maybe-clean-target-libjava: clean-target-libjava
33703 clean-target-libjava:
33704 @: $(MAKE); $(unstage)
33705 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33706 r=`${PWD_COMMAND}`; export r; \
33707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33708 $(RAW_CXX_TARGET_EXPORTS) \
33709 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33710 for flag in $(EXTRA_TARGET_FLAGS); do \
33711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33712 done; \
33713 (cd $(TARGET_SUBDIR)/libjava && \
33714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33716 "RANLIB=$${RANLIB}" \
33717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33718 clean) \
33719 || exit 1
33721 @endif target-libjava
33723 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33724 maybe-distclean-target-libjava:
33725 @if target-libjava
33726 maybe-distclean-target-libjava: distclean-target-libjava
33728 distclean-target-libjava:
33729 @: $(MAKE); $(unstage)
33730 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33731 r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 $(RAW_CXX_TARGET_EXPORTS) \
33734 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33735 for flag in $(EXTRA_TARGET_FLAGS); do \
33736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33737 done; \
33738 (cd $(TARGET_SUBDIR)/libjava && \
33739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33741 "RANLIB=$${RANLIB}" \
33742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33743 distclean) \
33744 || exit 1
33746 @endif target-libjava
33748 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33749 maybe-maintainer-clean-target-libjava:
33750 @if target-libjava
33751 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33753 maintainer-clean-target-libjava:
33754 @: $(MAKE); $(unstage)
33755 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33756 r=`${PWD_COMMAND}`; export r; \
33757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33758 $(RAW_CXX_TARGET_EXPORTS) \
33759 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33760 for flag in $(EXTRA_TARGET_FLAGS); do \
33761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33762 done; \
33763 (cd $(TARGET_SUBDIR)/libjava && \
33764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33766 "RANLIB=$${RANLIB}" \
33767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33768 maintainer-clean) \
33769 || exit 1
33771 @endif target-libjava
33777 .PHONY: configure-target-zlib maybe-configure-target-zlib
33778 maybe-configure-target-zlib:
33779 @if target-zlib
33780 maybe-configure-target-zlib: configure-target-zlib
33781 configure-target-zlib:
33782 @: $(MAKE); $(unstage)
33783 @r=`${PWD_COMMAND}`; export r; \
33784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33785 echo "Checking multilib configuration for zlib..."; \
33786 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33787 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
33788 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
33789 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
33790 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
33791 else \
33792 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
33793 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33794 fi; \
33795 else \
33796 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33798 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33800 r=`${PWD_COMMAND}`; export r; \
33801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33802 $(NORMAL_TARGET_EXPORTS) \
33803 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33804 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33805 case $(srcdir) in \
33806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33807 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33809 esac; \
33810 srcdiroption="--srcdir=$${topdir}/zlib"; \
33811 libsrcdir="$$s/zlib"; \
33812 rm -f no-such-file || : ; \
33813 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33814 $(TARGET_CONFIGARGS) $${srcdiroption} \
33815 || exit 1
33816 @endif target-zlib
33822 .PHONY: all-target-zlib maybe-all-target-zlib
33823 maybe-all-target-zlib:
33824 @if target-zlib
33825 TARGET-target-zlib=all
33826 maybe-all-target-zlib: all-target-zlib
33827 all-target-zlib: configure-target-zlib
33828 @: $(MAKE); $(unstage)
33829 @r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(NORMAL_TARGET_EXPORTS) \
33832 (cd $(TARGET_SUBDIR)/zlib && \
33833 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33834 @endif target-zlib
33840 .PHONY: check-target-zlib maybe-check-target-zlib
33841 maybe-check-target-zlib:
33842 @if target-zlib
33843 maybe-check-target-zlib: check-target-zlib
33845 check-target-zlib:
33846 @: $(MAKE); $(unstage)
33847 @r=`${PWD_COMMAND}`; export r; \
33848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33849 $(NORMAL_TARGET_EXPORTS) \
33850 (cd $(TARGET_SUBDIR)/zlib && \
33851 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33853 @endif target-zlib
33855 .PHONY: install-target-zlib maybe-install-target-zlib
33856 maybe-install-target-zlib:
33857 @if target-zlib
33858 maybe-install-target-zlib: install-target-zlib
33860 install-target-zlib: installdirs
33861 @: $(MAKE); $(unstage)
33862 @r=`${PWD_COMMAND}`; export r; \
33863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33864 $(NORMAL_TARGET_EXPORTS) \
33865 (cd $(TARGET_SUBDIR)/zlib && \
33866 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33868 @endif target-zlib
33870 # Other targets (info, dvi, etc.)
33872 .PHONY: maybe-info-target-zlib info-target-zlib
33873 maybe-info-target-zlib:
33874 @if target-zlib
33875 maybe-info-target-zlib: info-target-zlib
33877 info-target-zlib: \
33878 configure-target-zlib
33879 @: $(MAKE); $(unstage)
33880 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33881 r=`${PWD_COMMAND}`; export r; \
33882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33883 $(NORMAL_TARGET_EXPORTS) \
33884 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33885 for flag in $(EXTRA_TARGET_FLAGS); do \
33886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33887 done; \
33888 (cd $(TARGET_SUBDIR)/zlib && \
33889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33891 "RANLIB=$${RANLIB}" \
33892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33893 info) \
33894 || exit 1
33896 @endif target-zlib
33898 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33899 maybe-dvi-target-zlib:
33900 @if target-zlib
33901 maybe-dvi-target-zlib: dvi-target-zlib
33903 dvi-target-zlib: \
33904 configure-target-zlib
33905 @: $(MAKE); $(unstage)
33906 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33907 r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(NORMAL_TARGET_EXPORTS) \
33910 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33911 for flag in $(EXTRA_TARGET_FLAGS); do \
33912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33913 done; \
33914 (cd $(TARGET_SUBDIR)/zlib && \
33915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33917 "RANLIB=$${RANLIB}" \
33918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33919 dvi) \
33920 || exit 1
33922 @endif target-zlib
33924 .PHONY: maybe-html-target-zlib html-target-zlib
33925 maybe-html-target-zlib:
33926 @if target-zlib
33927 maybe-html-target-zlib: html-target-zlib
33929 html-target-zlib: \
33930 configure-target-zlib
33931 @: $(MAKE); $(unstage)
33932 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33933 r=`${PWD_COMMAND}`; export r; \
33934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33935 $(NORMAL_TARGET_EXPORTS) \
33936 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33937 for flag in $(EXTRA_TARGET_FLAGS); do \
33938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33939 done; \
33940 (cd $(TARGET_SUBDIR)/zlib && \
33941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33943 "RANLIB=$${RANLIB}" \
33944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33945 html) \
33946 || exit 1
33948 @endif target-zlib
33950 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33951 maybe-TAGS-target-zlib:
33952 @if target-zlib
33953 maybe-TAGS-target-zlib: TAGS-target-zlib
33955 TAGS-target-zlib: \
33956 configure-target-zlib
33957 @: $(MAKE); $(unstage)
33958 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33959 r=`${PWD_COMMAND}`; export r; \
33960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33961 $(NORMAL_TARGET_EXPORTS) \
33962 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33963 for flag in $(EXTRA_TARGET_FLAGS); do \
33964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33965 done; \
33966 (cd $(TARGET_SUBDIR)/zlib && \
33967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33969 "RANLIB=$${RANLIB}" \
33970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33971 TAGS) \
33972 || exit 1
33974 @endif target-zlib
33976 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33977 maybe-install-info-target-zlib:
33978 @if target-zlib
33979 maybe-install-info-target-zlib: install-info-target-zlib
33981 install-info-target-zlib: \
33982 configure-target-zlib \
33983 info-target-zlib
33984 @: $(MAKE); $(unstage)
33985 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33986 r=`${PWD_COMMAND}`; export r; \
33987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33988 $(NORMAL_TARGET_EXPORTS) \
33989 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33990 for flag in $(EXTRA_TARGET_FLAGS); do \
33991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33992 done; \
33993 (cd $(TARGET_SUBDIR)/zlib && \
33994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33996 "RANLIB=$${RANLIB}" \
33997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33998 install-info) \
33999 || exit 1
34001 @endif target-zlib
34003 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34004 maybe-installcheck-target-zlib:
34005 @if target-zlib
34006 maybe-installcheck-target-zlib: installcheck-target-zlib
34008 installcheck-target-zlib: \
34009 configure-target-zlib
34010 @: $(MAKE); $(unstage)
34011 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34012 r=`${PWD_COMMAND}`; export r; \
34013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34014 $(NORMAL_TARGET_EXPORTS) \
34015 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34016 for flag in $(EXTRA_TARGET_FLAGS); do \
34017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34018 done; \
34019 (cd $(TARGET_SUBDIR)/zlib && \
34020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34022 "RANLIB=$${RANLIB}" \
34023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34024 installcheck) \
34025 || exit 1
34027 @endif target-zlib
34029 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34030 maybe-mostlyclean-target-zlib:
34031 @if target-zlib
34032 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34034 mostlyclean-target-zlib:
34035 @: $(MAKE); $(unstage)
34036 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34037 r=`${PWD_COMMAND}`; export r; \
34038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34039 $(NORMAL_TARGET_EXPORTS) \
34040 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34041 for flag in $(EXTRA_TARGET_FLAGS); do \
34042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34043 done; \
34044 (cd $(TARGET_SUBDIR)/zlib && \
34045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34047 "RANLIB=$${RANLIB}" \
34048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34049 mostlyclean) \
34050 || exit 1
34052 @endif target-zlib
34054 .PHONY: maybe-clean-target-zlib clean-target-zlib
34055 maybe-clean-target-zlib:
34056 @if target-zlib
34057 maybe-clean-target-zlib: clean-target-zlib
34059 clean-target-zlib:
34060 @: $(MAKE); $(unstage)
34061 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34062 r=`${PWD_COMMAND}`; export r; \
34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34064 $(NORMAL_TARGET_EXPORTS) \
34065 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34066 for flag in $(EXTRA_TARGET_FLAGS); do \
34067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34068 done; \
34069 (cd $(TARGET_SUBDIR)/zlib && \
34070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34072 "RANLIB=$${RANLIB}" \
34073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34074 clean) \
34075 || exit 1
34077 @endif target-zlib
34079 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34080 maybe-distclean-target-zlib:
34081 @if target-zlib
34082 maybe-distclean-target-zlib: distclean-target-zlib
34084 distclean-target-zlib:
34085 @: $(MAKE); $(unstage)
34086 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34087 r=`${PWD_COMMAND}`; export r; \
34088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34089 $(NORMAL_TARGET_EXPORTS) \
34090 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34091 for flag in $(EXTRA_TARGET_FLAGS); do \
34092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34093 done; \
34094 (cd $(TARGET_SUBDIR)/zlib && \
34095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34097 "RANLIB=$${RANLIB}" \
34098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34099 distclean) \
34100 || exit 1
34102 @endif target-zlib
34104 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34105 maybe-maintainer-clean-target-zlib:
34106 @if target-zlib
34107 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34109 maintainer-clean-target-zlib:
34110 @: $(MAKE); $(unstage)
34111 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34112 r=`${PWD_COMMAND}`; export r; \
34113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34114 $(NORMAL_TARGET_EXPORTS) \
34115 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34116 for flag in $(EXTRA_TARGET_FLAGS); do \
34117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34118 done; \
34119 (cd $(TARGET_SUBDIR)/zlib && \
34120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34122 "RANLIB=$${RANLIB}" \
34123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34124 maintainer-clean) \
34125 || exit 1
34127 @endif target-zlib
34133 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34134 maybe-configure-target-boehm-gc:
34135 @if target-boehm-gc
34136 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34137 configure-target-boehm-gc:
34138 @: $(MAKE); $(unstage)
34139 @r=`${PWD_COMMAND}`; export r; \
34140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34141 echo "Checking multilib configuration for boehm-gc..."; \
34142 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34143 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34144 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34145 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34146 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34147 else \
34148 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34149 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34150 fi; \
34151 else \
34152 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34154 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34155 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34156 r=`${PWD_COMMAND}`; export r; \
34157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34158 $(NORMAL_TARGET_EXPORTS) \
34159 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34160 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34161 case $(srcdir) in \
34162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34163 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34165 esac; \
34166 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34167 libsrcdir="$$s/boehm-gc"; \
34168 rm -f no-such-file || : ; \
34169 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34170 $(TARGET_CONFIGARGS) $${srcdiroption} \
34171 || exit 1
34172 @endif target-boehm-gc
34178 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34179 maybe-all-target-boehm-gc:
34180 @if target-boehm-gc
34181 TARGET-target-boehm-gc=all
34182 maybe-all-target-boehm-gc: all-target-boehm-gc
34183 all-target-boehm-gc: configure-target-boehm-gc
34184 @: $(MAKE); $(unstage)
34185 @r=`${PWD_COMMAND}`; export r; \
34186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34187 $(NORMAL_TARGET_EXPORTS) \
34188 (cd $(TARGET_SUBDIR)/boehm-gc && \
34189 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34190 @endif target-boehm-gc
34196 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34197 maybe-check-target-boehm-gc:
34198 @if target-boehm-gc
34199 maybe-check-target-boehm-gc: check-target-boehm-gc
34201 check-target-boehm-gc:
34202 @: $(MAKE); $(unstage)
34203 @r=`${PWD_COMMAND}`; export r; \
34204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34205 $(NORMAL_TARGET_EXPORTS) \
34206 (cd $(TARGET_SUBDIR)/boehm-gc && \
34207 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34209 @endif target-boehm-gc
34211 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34212 maybe-install-target-boehm-gc:
34213 @if target-boehm-gc
34214 maybe-install-target-boehm-gc: install-target-boehm-gc
34216 install-target-boehm-gc: installdirs
34217 @: $(MAKE); $(unstage)
34218 @r=`${PWD_COMMAND}`; export r; \
34219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34220 $(NORMAL_TARGET_EXPORTS) \
34221 (cd $(TARGET_SUBDIR)/boehm-gc && \
34222 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34224 @endif target-boehm-gc
34226 # Other targets (info, dvi, etc.)
34228 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34229 maybe-info-target-boehm-gc:
34230 @if target-boehm-gc
34231 maybe-info-target-boehm-gc: info-target-boehm-gc
34233 info-target-boehm-gc: \
34234 configure-target-boehm-gc
34235 @: $(MAKE); $(unstage)
34236 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34237 r=`${PWD_COMMAND}`; export r; \
34238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34239 $(NORMAL_TARGET_EXPORTS) \
34240 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34241 for flag in $(EXTRA_TARGET_FLAGS); do \
34242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34243 done; \
34244 (cd $(TARGET_SUBDIR)/boehm-gc && \
34245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34247 "RANLIB=$${RANLIB}" \
34248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34249 info) \
34250 || exit 1
34252 @endif target-boehm-gc
34254 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34255 maybe-dvi-target-boehm-gc:
34256 @if target-boehm-gc
34257 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34259 dvi-target-boehm-gc: \
34260 configure-target-boehm-gc
34261 @: $(MAKE); $(unstage)
34262 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34263 r=`${PWD_COMMAND}`; export r; \
34264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34265 $(NORMAL_TARGET_EXPORTS) \
34266 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34267 for flag in $(EXTRA_TARGET_FLAGS); do \
34268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34269 done; \
34270 (cd $(TARGET_SUBDIR)/boehm-gc && \
34271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34273 "RANLIB=$${RANLIB}" \
34274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34275 dvi) \
34276 || exit 1
34278 @endif target-boehm-gc
34280 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34281 maybe-html-target-boehm-gc:
34282 @if target-boehm-gc
34283 maybe-html-target-boehm-gc: html-target-boehm-gc
34285 html-target-boehm-gc: \
34286 configure-target-boehm-gc
34287 @: $(MAKE); $(unstage)
34288 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34289 r=`${PWD_COMMAND}`; export r; \
34290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34291 $(NORMAL_TARGET_EXPORTS) \
34292 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34293 for flag in $(EXTRA_TARGET_FLAGS); do \
34294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34295 done; \
34296 (cd $(TARGET_SUBDIR)/boehm-gc && \
34297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34299 "RANLIB=$${RANLIB}" \
34300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34301 html) \
34302 || exit 1
34304 @endif target-boehm-gc
34306 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34307 maybe-TAGS-target-boehm-gc:
34308 @if target-boehm-gc
34309 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34311 TAGS-target-boehm-gc: \
34312 configure-target-boehm-gc
34313 @: $(MAKE); $(unstage)
34314 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34315 r=`${PWD_COMMAND}`; export r; \
34316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34317 $(NORMAL_TARGET_EXPORTS) \
34318 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34319 for flag in $(EXTRA_TARGET_FLAGS); do \
34320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34321 done; \
34322 (cd $(TARGET_SUBDIR)/boehm-gc && \
34323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34325 "RANLIB=$${RANLIB}" \
34326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34327 TAGS) \
34328 || exit 1
34330 @endif target-boehm-gc
34332 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34333 maybe-install-info-target-boehm-gc:
34334 @if target-boehm-gc
34335 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34337 install-info-target-boehm-gc: \
34338 configure-target-boehm-gc \
34339 info-target-boehm-gc
34340 @: $(MAKE); $(unstage)
34341 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34342 r=`${PWD_COMMAND}`; export r; \
34343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34344 $(NORMAL_TARGET_EXPORTS) \
34345 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34346 for flag in $(EXTRA_TARGET_FLAGS); do \
34347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34348 done; \
34349 (cd $(TARGET_SUBDIR)/boehm-gc && \
34350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34352 "RANLIB=$${RANLIB}" \
34353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34354 install-info) \
34355 || exit 1
34357 @endif target-boehm-gc
34359 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34360 maybe-installcheck-target-boehm-gc:
34361 @if target-boehm-gc
34362 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34364 installcheck-target-boehm-gc: \
34365 configure-target-boehm-gc
34366 @: $(MAKE); $(unstage)
34367 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34368 r=`${PWD_COMMAND}`; export r; \
34369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34370 $(NORMAL_TARGET_EXPORTS) \
34371 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34372 for flag in $(EXTRA_TARGET_FLAGS); do \
34373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34374 done; \
34375 (cd $(TARGET_SUBDIR)/boehm-gc && \
34376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34378 "RANLIB=$${RANLIB}" \
34379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34380 installcheck) \
34381 || exit 1
34383 @endif target-boehm-gc
34385 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34386 maybe-mostlyclean-target-boehm-gc:
34387 @if target-boehm-gc
34388 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34390 mostlyclean-target-boehm-gc:
34391 @: $(MAKE); $(unstage)
34392 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34393 r=`${PWD_COMMAND}`; export r; \
34394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34395 $(NORMAL_TARGET_EXPORTS) \
34396 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34397 for flag in $(EXTRA_TARGET_FLAGS); do \
34398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34399 done; \
34400 (cd $(TARGET_SUBDIR)/boehm-gc && \
34401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34403 "RANLIB=$${RANLIB}" \
34404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34405 mostlyclean) \
34406 || exit 1
34408 @endif target-boehm-gc
34410 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34411 maybe-clean-target-boehm-gc:
34412 @if target-boehm-gc
34413 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34415 clean-target-boehm-gc:
34416 @: $(MAKE); $(unstage)
34417 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34418 r=`${PWD_COMMAND}`; export r; \
34419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34420 $(NORMAL_TARGET_EXPORTS) \
34421 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34422 for flag in $(EXTRA_TARGET_FLAGS); do \
34423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34424 done; \
34425 (cd $(TARGET_SUBDIR)/boehm-gc && \
34426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34428 "RANLIB=$${RANLIB}" \
34429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34430 clean) \
34431 || exit 1
34433 @endif target-boehm-gc
34435 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34436 maybe-distclean-target-boehm-gc:
34437 @if target-boehm-gc
34438 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34440 distclean-target-boehm-gc:
34441 @: $(MAKE); $(unstage)
34442 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34443 r=`${PWD_COMMAND}`; export r; \
34444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34445 $(NORMAL_TARGET_EXPORTS) \
34446 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34447 for flag in $(EXTRA_TARGET_FLAGS); do \
34448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34449 done; \
34450 (cd $(TARGET_SUBDIR)/boehm-gc && \
34451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34453 "RANLIB=$${RANLIB}" \
34454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34455 distclean) \
34456 || exit 1
34458 @endif target-boehm-gc
34460 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34461 maybe-maintainer-clean-target-boehm-gc:
34462 @if target-boehm-gc
34463 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34465 maintainer-clean-target-boehm-gc:
34466 @: $(MAKE); $(unstage)
34467 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34468 r=`${PWD_COMMAND}`; export r; \
34469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34470 $(NORMAL_TARGET_EXPORTS) \
34471 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34472 for flag in $(EXTRA_TARGET_FLAGS); do \
34473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34474 done; \
34475 (cd $(TARGET_SUBDIR)/boehm-gc && \
34476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34478 "RANLIB=$${RANLIB}" \
34479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34480 maintainer-clean) \
34481 || exit 1
34483 @endif target-boehm-gc
34489 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34490 maybe-configure-target-qthreads:
34491 @if target-qthreads
34492 maybe-configure-target-qthreads: configure-target-qthreads
34493 configure-target-qthreads:
34494 @: $(MAKE); $(unstage)
34495 @r=`${PWD_COMMAND}`; export r; \
34496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34497 echo "Checking multilib configuration for qthreads..."; \
34498 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34499 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
34500 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34501 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34502 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
34503 else \
34504 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
34505 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34506 fi; \
34507 else \
34508 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34510 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34511 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34512 r=`${PWD_COMMAND}`; export r; \
34513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34514 $(NORMAL_TARGET_EXPORTS) \
34515 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34516 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34517 case $(srcdir) in \
34518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34519 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34521 esac; \
34522 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34523 libsrcdir="$$s/qthreads"; \
34524 rm -f no-such-file || : ; \
34525 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34526 $(TARGET_CONFIGARGS) $${srcdiroption} \
34527 || exit 1
34528 @endif target-qthreads
34534 .PHONY: all-target-qthreads maybe-all-target-qthreads
34535 maybe-all-target-qthreads:
34536 @if target-qthreads
34537 TARGET-target-qthreads=all
34538 maybe-all-target-qthreads: all-target-qthreads
34539 all-target-qthreads: configure-target-qthreads
34540 @: $(MAKE); $(unstage)
34541 @r=`${PWD_COMMAND}`; export r; \
34542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34543 $(NORMAL_TARGET_EXPORTS) \
34544 (cd $(TARGET_SUBDIR)/qthreads && \
34545 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34546 @endif target-qthreads
34552 .PHONY: check-target-qthreads maybe-check-target-qthreads
34553 maybe-check-target-qthreads:
34554 @if target-qthreads
34555 maybe-check-target-qthreads: check-target-qthreads
34557 check-target-qthreads:
34558 @: $(MAKE); $(unstage)
34559 @r=`${PWD_COMMAND}`; export r; \
34560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34561 $(NORMAL_TARGET_EXPORTS) \
34562 (cd $(TARGET_SUBDIR)/qthreads && \
34563 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34565 @endif target-qthreads
34567 .PHONY: install-target-qthreads maybe-install-target-qthreads
34568 maybe-install-target-qthreads:
34569 @if target-qthreads
34570 maybe-install-target-qthreads: install-target-qthreads
34572 install-target-qthreads: installdirs
34573 @: $(MAKE); $(unstage)
34574 @r=`${PWD_COMMAND}`; export r; \
34575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34576 $(NORMAL_TARGET_EXPORTS) \
34577 (cd $(TARGET_SUBDIR)/qthreads && \
34578 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34580 @endif target-qthreads
34582 # Other targets (info, dvi, etc.)
34584 .PHONY: maybe-info-target-qthreads info-target-qthreads
34585 maybe-info-target-qthreads:
34586 @if target-qthreads
34587 maybe-info-target-qthreads: info-target-qthreads
34589 info-target-qthreads: \
34590 configure-target-qthreads
34591 @: $(MAKE); $(unstage)
34592 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34593 r=`${PWD_COMMAND}`; export r; \
34594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34595 $(NORMAL_TARGET_EXPORTS) \
34596 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34597 for flag in $(EXTRA_TARGET_FLAGS); do \
34598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34599 done; \
34600 (cd $(TARGET_SUBDIR)/qthreads && \
34601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34603 "RANLIB=$${RANLIB}" \
34604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34605 info) \
34606 || exit 1
34608 @endif target-qthreads
34610 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34611 maybe-dvi-target-qthreads:
34612 @if target-qthreads
34613 maybe-dvi-target-qthreads: dvi-target-qthreads
34615 dvi-target-qthreads: \
34616 configure-target-qthreads
34617 @: $(MAKE); $(unstage)
34618 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34619 r=`${PWD_COMMAND}`; export r; \
34620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34621 $(NORMAL_TARGET_EXPORTS) \
34622 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34623 for flag in $(EXTRA_TARGET_FLAGS); do \
34624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34625 done; \
34626 (cd $(TARGET_SUBDIR)/qthreads && \
34627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34629 "RANLIB=$${RANLIB}" \
34630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34631 dvi) \
34632 || exit 1
34634 @endif target-qthreads
34636 .PHONY: maybe-html-target-qthreads html-target-qthreads
34637 maybe-html-target-qthreads:
34638 @if target-qthreads
34639 maybe-html-target-qthreads: html-target-qthreads
34641 html-target-qthreads: \
34642 configure-target-qthreads
34643 @: $(MAKE); $(unstage)
34644 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34645 r=`${PWD_COMMAND}`; export r; \
34646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34647 $(NORMAL_TARGET_EXPORTS) \
34648 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34649 for flag in $(EXTRA_TARGET_FLAGS); do \
34650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34651 done; \
34652 (cd $(TARGET_SUBDIR)/qthreads && \
34653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34655 "RANLIB=$${RANLIB}" \
34656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34657 html) \
34658 || exit 1
34660 @endif target-qthreads
34662 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34663 maybe-TAGS-target-qthreads:
34664 @if target-qthreads
34665 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34667 TAGS-target-qthreads: \
34668 configure-target-qthreads
34669 @: $(MAKE); $(unstage)
34670 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34671 r=`${PWD_COMMAND}`; export r; \
34672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34673 $(NORMAL_TARGET_EXPORTS) \
34674 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34675 for flag in $(EXTRA_TARGET_FLAGS); do \
34676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34677 done; \
34678 (cd $(TARGET_SUBDIR)/qthreads && \
34679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34681 "RANLIB=$${RANLIB}" \
34682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34683 TAGS) \
34684 || exit 1
34686 @endif target-qthreads
34688 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34689 maybe-install-info-target-qthreads:
34690 @if target-qthreads
34691 maybe-install-info-target-qthreads: install-info-target-qthreads
34693 install-info-target-qthreads: \
34694 configure-target-qthreads \
34695 info-target-qthreads
34696 @: $(MAKE); $(unstage)
34697 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34698 r=`${PWD_COMMAND}`; export r; \
34699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34700 $(NORMAL_TARGET_EXPORTS) \
34701 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34702 for flag in $(EXTRA_TARGET_FLAGS); do \
34703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34704 done; \
34705 (cd $(TARGET_SUBDIR)/qthreads && \
34706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34708 "RANLIB=$${RANLIB}" \
34709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34710 install-info) \
34711 || exit 1
34713 @endif target-qthreads
34715 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34716 maybe-installcheck-target-qthreads:
34717 @if target-qthreads
34718 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34720 installcheck-target-qthreads: \
34721 configure-target-qthreads
34722 @: $(MAKE); $(unstage)
34723 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34724 r=`${PWD_COMMAND}`; export r; \
34725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34726 $(NORMAL_TARGET_EXPORTS) \
34727 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34728 for flag in $(EXTRA_TARGET_FLAGS); do \
34729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34730 done; \
34731 (cd $(TARGET_SUBDIR)/qthreads && \
34732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34734 "RANLIB=$${RANLIB}" \
34735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34736 installcheck) \
34737 || exit 1
34739 @endif target-qthreads
34741 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34742 maybe-mostlyclean-target-qthreads:
34743 @if target-qthreads
34744 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34746 mostlyclean-target-qthreads:
34747 @: $(MAKE); $(unstage)
34748 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34749 r=`${PWD_COMMAND}`; export r; \
34750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34751 $(NORMAL_TARGET_EXPORTS) \
34752 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34753 for flag in $(EXTRA_TARGET_FLAGS); do \
34754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34755 done; \
34756 (cd $(TARGET_SUBDIR)/qthreads && \
34757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34759 "RANLIB=$${RANLIB}" \
34760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34761 mostlyclean) \
34762 || exit 1
34764 @endif target-qthreads
34766 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34767 maybe-clean-target-qthreads:
34768 @if target-qthreads
34769 maybe-clean-target-qthreads: clean-target-qthreads
34771 clean-target-qthreads:
34772 @: $(MAKE); $(unstage)
34773 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34774 r=`${PWD_COMMAND}`; export r; \
34775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34776 $(NORMAL_TARGET_EXPORTS) \
34777 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34778 for flag in $(EXTRA_TARGET_FLAGS); do \
34779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34780 done; \
34781 (cd $(TARGET_SUBDIR)/qthreads && \
34782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34784 "RANLIB=$${RANLIB}" \
34785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34786 clean) \
34787 || exit 1
34789 @endif target-qthreads
34791 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34792 maybe-distclean-target-qthreads:
34793 @if target-qthreads
34794 maybe-distclean-target-qthreads: distclean-target-qthreads
34796 distclean-target-qthreads:
34797 @: $(MAKE); $(unstage)
34798 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34799 r=`${PWD_COMMAND}`; export r; \
34800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34801 $(NORMAL_TARGET_EXPORTS) \
34802 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34803 for flag in $(EXTRA_TARGET_FLAGS); do \
34804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34805 done; \
34806 (cd $(TARGET_SUBDIR)/qthreads && \
34807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34809 "RANLIB=$${RANLIB}" \
34810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34811 distclean) \
34812 || exit 1
34814 @endif target-qthreads
34816 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34817 maybe-maintainer-clean-target-qthreads:
34818 @if target-qthreads
34819 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34821 maintainer-clean-target-qthreads:
34822 @: $(MAKE); $(unstage)
34823 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34824 r=`${PWD_COMMAND}`; export r; \
34825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34826 $(NORMAL_TARGET_EXPORTS) \
34827 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34828 for flag in $(EXTRA_TARGET_FLAGS); do \
34829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34830 done; \
34831 (cd $(TARGET_SUBDIR)/qthreads && \
34832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34834 "RANLIB=$${RANLIB}" \
34835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34836 maintainer-clean) \
34837 || exit 1
34839 @endif target-qthreads
34845 .PHONY: configure-target-rda maybe-configure-target-rda
34846 maybe-configure-target-rda:
34847 @if target-rda
34848 maybe-configure-target-rda: configure-target-rda
34849 configure-target-rda:
34850 @: $(MAKE); $(unstage)
34851 @r=`${PWD_COMMAND}`; export r; \
34852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34853 echo "Checking multilib configuration for rda..."; \
34854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34855 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
34856 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
34857 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
34858 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
34859 else \
34860 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
34861 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34862 fi; \
34863 else \
34864 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34866 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34867 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34868 r=`${PWD_COMMAND}`; export r; \
34869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34870 $(NORMAL_TARGET_EXPORTS) \
34871 echo Configuring in $(TARGET_SUBDIR)/rda; \
34872 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34873 case $(srcdir) in \
34874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34875 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34877 esac; \
34878 srcdiroption="--srcdir=$${topdir}/rda"; \
34879 libsrcdir="$$s/rda"; \
34880 rm -f no-such-file || : ; \
34881 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34882 $(TARGET_CONFIGARGS) $${srcdiroption} \
34883 || exit 1
34884 @endif target-rda
34890 .PHONY: all-target-rda maybe-all-target-rda
34891 maybe-all-target-rda:
34892 @if target-rda
34893 TARGET-target-rda=all
34894 maybe-all-target-rda: all-target-rda
34895 all-target-rda: configure-target-rda
34896 @: $(MAKE); $(unstage)
34897 @r=`${PWD_COMMAND}`; export r; \
34898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34899 $(NORMAL_TARGET_EXPORTS) \
34900 (cd $(TARGET_SUBDIR)/rda && \
34901 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34902 @endif target-rda
34908 .PHONY: check-target-rda maybe-check-target-rda
34909 maybe-check-target-rda:
34910 @if target-rda
34911 maybe-check-target-rda: check-target-rda
34913 check-target-rda:
34914 @: $(MAKE); $(unstage)
34915 @r=`${PWD_COMMAND}`; export r; \
34916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34917 $(NORMAL_TARGET_EXPORTS) \
34918 (cd $(TARGET_SUBDIR)/rda && \
34919 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34921 @endif target-rda
34923 .PHONY: install-target-rda maybe-install-target-rda
34924 maybe-install-target-rda:
34925 @if target-rda
34926 maybe-install-target-rda: install-target-rda
34928 install-target-rda: installdirs
34929 @: $(MAKE); $(unstage)
34930 @r=`${PWD_COMMAND}`; export r; \
34931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34932 $(NORMAL_TARGET_EXPORTS) \
34933 (cd $(TARGET_SUBDIR)/rda && \
34934 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34936 @endif target-rda
34938 # Other targets (info, dvi, etc.)
34940 .PHONY: maybe-info-target-rda info-target-rda
34941 maybe-info-target-rda:
34942 @if target-rda
34943 maybe-info-target-rda: info-target-rda
34945 info-target-rda: \
34946 configure-target-rda
34947 @: $(MAKE); $(unstage)
34948 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34949 r=`${PWD_COMMAND}`; export r; \
34950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34951 $(NORMAL_TARGET_EXPORTS) \
34952 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34953 for flag in $(EXTRA_TARGET_FLAGS); do \
34954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34955 done; \
34956 (cd $(TARGET_SUBDIR)/rda && \
34957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34959 "RANLIB=$${RANLIB}" \
34960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34961 info) \
34962 || exit 1
34964 @endif target-rda
34966 .PHONY: maybe-dvi-target-rda dvi-target-rda
34967 maybe-dvi-target-rda:
34968 @if target-rda
34969 maybe-dvi-target-rda: dvi-target-rda
34971 dvi-target-rda: \
34972 configure-target-rda
34973 @: $(MAKE); $(unstage)
34974 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34975 r=`${PWD_COMMAND}`; export r; \
34976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34977 $(NORMAL_TARGET_EXPORTS) \
34978 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34979 for flag in $(EXTRA_TARGET_FLAGS); do \
34980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34981 done; \
34982 (cd $(TARGET_SUBDIR)/rda && \
34983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34985 "RANLIB=$${RANLIB}" \
34986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34987 dvi) \
34988 || exit 1
34990 @endif target-rda
34992 .PHONY: maybe-html-target-rda html-target-rda
34993 maybe-html-target-rda:
34994 @if target-rda
34995 maybe-html-target-rda: html-target-rda
34997 html-target-rda: \
34998 configure-target-rda
34999 @: $(MAKE); $(unstage)
35000 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35001 r=`${PWD_COMMAND}`; export r; \
35002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35003 $(NORMAL_TARGET_EXPORTS) \
35004 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35005 for flag in $(EXTRA_TARGET_FLAGS); do \
35006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35007 done; \
35008 (cd $(TARGET_SUBDIR)/rda && \
35009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35011 "RANLIB=$${RANLIB}" \
35012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35013 html) \
35014 || exit 1
35016 @endif target-rda
35018 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35019 maybe-TAGS-target-rda:
35020 @if target-rda
35021 maybe-TAGS-target-rda: TAGS-target-rda
35023 TAGS-target-rda: \
35024 configure-target-rda
35025 @: $(MAKE); $(unstage)
35026 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35027 r=`${PWD_COMMAND}`; export r; \
35028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35029 $(NORMAL_TARGET_EXPORTS) \
35030 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35031 for flag in $(EXTRA_TARGET_FLAGS); do \
35032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35033 done; \
35034 (cd $(TARGET_SUBDIR)/rda && \
35035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35037 "RANLIB=$${RANLIB}" \
35038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35039 TAGS) \
35040 || exit 1
35042 @endif target-rda
35044 .PHONY: maybe-install-info-target-rda install-info-target-rda
35045 maybe-install-info-target-rda:
35046 @if target-rda
35047 maybe-install-info-target-rda: install-info-target-rda
35049 install-info-target-rda: \
35050 configure-target-rda \
35051 info-target-rda
35052 @: $(MAKE); $(unstage)
35053 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35054 r=`${PWD_COMMAND}`; export r; \
35055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35056 $(NORMAL_TARGET_EXPORTS) \
35057 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35058 for flag in $(EXTRA_TARGET_FLAGS); do \
35059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35060 done; \
35061 (cd $(TARGET_SUBDIR)/rda && \
35062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35064 "RANLIB=$${RANLIB}" \
35065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35066 install-info) \
35067 || exit 1
35069 @endif target-rda
35071 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35072 maybe-installcheck-target-rda:
35073 @if target-rda
35074 maybe-installcheck-target-rda: installcheck-target-rda
35076 installcheck-target-rda: \
35077 configure-target-rda
35078 @: $(MAKE); $(unstage)
35079 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35080 r=`${PWD_COMMAND}`; export r; \
35081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35082 $(NORMAL_TARGET_EXPORTS) \
35083 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35084 for flag in $(EXTRA_TARGET_FLAGS); do \
35085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35086 done; \
35087 (cd $(TARGET_SUBDIR)/rda && \
35088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35090 "RANLIB=$${RANLIB}" \
35091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35092 installcheck) \
35093 || exit 1
35095 @endif target-rda
35097 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35098 maybe-mostlyclean-target-rda:
35099 @if target-rda
35100 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35102 mostlyclean-target-rda:
35103 @: $(MAKE); $(unstage)
35104 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35105 r=`${PWD_COMMAND}`; export r; \
35106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35107 $(NORMAL_TARGET_EXPORTS) \
35108 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35109 for flag in $(EXTRA_TARGET_FLAGS); do \
35110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35111 done; \
35112 (cd $(TARGET_SUBDIR)/rda && \
35113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35115 "RANLIB=$${RANLIB}" \
35116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35117 mostlyclean) \
35118 || exit 1
35120 @endif target-rda
35122 .PHONY: maybe-clean-target-rda clean-target-rda
35123 maybe-clean-target-rda:
35124 @if target-rda
35125 maybe-clean-target-rda: clean-target-rda
35127 clean-target-rda:
35128 @: $(MAKE); $(unstage)
35129 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35130 r=`${PWD_COMMAND}`; export r; \
35131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35132 $(NORMAL_TARGET_EXPORTS) \
35133 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35134 for flag in $(EXTRA_TARGET_FLAGS); do \
35135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35136 done; \
35137 (cd $(TARGET_SUBDIR)/rda && \
35138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35140 "RANLIB=$${RANLIB}" \
35141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35142 clean) \
35143 || exit 1
35145 @endif target-rda
35147 .PHONY: maybe-distclean-target-rda distclean-target-rda
35148 maybe-distclean-target-rda:
35149 @if target-rda
35150 maybe-distclean-target-rda: distclean-target-rda
35152 distclean-target-rda:
35153 @: $(MAKE); $(unstage)
35154 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35155 r=`${PWD_COMMAND}`; export r; \
35156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35157 $(NORMAL_TARGET_EXPORTS) \
35158 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35159 for flag in $(EXTRA_TARGET_FLAGS); do \
35160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35161 done; \
35162 (cd $(TARGET_SUBDIR)/rda && \
35163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35165 "RANLIB=$${RANLIB}" \
35166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35167 distclean) \
35168 || exit 1
35170 @endif target-rda
35172 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35173 maybe-maintainer-clean-target-rda:
35174 @if target-rda
35175 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35177 maintainer-clean-target-rda:
35178 @: $(MAKE); $(unstage)
35179 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35180 r=`${PWD_COMMAND}`; export r; \
35181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35182 $(NORMAL_TARGET_EXPORTS) \
35183 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35184 for flag in $(EXTRA_TARGET_FLAGS); do \
35185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35186 done; \
35187 (cd $(TARGET_SUBDIR)/rda && \
35188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35190 "RANLIB=$${RANLIB}" \
35191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35192 maintainer-clean) \
35193 || exit 1
35195 @endif target-rda
35201 .PHONY: configure-target-libada maybe-configure-target-libada
35202 maybe-configure-target-libada:
35203 @if target-libada
35204 maybe-configure-target-libada: configure-target-libada
35205 configure-target-libada:
35206 @: $(MAKE); $(unstage)
35207 @r=`${PWD_COMMAND}`; export r; \
35208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35209 echo "Checking multilib configuration for libada..."; \
35210 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35211 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35212 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35213 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35214 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35215 else \
35216 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35217 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35218 fi; \
35219 else \
35220 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35222 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35223 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35224 r=`${PWD_COMMAND}`; export r; \
35225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35226 $(NORMAL_TARGET_EXPORTS) \
35227 echo Configuring in $(TARGET_SUBDIR)/libada; \
35228 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35229 case $(srcdir) in \
35230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35231 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35233 esac; \
35234 srcdiroption="--srcdir=$${topdir}/libada"; \
35235 libsrcdir="$$s/libada"; \
35236 rm -f no-such-file || : ; \
35237 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35238 $(TARGET_CONFIGARGS) $${srcdiroption} \
35239 || exit 1
35240 @endif target-libada
35246 .PHONY: all-target-libada maybe-all-target-libada
35247 maybe-all-target-libada:
35248 @if target-libada
35249 TARGET-target-libada=all
35250 maybe-all-target-libada: all-target-libada
35251 all-target-libada: configure-target-libada
35252 @: $(MAKE); $(unstage)
35253 @r=`${PWD_COMMAND}`; export r; \
35254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35255 $(NORMAL_TARGET_EXPORTS) \
35256 (cd $(TARGET_SUBDIR)/libada && \
35257 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35258 @endif target-libada
35264 .PHONY: check-target-libada maybe-check-target-libada
35265 maybe-check-target-libada:
35266 @if target-libada
35267 maybe-check-target-libada: check-target-libada
35269 check-target-libada:
35270 @: $(MAKE); $(unstage)
35271 @r=`${PWD_COMMAND}`; export r; \
35272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35273 $(NORMAL_TARGET_EXPORTS) \
35274 (cd $(TARGET_SUBDIR)/libada && \
35275 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35277 @endif target-libada
35279 .PHONY: install-target-libada maybe-install-target-libada
35280 maybe-install-target-libada:
35281 @if target-libada
35282 maybe-install-target-libada: install-target-libada
35284 install-target-libada: installdirs
35285 @: $(MAKE); $(unstage)
35286 @r=`${PWD_COMMAND}`; export r; \
35287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35288 $(NORMAL_TARGET_EXPORTS) \
35289 (cd $(TARGET_SUBDIR)/libada && \
35290 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35292 @endif target-libada
35294 # Other targets (info, dvi, etc.)
35296 .PHONY: maybe-info-target-libada info-target-libada
35297 maybe-info-target-libada:
35298 @if target-libada
35299 maybe-info-target-libada: info-target-libada
35301 info-target-libada: \
35302 configure-target-libada
35303 @: $(MAKE); $(unstage)
35304 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35305 r=`${PWD_COMMAND}`; export r; \
35306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35307 $(NORMAL_TARGET_EXPORTS) \
35308 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35309 for flag in $(EXTRA_TARGET_FLAGS); do \
35310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35311 done; \
35312 (cd $(TARGET_SUBDIR)/libada && \
35313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35315 "RANLIB=$${RANLIB}" \
35316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35317 info) \
35318 || exit 1
35320 @endif target-libada
35322 .PHONY: maybe-dvi-target-libada dvi-target-libada
35323 maybe-dvi-target-libada:
35324 @if target-libada
35325 maybe-dvi-target-libada: dvi-target-libada
35327 dvi-target-libada: \
35328 configure-target-libada
35329 @: $(MAKE); $(unstage)
35330 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35331 r=`${PWD_COMMAND}`; export r; \
35332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35333 $(NORMAL_TARGET_EXPORTS) \
35334 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35335 for flag in $(EXTRA_TARGET_FLAGS); do \
35336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35337 done; \
35338 (cd $(TARGET_SUBDIR)/libada && \
35339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35341 "RANLIB=$${RANLIB}" \
35342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35343 dvi) \
35344 || exit 1
35346 @endif target-libada
35348 .PHONY: maybe-html-target-libada html-target-libada
35349 maybe-html-target-libada:
35350 @if target-libada
35351 maybe-html-target-libada: html-target-libada
35353 html-target-libada: \
35354 configure-target-libada
35355 @: $(MAKE); $(unstage)
35356 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35357 r=`${PWD_COMMAND}`; export r; \
35358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35359 $(NORMAL_TARGET_EXPORTS) \
35360 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35361 for flag in $(EXTRA_TARGET_FLAGS); do \
35362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35363 done; \
35364 (cd $(TARGET_SUBDIR)/libada && \
35365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35367 "RANLIB=$${RANLIB}" \
35368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35369 html) \
35370 || exit 1
35372 @endif target-libada
35374 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35375 maybe-TAGS-target-libada:
35376 @if target-libada
35377 maybe-TAGS-target-libada: TAGS-target-libada
35379 TAGS-target-libada: \
35380 configure-target-libada
35381 @: $(MAKE); $(unstage)
35382 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35383 r=`${PWD_COMMAND}`; export r; \
35384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35385 $(NORMAL_TARGET_EXPORTS) \
35386 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35387 for flag in $(EXTRA_TARGET_FLAGS); do \
35388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35389 done; \
35390 (cd $(TARGET_SUBDIR)/libada && \
35391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35393 "RANLIB=$${RANLIB}" \
35394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35395 TAGS) \
35396 || exit 1
35398 @endif target-libada
35400 .PHONY: maybe-install-info-target-libada install-info-target-libada
35401 maybe-install-info-target-libada:
35402 @if target-libada
35403 maybe-install-info-target-libada: install-info-target-libada
35405 install-info-target-libada: \
35406 configure-target-libada \
35407 info-target-libada
35408 @: $(MAKE); $(unstage)
35409 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35410 r=`${PWD_COMMAND}`; export r; \
35411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35412 $(NORMAL_TARGET_EXPORTS) \
35413 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35414 for flag in $(EXTRA_TARGET_FLAGS); do \
35415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35416 done; \
35417 (cd $(TARGET_SUBDIR)/libada && \
35418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35420 "RANLIB=$${RANLIB}" \
35421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35422 install-info) \
35423 || exit 1
35425 @endif target-libada
35427 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35428 maybe-installcheck-target-libada:
35429 @if target-libada
35430 maybe-installcheck-target-libada: installcheck-target-libada
35432 installcheck-target-libada: \
35433 configure-target-libada
35434 @: $(MAKE); $(unstage)
35435 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35436 r=`${PWD_COMMAND}`; export r; \
35437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35438 $(NORMAL_TARGET_EXPORTS) \
35439 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35440 for flag in $(EXTRA_TARGET_FLAGS); do \
35441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35442 done; \
35443 (cd $(TARGET_SUBDIR)/libada && \
35444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35446 "RANLIB=$${RANLIB}" \
35447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35448 installcheck) \
35449 || exit 1
35451 @endif target-libada
35453 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35454 maybe-mostlyclean-target-libada:
35455 @if target-libada
35456 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35458 mostlyclean-target-libada:
35459 @: $(MAKE); $(unstage)
35460 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35461 r=`${PWD_COMMAND}`; export r; \
35462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35463 $(NORMAL_TARGET_EXPORTS) \
35464 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35465 for flag in $(EXTRA_TARGET_FLAGS); do \
35466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35467 done; \
35468 (cd $(TARGET_SUBDIR)/libada && \
35469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35471 "RANLIB=$${RANLIB}" \
35472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35473 mostlyclean) \
35474 || exit 1
35476 @endif target-libada
35478 .PHONY: maybe-clean-target-libada clean-target-libada
35479 maybe-clean-target-libada:
35480 @if target-libada
35481 maybe-clean-target-libada: clean-target-libada
35483 clean-target-libada:
35484 @: $(MAKE); $(unstage)
35485 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35486 r=`${PWD_COMMAND}`; export r; \
35487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35488 $(NORMAL_TARGET_EXPORTS) \
35489 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35490 for flag in $(EXTRA_TARGET_FLAGS); do \
35491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35492 done; \
35493 (cd $(TARGET_SUBDIR)/libada && \
35494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35496 "RANLIB=$${RANLIB}" \
35497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35498 clean) \
35499 || exit 1
35501 @endif target-libada
35503 .PHONY: maybe-distclean-target-libada distclean-target-libada
35504 maybe-distclean-target-libada:
35505 @if target-libada
35506 maybe-distclean-target-libada: distclean-target-libada
35508 distclean-target-libada:
35509 @: $(MAKE); $(unstage)
35510 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35511 r=`${PWD_COMMAND}`; export r; \
35512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35513 $(NORMAL_TARGET_EXPORTS) \
35514 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
35515 for flag in $(EXTRA_TARGET_FLAGS); do \
35516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35517 done; \
35518 (cd $(TARGET_SUBDIR)/libada && \
35519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35521 "RANLIB=$${RANLIB}" \
35522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35523 distclean) \
35524 || exit 1
35526 @endif target-libada
35528 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35529 maybe-maintainer-clean-target-libada:
35530 @if target-libada
35531 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35533 maintainer-clean-target-libada:
35534 @: $(MAKE); $(unstage)
35535 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35536 r=`${PWD_COMMAND}`; export r; \
35537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35538 $(NORMAL_TARGET_EXPORTS) \
35539 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35540 for flag in $(EXTRA_TARGET_FLAGS); do \
35541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35542 done; \
35543 (cd $(TARGET_SUBDIR)/libada && \
35544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35546 "RANLIB=$${RANLIB}" \
35547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35548 maintainer-clean) \
35549 || exit 1
35551 @endif target-libada
35555 # ----------
35556 # GCC module
35557 # ----------
35559 @if gcc-no-bootstrap
35560 # GCC has some more recursive targets, which trigger the old
35561 # (but still current, until the toplevel bootstrap project
35562 # is finished) compiler bootstrapping rules.
35564 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35565 .PHONY: $(GCC_STRAP_TARGETS)
35566 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35567 @r=`${PWD_COMMAND}`; export r; \
35568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35569 $(HOST_EXPORTS) \
35570 echo "Bootstrapping the compiler"; \
35571 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35572 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35573 @r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 case "$@" in \
35576 *bootstrap4-lean ) \
35577 msg="Comparing stage3 and stage4 of the compiler"; \
35578 compare=compare3-lean ;; \
35579 *bootstrap4 ) \
35580 msg="Comparing stage3 and stage4 of the compiler"; \
35581 compare=compare3 ;; \
35582 *-lean ) \
35583 msg="Comparing stage2 and stage3 of the compiler"; \
35584 compare=compare-lean ;; \
35585 * ) \
35586 msg="Comparing stage2 and stage3 of the compiler"; \
35587 compare=compare ;; \
35588 esac; \
35589 $(HOST_EXPORTS) \
35590 echo "$$msg"; \
35591 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35592 @r=`${PWD_COMMAND}`; export r; \
35593 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35594 echo "Building runtime libraries"; \
35595 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35597 profiledbootstrap: all-prebootstrap configure-gcc
35598 @r=`${PWD_COMMAND}`; export r; \
35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35600 $(HOST_EXPORTS) \
35601 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35602 echo "Bootstrapping training compiler"; \
35603 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35604 @r=`${PWD_COMMAND}`; export r; \
35605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35606 $(HOST_EXPORTS) \
35607 echo "Building feedback based compiler"; \
35608 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35609 @r=`${PWD_COMMAND}`; export r; \
35610 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35611 echo "Building runtime libraries"; \
35612 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35614 .PHONY: cross
35615 cross: all-build all-gas all-ld
35616 @r=`${PWD_COMMAND}`; export r; \
35617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35618 $(HOST_EXPORTS) \
35619 echo "Building the C and C++ compiler"; \
35620 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35621 @r=`${PWD_COMMAND}`; export r; \
35622 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35623 echo "Building runtime libraries"; \
35624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35625 @endif gcc-no-bootstrap
35627 @if gcc
35628 .PHONY: check-gcc-c++
35629 check-gcc-c++:
35630 @if [ -f ./gcc/Makefile ] ; then \
35631 r=`${PWD_COMMAND}`; export r; \
35632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35633 $(HOST_EXPORTS) \
35634 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35635 else \
35636 true; \
35639 .PHONY: check-c++
35640 check-c++: check-target-libstdc++-v3 check-gcc-c++
35642 # Install the gcc headers files, but not the fixed include files,
35643 # which Cygnus is not allowed to distribute. This rule is very
35644 # dependent on the workings of the gcc Makefile.in.
35645 .PHONY: gcc-no-fixedincludes
35646 gcc-no-fixedincludes:
35647 @if [ -f ./gcc/Makefile ]; then \
35648 rm -rf gcc/tmp-include; \
35649 mv gcc/include gcc/tmp-include 2>/dev/null; \
35650 mkdir gcc/include; \
35651 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35652 touch gcc/stmp-fixinc gcc/include/fixed; \
35653 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35654 r=`${PWD_COMMAND}`; export r; \
35655 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35656 $(HOST_EXPORTS) \
35657 (cd ./gcc && \
35658 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35659 rm -rf gcc/include; \
35660 mv gcc/tmp-include gcc/include 2>/dev/null; \
35661 else true; fi
35662 @endif gcc
35664 # ---------------------
35665 # GCC bootstrap support
35666 # ---------------------
35668 # We track the current stage (the one in 'gcc') in the stage_current file.
35669 # stage_last instead tracks the stage that was built last. These targets
35670 # are dummy when toplevel bootstrap is not active.
35672 # While making host and target tools, symlinks to the final stage must be
35673 # there, so $(unstage) should be run at various points. To avoid excessive
35674 # recursive invocations of make, we "inline" them using a variable. These
35675 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
35676 # to avoid warnings from the GNU Make job server.
35678 unstage = :
35679 stage = :
35681 @if gcc-bootstrap
35682 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35683 stage = [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35684 @endif gcc-bootstrap
35686 .PHONY: unstage stage
35687 unstage:
35688 @: $(MAKE); $(unstage)
35689 stage:
35690 @: $(MAKE); $(stage)
35692 # We name the build directories for the various stages "stage1-gcc",
35693 # "stage2-gcc","stage3-gcc", etc.
35695 # Since the 'compare' process will fail (on debugging information) if any
35696 # directory names are different, we need to link the gcc directory for
35697 # the previous stage to a constant name ('prev-gcc'), and to make the name of
35698 # the build directories constant as well. For the latter, we use naked names
35699 # like 'gcc', because the scripts in that directory assume it. We use
35700 # mv on platforms where symlinks to directories do not work or are not
35701 # reliable.
35703 # 'touch' doesn't work right on some platforms.
35704 STAMP = echo timestamp >
35706 # Only build the C compiler for stage1, because that is the only one that
35707 # we can guarantee will build with the native compiler, and also it is the
35708 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35709 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35710 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35712 STAGE1_CFLAGS=@stage1_cflags@
35713 STAGE1_LANGUAGES=@stage1_languages@
35715 # We only want to compare .o files, so set this!
35716 objext = .o
35718 # Flags to pass to stage2 and later makes.
35719 POSTSTAGE1_FLAGS_TO_PASS = \
35720 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35721 STAGE_PREFIX=$$r/prev-gcc/ \
35722 CFLAGS="$(BOOT_CFLAGS)" \
35723 ADAC="\$$(CC)"
35725 # For stage 1:
35726 # * We force-disable intermodule optimizations, even if
35727 # --enable-intermodule was passed, since the installed compiler probably
35728 # can't handle them. Luckily, autoconf always respects
35729 # the last argument when conflicting --enable arguments are passed.
35730 # * Likewise, we force-disable coverage flags, since the installed compiler
35731 # probably has never heard of them.
35732 # * We build only C (and possibly Ada).
35735 .PHONY: stage1-start stage1-end
35737 stage1-start::
35738 @: $(MAKE); $(stage); \
35739 echo stage1 > stage_current ; \
35740 echo stage1 > stage_last; \
35741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
35742 @if bfd
35743 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35744 mkdir stage1-bfd; \
35745 set stage1-bfd bfd ; \
35746 @CREATE_LINK_TO_DIR@
35747 @endif bfd
35748 @if opcodes
35749 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35750 mkdir stage1-opcodes; \
35751 set stage1-opcodes opcodes ; \
35752 @CREATE_LINK_TO_DIR@
35753 @endif opcodes
35754 @if binutils
35755 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35756 mkdir stage1-binutils; \
35757 set stage1-binutils binutils ; \
35758 @CREATE_LINK_TO_DIR@
35759 @endif binutils
35760 @if gas
35761 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35762 mkdir stage1-gas; \
35763 set stage1-gas gas ; \
35764 @CREATE_LINK_TO_DIR@
35765 @endif gas
35766 @if gcc
35767 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35768 mkdir stage1-gcc; \
35769 set stage1-gcc gcc ; \
35770 @CREATE_LINK_TO_DIR@
35771 @endif gcc
35772 @if intl
35773 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35774 mkdir stage1-intl; \
35775 set stage1-intl intl ; \
35776 @CREATE_LINK_TO_DIR@
35777 @endif intl
35778 @if ld
35779 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35780 mkdir stage1-ld; \
35781 set stage1-ld ld ; \
35782 @CREATE_LINK_TO_DIR@
35783 @endif ld
35784 @if libcpp
35785 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35786 mkdir stage1-libcpp; \
35787 set stage1-libcpp libcpp ; \
35788 @CREATE_LINK_TO_DIR@
35789 @endif libcpp
35790 @if libdecnumber
35791 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
35792 mkdir stage1-libdecnumber; \
35793 set stage1-libdecnumber libdecnumber ; \
35794 @CREATE_LINK_TO_DIR@
35795 @endif libdecnumber
35796 @if libiberty
35797 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35798 mkdir stage1-libiberty; \
35799 set stage1-libiberty libiberty ; \
35800 @CREATE_LINK_TO_DIR@
35801 @endif libiberty
35802 @if zlib
35803 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35804 mkdir stage1-zlib; \
35805 set stage1-zlib zlib ; \
35806 @CREATE_LINK_TO_DIR@
35807 @endif zlib
35808 @[ -d stage1-$(TARGET_SUBDIR) ] || \
35809 mkdir stage1-$(TARGET_SUBDIR); \
35810 set stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
35811 @CREATE_LINK_TO_DIR@
35813 stage1-end::
35814 @rm -f stage_current
35815 @if bfd
35816 @if test -d $(HOST_SUBDIR) ; then \
35817 cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35818 @UNDO_LINK_TO_DIR@ ; \
35820 @endif bfd
35821 @if opcodes
35822 @if test -d $(HOST_SUBDIR) ; then \
35823 cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35824 @UNDO_LINK_TO_DIR@ ; \
35826 @endif opcodes
35827 @if binutils
35828 @if test -d $(HOST_SUBDIR) ; then \
35829 cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35830 @UNDO_LINK_TO_DIR@ ; \
35832 @endif binutils
35833 @if gas
35834 @if test -d $(HOST_SUBDIR) ; then \
35835 cd $(HOST_SUBDIR); set gas stage1-gas ; \
35836 @UNDO_LINK_TO_DIR@ ; \
35838 @endif gas
35839 @if gcc
35840 @if test -d $(HOST_SUBDIR) ; then \
35841 cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35842 @UNDO_LINK_TO_DIR@ ; \
35844 @endif gcc
35845 @if intl
35846 @if test -d $(HOST_SUBDIR) ; then \
35847 cd $(HOST_SUBDIR); set intl stage1-intl ; \
35848 @UNDO_LINK_TO_DIR@ ; \
35850 @endif intl
35851 @if ld
35852 @if test -d $(HOST_SUBDIR) ; then \
35853 cd $(HOST_SUBDIR); set ld stage1-ld ; \
35854 @UNDO_LINK_TO_DIR@ ; \
35856 @endif ld
35857 @if libcpp
35858 @if test -d $(HOST_SUBDIR) ; then \
35859 cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35860 @UNDO_LINK_TO_DIR@ ; \
35862 @endif libcpp
35863 @if libdecnumber
35864 @if test -d $(HOST_SUBDIR) ; then \
35865 cd $(HOST_SUBDIR); set libdecnumber stage1-libdecnumber ; \
35866 @UNDO_LINK_TO_DIR@ ; \
35868 @endif libdecnumber
35869 @if libiberty
35870 @if test -d $(HOST_SUBDIR) ; then \
35871 cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35872 @UNDO_LINK_TO_DIR@ ; \
35874 @endif libiberty
35875 @if zlib
35876 @if test -d $(HOST_SUBDIR) ; then \
35877 cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35878 @UNDO_LINK_TO_DIR@ ; \
35880 @endif zlib
35881 @if test -d $(TARGET_SUBDIR) ; then \
35882 set $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
35883 @UNDO_LINK_TO_DIR@ ; \
35886 # Bubble a bugfix through all the stages up to stage 1. They are
35887 # remade, but not reconfigured. The next stage (if any) will not be
35888 # reconfigured as well.
35889 .PHONY: stage1-bubble
35890 stage1-bubble::
35891 @r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 if test -f stage1-lean ; then \
35894 echo Skipping rebuild of stage1 ; \
35895 else \
35896 $(MAKE) stage1-start; \
35897 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35900 .PHONY: all-stage1 clean-stage1
35901 do-clean: clean-stage1
35903 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35904 # only possibility, but now it conflicts with no-bootstrap rules
35905 @if gcc-bootstrap
35910 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35912 .PHONY: distclean-stage1
35913 distclean-stage1::
35914 @: $(MAKE); $(stage)
35915 rm -rf stage1-*
35918 @endif gcc-bootstrap
35921 .PHONY: stage2-start stage2-end
35923 stage2-start::
35924 @: $(MAKE); $(stage); \
35925 echo stage2 > stage_current ; \
35926 echo stage2 > stage_last; \
35927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
35928 @if bfd
35929 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35930 mkdir stage2-bfd; \
35931 set stage2-bfd bfd ; \
35932 @CREATE_LINK_TO_DIR@ ; \
35933 set stage1-bfd prev-bfd ; \
35934 @CREATE_LINK_TO_DIR@
35935 @endif bfd
35936 @if opcodes
35937 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35938 mkdir stage2-opcodes; \
35939 set stage2-opcodes opcodes ; \
35940 @CREATE_LINK_TO_DIR@ ; \
35941 set stage1-opcodes prev-opcodes ; \
35942 @CREATE_LINK_TO_DIR@
35943 @endif opcodes
35944 @if binutils
35945 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35946 mkdir stage2-binutils; \
35947 set stage2-binutils binutils ; \
35948 @CREATE_LINK_TO_DIR@ ; \
35949 set stage1-binutils prev-binutils ; \
35950 @CREATE_LINK_TO_DIR@
35951 @endif binutils
35952 @if gas
35953 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35954 mkdir stage2-gas; \
35955 set stage2-gas gas ; \
35956 @CREATE_LINK_TO_DIR@ ; \
35957 set stage1-gas prev-gas ; \
35958 @CREATE_LINK_TO_DIR@
35959 @endif gas
35960 @if gcc
35961 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35962 mkdir stage2-gcc; \
35963 set stage2-gcc gcc ; \
35964 @CREATE_LINK_TO_DIR@ ; \
35965 set stage1-gcc prev-gcc ; \
35966 @CREATE_LINK_TO_DIR@
35967 @endif gcc
35968 @if intl
35969 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35970 mkdir stage2-intl; \
35971 set stage2-intl intl ; \
35972 @CREATE_LINK_TO_DIR@ ; \
35973 set stage1-intl prev-intl ; \
35974 @CREATE_LINK_TO_DIR@
35975 @endif intl
35976 @if ld
35977 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35978 mkdir stage2-ld; \
35979 set stage2-ld ld ; \
35980 @CREATE_LINK_TO_DIR@ ; \
35981 set stage1-ld prev-ld ; \
35982 @CREATE_LINK_TO_DIR@
35983 @endif ld
35984 @if libcpp
35985 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35986 mkdir stage2-libcpp; \
35987 set stage2-libcpp libcpp ; \
35988 @CREATE_LINK_TO_DIR@ ; \
35989 set stage1-libcpp prev-libcpp ; \
35990 @CREATE_LINK_TO_DIR@
35991 @endif libcpp
35992 @if libdecnumber
35993 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
35994 mkdir stage2-libdecnumber; \
35995 set stage2-libdecnumber libdecnumber ; \
35996 @CREATE_LINK_TO_DIR@ ; \
35997 set stage1-libdecnumber prev-libdecnumber ; \
35998 @CREATE_LINK_TO_DIR@
35999 @endif libdecnumber
36000 @if libiberty
36001 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
36002 mkdir stage2-libiberty; \
36003 set stage2-libiberty libiberty ; \
36004 @CREATE_LINK_TO_DIR@ ; \
36005 set stage1-libiberty prev-libiberty ; \
36006 @CREATE_LINK_TO_DIR@
36007 @endif libiberty
36008 @if zlib
36009 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36010 mkdir stage2-zlib; \
36011 set stage2-zlib zlib ; \
36012 @CREATE_LINK_TO_DIR@ ; \
36013 set stage1-zlib prev-zlib ; \
36014 @CREATE_LINK_TO_DIR@
36015 @endif zlib
36016 @[ -d stage2-$(TARGET_SUBDIR) ] || \
36017 mkdir stage2-$(TARGET_SUBDIR); \
36018 set stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36019 @CREATE_LINK_TO_DIR@ ; \
36020 set stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36021 @CREATE_LINK_TO_DIR@
36023 stage2-end::
36024 @rm -f stage_current
36025 @if bfd
36026 @if test -d $(HOST_SUBDIR) ; then \
36027 cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
36028 @UNDO_LINK_TO_DIR@ ; \
36029 set prev-bfd stage1-bfd ; \
36030 @UNDO_LINK_TO_DIR@ ; \
36032 @endif bfd
36033 @if opcodes
36034 @if test -d $(HOST_SUBDIR) ; then \
36035 cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
36036 @UNDO_LINK_TO_DIR@ ; \
36037 set prev-opcodes stage1-opcodes ; \
36038 @UNDO_LINK_TO_DIR@ ; \
36040 @endif opcodes
36041 @if binutils
36042 @if test -d $(HOST_SUBDIR) ; then \
36043 cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
36044 @UNDO_LINK_TO_DIR@ ; \
36045 set prev-binutils stage1-binutils ; \
36046 @UNDO_LINK_TO_DIR@ ; \
36048 @endif binutils
36049 @if gas
36050 @if test -d $(HOST_SUBDIR) ; then \
36051 cd $(HOST_SUBDIR); set gas stage2-gas ; \
36052 @UNDO_LINK_TO_DIR@ ; \
36053 set prev-gas stage1-gas ; \
36054 @UNDO_LINK_TO_DIR@ ; \
36056 @endif gas
36057 @if gcc
36058 @if test -d $(HOST_SUBDIR) ; then \
36059 cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
36060 @UNDO_LINK_TO_DIR@ ; \
36061 set prev-gcc stage1-gcc ; \
36062 @UNDO_LINK_TO_DIR@ ; \
36064 @endif gcc
36065 @if intl
36066 @if test -d $(HOST_SUBDIR) ; then \
36067 cd $(HOST_SUBDIR); set intl stage2-intl ; \
36068 @UNDO_LINK_TO_DIR@ ; \
36069 set prev-intl stage1-intl ; \
36070 @UNDO_LINK_TO_DIR@ ; \
36072 @endif intl
36073 @if ld
36074 @if test -d $(HOST_SUBDIR) ; then \
36075 cd $(HOST_SUBDIR); set ld stage2-ld ; \
36076 @UNDO_LINK_TO_DIR@ ; \
36077 set prev-ld stage1-ld ; \
36078 @UNDO_LINK_TO_DIR@ ; \
36080 @endif ld
36081 @if libcpp
36082 @if test -d $(HOST_SUBDIR) ; then \
36083 cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
36084 @UNDO_LINK_TO_DIR@ ; \
36085 set prev-libcpp stage1-libcpp ; \
36086 @UNDO_LINK_TO_DIR@ ; \
36088 @endif libcpp
36089 @if libdecnumber
36090 @if test -d $(HOST_SUBDIR) ; then \
36091 cd $(HOST_SUBDIR); set libdecnumber stage2-libdecnumber ; \
36092 @UNDO_LINK_TO_DIR@ ; \
36093 set prev-libdecnumber stage1-libdecnumber ; \
36094 @UNDO_LINK_TO_DIR@ ; \
36096 @endif libdecnumber
36097 @if libiberty
36098 @if test -d $(HOST_SUBDIR) ; then \
36099 cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
36100 @UNDO_LINK_TO_DIR@ ; \
36101 set prev-libiberty stage1-libiberty ; \
36102 @UNDO_LINK_TO_DIR@ ; \
36104 @endif libiberty
36105 @if zlib
36106 @if test -d $(HOST_SUBDIR) ; then \
36107 cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
36108 @UNDO_LINK_TO_DIR@ ; \
36109 set prev-zlib stage1-zlib ; \
36110 @UNDO_LINK_TO_DIR@ ; \
36112 @endif zlib
36113 @if test -d $(TARGET_SUBDIR) ; then \
36114 set $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36115 @UNDO_LINK_TO_DIR@ ; \
36116 set prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36117 @UNDO_LINK_TO_DIR@ ; \
36120 # Bubble a bugfix through all the stages up to stage 2. They are
36121 # remade, but not reconfigured. The next stage (if any) will not be
36122 # reconfigured as well.
36123 .PHONY: stage2-bubble
36124 stage2-bubble:: stage1-bubble
36125 @r=`${PWD_COMMAND}`; export r; \
36126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36127 if test -f stage2-lean || test -f stage1-lean ; then \
36128 echo Skipping rebuild of stage2 ; \
36129 else \
36130 $(MAKE) stage2-start; \
36131 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
36134 .PHONY: all-stage2 clean-stage2
36135 do-clean: clean-stage2
36137 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36138 # only possibility, but now it conflicts with no-bootstrap rules
36139 @if gcc-bootstrap
36143 .PHONY: bootstrap2
36144 bootstrap2:
36145 echo stage2 > stage_final
36146 @r=`${PWD_COMMAND}`; export r; \
36147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
36149 @: $(MAKE); $(unstage)
36150 @r=`${PWD_COMMAND}`; export r; \
36151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36152 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36153 @: $(MAKE); $(stage)
36156 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36157 distclean-stage1:: distclean-stage2
36158 .PHONY: distclean-stage2
36159 distclean-stage2::
36160 @: $(MAKE); $(stage)
36161 rm -rf stage2-*
36164 @endif gcc-bootstrap
36167 .PHONY: stage3-start stage3-end
36169 stage3-start::
36170 @: $(MAKE); $(stage); \
36171 echo stage3 > stage_current ; \
36172 echo stage3 > stage_last; \
36173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36174 @if bfd
36175 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
36176 mkdir stage3-bfd; \
36177 set stage3-bfd bfd ; \
36178 @CREATE_LINK_TO_DIR@ ; \
36179 set stage2-bfd prev-bfd ; \
36180 @CREATE_LINK_TO_DIR@
36181 @endif bfd
36182 @if opcodes
36183 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
36184 mkdir stage3-opcodes; \
36185 set stage3-opcodes opcodes ; \
36186 @CREATE_LINK_TO_DIR@ ; \
36187 set stage2-opcodes prev-opcodes ; \
36188 @CREATE_LINK_TO_DIR@
36189 @endif opcodes
36190 @if binutils
36191 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
36192 mkdir stage3-binutils; \
36193 set stage3-binutils binutils ; \
36194 @CREATE_LINK_TO_DIR@ ; \
36195 set stage2-binutils prev-binutils ; \
36196 @CREATE_LINK_TO_DIR@
36197 @endif binutils
36198 @if gas
36199 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
36200 mkdir stage3-gas; \
36201 set stage3-gas gas ; \
36202 @CREATE_LINK_TO_DIR@ ; \
36203 set stage2-gas prev-gas ; \
36204 @CREATE_LINK_TO_DIR@
36205 @endif gas
36206 @if gcc
36207 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36208 mkdir stage3-gcc; \
36209 set stage3-gcc gcc ; \
36210 @CREATE_LINK_TO_DIR@ ; \
36211 set stage2-gcc prev-gcc ; \
36212 @CREATE_LINK_TO_DIR@
36213 @endif gcc
36214 @if intl
36215 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36216 mkdir stage3-intl; \
36217 set stage3-intl intl ; \
36218 @CREATE_LINK_TO_DIR@ ; \
36219 set stage2-intl prev-intl ; \
36220 @CREATE_LINK_TO_DIR@
36221 @endif intl
36222 @if ld
36223 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36224 mkdir stage3-ld; \
36225 set stage3-ld ld ; \
36226 @CREATE_LINK_TO_DIR@ ; \
36227 set stage2-ld prev-ld ; \
36228 @CREATE_LINK_TO_DIR@
36229 @endif ld
36230 @if libcpp
36231 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36232 mkdir stage3-libcpp; \
36233 set stage3-libcpp libcpp ; \
36234 @CREATE_LINK_TO_DIR@ ; \
36235 set stage2-libcpp prev-libcpp ; \
36236 @CREATE_LINK_TO_DIR@
36237 @endif libcpp
36238 @if libdecnumber
36239 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36240 mkdir stage3-libdecnumber; \
36241 set stage3-libdecnumber libdecnumber ; \
36242 @CREATE_LINK_TO_DIR@ ; \
36243 set stage2-libdecnumber prev-libdecnumber ; \
36244 @CREATE_LINK_TO_DIR@
36245 @endif libdecnumber
36246 @if libiberty
36247 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36248 mkdir stage3-libiberty; \
36249 set stage3-libiberty libiberty ; \
36250 @CREATE_LINK_TO_DIR@ ; \
36251 set stage2-libiberty prev-libiberty ; \
36252 @CREATE_LINK_TO_DIR@
36253 @endif libiberty
36254 @if zlib
36255 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36256 mkdir stage3-zlib; \
36257 set stage3-zlib zlib ; \
36258 @CREATE_LINK_TO_DIR@ ; \
36259 set stage2-zlib prev-zlib ; \
36260 @CREATE_LINK_TO_DIR@
36261 @endif zlib
36262 @[ -d stage3-$(TARGET_SUBDIR) ] || \
36263 mkdir stage3-$(TARGET_SUBDIR); \
36264 set stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36265 @CREATE_LINK_TO_DIR@ ; \
36266 set stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36267 @CREATE_LINK_TO_DIR@
36269 stage3-end::
36270 @rm -f stage_current
36271 @if bfd
36272 @if test -d $(HOST_SUBDIR) ; then \
36273 cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
36274 @UNDO_LINK_TO_DIR@ ; \
36275 set prev-bfd stage2-bfd ; \
36276 @UNDO_LINK_TO_DIR@ ; \
36278 @endif bfd
36279 @if opcodes
36280 @if test -d $(HOST_SUBDIR) ; then \
36281 cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
36282 @UNDO_LINK_TO_DIR@ ; \
36283 set prev-opcodes stage2-opcodes ; \
36284 @UNDO_LINK_TO_DIR@ ; \
36286 @endif opcodes
36287 @if binutils
36288 @if test -d $(HOST_SUBDIR) ; then \
36289 cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
36290 @UNDO_LINK_TO_DIR@ ; \
36291 set prev-binutils stage2-binutils ; \
36292 @UNDO_LINK_TO_DIR@ ; \
36294 @endif binutils
36295 @if gas
36296 @if test -d $(HOST_SUBDIR) ; then \
36297 cd $(HOST_SUBDIR); set gas stage3-gas ; \
36298 @UNDO_LINK_TO_DIR@ ; \
36299 set prev-gas stage2-gas ; \
36300 @UNDO_LINK_TO_DIR@ ; \
36302 @endif gas
36303 @if gcc
36304 @if test -d $(HOST_SUBDIR) ; then \
36305 cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
36306 @UNDO_LINK_TO_DIR@ ; \
36307 set prev-gcc stage2-gcc ; \
36308 @UNDO_LINK_TO_DIR@ ; \
36310 @endif gcc
36311 @if intl
36312 @if test -d $(HOST_SUBDIR) ; then \
36313 cd $(HOST_SUBDIR); set intl stage3-intl ; \
36314 @UNDO_LINK_TO_DIR@ ; \
36315 set prev-intl stage2-intl ; \
36316 @UNDO_LINK_TO_DIR@ ; \
36318 @endif intl
36319 @if ld
36320 @if test -d $(HOST_SUBDIR) ; then \
36321 cd $(HOST_SUBDIR); set ld stage3-ld ; \
36322 @UNDO_LINK_TO_DIR@ ; \
36323 set prev-ld stage2-ld ; \
36324 @UNDO_LINK_TO_DIR@ ; \
36326 @endif ld
36327 @if libcpp
36328 @if test -d $(HOST_SUBDIR) ; then \
36329 cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
36330 @UNDO_LINK_TO_DIR@ ; \
36331 set prev-libcpp stage2-libcpp ; \
36332 @UNDO_LINK_TO_DIR@ ; \
36334 @endif libcpp
36335 @if libdecnumber
36336 @if test -d $(HOST_SUBDIR) ; then \
36337 cd $(HOST_SUBDIR); set libdecnumber stage3-libdecnumber ; \
36338 @UNDO_LINK_TO_DIR@ ; \
36339 set prev-libdecnumber stage2-libdecnumber ; \
36340 @UNDO_LINK_TO_DIR@ ; \
36342 @endif libdecnumber
36343 @if libiberty
36344 @if test -d $(HOST_SUBDIR) ; then \
36345 cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
36346 @UNDO_LINK_TO_DIR@ ; \
36347 set prev-libiberty stage2-libiberty ; \
36348 @UNDO_LINK_TO_DIR@ ; \
36350 @endif libiberty
36351 @if zlib
36352 @if test -d $(HOST_SUBDIR) ; then \
36353 cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
36354 @UNDO_LINK_TO_DIR@ ; \
36355 set prev-zlib stage2-zlib ; \
36356 @UNDO_LINK_TO_DIR@ ; \
36358 @endif zlib
36359 @if test -d $(TARGET_SUBDIR) ; then \
36360 set $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36361 @UNDO_LINK_TO_DIR@ ; \
36362 set prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36363 @UNDO_LINK_TO_DIR@ ; \
36366 # Bubble a bugfix through all the stages up to stage 3. They are
36367 # remade, but not reconfigured. The next stage (if any) will not be
36368 # reconfigured as well.
36369 .PHONY: stage3-bubble
36370 stage3-bubble:: stage2-bubble
36371 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
36372 @r=`${PWD_COMMAND}`; export r; \
36373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36374 if test -f stage3-lean || test -f stage2-lean ; then \
36375 echo Skipping rebuild of stage3 ; \
36376 else \
36377 $(MAKE) stage3-start; \
36378 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
36380 $(MAKE) compare
36382 .PHONY: all-stage3 clean-stage3
36383 do-clean: clean-stage3
36385 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36386 # only possibility, but now it conflicts with no-bootstrap rules
36387 @if gcc-bootstrap
36389 compare:
36390 @r=`${PWD_COMMAND}`; export r; \
36391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36392 if test -f stage2-lean; then \
36393 echo Cannot compare object files as stage 2 was deleted. ; \
36394 exit 0 ; \
36395 fi; \
36396 : $(MAKE); $(stage); \
36397 rm -f .bad_compare ; \
36398 cd stage3-gcc; \
36399 files=`find . -name "*$(objext)" -print` ; \
36400 cd .. ; \
36401 for file in $${files} ; do \
36402 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
36403 @do_compare@ > /dev/null 2>&1; \
36404 if test $$? -eq 1; then \
36405 case $$file in \
36406 ./cc*-checksum$(objext) | ./libgcc/* ) \
36407 echo warning: $$file differs ;; \
36408 *) \
36409 echo $$file differs >> .bad_compare ;; \
36410 esac ; \
36411 fi ; \
36412 done ; \
36413 if [ -f .bad_compare ]; then \
36414 echo "Bootstrap comparison failure!"; \
36415 cat .bad_compare; \
36416 exit 1; \
36417 else \
36418 true; \
36419 fi ; \
36420 $(STAMP) compare
36421 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36425 .PHONY: bootstrap
36426 bootstrap:
36427 echo stage3 > stage_final
36428 @r=`${PWD_COMMAND}`; export r; \
36429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36430 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
36431 @: $(MAKE); $(unstage)
36432 @r=`${PWD_COMMAND}`; export r; \
36433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36434 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36435 @: $(MAKE); $(stage)
36438 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36439 distclean-stage2:: distclean-stage3
36440 .PHONY: distclean-stage3
36441 distclean-stage3::
36442 @: $(MAKE); $(stage)
36443 rm -rf stage3-* compare
36446 .PHONY: cleanstrap
36447 cleanstrap: distclean bootstrap
36449 @endif gcc-bootstrap
36452 .PHONY: stage4-start stage4-end
36454 stage4-start::
36455 @: $(MAKE); $(stage); \
36456 echo stage4 > stage_current ; \
36457 echo stage4 > stage_last; \
36458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36459 @if bfd
36460 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
36461 mkdir stage4-bfd; \
36462 set stage4-bfd bfd ; \
36463 @CREATE_LINK_TO_DIR@ ; \
36464 set stage3-bfd prev-bfd ; \
36465 @CREATE_LINK_TO_DIR@
36466 @endif bfd
36467 @if opcodes
36468 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
36469 mkdir stage4-opcodes; \
36470 set stage4-opcodes opcodes ; \
36471 @CREATE_LINK_TO_DIR@ ; \
36472 set stage3-opcodes prev-opcodes ; \
36473 @CREATE_LINK_TO_DIR@
36474 @endif opcodes
36475 @if binutils
36476 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
36477 mkdir stage4-binutils; \
36478 set stage4-binutils binutils ; \
36479 @CREATE_LINK_TO_DIR@ ; \
36480 set stage3-binutils prev-binutils ; \
36481 @CREATE_LINK_TO_DIR@
36482 @endif binutils
36483 @if gas
36484 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
36485 mkdir stage4-gas; \
36486 set stage4-gas gas ; \
36487 @CREATE_LINK_TO_DIR@ ; \
36488 set stage3-gas prev-gas ; \
36489 @CREATE_LINK_TO_DIR@
36490 @endif gas
36491 @if gcc
36492 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
36493 mkdir stage4-gcc; \
36494 set stage4-gcc gcc ; \
36495 @CREATE_LINK_TO_DIR@ ; \
36496 set stage3-gcc prev-gcc ; \
36497 @CREATE_LINK_TO_DIR@
36498 @endif gcc
36499 @if intl
36500 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
36501 mkdir stage4-intl; \
36502 set stage4-intl intl ; \
36503 @CREATE_LINK_TO_DIR@ ; \
36504 set stage3-intl prev-intl ; \
36505 @CREATE_LINK_TO_DIR@
36506 @endif intl
36507 @if ld
36508 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
36509 mkdir stage4-ld; \
36510 set stage4-ld ld ; \
36511 @CREATE_LINK_TO_DIR@ ; \
36512 set stage3-ld prev-ld ; \
36513 @CREATE_LINK_TO_DIR@
36514 @endif ld
36515 @if libcpp
36516 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
36517 mkdir stage4-libcpp; \
36518 set stage4-libcpp libcpp ; \
36519 @CREATE_LINK_TO_DIR@ ; \
36520 set stage3-libcpp prev-libcpp ; \
36521 @CREATE_LINK_TO_DIR@
36522 @endif libcpp
36523 @if libdecnumber
36524 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
36525 mkdir stage4-libdecnumber; \
36526 set stage4-libdecnumber libdecnumber ; \
36527 @CREATE_LINK_TO_DIR@ ; \
36528 set stage3-libdecnumber prev-libdecnumber ; \
36529 @CREATE_LINK_TO_DIR@
36530 @endif libdecnumber
36531 @if libiberty
36532 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
36533 mkdir stage4-libiberty; \
36534 set stage4-libiberty libiberty ; \
36535 @CREATE_LINK_TO_DIR@ ; \
36536 set stage3-libiberty prev-libiberty ; \
36537 @CREATE_LINK_TO_DIR@
36538 @endif libiberty
36539 @if zlib
36540 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
36541 mkdir stage4-zlib; \
36542 set stage4-zlib zlib ; \
36543 @CREATE_LINK_TO_DIR@ ; \
36544 set stage3-zlib prev-zlib ; \
36545 @CREATE_LINK_TO_DIR@
36546 @endif zlib
36547 @[ -d stage4-$(TARGET_SUBDIR) ] || \
36548 mkdir stage4-$(TARGET_SUBDIR); \
36549 set stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36550 @CREATE_LINK_TO_DIR@ ; \
36551 set stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36552 @CREATE_LINK_TO_DIR@
36554 stage4-end::
36555 @rm -f stage_current
36556 @if bfd
36557 @if test -d $(HOST_SUBDIR) ; then \
36558 cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
36559 @UNDO_LINK_TO_DIR@ ; \
36560 set prev-bfd stage3-bfd ; \
36561 @UNDO_LINK_TO_DIR@ ; \
36563 @endif bfd
36564 @if opcodes
36565 @if test -d $(HOST_SUBDIR) ; then \
36566 cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
36567 @UNDO_LINK_TO_DIR@ ; \
36568 set prev-opcodes stage3-opcodes ; \
36569 @UNDO_LINK_TO_DIR@ ; \
36571 @endif opcodes
36572 @if binutils
36573 @if test -d $(HOST_SUBDIR) ; then \
36574 cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
36575 @UNDO_LINK_TO_DIR@ ; \
36576 set prev-binutils stage3-binutils ; \
36577 @UNDO_LINK_TO_DIR@ ; \
36579 @endif binutils
36580 @if gas
36581 @if test -d $(HOST_SUBDIR) ; then \
36582 cd $(HOST_SUBDIR); set gas stage4-gas ; \
36583 @UNDO_LINK_TO_DIR@ ; \
36584 set prev-gas stage3-gas ; \
36585 @UNDO_LINK_TO_DIR@ ; \
36587 @endif gas
36588 @if gcc
36589 @if test -d $(HOST_SUBDIR) ; then \
36590 cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
36591 @UNDO_LINK_TO_DIR@ ; \
36592 set prev-gcc stage3-gcc ; \
36593 @UNDO_LINK_TO_DIR@ ; \
36595 @endif gcc
36596 @if intl
36597 @if test -d $(HOST_SUBDIR) ; then \
36598 cd $(HOST_SUBDIR); set intl stage4-intl ; \
36599 @UNDO_LINK_TO_DIR@ ; \
36600 set prev-intl stage3-intl ; \
36601 @UNDO_LINK_TO_DIR@ ; \
36603 @endif intl
36604 @if ld
36605 @if test -d $(HOST_SUBDIR) ; then \
36606 cd $(HOST_SUBDIR); set ld stage4-ld ; \
36607 @UNDO_LINK_TO_DIR@ ; \
36608 set prev-ld stage3-ld ; \
36609 @UNDO_LINK_TO_DIR@ ; \
36611 @endif ld
36612 @if libcpp
36613 @if test -d $(HOST_SUBDIR) ; then \
36614 cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
36615 @UNDO_LINK_TO_DIR@ ; \
36616 set prev-libcpp stage3-libcpp ; \
36617 @UNDO_LINK_TO_DIR@ ; \
36619 @endif libcpp
36620 @if libdecnumber
36621 @if test -d $(HOST_SUBDIR) ; then \
36622 cd $(HOST_SUBDIR); set libdecnumber stage4-libdecnumber ; \
36623 @UNDO_LINK_TO_DIR@ ; \
36624 set prev-libdecnumber stage3-libdecnumber ; \
36625 @UNDO_LINK_TO_DIR@ ; \
36627 @endif libdecnumber
36628 @if libiberty
36629 @if test -d $(HOST_SUBDIR) ; then \
36630 cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
36631 @UNDO_LINK_TO_DIR@ ; \
36632 set prev-libiberty stage3-libiberty ; \
36633 @UNDO_LINK_TO_DIR@ ; \
36635 @endif libiberty
36636 @if zlib
36637 @if test -d $(HOST_SUBDIR) ; then \
36638 cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
36639 @UNDO_LINK_TO_DIR@ ; \
36640 set prev-zlib stage3-zlib ; \
36641 @UNDO_LINK_TO_DIR@ ; \
36643 @endif zlib
36644 @if test -d $(TARGET_SUBDIR) ; then \
36645 set $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
36646 @UNDO_LINK_TO_DIR@ ; \
36647 set prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36648 @UNDO_LINK_TO_DIR@ ; \
36651 # Bubble a bugfix through all the stages up to stage 4. They are
36652 # remade, but not reconfigured. The next stage (if any) will not be
36653 # reconfigured as well.
36654 .PHONY: stage4-bubble
36655 stage4-bubble:: stage3-bubble
36656 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36657 @r=`${PWD_COMMAND}`; export r; \
36658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36659 if test -f stage4-lean || test -f stage3-lean ; then \
36660 echo Skipping rebuild of stage4 ; \
36661 else \
36662 $(MAKE) stage4-start; \
36663 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
36665 $(MAKE) compare3
36667 .PHONY: all-stage4 clean-stage4
36668 do-clean: clean-stage4
36670 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36671 # only possibility, but now it conflicts with no-bootstrap rules
36672 @if gcc-bootstrap
36674 compare3:
36675 @r=`${PWD_COMMAND}`; export r; \
36676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36677 if test -f stage3-lean; then \
36678 echo Cannot compare object files as stage 3 was deleted. ; \
36679 exit 0 ; \
36680 fi; \
36681 : $(MAKE); $(stage); \
36682 rm -f .bad_compare ; \
36683 cd stage4-gcc; \
36684 files=`find . -name "*$(objext)" -print` ; \
36685 cd .. ; \
36686 for file in $${files} ; do \
36687 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
36688 @do_compare@ > /dev/null 2>&1; \
36689 if test $$? -eq 1; then \
36690 case $$file in \
36691 ./cc*-checksum$(objext) | ./libgcc/* ) \
36692 echo warning: $$file differs ;; \
36693 *) \
36694 echo $$file differs >> .bad_compare ;; \
36695 esac ; \
36696 fi ; \
36697 done ; \
36698 if [ -f .bad_compare ]; then \
36699 echo "Bootstrap comparison failure!"; \
36700 cat .bad_compare; \
36701 exit 1; \
36702 else \
36703 true; \
36704 fi ; \
36705 $(STAMP) compare3
36706 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
36710 .PHONY: bootstrap4
36711 bootstrap4:
36712 echo stage4 > stage_final
36713 @r=`${PWD_COMMAND}`; export r; \
36714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36715 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
36716 @: $(MAKE); $(unstage)
36717 @r=`${PWD_COMMAND}`; export r; \
36718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36719 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36720 @: $(MAKE); $(stage)
36723 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36724 distclean-stage3:: distclean-stage4
36725 .PHONY: distclean-stage4
36726 distclean-stage4::
36727 @: $(MAKE); $(stage)
36728 rm -rf stage4-* compare3
36731 @endif gcc-bootstrap
36734 .PHONY: stageprofile-start stageprofile-end
36736 stageprofile-start::
36737 @: $(MAKE); $(stage); \
36738 echo stageprofile > stage_current ; \
36739 echo stageprofile > stage_last; \
36740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36741 @if bfd
36742 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
36743 mkdir stageprofile-bfd; \
36744 set stageprofile-bfd bfd ; \
36745 @CREATE_LINK_TO_DIR@ ; \
36746 set stage1-bfd prev-bfd ; \
36747 @CREATE_LINK_TO_DIR@
36748 @endif bfd
36749 @if opcodes
36750 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
36751 mkdir stageprofile-opcodes; \
36752 set stageprofile-opcodes opcodes ; \
36753 @CREATE_LINK_TO_DIR@ ; \
36754 set stage1-opcodes prev-opcodes ; \
36755 @CREATE_LINK_TO_DIR@
36756 @endif opcodes
36757 @if binutils
36758 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
36759 mkdir stageprofile-binutils; \
36760 set stageprofile-binutils binutils ; \
36761 @CREATE_LINK_TO_DIR@ ; \
36762 set stage1-binutils prev-binutils ; \
36763 @CREATE_LINK_TO_DIR@
36764 @endif binutils
36765 @if gas
36766 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
36767 mkdir stageprofile-gas; \
36768 set stageprofile-gas gas ; \
36769 @CREATE_LINK_TO_DIR@ ; \
36770 set stage1-gas prev-gas ; \
36771 @CREATE_LINK_TO_DIR@
36772 @endif gas
36773 @if gcc
36774 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
36775 mkdir stageprofile-gcc; \
36776 set stageprofile-gcc gcc ; \
36777 @CREATE_LINK_TO_DIR@ ; \
36778 set stage1-gcc prev-gcc ; \
36779 @CREATE_LINK_TO_DIR@
36780 @endif gcc
36781 @if intl
36782 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
36783 mkdir stageprofile-intl; \
36784 set stageprofile-intl intl ; \
36785 @CREATE_LINK_TO_DIR@ ; \
36786 set stage1-intl prev-intl ; \
36787 @CREATE_LINK_TO_DIR@
36788 @endif intl
36789 @if ld
36790 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
36791 mkdir stageprofile-ld; \
36792 set stageprofile-ld ld ; \
36793 @CREATE_LINK_TO_DIR@ ; \
36794 set stage1-ld prev-ld ; \
36795 @CREATE_LINK_TO_DIR@
36796 @endif ld
36797 @if libcpp
36798 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
36799 mkdir stageprofile-libcpp; \
36800 set stageprofile-libcpp libcpp ; \
36801 @CREATE_LINK_TO_DIR@ ; \
36802 set stage1-libcpp prev-libcpp ; \
36803 @CREATE_LINK_TO_DIR@
36804 @endif libcpp
36805 @if libdecnumber
36806 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
36807 mkdir stageprofile-libdecnumber; \
36808 set stageprofile-libdecnumber libdecnumber ; \
36809 @CREATE_LINK_TO_DIR@ ; \
36810 set stage1-libdecnumber prev-libdecnumber ; \
36811 @CREATE_LINK_TO_DIR@
36812 @endif libdecnumber
36813 @if libiberty
36814 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36815 mkdir stageprofile-libiberty; \
36816 set stageprofile-libiberty libiberty ; \
36817 @CREATE_LINK_TO_DIR@ ; \
36818 set stage1-libiberty prev-libiberty ; \
36819 @CREATE_LINK_TO_DIR@
36820 @endif libiberty
36821 @if zlib
36822 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36823 mkdir stageprofile-zlib; \
36824 set stageprofile-zlib zlib ; \
36825 @CREATE_LINK_TO_DIR@ ; \
36826 set stage1-zlib prev-zlib ; \
36827 @CREATE_LINK_TO_DIR@
36828 @endif zlib
36829 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
36830 mkdir stageprofile-$(TARGET_SUBDIR); \
36831 set stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36832 @CREATE_LINK_TO_DIR@ ; \
36833 set stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
36834 @CREATE_LINK_TO_DIR@
36836 stageprofile-end::
36837 @rm -f stage_current
36838 @if bfd
36839 @if test -d $(HOST_SUBDIR) ; then \
36840 cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
36841 @UNDO_LINK_TO_DIR@ ; \
36842 set prev-bfd stage1-bfd ; \
36843 @UNDO_LINK_TO_DIR@ ; \
36845 @endif bfd
36846 @if opcodes
36847 @if test -d $(HOST_SUBDIR) ; then \
36848 cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36849 @UNDO_LINK_TO_DIR@ ; \
36850 set prev-opcodes stage1-opcodes ; \
36851 @UNDO_LINK_TO_DIR@ ; \
36853 @endif opcodes
36854 @if binutils
36855 @if test -d $(HOST_SUBDIR) ; then \
36856 cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36857 @UNDO_LINK_TO_DIR@ ; \
36858 set prev-binutils stage1-binutils ; \
36859 @UNDO_LINK_TO_DIR@ ; \
36861 @endif binutils
36862 @if gas
36863 @if test -d $(HOST_SUBDIR) ; then \
36864 cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36865 @UNDO_LINK_TO_DIR@ ; \
36866 set prev-gas stage1-gas ; \
36867 @UNDO_LINK_TO_DIR@ ; \
36869 @endif gas
36870 @if gcc
36871 @if test -d $(HOST_SUBDIR) ; then \
36872 cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36873 @UNDO_LINK_TO_DIR@ ; \
36874 set prev-gcc stage1-gcc ; \
36875 @UNDO_LINK_TO_DIR@ ; \
36877 @endif gcc
36878 @if intl
36879 @if test -d $(HOST_SUBDIR) ; then \
36880 cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36881 @UNDO_LINK_TO_DIR@ ; \
36882 set prev-intl stage1-intl ; \
36883 @UNDO_LINK_TO_DIR@ ; \
36885 @endif intl
36886 @if ld
36887 @if test -d $(HOST_SUBDIR) ; then \
36888 cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36889 @UNDO_LINK_TO_DIR@ ; \
36890 set prev-ld stage1-ld ; \
36891 @UNDO_LINK_TO_DIR@ ; \
36893 @endif ld
36894 @if libcpp
36895 @if test -d $(HOST_SUBDIR) ; then \
36896 cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36897 @UNDO_LINK_TO_DIR@ ; \
36898 set prev-libcpp stage1-libcpp ; \
36899 @UNDO_LINK_TO_DIR@ ; \
36901 @endif libcpp
36902 @if libdecnumber
36903 @if test -d $(HOST_SUBDIR) ; then \
36904 cd $(HOST_SUBDIR); set libdecnumber stageprofile-libdecnumber ; \
36905 @UNDO_LINK_TO_DIR@ ; \
36906 set prev-libdecnumber stage1-libdecnumber ; \
36907 @UNDO_LINK_TO_DIR@ ; \
36909 @endif libdecnumber
36910 @if libiberty
36911 @if test -d $(HOST_SUBDIR) ; then \
36912 cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36913 @UNDO_LINK_TO_DIR@ ; \
36914 set prev-libiberty stage1-libiberty ; \
36915 @UNDO_LINK_TO_DIR@ ; \
36917 @endif libiberty
36918 @if zlib
36919 @if test -d $(HOST_SUBDIR) ; then \
36920 cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36921 @UNDO_LINK_TO_DIR@ ; \
36922 set prev-zlib stage1-zlib ; \
36923 @UNDO_LINK_TO_DIR@ ; \
36925 @endif zlib
36926 @if test -d $(TARGET_SUBDIR) ; then \
36927 set $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
36928 @UNDO_LINK_TO_DIR@ ; \
36929 set prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36930 @UNDO_LINK_TO_DIR@ ; \
36933 # Bubble a bugfix through all the stages up to stage profile. They are
36934 # remade, but not reconfigured. The next stage (if any) will not be
36935 # reconfigured as well.
36936 .PHONY: stageprofile-bubble
36937 stageprofile-bubble:: stage1-bubble
36938 @r=`${PWD_COMMAND}`; export r; \
36939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36940 if test -f stageprofile-lean || test -f stage1-lean ; then \
36941 echo Skipping rebuild of stageprofile ; \
36942 else \
36943 $(MAKE) stageprofile-start; \
36944 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36947 .PHONY: all-stageprofile clean-stageprofile
36948 do-clean: clean-stageprofile
36950 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36951 # only possibility, but now it conflicts with no-bootstrap rules
36952 @if gcc-bootstrap
36957 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36958 distclean-stage1:: distclean-stageprofile
36959 .PHONY: distclean-stageprofile
36960 distclean-stageprofile::
36961 @: $(MAKE); $(stage)
36962 rm -rf stageprofile-*
36965 @endif gcc-bootstrap
36968 .PHONY: stagefeedback-start stagefeedback-end
36970 stagefeedback-start::
36971 @: $(MAKE); $(stage); \
36972 echo stagefeedback > stage_current ; \
36973 echo stagefeedback > stage_last; \
36974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36975 @if bfd
36976 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36977 mkdir stagefeedback-bfd; \
36978 set stagefeedback-bfd bfd ; \
36979 @CREATE_LINK_TO_DIR@ ; \
36980 set stageprofile-bfd prev-bfd ; \
36981 @CREATE_LINK_TO_DIR@
36982 @endif bfd
36983 @if opcodes
36984 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36985 mkdir stagefeedback-opcodes; \
36986 set stagefeedback-opcodes opcodes ; \
36987 @CREATE_LINK_TO_DIR@ ; \
36988 set stageprofile-opcodes prev-opcodes ; \
36989 @CREATE_LINK_TO_DIR@
36990 @endif opcodes
36991 @if binutils
36992 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36993 mkdir stagefeedback-binutils; \
36994 set stagefeedback-binutils binutils ; \
36995 @CREATE_LINK_TO_DIR@ ; \
36996 set stageprofile-binutils prev-binutils ; \
36997 @CREATE_LINK_TO_DIR@
36998 @endif binutils
36999 @if gas
37000 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
37001 mkdir stagefeedback-gas; \
37002 set stagefeedback-gas gas ; \
37003 @CREATE_LINK_TO_DIR@ ; \
37004 set stageprofile-gas prev-gas ; \
37005 @CREATE_LINK_TO_DIR@
37006 @endif gas
37007 @if gcc
37008 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
37009 mkdir stagefeedback-gcc; \
37010 set stagefeedback-gcc gcc ; \
37011 @CREATE_LINK_TO_DIR@ ; \
37012 set stageprofile-gcc prev-gcc ; \
37013 @CREATE_LINK_TO_DIR@
37014 @endif gcc
37015 @if intl
37016 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
37017 mkdir stagefeedback-intl; \
37018 set stagefeedback-intl intl ; \
37019 @CREATE_LINK_TO_DIR@ ; \
37020 set stageprofile-intl prev-intl ; \
37021 @CREATE_LINK_TO_DIR@
37022 @endif intl
37023 @if ld
37024 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
37025 mkdir stagefeedback-ld; \
37026 set stagefeedback-ld ld ; \
37027 @CREATE_LINK_TO_DIR@ ; \
37028 set stageprofile-ld prev-ld ; \
37029 @CREATE_LINK_TO_DIR@
37030 @endif ld
37031 @if libcpp
37032 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
37033 mkdir stagefeedback-libcpp; \
37034 set stagefeedback-libcpp libcpp ; \
37035 @CREATE_LINK_TO_DIR@ ; \
37036 set stageprofile-libcpp prev-libcpp ; \
37037 @CREATE_LINK_TO_DIR@
37038 @endif libcpp
37039 @if libdecnumber
37040 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
37041 mkdir stagefeedback-libdecnumber; \
37042 set stagefeedback-libdecnumber libdecnumber ; \
37043 @CREATE_LINK_TO_DIR@ ; \
37044 set stageprofile-libdecnumber prev-libdecnumber ; \
37045 @CREATE_LINK_TO_DIR@
37046 @endif libdecnumber
37047 @if libiberty
37048 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
37049 mkdir stagefeedback-libiberty; \
37050 set stagefeedback-libiberty libiberty ; \
37051 @CREATE_LINK_TO_DIR@ ; \
37052 set stageprofile-libiberty prev-libiberty ; \
37053 @CREATE_LINK_TO_DIR@
37054 @endif libiberty
37055 @if zlib
37056 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
37057 mkdir stagefeedback-zlib; \
37058 set stagefeedback-zlib zlib ; \
37059 @CREATE_LINK_TO_DIR@ ; \
37060 set stageprofile-zlib prev-zlib ; \
37061 @CREATE_LINK_TO_DIR@
37062 @endif zlib
37063 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
37064 mkdir stagefeedback-$(TARGET_SUBDIR); \
37065 set stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37066 @CREATE_LINK_TO_DIR@ ; \
37067 set stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) ; \
37068 @CREATE_LINK_TO_DIR@
37070 stagefeedback-end::
37071 @rm -f stage_current
37072 @if bfd
37073 @if test -d $(HOST_SUBDIR) ; then \
37074 cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
37075 @UNDO_LINK_TO_DIR@ ; \
37076 set prev-bfd stageprofile-bfd ; \
37077 @UNDO_LINK_TO_DIR@ ; \
37079 @endif bfd
37080 @if opcodes
37081 @if test -d $(HOST_SUBDIR) ; then \
37082 cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
37083 @UNDO_LINK_TO_DIR@ ; \
37084 set prev-opcodes stageprofile-opcodes ; \
37085 @UNDO_LINK_TO_DIR@ ; \
37087 @endif opcodes
37088 @if binutils
37089 @if test -d $(HOST_SUBDIR) ; then \
37090 cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
37091 @UNDO_LINK_TO_DIR@ ; \
37092 set prev-binutils stageprofile-binutils ; \
37093 @UNDO_LINK_TO_DIR@ ; \
37095 @endif binutils
37096 @if gas
37097 @if test -d $(HOST_SUBDIR) ; then \
37098 cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
37099 @UNDO_LINK_TO_DIR@ ; \
37100 set prev-gas stageprofile-gas ; \
37101 @UNDO_LINK_TO_DIR@ ; \
37103 @endif gas
37104 @if gcc
37105 @if test -d $(HOST_SUBDIR) ; then \
37106 cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
37107 @UNDO_LINK_TO_DIR@ ; \
37108 set prev-gcc stageprofile-gcc ; \
37109 @UNDO_LINK_TO_DIR@ ; \
37111 @endif gcc
37112 @if intl
37113 @if test -d $(HOST_SUBDIR) ; then \
37114 cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
37115 @UNDO_LINK_TO_DIR@ ; \
37116 set prev-intl stageprofile-intl ; \
37117 @UNDO_LINK_TO_DIR@ ; \
37119 @endif intl
37120 @if ld
37121 @if test -d $(HOST_SUBDIR) ; then \
37122 cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
37123 @UNDO_LINK_TO_DIR@ ; \
37124 set prev-ld stageprofile-ld ; \
37125 @UNDO_LINK_TO_DIR@ ; \
37127 @endif ld
37128 @if libcpp
37129 @if test -d $(HOST_SUBDIR) ; then \
37130 cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
37131 @UNDO_LINK_TO_DIR@ ; \
37132 set prev-libcpp stageprofile-libcpp ; \
37133 @UNDO_LINK_TO_DIR@ ; \
37135 @endif libcpp
37136 @if libdecnumber
37137 @if test -d $(HOST_SUBDIR) ; then \
37138 cd $(HOST_SUBDIR); set libdecnumber stagefeedback-libdecnumber ; \
37139 @UNDO_LINK_TO_DIR@ ; \
37140 set prev-libdecnumber stageprofile-libdecnumber ; \
37141 @UNDO_LINK_TO_DIR@ ; \
37143 @endif libdecnumber
37144 @if libiberty
37145 @if test -d $(HOST_SUBDIR) ; then \
37146 cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
37147 @UNDO_LINK_TO_DIR@ ; \
37148 set prev-libiberty stageprofile-libiberty ; \
37149 @UNDO_LINK_TO_DIR@ ; \
37151 @endif libiberty
37152 @if zlib
37153 @if test -d $(HOST_SUBDIR) ; then \
37154 cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
37155 @UNDO_LINK_TO_DIR@ ; \
37156 set prev-zlib stageprofile-zlib ; \
37157 @UNDO_LINK_TO_DIR@ ; \
37159 @endif zlib
37160 @if test -d $(TARGET_SUBDIR) ; then \
37161 set $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
37162 @UNDO_LINK_TO_DIR@ ; \
37163 set prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
37164 @UNDO_LINK_TO_DIR@ ; \
37167 # Bubble a bugfix through all the stages up to stage feedback. They are
37168 # remade, but not reconfigured. The next stage (if any) will not be
37169 # reconfigured as well.
37170 .PHONY: stagefeedback-bubble
37171 stagefeedback-bubble:: stageprofile-bubble
37172 @r=`${PWD_COMMAND}`; export r; \
37173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37174 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37175 echo Skipping rebuild of stagefeedback ; \
37176 else \
37177 $(MAKE) stagefeedback-start; \
37178 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37181 .PHONY: all-stagefeedback clean-stagefeedback
37182 do-clean: clean-stagefeedback
37184 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37185 # only possibility, but now it conflicts with no-bootstrap rules
37186 @if gcc-bootstrap
37190 .PHONY: profiledbootstrap
37191 profiledbootstrap:
37192 echo stagefeedback > stage_final
37193 @r=`${PWD_COMMAND}`; export r; \
37194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37195 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
37196 @: $(MAKE); $(unstage)
37197 @r=`${PWD_COMMAND}`; export r; \
37198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37199 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37200 @: $(MAKE); $(stage)
37203 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37204 distclean-stageprofile:: distclean-stagefeedback
37205 .PHONY: distclean-stagefeedback
37206 distclean-stagefeedback::
37207 @: $(MAKE); $(stage)
37208 rm -rf stagefeedback-*
37211 @endif gcc-bootstrap
37215 stageprofile-end::
37216 $(MAKE) distclean-stagefeedback
37218 stagefeedback-start::
37219 @r=`${PWD_COMMAND}`; export r; \
37220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37221 for i in prev-*; do \
37222 j=`echo $$i | sed s/^prev-//` ; \
37223 cd $$r/$$i && \
37224 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37225 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37226 done
37228 @if gcc-bootstrap
37229 do-distclean: distclean-stage1
37230 @endif gcc-bootstrap
37232 # --------------------------------------
37233 # Dependencies between different modules
37234 # --------------------------------------
37236 # Generic dependencies for target modules on host stuff, especially gcc
37238 configure-target-libstdc++-v3: maybe-all-gcc
37240 configure-target-libmudflap: maybe-all-gcc
37242 configure-target-libssp: maybe-all-gcc
37244 configure-target-newlib: maybe-all-gcc
37246 configure-target-libgfortran: maybe-all-gcc
37248 configure-target-libobjc: maybe-all-gcc
37250 configure-target-libtermcap: maybe-all-gcc
37252 configure-target-winsup: maybe-all-gcc
37254 configure-target-libgloss: maybe-all-gcc
37256 configure-target-libiberty: maybe-all-gcc
37258 configure-target-gperf: maybe-all-gcc
37260 configure-target-examples: maybe-all-gcc
37262 configure-target-libffi: maybe-all-gcc
37264 configure-target-libjava: maybe-all-gcc
37266 configure-target-zlib: maybe-all-gcc
37268 configure-target-boehm-gc: maybe-all-gcc
37270 configure-target-qthreads: maybe-all-gcc
37272 configure-target-rda: maybe-all-gcc
37274 configure-target-libada: maybe-all-gcc
37278 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
37280 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
37281 configure-target-gperf: maybe-all-target-libstdc++-v3
37283 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
37285 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
37287 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
37289 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
37290 configure-target-libjava: maybe-all-target-libstdc++-v3
37292 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
37294 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
37296 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
37298 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
37300 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
37302 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
37304 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
37306 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
37308 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
37310 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
37313 # There are two types of dependencies here: 'hard' dependencies, where one
37314 # module simply won't build without the other; and 'soft' dependencies, where
37315 # if the depended-on module is missing, the depending module will do without
37316 # or find a substitute somewhere (perhaps installed). Soft dependencies
37317 # are made here to depend on a 'maybe-' target. If you're not sure,
37318 # it's safer to use a soft dependency.
37325 # With all the machinery above in place, it is pretty easy to generate
37326 # dependencies. Host dependencies are a bit more complex because we have
37327 # to check for bootstrap/prebootstrap dependencies. To resolve
37328 # prebootstrap dependencies, prebootstrap modules are gathered in
37329 # a hash table.
37330 all-build-bison: maybe-all-build-texinfo
37331 all-build-byacc: maybe-all-build-texinfo
37332 all-build-flex: maybe-all-build-texinfo
37333 all-build-flex: maybe-all-build-bison
37334 all-build-flex: maybe-all-build-byacc
37335 all-build-flex: maybe-all-build-m4
37336 all-build-libiberty: maybe-all-build-texinfo
37337 all-build-m4: maybe-all-build-texinfo
37338 all-build-fixincludes: maybe-all-build-libiberty
37339 configure-gcc: maybe-configure-intl
37341 configure-stage1-gcc: maybe-configure-stage1-intl
37342 configure-stage2-gcc: maybe-configure-stage2-intl
37343 configure-stage3-gcc: maybe-configure-stage3-intl
37344 configure-stage4-gcc: maybe-configure-stage4-intl
37345 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37346 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37347 configure-gcc: maybe-all-binutils
37349 configure-stage1-gcc: maybe-all-stage1-binutils
37350 configure-stage2-gcc: maybe-all-stage2-binutils
37351 configure-stage3-gcc: maybe-all-stage3-binutils
37352 configure-stage4-gcc: maybe-all-stage4-binutils
37353 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37354 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37355 configure-gcc: maybe-all-gas
37357 configure-stage1-gcc: maybe-all-stage1-gas
37358 configure-stage2-gcc: maybe-all-stage2-gas
37359 configure-stage3-gcc: maybe-all-stage3-gas
37360 configure-stage4-gcc: maybe-all-stage4-gas
37361 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37362 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37363 configure-gcc: maybe-all-ld
37365 configure-stage1-gcc: maybe-all-stage1-ld
37366 configure-stage2-gcc: maybe-all-stage2-ld
37367 configure-stage3-gcc: maybe-all-stage3-ld
37368 configure-stage4-gcc: maybe-all-stage4-ld
37369 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37370 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37371 all-gcc: all-libiberty
37373 all-stage1-gcc: all-stage1-libiberty
37374 all-stage2-gcc: all-stage2-libiberty
37375 all-stage3-gcc: all-stage3-libiberty
37376 all-stage4-gcc: all-stage4-libiberty
37377 all-stageprofile-gcc: all-stageprofile-libiberty
37378 all-stagefeedback-gcc: all-stagefeedback-libiberty
37379 all-gcc: maybe-all-intl
37381 all-stage1-gcc: maybe-all-stage1-intl
37382 all-stage2-gcc: maybe-all-stage2-intl
37383 all-stage3-gcc: maybe-all-stage3-intl
37384 all-stage4-gcc: maybe-all-stage4-intl
37385 all-stageprofile-gcc: maybe-all-stageprofile-intl
37386 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37387 all-gcc: maybe-all-build-texinfo
37389 all-stage1-gcc: maybe-all-build-texinfo
37390 all-stage2-gcc: maybe-all-build-texinfo
37391 all-stage3-gcc: maybe-all-build-texinfo
37392 all-stage4-gcc: maybe-all-build-texinfo
37393 all-stageprofile-gcc: maybe-all-build-texinfo
37394 all-stagefeedback-gcc: maybe-all-build-texinfo
37395 all-prebootstrap: maybe-all-build-texinfo
37396 all-gcc: maybe-all-build-bison
37398 all-stage1-gcc: maybe-all-build-bison
37399 all-stage2-gcc: maybe-all-build-bison
37400 all-stage3-gcc: maybe-all-build-bison
37401 all-stage4-gcc: maybe-all-build-bison
37402 all-stageprofile-gcc: maybe-all-build-bison
37403 all-stagefeedback-gcc: maybe-all-build-bison
37404 all-prebootstrap: maybe-all-build-bison
37405 all-gcc: maybe-all-build-byacc
37407 all-stage1-gcc: maybe-all-build-byacc
37408 all-stage2-gcc: maybe-all-build-byacc
37409 all-stage3-gcc: maybe-all-build-byacc
37410 all-stage4-gcc: maybe-all-build-byacc
37411 all-stageprofile-gcc: maybe-all-build-byacc
37412 all-stagefeedback-gcc: maybe-all-build-byacc
37413 all-prebootstrap: maybe-all-build-byacc
37414 all-gcc: maybe-all-build-flex
37416 all-stage1-gcc: maybe-all-build-flex
37417 all-stage2-gcc: maybe-all-build-flex
37418 all-stage3-gcc: maybe-all-build-flex
37419 all-stage4-gcc: maybe-all-build-flex
37420 all-stageprofile-gcc: maybe-all-build-flex
37421 all-stagefeedback-gcc: maybe-all-build-flex
37422 all-prebootstrap: maybe-all-build-flex
37423 all-gcc: maybe-all-build-libiberty
37425 all-stage1-gcc: maybe-all-build-libiberty
37426 all-stage2-gcc: maybe-all-build-libiberty
37427 all-stage3-gcc: maybe-all-build-libiberty
37428 all-stage4-gcc: maybe-all-build-libiberty
37429 all-stageprofile-gcc: maybe-all-build-libiberty
37430 all-stagefeedback-gcc: maybe-all-build-libiberty
37431 all-prebootstrap: maybe-all-build-libiberty
37432 all-gcc: maybe-all-build-fixincludes
37434 all-stage1-gcc: maybe-all-build-fixincludes
37435 all-stage2-gcc: maybe-all-build-fixincludes
37436 all-stage3-gcc: maybe-all-build-fixincludes
37437 all-stage4-gcc: maybe-all-build-fixincludes
37438 all-stageprofile-gcc: maybe-all-build-fixincludes
37439 all-stagefeedback-gcc: maybe-all-build-fixincludes
37440 all-prebootstrap: maybe-all-build-fixincludes
37441 all-gcc: maybe-all-zlib
37443 all-stage1-gcc: maybe-all-stage1-zlib
37444 all-stage2-gcc: maybe-all-stage2-zlib
37445 all-stage3-gcc: maybe-all-stage3-zlib
37446 all-stage4-gcc: maybe-all-stage4-zlib
37447 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37448 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37449 all-gcc: all-libcpp
37451 all-stage1-gcc: all-stage1-libcpp
37452 all-stage2-gcc: all-stage2-libcpp
37453 all-stage3-gcc: all-stage3-libcpp
37454 all-stage4-gcc: all-stage4-libcpp
37455 all-stageprofile-gcc: all-stageprofile-libcpp
37456 all-stagefeedback-gcc: all-stagefeedback-libcpp
37457 all-gcc: all-libdecnumber
37459 all-stage1-gcc: all-stage1-libdecnumber
37460 all-stage2-gcc: all-stage2-libdecnumber
37461 all-stage3-gcc: all-stage3-libdecnumber
37462 all-stage4-gcc: all-stage4-libdecnumber
37463 all-stageprofile-gcc: all-stageprofile-libdecnumber
37464 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37465 all-gcc: maybe-all-libiberty
37467 all-stage1-gcc: maybe-all-stage1-libiberty
37468 all-stage2-gcc: maybe-all-stage2-libiberty
37469 all-stage3-gcc: maybe-all-stage3-libiberty
37470 all-stage4-gcc: maybe-all-stage4-libiberty
37471 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
37472 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
37473 all-gcc: maybe-all-fixincludes
37474 install-gcc: maybe-install-fixincludes
37475 configure-libcpp: configure-libiberty
37477 configure-stage1-libcpp: configure-stage1-libiberty
37478 configure-stage2-libcpp: configure-stage2-libiberty
37479 configure-stage3-libcpp: configure-stage3-libiberty
37480 configure-stage4-libcpp: configure-stage4-libiberty
37481 configure-stageprofile-libcpp: configure-stageprofile-libiberty
37482 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
37483 configure-libcpp: maybe-configure-intl
37485 configure-stage1-libcpp: maybe-configure-stage1-intl
37486 configure-stage2-libcpp: maybe-configure-stage2-intl
37487 configure-stage3-libcpp: maybe-configure-stage3-intl
37488 configure-stage4-libcpp: maybe-configure-stage4-intl
37489 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
37490 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
37491 all-libcpp: all-libiberty
37493 all-stage1-libcpp: all-stage1-libiberty
37494 all-stage2-libcpp: all-stage2-libiberty
37495 all-stage3-libcpp: all-stage3-libiberty
37496 all-stage4-libcpp: all-stage4-libiberty
37497 all-stageprofile-libcpp: all-stageprofile-libiberty
37498 all-stagefeedback-libcpp: all-stagefeedback-libiberty
37499 all-libcpp: maybe-all-intl
37501 all-stage1-libcpp: maybe-all-stage1-intl
37502 all-stage2-libcpp: maybe-all-stage2-intl
37503 all-stage3-libcpp: maybe-all-stage3-intl
37504 all-stage4-libcpp: maybe-all-stage4-intl
37505 all-stageprofile-libcpp: maybe-all-stageprofile-intl
37506 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
37507 all-fixincludes: maybe-all-libiberty
37508 all-gnattools: maybe-all-target-libada
37509 configure-gdb: maybe-configure-sim
37510 all-gdb: maybe-all-libiberty
37511 all-gdb: maybe-all-opcodes
37512 all-gdb: maybe-all-bfd
37513 all-gdb: maybe-all-readline
37514 all-gdb: maybe-all-build-bison
37515 all-gdb: maybe-all-build-byacc
37516 all-gdb: maybe-all-sim
37517 configure-libgui: maybe-configure-tcl
37518 configure-libgui: maybe-configure-tk
37519 all-libgui: maybe-all-tcl
37520 all-libgui: maybe-all-tk
37521 all-libgui: maybe-all-itcl
37522 configure-bfd: configure-libiberty
37524 configure-stage1-bfd: configure-stage1-libiberty
37525 configure-stage2-bfd: configure-stage2-libiberty
37526 configure-stage3-bfd: configure-stage3-libiberty
37527 configure-stage4-bfd: configure-stage4-libiberty
37528 configure-stageprofile-bfd: configure-stageprofile-libiberty
37529 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
37530 all-bfd: maybe-all-libiberty
37532 all-stage1-bfd: maybe-all-stage1-libiberty
37533 all-stage2-bfd: maybe-all-stage2-libiberty
37534 all-stage3-bfd: maybe-all-stage3-libiberty
37535 all-stage4-bfd: maybe-all-stage4-libiberty
37536 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
37537 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
37538 all-bfd: maybe-all-intl
37540 all-stage1-bfd: maybe-all-stage1-intl
37541 all-stage2-bfd: maybe-all-stage2-intl
37542 all-stage3-bfd: maybe-all-stage3-intl
37543 all-stage4-bfd: maybe-all-stage4-intl
37544 all-stageprofile-bfd: maybe-all-stageprofile-intl
37545 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
37546 all-binutils: maybe-all-libiberty
37548 all-stage1-binutils: maybe-all-stage1-libiberty
37549 all-stage2-binutils: maybe-all-stage2-libiberty
37550 all-stage3-binutils: maybe-all-stage3-libiberty
37551 all-stage4-binutils: maybe-all-stage4-libiberty
37552 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
37553 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
37554 all-binutils: maybe-all-opcodes
37556 all-stage1-binutils: maybe-all-stage1-opcodes
37557 all-stage2-binutils: maybe-all-stage2-opcodes
37558 all-stage3-binutils: maybe-all-stage3-opcodes
37559 all-stage4-binutils: maybe-all-stage4-opcodes
37560 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
37561 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
37562 all-binutils: maybe-all-bfd
37564 all-stage1-binutils: maybe-all-stage1-bfd
37565 all-stage2-binutils: maybe-all-stage2-bfd
37566 all-stage3-binutils: maybe-all-stage3-bfd
37567 all-stage4-binutils: maybe-all-stage4-bfd
37568 all-stageprofile-binutils: maybe-all-stageprofile-bfd
37569 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
37570 all-binutils: maybe-all-build-flex
37572 all-stage1-binutils: maybe-all-build-flex
37573 all-stage2-binutils: maybe-all-build-flex
37574 all-stage3-binutils: maybe-all-build-flex
37575 all-stage4-binutils: maybe-all-build-flex
37576 all-stageprofile-binutils: maybe-all-build-flex
37577 all-stagefeedback-binutils: maybe-all-build-flex
37578 all-prebootstrap: maybe-all-build-flex
37579 all-binutils: maybe-all-build-bison
37581 all-stage1-binutils: maybe-all-build-bison
37582 all-stage2-binutils: maybe-all-build-bison
37583 all-stage3-binutils: maybe-all-build-bison
37584 all-stage4-binutils: maybe-all-build-bison
37585 all-stageprofile-binutils: maybe-all-build-bison
37586 all-stagefeedback-binutils: maybe-all-build-bison
37587 all-prebootstrap: maybe-all-build-bison
37588 all-binutils: maybe-all-build-byacc
37590 all-stage1-binutils: maybe-all-build-byacc
37591 all-stage2-binutils: maybe-all-build-byacc
37592 all-stage3-binutils: maybe-all-build-byacc
37593 all-stage4-binutils: maybe-all-build-byacc
37594 all-stageprofile-binutils: maybe-all-build-byacc
37595 all-stagefeedback-binutils: maybe-all-build-byacc
37596 all-prebootstrap: maybe-all-build-byacc
37597 all-binutils: maybe-all-intl
37599 all-stage1-binutils: maybe-all-stage1-intl
37600 all-stage2-binutils: maybe-all-stage2-intl
37601 all-stage3-binutils: maybe-all-stage3-intl
37602 all-stage4-binutils: maybe-all-stage4-intl
37603 all-stageprofile-binutils: maybe-all-stageprofile-intl
37604 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
37605 install-binutils: maybe-install-opcodes
37606 install-opcodes: maybe-install-bfd
37607 all-gas: maybe-all-libiberty
37609 all-stage1-gas: maybe-all-stage1-libiberty
37610 all-stage2-gas: maybe-all-stage2-libiberty
37611 all-stage3-gas: maybe-all-stage3-libiberty
37612 all-stage4-gas: maybe-all-stage4-libiberty
37613 all-stageprofile-gas: maybe-all-stageprofile-libiberty
37614 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
37615 all-gas: maybe-all-opcodes
37617 all-stage1-gas: maybe-all-stage1-opcodes
37618 all-stage2-gas: maybe-all-stage2-opcodes
37619 all-stage3-gas: maybe-all-stage3-opcodes
37620 all-stage4-gas: maybe-all-stage4-opcodes
37621 all-stageprofile-gas: maybe-all-stageprofile-opcodes
37622 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
37623 all-gas: maybe-all-bfd
37625 all-stage1-gas: maybe-all-stage1-bfd
37626 all-stage2-gas: maybe-all-stage2-bfd
37627 all-stage3-gas: maybe-all-stage3-bfd
37628 all-stage4-gas: maybe-all-stage4-bfd
37629 all-stageprofile-gas: maybe-all-stageprofile-bfd
37630 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
37631 all-gas: maybe-all-intl
37633 all-stage1-gas: maybe-all-stage1-intl
37634 all-stage2-gas: maybe-all-stage2-intl
37635 all-stage3-gas: maybe-all-stage3-intl
37636 all-stage4-gas: maybe-all-stage4-intl
37637 all-stageprofile-gas: maybe-all-stageprofile-intl
37638 all-stagefeedback-gas: maybe-all-stagefeedback-intl
37639 all-gprof: maybe-all-libiberty
37640 all-gprof: maybe-all-bfd
37641 all-gprof: maybe-all-opcodes
37642 all-gprof: maybe-all-intl
37643 all-ld: maybe-all-libiberty
37645 all-stage1-ld: maybe-all-stage1-libiberty
37646 all-stage2-ld: maybe-all-stage2-libiberty
37647 all-stage3-ld: maybe-all-stage3-libiberty
37648 all-stage4-ld: maybe-all-stage4-libiberty
37649 all-stageprofile-ld: maybe-all-stageprofile-libiberty
37650 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
37651 all-ld: maybe-all-bfd
37653 all-stage1-ld: maybe-all-stage1-bfd
37654 all-stage2-ld: maybe-all-stage2-bfd
37655 all-stage3-ld: maybe-all-stage3-bfd
37656 all-stage4-ld: maybe-all-stage4-bfd
37657 all-stageprofile-ld: maybe-all-stageprofile-bfd
37658 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
37659 all-ld: maybe-all-opcodes
37661 all-stage1-ld: maybe-all-stage1-opcodes
37662 all-stage2-ld: maybe-all-stage2-opcodes
37663 all-stage3-ld: maybe-all-stage3-opcodes
37664 all-stage4-ld: maybe-all-stage4-opcodes
37665 all-stageprofile-ld: maybe-all-stageprofile-opcodes
37666 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
37667 all-ld: maybe-all-build-bison
37669 all-stage1-ld: maybe-all-build-bison
37670 all-stage2-ld: maybe-all-build-bison
37671 all-stage3-ld: maybe-all-build-bison
37672 all-stage4-ld: maybe-all-build-bison
37673 all-stageprofile-ld: maybe-all-build-bison
37674 all-stagefeedback-ld: maybe-all-build-bison
37675 all-prebootstrap: maybe-all-build-bison
37676 all-ld: maybe-all-build-byacc
37678 all-stage1-ld: maybe-all-build-byacc
37679 all-stage2-ld: maybe-all-build-byacc
37680 all-stage3-ld: maybe-all-build-byacc
37681 all-stage4-ld: maybe-all-build-byacc
37682 all-stageprofile-ld: maybe-all-build-byacc
37683 all-stagefeedback-ld: maybe-all-build-byacc
37684 all-prebootstrap: maybe-all-build-byacc
37685 all-ld: maybe-all-build-flex
37687 all-stage1-ld: maybe-all-build-flex
37688 all-stage2-ld: maybe-all-build-flex
37689 all-stage3-ld: maybe-all-build-flex
37690 all-stage4-ld: maybe-all-build-flex
37691 all-stageprofile-ld: maybe-all-build-flex
37692 all-stagefeedback-ld: maybe-all-build-flex
37693 all-prebootstrap: maybe-all-build-flex
37694 all-ld: maybe-all-intl
37696 all-stage1-ld: maybe-all-stage1-intl
37697 all-stage2-ld: maybe-all-stage2-intl
37698 all-stage3-ld: maybe-all-stage3-intl
37699 all-stage4-ld: maybe-all-stage4-intl
37700 all-stageprofile-ld: maybe-all-stageprofile-intl
37701 all-stagefeedback-ld: maybe-all-stagefeedback-intl
37702 all-opcodes: maybe-all-bfd
37704 all-stage1-opcodes: maybe-all-stage1-bfd
37705 all-stage2-opcodes: maybe-all-stage2-bfd
37706 all-stage3-opcodes: maybe-all-stage3-bfd
37707 all-stage4-opcodes: maybe-all-stage4-bfd
37708 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
37709 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
37710 all-opcodes: maybe-all-libiberty
37712 all-stage1-opcodes: maybe-all-stage1-libiberty
37713 all-stage2-opcodes: maybe-all-stage2-libiberty
37714 all-stage3-opcodes: maybe-all-stage3-libiberty
37715 all-stage4-opcodes: maybe-all-stage4-libiberty
37716 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
37717 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
37718 all-dejagnu: maybe-all-tcl
37719 all-dejagnu: maybe-all-expect
37720 all-dejagnu: maybe-all-tk
37721 configure-expect: maybe-configure-tcl
37722 configure-expect: maybe-configure-tk
37723 all-expect: maybe-all-tcl
37724 all-expect: maybe-all-tk
37725 configure-itcl: maybe-configure-tcl
37726 configure-itcl: maybe-configure-tk
37727 all-itcl: maybe-all-tcl
37728 all-itcl: maybe-all-tk
37729 install-itcl: maybe-install-tcl
37730 configure-tk: maybe-configure-tcl
37731 all-tk: maybe-all-tcl
37732 all-sid: maybe-all-libiberty
37733 all-sid: maybe-all-bfd
37734 all-sid: maybe-all-opcodes
37735 all-sid: maybe-all-tcl
37736 all-sid: maybe-all-tk
37737 install-sid: maybe-install-tcl
37738 install-sid: maybe-install-tk
37739 all-sim: maybe-all-libiberty
37740 all-sim: maybe-all-bfd
37741 all-sim: maybe-all-opcodes
37742 all-sim: maybe-all-readline
37743 all-sim: maybe-configure-gdb
37744 all-fastjar: maybe-all-zlib
37745 all-fastjar: maybe-all-build-texinfo
37746 all-fastjar: maybe-all-libiberty
37747 all-autoconf: maybe-all-m4
37748 all-autoconf: maybe-all-build-texinfo
37749 all-automake: maybe-all-m4
37750 all-automake: maybe-all-build-texinfo
37751 all-automake: maybe-all-autoconf
37752 all-bison: maybe-all-intl
37753 all-bison: maybe-all-build-texinfo
37754 all-diff: maybe-all-intl
37755 all-diff: maybe-all-build-texinfo
37756 all-fileutils: maybe-all-intl
37757 all-fileutils: maybe-all-build-texinfo
37758 all-flex: maybe-all-build-bison
37759 all-flex: maybe-all-build-byacc
37760 all-flex: maybe-all-intl
37761 all-flex: maybe-all-m4
37762 all-flex: maybe-all-build-texinfo
37763 all-gzip: maybe-all-intl
37764 all-gzip: maybe-all-zlib
37765 all-gzip: maybe-all-build-texinfo
37766 all-hello: maybe-all-intl
37767 all-hello: maybe-all-build-texinfo
37768 all-m4: maybe-all-intl
37769 all-m4: maybe-all-build-texinfo
37770 all-make: maybe-all-intl
37771 all-make: maybe-all-build-texinfo
37772 all-patch: maybe-all-build-texinfo
37773 all-make: maybe-all-build-texinfo
37774 all-prms: maybe-all-libiberty
37775 all-recode: maybe-all-build-texinfo
37776 all-sed: maybe-all-build-texinfo
37777 all-send-pr: maybe-all-prms
37778 all-tar: maybe-all-build-texinfo
37779 all-uudecode: maybe-all-build-texinfo
37780 configure-target-boehm-gc: maybe-configure-target-qthreads
37781 configure-target-fastjar: maybe-configure-target-zlib
37782 all-target-fastjar: maybe-all-target-zlib
37783 all-target-fastjar: maybe-all-target-libiberty
37784 configure-target-libjava: maybe-configure-target-zlib
37785 configure-target-libjava: maybe-configure-target-boehm-gc
37786 configure-target-libjava: maybe-configure-target-qthreads
37787 configure-target-libjava: maybe-configure-target-libffi
37788 all-target-libjava: maybe-all-fastjar
37789 all-target-libjava: maybe-all-target-zlib
37790 all-target-libjava: maybe-all-target-boehm-gc
37791 all-target-libjava: maybe-all-target-qthreads
37792 all-target-libjava: maybe-all-target-libffi
37793 all-target-libobjc: maybe-all-target-libiberty
37794 all-target-libstdc++-v3: maybe-all-target-libiberty
37795 all-target-libgloss: maybe-configure-target-newlib
37796 all-target-winsup: maybe-all-target-libiberty
37797 all-target-winsup: maybe-all-target-libtermcap
37800 # Non-toplevel bootstrap rules must depend on several packages, to be built
37801 # before gcc. Another wart that will go away, hopefully soon.
37802 @if gcc-no-bootstrap
37804 all-prebootstrap: maybe-all-bfd
37805 all-prebootstrap: maybe-all-opcodes
37806 all-prebootstrap: maybe-all-binutils
37807 all-prebootstrap: maybe-all-gas
37808 all-prebootstrap: maybe-all-intl
37809 all-prebootstrap: maybe-all-ld
37810 all-prebootstrap: maybe-all-libcpp
37811 all-prebootstrap: maybe-all-libdecnumber
37812 all-prebootstrap: maybe-all-libiberty
37813 all-prebootstrap: maybe-all-zlib
37814 @endif gcc-no-bootstrap
37816 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
37817 GDB_TK = @GDB_TK@
37818 INSTALL_GDB_TK = @INSTALL_GDB_TK@
37819 configure-gdb: $(CONFIGURE_GDB_TK)
37820 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
37821 install-gdb: $(INSTALL_GDB_TK)
37823 # Serialization dependencies. Host configures don't work well in parallel to
37824 # each other, due to contention over config.cache. Target configures and
37825 # build configures are similar.
37826 @serialization_dependencies@
37828 # --------------------------------
37829 # Regenerating top level configury
37830 # --------------------------------
37832 # Rebuilding Makefile.in, using autogen.
37833 AUTOGEN = autogen
37834 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
37835 cd $(srcdir) && $(AUTOGEN) Makefile.def
37837 # Rebuilding Makefile.
37838 Makefile: $(srcdir)/Makefile.in config.status
37839 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
37841 config.status: configure
37842 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
37844 # Rebuilding configure.
37845 AUTOCONF = autoconf
37846 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
37847 cd $(srcdir) && $(AUTOCONF)
37849 # ------------------------------
37850 # Special directives to GNU Make
37851 # ------------------------------
37853 # Don't pass command-line variables to submakes.
37854 .NOEXPORT:
37855 MAKEOVERRIDES=
37857 # end of Makefile.in