2006-01-19 Andreas Krebbel <krebbel1@de.ibm.com>
[official-gcc.git] / Makefile.in
blobf8fb0472c39c29fc32421f451703a37726982d97
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system. We need to pass
137 # some to the GCC configure because of its hybrid host/target nature.
138 HOST_EXPORTS = \
139 $(BASE_EXPORTS) \
140 CC="$(CC)"; export CC; \
141 CFLAGS="$(CFLAGS)"; export CFLAGS; \
142 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
143 CXX="$(CXX)"; export CXX; \
144 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
145 AR="$(AR)"; export AR; \
146 AS="$(AS)"; export AS; \
147 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
148 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
149 LD="$(LD)"; export LD; \
150 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
151 NM="$(NM)"; export NM; \
152 RANLIB="$(RANLIB)"; export RANLIB; \
153 WINDRES="$(WINDRES)"; export WINDRES; \
154 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
155 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
156 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
157 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
158 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
159 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
160 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
161 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
162 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
163 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
164 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
165 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
166 @if gcc-bootstrap
167 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
168 @endif gcc-bootstrap
169 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
171 # Similar, for later GCC stages.
172 POSTSTAGE1_HOST_EXPORTS = \
173 $(HOST_EXPORTS) \
174 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
175 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
176 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
177 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
178 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
179 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
373 @if target-libgomp
374 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
375 @endif target-libgomp
379 # This is the list of directories that may be needed in RPATH_ENVVAR
380 # so that programs built for the host machine work.
381 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
383 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
384 @if gcc
385 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
386 @endif gcc
389 @if bfd
390 HOST_LIB_PATH_bfd = \
391 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
392 @endif bfd
394 @if opcodes
395 HOST_LIB_PATH_opcodes = \
396 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
397 @endif opcodes
400 # Flags to pass down to all sub-makes.
401 BASE_FLAGS_TO_PASS = \
402 "DESTDIR=$(DESTDIR)" \
403 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
404 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
405 "bindir=$(bindir)" \
406 "datadir=$(datadir)" \
407 "exec_prefix=$(exec_prefix)" \
408 "includedir=$(includedir)" \
409 "infodir=$(infodir)" \
410 "libdir=$(libdir)" \
411 "libexecdir=$(libexecdir)" \
412 "lispdir=$(lispdir)" \
413 "localstatedir=$(localstatedir)" \
414 "mandir=$(mandir)" \
415 "oldincludedir=$(oldincludedir)" \
416 "prefix=$(prefix)" \
417 "sbindir=$(sbindir)" \
418 "sharedstatedir=$(sharedstatedir)" \
419 "sysconfdir=$(sysconfdir)" \
420 "tooldir=$(tooldir)" \
421 "build_tooldir=$(build_tooldir)" \
422 "target_alias=$(target_alias)" \
423 "BISON=$(BISON)" \
424 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
425 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
426 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
427 "EXPECT=$(EXPECT)" \
428 "FLEX=$(FLEX)" \
429 "INSTALL=$(INSTALL)" \
430 "INSTALL_DATA=$(INSTALL_DATA)" \
431 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
432 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
433 "LEX=$(LEX)" \
434 "M4=$(M4)" \
435 "MAKE=$(MAKE)" \
436 "RUNTEST=$(RUNTEST)" \
437 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
438 "SHELL=$(SHELL)" \
439 "YACC=$(YACC)" \
440 "AR_FLAGS=$(AR_FLAGS)" \
441 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
442 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
443 "CFLAGS=$(CFLAGS)" \
444 "CXXFLAGS=$(CXXFLAGS)" \
445 "LDFLAGS=$(LDFLAGS)" \
446 "LIBCFLAGS=$(LIBCFLAGS)" \
447 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
448 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
449 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
450 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
451 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
452 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
453 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
454 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
455 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
456 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
457 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
458 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
459 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
460 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
461 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
462 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
463 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
464 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
465 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
466 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
467 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
468 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
469 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
470 "LEAN=$(LEAN)" \
471 "CONFIG_SHELL=$(SHELL)" \
472 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
474 # We leave this in just in case, but it is not needed anymore.
475 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
477 # Flags to pass down to most sub-makes, in which we're building with
478 # the host environment.
479 EXTRA_HOST_FLAGS = \
480 'AR=$(AR)' \
481 'AS=$(AS)' \
482 'CC=$(CC)' \
483 'CXX=$(CXX)' \
484 'DLLTOOL=$(DLLTOOL)' \
485 'LD=$(LD)' \
486 'LIPO=$(LIPO)' \
487 'NM=$(NM)' \
488 'OBJDUMP=$(OBJDUMP)' \
489 'RANLIB=$(RANLIB)' \
490 'STRIP=$(STRIP)' \
491 'WINDRES=$(WINDRES)'
493 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
495 # Flags that are concerned with the location of the X11 include files
496 # and library files
498 # NOTE: until the top-level is getting the values via autoconf, it only
499 # causes problems to have this top-level Makefile overriding the autoconf-set
500 # values in child directories. Only variables that don't conflict with
501 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
503 X11_FLAGS_TO_PASS = \
504 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
505 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
507 # Flags to pass down to makes which are built with the target environment.
508 # The double $ decreases the length of the command line; those variables
509 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
510 # COMPILER_ prefixed variables are not passed down so we expand them here.
511 EXTRA_TARGET_FLAGS = \
512 'AR=$$(AR_FOR_TARGET)' \
513 'AS=$(COMPILER_AS_FOR_TARGET)' \
514 'CC=$$(CC_FOR_TARGET)' \
515 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
516 'CXX=$$(CXX_FOR_TARGET)' \
517 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
518 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
519 'LD=$(COMPILER_LD_FOR_TARGET)' \
520 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
521 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
522 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
523 'NM=$(COMPILER_NM_FOR_TARGET)' \
524 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
525 'RANLIB=$$(RANLIB_FOR_TARGET)' \
526 'WINDRES=$$(WINDRES_FOR_TARGET)'
528 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
530 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
531 # unfortunately needs the native compiler and the target ar and
532 # ranlib.
533 # If any variables are added here, they must be added to do-*, below.
534 # The BUILD_* variables are a special case, which are used for the gcc
535 # cross-building scheme.
536 EXTRA_GCC_FLAGS = \
537 'BUILD_PREFIX=$(BUILD_PREFIX)' \
538 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
539 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
540 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
541 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
542 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
543 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
544 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
545 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
548 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
550 .PHONY: configure-host
551 configure-host: \
552 maybe-configure-ash \
553 maybe-configure-autoconf \
554 maybe-configure-automake \
555 maybe-configure-bash \
556 maybe-configure-bfd \
557 maybe-configure-opcodes \
558 maybe-configure-binutils \
559 maybe-configure-bison \
560 maybe-configure-byacc \
561 maybe-configure-bzip2 \
562 maybe-configure-dejagnu \
563 maybe-configure-diff \
564 maybe-configure-dosutils \
565 maybe-configure-etc \
566 maybe-configure-fastjar \
567 maybe-configure-fileutils \
568 maybe-configure-findutils \
569 maybe-configure-find \
570 maybe-configure-fixincludes \
571 maybe-configure-flex \
572 maybe-configure-gas \
573 maybe-configure-gcc \
574 maybe-configure-gawk \
575 maybe-configure-gettext \
576 maybe-configure-gnuserv \
577 maybe-configure-gprof \
578 maybe-configure-gzip \
579 maybe-configure-hello \
580 maybe-configure-indent \
581 maybe-configure-intl \
582 maybe-configure-tcl \
583 maybe-configure-itcl \
584 maybe-configure-ld \
585 maybe-configure-libcpp \
586 maybe-configure-libdecnumber \
587 maybe-configure-libgui \
588 maybe-configure-libiberty \
589 maybe-configure-libtool \
590 maybe-configure-m4 \
591 maybe-configure-make \
592 maybe-configure-mmalloc \
593 maybe-configure-patch \
594 maybe-configure-perl \
595 maybe-configure-prms \
596 maybe-configure-rcs \
597 maybe-configure-readline \
598 maybe-configure-release \
599 maybe-configure-recode \
600 maybe-configure-sed \
601 maybe-configure-send-pr \
602 maybe-configure-shellutils \
603 maybe-configure-sid \
604 maybe-configure-sim \
605 maybe-configure-tar \
606 maybe-configure-texinfo \
607 maybe-configure-textutils \
608 maybe-configure-time \
609 maybe-configure-uudecode \
610 maybe-configure-wdiff \
611 maybe-configure-zip \
612 maybe-configure-zlib \
613 maybe-configure-gdb \
614 maybe-configure-expect \
615 maybe-configure-guile \
616 maybe-configure-tk \
617 maybe-configure-libtermcap \
618 maybe-configure-utils \
619 maybe-configure-gnattools
620 .PHONY: configure-target
621 configure-target: \
622 maybe-configure-target-libstdc++-v3 \
623 maybe-configure-target-libmudflap \
624 maybe-configure-target-libssp \
625 maybe-configure-target-newlib \
626 maybe-configure-target-libgfortran \
627 maybe-configure-target-libobjc \
628 maybe-configure-target-libtermcap \
629 maybe-configure-target-winsup \
630 maybe-configure-target-libgloss \
631 maybe-configure-target-libiberty \
632 maybe-configure-target-gperf \
633 maybe-configure-target-examples \
634 maybe-configure-target-libffi \
635 maybe-configure-target-libjava \
636 maybe-configure-target-zlib \
637 maybe-configure-target-boehm-gc \
638 maybe-configure-target-qthreads \
639 maybe-configure-target-rda \
640 maybe-configure-target-libada \
641 maybe-configure-target-libgomp
643 # The target built for a native non-bootstrap build.
644 .PHONY: all
645 all:
646 @if gcc-bootstrap
647 [ -f stage_final ] || echo stage3 > stage_final
648 @r=`${PWD_COMMAND}`; export r; \
649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
650 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
651 @endif gcc-bootstrap
652 @: $(MAKE); $(unstage)
653 @r=`${PWD_COMMAND}`; export r; \
654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
655 if [ -f stage_last ]; then \
656 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
657 else \
658 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
661 .PHONY: all-build
662 all-build: \
663 maybe-all-build-libiberty \
664 maybe-all-build-bison \
665 maybe-all-build-byacc \
666 maybe-all-build-flex \
667 maybe-all-build-m4 \
668 maybe-all-build-texinfo \
669 maybe-all-build-fixincludes
670 .PHONY: all-host
671 all-host: \
672 maybe-all-ash \
673 maybe-all-autoconf \
674 maybe-all-automake \
675 maybe-all-bash \
676 maybe-all-bfd \
677 maybe-all-opcodes \
678 maybe-all-binutils \
679 maybe-all-bison \
680 maybe-all-byacc \
681 maybe-all-bzip2 \
682 maybe-all-dejagnu \
683 maybe-all-diff \
684 maybe-all-dosutils \
685 maybe-all-etc \
686 maybe-all-fastjar \
687 maybe-all-fileutils \
688 maybe-all-findutils \
689 maybe-all-find \
690 maybe-all-fixincludes \
691 maybe-all-flex \
692 maybe-all-gas \
693 maybe-all-gcc \
694 maybe-all-gawk \
695 maybe-all-gettext \
696 maybe-all-gnuserv \
697 maybe-all-gprof \
698 maybe-all-gzip \
699 maybe-all-hello \
700 maybe-all-indent \
701 maybe-all-intl \
702 maybe-all-tcl \
703 maybe-all-itcl \
704 maybe-all-ld \
705 maybe-all-libcpp \
706 maybe-all-libdecnumber \
707 maybe-all-libgui \
708 maybe-all-libiberty \
709 maybe-all-libtool \
710 maybe-all-m4 \
711 maybe-all-make \
712 maybe-all-mmalloc \
713 maybe-all-patch \
714 maybe-all-perl \
715 maybe-all-prms \
716 maybe-all-rcs \
717 maybe-all-readline \
718 maybe-all-release \
719 maybe-all-recode \
720 maybe-all-sed \
721 maybe-all-send-pr \
722 maybe-all-shellutils \
723 maybe-all-sid \
724 maybe-all-sim \
725 maybe-all-tar \
726 maybe-all-texinfo \
727 maybe-all-textutils \
728 maybe-all-time \
729 maybe-all-uudecode \
730 maybe-all-wdiff \
731 maybe-all-zip \
732 maybe-all-zlib \
733 maybe-all-gdb \
734 maybe-all-expect \
735 maybe-all-guile \
736 maybe-all-tk \
737 maybe-all-libtermcap \
738 maybe-all-utils \
739 maybe-all-gnattools
740 .PHONY: all-target
741 all-target: \
742 maybe-all-target-libstdc++-v3 \
743 maybe-all-target-libmudflap \
744 maybe-all-target-libssp \
745 maybe-all-target-newlib \
746 maybe-all-target-libgfortran \
747 maybe-all-target-libobjc \
748 maybe-all-target-libtermcap \
749 maybe-all-target-winsup \
750 maybe-all-target-libgloss \
751 maybe-all-target-libiberty \
752 maybe-all-target-gperf \
753 maybe-all-target-examples \
754 maybe-all-target-libffi \
755 maybe-all-target-libjava \
756 maybe-all-target-zlib \
757 maybe-all-target-boehm-gc \
758 maybe-all-target-qthreads \
759 maybe-all-target-rda \
760 maybe-all-target-libada \
761 maybe-all-target-libgomp
763 # Do a target for all the subdirectories. A ``make do-X'' will do a
764 # ``make X'' in all subdirectories (because, in general, there is a
765 # dependency (below) of X upon do-X, a ``make X'' will also do this,
766 # but it may do additional work as well).
768 .PHONY: do-info
769 do-info:
770 @: $(MAKE); $(unstage)
771 @r=`${PWD_COMMAND}`; export r; \
772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
773 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
774 info-target
777 .PHONY: info-host
778 info-host: \
779 maybe-info-ash \
780 maybe-info-autoconf \
781 maybe-info-automake \
782 maybe-info-bash \
783 maybe-info-bfd \
784 maybe-info-opcodes \
785 maybe-info-binutils \
786 maybe-info-bison \
787 maybe-info-byacc \
788 maybe-info-bzip2 \
789 maybe-info-dejagnu \
790 maybe-info-diff \
791 maybe-info-dosutils \
792 maybe-info-etc \
793 maybe-info-fastjar \
794 maybe-info-fileutils \
795 maybe-info-findutils \
796 maybe-info-find \
797 maybe-info-fixincludes \
798 maybe-info-flex \
799 maybe-info-gas \
800 maybe-info-gcc \
801 maybe-info-gawk \
802 maybe-info-gettext \
803 maybe-info-gnuserv \
804 maybe-info-gprof \
805 maybe-info-gzip \
806 maybe-info-hello \
807 maybe-info-indent \
808 maybe-info-intl \
809 maybe-info-tcl \
810 maybe-info-itcl \
811 maybe-info-ld \
812 maybe-info-libcpp \
813 maybe-info-libdecnumber \
814 maybe-info-libgui \
815 maybe-info-libiberty \
816 maybe-info-libtool \
817 maybe-info-m4 \
818 maybe-info-make \
819 maybe-info-mmalloc \
820 maybe-info-patch \
821 maybe-info-perl \
822 maybe-info-prms \
823 maybe-info-rcs \
824 maybe-info-readline \
825 maybe-info-release \
826 maybe-info-recode \
827 maybe-info-sed \
828 maybe-info-send-pr \
829 maybe-info-shellutils \
830 maybe-info-sid \
831 maybe-info-sim \
832 maybe-info-tar \
833 maybe-info-texinfo \
834 maybe-info-textutils \
835 maybe-info-time \
836 maybe-info-uudecode \
837 maybe-info-wdiff \
838 maybe-info-zip \
839 maybe-info-zlib \
840 maybe-info-gdb \
841 maybe-info-expect \
842 maybe-info-guile \
843 maybe-info-tk \
844 maybe-info-libtermcap \
845 maybe-info-utils \
846 maybe-info-gnattools
848 .PHONY: info-target
849 info-target: \
850 maybe-info-target-libstdc++-v3 \
851 maybe-info-target-libmudflap \
852 maybe-info-target-libssp \
853 maybe-info-target-newlib \
854 maybe-info-target-libgfortran \
855 maybe-info-target-libobjc \
856 maybe-info-target-libtermcap \
857 maybe-info-target-winsup \
858 maybe-info-target-libgloss \
859 maybe-info-target-libiberty \
860 maybe-info-target-gperf \
861 maybe-info-target-examples \
862 maybe-info-target-libffi \
863 maybe-info-target-libjava \
864 maybe-info-target-zlib \
865 maybe-info-target-boehm-gc \
866 maybe-info-target-qthreads \
867 maybe-info-target-rda \
868 maybe-info-target-libada \
869 maybe-info-target-libgomp
871 .PHONY: do-dvi
872 do-dvi:
873 @: $(MAKE); $(unstage)
874 @r=`${PWD_COMMAND}`; export r; \
875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
876 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
877 dvi-target
880 .PHONY: dvi-host
881 dvi-host: \
882 maybe-dvi-ash \
883 maybe-dvi-autoconf \
884 maybe-dvi-automake \
885 maybe-dvi-bash \
886 maybe-dvi-bfd \
887 maybe-dvi-opcodes \
888 maybe-dvi-binutils \
889 maybe-dvi-bison \
890 maybe-dvi-byacc \
891 maybe-dvi-bzip2 \
892 maybe-dvi-dejagnu \
893 maybe-dvi-diff \
894 maybe-dvi-dosutils \
895 maybe-dvi-etc \
896 maybe-dvi-fastjar \
897 maybe-dvi-fileutils \
898 maybe-dvi-findutils \
899 maybe-dvi-find \
900 maybe-dvi-fixincludes \
901 maybe-dvi-flex \
902 maybe-dvi-gas \
903 maybe-dvi-gcc \
904 maybe-dvi-gawk \
905 maybe-dvi-gettext \
906 maybe-dvi-gnuserv \
907 maybe-dvi-gprof \
908 maybe-dvi-gzip \
909 maybe-dvi-hello \
910 maybe-dvi-indent \
911 maybe-dvi-intl \
912 maybe-dvi-tcl \
913 maybe-dvi-itcl \
914 maybe-dvi-ld \
915 maybe-dvi-libcpp \
916 maybe-dvi-libdecnumber \
917 maybe-dvi-libgui \
918 maybe-dvi-libiberty \
919 maybe-dvi-libtool \
920 maybe-dvi-m4 \
921 maybe-dvi-make \
922 maybe-dvi-mmalloc \
923 maybe-dvi-patch \
924 maybe-dvi-perl \
925 maybe-dvi-prms \
926 maybe-dvi-rcs \
927 maybe-dvi-readline \
928 maybe-dvi-release \
929 maybe-dvi-recode \
930 maybe-dvi-sed \
931 maybe-dvi-send-pr \
932 maybe-dvi-shellutils \
933 maybe-dvi-sid \
934 maybe-dvi-sim \
935 maybe-dvi-tar \
936 maybe-dvi-texinfo \
937 maybe-dvi-textutils \
938 maybe-dvi-time \
939 maybe-dvi-uudecode \
940 maybe-dvi-wdiff \
941 maybe-dvi-zip \
942 maybe-dvi-zlib \
943 maybe-dvi-gdb \
944 maybe-dvi-expect \
945 maybe-dvi-guile \
946 maybe-dvi-tk \
947 maybe-dvi-libtermcap \
948 maybe-dvi-utils \
949 maybe-dvi-gnattools
951 .PHONY: dvi-target
952 dvi-target: \
953 maybe-dvi-target-libstdc++-v3 \
954 maybe-dvi-target-libmudflap \
955 maybe-dvi-target-libssp \
956 maybe-dvi-target-newlib \
957 maybe-dvi-target-libgfortran \
958 maybe-dvi-target-libobjc \
959 maybe-dvi-target-libtermcap \
960 maybe-dvi-target-winsup \
961 maybe-dvi-target-libgloss \
962 maybe-dvi-target-libiberty \
963 maybe-dvi-target-gperf \
964 maybe-dvi-target-examples \
965 maybe-dvi-target-libffi \
966 maybe-dvi-target-libjava \
967 maybe-dvi-target-zlib \
968 maybe-dvi-target-boehm-gc \
969 maybe-dvi-target-qthreads \
970 maybe-dvi-target-rda \
971 maybe-dvi-target-libada \
972 maybe-dvi-target-libgomp
974 .PHONY: do-html
975 do-html:
976 @: $(MAKE); $(unstage)
977 @r=`${PWD_COMMAND}`; export r; \
978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
979 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
980 html-target
983 .PHONY: html-host
984 html-host: \
985 maybe-html-ash \
986 maybe-html-autoconf \
987 maybe-html-automake \
988 maybe-html-bash \
989 maybe-html-bfd \
990 maybe-html-opcodes \
991 maybe-html-binutils \
992 maybe-html-bison \
993 maybe-html-byacc \
994 maybe-html-bzip2 \
995 maybe-html-dejagnu \
996 maybe-html-diff \
997 maybe-html-dosutils \
998 maybe-html-etc \
999 maybe-html-fastjar \
1000 maybe-html-fileutils \
1001 maybe-html-findutils \
1002 maybe-html-find \
1003 maybe-html-fixincludes \
1004 maybe-html-flex \
1005 maybe-html-gas \
1006 maybe-html-gcc \
1007 maybe-html-gawk \
1008 maybe-html-gettext \
1009 maybe-html-gnuserv \
1010 maybe-html-gprof \
1011 maybe-html-gzip \
1012 maybe-html-hello \
1013 maybe-html-indent \
1014 maybe-html-intl \
1015 maybe-html-tcl \
1016 maybe-html-itcl \
1017 maybe-html-ld \
1018 maybe-html-libcpp \
1019 maybe-html-libdecnumber \
1020 maybe-html-libgui \
1021 maybe-html-libiberty \
1022 maybe-html-libtool \
1023 maybe-html-m4 \
1024 maybe-html-make \
1025 maybe-html-mmalloc \
1026 maybe-html-patch \
1027 maybe-html-perl \
1028 maybe-html-prms \
1029 maybe-html-rcs \
1030 maybe-html-readline \
1031 maybe-html-release \
1032 maybe-html-recode \
1033 maybe-html-sed \
1034 maybe-html-send-pr \
1035 maybe-html-shellutils \
1036 maybe-html-sid \
1037 maybe-html-sim \
1038 maybe-html-tar \
1039 maybe-html-texinfo \
1040 maybe-html-textutils \
1041 maybe-html-time \
1042 maybe-html-uudecode \
1043 maybe-html-wdiff \
1044 maybe-html-zip \
1045 maybe-html-zlib \
1046 maybe-html-gdb \
1047 maybe-html-expect \
1048 maybe-html-guile \
1049 maybe-html-tk \
1050 maybe-html-libtermcap \
1051 maybe-html-utils \
1052 maybe-html-gnattools
1054 .PHONY: html-target
1055 html-target: \
1056 maybe-html-target-libstdc++-v3 \
1057 maybe-html-target-libmudflap \
1058 maybe-html-target-libssp \
1059 maybe-html-target-newlib \
1060 maybe-html-target-libgfortran \
1061 maybe-html-target-libobjc \
1062 maybe-html-target-libtermcap \
1063 maybe-html-target-winsup \
1064 maybe-html-target-libgloss \
1065 maybe-html-target-libiberty \
1066 maybe-html-target-gperf \
1067 maybe-html-target-examples \
1068 maybe-html-target-libffi \
1069 maybe-html-target-libjava \
1070 maybe-html-target-zlib \
1071 maybe-html-target-boehm-gc \
1072 maybe-html-target-qthreads \
1073 maybe-html-target-rda \
1074 maybe-html-target-libada \
1075 maybe-html-target-libgomp
1077 .PHONY: do-TAGS
1078 do-TAGS:
1079 @: $(MAKE); $(unstage)
1080 @r=`${PWD_COMMAND}`; export r; \
1081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1082 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1083 TAGS-target
1086 .PHONY: TAGS-host
1087 TAGS-host: \
1088 maybe-TAGS-ash \
1089 maybe-TAGS-autoconf \
1090 maybe-TAGS-automake \
1091 maybe-TAGS-bash \
1092 maybe-TAGS-bfd \
1093 maybe-TAGS-opcodes \
1094 maybe-TAGS-binutils \
1095 maybe-TAGS-bison \
1096 maybe-TAGS-byacc \
1097 maybe-TAGS-bzip2 \
1098 maybe-TAGS-dejagnu \
1099 maybe-TAGS-diff \
1100 maybe-TAGS-dosutils \
1101 maybe-TAGS-etc \
1102 maybe-TAGS-fastjar \
1103 maybe-TAGS-fileutils \
1104 maybe-TAGS-findutils \
1105 maybe-TAGS-find \
1106 maybe-TAGS-fixincludes \
1107 maybe-TAGS-flex \
1108 maybe-TAGS-gas \
1109 maybe-TAGS-gcc \
1110 maybe-TAGS-gawk \
1111 maybe-TAGS-gettext \
1112 maybe-TAGS-gnuserv \
1113 maybe-TAGS-gprof \
1114 maybe-TAGS-gzip \
1115 maybe-TAGS-hello \
1116 maybe-TAGS-indent \
1117 maybe-TAGS-intl \
1118 maybe-TAGS-tcl \
1119 maybe-TAGS-itcl \
1120 maybe-TAGS-ld \
1121 maybe-TAGS-libcpp \
1122 maybe-TAGS-libdecnumber \
1123 maybe-TAGS-libgui \
1124 maybe-TAGS-libiberty \
1125 maybe-TAGS-libtool \
1126 maybe-TAGS-m4 \
1127 maybe-TAGS-make \
1128 maybe-TAGS-mmalloc \
1129 maybe-TAGS-patch \
1130 maybe-TAGS-perl \
1131 maybe-TAGS-prms \
1132 maybe-TAGS-rcs \
1133 maybe-TAGS-readline \
1134 maybe-TAGS-release \
1135 maybe-TAGS-recode \
1136 maybe-TAGS-sed \
1137 maybe-TAGS-send-pr \
1138 maybe-TAGS-shellutils \
1139 maybe-TAGS-sid \
1140 maybe-TAGS-sim \
1141 maybe-TAGS-tar \
1142 maybe-TAGS-texinfo \
1143 maybe-TAGS-textutils \
1144 maybe-TAGS-time \
1145 maybe-TAGS-uudecode \
1146 maybe-TAGS-wdiff \
1147 maybe-TAGS-zip \
1148 maybe-TAGS-zlib \
1149 maybe-TAGS-gdb \
1150 maybe-TAGS-expect \
1151 maybe-TAGS-guile \
1152 maybe-TAGS-tk \
1153 maybe-TAGS-libtermcap \
1154 maybe-TAGS-utils \
1155 maybe-TAGS-gnattools
1157 .PHONY: TAGS-target
1158 TAGS-target: \
1159 maybe-TAGS-target-libstdc++-v3 \
1160 maybe-TAGS-target-libmudflap \
1161 maybe-TAGS-target-libssp \
1162 maybe-TAGS-target-newlib \
1163 maybe-TAGS-target-libgfortran \
1164 maybe-TAGS-target-libobjc \
1165 maybe-TAGS-target-libtermcap \
1166 maybe-TAGS-target-winsup \
1167 maybe-TAGS-target-libgloss \
1168 maybe-TAGS-target-libiberty \
1169 maybe-TAGS-target-gperf \
1170 maybe-TAGS-target-examples \
1171 maybe-TAGS-target-libffi \
1172 maybe-TAGS-target-libjava \
1173 maybe-TAGS-target-zlib \
1174 maybe-TAGS-target-boehm-gc \
1175 maybe-TAGS-target-qthreads \
1176 maybe-TAGS-target-rda \
1177 maybe-TAGS-target-libada \
1178 maybe-TAGS-target-libgomp
1180 .PHONY: do-install-info
1181 do-install-info:
1182 @: $(MAKE); $(unstage)
1183 @r=`${PWD_COMMAND}`; export r; \
1184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1185 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1186 install-info-target
1189 .PHONY: install-info-host
1190 install-info-host: \
1191 maybe-install-info-ash \
1192 maybe-install-info-autoconf \
1193 maybe-install-info-automake \
1194 maybe-install-info-bash \
1195 maybe-install-info-bfd \
1196 maybe-install-info-opcodes \
1197 maybe-install-info-binutils \
1198 maybe-install-info-bison \
1199 maybe-install-info-byacc \
1200 maybe-install-info-bzip2 \
1201 maybe-install-info-dejagnu \
1202 maybe-install-info-diff \
1203 maybe-install-info-dosutils \
1204 maybe-install-info-etc \
1205 maybe-install-info-fastjar \
1206 maybe-install-info-fileutils \
1207 maybe-install-info-findutils \
1208 maybe-install-info-find \
1209 maybe-install-info-fixincludes \
1210 maybe-install-info-flex \
1211 maybe-install-info-gas \
1212 maybe-install-info-gcc \
1213 maybe-install-info-gawk \
1214 maybe-install-info-gettext \
1215 maybe-install-info-gnuserv \
1216 maybe-install-info-gprof \
1217 maybe-install-info-gzip \
1218 maybe-install-info-hello \
1219 maybe-install-info-indent \
1220 maybe-install-info-intl \
1221 maybe-install-info-tcl \
1222 maybe-install-info-itcl \
1223 maybe-install-info-ld \
1224 maybe-install-info-libcpp \
1225 maybe-install-info-libdecnumber \
1226 maybe-install-info-libgui \
1227 maybe-install-info-libiberty \
1228 maybe-install-info-libtool \
1229 maybe-install-info-m4 \
1230 maybe-install-info-make \
1231 maybe-install-info-mmalloc \
1232 maybe-install-info-patch \
1233 maybe-install-info-perl \
1234 maybe-install-info-prms \
1235 maybe-install-info-rcs \
1236 maybe-install-info-readline \
1237 maybe-install-info-release \
1238 maybe-install-info-recode \
1239 maybe-install-info-sed \
1240 maybe-install-info-send-pr \
1241 maybe-install-info-shellutils \
1242 maybe-install-info-sid \
1243 maybe-install-info-sim \
1244 maybe-install-info-tar \
1245 maybe-install-info-texinfo \
1246 maybe-install-info-textutils \
1247 maybe-install-info-time \
1248 maybe-install-info-uudecode \
1249 maybe-install-info-wdiff \
1250 maybe-install-info-zip \
1251 maybe-install-info-zlib \
1252 maybe-install-info-gdb \
1253 maybe-install-info-expect \
1254 maybe-install-info-guile \
1255 maybe-install-info-tk \
1256 maybe-install-info-libtermcap \
1257 maybe-install-info-utils \
1258 maybe-install-info-gnattools
1260 .PHONY: install-info-target
1261 install-info-target: \
1262 maybe-install-info-target-libstdc++-v3 \
1263 maybe-install-info-target-libmudflap \
1264 maybe-install-info-target-libssp \
1265 maybe-install-info-target-newlib \
1266 maybe-install-info-target-libgfortran \
1267 maybe-install-info-target-libobjc \
1268 maybe-install-info-target-libtermcap \
1269 maybe-install-info-target-winsup \
1270 maybe-install-info-target-libgloss \
1271 maybe-install-info-target-libiberty \
1272 maybe-install-info-target-gperf \
1273 maybe-install-info-target-examples \
1274 maybe-install-info-target-libffi \
1275 maybe-install-info-target-libjava \
1276 maybe-install-info-target-zlib \
1277 maybe-install-info-target-boehm-gc \
1278 maybe-install-info-target-qthreads \
1279 maybe-install-info-target-rda \
1280 maybe-install-info-target-libada \
1281 maybe-install-info-target-libgomp
1283 .PHONY: do-installcheck
1284 do-installcheck:
1285 @: $(MAKE); $(unstage)
1286 @r=`${PWD_COMMAND}`; export r; \
1287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1288 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1289 installcheck-target
1292 .PHONY: installcheck-host
1293 installcheck-host: \
1294 maybe-installcheck-ash \
1295 maybe-installcheck-autoconf \
1296 maybe-installcheck-automake \
1297 maybe-installcheck-bash \
1298 maybe-installcheck-bfd \
1299 maybe-installcheck-opcodes \
1300 maybe-installcheck-binutils \
1301 maybe-installcheck-bison \
1302 maybe-installcheck-byacc \
1303 maybe-installcheck-bzip2 \
1304 maybe-installcheck-dejagnu \
1305 maybe-installcheck-diff \
1306 maybe-installcheck-dosutils \
1307 maybe-installcheck-etc \
1308 maybe-installcheck-fastjar \
1309 maybe-installcheck-fileutils \
1310 maybe-installcheck-findutils \
1311 maybe-installcheck-find \
1312 maybe-installcheck-fixincludes \
1313 maybe-installcheck-flex \
1314 maybe-installcheck-gas \
1315 maybe-installcheck-gcc \
1316 maybe-installcheck-gawk \
1317 maybe-installcheck-gettext \
1318 maybe-installcheck-gnuserv \
1319 maybe-installcheck-gprof \
1320 maybe-installcheck-gzip \
1321 maybe-installcheck-hello \
1322 maybe-installcheck-indent \
1323 maybe-installcheck-intl \
1324 maybe-installcheck-tcl \
1325 maybe-installcheck-itcl \
1326 maybe-installcheck-ld \
1327 maybe-installcheck-libcpp \
1328 maybe-installcheck-libdecnumber \
1329 maybe-installcheck-libgui \
1330 maybe-installcheck-libiberty \
1331 maybe-installcheck-libtool \
1332 maybe-installcheck-m4 \
1333 maybe-installcheck-make \
1334 maybe-installcheck-mmalloc \
1335 maybe-installcheck-patch \
1336 maybe-installcheck-perl \
1337 maybe-installcheck-prms \
1338 maybe-installcheck-rcs \
1339 maybe-installcheck-readline \
1340 maybe-installcheck-release \
1341 maybe-installcheck-recode \
1342 maybe-installcheck-sed \
1343 maybe-installcheck-send-pr \
1344 maybe-installcheck-shellutils \
1345 maybe-installcheck-sid \
1346 maybe-installcheck-sim \
1347 maybe-installcheck-tar \
1348 maybe-installcheck-texinfo \
1349 maybe-installcheck-textutils \
1350 maybe-installcheck-time \
1351 maybe-installcheck-uudecode \
1352 maybe-installcheck-wdiff \
1353 maybe-installcheck-zip \
1354 maybe-installcheck-zlib \
1355 maybe-installcheck-gdb \
1356 maybe-installcheck-expect \
1357 maybe-installcheck-guile \
1358 maybe-installcheck-tk \
1359 maybe-installcheck-libtermcap \
1360 maybe-installcheck-utils \
1361 maybe-installcheck-gnattools
1363 .PHONY: installcheck-target
1364 installcheck-target: \
1365 maybe-installcheck-target-libstdc++-v3 \
1366 maybe-installcheck-target-libmudflap \
1367 maybe-installcheck-target-libssp \
1368 maybe-installcheck-target-newlib \
1369 maybe-installcheck-target-libgfortran \
1370 maybe-installcheck-target-libobjc \
1371 maybe-installcheck-target-libtermcap \
1372 maybe-installcheck-target-winsup \
1373 maybe-installcheck-target-libgloss \
1374 maybe-installcheck-target-libiberty \
1375 maybe-installcheck-target-gperf \
1376 maybe-installcheck-target-examples \
1377 maybe-installcheck-target-libffi \
1378 maybe-installcheck-target-libjava \
1379 maybe-installcheck-target-zlib \
1380 maybe-installcheck-target-boehm-gc \
1381 maybe-installcheck-target-qthreads \
1382 maybe-installcheck-target-rda \
1383 maybe-installcheck-target-libada \
1384 maybe-installcheck-target-libgomp
1386 .PHONY: do-mostlyclean
1387 do-mostlyclean:
1388 @: $(MAKE); $(unstage)
1389 @r=`${PWD_COMMAND}`; export r; \
1390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1391 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1392 mostlyclean-target
1395 .PHONY: mostlyclean-host
1396 mostlyclean-host: \
1397 maybe-mostlyclean-ash \
1398 maybe-mostlyclean-autoconf \
1399 maybe-mostlyclean-automake \
1400 maybe-mostlyclean-bash \
1401 maybe-mostlyclean-bfd \
1402 maybe-mostlyclean-opcodes \
1403 maybe-mostlyclean-binutils \
1404 maybe-mostlyclean-bison \
1405 maybe-mostlyclean-byacc \
1406 maybe-mostlyclean-bzip2 \
1407 maybe-mostlyclean-dejagnu \
1408 maybe-mostlyclean-diff \
1409 maybe-mostlyclean-dosutils \
1410 maybe-mostlyclean-etc \
1411 maybe-mostlyclean-fastjar \
1412 maybe-mostlyclean-fileutils \
1413 maybe-mostlyclean-findutils \
1414 maybe-mostlyclean-find \
1415 maybe-mostlyclean-fixincludes \
1416 maybe-mostlyclean-flex \
1417 maybe-mostlyclean-gas \
1418 maybe-mostlyclean-gcc \
1419 maybe-mostlyclean-gawk \
1420 maybe-mostlyclean-gettext \
1421 maybe-mostlyclean-gnuserv \
1422 maybe-mostlyclean-gprof \
1423 maybe-mostlyclean-gzip \
1424 maybe-mostlyclean-hello \
1425 maybe-mostlyclean-indent \
1426 maybe-mostlyclean-intl \
1427 maybe-mostlyclean-tcl \
1428 maybe-mostlyclean-itcl \
1429 maybe-mostlyclean-ld \
1430 maybe-mostlyclean-libcpp \
1431 maybe-mostlyclean-libdecnumber \
1432 maybe-mostlyclean-libgui \
1433 maybe-mostlyclean-libiberty \
1434 maybe-mostlyclean-libtool \
1435 maybe-mostlyclean-m4 \
1436 maybe-mostlyclean-make \
1437 maybe-mostlyclean-mmalloc \
1438 maybe-mostlyclean-patch \
1439 maybe-mostlyclean-perl \
1440 maybe-mostlyclean-prms \
1441 maybe-mostlyclean-rcs \
1442 maybe-mostlyclean-readline \
1443 maybe-mostlyclean-release \
1444 maybe-mostlyclean-recode \
1445 maybe-mostlyclean-sed \
1446 maybe-mostlyclean-send-pr \
1447 maybe-mostlyclean-shellutils \
1448 maybe-mostlyclean-sid \
1449 maybe-mostlyclean-sim \
1450 maybe-mostlyclean-tar \
1451 maybe-mostlyclean-texinfo \
1452 maybe-mostlyclean-textutils \
1453 maybe-mostlyclean-time \
1454 maybe-mostlyclean-uudecode \
1455 maybe-mostlyclean-wdiff \
1456 maybe-mostlyclean-zip \
1457 maybe-mostlyclean-zlib \
1458 maybe-mostlyclean-gdb \
1459 maybe-mostlyclean-expect \
1460 maybe-mostlyclean-guile \
1461 maybe-mostlyclean-tk \
1462 maybe-mostlyclean-libtermcap \
1463 maybe-mostlyclean-utils \
1464 maybe-mostlyclean-gnattools
1466 .PHONY: mostlyclean-target
1467 mostlyclean-target: \
1468 maybe-mostlyclean-target-libstdc++-v3 \
1469 maybe-mostlyclean-target-libmudflap \
1470 maybe-mostlyclean-target-libssp \
1471 maybe-mostlyclean-target-newlib \
1472 maybe-mostlyclean-target-libgfortran \
1473 maybe-mostlyclean-target-libobjc \
1474 maybe-mostlyclean-target-libtermcap \
1475 maybe-mostlyclean-target-winsup \
1476 maybe-mostlyclean-target-libgloss \
1477 maybe-mostlyclean-target-libiberty \
1478 maybe-mostlyclean-target-gperf \
1479 maybe-mostlyclean-target-examples \
1480 maybe-mostlyclean-target-libffi \
1481 maybe-mostlyclean-target-libjava \
1482 maybe-mostlyclean-target-zlib \
1483 maybe-mostlyclean-target-boehm-gc \
1484 maybe-mostlyclean-target-qthreads \
1485 maybe-mostlyclean-target-rda \
1486 maybe-mostlyclean-target-libada \
1487 maybe-mostlyclean-target-libgomp
1489 .PHONY: do-clean
1490 do-clean:
1491 @: $(MAKE); $(unstage)
1492 @r=`${PWD_COMMAND}`; export r; \
1493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1495 clean-target
1498 .PHONY: clean-host
1499 clean-host: \
1500 maybe-clean-ash \
1501 maybe-clean-autoconf \
1502 maybe-clean-automake \
1503 maybe-clean-bash \
1504 maybe-clean-bfd \
1505 maybe-clean-opcodes \
1506 maybe-clean-binutils \
1507 maybe-clean-bison \
1508 maybe-clean-byacc \
1509 maybe-clean-bzip2 \
1510 maybe-clean-dejagnu \
1511 maybe-clean-diff \
1512 maybe-clean-dosutils \
1513 maybe-clean-etc \
1514 maybe-clean-fastjar \
1515 maybe-clean-fileutils \
1516 maybe-clean-findutils \
1517 maybe-clean-find \
1518 maybe-clean-fixincludes \
1519 maybe-clean-flex \
1520 maybe-clean-gas \
1521 maybe-clean-gcc \
1522 maybe-clean-gawk \
1523 maybe-clean-gettext \
1524 maybe-clean-gnuserv \
1525 maybe-clean-gprof \
1526 maybe-clean-gzip \
1527 maybe-clean-hello \
1528 maybe-clean-indent \
1529 maybe-clean-intl \
1530 maybe-clean-tcl \
1531 maybe-clean-itcl \
1532 maybe-clean-ld \
1533 maybe-clean-libcpp \
1534 maybe-clean-libdecnumber \
1535 maybe-clean-libgui \
1536 maybe-clean-libiberty \
1537 maybe-clean-libtool \
1538 maybe-clean-m4 \
1539 maybe-clean-make \
1540 maybe-clean-mmalloc \
1541 maybe-clean-patch \
1542 maybe-clean-perl \
1543 maybe-clean-prms \
1544 maybe-clean-rcs \
1545 maybe-clean-readline \
1546 maybe-clean-release \
1547 maybe-clean-recode \
1548 maybe-clean-sed \
1549 maybe-clean-send-pr \
1550 maybe-clean-shellutils \
1551 maybe-clean-sid \
1552 maybe-clean-sim \
1553 maybe-clean-tar \
1554 maybe-clean-texinfo \
1555 maybe-clean-textutils \
1556 maybe-clean-time \
1557 maybe-clean-uudecode \
1558 maybe-clean-wdiff \
1559 maybe-clean-zip \
1560 maybe-clean-zlib \
1561 maybe-clean-gdb \
1562 maybe-clean-expect \
1563 maybe-clean-guile \
1564 maybe-clean-tk \
1565 maybe-clean-libtermcap \
1566 maybe-clean-utils \
1567 maybe-clean-gnattools
1569 .PHONY: clean-target
1570 clean-target: \
1571 maybe-clean-target-libstdc++-v3 \
1572 maybe-clean-target-libmudflap \
1573 maybe-clean-target-libssp \
1574 maybe-clean-target-newlib \
1575 maybe-clean-target-libgfortran \
1576 maybe-clean-target-libobjc \
1577 maybe-clean-target-libtermcap \
1578 maybe-clean-target-winsup \
1579 maybe-clean-target-libgloss \
1580 maybe-clean-target-libiberty \
1581 maybe-clean-target-gperf \
1582 maybe-clean-target-examples \
1583 maybe-clean-target-libffi \
1584 maybe-clean-target-libjava \
1585 maybe-clean-target-zlib \
1586 maybe-clean-target-boehm-gc \
1587 maybe-clean-target-qthreads \
1588 maybe-clean-target-rda \
1589 maybe-clean-target-libada \
1590 maybe-clean-target-libgomp
1592 .PHONY: do-distclean
1593 do-distclean:
1594 @: $(MAKE); $(unstage)
1595 @r=`${PWD_COMMAND}`; export r; \
1596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1597 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1598 distclean-target
1601 .PHONY: distclean-host
1602 distclean-host: \
1603 maybe-distclean-ash \
1604 maybe-distclean-autoconf \
1605 maybe-distclean-automake \
1606 maybe-distclean-bash \
1607 maybe-distclean-bfd \
1608 maybe-distclean-opcodes \
1609 maybe-distclean-binutils \
1610 maybe-distclean-bison \
1611 maybe-distclean-byacc \
1612 maybe-distclean-bzip2 \
1613 maybe-distclean-dejagnu \
1614 maybe-distclean-diff \
1615 maybe-distclean-dosutils \
1616 maybe-distclean-etc \
1617 maybe-distclean-fastjar \
1618 maybe-distclean-fileutils \
1619 maybe-distclean-findutils \
1620 maybe-distclean-find \
1621 maybe-distclean-fixincludes \
1622 maybe-distclean-flex \
1623 maybe-distclean-gas \
1624 maybe-distclean-gcc \
1625 maybe-distclean-gawk \
1626 maybe-distclean-gettext \
1627 maybe-distclean-gnuserv \
1628 maybe-distclean-gprof \
1629 maybe-distclean-gzip \
1630 maybe-distclean-hello \
1631 maybe-distclean-indent \
1632 maybe-distclean-intl \
1633 maybe-distclean-tcl \
1634 maybe-distclean-itcl \
1635 maybe-distclean-ld \
1636 maybe-distclean-libcpp \
1637 maybe-distclean-libdecnumber \
1638 maybe-distclean-libgui \
1639 maybe-distclean-libiberty \
1640 maybe-distclean-libtool \
1641 maybe-distclean-m4 \
1642 maybe-distclean-make \
1643 maybe-distclean-mmalloc \
1644 maybe-distclean-patch \
1645 maybe-distclean-perl \
1646 maybe-distclean-prms \
1647 maybe-distclean-rcs \
1648 maybe-distclean-readline \
1649 maybe-distclean-release \
1650 maybe-distclean-recode \
1651 maybe-distclean-sed \
1652 maybe-distclean-send-pr \
1653 maybe-distclean-shellutils \
1654 maybe-distclean-sid \
1655 maybe-distclean-sim \
1656 maybe-distclean-tar \
1657 maybe-distclean-texinfo \
1658 maybe-distclean-textutils \
1659 maybe-distclean-time \
1660 maybe-distclean-uudecode \
1661 maybe-distclean-wdiff \
1662 maybe-distclean-zip \
1663 maybe-distclean-zlib \
1664 maybe-distclean-gdb \
1665 maybe-distclean-expect \
1666 maybe-distclean-guile \
1667 maybe-distclean-tk \
1668 maybe-distclean-libtermcap \
1669 maybe-distclean-utils \
1670 maybe-distclean-gnattools
1672 .PHONY: distclean-target
1673 distclean-target: \
1674 maybe-distclean-target-libstdc++-v3 \
1675 maybe-distclean-target-libmudflap \
1676 maybe-distclean-target-libssp \
1677 maybe-distclean-target-newlib \
1678 maybe-distclean-target-libgfortran \
1679 maybe-distclean-target-libobjc \
1680 maybe-distclean-target-libtermcap \
1681 maybe-distclean-target-winsup \
1682 maybe-distclean-target-libgloss \
1683 maybe-distclean-target-libiberty \
1684 maybe-distclean-target-gperf \
1685 maybe-distclean-target-examples \
1686 maybe-distclean-target-libffi \
1687 maybe-distclean-target-libjava \
1688 maybe-distclean-target-zlib \
1689 maybe-distclean-target-boehm-gc \
1690 maybe-distclean-target-qthreads \
1691 maybe-distclean-target-rda \
1692 maybe-distclean-target-libada \
1693 maybe-distclean-target-libgomp
1695 .PHONY: do-maintainer-clean
1696 do-maintainer-clean:
1697 @: $(MAKE); $(unstage)
1698 @r=`${PWD_COMMAND}`; export r; \
1699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1700 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1701 maintainer-clean-target
1704 .PHONY: maintainer-clean-host
1705 maintainer-clean-host: \
1706 maybe-maintainer-clean-ash \
1707 maybe-maintainer-clean-autoconf \
1708 maybe-maintainer-clean-automake \
1709 maybe-maintainer-clean-bash \
1710 maybe-maintainer-clean-bfd \
1711 maybe-maintainer-clean-opcodes \
1712 maybe-maintainer-clean-binutils \
1713 maybe-maintainer-clean-bison \
1714 maybe-maintainer-clean-byacc \
1715 maybe-maintainer-clean-bzip2 \
1716 maybe-maintainer-clean-dejagnu \
1717 maybe-maintainer-clean-diff \
1718 maybe-maintainer-clean-dosutils \
1719 maybe-maintainer-clean-etc \
1720 maybe-maintainer-clean-fastjar \
1721 maybe-maintainer-clean-fileutils \
1722 maybe-maintainer-clean-findutils \
1723 maybe-maintainer-clean-find \
1724 maybe-maintainer-clean-fixincludes \
1725 maybe-maintainer-clean-flex \
1726 maybe-maintainer-clean-gas \
1727 maybe-maintainer-clean-gcc \
1728 maybe-maintainer-clean-gawk \
1729 maybe-maintainer-clean-gettext \
1730 maybe-maintainer-clean-gnuserv \
1731 maybe-maintainer-clean-gprof \
1732 maybe-maintainer-clean-gzip \
1733 maybe-maintainer-clean-hello \
1734 maybe-maintainer-clean-indent \
1735 maybe-maintainer-clean-intl \
1736 maybe-maintainer-clean-tcl \
1737 maybe-maintainer-clean-itcl \
1738 maybe-maintainer-clean-ld \
1739 maybe-maintainer-clean-libcpp \
1740 maybe-maintainer-clean-libdecnumber \
1741 maybe-maintainer-clean-libgui \
1742 maybe-maintainer-clean-libiberty \
1743 maybe-maintainer-clean-libtool \
1744 maybe-maintainer-clean-m4 \
1745 maybe-maintainer-clean-make \
1746 maybe-maintainer-clean-mmalloc \
1747 maybe-maintainer-clean-patch \
1748 maybe-maintainer-clean-perl \
1749 maybe-maintainer-clean-prms \
1750 maybe-maintainer-clean-rcs \
1751 maybe-maintainer-clean-readline \
1752 maybe-maintainer-clean-release \
1753 maybe-maintainer-clean-recode \
1754 maybe-maintainer-clean-sed \
1755 maybe-maintainer-clean-send-pr \
1756 maybe-maintainer-clean-shellutils \
1757 maybe-maintainer-clean-sid \
1758 maybe-maintainer-clean-sim \
1759 maybe-maintainer-clean-tar \
1760 maybe-maintainer-clean-texinfo \
1761 maybe-maintainer-clean-textutils \
1762 maybe-maintainer-clean-time \
1763 maybe-maintainer-clean-uudecode \
1764 maybe-maintainer-clean-wdiff \
1765 maybe-maintainer-clean-zip \
1766 maybe-maintainer-clean-zlib \
1767 maybe-maintainer-clean-gdb \
1768 maybe-maintainer-clean-expect \
1769 maybe-maintainer-clean-guile \
1770 maybe-maintainer-clean-tk \
1771 maybe-maintainer-clean-libtermcap \
1772 maybe-maintainer-clean-utils \
1773 maybe-maintainer-clean-gnattools
1775 .PHONY: maintainer-clean-target
1776 maintainer-clean-target: \
1777 maybe-maintainer-clean-target-libstdc++-v3 \
1778 maybe-maintainer-clean-target-libmudflap \
1779 maybe-maintainer-clean-target-libssp \
1780 maybe-maintainer-clean-target-newlib \
1781 maybe-maintainer-clean-target-libgfortran \
1782 maybe-maintainer-clean-target-libobjc \
1783 maybe-maintainer-clean-target-libtermcap \
1784 maybe-maintainer-clean-target-winsup \
1785 maybe-maintainer-clean-target-libgloss \
1786 maybe-maintainer-clean-target-libiberty \
1787 maybe-maintainer-clean-target-gperf \
1788 maybe-maintainer-clean-target-examples \
1789 maybe-maintainer-clean-target-libffi \
1790 maybe-maintainer-clean-target-libjava \
1791 maybe-maintainer-clean-target-zlib \
1792 maybe-maintainer-clean-target-boehm-gc \
1793 maybe-maintainer-clean-target-qthreads \
1794 maybe-maintainer-clean-target-rda \
1795 maybe-maintainer-clean-target-libada \
1796 maybe-maintainer-clean-target-libgomp
1799 # Here are the targets which correspond to the do-X targets.
1801 .PHONY: info installcheck dvi html install-info
1802 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1803 .PHONY: local-clean local-distclean local-maintainer-clean
1804 info: do-info
1805 installcheck: do-installcheck
1806 dvi: do-dvi
1807 html: do-html
1809 # Make sure makeinfo is built before we do a `make info', if we're
1810 # in fact building texinfo.
1811 do-info: maybe-all-texinfo
1813 install-info: do-install-info dir.info
1814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1815 if [ -f dir.info ] ; then \
1816 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1817 else true ; fi
1819 local-clean:
1820 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1822 local-distclean:
1823 -rm -f Makefile config.status config.cache mh-frag mt-frag
1824 -rm -f maybedep.tmp serdep.tmp
1825 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1826 rm -rf $(TARGET_SUBDIR); \
1827 else true; fi
1828 -rm -rf $(BUILD_SUBDIR)
1829 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1830 rm -rf $(HOST_SUBDIR); \
1831 else true; fi
1832 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1833 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1834 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1835 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1836 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1838 local-maintainer-clean:
1839 @echo "This command is intended for maintainers to use;"
1840 @echo "it deletes files that may require special tools to rebuild."
1842 clean: do-clean local-clean
1843 mostlyclean: do-mostlyclean local-clean
1844 distclean: do-distclean local-clean local-distclean
1845 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1846 maintainer-clean: local-distclean
1847 realclean: maintainer-clean
1849 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1850 clean-target: clean-target-libgcc
1851 clean-target-libgcc:
1852 test ! -d gcc || (cd gcc && $(MAKE) $@)
1854 # Check target.
1856 .PHONY: check do-check
1857 check: do-check
1859 # Only include modules actually being configured and built.
1860 .PHONY: check-host
1861 check-host: \
1862 maybe-check-ash \
1863 maybe-check-autoconf \
1864 maybe-check-automake \
1865 maybe-check-bash \
1866 maybe-check-bfd \
1867 maybe-check-opcodes \
1868 maybe-check-binutils \
1869 maybe-check-bison \
1870 maybe-check-byacc \
1871 maybe-check-bzip2 \
1872 maybe-check-dejagnu \
1873 maybe-check-diff \
1874 maybe-check-dosutils \
1875 maybe-check-etc \
1876 maybe-check-fastjar \
1877 maybe-check-fileutils \
1878 maybe-check-findutils \
1879 maybe-check-find \
1880 maybe-check-fixincludes \
1881 maybe-check-flex \
1882 maybe-check-gas \
1883 maybe-check-gcc \
1884 maybe-check-gawk \
1885 maybe-check-gettext \
1886 maybe-check-gnuserv \
1887 maybe-check-gprof \
1888 maybe-check-gzip \
1889 maybe-check-hello \
1890 maybe-check-indent \
1891 maybe-check-intl \
1892 maybe-check-tcl \
1893 maybe-check-itcl \
1894 maybe-check-ld \
1895 maybe-check-libcpp \
1896 maybe-check-libdecnumber \
1897 maybe-check-libgui \
1898 maybe-check-libiberty \
1899 maybe-check-libtool \
1900 maybe-check-m4 \
1901 maybe-check-make \
1902 maybe-check-mmalloc \
1903 maybe-check-patch \
1904 maybe-check-perl \
1905 maybe-check-prms \
1906 maybe-check-rcs \
1907 maybe-check-readline \
1908 maybe-check-release \
1909 maybe-check-recode \
1910 maybe-check-sed \
1911 maybe-check-send-pr \
1912 maybe-check-shellutils \
1913 maybe-check-sid \
1914 maybe-check-sim \
1915 maybe-check-tar \
1916 maybe-check-texinfo \
1917 maybe-check-textutils \
1918 maybe-check-time \
1919 maybe-check-uudecode \
1920 maybe-check-wdiff \
1921 maybe-check-zip \
1922 maybe-check-zlib \
1923 maybe-check-gdb \
1924 maybe-check-expect \
1925 maybe-check-guile \
1926 maybe-check-tk \
1927 maybe-check-libtermcap \
1928 maybe-check-utils \
1929 maybe-check-gnattools
1931 .PHONY: check-target
1932 check-target: \
1933 maybe-check-target-libstdc++-v3 \
1934 maybe-check-target-libmudflap \
1935 maybe-check-target-libssp \
1936 maybe-check-target-newlib \
1937 maybe-check-target-libgfortran \
1938 maybe-check-target-libobjc \
1939 maybe-check-target-libtermcap \
1940 maybe-check-target-winsup \
1941 maybe-check-target-libgloss \
1942 maybe-check-target-libiberty \
1943 maybe-check-target-gperf \
1944 maybe-check-target-examples \
1945 maybe-check-target-libffi \
1946 maybe-check-target-libjava \
1947 maybe-check-target-zlib \
1948 maybe-check-target-boehm-gc \
1949 maybe-check-target-qthreads \
1950 maybe-check-target-rda \
1951 maybe-check-target-libada \
1952 maybe-check-target-libgomp
1954 do-check:
1955 @: $(MAKE); $(unstage)
1956 @r=`${PWD_COMMAND}`; export r; \
1957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1960 # Automated reporting of test results.
1962 warning.log: build.log
1963 $(srcdir)/contrib/warn_summary build.log > $@
1965 mail-report.log:
1966 if test x'$(BOOT_CFLAGS)' != x''; then \
1967 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1968 fi; \
1969 $(srcdir)/contrib/test_summary -t >$@
1970 chmod +x $@
1971 echo If you really want to send e-mail, run ./$@ now
1973 mail-report-with-warnings.log: warning.log
1974 if test x'$(BOOT_CFLAGS)' != x''; then \
1975 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1976 fi; \
1977 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1978 chmod +x $@
1979 echo If you really want to send e-mail, run ./$@ now
1981 # Installation targets.
1983 .PHONY: install uninstall
1984 install:
1985 @: $(MAKE); $(unstage)
1986 @r=`${PWD_COMMAND}`; export r; \
1987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1988 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
1990 .PHONY: install-host-nogcc
1991 install-host-nogcc: \
1992 maybe-install-ash \
1993 maybe-install-autoconf \
1994 maybe-install-automake \
1995 maybe-install-bash \
1996 maybe-install-bfd \
1997 maybe-install-opcodes \
1998 maybe-install-binutils \
1999 maybe-install-bison \
2000 maybe-install-byacc \
2001 maybe-install-bzip2 \
2002 maybe-install-dejagnu \
2003 maybe-install-diff \
2004 maybe-install-dosutils \
2005 maybe-install-etc \
2006 maybe-install-fastjar \
2007 maybe-install-fileutils \
2008 maybe-install-findutils \
2009 maybe-install-find \
2010 maybe-install-fixincludes \
2011 maybe-install-flex \
2012 maybe-install-gas \
2013 maybe-install-gawk \
2014 maybe-install-gettext \
2015 maybe-install-gnuserv \
2016 maybe-install-gprof \
2017 maybe-install-gzip \
2018 maybe-install-hello \
2019 maybe-install-indent \
2020 maybe-install-intl \
2021 maybe-install-tcl \
2022 maybe-install-itcl \
2023 maybe-install-ld \
2024 maybe-install-libcpp \
2025 maybe-install-libdecnumber \
2026 maybe-install-libgui \
2027 maybe-install-libiberty \
2028 maybe-install-libtool \
2029 maybe-install-m4 \
2030 maybe-install-make \
2031 maybe-install-mmalloc \
2032 maybe-install-patch \
2033 maybe-install-perl \
2034 maybe-install-prms \
2035 maybe-install-rcs \
2036 maybe-install-readline \
2037 maybe-install-release \
2038 maybe-install-recode \
2039 maybe-install-sed \
2040 maybe-install-send-pr \
2041 maybe-install-shellutils \
2042 maybe-install-sid \
2043 maybe-install-sim \
2044 maybe-install-tar \
2045 maybe-install-texinfo \
2046 maybe-install-textutils \
2047 maybe-install-time \
2048 maybe-install-uudecode \
2049 maybe-install-wdiff \
2050 maybe-install-zip \
2051 maybe-install-zlib \
2052 maybe-install-gdb \
2053 maybe-install-expect \
2054 maybe-install-guile \
2055 maybe-install-tk \
2056 maybe-install-libtermcap \
2057 maybe-install-utils \
2058 maybe-install-gnattools
2060 .PHONY: install-host
2061 install-host: \
2062 maybe-install-ash \
2063 maybe-install-autoconf \
2064 maybe-install-automake \
2065 maybe-install-bash \
2066 maybe-install-bfd \
2067 maybe-install-opcodes \
2068 maybe-install-binutils \
2069 maybe-install-bison \
2070 maybe-install-byacc \
2071 maybe-install-bzip2 \
2072 maybe-install-dejagnu \
2073 maybe-install-diff \
2074 maybe-install-dosutils \
2075 maybe-install-etc \
2076 maybe-install-fastjar \
2077 maybe-install-fileutils \
2078 maybe-install-findutils \
2079 maybe-install-find \
2080 maybe-install-fixincludes \
2081 maybe-install-flex \
2082 maybe-install-gas \
2083 maybe-install-gcc \
2084 maybe-install-gawk \
2085 maybe-install-gettext \
2086 maybe-install-gnuserv \
2087 maybe-install-gprof \
2088 maybe-install-gzip \
2089 maybe-install-hello \
2090 maybe-install-indent \
2091 maybe-install-intl \
2092 maybe-install-tcl \
2093 maybe-install-itcl \
2094 maybe-install-ld \
2095 maybe-install-libcpp \
2096 maybe-install-libdecnumber \
2097 maybe-install-libgui \
2098 maybe-install-libiberty \
2099 maybe-install-libtool \
2100 maybe-install-m4 \
2101 maybe-install-make \
2102 maybe-install-mmalloc \
2103 maybe-install-patch \
2104 maybe-install-perl \
2105 maybe-install-prms \
2106 maybe-install-rcs \
2107 maybe-install-readline \
2108 maybe-install-release \
2109 maybe-install-recode \
2110 maybe-install-sed \
2111 maybe-install-send-pr \
2112 maybe-install-shellutils \
2113 maybe-install-sid \
2114 maybe-install-sim \
2115 maybe-install-tar \
2116 maybe-install-texinfo \
2117 maybe-install-textutils \
2118 maybe-install-time \
2119 maybe-install-uudecode \
2120 maybe-install-wdiff \
2121 maybe-install-zip \
2122 maybe-install-zlib \
2123 maybe-install-gdb \
2124 maybe-install-expect \
2125 maybe-install-guile \
2126 maybe-install-tk \
2127 maybe-install-libtermcap \
2128 maybe-install-utils \
2129 maybe-install-gnattools
2131 .PHONY: install-target
2132 install-target: \
2133 maybe-install-target-libstdc++-v3 \
2134 maybe-install-target-libmudflap \
2135 maybe-install-target-libssp \
2136 maybe-install-target-newlib \
2137 maybe-install-target-libgfortran \
2138 maybe-install-target-libobjc \
2139 maybe-install-target-libtermcap \
2140 maybe-install-target-winsup \
2141 maybe-install-target-libgloss \
2142 maybe-install-target-libiberty \
2143 maybe-install-target-gperf \
2144 maybe-install-target-examples \
2145 maybe-install-target-libffi \
2146 maybe-install-target-libjava \
2147 maybe-install-target-zlib \
2148 maybe-install-target-boehm-gc \
2149 maybe-install-target-qthreads \
2150 maybe-install-target-rda \
2151 maybe-install-target-libada \
2152 maybe-install-target-libgomp
2154 uninstall:
2155 @echo "the uninstall target is not supported in this tree"
2157 .PHONY: install.all
2158 install.all: install-no-fixedincludes
2159 @if [ -f ./gcc/Makefile ] ; then \
2160 r=`${PWD_COMMAND}` ; export r ; \
2161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2162 $(HOST_EXPORTS) \
2163 (cd ./gcc && \
2164 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2165 else \
2166 true ; \
2169 # install-no-fixedincludes is used because Cygnus can not distribute
2170 # the fixed header files.
2171 .PHONY: install-no-fixedincludes
2172 install-no-fixedincludes: installdirs install-host-nogcc \
2173 install-target gcc-no-fixedincludes
2175 ### other supporting targets
2177 MAKEDIRS= \
2178 $(DESTDIR)$(prefix) \
2179 $(DESTDIR)$(exec_prefix)
2180 .PHONY: installdirs
2181 installdirs: mkinstalldirs
2182 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2184 dir.info: do-install-info
2185 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2186 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2187 mv -f dir.info.new dir.info ; \
2188 else true ; \
2191 dist:
2192 @echo "Building a full distribution of this tree isn't done"
2193 @echo "via 'make dist'. Check out the etc/ subdirectory"
2195 etags tags: TAGS
2197 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2198 # ability to use several tags files at once, so there is probably no need
2199 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2200 # (if we felt like it) have this Makefile write a piece of elisp which
2201 # the user could load to tell emacs19 where all the TAGS files we just
2202 # built are.
2203 TAGS: do-TAGS
2205 # ------------------------------------
2206 # Macros for configure and all targets
2207 # ------------------------------------
2213 # --------------------------------------
2214 # Modules which run on the build machine
2215 # --------------------------------------
2218 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2219 maybe-configure-build-libiberty:
2220 @if build-libiberty
2221 maybe-configure-build-libiberty: configure-build-libiberty
2222 configure-build-libiberty:
2223 @: $(MAKE); $(unstage)
2224 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2225 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2226 r=`${PWD_COMMAND}`; export r; \
2227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2228 $(BUILD_EXPORTS) \
2229 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2230 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2231 case $(srcdir) in \
2232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2233 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2235 esac; \
2236 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2237 libsrcdir="$$s/libiberty"; \
2238 rm -f no-such-file || : ; \
2239 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2240 $(BUILD_CONFIGARGS) $${srcdiroption} \
2241 || exit 1
2242 @endif build-libiberty
2248 .PHONY: all-build-libiberty maybe-all-build-libiberty
2249 maybe-all-build-libiberty:
2250 @if build-libiberty
2251 TARGET-build-libiberty=all
2252 maybe-all-build-libiberty: all-build-libiberty
2253 all-build-libiberty: configure-build-libiberty
2254 @: $(MAKE); $(unstage)
2255 @r=`${PWD_COMMAND}`; export r; \
2256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2257 $(BUILD_EXPORTS) \
2258 (cd $(BUILD_SUBDIR)/libiberty && \
2259 $(MAKE) $(TARGET-build-libiberty))
2260 @endif build-libiberty
2266 .PHONY: configure-build-bison maybe-configure-build-bison
2267 maybe-configure-build-bison:
2268 @if build-bison
2269 maybe-configure-build-bison: configure-build-bison
2270 configure-build-bison:
2271 @: $(MAKE); $(unstage)
2272 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2273 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2274 r=`${PWD_COMMAND}`; export r; \
2275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2276 $(BUILD_EXPORTS) \
2277 echo Configuring in $(BUILD_SUBDIR)/bison; \
2278 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2279 case $(srcdir) in \
2280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2281 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2283 esac; \
2284 srcdiroption="--srcdir=$${topdir}/bison"; \
2285 libsrcdir="$$s/bison"; \
2286 rm -f no-such-file || : ; \
2287 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2288 $(BUILD_CONFIGARGS) $${srcdiroption} \
2289 || exit 1
2290 @endif build-bison
2296 .PHONY: all-build-bison maybe-all-build-bison
2297 maybe-all-build-bison:
2298 @if build-bison
2299 TARGET-build-bison=all
2300 maybe-all-build-bison: all-build-bison
2301 all-build-bison: configure-build-bison
2302 @: $(MAKE); $(unstage)
2303 @r=`${PWD_COMMAND}`; export r; \
2304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305 $(BUILD_EXPORTS) \
2306 (cd $(BUILD_SUBDIR)/bison && \
2307 $(MAKE) $(TARGET-build-bison))
2308 @endif build-bison
2314 .PHONY: configure-build-byacc maybe-configure-build-byacc
2315 maybe-configure-build-byacc:
2316 @if build-byacc
2317 maybe-configure-build-byacc: configure-build-byacc
2318 configure-build-byacc:
2319 @: $(MAKE); $(unstage)
2320 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2321 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2322 r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2324 $(BUILD_EXPORTS) \
2325 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2326 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2327 case $(srcdir) in \
2328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2329 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2331 esac; \
2332 srcdiroption="--srcdir=$${topdir}/byacc"; \
2333 libsrcdir="$$s/byacc"; \
2334 rm -f no-such-file || : ; \
2335 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2336 $(BUILD_CONFIGARGS) $${srcdiroption} \
2337 || exit 1
2338 @endif build-byacc
2344 .PHONY: all-build-byacc maybe-all-build-byacc
2345 maybe-all-build-byacc:
2346 @if build-byacc
2347 TARGET-build-byacc=all
2348 maybe-all-build-byacc: all-build-byacc
2349 all-build-byacc: configure-build-byacc
2350 @: $(MAKE); $(unstage)
2351 @r=`${PWD_COMMAND}`; export r; \
2352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2353 $(BUILD_EXPORTS) \
2354 (cd $(BUILD_SUBDIR)/byacc && \
2355 $(MAKE) $(TARGET-build-byacc))
2356 @endif build-byacc
2362 .PHONY: configure-build-flex maybe-configure-build-flex
2363 maybe-configure-build-flex:
2364 @if build-flex
2365 maybe-configure-build-flex: configure-build-flex
2366 configure-build-flex:
2367 @: $(MAKE); $(unstage)
2368 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2369 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2370 r=`${PWD_COMMAND}`; export r; \
2371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2372 $(BUILD_EXPORTS) \
2373 echo Configuring in $(BUILD_SUBDIR)/flex; \
2374 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2375 case $(srcdir) in \
2376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2377 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2379 esac; \
2380 srcdiroption="--srcdir=$${topdir}/flex"; \
2381 libsrcdir="$$s/flex"; \
2382 rm -f no-such-file || : ; \
2383 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2384 $(BUILD_CONFIGARGS) $${srcdiroption} \
2385 || exit 1
2386 @endif build-flex
2392 .PHONY: all-build-flex maybe-all-build-flex
2393 maybe-all-build-flex:
2394 @if build-flex
2395 TARGET-build-flex=all
2396 maybe-all-build-flex: all-build-flex
2397 all-build-flex: configure-build-flex
2398 @: $(MAKE); $(unstage)
2399 @r=`${PWD_COMMAND}`; export r; \
2400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2401 $(BUILD_EXPORTS) \
2402 (cd $(BUILD_SUBDIR)/flex && \
2403 $(MAKE) $(TARGET-build-flex))
2404 @endif build-flex
2410 .PHONY: configure-build-m4 maybe-configure-build-m4
2411 maybe-configure-build-m4:
2412 @if build-m4
2413 maybe-configure-build-m4: configure-build-m4
2414 configure-build-m4:
2415 @: $(MAKE); $(unstage)
2416 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2417 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2418 r=`${PWD_COMMAND}`; export r; \
2419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2420 $(BUILD_EXPORTS) \
2421 echo Configuring in $(BUILD_SUBDIR)/m4; \
2422 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2423 case $(srcdir) in \
2424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2425 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2427 esac; \
2428 srcdiroption="--srcdir=$${topdir}/m4"; \
2429 libsrcdir="$$s/m4"; \
2430 rm -f no-such-file || : ; \
2431 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2432 $(BUILD_CONFIGARGS) $${srcdiroption} \
2433 || exit 1
2434 @endif build-m4
2440 .PHONY: all-build-m4 maybe-all-build-m4
2441 maybe-all-build-m4:
2442 @if build-m4
2443 TARGET-build-m4=all
2444 maybe-all-build-m4: all-build-m4
2445 all-build-m4: configure-build-m4
2446 @: $(MAKE); $(unstage)
2447 @r=`${PWD_COMMAND}`; export r; \
2448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2449 $(BUILD_EXPORTS) \
2450 (cd $(BUILD_SUBDIR)/m4 && \
2451 $(MAKE) $(TARGET-build-m4))
2452 @endif build-m4
2458 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2459 maybe-configure-build-texinfo:
2460 @if build-texinfo
2461 maybe-configure-build-texinfo: configure-build-texinfo
2462 configure-build-texinfo:
2463 @: $(MAKE); $(unstage)
2464 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2465 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2466 r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2468 $(BUILD_EXPORTS) \
2469 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2470 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2471 case $(srcdir) in \
2472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2473 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2475 esac; \
2476 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2477 libsrcdir="$$s/texinfo"; \
2478 rm -f no-such-file || : ; \
2479 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2480 $(BUILD_CONFIGARGS) $${srcdiroption} \
2481 || exit 1
2482 @endif build-texinfo
2488 .PHONY: all-build-texinfo maybe-all-build-texinfo
2489 maybe-all-build-texinfo:
2490 @if build-texinfo
2491 TARGET-build-texinfo=all
2492 maybe-all-build-texinfo: all-build-texinfo
2493 all-build-texinfo: configure-build-texinfo
2494 @: $(MAKE); $(unstage)
2495 @r=`${PWD_COMMAND}`; export r; \
2496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2497 $(BUILD_EXPORTS) \
2498 (cd $(BUILD_SUBDIR)/texinfo && \
2499 $(MAKE) $(TARGET-build-texinfo))
2500 @endif build-texinfo
2506 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2507 maybe-configure-build-fixincludes:
2508 @if build-fixincludes
2509 maybe-configure-build-fixincludes: configure-build-fixincludes
2510 configure-build-fixincludes:
2511 @: $(MAKE); $(unstage)
2512 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2513 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2514 r=`${PWD_COMMAND}`; export r; \
2515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2516 $(BUILD_EXPORTS) \
2517 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2518 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2519 case $(srcdir) in \
2520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2521 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2523 esac; \
2524 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2525 libsrcdir="$$s/fixincludes"; \
2526 rm -f no-such-file || : ; \
2527 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2528 $(BUILD_CONFIGARGS) $${srcdiroption} \
2529 || exit 1
2530 @endif build-fixincludes
2536 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2537 maybe-all-build-fixincludes:
2538 @if build-fixincludes
2539 TARGET-build-fixincludes=all
2540 maybe-all-build-fixincludes: all-build-fixincludes
2541 all-build-fixincludes: configure-build-fixincludes
2542 @: $(MAKE); $(unstage)
2543 @r=`${PWD_COMMAND}`; export r; \
2544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2545 $(BUILD_EXPORTS) \
2546 (cd $(BUILD_SUBDIR)/fixincludes && \
2547 $(MAKE) $(TARGET-build-fixincludes))
2548 @endif build-fixincludes
2554 # --------------------------------------
2555 # Modules which run on the host machine
2556 # --------------------------------------
2559 .PHONY: configure-ash maybe-configure-ash
2560 maybe-configure-ash:
2561 @if ash
2562 maybe-configure-ash: configure-ash
2563 configure-ash:
2564 @: $(MAKE); $(unstage)
2565 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2567 r=`${PWD_COMMAND}`; export r; \
2568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2569 $(HOST_EXPORTS) \
2570 echo Configuring in $(HOST_SUBDIR)/ash; \
2571 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2572 case $(srcdir) in \
2573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2574 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2576 esac; \
2577 srcdiroption="--srcdir=$${topdir}/ash"; \
2578 libsrcdir="$$s/ash"; \
2579 $(SHELL) $${libsrcdir}/configure \
2580 $(HOST_CONFIGARGS) $${srcdiroption} \
2581 || exit 1
2582 @endif ash
2588 .PHONY: all-ash maybe-all-ash
2589 maybe-all-ash:
2590 @if ash
2591 TARGET-ash=all
2592 maybe-all-ash: all-ash
2593 all-ash: configure-ash
2594 @: $(MAKE); $(unstage)
2595 @r=`${PWD_COMMAND}`; export r; \
2596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597 $(HOST_EXPORTS) \
2598 (cd $(HOST_SUBDIR)/ash && \
2599 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2600 @endif ash
2605 .PHONY: check-ash maybe-check-ash
2606 maybe-check-ash:
2607 @if ash
2608 maybe-check-ash: check-ash
2610 check-ash:
2611 @: $(MAKE); $(unstage)
2612 @r=`${PWD_COMMAND}`; export r; \
2613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2614 $(HOST_EXPORTS) \
2615 (cd $(HOST_SUBDIR)/ash && \
2616 $(MAKE) $(FLAGS_TO_PASS) check)
2618 @endif ash
2620 .PHONY: install-ash maybe-install-ash
2621 maybe-install-ash:
2622 @if ash
2623 maybe-install-ash: install-ash
2625 install-ash: installdirs
2626 @: $(MAKE); $(unstage)
2627 @r=`${PWD_COMMAND}`; export r; \
2628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2629 $(HOST_EXPORTS) \
2630 (cd $(HOST_SUBDIR)/ash && \
2631 $(MAKE) $(FLAGS_TO_PASS) install)
2633 @endif ash
2635 # Other targets (info, dvi, etc.)
2637 .PHONY: maybe-info-ash info-ash
2638 maybe-info-ash:
2639 @if ash
2640 maybe-info-ash: info-ash
2642 info-ash: \
2643 configure-ash
2644 @: $(MAKE); $(unstage)
2645 @[ -f ./ash/Makefile ] || exit 0; \
2646 r=`${PWD_COMMAND}`; export r; \
2647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2648 $(HOST_EXPORTS) \
2649 for flag in $(EXTRA_HOST_FLAGS) ; do \
2650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2651 done; \
2652 echo "Doing info in ash" ; \
2653 (cd $(HOST_SUBDIR)/ash && \
2654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2656 "RANLIB=$${RANLIB}" \
2657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2658 info) \
2659 || exit 1
2661 @endif ash
2663 .PHONY: maybe-dvi-ash dvi-ash
2664 maybe-dvi-ash:
2665 @if ash
2666 maybe-dvi-ash: dvi-ash
2668 dvi-ash: \
2669 configure-ash
2670 @: $(MAKE); $(unstage)
2671 @[ -f ./ash/Makefile ] || exit 0; \
2672 r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2674 $(HOST_EXPORTS) \
2675 for flag in $(EXTRA_HOST_FLAGS) ; do \
2676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2677 done; \
2678 echo "Doing dvi in ash" ; \
2679 (cd $(HOST_SUBDIR)/ash && \
2680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2682 "RANLIB=$${RANLIB}" \
2683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2684 dvi) \
2685 || exit 1
2687 @endif ash
2689 .PHONY: maybe-html-ash html-ash
2690 maybe-html-ash:
2691 @if ash
2692 maybe-html-ash: html-ash
2694 html-ash: \
2695 configure-ash
2696 @: $(MAKE); $(unstage)
2697 @[ -f ./ash/Makefile ] || exit 0; \
2698 r=`${PWD_COMMAND}`; export r; \
2699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2700 $(HOST_EXPORTS) \
2701 for flag in $(EXTRA_HOST_FLAGS) ; do \
2702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2703 done; \
2704 echo "Doing html in ash" ; \
2705 (cd $(HOST_SUBDIR)/ash && \
2706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2708 "RANLIB=$${RANLIB}" \
2709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2710 html) \
2711 || exit 1
2713 @endif ash
2715 .PHONY: maybe-TAGS-ash TAGS-ash
2716 maybe-TAGS-ash:
2717 @if ash
2718 maybe-TAGS-ash: TAGS-ash
2720 TAGS-ash: \
2721 configure-ash
2722 @: $(MAKE); $(unstage)
2723 @[ -f ./ash/Makefile ] || exit 0; \
2724 r=`${PWD_COMMAND}`; export r; \
2725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2726 $(HOST_EXPORTS) \
2727 for flag in $(EXTRA_HOST_FLAGS) ; do \
2728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2729 done; \
2730 echo "Doing TAGS in ash" ; \
2731 (cd $(HOST_SUBDIR)/ash && \
2732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2734 "RANLIB=$${RANLIB}" \
2735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2736 TAGS) \
2737 || exit 1
2739 @endif ash
2741 .PHONY: maybe-install-info-ash install-info-ash
2742 maybe-install-info-ash:
2743 @if ash
2744 maybe-install-info-ash: install-info-ash
2746 install-info-ash: \
2747 configure-ash \
2748 info-ash
2749 @: $(MAKE); $(unstage)
2750 @[ -f ./ash/Makefile ] || exit 0; \
2751 r=`${PWD_COMMAND}`; export r; \
2752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2753 $(HOST_EXPORTS) \
2754 for flag in $(EXTRA_HOST_FLAGS) ; do \
2755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2756 done; \
2757 echo "Doing install-info in ash" ; \
2758 (cd $(HOST_SUBDIR)/ash && \
2759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2761 "RANLIB=$${RANLIB}" \
2762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2763 install-info) \
2764 || exit 1
2766 @endif ash
2768 .PHONY: maybe-installcheck-ash installcheck-ash
2769 maybe-installcheck-ash:
2770 @if ash
2771 maybe-installcheck-ash: installcheck-ash
2773 installcheck-ash: \
2774 configure-ash
2775 @: $(MAKE); $(unstage)
2776 @[ -f ./ash/Makefile ] || exit 0; \
2777 r=`${PWD_COMMAND}`; export r; \
2778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2779 $(HOST_EXPORTS) \
2780 for flag in $(EXTRA_HOST_FLAGS) ; do \
2781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2782 done; \
2783 echo "Doing installcheck in ash" ; \
2784 (cd $(HOST_SUBDIR)/ash && \
2785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2787 "RANLIB=$${RANLIB}" \
2788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2789 installcheck) \
2790 || exit 1
2792 @endif ash
2794 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2795 maybe-mostlyclean-ash:
2796 @if ash
2797 maybe-mostlyclean-ash: mostlyclean-ash
2799 mostlyclean-ash:
2800 @: $(MAKE); $(unstage)
2801 @[ -f ./ash/Makefile ] || exit 0; \
2802 r=`${PWD_COMMAND}`; export r; \
2803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804 $(HOST_EXPORTS) \
2805 for flag in $(EXTRA_HOST_FLAGS) ; do \
2806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2807 done; \
2808 echo "Doing mostlyclean in ash" ; \
2809 (cd $(HOST_SUBDIR)/ash && \
2810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2812 "RANLIB=$${RANLIB}" \
2813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2814 mostlyclean) \
2815 || exit 1
2817 @endif ash
2819 .PHONY: maybe-clean-ash clean-ash
2820 maybe-clean-ash:
2821 @if ash
2822 maybe-clean-ash: clean-ash
2824 clean-ash:
2825 @: $(MAKE); $(unstage)
2826 @[ -f ./ash/Makefile ] || exit 0; \
2827 r=`${PWD_COMMAND}`; export r; \
2828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2829 $(HOST_EXPORTS) \
2830 for flag in $(EXTRA_HOST_FLAGS) ; do \
2831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2832 done; \
2833 echo "Doing clean in ash" ; \
2834 (cd $(HOST_SUBDIR)/ash && \
2835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2837 "RANLIB=$${RANLIB}" \
2838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2839 clean) \
2840 || exit 1
2842 @endif ash
2844 .PHONY: maybe-distclean-ash distclean-ash
2845 maybe-distclean-ash:
2846 @if ash
2847 maybe-distclean-ash: distclean-ash
2849 distclean-ash:
2850 @: $(MAKE); $(unstage)
2851 @[ -f ./ash/Makefile ] || exit 0; \
2852 r=`${PWD_COMMAND}`; export r; \
2853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2854 $(HOST_EXPORTS) \
2855 for flag in $(EXTRA_HOST_FLAGS) ; do \
2856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2857 done; \
2858 echo "Doing distclean in ash" ; \
2859 (cd $(HOST_SUBDIR)/ash && \
2860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2862 "RANLIB=$${RANLIB}" \
2863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2864 distclean) \
2865 || exit 1
2867 @endif ash
2869 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2870 maybe-maintainer-clean-ash:
2871 @if ash
2872 maybe-maintainer-clean-ash: maintainer-clean-ash
2874 maintainer-clean-ash:
2875 @: $(MAKE); $(unstage)
2876 @[ -f ./ash/Makefile ] || exit 0; \
2877 r=`${PWD_COMMAND}`; export r; \
2878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 $(HOST_EXPORTS) \
2880 for flag in $(EXTRA_HOST_FLAGS) ; do \
2881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 done; \
2883 echo "Doing maintainer-clean in ash" ; \
2884 (cd $(HOST_SUBDIR)/ash && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2887 "RANLIB=$${RANLIB}" \
2888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 maintainer-clean) \
2890 || exit 1
2892 @endif ash
2896 .PHONY: configure-autoconf maybe-configure-autoconf
2897 maybe-configure-autoconf:
2898 @if autoconf
2899 maybe-configure-autoconf: configure-autoconf
2900 configure-autoconf:
2901 @: $(MAKE); $(unstage)
2902 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2904 r=`${PWD_COMMAND}`; export r; \
2905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2906 $(HOST_EXPORTS) \
2907 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2908 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2909 case $(srcdir) in \
2910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2911 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2913 esac; \
2914 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2915 libsrcdir="$$s/autoconf"; \
2916 $(SHELL) $${libsrcdir}/configure \
2917 $(HOST_CONFIGARGS) $${srcdiroption} \
2918 || exit 1
2919 @endif autoconf
2925 .PHONY: all-autoconf maybe-all-autoconf
2926 maybe-all-autoconf:
2927 @if autoconf
2928 TARGET-autoconf=all
2929 maybe-all-autoconf: all-autoconf
2930 all-autoconf: configure-autoconf
2931 @: $(MAKE); $(unstage)
2932 @r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(HOST_EXPORTS) \
2935 (cd $(HOST_SUBDIR)/autoconf && \
2936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2937 @endif autoconf
2942 .PHONY: check-autoconf maybe-check-autoconf
2943 maybe-check-autoconf:
2944 @if autoconf
2945 maybe-check-autoconf: check-autoconf
2947 check-autoconf:
2948 @: $(MAKE); $(unstage)
2949 @r=`${PWD_COMMAND}`; export r; \
2950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2951 $(HOST_EXPORTS) \
2952 (cd $(HOST_SUBDIR)/autoconf && \
2953 $(MAKE) $(FLAGS_TO_PASS) check)
2955 @endif autoconf
2957 .PHONY: install-autoconf maybe-install-autoconf
2958 maybe-install-autoconf:
2959 @if autoconf
2960 maybe-install-autoconf: install-autoconf
2962 install-autoconf: installdirs
2963 @: $(MAKE); $(unstage)
2964 @r=`${PWD_COMMAND}`; export r; \
2965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2966 $(HOST_EXPORTS) \
2967 (cd $(HOST_SUBDIR)/autoconf && \
2968 $(MAKE) $(FLAGS_TO_PASS) install)
2970 @endif autoconf
2972 # Other targets (info, dvi, etc.)
2974 .PHONY: maybe-info-autoconf info-autoconf
2975 maybe-info-autoconf:
2976 @if autoconf
2977 maybe-info-autoconf: info-autoconf
2979 info-autoconf: \
2980 configure-autoconf
2981 @: $(MAKE); $(unstage)
2982 @[ -f ./autoconf/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(HOST_EXPORTS) \
2986 for flag in $(EXTRA_HOST_FLAGS) ; do \
2987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2988 done; \
2989 echo "Doing info in autoconf" ; \
2990 (cd $(HOST_SUBDIR)/autoconf && \
2991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2993 "RANLIB=$${RANLIB}" \
2994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2995 info) \
2996 || exit 1
2998 @endif autoconf
3000 .PHONY: maybe-dvi-autoconf dvi-autoconf
3001 maybe-dvi-autoconf:
3002 @if autoconf
3003 maybe-dvi-autoconf: dvi-autoconf
3005 dvi-autoconf: \
3006 configure-autoconf
3007 @: $(MAKE); $(unstage)
3008 @[ -f ./autoconf/Makefile ] || exit 0; \
3009 r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3011 $(HOST_EXPORTS) \
3012 for flag in $(EXTRA_HOST_FLAGS) ; do \
3013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3014 done; \
3015 echo "Doing dvi in autoconf" ; \
3016 (cd $(HOST_SUBDIR)/autoconf && \
3017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3019 "RANLIB=$${RANLIB}" \
3020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3021 dvi) \
3022 || exit 1
3024 @endif autoconf
3026 .PHONY: maybe-html-autoconf html-autoconf
3027 maybe-html-autoconf:
3028 @if autoconf
3029 maybe-html-autoconf: html-autoconf
3031 html-autoconf: \
3032 configure-autoconf
3033 @: $(MAKE); $(unstage)
3034 @[ -f ./autoconf/Makefile ] || exit 0; \
3035 r=`${PWD_COMMAND}`; export r; \
3036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3037 $(HOST_EXPORTS) \
3038 for flag in $(EXTRA_HOST_FLAGS) ; do \
3039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3040 done; \
3041 echo "Doing html in autoconf" ; \
3042 (cd $(HOST_SUBDIR)/autoconf && \
3043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3045 "RANLIB=$${RANLIB}" \
3046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3047 html) \
3048 || exit 1
3050 @endif autoconf
3052 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3053 maybe-TAGS-autoconf:
3054 @if autoconf
3055 maybe-TAGS-autoconf: TAGS-autoconf
3057 TAGS-autoconf: \
3058 configure-autoconf
3059 @: $(MAKE); $(unstage)
3060 @[ -f ./autoconf/Makefile ] || exit 0; \
3061 r=`${PWD_COMMAND}`; export r; \
3062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3063 $(HOST_EXPORTS) \
3064 for flag in $(EXTRA_HOST_FLAGS) ; do \
3065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3066 done; \
3067 echo "Doing TAGS in autoconf" ; \
3068 (cd $(HOST_SUBDIR)/autoconf && \
3069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3071 "RANLIB=$${RANLIB}" \
3072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3073 TAGS) \
3074 || exit 1
3076 @endif autoconf
3078 .PHONY: maybe-install-info-autoconf install-info-autoconf
3079 maybe-install-info-autoconf:
3080 @if autoconf
3081 maybe-install-info-autoconf: install-info-autoconf
3083 install-info-autoconf: \
3084 configure-autoconf \
3085 info-autoconf
3086 @: $(MAKE); $(unstage)
3087 @[ -f ./autoconf/Makefile ] || exit 0; \
3088 r=`${PWD_COMMAND}`; export r; \
3089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 $(HOST_EXPORTS) \
3091 for flag in $(EXTRA_HOST_FLAGS) ; do \
3092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3093 done; \
3094 echo "Doing install-info in autoconf" ; \
3095 (cd $(HOST_SUBDIR)/autoconf && \
3096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3098 "RANLIB=$${RANLIB}" \
3099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3100 install-info) \
3101 || exit 1
3103 @endif autoconf
3105 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3106 maybe-installcheck-autoconf:
3107 @if autoconf
3108 maybe-installcheck-autoconf: installcheck-autoconf
3110 installcheck-autoconf: \
3111 configure-autoconf
3112 @: $(MAKE); $(unstage)
3113 @[ -f ./autoconf/Makefile ] || exit 0; \
3114 r=`${PWD_COMMAND}`; export r; \
3115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3116 $(HOST_EXPORTS) \
3117 for flag in $(EXTRA_HOST_FLAGS) ; do \
3118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3119 done; \
3120 echo "Doing installcheck in autoconf" ; \
3121 (cd $(HOST_SUBDIR)/autoconf && \
3122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3124 "RANLIB=$${RANLIB}" \
3125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3126 installcheck) \
3127 || exit 1
3129 @endif autoconf
3131 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3132 maybe-mostlyclean-autoconf:
3133 @if autoconf
3134 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3136 mostlyclean-autoconf:
3137 @: $(MAKE); $(unstage)
3138 @[ -f ./autoconf/Makefile ] || exit 0; \
3139 r=`${PWD_COMMAND}`; export r; \
3140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3141 $(HOST_EXPORTS) \
3142 for flag in $(EXTRA_HOST_FLAGS) ; do \
3143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3144 done; \
3145 echo "Doing mostlyclean in autoconf" ; \
3146 (cd $(HOST_SUBDIR)/autoconf && \
3147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3149 "RANLIB=$${RANLIB}" \
3150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3151 mostlyclean) \
3152 || exit 1
3154 @endif autoconf
3156 .PHONY: maybe-clean-autoconf clean-autoconf
3157 maybe-clean-autoconf:
3158 @if autoconf
3159 maybe-clean-autoconf: clean-autoconf
3161 clean-autoconf:
3162 @: $(MAKE); $(unstage)
3163 @[ -f ./autoconf/Makefile ] || exit 0; \
3164 r=`${PWD_COMMAND}`; export r; \
3165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3166 $(HOST_EXPORTS) \
3167 for flag in $(EXTRA_HOST_FLAGS) ; do \
3168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3169 done; \
3170 echo "Doing clean in autoconf" ; \
3171 (cd $(HOST_SUBDIR)/autoconf && \
3172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3174 "RANLIB=$${RANLIB}" \
3175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3176 clean) \
3177 || exit 1
3179 @endif autoconf
3181 .PHONY: maybe-distclean-autoconf distclean-autoconf
3182 maybe-distclean-autoconf:
3183 @if autoconf
3184 maybe-distclean-autoconf: distclean-autoconf
3186 distclean-autoconf:
3187 @: $(MAKE); $(unstage)
3188 @[ -f ./autoconf/Makefile ] || exit 0; \
3189 r=`${PWD_COMMAND}`; export r; \
3190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3191 $(HOST_EXPORTS) \
3192 for flag in $(EXTRA_HOST_FLAGS) ; do \
3193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3194 done; \
3195 echo "Doing distclean in autoconf" ; \
3196 (cd $(HOST_SUBDIR)/autoconf && \
3197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3199 "RANLIB=$${RANLIB}" \
3200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3201 distclean) \
3202 || exit 1
3204 @endif autoconf
3206 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3207 maybe-maintainer-clean-autoconf:
3208 @if autoconf
3209 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3211 maintainer-clean-autoconf:
3212 @: $(MAKE); $(unstage)
3213 @[ -f ./autoconf/Makefile ] || exit 0; \
3214 r=`${PWD_COMMAND}`; export r; \
3215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3216 $(HOST_EXPORTS) \
3217 for flag in $(EXTRA_HOST_FLAGS) ; do \
3218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3219 done; \
3220 echo "Doing maintainer-clean in autoconf" ; \
3221 (cd $(HOST_SUBDIR)/autoconf && \
3222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3224 "RANLIB=$${RANLIB}" \
3225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3226 maintainer-clean) \
3227 || exit 1
3229 @endif autoconf
3233 .PHONY: configure-automake maybe-configure-automake
3234 maybe-configure-automake:
3235 @if automake
3236 maybe-configure-automake: configure-automake
3237 configure-automake:
3238 @: $(MAKE); $(unstage)
3239 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3241 r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 $(HOST_EXPORTS) \
3244 echo Configuring in $(HOST_SUBDIR)/automake; \
3245 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3246 case $(srcdir) in \
3247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3248 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3250 esac; \
3251 srcdiroption="--srcdir=$${topdir}/automake"; \
3252 libsrcdir="$$s/automake"; \
3253 $(SHELL) $${libsrcdir}/configure \
3254 $(HOST_CONFIGARGS) $${srcdiroption} \
3255 || exit 1
3256 @endif automake
3262 .PHONY: all-automake maybe-all-automake
3263 maybe-all-automake:
3264 @if automake
3265 TARGET-automake=all
3266 maybe-all-automake: all-automake
3267 all-automake: configure-automake
3268 @: $(MAKE); $(unstage)
3269 @r=`${PWD_COMMAND}`; export r; \
3270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3271 $(HOST_EXPORTS) \
3272 (cd $(HOST_SUBDIR)/automake && \
3273 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3274 @endif automake
3279 .PHONY: check-automake maybe-check-automake
3280 maybe-check-automake:
3281 @if automake
3282 maybe-check-automake: check-automake
3284 check-automake:
3285 @: $(MAKE); $(unstage)
3286 @r=`${PWD_COMMAND}`; export r; \
3287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3288 $(HOST_EXPORTS) \
3289 (cd $(HOST_SUBDIR)/automake && \
3290 $(MAKE) $(FLAGS_TO_PASS) check)
3292 @endif automake
3294 .PHONY: install-automake maybe-install-automake
3295 maybe-install-automake:
3296 @if automake
3297 maybe-install-automake: install-automake
3299 install-automake: installdirs
3300 @: $(MAKE); $(unstage)
3301 @r=`${PWD_COMMAND}`; export r; \
3302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3303 $(HOST_EXPORTS) \
3304 (cd $(HOST_SUBDIR)/automake && \
3305 $(MAKE) $(FLAGS_TO_PASS) install)
3307 @endif automake
3309 # Other targets (info, dvi, etc.)
3311 .PHONY: maybe-info-automake info-automake
3312 maybe-info-automake:
3313 @if automake
3314 maybe-info-automake: info-automake
3316 info-automake: \
3317 configure-automake
3318 @: $(MAKE); $(unstage)
3319 @[ -f ./automake/Makefile ] || exit 0; \
3320 r=`${PWD_COMMAND}`; export r; \
3321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3322 $(HOST_EXPORTS) \
3323 for flag in $(EXTRA_HOST_FLAGS) ; do \
3324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3325 done; \
3326 echo "Doing info in automake" ; \
3327 (cd $(HOST_SUBDIR)/automake && \
3328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3330 "RANLIB=$${RANLIB}" \
3331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3332 info) \
3333 || exit 1
3335 @endif automake
3337 .PHONY: maybe-dvi-automake dvi-automake
3338 maybe-dvi-automake:
3339 @if automake
3340 maybe-dvi-automake: dvi-automake
3342 dvi-automake: \
3343 configure-automake
3344 @: $(MAKE); $(unstage)
3345 @[ -f ./automake/Makefile ] || exit 0; \
3346 r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3348 $(HOST_EXPORTS) \
3349 for flag in $(EXTRA_HOST_FLAGS) ; do \
3350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3351 done; \
3352 echo "Doing dvi in automake" ; \
3353 (cd $(HOST_SUBDIR)/automake && \
3354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3356 "RANLIB=$${RANLIB}" \
3357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3358 dvi) \
3359 || exit 1
3361 @endif automake
3363 .PHONY: maybe-html-automake html-automake
3364 maybe-html-automake:
3365 @if automake
3366 maybe-html-automake: html-automake
3368 html-automake: \
3369 configure-automake
3370 @: $(MAKE); $(unstage)
3371 @[ -f ./automake/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 $(HOST_EXPORTS) \
3375 for flag in $(EXTRA_HOST_FLAGS) ; do \
3376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3377 done; \
3378 echo "Doing html in automake" ; \
3379 (cd $(HOST_SUBDIR)/automake && \
3380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3382 "RANLIB=$${RANLIB}" \
3383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3384 html) \
3385 || exit 1
3387 @endif automake
3389 .PHONY: maybe-TAGS-automake TAGS-automake
3390 maybe-TAGS-automake:
3391 @if automake
3392 maybe-TAGS-automake: TAGS-automake
3394 TAGS-automake: \
3395 configure-automake
3396 @: $(MAKE); $(unstage)
3397 @[ -f ./automake/Makefile ] || exit 0; \
3398 r=`${PWD_COMMAND}`; export r; \
3399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 $(HOST_EXPORTS) \
3401 for flag in $(EXTRA_HOST_FLAGS) ; do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 done; \
3404 echo "Doing TAGS in automake" ; \
3405 (cd $(HOST_SUBDIR)/automake && \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410 TAGS) \
3411 || exit 1
3413 @endif automake
3415 .PHONY: maybe-install-info-automake install-info-automake
3416 maybe-install-info-automake:
3417 @if automake
3418 maybe-install-info-automake: install-info-automake
3420 install-info-automake: \
3421 configure-automake \
3422 info-automake
3423 @: $(MAKE); $(unstage)
3424 @[ -f ./automake/Makefile ] || exit 0; \
3425 r=`${PWD_COMMAND}`; export r; \
3426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3427 $(HOST_EXPORTS) \
3428 for flag in $(EXTRA_HOST_FLAGS) ; do \
3429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3430 done; \
3431 echo "Doing install-info in automake" ; \
3432 (cd $(HOST_SUBDIR)/automake && \
3433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3435 "RANLIB=$${RANLIB}" \
3436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3437 install-info) \
3438 || exit 1
3440 @endif automake
3442 .PHONY: maybe-installcheck-automake installcheck-automake
3443 maybe-installcheck-automake:
3444 @if automake
3445 maybe-installcheck-automake: installcheck-automake
3447 installcheck-automake: \
3448 configure-automake
3449 @: $(MAKE); $(unstage)
3450 @[ -f ./automake/Makefile ] || exit 0; \
3451 r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 $(HOST_EXPORTS) \
3454 for flag in $(EXTRA_HOST_FLAGS) ; do \
3455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3456 done; \
3457 echo "Doing installcheck in automake" ; \
3458 (cd $(HOST_SUBDIR)/automake && \
3459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3461 "RANLIB=$${RANLIB}" \
3462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 installcheck) \
3464 || exit 1
3466 @endif automake
3468 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3469 maybe-mostlyclean-automake:
3470 @if automake
3471 maybe-mostlyclean-automake: mostlyclean-automake
3473 mostlyclean-automake:
3474 @: $(MAKE); $(unstage)
3475 @[ -f ./automake/Makefile ] || exit 0; \
3476 r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 $(HOST_EXPORTS) \
3479 for flag in $(EXTRA_HOST_FLAGS) ; do \
3480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3481 done; \
3482 echo "Doing mostlyclean in automake" ; \
3483 (cd $(HOST_SUBDIR)/automake && \
3484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3486 "RANLIB=$${RANLIB}" \
3487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3488 mostlyclean) \
3489 || exit 1
3491 @endif automake
3493 .PHONY: maybe-clean-automake clean-automake
3494 maybe-clean-automake:
3495 @if automake
3496 maybe-clean-automake: clean-automake
3498 clean-automake:
3499 @: $(MAKE); $(unstage)
3500 @[ -f ./automake/Makefile ] || exit 0; \
3501 r=`${PWD_COMMAND}`; export r; \
3502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3503 $(HOST_EXPORTS) \
3504 for flag in $(EXTRA_HOST_FLAGS) ; do \
3505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3506 done; \
3507 echo "Doing clean in automake" ; \
3508 (cd $(HOST_SUBDIR)/automake && \
3509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3511 "RANLIB=$${RANLIB}" \
3512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3513 clean) \
3514 || exit 1
3516 @endif automake
3518 .PHONY: maybe-distclean-automake distclean-automake
3519 maybe-distclean-automake:
3520 @if automake
3521 maybe-distclean-automake: distclean-automake
3523 distclean-automake:
3524 @: $(MAKE); $(unstage)
3525 @[ -f ./automake/Makefile ] || exit 0; \
3526 r=`${PWD_COMMAND}`; export r; \
3527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3528 $(HOST_EXPORTS) \
3529 for flag in $(EXTRA_HOST_FLAGS) ; do \
3530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3531 done; \
3532 echo "Doing distclean in automake" ; \
3533 (cd $(HOST_SUBDIR)/automake && \
3534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3536 "RANLIB=$${RANLIB}" \
3537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 distclean) \
3539 || exit 1
3541 @endif automake
3543 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3544 maybe-maintainer-clean-automake:
3545 @if automake
3546 maybe-maintainer-clean-automake: maintainer-clean-automake
3548 maintainer-clean-automake:
3549 @: $(MAKE); $(unstage)
3550 @[ -f ./automake/Makefile ] || exit 0; \
3551 r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3553 $(HOST_EXPORTS) \
3554 for flag in $(EXTRA_HOST_FLAGS) ; do \
3555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3556 done; \
3557 echo "Doing maintainer-clean in automake" ; \
3558 (cd $(HOST_SUBDIR)/automake && \
3559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3561 "RANLIB=$${RANLIB}" \
3562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3563 maintainer-clean) \
3564 || exit 1
3566 @endif automake
3570 .PHONY: configure-bash maybe-configure-bash
3571 maybe-configure-bash:
3572 @if bash
3573 maybe-configure-bash: configure-bash
3574 configure-bash:
3575 @: $(MAKE); $(unstage)
3576 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3578 r=`${PWD_COMMAND}`; export r; \
3579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3580 $(HOST_EXPORTS) \
3581 echo Configuring in $(HOST_SUBDIR)/bash; \
3582 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3583 case $(srcdir) in \
3584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3585 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3587 esac; \
3588 srcdiroption="--srcdir=$${topdir}/bash"; \
3589 libsrcdir="$$s/bash"; \
3590 $(SHELL) $${libsrcdir}/configure \
3591 $(HOST_CONFIGARGS) $${srcdiroption} \
3592 || exit 1
3593 @endif bash
3599 .PHONY: all-bash maybe-all-bash
3600 maybe-all-bash:
3601 @if bash
3602 TARGET-bash=all
3603 maybe-all-bash: all-bash
3604 all-bash: configure-bash
3605 @: $(MAKE); $(unstage)
3606 @r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(HOST_EXPORTS) \
3609 (cd $(HOST_SUBDIR)/bash && \
3610 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3611 @endif bash
3616 .PHONY: check-bash maybe-check-bash
3617 maybe-check-bash:
3618 @if bash
3619 maybe-check-bash: check-bash
3621 check-bash:
3622 @: $(MAKE); $(unstage)
3623 @r=`${PWD_COMMAND}`; export r; \
3624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3625 $(HOST_EXPORTS) \
3626 (cd $(HOST_SUBDIR)/bash && \
3627 $(MAKE) $(FLAGS_TO_PASS) check)
3629 @endif bash
3631 .PHONY: install-bash maybe-install-bash
3632 maybe-install-bash:
3633 @if bash
3634 maybe-install-bash: install-bash
3636 install-bash: installdirs
3637 @: $(MAKE); $(unstage)
3638 @r=`${PWD_COMMAND}`; export r; \
3639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3640 $(HOST_EXPORTS) \
3641 (cd $(HOST_SUBDIR)/bash && \
3642 $(MAKE) $(FLAGS_TO_PASS) install)
3644 @endif bash
3646 # Other targets (info, dvi, etc.)
3648 .PHONY: maybe-info-bash info-bash
3649 maybe-info-bash:
3650 @if bash
3651 maybe-info-bash: info-bash
3653 info-bash: \
3654 configure-bash
3655 @: $(MAKE); $(unstage)
3656 @[ -f ./bash/Makefile ] || exit 0; \
3657 r=`${PWD_COMMAND}`; export r; \
3658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3659 $(HOST_EXPORTS) \
3660 for flag in $(EXTRA_HOST_FLAGS) ; do \
3661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3662 done; \
3663 echo "Doing info in bash" ; \
3664 (cd $(HOST_SUBDIR)/bash && \
3665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3667 "RANLIB=$${RANLIB}" \
3668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3669 info) \
3670 || exit 1
3672 @endif bash
3674 .PHONY: maybe-dvi-bash dvi-bash
3675 maybe-dvi-bash:
3676 @if bash
3677 maybe-dvi-bash: dvi-bash
3679 dvi-bash: \
3680 configure-bash
3681 @: $(MAKE); $(unstage)
3682 @[ -f ./bash/Makefile ] || exit 0; \
3683 r=`${PWD_COMMAND}`; export r; \
3684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3685 $(HOST_EXPORTS) \
3686 for flag in $(EXTRA_HOST_FLAGS) ; do \
3687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3688 done; \
3689 echo "Doing dvi in bash" ; \
3690 (cd $(HOST_SUBDIR)/bash && \
3691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3693 "RANLIB=$${RANLIB}" \
3694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3695 dvi) \
3696 || exit 1
3698 @endif bash
3700 .PHONY: maybe-html-bash html-bash
3701 maybe-html-bash:
3702 @if bash
3703 maybe-html-bash: html-bash
3705 html-bash: \
3706 configure-bash
3707 @: $(MAKE); $(unstage)
3708 @[ -f ./bash/Makefile ] || exit 0; \
3709 r=`${PWD_COMMAND}`; export r; \
3710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 $(HOST_EXPORTS) \
3712 for flag in $(EXTRA_HOST_FLAGS) ; do \
3713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3714 done; \
3715 echo "Doing html in bash" ; \
3716 (cd $(HOST_SUBDIR)/bash && \
3717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3719 "RANLIB=$${RANLIB}" \
3720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3721 html) \
3722 || exit 1
3724 @endif bash
3726 .PHONY: maybe-TAGS-bash TAGS-bash
3727 maybe-TAGS-bash:
3728 @if bash
3729 maybe-TAGS-bash: TAGS-bash
3731 TAGS-bash: \
3732 configure-bash
3733 @: $(MAKE); $(unstage)
3734 @[ -f ./bash/Makefile ] || exit 0; \
3735 r=`${PWD_COMMAND}`; export r; \
3736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3737 $(HOST_EXPORTS) \
3738 for flag in $(EXTRA_HOST_FLAGS) ; do \
3739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3740 done; \
3741 echo "Doing TAGS in bash" ; \
3742 (cd $(HOST_SUBDIR)/bash && \
3743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3745 "RANLIB=$${RANLIB}" \
3746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3747 TAGS) \
3748 || exit 1
3750 @endif bash
3752 .PHONY: maybe-install-info-bash install-info-bash
3753 maybe-install-info-bash:
3754 @if bash
3755 maybe-install-info-bash: install-info-bash
3757 install-info-bash: \
3758 configure-bash \
3759 info-bash
3760 @: $(MAKE); $(unstage)
3761 @[ -f ./bash/Makefile ] || exit 0; \
3762 r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764 $(HOST_EXPORTS) \
3765 for flag in $(EXTRA_HOST_FLAGS) ; do \
3766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3767 done; \
3768 echo "Doing install-info in bash" ; \
3769 (cd $(HOST_SUBDIR)/bash && \
3770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3772 "RANLIB=$${RANLIB}" \
3773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3774 install-info) \
3775 || exit 1
3777 @endif bash
3779 .PHONY: maybe-installcheck-bash installcheck-bash
3780 maybe-installcheck-bash:
3781 @if bash
3782 maybe-installcheck-bash: installcheck-bash
3784 installcheck-bash: \
3785 configure-bash
3786 @: $(MAKE); $(unstage)
3787 @[ -f ./bash/Makefile ] || exit 0; \
3788 r=`${PWD_COMMAND}`; export r; \
3789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3790 $(HOST_EXPORTS) \
3791 for flag in $(EXTRA_HOST_FLAGS) ; do \
3792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3793 done; \
3794 echo "Doing installcheck in bash" ; \
3795 (cd $(HOST_SUBDIR)/bash && \
3796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3798 "RANLIB=$${RANLIB}" \
3799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3800 installcheck) \
3801 || exit 1
3803 @endif bash
3805 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3806 maybe-mostlyclean-bash:
3807 @if bash
3808 maybe-mostlyclean-bash: mostlyclean-bash
3810 mostlyclean-bash:
3811 @: $(MAKE); $(unstage)
3812 @[ -f ./bash/Makefile ] || exit 0; \
3813 r=`${PWD_COMMAND}`; export r; \
3814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3815 $(HOST_EXPORTS) \
3816 for flag in $(EXTRA_HOST_FLAGS) ; do \
3817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3818 done; \
3819 echo "Doing mostlyclean in bash" ; \
3820 (cd $(HOST_SUBDIR)/bash && \
3821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3823 "RANLIB=$${RANLIB}" \
3824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3825 mostlyclean) \
3826 || exit 1
3828 @endif bash
3830 .PHONY: maybe-clean-bash clean-bash
3831 maybe-clean-bash:
3832 @if bash
3833 maybe-clean-bash: clean-bash
3835 clean-bash:
3836 @: $(MAKE); $(unstage)
3837 @[ -f ./bash/Makefile ] || exit 0; \
3838 r=`${PWD_COMMAND}`; export r; \
3839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3840 $(HOST_EXPORTS) \
3841 for flag in $(EXTRA_HOST_FLAGS) ; do \
3842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3843 done; \
3844 echo "Doing clean in bash" ; \
3845 (cd $(HOST_SUBDIR)/bash && \
3846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3848 "RANLIB=$${RANLIB}" \
3849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3850 clean) \
3851 || exit 1
3853 @endif bash
3855 .PHONY: maybe-distclean-bash distclean-bash
3856 maybe-distclean-bash:
3857 @if bash
3858 maybe-distclean-bash: distclean-bash
3860 distclean-bash:
3861 @: $(MAKE); $(unstage)
3862 @[ -f ./bash/Makefile ] || exit 0; \
3863 r=`${PWD_COMMAND}`; export r; \
3864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3865 $(HOST_EXPORTS) \
3866 for flag in $(EXTRA_HOST_FLAGS) ; do \
3867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3868 done; \
3869 echo "Doing distclean in bash" ; \
3870 (cd $(HOST_SUBDIR)/bash && \
3871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3873 "RANLIB=$${RANLIB}" \
3874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3875 distclean) \
3876 || exit 1
3878 @endif bash
3880 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3881 maybe-maintainer-clean-bash:
3882 @if bash
3883 maybe-maintainer-clean-bash: maintainer-clean-bash
3885 maintainer-clean-bash:
3886 @: $(MAKE); $(unstage)
3887 @[ -f ./bash/Makefile ] || exit 0; \
3888 r=`${PWD_COMMAND}`; export r; \
3889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3890 $(HOST_EXPORTS) \
3891 for flag in $(EXTRA_HOST_FLAGS) ; do \
3892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3893 done; \
3894 echo "Doing maintainer-clean in bash" ; \
3895 (cd $(HOST_SUBDIR)/bash && \
3896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3898 "RANLIB=$${RANLIB}" \
3899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3900 maintainer-clean) \
3901 || exit 1
3903 @endif bash
3907 .PHONY: configure-bfd maybe-configure-bfd
3908 maybe-configure-bfd:
3909 @if bfd
3910 maybe-configure-bfd: configure-bfd
3911 configure-bfd:
3912 @test -f stage_last && exit 0; \
3913 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3915 r=`${PWD_COMMAND}`; export r; \
3916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3917 $(HOST_EXPORTS) \
3918 echo Configuring in $(HOST_SUBDIR)/bfd; \
3919 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3920 case $(srcdir) in \
3921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3922 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3924 esac; \
3925 srcdiroption="--srcdir=$${topdir}/bfd"; \
3926 libsrcdir="$$s/bfd"; \
3927 $(SHELL) $${libsrcdir}/configure \
3928 $(HOST_CONFIGARGS) $${srcdiroption} \
3929 || exit 1
3930 @endif bfd
3934 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3935 maybe-configure-stage1-bfd:
3936 @if bfd-bootstrap
3937 maybe-configure-stage1-bfd: configure-stage1-bfd
3938 configure-stage1-bfd:
3939 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
3940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3941 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3942 $(HOST_EXPORTS) \
3943 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3945 cd $(HOST_SUBDIR)/bfd || exit 1; \
3946 case $(srcdir) in \
3947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3948 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3950 esac; \
3951 srcdiroption="--srcdir=$${topdir}/bfd"; \
3952 libsrcdir="$$s/bfd"; \
3953 $(SHELL) $${libsrcdir}/configure \
3954 $(HOST_CONFIGARGS) $${srcdiroption} \
3955 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3956 @endif bfd-bootstrap
3958 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3959 maybe-configure-stage2-bfd:
3960 @if bfd-bootstrap
3961 maybe-configure-stage2-bfd: configure-stage2-bfd
3962 configure-stage2-bfd:
3963 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
3964 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3965 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3966 $(HOST_EXPORTS) \
3967 $(POSTSTAGE1_HOST_EXPORTS) \
3968 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3970 cd $(HOST_SUBDIR)/bfd || exit 1; \
3971 case $(srcdir) in \
3972 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3973 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3974 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3975 esac; \
3976 srcdiroption="--srcdir=$${topdir}/bfd"; \
3977 libsrcdir="$$s/bfd"; \
3978 $(SHELL) $${libsrcdir}/configure \
3979 $(HOST_CONFIGARGS) $${srcdiroption} \
3980 @stage2_werror_flag@
3981 @endif bfd-bootstrap
3983 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3984 maybe-configure-stage3-bfd:
3985 @if bfd-bootstrap
3986 maybe-configure-stage3-bfd: configure-stage3-bfd
3987 configure-stage3-bfd:
3988 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
3989 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3990 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3991 $(HOST_EXPORTS) \
3992 $(POSTSTAGE1_HOST_EXPORTS) \
3993 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3995 cd $(HOST_SUBDIR)/bfd || exit 1; \
3996 case $(srcdir) in \
3997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3998 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4000 esac; \
4001 srcdiroption="--srcdir=$${topdir}/bfd"; \
4002 libsrcdir="$$s/bfd"; \
4003 $(SHELL) $${libsrcdir}/configure \
4004 $(HOST_CONFIGARGS) $${srcdiroption} \
4005 @stage2_werror_flag@
4006 @endif bfd-bootstrap
4008 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4009 maybe-configure-stage4-bfd:
4010 @if bfd-bootstrap
4011 maybe-configure-stage4-bfd: configure-stage4-bfd
4012 configure-stage4-bfd:
4013 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4014 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4015 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4016 $(HOST_EXPORTS) \
4017 $(POSTSTAGE1_HOST_EXPORTS) \
4018 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4019 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4020 cd $(HOST_SUBDIR)/bfd || exit 1; \
4021 case $(srcdir) in \
4022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4023 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4025 esac; \
4026 srcdiroption="--srcdir=$${topdir}/bfd"; \
4027 libsrcdir="$$s/bfd"; \
4028 $(SHELL) $${libsrcdir}/configure \
4029 $(HOST_CONFIGARGS) $${srcdiroption} \
4030 @stage2_werror_flag@
4031 @endif bfd-bootstrap
4033 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4034 maybe-configure-stageprofile-bfd:
4035 @if bfd-bootstrap
4036 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4037 configure-stageprofile-bfd:
4038 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4040 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4041 $(HOST_EXPORTS) \
4042 $(POSTSTAGE1_HOST_EXPORTS) \
4043 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4045 cd $(HOST_SUBDIR)/bfd || exit 1; \
4046 case $(srcdir) in \
4047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4048 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4050 esac; \
4051 srcdiroption="--srcdir=$${topdir}/bfd"; \
4052 libsrcdir="$$s/bfd"; \
4053 $(SHELL) $${libsrcdir}/configure \
4054 $(HOST_CONFIGARGS) $${srcdiroption} \
4055 @stage2_werror_flag@
4056 @endif bfd-bootstrap
4058 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4059 maybe-configure-stagefeedback-bfd:
4060 @if bfd-bootstrap
4061 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4062 configure-stagefeedback-bfd:
4063 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4065 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4066 $(HOST_EXPORTS) \
4067 $(POSTSTAGE1_HOST_EXPORTS) \
4068 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4070 cd $(HOST_SUBDIR)/bfd || exit 1; \
4071 case $(srcdir) in \
4072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4073 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4075 esac; \
4076 srcdiroption="--srcdir=$${topdir}/bfd"; \
4077 libsrcdir="$$s/bfd"; \
4078 $(SHELL) $${libsrcdir}/configure \
4079 $(HOST_CONFIGARGS) $${srcdiroption} \
4080 @stage2_werror_flag@
4081 @endif bfd-bootstrap
4087 .PHONY: all-bfd maybe-all-bfd
4088 maybe-all-bfd:
4089 @if bfd
4090 TARGET-bfd=all
4091 maybe-all-bfd: all-bfd
4092 all-bfd: configure-bfd
4093 @test -f stage_last && exit 0; \
4094 r=`${PWD_COMMAND}`; export r; \
4095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4096 $(HOST_EXPORTS) \
4097 (cd $(HOST_SUBDIR)/bfd && \
4098 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4099 @endif bfd
4103 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4104 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4105 maybe-all-stage1-bfd:
4106 maybe-clean-stage1-bfd:
4107 @if bfd-bootstrap
4108 maybe-all-stage1-bfd: all-stage1-bfd
4109 all-stage1: all-stage1-bfd
4110 TARGET-stage1-bfd = $(TARGET-bfd)
4111 all-stage1-bfd: configure-stage1-bfd
4112 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4113 @r=`${PWD_COMMAND}`; export r; \
4114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4115 $(HOST_EXPORTS) \
4116 cd $(HOST_SUBDIR)/bfd && \
4117 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4118 $(TARGET-stage1-bfd)
4120 maybe-clean-stage1-bfd: clean-stage1-bfd
4121 clean-stage1: clean-stage1-bfd
4122 clean-stage1-bfd:
4123 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4124 || exit 0 ; \
4125 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4126 cd $(HOST_SUBDIR)/bfd && \
4127 $(MAKE) $(FLAGS_TO_PASS) \
4128 CFLAGS="$(STAGE1_CFLAGS)" clean
4129 @endif bfd-bootstrap
4132 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4133 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4134 maybe-all-stage2-bfd:
4135 maybe-clean-stage2-bfd:
4136 @if bfd-bootstrap
4137 maybe-all-stage2-bfd: all-stage2-bfd
4138 all-stage2: all-stage2-bfd
4139 TARGET-stage2-bfd = $(TARGET-bfd)
4140 all-stage2-bfd: configure-stage2-bfd
4141 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4142 @r=`${PWD_COMMAND}`; export r; \
4143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4144 $(HOST_EXPORTS) \
4145 $(POSTSTAGE1_HOST_EXPORTS) \
4146 cd $(HOST_SUBDIR)/bfd && \
4147 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4148 $(TARGET-stage2-bfd)
4150 maybe-clean-stage2-bfd: clean-stage2-bfd
4151 clean-stage2: clean-stage2-bfd
4152 clean-stage2-bfd:
4153 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4154 || exit 0 ; \
4155 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4156 cd $(HOST_SUBDIR)/bfd && \
4157 $(MAKE) $(FLAGS_TO_PASS) \
4158 $(POSTSTAGE1_FLAGS_TO_PASS) \
4159 clean
4160 @endif bfd-bootstrap
4163 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4164 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4165 maybe-all-stage3-bfd:
4166 maybe-clean-stage3-bfd:
4167 @if bfd-bootstrap
4168 maybe-all-stage3-bfd: all-stage3-bfd
4169 all-stage3: all-stage3-bfd
4170 TARGET-stage3-bfd = $(TARGET-bfd)
4171 all-stage3-bfd: configure-stage3-bfd
4172 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4173 @r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 $(HOST_EXPORTS) \
4176 $(POSTSTAGE1_HOST_EXPORTS) \
4177 cd $(HOST_SUBDIR)/bfd && \
4178 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4179 $(TARGET-stage3-bfd)
4181 maybe-clean-stage3-bfd: clean-stage3-bfd
4182 clean-stage3: clean-stage3-bfd
4183 clean-stage3-bfd:
4184 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4185 || exit 0 ; \
4186 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4187 cd $(HOST_SUBDIR)/bfd && \
4188 $(MAKE) $(FLAGS_TO_PASS) \
4189 $(POSTSTAGE1_FLAGS_TO_PASS) \
4190 clean
4191 @endif bfd-bootstrap
4194 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4195 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4196 maybe-all-stage4-bfd:
4197 maybe-clean-stage4-bfd:
4198 @if bfd-bootstrap
4199 maybe-all-stage4-bfd: all-stage4-bfd
4200 all-stage4: all-stage4-bfd
4201 TARGET-stage4-bfd = $(TARGET-bfd)
4202 all-stage4-bfd: configure-stage4-bfd
4203 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4204 @r=`${PWD_COMMAND}`; export r; \
4205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4206 $(HOST_EXPORTS) \
4207 $(POSTSTAGE1_HOST_EXPORTS) \
4208 cd $(HOST_SUBDIR)/bfd && \
4209 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4210 $(TARGET-stage4-bfd)
4212 maybe-clean-stage4-bfd: clean-stage4-bfd
4213 clean-stage4: clean-stage4-bfd
4214 clean-stage4-bfd:
4215 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4216 || exit 0 ; \
4217 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4218 cd $(HOST_SUBDIR)/bfd && \
4219 $(MAKE) $(FLAGS_TO_PASS) \
4220 $(POSTSTAGE1_FLAGS_TO_PASS) \
4221 clean
4222 @endif bfd-bootstrap
4225 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4226 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4227 maybe-all-stageprofile-bfd:
4228 maybe-clean-stageprofile-bfd:
4229 @if bfd-bootstrap
4230 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4231 all-stageprofile: all-stageprofile-bfd
4232 TARGET-stageprofile-bfd = $(TARGET-bfd)
4233 all-stageprofile-bfd: configure-stageprofile-bfd
4234 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4235 @r=`${PWD_COMMAND}`; export r; \
4236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 $(HOST_EXPORTS) \
4238 $(POSTSTAGE1_HOST_EXPORTS) \
4239 cd $(HOST_SUBDIR)/bfd && \
4240 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4241 $(TARGET-stageprofile-bfd)
4243 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4244 clean-stageprofile: clean-stageprofile-bfd
4245 clean-stageprofile-bfd:
4246 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4247 || exit 0 ; \
4248 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4249 cd $(HOST_SUBDIR)/bfd && \
4250 $(MAKE) $(FLAGS_TO_PASS) \
4251 $(POSTSTAGE1_FLAGS_TO_PASS) \
4252 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4253 @endif bfd-bootstrap
4256 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4257 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4258 maybe-all-stagefeedback-bfd:
4259 maybe-clean-stagefeedback-bfd:
4260 @if bfd-bootstrap
4261 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4262 all-stagefeedback: all-stagefeedback-bfd
4263 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4264 all-stagefeedback-bfd: configure-stagefeedback-bfd
4265 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4266 @r=`${PWD_COMMAND}`; export r; \
4267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4268 $(HOST_EXPORTS) \
4269 $(POSTSTAGE1_HOST_EXPORTS) \
4270 cd $(HOST_SUBDIR)/bfd && \
4271 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4272 $(TARGET-stagefeedback-bfd)
4274 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4275 clean-stagefeedback: clean-stagefeedback-bfd
4276 clean-stagefeedback-bfd:
4277 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4278 || exit 0 ; \
4279 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4280 cd $(HOST_SUBDIR)/bfd && \
4281 $(MAKE) $(FLAGS_TO_PASS) \
4282 $(POSTSTAGE1_FLAGS_TO_PASS) \
4283 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4284 @endif bfd-bootstrap
4290 .PHONY: check-bfd maybe-check-bfd
4291 maybe-check-bfd:
4292 @if bfd
4293 maybe-check-bfd: check-bfd
4295 check-bfd:
4296 @: $(MAKE); $(unstage)
4297 @r=`${PWD_COMMAND}`; export r; \
4298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4299 $(HOST_EXPORTS) \
4300 (cd $(HOST_SUBDIR)/bfd && \
4301 $(MAKE) $(FLAGS_TO_PASS) check)
4303 @endif bfd
4305 .PHONY: install-bfd maybe-install-bfd
4306 maybe-install-bfd:
4307 @if bfd
4308 maybe-install-bfd: install-bfd
4310 install-bfd: installdirs
4311 @: $(MAKE); $(unstage)
4312 @r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(HOST_EXPORTS) \
4315 (cd $(HOST_SUBDIR)/bfd && \
4316 $(MAKE) $(FLAGS_TO_PASS) install)
4318 @endif bfd
4320 # Other targets (info, dvi, etc.)
4322 .PHONY: maybe-info-bfd info-bfd
4323 maybe-info-bfd:
4324 @if bfd
4325 maybe-info-bfd: info-bfd
4327 info-bfd: \
4328 configure-bfd
4329 @[ -f ./bfd/Makefile ] || exit 0; \
4330 r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(HOST_EXPORTS) \
4333 for flag in $(EXTRA_HOST_FLAGS) ; do \
4334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4335 done; \
4336 echo "Doing info in bfd" ; \
4337 (cd $(HOST_SUBDIR)/bfd && \
4338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4340 "RANLIB=$${RANLIB}" \
4341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4342 info) \
4343 || exit 1
4345 @endif bfd
4347 .PHONY: maybe-dvi-bfd dvi-bfd
4348 maybe-dvi-bfd:
4349 @if bfd
4350 maybe-dvi-bfd: dvi-bfd
4352 dvi-bfd: \
4353 configure-bfd
4354 @[ -f ./bfd/Makefile ] || exit 0; \
4355 r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 $(HOST_EXPORTS) \
4358 for flag in $(EXTRA_HOST_FLAGS) ; do \
4359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4360 done; \
4361 echo "Doing dvi in bfd" ; \
4362 (cd $(HOST_SUBDIR)/bfd && \
4363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4365 "RANLIB=$${RANLIB}" \
4366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4367 dvi) \
4368 || exit 1
4370 @endif bfd
4372 .PHONY: maybe-html-bfd html-bfd
4373 maybe-html-bfd:
4374 @if bfd
4375 maybe-html-bfd: html-bfd
4377 html-bfd: \
4378 configure-bfd
4379 @[ -f ./bfd/Makefile ] || exit 0; \
4380 r=`${PWD_COMMAND}`; export r; \
4381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4382 $(HOST_EXPORTS) \
4383 for flag in $(EXTRA_HOST_FLAGS) ; do \
4384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4385 done; \
4386 echo "Doing html in bfd" ; \
4387 (cd $(HOST_SUBDIR)/bfd && \
4388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4390 "RANLIB=$${RANLIB}" \
4391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4392 html) \
4393 || exit 1
4395 @endif bfd
4397 .PHONY: maybe-TAGS-bfd TAGS-bfd
4398 maybe-TAGS-bfd:
4399 @if bfd
4400 maybe-TAGS-bfd: TAGS-bfd
4402 TAGS-bfd: \
4403 configure-bfd
4404 @[ -f ./bfd/Makefile ] || exit 0; \
4405 r=`${PWD_COMMAND}`; export r; \
4406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4407 $(HOST_EXPORTS) \
4408 for flag in $(EXTRA_HOST_FLAGS) ; do \
4409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4410 done; \
4411 echo "Doing TAGS in bfd" ; \
4412 (cd $(HOST_SUBDIR)/bfd && \
4413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4415 "RANLIB=$${RANLIB}" \
4416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4417 TAGS) \
4418 || exit 1
4420 @endif bfd
4422 .PHONY: maybe-install-info-bfd install-info-bfd
4423 maybe-install-info-bfd:
4424 @if bfd
4425 maybe-install-info-bfd: install-info-bfd
4427 install-info-bfd: \
4428 configure-bfd \
4429 info-bfd
4430 @[ -f ./bfd/Makefile ] || exit 0; \
4431 r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 $(HOST_EXPORTS) \
4434 for flag in $(EXTRA_HOST_FLAGS) ; do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 done; \
4437 echo "Doing install-info in bfd" ; \
4438 (cd $(HOST_SUBDIR)/bfd && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4441 "RANLIB=$${RANLIB}" \
4442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4443 install-info) \
4444 || exit 1
4446 @endif bfd
4448 .PHONY: maybe-installcheck-bfd installcheck-bfd
4449 maybe-installcheck-bfd:
4450 @if bfd
4451 maybe-installcheck-bfd: installcheck-bfd
4453 installcheck-bfd: \
4454 configure-bfd
4455 @[ -f ./bfd/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(HOST_EXPORTS) \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 echo "Doing installcheck in bfd" ; \
4463 (cd $(HOST_SUBDIR)/bfd && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4468 installcheck) \
4469 || exit 1
4471 @endif bfd
4473 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4474 maybe-mostlyclean-bfd:
4475 @if bfd
4476 maybe-mostlyclean-bfd: mostlyclean-bfd
4478 mostlyclean-bfd:
4479 @[ -f ./bfd/Makefile ] || exit 0; \
4480 r=`${PWD_COMMAND}`; export r; \
4481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4482 $(HOST_EXPORTS) \
4483 for flag in $(EXTRA_HOST_FLAGS) ; do \
4484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4485 done; \
4486 echo "Doing mostlyclean in bfd" ; \
4487 (cd $(HOST_SUBDIR)/bfd && \
4488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4490 "RANLIB=$${RANLIB}" \
4491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4492 mostlyclean) \
4493 || exit 1
4495 @endif bfd
4497 .PHONY: maybe-clean-bfd clean-bfd
4498 maybe-clean-bfd:
4499 @if bfd
4500 maybe-clean-bfd: clean-bfd
4502 clean-bfd:
4503 @[ -f ./bfd/Makefile ] || exit 0; \
4504 r=`${PWD_COMMAND}`; export r; \
4505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4506 $(HOST_EXPORTS) \
4507 for flag in $(EXTRA_HOST_FLAGS) ; do \
4508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4509 done; \
4510 echo "Doing clean in bfd" ; \
4511 (cd $(HOST_SUBDIR)/bfd && \
4512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4514 "RANLIB=$${RANLIB}" \
4515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4516 clean) \
4517 || exit 1
4519 @endif bfd
4521 .PHONY: maybe-distclean-bfd distclean-bfd
4522 maybe-distclean-bfd:
4523 @if bfd
4524 maybe-distclean-bfd: distclean-bfd
4526 distclean-bfd:
4527 @[ -f ./bfd/Makefile ] || exit 0; \
4528 r=`${PWD_COMMAND}`; export r; \
4529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4530 $(HOST_EXPORTS) \
4531 for flag in $(EXTRA_HOST_FLAGS) ; do \
4532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4533 done; \
4534 echo "Doing distclean in bfd" ; \
4535 (cd $(HOST_SUBDIR)/bfd && \
4536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4538 "RANLIB=$${RANLIB}" \
4539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4540 distclean) \
4541 || exit 1
4543 @endif bfd
4545 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4546 maybe-maintainer-clean-bfd:
4547 @if bfd
4548 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4550 maintainer-clean-bfd:
4551 @[ -f ./bfd/Makefile ] || exit 0; \
4552 r=`${PWD_COMMAND}`; export r; \
4553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4554 $(HOST_EXPORTS) \
4555 for flag in $(EXTRA_HOST_FLAGS) ; do \
4556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4557 done; \
4558 echo "Doing maintainer-clean in bfd" ; \
4559 (cd $(HOST_SUBDIR)/bfd && \
4560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4562 "RANLIB=$${RANLIB}" \
4563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4564 maintainer-clean) \
4565 || exit 1
4567 @endif bfd
4571 .PHONY: configure-opcodes maybe-configure-opcodes
4572 maybe-configure-opcodes:
4573 @if opcodes
4574 maybe-configure-opcodes: configure-opcodes
4575 configure-opcodes:
4576 @test -f stage_last && exit 0; \
4577 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4579 r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4581 $(HOST_EXPORTS) \
4582 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4583 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4584 case $(srcdir) in \
4585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4586 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4588 esac; \
4589 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4590 libsrcdir="$$s/opcodes"; \
4591 $(SHELL) $${libsrcdir}/configure \
4592 $(HOST_CONFIGARGS) $${srcdiroption} \
4593 || exit 1
4594 @endif opcodes
4598 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4599 maybe-configure-stage1-opcodes:
4600 @if opcodes-bootstrap
4601 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4602 configure-stage1-opcodes:
4603 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4604 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4605 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4606 $(HOST_EXPORTS) \
4607 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4609 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4610 case $(srcdir) in \
4611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4612 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4614 esac; \
4615 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4616 libsrcdir="$$s/opcodes"; \
4617 $(SHELL) $${libsrcdir}/configure \
4618 $(HOST_CONFIGARGS) $${srcdiroption} \
4619 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4620 @endif opcodes-bootstrap
4622 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4623 maybe-configure-stage2-opcodes:
4624 @if opcodes-bootstrap
4625 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4626 configure-stage2-opcodes:
4627 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4628 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4629 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4630 $(HOST_EXPORTS) \
4631 $(POSTSTAGE1_HOST_EXPORTS) \
4632 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4634 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4635 case $(srcdir) in \
4636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4637 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4639 esac; \
4640 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4641 libsrcdir="$$s/opcodes"; \
4642 $(SHELL) $${libsrcdir}/configure \
4643 $(HOST_CONFIGARGS) $${srcdiroption} \
4644 @stage2_werror_flag@
4645 @endif opcodes-bootstrap
4647 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4648 maybe-configure-stage3-opcodes:
4649 @if opcodes-bootstrap
4650 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4651 configure-stage3-opcodes:
4652 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4653 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4654 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4655 $(HOST_EXPORTS) \
4656 $(POSTSTAGE1_HOST_EXPORTS) \
4657 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4658 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4659 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4660 case $(srcdir) in \
4661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4662 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4664 esac; \
4665 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4666 libsrcdir="$$s/opcodes"; \
4667 $(SHELL) $${libsrcdir}/configure \
4668 $(HOST_CONFIGARGS) $${srcdiroption} \
4669 @stage2_werror_flag@
4670 @endif opcodes-bootstrap
4672 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4673 maybe-configure-stage4-opcodes:
4674 @if opcodes-bootstrap
4675 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4676 configure-stage4-opcodes:
4677 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4679 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4680 $(HOST_EXPORTS) \
4681 $(POSTSTAGE1_HOST_EXPORTS) \
4682 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4684 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4685 case $(srcdir) in \
4686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4687 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4689 esac; \
4690 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4691 libsrcdir="$$s/opcodes"; \
4692 $(SHELL) $${libsrcdir}/configure \
4693 $(HOST_CONFIGARGS) $${srcdiroption} \
4694 @stage2_werror_flag@
4695 @endif opcodes-bootstrap
4697 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4698 maybe-configure-stageprofile-opcodes:
4699 @if opcodes-bootstrap
4700 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4701 configure-stageprofile-opcodes:
4702 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4703 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4704 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4705 $(HOST_EXPORTS) \
4706 $(POSTSTAGE1_HOST_EXPORTS) \
4707 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4709 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4710 case $(srcdir) in \
4711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4712 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4714 esac; \
4715 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4716 libsrcdir="$$s/opcodes"; \
4717 $(SHELL) $${libsrcdir}/configure \
4718 $(HOST_CONFIGARGS) $${srcdiroption} \
4719 @stage2_werror_flag@
4720 @endif opcodes-bootstrap
4722 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4723 maybe-configure-stagefeedback-opcodes:
4724 @if opcodes-bootstrap
4725 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4726 configure-stagefeedback-opcodes:
4727 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4729 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4730 $(HOST_EXPORTS) \
4731 $(POSTSTAGE1_HOST_EXPORTS) \
4732 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4734 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4735 case $(srcdir) in \
4736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4737 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4739 esac; \
4740 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4741 libsrcdir="$$s/opcodes"; \
4742 $(SHELL) $${libsrcdir}/configure \
4743 $(HOST_CONFIGARGS) $${srcdiroption} \
4744 @stage2_werror_flag@
4745 @endif opcodes-bootstrap
4751 .PHONY: all-opcodes maybe-all-opcodes
4752 maybe-all-opcodes:
4753 @if opcodes
4754 TARGET-opcodes=all
4755 maybe-all-opcodes: all-opcodes
4756 all-opcodes: configure-opcodes
4757 @test -f stage_last && exit 0; \
4758 r=`${PWD_COMMAND}`; export r; \
4759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 $(HOST_EXPORTS) \
4761 (cd $(HOST_SUBDIR)/opcodes && \
4762 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4763 @endif opcodes
4767 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4768 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4769 maybe-all-stage1-opcodes:
4770 maybe-clean-stage1-opcodes:
4771 @if opcodes-bootstrap
4772 maybe-all-stage1-opcodes: all-stage1-opcodes
4773 all-stage1: all-stage1-opcodes
4774 TARGET-stage1-opcodes = $(TARGET-opcodes)
4775 all-stage1-opcodes: configure-stage1-opcodes
4776 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4777 @r=`${PWD_COMMAND}`; export r; \
4778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4779 $(HOST_EXPORTS) \
4780 cd $(HOST_SUBDIR)/opcodes && \
4781 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4782 $(TARGET-stage1-opcodes)
4784 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4785 clean-stage1: clean-stage1-opcodes
4786 clean-stage1-opcodes:
4787 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4788 || exit 0 ; \
4789 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4790 cd $(HOST_SUBDIR)/opcodes && \
4791 $(MAKE) $(FLAGS_TO_PASS) \
4792 CFLAGS="$(STAGE1_CFLAGS)" clean
4793 @endif opcodes-bootstrap
4796 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4797 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4798 maybe-all-stage2-opcodes:
4799 maybe-clean-stage2-opcodes:
4800 @if opcodes-bootstrap
4801 maybe-all-stage2-opcodes: all-stage2-opcodes
4802 all-stage2: all-stage2-opcodes
4803 TARGET-stage2-opcodes = $(TARGET-opcodes)
4804 all-stage2-opcodes: configure-stage2-opcodes
4805 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4806 @r=`${PWD_COMMAND}`; export r; \
4807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 $(HOST_EXPORTS) \
4809 $(POSTSTAGE1_HOST_EXPORTS) \
4810 cd $(HOST_SUBDIR)/opcodes && \
4811 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4812 $(TARGET-stage2-opcodes)
4814 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4815 clean-stage2: clean-stage2-opcodes
4816 clean-stage2-opcodes:
4817 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4818 || exit 0 ; \
4819 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4820 cd $(HOST_SUBDIR)/opcodes && \
4821 $(MAKE) $(FLAGS_TO_PASS) \
4822 $(POSTSTAGE1_FLAGS_TO_PASS) \
4823 clean
4824 @endif opcodes-bootstrap
4827 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4828 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4829 maybe-all-stage3-opcodes:
4830 maybe-clean-stage3-opcodes:
4831 @if opcodes-bootstrap
4832 maybe-all-stage3-opcodes: all-stage3-opcodes
4833 all-stage3: all-stage3-opcodes
4834 TARGET-stage3-opcodes = $(TARGET-opcodes)
4835 all-stage3-opcodes: configure-stage3-opcodes
4836 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4837 @r=`${PWD_COMMAND}`; export r; \
4838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839 $(HOST_EXPORTS) \
4840 $(POSTSTAGE1_HOST_EXPORTS) \
4841 cd $(HOST_SUBDIR)/opcodes && \
4842 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4843 $(TARGET-stage3-opcodes)
4845 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4846 clean-stage3: clean-stage3-opcodes
4847 clean-stage3-opcodes:
4848 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4849 || exit 0 ; \
4850 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4851 cd $(HOST_SUBDIR)/opcodes && \
4852 $(MAKE) $(FLAGS_TO_PASS) \
4853 $(POSTSTAGE1_FLAGS_TO_PASS) \
4854 clean
4855 @endif opcodes-bootstrap
4858 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4859 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4860 maybe-all-stage4-opcodes:
4861 maybe-clean-stage4-opcodes:
4862 @if opcodes-bootstrap
4863 maybe-all-stage4-opcodes: all-stage4-opcodes
4864 all-stage4: all-stage4-opcodes
4865 TARGET-stage4-opcodes = $(TARGET-opcodes)
4866 all-stage4-opcodes: configure-stage4-opcodes
4867 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4868 @r=`${PWD_COMMAND}`; export r; \
4869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4870 $(HOST_EXPORTS) \
4871 $(POSTSTAGE1_HOST_EXPORTS) \
4872 cd $(HOST_SUBDIR)/opcodes && \
4873 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4874 $(TARGET-stage4-opcodes)
4876 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4877 clean-stage4: clean-stage4-opcodes
4878 clean-stage4-opcodes:
4879 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4880 || exit 0 ; \
4881 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4882 cd $(HOST_SUBDIR)/opcodes && \
4883 $(MAKE) $(FLAGS_TO_PASS) \
4884 $(POSTSTAGE1_FLAGS_TO_PASS) \
4885 clean
4886 @endif opcodes-bootstrap
4889 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4890 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4891 maybe-all-stageprofile-opcodes:
4892 maybe-clean-stageprofile-opcodes:
4893 @if opcodes-bootstrap
4894 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4895 all-stageprofile: all-stageprofile-opcodes
4896 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4897 all-stageprofile-opcodes: configure-stageprofile-opcodes
4898 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4899 @r=`${PWD_COMMAND}`; export r; \
4900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 $(HOST_EXPORTS) \
4902 $(POSTSTAGE1_HOST_EXPORTS) \
4903 cd $(HOST_SUBDIR)/opcodes && \
4904 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4905 $(TARGET-stageprofile-opcodes)
4907 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4908 clean-stageprofile: clean-stageprofile-opcodes
4909 clean-stageprofile-opcodes:
4910 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4911 || exit 0 ; \
4912 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4913 cd $(HOST_SUBDIR)/opcodes && \
4914 $(MAKE) $(FLAGS_TO_PASS) \
4915 $(POSTSTAGE1_FLAGS_TO_PASS) \
4916 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4917 @endif opcodes-bootstrap
4920 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4921 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4922 maybe-all-stagefeedback-opcodes:
4923 maybe-clean-stagefeedback-opcodes:
4924 @if opcodes-bootstrap
4925 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4926 all-stagefeedback: all-stagefeedback-opcodes
4927 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4928 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4929 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4930 @r=`${PWD_COMMAND}`; export r; \
4931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4932 $(HOST_EXPORTS) \
4933 $(POSTSTAGE1_HOST_EXPORTS) \
4934 cd $(HOST_SUBDIR)/opcodes && \
4935 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4936 $(TARGET-stagefeedback-opcodes)
4938 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4939 clean-stagefeedback: clean-stagefeedback-opcodes
4940 clean-stagefeedback-opcodes:
4941 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4942 || exit 0 ; \
4943 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4944 cd $(HOST_SUBDIR)/opcodes && \
4945 $(MAKE) $(FLAGS_TO_PASS) \
4946 $(POSTSTAGE1_FLAGS_TO_PASS) \
4947 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4948 @endif opcodes-bootstrap
4954 .PHONY: check-opcodes maybe-check-opcodes
4955 maybe-check-opcodes:
4956 @if opcodes
4957 maybe-check-opcodes: check-opcodes
4959 check-opcodes:
4960 @: $(MAKE); $(unstage)
4961 @r=`${PWD_COMMAND}`; export r; \
4962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4963 $(HOST_EXPORTS) \
4964 (cd $(HOST_SUBDIR)/opcodes && \
4965 $(MAKE) $(FLAGS_TO_PASS) check)
4967 @endif opcodes
4969 .PHONY: install-opcodes maybe-install-opcodes
4970 maybe-install-opcodes:
4971 @if opcodes
4972 maybe-install-opcodes: install-opcodes
4974 install-opcodes: installdirs
4975 @: $(MAKE); $(unstage)
4976 @r=`${PWD_COMMAND}`; export r; \
4977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4978 $(HOST_EXPORTS) \
4979 (cd $(HOST_SUBDIR)/opcodes && \
4980 $(MAKE) $(FLAGS_TO_PASS) install)
4982 @endif opcodes
4984 # Other targets (info, dvi, etc.)
4986 .PHONY: maybe-info-opcodes info-opcodes
4987 maybe-info-opcodes:
4988 @if opcodes
4989 maybe-info-opcodes: info-opcodes
4991 info-opcodes: \
4992 configure-opcodes
4993 @[ -f ./opcodes/Makefile ] || exit 0; \
4994 r=`${PWD_COMMAND}`; export r; \
4995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4996 $(HOST_EXPORTS) \
4997 for flag in $(EXTRA_HOST_FLAGS) ; do \
4998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4999 done; \
5000 echo "Doing info in opcodes" ; \
5001 (cd $(HOST_SUBDIR)/opcodes && \
5002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5004 "RANLIB=$${RANLIB}" \
5005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5006 info) \
5007 || exit 1
5009 @endif opcodes
5011 .PHONY: maybe-dvi-opcodes dvi-opcodes
5012 maybe-dvi-opcodes:
5013 @if opcodes
5014 maybe-dvi-opcodes: dvi-opcodes
5016 dvi-opcodes: \
5017 configure-opcodes
5018 @[ -f ./opcodes/Makefile ] || exit 0; \
5019 r=`${PWD_COMMAND}`; export r; \
5020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5021 $(HOST_EXPORTS) \
5022 for flag in $(EXTRA_HOST_FLAGS) ; do \
5023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5024 done; \
5025 echo "Doing dvi in opcodes" ; \
5026 (cd $(HOST_SUBDIR)/opcodes && \
5027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5029 "RANLIB=$${RANLIB}" \
5030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5031 dvi) \
5032 || exit 1
5034 @endif opcodes
5036 .PHONY: maybe-html-opcodes html-opcodes
5037 maybe-html-opcodes:
5038 @if opcodes
5039 maybe-html-opcodes: html-opcodes
5041 html-opcodes: \
5042 configure-opcodes
5043 @[ -f ./opcodes/Makefile ] || exit 0; \
5044 r=`${PWD_COMMAND}`; export r; \
5045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5046 $(HOST_EXPORTS) \
5047 for flag in $(EXTRA_HOST_FLAGS) ; do \
5048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5049 done; \
5050 echo "Doing html in opcodes" ; \
5051 (cd $(HOST_SUBDIR)/opcodes && \
5052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5054 "RANLIB=$${RANLIB}" \
5055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5056 html) \
5057 || exit 1
5059 @endif opcodes
5061 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5062 maybe-TAGS-opcodes:
5063 @if opcodes
5064 maybe-TAGS-opcodes: TAGS-opcodes
5066 TAGS-opcodes: \
5067 configure-opcodes
5068 @[ -f ./opcodes/Makefile ] || exit 0; \
5069 r=`${PWD_COMMAND}`; export r; \
5070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5071 $(HOST_EXPORTS) \
5072 for flag in $(EXTRA_HOST_FLAGS) ; do \
5073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5074 done; \
5075 echo "Doing TAGS in opcodes" ; \
5076 (cd $(HOST_SUBDIR)/opcodes && \
5077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5079 "RANLIB=$${RANLIB}" \
5080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5081 TAGS) \
5082 || exit 1
5084 @endif opcodes
5086 .PHONY: maybe-install-info-opcodes install-info-opcodes
5087 maybe-install-info-opcodes:
5088 @if opcodes
5089 maybe-install-info-opcodes: install-info-opcodes
5091 install-info-opcodes: \
5092 configure-opcodes \
5093 info-opcodes
5094 @[ -f ./opcodes/Makefile ] || exit 0; \
5095 r=`${PWD_COMMAND}`; export r; \
5096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5097 $(HOST_EXPORTS) \
5098 for flag in $(EXTRA_HOST_FLAGS) ; do \
5099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5100 done; \
5101 echo "Doing install-info in opcodes" ; \
5102 (cd $(HOST_SUBDIR)/opcodes && \
5103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5105 "RANLIB=$${RANLIB}" \
5106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5107 install-info) \
5108 || exit 1
5110 @endif opcodes
5112 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5113 maybe-installcheck-opcodes:
5114 @if opcodes
5115 maybe-installcheck-opcodes: installcheck-opcodes
5117 installcheck-opcodes: \
5118 configure-opcodes
5119 @[ -f ./opcodes/Makefile ] || exit 0; \
5120 r=`${PWD_COMMAND}`; export r; \
5121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5122 $(HOST_EXPORTS) \
5123 for flag in $(EXTRA_HOST_FLAGS) ; do \
5124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5125 done; \
5126 echo "Doing installcheck in opcodes" ; \
5127 (cd $(HOST_SUBDIR)/opcodes && \
5128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5130 "RANLIB=$${RANLIB}" \
5131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5132 installcheck) \
5133 || exit 1
5135 @endif opcodes
5137 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5138 maybe-mostlyclean-opcodes:
5139 @if opcodes
5140 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5142 mostlyclean-opcodes:
5143 @[ -f ./opcodes/Makefile ] || exit 0; \
5144 r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146 $(HOST_EXPORTS) \
5147 for flag in $(EXTRA_HOST_FLAGS) ; do \
5148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5149 done; \
5150 echo "Doing mostlyclean in opcodes" ; \
5151 (cd $(HOST_SUBDIR)/opcodes && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5154 "RANLIB=$${RANLIB}" \
5155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5156 mostlyclean) \
5157 || exit 1
5159 @endif opcodes
5161 .PHONY: maybe-clean-opcodes clean-opcodes
5162 maybe-clean-opcodes:
5163 @if opcodes
5164 maybe-clean-opcodes: clean-opcodes
5166 clean-opcodes:
5167 @[ -f ./opcodes/Makefile ] || exit 0; \
5168 r=`${PWD_COMMAND}`; export r; \
5169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5170 $(HOST_EXPORTS) \
5171 for flag in $(EXTRA_HOST_FLAGS) ; do \
5172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5173 done; \
5174 echo "Doing clean in opcodes" ; \
5175 (cd $(HOST_SUBDIR)/opcodes && \
5176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5178 "RANLIB=$${RANLIB}" \
5179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5180 clean) \
5181 || exit 1
5183 @endif opcodes
5185 .PHONY: maybe-distclean-opcodes distclean-opcodes
5186 maybe-distclean-opcodes:
5187 @if opcodes
5188 maybe-distclean-opcodes: distclean-opcodes
5190 distclean-opcodes:
5191 @[ -f ./opcodes/Makefile ] || exit 0; \
5192 r=`${PWD_COMMAND}`; export r; \
5193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 $(HOST_EXPORTS) \
5195 for flag in $(EXTRA_HOST_FLAGS) ; do \
5196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5197 done; \
5198 echo "Doing distclean in opcodes" ; \
5199 (cd $(HOST_SUBDIR)/opcodes && \
5200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5202 "RANLIB=$${RANLIB}" \
5203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5204 distclean) \
5205 || exit 1
5207 @endif opcodes
5209 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5210 maybe-maintainer-clean-opcodes:
5211 @if opcodes
5212 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5214 maintainer-clean-opcodes:
5215 @[ -f ./opcodes/Makefile ] || exit 0; \
5216 r=`${PWD_COMMAND}`; export r; \
5217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5218 $(HOST_EXPORTS) \
5219 for flag in $(EXTRA_HOST_FLAGS) ; do \
5220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5221 done; \
5222 echo "Doing maintainer-clean in opcodes" ; \
5223 (cd $(HOST_SUBDIR)/opcodes && \
5224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5226 "RANLIB=$${RANLIB}" \
5227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5228 maintainer-clean) \
5229 || exit 1
5231 @endif opcodes
5235 .PHONY: configure-binutils maybe-configure-binutils
5236 maybe-configure-binutils:
5237 @if binutils
5238 maybe-configure-binutils: configure-binutils
5239 configure-binutils:
5240 @test -f stage_last && exit 0; \
5241 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5243 r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 echo Configuring in $(HOST_SUBDIR)/binutils; \
5247 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5248 case $(srcdir) in \
5249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5250 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5252 esac; \
5253 srcdiroption="--srcdir=$${topdir}/binutils"; \
5254 libsrcdir="$$s/binutils"; \
5255 $(SHELL) $${libsrcdir}/configure \
5256 $(HOST_CONFIGARGS) $${srcdiroption} \
5257 || exit 1
5258 @endif binutils
5262 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5263 maybe-configure-stage1-binutils:
5264 @if binutils-bootstrap
5265 maybe-configure-stage1-binutils: configure-stage1-binutils
5266 configure-stage1-binutils:
5267 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5268 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5269 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5270 $(HOST_EXPORTS) \
5271 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5273 cd $(HOST_SUBDIR)/binutils || exit 1; \
5274 case $(srcdir) in \
5275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5276 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5278 esac; \
5279 srcdiroption="--srcdir=$${topdir}/binutils"; \
5280 libsrcdir="$$s/binutils"; \
5281 $(SHELL) $${libsrcdir}/configure \
5282 $(HOST_CONFIGARGS) $${srcdiroption} \
5283 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5284 @endif binutils-bootstrap
5286 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5287 maybe-configure-stage2-binutils:
5288 @if binutils-bootstrap
5289 maybe-configure-stage2-binutils: configure-stage2-binutils
5290 configure-stage2-binutils:
5291 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5293 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5294 $(HOST_EXPORTS) \
5295 $(POSTSTAGE1_HOST_EXPORTS) \
5296 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5297 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5298 cd $(HOST_SUBDIR)/binutils || exit 1; \
5299 case $(srcdir) in \
5300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5301 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5303 esac; \
5304 srcdiroption="--srcdir=$${topdir}/binutils"; \
5305 libsrcdir="$$s/binutils"; \
5306 $(SHELL) $${libsrcdir}/configure \
5307 $(HOST_CONFIGARGS) $${srcdiroption} \
5308 @stage2_werror_flag@
5309 @endif binutils-bootstrap
5311 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5312 maybe-configure-stage3-binutils:
5313 @if binutils-bootstrap
5314 maybe-configure-stage3-binutils: configure-stage3-binutils
5315 configure-stage3-binutils:
5316 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5317 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5318 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5319 $(HOST_EXPORTS) \
5320 $(POSTSTAGE1_HOST_EXPORTS) \
5321 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5322 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5323 cd $(HOST_SUBDIR)/binutils || exit 1; \
5324 case $(srcdir) in \
5325 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5326 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5327 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5328 esac; \
5329 srcdiroption="--srcdir=$${topdir}/binutils"; \
5330 libsrcdir="$$s/binutils"; \
5331 $(SHELL) $${libsrcdir}/configure \
5332 $(HOST_CONFIGARGS) $${srcdiroption} \
5333 @stage2_werror_flag@
5334 @endif binutils-bootstrap
5336 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5337 maybe-configure-stage4-binutils:
5338 @if binutils-bootstrap
5339 maybe-configure-stage4-binutils: configure-stage4-binutils
5340 configure-stage4-binutils:
5341 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5342 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5343 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5344 $(HOST_EXPORTS) \
5345 $(POSTSTAGE1_HOST_EXPORTS) \
5346 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5348 cd $(HOST_SUBDIR)/binutils || exit 1; \
5349 case $(srcdir) in \
5350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5351 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5353 esac; \
5354 srcdiroption="--srcdir=$${topdir}/binutils"; \
5355 libsrcdir="$$s/binutils"; \
5356 $(SHELL) $${libsrcdir}/configure \
5357 $(HOST_CONFIGARGS) $${srcdiroption} \
5358 @stage2_werror_flag@
5359 @endif binutils-bootstrap
5361 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5362 maybe-configure-stageprofile-binutils:
5363 @if binutils-bootstrap
5364 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5365 configure-stageprofile-binutils:
5366 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5368 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5369 $(HOST_EXPORTS) \
5370 $(POSTSTAGE1_HOST_EXPORTS) \
5371 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5373 cd $(HOST_SUBDIR)/binutils || exit 1; \
5374 case $(srcdir) in \
5375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5376 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5378 esac; \
5379 srcdiroption="--srcdir=$${topdir}/binutils"; \
5380 libsrcdir="$$s/binutils"; \
5381 $(SHELL) $${libsrcdir}/configure \
5382 $(HOST_CONFIGARGS) $${srcdiroption} \
5383 @stage2_werror_flag@
5384 @endif binutils-bootstrap
5386 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5387 maybe-configure-stagefeedback-binutils:
5388 @if binutils-bootstrap
5389 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5390 configure-stagefeedback-binutils:
5391 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5393 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5394 $(HOST_EXPORTS) \
5395 $(POSTSTAGE1_HOST_EXPORTS) \
5396 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5398 cd $(HOST_SUBDIR)/binutils || exit 1; \
5399 case $(srcdir) in \
5400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5401 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5403 esac; \
5404 srcdiroption="--srcdir=$${topdir}/binutils"; \
5405 libsrcdir="$$s/binutils"; \
5406 $(SHELL) $${libsrcdir}/configure \
5407 $(HOST_CONFIGARGS) $${srcdiroption} \
5408 @stage2_werror_flag@
5409 @endif binutils-bootstrap
5415 .PHONY: all-binutils maybe-all-binutils
5416 maybe-all-binutils:
5417 @if binutils
5418 TARGET-binutils=all
5419 maybe-all-binutils: all-binutils
5420 all-binutils: configure-binutils
5421 @test -f stage_last && exit 0; \
5422 r=`${PWD_COMMAND}`; export r; \
5423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5424 $(HOST_EXPORTS) \
5425 (cd $(HOST_SUBDIR)/binutils && \
5426 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5427 @endif binutils
5431 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5432 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5433 maybe-all-stage1-binutils:
5434 maybe-clean-stage1-binutils:
5435 @if binutils-bootstrap
5436 maybe-all-stage1-binutils: all-stage1-binutils
5437 all-stage1: all-stage1-binutils
5438 TARGET-stage1-binutils = $(TARGET-binutils)
5439 all-stage1-binutils: configure-stage1-binutils
5440 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5441 @r=`${PWD_COMMAND}`; export r; \
5442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5443 $(HOST_EXPORTS) \
5444 cd $(HOST_SUBDIR)/binutils && \
5445 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5446 $(TARGET-stage1-binutils)
5448 maybe-clean-stage1-binutils: clean-stage1-binutils
5449 clean-stage1: clean-stage1-binutils
5450 clean-stage1-binutils:
5451 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5452 || exit 0 ; \
5453 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5454 cd $(HOST_SUBDIR)/binutils && \
5455 $(MAKE) $(FLAGS_TO_PASS) \
5456 CFLAGS="$(STAGE1_CFLAGS)" clean
5457 @endif binutils-bootstrap
5460 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5461 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5462 maybe-all-stage2-binutils:
5463 maybe-clean-stage2-binutils:
5464 @if binutils-bootstrap
5465 maybe-all-stage2-binutils: all-stage2-binutils
5466 all-stage2: all-stage2-binutils
5467 TARGET-stage2-binutils = $(TARGET-binutils)
5468 all-stage2-binutils: configure-stage2-binutils
5469 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5470 @r=`${PWD_COMMAND}`; export r; \
5471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5472 $(HOST_EXPORTS) \
5473 $(POSTSTAGE1_HOST_EXPORTS) \
5474 cd $(HOST_SUBDIR)/binutils && \
5475 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5476 $(TARGET-stage2-binutils)
5478 maybe-clean-stage2-binutils: clean-stage2-binutils
5479 clean-stage2: clean-stage2-binutils
5480 clean-stage2-binutils:
5481 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5482 || exit 0 ; \
5483 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5484 cd $(HOST_SUBDIR)/binutils && \
5485 $(MAKE) $(FLAGS_TO_PASS) \
5486 $(POSTSTAGE1_FLAGS_TO_PASS) \
5487 clean
5488 @endif binutils-bootstrap
5491 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5492 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5493 maybe-all-stage3-binutils:
5494 maybe-clean-stage3-binutils:
5495 @if binutils-bootstrap
5496 maybe-all-stage3-binutils: all-stage3-binutils
5497 all-stage3: all-stage3-binutils
5498 TARGET-stage3-binutils = $(TARGET-binutils)
5499 all-stage3-binutils: configure-stage3-binutils
5500 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5501 @r=`${PWD_COMMAND}`; export r; \
5502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5503 $(HOST_EXPORTS) \
5504 $(POSTSTAGE1_HOST_EXPORTS) \
5505 cd $(HOST_SUBDIR)/binutils && \
5506 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5507 $(TARGET-stage3-binutils)
5509 maybe-clean-stage3-binutils: clean-stage3-binutils
5510 clean-stage3: clean-stage3-binutils
5511 clean-stage3-binutils:
5512 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5513 || exit 0 ; \
5514 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5515 cd $(HOST_SUBDIR)/binutils && \
5516 $(MAKE) $(FLAGS_TO_PASS) \
5517 $(POSTSTAGE1_FLAGS_TO_PASS) \
5518 clean
5519 @endif binutils-bootstrap
5522 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5523 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5524 maybe-all-stage4-binutils:
5525 maybe-clean-stage4-binutils:
5526 @if binutils-bootstrap
5527 maybe-all-stage4-binutils: all-stage4-binutils
5528 all-stage4: all-stage4-binutils
5529 TARGET-stage4-binutils = $(TARGET-binutils)
5530 all-stage4-binutils: configure-stage4-binutils
5531 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5532 @r=`${PWD_COMMAND}`; export r; \
5533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5534 $(HOST_EXPORTS) \
5535 $(POSTSTAGE1_HOST_EXPORTS) \
5536 cd $(HOST_SUBDIR)/binutils && \
5537 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5538 $(TARGET-stage4-binutils)
5540 maybe-clean-stage4-binutils: clean-stage4-binutils
5541 clean-stage4: clean-stage4-binutils
5542 clean-stage4-binutils:
5543 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5544 || exit 0 ; \
5545 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5546 cd $(HOST_SUBDIR)/binutils && \
5547 $(MAKE) $(FLAGS_TO_PASS) \
5548 $(POSTSTAGE1_FLAGS_TO_PASS) \
5549 clean
5550 @endif binutils-bootstrap
5553 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5554 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5555 maybe-all-stageprofile-binutils:
5556 maybe-clean-stageprofile-binutils:
5557 @if binutils-bootstrap
5558 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5559 all-stageprofile: all-stageprofile-binutils
5560 TARGET-stageprofile-binutils = $(TARGET-binutils)
5561 all-stageprofile-binutils: configure-stageprofile-binutils
5562 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5563 @r=`${PWD_COMMAND}`; export r; \
5564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5565 $(HOST_EXPORTS) \
5566 $(POSTSTAGE1_HOST_EXPORTS) \
5567 cd $(HOST_SUBDIR)/binutils && \
5568 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5569 $(TARGET-stageprofile-binutils)
5571 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5572 clean-stageprofile: clean-stageprofile-binutils
5573 clean-stageprofile-binutils:
5574 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5575 || exit 0 ; \
5576 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5577 cd $(HOST_SUBDIR)/binutils && \
5578 $(MAKE) $(FLAGS_TO_PASS) \
5579 $(POSTSTAGE1_FLAGS_TO_PASS) \
5580 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5581 @endif binutils-bootstrap
5584 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5585 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5586 maybe-all-stagefeedback-binutils:
5587 maybe-clean-stagefeedback-binutils:
5588 @if binutils-bootstrap
5589 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5590 all-stagefeedback: all-stagefeedback-binutils
5591 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5592 all-stagefeedback-binutils: configure-stagefeedback-binutils
5593 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5594 @r=`${PWD_COMMAND}`; export r; \
5595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5596 $(HOST_EXPORTS) \
5597 $(POSTSTAGE1_HOST_EXPORTS) \
5598 cd $(HOST_SUBDIR)/binutils && \
5599 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5600 $(TARGET-stagefeedback-binutils)
5602 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5603 clean-stagefeedback: clean-stagefeedback-binutils
5604 clean-stagefeedback-binutils:
5605 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5606 || exit 0 ; \
5607 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5608 cd $(HOST_SUBDIR)/binutils && \
5609 $(MAKE) $(FLAGS_TO_PASS) \
5610 $(POSTSTAGE1_FLAGS_TO_PASS) \
5611 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5612 @endif binutils-bootstrap
5618 .PHONY: check-binutils maybe-check-binutils
5619 maybe-check-binutils:
5620 @if binutils
5621 maybe-check-binutils: check-binutils
5623 check-binutils:
5624 @: $(MAKE); $(unstage)
5625 @r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5627 $(HOST_EXPORTS) \
5628 (cd $(HOST_SUBDIR)/binutils && \
5629 $(MAKE) $(FLAGS_TO_PASS) check)
5631 @endif binutils
5633 .PHONY: install-binutils maybe-install-binutils
5634 maybe-install-binutils:
5635 @if binutils
5636 maybe-install-binutils: install-binutils
5638 install-binutils: installdirs
5639 @: $(MAKE); $(unstage)
5640 @r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 $(HOST_EXPORTS) \
5643 (cd $(HOST_SUBDIR)/binutils && \
5644 $(MAKE) $(FLAGS_TO_PASS) install)
5646 @endif binutils
5648 # Other targets (info, dvi, etc.)
5650 .PHONY: maybe-info-binutils info-binutils
5651 maybe-info-binutils:
5652 @if binutils
5653 maybe-info-binutils: info-binutils
5655 info-binutils: \
5656 configure-binutils
5657 @[ -f ./binutils/Makefile ] || exit 0; \
5658 r=`${PWD_COMMAND}`; export r; \
5659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5660 $(HOST_EXPORTS) \
5661 for flag in $(EXTRA_HOST_FLAGS) ; do \
5662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5663 done; \
5664 echo "Doing info in binutils" ; \
5665 (cd $(HOST_SUBDIR)/binutils && \
5666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5668 "RANLIB=$${RANLIB}" \
5669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5670 info) \
5671 || exit 1
5673 @endif binutils
5675 .PHONY: maybe-dvi-binutils dvi-binutils
5676 maybe-dvi-binutils:
5677 @if binutils
5678 maybe-dvi-binutils: dvi-binutils
5680 dvi-binutils: \
5681 configure-binutils
5682 @[ -f ./binutils/Makefile ] || exit 0; \
5683 r=`${PWD_COMMAND}`; export r; \
5684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5685 $(HOST_EXPORTS) \
5686 for flag in $(EXTRA_HOST_FLAGS) ; do \
5687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5688 done; \
5689 echo "Doing dvi in binutils" ; \
5690 (cd $(HOST_SUBDIR)/binutils && \
5691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5693 "RANLIB=$${RANLIB}" \
5694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5695 dvi) \
5696 || exit 1
5698 @endif binutils
5700 .PHONY: maybe-html-binutils html-binutils
5701 maybe-html-binutils:
5702 @if binutils
5703 maybe-html-binutils: html-binutils
5705 html-binutils: \
5706 configure-binutils
5707 @[ -f ./binutils/Makefile ] || exit 0; \
5708 r=`${PWD_COMMAND}`; export r; \
5709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5710 $(HOST_EXPORTS) \
5711 for flag in $(EXTRA_HOST_FLAGS) ; do \
5712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5713 done; \
5714 echo "Doing html in binutils" ; \
5715 (cd $(HOST_SUBDIR)/binutils && \
5716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5718 "RANLIB=$${RANLIB}" \
5719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5720 html) \
5721 || exit 1
5723 @endif binutils
5725 .PHONY: maybe-TAGS-binutils TAGS-binutils
5726 maybe-TAGS-binutils:
5727 @if binutils
5728 maybe-TAGS-binutils: TAGS-binutils
5730 TAGS-binutils: \
5731 configure-binutils
5732 @[ -f ./binutils/Makefile ] || exit 0; \
5733 r=`${PWD_COMMAND}`; export r; \
5734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5735 $(HOST_EXPORTS) \
5736 for flag in $(EXTRA_HOST_FLAGS) ; do \
5737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 done; \
5739 echo "Doing TAGS in binutils" ; \
5740 (cd $(HOST_SUBDIR)/binutils && \
5741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5743 "RANLIB=$${RANLIB}" \
5744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5745 TAGS) \
5746 || exit 1
5748 @endif binutils
5750 .PHONY: maybe-install-info-binutils install-info-binutils
5751 maybe-install-info-binutils:
5752 @if binutils
5753 maybe-install-info-binutils: install-info-binutils
5755 install-info-binutils: \
5756 configure-binutils \
5757 info-binutils
5758 @[ -f ./binutils/Makefile ] || exit 0; \
5759 r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 $(HOST_EXPORTS) \
5762 for flag in $(EXTRA_HOST_FLAGS) ; do \
5763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5764 done; \
5765 echo "Doing install-info in binutils" ; \
5766 (cd $(HOST_SUBDIR)/binutils && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5769 "RANLIB=$${RANLIB}" \
5770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5771 install-info) \
5772 || exit 1
5774 @endif binutils
5776 .PHONY: maybe-installcheck-binutils installcheck-binutils
5777 maybe-installcheck-binutils:
5778 @if binutils
5779 maybe-installcheck-binutils: installcheck-binutils
5781 installcheck-binutils: \
5782 configure-binutils
5783 @[ -f ./binutils/Makefile ] || exit 0; \
5784 r=`${PWD_COMMAND}`; export r; \
5785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5786 $(HOST_EXPORTS) \
5787 for flag in $(EXTRA_HOST_FLAGS) ; do \
5788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5789 done; \
5790 echo "Doing installcheck in binutils" ; \
5791 (cd $(HOST_SUBDIR)/binutils && \
5792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5794 "RANLIB=$${RANLIB}" \
5795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5796 installcheck) \
5797 || exit 1
5799 @endif binutils
5801 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5802 maybe-mostlyclean-binutils:
5803 @if binutils
5804 maybe-mostlyclean-binutils: mostlyclean-binutils
5806 mostlyclean-binutils:
5807 @[ -f ./binutils/Makefile ] || exit 0; \
5808 r=`${PWD_COMMAND}`; export r; \
5809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5810 $(HOST_EXPORTS) \
5811 for flag in $(EXTRA_HOST_FLAGS) ; do \
5812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5813 done; \
5814 echo "Doing mostlyclean in binutils" ; \
5815 (cd $(HOST_SUBDIR)/binutils && \
5816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5818 "RANLIB=$${RANLIB}" \
5819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5820 mostlyclean) \
5821 || exit 1
5823 @endif binutils
5825 .PHONY: maybe-clean-binutils clean-binutils
5826 maybe-clean-binutils:
5827 @if binutils
5828 maybe-clean-binutils: clean-binutils
5830 clean-binutils:
5831 @[ -f ./binutils/Makefile ] || exit 0; \
5832 r=`${PWD_COMMAND}`; export r; \
5833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5834 $(HOST_EXPORTS) \
5835 for flag in $(EXTRA_HOST_FLAGS) ; do \
5836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5837 done; \
5838 echo "Doing clean in binutils" ; \
5839 (cd $(HOST_SUBDIR)/binutils && \
5840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5842 "RANLIB=$${RANLIB}" \
5843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5844 clean) \
5845 || exit 1
5847 @endif binutils
5849 .PHONY: maybe-distclean-binutils distclean-binutils
5850 maybe-distclean-binutils:
5851 @if binutils
5852 maybe-distclean-binutils: distclean-binutils
5854 distclean-binutils:
5855 @[ -f ./binutils/Makefile ] || exit 0; \
5856 r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(HOST_EXPORTS) \
5859 for flag in $(EXTRA_HOST_FLAGS) ; do \
5860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5861 done; \
5862 echo "Doing distclean in binutils" ; \
5863 (cd $(HOST_SUBDIR)/binutils && \
5864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5866 "RANLIB=$${RANLIB}" \
5867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5868 distclean) \
5869 || exit 1
5871 @endif binutils
5873 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5874 maybe-maintainer-clean-binutils:
5875 @if binutils
5876 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5878 maintainer-clean-binutils:
5879 @[ -f ./binutils/Makefile ] || exit 0; \
5880 r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 $(HOST_EXPORTS) \
5883 for flag in $(EXTRA_HOST_FLAGS) ; do \
5884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5885 done; \
5886 echo "Doing maintainer-clean in binutils" ; \
5887 (cd $(HOST_SUBDIR)/binutils && \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5890 "RANLIB=$${RANLIB}" \
5891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5892 maintainer-clean) \
5893 || exit 1
5895 @endif binutils
5899 .PHONY: configure-bison maybe-configure-bison
5900 maybe-configure-bison:
5901 @if bison
5902 maybe-configure-bison: configure-bison
5903 configure-bison:
5904 @: $(MAKE); $(unstage)
5905 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5907 r=`${PWD_COMMAND}`; export r; \
5908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5909 $(HOST_EXPORTS) \
5910 echo Configuring in $(HOST_SUBDIR)/bison; \
5911 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5912 case $(srcdir) in \
5913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5914 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5916 esac; \
5917 srcdiroption="--srcdir=$${topdir}/bison"; \
5918 libsrcdir="$$s/bison"; \
5919 $(SHELL) $${libsrcdir}/configure \
5920 $(HOST_CONFIGARGS) $${srcdiroption} \
5921 || exit 1
5922 @endif bison
5928 .PHONY: all-bison maybe-all-bison
5929 maybe-all-bison:
5930 @if bison
5931 TARGET-bison=all
5932 maybe-all-bison: all-bison
5933 all-bison: configure-bison
5934 @: $(MAKE); $(unstage)
5935 @r=`${PWD_COMMAND}`; export r; \
5936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5937 $(HOST_EXPORTS) \
5938 (cd $(HOST_SUBDIR)/bison && \
5939 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5940 @endif bison
5945 .PHONY: check-bison maybe-check-bison
5946 maybe-check-bison:
5947 @if bison
5948 maybe-check-bison: check-bison
5950 # This module is only tested in a native toolchain.
5951 check-bison:
5952 @: $(MAKE); $(unstage)
5953 @if [ '$(host)' = '$(target)' ] ; then \
5954 r=`${PWD_COMMAND}`; export r; \
5955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5956 $(HOST_EXPORTS) \
5957 (cd $(HOST_SUBDIR)/bison && \
5958 $(MAKE) $(FLAGS_TO_PASS) check); \
5961 @endif bison
5963 .PHONY: install-bison maybe-install-bison
5964 maybe-install-bison:
5965 @if bison
5966 maybe-install-bison: install-bison
5968 install-bison: installdirs
5969 @: $(MAKE); $(unstage)
5970 @r=`${PWD_COMMAND}`; export r; \
5971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5972 $(HOST_EXPORTS) \
5973 (cd $(HOST_SUBDIR)/bison && \
5974 $(MAKE) $(FLAGS_TO_PASS) install)
5976 @endif bison
5978 # Other targets (info, dvi, etc.)
5980 .PHONY: maybe-info-bison info-bison
5981 maybe-info-bison:
5982 @if bison
5983 maybe-info-bison: info-bison
5985 info-bison: \
5986 configure-bison
5987 @: $(MAKE); $(unstage)
5988 @[ -f ./bison/Makefile ] || exit 0; \
5989 r=`${PWD_COMMAND}`; export r; \
5990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5991 $(HOST_EXPORTS) \
5992 for flag in $(EXTRA_HOST_FLAGS) ; do \
5993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5994 done; \
5995 echo "Doing info in bison" ; \
5996 (cd $(HOST_SUBDIR)/bison && \
5997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5999 "RANLIB=$${RANLIB}" \
6000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6001 info) \
6002 || exit 1
6004 @endif bison
6006 .PHONY: maybe-dvi-bison dvi-bison
6007 maybe-dvi-bison:
6008 @if bison
6009 maybe-dvi-bison: dvi-bison
6011 dvi-bison: \
6012 configure-bison
6013 @: $(MAKE); $(unstage)
6014 @[ -f ./bison/Makefile ] || exit 0; \
6015 r=`${PWD_COMMAND}`; export r; \
6016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6017 $(HOST_EXPORTS) \
6018 for flag in $(EXTRA_HOST_FLAGS) ; do \
6019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6020 done; \
6021 echo "Doing dvi in bison" ; \
6022 (cd $(HOST_SUBDIR)/bison && \
6023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6025 "RANLIB=$${RANLIB}" \
6026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6027 dvi) \
6028 || exit 1
6030 @endif bison
6032 .PHONY: maybe-html-bison html-bison
6033 maybe-html-bison:
6034 @if bison
6035 maybe-html-bison: html-bison
6037 html-bison: \
6038 configure-bison
6039 @: $(MAKE); $(unstage)
6040 @[ -f ./bison/Makefile ] || exit 0; \
6041 r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043 $(HOST_EXPORTS) \
6044 for flag in $(EXTRA_HOST_FLAGS) ; do \
6045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6046 done; \
6047 echo "Doing html in bison" ; \
6048 (cd $(HOST_SUBDIR)/bison && \
6049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6051 "RANLIB=$${RANLIB}" \
6052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6053 html) \
6054 || exit 1
6056 @endif bison
6058 .PHONY: maybe-TAGS-bison TAGS-bison
6059 maybe-TAGS-bison:
6060 @if bison
6061 maybe-TAGS-bison: TAGS-bison
6063 TAGS-bison: \
6064 configure-bison
6065 @: $(MAKE); $(unstage)
6066 @[ -f ./bison/Makefile ] || exit 0; \
6067 r=`${PWD_COMMAND}`; export r; \
6068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069 $(HOST_EXPORTS) \
6070 for flag in $(EXTRA_HOST_FLAGS) ; do \
6071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6072 done; \
6073 echo "Doing TAGS in bison" ; \
6074 (cd $(HOST_SUBDIR)/bison && \
6075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6077 "RANLIB=$${RANLIB}" \
6078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6079 TAGS) \
6080 || exit 1
6082 @endif bison
6084 .PHONY: maybe-install-info-bison install-info-bison
6085 maybe-install-info-bison:
6086 @if bison
6087 maybe-install-info-bison: install-info-bison
6089 install-info-bison: \
6090 configure-bison \
6091 info-bison
6092 @: $(MAKE); $(unstage)
6093 @[ -f ./bison/Makefile ] || exit 0; \
6094 r=`${PWD_COMMAND}`; export r; \
6095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6096 $(HOST_EXPORTS) \
6097 for flag in $(EXTRA_HOST_FLAGS) ; do \
6098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6099 done; \
6100 echo "Doing install-info in bison" ; \
6101 (cd $(HOST_SUBDIR)/bison && \
6102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6104 "RANLIB=$${RANLIB}" \
6105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6106 install-info) \
6107 || exit 1
6109 @endif bison
6111 .PHONY: maybe-installcheck-bison installcheck-bison
6112 maybe-installcheck-bison:
6113 @if bison
6114 maybe-installcheck-bison: installcheck-bison
6116 installcheck-bison: \
6117 configure-bison
6118 @: $(MAKE); $(unstage)
6119 @[ -f ./bison/Makefile ] || exit 0; \
6120 r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6122 $(HOST_EXPORTS) \
6123 for flag in $(EXTRA_HOST_FLAGS) ; do \
6124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6125 done; \
6126 echo "Doing installcheck in bison" ; \
6127 (cd $(HOST_SUBDIR)/bison && \
6128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6130 "RANLIB=$${RANLIB}" \
6131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6132 installcheck) \
6133 || exit 1
6135 @endif bison
6137 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6138 maybe-mostlyclean-bison:
6139 @if bison
6140 maybe-mostlyclean-bison: mostlyclean-bison
6142 mostlyclean-bison:
6143 @: $(MAKE); $(unstage)
6144 @[ -f ./bison/Makefile ] || exit 0; \
6145 r=`${PWD_COMMAND}`; export r; \
6146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6147 $(HOST_EXPORTS) \
6148 for flag in $(EXTRA_HOST_FLAGS) ; do \
6149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6150 done; \
6151 echo "Doing mostlyclean in bison" ; \
6152 (cd $(HOST_SUBDIR)/bison && \
6153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6155 "RANLIB=$${RANLIB}" \
6156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6157 mostlyclean) \
6158 || exit 1
6160 @endif bison
6162 .PHONY: maybe-clean-bison clean-bison
6163 maybe-clean-bison:
6164 @if bison
6165 maybe-clean-bison: clean-bison
6167 clean-bison:
6168 @: $(MAKE); $(unstage)
6169 @[ -f ./bison/Makefile ] || exit 0; \
6170 r=`${PWD_COMMAND}`; export r; \
6171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6172 $(HOST_EXPORTS) \
6173 for flag in $(EXTRA_HOST_FLAGS) ; do \
6174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6175 done; \
6176 echo "Doing clean in bison" ; \
6177 (cd $(HOST_SUBDIR)/bison && \
6178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6180 "RANLIB=$${RANLIB}" \
6181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6182 clean) \
6183 || exit 1
6185 @endif bison
6187 .PHONY: maybe-distclean-bison distclean-bison
6188 maybe-distclean-bison:
6189 @if bison
6190 maybe-distclean-bison: distclean-bison
6192 distclean-bison:
6193 @: $(MAKE); $(unstage)
6194 @[ -f ./bison/Makefile ] || exit 0; \
6195 r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 $(HOST_EXPORTS) \
6198 for flag in $(EXTRA_HOST_FLAGS) ; do \
6199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6200 done; \
6201 echo "Doing distclean in bison" ; \
6202 (cd $(HOST_SUBDIR)/bison && \
6203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6205 "RANLIB=$${RANLIB}" \
6206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6207 distclean) \
6208 || exit 1
6210 @endif bison
6212 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6213 maybe-maintainer-clean-bison:
6214 @if bison
6215 maybe-maintainer-clean-bison: maintainer-clean-bison
6217 maintainer-clean-bison:
6218 @: $(MAKE); $(unstage)
6219 @[ -f ./bison/Makefile ] || exit 0; \
6220 r=`${PWD_COMMAND}`; export r; \
6221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6222 $(HOST_EXPORTS) \
6223 for flag in $(EXTRA_HOST_FLAGS) ; do \
6224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6225 done; \
6226 echo "Doing maintainer-clean in bison" ; \
6227 (cd $(HOST_SUBDIR)/bison && \
6228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6230 "RANLIB=$${RANLIB}" \
6231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6232 maintainer-clean) \
6233 || exit 1
6235 @endif bison
6239 .PHONY: configure-byacc maybe-configure-byacc
6240 maybe-configure-byacc:
6241 @if byacc
6242 maybe-configure-byacc: configure-byacc
6243 configure-byacc:
6244 @: $(MAKE); $(unstage)
6245 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6246 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6247 r=`${PWD_COMMAND}`; export r; \
6248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6249 $(HOST_EXPORTS) \
6250 echo Configuring in $(HOST_SUBDIR)/byacc; \
6251 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6252 case $(srcdir) in \
6253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6254 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6256 esac; \
6257 srcdiroption="--srcdir=$${topdir}/byacc"; \
6258 libsrcdir="$$s/byacc"; \
6259 $(SHELL) $${libsrcdir}/configure \
6260 $(HOST_CONFIGARGS) $${srcdiroption} \
6261 || exit 1
6262 @endif byacc
6268 .PHONY: all-byacc maybe-all-byacc
6269 maybe-all-byacc:
6270 @if byacc
6271 TARGET-byacc=all
6272 maybe-all-byacc: all-byacc
6273 all-byacc: configure-byacc
6274 @: $(MAKE); $(unstage)
6275 @r=`${PWD_COMMAND}`; export r; \
6276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6277 $(HOST_EXPORTS) \
6278 (cd $(HOST_SUBDIR)/byacc && \
6279 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6280 @endif byacc
6285 .PHONY: check-byacc maybe-check-byacc
6286 maybe-check-byacc:
6287 @if byacc
6288 maybe-check-byacc: check-byacc
6290 # This module is only tested in a native toolchain.
6291 check-byacc:
6292 @: $(MAKE); $(unstage)
6293 @if [ '$(host)' = '$(target)' ] ; then \
6294 r=`${PWD_COMMAND}`; export r; \
6295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6296 $(HOST_EXPORTS) \
6297 (cd $(HOST_SUBDIR)/byacc && \
6298 $(MAKE) $(FLAGS_TO_PASS) check); \
6301 @endif byacc
6303 .PHONY: install-byacc maybe-install-byacc
6304 maybe-install-byacc:
6305 @if byacc
6306 maybe-install-byacc: install-byacc
6308 install-byacc: installdirs
6309 @: $(MAKE); $(unstage)
6310 @r=`${PWD_COMMAND}`; export r; \
6311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6312 $(HOST_EXPORTS) \
6313 (cd $(HOST_SUBDIR)/byacc && \
6314 $(MAKE) $(FLAGS_TO_PASS) install)
6316 @endif byacc
6318 # Other targets (info, dvi, etc.)
6320 .PHONY: maybe-info-byacc info-byacc
6321 maybe-info-byacc:
6322 @if byacc
6323 maybe-info-byacc: info-byacc
6325 info-byacc: \
6326 configure-byacc
6327 @: $(MAKE); $(unstage)
6328 @[ -f ./byacc/Makefile ] || exit 0; \
6329 r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(HOST_EXPORTS) \
6332 for flag in $(EXTRA_HOST_FLAGS) ; do \
6333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6334 done; \
6335 echo "Doing info in byacc" ; \
6336 (cd $(HOST_SUBDIR)/byacc && \
6337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6339 "RANLIB=$${RANLIB}" \
6340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6341 info) \
6342 || exit 1
6344 @endif byacc
6346 .PHONY: maybe-dvi-byacc dvi-byacc
6347 maybe-dvi-byacc:
6348 @if byacc
6349 maybe-dvi-byacc: dvi-byacc
6351 dvi-byacc: \
6352 configure-byacc
6353 @: $(MAKE); $(unstage)
6354 @[ -f ./byacc/Makefile ] || exit 0; \
6355 r=`${PWD_COMMAND}`; export r; \
6356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6357 $(HOST_EXPORTS) \
6358 for flag in $(EXTRA_HOST_FLAGS) ; do \
6359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6360 done; \
6361 echo "Doing dvi in byacc" ; \
6362 (cd $(HOST_SUBDIR)/byacc && \
6363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6365 "RANLIB=$${RANLIB}" \
6366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6367 dvi) \
6368 || exit 1
6370 @endif byacc
6372 .PHONY: maybe-html-byacc html-byacc
6373 maybe-html-byacc:
6374 @if byacc
6375 maybe-html-byacc: html-byacc
6377 html-byacc: \
6378 configure-byacc
6379 @: $(MAKE); $(unstage)
6380 @[ -f ./byacc/Makefile ] || exit 0; \
6381 r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(HOST_EXPORTS) \
6384 for flag in $(EXTRA_HOST_FLAGS) ; do \
6385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6386 done; \
6387 echo "Doing html in byacc" ; \
6388 (cd $(HOST_SUBDIR)/byacc && \
6389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6391 "RANLIB=$${RANLIB}" \
6392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6393 html) \
6394 || exit 1
6396 @endif byacc
6398 .PHONY: maybe-TAGS-byacc TAGS-byacc
6399 maybe-TAGS-byacc:
6400 @if byacc
6401 maybe-TAGS-byacc: TAGS-byacc
6403 TAGS-byacc: \
6404 configure-byacc
6405 @: $(MAKE); $(unstage)
6406 @[ -f ./byacc/Makefile ] || exit 0; \
6407 r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 $(HOST_EXPORTS) \
6410 for flag in $(EXTRA_HOST_FLAGS) ; do \
6411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6412 done; \
6413 echo "Doing TAGS in byacc" ; \
6414 (cd $(HOST_SUBDIR)/byacc && \
6415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6417 "RANLIB=$${RANLIB}" \
6418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6419 TAGS) \
6420 || exit 1
6422 @endif byacc
6424 .PHONY: maybe-install-info-byacc install-info-byacc
6425 maybe-install-info-byacc:
6426 @if byacc
6427 maybe-install-info-byacc: install-info-byacc
6429 install-info-byacc: \
6430 configure-byacc \
6431 info-byacc
6432 @: $(MAKE); $(unstage)
6433 @[ -f ./byacc/Makefile ] || exit 0; \
6434 r=`${PWD_COMMAND}`; export r; \
6435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6436 $(HOST_EXPORTS) \
6437 for flag in $(EXTRA_HOST_FLAGS) ; do \
6438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6439 done; \
6440 echo "Doing install-info in byacc" ; \
6441 (cd $(HOST_SUBDIR)/byacc && \
6442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6444 "RANLIB=$${RANLIB}" \
6445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6446 install-info) \
6447 || exit 1
6449 @endif byacc
6451 .PHONY: maybe-installcheck-byacc installcheck-byacc
6452 maybe-installcheck-byacc:
6453 @if byacc
6454 maybe-installcheck-byacc: installcheck-byacc
6456 installcheck-byacc: \
6457 configure-byacc
6458 @: $(MAKE); $(unstage)
6459 @[ -f ./byacc/Makefile ] || exit 0; \
6460 r=`${PWD_COMMAND}`; export r; \
6461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6462 $(HOST_EXPORTS) \
6463 for flag in $(EXTRA_HOST_FLAGS) ; do \
6464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6465 done; \
6466 echo "Doing installcheck in byacc" ; \
6467 (cd $(HOST_SUBDIR)/byacc && \
6468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6470 "RANLIB=$${RANLIB}" \
6471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6472 installcheck) \
6473 || exit 1
6475 @endif byacc
6477 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6478 maybe-mostlyclean-byacc:
6479 @if byacc
6480 maybe-mostlyclean-byacc: mostlyclean-byacc
6482 mostlyclean-byacc:
6483 @: $(MAKE); $(unstage)
6484 @[ -f ./byacc/Makefile ] || exit 0; \
6485 r=`${PWD_COMMAND}`; export r; \
6486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6487 $(HOST_EXPORTS) \
6488 for flag in $(EXTRA_HOST_FLAGS) ; do \
6489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6490 done; \
6491 echo "Doing mostlyclean in byacc" ; \
6492 (cd $(HOST_SUBDIR)/byacc && \
6493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6495 "RANLIB=$${RANLIB}" \
6496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6497 mostlyclean) \
6498 || exit 1
6500 @endif byacc
6502 .PHONY: maybe-clean-byacc clean-byacc
6503 maybe-clean-byacc:
6504 @if byacc
6505 maybe-clean-byacc: clean-byacc
6507 clean-byacc:
6508 @: $(MAKE); $(unstage)
6509 @[ -f ./byacc/Makefile ] || exit 0; \
6510 r=`${PWD_COMMAND}`; export r; \
6511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6512 $(HOST_EXPORTS) \
6513 for flag in $(EXTRA_HOST_FLAGS) ; do \
6514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6515 done; \
6516 echo "Doing clean in byacc" ; \
6517 (cd $(HOST_SUBDIR)/byacc && \
6518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6520 "RANLIB=$${RANLIB}" \
6521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6522 clean) \
6523 || exit 1
6525 @endif byacc
6527 .PHONY: maybe-distclean-byacc distclean-byacc
6528 maybe-distclean-byacc:
6529 @if byacc
6530 maybe-distclean-byacc: distclean-byacc
6532 distclean-byacc:
6533 @: $(MAKE); $(unstage)
6534 @[ -f ./byacc/Makefile ] || exit 0; \
6535 r=`${PWD_COMMAND}`; export r; \
6536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6537 $(HOST_EXPORTS) \
6538 for flag in $(EXTRA_HOST_FLAGS) ; do \
6539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6540 done; \
6541 echo "Doing distclean in byacc" ; \
6542 (cd $(HOST_SUBDIR)/byacc && \
6543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6545 "RANLIB=$${RANLIB}" \
6546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6547 distclean) \
6548 || exit 1
6550 @endif byacc
6552 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6553 maybe-maintainer-clean-byacc:
6554 @if byacc
6555 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6557 maintainer-clean-byacc:
6558 @: $(MAKE); $(unstage)
6559 @[ -f ./byacc/Makefile ] || exit 0; \
6560 r=`${PWD_COMMAND}`; export r; \
6561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6562 $(HOST_EXPORTS) \
6563 for flag in $(EXTRA_HOST_FLAGS) ; do \
6564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6565 done; \
6566 echo "Doing maintainer-clean in byacc" ; \
6567 (cd $(HOST_SUBDIR)/byacc && \
6568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6570 "RANLIB=$${RANLIB}" \
6571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6572 maintainer-clean) \
6573 || exit 1
6575 @endif byacc
6579 .PHONY: configure-bzip2 maybe-configure-bzip2
6580 maybe-configure-bzip2:
6581 @if bzip2
6582 maybe-configure-bzip2: configure-bzip2
6583 configure-bzip2:
6584 @: $(MAKE); $(unstage)
6585 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6591 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6592 case $(srcdir) in \
6593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6594 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6596 esac; \
6597 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6598 libsrcdir="$$s/bzip2"; \
6599 $(SHELL) $${libsrcdir}/configure \
6600 $(HOST_CONFIGARGS) $${srcdiroption} \
6601 || exit 1
6602 @endif bzip2
6608 .PHONY: all-bzip2 maybe-all-bzip2
6609 maybe-all-bzip2:
6610 @if bzip2
6611 TARGET-bzip2=all
6612 maybe-all-bzip2: all-bzip2
6613 all-bzip2: configure-bzip2
6614 @: $(MAKE); $(unstage)
6615 @r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617 $(HOST_EXPORTS) \
6618 (cd $(HOST_SUBDIR)/bzip2 && \
6619 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6620 @endif bzip2
6625 .PHONY: check-bzip2 maybe-check-bzip2
6626 maybe-check-bzip2:
6627 @if bzip2
6628 maybe-check-bzip2: check-bzip2
6630 check-bzip2:
6631 @: $(MAKE); $(unstage)
6632 @r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6634 $(HOST_EXPORTS) \
6635 (cd $(HOST_SUBDIR)/bzip2 && \
6636 $(MAKE) $(FLAGS_TO_PASS) check)
6638 @endif bzip2
6640 .PHONY: install-bzip2 maybe-install-bzip2
6641 maybe-install-bzip2:
6642 @if bzip2
6643 maybe-install-bzip2: install-bzip2
6645 install-bzip2: installdirs
6646 @: $(MAKE); $(unstage)
6647 @r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 $(HOST_EXPORTS) \
6650 (cd $(HOST_SUBDIR)/bzip2 && \
6651 $(MAKE) $(FLAGS_TO_PASS) install)
6653 @endif bzip2
6655 # Other targets (info, dvi, etc.)
6657 .PHONY: maybe-info-bzip2 info-bzip2
6658 maybe-info-bzip2:
6659 @if bzip2
6660 maybe-info-bzip2: info-bzip2
6662 info-bzip2: \
6663 configure-bzip2
6664 @: $(MAKE); $(unstage)
6665 @[ -f ./bzip2/Makefile ] || exit 0; \
6666 r=`${PWD_COMMAND}`; export r; \
6667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6668 $(HOST_EXPORTS) \
6669 for flag in $(EXTRA_HOST_FLAGS) ; do \
6670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6671 done; \
6672 echo "Doing info in bzip2" ; \
6673 (cd $(HOST_SUBDIR)/bzip2 && \
6674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6676 "RANLIB=$${RANLIB}" \
6677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6678 info) \
6679 || exit 1
6681 @endif bzip2
6683 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6684 maybe-dvi-bzip2:
6685 @if bzip2
6686 maybe-dvi-bzip2: dvi-bzip2
6688 dvi-bzip2: \
6689 configure-bzip2
6690 @: $(MAKE); $(unstage)
6691 @[ -f ./bzip2/Makefile ] || exit 0; \
6692 r=`${PWD_COMMAND}`; export r; \
6693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6694 $(HOST_EXPORTS) \
6695 for flag in $(EXTRA_HOST_FLAGS) ; do \
6696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6697 done; \
6698 echo "Doing dvi in bzip2" ; \
6699 (cd $(HOST_SUBDIR)/bzip2 && \
6700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6702 "RANLIB=$${RANLIB}" \
6703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6704 dvi) \
6705 || exit 1
6707 @endif bzip2
6709 .PHONY: maybe-html-bzip2 html-bzip2
6710 maybe-html-bzip2:
6711 @if bzip2
6712 maybe-html-bzip2: html-bzip2
6714 html-bzip2: \
6715 configure-bzip2
6716 @: $(MAKE); $(unstage)
6717 @[ -f ./bzip2/Makefile ] || exit 0; \
6718 r=`${PWD_COMMAND}`; export r; \
6719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 $(HOST_EXPORTS) \
6721 for flag in $(EXTRA_HOST_FLAGS) ; do \
6722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6723 done; \
6724 echo "Doing html in bzip2" ; \
6725 (cd $(HOST_SUBDIR)/bzip2 && \
6726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6728 "RANLIB=$${RANLIB}" \
6729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6730 html) \
6731 || exit 1
6733 @endif bzip2
6735 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6736 maybe-TAGS-bzip2:
6737 @if bzip2
6738 maybe-TAGS-bzip2: TAGS-bzip2
6740 TAGS-bzip2: \
6741 configure-bzip2
6742 @: $(MAKE); $(unstage)
6743 @[ -f ./bzip2/Makefile ] || exit 0; \
6744 r=`${PWD_COMMAND}`; export r; \
6745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6746 $(HOST_EXPORTS) \
6747 for flag in $(EXTRA_HOST_FLAGS) ; do \
6748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6749 done; \
6750 echo "Doing TAGS in bzip2" ; \
6751 (cd $(HOST_SUBDIR)/bzip2 && \
6752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6754 "RANLIB=$${RANLIB}" \
6755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6756 TAGS) \
6757 || exit 1
6759 @endif bzip2
6761 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6762 maybe-install-info-bzip2:
6763 @if bzip2
6764 maybe-install-info-bzip2: install-info-bzip2
6766 install-info-bzip2: \
6767 configure-bzip2 \
6768 info-bzip2
6769 @: $(MAKE); $(unstage)
6770 @[ -f ./bzip2/Makefile ] || exit 0; \
6771 r=`${PWD_COMMAND}`; export r; \
6772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6773 $(HOST_EXPORTS) \
6774 for flag in $(EXTRA_HOST_FLAGS) ; do \
6775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6776 done; \
6777 echo "Doing install-info in bzip2" ; \
6778 (cd $(HOST_SUBDIR)/bzip2 && \
6779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6781 "RANLIB=$${RANLIB}" \
6782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6783 install-info) \
6784 || exit 1
6786 @endif bzip2
6788 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6789 maybe-installcheck-bzip2:
6790 @if bzip2
6791 maybe-installcheck-bzip2: installcheck-bzip2
6793 installcheck-bzip2: \
6794 configure-bzip2
6795 @: $(MAKE); $(unstage)
6796 @[ -f ./bzip2/Makefile ] || exit 0; \
6797 r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6799 $(HOST_EXPORTS) \
6800 for flag in $(EXTRA_HOST_FLAGS) ; do \
6801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6802 done; \
6803 echo "Doing installcheck in bzip2" ; \
6804 (cd $(HOST_SUBDIR)/bzip2 && \
6805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807 "RANLIB=$${RANLIB}" \
6808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6809 installcheck) \
6810 || exit 1
6812 @endif bzip2
6814 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6815 maybe-mostlyclean-bzip2:
6816 @if bzip2
6817 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6819 mostlyclean-bzip2:
6820 @: $(MAKE); $(unstage)
6821 @[ -f ./bzip2/Makefile ] || exit 0; \
6822 r=`${PWD_COMMAND}`; export r; \
6823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 $(HOST_EXPORTS) \
6825 for flag in $(EXTRA_HOST_FLAGS) ; do \
6826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6827 done; \
6828 echo "Doing mostlyclean in bzip2" ; \
6829 (cd $(HOST_SUBDIR)/bzip2 && \
6830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6832 "RANLIB=$${RANLIB}" \
6833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6834 mostlyclean) \
6835 || exit 1
6837 @endif bzip2
6839 .PHONY: maybe-clean-bzip2 clean-bzip2
6840 maybe-clean-bzip2:
6841 @if bzip2
6842 maybe-clean-bzip2: clean-bzip2
6844 clean-bzip2:
6845 @: $(MAKE); $(unstage)
6846 @[ -f ./bzip2/Makefile ] || exit 0; \
6847 r=`${PWD_COMMAND}`; export r; \
6848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6849 $(HOST_EXPORTS) \
6850 for flag in $(EXTRA_HOST_FLAGS) ; do \
6851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6852 done; \
6853 echo "Doing clean in bzip2" ; \
6854 (cd $(HOST_SUBDIR)/bzip2 && \
6855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6857 "RANLIB=$${RANLIB}" \
6858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6859 clean) \
6860 || exit 1
6862 @endif bzip2
6864 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6865 maybe-distclean-bzip2:
6866 @if bzip2
6867 maybe-distclean-bzip2: distclean-bzip2
6869 distclean-bzip2:
6870 @: $(MAKE); $(unstage)
6871 @[ -f ./bzip2/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(HOST_EXPORTS) \
6875 for flag in $(EXTRA_HOST_FLAGS) ; do \
6876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6877 done; \
6878 echo "Doing distclean in bzip2" ; \
6879 (cd $(HOST_SUBDIR)/bzip2 && \
6880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6882 "RANLIB=$${RANLIB}" \
6883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6884 distclean) \
6885 || exit 1
6887 @endif bzip2
6889 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6890 maybe-maintainer-clean-bzip2:
6891 @if bzip2
6892 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6894 maintainer-clean-bzip2:
6895 @: $(MAKE); $(unstage)
6896 @[ -f ./bzip2/Makefile ] || exit 0; \
6897 r=`${PWD_COMMAND}`; export r; \
6898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6899 $(HOST_EXPORTS) \
6900 for flag in $(EXTRA_HOST_FLAGS) ; do \
6901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6902 done; \
6903 echo "Doing maintainer-clean in bzip2" ; \
6904 (cd $(HOST_SUBDIR)/bzip2 && \
6905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6907 "RANLIB=$${RANLIB}" \
6908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6909 maintainer-clean) \
6910 || exit 1
6912 @endif bzip2
6916 .PHONY: configure-dejagnu maybe-configure-dejagnu
6917 maybe-configure-dejagnu:
6918 @if dejagnu
6919 maybe-configure-dejagnu: configure-dejagnu
6920 configure-dejagnu:
6921 @: $(MAKE); $(unstage)
6922 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6924 r=`${PWD_COMMAND}`; export r; \
6925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6926 $(HOST_EXPORTS) \
6927 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6928 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6929 case $(srcdir) in \
6930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6931 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6933 esac; \
6934 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6935 libsrcdir="$$s/dejagnu"; \
6936 $(SHELL) $${libsrcdir}/configure \
6937 $(HOST_CONFIGARGS) $${srcdiroption} \
6938 || exit 1
6939 @endif dejagnu
6945 .PHONY: all-dejagnu maybe-all-dejagnu
6946 maybe-all-dejagnu:
6947 @if dejagnu
6948 TARGET-dejagnu=all
6949 maybe-all-dejagnu: all-dejagnu
6950 all-dejagnu: configure-dejagnu
6951 @: $(MAKE); $(unstage)
6952 @r=`${PWD_COMMAND}`; export r; \
6953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6954 $(HOST_EXPORTS) \
6955 (cd $(HOST_SUBDIR)/dejagnu && \
6956 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6957 @endif dejagnu
6962 .PHONY: check-dejagnu maybe-check-dejagnu
6963 maybe-check-dejagnu:
6964 @if dejagnu
6965 maybe-check-dejagnu: check-dejagnu
6967 check-dejagnu:
6968 @: $(MAKE); $(unstage)
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6971 $(HOST_EXPORTS) \
6972 (cd $(HOST_SUBDIR)/dejagnu && \
6973 $(MAKE) $(FLAGS_TO_PASS) check)
6975 @endif dejagnu
6977 .PHONY: install-dejagnu maybe-install-dejagnu
6978 maybe-install-dejagnu:
6979 @if dejagnu
6980 maybe-install-dejagnu: install-dejagnu
6982 install-dejagnu: installdirs
6983 @: $(MAKE); $(unstage)
6984 @r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 $(HOST_EXPORTS) \
6987 (cd $(HOST_SUBDIR)/dejagnu && \
6988 $(MAKE) $(FLAGS_TO_PASS) install)
6990 @endif dejagnu
6992 # Other targets (info, dvi, etc.)
6994 .PHONY: maybe-info-dejagnu info-dejagnu
6995 maybe-info-dejagnu:
6996 @if dejagnu
6997 maybe-info-dejagnu: info-dejagnu
6999 info-dejagnu: \
7000 configure-dejagnu
7001 @: $(MAKE); $(unstage)
7002 @[ -f ./dejagnu/Makefile ] || exit 0; \
7003 r=`${PWD_COMMAND}`; export r; \
7004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7005 $(HOST_EXPORTS) \
7006 for flag in $(EXTRA_HOST_FLAGS) ; do \
7007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7008 done; \
7009 echo "Doing info in dejagnu" ; \
7010 (cd $(HOST_SUBDIR)/dejagnu && \
7011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7013 "RANLIB=$${RANLIB}" \
7014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7015 info) \
7016 || exit 1
7018 @endif dejagnu
7020 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7021 maybe-dvi-dejagnu:
7022 @if dejagnu
7023 maybe-dvi-dejagnu: dvi-dejagnu
7025 dvi-dejagnu: \
7026 configure-dejagnu
7027 @: $(MAKE); $(unstage)
7028 @[ -f ./dejagnu/Makefile ] || exit 0; \
7029 r=`${PWD_COMMAND}`; export r; \
7030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7031 $(HOST_EXPORTS) \
7032 for flag in $(EXTRA_HOST_FLAGS) ; do \
7033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7034 done; \
7035 echo "Doing dvi in dejagnu" ; \
7036 (cd $(HOST_SUBDIR)/dejagnu && \
7037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7039 "RANLIB=$${RANLIB}" \
7040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7041 dvi) \
7042 || exit 1
7044 @endif dejagnu
7046 .PHONY: maybe-html-dejagnu html-dejagnu
7047 maybe-html-dejagnu:
7048 @if dejagnu
7049 maybe-html-dejagnu: html-dejagnu
7051 html-dejagnu: \
7052 configure-dejagnu
7053 @: $(MAKE); $(unstage)
7054 @[ -f ./dejagnu/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 $(HOST_EXPORTS) \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7060 done; \
7061 echo "Doing html in dejagnu" ; \
7062 (cd $(HOST_SUBDIR)/dejagnu && \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7067 html) \
7068 || exit 1
7070 @endif dejagnu
7072 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7073 maybe-TAGS-dejagnu:
7074 @if dejagnu
7075 maybe-TAGS-dejagnu: TAGS-dejagnu
7077 TAGS-dejagnu: \
7078 configure-dejagnu
7079 @: $(MAKE); $(unstage)
7080 @[ -f ./dejagnu/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing TAGS in dejagnu" ; \
7088 (cd $(HOST_SUBDIR)/dejagnu && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7093 TAGS) \
7094 || exit 1
7096 @endif dejagnu
7098 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7099 maybe-install-info-dejagnu:
7100 @if dejagnu
7101 maybe-install-info-dejagnu: install-info-dejagnu
7103 install-info-dejagnu: \
7104 configure-dejagnu \
7105 info-dejagnu
7106 @: $(MAKE); $(unstage)
7107 @[ -f ./dejagnu/Makefile ] || exit 0; \
7108 r=`${PWD_COMMAND}`; export r; \
7109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7110 $(HOST_EXPORTS) \
7111 for flag in $(EXTRA_HOST_FLAGS) ; do \
7112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113 done; \
7114 echo "Doing install-info in dejagnu" ; \
7115 (cd $(HOST_SUBDIR)/dejagnu && \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118 "RANLIB=$${RANLIB}" \
7119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7120 install-info) \
7121 || exit 1
7123 @endif dejagnu
7125 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7126 maybe-installcheck-dejagnu:
7127 @if dejagnu
7128 maybe-installcheck-dejagnu: installcheck-dejagnu
7130 installcheck-dejagnu: \
7131 configure-dejagnu
7132 @: $(MAKE); $(unstage)
7133 @[ -f ./dejagnu/Makefile ] || exit 0; \
7134 r=`${PWD_COMMAND}`; export r; \
7135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7136 $(HOST_EXPORTS) \
7137 for flag in $(EXTRA_HOST_FLAGS) ; do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 done; \
7140 echo "Doing installcheck in dejagnu" ; \
7141 (cd $(HOST_SUBDIR)/dejagnu && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 installcheck) \
7147 || exit 1
7149 @endif dejagnu
7151 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7152 maybe-mostlyclean-dejagnu:
7153 @if dejagnu
7154 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7156 mostlyclean-dejagnu:
7157 @: $(MAKE); $(unstage)
7158 @[ -f ./dejagnu/Makefile ] || exit 0; \
7159 r=`${PWD_COMMAND}`; export r; \
7160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 $(HOST_EXPORTS) \
7162 for flag in $(EXTRA_HOST_FLAGS) ; do \
7163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7164 done; \
7165 echo "Doing mostlyclean in dejagnu" ; \
7166 (cd $(HOST_SUBDIR)/dejagnu && \
7167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7169 "RANLIB=$${RANLIB}" \
7170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7171 mostlyclean) \
7172 || exit 1
7174 @endif dejagnu
7176 .PHONY: maybe-clean-dejagnu clean-dejagnu
7177 maybe-clean-dejagnu:
7178 @if dejagnu
7179 maybe-clean-dejagnu: clean-dejagnu
7181 clean-dejagnu:
7182 @: $(MAKE); $(unstage)
7183 @[ -f ./dejagnu/Makefile ] || exit 0; \
7184 r=`${PWD_COMMAND}`; export r; \
7185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7186 $(HOST_EXPORTS) \
7187 for flag in $(EXTRA_HOST_FLAGS) ; do \
7188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7189 done; \
7190 echo "Doing clean in dejagnu" ; \
7191 (cd $(HOST_SUBDIR)/dejagnu && \
7192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7194 "RANLIB=$${RANLIB}" \
7195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7196 clean) \
7197 || exit 1
7199 @endif dejagnu
7201 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7202 maybe-distclean-dejagnu:
7203 @if dejagnu
7204 maybe-distclean-dejagnu: distclean-dejagnu
7206 distclean-dejagnu:
7207 @: $(MAKE); $(unstage)
7208 @[ -f ./dejagnu/Makefile ] || exit 0; \
7209 r=`${PWD_COMMAND}`; export r; \
7210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 $(HOST_EXPORTS) \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 done; \
7215 echo "Doing distclean in dejagnu" ; \
7216 (cd $(HOST_SUBDIR)/dejagnu && \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7221 distclean) \
7222 || exit 1
7224 @endif dejagnu
7226 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7227 maybe-maintainer-clean-dejagnu:
7228 @if dejagnu
7229 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7231 maintainer-clean-dejagnu:
7232 @: $(MAKE); $(unstage)
7233 @[ -f ./dejagnu/Makefile ] || exit 0; \
7234 r=`${PWD_COMMAND}`; export r; \
7235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7236 $(HOST_EXPORTS) \
7237 for flag in $(EXTRA_HOST_FLAGS) ; do \
7238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7239 done; \
7240 echo "Doing maintainer-clean in dejagnu" ; \
7241 (cd $(HOST_SUBDIR)/dejagnu && \
7242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7244 "RANLIB=$${RANLIB}" \
7245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7246 maintainer-clean) \
7247 || exit 1
7249 @endif dejagnu
7253 .PHONY: configure-diff maybe-configure-diff
7254 maybe-configure-diff:
7255 @if diff
7256 maybe-configure-diff: configure-diff
7257 configure-diff:
7258 @: $(MAKE); $(unstage)
7259 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(HOST_EXPORTS) \
7264 echo Configuring in $(HOST_SUBDIR)/diff; \
7265 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7266 case $(srcdir) in \
7267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7268 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7270 esac; \
7271 srcdiroption="--srcdir=$${topdir}/diff"; \
7272 libsrcdir="$$s/diff"; \
7273 $(SHELL) $${libsrcdir}/configure \
7274 $(HOST_CONFIGARGS) $${srcdiroption} \
7275 || exit 1
7276 @endif diff
7282 .PHONY: all-diff maybe-all-diff
7283 maybe-all-diff:
7284 @if diff
7285 TARGET-diff=all
7286 maybe-all-diff: all-diff
7287 all-diff: configure-diff
7288 @: $(MAKE); $(unstage)
7289 @r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7291 $(HOST_EXPORTS) \
7292 (cd $(HOST_SUBDIR)/diff && \
7293 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7294 @endif diff
7299 .PHONY: check-diff maybe-check-diff
7300 maybe-check-diff:
7301 @if diff
7302 maybe-check-diff: check-diff
7304 check-diff:
7305 @: $(MAKE); $(unstage)
7306 @r=`${PWD_COMMAND}`; export r; \
7307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7308 $(HOST_EXPORTS) \
7309 (cd $(HOST_SUBDIR)/diff && \
7310 $(MAKE) $(FLAGS_TO_PASS) check)
7312 @endif diff
7314 .PHONY: install-diff maybe-install-diff
7315 maybe-install-diff:
7316 @if diff
7317 maybe-install-diff: install-diff
7319 install-diff: installdirs
7320 @: $(MAKE); $(unstage)
7321 @r=`${PWD_COMMAND}`; export r; \
7322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7323 $(HOST_EXPORTS) \
7324 (cd $(HOST_SUBDIR)/diff && \
7325 $(MAKE) $(FLAGS_TO_PASS) install)
7327 @endif diff
7329 # Other targets (info, dvi, etc.)
7331 .PHONY: maybe-info-diff info-diff
7332 maybe-info-diff:
7333 @if diff
7334 maybe-info-diff: info-diff
7336 info-diff: \
7337 configure-diff
7338 @: $(MAKE); $(unstage)
7339 @[ -f ./diff/Makefile ] || exit 0; \
7340 r=`${PWD_COMMAND}`; export r; \
7341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7342 $(HOST_EXPORTS) \
7343 for flag in $(EXTRA_HOST_FLAGS) ; do \
7344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7345 done; \
7346 echo "Doing info in diff" ; \
7347 (cd $(HOST_SUBDIR)/diff && \
7348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7350 "RANLIB=$${RANLIB}" \
7351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7352 info) \
7353 || exit 1
7355 @endif diff
7357 .PHONY: maybe-dvi-diff dvi-diff
7358 maybe-dvi-diff:
7359 @if diff
7360 maybe-dvi-diff: dvi-diff
7362 dvi-diff: \
7363 configure-diff
7364 @: $(MAKE); $(unstage)
7365 @[ -f ./diff/Makefile ] || exit 0; \
7366 r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(HOST_EXPORTS) \
7369 for flag in $(EXTRA_HOST_FLAGS) ; do \
7370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7371 done; \
7372 echo "Doing dvi in diff" ; \
7373 (cd $(HOST_SUBDIR)/diff && \
7374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7376 "RANLIB=$${RANLIB}" \
7377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7378 dvi) \
7379 || exit 1
7381 @endif diff
7383 .PHONY: maybe-html-diff html-diff
7384 maybe-html-diff:
7385 @if diff
7386 maybe-html-diff: html-diff
7388 html-diff: \
7389 configure-diff
7390 @: $(MAKE); $(unstage)
7391 @[ -f ./diff/Makefile ] || exit 0; \
7392 r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(HOST_EXPORTS) \
7395 for flag in $(EXTRA_HOST_FLAGS) ; do \
7396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7397 done; \
7398 echo "Doing html in diff" ; \
7399 (cd $(HOST_SUBDIR)/diff && \
7400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7402 "RANLIB=$${RANLIB}" \
7403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7404 html) \
7405 || exit 1
7407 @endif diff
7409 .PHONY: maybe-TAGS-diff TAGS-diff
7410 maybe-TAGS-diff:
7411 @if diff
7412 maybe-TAGS-diff: TAGS-diff
7414 TAGS-diff: \
7415 configure-diff
7416 @: $(MAKE); $(unstage)
7417 @[ -f ./diff/Makefile ] || exit 0; \
7418 r=`${PWD_COMMAND}`; export r; \
7419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7420 $(HOST_EXPORTS) \
7421 for flag in $(EXTRA_HOST_FLAGS) ; do \
7422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7423 done; \
7424 echo "Doing TAGS in diff" ; \
7425 (cd $(HOST_SUBDIR)/diff && \
7426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7428 "RANLIB=$${RANLIB}" \
7429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7430 TAGS) \
7431 || exit 1
7433 @endif diff
7435 .PHONY: maybe-install-info-diff install-info-diff
7436 maybe-install-info-diff:
7437 @if diff
7438 maybe-install-info-diff: install-info-diff
7440 install-info-diff: \
7441 configure-diff \
7442 info-diff
7443 @: $(MAKE); $(unstage)
7444 @[ -f ./diff/Makefile ] || exit 0; \
7445 r=`${PWD_COMMAND}`; export r; \
7446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7447 $(HOST_EXPORTS) \
7448 for flag in $(EXTRA_HOST_FLAGS) ; do \
7449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7450 done; \
7451 echo "Doing install-info in diff" ; \
7452 (cd $(HOST_SUBDIR)/diff && \
7453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7455 "RANLIB=$${RANLIB}" \
7456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7457 install-info) \
7458 || exit 1
7460 @endif diff
7462 .PHONY: maybe-installcheck-diff installcheck-diff
7463 maybe-installcheck-diff:
7464 @if diff
7465 maybe-installcheck-diff: installcheck-diff
7467 installcheck-diff: \
7468 configure-diff
7469 @: $(MAKE); $(unstage)
7470 @[ -f ./diff/Makefile ] || exit 0; \
7471 r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 for flag in $(EXTRA_HOST_FLAGS) ; do \
7475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7476 done; \
7477 echo "Doing installcheck in diff" ; \
7478 (cd $(HOST_SUBDIR)/diff && \
7479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7481 "RANLIB=$${RANLIB}" \
7482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7483 installcheck) \
7484 || exit 1
7486 @endif diff
7488 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7489 maybe-mostlyclean-diff:
7490 @if diff
7491 maybe-mostlyclean-diff: mostlyclean-diff
7493 mostlyclean-diff:
7494 @: $(MAKE); $(unstage)
7495 @[ -f ./diff/Makefile ] || exit 0; \
7496 r=`${PWD_COMMAND}`; export r; \
7497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7498 $(HOST_EXPORTS) \
7499 for flag in $(EXTRA_HOST_FLAGS) ; do \
7500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7501 done; \
7502 echo "Doing mostlyclean in diff" ; \
7503 (cd $(HOST_SUBDIR)/diff && \
7504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7506 "RANLIB=$${RANLIB}" \
7507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7508 mostlyclean) \
7509 || exit 1
7511 @endif diff
7513 .PHONY: maybe-clean-diff clean-diff
7514 maybe-clean-diff:
7515 @if diff
7516 maybe-clean-diff: clean-diff
7518 clean-diff:
7519 @: $(MAKE); $(unstage)
7520 @[ -f ./diff/Makefile ] || exit 0; \
7521 r=`${PWD_COMMAND}`; export r; \
7522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7523 $(HOST_EXPORTS) \
7524 for flag in $(EXTRA_HOST_FLAGS) ; do \
7525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7526 done; \
7527 echo "Doing clean in diff" ; \
7528 (cd $(HOST_SUBDIR)/diff && \
7529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7531 "RANLIB=$${RANLIB}" \
7532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7533 clean) \
7534 || exit 1
7536 @endif diff
7538 .PHONY: maybe-distclean-diff distclean-diff
7539 maybe-distclean-diff:
7540 @if diff
7541 maybe-distclean-diff: distclean-diff
7543 distclean-diff:
7544 @: $(MAKE); $(unstage)
7545 @[ -f ./diff/Makefile ] || exit 0; \
7546 r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 for flag in $(EXTRA_HOST_FLAGS) ; do \
7550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7551 done; \
7552 echo "Doing distclean in diff" ; \
7553 (cd $(HOST_SUBDIR)/diff && \
7554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7556 "RANLIB=$${RANLIB}" \
7557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7558 distclean) \
7559 || exit 1
7561 @endif diff
7563 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7564 maybe-maintainer-clean-diff:
7565 @if diff
7566 maybe-maintainer-clean-diff: maintainer-clean-diff
7568 maintainer-clean-diff:
7569 @: $(MAKE); $(unstage)
7570 @[ -f ./diff/Makefile ] || exit 0; \
7571 r=`${PWD_COMMAND}`; export r; \
7572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7573 $(HOST_EXPORTS) \
7574 for flag in $(EXTRA_HOST_FLAGS) ; do \
7575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7576 done; \
7577 echo "Doing maintainer-clean in diff" ; \
7578 (cd $(HOST_SUBDIR)/diff && \
7579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7581 "RANLIB=$${RANLIB}" \
7582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7583 maintainer-clean) \
7584 || exit 1
7586 @endif diff
7590 .PHONY: configure-dosutils maybe-configure-dosutils
7591 maybe-configure-dosutils:
7592 @if dosutils
7593 maybe-configure-dosutils: configure-dosutils
7594 configure-dosutils:
7595 @: $(MAKE); $(unstage)
7596 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7598 r=`${PWD_COMMAND}`; export r; \
7599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7600 $(HOST_EXPORTS) \
7601 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7602 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7603 case $(srcdir) in \
7604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7605 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7607 esac; \
7608 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7609 libsrcdir="$$s/dosutils"; \
7610 $(SHELL) $${libsrcdir}/configure \
7611 $(HOST_CONFIGARGS) $${srcdiroption} \
7612 || exit 1
7613 @endif dosutils
7619 .PHONY: all-dosutils maybe-all-dosutils
7620 maybe-all-dosutils:
7621 @if dosutils
7622 TARGET-dosutils=all
7623 maybe-all-dosutils: all-dosutils
7624 all-dosutils: configure-dosutils
7625 @: $(MAKE); $(unstage)
7626 @r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(HOST_EXPORTS) \
7629 (cd $(HOST_SUBDIR)/dosutils && \
7630 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7631 @endif dosutils
7636 .PHONY: check-dosutils maybe-check-dosutils
7637 maybe-check-dosutils:
7638 @if dosutils
7639 maybe-check-dosutils: check-dosutils
7641 check-dosutils:
7643 @endif dosutils
7645 .PHONY: install-dosutils maybe-install-dosutils
7646 maybe-install-dosutils:
7647 @if dosutils
7648 maybe-install-dosutils: install-dosutils
7650 install-dosutils: installdirs
7651 @: $(MAKE); $(unstage)
7652 @r=`${PWD_COMMAND}`; export r; \
7653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7654 $(HOST_EXPORTS) \
7655 (cd $(HOST_SUBDIR)/dosutils && \
7656 $(MAKE) $(FLAGS_TO_PASS) install)
7658 @endif dosutils
7660 # Other targets (info, dvi, etc.)
7662 .PHONY: maybe-info-dosutils info-dosutils
7663 maybe-info-dosutils:
7664 @if dosutils
7665 maybe-info-dosutils: info-dosutils
7667 info-dosutils: \
7668 configure-dosutils
7669 @: $(MAKE); $(unstage)
7670 @[ -f ./dosutils/Makefile ] || exit 0; \
7671 r=`${PWD_COMMAND}`; export r; \
7672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 $(HOST_EXPORTS) \
7674 for flag in $(EXTRA_HOST_FLAGS) ; do \
7675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7676 done; \
7677 echo "Doing info in dosutils" ; \
7678 (cd $(HOST_SUBDIR)/dosutils && \
7679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7681 "RANLIB=$${RANLIB}" \
7682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7683 info) \
7684 || exit 1
7686 @endif dosutils
7688 .PHONY: maybe-dvi-dosutils dvi-dosutils
7689 maybe-dvi-dosutils:
7690 @if dosutils
7691 maybe-dvi-dosutils: dvi-dosutils
7693 dvi-dosutils: \
7694 configure-dosutils
7695 @: $(MAKE); $(unstage)
7696 @[ -f ./dosutils/Makefile ] || exit 0; \
7697 r=`${PWD_COMMAND}`; export r; \
7698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 $(HOST_EXPORTS) \
7700 for flag in $(EXTRA_HOST_FLAGS) ; do \
7701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7702 done; \
7703 echo "Doing dvi in dosutils" ; \
7704 (cd $(HOST_SUBDIR)/dosutils && \
7705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7707 "RANLIB=$${RANLIB}" \
7708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7709 dvi) \
7710 || exit 1
7712 @endif dosutils
7714 .PHONY: maybe-html-dosutils html-dosutils
7715 maybe-html-dosutils:
7716 @if dosutils
7717 maybe-html-dosutils: html-dosutils
7719 html-dosutils: \
7720 configure-dosutils
7721 @: $(MAKE); $(unstage)
7722 @[ -f ./dosutils/Makefile ] || exit 0; \
7723 r=`${PWD_COMMAND}`; export r; \
7724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7725 $(HOST_EXPORTS) \
7726 for flag in $(EXTRA_HOST_FLAGS) ; do \
7727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7728 done; \
7729 echo "Doing html in dosutils" ; \
7730 (cd $(HOST_SUBDIR)/dosutils && \
7731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7733 "RANLIB=$${RANLIB}" \
7734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7735 html) \
7736 || exit 1
7738 @endif dosutils
7740 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7741 maybe-TAGS-dosutils:
7742 @if dosutils
7743 maybe-TAGS-dosutils: TAGS-dosutils
7745 TAGS-dosutils: \
7746 configure-dosutils
7747 @: $(MAKE); $(unstage)
7748 @[ -f ./dosutils/Makefile ] || exit 0; \
7749 r=`${PWD_COMMAND}`; export r; \
7750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7751 $(HOST_EXPORTS) \
7752 for flag in $(EXTRA_HOST_FLAGS) ; do \
7753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7754 done; \
7755 echo "Doing TAGS in dosutils" ; \
7756 (cd $(HOST_SUBDIR)/dosutils && \
7757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7759 "RANLIB=$${RANLIB}" \
7760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7761 TAGS) \
7762 || exit 1
7764 @endif dosutils
7766 .PHONY: maybe-install-info-dosutils install-info-dosutils
7767 maybe-install-info-dosutils:
7768 @if dosutils
7769 maybe-install-info-dosutils: install-info-dosutils
7771 install-info-dosutils: \
7772 configure-dosutils \
7773 info-dosutils
7774 @: $(MAKE); $(unstage)
7775 @[ -f ./dosutils/Makefile ] || exit 0; \
7776 r=`${PWD_COMMAND}`; export r; \
7777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7778 $(HOST_EXPORTS) \
7779 for flag in $(EXTRA_HOST_FLAGS) ; do \
7780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7781 done; \
7782 echo "Doing install-info in dosutils" ; \
7783 (cd $(HOST_SUBDIR)/dosutils && \
7784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7786 "RANLIB=$${RANLIB}" \
7787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7788 install-info) \
7789 || exit 1
7791 @endif dosutils
7793 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7794 maybe-installcheck-dosutils:
7795 @if dosutils
7796 maybe-installcheck-dosutils: installcheck-dosutils
7798 installcheck-dosutils: \
7799 configure-dosutils
7800 @: $(MAKE); $(unstage)
7801 @[ -f ./dosutils/Makefile ] || exit 0; \
7802 r=`${PWD_COMMAND}`; export r; \
7803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7804 $(HOST_EXPORTS) \
7805 for flag in $(EXTRA_HOST_FLAGS) ; do \
7806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7807 done; \
7808 echo "Doing installcheck in dosutils" ; \
7809 (cd $(HOST_SUBDIR)/dosutils && \
7810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7812 "RANLIB=$${RANLIB}" \
7813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7814 installcheck) \
7815 || exit 1
7817 @endif dosutils
7819 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7820 maybe-mostlyclean-dosutils:
7821 @if dosutils
7822 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7824 mostlyclean-dosutils:
7825 @: $(MAKE); $(unstage)
7826 @[ -f ./dosutils/Makefile ] || exit 0; \
7827 r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 $(HOST_EXPORTS) \
7830 for flag in $(EXTRA_HOST_FLAGS) ; do \
7831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832 done; \
7833 echo "Doing mostlyclean in dosutils" ; \
7834 (cd $(HOST_SUBDIR)/dosutils && \
7835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7837 "RANLIB=$${RANLIB}" \
7838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7839 mostlyclean) \
7840 || exit 1
7842 @endif dosutils
7844 .PHONY: maybe-clean-dosutils clean-dosutils
7845 maybe-clean-dosutils:
7846 @if dosutils
7847 maybe-clean-dosutils: clean-dosutils
7849 clean-dosutils:
7850 @: $(MAKE); $(unstage)
7851 @[ -f ./dosutils/Makefile ] || exit 0; \
7852 r=`${PWD_COMMAND}`; export r; \
7853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7854 $(HOST_EXPORTS) \
7855 for flag in $(EXTRA_HOST_FLAGS) ; do \
7856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7857 done; \
7858 echo "Doing clean in dosutils" ; \
7859 (cd $(HOST_SUBDIR)/dosutils && \
7860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7862 "RANLIB=$${RANLIB}" \
7863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7864 clean) \
7865 || exit 1
7867 @endif dosutils
7869 .PHONY: maybe-distclean-dosutils distclean-dosutils
7870 maybe-distclean-dosutils:
7871 @if dosutils
7872 maybe-distclean-dosutils: distclean-dosutils
7874 distclean-dosutils:
7875 @: $(MAKE); $(unstage)
7876 @[ -f ./dosutils/Makefile ] || exit 0; \
7877 r=`${PWD_COMMAND}`; export r; \
7878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7879 $(HOST_EXPORTS) \
7880 for flag in $(EXTRA_HOST_FLAGS) ; do \
7881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7882 done; \
7883 echo "Doing distclean in dosutils" ; \
7884 (cd $(HOST_SUBDIR)/dosutils && \
7885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7887 "RANLIB=$${RANLIB}" \
7888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7889 distclean) \
7890 || exit 1
7892 @endif dosutils
7894 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7895 maybe-maintainer-clean-dosutils:
7896 @if dosutils
7897 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7899 maintainer-clean-dosutils:
7900 @: $(MAKE); $(unstage)
7901 @[ -f ./dosutils/Makefile ] || exit 0; \
7902 r=`${PWD_COMMAND}`; export r; \
7903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7904 $(HOST_EXPORTS) \
7905 for flag in $(EXTRA_HOST_FLAGS) ; do \
7906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7907 done; \
7908 echo "Doing maintainer-clean in dosutils" ; \
7909 (cd $(HOST_SUBDIR)/dosutils && \
7910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7912 "RANLIB=$${RANLIB}" \
7913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7914 maintainer-clean) \
7915 || exit 1
7917 @endif dosutils
7921 .PHONY: configure-etc maybe-configure-etc
7922 maybe-configure-etc:
7923 @if etc
7924 maybe-configure-etc: configure-etc
7925 configure-etc:
7926 @: $(MAKE); $(unstage)
7927 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7929 r=`${PWD_COMMAND}`; export r; \
7930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7931 $(HOST_EXPORTS) \
7932 echo Configuring in $(HOST_SUBDIR)/etc; \
7933 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7934 case $(srcdir) in \
7935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7936 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7938 esac; \
7939 srcdiroption="--srcdir=$${topdir}/etc"; \
7940 libsrcdir="$$s/etc"; \
7941 $(SHELL) $${libsrcdir}/configure \
7942 $(HOST_CONFIGARGS) $${srcdiroption} \
7943 || exit 1
7944 @endif etc
7950 .PHONY: all-etc maybe-all-etc
7951 maybe-all-etc:
7952 @if etc
7953 TARGET-etc=all
7954 maybe-all-etc: all-etc
7955 all-etc: configure-etc
7956 @: $(MAKE); $(unstage)
7957 @r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7959 $(HOST_EXPORTS) \
7960 (cd $(HOST_SUBDIR)/etc && \
7961 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7962 @endif etc
7967 .PHONY: check-etc maybe-check-etc
7968 maybe-check-etc:
7969 @if etc
7970 maybe-check-etc: check-etc
7972 check-etc:
7973 @: $(MAKE); $(unstage)
7974 @r=`${PWD_COMMAND}`; export r; \
7975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 $(HOST_EXPORTS) \
7977 (cd $(HOST_SUBDIR)/etc && \
7978 $(MAKE) $(FLAGS_TO_PASS) check)
7980 @endif etc
7982 .PHONY: install-etc maybe-install-etc
7983 maybe-install-etc:
7984 @if etc
7985 maybe-install-etc: install-etc
7987 install-etc: installdirs
7988 @: $(MAKE); $(unstage)
7989 @r=`${PWD_COMMAND}`; export r; \
7990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7991 $(HOST_EXPORTS) \
7992 (cd $(HOST_SUBDIR)/etc && \
7993 $(MAKE) $(FLAGS_TO_PASS) install)
7995 @endif etc
7997 # Other targets (info, dvi, etc.)
7999 .PHONY: maybe-info-etc info-etc
8000 maybe-info-etc:
8001 @if etc
8002 maybe-info-etc: info-etc
8004 info-etc: \
8005 configure-etc
8006 @: $(MAKE); $(unstage)
8007 @[ -f ./etc/Makefile ] || exit 0; \
8008 r=`${PWD_COMMAND}`; export r; \
8009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8010 $(HOST_EXPORTS) \
8011 for flag in $(EXTRA_HOST_FLAGS) ; do \
8012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8013 done; \
8014 echo "Doing info in etc" ; \
8015 (cd $(HOST_SUBDIR)/etc && \
8016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8018 "RANLIB=$${RANLIB}" \
8019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8020 info) \
8021 || exit 1
8023 @endif etc
8025 .PHONY: maybe-dvi-etc dvi-etc
8026 maybe-dvi-etc:
8027 @if etc
8028 maybe-dvi-etc: dvi-etc
8030 dvi-etc: \
8031 configure-etc
8032 @: $(MAKE); $(unstage)
8033 @[ -f ./etc/Makefile ] || exit 0; \
8034 r=`${PWD_COMMAND}`; export r; \
8035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8036 $(HOST_EXPORTS) \
8037 for flag in $(EXTRA_HOST_FLAGS) ; do \
8038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8039 done; \
8040 echo "Doing dvi in etc" ; \
8041 (cd $(HOST_SUBDIR)/etc && \
8042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8044 "RANLIB=$${RANLIB}" \
8045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8046 dvi) \
8047 || exit 1
8049 @endif etc
8051 .PHONY: maybe-html-etc html-etc
8052 maybe-html-etc:
8053 @if etc
8054 maybe-html-etc: html-etc
8056 html-etc: \
8057 configure-etc
8058 @: $(MAKE); $(unstage)
8059 @[ -f ./etc/Makefile ] || exit 0; \
8060 r=`${PWD_COMMAND}`; export r; \
8061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8062 $(HOST_EXPORTS) \
8063 for flag in $(EXTRA_HOST_FLAGS) ; do \
8064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8065 done; \
8066 echo "Doing html in etc" ; \
8067 (cd $(HOST_SUBDIR)/etc && \
8068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8070 "RANLIB=$${RANLIB}" \
8071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8072 html) \
8073 || exit 1
8075 @endif etc
8077 .PHONY: maybe-TAGS-etc TAGS-etc
8078 maybe-TAGS-etc:
8079 @if etc
8080 maybe-TAGS-etc: TAGS-etc
8082 TAGS-etc: \
8083 configure-etc
8084 @: $(MAKE); $(unstage)
8085 @[ -f ./etc/Makefile ] || exit 0; \
8086 r=`${PWD_COMMAND}`; export r; \
8087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8088 $(HOST_EXPORTS) \
8089 for flag in $(EXTRA_HOST_FLAGS) ; do \
8090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8091 done; \
8092 echo "Doing TAGS in etc" ; \
8093 (cd $(HOST_SUBDIR)/etc && \
8094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8096 "RANLIB=$${RANLIB}" \
8097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8098 TAGS) \
8099 || exit 1
8101 @endif etc
8103 .PHONY: maybe-install-info-etc install-info-etc
8104 maybe-install-info-etc:
8105 @if etc
8106 maybe-install-info-etc: install-info-etc
8108 install-info-etc: \
8109 configure-etc \
8110 info-etc
8111 @: $(MAKE); $(unstage)
8112 @[ -f ./etc/Makefile ] || exit 0; \
8113 r=`${PWD_COMMAND}`; export r; \
8114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8115 $(HOST_EXPORTS) \
8116 for flag in $(EXTRA_HOST_FLAGS) ; do \
8117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8118 done; \
8119 echo "Doing install-info in etc" ; \
8120 (cd $(HOST_SUBDIR)/etc && \
8121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8123 "RANLIB=$${RANLIB}" \
8124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8125 install-info) \
8126 || exit 1
8128 @endif etc
8130 .PHONY: maybe-installcheck-etc installcheck-etc
8131 maybe-installcheck-etc:
8132 @if etc
8133 maybe-installcheck-etc: installcheck-etc
8135 installcheck-etc: \
8136 configure-etc
8137 @: $(MAKE); $(unstage)
8138 @[ -f ./etc/Makefile ] || exit 0; \
8139 r=`${PWD_COMMAND}`; export r; \
8140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8141 $(HOST_EXPORTS) \
8142 for flag in $(EXTRA_HOST_FLAGS) ; do \
8143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8144 done; \
8145 echo "Doing installcheck in etc" ; \
8146 (cd $(HOST_SUBDIR)/etc && \
8147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8149 "RANLIB=$${RANLIB}" \
8150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8151 installcheck) \
8152 || exit 1
8154 @endif etc
8156 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8157 maybe-mostlyclean-etc:
8158 @if etc
8159 maybe-mostlyclean-etc: mostlyclean-etc
8161 mostlyclean-etc:
8162 @: $(MAKE); $(unstage)
8163 @[ -f ./etc/Makefile ] || exit 0; \
8164 r=`${PWD_COMMAND}`; export r; \
8165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8166 $(HOST_EXPORTS) \
8167 for flag in $(EXTRA_HOST_FLAGS) ; do \
8168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8169 done; \
8170 echo "Doing mostlyclean in etc" ; \
8171 (cd $(HOST_SUBDIR)/etc && \
8172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8174 "RANLIB=$${RANLIB}" \
8175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8176 mostlyclean) \
8177 || exit 1
8179 @endif etc
8181 .PHONY: maybe-clean-etc clean-etc
8182 maybe-clean-etc:
8183 @if etc
8184 maybe-clean-etc: clean-etc
8186 clean-etc:
8187 @: $(MAKE); $(unstage)
8188 @[ -f ./etc/Makefile ] || exit 0; \
8189 r=`${PWD_COMMAND}`; export r; \
8190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8191 $(HOST_EXPORTS) \
8192 for flag in $(EXTRA_HOST_FLAGS) ; do \
8193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8194 done; \
8195 echo "Doing clean in etc" ; \
8196 (cd $(HOST_SUBDIR)/etc && \
8197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8199 "RANLIB=$${RANLIB}" \
8200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8201 clean) \
8202 || exit 1
8204 @endif etc
8206 .PHONY: maybe-distclean-etc distclean-etc
8207 maybe-distclean-etc:
8208 @if etc
8209 maybe-distclean-etc: distclean-etc
8211 distclean-etc:
8212 @: $(MAKE); $(unstage)
8213 @[ -f ./etc/Makefile ] || exit 0; \
8214 r=`${PWD_COMMAND}`; export r; \
8215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8216 $(HOST_EXPORTS) \
8217 for flag in $(EXTRA_HOST_FLAGS) ; do \
8218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8219 done; \
8220 echo "Doing distclean in etc" ; \
8221 (cd $(HOST_SUBDIR)/etc && \
8222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8224 "RANLIB=$${RANLIB}" \
8225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8226 distclean) \
8227 || exit 1
8229 @endif etc
8231 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8232 maybe-maintainer-clean-etc:
8233 @if etc
8234 maybe-maintainer-clean-etc: maintainer-clean-etc
8236 maintainer-clean-etc:
8237 @: $(MAKE); $(unstage)
8238 @[ -f ./etc/Makefile ] || exit 0; \
8239 r=`${PWD_COMMAND}`; export r; \
8240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8241 $(HOST_EXPORTS) \
8242 for flag in $(EXTRA_HOST_FLAGS) ; do \
8243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8244 done; \
8245 echo "Doing maintainer-clean in etc" ; \
8246 (cd $(HOST_SUBDIR)/etc && \
8247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8249 "RANLIB=$${RANLIB}" \
8250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8251 maintainer-clean) \
8252 || exit 1
8254 @endif etc
8258 .PHONY: configure-fastjar maybe-configure-fastjar
8259 maybe-configure-fastjar:
8260 @if fastjar
8261 maybe-configure-fastjar: configure-fastjar
8262 configure-fastjar:
8263 @: $(MAKE); $(unstage)
8264 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8266 r=`${PWD_COMMAND}`; export r; \
8267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8268 $(HOST_EXPORTS) \
8269 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8270 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8271 case $(srcdir) in \
8272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8273 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8275 esac; \
8276 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8277 libsrcdir="$$s/fastjar"; \
8278 $(SHELL) $${libsrcdir}/configure \
8279 $(HOST_CONFIGARGS) $${srcdiroption} \
8280 || exit 1
8281 @endif fastjar
8287 .PHONY: all-fastjar maybe-all-fastjar
8288 maybe-all-fastjar:
8289 @if fastjar
8290 TARGET-fastjar=all
8291 maybe-all-fastjar: all-fastjar
8292 all-fastjar: configure-fastjar
8293 @: $(MAKE); $(unstage)
8294 @r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(HOST_EXPORTS) \
8297 (cd $(HOST_SUBDIR)/fastjar && \
8298 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8299 @endif fastjar
8304 .PHONY: check-fastjar maybe-check-fastjar
8305 maybe-check-fastjar:
8306 @if fastjar
8307 maybe-check-fastjar: check-fastjar
8309 # This module is only tested in a native toolchain.
8310 check-fastjar:
8311 @: $(MAKE); $(unstage)
8312 @if [ '$(host)' = '$(target)' ] ; then \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8315 $(HOST_EXPORTS) \
8316 (cd $(HOST_SUBDIR)/fastjar && \
8317 $(MAKE) $(FLAGS_TO_PASS) check); \
8320 @endif fastjar
8322 .PHONY: install-fastjar maybe-install-fastjar
8323 maybe-install-fastjar:
8324 @if fastjar
8325 maybe-install-fastjar: install-fastjar
8327 install-fastjar: installdirs
8328 @: $(MAKE); $(unstage)
8329 @r=`${PWD_COMMAND}`; export r; \
8330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8331 $(HOST_EXPORTS) \
8332 (cd $(HOST_SUBDIR)/fastjar && \
8333 $(MAKE) $(FLAGS_TO_PASS) install)
8335 @endif fastjar
8337 # Other targets (info, dvi, etc.)
8339 .PHONY: maybe-info-fastjar info-fastjar
8340 maybe-info-fastjar:
8341 @if fastjar
8342 maybe-info-fastjar: info-fastjar
8344 info-fastjar: \
8345 configure-fastjar
8346 @: $(MAKE); $(unstage)
8347 @[ -f ./fastjar/Makefile ] || exit 0; \
8348 r=`${PWD_COMMAND}`; export r; \
8349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8350 $(HOST_EXPORTS) \
8351 for flag in $(EXTRA_HOST_FLAGS) ; do \
8352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8353 done; \
8354 echo "Doing info in fastjar" ; \
8355 (cd $(HOST_SUBDIR)/fastjar && \
8356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8358 "RANLIB=$${RANLIB}" \
8359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8360 info) \
8361 || exit 1
8363 @endif fastjar
8365 .PHONY: maybe-dvi-fastjar dvi-fastjar
8366 maybe-dvi-fastjar:
8367 @if fastjar
8368 maybe-dvi-fastjar: dvi-fastjar
8370 dvi-fastjar: \
8371 configure-fastjar
8372 @: $(MAKE); $(unstage)
8373 @[ -f ./fastjar/Makefile ] || exit 0; \
8374 r=`${PWD_COMMAND}`; export r; \
8375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8376 $(HOST_EXPORTS) \
8377 for flag in $(EXTRA_HOST_FLAGS) ; do \
8378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8379 done; \
8380 echo "Doing dvi in fastjar" ; \
8381 (cd $(HOST_SUBDIR)/fastjar && \
8382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8384 "RANLIB=$${RANLIB}" \
8385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8386 dvi) \
8387 || exit 1
8389 @endif fastjar
8391 .PHONY: maybe-html-fastjar html-fastjar
8392 maybe-html-fastjar:
8393 @if fastjar
8394 maybe-html-fastjar: html-fastjar
8396 html-fastjar: \
8397 configure-fastjar
8398 @: $(MAKE); $(unstage)
8399 @[ -f ./fastjar/Makefile ] || exit 0; \
8400 r=`${PWD_COMMAND}`; export r; \
8401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8402 $(HOST_EXPORTS) \
8403 for flag in $(EXTRA_HOST_FLAGS) ; do \
8404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8405 done; \
8406 echo "Doing html in fastjar" ; \
8407 (cd $(HOST_SUBDIR)/fastjar && \
8408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8410 "RANLIB=$${RANLIB}" \
8411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8412 html) \
8413 || exit 1
8415 @endif fastjar
8417 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8418 maybe-TAGS-fastjar:
8419 @if fastjar
8420 maybe-TAGS-fastjar: TAGS-fastjar
8422 TAGS-fastjar: \
8423 configure-fastjar
8424 @: $(MAKE); $(unstage)
8425 @[ -f ./fastjar/Makefile ] || exit 0; \
8426 r=`${PWD_COMMAND}`; export r; \
8427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8428 $(HOST_EXPORTS) \
8429 for flag in $(EXTRA_HOST_FLAGS) ; do \
8430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8431 done; \
8432 echo "Doing TAGS in fastjar" ; \
8433 (cd $(HOST_SUBDIR)/fastjar && \
8434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8436 "RANLIB=$${RANLIB}" \
8437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8438 TAGS) \
8439 || exit 1
8441 @endif fastjar
8443 .PHONY: maybe-install-info-fastjar install-info-fastjar
8444 maybe-install-info-fastjar:
8445 @if fastjar
8446 maybe-install-info-fastjar: install-info-fastjar
8448 install-info-fastjar: \
8449 configure-fastjar \
8450 info-fastjar
8451 @: $(MAKE); $(unstage)
8452 @[ -f ./fastjar/Makefile ] || exit 0; \
8453 r=`${PWD_COMMAND}`; export r; \
8454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8455 $(HOST_EXPORTS) \
8456 for flag in $(EXTRA_HOST_FLAGS) ; do \
8457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8458 done; \
8459 echo "Doing install-info in fastjar" ; \
8460 (cd $(HOST_SUBDIR)/fastjar && \
8461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8463 "RANLIB=$${RANLIB}" \
8464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8465 install-info) \
8466 || exit 1
8468 @endif fastjar
8470 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8471 maybe-installcheck-fastjar:
8472 @if fastjar
8473 maybe-installcheck-fastjar: installcheck-fastjar
8475 installcheck-fastjar: \
8476 configure-fastjar
8477 @: $(MAKE); $(unstage)
8478 @[ -f ./fastjar/Makefile ] || exit 0; \
8479 r=`${PWD_COMMAND}`; export r; \
8480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8481 $(HOST_EXPORTS) \
8482 for flag in $(EXTRA_HOST_FLAGS) ; do \
8483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8484 done; \
8485 echo "Doing installcheck in fastjar" ; \
8486 (cd $(HOST_SUBDIR)/fastjar && \
8487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8489 "RANLIB=$${RANLIB}" \
8490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8491 installcheck) \
8492 || exit 1
8494 @endif fastjar
8496 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8497 maybe-mostlyclean-fastjar:
8498 @if fastjar
8499 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8501 mostlyclean-fastjar:
8502 @: $(MAKE); $(unstage)
8503 @[ -f ./fastjar/Makefile ] || exit 0; \
8504 r=`${PWD_COMMAND}`; export r; \
8505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8506 $(HOST_EXPORTS) \
8507 for flag in $(EXTRA_HOST_FLAGS) ; do \
8508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8509 done; \
8510 echo "Doing mostlyclean in fastjar" ; \
8511 (cd $(HOST_SUBDIR)/fastjar && \
8512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8514 "RANLIB=$${RANLIB}" \
8515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8516 mostlyclean) \
8517 || exit 1
8519 @endif fastjar
8521 .PHONY: maybe-clean-fastjar clean-fastjar
8522 maybe-clean-fastjar:
8523 @if fastjar
8524 maybe-clean-fastjar: clean-fastjar
8526 clean-fastjar:
8527 @: $(MAKE); $(unstage)
8528 @[ -f ./fastjar/Makefile ] || exit 0; \
8529 r=`${PWD_COMMAND}`; export r; \
8530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8531 $(HOST_EXPORTS) \
8532 for flag in $(EXTRA_HOST_FLAGS) ; do \
8533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8534 done; \
8535 echo "Doing clean in fastjar" ; \
8536 (cd $(HOST_SUBDIR)/fastjar && \
8537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8539 "RANLIB=$${RANLIB}" \
8540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8541 clean) \
8542 || exit 1
8544 @endif fastjar
8546 .PHONY: maybe-distclean-fastjar distclean-fastjar
8547 maybe-distclean-fastjar:
8548 @if fastjar
8549 maybe-distclean-fastjar: distclean-fastjar
8551 distclean-fastjar:
8552 @: $(MAKE); $(unstage)
8553 @[ -f ./fastjar/Makefile ] || exit 0; \
8554 r=`${PWD_COMMAND}`; export r; \
8555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8556 $(HOST_EXPORTS) \
8557 for flag in $(EXTRA_HOST_FLAGS) ; do \
8558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8559 done; \
8560 echo "Doing distclean in fastjar" ; \
8561 (cd $(HOST_SUBDIR)/fastjar && \
8562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8564 "RANLIB=$${RANLIB}" \
8565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8566 distclean) \
8567 || exit 1
8569 @endif fastjar
8571 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8572 maybe-maintainer-clean-fastjar:
8573 @if fastjar
8574 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8576 maintainer-clean-fastjar:
8577 @: $(MAKE); $(unstage)
8578 @[ -f ./fastjar/Makefile ] || exit 0; \
8579 r=`${PWD_COMMAND}`; export r; \
8580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8581 $(HOST_EXPORTS) \
8582 for flag in $(EXTRA_HOST_FLAGS) ; do \
8583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8584 done; \
8585 echo "Doing maintainer-clean in fastjar" ; \
8586 (cd $(HOST_SUBDIR)/fastjar && \
8587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8589 "RANLIB=$${RANLIB}" \
8590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8591 maintainer-clean) \
8592 || exit 1
8594 @endif fastjar
8598 .PHONY: configure-fileutils maybe-configure-fileutils
8599 maybe-configure-fileutils:
8600 @if fileutils
8601 maybe-configure-fileutils: configure-fileutils
8602 configure-fileutils:
8603 @: $(MAKE); $(unstage)
8604 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8606 r=`${PWD_COMMAND}`; export r; \
8607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8608 $(HOST_EXPORTS) \
8609 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8610 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8611 case $(srcdir) in \
8612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8613 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8615 esac; \
8616 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8617 libsrcdir="$$s/fileutils"; \
8618 $(SHELL) $${libsrcdir}/configure \
8619 $(HOST_CONFIGARGS) $${srcdiroption} \
8620 || exit 1
8621 @endif fileutils
8627 .PHONY: all-fileutils maybe-all-fileutils
8628 maybe-all-fileutils:
8629 @if fileutils
8630 TARGET-fileutils=all
8631 maybe-all-fileutils: all-fileutils
8632 all-fileutils: configure-fileutils
8633 @: $(MAKE); $(unstage)
8634 @r=`${PWD_COMMAND}`; export r; \
8635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8636 $(HOST_EXPORTS) \
8637 (cd $(HOST_SUBDIR)/fileutils && \
8638 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8639 @endif fileutils
8644 .PHONY: check-fileutils maybe-check-fileutils
8645 maybe-check-fileutils:
8646 @if fileutils
8647 maybe-check-fileutils: check-fileutils
8649 check-fileutils:
8650 @: $(MAKE); $(unstage)
8651 @r=`${PWD_COMMAND}`; export r; \
8652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8653 $(HOST_EXPORTS) \
8654 (cd $(HOST_SUBDIR)/fileutils && \
8655 $(MAKE) $(FLAGS_TO_PASS) check)
8657 @endif fileutils
8659 .PHONY: install-fileutils maybe-install-fileutils
8660 maybe-install-fileutils:
8661 @if fileutils
8662 maybe-install-fileutils: install-fileutils
8664 install-fileutils: installdirs
8665 @: $(MAKE); $(unstage)
8666 @r=`${PWD_COMMAND}`; export r; \
8667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8668 $(HOST_EXPORTS) \
8669 (cd $(HOST_SUBDIR)/fileutils && \
8670 $(MAKE) $(FLAGS_TO_PASS) install)
8672 @endif fileutils
8674 # Other targets (info, dvi, etc.)
8676 .PHONY: maybe-info-fileutils info-fileutils
8677 maybe-info-fileutils:
8678 @if fileutils
8679 maybe-info-fileutils: info-fileutils
8681 info-fileutils: \
8682 configure-fileutils
8683 @: $(MAKE); $(unstage)
8684 @[ -f ./fileutils/Makefile ] || exit 0; \
8685 r=`${PWD_COMMAND}`; export r; \
8686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8687 $(HOST_EXPORTS) \
8688 for flag in $(EXTRA_HOST_FLAGS) ; do \
8689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8690 done; \
8691 echo "Doing info in fileutils" ; \
8692 (cd $(HOST_SUBDIR)/fileutils && \
8693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8695 "RANLIB=$${RANLIB}" \
8696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8697 info) \
8698 || exit 1
8700 @endif fileutils
8702 .PHONY: maybe-dvi-fileutils dvi-fileutils
8703 maybe-dvi-fileutils:
8704 @if fileutils
8705 maybe-dvi-fileutils: dvi-fileutils
8707 dvi-fileutils: \
8708 configure-fileutils
8709 @: $(MAKE); $(unstage)
8710 @[ -f ./fileutils/Makefile ] || exit 0; \
8711 r=`${PWD_COMMAND}`; export r; \
8712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8713 $(HOST_EXPORTS) \
8714 for flag in $(EXTRA_HOST_FLAGS) ; do \
8715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8716 done; \
8717 echo "Doing dvi in fileutils" ; \
8718 (cd $(HOST_SUBDIR)/fileutils && \
8719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8721 "RANLIB=$${RANLIB}" \
8722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8723 dvi) \
8724 || exit 1
8726 @endif fileutils
8728 .PHONY: maybe-html-fileutils html-fileutils
8729 maybe-html-fileutils:
8730 @if fileutils
8731 maybe-html-fileutils: html-fileutils
8733 html-fileutils: \
8734 configure-fileutils
8735 @: $(MAKE); $(unstage)
8736 @[ -f ./fileutils/Makefile ] || exit 0; \
8737 r=`${PWD_COMMAND}`; export r; \
8738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 $(HOST_EXPORTS) \
8740 for flag in $(EXTRA_HOST_FLAGS) ; do \
8741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8742 done; \
8743 echo "Doing html in fileutils" ; \
8744 (cd $(HOST_SUBDIR)/fileutils && \
8745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8747 "RANLIB=$${RANLIB}" \
8748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8749 html) \
8750 || exit 1
8752 @endif fileutils
8754 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8755 maybe-TAGS-fileutils:
8756 @if fileutils
8757 maybe-TAGS-fileutils: TAGS-fileutils
8759 TAGS-fileutils: \
8760 configure-fileutils
8761 @: $(MAKE); $(unstage)
8762 @[ -f ./fileutils/Makefile ] || exit 0; \
8763 r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(HOST_EXPORTS) \
8766 for flag in $(EXTRA_HOST_FLAGS) ; do \
8767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8768 done; \
8769 echo "Doing TAGS in fileutils" ; \
8770 (cd $(HOST_SUBDIR)/fileutils && \
8771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8773 "RANLIB=$${RANLIB}" \
8774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8775 TAGS) \
8776 || exit 1
8778 @endif fileutils
8780 .PHONY: maybe-install-info-fileutils install-info-fileutils
8781 maybe-install-info-fileutils:
8782 @if fileutils
8783 maybe-install-info-fileutils: install-info-fileutils
8785 install-info-fileutils: \
8786 configure-fileutils \
8787 info-fileutils
8788 @: $(MAKE); $(unstage)
8789 @[ -f ./fileutils/Makefile ] || exit 0; \
8790 r=`${PWD_COMMAND}`; export r; \
8791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8792 $(HOST_EXPORTS) \
8793 for flag in $(EXTRA_HOST_FLAGS) ; do \
8794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8795 done; \
8796 echo "Doing install-info in fileutils" ; \
8797 (cd $(HOST_SUBDIR)/fileutils && \
8798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8800 "RANLIB=$${RANLIB}" \
8801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8802 install-info) \
8803 || exit 1
8805 @endif fileutils
8807 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8808 maybe-installcheck-fileutils:
8809 @if fileutils
8810 maybe-installcheck-fileutils: installcheck-fileutils
8812 installcheck-fileutils: \
8813 configure-fileutils
8814 @: $(MAKE); $(unstage)
8815 @[ -f ./fileutils/Makefile ] || exit 0; \
8816 r=`${PWD_COMMAND}`; export r; \
8817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8818 $(HOST_EXPORTS) \
8819 for flag in $(EXTRA_HOST_FLAGS) ; do \
8820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8821 done; \
8822 echo "Doing installcheck in fileutils" ; \
8823 (cd $(HOST_SUBDIR)/fileutils && \
8824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8826 "RANLIB=$${RANLIB}" \
8827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8828 installcheck) \
8829 || exit 1
8831 @endif fileutils
8833 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8834 maybe-mostlyclean-fileutils:
8835 @if fileutils
8836 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8838 mostlyclean-fileutils:
8839 @: $(MAKE); $(unstage)
8840 @[ -f ./fileutils/Makefile ] || exit 0; \
8841 r=`${PWD_COMMAND}`; export r; \
8842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 $(HOST_EXPORTS) \
8844 for flag in $(EXTRA_HOST_FLAGS) ; do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing mostlyclean in fileutils" ; \
8848 (cd $(HOST_SUBDIR)/fileutils && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8853 mostlyclean) \
8854 || exit 1
8856 @endif fileutils
8858 .PHONY: maybe-clean-fileutils clean-fileutils
8859 maybe-clean-fileutils:
8860 @if fileutils
8861 maybe-clean-fileutils: clean-fileutils
8863 clean-fileutils:
8864 @: $(MAKE); $(unstage)
8865 @[ -f ./fileutils/Makefile ] || exit 0; \
8866 r=`${PWD_COMMAND}`; export r; \
8867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8868 $(HOST_EXPORTS) \
8869 for flag in $(EXTRA_HOST_FLAGS) ; do \
8870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8871 done; \
8872 echo "Doing clean in fileutils" ; \
8873 (cd $(HOST_SUBDIR)/fileutils && \
8874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8876 "RANLIB=$${RANLIB}" \
8877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8878 clean) \
8879 || exit 1
8881 @endif fileutils
8883 .PHONY: maybe-distclean-fileutils distclean-fileutils
8884 maybe-distclean-fileutils:
8885 @if fileutils
8886 maybe-distclean-fileutils: distclean-fileutils
8888 distclean-fileutils:
8889 @: $(MAKE); $(unstage)
8890 @[ -f ./fileutils/Makefile ] || exit 0; \
8891 r=`${PWD_COMMAND}`; export r; \
8892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8893 $(HOST_EXPORTS) \
8894 for flag in $(EXTRA_HOST_FLAGS) ; do \
8895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8896 done; \
8897 echo "Doing distclean in fileutils" ; \
8898 (cd $(HOST_SUBDIR)/fileutils && \
8899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8901 "RANLIB=$${RANLIB}" \
8902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8903 distclean) \
8904 || exit 1
8906 @endif fileutils
8908 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8909 maybe-maintainer-clean-fileutils:
8910 @if fileutils
8911 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8913 maintainer-clean-fileutils:
8914 @: $(MAKE); $(unstage)
8915 @[ -f ./fileutils/Makefile ] || exit 0; \
8916 r=`${PWD_COMMAND}`; export r; \
8917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8918 $(HOST_EXPORTS) \
8919 for flag in $(EXTRA_HOST_FLAGS) ; do \
8920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8921 done; \
8922 echo "Doing maintainer-clean in fileutils" ; \
8923 (cd $(HOST_SUBDIR)/fileutils && \
8924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8926 "RANLIB=$${RANLIB}" \
8927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8928 maintainer-clean) \
8929 || exit 1
8931 @endif fileutils
8935 .PHONY: configure-findutils maybe-configure-findutils
8936 maybe-configure-findutils:
8937 @if findutils
8938 maybe-configure-findutils: configure-findutils
8939 configure-findutils:
8940 @: $(MAKE); $(unstage)
8941 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8943 r=`${PWD_COMMAND}`; export r; \
8944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8945 $(HOST_EXPORTS) \
8946 echo Configuring in $(HOST_SUBDIR)/findutils; \
8947 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8948 case $(srcdir) in \
8949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8950 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8952 esac; \
8953 srcdiroption="--srcdir=$${topdir}/findutils"; \
8954 libsrcdir="$$s/findutils"; \
8955 $(SHELL) $${libsrcdir}/configure \
8956 $(HOST_CONFIGARGS) $${srcdiroption} \
8957 || exit 1
8958 @endif findutils
8964 .PHONY: all-findutils maybe-all-findutils
8965 maybe-all-findutils:
8966 @if findutils
8967 TARGET-findutils=all
8968 maybe-all-findutils: all-findutils
8969 all-findutils: configure-findutils
8970 @: $(MAKE); $(unstage)
8971 @r=`${PWD_COMMAND}`; export r; \
8972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 $(HOST_EXPORTS) \
8974 (cd $(HOST_SUBDIR)/findutils && \
8975 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8976 @endif findutils
8981 .PHONY: check-findutils maybe-check-findutils
8982 maybe-check-findutils:
8983 @if findutils
8984 maybe-check-findutils: check-findutils
8986 check-findutils:
8987 @: $(MAKE); $(unstage)
8988 @r=`${PWD_COMMAND}`; export r; \
8989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8990 $(HOST_EXPORTS) \
8991 (cd $(HOST_SUBDIR)/findutils && \
8992 $(MAKE) $(FLAGS_TO_PASS) check)
8994 @endif findutils
8996 .PHONY: install-findutils maybe-install-findutils
8997 maybe-install-findutils:
8998 @if findutils
8999 maybe-install-findutils: install-findutils
9001 install-findutils: installdirs
9002 @: $(MAKE); $(unstage)
9003 @r=`${PWD_COMMAND}`; export r; \
9004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9005 $(HOST_EXPORTS) \
9006 (cd $(HOST_SUBDIR)/findutils && \
9007 $(MAKE) $(FLAGS_TO_PASS) install)
9009 @endif findutils
9011 # Other targets (info, dvi, etc.)
9013 .PHONY: maybe-info-findutils info-findutils
9014 maybe-info-findutils:
9015 @if findutils
9016 maybe-info-findutils: info-findutils
9018 info-findutils: \
9019 configure-findutils
9020 @: $(MAKE); $(unstage)
9021 @[ -f ./findutils/Makefile ] || exit 0; \
9022 r=`${PWD_COMMAND}`; export r; \
9023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9024 $(HOST_EXPORTS) \
9025 for flag in $(EXTRA_HOST_FLAGS) ; do \
9026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9027 done; \
9028 echo "Doing info in findutils" ; \
9029 (cd $(HOST_SUBDIR)/findutils && \
9030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9032 "RANLIB=$${RANLIB}" \
9033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9034 info) \
9035 || exit 1
9037 @endif findutils
9039 .PHONY: maybe-dvi-findutils dvi-findutils
9040 maybe-dvi-findutils:
9041 @if findutils
9042 maybe-dvi-findutils: dvi-findutils
9044 dvi-findutils: \
9045 configure-findutils
9046 @: $(MAKE); $(unstage)
9047 @[ -f ./findutils/Makefile ] || exit 0; \
9048 r=`${PWD_COMMAND}`; export r; \
9049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9050 $(HOST_EXPORTS) \
9051 for flag in $(EXTRA_HOST_FLAGS) ; do \
9052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9053 done; \
9054 echo "Doing dvi in findutils" ; \
9055 (cd $(HOST_SUBDIR)/findutils && \
9056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9058 "RANLIB=$${RANLIB}" \
9059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9060 dvi) \
9061 || exit 1
9063 @endif findutils
9065 .PHONY: maybe-html-findutils html-findutils
9066 maybe-html-findutils:
9067 @if findutils
9068 maybe-html-findutils: html-findutils
9070 html-findutils: \
9071 configure-findutils
9072 @: $(MAKE); $(unstage)
9073 @[ -f ./findutils/Makefile ] || exit 0; \
9074 r=`${PWD_COMMAND}`; export r; \
9075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9076 $(HOST_EXPORTS) \
9077 for flag in $(EXTRA_HOST_FLAGS) ; do \
9078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9079 done; \
9080 echo "Doing html in findutils" ; \
9081 (cd $(HOST_SUBDIR)/findutils && \
9082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9084 "RANLIB=$${RANLIB}" \
9085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9086 html) \
9087 || exit 1
9089 @endif findutils
9091 .PHONY: maybe-TAGS-findutils TAGS-findutils
9092 maybe-TAGS-findutils:
9093 @if findutils
9094 maybe-TAGS-findutils: TAGS-findutils
9096 TAGS-findutils: \
9097 configure-findutils
9098 @: $(MAKE); $(unstage)
9099 @[ -f ./findutils/Makefile ] || exit 0; \
9100 r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 $(HOST_EXPORTS) \
9103 for flag in $(EXTRA_HOST_FLAGS) ; do \
9104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9105 done; \
9106 echo "Doing TAGS in findutils" ; \
9107 (cd $(HOST_SUBDIR)/findutils && \
9108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9110 "RANLIB=$${RANLIB}" \
9111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9112 TAGS) \
9113 || exit 1
9115 @endif findutils
9117 .PHONY: maybe-install-info-findutils install-info-findutils
9118 maybe-install-info-findutils:
9119 @if findutils
9120 maybe-install-info-findutils: install-info-findutils
9122 install-info-findutils: \
9123 configure-findutils \
9124 info-findutils
9125 @: $(MAKE); $(unstage)
9126 @[ -f ./findutils/Makefile ] || exit 0; \
9127 r=`${PWD_COMMAND}`; export r; \
9128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 $(HOST_EXPORTS) \
9130 for flag in $(EXTRA_HOST_FLAGS) ; do \
9131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9132 done; \
9133 echo "Doing install-info in findutils" ; \
9134 (cd $(HOST_SUBDIR)/findutils && \
9135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9137 "RANLIB=$${RANLIB}" \
9138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9139 install-info) \
9140 || exit 1
9142 @endif findutils
9144 .PHONY: maybe-installcheck-findutils installcheck-findutils
9145 maybe-installcheck-findutils:
9146 @if findutils
9147 maybe-installcheck-findutils: installcheck-findutils
9149 installcheck-findutils: \
9150 configure-findutils
9151 @: $(MAKE); $(unstage)
9152 @[ -f ./findutils/Makefile ] || exit 0; \
9153 r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 $(HOST_EXPORTS) \
9156 for flag in $(EXTRA_HOST_FLAGS) ; do \
9157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9158 done; \
9159 echo "Doing installcheck in findutils" ; \
9160 (cd $(HOST_SUBDIR)/findutils && \
9161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9163 "RANLIB=$${RANLIB}" \
9164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9165 installcheck) \
9166 || exit 1
9168 @endif findutils
9170 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9171 maybe-mostlyclean-findutils:
9172 @if findutils
9173 maybe-mostlyclean-findutils: mostlyclean-findutils
9175 mostlyclean-findutils:
9176 @: $(MAKE); $(unstage)
9177 @[ -f ./findutils/Makefile ] || exit 0; \
9178 r=`${PWD_COMMAND}`; export r; \
9179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9180 $(HOST_EXPORTS) \
9181 for flag in $(EXTRA_HOST_FLAGS) ; do \
9182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9183 done; \
9184 echo "Doing mostlyclean in findutils" ; \
9185 (cd $(HOST_SUBDIR)/findutils && \
9186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9188 "RANLIB=$${RANLIB}" \
9189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9190 mostlyclean) \
9191 || exit 1
9193 @endif findutils
9195 .PHONY: maybe-clean-findutils clean-findutils
9196 maybe-clean-findutils:
9197 @if findutils
9198 maybe-clean-findutils: clean-findutils
9200 clean-findutils:
9201 @: $(MAKE); $(unstage)
9202 @[ -f ./findutils/Makefile ] || exit 0; \
9203 r=`${PWD_COMMAND}`; export r; \
9204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9205 $(HOST_EXPORTS) \
9206 for flag in $(EXTRA_HOST_FLAGS) ; do \
9207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9208 done; \
9209 echo "Doing clean in findutils" ; \
9210 (cd $(HOST_SUBDIR)/findutils && \
9211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9213 "RANLIB=$${RANLIB}" \
9214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9215 clean) \
9216 || exit 1
9218 @endif findutils
9220 .PHONY: maybe-distclean-findutils distclean-findutils
9221 maybe-distclean-findutils:
9222 @if findutils
9223 maybe-distclean-findutils: distclean-findutils
9225 distclean-findutils:
9226 @: $(MAKE); $(unstage)
9227 @[ -f ./findutils/Makefile ] || exit 0; \
9228 r=`${PWD_COMMAND}`; export r; \
9229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 $(HOST_EXPORTS) \
9231 for flag in $(EXTRA_HOST_FLAGS) ; do \
9232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9233 done; \
9234 echo "Doing distclean in findutils" ; \
9235 (cd $(HOST_SUBDIR)/findutils && \
9236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9238 "RANLIB=$${RANLIB}" \
9239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9240 distclean) \
9241 || exit 1
9243 @endif findutils
9245 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9246 maybe-maintainer-clean-findutils:
9247 @if findutils
9248 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9250 maintainer-clean-findutils:
9251 @: $(MAKE); $(unstage)
9252 @[ -f ./findutils/Makefile ] || exit 0; \
9253 r=`${PWD_COMMAND}`; export r; \
9254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9255 $(HOST_EXPORTS) \
9256 for flag in $(EXTRA_HOST_FLAGS) ; do \
9257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9258 done; \
9259 echo "Doing maintainer-clean in findutils" ; \
9260 (cd $(HOST_SUBDIR)/findutils && \
9261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9263 "RANLIB=$${RANLIB}" \
9264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9265 maintainer-clean) \
9266 || exit 1
9268 @endif findutils
9272 .PHONY: configure-find maybe-configure-find
9273 maybe-configure-find:
9274 @if find
9275 maybe-configure-find: configure-find
9276 configure-find:
9277 @: $(MAKE); $(unstage)
9278 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9279 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9280 r=`${PWD_COMMAND}`; export r; \
9281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9282 $(HOST_EXPORTS) \
9283 echo Configuring in $(HOST_SUBDIR)/find; \
9284 cd "$(HOST_SUBDIR)/find" || exit 1; \
9285 case $(srcdir) in \
9286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9287 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9289 esac; \
9290 srcdiroption="--srcdir=$${topdir}/find"; \
9291 libsrcdir="$$s/find"; \
9292 $(SHELL) $${libsrcdir}/configure \
9293 $(HOST_CONFIGARGS) $${srcdiroption} \
9294 || exit 1
9295 @endif find
9301 .PHONY: all-find maybe-all-find
9302 maybe-all-find:
9303 @if find
9304 TARGET-find=all
9305 maybe-all-find: all-find
9306 all-find: configure-find
9307 @: $(MAKE); $(unstage)
9308 @r=`${PWD_COMMAND}`; export r; \
9309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9310 $(HOST_EXPORTS) \
9311 (cd $(HOST_SUBDIR)/find && \
9312 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9313 @endif find
9318 .PHONY: check-find maybe-check-find
9319 maybe-check-find:
9320 @if find
9321 maybe-check-find: check-find
9323 check-find:
9324 @: $(MAKE); $(unstage)
9325 @r=`${PWD_COMMAND}`; export r; \
9326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9327 $(HOST_EXPORTS) \
9328 (cd $(HOST_SUBDIR)/find && \
9329 $(MAKE) $(FLAGS_TO_PASS) check)
9331 @endif find
9333 .PHONY: install-find maybe-install-find
9334 maybe-install-find:
9335 @if find
9336 maybe-install-find: install-find
9338 install-find: installdirs
9339 @: $(MAKE); $(unstage)
9340 @r=`${PWD_COMMAND}`; export r; \
9341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9342 $(HOST_EXPORTS) \
9343 (cd $(HOST_SUBDIR)/find && \
9344 $(MAKE) $(FLAGS_TO_PASS) install)
9346 @endif find
9348 # Other targets (info, dvi, etc.)
9350 .PHONY: maybe-info-find info-find
9351 maybe-info-find:
9352 @if find
9353 maybe-info-find: info-find
9355 info-find: \
9356 configure-find
9357 @: $(MAKE); $(unstage)
9358 @[ -f ./find/Makefile ] || exit 0; \
9359 r=`${PWD_COMMAND}`; export r; \
9360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 $(HOST_EXPORTS) \
9362 for flag in $(EXTRA_HOST_FLAGS) ; do \
9363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9364 done; \
9365 echo "Doing info in find" ; \
9366 (cd $(HOST_SUBDIR)/find && \
9367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9369 "RANLIB=$${RANLIB}" \
9370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9371 info) \
9372 || exit 1
9374 @endif find
9376 .PHONY: maybe-dvi-find dvi-find
9377 maybe-dvi-find:
9378 @if find
9379 maybe-dvi-find: dvi-find
9381 dvi-find: \
9382 configure-find
9383 @: $(MAKE); $(unstage)
9384 @[ -f ./find/Makefile ] || exit 0; \
9385 r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 $(HOST_EXPORTS) \
9388 for flag in $(EXTRA_HOST_FLAGS) ; do \
9389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9390 done; \
9391 echo "Doing dvi in find" ; \
9392 (cd $(HOST_SUBDIR)/find && \
9393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9395 "RANLIB=$${RANLIB}" \
9396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9397 dvi) \
9398 || exit 1
9400 @endif find
9402 .PHONY: maybe-html-find html-find
9403 maybe-html-find:
9404 @if find
9405 maybe-html-find: html-find
9407 html-find: \
9408 configure-find
9409 @: $(MAKE); $(unstage)
9410 @[ -f ./find/Makefile ] || exit 0; \
9411 r=`${PWD_COMMAND}`; export r; \
9412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9413 $(HOST_EXPORTS) \
9414 for flag in $(EXTRA_HOST_FLAGS) ; do \
9415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9416 done; \
9417 echo "Doing html in find" ; \
9418 (cd $(HOST_SUBDIR)/find && \
9419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9421 "RANLIB=$${RANLIB}" \
9422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9423 html) \
9424 || exit 1
9426 @endif find
9428 .PHONY: maybe-TAGS-find TAGS-find
9429 maybe-TAGS-find:
9430 @if find
9431 maybe-TAGS-find: TAGS-find
9433 TAGS-find: \
9434 configure-find
9435 @: $(MAKE); $(unstage)
9436 @[ -f ./find/Makefile ] || exit 0; \
9437 r=`${PWD_COMMAND}`; export r; \
9438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9439 $(HOST_EXPORTS) \
9440 for flag in $(EXTRA_HOST_FLAGS) ; do \
9441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9442 done; \
9443 echo "Doing TAGS in find" ; \
9444 (cd $(HOST_SUBDIR)/find && \
9445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9447 "RANLIB=$${RANLIB}" \
9448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9449 TAGS) \
9450 || exit 1
9452 @endif find
9454 .PHONY: maybe-install-info-find install-info-find
9455 maybe-install-info-find:
9456 @if find
9457 maybe-install-info-find: install-info-find
9459 install-info-find: \
9460 configure-find \
9461 info-find
9462 @: $(MAKE); $(unstage)
9463 @[ -f ./find/Makefile ] || exit 0; \
9464 r=`${PWD_COMMAND}`; export r; \
9465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9466 $(HOST_EXPORTS) \
9467 for flag in $(EXTRA_HOST_FLAGS) ; do \
9468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9469 done; \
9470 echo "Doing install-info in find" ; \
9471 (cd $(HOST_SUBDIR)/find && \
9472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9474 "RANLIB=$${RANLIB}" \
9475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9476 install-info) \
9477 || exit 1
9479 @endif find
9481 .PHONY: maybe-installcheck-find installcheck-find
9482 maybe-installcheck-find:
9483 @if find
9484 maybe-installcheck-find: installcheck-find
9486 installcheck-find: \
9487 configure-find
9488 @: $(MAKE); $(unstage)
9489 @[ -f ./find/Makefile ] || exit 0; \
9490 r=`${PWD_COMMAND}`; export r; \
9491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9492 $(HOST_EXPORTS) \
9493 for flag in $(EXTRA_HOST_FLAGS) ; do \
9494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9495 done; \
9496 echo "Doing installcheck in find" ; \
9497 (cd $(HOST_SUBDIR)/find && \
9498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9500 "RANLIB=$${RANLIB}" \
9501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9502 installcheck) \
9503 || exit 1
9505 @endif find
9507 .PHONY: maybe-mostlyclean-find mostlyclean-find
9508 maybe-mostlyclean-find:
9509 @if find
9510 maybe-mostlyclean-find: mostlyclean-find
9512 mostlyclean-find:
9513 @: $(MAKE); $(unstage)
9514 @[ -f ./find/Makefile ] || exit 0; \
9515 r=`${PWD_COMMAND}`; export r; \
9516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 $(HOST_EXPORTS) \
9518 for flag in $(EXTRA_HOST_FLAGS) ; do \
9519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9520 done; \
9521 echo "Doing mostlyclean in find" ; \
9522 (cd $(HOST_SUBDIR)/find && \
9523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9525 "RANLIB=$${RANLIB}" \
9526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9527 mostlyclean) \
9528 || exit 1
9530 @endif find
9532 .PHONY: maybe-clean-find clean-find
9533 maybe-clean-find:
9534 @if find
9535 maybe-clean-find: clean-find
9537 clean-find:
9538 @: $(MAKE); $(unstage)
9539 @[ -f ./find/Makefile ] || exit 0; \
9540 r=`${PWD_COMMAND}`; export r; \
9541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 $(HOST_EXPORTS) \
9543 for flag in $(EXTRA_HOST_FLAGS) ; do \
9544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9545 done; \
9546 echo "Doing clean in find" ; \
9547 (cd $(HOST_SUBDIR)/find && \
9548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9550 "RANLIB=$${RANLIB}" \
9551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9552 clean) \
9553 || exit 1
9555 @endif find
9557 .PHONY: maybe-distclean-find distclean-find
9558 maybe-distclean-find:
9559 @if find
9560 maybe-distclean-find: distclean-find
9562 distclean-find:
9563 @: $(MAKE); $(unstage)
9564 @[ -f ./find/Makefile ] || exit 0; \
9565 r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 $(HOST_EXPORTS) \
9568 for flag in $(EXTRA_HOST_FLAGS) ; do \
9569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9570 done; \
9571 echo "Doing distclean in find" ; \
9572 (cd $(HOST_SUBDIR)/find && \
9573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9575 "RANLIB=$${RANLIB}" \
9576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9577 distclean) \
9578 || exit 1
9580 @endif find
9582 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9583 maybe-maintainer-clean-find:
9584 @if find
9585 maybe-maintainer-clean-find: maintainer-clean-find
9587 maintainer-clean-find:
9588 @: $(MAKE); $(unstage)
9589 @[ -f ./find/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592 $(HOST_EXPORTS) \
9593 for flag in $(EXTRA_HOST_FLAGS) ; do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 done; \
9596 echo "Doing maintainer-clean in find" ; \
9597 (cd $(HOST_SUBDIR)/find && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9602 maintainer-clean) \
9603 || exit 1
9605 @endif find
9609 .PHONY: configure-fixincludes maybe-configure-fixincludes
9610 maybe-configure-fixincludes:
9611 @if fixincludes
9612 maybe-configure-fixincludes: configure-fixincludes
9613 configure-fixincludes:
9614 @: $(MAKE); $(unstage)
9615 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9616 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9617 r=`${PWD_COMMAND}`; export r; \
9618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9619 $(HOST_EXPORTS) \
9620 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9621 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9622 case $(srcdir) in \
9623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9624 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9626 esac; \
9627 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9628 libsrcdir="$$s/fixincludes"; \
9629 $(SHELL) $${libsrcdir}/configure \
9630 $(HOST_CONFIGARGS) $${srcdiroption} \
9631 || exit 1
9632 @endif fixincludes
9638 .PHONY: all-fixincludes maybe-all-fixincludes
9639 maybe-all-fixincludes:
9640 @if fixincludes
9641 TARGET-fixincludes=all
9642 maybe-all-fixincludes: all-fixincludes
9643 all-fixincludes: configure-fixincludes
9644 @: $(MAKE); $(unstage)
9645 @r=`${PWD_COMMAND}`; export r; \
9646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9647 $(HOST_EXPORTS) \
9648 (cd $(HOST_SUBDIR)/fixincludes && \
9649 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9650 @endif fixincludes
9655 .PHONY: check-fixincludes maybe-check-fixincludes
9656 maybe-check-fixincludes:
9657 @if fixincludes
9658 maybe-check-fixincludes: check-fixincludes
9660 check-fixincludes:
9661 @: $(MAKE); $(unstage)
9662 @r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 $(HOST_EXPORTS) \
9665 (cd $(HOST_SUBDIR)/fixincludes && \
9666 $(MAKE) $(FLAGS_TO_PASS) check)
9668 @endif fixincludes
9670 .PHONY: install-fixincludes maybe-install-fixincludes
9671 maybe-install-fixincludes:
9672 @if fixincludes
9673 maybe-install-fixincludes: install-fixincludes
9675 install-fixincludes: installdirs
9676 @: $(MAKE); $(unstage)
9677 @r=`${PWD_COMMAND}`; export r; \
9678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9679 $(HOST_EXPORTS) \
9680 (cd $(HOST_SUBDIR)/fixincludes && \
9681 $(MAKE) $(FLAGS_TO_PASS) install)
9683 @endif fixincludes
9685 # Other targets (info, dvi, etc.)
9687 .PHONY: maybe-info-fixincludes info-fixincludes
9688 maybe-info-fixincludes:
9689 @if fixincludes
9690 maybe-info-fixincludes: info-fixincludes
9692 # fixincludes doesn't support info.
9693 info-fixincludes:
9695 @endif fixincludes
9697 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9698 maybe-dvi-fixincludes:
9699 @if fixincludes
9700 maybe-dvi-fixincludes: dvi-fixincludes
9702 # fixincludes doesn't support dvi.
9703 dvi-fixincludes:
9705 @endif fixincludes
9707 .PHONY: maybe-html-fixincludes html-fixincludes
9708 maybe-html-fixincludes:
9709 @if fixincludes
9710 maybe-html-fixincludes: html-fixincludes
9712 html-fixincludes: \
9713 configure-fixincludes
9714 @: $(MAKE); $(unstage)
9715 @[ -f ./fixincludes/Makefile ] || exit 0; \
9716 r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 $(HOST_EXPORTS) \
9719 for flag in $(EXTRA_HOST_FLAGS) ; do \
9720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9721 done; \
9722 echo "Doing html in fixincludes" ; \
9723 (cd $(HOST_SUBDIR)/fixincludes && \
9724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9726 "RANLIB=$${RANLIB}" \
9727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9728 html) \
9729 || exit 1
9731 @endif fixincludes
9733 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9734 maybe-TAGS-fixincludes:
9735 @if fixincludes
9736 maybe-TAGS-fixincludes: TAGS-fixincludes
9738 # fixincludes doesn't support TAGS.
9739 TAGS-fixincludes:
9741 @endif fixincludes
9743 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9744 maybe-install-info-fixincludes:
9745 @if fixincludes
9746 maybe-install-info-fixincludes: install-info-fixincludes
9748 # fixincludes doesn't support install-info.
9749 install-info-fixincludes:
9751 @endif fixincludes
9753 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9754 maybe-installcheck-fixincludes:
9755 @if fixincludes
9756 maybe-installcheck-fixincludes: installcheck-fixincludes
9758 # fixincludes doesn't support installcheck.
9759 installcheck-fixincludes:
9761 @endif fixincludes
9763 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9764 maybe-mostlyclean-fixincludes:
9765 @if fixincludes
9766 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9768 mostlyclean-fixincludes:
9769 @: $(MAKE); $(unstage)
9770 @[ -f ./fixincludes/Makefile ] || exit 0; \
9771 r=`${PWD_COMMAND}`; export r; \
9772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9773 $(HOST_EXPORTS) \
9774 for flag in $(EXTRA_HOST_FLAGS) ; do \
9775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9776 done; \
9777 echo "Doing mostlyclean in fixincludes" ; \
9778 (cd $(HOST_SUBDIR)/fixincludes && \
9779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9781 "RANLIB=$${RANLIB}" \
9782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9783 mostlyclean) \
9784 || exit 1
9786 @endif fixincludes
9788 .PHONY: maybe-clean-fixincludes clean-fixincludes
9789 maybe-clean-fixincludes:
9790 @if fixincludes
9791 maybe-clean-fixincludes: clean-fixincludes
9793 clean-fixincludes:
9794 @: $(MAKE); $(unstage)
9795 @[ -f ./fixincludes/Makefile ] || exit 0; \
9796 r=`${PWD_COMMAND}`; export r; \
9797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9798 $(HOST_EXPORTS) \
9799 for flag in $(EXTRA_HOST_FLAGS) ; do \
9800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9801 done; \
9802 echo "Doing clean in fixincludes" ; \
9803 (cd $(HOST_SUBDIR)/fixincludes && \
9804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9806 "RANLIB=$${RANLIB}" \
9807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9808 clean) \
9809 || exit 1
9811 @endif fixincludes
9813 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9814 maybe-distclean-fixincludes:
9815 @if fixincludes
9816 maybe-distclean-fixincludes: distclean-fixincludes
9818 distclean-fixincludes:
9819 @: $(MAKE); $(unstage)
9820 @[ -f ./fixincludes/Makefile ] || exit 0; \
9821 r=`${PWD_COMMAND}`; export r; \
9822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9823 $(HOST_EXPORTS) \
9824 for flag in $(EXTRA_HOST_FLAGS) ; do \
9825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9826 done; \
9827 echo "Doing distclean in fixincludes" ; \
9828 (cd $(HOST_SUBDIR)/fixincludes && \
9829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9831 "RANLIB=$${RANLIB}" \
9832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9833 distclean) \
9834 || exit 1
9836 @endif fixincludes
9838 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9839 maybe-maintainer-clean-fixincludes:
9840 @if fixincludes
9841 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9843 maintainer-clean-fixincludes:
9844 @: $(MAKE); $(unstage)
9845 @[ -f ./fixincludes/Makefile ] || exit 0; \
9846 r=`${PWD_COMMAND}`; export r; \
9847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9848 $(HOST_EXPORTS) \
9849 for flag in $(EXTRA_HOST_FLAGS) ; do \
9850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9851 done; \
9852 echo "Doing maintainer-clean in fixincludes" ; \
9853 (cd $(HOST_SUBDIR)/fixincludes && \
9854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9856 "RANLIB=$${RANLIB}" \
9857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9858 maintainer-clean) \
9859 || exit 1
9861 @endif fixincludes
9865 .PHONY: configure-flex maybe-configure-flex
9866 maybe-configure-flex:
9867 @if flex
9868 maybe-configure-flex: configure-flex
9869 configure-flex:
9870 @: $(MAKE); $(unstage)
9871 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9873 r=`${PWD_COMMAND}`; export r; \
9874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9875 $(HOST_EXPORTS) \
9876 echo Configuring in $(HOST_SUBDIR)/flex; \
9877 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9878 case $(srcdir) in \
9879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9880 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9882 esac; \
9883 srcdiroption="--srcdir=$${topdir}/flex"; \
9884 libsrcdir="$$s/flex"; \
9885 $(SHELL) $${libsrcdir}/configure \
9886 $(HOST_CONFIGARGS) $${srcdiroption} \
9887 || exit 1
9888 @endif flex
9894 .PHONY: all-flex maybe-all-flex
9895 maybe-all-flex:
9896 @if flex
9897 TARGET-flex=all
9898 maybe-all-flex: all-flex
9899 all-flex: configure-flex
9900 @: $(MAKE); $(unstage)
9901 @r=`${PWD_COMMAND}`; export r; \
9902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9903 $(HOST_EXPORTS) \
9904 (cd $(HOST_SUBDIR)/flex && \
9905 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9906 @endif flex
9911 .PHONY: check-flex maybe-check-flex
9912 maybe-check-flex:
9913 @if flex
9914 maybe-check-flex: check-flex
9916 # This module is only tested in a native toolchain.
9917 check-flex:
9918 @: $(MAKE); $(unstage)
9919 @if [ '$(host)' = '$(target)' ] ; then \
9920 r=`${PWD_COMMAND}`; export r; \
9921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9922 $(HOST_EXPORTS) \
9923 (cd $(HOST_SUBDIR)/flex && \
9924 $(MAKE) $(FLAGS_TO_PASS) check); \
9927 @endif flex
9929 .PHONY: install-flex maybe-install-flex
9930 maybe-install-flex:
9931 @if flex
9932 maybe-install-flex: install-flex
9934 install-flex: installdirs
9935 @: $(MAKE); $(unstage)
9936 @r=`${PWD_COMMAND}`; export r; \
9937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 $(HOST_EXPORTS) \
9939 (cd $(HOST_SUBDIR)/flex && \
9940 $(MAKE) $(FLAGS_TO_PASS) install)
9942 @endif flex
9944 # Other targets (info, dvi, etc.)
9946 .PHONY: maybe-info-flex info-flex
9947 maybe-info-flex:
9948 @if flex
9949 maybe-info-flex: info-flex
9951 info-flex: \
9952 configure-flex
9953 @: $(MAKE); $(unstage)
9954 @[ -f ./flex/Makefile ] || exit 0; \
9955 r=`${PWD_COMMAND}`; export r; \
9956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 $(HOST_EXPORTS) \
9958 for flag in $(EXTRA_HOST_FLAGS) ; do \
9959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9960 done; \
9961 echo "Doing info in flex" ; \
9962 (cd $(HOST_SUBDIR)/flex && \
9963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9965 "RANLIB=$${RANLIB}" \
9966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9967 info) \
9968 || exit 1
9970 @endif flex
9972 .PHONY: maybe-dvi-flex dvi-flex
9973 maybe-dvi-flex:
9974 @if flex
9975 maybe-dvi-flex: dvi-flex
9977 dvi-flex: \
9978 configure-flex
9979 @: $(MAKE); $(unstage)
9980 @[ -f ./flex/Makefile ] || exit 0; \
9981 r=`${PWD_COMMAND}`; export r; \
9982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 $(HOST_EXPORTS) \
9984 for flag in $(EXTRA_HOST_FLAGS) ; do \
9985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9986 done; \
9987 echo "Doing dvi in flex" ; \
9988 (cd $(HOST_SUBDIR)/flex && \
9989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9991 "RANLIB=$${RANLIB}" \
9992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9993 dvi) \
9994 || exit 1
9996 @endif flex
9998 .PHONY: maybe-html-flex html-flex
9999 maybe-html-flex:
10000 @if flex
10001 maybe-html-flex: html-flex
10003 html-flex: \
10004 configure-flex
10005 @: $(MAKE); $(unstage)
10006 @[ -f ./flex/Makefile ] || exit 0; \
10007 r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 $(HOST_EXPORTS) \
10010 for flag in $(EXTRA_HOST_FLAGS) ; do \
10011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10012 done; \
10013 echo "Doing html in flex" ; \
10014 (cd $(HOST_SUBDIR)/flex && \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10019 html) \
10020 || exit 1
10022 @endif flex
10024 .PHONY: maybe-TAGS-flex TAGS-flex
10025 maybe-TAGS-flex:
10026 @if flex
10027 maybe-TAGS-flex: TAGS-flex
10029 TAGS-flex: \
10030 configure-flex
10031 @: $(MAKE); $(unstage)
10032 @[ -f ./flex/Makefile ] || exit 0; \
10033 r=`${PWD_COMMAND}`; export r; \
10034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10035 $(HOST_EXPORTS) \
10036 for flag in $(EXTRA_HOST_FLAGS) ; do \
10037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10038 done; \
10039 echo "Doing TAGS in flex" ; \
10040 (cd $(HOST_SUBDIR)/flex && \
10041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10043 "RANLIB=$${RANLIB}" \
10044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10045 TAGS) \
10046 || exit 1
10048 @endif flex
10050 .PHONY: maybe-install-info-flex install-info-flex
10051 maybe-install-info-flex:
10052 @if flex
10053 maybe-install-info-flex: install-info-flex
10055 install-info-flex: \
10056 configure-flex \
10057 info-flex
10058 @: $(MAKE); $(unstage)
10059 @[ -f ./flex/Makefile ] || exit 0; \
10060 r=`${PWD_COMMAND}`; export r; \
10061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10062 $(HOST_EXPORTS) \
10063 for flag in $(EXTRA_HOST_FLAGS) ; do \
10064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10065 done; \
10066 echo "Doing install-info in flex" ; \
10067 (cd $(HOST_SUBDIR)/flex && \
10068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10070 "RANLIB=$${RANLIB}" \
10071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10072 install-info) \
10073 || exit 1
10075 @endif flex
10077 .PHONY: maybe-installcheck-flex installcheck-flex
10078 maybe-installcheck-flex:
10079 @if flex
10080 maybe-installcheck-flex: installcheck-flex
10082 installcheck-flex: \
10083 configure-flex
10084 @: $(MAKE); $(unstage)
10085 @[ -f ./flex/Makefile ] || exit 0; \
10086 r=`${PWD_COMMAND}`; export r; \
10087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10088 $(HOST_EXPORTS) \
10089 for flag in $(EXTRA_HOST_FLAGS) ; do \
10090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10091 done; \
10092 echo "Doing installcheck in flex" ; \
10093 (cd $(HOST_SUBDIR)/flex && \
10094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10096 "RANLIB=$${RANLIB}" \
10097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10098 installcheck) \
10099 || exit 1
10101 @endif flex
10103 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10104 maybe-mostlyclean-flex:
10105 @if flex
10106 maybe-mostlyclean-flex: mostlyclean-flex
10108 mostlyclean-flex:
10109 @: $(MAKE); $(unstage)
10110 @[ -f ./flex/Makefile ] || exit 0; \
10111 r=`${PWD_COMMAND}`; export r; \
10112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10113 $(HOST_EXPORTS) \
10114 for flag in $(EXTRA_HOST_FLAGS) ; do \
10115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10116 done; \
10117 echo "Doing mostlyclean in flex" ; \
10118 (cd $(HOST_SUBDIR)/flex && \
10119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10121 "RANLIB=$${RANLIB}" \
10122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10123 mostlyclean) \
10124 || exit 1
10126 @endif flex
10128 .PHONY: maybe-clean-flex clean-flex
10129 maybe-clean-flex:
10130 @if flex
10131 maybe-clean-flex: clean-flex
10133 clean-flex:
10134 @: $(MAKE); $(unstage)
10135 @[ -f ./flex/Makefile ] || exit 0; \
10136 r=`${PWD_COMMAND}`; export r; \
10137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10138 $(HOST_EXPORTS) \
10139 for flag in $(EXTRA_HOST_FLAGS) ; do \
10140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10141 done; \
10142 echo "Doing clean in flex" ; \
10143 (cd $(HOST_SUBDIR)/flex && \
10144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10146 "RANLIB=$${RANLIB}" \
10147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10148 clean) \
10149 || exit 1
10151 @endif flex
10153 .PHONY: maybe-distclean-flex distclean-flex
10154 maybe-distclean-flex:
10155 @if flex
10156 maybe-distclean-flex: distclean-flex
10158 distclean-flex:
10159 @: $(MAKE); $(unstage)
10160 @[ -f ./flex/Makefile ] || exit 0; \
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163 $(HOST_EXPORTS) \
10164 for flag in $(EXTRA_HOST_FLAGS) ; do \
10165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10166 done; \
10167 echo "Doing distclean in flex" ; \
10168 (cd $(HOST_SUBDIR)/flex && \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173 distclean) \
10174 || exit 1
10176 @endif flex
10178 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10179 maybe-maintainer-clean-flex:
10180 @if flex
10181 maybe-maintainer-clean-flex: maintainer-clean-flex
10183 maintainer-clean-flex:
10184 @: $(MAKE); $(unstage)
10185 @[ -f ./flex/Makefile ] || exit 0; \
10186 r=`${PWD_COMMAND}`; export r; \
10187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10188 $(HOST_EXPORTS) \
10189 for flag in $(EXTRA_HOST_FLAGS) ; do \
10190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10191 done; \
10192 echo "Doing maintainer-clean in flex" ; \
10193 (cd $(HOST_SUBDIR)/flex && \
10194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10196 "RANLIB=$${RANLIB}" \
10197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10198 maintainer-clean) \
10199 || exit 1
10201 @endif flex
10205 .PHONY: configure-gas maybe-configure-gas
10206 maybe-configure-gas:
10207 @if gas
10208 maybe-configure-gas: configure-gas
10209 configure-gas:
10210 @test -f stage_last && exit 0; \
10211 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10213 r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(HOST_EXPORTS) \
10216 echo Configuring in $(HOST_SUBDIR)/gas; \
10217 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10218 case $(srcdir) in \
10219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10220 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10222 esac; \
10223 srcdiroption="--srcdir=$${topdir}/gas"; \
10224 libsrcdir="$$s/gas"; \
10225 $(SHELL) $${libsrcdir}/configure \
10226 $(HOST_CONFIGARGS) $${srcdiroption} \
10227 || exit 1
10228 @endif gas
10232 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10233 maybe-configure-stage1-gas:
10234 @if gas-bootstrap
10235 maybe-configure-stage1-gas: configure-stage1-gas
10236 configure-stage1-gas:
10237 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10238 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10239 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10240 $(HOST_EXPORTS) \
10241 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10243 cd $(HOST_SUBDIR)/gas || exit 1; \
10244 case $(srcdir) in \
10245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10246 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10248 esac; \
10249 srcdiroption="--srcdir=$${topdir}/gas"; \
10250 libsrcdir="$$s/gas"; \
10251 $(SHELL) $${libsrcdir}/configure \
10252 $(HOST_CONFIGARGS) $${srcdiroption} \
10253 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10254 @endif gas-bootstrap
10256 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10257 maybe-configure-stage2-gas:
10258 @if gas-bootstrap
10259 maybe-configure-stage2-gas: configure-stage2-gas
10260 configure-stage2-gas:
10261 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10262 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10263 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10264 $(HOST_EXPORTS) \
10265 $(POSTSTAGE1_HOST_EXPORTS) \
10266 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10268 cd $(HOST_SUBDIR)/gas || exit 1; \
10269 case $(srcdir) in \
10270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10271 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10273 esac; \
10274 srcdiroption="--srcdir=$${topdir}/gas"; \
10275 libsrcdir="$$s/gas"; \
10276 $(SHELL) $${libsrcdir}/configure \
10277 $(HOST_CONFIGARGS) $${srcdiroption} \
10278 @stage2_werror_flag@
10279 @endif gas-bootstrap
10281 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10282 maybe-configure-stage3-gas:
10283 @if gas-bootstrap
10284 maybe-configure-stage3-gas: configure-stage3-gas
10285 configure-stage3-gas:
10286 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10288 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10289 $(HOST_EXPORTS) \
10290 $(POSTSTAGE1_HOST_EXPORTS) \
10291 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10293 cd $(HOST_SUBDIR)/gas || exit 1; \
10294 case $(srcdir) in \
10295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10296 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10298 esac; \
10299 srcdiroption="--srcdir=$${topdir}/gas"; \
10300 libsrcdir="$$s/gas"; \
10301 $(SHELL) $${libsrcdir}/configure \
10302 $(HOST_CONFIGARGS) $${srcdiroption} \
10303 @stage2_werror_flag@
10304 @endif gas-bootstrap
10306 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10307 maybe-configure-stage4-gas:
10308 @if gas-bootstrap
10309 maybe-configure-stage4-gas: configure-stage4-gas
10310 configure-stage4-gas:
10311 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10312 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10313 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10314 $(HOST_EXPORTS) \
10315 $(POSTSTAGE1_HOST_EXPORTS) \
10316 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10317 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10318 cd $(HOST_SUBDIR)/gas || exit 1; \
10319 case $(srcdir) in \
10320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10321 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10323 esac; \
10324 srcdiroption="--srcdir=$${topdir}/gas"; \
10325 libsrcdir="$$s/gas"; \
10326 $(SHELL) $${libsrcdir}/configure \
10327 $(HOST_CONFIGARGS) $${srcdiroption} \
10328 @stage2_werror_flag@
10329 @endif gas-bootstrap
10331 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10332 maybe-configure-stageprofile-gas:
10333 @if gas-bootstrap
10334 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10335 configure-stageprofile-gas:
10336 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10337 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10338 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10339 $(HOST_EXPORTS) \
10340 $(POSTSTAGE1_HOST_EXPORTS) \
10341 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10343 cd $(HOST_SUBDIR)/gas || exit 1; \
10344 case $(srcdir) in \
10345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10346 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10348 esac; \
10349 srcdiroption="--srcdir=$${topdir}/gas"; \
10350 libsrcdir="$$s/gas"; \
10351 $(SHELL) $${libsrcdir}/configure \
10352 $(HOST_CONFIGARGS) $${srcdiroption} \
10353 @stage2_werror_flag@
10354 @endif gas-bootstrap
10356 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10357 maybe-configure-stagefeedback-gas:
10358 @if gas-bootstrap
10359 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10360 configure-stagefeedback-gas:
10361 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10362 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10363 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10364 $(HOST_EXPORTS) \
10365 $(POSTSTAGE1_HOST_EXPORTS) \
10366 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10368 cd $(HOST_SUBDIR)/gas || exit 1; \
10369 case $(srcdir) in \
10370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10371 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10373 esac; \
10374 srcdiroption="--srcdir=$${topdir}/gas"; \
10375 libsrcdir="$$s/gas"; \
10376 $(SHELL) $${libsrcdir}/configure \
10377 $(HOST_CONFIGARGS) $${srcdiroption} \
10378 @stage2_werror_flag@
10379 @endif gas-bootstrap
10385 .PHONY: all-gas maybe-all-gas
10386 maybe-all-gas:
10387 @if gas
10388 TARGET-gas=all
10389 maybe-all-gas: all-gas
10390 all-gas: configure-gas
10391 @test -f stage_last && exit 0; \
10392 r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(HOST_EXPORTS) \
10395 (cd $(HOST_SUBDIR)/gas && \
10396 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10397 @endif gas
10401 .PHONY: all-stage1-gas maybe-all-stage1-gas
10402 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10403 maybe-all-stage1-gas:
10404 maybe-clean-stage1-gas:
10405 @if gas-bootstrap
10406 maybe-all-stage1-gas: all-stage1-gas
10407 all-stage1: all-stage1-gas
10408 TARGET-stage1-gas = $(TARGET-gas)
10409 all-stage1-gas: configure-stage1-gas
10410 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10411 @r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10413 $(HOST_EXPORTS) \
10414 cd $(HOST_SUBDIR)/gas && \
10415 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10416 $(TARGET-stage1-gas)
10418 maybe-clean-stage1-gas: clean-stage1-gas
10419 clean-stage1: clean-stage1-gas
10420 clean-stage1-gas:
10421 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10422 || exit 0 ; \
10423 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10424 cd $(HOST_SUBDIR)/gas && \
10425 $(MAKE) $(FLAGS_TO_PASS) \
10426 CFLAGS="$(STAGE1_CFLAGS)" clean
10427 @endif gas-bootstrap
10430 .PHONY: all-stage2-gas maybe-all-stage2-gas
10431 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10432 maybe-all-stage2-gas:
10433 maybe-clean-stage2-gas:
10434 @if gas-bootstrap
10435 maybe-all-stage2-gas: all-stage2-gas
10436 all-stage2: all-stage2-gas
10437 TARGET-stage2-gas = $(TARGET-gas)
10438 all-stage2-gas: configure-stage2-gas
10439 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10440 @r=`${PWD_COMMAND}`; export r; \
10441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10442 $(HOST_EXPORTS) \
10443 $(POSTSTAGE1_HOST_EXPORTS) \
10444 cd $(HOST_SUBDIR)/gas && \
10445 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10446 $(TARGET-stage2-gas)
10448 maybe-clean-stage2-gas: clean-stage2-gas
10449 clean-stage2: clean-stage2-gas
10450 clean-stage2-gas:
10451 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10452 || exit 0 ; \
10453 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10454 cd $(HOST_SUBDIR)/gas && \
10455 $(MAKE) $(FLAGS_TO_PASS) \
10456 $(POSTSTAGE1_FLAGS_TO_PASS) \
10457 clean
10458 @endif gas-bootstrap
10461 .PHONY: all-stage3-gas maybe-all-stage3-gas
10462 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10463 maybe-all-stage3-gas:
10464 maybe-clean-stage3-gas:
10465 @if gas-bootstrap
10466 maybe-all-stage3-gas: all-stage3-gas
10467 all-stage3: all-stage3-gas
10468 TARGET-stage3-gas = $(TARGET-gas)
10469 all-stage3-gas: configure-stage3-gas
10470 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10471 @r=`${PWD_COMMAND}`; export r; \
10472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10473 $(HOST_EXPORTS) \
10474 $(POSTSTAGE1_HOST_EXPORTS) \
10475 cd $(HOST_SUBDIR)/gas && \
10476 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10477 $(TARGET-stage3-gas)
10479 maybe-clean-stage3-gas: clean-stage3-gas
10480 clean-stage3: clean-stage3-gas
10481 clean-stage3-gas:
10482 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10483 || exit 0 ; \
10484 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10485 cd $(HOST_SUBDIR)/gas && \
10486 $(MAKE) $(FLAGS_TO_PASS) \
10487 $(POSTSTAGE1_FLAGS_TO_PASS) \
10488 clean
10489 @endif gas-bootstrap
10492 .PHONY: all-stage4-gas maybe-all-stage4-gas
10493 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10494 maybe-all-stage4-gas:
10495 maybe-clean-stage4-gas:
10496 @if gas-bootstrap
10497 maybe-all-stage4-gas: all-stage4-gas
10498 all-stage4: all-stage4-gas
10499 TARGET-stage4-gas = $(TARGET-gas)
10500 all-stage4-gas: configure-stage4-gas
10501 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10502 @r=`${PWD_COMMAND}`; export r; \
10503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10504 $(HOST_EXPORTS) \
10505 $(POSTSTAGE1_HOST_EXPORTS) \
10506 cd $(HOST_SUBDIR)/gas && \
10507 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10508 $(TARGET-stage4-gas)
10510 maybe-clean-stage4-gas: clean-stage4-gas
10511 clean-stage4: clean-stage4-gas
10512 clean-stage4-gas:
10513 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10514 || exit 0 ; \
10515 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10516 cd $(HOST_SUBDIR)/gas && \
10517 $(MAKE) $(FLAGS_TO_PASS) \
10518 $(POSTSTAGE1_FLAGS_TO_PASS) \
10519 clean
10520 @endif gas-bootstrap
10523 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10524 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10525 maybe-all-stageprofile-gas:
10526 maybe-clean-stageprofile-gas:
10527 @if gas-bootstrap
10528 maybe-all-stageprofile-gas: all-stageprofile-gas
10529 all-stageprofile: all-stageprofile-gas
10530 TARGET-stageprofile-gas = $(TARGET-gas)
10531 all-stageprofile-gas: configure-stageprofile-gas
10532 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10533 @r=`${PWD_COMMAND}`; export r; \
10534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10535 $(HOST_EXPORTS) \
10536 $(POSTSTAGE1_HOST_EXPORTS) \
10537 cd $(HOST_SUBDIR)/gas && \
10538 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10539 $(TARGET-stageprofile-gas)
10541 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10542 clean-stageprofile: clean-stageprofile-gas
10543 clean-stageprofile-gas:
10544 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10545 || exit 0 ; \
10546 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10547 cd $(HOST_SUBDIR)/gas && \
10548 $(MAKE) $(FLAGS_TO_PASS) \
10549 $(POSTSTAGE1_FLAGS_TO_PASS) \
10550 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10551 @endif gas-bootstrap
10554 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10555 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10556 maybe-all-stagefeedback-gas:
10557 maybe-clean-stagefeedback-gas:
10558 @if gas-bootstrap
10559 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10560 all-stagefeedback: all-stagefeedback-gas
10561 TARGET-stagefeedback-gas = $(TARGET-gas)
10562 all-stagefeedback-gas: configure-stagefeedback-gas
10563 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10564 @r=`${PWD_COMMAND}`; export r; \
10565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10566 $(HOST_EXPORTS) \
10567 $(POSTSTAGE1_HOST_EXPORTS) \
10568 cd $(HOST_SUBDIR)/gas && \
10569 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10570 $(TARGET-stagefeedback-gas)
10572 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10573 clean-stagefeedback: clean-stagefeedback-gas
10574 clean-stagefeedback-gas:
10575 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10576 || exit 0 ; \
10577 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10578 cd $(HOST_SUBDIR)/gas && \
10579 $(MAKE) $(FLAGS_TO_PASS) \
10580 $(POSTSTAGE1_FLAGS_TO_PASS) \
10581 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10582 @endif gas-bootstrap
10588 .PHONY: check-gas maybe-check-gas
10589 maybe-check-gas:
10590 @if gas
10591 maybe-check-gas: check-gas
10593 check-gas:
10594 @: $(MAKE); $(unstage)
10595 @r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597 $(HOST_EXPORTS) \
10598 (cd $(HOST_SUBDIR)/gas && \
10599 $(MAKE) $(FLAGS_TO_PASS) check)
10601 @endif gas
10603 .PHONY: install-gas maybe-install-gas
10604 maybe-install-gas:
10605 @if gas
10606 maybe-install-gas: install-gas
10608 install-gas: installdirs
10609 @: $(MAKE); $(unstage)
10610 @r=`${PWD_COMMAND}`; export r; \
10611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10612 $(HOST_EXPORTS) \
10613 (cd $(HOST_SUBDIR)/gas && \
10614 $(MAKE) $(FLAGS_TO_PASS) install)
10616 @endif gas
10618 # Other targets (info, dvi, etc.)
10620 .PHONY: maybe-info-gas info-gas
10621 maybe-info-gas:
10622 @if gas
10623 maybe-info-gas: info-gas
10625 info-gas: \
10626 configure-gas
10627 @[ -f ./gas/Makefile ] || exit 0; \
10628 r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 $(HOST_EXPORTS) \
10631 for flag in $(EXTRA_HOST_FLAGS) ; do \
10632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10633 done; \
10634 echo "Doing info in gas" ; \
10635 (cd $(HOST_SUBDIR)/gas && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10638 "RANLIB=$${RANLIB}" \
10639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10640 info) \
10641 || exit 1
10643 @endif gas
10645 .PHONY: maybe-dvi-gas dvi-gas
10646 maybe-dvi-gas:
10647 @if gas
10648 maybe-dvi-gas: dvi-gas
10650 dvi-gas: \
10651 configure-gas
10652 @[ -f ./gas/Makefile ] || exit 0; \
10653 r=`${PWD_COMMAND}`; export r; \
10654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10655 $(HOST_EXPORTS) \
10656 for flag in $(EXTRA_HOST_FLAGS) ; do \
10657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10658 done; \
10659 echo "Doing dvi in gas" ; \
10660 (cd $(HOST_SUBDIR)/gas && \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10663 "RANLIB=$${RANLIB}" \
10664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10665 dvi) \
10666 || exit 1
10668 @endif gas
10670 .PHONY: maybe-html-gas html-gas
10671 maybe-html-gas:
10672 @if gas
10673 maybe-html-gas: html-gas
10675 html-gas: \
10676 configure-gas
10677 @[ -f ./gas/Makefile ] || exit 0; \
10678 r=`${PWD_COMMAND}`; export r; \
10679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10680 $(HOST_EXPORTS) \
10681 for flag in $(EXTRA_HOST_FLAGS) ; do \
10682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10683 done; \
10684 echo "Doing html in gas" ; \
10685 (cd $(HOST_SUBDIR)/gas && \
10686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10688 "RANLIB=$${RANLIB}" \
10689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10690 html) \
10691 || exit 1
10693 @endif gas
10695 .PHONY: maybe-TAGS-gas TAGS-gas
10696 maybe-TAGS-gas:
10697 @if gas
10698 maybe-TAGS-gas: TAGS-gas
10700 TAGS-gas: \
10701 configure-gas
10702 @[ -f ./gas/Makefile ] || exit 0; \
10703 r=`${PWD_COMMAND}`; export r; \
10704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10705 $(HOST_EXPORTS) \
10706 for flag in $(EXTRA_HOST_FLAGS) ; do \
10707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10708 done; \
10709 echo "Doing TAGS in gas" ; \
10710 (cd $(HOST_SUBDIR)/gas && \
10711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10713 "RANLIB=$${RANLIB}" \
10714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10715 TAGS) \
10716 || exit 1
10718 @endif gas
10720 .PHONY: maybe-install-info-gas install-info-gas
10721 maybe-install-info-gas:
10722 @if gas
10723 maybe-install-info-gas: install-info-gas
10725 install-info-gas: \
10726 configure-gas \
10727 info-gas
10728 @[ -f ./gas/Makefile ] || exit 0; \
10729 r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731 $(HOST_EXPORTS) \
10732 for flag in $(EXTRA_HOST_FLAGS) ; do \
10733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10734 done; \
10735 echo "Doing install-info in gas" ; \
10736 (cd $(HOST_SUBDIR)/gas && \
10737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10739 "RANLIB=$${RANLIB}" \
10740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10741 install-info) \
10742 || exit 1
10744 @endif gas
10746 .PHONY: maybe-installcheck-gas installcheck-gas
10747 maybe-installcheck-gas:
10748 @if gas
10749 maybe-installcheck-gas: installcheck-gas
10751 installcheck-gas: \
10752 configure-gas
10753 @[ -f ./gas/Makefile ] || exit 0; \
10754 r=`${PWD_COMMAND}`; export r; \
10755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10756 $(HOST_EXPORTS) \
10757 for flag in $(EXTRA_HOST_FLAGS) ; do \
10758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10759 done; \
10760 echo "Doing installcheck in gas" ; \
10761 (cd $(HOST_SUBDIR)/gas && \
10762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10764 "RANLIB=$${RANLIB}" \
10765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10766 installcheck) \
10767 || exit 1
10769 @endif gas
10771 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10772 maybe-mostlyclean-gas:
10773 @if gas
10774 maybe-mostlyclean-gas: mostlyclean-gas
10776 mostlyclean-gas:
10777 @[ -f ./gas/Makefile ] || exit 0; \
10778 r=`${PWD_COMMAND}`; export r; \
10779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10780 $(HOST_EXPORTS) \
10781 for flag in $(EXTRA_HOST_FLAGS) ; do \
10782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10783 done; \
10784 echo "Doing mostlyclean in gas" ; \
10785 (cd $(HOST_SUBDIR)/gas && \
10786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10788 "RANLIB=$${RANLIB}" \
10789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10790 mostlyclean) \
10791 || exit 1
10793 @endif gas
10795 .PHONY: maybe-clean-gas clean-gas
10796 maybe-clean-gas:
10797 @if gas
10798 maybe-clean-gas: clean-gas
10800 clean-gas:
10801 @[ -f ./gas/Makefile ] || exit 0; \
10802 r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804 $(HOST_EXPORTS) \
10805 for flag in $(EXTRA_HOST_FLAGS) ; do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807 done; \
10808 echo "Doing clean in gas" ; \
10809 (cd $(HOST_SUBDIR)/gas && \
10810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812 "RANLIB=$${RANLIB}" \
10813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10814 clean) \
10815 || exit 1
10817 @endif gas
10819 .PHONY: maybe-distclean-gas distclean-gas
10820 maybe-distclean-gas:
10821 @if gas
10822 maybe-distclean-gas: distclean-gas
10824 distclean-gas:
10825 @[ -f ./gas/Makefile ] || exit 0; \
10826 r=`${PWD_COMMAND}`; export r; \
10827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10828 $(HOST_EXPORTS) \
10829 for flag in $(EXTRA_HOST_FLAGS) ; do \
10830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10831 done; \
10832 echo "Doing distclean in gas" ; \
10833 (cd $(HOST_SUBDIR)/gas && \
10834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10836 "RANLIB=$${RANLIB}" \
10837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10838 distclean) \
10839 || exit 1
10841 @endif gas
10843 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10844 maybe-maintainer-clean-gas:
10845 @if gas
10846 maybe-maintainer-clean-gas: maintainer-clean-gas
10848 maintainer-clean-gas:
10849 @[ -f ./gas/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852 $(HOST_EXPORTS) \
10853 for flag in $(EXTRA_HOST_FLAGS) ; do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855 done; \
10856 echo "Doing maintainer-clean in gas" ; \
10857 (cd $(HOST_SUBDIR)/gas && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10862 maintainer-clean) \
10863 || exit 1
10865 @endif gas
10869 .PHONY: configure-gcc maybe-configure-gcc
10870 maybe-configure-gcc:
10871 @if gcc
10872 maybe-configure-gcc: configure-gcc
10873 configure-gcc:
10874 @test -f stage_last && exit 0; \
10875 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 $(HOST_EXPORTS) \
10880 echo Configuring in $(HOST_SUBDIR)/gcc; \
10881 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10882 case $(srcdir) in \
10883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10884 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10886 esac; \
10887 srcdiroption="--srcdir=$${topdir}/gcc"; \
10888 libsrcdir="$$s/gcc"; \
10889 $(SHELL) $${libsrcdir}/configure \
10890 $(HOST_CONFIGARGS) $${srcdiroption} \
10891 || exit 1
10892 @endif gcc
10896 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10897 maybe-configure-stage1-gcc:
10898 @if gcc-bootstrap
10899 maybe-configure-stage1-gcc: configure-stage1-gcc
10900 configure-stage1-gcc:
10901 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10903 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10904 $(HOST_EXPORTS) \
10905 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10907 cd $(HOST_SUBDIR)/gcc || exit 1; \
10908 case $(srcdir) in \
10909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10910 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10912 esac; \
10913 srcdiroption="--srcdir=$${topdir}/gcc"; \
10914 libsrcdir="$$s/gcc"; \
10915 $(SHELL) $${libsrcdir}/configure \
10916 $(HOST_CONFIGARGS) $${srcdiroption} \
10917 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10918 @endif gcc-bootstrap
10920 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10921 maybe-configure-stage2-gcc:
10922 @if gcc-bootstrap
10923 maybe-configure-stage2-gcc: configure-stage2-gcc
10924 configure-stage2-gcc:
10925 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10927 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10928 $(HOST_EXPORTS) \
10929 $(POSTSTAGE1_HOST_EXPORTS) \
10930 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10932 cd $(HOST_SUBDIR)/gcc || exit 1; \
10933 case $(srcdir) in \
10934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10935 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10937 esac; \
10938 srcdiroption="--srcdir=$${topdir}/gcc"; \
10939 libsrcdir="$$s/gcc"; \
10940 $(SHELL) $${libsrcdir}/configure \
10941 $(HOST_CONFIGARGS) $${srcdiroption} \
10942 @stage2_werror_flag@
10943 @endif gcc-bootstrap
10945 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10946 maybe-configure-stage3-gcc:
10947 @if gcc-bootstrap
10948 maybe-configure-stage3-gcc: configure-stage3-gcc
10949 configure-stage3-gcc:
10950 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10951 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10952 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10953 $(HOST_EXPORTS) \
10954 $(POSTSTAGE1_HOST_EXPORTS) \
10955 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10957 cd $(HOST_SUBDIR)/gcc || exit 1; \
10958 case $(srcdir) in \
10959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10960 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10962 esac; \
10963 srcdiroption="--srcdir=$${topdir}/gcc"; \
10964 libsrcdir="$$s/gcc"; \
10965 $(SHELL) $${libsrcdir}/configure \
10966 $(HOST_CONFIGARGS) $${srcdiroption} \
10967 @stage2_werror_flag@
10968 @endif gcc-bootstrap
10970 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10971 maybe-configure-stage4-gcc:
10972 @if gcc-bootstrap
10973 maybe-configure-stage4-gcc: configure-stage4-gcc
10974 configure-stage4-gcc:
10975 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10977 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10978 $(HOST_EXPORTS) \
10979 $(POSTSTAGE1_HOST_EXPORTS) \
10980 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10982 cd $(HOST_SUBDIR)/gcc || exit 1; \
10983 case $(srcdir) in \
10984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10985 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10987 esac; \
10988 srcdiroption="--srcdir=$${topdir}/gcc"; \
10989 libsrcdir="$$s/gcc"; \
10990 $(SHELL) $${libsrcdir}/configure \
10991 $(HOST_CONFIGARGS) $${srcdiroption} \
10992 @stage2_werror_flag@
10993 @endif gcc-bootstrap
10995 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10996 maybe-configure-stageprofile-gcc:
10997 @if gcc-bootstrap
10998 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10999 configure-stageprofile-gcc:
11000 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11002 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11003 $(HOST_EXPORTS) \
11004 $(POSTSTAGE1_HOST_EXPORTS) \
11005 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11007 cd $(HOST_SUBDIR)/gcc || exit 1; \
11008 case $(srcdir) in \
11009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11010 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11012 esac; \
11013 srcdiroption="--srcdir=$${topdir}/gcc"; \
11014 libsrcdir="$$s/gcc"; \
11015 $(SHELL) $${libsrcdir}/configure \
11016 $(HOST_CONFIGARGS) $${srcdiroption} \
11017 @stage2_werror_flag@
11018 @endif gcc-bootstrap
11020 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11021 maybe-configure-stagefeedback-gcc:
11022 @if gcc-bootstrap
11023 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11024 configure-stagefeedback-gcc:
11025 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11027 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11028 $(HOST_EXPORTS) \
11029 $(POSTSTAGE1_HOST_EXPORTS) \
11030 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11032 cd $(HOST_SUBDIR)/gcc || exit 1; \
11033 case $(srcdir) in \
11034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11035 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11037 esac; \
11038 srcdiroption="--srcdir=$${topdir}/gcc"; \
11039 libsrcdir="$$s/gcc"; \
11040 $(SHELL) $${libsrcdir}/configure \
11041 $(HOST_CONFIGARGS) $${srcdiroption} \
11042 @stage2_werror_flag@
11043 @endif gcc-bootstrap
11049 .PHONY: all-gcc maybe-all-gcc
11050 maybe-all-gcc:
11051 @if gcc
11052 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11053 maybe-all-gcc: all-gcc
11054 all-gcc: configure-gcc
11055 @test -f stage_last && exit 0; \
11056 r=`${PWD_COMMAND}`; export r; \
11057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11058 $(HOST_EXPORTS) \
11059 (cd $(HOST_SUBDIR)/gcc && \
11060 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11061 @endif gcc
11065 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11066 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11067 maybe-all-stage1-gcc:
11068 maybe-clean-stage1-gcc:
11069 @if gcc-bootstrap
11070 maybe-all-stage1-gcc: all-stage1-gcc
11071 all-stage1: all-stage1-gcc
11072 TARGET-stage1-gcc = $(TARGET-gcc)
11073 all-stage1-gcc: configure-stage1-gcc
11074 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11075 @r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077 $(HOST_EXPORTS) \
11078 cd $(HOST_SUBDIR)/gcc && \
11079 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11080 $(TARGET-stage1-gcc)
11082 maybe-clean-stage1-gcc: clean-stage1-gcc
11083 clean-stage1: clean-stage1-gcc
11084 clean-stage1-gcc:
11085 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11086 || exit 0 ; \
11087 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11088 cd $(HOST_SUBDIR)/gcc && \
11089 $(MAKE) $(FLAGS_TO_PASS) \
11090 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11091 @endif gcc-bootstrap
11094 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11095 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11096 maybe-all-stage2-gcc:
11097 maybe-clean-stage2-gcc:
11098 @if gcc-bootstrap
11099 maybe-all-stage2-gcc: all-stage2-gcc
11100 all-stage2: all-stage2-gcc
11101 TARGET-stage2-gcc = $(TARGET-gcc)
11102 all-stage2-gcc: configure-stage2-gcc
11103 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11104 @r=`${PWD_COMMAND}`; export r; \
11105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 $(HOST_EXPORTS) \
11107 $(POSTSTAGE1_HOST_EXPORTS) \
11108 cd $(HOST_SUBDIR)/gcc && \
11109 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11110 $(TARGET-stage2-gcc)
11112 maybe-clean-stage2-gcc: clean-stage2-gcc
11113 clean-stage2: clean-stage2-gcc
11114 clean-stage2-gcc:
11115 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11116 || exit 0 ; \
11117 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11118 cd $(HOST_SUBDIR)/gcc && \
11119 $(MAKE) $(FLAGS_TO_PASS) \
11120 $(POSTSTAGE1_FLAGS_TO_PASS) \
11121 $(EXTRA_GCC_FLAGS) clean
11122 @endif gcc-bootstrap
11125 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11126 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11127 maybe-all-stage3-gcc:
11128 maybe-clean-stage3-gcc:
11129 @if gcc-bootstrap
11130 maybe-all-stage3-gcc: all-stage3-gcc
11131 all-stage3: all-stage3-gcc
11132 TARGET-stage3-gcc = $(TARGET-gcc)
11133 all-stage3-gcc: configure-stage3-gcc
11134 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11135 @r=`${PWD_COMMAND}`; export r; \
11136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11137 $(HOST_EXPORTS) \
11138 $(POSTSTAGE1_HOST_EXPORTS) \
11139 cd $(HOST_SUBDIR)/gcc && \
11140 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11141 $(TARGET-stage3-gcc)
11143 maybe-clean-stage3-gcc: clean-stage3-gcc
11144 clean-stage3: clean-stage3-gcc
11145 clean-stage3-gcc:
11146 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11147 || exit 0 ; \
11148 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11149 cd $(HOST_SUBDIR)/gcc && \
11150 $(MAKE) $(FLAGS_TO_PASS) \
11151 $(POSTSTAGE1_FLAGS_TO_PASS) \
11152 $(EXTRA_GCC_FLAGS) clean
11153 @endif gcc-bootstrap
11156 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11157 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11158 maybe-all-stage4-gcc:
11159 maybe-clean-stage4-gcc:
11160 @if gcc-bootstrap
11161 maybe-all-stage4-gcc: all-stage4-gcc
11162 all-stage4: all-stage4-gcc
11163 TARGET-stage4-gcc = $(TARGET-gcc)
11164 all-stage4-gcc: configure-stage4-gcc
11165 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11166 @r=`${PWD_COMMAND}`; export r; \
11167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11168 $(HOST_EXPORTS) \
11169 $(POSTSTAGE1_HOST_EXPORTS) \
11170 cd $(HOST_SUBDIR)/gcc && \
11171 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11172 $(TARGET-stage4-gcc)
11174 maybe-clean-stage4-gcc: clean-stage4-gcc
11175 clean-stage4: clean-stage4-gcc
11176 clean-stage4-gcc:
11177 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11178 || exit 0 ; \
11179 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11180 cd $(HOST_SUBDIR)/gcc && \
11181 $(MAKE) $(FLAGS_TO_PASS) \
11182 $(POSTSTAGE1_FLAGS_TO_PASS) \
11183 $(EXTRA_GCC_FLAGS) clean
11184 @endif gcc-bootstrap
11187 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11188 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11189 maybe-all-stageprofile-gcc:
11190 maybe-clean-stageprofile-gcc:
11191 @if gcc-bootstrap
11192 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11193 all-stageprofile: all-stageprofile-gcc
11194 TARGET-stageprofile-gcc = $(TARGET-gcc)
11195 all-stageprofile-gcc: configure-stageprofile-gcc
11196 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11197 @r=`${PWD_COMMAND}`; export r; \
11198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11199 $(HOST_EXPORTS) \
11200 $(POSTSTAGE1_HOST_EXPORTS) \
11201 cd $(HOST_SUBDIR)/gcc && \
11202 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11203 $(TARGET-stageprofile-gcc)
11205 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11206 clean-stageprofile: clean-stageprofile-gcc
11207 clean-stageprofile-gcc:
11208 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11209 || exit 0 ; \
11210 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11211 cd $(HOST_SUBDIR)/gcc && \
11212 $(MAKE) $(FLAGS_TO_PASS) \
11213 $(POSTSTAGE1_FLAGS_TO_PASS) \
11214 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11215 @endif gcc-bootstrap
11218 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11219 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11220 maybe-all-stagefeedback-gcc:
11221 maybe-clean-stagefeedback-gcc:
11222 @if gcc-bootstrap
11223 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11224 all-stagefeedback: all-stagefeedback-gcc
11225 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11226 all-stagefeedback-gcc: configure-stagefeedback-gcc
11227 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11228 @r=`${PWD_COMMAND}`; export r; \
11229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11230 $(HOST_EXPORTS) \
11231 $(POSTSTAGE1_HOST_EXPORTS) \
11232 cd $(HOST_SUBDIR)/gcc && \
11233 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11234 $(TARGET-stagefeedback-gcc)
11236 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11237 clean-stagefeedback: clean-stagefeedback-gcc
11238 clean-stagefeedback-gcc:
11239 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11240 || exit 0 ; \
11241 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11242 cd $(HOST_SUBDIR)/gcc && \
11243 $(MAKE) $(FLAGS_TO_PASS) \
11244 $(POSTSTAGE1_FLAGS_TO_PASS) \
11245 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11246 @endif gcc-bootstrap
11252 .PHONY: check-gcc maybe-check-gcc
11253 maybe-check-gcc:
11254 @if gcc
11255 maybe-check-gcc: check-gcc
11257 check-gcc:
11258 @: $(MAKE); $(unstage)
11259 @r=`${PWD_COMMAND}`; export r; \
11260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11261 $(HOST_EXPORTS) \
11262 (cd $(HOST_SUBDIR)/gcc && \
11263 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11265 @endif gcc
11267 .PHONY: install-gcc maybe-install-gcc
11268 maybe-install-gcc:
11269 @if gcc
11270 maybe-install-gcc: install-gcc
11272 install-gcc: installdirs
11273 @: $(MAKE); $(unstage)
11274 @r=`${PWD_COMMAND}`; export r; \
11275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276 $(HOST_EXPORTS) \
11277 (cd $(HOST_SUBDIR)/gcc && \
11278 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11280 @endif gcc
11282 # Other targets (info, dvi, etc.)
11284 .PHONY: maybe-info-gcc info-gcc
11285 maybe-info-gcc:
11286 @if gcc
11287 maybe-info-gcc: info-gcc
11289 info-gcc: \
11290 configure-gcc
11291 @[ -f ./gcc/Makefile ] || exit 0; \
11292 r=`${PWD_COMMAND}`; export r; \
11293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11294 $(HOST_EXPORTS) \
11295 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11297 done; \
11298 echo "Doing info in gcc" ; \
11299 (cd $(HOST_SUBDIR)/gcc && \
11300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11302 "RANLIB=$${RANLIB}" \
11303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11304 info) \
11305 || exit 1
11307 @endif gcc
11309 .PHONY: maybe-dvi-gcc dvi-gcc
11310 maybe-dvi-gcc:
11311 @if gcc
11312 maybe-dvi-gcc: dvi-gcc
11314 dvi-gcc: \
11315 configure-gcc
11316 @[ -f ./gcc/Makefile ] || exit 0; \
11317 r=`${PWD_COMMAND}`; export r; \
11318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11319 $(HOST_EXPORTS) \
11320 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11322 done; \
11323 echo "Doing dvi in gcc" ; \
11324 (cd $(HOST_SUBDIR)/gcc && \
11325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11327 "RANLIB=$${RANLIB}" \
11328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11329 dvi) \
11330 || exit 1
11332 @endif gcc
11334 .PHONY: maybe-html-gcc html-gcc
11335 maybe-html-gcc:
11336 @if gcc
11337 maybe-html-gcc: html-gcc
11339 html-gcc: \
11340 configure-gcc
11341 @[ -f ./gcc/Makefile ] || exit 0; \
11342 r=`${PWD_COMMAND}`; export r; \
11343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11344 $(HOST_EXPORTS) \
11345 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11347 done; \
11348 echo "Doing html in gcc" ; \
11349 (cd $(HOST_SUBDIR)/gcc && \
11350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11352 "RANLIB=$${RANLIB}" \
11353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11354 html) \
11355 || exit 1
11357 @endif gcc
11359 .PHONY: maybe-TAGS-gcc TAGS-gcc
11360 maybe-TAGS-gcc:
11361 @if gcc
11362 maybe-TAGS-gcc: TAGS-gcc
11364 TAGS-gcc: \
11365 configure-gcc
11366 @[ -f ./gcc/Makefile ] || exit 0; \
11367 r=`${PWD_COMMAND}`; export r; \
11368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11369 $(HOST_EXPORTS) \
11370 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11372 done; \
11373 echo "Doing TAGS in gcc" ; \
11374 (cd $(HOST_SUBDIR)/gcc && \
11375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11377 "RANLIB=$${RANLIB}" \
11378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11379 TAGS) \
11380 || exit 1
11382 @endif gcc
11384 .PHONY: maybe-install-info-gcc install-info-gcc
11385 maybe-install-info-gcc:
11386 @if gcc
11387 maybe-install-info-gcc: install-info-gcc
11389 install-info-gcc: \
11390 configure-gcc \
11391 info-gcc
11392 @[ -f ./gcc/Makefile ] || exit 0; \
11393 r=`${PWD_COMMAND}`; export r; \
11394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11395 $(HOST_EXPORTS) \
11396 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11398 done; \
11399 echo "Doing install-info in gcc" ; \
11400 (cd $(HOST_SUBDIR)/gcc && \
11401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11403 "RANLIB=$${RANLIB}" \
11404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11405 install-info) \
11406 || exit 1
11408 @endif gcc
11410 .PHONY: maybe-installcheck-gcc installcheck-gcc
11411 maybe-installcheck-gcc:
11412 @if gcc
11413 maybe-installcheck-gcc: installcheck-gcc
11415 installcheck-gcc: \
11416 configure-gcc
11417 @[ -f ./gcc/Makefile ] || exit 0; \
11418 r=`${PWD_COMMAND}`; export r; \
11419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11420 $(HOST_EXPORTS) \
11421 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11423 done; \
11424 echo "Doing installcheck in gcc" ; \
11425 (cd $(HOST_SUBDIR)/gcc && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11430 installcheck) \
11431 || exit 1
11433 @endif gcc
11435 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11436 maybe-mostlyclean-gcc:
11437 @if gcc
11438 maybe-mostlyclean-gcc: mostlyclean-gcc
11440 mostlyclean-gcc:
11441 @[ -f ./gcc/Makefile ] || exit 0; \
11442 r=`${PWD_COMMAND}`; export r; \
11443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11444 $(HOST_EXPORTS) \
11445 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11447 done; \
11448 echo "Doing mostlyclean in gcc" ; \
11449 (cd $(HOST_SUBDIR)/gcc && \
11450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11452 "RANLIB=$${RANLIB}" \
11453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11454 mostlyclean) \
11455 || exit 1
11457 @endif gcc
11459 .PHONY: maybe-clean-gcc clean-gcc
11460 maybe-clean-gcc:
11461 @if gcc
11462 maybe-clean-gcc: clean-gcc
11464 clean-gcc:
11465 @[ -f ./gcc/Makefile ] || exit 0; \
11466 r=`${PWD_COMMAND}`; export r; \
11467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11468 $(HOST_EXPORTS) \
11469 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11471 done; \
11472 echo "Doing clean in gcc" ; \
11473 (cd $(HOST_SUBDIR)/gcc && \
11474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11476 "RANLIB=$${RANLIB}" \
11477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11478 clean) \
11479 || exit 1
11481 @endif gcc
11483 .PHONY: maybe-distclean-gcc distclean-gcc
11484 maybe-distclean-gcc:
11485 @if gcc
11486 maybe-distclean-gcc: distclean-gcc
11488 distclean-gcc:
11489 @[ -f ./gcc/Makefile ] || exit 0; \
11490 r=`${PWD_COMMAND}`; export r; \
11491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11492 $(HOST_EXPORTS) \
11493 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11495 done; \
11496 echo "Doing distclean in gcc" ; \
11497 (cd $(HOST_SUBDIR)/gcc && \
11498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11500 "RANLIB=$${RANLIB}" \
11501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11502 distclean) \
11503 || exit 1
11505 @endif gcc
11507 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11508 maybe-maintainer-clean-gcc:
11509 @if gcc
11510 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11512 maintainer-clean-gcc:
11513 @[ -f ./gcc/Makefile ] || exit 0; \
11514 r=`${PWD_COMMAND}`; export r; \
11515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11516 $(HOST_EXPORTS) \
11517 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11519 done; \
11520 echo "Doing maintainer-clean in gcc" ; \
11521 (cd $(HOST_SUBDIR)/gcc && \
11522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11524 "RANLIB=$${RANLIB}" \
11525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11526 maintainer-clean) \
11527 || exit 1
11529 @endif gcc
11533 .PHONY: configure-gawk maybe-configure-gawk
11534 maybe-configure-gawk:
11535 @if gawk
11536 maybe-configure-gawk: configure-gawk
11537 configure-gawk:
11538 @: $(MAKE); $(unstage)
11539 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11541 r=`${PWD_COMMAND}`; export r; \
11542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11543 $(HOST_EXPORTS) \
11544 echo Configuring in $(HOST_SUBDIR)/gawk; \
11545 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11546 case $(srcdir) in \
11547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11548 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11550 esac; \
11551 srcdiroption="--srcdir=$${topdir}/gawk"; \
11552 libsrcdir="$$s/gawk"; \
11553 $(SHELL) $${libsrcdir}/configure \
11554 $(HOST_CONFIGARGS) $${srcdiroption} \
11555 || exit 1
11556 @endif gawk
11562 .PHONY: all-gawk maybe-all-gawk
11563 maybe-all-gawk:
11564 @if gawk
11565 TARGET-gawk=all
11566 maybe-all-gawk: all-gawk
11567 all-gawk: configure-gawk
11568 @: $(MAKE); $(unstage)
11569 @r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 $(HOST_EXPORTS) \
11572 (cd $(HOST_SUBDIR)/gawk && \
11573 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11574 @endif gawk
11579 .PHONY: check-gawk maybe-check-gawk
11580 maybe-check-gawk:
11581 @if gawk
11582 maybe-check-gawk: check-gawk
11584 check-gawk:
11585 @: $(MAKE); $(unstage)
11586 @r=`${PWD_COMMAND}`; export r; \
11587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11588 $(HOST_EXPORTS) \
11589 (cd $(HOST_SUBDIR)/gawk && \
11590 $(MAKE) $(FLAGS_TO_PASS) check)
11592 @endif gawk
11594 .PHONY: install-gawk maybe-install-gawk
11595 maybe-install-gawk:
11596 @if gawk
11597 maybe-install-gawk: install-gawk
11599 install-gawk: installdirs
11600 @: $(MAKE); $(unstage)
11601 @r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 $(HOST_EXPORTS) \
11604 (cd $(HOST_SUBDIR)/gawk && \
11605 $(MAKE) $(FLAGS_TO_PASS) install)
11607 @endif gawk
11609 # Other targets (info, dvi, etc.)
11611 .PHONY: maybe-info-gawk info-gawk
11612 maybe-info-gawk:
11613 @if gawk
11614 maybe-info-gawk: info-gawk
11616 info-gawk: \
11617 configure-gawk
11618 @: $(MAKE); $(unstage)
11619 @[ -f ./gawk/Makefile ] || exit 0; \
11620 r=`${PWD_COMMAND}`; export r; \
11621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11622 $(HOST_EXPORTS) \
11623 for flag in $(EXTRA_HOST_FLAGS) ; do \
11624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11625 done; \
11626 echo "Doing info in gawk" ; \
11627 (cd $(HOST_SUBDIR)/gawk && \
11628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11630 "RANLIB=$${RANLIB}" \
11631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11632 info) \
11633 || exit 1
11635 @endif gawk
11637 .PHONY: maybe-dvi-gawk dvi-gawk
11638 maybe-dvi-gawk:
11639 @if gawk
11640 maybe-dvi-gawk: dvi-gawk
11642 dvi-gawk: \
11643 configure-gawk
11644 @: $(MAKE); $(unstage)
11645 @[ -f ./gawk/Makefile ] || exit 0; \
11646 r=`${PWD_COMMAND}`; export r; \
11647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11648 $(HOST_EXPORTS) \
11649 for flag in $(EXTRA_HOST_FLAGS) ; do \
11650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11651 done; \
11652 echo "Doing dvi in gawk" ; \
11653 (cd $(HOST_SUBDIR)/gawk && \
11654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11656 "RANLIB=$${RANLIB}" \
11657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11658 dvi) \
11659 || exit 1
11661 @endif gawk
11663 .PHONY: maybe-html-gawk html-gawk
11664 maybe-html-gawk:
11665 @if gawk
11666 maybe-html-gawk: html-gawk
11668 html-gawk: \
11669 configure-gawk
11670 @: $(MAKE); $(unstage)
11671 @[ -f ./gawk/Makefile ] || exit 0; \
11672 r=`${PWD_COMMAND}`; export r; \
11673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11674 $(HOST_EXPORTS) \
11675 for flag in $(EXTRA_HOST_FLAGS) ; do \
11676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11677 done; \
11678 echo "Doing html in gawk" ; \
11679 (cd $(HOST_SUBDIR)/gawk && \
11680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11682 "RANLIB=$${RANLIB}" \
11683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11684 html) \
11685 || exit 1
11687 @endif gawk
11689 .PHONY: maybe-TAGS-gawk TAGS-gawk
11690 maybe-TAGS-gawk:
11691 @if gawk
11692 maybe-TAGS-gawk: TAGS-gawk
11694 TAGS-gawk: \
11695 configure-gawk
11696 @: $(MAKE); $(unstage)
11697 @[ -f ./gawk/Makefile ] || exit 0; \
11698 r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700 $(HOST_EXPORTS) \
11701 for flag in $(EXTRA_HOST_FLAGS) ; do \
11702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11703 done; \
11704 echo "Doing TAGS in gawk" ; \
11705 (cd $(HOST_SUBDIR)/gawk && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708 "RANLIB=$${RANLIB}" \
11709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11710 TAGS) \
11711 || exit 1
11713 @endif gawk
11715 .PHONY: maybe-install-info-gawk install-info-gawk
11716 maybe-install-info-gawk:
11717 @if gawk
11718 maybe-install-info-gawk: install-info-gawk
11720 install-info-gawk: \
11721 configure-gawk \
11722 info-gawk
11723 @: $(MAKE); $(unstage)
11724 @[ -f ./gawk/Makefile ] || exit 0; \
11725 r=`${PWD_COMMAND}`; export r; \
11726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11727 $(HOST_EXPORTS) \
11728 for flag in $(EXTRA_HOST_FLAGS) ; do \
11729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11730 done; \
11731 echo "Doing install-info in gawk" ; \
11732 (cd $(HOST_SUBDIR)/gawk && \
11733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11735 "RANLIB=$${RANLIB}" \
11736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11737 install-info) \
11738 || exit 1
11740 @endif gawk
11742 .PHONY: maybe-installcheck-gawk installcheck-gawk
11743 maybe-installcheck-gawk:
11744 @if gawk
11745 maybe-installcheck-gawk: installcheck-gawk
11747 installcheck-gawk: \
11748 configure-gawk
11749 @: $(MAKE); $(unstage)
11750 @[ -f ./gawk/Makefile ] || exit 0; \
11751 r=`${PWD_COMMAND}`; export r; \
11752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11753 $(HOST_EXPORTS) \
11754 for flag in $(EXTRA_HOST_FLAGS) ; do \
11755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11756 done; \
11757 echo "Doing installcheck in gawk" ; \
11758 (cd $(HOST_SUBDIR)/gawk && \
11759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11761 "RANLIB=$${RANLIB}" \
11762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11763 installcheck) \
11764 || exit 1
11766 @endif gawk
11768 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11769 maybe-mostlyclean-gawk:
11770 @if gawk
11771 maybe-mostlyclean-gawk: mostlyclean-gawk
11773 mostlyclean-gawk:
11774 @: $(MAKE); $(unstage)
11775 @[ -f ./gawk/Makefile ] || exit 0; \
11776 r=`${PWD_COMMAND}`; export r; \
11777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11778 $(HOST_EXPORTS) \
11779 for flag in $(EXTRA_HOST_FLAGS) ; do \
11780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11781 done; \
11782 echo "Doing mostlyclean in gawk" ; \
11783 (cd $(HOST_SUBDIR)/gawk && \
11784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11786 "RANLIB=$${RANLIB}" \
11787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11788 mostlyclean) \
11789 || exit 1
11791 @endif gawk
11793 .PHONY: maybe-clean-gawk clean-gawk
11794 maybe-clean-gawk:
11795 @if gawk
11796 maybe-clean-gawk: clean-gawk
11798 clean-gawk:
11799 @: $(MAKE); $(unstage)
11800 @[ -f ./gawk/Makefile ] || exit 0; \
11801 r=`${PWD_COMMAND}`; export r; \
11802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11803 $(HOST_EXPORTS) \
11804 for flag in $(EXTRA_HOST_FLAGS) ; do \
11805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11806 done; \
11807 echo "Doing clean in gawk" ; \
11808 (cd $(HOST_SUBDIR)/gawk && \
11809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11811 "RANLIB=$${RANLIB}" \
11812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11813 clean) \
11814 || exit 1
11816 @endif gawk
11818 .PHONY: maybe-distclean-gawk distclean-gawk
11819 maybe-distclean-gawk:
11820 @if gawk
11821 maybe-distclean-gawk: distclean-gawk
11823 distclean-gawk:
11824 @: $(MAKE); $(unstage)
11825 @[ -f ./gawk/Makefile ] || exit 0; \
11826 r=`${PWD_COMMAND}`; export r; \
11827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11828 $(HOST_EXPORTS) \
11829 for flag in $(EXTRA_HOST_FLAGS) ; do \
11830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11831 done; \
11832 echo "Doing distclean in gawk" ; \
11833 (cd $(HOST_SUBDIR)/gawk && \
11834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11836 "RANLIB=$${RANLIB}" \
11837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11838 distclean) \
11839 || exit 1
11841 @endif gawk
11843 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11844 maybe-maintainer-clean-gawk:
11845 @if gawk
11846 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11848 maintainer-clean-gawk:
11849 @: $(MAKE); $(unstage)
11850 @[ -f ./gawk/Makefile ] || exit 0; \
11851 r=`${PWD_COMMAND}`; export r; \
11852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11853 $(HOST_EXPORTS) \
11854 for flag in $(EXTRA_HOST_FLAGS) ; do \
11855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11856 done; \
11857 echo "Doing maintainer-clean in gawk" ; \
11858 (cd $(HOST_SUBDIR)/gawk && \
11859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11861 "RANLIB=$${RANLIB}" \
11862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11863 maintainer-clean) \
11864 || exit 1
11866 @endif gawk
11870 .PHONY: configure-gettext maybe-configure-gettext
11871 maybe-configure-gettext:
11872 @if gettext
11873 maybe-configure-gettext: configure-gettext
11874 configure-gettext:
11875 @: $(MAKE); $(unstage)
11876 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11878 r=`${PWD_COMMAND}`; export r; \
11879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11880 $(HOST_EXPORTS) \
11881 echo Configuring in $(HOST_SUBDIR)/gettext; \
11882 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11883 case $(srcdir) in \
11884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11885 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11887 esac; \
11888 srcdiroption="--srcdir=$${topdir}/gettext"; \
11889 libsrcdir="$$s/gettext"; \
11890 $(SHELL) $${libsrcdir}/configure \
11891 $(HOST_CONFIGARGS) $${srcdiroption} \
11892 || exit 1
11893 @endif gettext
11899 .PHONY: all-gettext maybe-all-gettext
11900 maybe-all-gettext:
11901 @if gettext
11902 TARGET-gettext=all
11903 maybe-all-gettext: all-gettext
11904 all-gettext: configure-gettext
11905 @: $(MAKE); $(unstage)
11906 @r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908 $(HOST_EXPORTS) \
11909 (cd $(HOST_SUBDIR)/gettext && \
11910 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11911 @endif gettext
11916 .PHONY: check-gettext maybe-check-gettext
11917 maybe-check-gettext:
11918 @if gettext
11919 maybe-check-gettext: check-gettext
11921 check-gettext:
11922 @: $(MAKE); $(unstage)
11923 @r=`${PWD_COMMAND}`; export r; \
11924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11925 $(HOST_EXPORTS) \
11926 (cd $(HOST_SUBDIR)/gettext && \
11927 $(MAKE) $(FLAGS_TO_PASS) check)
11929 @endif gettext
11931 .PHONY: install-gettext maybe-install-gettext
11932 maybe-install-gettext:
11933 @if gettext
11934 maybe-install-gettext: install-gettext
11936 install-gettext: installdirs
11937 @: $(MAKE); $(unstage)
11938 @r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11940 $(HOST_EXPORTS) \
11941 (cd $(HOST_SUBDIR)/gettext && \
11942 $(MAKE) $(FLAGS_TO_PASS) install)
11944 @endif gettext
11946 # Other targets (info, dvi, etc.)
11948 .PHONY: maybe-info-gettext info-gettext
11949 maybe-info-gettext:
11950 @if gettext
11951 maybe-info-gettext: info-gettext
11953 info-gettext: \
11954 configure-gettext
11955 @: $(MAKE); $(unstage)
11956 @[ -f ./gettext/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 $(HOST_EXPORTS) \
11960 for flag in $(EXTRA_HOST_FLAGS) ; do \
11961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11962 done; \
11963 echo "Doing info in gettext" ; \
11964 (cd $(HOST_SUBDIR)/gettext && \
11965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11967 "RANLIB=$${RANLIB}" \
11968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11969 info) \
11970 || exit 1
11972 @endif gettext
11974 .PHONY: maybe-dvi-gettext dvi-gettext
11975 maybe-dvi-gettext:
11976 @if gettext
11977 maybe-dvi-gettext: dvi-gettext
11979 dvi-gettext: \
11980 configure-gettext
11981 @: $(MAKE); $(unstage)
11982 @[ -f ./gettext/Makefile ] || exit 0; \
11983 r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11985 $(HOST_EXPORTS) \
11986 for flag in $(EXTRA_HOST_FLAGS) ; do \
11987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11988 done; \
11989 echo "Doing dvi in gettext" ; \
11990 (cd $(HOST_SUBDIR)/gettext && \
11991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11993 "RANLIB=$${RANLIB}" \
11994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11995 dvi) \
11996 || exit 1
11998 @endif gettext
12000 .PHONY: maybe-html-gettext html-gettext
12001 maybe-html-gettext:
12002 @if gettext
12003 maybe-html-gettext: html-gettext
12005 html-gettext: \
12006 configure-gettext
12007 @: $(MAKE); $(unstage)
12008 @[ -f ./gettext/Makefile ] || exit 0; \
12009 r=`${PWD_COMMAND}`; export r; \
12010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12011 $(HOST_EXPORTS) \
12012 for flag in $(EXTRA_HOST_FLAGS) ; do \
12013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12014 done; \
12015 echo "Doing html in gettext" ; \
12016 (cd $(HOST_SUBDIR)/gettext && \
12017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12019 "RANLIB=$${RANLIB}" \
12020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12021 html) \
12022 || exit 1
12024 @endif gettext
12026 .PHONY: maybe-TAGS-gettext TAGS-gettext
12027 maybe-TAGS-gettext:
12028 @if gettext
12029 maybe-TAGS-gettext: TAGS-gettext
12031 TAGS-gettext: \
12032 configure-gettext
12033 @: $(MAKE); $(unstage)
12034 @[ -f ./gettext/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(HOST_EXPORTS) \
12038 for flag in $(EXTRA_HOST_FLAGS) ; do \
12039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12040 done; \
12041 echo "Doing TAGS in gettext" ; \
12042 (cd $(HOST_SUBDIR)/gettext && \
12043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12045 "RANLIB=$${RANLIB}" \
12046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12047 TAGS) \
12048 || exit 1
12050 @endif gettext
12052 .PHONY: maybe-install-info-gettext install-info-gettext
12053 maybe-install-info-gettext:
12054 @if gettext
12055 maybe-install-info-gettext: install-info-gettext
12057 install-info-gettext: \
12058 configure-gettext \
12059 info-gettext
12060 @: $(MAKE); $(unstage)
12061 @[ -f ./gettext/Makefile ] || exit 0; \
12062 r=`${PWD_COMMAND}`; export r; \
12063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12064 $(HOST_EXPORTS) \
12065 for flag in $(EXTRA_HOST_FLAGS) ; do \
12066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12067 done; \
12068 echo "Doing install-info in gettext" ; \
12069 (cd $(HOST_SUBDIR)/gettext && \
12070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12072 "RANLIB=$${RANLIB}" \
12073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12074 install-info) \
12075 || exit 1
12077 @endif gettext
12079 .PHONY: maybe-installcheck-gettext installcheck-gettext
12080 maybe-installcheck-gettext:
12081 @if gettext
12082 maybe-installcheck-gettext: installcheck-gettext
12084 installcheck-gettext: \
12085 configure-gettext
12086 @: $(MAKE); $(unstage)
12087 @[ -f ./gettext/Makefile ] || exit 0; \
12088 r=`${PWD_COMMAND}`; export r; \
12089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12090 $(HOST_EXPORTS) \
12091 for flag in $(EXTRA_HOST_FLAGS) ; do \
12092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12093 done; \
12094 echo "Doing installcheck in gettext" ; \
12095 (cd $(HOST_SUBDIR)/gettext && \
12096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12098 "RANLIB=$${RANLIB}" \
12099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12100 installcheck) \
12101 || exit 1
12103 @endif gettext
12105 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12106 maybe-mostlyclean-gettext:
12107 @if gettext
12108 maybe-mostlyclean-gettext: mostlyclean-gettext
12110 mostlyclean-gettext:
12111 @: $(MAKE); $(unstage)
12112 @[ -f ./gettext/Makefile ] || exit 0; \
12113 r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 $(HOST_EXPORTS) \
12116 for flag in $(EXTRA_HOST_FLAGS) ; do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118 done; \
12119 echo "Doing mostlyclean in gettext" ; \
12120 (cd $(HOST_SUBDIR)/gettext && \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12125 mostlyclean) \
12126 || exit 1
12128 @endif gettext
12130 .PHONY: maybe-clean-gettext clean-gettext
12131 maybe-clean-gettext:
12132 @if gettext
12133 maybe-clean-gettext: clean-gettext
12135 clean-gettext:
12136 @: $(MAKE); $(unstage)
12137 @[ -f ./gettext/Makefile ] || exit 0; \
12138 r=`${PWD_COMMAND}`; export r; \
12139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12140 $(HOST_EXPORTS) \
12141 for flag in $(EXTRA_HOST_FLAGS) ; do \
12142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12143 done; \
12144 echo "Doing clean in gettext" ; \
12145 (cd $(HOST_SUBDIR)/gettext && \
12146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12148 "RANLIB=$${RANLIB}" \
12149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12150 clean) \
12151 || exit 1
12153 @endif gettext
12155 .PHONY: maybe-distclean-gettext distclean-gettext
12156 maybe-distclean-gettext:
12157 @if gettext
12158 maybe-distclean-gettext: distclean-gettext
12160 distclean-gettext:
12161 @: $(MAKE); $(unstage)
12162 @[ -f ./gettext/Makefile ] || exit 0; \
12163 r=`${PWD_COMMAND}`; export r; \
12164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12165 $(HOST_EXPORTS) \
12166 for flag in $(EXTRA_HOST_FLAGS) ; do \
12167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12168 done; \
12169 echo "Doing distclean in gettext" ; \
12170 (cd $(HOST_SUBDIR)/gettext && \
12171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12173 "RANLIB=$${RANLIB}" \
12174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12175 distclean) \
12176 || exit 1
12178 @endif gettext
12180 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12181 maybe-maintainer-clean-gettext:
12182 @if gettext
12183 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12185 maintainer-clean-gettext:
12186 @: $(MAKE); $(unstage)
12187 @[ -f ./gettext/Makefile ] || exit 0; \
12188 r=`${PWD_COMMAND}`; export r; \
12189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12190 $(HOST_EXPORTS) \
12191 for flag in $(EXTRA_HOST_FLAGS) ; do \
12192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12193 done; \
12194 echo "Doing maintainer-clean in gettext" ; \
12195 (cd $(HOST_SUBDIR)/gettext && \
12196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12198 "RANLIB=$${RANLIB}" \
12199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12200 maintainer-clean) \
12201 || exit 1
12203 @endif gettext
12207 .PHONY: configure-gnuserv maybe-configure-gnuserv
12208 maybe-configure-gnuserv:
12209 @if gnuserv
12210 maybe-configure-gnuserv: configure-gnuserv
12211 configure-gnuserv:
12212 @: $(MAKE); $(unstage)
12213 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12215 r=`${PWD_COMMAND}`; export r; \
12216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12217 $(HOST_EXPORTS) \
12218 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12219 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12220 case $(srcdir) in \
12221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12222 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12224 esac; \
12225 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12226 libsrcdir="$$s/gnuserv"; \
12227 $(SHELL) $${libsrcdir}/configure \
12228 $(HOST_CONFIGARGS) $${srcdiroption} \
12229 || exit 1
12230 @endif gnuserv
12236 .PHONY: all-gnuserv maybe-all-gnuserv
12237 maybe-all-gnuserv:
12238 @if gnuserv
12239 TARGET-gnuserv=all
12240 maybe-all-gnuserv: all-gnuserv
12241 all-gnuserv: configure-gnuserv
12242 @: $(MAKE); $(unstage)
12243 @r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245 $(HOST_EXPORTS) \
12246 (cd $(HOST_SUBDIR)/gnuserv && \
12247 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12248 @endif gnuserv
12253 .PHONY: check-gnuserv maybe-check-gnuserv
12254 maybe-check-gnuserv:
12255 @if gnuserv
12256 maybe-check-gnuserv: check-gnuserv
12258 check-gnuserv:
12259 @: $(MAKE); $(unstage)
12260 @r=`${PWD_COMMAND}`; export r; \
12261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12262 $(HOST_EXPORTS) \
12263 (cd $(HOST_SUBDIR)/gnuserv && \
12264 $(MAKE) $(FLAGS_TO_PASS) check)
12266 @endif gnuserv
12268 .PHONY: install-gnuserv maybe-install-gnuserv
12269 maybe-install-gnuserv:
12270 @if gnuserv
12271 maybe-install-gnuserv: install-gnuserv
12273 install-gnuserv: installdirs
12274 @: $(MAKE); $(unstage)
12275 @r=`${PWD_COMMAND}`; export r; \
12276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12277 $(HOST_EXPORTS) \
12278 (cd $(HOST_SUBDIR)/gnuserv && \
12279 $(MAKE) $(FLAGS_TO_PASS) install)
12281 @endif gnuserv
12283 # Other targets (info, dvi, etc.)
12285 .PHONY: maybe-info-gnuserv info-gnuserv
12286 maybe-info-gnuserv:
12287 @if gnuserv
12288 maybe-info-gnuserv: info-gnuserv
12290 info-gnuserv: \
12291 configure-gnuserv
12292 @: $(MAKE); $(unstage)
12293 @[ -f ./gnuserv/Makefile ] || exit 0; \
12294 r=`${PWD_COMMAND}`; export r; \
12295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12296 $(HOST_EXPORTS) \
12297 for flag in $(EXTRA_HOST_FLAGS) ; do \
12298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12299 done; \
12300 echo "Doing info in gnuserv" ; \
12301 (cd $(HOST_SUBDIR)/gnuserv && \
12302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12304 "RANLIB=$${RANLIB}" \
12305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12306 info) \
12307 || exit 1
12309 @endif gnuserv
12311 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12312 maybe-dvi-gnuserv:
12313 @if gnuserv
12314 maybe-dvi-gnuserv: dvi-gnuserv
12316 dvi-gnuserv: \
12317 configure-gnuserv
12318 @: $(MAKE); $(unstage)
12319 @[ -f ./gnuserv/Makefile ] || exit 0; \
12320 r=`${PWD_COMMAND}`; export r; \
12321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12322 $(HOST_EXPORTS) \
12323 for flag in $(EXTRA_HOST_FLAGS) ; do \
12324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12325 done; \
12326 echo "Doing dvi in gnuserv" ; \
12327 (cd $(HOST_SUBDIR)/gnuserv && \
12328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12330 "RANLIB=$${RANLIB}" \
12331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12332 dvi) \
12333 || exit 1
12335 @endif gnuserv
12337 .PHONY: maybe-html-gnuserv html-gnuserv
12338 maybe-html-gnuserv:
12339 @if gnuserv
12340 maybe-html-gnuserv: html-gnuserv
12342 html-gnuserv: \
12343 configure-gnuserv
12344 @: $(MAKE); $(unstage)
12345 @[ -f ./gnuserv/Makefile ] || exit 0; \
12346 r=`${PWD_COMMAND}`; export r; \
12347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12348 $(HOST_EXPORTS) \
12349 for flag in $(EXTRA_HOST_FLAGS) ; do \
12350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12351 done; \
12352 echo "Doing html in gnuserv" ; \
12353 (cd $(HOST_SUBDIR)/gnuserv && \
12354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12356 "RANLIB=$${RANLIB}" \
12357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12358 html) \
12359 || exit 1
12361 @endif gnuserv
12363 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12364 maybe-TAGS-gnuserv:
12365 @if gnuserv
12366 maybe-TAGS-gnuserv: TAGS-gnuserv
12368 TAGS-gnuserv: \
12369 configure-gnuserv
12370 @: $(MAKE); $(unstage)
12371 @[ -f ./gnuserv/Makefile ] || exit 0; \
12372 r=`${PWD_COMMAND}`; export r; \
12373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12374 $(HOST_EXPORTS) \
12375 for flag in $(EXTRA_HOST_FLAGS) ; do \
12376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12377 done; \
12378 echo "Doing TAGS in gnuserv" ; \
12379 (cd $(HOST_SUBDIR)/gnuserv && \
12380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12382 "RANLIB=$${RANLIB}" \
12383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12384 TAGS) \
12385 || exit 1
12387 @endif gnuserv
12389 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12390 maybe-install-info-gnuserv:
12391 @if gnuserv
12392 maybe-install-info-gnuserv: install-info-gnuserv
12394 install-info-gnuserv: \
12395 configure-gnuserv \
12396 info-gnuserv
12397 @: $(MAKE); $(unstage)
12398 @[ -f ./gnuserv/Makefile ] || exit 0; \
12399 r=`${PWD_COMMAND}`; export r; \
12400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12401 $(HOST_EXPORTS) \
12402 for flag in $(EXTRA_HOST_FLAGS) ; do \
12403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12404 done; \
12405 echo "Doing install-info in gnuserv" ; \
12406 (cd $(HOST_SUBDIR)/gnuserv && \
12407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12409 "RANLIB=$${RANLIB}" \
12410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12411 install-info) \
12412 || exit 1
12414 @endif gnuserv
12416 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12417 maybe-installcheck-gnuserv:
12418 @if gnuserv
12419 maybe-installcheck-gnuserv: installcheck-gnuserv
12421 installcheck-gnuserv: \
12422 configure-gnuserv
12423 @: $(MAKE); $(unstage)
12424 @[ -f ./gnuserv/Makefile ] || exit 0; \
12425 r=`${PWD_COMMAND}`; export r; \
12426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12427 $(HOST_EXPORTS) \
12428 for flag in $(EXTRA_HOST_FLAGS) ; do \
12429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12430 done; \
12431 echo "Doing installcheck in gnuserv" ; \
12432 (cd $(HOST_SUBDIR)/gnuserv && \
12433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12435 "RANLIB=$${RANLIB}" \
12436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12437 installcheck) \
12438 || exit 1
12440 @endif gnuserv
12442 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12443 maybe-mostlyclean-gnuserv:
12444 @if gnuserv
12445 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12447 mostlyclean-gnuserv:
12448 @: $(MAKE); $(unstage)
12449 @[ -f ./gnuserv/Makefile ] || exit 0; \
12450 r=`${PWD_COMMAND}`; export r; \
12451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12452 $(HOST_EXPORTS) \
12453 for flag in $(EXTRA_HOST_FLAGS) ; do \
12454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12455 done; \
12456 echo "Doing mostlyclean in gnuserv" ; \
12457 (cd $(HOST_SUBDIR)/gnuserv && \
12458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12460 "RANLIB=$${RANLIB}" \
12461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12462 mostlyclean) \
12463 || exit 1
12465 @endif gnuserv
12467 .PHONY: maybe-clean-gnuserv clean-gnuserv
12468 maybe-clean-gnuserv:
12469 @if gnuserv
12470 maybe-clean-gnuserv: clean-gnuserv
12472 clean-gnuserv:
12473 @: $(MAKE); $(unstage)
12474 @[ -f ./gnuserv/Makefile ] || exit 0; \
12475 r=`${PWD_COMMAND}`; export r; \
12476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12477 $(HOST_EXPORTS) \
12478 for flag in $(EXTRA_HOST_FLAGS) ; do \
12479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12480 done; \
12481 echo "Doing clean in gnuserv" ; \
12482 (cd $(HOST_SUBDIR)/gnuserv && \
12483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12485 "RANLIB=$${RANLIB}" \
12486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12487 clean) \
12488 || exit 1
12490 @endif gnuserv
12492 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12493 maybe-distclean-gnuserv:
12494 @if gnuserv
12495 maybe-distclean-gnuserv: distclean-gnuserv
12497 distclean-gnuserv:
12498 @: $(MAKE); $(unstage)
12499 @[ -f ./gnuserv/Makefile ] || exit 0; \
12500 r=`${PWD_COMMAND}`; export r; \
12501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12502 $(HOST_EXPORTS) \
12503 for flag in $(EXTRA_HOST_FLAGS) ; do \
12504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12505 done; \
12506 echo "Doing distclean in gnuserv" ; \
12507 (cd $(HOST_SUBDIR)/gnuserv && \
12508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12510 "RANLIB=$${RANLIB}" \
12511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12512 distclean) \
12513 || exit 1
12515 @endif gnuserv
12517 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12518 maybe-maintainer-clean-gnuserv:
12519 @if gnuserv
12520 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12522 maintainer-clean-gnuserv:
12523 @: $(MAKE); $(unstage)
12524 @[ -f ./gnuserv/Makefile ] || exit 0; \
12525 r=`${PWD_COMMAND}`; export r; \
12526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12527 $(HOST_EXPORTS) \
12528 for flag in $(EXTRA_HOST_FLAGS) ; do \
12529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12530 done; \
12531 echo "Doing maintainer-clean in gnuserv" ; \
12532 (cd $(HOST_SUBDIR)/gnuserv && \
12533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12535 "RANLIB=$${RANLIB}" \
12536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12537 maintainer-clean) \
12538 || exit 1
12540 @endif gnuserv
12544 .PHONY: configure-gprof maybe-configure-gprof
12545 maybe-configure-gprof:
12546 @if gprof
12547 maybe-configure-gprof: configure-gprof
12548 configure-gprof:
12549 @: $(MAKE); $(unstage)
12550 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12552 r=`${PWD_COMMAND}`; export r; \
12553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12554 $(HOST_EXPORTS) \
12555 echo Configuring in $(HOST_SUBDIR)/gprof; \
12556 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12557 case $(srcdir) in \
12558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12559 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12561 esac; \
12562 srcdiroption="--srcdir=$${topdir}/gprof"; \
12563 libsrcdir="$$s/gprof"; \
12564 $(SHELL) $${libsrcdir}/configure \
12565 $(HOST_CONFIGARGS) $${srcdiroption} \
12566 || exit 1
12567 @endif gprof
12573 .PHONY: all-gprof maybe-all-gprof
12574 maybe-all-gprof:
12575 @if gprof
12576 TARGET-gprof=all
12577 maybe-all-gprof: all-gprof
12578 all-gprof: configure-gprof
12579 @: $(MAKE); $(unstage)
12580 @r=`${PWD_COMMAND}`; export r; \
12581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12582 $(HOST_EXPORTS) \
12583 (cd $(HOST_SUBDIR)/gprof && \
12584 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12585 @endif gprof
12590 .PHONY: check-gprof maybe-check-gprof
12591 maybe-check-gprof:
12592 @if gprof
12593 maybe-check-gprof: check-gprof
12595 check-gprof:
12596 @: $(MAKE); $(unstage)
12597 @r=`${PWD_COMMAND}`; export r; \
12598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 $(HOST_EXPORTS) \
12600 (cd $(HOST_SUBDIR)/gprof && \
12601 $(MAKE) $(FLAGS_TO_PASS) check)
12603 @endif gprof
12605 .PHONY: install-gprof maybe-install-gprof
12606 maybe-install-gprof:
12607 @if gprof
12608 maybe-install-gprof: install-gprof
12610 install-gprof: installdirs
12611 @: $(MAKE); $(unstage)
12612 @r=`${PWD_COMMAND}`; export r; \
12613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12614 $(HOST_EXPORTS) \
12615 (cd $(HOST_SUBDIR)/gprof && \
12616 $(MAKE) $(FLAGS_TO_PASS) install)
12618 @endif gprof
12620 # Other targets (info, dvi, etc.)
12622 .PHONY: maybe-info-gprof info-gprof
12623 maybe-info-gprof:
12624 @if gprof
12625 maybe-info-gprof: info-gprof
12627 info-gprof: \
12628 configure-gprof
12629 @: $(MAKE); $(unstage)
12630 @[ -f ./gprof/Makefile ] || exit 0; \
12631 r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12633 $(HOST_EXPORTS) \
12634 for flag in $(EXTRA_HOST_FLAGS) ; do \
12635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12636 done; \
12637 echo "Doing info in gprof" ; \
12638 (cd $(HOST_SUBDIR)/gprof && \
12639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12641 "RANLIB=$${RANLIB}" \
12642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12643 info) \
12644 || exit 1
12646 @endif gprof
12648 .PHONY: maybe-dvi-gprof dvi-gprof
12649 maybe-dvi-gprof:
12650 @if gprof
12651 maybe-dvi-gprof: dvi-gprof
12653 dvi-gprof: \
12654 configure-gprof
12655 @: $(MAKE); $(unstage)
12656 @[ -f ./gprof/Makefile ] || exit 0; \
12657 r=`${PWD_COMMAND}`; export r; \
12658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12659 $(HOST_EXPORTS) \
12660 for flag in $(EXTRA_HOST_FLAGS) ; do \
12661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12662 done; \
12663 echo "Doing dvi in gprof" ; \
12664 (cd $(HOST_SUBDIR)/gprof && \
12665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12667 "RANLIB=$${RANLIB}" \
12668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12669 dvi) \
12670 || exit 1
12672 @endif gprof
12674 .PHONY: maybe-html-gprof html-gprof
12675 maybe-html-gprof:
12676 @if gprof
12677 maybe-html-gprof: html-gprof
12679 html-gprof: \
12680 configure-gprof
12681 @: $(MAKE); $(unstage)
12682 @[ -f ./gprof/Makefile ] || exit 0; \
12683 r=`${PWD_COMMAND}`; export r; \
12684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12685 $(HOST_EXPORTS) \
12686 for flag in $(EXTRA_HOST_FLAGS) ; do \
12687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12688 done; \
12689 echo "Doing html in gprof" ; \
12690 (cd $(HOST_SUBDIR)/gprof && \
12691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12693 "RANLIB=$${RANLIB}" \
12694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12695 html) \
12696 || exit 1
12698 @endif gprof
12700 .PHONY: maybe-TAGS-gprof TAGS-gprof
12701 maybe-TAGS-gprof:
12702 @if gprof
12703 maybe-TAGS-gprof: TAGS-gprof
12705 TAGS-gprof: \
12706 configure-gprof
12707 @: $(MAKE); $(unstage)
12708 @[ -f ./gprof/Makefile ] || exit 0; \
12709 r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 $(HOST_EXPORTS) \
12712 for flag in $(EXTRA_HOST_FLAGS) ; do \
12713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12714 done; \
12715 echo "Doing TAGS in gprof" ; \
12716 (cd $(HOST_SUBDIR)/gprof && \
12717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12719 "RANLIB=$${RANLIB}" \
12720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12721 TAGS) \
12722 || exit 1
12724 @endif gprof
12726 .PHONY: maybe-install-info-gprof install-info-gprof
12727 maybe-install-info-gprof:
12728 @if gprof
12729 maybe-install-info-gprof: install-info-gprof
12731 install-info-gprof: \
12732 configure-gprof \
12733 info-gprof
12734 @: $(MAKE); $(unstage)
12735 @[ -f ./gprof/Makefile ] || exit 0; \
12736 r=`${PWD_COMMAND}`; export r; \
12737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 $(HOST_EXPORTS) \
12739 for flag in $(EXTRA_HOST_FLAGS) ; do \
12740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12741 done; \
12742 echo "Doing install-info in gprof" ; \
12743 (cd $(HOST_SUBDIR)/gprof && \
12744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12746 "RANLIB=$${RANLIB}" \
12747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12748 install-info) \
12749 || exit 1
12751 @endif gprof
12753 .PHONY: maybe-installcheck-gprof installcheck-gprof
12754 maybe-installcheck-gprof:
12755 @if gprof
12756 maybe-installcheck-gprof: installcheck-gprof
12758 installcheck-gprof: \
12759 configure-gprof
12760 @: $(MAKE); $(unstage)
12761 @[ -f ./gprof/Makefile ] || exit 0; \
12762 r=`${PWD_COMMAND}`; export r; \
12763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12764 $(HOST_EXPORTS) \
12765 for flag in $(EXTRA_HOST_FLAGS) ; do \
12766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12767 done; \
12768 echo "Doing installcheck in gprof" ; \
12769 (cd $(HOST_SUBDIR)/gprof && \
12770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12772 "RANLIB=$${RANLIB}" \
12773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12774 installcheck) \
12775 || exit 1
12777 @endif gprof
12779 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12780 maybe-mostlyclean-gprof:
12781 @if gprof
12782 maybe-mostlyclean-gprof: mostlyclean-gprof
12784 mostlyclean-gprof:
12785 @: $(MAKE); $(unstage)
12786 @[ -f ./gprof/Makefile ] || exit 0; \
12787 r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 $(HOST_EXPORTS) \
12790 for flag in $(EXTRA_HOST_FLAGS) ; do \
12791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12792 done; \
12793 echo "Doing mostlyclean in gprof" ; \
12794 (cd $(HOST_SUBDIR)/gprof && \
12795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12797 "RANLIB=$${RANLIB}" \
12798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12799 mostlyclean) \
12800 || exit 1
12802 @endif gprof
12804 .PHONY: maybe-clean-gprof clean-gprof
12805 maybe-clean-gprof:
12806 @if gprof
12807 maybe-clean-gprof: clean-gprof
12809 clean-gprof:
12810 @: $(MAKE); $(unstage)
12811 @[ -f ./gprof/Makefile ] || exit 0; \
12812 r=`${PWD_COMMAND}`; export r; \
12813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12814 $(HOST_EXPORTS) \
12815 for flag in $(EXTRA_HOST_FLAGS) ; do \
12816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12817 done; \
12818 echo "Doing clean in gprof" ; \
12819 (cd $(HOST_SUBDIR)/gprof && \
12820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12822 "RANLIB=$${RANLIB}" \
12823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12824 clean) \
12825 || exit 1
12827 @endif gprof
12829 .PHONY: maybe-distclean-gprof distclean-gprof
12830 maybe-distclean-gprof:
12831 @if gprof
12832 maybe-distclean-gprof: distclean-gprof
12834 distclean-gprof:
12835 @: $(MAKE); $(unstage)
12836 @[ -f ./gprof/Makefile ] || exit 0; \
12837 r=`${PWD_COMMAND}`; export r; \
12838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12839 $(HOST_EXPORTS) \
12840 for flag in $(EXTRA_HOST_FLAGS) ; do \
12841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12842 done; \
12843 echo "Doing distclean in gprof" ; \
12844 (cd $(HOST_SUBDIR)/gprof && \
12845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12847 "RANLIB=$${RANLIB}" \
12848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12849 distclean) \
12850 || exit 1
12852 @endif gprof
12854 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12855 maybe-maintainer-clean-gprof:
12856 @if gprof
12857 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12859 maintainer-clean-gprof:
12860 @: $(MAKE); $(unstage)
12861 @[ -f ./gprof/Makefile ] || exit 0; \
12862 r=`${PWD_COMMAND}`; export r; \
12863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12864 $(HOST_EXPORTS) \
12865 for flag in $(EXTRA_HOST_FLAGS) ; do \
12866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12867 done; \
12868 echo "Doing maintainer-clean in gprof" ; \
12869 (cd $(HOST_SUBDIR)/gprof && \
12870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12872 "RANLIB=$${RANLIB}" \
12873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12874 maintainer-clean) \
12875 || exit 1
12877 @endif gprof
12881 .PHONY: configure-gzip maybe-configure-gzip
12882 maybe-configure-gzip:
12883 @if gzip
12884 maybe-configure-gzip: configure-gzip
12885 configure-gzip:
12886 @: $(MAKE); $(unstage)
12887 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12889 r=`${PWD_COMMAND}`; export r; \
12890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12891 $(HOST_EXPORTS) \
12892 echo Configuring in $(HOST_SUBDIR)/gzip; \
12893 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12894 case $(srcdir) in \
12895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12896 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12898 esac; \
12899 srcdiroption="--srcdir=$${topdir}/gzip"; \
12900 libsrcdir="$$s/gzip"; \
12901 $(SHELL) $${libsrcdir}/configure \
12902 $(HOST_CONFIGARGS) $${srcdiroption} \
12903 || exit 1
12904 @endif gzip
12910 .PHONY: all-gzip maybe-all-gzip
12911 maybe-all-gzip:
12912 @if gzip
12913 TARGET-gzip=all
12914 maybe-all-gzip: all-gzip
12915 all-gzip: configure-gzip
12916 @: $(MAKE); $(unstage)
12917 @r=`${PWD_COMMAND}`; export r; \
12918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12919 $(HOST_EXPORTS) \
12920 (cd $(HOST_SUBDIR)/gzip && \
12921 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12922 @endif gzip
12927 .PHONY: check-gzip maybe-check-gzip
12928 maybe-check-gzip:
12929 @if gzip
12930 maybe-check-gzip: check-gzip
12932 check-gzip:
12933 @: $(MAKE); $(unstage)
12934 @r=`${PWD_COMMAND}`; export r; \
12935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12936 $(HOST_EXPORTS) \
12937 (cd $(HOST_SUBDIR)/gzip && \
12938 $(MAKE) $(FLAGS_TO_PASS) check)
12940 @endif gzip
12942 .PHONY: install-gzip maybe-install-gzip
12943 maybe-install-gzip:
12944 @if gzip
12945 maybe-install-gzip: install-gzip
12947 install-gzip: installdirs
12948 @: $(MAKE); $(unstage)
12949 @r=`${PWD_COMMAND}`; export r; \
12950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12951 $(HOST_EXPORTS) \
12952 (cd $(HOST_SUBDIR)/gzip && \
12953 $(MAKE) $(FLAGS_TO_PASS) install)
12955 @endif gzip
12957 # Other targets (info, dvi, etc.)
12959 .PHONY: maybe-info-gzip info-gzip
12960 maybe-info-gzip:
12961 @if gzip
12962 maybe-info-gzip: info-gzip
12964 info-gzip: \
12965 configure-gzip
12966 @: $(MAKE); $(unstage)
12967 @[ -f ./gzip/Makefile ] || exit 0; \
12968 r=`${PWD_COMMAND}`; export r; \
12969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12970 $(HOST_EXPORTS) \
12971 for flag in $(EXTRA_HOST_FLAGS) ; do \
12972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12973 done; \
12974 echo "Doing info in gzip" ; \
12975 (cd $(HOST_SUBDIR)/gzip && \
12976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12978 "RANLIB=$${RANLIB}" \
12979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12980 info) \
12981 || exit 1
12983 @endif gzip
12985 .PHONY: maybe-dvi-gzip dvi-gzip
12986 maybe-dvi-gzip:
12987 @if gzip
12988 maybe-dvi-gzip: dvi-gzip
12990 dvi-gzip: \
12991 configure-gzip
12992 @: $(MAKE); $(unstage)
12993 @[ -f ./gzip/Makefile ] || exit 0; \
12994 r=`${PWD_COMMAND}`; export r; \
12995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12996 $(HOST_EXPORTS) \
12997 for flag in $(EXTRA_HOST_FLAGS) ; do \
12998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12999 done; \
13000 echo "Doing dvi in gzip" ; \
13001 (cd $(HOST_SUBDIR)/gzip && \
13002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13004 "RANLIB=$${RANLIB}" \
13005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13006 dvi) \
13007 || exit 1
13009 @endif gzip
13011 .PHONY: maybe-html-gzip html-gzip
13012 maybe-html-gzip:
13013 @if gzip
13014 maybe-html-gzip: html-gzip
13016 html-gzip: \
13017 configure-gzip
13018 @: $(MAKE); $(unstage)
13019 @[ -f ./gzip/Makefile ] || exit 0; \
13020 r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 $(HOST_EXPORTS) \
13023 for flag in $(EXTRA_HOST_FLAGS) ; do \
13024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13025 done; \
13026 echo "Doing html in gzip" ; \
13027 (cd $(HOST_SUBDIR)/gzip && \
13028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13030 "RANLIB=$${RANLIB}" \
13031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13032 html) \
13033 || exit 1
13035 @endif gzip
13037 .PHONY: maybe-TAGS-gzip TAGS-gzip
13038 maybe-TAGS-gzip:
13039 @if gzip
13040 maybe-TAGS-gzip: TAGS-gzip
13042 TAGS-gzip: \
13043 configure-gzip
13044 @: $(MAKE); $(unstage)
13045 @[ -f ./gzip/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 for flag in $(EXTRA_HOST_FLAGS) ; do \
13050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051 done; \
13052 echo "Doing TAGS in gzip" ; \
13053 (cd $(HOST_SUBDIR)/gzip && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056 "RANLIB=$${RANLIB}" \
13057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13058 TAGS) \
13059 || exit 1
13061 @endif gzip
13063 .PHONY: maybe-install-info-gzip install-info-gzip
13064 maybe-install-info-gzip:
13065 @if gzip
13066 maybe-install-info-gzip: install-info-gzip
13068 install-info-gzip: \
13069 configure-gzip \
13070 info-gzip
13071 @: $(MAKE); $(unstage)
13072 @[ -f ./gzip/Makefile ] || exit 0; \
13073 r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 $(HOST_EXPORTS) \
13076 for flag in $(EXTRA_HOST_FLAGS) ; do \
13077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13078 done; \
13079 echo "Doing install-info in gzip" ; \
13080 (cd $(HOST_SUBDIR)/gzip && \
13081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13083 "RANLIB=$${RANLIB}" \
13084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13085 install-info) \
13086 || exit 1
13088 @endif gzip
13090 .PHONY: maybe-installcheck-gzip installcheck-gzip
13091 maybe-installcheck-gzip:
13092 @if gzip
13093 maybe-installcheck-gzip: installcheck-gzip
13095 installcheck-gzip: \
13096 configure-gzip
13097 @: $(MAKE); $(unstage)
13098 @[ -f ./gzip/Makefile ] || exit 0; \
13099 r=`${PWD_COMMAND}`; export r; \
13100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13101 $(HOST_EXPORTS) \
13102 for flag in $(EXTRA_HOST_FLAGS) ; do \
13103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13104 done; \
13105 echo "Doing installcheck in gzip" ; \
13106 (cd $(HOST_SUBDIR)/gzip && \
13107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13109 "RANLIB=$${RANLIB}" \
13110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13111 installcheck) \
13112 || exit 1
13114 @endif gzip
13116 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13117 maybe-mostlyclean-gzip:
13118 @if gzip
13119 maybe-mostlyclean-gzip: mostlyclean-gzip
13121 mostlyclean-gzip:
13122 @: $(MAKE); $(unstage)
13123 @[ -f ./gzip/Makefile ] || exit 0; \
13124 r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 $(HOST_EXPORTS) \
13127 for flag in $(EXTRA_HOST_FLAGS) ; do \
13128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13129 done; \
13130 echo "Doing mostlyclean in gzip" ; \
13131 (cd $(HOST_SUBDIR)/gzip && \
13132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13134 "RANLIB=$${RANLIB}" \
13135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13136 mostlyclean) \
13137 || exit 1
13139 @endif gzip
13141 .PHONY: maybe-clean-gzip clean-gzip
13142 maybe-clean-gzip:
13143 @if gzip
13144 maybe-clean-gzip: clean-gzip
13146 clean-gzip:
13147 @: $(MAKE); $(unstage)
13148 @[ -f ./gzip/Makefile ] || exit 0; \
13149 r=`${PWD_COMMAND}`; export r; \
13150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13151 $(HOST_EXPORTS) \
13152 for flag in $(EXTRA_HOST_FLAGS) ; do \
13153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13154 done; \
13155 echo "Doing clean in gzip" ; \
13156 (cd $(HOST_SUBDIR)/gzip && \
13157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13159 "RANLIB=$${RANLIB}" \
13160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13161 clean) \
13162 || exit 1
13164 @endif gzip
13166 .PHONY: maybe-distclean-gzip distclean-gzip
13167 maybe-distclean-gzip:
13168 @if gzip
13169 maybe-distclean-gzip: distclean-gzip
13171 distclean-gzip:
13172 @: $(MAKE); $(unstage)
13173 @[ -f ./gzip/Makefile ] || exit 0; \
13174 r=`${PWD_COMMAND}`; export r; \
13175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 $(HOST_EXPORTS) \
13177 for flag in $(EXTRA_HOST_FLAGS) ; do \
13178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13179 done; \
13180 echo "Doing distclean in gzip" ; \
13181 (cd $(HOST_SUBDIR)/gzip && \
13182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13184 "RANLIB=$${RANLIB}" \
13185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13186 distclean) \
13187 || exit 1
13189 @endif gzip
13191 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13192 maybe-maintainer-clean-gzip:
13193 @if gzip
13194 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13196 maintainer-clean-gzip:
13197 @: $(MAKE); $(unstage)
13198 @[ -f ./gzip/Makefile ] || exit 0; \
13199 r=`${PWD_COMMAND}`; export r; \
13200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13201 $(HOST_EXPORTS) \
13202 for flag in $(EXTRA_HOST_FLAGS) ; do \
13203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13204 done; \
13205 echo "Doing maintainer-clean in gzip" ; \
13206 (cd $(HOST_SUBDIR)/gzip && \
13207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13209 "RANLIB=$${RANLIB}" \
13210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13211 maintainer-clean) \
13212 || exit 1
13214 @endif gzip
13218 .PHONY: configure-hello maybe-configure-hello
13219 maybe-configure-hello:
13220 @if hello
13221 maybe-configure-hello: configure-hello
13222 configure-hello:
13223 @: $(MAKE); $(unstage)
13224 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13226 r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 $(HOST_EXPORTS) \
13229 echo Configuring in $(HOST_SUBDIR)/hello; \
13230 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13231 case $(srcdir) in \
13232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13233 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13235 esac; \
13236 srcdiroption="--srcdir=$${topdir}/hello"; \
13237 libsrcdir="$$s/hello"; \
13238 $(SHELL) $${libsrcdir}/configure \
13239 $(HOST_CONFIGARGS) $${srcdiroption} \
13240 || exit 1
13241 @endif hello
13247 .PHONY: all-hello maybe-all-hello
13248 maybe-all-hello:
13249 @if hello
13250 TARGET-hello=all
13251 maybe-all-hello: all-hello
13252 all-hello: configure-hello
13253 @: $(MAKE); $(unstage)
13254 @r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256 $(HOST_EXPORTS) \
13257 (cd $(HOST_SUBDIR)/hello && \
13258 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13259 @endif hello
13264 .PHONY: check-hello maybe-check-hello
13265 maybe-check-hello:
13266 @if hello
13267 maybe-check-hello: check-hello
13269 check-hello:
13270 @: $(MAKE); $(unstage)
13271 @r=`${PWD_COMMAND}`; export r; \
13272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13273 $(HOST_EXPORTS) \
13274 (cd $(HOST_SUBDIR)/hello && \
13275 $(MAKE) $(FLAGS_TO_PASS) check)
13277 @endif hello
13279 .PHONY: install-hello maybe-install-hello
13280 maybe-install-hello:
13281 @if hello
13282 maybe-install-hello: install-hello
13284 install-hello: installdirs
13285 @: $(MAKE); $(unstage)
13286 @r=`${PWD_COMMAND}`; export r; \
13287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13288 $(HOST_EXPORTS) \
13289 (cd $(HOST_SUBDIR)/hello && \
13290 $(MAKE) $(FLAGS_TO_PASS) install)
13292 @endif hello
13294 # Other targets (info, dvi, etc.)
13296 .PHONY: maybe-info-hello info-hello
13297 maybe-info-hello:
13298 @if hello
13299 maybe-info-hello: info-hello
13301 info-hello: \
13302 configure-hello
13303 @: $(MAKE); $(unstage)
13304 @[ -f ./hello/Makefile ] || exit 0; \
13305 r=`${PWD_COMMAND}`; export r; \
13306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13307 $(HOST_EXPORTS) \
13308 for flag in $(EXTRA_HOST_FLAGS) ; do \
13309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13310 done; \
13311 echo "Doing info in hello" ; \
13312 (cd $(HOST_SUBDIR)/hello && \
13313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13315 "RANLIB=$${RANLIB}" \
13316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13317 info) \
13318 || exit 1
13320 @endif hello
13322 .PHONY: maybe-dvi-hello dvi-hello
13323 maybe-dvi-hello:
13324 @if hello
13325 maybe-dvi-hello: dvi-hello
13327 dvi-hello: \
13328 configure-hello
13329 @: $(MAKE); $(unstage)
13330 @[ -f ./hello/Makefile ] || exit 0; \
13331 r=`${PWD_COMMAND}`; export r; \
13332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13333 $(HOST_EXPORTS) \
13334 for flag in $(EXTRA_HOST_FLAGS) ; do \
13335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13336 done; \
13337 echo "Doing dvi in hello" ; \
13338 (cd $(HOST_SUBDIR)/hello && \
13339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13341 "RANLIB=$${RANLIB}" \
13342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13343 dvi) \
13344 || exit 1
13346 @endif hello
13348 .PHONY: maybe-html-hello html-hello
13349 maybe-html-hello:
13350 @if hello
13351 maybe-html-hello: html-hello
13353 html-hello: \
13354 configure-hello
13355 @: $(MAKE); $(unstage)
13356 @[ -f ./hello/Makefile ] || exit 0; \
13357 r=`${PWD_COMMAND}`; export r; \
13358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13359 $(HOST_EXPORTS) \
13360 for flag in $(EXTRA_HOST_FLAGS) ; do \
13361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13362 done; \
13363 echo "Doing html in hello" ; \
13364 (cd $(HOST_SUBDIR)/hello && \
13365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13367 "RANLIB=$${RANLIB}" \
13368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13369 html) \
13370 || exit 1
13372 @endif hello
13374 .PHONY: maybe-TAGS-hello TAGS-hello
13375 maybe-TAGS-hello:
13376 @if hello
13377 maybe-TAGS-hello: TAGS-hello
13379 TAGS-hello: \
13380 configure-hello
13381 @: $(MAKE); $(unstage)
13382 @[ -f ./hello/Makefile ] || exit 0; \
13383 r=`${PWD_COMMAND}`; export r; \
13384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13385 $(HOST_EXPORTS) \
13386 for flag in $(EXTRA_HOST_FLAGS) ; do \
13387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13388 done; \
13389 echo "Doing TAGS in hello" ; \
13390 (cd $(HOST_SUBDIR)/hello && \
13391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13393 "RANLIB=$${RANLIB}" \
13394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13395 TAGS) \
13396 || exit 1
13398 @endif hello
13400 .PHONY: maybe-install-info-hello install-info-hello
13401 maybe-install-info-hello:
13402 @if hello
13403 maybe-install-info-hello: install-info-hello
13405 install-info-hello: \
13406 configure-hello \
13407 info-hello
13408 @: $(MAKE); $(unstage)
13409 @[ -f ./hello/Makefile ] || exit 0; \
13410 r=`${PWD_COMMAND}`; export r; \
13411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13412 $(HOST_EXPORTS) \
13413 for flag in $(EXTRA_HOST_FLAGS) ; do \
13414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13415 done; \
13416 echo "Doing install-info in hello" ; \
13417 (cd $(HOST_SUBDIR)/hello && \
13418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13420 "RANLIB=$${RANLIB}" \
13421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13422 install-info) \
13423 || exit 1
13425 @endif hello
13427 .PHONY: maybe-installcheck-hello installcheck-hello
13428 maybe-installcheck-hello:
13429 @if hello
13430 maybe-installcheck-hello: installcheck-hello
13432 installcheck-hello: \
13433 configure-hello
13434 @: $(MAKE); $(unstage)
13435 @[ -f ./hello/Makefile ] || exit 0; \
13436 r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438 $(HOST_EXPORTS) \
13439 for flag in $(EXTRA_HOST_FLAGS) ; do \
13440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13441 done; \
13442 echo "Doing installcheck in hello" ; \
13443 (cd $(HOST_SUBDIR)/hello && \
13444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13446 "RANLIB=$${RANLIB}" \
13447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13448 installcheck) \
13449 || exit 1
13451 @endif hello
13453 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13454 maybe-mostlyclean-hello:
13455 @if hello
13456 maybe-mostlyclean-hello: mostlyclean-hello
13458 mostlyclean-hello:
13459 @: $(MAKE); $(unstage)
13460 @[ -f ./hello/Makefile ] || exit 0; \
13461 r=`${PWD_COMMAND}`; export r; \
13462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13463 $(HOST_EXPORTS) \
13464 for flag in $(EXTRA_HOST_FLAGS) ; do \
13465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13466 done; \
13467 echo "Doing mostlyclean in hello" ; \
13468 (cd $(HOST_SUBDIR)/hello && \
13469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13471 "RANLIB=$${RANLIB}" \
13472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13473 mostlyclean) \
13474 || exit 1
13476 @endif hello
13478 .PHONY: maybe-clean-hello clean-hello
13479 maybe-clean-hello:
13480 @if hello
13481 maybe-clean-hello: clean-hello
13483 clean-hello:
13484 @: $(MAKE); $(unstage)
13485 @[ -f ./hello/Makefile ] || exit 0; \
13486 r=`${PWD_COMMAND}`; export r; \
13487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13488 $(HOST_EXPORTS) \
13489 for flag in $(EXTRA_HOST_FLAGS) ; do \
13490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13491 done; \
13492 echo "Doing clean in hello" ; \
13493 (cd $(HOST_SUBDIR)/hello && \
13494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13496 "RANLIB=$${RANLIB}" \
13497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13498 clean) \
13499 || exit 1
13501 @endif hello
13503 .PHONY: maybe-distclean-hello distclean-hello
13504 maybe-distclean-hello:
13505 @if hello
13506 maybe-distclean-hello: distclean-hello
13508 distclean-hello:
13509 @: $(MAKE); $(unstage)
13510 @[ -f ./hello/Makefile ] || exit 0; \
13511 r=`${PWD_COMMAND}`; export r; \
13512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13513 $(HOST_EXPORTS) \
13514 for flag in $(EXTRA_HOST_FLAGS) ; do \
13515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13516 done; \
13517 echo "Doing distclean in hello" ; \
13518 (cd $(HOST_SUBDIR)/hello && \
13519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13521 "RANLIB=$${RANLIB}" \
13522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13523 distclean) \
13524 || exit 1
13526 @endif hello
13528 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13529 maybe-maintainer-clean-hello:
13530 @if hello
13531 maybe-maintainer-clean-hello: maintainer-clean-hello
13533 maintainer-clean-hello:
13534 @: $(MAKE); $(unstage)
13535 @[ -f ./hello/Makefile ] || exit 0; \
13536 r=`${PWD_COMMAND}`; export r; \
13537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13538 $(HOST_EXPORTS) \
13539 for flag in $(EXTRA_HOST_FLAGS) ; do \
13540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13541 done; \
13542 echo "Doing maintainer-clean in hello" ; \
13543 (cd $(HOST_SUBDIR)/hello && \
13544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13546 "RANLIB=$${RANLIB}" \
13547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13548 maintainer-clean) \
13549 || exit 1
13551 @endif hello
13555 .PHONY: configure-indent maybe-configure-indent
13556 maybe-configure-indent:
13557 @if indent
13558 maybe-configure-indent: configure-indent
13559 configure-indent:
13560 @: $(MAKE); $(unstage)
13561 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13563 r=`${PWD_COMMAND}`; export r; \
13564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13565 $(HOST_EXPORTS) \
13566 echo Configuring in $(HOST_SUBDIR)/indent; \
13567 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13568 case $(srcdir) in \
13569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13570 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13572 esac; \
13573 srcdiroption="--srcdir=$${topdir}/indent"; \
13574 libsrcdir="$$s/indent"; \
13575 $(SHELL) $${libsrcdir}/configure \
13576 $(HOST_CONFIGARGS) $${srcdiroption} \
13577 || exit 1
13578 @endif indent
13584 .PHONY: all-indent maybe-all-indent
13585 maybe-all-indent:
13586 @if indent
13587 TARGET-indent=all
13588 maybe-all-indent: all-indent
13589 all-indent: configure-indent
13590 @: $(MAKE); $(unstage)
13591 @r=`${PWD_COMMAND}`; export r; \
13592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13593 $(HOST_EXPORTS) \
13594 (cd $(HOST_SUBDIR)/indent && \
13595 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13596 @endif indent
13601 .PHONY: check-indent maybe-check-indent
13602 maybe-check-indent:
13603 @if indent
13604 maybe-check-indent: check-indent
13606 check-indent:
13607 @: $(MAKE); $(unstage)
13608 @r=`${PWD_COMMAND}`; export r; \
13609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13610 $(HOST_EXPORTS) \
13611 (cd $(HOST_SUBDIR)/indent && \
13612 $(MAKE) $(FLAGS_TO_PASS) check)
13614 @endif indent
13616 .PHONY: install-indent maybe-install-indent
13617 maybe-install-indent:
13618 @if indent
13619 maybe-install-indent: install-indent
13621 install-indent: installdirs
13622 @: $(MAKE); $(unstage)
13623 @r=`${PWD_COMMAND}`; export r; \
13624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13625 $(HOST_EXPORTS) \
13626 (cd $(HOST_SUBDIR)/indent && \
13627 $(MAKE) $(FLAGS_TO_PASS) install)
13629 @endif indent
13631 # Other targets (info, dvi, etc.)
13633 .PHONY: maybe-info-indent info-indent
13634 maybe-info-indent:
13635 @if indent
13636 maybe-info-indent: info-indent
13638 info-indent: \
13639 configure-indent
13640 @: $(MAKE); $(unstage)
13641 @[ -f ./indent/Makefile ] || exit 0; \
13642 r=`${PWD_COMMAND}`; export r; \
13643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13644 $(HOST_EXPORTS) \
13645 for flag in $(EXTRA_HOST_FLAGS) ; do \
13646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13647 done; \
13648 echo "Doing info in indent" ; \
13649 (cd $(HOST_SUBDIR)/indent && \
13650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13652 "RANLIB=$${RANLIB}" \
13653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13654 info) \
13655 || exit 1
13657 @endif indent
13659 .PHONY: maybe-dvi-indent dvi-indent
13660 maybe-dvi-indent:
13661 @if indent
13662 maybe-dvi-indent: dvi-indent
13664 dvi-indent: \
13665 configure-indent
13666 @: $(MAKE); $(unstage)
13667 @[ -f ./indent/Makefile ] || exit 0; \
13668 r=`${PWD_COMMAND}`; export r; \
13669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13670 $(HOST_EXPORTS) \
13671 for flag in $(EXTRA_HOST_FLAGS) ; do \
13672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13673 done; \
13674 echo "Doing dvi in indent" ; \
13675 (cd $(HOST_SUBDIR)/indent && \
13676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13678 "RANLIB=$${RANLIB}" \
13679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13680 dvi) \
13681 || exit 1
13683 @endif indent
13685 .PHONY: maybe-html-indent html-indent
13686 maybe-html-indent:
13687 @if indent
13688 maybe-html-indent: html-indent
13690 html-indent: \
13691 configure-indent
13692 @: $(MAKE); $(unstage)
13693 @[ -f ./indent/Makefile ] || exit 0; \
13694 r=`${PWD_COMMAND}`; export r; \
13695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13696 $(HOST_EXPORTS) \
13697 for flag in $(EXTRA_HOST_FLAGS) ; do \
13698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13699 done; \
13700 echo "Doing html in indent" ; \
13701 (cd $(HOST_SUBDIR)/indent && \
13702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13704 "RANLIB=$${RANLIB}" \
13705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13706 html) \
13707 || exit 1
13709 @endif indent
13711 .PHONY: maybe-TAGS-indent TAGS-indent
13712 maybe-TAGS-indent:
13713 @if indent
13714 maybe-TAGS-indent: TAGS-indent
13716 TAGS-indent: \
13717 configure-indent
13718 @: $(MAKE); $(unstage)
13719 @[ -f ./indent/Makefile ] || exit 0; \
13720 r=`${PWD_COMMAND}`; export r; \
13721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13722 $(HOST_EXPORTS) \
13723 for flag in $(EXTRA_HOST_FLAGS) ; do \
13724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13725 done; \
13726 echo "Doing TAGS in indent" ; \
13727 (cd $(HOST_SUBDIR)/indent && \
13728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13730 "RANLIB=$${RANLIB}" \
13731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13732 TAGS) \
13733 || exit 1
13735 @endif indent
13737 .PHONY: maybe-install-info-indent install-info-indent
13738 maybe-install-info-indent:
13739 @if indent
13740 maybe-install-info-indent: install-info-indent
13742 install-info-indent: \
13743 configure-indent \
13744 info-indent
13745 @: $(MAKE); $(unstage)
13746 @[ -f ./indent/Makefile ] || exit 0; \
13747 r=`${PWD_COMMAND}`; export r; \
13748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13749 $(HOST_EXPORTS) \
13750 for flag in $(EXTRA_HOST_FLAGS) ; do \
13751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13752 done; \
13753 echo "Doing install-info in indent" ; \
13754 (cd $(HOST_SUBDIR)/indent && \
13755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13757 "RANLIB=$${RANLIB}" \
13758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13759 install-info) \
13760 || exit 1
13762 @endif indent
13764 .PHONY: maybe-installcheck-indent installcheck-indent
13765 maybe-installcheck-indent:
13766 @if indent
13767 maybe-installcheck-indent: installcheck-indent
13769 installcheck-indent: \
13770 configure-indent
13771 @: $(MAKE); $(unstage)
13772 @[ -f ./indent/Makefile ] || exit 0; \
13773 r=`${PWD_COMMAND}`; export r; \
13774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13775 $(HOST_EXPORTS) \
13776 for flag in $(EXTRA_HOST_FLAGS) ; do \
13777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13778 done; \
13779 echo "Doing installcheck in indent" ; \
13780 (cd $(HOST_SUBDIR)/indent && \
13781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13783 "RANLIB=$${RANLIB}" \
13784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13785 installcheck) \
13786 || exit 1
13788 @endif indent
13790 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13791 maybe-mostlyclean-indent:
13792 @if indent
13793 maybe-mostlyclean-indent: mostlyclean-indent
13795 mostlyclean-indent:
13796 @: $(MAKE); $(unstage)
13797 @[ -f ./indent/Makefile ] || exit 0; \
13798 r=`${PWD_COMMAND}`; export r; \
13799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 $(HOST_EXPORTS) \
13801 for flag in $(EXTRA_HOST_FLAGS) ; do \
13802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13803 done; \
13804 echo "Doing mostlyclean in indent" ; \
13805 (cd $(HOST_SUBDIR)/indent && \
13806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13808 "RANLIB=$${RANLIB}" \
13809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13810 mostlyclean) \
13811 || exit 1
13813 @endif indent
13815 .PHONY: maybe-clean-indent clean-indent
13816 maybe-clean-indent:
13817 @if indent
13818 maybe-clean-indent: clean-indent
13820 clean-indent:
13821 @: $(MAKE); $(unstage)
13822 @[ -f ./indent/Makefile ] || exit 0; \
13823 r=`${PWD_COMMAND}`; export r; \
13824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825 $(HOST_EXPORTS) \
13826 for flag in $(EXTRA_HOST_FLAGS) ; do \
13827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13828 done; \
13829 echo "Doing clean in indent" ; \
13830 (cd $(HOST_SUBDIR)/indent && \
13831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13833 "RANLIB=$${RANLIB}" \
13834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13835 clean) \
13836 || exit 1
13838 @endif indent
13840 .PHONY: maybe-distclean-indent distclean-indent
13841 maybe-distclean-indent:
13842 @if indent
13843 maybe-distclean-indent: distclean-indent
13845 distclean-indent:
13846 @: $(MAKE); $(unstage)
13847 @[ -f ./indent/Makefile ] || exit 0; \
13848 r=`${PWD_COMMAND}`; export r; \
13849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13850 $(HOST_EXPORTS) \
13851 for flag in $(EXTRA_HOST_FLAGS) ; do \
13852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13853 done; \
13854 echo "Doing distclean in indent" ; \
13855 (cd $(HOST_SUBDIR)/indent && \
13856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13858 "RANLIB=$${RANLIB}" \
13859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13860 distclean) \
13861 || exit 1
13863 @endif indent
13865 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13866 maybe-maintainer-clean-indent:
13867 @if indent
13868 maybe-maintainer-clean-indent: maintainer-clean-indent
13870 maintainer-clean-indent:
13871 @: $(MAKE); $(unstage)
13872 @[ -f ./indent/Makefile ] || exit 0; \
13873 r=`${PWD_COMMAND}`; export r; \
13874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13875 $(HOST_EXPORTS) \
13876 for flag in $(EXTRA_HOST_FLAGS) ; do \
13877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13878 done; \
13879 echo "Doing maintainer-clean in indent" ; \
13880 (cd $(HOST_SUBDIR)/indent && \
13881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13883 "RANLIB=$${RANLIB}" \
13884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13885 maintainer-clean) \
13886 || exit 1
13888 @endif indent
13892 .PHONY: configure-intl maybe-configure-intl
13893 maybe-configure-intl:
13894 @if intl
13895 maybe-configure-intl: configure-intl
13896 configure-intl:
13897 @test -f stage_last && exit 0; \
13898 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13899 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13900 r=`${PWD_COMMAND}`; export r; \
13901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13902 $(HOST_EXPORTS) \
13903 echo Configuring in $(HOST_SUBDIR)/intl; \
13904 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13905 case $(srcdir) in \
13906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13907 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13909 esac; \
13910 srcdiroption="--srcdir=$${topdir}/intl"; \
13911 libsrcdir="$$s/intl"; \
13912 $(SHELL) $${libsrcdir}/configure \
13913 $(HOST_CONFIGARGS) $${srcdiroption} \
13914 || exit 1
13915 @endif intl
13919 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13920 maybe-configure-stage1-intl:
13921 @if intl-bootstrap
13922 maybe-configure-stage1-intl: configure-stage1-intl
13923 configure-stage1-intl:
13924 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
13925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13926 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13927 $(HOST_EXPORTS) \
13928 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13930 cd $(HOST_SUBDIR)/intl || exit 1; \
13931 case $(srcdir) in \
13932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13933 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13935 esac; \
13936 srcdiroption="--srcdir=$${topdir}/intl"; \
13937 libsrcdir="$$s/intl"; \
13938 $(SHELL) $${libsrcdir}/configure \
13939 $(HOST_CONFIGARGS) $${srcdiroption} \
13940 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13941 @endif intl-bootstrap
13943 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13944 maybe-configure-stage2-intl:
13945 @if intl-bootstrap
13946 maybe-configure-stage2-intl: configure-stage2-intl
13947 configure-stage2-intl:
13948 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
13949 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13950 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13951 $(HOST_EXPORTS) \
13952 $(POSTSTAGE1_HOST_EXPORTS) \
13953 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13955 cd $(HOST_SUBDIR)/intl || exit 1; \
13956 case $(srcdir) in \
13957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13958 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13960 esac; \
13961 srcdiroption="--srcdir=$${topdir}/intl"; \
13962 libsrcdir="$$s/intl"; \
13963 $(SHELL) $${libsrcdir}/configure \
13964 $(HOST_CONFIGARGS) $${srcdiroption} \
13965 @stage2_werror_flag@
13966 @endif intl-bootstrap
13968 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13969 maybe-configure-stage3-intl:
13970 @if intl-bootstrap
13971 maybe-configure-stage3-intl: configure-stage3-intl
13972 configure-stage3-intl:
13973 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
13974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
13975 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13976 $(HOST_EXPORTS) \
13977 $(POSTSTAGE1_HOST_EXPORTS) \
13978 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13979 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13980 cd $(HOST_SUBDIR)/intl || exit 1; \
13981 case $(srcdir) in \
13982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13983 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13985 esac; \
13986 srcdiroption="--srcdir=$${topdir}/intl"; \
13987 libsrcdir="$$s/intl"; \
13988 $(SHELL) $${libsrcdir}/configure \
13989 $(HOST_CONFIGARGS) $${srcdiroption} \
13990 @stage2_werror_flag@
13991 @endif intl-bootstrap
13993 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13994 maybe-configure-stage4-intl:
13995 @if intl-bootstrap
13996 maybe-configure-stage4-intl: configure-stage4-intl
13997 configure-stage4-intl:
13998 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
13999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14000 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14001 $(HOST_EXPORTS) \
14002 $(POSTSTAGE1_HOST_EXPORTS) \
14003 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14005 cd $(HOST_SUBDIR)/intl || exit 1; \
14006 case $(srcdir) in \
14007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14008 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14010 esac; \
14011 srcdiroption="--srcdir=$${topdir}/intl"; \
14012 libsrcdir="$$s/intl"; \
14013 $(SHELL) $${libsrcdir}/configure \
14014 $(HOST_CONFIGARGS) $${srcdiroption} \
14015 @stage2_werror_flag@
14016 @endif intl-bootstrap
14018 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14019 maybe-configure-stageprofile-intl:
14020 @if intl-bootstrap
14021 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14022 configure-stageprofile-intl:
14023 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14024 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14025 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14026 $(HOST_EXPORTS) \
14027 $(POSTSTAGE1_HOST_EXPORTS) \
14028 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14030 cd $(HOST_SUBDIR)/intl || exit 1; \
14031 case $(srcdir) in \
14032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14033 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14035 esac; \
14036 srcdiroption="--srcdir=$${topdir}/intl"; \
14037 libsrcdir="$$s/intl"; \
14038 $(SHELL) $${libsrcdir}/configure \
14039 $(HOST_CONFIGARGS) $${srcdiroption} \
14040 @stage2_werror_flag@
14041 @endif intl-bootstrap
14043 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14044 maybe-configure-stagefeedback-intl:
14045 @if intl-bootstrap
14046 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14047 configure-stagefeedback-intl:
14048 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14050 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14051 $(HOST_EXPORTS) \
14052 $(POSTSTAGE1_HOST_EXPORTS) \
14053 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14055 cd $(HOST_SUBDIR)/intl || exit 1; \
14056 case $(srcdir) in \
14057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14058 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14060 esac; \
14061 srcdiroption="--srcdir=$${topdir}/intl"; \
14062 libsrcdir="$$s/intl"; \
14063 $(SHELL) $${libsrcdir}/configure \
14064 $(HOST_CONFIGARGS) $${srcdiroption} \
14065 @stage2_werror_flag@
14066 @endif intl-bootstrap
14072 .PHONY: all-intl maybe-all-intl
14073 maybe-all-intl:
14074 @if intl
14075 TARGET-intl=all
14076 maybe-all-intl: all-intl
14077 all-intl: configure-intl
14078 @test -f stage_last && exit 0; \
14079 r=`${PWD_COMMAND}`; export r; \
14080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14081 $(HOST_EXPORTS) \
14082 (cd $(HOST_SUBDIR)/intl && \
14083 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14084 @endif intl
14088 .PHONY: all-stage1-intl maybe-all-stage1-intl
14089 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14090 maybe-all-stage1-intl:
14091 maybe-clean-stage1-intl:
14092 @if intl-bootstrap
14093 maybe-all-stage1-intl: all-stage1-intl
14094 all-stage1: all-stage1-intl
14095 TARGET-stage1-intl = $(TARGET-intl)
14096 all-stage1-intl: configure-stage1-intl
14097 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14098 @r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 $(HOST_EXPORTS) \
14101 cd $(HOST_SUBDIR)/intl && \
14102 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14103 $(TARGET-stage1-intl)
14105 maybe-clean-stage1-intl: clean-stage1-intl
14106 clean-stage1: clean-stage1-intl
14107 clean-stage1-intl:
14108 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14109 || exit 0 ; \
14110 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14111 cd $(HOST_SUBDIR)/intl && \
14112 $(MAKE) $(FLAGS_TO_PASS) \
14113 CFLAGS="$(STAGE1_CFLAGS)" clean
14114 @endif intl-bootstrap
14117 .PHONY: all-stage2-intl maybe-all-stage2-intl
14118 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14119 maybe-all-stage2-intl:
14120 maybe-clean-stage2-intl:
14121 @if intl-bootstrap
14122 maybe-all-stage2-intl: all-stage2-intl
14123 all-stage2: all-stage2-intl
14124 TARGET-stage2-intl = $(TARGET-intl)
14125 all-stage2-intl: configure-stage2-intl
14126 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14127 @r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(HOST_EXPORTS) \
14130 $(POSTSTAGE1_HOST_EXPORTS) \
14131 cd $(HOST_SUBDIR)/intl && \
14132 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14133 $(TARGET-stage2-intl)
14135 maybe-clean-stage2-intl: clean-stage2-intl
14136 clean-stage2: clean-stage2-intl
14137 clean-stage2-intl:
14138 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14139 || exit 0 ; \
14140 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14141 cd $(HOST_SUBDIR)/intl && \
14142 $(MAKE) $(FLAGS_TO_PASS) \
14143 $(POSTSTAGE1_FLAGS_TO_PASS) \
14144 clean
14145 @endif intl-bootstrap
14148 .PHONY: all-stage3-intl maybe-all-stage3-intl
14149 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14150 maybe-all-stage3-intl:
14151 maybe-clean-stage3-intl:
14152 @if intl-bootstrap
14153 maybe-all-stage3-intl: all-stage3-intl
14154 all-stage3: all-stage3-intl
14155 TARGET-stage3-intl = $(TARGET-intl)
14156 all-stage3-intl: configure-stage3-intl
14157 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14158 @r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 $(HOST_EXPORTS) \
14161 $(POSTSTAGE1_HOST_EXPORTS) \
14162 cd $(HOST_SUBDIR)/intl && \
14163 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14164 $(TARGET-stage3-intl)
14166 maybe-clean-stage3-intl: clean-stage3-intl
14167 clean-stage3: clean-stage3-intl
14168 clean-stage3-intl:
14169 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14170 || exit 0 ; \
14171 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14172 cd $(HOST_SUBDIR)/intl && \
14173 $(MAKE) $(FLAGS_TO_PASS) \
14174 $(POSTSTAGE1_FLAGS_TO_PASS) \
14175 clean
14176 @endif intl-bootstrap
14179 .PHONY: all-stage4-intl maybe-all-stage4-intl
14180 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14181 maybe-all-stage4-intl:
14182 maybe-clean-stage4-intl:
14183 @if intl-bootstrap
14184 maybe-all-stage4-intl: all-stage4-intl
14185 all-stage4: all-stage4-intl
14186 TARGET-stage4-intl = $(TARGET-intl)
14187 all-stage4-intl: configure-stage4-intl
14188 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14189 @r=`${PWD_COMMAND}`; export r; \
14190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14191 $(HOST_EXPORTS) \
14192 $(POSTSTAGE1_HOST_EXPORTS) \
14193 cd $(HOST_SUBDIR)/intl && \
14194 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14195 $(TARGET-stage4-intl)
14197 maybe-clean-stage4-intl: clean-stage4-intl
14198 clean-stage4: clean-stage4-intl
14199 clean-stage4-intl:
14200 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14201 || exit 0 ; \
14202 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14203 cd $(HOST_SUBDIR)/intl && \
14204 $(MAKE) $(FLAGS_TO_PASS) \
14205 $(POSTSTAGE1_FLAGS_TO_PASS) \
14206 clean
14207 @endif intl-bootstrap
14210 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14211 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14212 maybe-all-stageprofile-intl:
14213 maybe-clean-stageprofile-intl:
14214 @if intl-bootstrap
14215 maybe-all-stageprofile-intl: all-stageprofile-intl
14216 all-stageprofile: all-stageprofile-intl
14217 TARGET-stageprofile-intl = $(TARGET-intl)
14218 all-stageprofile-intl: configure-stageprofile-intl
14219 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14220 @r=`${PWD_COMMAND}`; export r; \
14221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14222 $(HOST_EXPORTS) \
14223 $(POSTSTAGE1_HOST_EXPORTS) \
14224 cd $(HOST_SUBDIR)/intl && \
14225 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14226 $(TARGET-stageprofile-intl)
14228 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14229 clean-stageprofile: clean-stageprofile-intl
14230 clean-stageprofile-intl:
14231 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14232 || exit 0 ; \
14233 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14234 cd $(HOST_SUBDIR)/intl && \
14235 $(MAKE) $(FLAGS_TO_PASS) \
14236 $(POSTSTAGE1_FLAGS_TO_PASS) \
14237 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14238 @endif intl-bootstrap
14241 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14242 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14243 maybe-all-stagefeedback-intl:
14244 maybe-clean-stagefeedback-intl:
14245 @if intl-bootstrap
14246 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14247 all-stagefeedback: all-stagefeedback-intl
14248 TARGET-stagefeedback-intl = $(TARGET-intl)
14249 all-stagefeedback-intl: configure-stagefeedback-intl
14250 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14251 @r=`${PWD_COMMAND}`; export r; \
14252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14253 $(HOST_EXPORTS) \
14254 $(POSTSTAGE1_HOST_EXPORTS) \
14255 cd $(HOST_SUBDIR)/intl && \
14256 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14257 $(TARGET-stagefeedback-intl)
14259 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14260 clean-stagefeedback: clean-stagefeedback-intl
14261 clean-stagefeedback-intl:
14262 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14263 || exit 0 ; \
14264 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14265 cd $(HOST_SUBDIR)/intl && \
14266 $(MAKE) $(FLAGS_TO_PASS) \
14267 $(POSTSTAGE1_FLAGS_TO_PASS) \
14268 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14269 @endif intl-bootstrap
14275 .PHONY: check-intl maybe-check-intl
14276 maybe-check-intl:
14277 @if intl
14278 maybe-check-intl: check-intl
14280 check-intl:
14281 @: $(MAKE); $(unstage)
14282 @r=`${PWD_COMMAND}`; export r; \
14283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284 $(HOST_EXPORTS) \
14285 (cd $(HOST_SUBDIR)/intl && \
14286 $(MAKE) $(FLAGS_TO_PASS) check)
14288 @endif intl
14290 .PHONY: install-intl maybe-install-intl
14291 maybe-install-intl:
14292 @if intl
14293 maybe-install-intl: install-intl
14295 install-intl: installdirs
14296 @: $(MAKE); $(unstage)
14297 @r=`${PWD_COMMAND}`; export r; \
14298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14299 $(HOST_EXPORTS) \
14300 (cd $(HOST_SUBDIR)/intl && \
14301 $(MAKE) $(FLAGS_TO_PASS) install)
14303 @endif intl
14305 # Other targets (info, dvi, etc.)
14307 .PHONY: maybe-info-intl info-intl
14308 maybe-info-intl:
14309 @if intl
14310 maybe-info-intl: info-intl
14312 info-intl: \
14313 configure-intl
14314 @[ -f ./intl/Makefile ] || exit 0; \
14315 r=`${PWD_COMMAND}`; export r; \
14316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14317 $(HOST_EXPORTS) \
14318 for flag in $(EXTRA_HOST_FLAGS) ; do \
14319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14320 done; \
14321 echo "Doing info in intl" ; \
14322 (cd $(HOST_SUBDIR)/intl && \
14323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14325 "RANLIB=$${RANLIB}" \
14326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14327 info) \
14328 || exit 1
14330 @endif intl
14332 .PHONY: maybe-dvi-intl dvi-intl
14333 maybe-dvi-intl:
14334 @if intl
14335 maybe-dvi-intl: dvi-intl
14337 dvi-intl: \
14338 configure-intl
14339 @[ -f ./intl/Makefile ] || exit 0; \
14340 r=`${PWD_COMMAND}`; export r; \
14341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14342 $(HOST_EXPORTS) \
14343 for flag in $(EXTRA_HOST_FLAGS) ; do \
14344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14345 done; \
14346 echo "Doing dvi in intl" ; \
14347 (cd $(HOST_SUBDIR)/intl && \
14348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14350 "RANLIB=$${RANLIB}" \
14351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14352 dvi) \
14353 || exit 1
14355 @endif intl
14357 .PHONY: maybe-html-intl html-intl
14358 maybe-html-intl:
14359 @if intl
14360 maybe-html-intl: html-intl
14362 html-intl: \
14363 configure-intl
14364 @[ -f ./intl/Makefile ] || exit 0; \
14365 r=`${PWD_COMMAND}`; export r; \
14366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14367 $(HOST_EXPORTS) \
14368 for flag in $(EXTRA_HOST_FLAGS) ; do \
14369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14370 done; \
14371 echo "Doing html in intl" ; \
14372 (cd $(HOST_SUBDIR)/intl && \
14373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14375 "RANLIB=$${RANLIB}" \
14376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14377 html) \
14378 || exit 1
14380 @endif intl
14382 .PHONY: maybe-TAGS-intl TAGS-intl
14383 maybe-TAGS-intl:
14384 @if intl
14385 maybe-TAGS-intl: TAGS-intl
14387 TAGS-intl: \
14388 configure-intl
14389 @[ -f ./intl/Makefile ] || exit 0; \
14390 r=`${PWD_COMMAND}`; export r; \
14391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14392 $(HOST_EXPORTS) \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14395 done; \
14396 echo "Doing TAGS in intl" ; \
14397 (cd $(HOST_SUBDIR)/intl && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14402 TAGS) \
14403 || exit 1
14405 @endif intl
14407 .PHONY: maybe-install-info-intl install-info-intl
14408 maybe-install-info-intl:
14409 @if intl
14410 maybe-install-info-intl: install-info-intl
14412 install-info-intl: \
14413 configure-intl \
14414 info-intl
14415 @[ -f ./intl/Makefile ] || exit 0; \
14416 r=`${PWD_COMMAND}`; export r; \
14417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14418 $(HOST_EXPORTS) \
14419 for flag in $(EXTRA_HOST_FLAGS) ; do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 done; \
14422 echo "Doing install-info in intl" ; \
14423 (cd $(HOST_SUBDIR)/intl && \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 install-info) \
14429 || exit 1
14431 @endif intl
14433 .PHONY: maybe-installcheck-intl installcheck-intl
14434 maybe-installcheck-intl:
14435 @if intl
14436 maybe-installcheck-intl: installcheck-intl
14438 installcheck-intl: \
14439 configure-intl
14440 @[ -f ./intl/Makefile ] || exit 0; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443 $(HOST_EXPORTS) \
14444 for flag in $(EXTRA_HOST_FLAGS) ; do \
14445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14446 done; \
14447 echo "Doing installcheck in intl" ; \
14448 (cd $(HOST_SUBDIR)/intl && \
14449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14451 "RANLIB=$${RANLIB}" \
14452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14453 installcheck) \
14454 || exit 1
14456 @endif intl
14458 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14459 maybe-mostlyclean-intl:
14460 @if intl
14461 maybe-mostlyclean-intl: mostlyclean-intl
14463 mostlyclean-intl:
14464 @[ -f ./intl/Makefile ] || exit 0; \
14465 r=`${PWD_COMMAND}`; export r; \
14466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14467 $(HOST_EXPORTS) \
14468 for flag in $(EXTRA_HOST_FLAGS) ; do \
14469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14470 done; \
14471 echo "Doing mostlyclean in intl" ; \
14472 (cd $(HOST_SUBDIR)/intl && \
14473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14475 "RANLIB=$${RANLIB}" \
14476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14477 mostlyclean) \
14478 || exit 1
14480 @endif intl
14482 .PHONY: maybe-clean-intl clean-intl
14483 maybe-clean-intl:
14484 @if intl
14485 maybe-clean-intl: clean-intl
14487 clean-intl:
14488 @[ -f ./intl/Makefile ] || exit 0; \
14489 r=`${PWD_COMMAND}`; export r; \
14490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14491 $(HOST_EXPORTS) \
14492 for flag in $(EXTRA_HOST_FLAGS) ; do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing clean in intl" ; \
14496 (cd $(HOST_SUBDIR)/intl && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14501 clean) \
14502 || exit 1
14504 @endif intl
14506 .PHONY: maybe-distclean-intl distclean-intl
14507 maybe-distclean-intl:
14508 @if intl
14509 maybe-distclean-intl: distclean-intl
14511 distclean-intl:
14512 @[ -f ./intl/Makefile ] || exit 0; \
14513 r=`${PWD_COMMAND}`; export r; \
14514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14515 $(HOST_EXPORTS) \
14516 for flag in $(EXTRA_HOST_FLAGS) ; do \
14517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14518 done; \
14519 echo "Doing distclean in intl" ; \
14520 (cd $(HOST_SUBDIR)/intl && \
14521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14523 "RANLIB=$${RANLIB}" \
14524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14525 distclean) \
14526 || exit 1
14528 @endif intl
14530 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14531 maybe-maintainer-clean-intl:
14532 @if intl
14533 maybe-maintainer-clean-intl: maintainer-clean-intl
14535 maintainer-clean-intl:
14536 @[ -f ./intl/Makefile ] || exit 0; \
14537 r=`${PWD_COMMAND}`; export r; \
14538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14539 $(HOST_EXPORTS) \
14540 for flag in $(EXTRA_HOST_FLAGS) ; do \
14541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14542 done; \
14543 echo "Doing maintainer-clean in intl" ; \
14544 (cd $(HOST_SUBDIR)/intl && \
14545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14547 "RANLIB=$${RANLIB}" \
14548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14549 maintainer-clean) \
14550 || exit 1
14552 @endif intl
14556 .PHONY: configure-tcl maybe-configure-tcl
14557 maybe-configure-tcl:
14558 @if tcl
14559 maybe-configure-tcl: configure-tcl
14560 configure-tcl:
14561 @: $(MAKE); $(unstage)
14562 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14564 r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(HOST_EXPORTS) \
14567 echo Configuring in $(HOST_SUBDIR)/tcl; \
14568 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14569 case $(srcdir) in \
14570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14571 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14573 esac; \
14574 srcdiroption="--srcdir=$${topdir}/tcl"; \
14575 libsrcdir="$$s/tcl"; \
14576 $(SHELL) $${libsrcdir}/configure \
14577 $(HOST_CONFIGARGS) $${srcdiroption} \
14578 || exit 1
14579 @endif tcl
14585 .PHONY: all-tcl maybe-all-tcl
14586 maybe-all-tcl:
14587 @if tcl
14588 TARGET-tcl=all
14589 maybe-all-tcl: all-tcl
14590 all-tcl: configure-tcl
14591 @: $(MAKE); $(unstage)
14592 @r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(HOST_EXPORTS) \
14595 (cd $(HOST_SUBDIR)/tcl && \
14596 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14597 @endif tcl
14602 .PHONY: check-tcl maybe-check-tcl
14603 maybe-check-tcl:
14604 @if tcl
14605 maybe-check-tcl: check-tcl
14607 check-tcl:
14608 @: $(MAKE); $(unstage)
14609 @r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 $(HOST_EXPORTS) \
14612 (cd $(HOST_SUBDIR)/tcl && \
14613 $(MAKE) $(FLAGS_TO_PASS) check)
14615 @endif tcl
14617 .PHONY: install-tcl maybe-install-tcl
14618 maybe-install-tcl:
14619 @if tcl
14620 maybe-install-tcl: install-tcl
14622 install-tcl: installdirs
14623 @: $(MAKE); $(unstage)
14624 @r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626 $(HOST_EXPORTS) \
14627 (cd $(HOST_SUBDIR)/tcl && \
14628 $(MAKE) $(FLAGS_TO_PASS) install)
14630 @endif tcl
14632 # Other targets (info, dvi, etc.)
14634 .PHONY: maybe-info-tcl info-tcl
14635 maybe-info-tcl:
14636 @if tcl
14637 maybe-info-tcl: info-tcl
14639 info-tcl: \
14640 configure-tcl
14641 @: $(MAKE); $(unstage)
14642 @[ -f ./tcl/Makefile ] || exit 0; \
14643 r=`${PWD_COMMAND}`; export r; \
14644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14645 $(HOST_EXPORTS) \
14646 for flag in $(EXTRA_HOST_FLAGS) ; do \
14647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14648 done; \
14649 echo "Doing info in tcl" ; \
14650 (cd $(HOST_SUBDIR)/tcl && \
14651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14653 "RANLIB=$${RANLIB}" \
14654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14655 info) \
14656 || exit 1
14658 @endif tcl
14660 .PHONY: maybe-dvi-tcl dvi-tcl
14661 maybe-dvi-tcl:
14662 @if tcl
14663 maybe-dvi-tcl: dvi-tcl
14665 dvi-tcl: \
14666 configure-tcl
14667 @: $(MAKE); $(unstage)
14668 @[ -f ./tcl/Makefile ] || exit 0; \
14669 r=`${PWD_COMMAND}`; export r; \
14670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14671 $(HOST_EXPORTS) \
14672 for flag in $(EXTRA_HOST_FLAGS) ; do \
14673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14674 done; \
14675 echo "Doing dvi in tcl" ; \
14676 (cd $(HOST_SUBDIR)/tcl && \
14677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14679 "RANLIB=$${RANLIB}" \
14680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14681 dvi) \
14682 || exit 1
14684 @endif tcl
14686 .PHONY: maybe-html-tcl html-tcl
14687 maybe-html-tcl:
14688 @if tcl
14689 maybe-html-tcl: html-tcl
14691 html-tcl: \
14692 configure-tcl
14693 @: $(MAKE); $(unstage)
14694 @[ -f ./tcl/Makefile ] || exit 0; \
14695 r=`${PWD_COMMAND}`; export r; \
14696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14697 $(HOST_EXPORTS) \
14698 for flag in $(EXTRA_HOST_FLAGS) ; do \
14699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14700 done; \
14701 echo "Doing html in tcl" ; \
14702 (cd $(HOST_SUBDIR)/tcl && \
14703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14705 "RANLIB=$${RANLIB}" \
14706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14707 html) \
14708 || exit 1
14710 @endif tcl
14712 .PHONY: maybe-TAGS-tcl TAGS-tcl
14713 maybe-TAGS-tcl:
14714 @if tcl
14715 maybe-TAGS-tcl: TAGS-tcl
14717 TAGS-tcl: \
14718 configure-tcl
14719 @: $(MAKE); $(unstage)
14720 @[ -f ./tcl/Makefile ] || exit 0; \
14721 r=`${PWD_COMMAND}`; export r; \
14722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14723 $(HOST_EXPORTS) \
14724 for flag in $(EXTRA_HOST_FLAGS) ; do \
14725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14726 done; \
14727 echo "Doing TAGS in tcl" ; \
14728 (cd $(HOST_SUBDIR)/tcl && \
14729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14731 "RANLIB=$${RANLIB}" \
14732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14733 TAGS) \
14734 || exit 1
14736 @endif tcl
14738 .PHONY: maybe-install-info-tcl install-info-tcl
14739 maybe-install-info-tcl:
14740 @if tcl
14741 maybe-install-info-tcl: install-info-tcl
14743 install-info-tcl: \
14744 configure-tcl \
14745 info-tcl
14746 @: $(MAKE); $(unstage)
14747 @[ -f ./tcl/Makefile ] || exit 0; \
14748 r=`${PWD_COMMAND}`; export r; \
14749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14750 $(HOST_EXPORTS) \
14751 for flag in $(EXTRA_HOST_FLAGS) ; do \
14752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14753 done; \
14754 echo "Doing install-info in tcl" ; \
14755 (cd $(HOST_SUBDIR)/tcl && \
14756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14758 "RANLIB=$${RANLIB}" \
14759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14760 install-info) \
14761 || exit 1
14763 @endif tcl
14765 .PHONY: maybe-installcheck-tcl installcheck-tcl
14766 maybe-installcheck-tcl:
14767 @if tcl
14768 maybe-installcheck-tcl: installcheck-tcl
14770 installcheck-tcl: \
14771 configure-tcl
14772 @: $(MAKE); $(unstage)
14773 @[ -f ./tcl/Makefile ] || exit 0; \
14774 r=`${PWD_COMMAND}`; export r; \
14775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14776 $(HOST_EXPORTS) \
14777 for flag in $(EXTRA_HOST_FLAGS) ; do \
14778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14779 done; \
14780 echo "Doing installcheck in tcl" ; \
14781 (cd $(HOST_SUBDIR)/tcl && \
14782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14784 "RANLIB=$${RANLIB}" \
14785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14786 installcheck) \
14787 || exit 1
14789 @endif tcl
14791 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14792 maybe-mostlyclean-tcl:
14793 @if tcl
14794 maybe-mostlyclean-tcl: mostlyclean-tcl
14796 # tcl doesn't support mostlyclean.
14797 mostlyclean-tcl:
14799 @endif tcl
14801 .PHONY: maybe-clean-tcl clean-tcl
14802 maybe-clean-tcl:
14803 @if tcl
14804 maybe-clean-tcl: clean-tcl
14806 clean-tcl:
14807 @: $(MAKE); $(unstage)
14808 @[ -f ./tcl/Makefile ] || exit 0; \
14809 r=`${PWD_COMMAND}`; export r; \
14810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14811 $(HOST_EXPORTS) \
14812 for flag in $(EXTRA_HOST_FLAGS) ; do \
14813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14814 done; \
14815 echo "Doing clean in tcl" ; \
14816 (cd $(HOST_SUBDIR)/tcl && \
14817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14819 "RANLIB=$${RANLIB}" \
14820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14821 clean) \
14822 || exit 1
14824 @endif tcl
14826 .PHONY: maybe-distclean-tcl distclean-tcl
14827 maybe-distclean-tcl:
14828 @if tcl
14829 maybe-distclean-tcl: distclean-tcl
14831 distclean-tcl:
14832 @: $(MAKE); $(unstage)
14833 @[ -f ./tcl/Makefile ] || exit 0; \
14834 r=`${PWD_COMMAND}`; export r; \
14835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14836 $(HOST_EXPORTS) \
14837 for flag in $(EXTRA_HOST_FLAGS) ; do \
14838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14839 done; \
14840 echo "Doing distclean in tcl" ; \
14841 (cd $(HOST_SUBDIR)/tcl && \
14842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14844 "RANLIB=$${RANLIB}" \
14845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14846 distclean) \
14847 || exit 1
14849 @endif tcl
14851 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14852 maybe-maintainer-clean-tcl:
14853 @if tcl
14854 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14856 maintainer-clean-tcl:
14857 @: $(MAKE); $(unstage)
14858 @[ -f ./tcl/Makefile ] || exit 0; \
14859 r=`${PWD_COMMAND}`; export r; \
14860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14861 $(HOST_EXPORTS) \
14862 for flag in $(EXTRA_HOST_FLAGS) ; do \
14863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14864 done; \
14865 echo "Doing maintainer-clean in tcl" ; \
14866 (cd $(HOST_SUBDIR)/tcl && \
14867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14869 "RANLIB=$${RANLIB}" \
14870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14871 maintainer-clean) \
14872 || exit 1
14874 @endif tcl
14878 .PHONY: configure-itcl maybe-configure-itcl
14879 maybe-configure-itcl:
14880 @if itcl
14881 maybe-configure-itcl: configure-itcl
14882 configure-itcl:
14883 @: $(MAKE); $(unstage)
14884 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14886 r=`${PWD_COMMAND}`; export r; \
14887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14888 $(HOST_EXPORTS) \
14889 echo Configuring in $(HOST_SUBDIR)/itcl; \
14890 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14891 case $(srcdir) in \
14892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14893 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14895 esac; \
14896 srcdiroption="--srcdir=$${topdir}/itcl"; \
14897 libsrcdir="$$s/itcl"; \
14898 $(SHELL) $${libsrcdir}/configure \
14899 $(HOST_CONFIGARGS) $${srcdiroption} \
14900 || exit 1
14901 @endif itcl
14907 .PHONY: all-itcl maybe-all-itcl
14908 maybe-all-itcl:
14909 @if itcl
14910 TARGET-itcl=all
14911 maybe-all-itcl: all-itcl
14912 all-itcl: configure-itcl
14913 @: $(MAKE); $(unstage)
14914 @r=`${PWD_COMMAND}`; export r; \
14915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14916 $(HOST_EXPORTS) \
14917 (cd $(HOST_SUBDIR)/itcl && \
14918 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14919 @endif itcl
14924 .PHONY: check-itcl maybe-check-itcl
14925 maybe-check-itcl:
14926 @if itcl
14927 maybe-check-itcl: check-itcl
14929 check-itcl:
14930 @: $(MAKE); $(unstage)
14931 @r=`${PWD_COMMAND}`; export r; \
14932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14933 $(HOST_EXPORTS) \
14934 (cd $(HOST_SUBDIR)/itcl && \
14935 $(MAKE) $(FLAGS_TO_PASS) check)
14937 @endif itcl
14939 .PHONY: install-itcl maybe-install-itcl
14940 maybe-install-itcl:
14941 @if itcl
14942 maybe-install-itcl: install-itcl
14944 install-itcl: installdirs
14945 @: $(MAKE); $(unstage)
14946 @r=`${PWD_COMMAND}`; export r; \
14947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14948 $(HOST_EXPORTS) \
14949 (cd $(HOST_SUBDIR)/itcl && \
14950 $(MAKE) $(FLAGS_TO_PASS) install)
14952 @endif itcl
14954 # Other targets (info, dvi, etc.)
14956 .PHONY: maybe-info-itcl info-itcl
14957 maybe-info-itcl:
14958 @if itcl
14959 maybe-info-itcl: info-itcl
14961 info-itcl: \
14962 configure-itcl
14963 @: $(MAKE); $(unstage)
14964 @[ -f ./itcl/Makefile ] || exit 0; \
14965 r=`${PWD_COMMAND}`; export r; \
14966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14967 $(HOST_EXPORTS) \
14968 for flag in $(EXTRA_HOST_FLAGS) ; do \
14969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14970 done; \
14971 echo "Doing info in itcl" ; \
14972 (cd $(HOST_SUBDIR)/itcl && \
14973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14975 "RANLIB=$${RANLIB}" \
14976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14977 info) \
14978 || exit 1
14980 @endif itcl
14982 .PHONY: maybe-dvi-itcl dvi-itcl
14983 maybe-dvi-itcl:
14984 @if itcl
14985 maybe-dvi-itcl: dvi-itcl
14987 dvi-itcl: \
14988 configure-itcl
14989 @: $(MAKE); $(unstage)
14990 @[ -f ./itcl/Makefile ] || exit 0; \
14991 r=`${PWD_COMMAND}`; export r; \
14992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14993 $(HOST_EXPORTS) \
14994 for flag in $(EXTRA_HOST_FLAGS) ; do \
14995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14996 done; \
14997 echo "Doing dvi in itcl" ; \
14998 (cd $(HOST_SUBDIR)/itcl && \
14999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15001 "RANLIB=$${RANLIB}" \
15002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15003 dvi) \
15004 || exit 1
15006 @endif itcl
15008 .PHONY: maybe-html-itcl html-itcl
15009 maybe-html-itcl:
15010 @if itcl
15011 maybe-html-itcl: html-itcl
15013 html-itcl: \
15014 configure-itcl
15015 @: $(MAKE); $(unstage)
15016 @[ -f ./itcl/Makefile ] || exit 0; \
15017 r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 $(HOST_EXPORTS) \
15020 for flag in $(EXTRA_HOST_FLAGS) ; do \
15021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15022 done; \
15023 echo "Doing html in itcl" ; \
15024 (cd $(HOST_SUBDIR)/itcl && \
15025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15027 "RANLIB=$${RANLIB}" \
15028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15029 html) \
15030 || exit 1
15032 @endif itcl
15034 .PHONY: maybe-TAGS-itcl TAGS-itcl
15035 maybe-TAGS-itcl:
15036 @if itcl
15037 maybe-TAGS-itcl: TAGS-itcl
15039 TAGS-itcl: \
15040 configure-itcl
15041 @: $(MAKE); $(unstage)
15042 @[ -f ./itcl/Makefile ] || exit 0; \
15043 r=`${PWD_COMMAND}`; export r; \
15044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15045 $(HOST_EXPORTS) \
15046 for flag in $(EXTRA_HOST_FLAGS) ; do \
15047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15048 done; \
15049 echo "Doing TAGS in itcl" ; \
15050 (cd $(HOST_SUBDIR)/itcl && \
15051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15053 "RANLIB=$${RANLIB}" \
15054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15055 TAGS) \
15056 || exit 1
15058 @endif itcl
15060 .PHONY: maybe-install-info-itcl install-info-itcl
15061 maybe-install-info-itcl:
15062 @if itcl
15063 maybe-install-info-itcl: install-info-itcl
15065 install-info-itcl: \
15066 configure-itcl \
15067 info-itcl
15068 @: $(MAKE); $(unstage)
15069 @[ -f ./itcl/Makefile ] || exit 0; \
15070 r=`${PWD_COMMAND}`; export r; \
15071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15072 $(HOST_EXPORTS) \
15073 for flag in $(EXTRA_HOST_FLAGS) ; do \
15074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15075 done; \
15076 echo "Doing install-info in itcl" ; \
15077 (cd $(HOST_SUBDIR)/itcl && \
15078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15080 "RANLIB=$${RANLIB}" \
15081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15082 install-info) \
15083 || exit 1
15085 @endif itcl
15087 .PHONY: maybe-installcheck-itcl installcheck-itcl
15088 maybe-installcheck-itcl:
15089 @if itcl
15090 maybe-installcheck-itcl: installcheck-itcl
15092 installcheck-itcl: \
15093 configure-itcl
15094 @: $(MAKE); $(unstage)
15095 @[ -f ./itcl/Makefile ] || exit 0; \
15096 r=`${PWD_COMMAND}`; export r; \
15097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15098 $(HOST_EXPORTS) \
15099 for flag in $(EXTRA_HOST_FLAGS) ; do \
15100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15101 done; \
15102 echo "Doing installcheck in itcl" ; \
15103 (cd $(HOST_SUBDIR)/itcl && \
15104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15106 "RANLIB=$${RANLIB}" \
15107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15108 installcheck) \
15109 || exit 1
15111 @endif itcl
15113 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15114 maybe-mostlyclean-itcl:
15115 @if itcl
15116 maybe-mostlyclean-itcl: mostlyclean-itcl
15118 mostlyclean-itcl:
15119 @: $(MAKE); $(unstage)
15120 @[ -f ./itcl/Makefile ] || exit 0; \
15121 r=`${PWD_COMMAND}`; export r; \
15122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 $(HOST_EXPORTS) \
15124 for flag in $(EXTRA_HOST_FLAGS) ; do \
15125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15126 done; \
15127 echo "Doing mostlyclean in itcl" ; \
15128 (cd $(HOST_SUBDIR)/itcl && \
15129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15131 "RANLIB=$${RANLIB}" \
15132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15133 mostlyclean) \
15134 || exit 1
15136 @endif itcl
15138 .PHONY: maybe-clean-itcl clean-itcl
15139 maybe-clean-itcl:
15140 @if itcl
15141 maybe-clean-itcl: clean-itcl
15143 clean-itcl:
15144 @: $(MAKE); $(unstage)
15145 @[ -f ./itcl/Makefile ] || exit 0; \
15146 r=`${PWD_COMMAND}`; export r; \
15147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15148 $(HOST_EXPORTS) \
15149 for flag in $(EXTRA_HOST_FLAGS) ; do \
15150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15151 done; \
15152 echo "Doing clean in itcl" ; \
15153 (cd $(HOST_SUBDIR)/itcl && \
15154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15156 "RANLIB=$${RANLIB}" \
15157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15158 clean) \
15159 || exit 1
15161 @endif itcl
15163 .PHONY: maybe-distclean-itcl distclean-itcl
15164 maybe-distclean-itcl:
15165 @if itcl
15166 maybe-distclean-itcl: distclean-itcl
15168 distclean-itcl:
15169 @: $(MAKE); $(unstage)
15170 @[ -f ./itcl/Makefile ] || exit 0; \
15171 r=`${PWD_COMMAND}`; export r; \
15172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15173 $(HOST_EXPORTS) \
15174 for flag in $(EXTRA_HOST_FLAGS) ; do \
15175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15176 done; \
15177 echo "Doing distclean in itcl" ; \
15178 (cd $(HOST_SUBDIR)/itcl && \
15179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15181 "RANLIB=$${RANLIB}" \
15182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15183 distclean) \
15184 || exit 1
15186 @endif itcl
15188 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15189 maybe-maintainer-clean-itcl:
15190 @if itcl
15191 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15193 maintainer-clean-itcl:
15194 @: $(MAKE); $(unstage)
15195 @[ -f ./itcl/Makefile ] || exit 0; \
15196 r=`${PWD_COMMAND}`; export r; \
15197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15198 $(HOST_EXPORTS) \
15199 for flag in $(EXTRA_HOST_FLAGS) ; do \
15200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15201 done; \
15202 echo "Doing maintainer-clean in itcl" ; \
15203 (cd $(HOST_SUBDIR)/itcl && \
15204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15206 "RANLIB=$${RANLIB}" \
15207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15208 maintainer-clean) \
15209 || exit 1
15211 @endif itcl
15215 .PHONY: configure-ld maybe-configure-ld
15216 maybe-configure-ld:
15217 @if ld
15218 maybe-configure-ld: configure-ld
15219 configure-ld:
15220 @test -f stage_last && exit 0; \
15221 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15223 r=`${PWD_COMMAND}`; export r; \
15224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15225 $(HOST_EXPORTS) \
15226 echo Configuring in $(HOST_SUBDIR)/ld; \
15227 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15228 case $(srcdir) in \
15229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15230 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15232 esac; \
15233 srcdiroption="--srcdir=$${topdir}/ld"; \
15234 libsrcdir="$$s/ld"; \
15235 $(SHELL) $${libsrcdir}/configure \
15236 $(HOST_CONFIGARGS) $${srcdiroption} \
15237 || exit 1
15238 @endif ld
15242 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15243 maybe-configure-stage1-ld:
15244 @if ld-bootstrap
15245 maybe-configure-stage1-ld: configure-stage1-ld
15246 configure-stage1-ld:
15247 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15249 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15250 $(HOST_EXPORTS) \
15251 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15253 cd $(HOST_SUBDIR)/ld || exit 1; \
15254 case $(srcdir) in \
15255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15256 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15258 esac; \
15259 srcdiroption="--srcdir=$${topdir}/ld"; \
15260 libsrcdir="$$s/ld"; \
15261 $(SHELL) $${libsrcdir}/configure \
15262 $(HOST_CONFIGARGS) $${srcdiroption} \
15263 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15264 @endif ld-bootstrap
15266 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15267 maybe-configure-stage2-ld:
15268 @if ld-bootstrap
15269 maybe-configure-stage2-ld: configure-stage2-ld
15270 configure-stage2-ld:
15271 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15272 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15273 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15274 $(HOST_EXPORTS) \
15275 $(POSTSTAGE1_HOST_EXPORTS) \
15276 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15277 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15278 cd $(HOST_SUBDIR)/ld || exit 1; \
15279 case $(srcdir) in \
15280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15281 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15283 esac; \
15284 srcdiroption="--srcdir=$${topdir}/ld"; \
15285 libsrcdir="$$s/ld"; \
15286 $(SHELL) $${libsrcdir}/configure \
15287 $(HOST_CONFIGARGS) $${srcdiroption} \
15288 @stage2_werror_flag@
15289 @endif ld-bootstrap
15291 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15292 maybe-configure-stage3-ld:
15293 @if ld-bootstrap
15294 maybe-configure-stage3-ld: configure-stage3-ld
15295 configure-stage3-ld:
15296 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15297 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15298 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15299 $(HOST_EXPORTS) \
15300 $(POSTSTAGE1_HOST_EXPORTS) \
15301 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15303 cd $(HOST_SUBDIR)/ld || exit 1; \
15304 case $(srcdir) in \
15305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15306 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15308 esac; \
15309 srcdiroption="--srcdir=$${topdir}/ld"; \
15310 libsrcdir="$$s/ld"; \
15311 $(SHELL) $${libsrcdir}/configure \
15312 $(HOST_CONFIGARGS) $${srcdiroption} \
15313 @stage2_werror_flag@
15314 @endif ld-bootstrap
15316 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15317 maybe-configure-stage4-ld:
15318 @if ld-bootstrap
15319 maybe-configure-stage4-ld: configure-stage4-ld
15320 configure-stage4-ld:
15321 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15322 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15323 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15324 $(HOST_EXPORTS) \
15325 $(POSTSTAGE1_HOST_EXPORTS) \
15326 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15328 cd $(HOST_SUBDIR)/ld || exit 1; \
15329 case $(srcdir) in \
15330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15331 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15333 esac; \
15334 srcdiroption="--srcdir=$${topdir}/ld"; \
15335 libsrcdir="$$s/ld"; \
15336 $(SHELL) $${libsrcdir}/configure \
15337 $(HOST_CONFIGARGS) $${srcdiroption} \
15338 @stage2_werror_flag@
15339 @endif ld-bootstrap
15341 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15342 maybe-configure-stageprofile-ld:
15343 @if ld-bootstrap
15344 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15345 configure-stageprofile-ld:
15346 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15348 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15349 $(HOST_EXPORTS) \
15350 $(POSTSTAGE1_HOST_EXPORTS) \
15351 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15353 cd $(HOST_SUBDIR)/ld || exit 1; \
15354 case $(srcdir) in \
15355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15356 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15358 esac; \
15359 srcdiroption="--srcdir=$${topdir}/ld"; \
15360 libsrcdir="$$s/ld"; \
15361 $(SHELL) $${libsrcdir}/configure \
15362 $(HOST_CONFIGARGS) $${srcdiroption} \
15363 @stage2_werror_flag@
15364 @endif ld-bootstrap
15366 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15367 maybe-configure-stagefeedback-ld:
15368 @if ld-bootstrap
15369 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15370 configure-stagefeedback-ld:
15371 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15372 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15373 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15374 $(HOST_EXPORTS) \
15375 $(POSTSTAGE1_HOST_EXPORTS) \
15376 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15378 cd $(HOST_SUBDIR)/ld || exit 1; \
15379 case $(srcdir) in \
15380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15381 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15383 esac; \
15384 srcdiroption="--srcdir=$${topdir}/ld"; \
15385 libsrcdir="$$s/ld"; \
15386 $(SHELL) $${libsrcdir}/configure \
15387 $(HOST_CONFIGARGS) $${srcdiroption} \
15388 @stage2_werror_flag@
15389 @endif ld-bootstrap
15395 .PHONY: all-ld maybe-all-ld
15396 maybe-all-ld:
15397 @if ld
15398 TARGET-ld=all
15399 maybe-all-ld: all-ld
15400 all-ld: configure-ld
15401 @test -f stage_last && exit 0; \
15402 r=`${PWD_COMMAND}`; export r; \
15403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15404 $(HOST_EXPORTS) \
15405 (cd $(HOST_SUBDIR)/ld && \
15406 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15407 @endif ld
15411 .PHONY: all-stage1-ld maybe-all-stage1-ld
15412 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15413 maybe-all-stage1-ld:
15414 maybe-clean-stage1-ld:
15415 @if ld-bootstrap
15416 maybe-all-stage1-ld: all-stage1-ld
15417 all-stage1: all-stage1-ld
15418 TARGET-stage1-ld = $(TARGET-ld)
15419 all-stage1-ld: configure-stage1-ld
15420 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15421 @r=`${PWD_COMMAND}`; export r; \
15422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15423 $(HOST_EXPORTS) \
15424 cd $(HOST_SUBDIR)/ld && \
15425 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15426 $(TARGET-stage1-ld)
15428 maybe-clean-stage1-ld: clean-stage1-ld
15429 clean-stage1: clean-stage1-ld
15430 clean-stage1-ld:
15431 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15432 || exit 0 ; \
15433 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15434 cd $(HOST_SUBDIR)/ld && \
15435 $(MAKE) $(FLAGS_TO_PASS) \
15436 CFLAGS="$(STAGE1_CFLAGS)" clean
15437 @endif ld-bootstrap
15440 .PHONY: all-stage2-ld maybe-all-stage2-ld
15441 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15442 maybe-all-stage2-ld:
15443 maybe-clean-stage2-ld:
15444 @if ld-bootstrap
15445 maybe-all-stage2-ld: all-stage2-ld
15446 all-stage2: all-stage2-ld
15447 TARGET-stage2-ld = $(TARGET-ld)
15448 all-stage2-ld: configure-stage2-ld
15449 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15450 @r=`${PWD_COMMAND}`; export r; \
15451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15452 $(HOST_EXPORTS) \
15453 $(POSTSTAGE1_HOST_EXPORTS) \
15454 cd $(HOST_SUBDIR)/ld && \
15455 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15456 $(TARGET-stage2-ld)
15458 maybe-clean-stage2-ld: clean-stage2-ld
15459 clean-stage2: clean-stage2-ld
15460 clean-stage2-ld:
15461 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15462 || exit 0 ; \
15463 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15464 cd $(HOST_SUBDIR)/ld && \
15465 $(MAKE) $(FLAGS_TO_PASS) \
15466 $(POSTSTAGE1_FLAGS_TO_PASS) \
15467 clean
15468 @endif ld-bootstrap
15471 .PHONY: all-stage3-ld maybe-all-stage3-ld
15472 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15473 maybe-all-stage3-ld:
15474 maybe-clean-stage3-ld:
15475 @if ld-bootstrap
15476 maybe-all-stage3-ld: all-stage3-ld
15477 all-stage3: all-stage3-ld
15478 TARGET-stage3-ld = $(TARGET-ld)
15479 all-stage3-ld: configure-stage3-ld
15480 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15481 @r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 $(HOST_EXPORTS) \
15484 $(POSTSTAGE1_HOST_EXPORTS) \
15485 cd $(HOST_SUBDIR)/ld && \
15486 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15487 $(TARGET-stage3-ld)
15489 maybe-clean-stage3-ld: clean-stage3-ld
15490 clean-stage3: clean-stage3-ld
15491 clean-stage3-ld:
15492 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15493 || exit 0 ; \
15494 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15495 cd $(HOST_SUBDIR)/ld && \
15496 $(MAKE) $(FLAGS_TO_PASS) \
15497 $(POSTSTAGE1_FLAGS_TO_PASS) \
15498 clean
15499 @endif ld-bootstrap
15502 .PHONY: all-stage4-ld maybe-all-stage4-ld
15503 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15504 maybe-all-stage4-ld:
15505 maybe-clean-stage4-ld:
15506 @if ld-bootstrap
15507 maybe-all-stage4-ld: all-stage4-ld
15508 all-stage4: all-stage4-ld
15509 TARGET-stage4-ld = $(TARGET-ld)
15510 all-stage4-ld: configure-stage4-ld
15511 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15512 @r=`${PWD_COMMAND}`; export r; \
15513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15514 $(HOST_EXPORTS) \
15515 $(POSTSTAGE1_HOST_EXPORTS) \
15516 cd $(HOST_SUBDIR)/ld && \
15517 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15518 $(TARGET-stage4-ld)
15520 maybe-clean-stage4-ld: clean-stage4-ld
15521 clean-stage4: clean-stage4-ld
15522 clean-stage4-ld:
15523 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15524 || exit 0 ; \
15525 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15526 cd $(HOST_SUBDIR)/ld && \
15527 $(MAKE) $(FLAGS_TO_PASS) \
15528 $(POSTSTAGE1_FLAGS_TO_PASS) \
15529 clean
15530 @endif ld-bootstrap
15533 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15534 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15535 maybe-all-stageprofile-ld:
15536 maybe-clean-stageprofile-ld:
15537 @if ld-bootstrap
15538 maybe-all-stageprofile-ld: all-stageprofile-ld
15539 all-stageprofile: all-stageprofile-ld
15540 TARGET-stageprofile-ld = $(TARGET-ld)
15541 all-stageprofile-ld: configure-stageprofile-ld
15542 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15543 @r=`${PWD_COMMAND}`; export r; \
15544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15545 $(HOST_EXPORTS) \
15546 $(POSTSTAGE1_HOST_EXPORTS) \
15547 cd $(HOST_SUBDIR)/ld && \
15548 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15549 $(TARGET-stageprofile-ld)
15551 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15552 clean-stageprofile: clean-stageprofile-ld
15553 clean-stageprofile-ld:
15554 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15555 || exit 0 ; \
15556 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15557 cd $(HOST_SUBDIR)/ld && \
15558 $(MAKE) $(FLAGS_TO_PASS) \
15559 $(POSTSTAGE1_FLAGS_TO_PASS) \
15560 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15561 @endif ld-bootstrap
15564 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15565 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15566 maybe-all-stagefeedback-ld:
15567 maybe-clean-stagefeedback-ld:
15568 @if ld-bootstrap
15569 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15570 all-stagefeedback: all-stagefeedback-ld
15571 TARGET-stagefeedback-ld = $(TARGET-ld)
15572 all-stagefeedback-ld: configure-stagefeedback-ld
15573 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15574 @r=`${PWD_COMMAND}`; export r; \
15575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15576 $(HOST_EXPORTS) \
15577 $(POSTSTAGE1_HOST_EXPORTS) \
15578 cd $(HOST_SUBDIR)/ld && \
15579 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15580 $(TARGET-stagefeedback-ld)
15582 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15583 clean-stagefeedback: clean-stagefeedback-ld
15584 clean-stagefeedback-ld:
15585 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15586 || exit 0 ; \
15587 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15588 cd $(HOST_SUBDIR)/ld && \
15589 $(MAKE) $(FLAGS_TO_PASS) \
15590 $(POSTSTAGE1_FLAGS_TO_PASS) \
15591 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15592 @endif ld-bootstrap
15598 .PHONY: check-ld maybe-check-ld
15599 maybe-check-ld:
15600 @if ld
15601 maybe-check-ld: check-ld
15603 check-ld:
15604 @: $(MAKE); $(unstage)
15605 @r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 $(HOST_EXPORTS) \
15608 (cd $(HOST_SUBDIR)/ld && \
15609 $(MAKE) $(FLAGS_TO_PASS) check)
15611 @endif ld
15613 .PHONY: install-ld maybe-install-ld
15614 maybe-install-ld:
15615 @if ld
15616 maybe-install-ld: install-ld
15618 install-ld: installdirs
15619 @: $(MAKE); $(unstage)
15620 @r=`${PWD_COMMAND}`; export r; \
15621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15622 $(HOST_EXPORTS) \
15623 (cd $(HOST_SUBDIR)/ld && \
15624 $(MAKE) $(FLAGS_TO_PASS) install)
15626 @endif ld
15628 # Other targets (info, dvi, etc.)
15630 .PHONY: maybe-info-ld info-ld
15631 maybe-info-ld:
15632 @if ld
15633 maybe-info-ld: info-ld
15635 info-ld: \
15636 configure-ld
15637 @[ -f ./ld/Makefile ] || exit 0; \
15638 r=`${PWD_COMMAND}`; export r; \
15639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15640 $(HOST_EXPORTS) \
15641 for flag in $(EXTRA_HOST_FLAGS) ; do \
15642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15643 done; \
15644 echo "Doing info in ld" ; \
15645 (cd $(HOST_SUBDIR)/ld && \
15646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15648 "RANLIB=$${RANLIB}" \
15649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15650 info) \
15651 || exit 1
15653 @endif ld
15655 .PHONY: maybe-dvi-ld dvi-ld
15656 maybe-dvi-ld:
15657 @if ld
15658 maybe-dvi-ld: dvi-ld
15660 dvi-ld: \
15661 configure-ld
15662 @[ -f ./ld/Makefile ] || exit 0; \
15663 r=`${PWD_COMMAND}`; export r; \
15664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15665 $(HOST_EXPORTS) \
15666 for flag in $(EXTRA_HOST_FLAGS) ; do \
15667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15668 done; \
15669 echo "Doing dvi in ld" ; \
15670 (cd $(HOST_SUBDIR)/ld && \
15671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15673 "RANLIB=$${RANLIB}" \
15674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15675 dvi) \
15676 || exit 1
15678 @endif ld
15680 .PHONY: maybe-html-ld html-ld
15681 maybe-html-ld:
15682 @if ld
15683 maybe-html-ld: html-ld
15685 html-ld: \
15686 configure-ld
15687 @[ -f ./ld/Makefile ] || exit 0; \
15688 r=`${PWD_COMMAND}`; export r; \
15689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 $(HOST_EXPORTS) \
15691 for flag in $(EXTRA_HOST_FLAGS) ; do \
15692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15693 done; \
15694 echo "Doing html in ld" ; \
15695 (cd $(HOST_SUBDIR)/ld && \
15696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15698 "RANLIB=$${RANLIB}" \
15699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15700 html) \
15701 || exit 1
15703 @endif ld
15705 .PHONY: maybe-TAGS-ld TAGS-ld
15706 maybe-TAGS-ld:
15707 @if ld
15708 maybe-TAGS-ld: TAGS-ld
15710 TAGS-ld: \
15711 configure-ld
15712 @[ -f ./ld/Makefile ] || exit 0; \
15713 r=`${PWD_COMMAND}`; export r; \
15714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15715 $(HOST_EXPORTS) \
15716 for flag in $(EXTRA_HOST_FLAGS) ; do \
15717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15718 done; \
15719 echo "Doing TAGS in ld" ; \
15720 (cd $(HOST_SUBDIR)/ld && \
15721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15723 "RANLIB=$${RANLIB}" \
15724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15725 TAGS) \
15726 || exit 1
15728 @endif ld
15730 .PHONY: maybe-install-info-ld install-info-ld
15731 maybe-install-info-ld:
15732 @if ld
15733 maybe-install-info-ld: install-info-ld
15735 install-info-ld: \
15736 configure-ld \
15737 info-ld
15738 @[ -f ./ld/Makefile ] || exit 0; \
15739 r=`${PWD_COMMAND}`; export r; \
15740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15741 $(HOST_EXPORTS) \
15742 for flag in $(EXTRA_HOST_FLAGS) ; do \
15743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15744 done; \
15745 echo "Doing install-info in ld" ; \
15746 (cd $(HOST_SUBDIR)/ld && \
15747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15749 "RANLIB=$${RANLIB}" \
15750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15751 install-info) \
15752 || exit 1
15754 @endif ld
15756 .PHONY: maybe-installcheck-ld installcheck-ld
15757 maybe-installcheck-ld:
15758 @if ld
15759 maybe-installcheck-ld: installcheck-ld
15761 installcheck-ld: \
15762 configure-ld
15763 @[ -f ./ld/Makefile ] || exit 0; \
15764 r=`${PWD_COMMAND}`; export r; \
15765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15766 $(HOST_EXPORTS) \
15767 for flag in $(EXTRA_HOST_FLAGS) ; do \
15768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15769 done; \
15770 echo "Doing installcheck in ld" ; \
15771 (cd $(HOST_SUBDIR)/ld && \
15772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15774 "RANLIB=$${RANLIB}" \
15775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15776 installcheck) \
15777 || exit 1
15779 @endif ld
15781 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15782 maybe-mostlyclean-ld:
15783 @if ld
15784 maybe-mostlyclean-ld: mostlyclean-ld
15786 mostlyclean-ld:
15787 @[ -f ./ld/Makefile ] || exit 0; \
15788 r=`${PWD_COMMAND}`; export r; \
15789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15790 $(HOST_EXPORTS) \
15791 for flag in $(EXTRA_HOST_FLAGS) ; do \
15792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15793 done; \
15794 echo "Doing mostlyclean in ld" ; \
15795 (cd $(HOST_SUBDIR)/ld && \
15796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15798 "RANLIB=$${RANLIB}" \
15799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15800 mostlyclean) \
15801 || exit 1
15803 @endif ld
15805 .PHONY: maybe-clean-ld clean-ld
15806 maybe-clean-ld:
15807 @if ld
15808 maybe-clean-ld: clean-ld
15810 clean-ld:
15811 @[ -f ./ld/Makefile ] || exit 0; \
15812 r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 $(HOST_EXPORTS) \
15815 for flag in $(EXTRA_HOST_FLAGS) ; do \
15816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15817 done; \
15818 echo "Doing clean in ld" ; \
15819 (cd $(HOST_SUBDIR)/ld && \
15820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15822 "RANLIB=$${RANLIB}" \
15823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15824 clean) \
15825 || exit 1
15827 @endif ld
15829 .PHONY: maybe-distclean-ld distclean-ld
15830 maybe-distclean-ld:
15831 @if ld
15832 maybe-distclean-ld: distclean-ld
15834 distclean-ld:
15835 @[ -f ./ld/Makefile ] || exit 0; \
15836 r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 $(HOST_EXPORTS) \
15839 for flag in $(EXTRA_HOST_FLAGS) ; do \
15840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15841 done; \
15842 echo "Doing distclean in ld" ; \
15843 (cd $(HOST_SUBDIR)/ld && \
15844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15846 "RANLIB=$${RANLIB}" \
15847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15848 distclean) \
15849 || exit 1
15851 @endif ld
15853 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15854 maybe-maintainer-clean-ld:
15855 @if ld
15856 maybe-maintainer-clean-ld: maintainer-clean-ld
15858 maintainer-clean-ld:
15859 @[ -f ./ld/Makefile ] || exit 0; \
15860 r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 $(HOST_EXPORTS) \
15863 for flag in $(EXTRA_HOST_FLAGS) ; do \
15864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15865 done; \
15866 echo "Doing maintainer-clean in ld" ; \
15867 (cd $(HOST_SUBDIR)/ld && \
15868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15870 "RANLIB=$${RANLIB}" \
15871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15872 maintainer-clean) \
15873 || exit 1
15875 @endif ld
15879 .PHONY: configure-libcpp maybe-configure-libcpp
15880 maybe-configure-libcpp:
15881 @if libcpp
15882 maybe-configure-libcpp: configure-libcpp
15883 configure-libcpp:
15884 @test -f stage_last && exit 0; \
15885 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15887 r=`${PWD_COMMAND}`; export r; \
15888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15889 $(HOST_EXPORTS) \
15890 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15891 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15892 case $(srcdir) in \
15893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15894 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15896 esac; \
15897 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15898 libsrcdir="$$s/libcpp"; \
15899 $(SHELL) $${libsrcdir}/configure \
15900 $(HOST_CONFIGARGS) $${srcdiroption} \
15901 || exit 1
15902 @endif libcpp
15906 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15907 maybe-configure-stage1-libcpp:
15908 @if libcpp-bootstrap
15909 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15910 configure-stage1-libcpp:
15911 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15913 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15914 $(HOST_EXPORTS) \
15915 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15917 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15918 case $(srcdir) in \
15919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15920 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15922 esac; \
15923 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15924 libsrcdir="$$s/libcpp"; \
15925 $(SHELL) $${libsrcdir}/configure \
15926 $(HOST_CONFIGARGS) $${srcdiroption} \
15927 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15928 @endif libcpp-bootstrap
15930 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15931 maybe-configure-stage2-libcpp:
15932 @if libcpp-bootstrap
15933 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15934 configure-stage2-libcpp:
15935 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15937 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15938 $(HOST_EXPORTS) \
15939 $(POSTSTAGE1_HOST_EXPORTS) \
15940 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15942 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15943 case $(srcdir) in \
15944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15945 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15947 esac; \
15948 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15949 libsrcdir="$$s/libcpp"; \
15950 $(SHELL) $${libsrcdir}/configure \
15951 $(HOST_CONFIGARGS) $${srcdiroption} \
15952 @stage2_werror_flag@
15953 @endif libcpp-bootstrap
15955 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15956 maybe-configure-stage3-libcpp:
15957 @if libcpp-bootstrap
15958 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15959 configure-stage3-libcpp:
15960 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15961 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15962 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15963 $(HOST_EXPORTS) \
15964 $(POSTSTAGE1_HOST_EXPORTS) \
15965 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15966 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15967 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15968 case $(srcdir) in \
15969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15970 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15972 esac; \
15973 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15974 libsrcdir="$$s/libcpp"; \
15975 $(SHELL) $${libsrcdir}/configure \
15976 $(HOST_CONFIGARGS) $${srcdiroption} \
15977 @stage2_werror_flag@
15978 @endif libcpp-bootstrap
15980 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15981 maybe-configure-stage4-libcpp:
15982 @if libcpp-bootstrap
15983 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15984 configure-stage4-libcpp:
15985 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15986 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
15987 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15988 $(HOST_EXPORTS) \
15989 $(POSTSTAGE1_HOST_EXPORTS) \
15990 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15992 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15993 case $(srcdir) in \
15994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15995 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15997 esac; \
15998 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15999 libsrcdir="$$s/libcpp"; \
16000 $(SHELL) $${libsrcdir}/configure \
16001 $(HOST_CONFIGARGS) $${srcdiroption} \
16002 @stage2_werror_flag@
16003 @endif libcpp-bootstrap
16005 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16006 maybe-configure-stageprofile-libcpp:
16007 @if libcpp-bootstrap
16008 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16009 configure-stageprofile-libcpp:
16010 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16012 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16013 $(HOST_EXPORTS) \
16014 $(POSTSTAGE1_HOST_EXPORTS) \
16015 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16016 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16017 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16018 case $(srcdir) in \
16019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16020 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16022 esac; \
16023 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16024 libsrcdir="$$s/libcpp"; \
16025 $(SHELL) $${libsrcdir}/configure \
16026 $(HOST_CONFIGARGS) $${srcdiroption} \
16027 @stage2_werror_flag@
16028 @endif libcpp-bootstrap
16030 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16031 maybe-configure-stagefeedback-libcpp:
16032 @if libcpp-bootstrap
16033 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16034 configure-stagefeedback-libcpp:
16035 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16037 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16038 $(HOST_EXPORTS) \
16039 $(POSTSTAGE1_HOST_EXPORTS) \
16040 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16042 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16043 case $(srcdir) in \
16044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16045 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16047 esac; \
16048 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16049 libsrcdir="$$s/libcpp"; \
16050 $(SHELL) $${libsrcdir}/configure \
16051 $(HOST_CONFIGARGS) $${srcdiroption} \
16052 @stage2_werror_flag@
16053 @endif libcpp-bootstrap
16059 .PHONY: all-libcpp maybe-all-libcpp
16060 maybe-all-libcpp:
16061 @if libcpp
16062 TARGET-libcpp=all
16063 maybe-all-libcpp: all-libcpp
16064 all-libcpp: configure-libcpp
16065 @test -f stage_last && exit 0; \
16066 r=`${PWD_COMMAND}`; export r; \
16067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16068 $(HOST_EXPORTS) \
16069 (cd $(HOST_SUBDIR)/libcpp && \
16070 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16071 @endif libcpp
16075 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16076 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16077 maybe-all-stage1-libcpp:
16078 maybe-clean-stage1-libcpp:
16079 @if libcpp-bootstrap
16080 maybe-all-stage1-libcpp: all-stage1-libcpp
16081 all-stage1: all-stage1-libcpp
16082 TARGET-stage1-libcpp = $(TARGET-libcpp)
16083 all-stage1-libcpp: configure-stage1-libcpp
16084 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16085 @r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16087 $(HOST_EXPORTS) \
16088 cd $(HOST_SUBDIR)/libcpp && \
16089 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16090 $(TARGET-stage1-libcpp)
16092 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16093 clean-stage1: clean-stage1-libcpp
16094 clean-stage1-libcpp:
16095 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16096 || exit 0 ; \
16097 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16098 cd $(HOST_SUBDIR)/libcpp && \
16099 $(MAKE) $(FLAGS_TO_PASS) \
16100 CFLAGS="$(STAGE1_CFLAGS)" clean
16101 @endif libcpp-bootstrap
16104 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16105 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16106 maybe-all-stage2-libcpp:
16107 maybe-clean-stage2-libcpp:
16108 @if libcpp-bootstrap
16109 maybe-all-stage2-libcpp: all-stage2-libcpp
16110 all-stage2: all-stage2-libcpp
16111 TARGET-stage2-libcpp = $(TARGET-libcpp)
16112 all-stage2-libcpp: configure-stage2-libcpp
16113 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16114 @r=`${PWD_COMMAND}`; export r; \
16115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16116 $(HOST_EXPORTS) \
16117 $(POSTSTAGE1_HOST_EXPORTS) \
16118 cd $(HOST_SUBDIR)/libcpp && \
16119 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16120 $(TARGET-stage2-libcpp)
16122 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16123 clean-stage2: clean-stage2-libcpp
16124 clean-stage2-libcpp:
16125 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16126 || exit 0 ; \
16127 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16128 cd $(HOST_SUBDIR)/libcpp && \
16129 $(MAKE) $(FLAGS_TO_PASS) \
16130 $(POSTSTAGE1_FLAGS_TO_PASS) \
16131 clean
16132 @endif libcpp-bootstrap
16135 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16136 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16137 maybe-all-stage3-libcpp:
16138 maybe-clean-stage3-libcpp:
16139 @if libcpp-bootstrap
16140 maybe-all-stage3-libcpp: all-stage3-libcpp
16141 all-stage3: all-stage3-libcpp
16142 TARGET-stage3-libcpp = $(TARGET-libcpp)
16143 all-stage3-libcpp: configure-stage3-libcpp
16144 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16145 @r=`${PWD_COMMAND}`; export r; \
16146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16147 $(HOST_EXPORTS) \
16148 $(POSTSTAGE1_HOST_EXPORTS) \
16149 cd $(HOST_SUBDIR)/libcpp && \
16150 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16151 $(TARGET-stage3-libcpp)
16153 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16154 clean-stage3: clean-stage3-libcpp
16155 clean-stage3-libcpp:
16156 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16157 || exit 0 ; \
16158 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16159 cd $(HOST_SUBDIR)/libcpp && \
16160 $(MAKE) $(FLAGS_TO_PASS) \
16161 $(POSTSTAGE1_FLAGS_TO_PASS) \
16162 clean
16163 @endif libcpp-bootstrap
16166 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16167 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16168 maybe-all-stage4-libcpp:
16169 maybe-clean-stage4-libcpp:
16170 @if libcpp-bootstrap
16171 maybe-all-stage4-libcpp: all-stage4-libcpp
16172 all-stage4: all-stage4-libcpp
16173 TARGET-stage4-libcpp = $(TARGET-libcpp)
16174 all-stage4-libcpp: configure-stage4-libcpp
16175 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16176 @r=`${PWD_COMMAND}`; export r; \
16177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16178 $(HOST_EXPORTS) \
16179 $(POSTSTAGE1_HOST_EXPORTS) \
16180 cd $(HOST_SUBDIR)/libcpp && \
16181 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16182 $(TARGET-stage4-libcpp)
16184 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16185 clean-stage4: clean-stage4-libcpp
16186 clean-stage4-libcpp:
16187 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16188 || exit 0 ; \
16189 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16190 cd $(HOST_SUBDIR)/libcpp && \
16191 $(MAKE) $(FLAGS_TO_PASS) \
16192 $(POSTSTAGE1_FLAGS_TO_PASS) \
16193 clean
16194 @endif libcpp-bootstrap
16197 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16198 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16199 maybe-all-stageprofile-libcpp:
16200 maybe-clean-stageprofile-libcpp:
16201 @if libcpp-bootstrap
16202 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16203 all-stageprofile: all-stageprofile-libcpp
16204 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16205 all-stageprofile-libcpp: configure-stageprofile-libcpp
16206 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16207 @r=`${PWD_COMMAND}`; export r; \
16208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16209 $(HOST_EXPORTS) \
16210 $(POSTSTAGE1_HOST_EXPORTS) \
16211 cd $(HOST_SUBDIR)/libcpp && \
16212 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16213 $(TARGET-stageprofile-libcpp)
16215 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16216 clean-stageprofile: clean-stageprofile-libcpp
16217 clean-stageprofile-libcpp:
16218 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16219 || exit 0 ; \
16220 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16221 cd $(HOST_SUBDIR)/libcpp && \
16222 $(MAKE) $(FLAGS_TO_PASS) \
16223 $(POSTSTAGE1_FLAGS_TO_PASS) \
16224 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16225 @endif libcpp-bootstrap
16228 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16229 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16230 maybe-all-stagefeedback-libcpp:
16231 maybe-clean-stagefeedback-libcpp:
16232 @if libcpp-bootstrap
16233 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16234 all-stagefeedback: all-stagefeedback-libcpp
16235 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16236 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16237 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16238 @r=`${PWD_COMMAND}`; export r; \
16239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 $(HOST_EXPORTS) \
16241 $(POSTSTAGE1_HOST_EXPORTS) \
16242 cd $(HOST_SUBDIR)/libcpp && \
16243 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16244 $(TARGET-stagefeedback-libcpp)
16246 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16247 clean-stagefeedback: clean-stagefeedback-libcpp
16248 clean-stagefeedback-libcpp:
16249 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16250 || exit 0 ; \
16251 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16252 cd $(HOST_SUBDIR)/libcpp && \
16253 $(MAKE) $(FLAGS_TO_PASS) \
16254 $(POSTSTAGE1_FLAGS_TO_PASS) \
16255 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16256 @endif libcpp-bootstrap
16262 .PHONY: check-libcpp maybe-check-libcpp
16263 maybe-check-libcpp:
16264 @if libcpp
16265 maybe-check-libcpp: check-libcpp
16267 check-libcpp:
16268 @: $(MAKE); $(unstage)
16269 @r=`${PWD_COMMAND}`; export r; \
16270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16271 $(HOST_EXPORTS) \
16272 (cd $(HOST_SUBDIR)/libcpp && \
16273 $(MAKE) $(FLAGS_TO_PASS) check)
16275 @endif libcpp
16277 .PHONY: install-libcpp maybe-install-libcpp
16278 maybe-install-libcpp:
16279 @if libcpp
16280 maybe-install-libcpp: install-libcpp
16282 install-libcpp: installdirs
16283 @: $(MAKE); $(unstage)
16284 @r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 (cd $(HOST_SUBDIR)/libcpp && \
16288 $(MAKE) $(FLAGS_TO_PASS) install)
16290 @endif libcpp
16292 # Other targets (info, dvi, etc.)
16294 .PHONY: maybe-info-libcpp info-libcpp
16295 maybe-info-libcpp:
16296 @if libcpp
16297 maybe-info-libcpp: info-libcpp
16299 info-libcpp: \
16300 configure-libcpp
16301 @[ -f ./libcpp/Makefile ] || exit 0; \
16302 r=`${PWD_COMMAND}`; export r; \
16303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16304 $(HOST_EXPORTS) \
16305 for flag in $(EXTRA_HOST_FLAGS) ; do \
16306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16307 done; \
16308 echo "Doing info in libcpp" ; \
16309 (cd $(HOST_SUBDIR)/libcpp && \
16310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16312 "RANLIB=$${RANLIB}" \
16313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16314 info) \
16315 || exit 1
16317 @endif libcpp
16319 .PHONY: maybe-dvi-libcpp dvi-libcpp
16320 maybe-dvi-libcpp:
16321 @if libcpp
16322 maybe-dvi-libcpp: dvi-libcpp
16324 dvi-libcpp: \
16325 configure-libcpp
16326 @[ -f ./libcpp/Makefile ] || exit 0; \
16327 r=`${PWD_COMMAND}`; export r; \
16328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16329 $(HOST_EXPORTS) \
16330 for flag in $(EXTRA_HOST_FLAGS) ; do \
16331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16332 done; \
16333 echo "Doing dvi in libcpp" ; \
16334 (cd $(HOST_SUBDIR)/libcpp && \
16335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16337 "RANLIB=$${RANLIB}" \
16338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16339 dvi) \
16340 || exit 1
16342 @endif libcpp
16344 .PHONY: maybe-html-libcpp html-libcpp
16345 maybe-html-libcpp:
16346 @if libcpp
16347 maybe-html-libcpp: html-libcpp
16349 html-libcpp: \
16350 configure-libcpp
16351 @[ -f ./libcpp/Makefile ] || exit 0; \
16352 r=`${PWD_COMMAND}`; export r; \
16353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16354 $(HOST_EXPORTS) \
16355 for flag in $(EXTRA_HOST_FLAGS) ; do \
16356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16357 done; \
16358 echo "Doing html in libcpp" ; \
16359 (cd $(HOST_SUBDIR)/libcpp && \
16360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16362 "RANLIB=$${RANLIB}" \
16363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16364 html) \
16365 || exit 1
16367 @endif libcpp
16369 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16370 maybe-TAGS-libcpp:
16371 @if libcpp
16372 maybe-TAGS-libcpp: TAGS-libcpp
16374 TAGS-libcpp: \
16375 configure-libcpp
16376 @[ -f ./libcpp/Makefile ] || exit 0; \
16377 r=`${PWD_COMMAND}`; export r; \
16378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 $(HOST_EXPORTS) \
16380 for flag in $(EXTRA_HOST_FLAGS) ; do \
16381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16382 done; \
16383 echo "Doing TAGS in libcpp" ; \
16384 (cd $(HOST_SUBDIR)/libcpp && \
16385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16387 "RANLIB=$${RANLIB}" \
16388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16389 TAGS) \
16390 || exit 1
16392 @endif libcpp
16394 .PHONY: maybe-install-info-libcpp install-info-libcpp
16395 maybe-install-info-libcpp:
16396 @if libcpp
16397 maybe-install-info-libcpp: install-info-libcpp
16399 install-info-libcpp: \
16400 configure-libcpp \
16401 info-libcpp
16402 @[ -f ./libcpp/Makefile ] || exit 0; \
16403 r=`${PWD_COMMAND}`; export r; \
16404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16405 $(HOST_EXPORTS) \
16406 for flag in $(EXTRA_HOST_FLAGS) ; do \
16407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16408 done; \
16409 echo "Doing install-info in libcpp" ; \
16410 (cd $(HOST_SUBDIR)/libcpp && \
16411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16413 "RANLIB=$${RANLIB}" \
16414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16415 install-info) \
16416 || exit 1
16418 @endif libcpp
16420 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16421 maybe-installcheck-libcpp:
16422 @if libcpp
16423 maybe-installcheck-libcpp: installcheck-libcpp
16425 installcheck-libcpp: \
16426 configure-libcpp
16427 @[ -f ./libcpp/Makefile ] || exit 0; \
16428 r=`${PWD_COMMAND}`; export r; \
16429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16430 $(HOST_EXPORTS) \
16431 for flag in $(EXTRA_HOST_FLAGS) ; do \
16432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16433 done; \
16434 echo "Doing installcheck in libcpp" ; \
16435 (cd $(HOST_SUBDIR)/libcpp && \
16436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16438 "RANLIB=$${RANLIB}" \
16439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16440 installcheck) \
16441 || exit 1
16443 @endif libcpp
16445 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16446 maybe-mostlyclean-libcpp:
16447 @if libcpp
16448 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16450 mostlyclean-libcpp:
16451 @[ -f ./libcpp/Makefile ] || exit 0; \
16452 r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 $(HOST_EXPORTS) \
16455 for flag in $(EXTRA_HOST_FLAGS) ; do \
16456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16457 done; \
16458 echo "Doing mostlyclean in libcpp" ; \
16459 (cd $(HOST_SUBDIR)/libcpp && \
16460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16462 "RANLIB=$${RANLIB}" \
16463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16464 mostlyclean) \
16465 || exit 1
16467 @endif libcpp
16469 .PHONY: maybe-clean-libcpp clean-libcpp
16470 maybe-clean-libcpp:
16471 @if libcpp
16472 maybe-clean-libcpp: clean-libcpp
16474 clean-libcpp:
16475 @[ -f ./libcpp/Makefile ] || exit 0; \
16476 r=`${PWD_COMMAND}`; export r; \
16477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16478 $(HOST_EXPORTS) \
16479 for flag in $(EXTRA_HOST_FLAGS) ; do \
16480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16481 done; \
16482 echo "Doing clean in libcpp" ; \
16483 (cd $(HOST_SUBDIR)/libcpp && \
16484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16486 "RANLIB=$${RANLIB}" \
16487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16488 clean) \
16489 || exit 1
16491 @endif libcpp
16493 .PHONY: maybe-distclean-libcpp distclean-libcpp
16494 maybe-distclean-libcpp:
16495 @if libcpp
16496 maybe-distclean-libcpp: distclean-libcpp
16498 distclean-libcpp:
16499 @[ -f ./libcpp/Makefile ] || exit 0; \
16500 r=`${PWD_COMMAND}`; export r; \
16501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16502 $(HOST_EXPORTS) \
16503 for flag in $(EXTRA_HOST_FLAGS) ; do \
16504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16505 done; \
16506 echo "Doing distclean in libcpp" ; \
16507 (cd $(HOST_SUBDIR)/libcpp && \
16508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16510 "RANLIB=$${RANLIB}" \
16511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16512 distclean) \
16513 || exit 1
16515 @endif libcpp
16517 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16518 maybe-maintainer-clean-libcpp:
16519 @if libcpp
16520 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16522 maintainer-clean-libcpp:
16523 @[ -f ./libcpp/Makefile ] || exit 0; \
16524 r=`${PWD_COMMAND}`; export r; \
16525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16526 $(HOST_EXPORTS) \
16527 for flag in $(EXTRA_HOST_FLAGS) ; do \
16528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16529 done; \
16530 echo "Doing maintainer-clean in libcpp" ; \
16531 (cd $(HOST_SUBDIR)/libcpp && \
16532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16534 "RANLIB=$${RANLIB}" \
16535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16536 maintainer-clean) \
16537 || exit 1
16539 @endif libcpp
16543 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16544 maybe-configure-libdecnumber:
16545 @if libdecnumber
16546 maybe-configure-libdecnumber: configure-libdecnumber
16547 configure-libdecnumber:
16548 @test -f stage_last && exit 0; \
16549 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16551 r=`${PWD_COMMAND}`; export r; \
16552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16553 $(HOST_EXPORTS) \
16554 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16555 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16556 case $(srcdir) in \
16557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16558 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16560 esac; \
16561 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16562 libsrcdir="$$s/libdecnumber"; \
16563 $(SHELL) $${libsrcdir}/configure \
16564 $(HOST_CONFIGARGS) $${srcdiroption} \
16565 || exit 1
16566 @endif libdecnumber
16570 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16571 maybe-configure-stage1-libdecnumber:
16572 @if libdecnumber-bootstrap
16573 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16574 configure-stage1-libdecnumber:
16575 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16577 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16578 $(HOST_EXPORTS) \
16579 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16581 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16582 case $(srcdir) in \
16583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16584 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16586 esac; \
16587 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16588 libsrcdir="$$s/libdecnumber"; \
16589 $(SHELL) $${libsrcdir}/configure \
16590 $(HOST_CONFIGARGS) $${srcdiroption} \
16591 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16592 @endif libdecnumber-bootstrap
16594 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16595 maybe-configure-stage2-libdecnumber:
16596 @if libdecnumber-bootstrap
16597 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16598 configure-stage2-libdecnumber:
16599 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16600 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16601 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16602 $(HOST_EXPORTS) \
16603 $(POSTSTAGE1_HOST_EXPORTS) \
16604 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16606 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16607 case $(srcdir) in \
16608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16609 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16611 esac; \
16612 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16613 libsrcdir="$$s/libdecnumber"; \
16614 $(SHELL) $${libsrcdir}/configure \
16615 $(HOST_CONFIGARGS) $${srcdiroption} \
16616 @stage2_werror_flag@
16617 @endif libdecnumber-bootstrap
16619 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16620 maybe-configure-stage3-libdecnumber:
16621 @if libdecnumber-bootstrap
16622 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16623 configure-stage3-libdecnumber:
16624 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16625 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16626 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16627 $(HOST_EXPORTS) \
16628 $(POSTSTAGE1_HOST_EXPORTS) \
16629 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16631 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16632 case $(srcdir) in \
16633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16634 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16636 esac; \
16637 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16638 libsrcdir="$$s/libdecnumber"; \
16639 $(SHELL) $${libsrcdir}/configure \
16640 $(HOST_CONFIGARGS) $${srcdiroption} \
16641 @stage2_werror_flag@
16642 @endif libdecnumber-bootstrap
16644 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16645 maybe-configure-stage4-libdecnumber:
16646 @if libdecnumber-bootstrap
16647 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16648 configure-stage4-libdecnumber:
16649 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16651 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16652 $(HOST_EXPORTS) \
16653 $(POSTSTAGE1_HOST_EXPORTS) \
16654 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16656 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16657 case $(srcdir) in \
16658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16659 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16661 esac; \
16662 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16663 libsrcdir="$$s/libdecnumber"; \
16664 $(SHELL) $${libsrcdir}/configure \
16665 $(HOST_CONFIGARGS) $${srcdiroption} \
16666 @stage2_werror_flag@
16667 @endif libdecnumber-bootstrap
16669 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16670 maybe-configure-stageprofile-libdecnumber:
16671 @if libdecnumber-bootstrap
16672 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16673 configure-stageprofile-libdecnumber:
16674 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16676 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16677 $(HOST_EXPORTS) \
16678 $(POSTSTAGE1_HOST_EXPORTS) \
16679 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16681 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16682 case $(srcdir) in \
16683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16684 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16686 esac; \
16687 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16688 libsrcdir="$$s/libdecnumber"; \
16689 $(SHELL) $${libsrcdir}/configure \
16690 $(HOST_CONFIGARGS) $${srcdiroption} \
16691 @stage2_werror_flag@
16692 @endif libdecnumber-bootstrap
16694 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16695 maybe-configure-stagefeedback-libdecnumber:
16696 @if libdecnumber-bootstrap
16697 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16698 configure-stagefeedback-libdecnumber:
16699 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16700 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16701 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16702 $(HOST_EXPORTS) \
16703 $(POSTSTAGE1_HOST_EXPORTS) \
16704 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16706 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16707 case $(srcdir) in \
16708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16709 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16711 esac; \
16712 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16713 libsrcdir="$$s/libdecnumber"; \
16714 $(SHELL) $${libsrcdir}/configure \
16715 $(HOST_CONFIGARGS) $${srcdiroption} \
16716 @stage2_werror_flag@
16717 @endif libdecnumber-bootstrap
16723 .PHONY: all-libdecnumber maybe-all-libdecnumber
16724 maybe-all-libdecnumber:
16725 @if libdecnumber
16726 TARGET-libdecnumber=all
16727 maybe-all-libdecnumber: all-libdecnumber
16728 all-libdecnumber: configure-libdecnumber
16729 @test -f stage_last && exit 0; \
16730 r=`${PWD_COMMAND}`; export r; \
16731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16732 $(HOST_EXPORTS) \
16733 (cd $(HOST_SUBDIR)/libdecnumber && \
16734 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16735 @endif libdecnumber
16739 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16740 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16741 maybe-all-stage1-libdecnumber:
16742 maybe-clean-stage1-libdecnumber:
16743 @if libdecnumber-bootstrap
16744 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16745 all-stage1: all-stage1-libdecnumber
16746 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16747 all-stage1-libdecnumber: configure-stage1-libdecnumber
16748 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16749 @r=`${PWD_COMMAND}`; export r; \
16750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16751 $(HOST_EXPORTS) \
16752 cd $(HOST_SUBDIR)/libdecnumber && \
16753 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16754 $(TARGET-stage1-libdecnumber)
16756 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16757 clean-stage1: clean-stage1-libdecnumber
16758 clean-stage1-libdecnumber:
16759 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16760 || exit 0 ; \
16761 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16762 cd $(HOST_SUBDIR)/libdecnumber && \
16763 $(MAKE) $(FLAGS_TO_PASS) \
16764 CFLAGS="$(STAGE1_CFLAGS)" clean
16765 @endif libdecnumber-bootstrap
16768 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16769 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16770 maybe-all-stage2-libdecnumber:
16771 maybe-clean-stage2-libdecnumber:
16772 @if libdecnumber-bootstrap
16773 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16774 all-stage2: all-stage2-libdecnumber
16775 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16776 all-stage2-libdecnumber: configure-stage2-libdecnumber
16777 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16778 @r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 $(POSTSTAGE1_HOST_EXPORTS) \
16782 cd $(HOST_SUBDIR)/libdecnumber && \
16783 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16784 $(TARGET-stage2-libdecnumber)
16786 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
16787 clean-stage2: clean-stage2-libdecnumber
16788 clean-stage2-libdecnumber:
16789 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
16790 || exit 0 ; \
16791 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16792 cd $(HOST_SUBDIR)/libdecnumber && \
16793 $(MAKE) $(FLAGS_TO_PASS) \
16794 $(POSTSTAGE1_FLAGS_TO_PASS) \
16795 clean
16796 @endif libdecnumber-bootstrap
16799 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
16800 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
16801 maybe-all-stage3-libdecnumber:
16802 maybe-clean-stage3-libdecnumber:
16803 @if libdecnumber-bootstrap
16804 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
16805 all-stage3: all-stage3-libdecnumber
16806 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
16807 all-stage3-libdecnumber: configure-stage3-libdecnumber
16808 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16809 @r=`${PWD_COMMAND}`; export r; \
16810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 $(HOST_EXPORTS) \
16812 $(POSTSTAGE1_HOST_EXPORTS) \
16813 cd $(HOST_SUBDIR)/libdecnumber && \
16814 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16815 $(TARGET-stage3-libdecnumber)
16817 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
16818 clean-stage3: clean-stage3-libdecnumber
16819 clean-stage3-libdecnumber:
16820 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
16821 || exit 0 ; \
16822 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16823 cd $(HOST_SUBDIR)/libdecnumber && \
16824 $(MAKE) $(FLAGS_TO_PASS) \
16825 $(POSTSTAGE1_FLAGS_TO_PASS) \
16826 clean
16827 @endif libdecnumber-bootstrap
16830 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
16831 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
16832 maybe-all-stage4-libdecnumber:
16833 maybe-clean-stage4-libdecnumber:
16834 @if libdecnumber-bootstrap
16835 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
16836 all-stage4: all-stage4-libdecnumber
16837 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
16838 all-stage4-libdecnumber: configure-stage4-libdecnumber
16839 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16840 @r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 $(POSTSTAGE1_HOST_EXPORTS) \
16844 cd $(HOST_SUBDIR)/libdecnumber && \
16845 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16846 $(TARGET-stage4-libdecnumber)
16848 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
16849 clean-stage4: clean-stage4-libdecnumber
16850 clean-stage4-libdecnumber:
16851 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
16852 || exit 0 ; \
16853 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16854 cd $(HOST_SUBDIR)/libdecnumber && \
16855 $(MAKE) $(FLAGS_TO_PASS) \
16856 $(POSTSTAGE1_FLAGS_TO_PASS) \
16857 clean
16858 @endif libdecnumber-bootstrap
16861 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
16862 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
16863 maybe-all-stageprofile-libdecnumber:
16864 maybe-clean-stageprofile-libdecnumber:
16865 @if libdecnumber-bootstrap
16866 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
16867 all-stageprofile: all-stageprofile-libdecnumber
16868 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
16869 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16870 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16871 @r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 $(HOST_EXPORTS) \
16874 $(POSTSTAGE1_HOST_EXPORTS) \
16875 cd $(HOST_SUBDIR)/libdecnumber && \
16876 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16877 $(TARGET-stageprofile-libdecnumber)
16879 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
16880 clean-stageprofile: clean-stageprofile-libdecnumber
16881 clean-stageprofile-libdecnumber:
16882 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
16883 || exit 0 ; \
16884 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16885 cd $(HOST_SUBDIR)/libdecnumber && \
16886 $(MAKE) $(FLAGS_TO_PASS) \
16887 $(POSTSTAGE1_FLAGS_TO_PASS) \
16888 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16889 @endif libdecnumber-bootstrap
16892 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
16893 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
16894 maybe-all-stagefeedback-libdecnumber:
16895 maybe-clean-stagefeedback-libdecnumber:
16896 @if libdecnumber-bootstrap
16897 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
16898 all-stagefeedback: all-stagefeedback-libdecnumber
16899 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
16900 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16901 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16902 @r=`${PWD_COMMAND}`; export r; \
16903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16904 $(HOST_EXPORTS) \
16905 $(POSTSTAGE1_HOST_EXPORTS) \
16906 cd $(HOST_SUBDIR)/libdecnumber && \
16907 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16908 $(TARGET-stagefeedback-libdecnumber)
16910 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
16911 clean-stagefeedback: clean-stagefeedback-libdecnumber
16912 clean-stagefeedback-libdecnumber:
16913 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
16914 || exit 0 ; \
16915 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16916 cd $(HOST_SUBDIR)/libdecnumber && \
16917 $(MAKE) $(FLAGS_TO_PASS) \
16918 $(POSTSTAGE1_FLAGS_TO_PASS) \
16919 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16920 @endif libdecnumber-bootstrap
16926 .PHONY: check-libdecnumber maybe-check-libdecnumber
16927 maybe-check-libdecnumber:
16928 @if libdecnumber
16929 maybe-check-libdecnumber: check-libdecnumber
16931 check-libdecnumber:
16932 @: $(MAKE); $(unstage)
16933 @r=`${PWD_COMMAND}`; export r; \
16934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16935 $(HOST_EXPORTS) \
16936 (cd $(HOST_SUBDIR)/libdecnumber && \
16937 $(MAKE) $(FLAGS_TO_PASS) check)
16939 @endif libdecnumber
16941 .PHONY: install-libdecnumber maybe-install-libdecnumber
16942 maybe-install-libdecnumber:
16943 @if libdecnumber
16944 maybe-install-libdecnumber: install-libdecnumber
16946 install-libdecnumber: installdirs
16947 @: $(MAKE); $(unstage)
16948 @r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 (cd $(HOST_SUBDIR)/libdecnumber && \
16952 $(MAKE) $(FLAGS_TO_PASS) install)
16954 @endif libdecnumber
16956 # Other targets (info, dvi, etc.)
16958 .PHONY: maybe-info-libdecnumber info-libdecnumber
16959 maybe-info-libdecnumber:
16960 @if libdecnumber
16961 maybe-info-libdecnumber: info-libdecnumber
16963 info-libdecnumber: \
16964 configure-libdecnumber
16965 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16966 r=`${PWD_COMMAND}`; export r; \
16967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16968 $(HOST_EXPORTS) \
16969 for flag in $(EXTRA_HOST_FLAGS) ; do \
16970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16971 done; \
16972 echo "Doing info in libdecnumber" ; \
16973 (cd $(HOST_SUBDIR)/libdecnumber && \
16974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16976 "RANLIB=$${RANLIB}" \
16977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16978 info) \
16979 || exit 1
16981 @endif libdecnumber
16983 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
16984 maybe-dvi-libdecnumber:
16985 @if libdecnumber
16986 maybe-dvi-libdecnumber: dvi-libdecnumber
16988 dvi-libdecnumber: \
16989 configure-libdecnumber
16990 @[ -f ./libdecnumber/Makefile ] || exit 0; \
16991 r=`${PWD_COMMAND}`; export r; \
16992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16993 $(HOST_EXPORTS) \
16994 for flag in $(EXTRA_HOST_FLAGS) ; do \
16995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16996 done; \
16997 echo "Doing dvi in libdecnumber" ; \
16998 (cd $(HOST_SUBDIR)/libdecnumber && \
16999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17001 "RANLIB=$${RANLIB}" \
17002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17003 dvi) \
17004 || exit 1
17006 @endif libdecnumber
17008 .PHONY: maybe-html-libdecnumber html-libdecnumber
17009 maybe-html-libdecnumber:
17010 @if libdecnumber
17011 maybe-html-libdecnumber: html-libdecnumber
17013 html-libdecnumber: \
17014 configure-libdecnumber
17015 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17016 r=`${PWD_COMMAND}`; export r; \
17017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17018 $(HOST_EXPORTS) \
17019 for flag in $(EXTRA_HOST_FLAGS) ; do \
17020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17021 done; \
17022 echo "Doing html in libdecnumber" ; \
17023 (cd $(HOST_SUBDIR)/libdecnumber && \
17024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17026 "RANLIB=$${RANLIB}" \
17027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17028 html) \
17029 || exit 1
17031 @endif libdecnumber
17033 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17034 maybe-TAGS-libdecnumber:
17035 @if libdecnumber
17036 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17038 TAGS-libdecnumber: \
17039 configure-libdecnumber
17040 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17041 r=`${PWD_COMMAND}`; export r; \
17042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17043 $(HOST_EXPORTS) \
17044 for flag in $(EXTRA_HOST_FLAGS) ; do \
17045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17046 done; \
17047 echo "Doing TAGS in libdecnumber" ; \
17048 (cd $(HOST_SUBDIR)/libdecnumber && \
17049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17051 "RANLIB=$${RANLIB}" \
17052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17053 TAGS) \
17054 || exit 1
17056 @endif libdecnumber
17058 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17059 maybe-install-info-libdecnumber:
17060 @if libdecnumber
17061 maybe-install-info-libdecnumber: install-info-libdecnumber
17063 install-info-libdecnumber: \
17064 configure-libdecnumber \
17065 info-libdecnumber
17066 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17067 r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 $(HOST_EXPORTS) \
17070 for flag in $(EXTRA_HOST_FLAGS) ; do \
17071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17072 done; \
17073 echo "Doing install-info in libdecnumber" ; \
17074 (cd $(HOST_SUBDIR)/libdecnumber && \
17075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17077 "RANLIB=$${RANLIB}" \
17078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17079 install-info) \
17080 || exit 1
17082 @endif libdecnumber
17084 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17085 maybe-installcheck-libdecnumber:
17086 @if libdecnumber
17087 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17089 installcheck-libdecnumber: \
17090 configure-libdecnumber
17091 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17092 r=`${PWD_COMMAND}`; export r; \
17093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17094 $(HOST_EXPORTS) \
17095 for flag in $(EXTRA_HOST_FLAGS) ; do \
17096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17097 done; \
17098 echo "Doing installcheck in libdecnumber" ; \
17099 (cd $(HOST_SUBDIR)/libdecnumber && \
17100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17102 "RANLIB=$${RANLIB}" \
17103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17104 installcheck) \
17105 || exit 1
17107 @endif libdecnumber
17109 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17110 maybe-mostlyclean-libdecnumber:
17111 @if libdecnumber
17112 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17114 mostlyclean-libdecnumber:
17115 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17116 r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(HOST_EXPORTS) \
17119 for flag in $(EXTRA_HOST_FLAGS) ; do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 echo "Doing mostlyclean in libdecnumber" ; \
17123 (cd $(HOST_SUBDIR)/libdecnumber && \
17124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17126 "RANLIB=$${RANLIB}" \
17127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17128 mostlyclean) \
17129 || exit 1
17131 @endif libdecnumber
17133 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17134 maybe-clean-libdecnumber:
17135 @if libdecnumber
17136 maybe-clean-libdecnumber: clean-libdecnumber
17138 clean-libdecnumber:
17139 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17140 r=`${PWD_COMMAND}`; export r; \
17141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17142 $(HOST_EXPORTS) \
17143 for flag in $(EXTRA_HOST_FLAGS) ; do \
17144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17145 done; \
17146 echo "Doing clean in libdecnumber" ; \
17147 (cd $(HOST_SUBDIR)/libdecnumber && \
17148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17150 "RANLIB=$${RANLIB}" \
17151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17152 clean) \
17153 || exit 1
17155 @endif libdecnumber
17157 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17158 maybe-distclean-libdecnumber:
17159 @if libdecnumber
17160 maybe-distclean-libdecnumber: distclean-libdecnumber
17162 distclean-libdecnumber:
17163 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17164 r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166 $(HOST_EXPORTS) \
17167 for flag in $(EXTRA_HOST_FLAGS) ; do \
17168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17169 done; \
17170 echo "Doing distclean in libdecnumber" ; \
17171 (cd $(HOST_SUBDIR)/libdecnumber && \
17172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17174 "RANLIB=$${RANLIB}" \
17175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17176 distclean) \
17177 || exit 1
17179 @endif libdecnumber
17181 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17182 maybe-maintainer-clean-libdecnumber:
17183 @if libdecnumber
17184 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17186 maintainer-clean-libdecnumber:
17187 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17188 r=`${PWD_COMMAND}`; export r; \
17189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17190 $(HOST_EXPORTS) \
17191 for flag in $(EXTRA_HOST_FLAGS) ; do \
17192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17193 done; \
17194 echo "Doing maintainer-clean in libdecnumber" ; \
17195 (cd $(HOST_SUBDIR)/libdecnumber && \
17196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17198 "RANLIB=$${RANLIB}" \
17199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17200 maintainer-clean) \
17201 || exit 1
17203 @endif libdecnumber
17207 .PHONY: configure-libgui maybe-configure-libgui
17208 maybe-configure-libgui:
17209 @if libgui
17210 maybe-configure-libgui: configure-libgui
17211 configure-libgui:
17212 @: $(MAKE); $(unstage)
17213 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17215 r=`${PWD_COMMAND}`; export r; \
17216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17217 $(HOST_EXPORTS) \
17218 echo Configuring in $(HOST_SUBDIR)/libgui; \
17219 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17220 case $(srcdir) in \
17221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17222 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17224 esac; \
17225 srcdiroption="--srcdir=$${topdir}/libgui"; \
17226 libsrcdir="$$s/libgui"; \
17227 $(SHELL) $${libsrcdir}/configure \
17228 $(HOST_CONFIGARGS) $${srcdiroption} \
17229 || exit 1
17230 @endif libgui
17236 .PHONY: all-libgui maybe-all-libgui
17237 maybe-all-libgui:
17238 @if libgui
17239 TARGET-libgui=all
17240 maybe-all-libgui: all-libgui
17241 all-libgui: configure-libgui
17242 @: $(MAKE); $(unstage)
17243 @r=`${PWD_COMMAND}`; export r; \
17244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17245 $(HOST_EXPORTS) \
17246 (cd $(HOST_SUBDIR)/libgui && \
17247 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17248 @endif libgui
17253 .PHONY: check-libgui maybe-check-libgui
17254 maybe-check-libgui:
17255 @if libgui
17256 maybe-check-libgui: check-libgui
17258 check-libgui:
17259 @: $(MAKE); $(unstage)
17260 @r=`${PWD_COMMAND}`; export r; \
17261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17262 $(HOST_EXPORTS) \
17263 (cd $(HOST_SUBDIR)/libgui && \
17264 $(MAKE) $(FLAGS_TO_PASS) check)
17266 @endif libgui
17268 .PHONY: install-libgui maybe-install-libgui
17269 maybe-install-libgui:
17270 @if libgui
17271 maybe-install-libgui: install-libgui
17273 install-libgui: installdirs
17274 @: $(MAKE); $(unstage)
17275 @r=`${PWD_COMMAND}`; export r; \
17276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17277 $(HOST_EXPORTS) \
17278 (cd $(HOST_SUBDIR)/libgui && \
17279 $(MAKE) $(FLAGS_TO_PASS) install)
17281 @endif libgui
17283 # Other targets (info, dvi, etc.)
17285 .PHONY: maybe-info-libgui info-libgui
17286 maybe-info-libgui:
17287 @if libgui
17288 maybe-info-libgui: info-libgui
17290 info-libgui: \
17291 configure-libgui
17292 @: $(MAKE); $(unstage)
17293 @[ -f ./libgui/Makefile ] || exit 0; \
17294 r=`${PWD_COMMAND}`; export r; \
17295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17296 $(HOST_EXPORTS) \
17297 for flag in $(EXTRA_HOST_FLAGS) ; do \
17298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17299 done; \
17300 echo "Doing info in libgui" ; \
17301 (cd $(HOST_SUBDIR)/libgui && \
17302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17304 "RANLIB=$${RANLIB}" \
17305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17306 info) \
17307 || exit 1
17309 @endif libgui
17311 .PHONY: maybe-dvi-libgui dvi-libgui
17312 maybe-dvi-libgui:
17313 @if libgui
17314 maybe-dvi-libgui: dvi-libgui
17316 dvi-libgui: \
17317 configure-libgui
17318 @: $(MAKE); $(unstage)
17319 @[ -f ./libgui/Makefile ] || exit 0; \
17320 r=`${PWD_COMMAND}`; export r; \
17321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17322 $(HOST_EXPORTS) \
17323 for flag in $(EXTRA_HOST_FLAGS) ; do \
17324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17325 done; \
17326 echo "Doing dvi in libgui" ; \
17327 (cd $(HOST_SUBDIR)/libgui && \
17328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17330 "RANLIB=$${RANLIB}" \
17331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17332 dvi) \
17333 || exit 1
17335 @endif libgui
17337 .PHONY: maybe-html-libgui html-libgui
17338 maybe-html-libgui:
17339 @if libgui
17340 maybe-html-libgui: html-libgui
17342 html-libgui: \
17343 configure-libgui
17344 @: $(MAKE); $(unstage)
17345 @[ -f ./libgui/Makefile ] || exit 0; \
17346 r=`${PWD_COMMAND}`; export r; \
17347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17348 $(HOST_EXPORTS) \
17349 for flag in $(EXTRA_HOST_FLAGS) ; do \
17350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17351 done; \
17352 echo "Doing html in libgui" ; \
17353 (cd $(HOST_SUBDIR)/libgui && \
17354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17356 "RANLIB=$${RANLIB}" \
17357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17358 html) \
17359 || exit 1
17361 @endif libgui
17363 .PHONY: maybe-TAGS-libgui TAGS-libgui
17364 maybe-TAGS-libgui:
17365 @if libgui
17366 maybe-TAGS-libgui: TAGS-libgui
17368 TAGS-libgui: \
17369 configure-libgui
17370 @: $(MAKE); $(unstage)
17371 @[ -f ./libgui/Makefile ] || exit 0; \
17372 r=`${PWD_COMMAND}`; export r; \
17373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17374 $(HOST_EXPORTS) \
17375 for flag in $(EXTRA_HOST_FLAGS) ; do \
17376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17377 done; \
17378 echo "Doing TAGS in libgui" ; \
17379 (cd $(HOST_SUBDIR)/libgui && \
17380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17382 "RANLIB=$${RANLIB}" \
17383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17384 TAGS) \
17385 || exit 1
17387 @endif libgui
17389 .PHONY: maybe-install-info-libgui install-info-libgui
17390 maybe-install-info-libgui:
17391 @if libgui
17392 maybe-install-info-libgui: install-info-libgui
17394 install-info-libgui: \
17395 configure-libgui \
17396 info-libgui
17397 @: $(MAKE); $(unstage)
17398 @[ -f ./libgui/Makefile ] || exit 0; \
17399 r=`${PWD_COMMAND}`; export r; \
17400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17401 $(HOST_EXPORTS) \
17402 for flag in $(EXTRA_HOST_FLAGS) ; do \
17403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17404 done; \
17405 echo "Doing install-info in libgui" ; \
17406 (cd $(HOST_SUBDIR)/libgui && \
17407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17409 "RANLIB=$${RANLIB}" \
17410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17411 install-info) \
17412 || exit 1
17414 @endif libgui
17416 .PHONY: maybe-installcheck-libgui installcheck-libgui
17417 maybe-installcheck-libgui:
17418 @if libgui
17419 maybe-installcheck-libgui: installcheck-libgui
17421 installcheck-libgui: \
17422 configure-libgui
17423 @: $(MAKE); $(unstage)
17424 @[ -f ./libgui/Makefile ] || exit 0; \
17425 r=`${PWD_COMMAND}`; export r; \
17426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17427 $(HOST_EXPORTS) \
17428 for flag in $(EXTRA_HOST_FLAGS) ; do \
17429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17430 done; \
17431 echo "Doing installcheck in libgui" ; \
17432 (cd $(HOST_SUBDIR)/libgui && \
17433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17435 "RANLIB=$${RANLIB}" \
17436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17437 installcheck) \
17438 || exit 1
17440 @endif libgui
17442 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17443 maybe-mostlyclean-libgui:
17444 @if libgui
17445 maybe-mostlyclean-libgui: mostlyclean-libgui
17447 mostlyclean-libgui:
17448 @: $(MAKE); $(unstage)
17449 @[ -f ./libgui/Makefile ] || exit 0; \
17450 r=`${PWD_COMMAND}`; export r; \
17451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17452 $(HOST_EXPORTS) \
17453 for flag in $(EXTRA_HOST_FLAGS) ; do \
17454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17455 done; \
17456 echo "Doing mostlyclean in libgui" ; \
17457 (cd $(HOST_SUBDIR)/libgui && \
17458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17460 "RANLIB=$${RANLIB}" \
17461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17462 mostlyclean) \
17463 || exit 1
17465 @endif libgui
17467 .PHONY: maybe-clean-libgui clean-libgui
17468 maybe-clean-libgui:
17469 @if libgui
17470 maybe-clean-libgui: clean-libgui
17472 clean-libgui:
17473 @: $(MAKE); $(unstage)
17474 @[ -f ./libgui/Makefile ] || exit 0; \
17475 r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 for flag in $(EXTRA_HOST_FLAGS) ; do \
17479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17480 done; \
17481 echo "Doing clean in libgui" ; \
17482 (cd $(HOST_SUBDIR)/libgui && \
17483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17485 "RANLIB=$${RANLIB}" \
17486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17487 clean) \
17488 || exit 1
17490 @endif libgui
17492 .PHONY: maybe-distclean-libgui distclean-libgui
17493 maybe-distclean-libgui:
17494 @if libgui
17495 maybe-distclean-libgui: distclean-libgui
17497 distclean-libgui:
17498 @: $(MAKE); $(unstage)
17499 @[ -f ./libgui/Makefile ] || exit 0; \
17500 r=`${PWD_COMMAND}`; export r; \
17501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17502 $(HOST_EXPORTS) \
17503 for flag in $(EXTRA_HOST_FLAGS) ; do \
17504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17505 done; \
17506 echo "Doing distclean in libgui" ; \
17507 (cd $(HOST_SUBDIR)/libgui && \
17508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17510 "RANLIB=$${RANLIB}" \
17511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17512 distclean) \
17513 || exit 1
17515 @endif libgui
17517 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17518 maybe-maintainer-clean-libgui:
17519 @if libgui
17520 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17522 maintainer-clean-libgui:
17523 @: $(MAKE); $(unstage)
17524 @[ -f ./libgui/Makefile ] || exit 0; \
17525 r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 $(HOST_EXPORTS) \
17528 for flag in $(EXTRA_HOST_FLAGS) ; do \
17529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17530 done; \
17531 echo "Doing maintainer-clean in libgui" ; \
17532 (cd $(HOST_SUBDIR)/libgui && \
17533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17535 "RANLIB=$${RANLIB}" \
17536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17537 maintainer-clean) \
17538 || exit 1
17540 @endif libgui
17544 .PHONY: configure-libiberty maybe-configure-libiberty
17545 maybe-configure-libiberty:
17546 @if libiberty
17547 maybe-configure-libiberty: configure-libiberty
17548 configure-libiberty:
17549 @test -f stage_last && exit 0; \
17550 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17552 r=`${PWD_COMMAND}`; export r; \
17553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17554 $(HOST_EXPORTS) \
17555 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17556 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17557 case $(srcdir) in \
17558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17559 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17561 esac; \
17562 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17563 libsrcdir="$$s/libiberty"; \
17564 $(SHELL) $${libsrcdir}/configure \
17565 $(HOST_CONFIGARGS) $${srcdiroption} \
17566 || exit 1
17567 @endif libiberty
17571 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17572 maybe-configure-stage1-libiberty:
17573 @if libiberty-bootstrap
17574 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17575 configure-stage1-libiberty:
17576 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17577 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17578 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17579 $(HOST_EXPORTS) \
17580 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17582 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17583 case $(srcdir) in \
17584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17585 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17587 esac; \
17588 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17589 libsrcdir="$$s/libiberty"; \
17590 $(SHELL) $${libsrcdir}/configure \
17591 $(HOST_CONFIGARGS) $${srcdiroption} \
17592 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17593 @endif libiberty-bootstrap
17595 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17596 maybe-configure-stage2-libiberty:
17597 @if libiberty-bootstrap
17598 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17599 configure-stage2-libiberty:
17600 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17602 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17603 $(HOST_EXPORTS) \
17604 $(POSTSTAGE1_HOST_EXPORTS) \
17605 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17607 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17608 case $(srcdir) in \
17609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17610 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17612 esac; \
17613 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17614 libsrcdir="$$s/libiberty"; \
17615 $(SHELL) $${libsrcdir}/configure \
17616 $(HOST_CONFIGARGS) $${srcdiroption} \
17617 @stage2_werror_flag@
17618 @endif libiberty-bootstrap
17620 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17621 maybe-configure-stage3-libiberty:
17622 @if libiberty-bootstrap
17623 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17624 configure-stage3-libiberty:
17625 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17626 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17627 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17628 $(HOST_EXPORTS) \
17629 $(POSTSTAGE1_HOST_EXPORTS) \
17630 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17632 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17633 case $(srcdir) in \
17634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17635 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17637 esac; \
17638 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17639 libsrcdir="$$s/libiberty"; \
17640 $(SHELL) $${libsrcdir}/configure \
17641 $(HOST_CONFIGARGS) $${srcdiroption} \
17642 @stage2_werror_flag@
17643 @endif libiberty-bootstrap
17645 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17646 maybe-configure-stage4-libiberty:
17647 @if libiberty-bootstrap
17648 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17649 configure-stage4-libiberty:
17650 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17651 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17652 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17653 $(HOST_EXPORTS) \
17654 $(POSTSTAGE1_HOST_EXPORTS) \
17655 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17657 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17658 case $(srcdir) in \
17659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17660 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17662 esac; \
17663 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17664 libsrcdir="$$s/libiberty"; \
17665 $(SHELL) $${libsrcdir}/configure \
17666 $(HOST_CONFIGARGS) $${srcdiroption} \
17667 @stage2_werror_flag@
17668 @endif libiberty-bootstrap
17670 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17671 maybe-configure-stageprofile-libiberty:
17672 @if libiberty-bootstrap
17673 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17674 configure-stageprofile-libiberty:
17675 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17676 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17677 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17678 $(HOST_EXPORTS) \
17679 $(POSTSTAGE1_HOST_EXPORTS) \
17680 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17681 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17682 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17683 case $(srcdir) in \
17684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17685 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17687 esac; \
17688 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17689 libsrcdir="$$s/libiberty"; \
17690 $(SHELL) $${libsrcdir}/configure \
17691 $(HOST_CONFIGARGS) $${srcdiroption} \
17692 @stage2_werror_flag@
17693 @endif libiberty-bootstrap
17695 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17696 maybe-configure-stagefeedback-libiberty:
17697 @if libiberty-bootstrap
17698 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17699 configure-stagefeedback-libiberty:
17700 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17702 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17703 $(HOST_EXPORTS) \
17704 $(POSTSTAGE1_HOST_EXPORTS) \
17705 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17707 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17708 case $(srcdir) in \
17709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17710 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17712 esac; \
17713 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17714 libsrcdir="$$s/libiberty"; \
17715 $(SHELL) $${libsrcdir}/configure \
17716 $(HOST_CONFIGARGS) $${srcdiroption} \
17717 @stage2_werror_flag@
17718 @endif libiberty-bootstrap
17724 .PHONY: all-libiberty maybe-all-libiberty
17725 maybe-all-libiberty:
17726 @if libiberty
17727 TARGET-libiberty=all
17728 maybe-all-libiberty: all-libiberty
17729 all-libiberty: configure-libiberty
17730 @test -f stage_last && exit 0; \
17731 r=`${PWD_COMMAND}`; export r; \
17732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17733 $(HOST_EXPORTS) \
17734 (cd $(HOST_SUBDIR)/libiberty && \
17735 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17736 @endif libiberty
17740 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17741 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17742 maybe-all-stage1-libiberty:
17743 maybe-clean-stage1-libiberty:
17744 @if libiberty-bootstrap
17745 maybe-all-stage1-libiberty: all-stage1-libiberty
17746 all-stage1: all-stage1-libiberty
17747 TARGET-stage1-libiberty = $(TARGET-libiberty)
17748 all-stage1-libiberty: configure-stage1-libiberty
17749 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17750 @r=`${PWD_COMMAND}`; export r; \
17751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17752 $(HOST_EXPORTS) \
17753 cd $(HOST_SUBDIR)/libiberty && \
17754 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17755 $(TARGET-stage1-libiberty)
17757 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17758 clean-stage1: clean-stage1-libiberty
17759 clean-stage1-libiberty:
17760 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17761 || exit 0 ; \
17762 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17763 cd $(HOST_SUBDIR)/libiberty && \
17764 $(MAKE) $(FLAGS_TO_PASS) \
17765 CFLAGS="$(STAGE1_CFLAGS)" clean
17766 @endif libiberty-bootstrap
17769 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17770 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17771 maybe-all-stage2-libiberty:
17772 maybe-clean-stage2-libiberty:
17773 @if libiberty-bootstrap
17774 maybe-all-stage2-libiberty: all-stage2-libiberty
17775 all-stage2: all-stage2-libiberty
17776 TARGET-stage2-libiberty = $(TARGET-libiberty)
17777 all-stage2-libiberty: configure-stage2-libiberty
17778 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17779 @r=`${PWD_COMMAND}`; export r; \
17780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17781 $(HOST_EXPORTS) \
17782 $(POSTSTAGE1_HOST_EXPORTS) \
17783 cd $(HOST_SUBDIR)/libiberty && \
17784 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17785 $(TARGET-stage2-libiberty)
17787 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17788 clean-stage2: clean-stage2-libiberty
17789 clean-stage2-libiberty:
17790 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17791 || exit 0 ; \
17792 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17793 cd $(HOST_SUBDIR)/libiberty && \
17794 $(MAKE) $(FLAGS_TO_PASS) \
17795 $(POSTSTAGE1_FLAGS_TO_PASS) \
17796 clean
17797 @endif libiberty-bootstrap
17800 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17801 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17802 maybe-all-stage3-libiberty:
17803 maybe-clean-stage3-libiberty:
17804 @if libiberty-bootstrap
17805 maybe-all-stage3-libiberty: all-stage3-libiberty
17806 all-stage3: all-stage3-libiberty
17807 TARGET-stage3-libiberty = $(TARGET-libiberty)
17808 all-stage3-libiberty: configure-stage3-libiberty
17809 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17810 @r=`${PWD_COMMAND}`; export r; \
17811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17812 $(HOST_EXPORTS) \
17813 $(POSTSTAGE1_HOST_EXPORTS) \
17814 cd $(HOST_SUBDIR)/libiberty && \
17815 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17816 $(TARGET-stage3-libiberty)
17818 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17819 clean-stage3: clean-stage3-libiberty
17820 clean-stage3-libiberty:
17821 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17822 || exit 0 ; \
17823 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17824 cd $(HOST_SUBDIR)/libiberty && \
17825 $(MAKE) $(FLAGS_TO_PASS) \
17826 $(POSTSTAGE1_FLAGS_TO_PASS) \
17827 clean
17828 @endif libiberty-bootstrap
17831 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17832 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17833 maybe-all-stage4-libiberty:
17834 maybe-clean-stage4-libiberty:
17835 @if libiberty-bootstrap
17836 maybe-all-stage4-libiberty: all-stage4-libiberty
17837 all-stage4: all-stage4-libiberty
17838 TARGET-stage4-libiberty = $(TARGET-libiberty)
17839 all-stage4-libiberty: configure-stage4-libiberty
17840 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17841 @r=`${PWD_COMMAND}`; export r; \
17842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 $(HOST_EXPORTS) \
17844 $(POSTSTAGE1_HOST_EXPORTS) \
17845 cd $(HOST_SUBDIR)/libiberty && \
17846 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17847 $(TARGET-stage4-libiberty)
17849 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17850 clean-stage4: clean-stage4-libiberty
17851 clean-stage4-libiberty:
17852 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17853 || exit 0 ; \
17854 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17855 cd $(HOST_SUBDIR)/libiberty && \
17856 $(MAKE) $(FLAGS_TO_PASS) \
17857 $(POSTSTAGE1_FLAGS_TO_PASS) \
17858 clean
17859 @endif libiberty-bootstrap
17862 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17863 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17864 maybe-all-stageprofile-libiberty:
17865 maybe-clean-stageprofile-libiberty:
17866 @if libiberty-bootstrap
17867 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17868 all-stageprofile: all-stageprofile-libiberty
17869 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17870 all-stageprofile-libiberty: configure-stageprofile-libiberty
17871 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17872 @r=`${PWD_COMMAND}`; export r; \
17873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17874 $(HOST_EXPORTS) \
17875 $(POSTSTAGE1_HOST_EXPORTS) \
17876 cd $(HOST_SUBDIR)/libiberty && \
17877 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17878 $(TARGET-stageprofile-libiberty)
17880 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17881 clean-stageprofile: clean-stageprofile-libiberty
17882 clean-stageprofile-libiberty:
17883 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17884 || exit 0 ; \
17885 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17886 cd $(HOST_SUBDIR)/libiberty && \
17887 $(MAKE) $(FLAGS_TO_PASS) \
17888 $(POSTSTAGE1_FLAGS_TO_PASS) \
17889 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17890 @endif libiberty-bootstrap
17893 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17894 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17895 maybe-all-stagefeedback-libiberty:
17896 maybe-clean-stagefeedback-libiberty:
17897 @if libiberty-bootstrap
17898 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17899 all-stagefeedback: all-stagefeedback-libiberty
17900 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17901 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17902 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17903 @r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(HOST_EXPORTS) \
17906 $(POSTSTAGE1_HOST_EXPORTS) \
17907 cd $(HOST_SUBDIR)/libiberty && \
17908 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17909 $(TARGET-stagefeedback-libiberty)
17911 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17912 clean-stagefeedback: clean-stagefeedback-libiberty
17913 clean-stagefeedback-libiberty:
17914 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17915 || exit 0 ; \
17916 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17917 cd $(HOST_SUBDIR)/libiberty && \
17918 $(MAKE) $(FLAGS_TO_PASS) \
17919 $(POSTSTAGE1_FLAGS_TO_PASS) \
17920 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17921 @endif libiberty-bootstrap
17927 .PHONY: check-libiberty maybe-check-libiberty
17928 maybe-check-libiberty:
17929 @if libiberty
17930 maybe-check-libiberty: check-libiberty
17932 check-libiberty:
17933 @: $(MAKE); $(unstage)
17934 @r=`${PWD_COMMAND}`; export r; \
17935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17936 $(HOST_EXPORTS) \
17937 (cd $(HOST_SUBDIR)/libiberty && \
17938 $(MAKE) $(FLAGS_TO_PASS) check)
17940 @endif libiberty
17942 .PHONY: install-libiberty maybe-install-libiberty
17943 maybe-install-libiberty:
17944 @if libiberty
17945 maybe-install-libiberty: install-libiberty
17947 install-libiberty: installdirs
17948 @: $(MAKE); $(unstage)
17949 @r=`${PWD_COMMAND}`; export r; \
17950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17951 $(HOST_EXPORTS) \
17952 (cd $(HOST_SUBDIR)/libiberty && \
17953 $(MAKE) $(FLAGS_TO_PASS) install)
17955 @endif libiberty
17957 # Other targets (info, dvi, etc.)
17959 .PHONY: maybe-info-libiberty info-libiberty
17960 maybe-info-libiberty:
17961 @if libiberty
17962 maybe-info-libiberty: info-libiberty
17964 info-libiberty: \
17965 configure-libiberty
17966 @[ -f ./libiberty/Makefile ] || exit 0; \
17967 r=`${PWD_COMMAND}`; export r; \
17968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 $(HOST_EXPORTS) \
17970 for flag in $(EXTRA_HOST_FLAGS) ; do \
17971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17972 done; \
17973 echo "Doing info in libiberty" ; \
17974 (cd $(HOST_SUBDIR)/libiberty && \
17975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17977 "RANLIB=$${RANLIB}" \
17978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17979 info) \
17980 || exit 1
17982 @endif libiberty
17984 .PHONY: maybe-dvi-libiberty dvi-libiberty
17985 maybe-dvi-libiberty:
17986 @if libiberty
17987 maybe-dvi-libiberty: dvi-libiberty
17989 dvi-libiberty: \
17990 configure-libiberty
17991 @[ -f ./libiberty/Makefile ] || exit 0; \
17992 r=`${PWD_COMMAND}`; export r; \
17993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17994 $(HOST_EXPORTS) \
17995 for flag in $(EXTRA_HOST_FLAGS) ; do \
17996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17997 done; \
17998 echo "Doing dvi in libiberty" ; \
17999 (cd $(HOST_SUBDIR)/libiberty && \
18000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18002 "RANLIB=$${RANLIB}" \
18003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18004 dvi) \
18005 || exit 1
18007 @endif libiberty
18009 .PHONY: maybe-html-libiberty html-libiberty
18010 maybe-html-libiberty:
18011 @if libiberty
18012 maybe-html-libiberty: html-libiberty
18014 html-libiberty: \
18015 configure-libiberty
18016 @[ -f ./libiberty/Makefile ] || exit 0; \
18017 r=`${PWD_COMMAND}`; export r; \
18018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18019 $(HOST_EXPORTS) \
18020 for flag in $(EXTRA_HOST_FLAGS) ; do \
18021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18022 done; \
18023 echo "Doing html in libiberty" ; \
18024 (cd $(HOST_SUBDIR)/libiberty && \
18025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18027 "RANLIB=$${RANLIB}" \
18028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18029 html) \
18030 || exit 1
18032 @endif libiberty
18034 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18035 maybe-TAGS-libiberty:
18036 @if libiberty
18037 maybe-TAGS-libiberty: TAGS-libiberty
18039 TAGS-libiberty: \
18040 configure-libiberty
18041 @[ -f ./libiberty/Makefile ] || exit 0; \
18042 r=`${PWD_COMMAND}`; export r; \
18043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18044 $(HOST_EXPORTS) \
18045 for flag in $(EXTRA_HOST_FLAGS) ; do \
18046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18047 done; \
18048 echo "Doing TAGS in libiberty" ; \
18049 (cd $(HOST_SUBDIR)/libiberty && \
18050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18052 "RANLIB=$${RANLIB}" \
18053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18054 TAGS) \
18055 || exit 1
18057 @endif libiberty
18059 .PHONY: maybe-install-info-libiberty install-info-libiberty
18060 maybe-install-info-libiberty:
18061 @if libiberty
18062 maybe-install-info-libiberty: install-info-libiberty
18064 install-info-libiberty: \
18065 configure-libiberty \
18066 info-libiberty
18067 @[ -f ./libiberty/Makefile ] || exit 0; \
18068 r=`${PWD_COMMAND}`; export r; \
18069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18070 $(HOST_EXPORTS) \
18071 for flag in $(EXTRA_HOST_FLAGS) ; do \
18072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18073 done; \
18074 echo "Doing install-info in libiberty" ; \
18075 (cd $(HOST_SUBDIR)/libiberty && \
18076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18078 "RANLIB=$${RANLIB}" \
18079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18080 install-info) \
18081 || exit 1
18083 @endif libiberty
18085 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18086 maybe-installcheck-libiberty:
18087 @if libiberty
18088 maybe-installcheck-libiberty: installcheck-libiberty
18090 installcheck-libiberty: \
18091 configure-libiberty
18092 @[ -f ./libiberty/Makefile ] || exit 0; \
18093 r=`${PWD_COMMAND}`; export r; \
18094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 $(HOST_EXPORTS) \
18096 for flag in $(EXTRA_HOST_FLAGS) ; do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 done; \
18099 echo "Doing installcheck in libiberty" ; \
18100 (cd $(HOST_SUBDIR)/libiberty && \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18105 installcheck) \
18106 || exit 1
18108 @endif libiberty
18110 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18111 maybe-mostlyclean-libiberty:
18112 @if libiberty
18113 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18115 mostlyclean-libiberty:
18116 @[ -f ./libiberty/Makefile ] || exit 0; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18119 $(HOST_EXPORTS) \
18120 for flag in $(EXTRA_HOST_FLAGS) ; do \
18121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18122 done; \
18123 echo "Doing mostlyclean in libiberty" ; \
18124 (cd $(HOST_SUBDIR)/libiberty && \
18125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18127 "RANLIB=$${RANLIB}" \
18128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18129 mostlyclean) \
18130 || exit 1
18132 @endif libiberty
18134 .PHONY: maybe-clean-libiberty clean-libiberty
18135 maybe-clean-libiberty:
18136 @if libiberty
18137 maybe-clean-libiberty: clean-libiberty
18139 clean-libiberty:
18140 @[ -f ./libiberty/Makefile ] || exit 0; \
18141 r=`${PWD_COMMAND}`; export r; \
18142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18143 $(HOST_EXPORTS) \
18144 for flag in $(EXTRA_HOST_FLAGS) ; do \
18145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18146 done; \
18147 echo "Doing clean in libiberty" ; \
18148 (cd $(HOST_SUBDIR)/libiberty && \
18149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18151 "RANLIB=$${RANLIB}" \
18152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18153 clean) \
18154 || exit 1
18156 @endif libiberty
18158 .PHONY: maybe-distclean-libiberty distclean-libiberty
18159 maybe-distclean-libiberty:
18160 @if libiberty
18161 maybe-distclean-libiberty: distclean-libiberty
18163 distclean-libiberty:
18164 @[ -f ./libiberty/Makefile ] || exit 0; \
18165 r=`${PWD_COMMAND}`; export r; \
18166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18167 $(HOST_EXPORTS) \
18168 for flag in $(EXTRA_HOST_FLAGS) ; do \
18169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18170 done; \
18171 echo "Doing distclean in libiberty" ; \
18172 (cd $(HOST_SUBDIR)/libiberty && \
18173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18175 "RANLIB=$${RANLIB}" \
18176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18177 distclean) \
18178 || exit 1
18180 @endif libiberty
18182 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18183 maybe-maintainer-clean-libiberty:
18184 @if libiberty
18185 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18187 maintainer-clean-libiberty:
18188 @[ -f ./libiberty/Makefile ] || exit 0; \
18189 r=`${PWD_COMMAND}`; export r; \
18190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18191 $(HOST_EXPORTS) \
18192 for flag in $(EXTRA_HOST_FLAGS) ; do \
18193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18194 done; \
18195 echo "Doing maintainer-clean in libiberty" ; \
18196 (cd $(HOST_SUBDIR)/libiberty && \
18197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18199 "RANLIB=$${RANLIB}" \
18200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18201 maintainer-clean) \
18202 || exit 1
18204 @endif libiberty
18208 .PHONY: configure-libtool maybe-configure-libtool
18209 maybe-configure-libtool:
18210 @if libtool
18211 maybe-configure-libtool: configure-libtool
18212 configure-libtool:
18213 @: $(MAKE); $(unstage)
18214 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18216 r=`${PWD_COMMAND}`; export r; \
18217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 $(HOST_EXPORTS) \
18219 echo Configuring in $(HOST_SUBDIR)/libtool; \
18220 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18221 case $(srcdir) in \
18222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18223 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18225 esac; \
18226 srcdiroption="--srcdir=$${topdir}/libtool"; \
18227 libsrcdir="$$s/libtool"; \
18228 $(SHELL) $${libsrcdir}/configure \
18229 $(HOST_CONFIGARGS) $${srcdiroption} \
18230 || exit 1
18231 @endif libtool
18237 .PHONY: all-libtool maybe-all-libtool
18238 maybe-all-libtool:
18239 @if libtool
18240 TARGET-libtool=all
18241 maybe-all-libtool: all-libtool
18242 all-libtool: configure-libtool
18243 @: $(MAKE); $(unstage)
18244 @r=`${PWD_COMMAND}`; export r; \
18245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18246 $(HOST_EXPORTS) \
18247 (cd $(HOST_SUBDIR)/libtool && \
18248 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18249 @endif libtool
18254 .PHONY: check-libtool maybe-check-libtool
18255 maybe-check-libtool:
18256 @if libtool
18257 maybe-check-libtool: check-libtool
18259 check-libtool:
18260 @: $(MAKE); $(unstage)
18261 @r=`${PWD_COMMAND}`; export r; \
18262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18263 $(HOST_EXPORTS) \
18264 (cd $(HOST_SUBDIR)/libtool && \
18265 $(MAKE) $(FLAGS_TO_PASS) check)
18267 @endif libtool
18269 .PHONY: install-libtool maybe-install-libtool
18270 maybe-install-libtool:
18271 @if libtool
18272 maybe-install-libtool: install-libtool
18274 install-libtool: installdirs
18275 @: $(MAKE); $(unstage)
18276 @r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 $(HOST_EXPORTS) \
18279 (cd $(HOST_SUBDIR)/libtool && \
18280 $(MAKE) $(FLAGS_TO_PASS) install)
18282 @endif libtool
18284 # Other targets (info, dvi, etc.)
18286 .PHONY: maybe-info-libtool info-libtool
18287 maybe-info-libtool:
18288 @if libtool
18289 maybe-info-libtool: info-libtool
18291 info-libtool: \
18292 configure-libtool
18293 @: $(MAKE); $(unstage)
18294 @[ -f ./libtool/Makefile ] || exit 0; \
18295 r=`${PWD_COMMAND}`; export r; \
18296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18297 $(HOST_EXPORTS) \
18298 for flag in $(EXTRA_HOST_FLAGS) ; do \
18299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18300 done; \
18301 echo "Doing info in libtool" ; \
18302 (cd $(HOST_SUBDIR)/libtool && \
18303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18305 "RANLIB=$${RANLIB}" \
18306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18307 info) \
18308 || exit 1
18310 @endif libtool
18312 .PHONY: maybe-dvi-libtool dvi-libtool
18313 maybe-dvi-libtool:
18314 @if libtool
18315 maybe-dvi-libtool: dvi-libtool
18317 dvi-libtool: \
18318 configure-libtool
18319 @: $(MAKE); $(unstage)
18320 @[ -f ./libtool/Makefile ] || exit 0; \
18321 r=`${PWD_COMMAND}`; export r; \
18322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18323 $(HOST_EXPORTS) \
18324 for flag in $(EXTRA_HOST_FLAGS) ; do \
18325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18326 done; \
18327 echo "Doing dvi in libtool" ; \
18328 (cd $(HOST_SUBDIR)/libtool && \
18329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18331 "RANLIB=$${RANLIB}" \
18332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18333 dvi) \
18334 || exit 1
18336 @endif libtool
18338 .PHONY: maybe-html-libtool html-libtool
18339 maybe-html-libtool:
18340 @if libtool
18341 maybe-html-libtool: html-libtool
18343 html-libtool: \
18344 configure-libtool
18345 @: $(MAKE); $(unstage)
18346 @[ -f ./libtool/Makefile ] || exit 0; \
18347 r=`${PWD_COMMAND}`; export r; \
18348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18349 $(HOST_EXPORTS) \
18350 for flag in $(EXTRA_HOST_FLAGS) ; do \
18351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18352 done; \
18353 echo "Doing html in libtool" ; \
18354 (cd $(HOST_SUBDIR)/libtool && \
18355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18357 "RANLIB=$${RANLIB}" \
18358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18359 html) \
18360 || exit 1
18362 @endif libtool
18364 .PHONY: maybe-TAGS-libtool TAGS-libtool
18365 maybe-TAGS-libtool:
18366 @if libtool
18367 maybe-TAGS-libtool: TAGS-libtool
18369 TAGS-libtool: \
18370 configure-libtool
18371 @: $(MAKE); $(unstage)
18372 @[ -f ./libtool/Makefile ] || exit 0; \
18373 r=`${PWD_COMMAND}`; export r; \
18374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18375 $(HOST_EXPORTS) \
18376 for flag in $(EXTRA_HOST_FLAGS) ; do \
18377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18378 done; \
18379 echo "Doing TAGS in libtool" ; \
18380 (cd $(HOST_SUBDIR)/libtool && \
18381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18383 "RANLIB=$${RANLIB}" \
18384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18385 TAGS) \
18386 || exit 1
18388 @endif libtool
18390 .PHONY: maybe-install-info-libtool install-info-libtool
18391 maybe-install-info-libtool:
18392 @if libtool
18393 maybe-install-info-libtool: install-info-libtool
18395 install-info-libtool: \
18396 configure-libtool \
18397 info-libtool
18398 @: $(MAKE); $(unstage)
18399 @[ -f ./libtool/Makefile ] || exit 0; \
18400 r=`${PWD_COMMAND}`; export r; \
18401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18402 $(HOST_EXPORTS) \
18403 for flag in $(EXTRA_HOST_FLAGS) ; do \
18404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18405 done; \
18406 echo "Doing install-info in libtool" ; \
18407 (cd $(HOST_SUBDIR)/libtool && \
18408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18410 "RANLIB=$${RANLIB}" \
18411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18412 install-info) \
18413 || exit 1
18415 @endif libtool
18417 .PHONY: maybe-installcheck-libtool installcheck-libtool
18418 maybe-installcheck-libtool:
18419 @if libtool
18420 maybe-installcheck-libtool: installcheck-libtool
18422 installcheck-libtool: \
18423 configure-libtool
18424 @: $(MAKE); $(unstage)
18425 @[ -f ./libtool/Makefile ] || exit 0; \
18426 r=`${PWD_COMMAND}`; export r; \
18427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18428 $(HOST_EXPORTS) \
18429 for flag in $(EXTRA_HOST_FLAGS) ; do \
18430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18431 done; \
18432 echo "Doing installcheck in libtool" ; \
18433 (cd $(HOST_SUBDIR)/libtool && \
18434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18436 "RANLIB=$${RANLIB}" \
18437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18438 installcheck) \
18439 || exit 1
18441 @endif libtool
18443 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18444 maybe-mostlyclean-libtool:
18445 @if libtool
18446 maybe-mostlyclean-libtool: mostlyclean-libtool
18448 mostlyclean-libtool:
18449 @: $(MAKE); $(unstage)
18450 @[ -f ./libtool/Makefile ] || exit 0; \
18451 r=`${PWD_COMMAND}`; export r; \
18452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18453 $(HOST_EXPORTS) \
18454 for flag in $(EXTRA_HOST_FLAGS) ; do \
18455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18456 done; \
18457 echo "Doing mostlyclean in libtool" ; \
18458 (cd $(HOST_SUBDIR)/libtool && \
18459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18461 "RANLIB=$${RANLIB}" \
18462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18463 mostlyclean) \
18464 || exit 1
18466 @endif libtool
18468 .PHONY: maybe-clean-libtool clean-libtool
18469 maybe-clean-libtool:
18470 @if libtool
18471 maybe-clean-libtool: clean-libtool
18473 clean-libtool:
18474 @: $(MAKE); $(unstage)
18475 @[ -f ./libtool/Makefile ] || exit 0; \
18476 r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18478 $(HOST_EXPORTS) \
18479 for flag in $(EXTRA_HOST_FLAGS) ; do \
18480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18481 done; \
18482 echo "Doing clean in libtool" ; \
18483 (cd $(HOST_SUBDIR)/libtool && \
18484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18486 "RANLIB=$${RANLIB}" \
18487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18488 clean) \
18489 || exit 1
18491 @endif libtool
18493 .PHONY: maybe-distclean-libtool distclean-libtool
18494 maybe-distclean-libtool:
18495 @if libtool
18496 maybe-distclean-libtool: distclean-libtool
18498 distclean-libtool:
18499 @: $(MAKE); $(unstage)
18500 @[ -f ./libtool/Makefile ] || exit 0; \
18501 r=`${PWD_COMMAND}`; export r; \
18502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18503 $(HOST_EXPORTS) \
18504 for flag in $(EXTRA_HOST_FLAGS) ; do \
18505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18506 done; \
18507 echo "Doing distclean in libtool" ; \
18508 (cd $(HOST_SUBDIR)/libtool && \
18509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18511 "RANLIB=$${RANLIB}" \
18512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18513 distclean) \
18514 || exit 1
18516 @endif libtool
18518 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18519 maybe-maintainer-clean-libtool:
18520 @if libtool
18521 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18523 maintainer-clean-libtool:
18524 @: $(MAKE); $(unstage)
18525 @[ -f ./libtool/Makefile ] || exit 0; \
18526 r=`${PWD_COMMAND}`; export r; \
18527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18528 $(HOST_EXPORTS) \
18529 for flag in $(EXTRA_HOST_FLAGS) ; do \
18530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18531 done; \
18532 echo "Doing maintainer-clean in libtool" ; \
18533 (cd $(HOST_SUBDIR)/libtool && \
18534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18536 "RANLIB=$${RANLIB}" \
18537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18538 maintainer-clean) \
18539 || exit 1
18541 @endif libtool
18545 .PHONY: configure-m4 maybe-configure-m4
18546 maybe-configure-m4:
18547 @if m4
18548 maybe-configure-m4: configure-m4
18549 configure-m4:
18550 @: $(MAKE); $(unstage)
18551 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18553 r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555 $(HOST_EXPORTS) \
18556 echo Configuring in $(HOST_SUBDIR)/m4; \
18557 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18558 case $(srcdir) in \
18559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18560 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18562 esac; \
18563 srcdiroption="--srcdir=$${topdir}/m4"; \
18564 libsrcdir="$$s/m4"; \
18565 $(SHELL) $${libsrcdir}/configure \
18566 $(HOST_CONFIGARGS) $${srcdiroption} \
18567 || exit 1
18568 @endif m4
18574 .PHONY: all-m4 maybe-all-m4
18575 maybe-all-m4:
18576 @if m4
18577 TARGET-m4=all
18578 maybe-all-m4: all-m4
18579 all-m4: configure-m4
18580 @: $(MAKE); $(unstage)
18581 @r=`${PWD_COMMAND}`; export r; \
18582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18583 $(HOST_EXPORTS) \
18584 (cd $(HOST_SUBDIR)/m4 && \
18585 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18586 @endif m4
18591 .PHONY: check-m4 maybe-check-m4
18592 maybe-check-m4:
18593 @if m4
18594 maybe-check-m4: check-m4
18596 check-m4:
18597 @: $(MAKE); $(unstage)
18598 @r=`${PWD_COMMAND}`; export r; \
18599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18600 $(HOST_EXPORTS) \
18601 (cd $(HOST_SUBDIR)/m4 && \
18602 $(MAKE) $(FLAGS_TO_PASS) check)
18604 @endif m4
18606 .PHONY: install-m4 maybe-install-m4
18607 maybe-install-m4:
18608 @if m4
18609 maybe-install-m4: install-m4
18611 install-m4: installdirs
18612 @: $(MAKE); $(unstage)
18613 @r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(HOST_EXPORTS) \
18616 (cd $(HOST_SUBDIR)/m4 && \
18617 $(MAKE) $(FLAGS_TO_PASS) install)
18619 @endif m4
18621 # Other targets (info, dvi, etc.)
18623 .PHONY: maybe-info-m4 info-m4
18624 maybe-info-m4:
18625 @if m4
18626 maybe-info-m4: info-m4
18628 info-m4: \
18629 configure-m4
18630 @: $(MAKE); $(unstage)
18631 @[ -f ./m4/Makefile ] || exit 0; \
18632 r=`${PWD_COMMAND}`; export r; \
18633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 $(HOST_EXPORTS) \
18635 for flag in $(EXTRA_HOST_FLAGS) ; do \
18636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18637 done; \
18638 echo "Doing info in m4" ; \
18639 (cd $(HOST_SUBDIR)/m4 && \
18640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18642 "RANLIB=$${RANLIB}" \
18643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18644 info) \
18645 || exit 1
18647 @endif m4
18649 .PHONY: maybe-dvi-m4 dvi-m4
18650 maybe-dvi-m4:
18651 @if m4
18652 maybe-dvi-m4: dvi-m4
18654 dvi-m4: \
18655 configure-m4
18656 @: $(MAKE); $(unstage)
18657 @[ -f ./m4/Makefile ] || exit 0; \
18658 r=`${PWD_COMMAND}`; export r; \
18659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18660 $(HOST_EXPORTS) \
18661 for flag in $(EXTRA_HOST_FLAGS) ; do \
18662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18663 done; \
18664 echo "Doing dvi in m4" ; \
18665 (cd $(HOST_SUBDIR)/m4 && \
18666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18668 "RANLIB=$${RANLIB}" \
18669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18670 dvi) \
18671 || exit 1
18673 @endif m4
18675 .PHONY: maybe-html-m4 html-m4
18676 maybe-html-m4:
18677 @if m4
18678 maybe-html-m4: html-m4
18680 html-m4: \
18681 configure-m4
18682 @: $(MAKE); $(unstage)
18683 @[ -f ./m4/Makefile ] || exit 0; \
18684 r=`${PWD_COMMAND}`; export r; \
18685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18686 $(HOST_EXPORTS) \
18687 for flag in $(EXTRA_HOST_FLAGS) ; do \
18688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18689 done; \
18690 echo "Doing html in m4" ; \
18691 (cd $(HOST_SUBDIR)/m4 && \
18692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18694 "RANLIB=$${RANLIB}" \
18695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18696 html) \
18697 || exit 1
18699 @endif m4
18701 .PHONY: maybe-TAGS-m4 TAGS-m4
18702 maybe-TAGS-m4:
18703 @if m4
18704 maybe-TAGS-m4: TAGS-m4
18706 TAGS-m4: \
18707 configure-m4
18708 @: $(MAKE); $(unstage)
18709 @[ -f ./m4/Makefile ] || exit 0; \
18710 r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) \
18713 for flag in $(EXTRA_HOST_FLAGS) ; do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18715 done; \
18716 echo "Doing TAGS in m4" ; \
18717 (cd $(HOST_SUBDIR)/m4 && \
18718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720 "RANLIB=$${RANLIB}" \
18721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18722 TAGS) \
18723 || exit 1
18725 @endif m4
18727 .PHONY: maybe-install-info-m4 install-info-m4
18728 maybe-install-info-m4:
18729 @if m4
18730 maybe-install-info-m4: install-info-m4
18732 install-info-m4: \
18733 configure-m4 \
18734 info-m4
18735 @: $(MAKE); $(unstage)
18736 @[ -f ./m4/Makefile ] || exit 0; \
18737 r=`${PWD_COMMAND}`; export r; \
18738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18739 $(HOST_EXPORTS) \
18740 for flag in $(EXTRA_HOST_FLAGS) ; do \
18741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18742 done; \
18743 echo "Doing install-info in m4" ; \
18744 (cd $(HOST_SUBDIR)/m4 && \
18745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18747 "RANLIB=$${RANLIB}" \
18748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18749 install-info) \
18750 || exit 1
18752 @endif m4
18754 .PHONY: maybe-installcheck-m4 installcheck-m4
18755 maybe-installcheck-m4:
18756 @if m4
18757 maybe-installcheck-m4: installcheck-m4
18759 installcheck-m4: \
18760 configure-m4
18761 @: $(MAKE); $(unstage)
18762 @[ -f ./m4/Makefile ] || exit 0; \
18763 r=`${PWD_COMMAND}`; export r; \
18764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18765 $(HOST_EXPORTS) \
18766 for flag in $(EXTRA_HOST_FLAGS) ; do \
18767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18768 done; \
18769 echo "Doing installcheck in m4" ; \
18770 (cd $(HOST_SUBDIR)/m4 && \
18771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18773 "RANLIB=$${RANLIB}" \
18774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18775 installcheck) \
18776 || exit 1
18778 @endif m4
18780 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18781 maybe-mostlyclean-m4:
18782 @if m4
18783 maybe-mostlyclean-m4: mostlyclean-m4
18785 mostlyclean-m4:
18786 @: $(MAKE); $(unstage)
18787 @[ -f ./m4/Makefile ] || exit 0; \
18788 r=`${PWD_COMMAND}`; export r; \
18789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18790 $(HOST_EXPORTS) \
18791 for flag in $(EXTRA_HOST_FLAGS) ; do \
18792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18793 done; \
18794 echo "Doing mostlyclean in m4" ; \
18795 (cd $(HOST_SUBDIR)/m4 && \
18796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18798 "RANLIB=$${RANLIB}" \
18799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18800 mostlyclean) \
18801 || exit 1
18803 @endif m4
18805 .PHONY: maybe-clean-m4 clean-m4
18806 maybe-clean-m4:
18807 @if m4
18808 maybe-clean-m4: clean-m4
18810 clean-m4:
18811 @: $(MAKE); $(unstage)
18812 @[ -f ./m4/Makefile ] || exit 0; \
18813 r=`${PWD_COMMAND}`; export r; \
18814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18815 $(HOST_EXPORTS) \
18816 for flag in $(EXTRA_HOST_FLAGS) ; do \
18817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18818 done; \
18819 echo "Doing clean in m4" ; \
18820 (cd $(HOST_SUBDIR)/m4 && \
18821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18823 "RANLIB=$${RANLIB}" \
18824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18825 clean) \
18826 || exit 1
18828 @endif m4
18830 .PHONY: maybe-distclean-m4 distclean-m4
18831 maybe-distclean-m4:
18832 @if m4
18833 maybe-distclean-m4: distclean-m4
18835 distclean-m4:
18836 @: $(MAKE); $(unstage)
18837 @[ -f ./m4/Makefile ] || exit 0; \
18838 r=`${PWD_COMMAND}`; export r; \
18839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18840 $(HOST_EXPORTS) \
18841 for flag in $(EXTRA_HOST_FLAGS) ; do \
18842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18843 done; \
18844 echo "Doing distclean in m4" ; \
18845 (cd $(HOST_SUBDIR)/m4 && \
18846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18848 "RANLIB=$${RANLIB}" \
18849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18850 distclean) \
18851 || exit 1
18853 @endif m4
18855 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18856 maybe-maintainer-clean-m4:
18857 @if m4
18858 maybe-maintainer-clean-m4: maintainer-clean-m4
18860 maintainer-clean-m4:
18861 @: $(MAKE); $(unstage)
18862 @[ -f ./m4/Makefile ] || exit 0; \
18863 r=`${PWD_COMMAND}`; export r; \
18864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18865 $(HOST_EXPORTS) \
18866 for flag in $(EXTRA_HOST_FLAGS) ; do \
18867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18868 done; \
18869 echo "Doing maintainer-clean in m4" ; \
18870 (cd $(HOST_SUBDIR)/m4 && \
18871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18873 "RANLIB=$${RANLIB}" \
18874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18875 maintainer-clean) \
18876 || exit 1
18878 @endif m4
18882 .PHONY: configure-make maybe-configure-make
18883 maybe-configure-make:
18884 @if make
18885 maybe-configure-make: configure-make
18886 configure-make:
18887 @: $(MAKE); $(unstage)
18888 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18890 r=`${PWD_COMMAND}`; export r; \
18891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18892 $(HOST_EXPORTS) \
18893 echo Configuring in $(HOST_SUBDIR)/make; \
18894 cd "$(HOST_SUBDIR)/make" || exit 1; \
18895 case $(srcdir) in \
18896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18897 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18899 esac; \
18900 srcdiroption="--srcdir=$${topdir}/make"; \
18901 libsrcdir="$$s/make"; \
18902 $(SHELL) $${libsrcdir}/configure \
18903 $(HOST_CONFIGARGS) $${srcdiroption} \
18904 || exit 1
18905 @endif make
18911 .PHONY: all-make maybe-all-make
18912 maybe-all-make:
18913 @if make
18914 TARGET-make=all
18915 maybe-all-make: all-make
18916 all-make: configure-make
18917 @: $(MAKE); $(unstage)
18918 @r=`${PWD_COMMAND}`; export r; \
18919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 $(HOST_EXPORTS) \
18921 (cd $(HOST_SUBDIR)/make && \
18922 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18923 @endif make
18928 .PHONY: check-make maybe-check-make
18929 maybe-check-make:
18930 @if make
18931 maybe-check-make: check-make
18933 check-make:
18934 @: $(MAKE); $(unstage)
18935 @r=`${PWD_COMMAND}`; export r; \
18936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18937 $(HOST_EXPORTS) \
18938 (cd $(HOST_SUBDIR)/make && \
18939 $(MAKE) $(FLAGS_TO_PASS) check)
18941 @endif make
18943 .PHONY: install-make maybe-install-make
18944 maybe-install-make:
18945 @if make
18946 maybe-install-make: install-make
18948 install-make: installdirs
18949 @: $(MAKE); $(unstage)
18950 @r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952 $(HOST_EXPORTS) \
18953 (cd $(HOST_SUBDIR)/make && \
18954 $(MAKE) $(FLAGS_TO_PASS) install)
18956 @endif make
18958 # Other targets (info, dvi, etc.)
18960 .PHONY: maybe-info-make info-make
18961 maybe-info-make:
18962 @if make
18963 maybe-info-make: info-make
18965 info-make: \
18966 configure-make
18967 @: $(MAKE); $(unstage)
18968 @[ -f ./make/Makefile ] || exit 0; \
18969 r=`${PWD_COMMAND}`; export r; \
18970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18971 $(HOST_EXPORTS) \
18972 for flag in $(EXTRA_HOST_FLAGS) ; do \
18973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18974 done; \
18975 echo "Doing info in make" ; \
18976 (cd $(HOST_SUBDIR)/make && \
18977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18979 "RANLIB=$${RANLIB}" \
18980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18981 info) \
18982 || exit 1
18984 @endif make
18986 .PHONY: maybe-dvi-make dvi-make
18987 maybe-dvi-make:
18988 @if make
18989 maybe-dvi-make: dvi-make
18991 dvi-make: \
18992 configure-make
18993 @: $(MAKE); $(unstage)
18994 @[ -f ./make/Makefile ] || exit 0; \
18995 r=`${PWD_COMMAND}`; export r; \
18996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18997 $(HOST_EXPORTS) \
18998 for flag in $(EXTRA_HOST_FLAGS) ; do \
18999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19000 done; \
19001 echo "Doing dvi in make" ; \
19002 (cd $(HOST_SUBDIR)/make && \
19003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19005 "RANLIB=$${RANLIB}" \
19006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19007 dvi) \
19008 || exit 1
19010 @endif make
19012 .PHONY: maybe-html-make html-make
19013 maybe-html-make:
19014 @if make
19015 maybe-html-make: html-make
19017 html-make: \
19018 configure-make
19019 @: $(MAKE); $(unstage)
19020 @[ -f ./make/Makefile ] || exit 0; \
19021 r=`${PWD_COMMAND}`; export r; \
19022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19023 $(HOST_EXPORTS) \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 done; \
19027 echo "Doing html in make" ; \
19028 (cd $(HOST_SUBDIR)/make && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19033 html) \
19034 || exit 1
19036 @endif make
19038 .PHONY: maybe-TAGS-make TAGS-make
19039 maybe-TAGS-make:
19040 @if make
19041 maybe-TAGS-make: TAGS-make
19043 TAGS-make: \
19044 configure-make
19045 @: $(MAKE); $(unstage)
19046 @[ -f ./make/Makefile ] || exit 0; \
19047 r=`${PWD_COMMAND}`; export r; \
19048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19049 $(HOST_EXPORTS) \
19050 for flag in $(EXTRA_HOST_FLAGS) ; do \
19051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19052 done; \
19053 echo "Doing TAGS in make" ; \
19054 (cd $(HOST_SUBDIR)/make && \
19055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19057 "RANLIB=$${RANLIB}" \
19058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19059 TAGS) \
19060 || exit 1
19062 @endif make
19064 .PHONY: maybe-install-info-make install-info-make
19065 maybe-install-info-make:
19066 @if make
19067 maybe-install-info-make: install-info-make
19069 install-info-make: \
19070 configure-make \
19071 info-make
19072 @: $(MAKE); $(unstage)
19073 @[ -f ./make/Makefile ] || exit 0; \
19074 r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 $(HOST_EXPORTS) \
19077 for flag in $(EXTRA_HOST_FLAGS) ; do \
19078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19079 done; \
19080 echo "Doing install-info in make" ; \
19081 (cd $(HOST_SUBDIR)/make && \
19082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19084 "RANLIB=$${RANLIB}" \
19085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19086 install-info) \
19087 || exit 1
19089 @endif make
19091 .PHONY: maybe-installcheck-make installcheck-make
19092 maybe-installcheck-make:
19093 @if make
19094 maybe-installcheck-make: installcheck-make
19096 installcheck-make: \
19097 configure-make
19098 @: $(MAKE); $(unstage)
19099 @[ -f ./make/Makefile ] || exit 0; \
19100 r=`${PWD_COMMAND}`; export r; \
19101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19102 $(HOST_EXPORTS) \
19103 for flag in $(EXTRA_HOST_FLAGS) ; do \
19104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19105 done; \
19106 echo "Doing installcheck in make" ; \
19107 (cd $(HOST_SUBDIR)/make && \
19108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19110 "RANLIB=$${RANLIB}" \
19111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19112 installcheck) \
19113 || exit 1
19115 @endif make
19117 .PHONY: maybe-mostlyclean-make mostlyclean-make
19118 maybe-mostlyclean-make:
19119 @if make
19120 maybe-mostlyclean-make: mostlyclean-make
19122 mostlyclean-make:
19123 @: $(MAKE); $(unstage)
19124 @[ -f ./make/Makefile ] || exit 0; \
19125 r=`${PWD_COMMAND}`; export r; \
19126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19127 $(HOST_EXPORTS) \
19128 for flag in $(EXTRA_HOST_FLAGS) ; do \
19129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19130 done; \
19131 echo "Doing mostlyclean in make" ; \
19132 (cd $(HOST_SUBDIR)/make && \
19133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19135 "RANLIB=$${RANLIB}" \
19136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19137 mostlyclean) \
19138 || exit 1
19140 @endif make
19142 .PHONY: maybe-clean-make clean-make
19143 maybe-clean-make:
19144 @if make
19145 maybe-clean-make: clean-make
19147 clean-make:
19148 @: $(MAKE); $(unstage)
19149 @[ -f ./make/Makefile ] || exit 0; \
19150 r=`${PWD_COMMAND}`; export r; \
19151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19152 $(HOST_EXPORTS) \
19153 for flag in $(EXTRA_HOST_FLAGS) ; do \
19154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19155 done; \
19156 echo "Doing clean in make" ; \
19157 (cd $(HOST_SUBDIR)/make && \
19158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19160 "RANLIB=$${RANLIB}" \
19161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19162 clean) \
19163 || exit 1
19165 @endif make
19167 .PHONY: maybe-distclean-make distclean-make
19168 maybe-distclean-make:
19169 @if make
19170 maybe-distclean-make: distclean-make
19172 distclean-make:
19173 @: $(MAKE); $(unstage)
19174 @[ -f ./make/Makefile ] || exit 0; \
19175 r=`${PWD_COMMAND}`; export r; \
19176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19177 $(HOST_EXPORTS) \
19178 for flag in $(EXTRA_HOST_FLAGS) ; do \
19179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19180 done; \
19181 echo "Doing distclean in make" ; \
19182 (cd $(HOST_SUBDIR)/make && \
19183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19185 "RANLIB=$${RANLIB}" \
19186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19187 distclean) \
19188 || exit 1
19190 @endif make
19192 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19193 maybe-maintainer-clean-make:
19194 @if make
19195 maybe-maintainer-clean-make: maintainer-clean-make
19197 maintainer-clean-make:
19198 @: $(MAKE); $(unstage)
19199 @[ -f ./make/Makefile ] || exit 0; \
19200 r=`${PWD_COMMAND}`; export r; \
19201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 $(HOST_EXPORTS) \
19203 for flag in $(EXTRA_HOST_FLAGS) ; do \
19204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19205 done; \
19206 echo "Doing maintainer-clean in make" ; \
19207 (cd $(HOST_SUBDIR)/make && \
19208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19210 "RANLIB=$${RANLIB}" \
19211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19212 maintainer-clean) \
19213 || exit 1
19215 @endif make
19219 .PHONY: configure-mmalloc maybe-configure-mmalloc
19220 maybe-configure-mmalloc:
19221 @if mmalloc
19222 maybe-configure-mmalloc: configure-mmalloc
19223 configure-mmalloc:
19224 @: $(MAKE); $(unstage)
19225 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19227 r=`${PWD_COMMAND}`; export r; \
19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 $(HOST_EXPORTS) \
19230 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19231 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19232 case $(srcdir) in \
19233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19234 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19236 esac; \
19237 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19238 libsrcdir="$$s/mmalloc"; \
19239 $(SHELL) $${libsrcdir}/configure \
19240 $(HOST_CONFIGARGS) $${srcdiroption} \
19241 || exit 1
19242 @endif mmalloc
19248 .PHONY: all-mmalloc maybe-all-mmalloc
19249 maybe-all-mmalloc:
19250 @if mmalloc
19251 TARGET-mmalloc=all
19252 maybe-all-mmalloc: all-mmalloc
19253 all-mmalloc: configure-mmalloc
19254 @: $(MAKE); $(unstage)
19255 @r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(HOST_EXPORTS) \
19258 (cd $(HOST_SUBDIR)/mmalloc && \
19259 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19260 @endif mmalloc
19265 .PHONY: check-mmalloc maybe-check-mmalloc
19266 maybe-check-mmalloc:
19267 @if mmalloc
19268 maybe-check-mmalloc: check-mmalloc
19270 check-mmalloc:
19272 @endif mmalloc
19274 .PHONY: install-mmalloc maybe-install-mmalloc
19275 maybe-install-mmalloc:
19276 @if mmalloc
19277 maybe-install-mmalloc: install-mmalloc
19279 install-mmalloc: installdirs
19280 @: $(MAKE); $(unstage)
19281 @r=`${PWD_COMMAND}`; export r; \
19282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19283 $(HOST_EXPORTS) \
19284 (cd $(HOST_SUBDIR)/mmalloc && \
19285 $(MAKE) $(FLAGS_TO_PASS) install)
19287 @endif mmalloc
19289 # Other targets (info, dvi, etc.)
19291 .PHONY: maybe-info-mmalloc info-mmalloc
19292 maybe-info-mmalloc:
19293 @if mmalloc
19294 maybe-info-mmalloc: info-mmalloc
19296 info-mmalloc: \
19297 configure-mmalloc
19298 @: $(MAKE); $(unstage)
19299 @[ -f ./mmalloc/Makefile ] || exit 0; \
19300 r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19302 $(HOST_EXPORTS) \
19303 for flag in $(EXTRA_HOST_FLAGS) ; do \
19304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19305 done; \
19306 echo "Doing info in mmalloc" ; \
19307 (cd $(HOST_SUBDIR)/mmalloc && \
19308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19310 "RANLIB=$${RANLIB}" \
19311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19312 info) \
19313 || exit 1
19315 @endif mmalloc
19317 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19318 maybe-dvi-mmalloc:
19319 @if mmalloc
19320 maybe-dvi-mmalloc: dvi-mmalloc
19322 dvi-mmalloc: \
19323 configure-mmalloc
19324 @: $(MAKE); $(unstage)
19325 @[ -f ./mmalloc/Makefile ] || exit 0; \
19326 r=`${PWD_COMMAND}`; export r; \
19327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19328 $(HOST_EXPORTS) \
19329 for flag in $(EXTRA_HOST_FLAGS) ; do \
19330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19331 done; \
19332 echo "Doing dvi in mmalloc" ; \
19333 (cd $(HOST_SUBDIR)/mmalloc && \
19334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19336 "RANLIB=$${RANLIB}" \
19337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19338 dvi) \
19339 || exit 1
19341 @endif mmalloc
19343 .PHONY: maybe-html-mmalloc html-mmalloc
19344 maybe-html-mmalloc:
19345 @if mmalloc
19346 maybe-html-mmalloc: html-mmalloc
19348 html-mmalloc: \
19349 configure-mmalloc
19350 @: $(MAKE); $(unstage)
19351 @[ -f ./mmalloc/Makefile ] || exit 0; \
19352 r=`${PWD_COMMAND}`; export r; \
19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354 $(HOST_EXPORTS) \
19355 for flag in $(EXTRA_HOST_FLAGS) ; do \
19356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19357 done; \
19358 echo "Doing html in mmalloc" ; \
19359 (cd $(HOST_SUBDIR)/mmalloc && \
19360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19362 "RANLIB=$${RANLIB}" \
19363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19364 html) \
19365 || exit 1
19367 @endif mmalloc
19369 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19370 maybe-TAGS-mmalloc:
19371 @if mmalloc
19372 maybe-TAGS-mmalloc: TAGS-mmalloc
19374 TAGS-mmalloc: \
19375 configure-mmalloc
19376 @: $(MAKE); $(unstage)
19377 @[ -f ./mmalloc/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(HOST_EXPORTS) \
19381 for flag in $(EXTRA_HOST_FLAGS) ; do \
19382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19383 done; \
19384 echo "Doing TAGS in mmalloc" ; \
19385 (cd $(HOST_SUBDIR)/mmalloc && \
19386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19388 "RANLIB=$${RANLIB}" \
19389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19390 TAGS) \
19391 || exit 1
19393 @endif mmalloc
19395 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19396 maybe-install-info-mmalloc:
19397 @if mmalloc
19398 maybe-install-info-mmalloc: install-info-mmalloc
19400 install-info-mmalloc: \
19401 configure-mmalloc \
19402 info-mmalloc
19403 @: $(MAKE); $(unstage)
19404 @[ -f ./mmalloc/Makefile ] || exit 0; \
19405 r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(HOST_EXPORTS) \
19408 for flag in $(EXTRA_HOST_FLAGS) ; do \
19409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19410 done; \
19411 echo "Doing install-info in mmalloc" ; \
19412 (cd $(HOST_SUBDIR)/mmalloc && \
19413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19415 "RANLIB=$${RANLIB}" \
19416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19417 install-info) \
19418 || exit 1
19420 @endif mmalloc
19422 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19423 maybe-installcheck-mmalloc:
19424 @if mmalloc
19425 maybe-installcheck-mmalloc: installcheck-mmalloc
19427 installcheck-mmalloc: \
19428 configure-mmalloc
19429 @: $(MAKE); $(unstage)
19430 @[ -f ./mmalloc/Makefile ] || exit 0; \
19431 r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(HOST_EXPORTS) \
19434 for flag in $(EXTRA_HOST_FLAGS) ; do \
19435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19436 done; \
19437 echo "Doing installcheck in mmalloc" ; \
19438 (cd $(HOST_SUBDIR)/mmalloc && \
19439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19441 "RANLIB=$${RANLIB}" \
19442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19443 installcheck) \
19444 || exit 1
19446 @endif mmalloc
19448 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19449 maybe-mostlyclean-mmalloc:
19450 @if mmalloc
19451 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19453 mostlyclean-mmalloc:
19454 @: $(MAKE); $(unstage)
19455 @[ -f ./mmalloc/Makefile ] || exit 0; \
19456 r=`${PWD_COMMAND}`; export r; \
19457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19458 $(HOST_EXPORTS) \
19459 for flag in $(EXTRA_HOST_FLAGS) ; do \
19460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19461 done; \
19462 echo "Doing mostlyclean in mmalloc" ; \
19463 (cd $(HOST_SUBDIR)/mmalloc && \
19464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19466 "RANLIB=$${RANLIB}" \
19467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19468 mostlyclean) \
19469 || exit 1
19471 @endif mmalloc
19473 .PHONY: maybe-clean-mmalloc clean-mmalloc
19474 maybe-clean-mmalloc:
19475 @if mmalloc
19476 maybe-clean-mmalloc: clean-mmalloc
19478 clean-mmalloc:
19479 @: $(MAKE); $(unstage)
19480 @[ -f ./mmalloc/Makefile ] || exit 0; \
19481 r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19483 $(HOST_EXPORTS) \
19484 for flag in $(EXTRA_HOST_FLAGS) ; do \
19485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19486 done; \
19487 echo "Doing clean in mmalloc" ; \
19488 (cd $(HOST_SUBDIR)/mmalloc && \
19489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19491 "RANLIB=$${RANLIB}" \
19492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19493 clean) \
19494 || exit 1
19496 @endif mmalloc
19498 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19499 maybe-distclean-mmalloc:
19500 @if mmalloc
19501 maybe-distclean-mmalloc: distclean-mmalloc
19503 distclean-mmalloc:
19504 @: $(MAKE); $(unstage)
19505 @[ -f ./mmalloc/Makefile ] || exit 0; \
19506 r=`${PWD_COMMAND}`; export r; \
19507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19508 $(HOST_EXPORTS) \
19509 for flag in $(EXTRA_HOST_FLAGS) ; do \
19510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19511 done; \
19512 echo "Doing distclean in mmalloc" ; \
19513 (cd $(HOST_SUBDIR)/mmalloc && \
19514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19516 "RANLIB=$${RANLIB}" \
19517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19518 distclean) \
19519 || exit 1
19521 @endif mmalloc
19523 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19524 maybe-maintainer-clean-mmalloc:
19525 @if mmalloc
19526 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19528 maintainer-clean-mmalloc:
19529 @: $(MAKE); $(unstage)
19530 @[ -f ./mmalloc/Makefile ] || exit 0; \
19531 r=`${PWD_COMMAND}`; export r; \
19532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19533 $(HOST_EXPORTS) \
19534 for flag in $(EXTRA_HOST_FLAGS) ; do \
19535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19536 done; \
19537 echo "Doing maintainer-clean in mmalloc" ; \
19538 (cd $(HOST_SUBDIR)/mmalloc && \
19539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19541 "RANLIB=$${RANLIB}" \
19542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19543 maintainer-clean) \
19544 || exit 1
19546 @endif mmalloc
19550 .PHONY: configure-patch maybe-configure-patch
19551 maybe-configure-patch:
19552 @if patch
19553 maybe-configure-patch: configure-patch
19554 configure-patch:
19555 @: $(MAKE); $(unstage)
19556 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19558 r=`${PWD_COMMAND}`; export r; \
19559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19560 $(HOST_EXPORTS) \
19561 echo Configuring in $(HOST_SUBDIR)/patch; \
19562 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19563 case $(srcdir) in \
19564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19565 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19567 esac; \
19568 srcdiroption="--srcdir=$${topdir}/patch"; \
19569 libsrcdir="$$s/patch"; \
19570 $(SHELL) $${libsrcdir}/configure \
19571 $(HOST_CONFIGARGS) $${srcdiroption} \
19572 || exit 1
19573 @endif patch
19579 .PHONY: all-patch maybe-all-patch
19580 maybe-all-patch:
19581 @if patch
19582 TARGET-patch=all
19583 maybe-all-patch: all-patch
19584 all-patch: configure-patch
19585 @: $(MAKE); $(unstage)
19586 @r=`${PWD_COMMAND}`; export r; \
19587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19588 $(HOST_EXPORTS) \
19589 (cd $(HOST_SUBDIR)/patch && \
19590 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19591 @endif patch
19596 .PHONY: check-patch maybe-check-patch
19597 maybe-check-patch:
19598 @if patch
19599 maybe-check-patch: check-patch
19601 check-patch:
19602 @: $(MAKE); $(unstage)
19603 @r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 $(HOST_EXPORTS) \
19606 (cd $(HOST_SUBDIR)/patch && \
19607 $(MAKE) $(FLAGS_TO_PASS) check)
19609 @endif patch
19611 .PHONY: install-patch maybe-install-patch
19612 maybe-install-patch:
19613 @if patch
19614 maybe-install-patch: install-patch
19616 install-patch: installdirs
19617 @: $(MAKE); $(unstage)
19618 @r=`${PWD_COMMAND}`; export r; \
19619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19620 $(HOST_EXPORTS) \
19621 (cd $(HOST_SUBDIR)/patch && \
19622 $(MAKE) $(FLAGS_TO_PASS) install)
19624 @endif patch
19626 # Other targets (info, dvi, etc.)
19628 .PHONY: maybe-info-patch info-patch
19629 maybe-info-patch:
19630 @if patch
19631 maybe-info-patch: info-patch
19633 info-patch: \
19634 configure-patch
19635 @: $(MAKE); $(unstage)
19636 @[ -f ./patch/Makefile ] || exit 0; \
19637 r=`${PWD_COMMAND}`; export r; \
19638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 $(HOST_EXPORTS) \
19640 for flag in $(EXTRA_HOST_FLAGS) ; do \
19641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19642 done; \
19643 echo "Doing info in patch" ; \
19644 (cd $(HOST_SUBDIR)/patch && \
19645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19647 "RANLIB=$${RANLIB}" \
19648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19649 info) \
19650 || exit 1
19652 @endif patch
19654 .PHONY: maybe-dvi-patch dvi-patch
19655 maybe-dvi-patch:
19656 @if patch
19657 maybe-dvi-patch: dvi-patch
19659 dvi-patch: \
19660 configure-patch
19661 @: $(MAKE); $(unstage)
19662 @[ -f ./patch/Makefile ] || exit 0; \
19663 r=`${PWD_COMMAND}`; export r; \
19664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19665 $(HOST_EXPORTS) \
19666 for flag in $(EXTRA_HOST_FLAGS) ; do \
19667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19668 done; \
19669 echo "Doing dvi in patch" ; \
19670 (cd $(HOST_SUBDIR)/patch && \
19671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19673 "RANLIB=$${RANLIB}" \
19674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19675 dvi) \
19676 || exit 1
19678 @endif patch
19680 .PHONY: maybe-html-patch html-patch
19681 maybe-html-patch:
19682 @if patch
19683 maybe-html-patch: html-patch
19685 html-patch: \
19686 configure-patch
19687 @: $(MAKE); $(unstage)
19688 @[ -f ./patch/Makefile ] || exit 0; \
19689 r=`${PWD_COMMAND}`; export r; \
19690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19691 $(HOST_EXPORTS) \
19692 for flag in $(EXTRA_HOST_FLAGS) ; do \
19693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19694 done; \
19695 echo "Doing html in patch" ; \
19696 (cd $(HOST_SUBDIR)/patch && \
19697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699 "RANLIB=$${RANLIB}" \
19700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19701 html) \
19702 || exit 1
19704 @endif patch
19706 .PHONY: maybe-TAGS-patch TAGS-patch
19707 maybe-TAGS-patch:
19708 @if patch
19709 maybe-TAGS-patch: TAGS-patch
19711 TAGS-patch: \
19712 configure-patch
19713 @: $(MAKE); $(unstage)
19714 @[ -f ./patch/Makefile ] || exit 0; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717 $(HOST_EXPORTS) \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19720 done; \
19721 echo "Doing TAGS in patch" ; \
19722 (cd $(HOST_SUBDIR)/patch && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19727 TAGS) \
19728 || exit 1
19730 @endif patch
19732 .PHONY: maybe-install-info-patch install-info-patch
19733 maybe-install-info-patch:
19734 @if patch
19735 maybe-install-info-patch: install-info-patch
19737 install-info-patch: \
19738 configure-patch \
19739 info-patch
19740 @: $(MAKE); $(unstage)
19741 @[ -f ./patch/Makefile ] || exit 0; \
19742 r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 $(HOST_EXPORTS) \
19745 for flag in $(EXTRA_HOST_FLAGS) ; do \
19746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19747 done; \
19748 echo "Doing install-info in patch" ; \
19749 (cd $(HOST_SUBDIR)/patch && \
19750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19752 "RANLIB=$${RANLIB}" \
19753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19754 install-info) \
19755 || exit 1
19757 @endif patch
19759 .PHONY: maybe-installcheck-patch installcheck-patch
19760 maybe-installcheck-patch:
19761 @if patch
19762 maybe-installcheck-patch: installcheck-patch
19764 installcheck-patch: \
19765 configure-patch
19766 @: $(MAKE); $(unstage)
19767 @[ -f ./patch/Makefile ] || exit 0; \
19768 r=`${PWD_COMMAND}`; export r; \
19769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 $(HOST_EXPORTS) \
19771 for flag in $(EXTRA_HOST_FLAGS) ; do \
19772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19773 done; \
19774 echo "Doing installcheck in patch" ; \
19775 (cd $(HOST_SUBDIR)/patch && \
19776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19778 "RANLIB=$${RANLIB}" \
19779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19780 installcheck) \
19781 || exit 1
19783 @endif patch
19785 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19786 maybe-mostlyclean-patch:
19787 @if patch
19788 maybe-mostlyclean-patch: mostlyclean-patch
19790 mostlyclean-patch:
19791 @: $(MAKE); $(unstage)
19792 @[ -f ./patch/Makefile ] || exit 0; \
19793 r=`${PWD_COMMAND}`; export r; \
19794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19795 $(HOST_EXPORTS) \
19796 for flag in $(EXTRA_HOST_FLAGS) ; do \
19797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19798 done; \
19799 echo "Doing mostlyclean in patch" ; \
19800 (cd $(HOST_SUBDIR)/patch && \
19801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19803 "RANLIB=$${RANLIB}" \
19804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19805 mostlyclean) \
19806 || exit 1
19808 @endif patch
19810 .PHONY: maybe-clean-patch clean-patch
19811 maybe-clean-patch:
19812 @if patch
19813 maybe-clean-patch: clean-patch
19815 clean-patch:
19816 @: $(MAKE); $(unstage)
19817 @[ -f ./patch/Makefile ] || exit 0; \
19818 r=`${PWD_COMMAND}`; export r; \
19819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19820 $(HOST_EXPORTS) \
19821 for flag in $(EXTRA_HOST_FLAGS) ; do \
19822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19823 done; \
19824 echo "Doing clean in patch" ; \
19825 (cd $(HOST_SUBDIR)/patch && \
19826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19828 "RANLIB=$${RANLIB}" \
19829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19830 clean) \
19831 || exit 1
19833 @endif patch
19835 .PHONY: maybe-distclean-patch distclean-patch
19836 maybe-distclean-patch:
19837 @if patch
19838 maybe-distclean-patch: distclean-patch
19840 distclean-patch:
19841 @: $(MAKE); $(unstage)
19842 @[ -f ./patch/Makefile ] || exit 0; \
19843 r=`${PWD_COMMAND}`; export r; \
19844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19845 $(HOST_EXPORTS) \
19846 for flag in $(EXTRA_HOST_FLAGS) ; do \
19847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19848 done; \
19849 echo "Doing distclean in patch" ; \
19850 (cd $(HOST_SUBDIR)/patch && \
19851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19853 "RANLIB=$${RANLIB}" \
19854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19855 distclean) \
19856 || exit 1
19858 @endif patch
19860 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19861 maybe-maintainer-clean-patch:
19862 @if patch
19863 maybe-maintainer-clean-patch: maintainer-clean-patch
19865 maintainer-clean-patch:
19866 @: $(MAKE); $(unstage)
19867 @[ -f ./patch/Makefile ] || exit 0; \
19868 r=`${PWD_COMMAND}`; export r; \
19869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19870 $(HOST_EXPORTS) \
19871 for flag in $(EXTRA_HOST_FLAGS) ; do \
19872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19873 done; \
19874 echo "Doing maintainer-clean in patch" ; \
19875 (cd $(HOST_SUBDIR)/patch && \
19876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19878 "RANLIB=$${RANLIB}" \
19879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19880 maintainer-clean) \
19881 || exit 1
19883 @endif patch
19887 .PHONY: configure-perl maybe-configure-perl
19888 maybe-configure-perl:
19889 @if perl
19890 maybe-configure-perl: configure-perl
19891 configure-perl:
19892 @: $(MAKE); $(unstage)
19893 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19895 r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19897 $(HOST_EXPORTS) \
19898 echo Configuring in $(HOST_SUBDIR)/perl; \
19899 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19900 case $(srcdir) in \
19901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19902 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19904 esac; \
19905 srcdiroption="--srcdir=$${topdir}/perl"; \
19906 libsrcdir="$$s/perl"; \
19907 $(SHELL) $${libsrcdir}/configure \
19908 $(HOST_CONFIGARGS) $${srcdiroption} \
19909 || exit 1
19910 @endif perl
19916 .PHONY: all-perl maybe-all-perl
19917 maybe-all-perl:
19918 @if perl
19919 TARGET-perl=all
19920 maybe-all-perl: all-perl
19921 all-perl: configure-perl
19922 @: $(MAKE); $(unstage)
19923 @r=`${PWD_COMMAND}`; export r; \
19924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19925 $(HOST_EXPORTS) \
19926 (cd $(HOST_SUBDIR)/perl && \
19927 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19928 @endif perl
19933 .PHONY: check-perl maybe-check-perl
19934 maybe-check-perl:
19935 @if perl
19936 maybe-check-perl: check-perl
19938 check-perl:
19939 @: $(MAKE); $(unstage)
19940 @r=`${PWD_COMMAND}`; export r; \
19941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19942 $(HOST_EXPORTS) \
19943 (cd $(HOST_SUBDIR)/perl && \
19944 $(MAKE) $(FLAGS_TO_PASS) check)
19946 @endif perl
19948 .PHONY: install-perl maybe-install-perl
19949 maybe-install-perl:
19950 @if perl
19951 maybe-install-perl: install-perl
19953 install-perl: installdirs
19954 @: $(MAKE); $(unstage)
19955 @r=`${PWD_COMMAND}`; export r; \
19956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19957 $(HOST_EXPORTS) \
19958 (cd $(HOST_SUBDIR)/perl && \
19959 $(MAKE) $(FLAGS_TO_PASS) install)
19961 @endif perl
19963 # Other targets (info, dvi, etc.)
19965 .PHONY: maybe-info-perl info-perl
19966 maybe-info-perl:
19967 @if perl
19968 maybe-info-perl: info-perl
19970 info-perl: \
19971 configure-perl
19972 @: $(MAKE); $(unstage)
19973 @[ -f ./perl/Makefile ] || exit 0; \
19974 r=`${PWD_COMMAND}`; export r; \
19975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19976 $(HOST_EXPORTS) \
19977 for flag in $(EXTRA_HOST_FLAGS) ; do \
19978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19979 done; \
19980 echo "Doing info in perl" ; \
19981 (cd $(HOST_SUBDIR)/perl && \
19982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19984 "RANLIB=$${RANLIB}" \
19985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19986 info) \
19987 || exit 1
19989 @endif perl
19991 .PHONY: maybe-dvi-perl dvi-perl
19992 maybe-dvi-perl:
19993 @if perl
19994 maybe-dvi-perl: dvi-perl
19996 dvi-perl: \
19997 configure-perl
19998 @: $(MAKE); $(unstage)
19999 @[ -f ./perl/Makefile ] || exit 0; \
20000 r=`${PWD_COMMAND}`; export r; \
20001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20002 $(HOST_EXPORTS) \
20003 for flag in $(EXTRA_HOST_FLAGS) ; do \
20004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20005 done; \
20006 echo "Doing dvi in perl" ; \
20007 (cd $(HOST_SUBDIR)/perl && \
20008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20010 "RANLIB=$${RANLIB}" \
20011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20012 dvi) \
20013 || exit 1
20015 @endif perl
20017 .PHONY: maybe-html-perl html-perl
20018 maybe-html-perl:
20019 @if perl
20020 maybe-html-perl: html-perl
20022 html-perl: \
20023 configure-perl
20024 @: $(MAKE); $(unstage)
20025 @[ -f ./perl/Makefile ] || exit 0; \
20026 r=`${PWD_COMMAND}`; export r; \
20027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20028 $(HOST_EXPORTS) \
20029 for flag in $(EXTRA_HOST_FLAGS) ; do \
20030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20031 done; \
20032 echo "Doing html in perl" ; \
20033 (cd $(HOST_SUBDIR)/perl && \
20034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20036 "RANLIB=$${RANLIB}" \
20037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20038 html) \
20039 || exit 1
20041 @endif perl
20043 .PHONY: maybe-TAGS-perl TAGS-perl
20044 maybe-TAGS-perl:
20045 @if perl
20046 maybe-TAGS-perl: TAGS-perl
20048 TAGS-perl: \
20049 configure-perl
20050 @: $(MAKE); $(unstage)
20051 @[ -f ./perl/Makefile ] || exit 0; \
20052 r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 $(HOST_EXPORTS) \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20057 done; \
20058 echo "Doing TAGS in perl" ; \
20059 (cd $(HOST_SUBDIR)/perl && \
20060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20062 "RANLIB=$${RANLIB}" \
20063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20064 TAGS) \
20065 || exit 1
20067 @endif perl
20069 .PHONY: maybe-install-info-perl install-info-perl
20070 maybe-install-info-perl:
20071 @if perl
20072 maybe-install-info-perl: install-info-perl
20074 install-info-perl: \
20075 configure-perl \
20076 info-perl
20077 @: $(MAKE); $(unstage)
20078 @[ -f ./perl/Makefile ] || exit 0; \
20079 r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 $(HOST_EXPORTS) \
20082 for flag in $(EXTRA_HOST_FLAGS) ; do \
20083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20084 done; \
20085 echo "Doing install-info in perl" ; \
20086 (cd $(HOST_SUBDIR)/perl && \
20087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20089 "RANLIB=$${RANLIB}" \
20090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20091 install-info) \
20092 || exit 1
20094 @endif perl
20096 .PHONY: maybe-installcheck-perl installcheck-perl
20097 maybe-installcheck-perl:
20098 @if perl
20099 maybe-installcheck-perl: installcheck-perl
20101 installcheck-perl: \
20102 configure-perl
20103 @: $(MAKE); $(unstage)
20104 @[ -f ./perl/Makefile ] || exit 0; \
20105 r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107 $(HOST_EXPORTS) \
20108 for flag in $(EXTRA_HOST_FLAGS) ; do \
20109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20110 done; \
20111 echo "Doing installcheck in perl" ; \
20112 (cd $(HOST_SUBDIR)/perl && \
20113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115 "RANLIB=$${RANLIB}" \
20116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20117 installcheck) \
20118 || exit 1
20120 @endif perl
20122 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20123 maybe-mostlyclean-perl:
20124 @if perl
20125 maybe-mostlyclean-perl: mostlyclean-perl
20127 mostlyclean-perl:
20128 @: $(MAKE); $(unstage)
20129 @[ -f ./perl/Makefile ] || exit 0; \
20130 r=`${PWD_COMMAND}`; export r; \
20131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20132 $(HOST_EXPORTS) \
20133 for flag in $(EXTRA_HOST_FLAGS) ; do \
20134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20135 done; \
20136 echo "Doing mostlyclean in perl" ; \
20137 (cd $(HOST_SUBDIR)/perl && \
20138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20140 "RANLIB=$${RANLIB}" \
20141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20142 mostlyclean) \
20143 || exit 1
20145 @endif perl
20147 .PHONY: maybe-clean-perl clean-perl
20148 maybe-clean-perl:
20149 @if perl
20150 maybe-clean-perl: clean-perl
20152 clean-perl:
20153 @: $(MAKE); $(unstage)
20154 @[ -f ./perl/Makefile ] || exit 0; \
20155 r=`${PWD_COMMAND}`; export r; \
20156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20157 $(HOST_EXPORTS) \
20158 for flag in $(EXTRA_HOST_FLAGS) ; do \
20159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20160 done; \
20161 echo "Doing clean in perl" ; \
20162 (cd $(HOST_SUBDIR)/perl && \
20163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20165 "RANLIB=$${RANLIB}" \
20166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20167 clean) \
20168 || exit 1
20170 @endif perl
20172 .PHONY: maybe-distclean-perl distclean-perl
20173 maybe-distclean-perl:
20174 @if perl
20175 maybe-distclean-perl: distclean-perl
20177 distclean-perl:
20178 @: $(MAKE); $(unstage)
20179 @[ -f ./perl/Makefile ] || exit 0; \
20180 r=`${PWD_COMMAND}`; export r; \
20181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20182 $(HOST_EXPORTS) \
20183 for flag in $(EXTRA_HOST_FLAGS) ; do \
20184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20185 done; \
20186 echo "Doing distclean in perl" ; \
20187 (cd $(HOST_SUBDIR)/perl && \
20188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20190 "RANLIB=$${RANLIB}" \
20191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20192 distclean) \
20193 || exit 1
20195 @endif perl
20197 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20198 maybe-maintainer-clean-perl:
20199 @if perl
20200 maybe-maintainer-clean-perl: maintainer-clean-perl
20202 maintainer-clean-perl:
20203 @: $(MAKE); $(unstage)
20204 @[ -f ./perl/Makefile ] || exit 0; \
20205 r=`${PWD_COMMAND}`; export r; \
20206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20207 $(HOST_EXPORTS) \
20208 for flag in $(EXTRA_HOST_FLAGS) ; do \
20209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20210 done; \
20211 echo "Doing maintainer-clean in perl" ; \
20212 (cd $(HOST_SUBDIR)/perl && \
20213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20215 "RANLIB=$${RANLIB}" \
20216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20217 maintainer-clean) \
20218 || exit 1
20220 @endif perl
20224 .PHONY: configure-prms maybe-configure-prms
20225 maybe-configure-prms:
20226 @if prms
20227 maybe-configure-prms: configure-prms
20228 configure-prms:
20229 @: $(MAKE); $(unstage)
20230 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20232 r=`${PWD_COMMAND}`; export r; \
20233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20234 $(HOST_EXPORTS) \
20235 echo Configuring in $(HOST_SUBDIR)/prms; \
20236 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20237 case $(srcdir) in \
20238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20239 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20241 esac; \
20242 srcdiroption="--srcdir=$${topdir}/prms"; \
20243 libsrcdir="$$s/prms"; \
20244 $(SHELL) $${libsrcdir}/configure \
20245 $(HOST_CONFIGARGS) $${srcdiroption} \
20246 || exit 1
20247 @endif prms
20253 .PHONY: all-prms maybe-all-prms
20254 maybe-all-prms:
20255 @if prms
20256 TARGET-prms=all
20257 maybe-all-prms: all-prms
20258 all-prms: configure-prms
20259 @: $(MAKE); $(unstage)
20260 @r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 (cd $(HOST_SUBDIR)/prms && \
20264 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20265 @endif prms
20270 .PHONY: check-prms maybe-check-prms
20271 maybe-check-prms:
20272 @if prms
20273 maybe-check-prms: check-prms
20275 check-prms:
20276 @: $(MAKE); $(unstage)
20277 @r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(HOST_EXPORTS) \
20280 (cd $(HOST_SUBDIR)/prms && \
20281 $(MAKE) $(FLAGS_TO_PASS) check)
20283 @endif prms
20285 .PHONY: install-prms maybe-install-prms
20286 maybe-install-prms:
20287 @if prms
20288 maybe-install-prms: install-prms
20290 install-prms: installdirs
20291 @: $(MAKE); $(unstage)
20292 @r=`${PWD_COMMAND}`; export r; \
20293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20294 $(HOST_EXPORTS) \
20295 (cd $(HOST_SUBDIR)/prms && \
20296 $(MAKE) $(FLAGS_TO_PASS) install)
20298 @endif prms
20300 # Other targets (info, dvi, etc.)
20302 .PHONY: maybe-info-prms info-prms
20303 maybe-info-prms:
20304 @if prms
20305 maybe-info-prms: info-prms
20307 info-prms: \
20308 configure-prms
20309 @: $(MAKE); $(unstage)
20310 @[ -f ./prms/Makefile ] || exit 0; \
20311 r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(HOST_EXPORTS) \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 done; \
20317 echo "Doing info in prms" ; \
20318 (cd $(HOST_SUBDIR)/prms && \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20323 info) \
20324 || exit 1
20326 @endif prms
20328 .PHONY: maybe-dvi-prms dvi-prms
20329 maybe-dvi-prms:
20330 @if prms
20331 maybe-dvi-prms: dvi-prms
20333 dvi-prms: \
20334 configure-prms
20335 @: $(MAKE); $(unstage)
20336 @[ -f ./prms/Makefile ] || exit 0; \
20337 r=`${PWD_COMMAND}`; export r; \
20338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20339 $(HOST_EXPORTS) \
20340 for flag in $(EXTRA_HOST_FLAGS) ; do \
20341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20342 done; \
20343 echo "Doing dvi in prms" ; \
20344 (cd $(HOST_SUBDIR)/prms && \
20345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20347 "RANLIB=$${RANLIB}" \
20348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20349 dvi) \
20350 || exit 1
20352 @endif prms
20354 .PHONY: maybe-html-prms html-prms
20355 maybe-html-prms:
20356 @if prms
20357 maybe-html-prms: html-prms
20359 html-prms: \
20360 configure-prms
20361 @: $(MAKE); $(unstage)
20362 @[ -f ./prms/Makefile ] || exit 0; \
20363 r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 $(HOST_EXPORTS) \
20366 for flag in $(EXTRA_HOST_FLAGS) ; do \
20367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20368 done; \
20369 echo "Doing html in prms" ; \
20370 (cd $(HOST_SUBDIR)/prms && \
20371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20373 "RANLIB=$${RANLIB}" \
20374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20375 html) \
20376 || exit 1
20378 @endif prms
20380 .PHONY: maybe-TAGS-prms TAGS-prms
20381 maybe-TAGS-prms:
20382 @if prms
20383 maybe-TAGS-prms: TAGS-prms
20385 TAGS-prms: \
20386 configure-prms
20387 @: $(MAKE); $(unstage)
20388 @[ -f ./prms/Makefile ] || exit 0; \
20389 r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 $(HOST_EXPORTS) \
20392 for flag in $(EXTRA_HOST_FLAGS) ; do \
20393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20394 done; \
20395 echo "Doing TAGS in prms" ; \
20396 (cd $(HOST_SUBDIR)/prms && \
20397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20399 "RANLIB=$${RANLIB}" \
20400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20401 TAGS) \
20402 || exit 1
20404 @endif prms
20406 .PHONY: maybe-install-info-prms install-info-prms
20407 maybe-install-info-prms:
20408 @if prms
20409 maybe-install-info-prms: install-info-prms
20411 install-info-prms: \
20412 configure-prms \
20413 info-prms
20414 @: $(MAKE); $(unstage)
20415 @[ -f ./prms/Makefile ] || exit 0; \
20416 r=`${PWD_COMMAND}`; export r; \
20417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 $(HOST_EXPORTS) \
20419 for flag in $(EXTRA_HOST_FLAGS) ; do \
20420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20421 done; \
20422 echo "Doing install-info in prms" ; \
20423 (cd $(HOST_SUBDIR)/prms && \
20424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20426 "RANLIB=$${RANLIB}" \
20427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20428 install-info) \
20429 || exit 1
20431 @endif prms
20433 .PHONY: maybe-installcheck-prms installcheck-prms
20434 maybe-installcheck-prms:
20435 @if prms
20436 maybe-installcheck-prms: installcheck-prms
20438 installcheck-prms: \
20439 configure-prms
20440 @: $(MAKE); $(unstage)
20441 @[ -f ./prms/Makefile ] || exit 0; \
20442 r=`${PWD_COMMAND}`; export r; \
20443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20444 $(HOST_EXPORTS) \
20445 for flag in $(EXTRA_HOST_FLAGS) ; do \
20446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20447 done; \
20448 echo "Doing installcheck in prms" ; \
20449 (cd $(HOST_SUBDIR)/prms && \
20450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20452 "RANLIB=$${RANLIB}" \
20453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20454 installcheck) \
20455 || exit 1
20457 @endif prms
20459 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20460 maybe-mostlyclean-prms:
20461 @if prms
20462 maybe-mostlyclean-prms: mostlyclean-prms
20464 mostlyclean-prms:
20465 @: $(MAKE); $(unstage)
20466 @[ -f ./prms/Makefile ] || exit 0; \
20467 r=`${PWD_COMMAND}`; export r; \
20468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20469 $(HOST_EXPORTS) \
20470 for flag in $(EXTRA_HOST_FLAGS) ; do \
20471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20472 done; \
20473 echo "Doing mostlyclean in prms" ; \
20474 (cd $(HOST_SUBDIR)/prms && \
20475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20477 "RANLIB=$${RANLIB}" \
20478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20479 mostlyclean) \
20480 || exit 1
20482 @endif prms
20484 .PHONY: maybe-clean-prms clean-prms
20485 maybe-clean-prms:
20486 @if prms
20487 maybe-clean-prms: clean-prms
20489 clean-prms:
20490 @: $(MAKE); $(unstage)
20491 @[ -f ./prms/Makefile ] || exit 0; \
20492 r=`${PWD_COMMAND}`; export r; \
20493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20494 $(HOST_EXPORTS) \
20495 for flag in $(EXTRA_HOST_FLAGS) ; do \
20496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20497 done; \
20498 echo "Doing clean in prms" ; \
20499 (cd $(HOST_SUBDIR)/prms && \
20500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20502 "RANLIB=$${RANLIB}" \
20503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20504 clean) \
20505 || exit 1
20507 @endif prms
20509 .PHONY: maybe-distclean-prms distclean-prms
20510 maybe-distclean-prms:
20511 @if prms
20512 maybe-distclean-prms: distclean-prms
20514 distclean-prms:
20515 @: $(MAKE); $(unstage)
20516 @[ -f ./prms/Makefile ] || exit 0; \
20517 r=`${PWD_COMMAND}`; export r; \
20518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20519 $(HOST_EXPORTS) \
20520 for flag in $(EXTRA_HOST_FLAGS) ; do \
20521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20522 done; \
20523 echo "Doing distclean in prms" ; \
20524 (cd $(HOST_SUBDIR)/prms && \
20525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20527 "RANLIB=$${RANLIB}" \
20528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20529 distclean) \
20530 || exit 1
20532 @endif prms
20534 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20535 maybe-maintainer-clean-prms:
20536 @if prms
20537 maybe-maintainer-clean-prms: maintainer-clean-prms
20539 maintainer-clean-prms:
20540 @: $(MAKE); $(unstage)
20541 @[ -f ./prms/Makefile ] || exit 0; \
20542 r=`${PWD_COMMAND}`; export r; \
20543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20544 $(HOST_EXPORTS) \
20545 for flag in $(EXTRA_HOST_FLAGS) ; do \
20546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20547 done; \
20548 echo "Doing maintainer-clean in prms" ; \
20549 (cd $(HOST_SUBDIR)/prms && \
20550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20552 "RANLIB=$${RANLIB}" \
20553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20554 maintainer-clean) \
20555 || exit 1
20557 @endif prms
20561 .PHONY: configure-rcs maybe-configure-rcs
20562 maybe-configure-rcs:
20563 @if rcs
20564 maybe-configure-rcs: configure-rcs
20565 configure-rcs:
20566 @: $(MAKE); $(unstage)
20567 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20568 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20569 r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20571 $(HOST_EXPORTS) \
20572 echo Configuring in $(HOST_SUBDIR)/rcs; \
20573 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20574 case $(srcdir) in \
20575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20576 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20578 esac; \
20579 srcdiroption="--srcdir=$${topdir}/rcs"; \
20580 libsrcdir="$$s/rcs"; \
20581 $(SHELL) $${libsrcdir}/configure \
20582 $(HOST_CONFIGARGS) $${srcdiroption} \
20583 || exit 1
20584 @endif rcs
20590 .PHONY: all-rcs maybe-all-rcs
20591 maybe-all-rcs:
20592 @if rcs
20593 TARGET-rcs=all
20594 maybe-all-rcs: all-rcs
20595 all-rcs: configure-rcs
20596 @: $(MAKE); $(unstage)
20597 @r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599 $(HOST_EXPORTS) \
20600 (cd $(HOST_SUBDIR)/rcs && \
20601 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20602 @endif rcs
20607 .PHONY: check-rcs maybe-check-rcs
20608 maybe-check-rcs:
20609 @if rcs
20610 maybe-check-rcs: check-rcs
20612 check-rcs:
20613 @: $(MAKE); $(unstage)
20614 @r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 $(HOST_EXPORTS) \
20617 (cd $(HOST_SUBDIR)/rcs && \
20618 $(MAKE) $(FLAGS_TO_PASS) check)
20620 @endif rcs
20622 .PHONY: install-rcs maybe-install-rcs
20623 maybe-install-rcs:
20624 @if rcs
20625 maybe-install-rcs: install-rcs
20627 install-rcs: installdirs
20628 @: $(MAKE); $(unstage)
20629 @r=`${PWD_COMMAND}`; export r; \
20630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20631 $(HOST_EXPORTS) \
20632 (cd $(HOST_SUBDIR)/rcs && \
20633 $(MAKE) $(FLAGS_TO_PASS) install)
20635 @endif rcs
20637 # Other targets (info, dvi, etc.)
20639 .PHONY: maybe-info-rcs info-rcs
20640 maybe-info-rcs:
20641 @if rcs
20642 maybe-info-rcs: info-rcs
20644 info-rcs: \
20645 configure-rcs
20646 @: $(MAKE); $(unstage)
20647 @[ -f ./rcs/Makefile ] || exit 0; \
20648 r=`${PWD_COMMAND}`; export r; \
20649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20650 $(HOST_EXPORTS) \
20651 for flag in $(EXTRA_HOST_FLAGS) ; do \
20652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20653 done; \
20654 echo "Doing info in rcs" ; \
20655 (cd $(HOST_SUBDIR)/rcs && \
20656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20658 "RANLIB=$${RANLIB}" \
20659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20660 info) \
20661 || exit 1
20663 @endif rcs
20665 .PHONY: maybe-dvi-rcs dvi-rcs
20666 maybe-dvi-rcs:
20667 @if rcs
20668 maybe-dvi-rcs: dvi-rcs
20670 dvi-rcs: \
20671 configure-rcs
20672 @: $(MAKE); $(unstage)
20673 @[ -f ./rcs/Makefile ] || exit 0; \
20674 r=`${PWD_COMMAND}`; export r; \
20675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20676 $(HOST_EXPORTS) \
20677 for flag in $(EXTRA_HOST_FLAGS) ; do \
20678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20679 done; \
20680 echo "Doing dvi in rcs" ; \
20681 (cd $(HOST_SUBDIR)/rcs && \
20682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20684 "RANLIB=$${RANLIB}" \
20685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20686 dvi) \
20687 || exit 1
20689 @endif rcs
20691 .PHONY: maybe-html-rcs html-rcs
20692 maybe-html-rcs:
20693 @if rcs
20694 maybe-html-rcs: html-rcs
20696 html-rcs: \
20697 configure-rcs
20698 @: $(MAKE); $(unstage)
20699 @[ -f ./rcs/Makefile ] || exit 0; \
20700 r=`${PWD_COMMAND}`; export r; \
20701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20702 $(HOST_EXPORTS) \
20703 for flag in $(EXTRA_HOST_FLAGS) ; do \
20704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20705 done; \
20706 echo "Doing html in rcs" ; \
20707 (cd $(HOST_SUBDIR)/rcs && \
20708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20710 "RANLIB=$${RANLIB}" \
20711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20712 html) \
20713 || exit 1
20715 @endif rcs
20717 .PHONY: maybe-TAGS-rcs TAGS-rcs
20718 maybe-TAGS-rcs:
20719 @if rcs
20720 maybe-TAGS-rcs: TAGS-rcs
20722 TAGS-rcs: \
20723 configure-rcs
20724 @: $(MAKE); $(unstage)
20725 @[ -f ./rcs/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing TAGS in rcs" ; \
20733 (cd $(HOST_SUBDIR)/rcs && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 TAGS) \
20739 || exit 1
20741 @endif rcs
20743 .PHONY: maybe-install-info-rcs install-info-rcs
20744 maybe-install-info-rcs:
20745 @if rcs
20746 maybe-install-info-rcs: install-info-rcs
20748 install-info-rcs: \
20749 configure-rcs \
20750 info-rcs
20751 @: $(MAKE); $(unstage)
20752 @[ -f ./rcs/Makefile ] || exit 0; \
20753 r=`${PWD_COMMAND}`; export r; \
20754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20755 $(HOST_EXPORTS) \
20756 for flag in $(EXTRA_HOST_FLAGS) ; do \
20757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20758 done; \
20759 echo "Doing install-info in rcs" ; \
20760 (cd $(HOST_SUBDIR)/rcs && \
20761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20763 "RANLIB=$${RANLIB}" \
20764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20765 install-info) \
20766 || exit 1
20768 @endif rcs
20770 .PHONY: maybe-installcheck-rcs installcheck-rcs
20771 maybe-installcheck-rcs:
20772 @if rcs
20773 maybe-installcheck-rcs: installcheck-rcs
20775 installcheck-rcs: \
20776 configure-rcs
20777 @: $(MAKE); $(unstage)
20778 @[ -f ./rcs/Makefile ] || exit 0; \
20779 r=`${PWD_COMMAND}`; export r; \
20780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20781 $(HOST_EXPORTS) \
20782 for flag in $(EXTRA_HOST_FLAGS) ; do \
20783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20784 done; \
20785 echo "Doing installcheck in rcs" ; \
20786 (cd $(HOST_SUBDIR)/rcs && \
20787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20789 "RANLIB=$${RANLIB}" \
20790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20791 installcheck) \
20792 || exit 1
20794 @endif rcs
20796 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20797 maybe-mostlyclean-rcs:
20798 @if rcs
20799 maybe-mostlyclean-rcs: mostlyclean-rcs
20801 mostlyclean-rcs:
20802 @: $(MAKE); $(unstage)
20803 @[ -f ./rcs/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(HOST_EXPORTS) \
20807 for flag in $(EXTRA_HOST_FLAGS) ; do \
20808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20809 done; \
20810 echo "Doing mostlyclean in rcs" ; \
20811 (cd $(HOST_SUBDIR)/rcs && \
20812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20814 "RANLIB=$${RANLIB}" \
20815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20816 mostlyclean) \
20817 || exit 1
20819 @endif rcs
20821 .PHONY: maybe-clean-rcs clean-rcs
20822 maybe-clean-rcs:
20823 @if rcs
20824 maybe-clean-rcs: clean-rcs
20826 clean-rcs:
20827 @: $(MAKE); $(unstage)
20828 @[ -f ./rcs/Makefile ] || exit 0; \
20829 r=`${PWD_COMMAND}`; export r; \
20830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20831 $(HOST_EXPORTS) \
20832 for flag in $(EXTRA_HOST_FLAGS) ; do \
20833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20834 done; \
20835 echo "Doing clean in rcs" ; \
20836 (cd $(HOST_SUBDIR)/rcs && \
20837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20839 "RANLIB=$${RANLIB}" \
20840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20841 clean) \
20842 || exit 1
20844 @endif rcs
20846 .PHONY: maybe-distclean-rcs distclean-rcs
20847 maybe-distclean-rcs:
20848 @if rcs
20849 maybe-distclean-rcs: distclean-rcs
20851 distclean-rcs:
20852 @: $(MAKE); $(unstage)
20853 @[ -f ./rcs/Makefile ] || exit 0; \
20854 r=`${PWD_COMMAND}`; export r; \
20855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20856 $(HOST_EXPORTS) \
20857 for flag in $(EXTRA_HOST_FLAGS) ; do \
20858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20859 done; \
20860 echo "Doing distclean in rcs" ; \
20861 (cd $(HOST_SUBDIR)/rcs && \
20862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20864 "RANLIB=$${RANLIB}" \
20865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20866 distclean) \
20867 || exit 1
20869 @endif rcs
20871 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20872 maybe-maintainer-clean-rcs:
20873 @if rcs
20874 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20876 maintainer-clean-rcs:
20877 @: $(MAKE); $(unstage)
20878 @[ -f ./rcs/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(HOST_EXPORTS) \
20882 for flag in $(EXTRA_HOST_FLAGS) ; do \
20883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20884 done; \
20885 echo "Doing maintainer-clean in rcs" ; \
20886 (cd $(HOST_SUBDIR)/rcs && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20889 "RANLIB=$${RANLIB}" \
20890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20891 maintainer-clean) \
20892 || exit 1
20894 @endif rcs
20898 .PHONY: configure-readline maybe-configure-readline
20899 maybe-configure-readline:
20900 @if readline
20901 maybe-configure-readline: configure-readline
20902 configure-readline:
20903 @: $(MAKE); $(unstage)
20904 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20905 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20906 r=`${PWD_COMMAND}`; export r; \
20907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20908 $(HOST_EXPORTS) \
20909 echo Configuring in $(HOST_SUBDIR)/readline; \
20910 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20911 case $(srcdir) in \
20912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20913 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20915 esac; \
20916 srcdiroption="--srcdir=$${topdir}/readline"; \
20917 libsrcdir="$$s/readline"; \
20918 $(SHELL) $${libsrcdir}/configure \
20919 $(HOST_CONFIGARGS) $${srcdiroption} \
20920 || exit 1
20921 @endif readline
20927 .PHONY: all-readline maybe-all-readline
20928 maybe-all-readline:
20929 @if readline
20930 TARGET-readline=all
20931 maybe-all-readline: all-readline
20932 all-readline: configure-readline
20933 @: $(MAKE); $(unstage)
20934 @r=`${PWD_COMMAND}`; export r; \
20935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20936 $(HOST_EXPORTS) \
20937 (cd $(HOST_SUBDIR)/readline && \
20938 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20939 @endif readline
20944 .PHONY: check-readline maybe-check-readline
20945 maybe-check-readline:
20946 @if readline
20947 maybe-check-readline: check-readline
20949 check-readline:
20950 @: $(MAKE); $(unstage)
20951 @r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953 $(HOST_EXPORTS) \
20954 (cd $(HOST_SUBDIR)/readline && \
20955 $(MAKE) $(FLAGS_TO_PASS) check)
20957 @endif readline
20959 .PHONY: install-readline maybe-install-readline
20960 maybe-install-readline:
20961 @if readline
20962 maybe-install-readline: install-readline
20964 install-readline: installdirs
20965 @: $(MAKE); $(unstage)
20966 @r=`${PWD_COMMAND}`; export r; \
20967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20968 $(HOST_EXPORTS) \
20969 (cd $(HOST_SUBDIR)/readline && \
20970 $(MAKE) $(FLAGS_TO_PASS) install)
20972 @endif readline
20974 # Other targets (info, dvi, etc.)
20976 .PHONY: maybe-info-readline info-readline
20977 maybe-info-readline:
20978 @if readline
20979 maybe-info-readline: info-readline
20981 info-readline: \
20982 configure-readline
20983 @: $(MAKE); $(unstage)
20984 @[ -f ./readline/Makefile ] || exit 0; \
20985 r=`${PWD_COMMAND}`; export r; \
20986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20987 $(HOST_EXPORTS) \
20988 for flag in $(EXTRA_HOST_FLAGS) ; do \
20989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20990 done; \
20991 echo "Doing info in readline" ; \
20992 (cd $(HOST_SUBDIR)/readline && \
20993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20995 "RANLIB=$${RANLIB}" \
20996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20997 info) \
20998 || exit 1
21000 @endif readline
21002 .PHONY: maybe-dvi-readline dvi-readline
21003 maybe-dvi-readline:
21004 @if readline
21005 maybe-dvi-readline: dvi-readline
21007 dvi-readline: \
21008 configure-readline
21009 @: $(MAKE); $(unstage)
21010 @[ -f ./readline/Makefile ] || exit 0; \
21011 r=`${PWD_COMMAND}`; export r; \
21012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21013 $(HOST_EXPORTS) \
21014 for flag in $(EXTRA_HOST_FLAGS) ; do \
21015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21016 done; \
21017 echo "Doing dvi in readline" ; \
21018 (cd $(HOST_SUBDIR)/readline && \
21019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21021 "RANLIB=$${RANLIB}" \
21022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21023 dvi) \
21024 || exit 1
21026 @endif readline
21028 .PHONY: maybe-html-readline html-readline
21029 maybe-html-readline:
21030 @if readline
21031 maybe-html-readline: html-readline
21033 html-readline: \
21034 configure-readline
21035 @: $(MAKE); $(unstage)
21036 @[ -f ./readline/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21039 $(HOST_EXPORTS) \
21040 for flag in $(EXTRA_HOST_FLAGS) ; do \
21041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21042 done; \
21043 echo "Doing html in readline" ; \
21044 (cd $(HOST_SUBDIR)/readline && \
21045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21047 "RANLIB=$${RANLIB}" \
21048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21049 html) \
21050 || exit 1
21052 @endif readline
21054 .PHONY: maybe-TAGS-readline TAGS-readline
21055 maybe-TAGS-readline:
21056 @if readline
21057 maybe-TAGS-readline: TAGS-readline
21059 TAGS-readline: \
21060 configure-readline
21061 @: $(MAKE); $(unstage)
21062 @[ -f ./readline/Makefile ] || exit 0; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(HOST_EXPORTS) \
21066 for flag in $(EXTRA_HOST_FLAGS) ; do \
21067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21068 done; \
21069 echo "Doing TAGS in readline" ; \
21070 (cd $(HOST_SUBDIR)/readline && \
21071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21073 "RANLIB=$${RANLIB}" \
21074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21075 TAGS) \
21076 || exit 1
21078 @endif readline
21080 .PHONY: maybe-install-info-readline install-info-readline
21081 maybe-install-info-readline:
21082 @if readline
21083 maybe-install-info-readline: install-info-readline
21085 install-info-readline: \
21086 configure-readline \
21087 info-readline
21088 @: $(MAKE); $(unstage)
21089 @[ -f ./readline/Makefile ] || exit 0; \
21090 r=`${PWD_COMMAND}`; export r; \
21091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21092 $(HOST_EXPORTS) \
21093 for flag in $(EXTRA_HOST_FLAGS) ; do \
21094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21095 done; \
21096 echo "Doing install-info in readline" ; \
21097 (cd $(HOST_SUBDIR)/readline && \
21098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21100 "RANLIB=$${RANLIB}" \
21101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21102 install-info) \
21103 || exit 1
21105 @endif readline
21107 .PHONY: maybe-installcheck-readline installcheck-readline
21108 maybe-installcheck-readline:
21109 @if readline
21110 maybe-installcheck-readline: installcheck-readline
21112 installcheck-readline: \
21113 configure-readline
21114 @: $(MAKE); $(unstage)
21115 @[ -f ./readline/Makefile ] || exit 0; \
21116 r=`${PWD_COMMAND}`; export r; \
21117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21118 $(HOST_EXPORTS) \
21119 for flag in $(EXTRA_HOST_FLAGS) ; do \
21120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21121 done; \
21122 echo "Doing installcheck in readline" ; \
21123 (cd $(HOST_SUBDIR)/readline && \
21124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21126 "RANLIB=$${RANLIB}" \
21127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21128 installcheck) \
21129 || exit 1
21131 @endif readline
21133 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21134 maybe-mostlyclean-readline:
21135 @if readline
21136 maybe-mostlyclean-readline: mostlyclean-readline
21138 mostlyclean-readline:
21139 @: $(MAKE); $(unstage)
21140 @[ -f ./readline/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21143 $(HOST_EXPORTS) \
21144 for flag in $(EXTRA_HOST_FLAGS) ; do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21146 done; \
21147 echo "Doing mostlyclean in readline" ; \
21148 (cd $(HOST_SUBDIR)/readline && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21153 mostlyclean) \
21154 || exit 1
21156 @endif readline
21158 .PHONY: maybe-clean-readline clean-readline
21159 maybe-clean-readline:
21160 @if readline
21161 maybe-clean-readline: clean-readline
21163 clean-readline:
21164 @: $(MAKE); $(unstage)
21165 @[ -f ./readline/Makefile ] || exit 0; \
21166 r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168 $(HOST_EXPORTS) \
21169 for flag in $(EXTRA_HOST_FLAGS) ; do \
21170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21171 done; \
21172 echo "Doing clean in readline" ; \
21173 (cd $(HOST_SUBDIR)/readline && \
21174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21176 "RANLIB=$${RANLIB}" \
21177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21178 clean) \
21179 || exit 1
21181 @endif readline
21183 .PHONY: maybe-distclean-readline distclean-readline
21184 maybe-distclean-readline:
21185 @if readline
21186 maybe-distclean-readline: distclean-readline
21188 distclean-readline:
21189 @: $(MAKE); $(unstage)
21190 @[ -f ./readline/Makefile ] || exit 0; \
21191 r=`${PWD_COMMAND}`; export r; \
21192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 $(HOST_EXPORTS) \
21194 for flag in $(EXTRA_HOST_FLAGS) ; do \
21195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21196 done; \
21197 echo "Doing distclean in readline" ; \
21198 (cd $(HOST_SUBDIR)/readline && \
21199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21201 "RANLIB=$${RANLIB}" \
21202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21203 distclean) \
21204 || exit 1
21206 @endif readline
21208 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21209 maybe-maintainer-clean-readline:
21210 @if readline
21211 maybe-maintainer-clean-readline: maintainer-clean-readline
21213 maintainer-clean-readline:
21214 @: $(MAKE); $(unstage)
21215 @[ -f ./readline/Makefile ] || exit 0; \
21216 r=`${PWD_COMMAND}`; export r; \
21217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21218 $(HOST_EXPORTS) \
21219 for flag in $(EXTRA_HOST_FLAGS) ; do \
21220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21221 done; \
21222 echo "Doing maintainer-clean in readline" ; \
21223 (cd $(HOST_SUBDIR)/readline && \
21224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21226 "RANLIB=$${RANLIB}" \
21227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21228 maintainer-clean) \
21229 || exit 1
21231 @endif readline
21235 .PHONY: configure-release maybe-configure-release
21236 maybe-configure-release:
21237 @if release
21238 maybe-configure-release: configure-release
21239 configure-release:
21240 @: $(MAKE); $(unstage)
21241 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21242 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21243 r=`${PWD_COMMAND}`; export r; \
21244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21245 $(HOST_EXPORTS) \
21246 echo Configuring in $(HOST_SUBDIR)/release; \
21247 cd "$(HOST_SUBDIR)/release" || exit 1; \
21248 case $(srcdir) in \
21249 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21250 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21251 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21252 esac; \
21253 srcdiroption="--srcdir=$${topdir}/release"; \
21254 libsrcdir="$$s/release"; \
21255 $(SHELL) $${libsrcdir}/configure \
21256 $(HOST_CONFIGARGS) $${srcdiroption} \
21257 || exit 1
21258 @endif release
21264 .PHONY: all-release maybe-all-release
21265 maybe-all-release:
21266 @if release
21267 TARGET-release=all
21268 maybe-all-release: all-release
21269 all-release: configure-release
21270 @: $(MAKE); $(unstage)
21271 @r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 $(HOST_EXPORTS) \
21274 (cd $(HOST_SUBDIR)/release && \
21275 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21276 @endif release
21281 .PHONY: check-release maybe-check-release
21282 maybe-check-release:
21283 @if release
21284 maybe-check-release: check-release
21286 check-release:
21288 @endif release
21290 .PHONY: install-release maybe-install-release
21291 maybe-install-release:
21292 @if release
21293 maybe-install-release: install-release
21295 install-release:
21297 @endif release
21299 # Other targets (info, dvi, etc.)
21301 .PHONY: maybe-info-release info-release
21302 maybe-info-release:
21303 @if release
21304 maybe-info-release: info-release
21306 info-release: \
21307 configure-release
21308 @: $(MAKE); $(unstage)
21309 @[ -f ./release/Makefile ] || exit 0; \
21310 r=`${PWD_COMMAND}`; export r; \
21311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21312 $(HOST_EXPORTS) \
21313 for flag in $(EXTRA_HOST_FLAGS) ; do \
21314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21315 done; \
21316 echo "Doing info in release" ; \
21317 (cd $(HOST_SUBDIR)/release && \
21318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21320 "RANLIB=$${RANLIB}" \
21321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21322 info) \
21323 || exit 1
21325 @endif release
21327 .PHONY: maybe-dvi-release dvi-release
21328 maybe-dvi-release:
21329 @if release
21330 maybe-dvi-release: dvi-release
21332 dvi-release: \
21333 configure-release
21334 @: $(MAKE); $(unstage)
21335 @[ -f ./release/Makefile ] || exit 0; \
21336 r=`${PWD_COMMAND}`; export r; \
21337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21338 $(HOST_EXPORTS) \
21339 for flag in $(EXTRA_HOST_FLAGS) ; do \
21340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21341 done; \
21342 echo "Doing dvi in release" ; \
21343 (cd $(HOST_SUBDIR)/release && \
21344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21346 "RANLIB=$${RANLIB}" \
21347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21348 dvi) \
21349 || exit 1
21351 @endif release
21353 .PHONY: maybe-html-release html-release
21354 maybe-html-release:
21355 @if release
21356 maybe-html-release: html-release
21358 html-release: \
21359 configure-release
21360 @: $(MAKE); $(unstage)
21361 @[ -f ./release/Makefile ] || exit 0; \
21362 r=`${PWD_COMMAND}`; export r; \
21363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21364 $(HOST_EXPORTS) \
21365 for flag in $(EXTRA_HOST_FLAGS) ; do \
21366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21367 done; \
21368 echo "Doing html in release" ; \
21369 (cd $(HOST_SUBDIR)/release && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372 "RANLIB=$${RANLIB}" \
21373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374 html) \
21375 || exit 1
21377 @endif release
21379 .PHONY: maybe-TAGS-release TAGS-release
21380 maybe-TAGS-release:
21381 @if release
21382 maybe-TAGS-release: TAGS-release
21384 TAGS-release: \
21385 configure-release
21386 @: $(MAKE); $(unstage)
21387 @[ -f ./release/Makefile ] || exit 0; \
21388 r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 $(HOST_EXPORTS) \
21391 for flag in $(EXTRA_HOST_FLAGS) ; do \
21392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21393 done; \
21394 echo "Doing TAGS in release" ; \
21395 (cd $(HOST_SUBDIR)/release && \
21396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21398 "RANLIB=$${RANLIB}" \
21399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21400 TAGS) \
21401 || exit 1
21403 @endif release
21405 .PHONY: maybe-install-info-release install-info-release
21406 maybe-install-info-release:
21407 @if release
21408 maybe-install-info-release: install-info-release
21410 install-info-release: \
21411 configure-release \
21412 info-release
21413 @: $(MAKE); $(unstage)
21414 @[ -f ./release/Makefile ] || exit 0; \
21415 r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 $(HOST_EXPORTS) \
21418 for flag in $(EXTRA_HOST_FLAGS) ; do \
21419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21420 done; \
21421 echo "Doing install-info in release" ; \
21422 (cd $(HOST_SUBDIR)/release && \
21423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21425 "RANLIB=$${RANLIB}" \
21426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21427 install-info) \
21428 || exit 1
21430 @endif release
21432 .PHONY: maybe-installcheck-release installcheck-release
21433 maybe-installcheck-release:
21434 @if release
21435 maybe-installcheck-release: installcheck-release
21437 installcheck-release: \
21438 configure-release
21439 @: $(MAKE); $(unstage)
21440 @[ -f ./release/Makefile ] || exit 0; \
21441 r=`${PWD_COMMAND}`; export r; \
21442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21443 $(HOST_EXPORTS) \
21444 for flag in $(EXTRA_HOST_FLAGS) ; do \
21445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21446 done; \
21447 echo "Doing installcheck in release" ; \
21448 (cd $(HOST_SUBDIR)/release && \
21449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21451 "RANLIB=$${RANLIB}" \
21452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21453 installcheck) \
21454 || exit 1
21456 @endif release
21458 .PHONY: maybe-mostlyclean-release mostlyclean-release
21459 maybe-mostlyclean-release:
21460 @if release
21461 maybe-mostlyclean-release: mostlyclean-release
21463 mostlyclean-release:
21464 @: $(MAKE); $(unstage)
21465 @[ -f ./release/Makefile ] || exit 0; \
21466 r=`${PWD_COMMAND}`; export r; \
21467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21468 $(HOST_EXPORTS) \
21469 for flag in $(EXTRA_HOST_FLAGS) ; do \
21470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21471 done; \
21472 echo "Doing mostlyclean in release" ; \
21473 (cd $(HOST_SUBDIR)/release && \
21474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21476 "RANLIB=$${RANLIB}" \
21477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21478 mostlyclean) \
21479 || exit 1
21481 @endif release
21483 .PHONY: maybe-clean-release clean-release
21484 maybe-clean-release:
21485 @if release
21486 maybe-clean-release: clean-release
21488 clean-release:
21489 @: $(MAKE); $(unstage)
21490 @[ -f ./release/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21493 $(HOST_EXPORTS) \
21494 for flag in $(EXTRA_HOST_FLAGS) ; do \
21495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21496 done; \
21497 echo "Doing clean in release" ; \
21498 (cd $(HOST_SUBDIR)/release && \
21499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21501 "RANLIB=$${RANLIB}" \
21502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21503 clean) \
21504 || exit 1
21506 @endif release
21508 .PHONY: maybe-distclean-release distclean-release
21509 maybe-distclean-release:
21510 @if release
21511 maybe-distclean-release: distclean-release
21513 distclean-release:
21514 @: $(MAKE); $(unstage)
21515 @[ -f ./release/Makefile ] || exit 0; \
21516 r=`${PWD_COMMAND}`; export r; \
21517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21518 $(HOST_EXPORTS) \
21519 for flag in $(EXTRA_HOST_FLAGS) ; do \
21520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21521 done; \
21522 echo "Doing distclean in release" ; \
21523 (cd $(HOST_SUBDIR)/release && \
21524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21526 "RANLIB=$${RANLIB}" \
21527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21528 distclean) \
21529 || exit 1
21531 @endif release
21533 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21534 maybe-maintainer-clean-release:
21535 @if release
21536 maybe-maintainer-clean-release: maintainer-clean-release
21538 maintainer-clean-release:
21539 @: $(MAKE); $(unstage)
21540 @[ -f ./release/Makefile ] || exit 0; \
21541 r=`${PWD_COMMAND}`; export r; \
21542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21543 $(HOST_EXPORTS) \
21544 for flag in $(EXTRA_HOST_FLAGS) ; do \
21545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21546 done; \
21547 echo "Doing maintainer-clean in release" ; \
21548 (cd $(HOST_SUBDIR)/release && \
21549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21551 "RANLIB=$${RANLIB}" \
21552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21553 maintainer-clean) \
21554 || exit 1
21556 @endif release
21560 .PHONY: configure-recode maybe-configure-recode
21561 maybe-configure-recode:
21562 @if recode
21563 maybe-configure-recode: configure-recode
21564 configure-recode:
21565 @: $(MAKE); $(unstage)
21566 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21567 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21568 r=`${PWD_COMMAND}`; export r; \
21569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21570 $(HOST_EXPORTS) \
21571 echo Configuring in $(HOST_SUBDIR)/recode; \
21572 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21573 case $(srcdir) in \
21574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21575 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21577 esac; \
21578 srcdiroption="--srcdir=$${topdir}/recode"; \
21579 libsrcdir="$$s/recode"; \
21580 $(SHELL) $${libsrcdir}/configure \
21581 $(HOST_CONFIGARGS) $${srcdiroption} \
21582 || exit 1
21583 @endif recode
21589 .PHONY: all-recode maybe-all-recode
21590 maybe-all-recode:
21591 @if recode
21592 TARGET-recode=all
21593 maybe-all-recode: all-recode
21594 all-recode: configure-recode
21595 @: $(MAKE); $(unstage)
21596 @r=`${PWD_COMMAND}`; export r; \
21597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21598 $(HOST_EXPORTS) \
21599 (cd $(HOST_SUBDIR)/recode && \
21600 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21601 @endif recode
21606 .PHONY: check-recode maybe-check-recode
21607 maybe-check-recode:
21608 @if recode
21609 maybe-check-recode: check-recode
21611 check-recode:
21612 @: $(MAKE); $(unstage)
21613 @r=`${PWD_COMMAND}`; export r; \
21614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21615 $(HOST_EXPORTS) \
21616 (cd $(HOST_SUBDIR)/recode && \
21617 $(MAKE) $(FLAGS_TO_PASS) check)
21619 @endif recode
21621 .PHONY: install-recode maybe-install-recode
21622 maybe-install-recode:
21623 @if recode
21624 maybe-install-recode: install-recode
21626 install-recode: installdirs
21627 @: $(MAKE); $(unstage)
21628 @r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(HOST_EXPORTS) \
21631 (cd $(HOST_SUBDIR)/recode && \
21632 $(MAKE) $(FLAGS_TO_PASS) install)
21634 @endif recode
21636 # Other targets (info, dvi, etc.)
21638 .PHONY: maybe-info-recode info-recode
21639 maybe-info-recode:
21640 @if recode
21641 maybe-info-recode: info-recode
21643 info-recode: \
21644 configure-recode
21645 @: $(MAKE); $(unstage)
21646 @[ -f ./recode/Makefile ] || exit 0; \
21647 r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21649 $(HOST_EXPORTS) \
21650 for flag in $(EXTRA_HOST_FLAGS) ; do \
21651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21652 done; \
21653 echo "Doing info in recode" ; \
21654 (cd $(HOST_SUBDIR)/recode && \
21655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21657 "RANLIB=$${RANLIB}" \
21658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21659 info) \
21660 || exit 1
21662 @endif recode
21664 .PHONY: maybe-dvi-recode dvi-recode
21665 maybe-dvi-recode:
21666 @if recode
21667 maybe-dvi-recode: dvi-recode
21669 dvi-recode: \
21670 configure-recode
21671 @: $(MAKE); $(unstage)
21672 @[ -f ./recode/Makefile ] || exit 0; \
21673 r=`${PWD_COMMAND}`; export r; \
21674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21675 $(HOST_EXPORTS) \
21676 for flag in $(EXTRA_HOST_FLAGS) ; do \
21677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21678 done; \
21679 echo "Doing dvi in recode" ; \
21680 (cd $(HOST_SUBDIR)/recode && \
21681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21683 "RANLIB=$${RANLIB}" \
21684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21685 dvi) \
21686 || exit 1
21688 @endif recode
21690 .PHONY: maybe-html-recode html-recode
21691 maybe-html-recode:
21692 @if recode
21693 maybe-html-recode: html-recode
21695 html-recode: \
21696 configure-recode
21697 @: $(MAKE); $(unstage)
21698 @[ -f ./recode/Makefile ] || exit 0; \
21699 r=`${PWD_COMMAND}`; export r; \
21700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21701 $(HOST_EXPORTS) \
21702 for flag in $(EXTRA_HOST_FLAGS) ; do \
21703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21704 done; \
21705 echo "Doing html in recode" ; \
21706 (cd $(HOST_SUBDIR)/recode && \
21707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21709 "RANLIB=$${RANLIB}" \
21710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21711 html) \
21712 || exit 1
21714 @endif recode
21716 .PHONY: maybe-TAGS-recode TAGS-recode
21717 maybe-TAGS-recode:
21718 @if recode
21719 maybe-TAGS-recode: TAGS-recode
21721 TAGS-recode: \
21722 configure-recode
21723 @: $(MAKE); $(unstage)
21724 @[ -f ./recode/Makefile ] || exit 0; \
21725 r=`${PWD_COMMAND}`; export r; \
21726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21727 $(HOST_EXPORTS) \
21728 for flag in $(EXTRA_HOST_FLAGS) ; do \
21729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21730 done; \
21731 echo "Doing TAGS in recode" ; \
21732 (cd $(HOST_SUBDIR)/recode && \
21733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21735 "RANLIB=$${RANLIB}" \
21736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21737 TAGS) \
21738 || exit 1
21740 @endif recode
21742 .PHONY: maybe-install-info-recode install-info-recode
21743 maybe-install-info-recode:
21744 @if recode
21745 maybe-install-info-recode: install-info-recode
21747 install-info-recode: \
21748 configure-recode \
21749 info-recode
21750 @: $(MAKE); $(unstage)
21751 @[ -f ./recode/Makefile ] || exit 0; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 for flag in $(EXTRA_HOST_FLAGS) ; do \
21756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21757 done; \
21758 echo "Doing install-info in recode" ; \
21759 (cd $(HOST_SUBDIR)/recode && \
21760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21762 "RANLIB=$${RANLIB}" \
21763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21764 install-info) \
21765 || exit 1
21767 @endif recode
21769 .PHONY: maybe-installcheck-recode installcheck-recode
21770 maybe-installcheck-recode:
21771 @if recode
21772 maybe-installcheck-recode: installcheck-recode
21774 installcheck-recode: \
21775 configure-recode
21776 @: $(MAKE); $(unstage)
21777 @[ -f ./recode/Makefile ] || exit 0; \
21778 r=`${PWD_COMMAND}`; export r; \
21779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21780 $(HOST_EXPORTS) \
21781 for flag in $(EXTRA_HOST_FLAGS) ; do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21783 done; \
21784 echo "Doing installcheck in recode" ; \
21785 (cd $(HOST_SUBDIR)/recode && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21790 installcheck) \
21791 || exit 1
21793 @endif recode
21795 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21796 maybe-mostlyclean-recode:
21797 @if recode
21798 maybe-mostlyclean-recode: mostlyclean-recode
21800 mostlyclean-recode:
21801 @: $(MAKE); $(unstage)
21802 @[ -f ./recode/Makefile ] || exit 0; \
21803 r=`${PWD_COMMAND}`; export r; \
21804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21805 $(HOST_EXPORTS) \
21806 for flag in $(EXTRA_HOST_FLAGS) ; do \
21807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21808 done; \
21809 echo "Doing mostlyclean in recode" ; \
21810 (cd $(HOST_SUBDIR)/recode && \
21811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21813 "RANLIB=$${RANLIB}" \
21814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21815 mostlyclean) \
21816 || exit 1
21818 @endif recode
21820 .PHONY: maybe-clean-recode clean-recode
21821 maybe-clean-recode:
21822 @if recode
21823 maybe-clean-recode: clean-recode
21825 clean-recode:
21826 @: $(MAKE); $(unstage)
21827 @[ -f ./recode/Makefile ] || exit 0; \
21828 r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 $(HOST_EXPORTS) \
21831 for flag in $(EXTRA_HOST_FLAGS) ; do \
21832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21833 done; \
21834 echo "Doing clean in recode" ; \
21835 (cd $(HOST_SUBDIR)/recode && \
21836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21838 "RANLIB=$${RANLIB}" \
21839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21840 clean) \
21841 || exit 1
21843 @endif recode
21845 .PHONY: maybe-distclean-recode distclean-recode
21846 maybe-distclean-recode:
21847 @if recode
21848 maybe-distclean-recode: distclean-recode
21850 distclean-recode:
21851 @: $(MAKE); $(unstage)
21852 @[ -f ./recode/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 done; \
21859 echo "Doing distclean in recode" ; \
21860 (cd $(HOST_SUBDIR)/recode && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21865 distclean) \
21866 || exit 1
21868 @endif recode
21870 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21871 maybe-maintainer-clean-recode:
21872 @if recode
21873 maybe-maintainer-clean-recode: maintainer-clean-recode
21875 maintainer-clean-recode:
21876 @: $(MAKE); $(unstage)
21877 @[ -f ./recode/Makefile ] || exit 0; \
21878 r=`${PWD_COMMAND}`; export r; \
21879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21880 $(HOST_EXPORTS) \
21881 for flag in $(EXTRA_HOST_FLAGS) ; do \
21882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 done; \
21884 echo "Doing maintainer-clean in recode" ; \
21885 (cd $(HOST_SUBDIR)/recode && \
21886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21888 "RANLIB=$${RANLIB}" \
21889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21890 maintainer-clean) \
21891 || exit 1
21893 @endif recode
21897 .PHONY: configure-sed maybe-configure-sed
21898 maybe-configure-sed:
21899 @if sed
21900 maybe-configure-sed: configure-sed
21901 configure-sed:
21902 @: $(MAKE); $(unstage)
21903 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21905 r=`${PWD_COMMAND}`; export r; \
21906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21907 $(HOST_EXPORTS) \
21908 echo Configuring in $(HOST_SUBDIR)/sed; \
21909 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21910 case $(srcdir) in \
21911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21912 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21914 esac; \
21915 srcdiroption="--srcdir=$${topdir}/sed"; \
21916 libsrcdir="$$s/sed"; \
21917 $(SHELL) $${libsrcdir}/configure \
21918 $(HOST_CONFIGARGS) $${srcdiroption} \
21919 || exit 1
21920 @endif sed
21926 .PHONY: all-sed maybe-all-sed
21927 maybe-all-sed:
21928 @if sed
21929 TARGET-sed=all
21930 maybe-all-sed: all-sed
21931 all-sed: configure-sed
21932 @: $(MAKE); $(unstage)
21933 @r=`${PWD_COMMAND}`; export r; \
21934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21935 $(HOST_EXPORTS) \
21936 (cd $(HOST_SUBDIR)/sed && \
21937 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21938 @endif sed
21943 .PHONY: check-sed maybe-check-sed
21944 maybe-check-sed:
21945 @if sed
21946 maybe-check-sed: check-sed
21948 check-sed:
21949 @: $(MAKE); $(unstage)
21950 @r=`${PWD_COMMAND}`; export r; \
21951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21952 $(HOST_EXPORTS) \
21953 (cd $(HOST_SUBDIR)/sed && \
21954 $(MAKE) $(FLAGS_TO_PASS) check)
21956 @endif sed
21958 .PHONY: install-sed maybe-install-sed
21959 maybe-install-sed:
21960 @if sed
21961 maybe-install-sed: install-sed
21963 install-sed: installdirs
21964 @: $(MAKE); $(unstage)
21965 @r=`${PWD_COMMAND}`; export r; \
21966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21967 $(HOST_EXPORTS) \
21968 (cd $(HOST_SUBDIR)/sed && \
21969 $(MAKE) $(FLAGS_TO_PASS) install)
21971 @endif sed
21973 # Other targets (info, dvi, etc.)
21975 .PHONY: maybe-info-sed info-sed
21976 maybe-info-sed:
21977 @if sed
21978 maybe-info-sed: info-sed
21980 info-sed: \
21981 configure-sed
21982 @: $(MAKE); $(unstage)
21983 @[ -f ./sed/Makefile ] || exit 0; \
21984 r=`${PWD_COMMAND}`; export r; \
21985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21986 $(HOST_EXPORTS) \
21987 for flag in $(EXTRA_HOST_FLAGS) ; do \
21988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21989 done; \
21990 echo "Doing info in sed" ; \
21991 (cd $(HOST_SUBDIR)/sed && \
21992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21994 "RANLIB=$${RANLIB}" \
21995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21996 info) \
21997 || exit 1
21999 @endif sed
22001 .PHONY: maybe-dvi-sed dvi-sed
22002 maybe-dvi-sed:
22003 @if sed
22004 maybe-dvi-sed: dvi-sed
22006 dvi-sed: \
22007 configure-sed
22008 @: $(MAKE); $(unstage)
22009 @[ -f ./sed/Makefile ] || exit 0; \
22010 r=`${PWD_COMMAND}`; export r; \
22011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22012 $(HOST_EXPORTS) \
22013 for flag in $(EXTRA_HOST_FLAGS) ; do \
22014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22015 done; \
22016 echo "Doing dvi in sed" ; \
22017 (cd $(HOST_SUBDIR)/sed && \
22018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22020 "RANLIB=$${RANLIB}" \
22021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22022 dvi) \
22023 || exit 1
22025 @endif sed
22027 .PHONY: maybe-html-sed html-sed
22028 maybe-html-sed:
22029 @if sed
22030 maybe-html-sed: html-sed
22032 html-sed: \
22033 configure-sed
22034 @: $(MAKE); $(unstage)
22035 @[ -f ./sed/Makefile ] || exit 0; \
22036 r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 $(HOST_EXPORTS) \
22039 for flag in $(EXTRA_HOST_FLAGS) ; do \
22040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22041 done; \
22042 echo "Doing html in sed" ; \
22043 (cd $(HOST_SUBDIR)/sed && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046 "RANLIB=$${RANLIB}" \
22047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22048 html) \
22049 || exit 1
22051 @endif sed
22053 .PHONY: maybe-TAGS-sed TAGS-sed
22054 maybe-TAGS-sed:
22055 @if sed
22056 maybe-TAGS-sed: TAGS-sed
22058 TAGS-sed: \
22059 configure-sed
22060 @: $(MAKE); $(unstage)
22061 @[ -f ./sed/Makefile ] || exit 0; \
22062 r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22064 $(HOST_EXPORTS) \
22065 for flag in $(EXTRA_HOST_FLAGS) ; do \
22066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22067 done; \
22068 echo "Doing TAGS in sed" ; \
22069 (cd $(HOST_SUBDIR)/sed && \
22070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22072 "RANLIB=$${RANLIB}" \
22073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22074 TAGS) \
22075 || exit 1
22077 @endif sed
22079 .PHONY: maybe-install-info-sed install-info-sed
22080 maybe-install-info-sed:
22081 @if sed
22082 maybe-install-info-sed: install-info-sed
22084 install-info-sed: \
22085 configure-sed \
22086 info-sed
22087 @: $(MAKE); $(unstage)
22088 @[ -f ./sed/Makefile ] || exit 0; \
22089 r=`${PWD_COMMAND}`; export r; \
22090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22091 $(HOST_EXPORTS) \
22092 for flag in $(EXTRA_HOST_FLAGS) ; do \
22093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22094 done; \
22095 echo "Doing install-info in sed" ; \
22096 (cd $(HOST_SUBDIR)/sed && \
22097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22099 "RANLIB=$${RANLIB}" \
22100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22101 install-info) \
22102 || exit 1
22104 @endif sed
22106 .PHONY: maybe-installcheck-sed installcheck-sed
22107 maybe-installcheck-sed:
22108 @if sed
22109 maybe-installcheck-sed: installcheck-sed
22111 installcheck-sed: \
22112 configure-sed
22113 @: $(MAKE); $(unstage)
22114 @[ -f ./sed/Makefile ] || exit 0; \
22115 r=`${PWD_COMMAND}`; export r; \
22116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22117 $(HOST_EXPORTS) \
22118 for flag in $(EXTRA_HOST_FLAGS) ; do \
22119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22120 done; \
22121 echo "Doing installcheck in sed" ; \
22122 (cd $(HOST_SUBDIR)/sed && \
22123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22125 "RANLIB=$${RANLIB}" \
22126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22127 installcheck) \
22128 || exit 1
22130 @endif sed
22132 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22133 maybe-mostlyclean-sed:
22134 @if sed
22135 maybe-mostlyclean-sed: mostlyclean-sed
22137 mostlyclean-sed:
22138 @: $(MAKE); $(unstage)
22139 @[ -f ./sed/Makefile ] || exit 0; \
22140 r=`${PWD_COMMAND}`; export r; \
22141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22142 $(HOST_EXPORTS) \
22143 for flag in $(EXTRA_HOST_FLAGS) ; do \
22144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22145 done; \
22146 echo "Doing mostlyclean in sed" ; \
22147 (cd $(HOST_SUBDIR)/sed && \
22148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22150 "RANLIB=$${RANLIB}" \
22151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22152 mostlyclean) \
22153 || exit 1
22155 @endif sed
22157 .PHONY: maybe-clean-sed clean-sed
22158 maybe-clean-sed:
22159 @if sed
22160 maybe-clean-sed: clean-sed
22162 clean-sed:
22163 @: $(MAKE); $(unstage)
22164 @[ -f ./sed/Makefile ] || exit 0; \
22165 r=`${PWD_COMMAND}`; export r; \
22166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 $(HOST_EXPORTS) \
22168 for flag in $(EXTRA_HOST_FLAGS) ; do \
22169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22170 done; \
22171 echo "Doing clean in sed" ; \
22172 (cd $(HOST_SUBDIR)/sed && \
22173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22175 "RANLIB=$${RANLIB}" \
22176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22177 clean) \
22178 || exit 1
22180 @endif sed
22182 .PHONY: maybe-distclean-sed distclean-sed
22183 maybe-distclean-sed:
22184 @if sed
22185 maybe-distclean-sed: distclean-sed
22187 distclean-sed:
22188 @: $(MAKE); $(unstage)
22189 @[ -f ./sed/Makefile ] || exit 0; \
22190 r=`${PWD_COMMAND}`; export r; \
22191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22192 $(HOST_EXPORTS) \
22193 for flag in $(EXTRA_HOST_FLAGS) ; do \
22194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22195 done; \
22196 echo "Doing distclean in sed" ; \
22197 (cd $(HOST_SUBDIR)/sed && \
22198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22200 "RANLIB=$${RANLIB}" \
22201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22202 distclean) \
22203 || exit 1
22205 @endif sed
22207 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22208 maybe-maintainer-clean-sed:
22209 @if sed
22210 maybe-maintainer-clean-sed: maintainer-clean-sed
22212 maintainer-clean-sed:
22213 @: $(MAKE); $(unstage)
22214 @[ -f ./sed/Makefile ] || exit 0; \
22215 r=`${PWD_COMMAND}`; export r; \
22216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22217 $(HOST_EXPORTS) \
22218 for flag in $(EXTRA_HOST_FLAGS) ; do \
22219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22220 done; \
22221 echo "Doing maintainer-clean in sed" ; \
22222 (cd $(HOST_SUBDIR)/sed && \
22223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22225 "RANLIB=$${RANLIB}" \
22226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22227 maintainer-clean) \
22228 || exit 1
22230 @endif sed
22234 .PHONY: configure-send-pr maybe-configure-send-pr
22235 maybe-configure-send-pr:
22236 @if send-pr
22237 maybe-configure-send-pr: configure-send-pr
22238 configure-send-pr:
22239 @: $(MAKE); $(unstage)
22240 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22242 r=`${PWD_COMMAND}`; export r; \
22243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22244 $(HOST_EXPORTS) \
22245 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22246 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22247 case $(srcdir) in \
22248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22249 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22251 esac; \
22252 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22253 libsrcdir="$$s/send-pr"; \
22254 $(SHELL) $${libsrcdir}/configure \
22255 $(HOST_CONFIGARGS) $${srcdiroption} \
22256 || exit 1
22257 @endif send-pr
22263 .PHONY: all-send-pr maybe-all-send-pr
22264 maybe-all-send-pr:
22265 @if send-pr
22266 TARGET-send-pr=all
22267 maybe-all-send-pr: all-send-pr
22268 all-send-pr: configure-send-pr
22269 @: $(MAKE); $(unstage)
22270 @r=`${PWD_COMMAND}`; export r; \
22271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22272 $(HOST_EXPORTS) \
22273 (cd $(HOST_SUBDIR)/send-pr && \
22274 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22275 @endif send-pr
22280 .PHONY: check-send-pr maybe-check-send-pr
22281 maybe-check-send-pr:
22282 @if send-pr
22283 maybe-check-send-pr: check-send-pr
22285 check-send-pr:
22286 @: $(MAKE); $(unstage)
22287 @r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 $(HOST_EXPORTS) \
22290 (cd $(HOST_SUBDIR)/send-pr && \
22291 $(MAKE) $(FLAGS_TO_PASS) check)
22293 @endif send-pr
22295 .PHONY: install-send-pr maybe-install-send-pr
22296 maybe-install-send-pr:
22297 @if send-pr
22298 maybe-install-send-pr: install-send-pr
22300 install-send-pr: installdirs
22301 @: $(MAKE); $(unstage)
22302 @r=`${PWD_COMMAND}`; export r; \
22303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 $(HOST_EXPORTS) \
22305 (cd $(HOST_SUBDIR)/send-pr && \
22306 $(MAKE) $(FLAGS_TO_PASS) install)
22308 @endif send-pr
22310 # Other targets (info, dvi, etc.)
22312 .PHONY: maybe-info-send-pr info-send-pr
22313 maybe-info-send-pr:
22314 @if send-pr
22315 maybe-info-send-pr: info-send-pr
22317 info-send-pr: \
22318 configure-send-pr
22319 @: $(MAKE); $(unstage)
22320 @[ -f ./send-pr/Makefile ] || exit 0; \
22321 r=`${PWD_COMMAND}`; export r; \
22322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22323 $(HOST_EXPORTS) \
22324 for flag in $(EXTRA_HOST_FLAGS) ; do \
22325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22326 done; \
22327 echo "Doing info in send-pr" ; \
22328 (cd $(HOST_SUBDIR)/send-pr && \
22329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22331 "RANLIB=$${RANLIB}" \
22332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22333 info) \
22334 || exit 1
22336 @endif send-pr
22338 .PHONY: maybe-dvi-send-pr dvi-send-pr
22339 maybe-dvi-send-pr:
22340 @if send-pr
22341 maybe-dvi-send-pr: dvi-send-pr
22343 dvi-send-pr: \
22344 configure-send-pr
22345 @: $(MAKE); $(unstage)
22346 @[ -f ./send-pr/Makefile ] || exit 0; \
22347 r=`${PWD_COMMAND}`; export r; \
22348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22349 $(HOST_EXPORTS) \
22350 for flag in $(EXTRA_HOST_FLAGS) ; do \
22351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22352 done; \
22353 echo "Doing dvi in send-pr" ; \
22354 (cd $(HOST_SUBDIR)/send-pr && \
22355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22357 "RANLIB=$${RANLIB}" \
22358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22359 dvi) \
22360 || exit 1
22362 @endif send-pr
22364 .PHONY: maybe-html-send-pr html-send-pr
22365 maybe-html-send-pr:
22366 @if send-pr
22367 maybe-html-send-pr: html-send-pr
22369 html-send-pr: \
22370 configure-send-pr
22371 @: $(MAKE); $(unstage)
22372 @[ -f ./send-pr/Makefile ] || exit 0; \
22373 r=`${PWD_COMMAND}`; export r; \
22374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22375 $(HOST_EXPORTS) \
22376 for flag in $(EXTRA_HOST_FLAGS) ; do \
22377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22378 done; \
22379 echo "Doing html in send-pr" ; \
22380 (cd $(HOST_SUBDIR)/send-pr && \
22381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22383 "RANLIB=$${RANLIB}" \
22384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22385 html) \
22386 || exit 1
22388 @endif send-pr
22390 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22391 maybe-TAGS-send-pr:
22392 @if send-pr
22393 maybe-TAGS-send-pr: TAGS-send-pr
22395 TAGS-send-pr: \
22396 configure-send-pr
22397 @: $(MAKE); $(unstage)
22398 @[ -f ./send-pr/Makefile ] || exit 0; \
22399 r=`${PWD_COMMAND}`; export r; \
22400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22401 $(HOST_EXPORTS) \
22402 for flag in $(EXTRA_HOST_FLAGS) ; do \
22403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22404 done; \
22405 echo "Doing TAGS in send-pr" ; \
22406 (cd $(HOST_SUBDIR)/send-pr && \
22407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22409 "RANLIB=$${RANLIB}" \
22410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22411 TAGS) \
22412 || exit 1
22414 @endif send-pr
22416 .PHONY: maybe-install-info-send-pr install-info-send-pr
22417 maybe-install-info-send-pr:
22418 @if send-pr
22419 maybe-install-info-send-pr: install-info-send-pr
22421 install-info-send-pr: \
22422 configure-send-pr \
22423 info-send-pr
22424 @: $(MAKE); $(unstage)
22425 @[ -f ./send-pr/Makefile ] || exit 0; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(HOST_EXPORTS) \
22429 for flag in $(EXTRA_HOST_FLAGS) ; do \
22430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22431 done; \
22432 echo "Doing install-info in send-pr" ; \
22433 (cd $(HOST_SUBDIR)/send-pr && \
22434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436 "RANLIB=$${RANLIB}" \
22437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22438 install-info) \
22439 || exit 1
22441 @endif send-pr
22443 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22444 maybe-installcheck-send-pr:
22445 @if send-pr
22446 maybe-installcheck-send-pr: installcheck-send-pr
22448 installcheck-send-pr: \
22449 configure-send-pr
22450 @: $(MAKE); $(unstage)
22451 @[ -f ./send-pr/Makefile ] || exit 0; \
22452 r=`${PWD_COMMAND}`; export r; \
22453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22454 $(HOST_EXPORTS) \
22455 for flag in $(EXTRA_HOST_FLAGS) ; do \
22456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22457 done; \
22458 echo "Doing installcheck in send-pr" ; \
22459 (cd $(HOST_SUBDIR)/send-pr && \
22460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22462 "RANLIB=$${RANLIB}" \
22463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22464 installcheck) \
22465 || exit 1
22467 @endif send-pr
22469 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22470 maybe-mostlyclean-send-pr:
22471 @if send-pr
22472 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22474 mostlyclean-send-pr:
22475 @: $(MAKE); $(unstage)
22476 @[ -f ./send-pr/Makefile ] || exit 0; \
22477 r=`${PWD_COMMAND}`; export r; \
22478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22479 $(HOST_EXPORTS) \
22480 for flag in $(EXTRA_HOST_FLAGS) ; do \
22481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22482 done; \
22483 echo "Doing mostlyclean in send-pr" ; \
22484 (cd $(HOST_SUBDIR)/send-pr && \
22485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22487 "RANLIB=$${RANLIB}" \
22488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22489 mostlyclean) \
22490 || exit 1
22492 @endif send-pr
22494 .PHONY: maybe-clean-send-pr clean-send-pr
22495 maybe-clean-send-pr:
22496 @if send-pr
22497 maybe-clean-send-pr: clean-send-pr
22499 clean-send-pr:
22500 @: $(MAKE); $(unstage)
22501 @[ -f ./send-pr/Makefile ] || exit 0; \
22502 r=`${PWD_COMMAND}`; export r; \
22503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22504 $(HOST_EXPORTS) \
22505 for flag in $(EXTRA_HOST_FLAGS) ; do \
22506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22507 done; \
22508 echo "Doing clean in send-pr" ; \
22509 (cd $(HOST_SUBDIR)/send-pr && \
22510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22512 "RANLIB=$${RANLIB}" \
22513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22514 clean) \
22515 || exit 1
22517 @endif send-pr
22519 .PHONY: maybe-distclean-send-pr distclean-send-pr
22520 maybe-distclean-send-pr:
22521 @if send-pr
22522 maybe-distclean-send-pr: distclean-send-pr
22524 distclean-send-pr:
22525 @: $(MAKE); $(unstage)
22526 @[ -f ./send-pr/Makefile ] || exit 0; \
22527 r=`${PWD_COMMAND}`; export r; \
22528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22529 $(HOST_EXPORTS) \
22530 for flag in $(EXTRA_HOST_FLAGS) ; do \
22531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22532 done; \
22533 echo "Doing distclean in send-pr" ; \
22534 (cd $(HOST_SUBDIR)/send-pr && \
22535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22537 "RANLIB=$${RANLIB}" \
22538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22539 distclean) \
22540 || exit 1
22542 @endif send-pr
22544 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22545 maybe-maintainer-clean-send-pr:
22546 @if send-pr
22547 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22549 maintainer-clean-send-pr:
22550 @: $(MAKE); $(unstage)
22551 @[ -f ./send-pr/Makefile ] || exit 0; \
22552 r=`${PWD_COMMAND}`; export r; \
22553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22554 $(HOST_EXPORTS) \
22555 for flag in $(EXTRA_HOST_FLAGS) ; do \
22556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22557 done; \
22558 echo "Doing maintainer-clean in send-pr" ; \
22559 (cd $(HOST_SUBDIR)/send-pr && \
22560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22562 "RANLIB=$${RANLIB}" \
22563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22564 maintainer-clean) \
22565 || exit 1
22567 @endif send-pr
22571 .PHONY: configure-shellutils maybe-configure-shellutils
22572 maybe-configure-shellutils:
22573 @if shellutils
22574 maybe-configure-shellutils: configure-shellutils
22575 configure-shellutils:
22576 @: $(MAKE); $(unstage)
22577 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22579 r=`${PWD_COMMAND}`; export r; \
22580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22581 $(HOST_EXPORTS) \
22582 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22583 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22584 case $(srcdir) in \
22585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22586 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22588 esac; \
22589 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22590 libsrcdir="$$s/shellutils"; \
22591 $(SHELL) $${libsrcdir}/configure \
22592 $(HOST_CONFIGARGS) $${srcdiroption} \
22593 || exit 1
22594 @endif shellutils
22600 .PHONY: all-shellutils maybe-all-shellutils
22601 maybe-all-shellutils:
22602 @if shellutils
22603 TARGET-shellutils=all
22604 maybe-all-shellutils: all-shellutils
22605 all-shellutils: configure-shellutils
22606 @: $(MAKE); $(unstage)
22607 @r=`${PWD_COMMAND}`; export r; \
22608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22609 $(HOST_EXPORTS) \
22610 (cd $(HOST_SUBDIR)/shellutils && \
22611 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22612 @endif shellutils
22617 .PHONY: check-shellutils maybe-check-shellutils
22618 maybe-check-shellutils:
22619 @if shellutils
22620 maybe-check-shellutils: check-shellutils
22622 check-shellutils:
22623 @: $(MAKE); $(unstage)
22624 @r=`${PWD_COMMAND}`; export r; \
22625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22626 $(HOST_EXPORTS) \
22627 (cd $(HOST_SUBDIR)/shellutils && \
22628 $(MAKE) $(FLAGS_TO_PASS) check)
22630 @endif shellutils
22632 .PHONY: install-shellutils maybe-install-shellutils
22633 maybe-install-shellutils:
22634 @if shellutils
22635 maybe-install-shellutils: install-shellutils
22637 install-shellutils: installdirs
22638 @: $(MAKE); $(unstage)
22639 @r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 $(HOST_EXPORTS) \
22642 (cd $(HOST_SUBDIR)/shellutils && \
22643 $(MAKE) $(FLAGS_TO_PASS) install)
22645 @endif shellutils
22647 # Other targets (info, dvi, etc.)
22649 .PHONY: maybe-info-shellutils info-shellutils
22650 maybe-info-shellutils:
22651 @if shellutils
22652 maybe-info-shellutils: info-shellutils
22654 info-shellutils: \
22655 configure-shellutils
22656 @: $(MAKE); $(unstage)
22657 @[ -f ./shellutils/Makefile ] || exit 0; \
22658 r=`${PWD_COMMAND}`; export r; \
22659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22660 $(HOST_EXPORTS) \
22661 for flag in $(EXTRA_HOST_FLAGS) ; do \
22662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22663 done; \
22664 echo "Doing info in shellutils" ; \
22665 (cd $(HOST_SUBDIR)/shellutils && \
22666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22668 "RANLIB=$${RANLIB}" \
22669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22670 info) \
22671 || exit 1
22673 @endif shellutils
22675 .PHONY: maybe-dvi-shellutils dvi-shellutils
22676 maybe-dvi-shellutils:
22677 @if shellutils
22678 maybe-dvi-shellutils: dvi-shellutils
22680 dvi-shellutils: \
22681 configure-shellutils
22682 @: $(MAKE); $(unstage)
22683 @[ -f ./shellutils/Makefile ] || exit 0; \
22684 r=`${PWD_COMMAND}`; export r; \
22685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22686 $(HOST_EXPORTS) \
22687 for flag in $(EXTRA_HOST_FLAGS) ; do \
22688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22689 done; \
22690 echo "Doing dvi in shellutils" ; \
22691 (cd $(HOST_SUBDIR)/shellutils && \
22692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22694 "RANLIB=$${RANLIB}" \
22695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22696 dvi) \
22697 || exit 1
22699 @endif shellutils
22701 .PHONY: maybe-html-shellutils html-shellutils
22702 maybe-html-shellutils:
22703 @if shellutils
22704 maybe-html-shellutils: html-shellutils
22706 html-shellutils: \
22707 configure-shellutils
22708 @: $(MAKE); $(unstage)
22709 @[ -f ./shellutils/Makefile ] || exit 0; \
22710 r=`${PWD_COMMAND}`; export r; \
22711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22712 $(HOST_EXPORTS) \
22713 for flag in $(EXTRA_HOST_FLAGS) ; do \
22714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22715 done; \
22716 echo "Doing html in shellutils" ; \
22717 (cd $(HOST_SUBDIR)/shellutils && \
22718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22720 "RANLIB=$${RANLIB}" \
22721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22722 html) \
22723 || exit 1
22725 @endif shellutils
22727 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22728 maybe-TAGS-shellutils:
22729 @if shellutils
22730 maybe-TAGS-shellutils: TAGS-shellutils
22732 TAGS-shellutils: \
22733 configure-shellutils
22734 @: $(MAKE); $(unstage)
22735 @[ -f ./shellutils/Makefile ] || exit 0; \
22736 r=`${PWD_COMMAND}`; export r; \
22737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22738 $(HOST_EXPORTS) \
22739 for flag in $(EXTRA_HOST_FLAGS) ; do \
22740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22741 done; \
22742 echo "Doing TAGS in shellutils" ; \
22743 (cd $(HOST_SUBDIR)/shellutils && \
22744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22746 "RANLIB=$${RANLIB}" \
22747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22748 TAGS) \
22749 || exit 1
22751 @endif shellutils
22753 .PHONY: maybe-install-info-shellutils install-info-shellutils
22754 maybe-install-info-shellutils:
22755 @if shellutils
22756 maybe-install-info-shellutils: install-info-shellutils
22758 install-info-shellutils: \
22759 configure-shellutils \
22760 info-shellutils
22761 @: $(MAKE); $(unstage)
22762 @[ -f ./shellutils/Makefile ] || exit 0; \
22763 r=`${PWD_COMMAND}`; export r; \
22764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 $(HOST_EXPORTS) \
22766 for flag in $(EXTRA_HOST_FLAGS) ; do \
22767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22768 done; \
22769 echo "Doing install-info in shellutils" ; \
22770 (cd $(HOST_SUBDIR)/shellutils && \
22771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22773 "RANLIB=$${RANLIB}" \
22774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22775 install-info) \
22776 || exit 1
22778 @endif shellutils
22780 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22781 maybe-installcheck-shellutils:
22782 @if shellutils
22783 maybe-installcheck-shellutils: installcheck-shellutils
22785 installcheck-shellutils: \
22786 configure-shellutils
22787 @: $(MAKE); $(unstage)
22788 @[ -f ./shellutils/Makefile ] || exit 0; \
22789 r=`${PWD_COMMAND}`; export r; \
22790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22791 $(HOST_EXPORTS) \
22792 for flag in $(EXTRA_HOST_FLAGS) ; do \
22793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22794 done; \
22795 echo "Doing installcheck in shellutils" ; \
22796 (cd $(HOST_SUBDIR)/shellutils && \
22797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22799 "RANLIB=$${RANLIB}" \
22800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22801 installcheck) \
22802 || exit 1
22804 @endif shellutils
22806 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22807 maybe-mostlyclean-shellutils:
22808 @if shellutils
22809 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22811 mostlyclean-shellutils:
22812 @: $(MAKE); $(unstage)
22813 @[ -f ./shellutils/Makefile ] || exit 0; \
22814 r=`${PWD_COMMAND}`; export r; \
22815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22816 $(HOST_EXPORTS) \
22817 for flag in $(EXTRA_HOST_FLAGS) ; do \
22818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22819 done; \
22820 echo "Doing mostlyclean in shellutils" ; \
22821 (cd $(HOST_SUBDIR)/shellutils && \
22822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22824 "RANLIB=$${RANLIB}" \
22825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22826 mostlyclean) \
22827 || exit 1
22829 @endif shellutils
22831 .PHONY: maybe-clean-shellutils clean-shellutils
22832 maybe-clean-shellutils:
22833 @if shellutils
22834 maybe-clean-shellutils: clean-shellutils
22836 clean-shellutils:
22837 @: $(MAKE); $(unstage)
22838 @[ -f ./shellutils/Makefile ] || exit 0; \
22839 r=`${PWD_COMMAND}`; export r; \
22840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22841 $(HOST_EXPORTS) \
22842 for flag in $(EXTRA_HOST_FLAGS) ; do \
22843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22844 done; \
22845 echo "Doing clean in shellutils" ; \
22846 (cd $(HOST_SUBDIR)/shellutils && \
22847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22849 "RANLIB=$${RANLIB}" \
22850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22851 clean) \
22852 || exit 1
22854 @endif shellutils
22856 .PHONY: maybe-distclean-shellutils distclean-shellutils
22857 maybe-distclean-shellutils:
22858 @if shellutils
22859 maybe-distclean-shellutils: distclean-shellutils
22861 distclean-shellutils:
22862 @: $(MAKE); $(unstage)
22863 @[ -f ./shellutils/Makefile ] || exit 0; \
22864 r=`${PWD_COMMAND}`; export r; \
22865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22866 $(HOST_EXPORTS) \
22867 for flag in $(EXTRA_HOST_FLAGS) ; do \
22868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22869 done; \
22870 echo "Doing distclean in shellutils" ; \
22871 (cd $(HOST_SUBDIR)/shellutils && \
22872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22874 "RANLIB=$${RANLIB}" \
22875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22876 distclean) \
22877 || exit 1
22879 @endif shellutils
22881 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22882 maybe-maintainer-clean-shellutils:
22883 @if shellutils
22884 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22886 maintainer-clean-shellutils:
22887 @: $(MAKE); $(unstage)
22888 @[ -f ./shellutils/Makefile ] || exit 0; \
22889 r=`${PWD_COMMAND}`; export r; \
22890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22891 $(HOST_EXPORTS) \
22892 for flag in $(EXTRA_HOST_FLAGS) ; do \
22893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22894 done; \
22895 echo "Doing maintainer-clean in shellutils" ; \
22896 (cd $(HOST_SUBDIR)/shellutils && \
22897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22899 "RANLIB=$${RANLIB}" \
22900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22901 maintainer-clean) \
22902 || exit 1
22904 @endif shellutils
22908 .PHONY: configure-sid maybe-configure-sid
22909 maybe-configure-sid:
22910 @if sid
22911 maybe-configure-sid: configure-sid
22912 configure-sid:
22913 @: $(MAKE); $(unstage)
22914 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22916 r=`${PWD_COMMAND}`; export r; \
22917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22918 $(HOST_EXPORTS) \
22919 echo Configuring in $(HOST_SUBDIR)/sid; \
22920 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22921 case $(srcdir) in \
22922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22923 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22925 esac; \
22926 srcdiroption="--srcdir=$${topdir}/sid"; \
22927 libsrcdir="$$s/sid"; \
22928 $(SHELL) $${libsrcdir}/configure \
22929 $(HOST_CONFIGARGS) $${srcdiroption} \
22930 || exit 1
22931 @endif sid
22937 .PHONY: all-sid maybe-all-sid
22938 maybe-all-sid:
22939 @if sid
22940 TARGET-sid=all
22941 maybe-all-sid: all-sid
22942 all-sid: configure-sid
22943 @: $(MAKE); $(unstage)
22944 @r=`${PWD_COMMAND}`; export r; \
22945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22946 $(HOST_EXPORTS) \
22947 (cd $(HOST_SUBDIR)/sid && \
22948 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22949 @endif sid
22954 .PHONY: check-sid maybe-check-sid
22955 maybe-check-sid:
22956 @if sid
22957 maybe-check-sid: check-sid
22959 check-sid:
22960 @: $(MAKE); $(unstage)
22961 @r=`${PWD_COMMAND}`; export r; \
22962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22963 $(HOST_EXPORTS) \
22964 (cd $(HOST_SUBDIR)/sid && \
22965 $(MAKE) $(FLAGS_TO_PASS) check)
22967 @endif sid
22969 .PHONY: install-sid maybe-install-sid
22970 maybe-install-sid:
22971 @if sid
22972 maybe-install-sid: install-sid
22974 install-sid: installdirs
22975 @: $(MAKE); $(unstage)
22976 @r=`${PWD_COMMAND}`; export r; \
22977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22978 $(HOST_EXPORTS) \
22979 (cd $(HOST_SUBDIR)/sid && \
22980 $(MAKE) $(FLAGS_TO_PASS) install)
22982 @endif sid
22984 # Other targets (info, dvi, etc.)
22986 .PHONY: maybe-info-sid info-sid
22987 maybe-info-sid:
22988 @if sid
22989 maybe-info-sid: info-sid
22991 info-sid: \
22992 configure-sid
22993 @: $(MAKE); $(unstage)
22994 @[ -f ./sid/Makefile ] || exit 0; \
22995 r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22997 $(HOST_EXPORTS) \
22998 for flag in $(EXTRA_HOST_FLAGS) ; do \
22999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23000 done; \
23001 echo "Doing info in sid" ; \
23002 (cd $(HOST_SUBDIR)/sid && \
23003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23005 "RANLIB=$${RANLIB}" \
23006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23007 info) \
23008 || exit 1
23010 @endif sid
23012 .PHONY: maybe-dvi-sid dvi-sid
23013 maybe-dvi-sid:
23014 @if sid
23015 maybe-dvi-sid: dvi-sid
23017 dvi-sid: \
23018 configure-sid
23019 @: $(MAKE); $(unstage)
23020 @[ -f ./sid/Makefile ] || exit 0; \
23021 r=`${PWD_COMMAND}`; export r; \
23022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23023 $(HOST_EXPORTS) \
23024 for flag in $(EXTRA_HOST_FLAGS) ; do \
23025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23026 done; \
23027 echo "Doing dvi in sid" ; \
23028 (cd $(HOST_SUBDIR)/sid && \
23029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23031 "RANLIB=$${RANLIB}" \
23032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23033 dvi) \
23034 || exit 1
23036 @endif sid
23038 .PHONY: maybe-html-sid html-sid
23039 maybe-html-sid:
23040 @if sid
23041 maybe-html-sid: html-sid
23043 html-sid: \
23044 configure-sid
23045 @: $(MAKE); $(unstage)
23046 @[ -f ./sid/Makefile ] || exit 0; \
23047 r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 $(HOST_EXPORTS) \
23050 for flag in $(EXTRA_HOST_FLAGS) ; do \
23051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23052 done; \
23053 echo "Doing html in sid" ; \
23054 (cd $(HOST_SUBDIR)/sid && \
23055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23057 "RANLIB=$${RANLIB}" \
23058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23059 html) \
23060 || exit 1
23062 @endif sid
23064 .PHONY: maybe-TAGS-sid TAGS-sid
23065 maybe-TAGS-sid:
23066 @if sid
23067 maybe-TAGS-sid: TAGS-sid
23069 TAGS-sid: \
23070 configure-sid
23071 @: $(MAKE); $(unstage)
23072 @[ -f ./sid/Makefile ] || exit 0; \
23073 r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 $(HOST_EXPORTS) \
23076 for flag in $(EXTRA_HOST_FLAGS) ; do \
23077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23078 done; \
23079 echo "Doing TAGS in sid" ; \
23080 (cd $(HOST_SUBDIR)/sid && \
23081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23083 "RANLIB=$${RANLIB}" \
23084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23085 TAGS) \
23086 || exit 1
23088 @endif sid
23090 .PHONY: maybe-install-info-sid install-info-sid
23091 maybe-install-info-sid:
23092 @if sid
23093 maybe-install-info-sid: install-info-sid
23095 install-info-sid: \
23096 configure-sid \
23097 info-sid
23098 @: $(MAKE); $(unstage)
23099 @[ -f ./sid/Makefile ] || exit 0; \
23100 r=`${PWD_COMMAND}`; export r; \
23101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23102 $(HOST_EXPORTS) \
23103 for flag in $(EXTRA_HOST_FLAGS) ; do \
23104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23105 done; \
23106 echo "Doing install-info in sid" ; \
23107 (cd $(HOST_SUBDIR)/sid && \
23108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23110 "RANLIB=$${RANLIB}" \
23111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23112 install-info) \
23113 || exit 1
23115 @endif sid
23117 .PHONY: maybe-installcheck-sid installcheck-sid
23118 maybe-installcheck-sid:
23119 @if sid
23120 maybe-installcheck-sid: installcheck-sid
23122 installcheck-sid: \
23123 configure-sid
23124 @: $(MAKE); $(unstage)
23125 @[ -f ./sid/Makefile ] || exit 0; \
23126 r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 $(HOST_EXPORTS) \
23129 for flag in $(EXTRA_HOST_FLAGS) ; do \
23130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23131 done; \
23132 echo "Doing installcheck in sid" ; \
23133 (cd $(HOST_SUBDIR)/sid && \
23134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23136 "RANLIB=$${RANLIB}" \
23137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23138 installcheck) \
23139 || exit 1
23141 @endif sid
23143 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23144 maybe-mostlyclean-sid:
23145 @if sid
23146 maybe-mostlyclean-sid: mostlyclean-sid
23148 mostlyclean-sid:
23149 @: $(MAKE); $(unstage)
23150 @[ -f ./sid/Makefile ] || exit 0; \
23151 r=`${PWD_COMMAND}`; export r; \
23152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23153 $(HOST_EXPORTS) \
23154 for flag in $(EXTRA_HOST_FLAGS) ; do \
23155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23156 done; \
23157 echo "Doing mostlyclean in sid" ; \
23158 (cd $(HOST_SUBDIR)/sid && \
23159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23161 "RANLIB=$${RANLIB}" \
23162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23163 mostlyclean) \
23164 || exit 1
23166 @endif sid
23168 .PHONY: maybe-clean-sid clean-sid
23169 maybe-clean-sid:
23170 @if sid
23171 maybe-clean-sid: clean-sid
23173 clean-sid:
23174 @: $(MAKE); $(unstage)
23175 @[ -f ./sid/Makefile ] || exit 0; \
23176 r=`${PWD_COMMAND}`; export r; \
23177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178 $(HOST_EXPORTS) \
23179 for flag in $(EXTRA_HOST_FLAGS) ; do \
23180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23181 done; \
23182 echo "Doing clean in sid" ; \
23183 (cd $(HOST_SUBDIR)/sid && \
23184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23186 "RANLIB=$${RANLIB}" \
23187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23188 clean) \
23189 || exit 1
23191 @endif sid
23193 .PHONY: maybe-distclean-sid distclean-sid
23194 maybe-distclean-sid:
23195 @if sid
23196 maybe-distclean-sid: distclean-sid
23198 distclean-sid:
23199 @: $(MAKE); $(unstage)
23200 @[ -f ./sid/Makefile ] || exit 0; \
23201 r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 $(HOST_EXPORTS) \
23204 for flag in $(EXTRA_HOST_FLAGS) ; do \
23205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23206 done; \
23207 echo "Doing distclean in sid" ; \
23208 (cd $(HOST_SUBDIR)/sid && \
23209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23211 "RANLIB=$${RANLIB}" \
23212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23213 distclean) \
23214 || exit 1
23216 @endif sid
23218 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23219 maybe-maintainer-clean-sid:
23220 @if sid
23221 maybe-maintainer-clean-sid: maintainer-clean-sid
23223 maintainer-clean-sid:
23224 @: $(MAKE); $(unstage)
23225 @[ -f ./sid/Makefile ] || exit 0; \
23226 r=`${PWD_COMMAND}`; export r; \
23227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23228 $(HOST_EXPORTS) \
23229 for flag in $(EXTRA_HOST_FLAGS) ; do \
23230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23231 done; \
23232 echo "Doing maintainer-clean in sid" ; \
23233 (cd $(HOST_SUBDIR)/sid && \
23234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23236 "RANLIB=$${RANLIB}" \
23237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23238 maintainer-clean) \
23239 || exit 1
23241 @endif sid
23245 .PHONY: configure-sim maybe-configure-sim
23246 maybe-configure-sim:
23247 @if sim
23248 maybe-configure-sim: configure-sim
23249 configure-sim:
23250 @: $(MAKE); $(unstage)
23251 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23253 r=`${PWD_COMMAND}`; export r; \
23254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23255 $(HOST_EXPORTS) \
23256 echo Configuring in $(HOST_SUBDIR)/sim; \
23257 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23258 case $(srcdir) in \
23259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23260 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23262 esac; \
23263 srcdiroption="--srcdir=$${topdir}/sim"; \
23264 libsrcdir="$$s/sim"; \
23265 $(SHELL) $${libsrcdir}/configure \
23266 $(HOST_CONFIGARGS) $${srcdiroption} \
23267 || exit 1
23268 @endif sim
23274 .PHONY: all-sim maybe-all-sim
23275 maybe-all-sim:
23276 @if sim
23277 TARGET-sim=all
23278 maybe-all-sim: all-sim
23279 all-sim: configure-sim
23280 @: $(MAKE); $(unstage)
23281 @r=`${PWD_COMMAND}`; export r; \
23282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283 $(HOST_EXPORTS) \
23284 (cd $(HOST_SUBDIR)/sim && \
23285 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23286 @endif sim
23291 .PHONY: check-sim maybe-check-sim
23292 maybe-check-sim:
23293 @if sim
23294 maybe-check-sim: check-sim
23296 check-sim:
23297 @: $(MAKE); $(unstage)
23298 @r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(HOST_EXPORTS) \
23301 (cd $(HOST_SUBDIR)/sim && \
23302 $(MAKE) $(FLAGS_TO_PASS) check)
23304 @endif sim
23306 .PHONY: install-sim maybe-install-sim
23307 maybe-install-sim:
23308 @if sim
23309 maybe-install-sim: install-sim
23311 install-sim: installdirs
23312 @: $(MAKE); $(unstage)
23313 @r=`${PWD_COMMAND}`; export r; \
23314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23315 $(HOST_EXPORTS) \
23316 (cd $(HOST_SUBDIR)/sim && \
23317 $(MAKE) $(FLAGS_TO_PASS) install)
23319 @endif sim
23321 # Other targets (info, dvi, etc.)
23323 .PHONY: maybe-info-sim info-sim
23324 maybe-info-sim:
23325 @if sim
23326 maybe-info-sim: info-sim
23328 info-sim: \
23329 configure-sim
23330 @: $(MAKE); $(unstage)
23331 @[ -f ./sim/Makefile ] || exit 0; \
23332 r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334 $(HOST_EXPORTS) \
23335 for flag in $(EXTRA_HOST_FLAGS) ; do \
23336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23337 done; \
23338 echo "Doing info in sim" ; \
23339 (cd $(HOST_SUBDIR)/sim && \
23340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23342 "RANLIB=$${RANLIB}" \
23343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23344 info) \
23345 || exit 1
23347 @endif sim
23349 .PHONY: maybe-dvi-sim dvi-sim
23350 maybe-dvi-sim:
23351 @if sim
23352 maybe-dvi-sim: dvi-sim
23354 dvi-sim: \
23355 configure-sim
23356 @: $(MAKE); $(unstage)
23357 @[ -f ./sim/Makefile ] || exit 0; \
23358 r=`${PWD_COMMAND}`; export r; \
23359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23360 $(HOST_EXPORTS) \
23361 for flag in $(EXTRA_HOST_FLAGS) ; do \
23362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23363 done; \
23364 echo "Doing dvi in sim" ; \
23365 (cd $(HOST_SUBDIR)/sim && \
23366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23368 "RANLIB=$${RANLIB}" \
23369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23370 dvi) \
23371 || exit 1
23373 @endif sim
23375 .PHONY: maybe-html-sim html-sim
23376 maybe-html-sim:
23377 @if sim
23378 maybe-html-sim: html-sim
23380 html-sim: \
23381 configure-sim
23382 @: $(MAKE); $(unstage)
23383 @[ -f ./sim/Makefile ] || exit 0; \
23384 r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 $(HOST_EXPORTS) \
23387 for flag in $(EXTRA_HOST_FLAGS) ; do \
23388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23389 done; \
23390 echo "Doing html in sim" ; \
23391 (cd $(HOST_SUBDIR)/sim && \
23392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394 "RANLIB=$${RANLIB}" \
23395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23396 html) \
23397 || exit 1
23399 @endif sim
23401 .PHONY: maybe-TAGS-sim TAGS-sim
23402 maybe-TAGS-sim:
23403 @if sim
23404 maybe-TAGS-sim: TAGS-sim
23406 TAGS-sim: \
23407 configure-sim
23408 @: $(MAKE); $(unstage)
23409 @[ -f ./sim/Makefile ] || exit 0; \
23410 r=`${PWD_COMMAND}`; export r; \
23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23412 $(HOST_EXPORTS) \
23413 for flag in $(EXTRA_HOST_FLAGS) ; do \
23414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415 done; \
23416 echo "Doing TAGS in sim" ; \
23417 (cd $(HOST_SUBDIR)/sim && \
23418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23420 "RANLIB=$${RANLIB}" \
23421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23422 TAGS) \
23423 || exit 1
23425 @endif sim
23427 .PHONY: maybe-install-info-sim install-info-sim
23428 maybe-install-info-sim:
23429 @if sim
23430 maybe-install-info-sim: install-info-sim
23432 install-info-sim: \
23433 configure-sim \
23434 info-sim
23435 @: $(MAKE); $(unstage)
23436 @[ -f ./sim/Makefile ] || exit 0; \
23437 r=`${PWD_COMMAND}`; export r; \
23438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 $(HOST_EXPORTS) \
23440 for flag in $(EXTRA_HOST_FLAGS) ; do \
23441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23442 done; \
23443 echo "Doing install-info in sim" ; \
23444 (cd $(HOST_SUBDIR)/sim && \
23445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23447 "RANLIB=$${RANLIB}" \
23448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23449 install-info) \
23450 || exit 1
23452 @endif sim
23454 .PHONY: maybe-installcheck-sim installcheck-sim
23455 maybe-installcheck-sim:
23456 @if sim
23457 maybe-installcheck-sim: installcheck-sim
23459 installcheck-sim: \
23460 configure-sim
23461 @: $(MAKE); $(unstage)
23462 @[ -f ./sim/Makefile ] || exit 0; \
23463 r=`${PWD_COMMAND}`; export r; \
23464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23465 $(HOST_EXPORTS) \
23466 for flag in $(EXTRA_HOST_FLAGS) ; do \
23467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23468 done; \
23469 echo "Doing installcheck in sim" ; \
23470 (cd $(HOST_SUBDIR)/sim && \
23471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23473 "RANLIB=$${RANLIB}" \
23474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23475 installcheck) \
23476 || exit 1
23478 @endif sim
23480 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23481 maybe-mostlyclean-sim:
23482 @if sim
23483 maybe-mostlyclean-sim: mostlyclean-sim
23485 mostlyclean-sim:
23486 @: $(MAKE); $(unstage)
23487 @[ -f ./sim/Makefile ] || exit 0; \
23488 r=`${PWD_COMMAND}`; export r; \
23489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23490 $(HOST_EXPORTS) \
23491 for flag in $(EXTRA_HOST_FLAGS) ; do \
23492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23493 done; \
23494 echo "Doing mostlyclean in sim" ; \
23495 (cd $(HOST_SUBDIR)/sim && \
23496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23498 "RANLIB=$${RANLIB}" \
23499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23500 mostlyclean) \
23501 || exit 1
23503 @endif sim
23505 .PHONY: maybe-clean-sim clean-sim
23506 maybe-clean-sim:
23507 @if sim
23508 maybe-clean-sim: clean-sim
23510 clean-sim:
23511 @: $(MAKE); $(unstage)
23512 @[ -f ./sim/Makefile ] || exit 0; \
23513 r=`${PWD_COMMAND}`; export r; \
23514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23515 $(HOST_EXPORTS) \
23516 for flag in $(EXTRA_HOST_FLAGS) ; do \
23517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23518 done; \
23519 echo "Doing clean in sim" ; \
23520 (cd $(HOST_SUBDIR)/sim && \
23521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23523 "RANLIB=$${RANLIB}" \
23524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23525 clean) \
23526 || exit 1
23528 @endif sim
23530 .PHONY: maybe-distclean-sim distclean-sim
23531 maybe-distclean-sim:
23532 @if sim
23533 maybe-distclean-sim: distclean-sim
23535 distclean-sim:
23536 @: $(MAKE); $(unstage)
23537 @[ -f ./sim/Makefile ] || exit 0; \
23538 r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 $(HOST_EXPORTS) \
23541 for flag in $(EXTRA_HOST_FLAGS) ; do \
23542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23543 done; \
23544 echo "Doing distclean in sim" ; \
23545 (cd $(HOST_SUBDIR)/sim && \
23546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23548 "RANLIB=$${RANLIB}" \
23549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23550 distclean) \
23551 || exit 1
23553 @endif sim
23555 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23556 maybe-maintainer-clean-sim:
23557 @if sim
23558 maybe-maintainer-clean-sim: maintainer-clean-sim
23560 maintainer-clean-sim:
23561 @: $(MAKE); $(unstage)
23562 @[ -f ./sim/Makefile ] || exit 0; \
23563 r=`${PWD_COMMAND}`; export r; \
23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 $(HOST_EXPORTS) \
23566 for flag in $(EXTRA_HOST_FLAGS) ; do \
23567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 done; \
23569 echo "Doing maintainer-clean in sim" ; \
23570 (cd $(HOST_SUBDIR)/sim && \
23571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23573 "RANLIB=$${RANLIB}" \
23574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23575 maintainer-clean) \
23576 || exit 1
23578 @endif sim
23582 .PHONY: configure-tar maybe-configure-tar
23583 maybe-configure-tar:
23584 @if tar
23585 maybe-configure-tar: configure-tar
23586 configure-tar:
23587 @: $(MAKE); $(unstage)
23588 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23589 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23590 r=`${PWD_COMMAND}`; export r; \
23591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23592 $(HOST_EXPORTS) \
23593 echo Configuring in $(HOST_SUBDIR)/tar; \
23594 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23595 case $(srcdir) in \
23596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23597 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23599 esac; \
23600 srcdiroption="--srcdir=$${topdir}/tar"; \
23601 libsrcdir="$$s/tar"; \
23602 $(SHELL) $${libsrcdir}/configure \
23603 $(HOST_CONFIGARGS) $${srcdiroption} \
23604 || exit 1
23605 @endif tar
23611 .PHONY: all-tar maybe-all-tar
23612 maybe-all-tar:
23613 @if tar
23614 TARGET-tar=all
23615 maybe-all-tar: all-tar
23616 all-tar: configure-tar
23617 @: $(MAKE); $(unstage)
23618 @r=`${PWD_COMMAND}`; export r; \
23619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23620 $(HOST_EXPORTS) \
23621 (cd $(HOST_SUBDIR)/tar && \
23622 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23623 @endif tar
23628 .PHONY: check-tar maybe-check-tar
23629 maybe-check-tar:
23630 @if tar
23631 maybe-check-tar: check-tar
23633 check-tar:
23634 @: $(MAKE); $(unstage)
23635 @r=`${PWD_COMMAND}`; export r; \
23636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23637 $(HOST_EXPORTS) \
23638 (cd $(HOST_SUBDIR)/tar && \
23639 $(MAKE) $(FLAGS_TO_PASS) check)
23641 @endif tar
23643 .PHONY: install-tar maybe-install-tar
23644 maybe-install-tar:
23645 @if tar
23646 maybe-install-tar: install-tar
23648 install-tar: installdirs
23649 @: $(MAKE); $(unstage)
23650 @r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 $(HOST_EXPORTS) \
23653 (cd $(HOST_SUBDIR)/tar && \
23654 $(MAKE) $(FLAGS_TO_PASS) install)
23656 @endif tar
23658 # Other targets (info, dvi, etc.)
23660 .PHONY: maybe-info-tar info-tar
23661 maybe-info-tar:
23662 @if tar
23663 maybe-info-tar: info-tar
23665 info-tar: \
23666 configure-tar
23667 @: $(MAKE); $(unstage)
23668 @[ -f ./tar/Makefile ] || exit 0; \
23669 r=`${PWD_COMMAND}`; export r; \
23670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23671 $(HOST_EXPORTS) \
23672 for flag in $(EXTRA_HOST_FLAGS) ; do \
23673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23674 done; \
23675 echo "Doing info in tar" ; \
23676 (cd $(HOST_SUBDIR)/tar && \
23677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23679 "RANLIB=$${RANLIB}" \
23680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23681 info) \
23682 || exit 1
23684 @endif tar
23686 .PHONY: maybe-dvi-tar dvi-tar
23687 maybe-dvi-tar:
23688 @if tar
23689 maybe-dvi-tar: dvi-tar
23691 dvi-tar: \
23692 configure-tar
23693 @: $(MAKE); $(unstage)
23694 @[ -f ./tar/Makefile ] || exit 0; \
23695 r=`${PWD_COMMAND}`; export r; \
23696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23697 $(HOST_EXPORTS) \
23698 for flag in $(EXTRA_HOST_FLAGS) ; do \
23699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23700 done; \
23701 echo "Doing dvi in tar" ; \
23702 (cd $(HOST_SUBDIR)/tar && \
23703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23705 "RANLIB=$${RANLIB}" \
23706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23707 dvi) \
23708 || exit 1
23710 @endif tar
23712 .PHONY: maybe-html-tar html-tar
23713 maybe-html-tar:
23714 @if tar
23715 maybe-html-tar: html-tar
23717 html-tar: \
23718 configure-tar
23719 @: $(MAKE); $(unstage)
23720 @[ -f ./tar/Makefile ] || exit 0; \
23721 r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23723 $(HOST_EXPORTS) \
23724 for flag in $(EXTRA_HOST_FLAGS) ; do \
23725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23726 done; \
23727 echo "Doing html in tar" ; \
23728 (cd $(HOST_SUBDIR)/tar && \
23729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23731 "RANLIB=$${RANLIB}" \
23732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23733 html) \
23734 || exit 1
23736 @endif tar
23738 .PHONY: maybe-TAGS-tar TAGS-tar
23739 maybe-TAGS-tar:
23740 @if tar
23741 maybe-TAGS-tar: TAGS-tar
23743 TAGS-tar: \
23744 configure-tar
23745 @: $(MAKE); $(unstage)
23746 @[ -f ./tar/Makefile ] || exit 0; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 $(HOST_EXPORTS) \
23750 for flag in $(EXTRA_HOST_FLAGS) ; do \
23751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23752 done; \
23753 echo "Doing TAGS in tar" ; \
23754 (cd $(HOST_SUBDIR)/tar && \
23755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23757 "RANLIB=$${RANLIB}" \
23758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23759 TAGS) \
23760 || exit 1
23762 @endif tar
23764 .PHONY: maybe-install-info-tar install-info-tar
23765 maybe-install-info-tar:
23766 @if tar
23767 maybe-install-info-tar: install-info-tar
23769 install-info-tar: \
23770 configure-tar \
23771 info-tar
23772 @: $(MAKE); $(unstage)
23773 @[ -f ./tar/Makefile ] || exit 0; \
23774 r=`${PWD_COMMAND}`; export r; \
23775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23776 $(HOST_EXPORTS) \
23777 for flag in $(EXTRA_HOST_FLAGS) ; do \
23778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23779 done; \
23780 echo "Doing install-info in tar" ; \
23781 (cd $(HOST_SUBDIR)/tar && \
23782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23784 "RANLIB=$${RANLIB}" \
23785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23786 install-info) \
23787 || exit 1
23789 @endif tar
23791 .PHONY: maybe-installcheck-tar installcheck-tar
23792 maybe-installcheck-tar:
23793 @if tar
23794 maybe-installcheck-tar: installcheck-tar
23796 installcheck-tar: \
23797 configure-tar
23798 @: $(MAKE); $(unstage)
23799 @[ -f ./tar/Makefile ] || exit 0; \
23800 r=`${PWD_COMMAND}`; export r; \
23801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802 $(HOST_EXPORTS) \
23803 for flag in $(EXTRA_HOST_FLAGS) ; do \
23804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23805 done; \
23806 echo "Doing installcheck in tar" ; \
23807 (cd $(HOST_SUBDIR)/tar && \
23808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23810 "RANLIB=$${RANLIB}" \
23811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23812 installcheck) \
23813 || exit 1
23815 @endif tar
23817 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23818 maybe-mostlyclean-tar:
23819 @if tar
23820 maybe-mostlyclean-tar: mostlyclean-tar
23822 mostlyclean-tar:
23823 @: $(MAKE); $(unstage)
23824 @[ -f ./tar/Makefile ] || exit 0; \
23825 r=`${PWD_COMMAND}`; export r; \
23826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23827 $(HOST_EXPORTS) \
23828 for flag in $(EXTRA_HOST_FLAGS) ; do \
23829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23830 done; \
23831 echo "Doing mostlyclean in tar" ; \
23832 (cd $(HOST_SUBDIR)/tar && \
23833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23835 "RANLIB=$${RANLIB}" \
23836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23837 mostlyclean) \
23838 || exit 1
23840 @endif tar
23842 .PHONY: maybe-clean-tar clean-tar
23843 maybe-clean-tar:
23844 @if tar
23845 maybe-clean-tar: clean-tar
23847 clean-tar:
23848 @: $(MAKE); $(unstage)
23849 @[ -f ./tar/Makefile ] || exit 0; \
23850 r=`${PWD_COMMAND}`; export r; \
23851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23852 $(HOST_EXPORTS) \
23853 for flag in $(EXTRA_HOST_FLAGS) ; do \
23854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23855 done; \
23856 echo "Doing clean in tar" ; \
23857 (cd $(HOST_SUBDIR)/tar && \
23858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23860 "RANLIB=$${RANLIB}" \
23861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23862 clean) \
23863 || exit 1
23865 @endif tar
23867 .PHONY: maybe-distclean-tar distclean-tar
23868 maybe-distclean-tar:
23869 @if tar
23870 maybe-distclean-tar: distclean-tar
23872 distclean-tar:
23873 @: $(MAKE); $(unstage)
23874 @[ -f ./tar/Makefile ] || exit 0; \
23875 r=`${PWD_COMMAND}`; export r; \
23876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23877 $(HOST_EXPORTS) \
23878 for flag in $(EXTRA_HOST_FLAGS) ; do \
23879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23880 done; \
23881 echo "Doing distclean in tar" ; \
23882 (cd $(HOST_SUBDIR)/tar && \
23883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23885 "RANLIB=$${RANLIB}" \
23886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23887 distclean) \
23888 || exit 1
23890 @endif tar
23892 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23893 maybe-maintainer-clean-tar:
23894 @if tar
23895 maybe-maintainer-clean-tar: maintainer-clean-tar
23897 maintainer-clean-tar:
23898 @: $(MAKE); $(unstage)
23899 @[ -f ./tar/Makefile ] || exit 0; \
23900 r=`${PWD_COMMAND}`; export r; \
23901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23902 $(HOST_EXPORTS) \
23903 for flag in $(EXTRA_HOST_FLAGS) ; do \
23904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23905 done; \
23906 echo "Doing maintainer-clean in tar" ; \
23907 (cd $(HOST_SUBDIR)/tar && \
23908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23910 "RANLIB=$${RANLIB}" \
23911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23912 maintainer-clean) \
23913 || exit 1
23915 @endif tar
23919 .PHONY: configure-texinfo maybe-configure-texinfo
23920 maybe-configure-texinfo:
23921 @if texinfo
23922 maybe-configure-texinfo: configure-texinfo
23923 configure-texinfo:
23924 @: $(MAKE); $(unstage)
23925 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23927 r=`${PWD_COMMAND}`; export r; \
23928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23929 $(HOST_EXPORTS) \
23930 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23931 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23932 case $(srcdir) in \
23933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23934 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23936 esac; \
23937 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23938 libsrcdir="$$s/texinfo"; \
23939 $(SHELL) $${libsrcdir}/configure \
23940 $(HOST_CONFIGARGS) $${srcdiroption} \
23941 || exit 1
23942 @endif texinfo
23948 .PHONY: all-texinfo maybe-all-texinfo
23949 maybe-all-texinfo:
23950 @if texinfo
23951 TARGET-texinfo=all
23952 maybe-all-texinfo: all-texinfo
23953 all-texinfo: configure-texinfo
23954 @: $(MAKE); $(unstage)
23955 @r=`${PWD_COMMAND}`; export r; \
23956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 $(HOST_EXPORTS) \
23958 (cd $(HOST_SUBDIR)/texinfo && \
23959 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23960 @endif texinfo
23965 .PHONY: check-texinfo maybe-check-texinfo
23966 maybe-check-texinfo:
23967 @if texinfo
23968 maybe-check-texinfo: check-texinfo
23970 check-texinfo:
23971 @: $(MAKE); $(unstage)
23972 @r=`${PWD_COMMAND}`; export r; \
23973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23974 $(HOST_EXPORTS) \
23975 (cd $(HOST_SUBDIR)/texinfo && \
23976 $(MAKE) $(FLAGS_TO_PASS) check)
23978 @endif texinfo
23980 .PHONY: install-texinfo maybe-install-texinfo
23981 maybe-install-texinfo:
23982 @if texinfo
23983 maybe-install-texinfo: install-texinfo
23985 install-texinfo:
23987 @endif texinfo
23989 # Other targets (info, dvi, etc.)
23991 .PHONY: maybe-info-texinfo info-texinfo
23992 maybe-info-texinfo:
23993 @if texinfo
23994 maybe-info-texinfo: info-texinfo
23996 info-texinfo: \
23997 configure-texinfo
23998 @: $(MAKE); $(unstage)
23999 @[ -f ./texinfo/Makefile ] || exit 0; \
24000 r=`${PWD_COMMAND}`; export r; \
24001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24002 $(HOST_EXPORTS) \
24003 for flag in $(EXTRA_HOST_FLAGS) ; do \
24004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24005 done; \
24006 echo "Doing info in texinfo" ; \
24007 (cd $(HOST_SUBDIR)/texinfo && \
24008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24010 "RANLIB=$${RANLIB}" \
24011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24012 info) \
24013 || exit 1
24015 @endif texinfo
24017 .PHONY: maybe-dvi-texinfo dvi-texinfo
24018 maybe-dvi-texinfo:
24019 @if texinfo
24020 maybe-dvi-texinfo: dvi-texinfo
24022 dvi-texinfo: \
24023 configure-texinfo
24024 @: $(MAKE); $(unstage)
24025 @[ -f ./texinfo/Makefile ] || exit 0; \
24026 r=`${PWD_COMMAND}`; export r; \
24027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24028 $(HOST_EXPORTS) \
24029 for flag in $(EXTRA_HOST_FLAGS) ; do \
24030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24031 done; \
24032 echo "Doing dvi in texinfo" ; \
24033 (cd $(HOST_SUBDIR)/texinfo && \
24034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24036 "RANLIB=$${RANLIB}" \
24037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24038 dvi) \
24039 || exit 1
24041 @endif texinfo
24043 .PHONY: maybe-html-texinfo html-texinfo
24044 maybe-html-texinfo:
24045 @if texinfo
24046 maybe-html-texinfo: html-texinfo
24048 html-texinfo: \
24049 configure-texinfo
24050 @: $(MAKE); $(unstage)
24051 @[ -f ./texinfo/Makefile ] || exit 0; \
24052 r=`${PWD_COMMAND}`; export r; \
24053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24054 $(HOST_EXPORTS) \
24055 for flag in $(EXTRA_HOST_FLAGS) ; do \
24056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24057 done; \
24058 echo "Doing html in texinfo" ; \
24059 (cd $(HOST_SUBDIR)/texinfo && \
24060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24062 "RANLIB=$${RANLIB}" \
24063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24064 html) \
24065 || exit 1
24067 @endif texinfo
24069 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24070 maybe-TAGS-texinfo:
24071 @if texinfo
24072 maybe-TAGS-texinfo: TAGS-texinfo
24074 TAGS-texinfo: \
24075 configure-texinfo
24076 @: $(MAKE); $(unstage)
24077 @[ -f ./texinfo/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(HOST_EXPORTS) \
24081 for flag in $(EXTRA_HOST_FLAGS) ; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24083 done; \
24084 echo "Doing TAGS in texinfo" ; \
24085 (cd $(HOST_SUBDIR)/texinfo && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24088 "RANLIB=$${RANLIB}" \
24089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24090 TAGS) \
24091 || exit 1
24093 @endif texinfo
24095 .PHONY: maybe-install-info-texinfo install-info-texinfo
24096 maybe-install-info-texinfo:
24097 @if texinfo
24098 maybe-install-info-texinfo: install-info-texinfo
24100 install-info-texinfo: \
24101 configure-texinfo \
24102 info-texinfo
24103 @: $(MAKE); $(unstage)
24104 @[ -f ./texinfo/Makefile ] || exit 0; \
24105 r=`${PWD_COMMAND}`; export r; \
24106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24107 $(HOST_EXPORTS) \
24108 for flag in $(EXTRA_HOST_FLAGS) ; do \
24109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24110 done; \
24111 echo "Doing install-info in texinfo" ; \
24112 (cd $(HOST_SUBDIR)/texinfo && \
24113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24115 "RANLIB=$${RANLIB}" \
24116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24117 install-info) \
24118 || exit 1
24120 @endif texinfo
24122 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24123 maybe-installcheck-texinfo:
24124 @if texinfo
24125 maybe-installcheck-texinfo: installcheck-texinfo
24127 installcheck-texinfo: \
24128 configure-texinfo
24129 @: $(MAKE); $(unstage)
24130 @[ -f ./texinfo/Makefile ] || exit 0; \
24131 r=`${PWD_COMMAND}`; export r; \
24132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24133 $(HOST_EXPORTS) \
24134 for flag in $(EXTRA_HOST_FLAGS) ; do \
24135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24136 done; \
24137 echo "Doing installcheck in texinfo" ; \
24138 (cd $(HOST_SUBDIR)/texinfo && \
24139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24141 "RANLIB=$${RANLIB}" \
24142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24143 installcheck) \
24144 || exit 1
24146 @endif texinfo
24148 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24149 maybe-mostlyclean-texinfo:
24150 @if texinfo
24151 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24153 mostlyclean-texinfo:
24154 @: $(MAKE); $(unstage)
24155 @[ -f ./texinfo/Makefile ] || exit 0; \
24156 r=`${PWD_COMMAND}`; export r; \
24157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24158 $(HOST_EXPORTS) \
24159 for flag in $(EXTRA_HOST_FLAGS) ; do \
24160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24161 done; \
24162 echo "Doing mostlyclean in texinfo" ; \
24163 (cd $(HOST_SUBDIR)/texinfo && \
24164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24166 "RANLIB=$${RANLIB}" \
24167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24168 mostlyclean) \
24169 || exit 1
24171 @endif texinfo
24173 .PHONY: maybe-clean-texinfo clean-texinfo
24174 maybe-clean-texinfo:
24175 @if texinfo
24176 maybe-clean-texinfo: clean-texinfo
24178 clean-texinfo:
24179 @: $(MAKE); $(unstage)
24180 @[ -f ./texinfo/Makefile ] || exit 0; \
24181 r=`${PWD_COMMAND}`; export r; \
24182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24183 $(HOST_EXPORTS) \
24184 for flag in $(EXTRA_HOST_FLAGS) ; do \
24185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24186 done; \
24187 echo "Doing clean in texinfo" ; \
24188 (cd $(HOST_SUBDIR)/texinfo && \
24189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24191 "RANLIB=$${RANLIB}" \
24192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24193 clean) \
24194 || exit 1
24196 @endif texinfo
24198 .PHONY: maybe-distclean-texinfo distclean-texinfo
24199 maybe-distclean-texinfo:
24200 @if texinfo
24201 maybe-distclean-texinfo: distclean-texinfo
24203 distclean-texinfo:
24204 @: $(MAKE); $(unstage)
24205 @[ -f ./texinfo/Makefile ] || exit 0; \
24206 r=`${PWD_COMMAND}`; export r; \
24207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24208 $(HOST_EXPORTS) \
24209 for flag in $(EXTRA_HOST_FLAGS) ; do \
24210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24211 done; \
24212 echo "Doing distclean in texinfo" ; \
24213 (cd $(HOST_SUBDIR)/texinfo && \
24214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24216 "RANLIB=$${RANLIB}" \
24217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24218 distclean) \
24219 || exit 1
24221 @endif texinfo
24223 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24224 maybe-maintainer-clean-texinfo:
24225 @if texinfo
24226 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24228 maintainer-clean-texinfo:
24229 @: $(MAKE); $(unstage)
24230 @[ -f ./texinfo/Makefile ] || exit 0; \
24231 r=`${PWD_COMMAND}`; export r; \
24232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24233 $(HOST_EXPORTS) \
24234 for flag in $(EXTRA_HOST_FLAGS) ; do \
24235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24236 done; \
24237 echo "Doing maintainer-clean in texinfo" ; \
24238 (cd $(HOST_SUBDIR)/texinfo && \
24239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24241 "RANLIB=$${RANLIB}" \
24242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24243 maintainer-clean) \
24244 || exit 1
24246 @endif texinfo
24250 .PHONY: configure-textutils maybe-configure-textutils
24251 maybe-configure-textutils:
24252 @if textutils
24253 maybe-configure-textutils: configure-textutils
24254 configure-textutils:
24255 @: $(MAKE); $(unstage)
24256 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24258 r=`${PWD_COMMAND}`; export r; \
24259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24260 $(HOST_EXPORTS) \
24261 echo Configuring in $(HOST_SUBDIR)/textutils; \
24262 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24263 case $(srcdir) in \
24264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24265 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24267 esac; \
24268 srcdiroption="--srcdir=$${topdir}/textutils"; \
24269 libsrcdir="$$s/textutils"; \
24270 $(SHELL) $${libsrcdir}/configure \
24271 $(HOST_CONFIGARGS) $${srcdiroption} \
24272 || exit 1
24273 @endif textutils
24279 .PHONY: all-textutils maybe-all-textutils
24280 maybe-all-textutils:
24281 @if textutils
24282 TARGET-textutils=all
24283 maybe-all-textutils: all-textutils
24284 all-textutils: configure-textutils
24285 @: $(MAKE); $(unstage)
24286 @r=`${PWD_COMMAND}`; export r; \
24287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24288 $(HOST_EXPORTS) \
24289 (cd $(HOST_SUBDIR)/textutils && \
24290 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24291 @endif textutils
24296 .PHONY: check-textutils maybe-check-textutils
24297 maybe-check-textutils:
24298 @if textutils
24299 maybe-check-textutils: check-textutils
24301 check-textutils:
24302 @: $(MAKE); $(unstage)
24303 @r=`${PWD_COMMAND}`; export r; \
24304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(HOST_EXPORTS) \
24306 (cd $(HOST_SUBDIR)/textutils && \
24307 $(MAKE) $(FLAGS_TO_PASS) check)
24309 @endif textutils
24311 .PHONY: install-textutils maybe-install-textutils
24312 maybe-install-textutils:
24313 @if textutils
24314 maybe-install-textutils: install-textutils
24316 install-textutils: installdirs
24317 @: $(MAKE); $(unstage)
24318 @r=`${PWD_COMMAND}`; export r; \
24319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 $(HOST_EXPORTS) \
24321 (cd $(HOST_SUBDIR)/textutils && \
24322 $(MAKE) $(FLAGS_TO_PASS) install)
24324 @endif textutils
24326 # Other targets (info, dvi, etc.)
24328 .PHONY: maybe-info-textutils info-textutils
24329 maybe-info-textutils:
24330 @if textutils
24331 maybe-info-textutils: info-textutils
24333 info-textutils: \
24334 configure-textutils
24335 @: $(MAKE); $(unstage)
24336 @[ -f ./textutils/Makefile ] || exit 0; \
24337 r=`${PWD_COMMAND}`; export r; \
24338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24339 $(HOST_EXPORTS) \
24340 for flag in $(EXTRA_HOST_FLAGS) ; do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 echo "Doing info in textutils" ; \
24344 (cd $(HOST_SUBDIR)/textutils && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24349 info) \
24350 || exit 1
24352 @endif textutils
24354 .PHONY: maybe-dvi-textutils dvi-textutils
24355 maybe-dvi-textutils:
24356 @if textutils
24357 maybe-dvi-textutils: dvi-textutils
24359 dvi-textutils: \
24360 configure-textutils
24361 @: $(MAKE); $(unstage)
24362 @[ -f ./textutils/Makefile ] || exit 0; \
24363 r=`${PWD_COMMAND}`; export r; \
24364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24365 $(HOST_EXPORTS) \
24366 for flag in $(EXTRA_HOST_FLAGS) ; do \
24367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24368 done; \
24369 echo "Doing dvi in textutils" ; \
24370 (cd $(HOST_SUBDIR)/textutils && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24375 dvi) \
24376 || exit 1
24378 @endif textutils
24380 .PHONY: maybe-html-textutils html-textutils
24381 maybe-html-textutils:
24382 @if textutils
24383 maybe-html-textutils: html-textutils
24385 html-textutils: \
24386 configure-textutils
24387 @: $(MAKE); $(unstage)
24388 @[ -f ./textutils/Makefile ] || exit 0; \
24389 r=`${PWD_COMMAND}`; export r; \
24390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24391 $(HOST_EXPORTS) \
24392 for flag in $(EXTRA_HOST_FLAGS) ; do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 echo "Doing html in textutils" ; \
24396 (cd $(HOST_SUBDIR)/textutils && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24401 html) \
24402 || exit 1
24404 @endif textutils
24406 .PHONY: maybe-TAGS-textutils TAGS-textutils
24407 maybe-TAGS-textutils:
24408 @if textutils
24409 maybe-TAGS-textutils: TAGS-textutils
24411 TAGS-textutils: \
24412 configure-textutils
24413 @: $(MAKE); $(unstage)
24414 @[ -f ./textutils/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing TAGS in textutils" ; \
24422 (cd $(HOST_SUBDIR)/textutils && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24427 TAGS) \
24428 || exit 1
24430 @endif textutils
24432 .PHONY: maybe-install-info-textutils install-info-textutils
24433 maybe-install-info-textutils:
24434 @if textutils
24435 maybe-install-info-textutils: install-info-textutils
24437 install-info-textutils: \
24438 configure-textutils \
24439 info-textutils
24440 @: $(MAKE); $(unstage)
24441 @[ -f ./textutils/Makefile ] || exit 0; \
24442 r=`${PWD_COMMAND}`; export r; \
24443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24444 $(HOST_EXPORTS) \
24445 for flag in $(EXTRA_HOST_FLAGS) ; do \
24446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24447 done; \
24448 echo "Doing install-info in textutils" ; \
24449 (cd $(HOST_SUBDIR)/textutils && \
24450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24452 "RANLIB=$${RANLIB}" \
24453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24454 install-info) \
24455 || exit 1
24457 @endif textutils
24459 .PHONY: maybe-installcheck-textutils installcheck-textutils
24460 maybe-installcheck-textutils:
24461 @if textutils
24462 maybe-installcheck-textutils: installcheck-textutils
24464 installcheck-textutils: \
24465 configure-textutils
24466 @: $(MAKE); $(unstage)
24467 @[ -f ./textutils/Makefile ] || exit 0; \
24468 r=`${PWD_COMMAND}`; export r; \
24469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24470 $(HOST_EXPORTS) \
24471 for flag in $(EXTRA_HOST_FLAGS) ; do \
24472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24473 done; \
24474 echo "Doing installcheck in textutils" ; \
24475 (cd $(HOST_SUBDIR)/textutils && \
24476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24478 "RANLIB=$${RANLIB}" \
24479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24480 installcheck) \
24481 || exit 1
24483 @endif textutils
24485 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24486 maybe-mostlyclean-textutils:
24487 @if textutils
24488 maybe-mostlyclean-textutils: mostlyclean-textutils
24490 mostlyclean-textutils:
24491 @: $(MAKE); $(unstage)
24492 @[ -f ./textutils/Makefile ] || exit 0; \
24493 r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(HOST_EXPORTS) \
24496 for flag in $(EXTRA_HOST_FLAGS) ; do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 echo "Doing mostlyclean in textutils" ; \
24500 (cd $(HOST_SUBDIR)/textutils && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24505 mostlyclean) \
24506 || exit 1
24508 @endif textutils
24510 .PHONY: maybe-clean-textutils clean-textutils
24511 maybe-clean-textutils:
24512 @if textutils
24513 maybe-clean-textutils: clean-textutils
24515 clean-textutils:
24516 @: $(MAKE); $(unstage)
24517 @[ -f ./textutils/Makefile ] || exit 0; \
24518 r=`${PWD_COMMAND}`; export r; \
24519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520 $(HOST_EXPORTS) \
24521 for flag in $(EXTRA_HOST_FLAGS) ; do \
24522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24523 done; \
24524 echo "Doing clean in textutils" ; \
24525 (cd $(HOST_SUBDIR)/textutils && \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528 "RANLIB=$${RANLIB}" \
24529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24530 clean) \
24531 || exit 1
24533 @endif textutils
24535 .PHONY: maybe-distclean-textutils distclean-textutils
24536 maybe-distclean-textutils:
24537 @if textutils
24538 maybe-distclean-textutils: distclean-textutils
24540 distclean-textutils:
24541 @: $(MAKE); $(unstage)
24542 @[ -f ./textutils/Makefile ] || exit 0; \
24543 r=`${PWD_COMMAND}`; export r; \
24544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 $(HOST_EXPORTS) \
24546 for flag in $(EXTRA_HOST_FLAGS) ; do \
24547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24548 done; \
24549 echo "Doing distclean in textutils" ; \
24550 (cd $(HOST_SUBDIR)/textutils && \
24551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24553 "RANLIB=$${RANLIB}" \
24554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24555 distclean) \
24556 || exit 1
24558 @endif textutils
24560 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24561 maybe-maintainer-clean-textutils:
24562 @if textutils
24563 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24565 maintainer-clean-textutils:
24566 @: $(MAKE); $(unstage)
24567 @[ -f ./textutils/Makefile ] || exit 0; \
24568 r=`${PWD_COMMAND}`; export r; \
24569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24570 $(HOST_EXPORTS) \
24571 for flag in $(EXTRA_HOST_FLAGS) ; do \
24572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24573 done; \
24574 echo "Doing maintainer-clean in textutils" ; \
24575 (cd $(HOST_SUBDIR)/textutils && \
24576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24578 "RANLIB=$${RANLIB}" \
24579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24580 maintainer-clean) \
24581 || exit 1
24583 @endif textutils
24587 .PHONY: configure-time maybe-configure-time
24588 maybe-configure-time:
24589 @if time
24590 maybe-configure-time: configure-time
24591 configure-time:
24592 @: $(MAKE); $(unstage)
24593 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24595 r=`${PWD_COMMAND}`; export r; \
24596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24597 $(HOST_EXPORTS) \
24598 echo Configuring in $(HOST_SUBDIR)/time; \
24599 cd "$(HOST_SUBDIR)/time" || exit 1; \
24600 case $(srcdir) in \
24601 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24602 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24603 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24604 esac; \
24605 srcdiroption="--srcdir=$${topdir}/time"; \
24606 libsrcdir="$$s/time"; \
24607 $(SHELL) $${libsrcdir}/configure \
24608 $(HOST_CONFIGARGS) $${srcdiroption} \
24609 || exit 1
24610 @endif time
24616 .PHONY: all-time maybe-all-time
24617 maybe-all-time:
24618 @if time
24619 TARGET-time=all
24620 maybe-all-time: all-time
24621 all-time: configure-time
24622 @: $(MAKE); $(unstage)
24623 @r=`${PWD_COMMAND}`; export r; \
24624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24625 $(HOST_EXPORTS) \
24626 (cd $(HOST_SUBDIR)/time && \
24627 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24628 @endif time
24633 .PHONY: check-time maybe-check-time
24634 maybe-check-time:
24635 @if time
24636 maybe-check-time: check-time
24638 check-time:
24639 @: $(MAKE); $(unstage)
24640 @r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(HOST_EXPORTS) \
24643 (cd $(HOST_SUBDIR)/time && \
24644 $(MAKE) $(FLAGS_TO_PASS) check)
24646 @endif time
24648 .PHONY: install-time maybe-install-time
24649 maybe-install-time:
24650 @if time
24651 maybe-install-time: install-time
24653 install-time: installdirs
24654 @: $(MAKE); $(unstage)
24655 @r=`${PWD_COMMAND}`; export r; \
24656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24657 $(HOST_EXPORTS) \
24658 (cd $(HOST_SUBDIR)/time && \
24659 $(MAKE) $(FLAGS_TO_PASS) install)
24661 @endif time
24663 # Other targets (info, dvi, etc.)
24665 .PHONY: maybe-info-time info-time
24666 maybe-info-time:
24667 @if time
24668 maybe-info-time: info-time
24670 info-time: \
24671 configure-time
24672 @: $(MAKE); $(unstage)
24673 @[ -f ./time/Makefile ] || exit 0; \
24674 r=`${PWD_COMMAND}`; export r; \
24675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24676 $(HOST_EXPORTS) \
24677 for flag in $(EXTRA_HOST_FLAGS) ; do \
24678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24679 done; \
24680 echo "Doing info in time" ; \
24681 (cd $(HOST_SUBDIR)/time && \
24682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24684 "RANLIB=$${RANLIB}" \
24685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24686 info) \
24687 || exit 1
24689 @endif time
24691 .PHONY: maybe-dvi-time dvi-time
24692 maybe-dvi-time:
24693 @if time
24694 maybe-dvi-time: dvi-time
24696 dvi-time: \
24697 configure-time
24698 @: $(MAKE); $(unstage)
24699 @[ -f ./time/Makefile ] || exit 0; \
24700 r=`${PWD_COMMAND}`; export r; \
24701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24702 $(HOST_EXPORTS) \
24703 for flag in $(EXTRA_HOST_FLAGS) ; do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 echo "Doing dvi in time" ; \
24707 (cd $(HOST_SUBDIR)/time && \
24708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24710 "RANLIB=$${RANLIB}" \
24711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24712 dvi) \
24713 || exit 1
24715 @endif time
24717 .PHONY: maybe-html-time html-time
24718 maybe-html-time:
24719 @if time
24720 maybe-html-time: html-time
24722 html-time: \
24723 configure-time
24724 @: $(MAKE); $(unstage)
24725 @[ -f ./time/Makefile ] || exit 0; \
24726 r=`${PWD_COMMAND}`; export r; \
24727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24728 $(HOST_EXPORTS) \
24729 for flag in $(EXTRA_HOST_FLAGS) ; do \
24730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24731 done; \
24732 echo "Doing html in time" ; \
24733 (cd $(HOST_SUBDIR)/time && \
24734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24736 "RANLIB=$${RANLIB}" \
24737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24738 html) \
24739 || exit 1
24741 @endif time
24743 .PHONY: maybe-TAGS-time TAGS-time
24744 maybe-TAGS-time:
24745 @if time
24746 maybe-TAGS-time: TAGS-time
24748 TAGS-time: \
24749 configure-time
24750 @: $(MAKE); $(unstage)
24751 @[ -f ./time/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing TAGS in time" ; \
24759 (cd $(HOST_SUBDIR)/time && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24764 TAGS) \
24765 || exit 1
24767 @endif time
24769 .PHONY: maybe-install-info-time install-info-time
24770 maybe-install-info-time:
24771 @if time
24772 maybe-install-info-time: install-info-time
24774 install-info-time: \
24775 configure-time \
24776 info-time
24777 @: $(MAKE); $(unstage)
24778 @[ -f ./time/Makefile ] || exit 0; \
24779 r=`${PWD_COMMAND}`; export r; \
24780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24781 $(HOST_EXPORTS) \
24782 for flag in $(EXTRA_HOST_FLAGS) ; do \
24783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24784 done; \
24785 echo "Doing install-info in time" ; \
24786 (cd $(HOST_SUBDIR)/time && \
24787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24789 "RANLIB=$${RANLIB}" \
24790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24791 install-info) \
24792 || exit 1
24794 @endif time
24796 .PHONY: maybe-installcheck-time installcheck-time
24797 maybe-installcheck-time:
24798 @if time
24799 maybe-installcheck-time: installcheck-time
24801 installcheck-time: \
24802 configure-time
24803 @: $(MAKE); $(unstage)
24804 @[ -f ./time/Makefile ] || exit 0; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807 $(HOST_EXPORTS) \
24808 for flag in $(EXTRA_HOST_FLAGS) ; do \
24809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24810 done; \
24811 echo "Doing installcheck in time" ; \
24812 (cd $(HOST_SUBDIR)/time && \
24813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815 "RANLIB=$${RANLIB}" \
24816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24817 installcheck) \
24818 || exit 1
24820 @endif time
24822 .PHONY: maybe-mostlyclean-time mostlyclean-time
24823 maybe-mostlyclean-time:
24824 @if time
24825 maybe-mostlyclean-time: mostlyclean-time
24827 mostlyclean-time:
24828 @: $(MAKE); $(unstage)
24829 @[ -f ./time/Makefile ] || exit 0; \
24830 r=`${PWD_COMMAND}`; export r; \
24831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24832 $(HOST_EXPORTS) \
24833 for flag in $(EXTRA_HOST_FLAGS) ; do \
24834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24835 done; \
24836 echo "Doing mostlyclean in time" ; \
24837 (cd $(HOST_SUBDIR)/time && \
24838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24840 "RANLIB=$${RANLIB}" \
24841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24842 mostlyclean) \
24843 || exit 1
24845 @endif time
24847 .PHONY: maybe-clean-time clean-time
24848 maybe-clean-time:
24849 @if time
24850 maybe-clean-time: clean-time
24852 clean-time:
24853 @: $(MAKE); $(unstage)
24854 @[ -f ./time/Makefile ] || exit 0; \
24855 r=`${PWD_COMMAND}`; export r; \
24856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24857 $(HOST_EXPORTS) \
24858 for flag in $(EXTRA_HOST_FLAGS) ; do \
24859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24860 done; \
24861 echo "Doing clean in time" ; \
24862 (cd $(HOST_SUBDIR)/time && \
24863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24865 "RANLIB=$${RANLIB}" \
24866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24867 clean) \
24868 || exit 1
24870 @endif time
24872 .PHONY: maybe-distclean-time distclean-time
24873 maybe-distclean-time:
24874 @if time
24875 maybe-distclean-time: distclean-time
24877 distclean-time:
24878 @: $(MAKE); $(unstage)
24879 @[ -f ./time/Makefile ] || exit 0; \
24880 r=`${PWD_COMMAND}`; export r; \
24881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24882 $(HOST_EXPORTS) \
24883 for flag in $(EXTRA_HOST_FLAGS) ; do \
24884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24885 done; \
24886 echo "Doing distclean in time" ; \
24887 (cd $(HOST_SUBDIR)/time && \
24888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24890 "RANLIB=$${RANLIB}" \
24891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24892 distclean) \
24893 || exit 1
24895 @endif time
24897 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24898 maybe-maintainer-clean-time:
24899 @if time
24900 maybe-maintainer-clean-time: maintainer-clean-time
24902 maintainer-clean-time:
24903 @: $(MAKE); $(unstage)
24904 @[ -f ./time/Makefile ] || exit 0; \
24905 r=`${PWD_COMMAND}`; export r; \
24906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24907 $(HOST_EXPORTS) \
24908 for flag in $(EXTRA_HOST_FLAGS) ; do \
24909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24910 done; \
24911 echo "Doing maintainer-clean in time" ; \
24912 (cd $(HOST_SUBDIR)/time && \
24913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24915 "RANLIB=$${RANLIB}" \
24916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24917 maintainer-clean) \
24918 || exit 1
24920 @endif time
24924 .PHONY: configure-uudecode maybe-configure-uudecode
24925 maybe-configure-uudecode:
24926 @if uudecode
24927 maybe-configure-uudecode: configure-uudecode
24928 configure-uudecode:
24929 @: $(MAKE); $(unstage)
24930 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24932 r=`${PWD_COMMAND}`; export r; \
24933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24934 $(HOST_EXPORTS) \
24935 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24936 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24937 case $(srcdir) in \
24938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24939 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24941 esac; \
24942 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24943 libsrcdir="$$s/uudecode"; \
24944 $(SHELL) $${libsrcdir}/configure \
24945 $(HOST_CONFIGARGS) $${srcdiroption} \
24946 || exit 1
24947 @endif uudecode
24953 .PHONY: all-uudecode maybe-all-uudecode
24954 maybe-all-uudecode:
24955 @if uudecode
24956 TARGET-uudecode=all
24957 maybe-all-uudecode: all-uudecode
24958 all-uudecode: configure-uudecode
24959 @: $(MAKE); $(unstage)
24960 @r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(HOST_EXPORTS) \
24963 (cd $(HOST_SUBDIR)/uudecode && \
24964 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24965 @endif uudecode
24970 .PHONY: check-uudecode maybe-check-uudecode
24971 maybe-check-uudecode:
24972 @if uudecode
24973 maybe-check-uudecode: check-uudecode
24975 check-uudecode:
24976 @: $(MAKE); $(unstage)
24977 @r=`${PWD_COMMAND}`; export r; \
24978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24979 $(HOST_EXPORTS) \
24980 (cd $(HOST_SUBDIR)/uudecode && \
24981 $(MAKE) $(FLAGS_TO_PASS) check)
24983 @endif uudecode
24985 .PHONY: install-uudecode maybe-install-uudecode
24986 maybe-install-uudecode:
24987 @if uudecode
24988 maybe-install-uudecode: install-uudecode
24990 install-uudecode: installdirs
24991 @: $(MAKE); $(unstage)
24992 @r=`${PWD_COMMAND}`; export r; \
24993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24994 $(HOST_EXPORTS) \
24995 (cd $(HOST_SUBDIR)/uudecode && \
24996 $(MAKE) $(FLAGS_TO_PASS) install)
24998 @endif uudecode
25000 # Other targets (info, dvi, etc.)
25002 .PHONY: maybe-info-uudecode info-uudecode
25003 maybe-info-uudecode:
25004 @if uudecode
25005 maybe-info-uudecode: info-uudecode
25007 info-uudecode: \
25008 configure-uudecode
25009 @: $(MAKE); $(unstage)
25010 @[ -f ./uudecode/Makefile ] || exit 0; \
25011 r=`${PWD_COMMAND}`; export r; \
25012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25013 $(HOST_EXPORTS) \
25014 for flag in $(EXTRA_HOST_FLAGS) ; do \
25015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25016 done; \
25017 echo "Doing info in uudecode" ; \
25018 (cd $(HOST_SUBDIR)/uudecode && \
25019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25021 "RANLIB=$${RANLIB}" \
25022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25023 info) \
25024 || exit 1
25026 @endif uudecode
25028 .PHONY: maybe-dvi-uudecode dvi-uudecode
25029 maybe-dvi-uudecode:
25030 @if uudecode
25031 maybe-dvi-uudecode: dvi-uudecode
25033 dvi-uudecode: \
25034 configure-uudecode
25035 @: $(MAKE); $(unstage)
25036 @[ -f ./uudecode/Makefile ] || exit 0; \
25037 r=`${PWD_COMMAND}`; export r; \
25038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25039 $(HOST_EXPORTS) \
25040 for flag in $(EXTRA_HOST_FLAGS) ; do \
25041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25042 done; \
25043 echo "Doing dvi in uudecode" ; \
25044 (cd $(HOST_SUBDIR)/uudecode && \
25045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25047 "RANLIB=$${RANLIB}" \
25048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25049 dvi) \
25050 || exit 1
25052 @endif uudecode
25054 .PHONY: maybe-html-uudecode html-uudecode
25055 maybe-html-uudecode:
25056 @if uudecode
25057 maybe-html-uudecode: html-uudecode
25059 html-uudecode: \
25060 configure-uudecode
25061 @: $(MAKE); $(unstage)
25062 @[ -f ./uudecode/Makefile ] || exit 0; \
25063 r=`${PWD_COMMAND}`; export r; \
25064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25065 $(HOST_EXPORTS) \
25066 for flag in $(EXTRA_HOST_FLAGS) ; do \
25067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25068 done; \
25069 echo "Doing html in uudecode" ; \
25070 (cd $(HOST_SUBDIR)/uudecode && \
25071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25073 "RANLIB=$${RANLIB}" \
25074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25075 html) \
25076 || exit 1
25078 @endif uudecode
25080 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25081 maybe-TAGS-uudecode:
25082 @if uudecode
25083 maybe-TAGS-uudecode: TAGS-uudecode
25085 TAGS-uudecode: \
25086 configure-uudecode
25087 @: $(MAKE); $(unstage)
25088 @[ -f ./uudecode/Makefile ] || exit 0; \
25089 r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 $(HOST_EXPORTS) \
25092 for flag in $(EXTRA_HOST_FLAGS) ; do \
25093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25094 done; \
25095 echo "Doing TAGS in uudecode" ; \
25096 (cd $(HOST_SUBDIR)/uudecode && \
25097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25099 "RANLIB=$${RANLIB}" \
25100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25101 TAGS) \
25102 || exit 1
25104 @endif uudecode
25106 .PHONY: maybe-install-info-uudecode install-info-uudecode
25107 maybe-install-info-uudecode:
25108 @if uudecode
25109 maybe-install-info-uudecode: install-info-uudecode
25111 install-info-uudecode: \
25112 configure-uudecode \
25113 info-uudecode
25114 @: $(MAKE); $(unstage)
25115 @[ -f ./uudecode/Makefile ] || exit 0; \
25116 r=`${PWD_COMMAND}`; export r; \
25117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25118 $(HOST_EXPORTS) \
25119 for flag in $(EXTRA_HOST_FLAGS) ; do \
25120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25121 done; \
25122 echo "Doing install-info in uudecode" ; \
25123 (cd $(HOST_SUBDIR)/uudecode && \
25124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25126 "RANLIB=$${RANLIB}" \
25127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25128 install-info) \
25129 || exit 1
25131 @endif uudecode
25133 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25134 maybe-installcheck-uudecode:
25135 @if uudecode
25136 maybe-installcheck-uudecode: installcheck-uudecode
25138 installcheck-uudecode: \
25139 configure-uudecode
25140 @: $(MAKE); $(unstage)
25141 @[ -f ./uudecode/Makefile ] || exit 0; \
25142 r=`${PWD_COMMAND}`; export r; \
25143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 $(HOST_EXPORTS) \
25145 for flag in $(EXTRA_HOST_FLAGS) ; do \
25146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25147 done; \
25148 echo "Doing installcheck in uudecode" ; \
25149 (cd $(HOST_SUBDIR)/uudecode && \
25150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25152 "RANLIB=$${RANLIB}" \
25153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25154 installcheck) \
25155 || exit 1
25157 @endif uudecode
25159 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25160 maybe-mostlyclean-uudecode:
25161 @if uudecode
25162 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25164 mostlyclean-uudecode:
25165 @: $(MAKE); $(unstage)
25166 @[ -f ./uudecode/Makefile ] || exit 0; \
25167 r=`${PWD_COMMAND}`; export r; \
25168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25169 $(HOST_EXPORTS) \
25170 for flag in $(EXTRA_HOST_FLAGS) ; do \
25171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25172 done; \
25173 echo "Doing mostlyclean in uudecode" ; \
25174 (cd $(HOST_SUBDIR)/uudecode && \
25175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25177 "RANLIB=$${RANLIB}" \
25178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25179 mostlyclean) \
25180 || exit 1
25182 @endif uudecode
25184 .PHONY: maybe-clean-uudecode clean-uudecode
25185 maybe-clean-uudecode:
25186 @if uudecode
25187 maybe-clean-uudecode: clean-uudecode
25189 clean-uudecode:
25190 @: $(MAKE); $(unstage)
25191 @[ -f ./uudecode/Makefile ] || exit 0; \
25192 r=`${PWD_COMMAND}`; export r; \
25193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25194 $(HOST_EXPORTS) \
25195 for flag in $(EXTRA_HOST_FLAGS) ; do \
25196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25197 done; \
25198 echo "Doing clean in uudecode" ; \
25199 (cd $(HOST_SUBDIR)/uudecode && \
25200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25202 "RANLIB=$${RANLIB}" \
25203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25204 clean) \
25205 || exit 1
25207 @endif uudecode
25209 .PHONY: maybe-distclean-uudecode distclean-uudecode
25210 maybe-distclean-uudecode:
25211 @if uudecode
25212 maybe-distclean-uudecode: distclean-uudecode
25214 distclean-uudecode:
25215 @: $(MAKE); $(unstage)
25216 @[ -f ./uudecode/Makefile ] || exit 0; \
25217 r=`${PWD_COMMAND}`; export r; \
25218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25219 $(HOST_EXPORTS) \
25220 for flag in $(EXTRA_HOST_FLAGS) ; do \
25221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25222 done; \
25223 echo "Doing distclean in uudecode" ; \
25224 (cd $(HOST_SUBDIR)/uudecode && \
25225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25227 "RANLIB=$${RANLIB}" \
25228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25229 distclean) \
25230 || exit 1
25232 @endif uudecode
25234 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25235 maybe-maintainer-clean-uudecode:
25236 @if uudecode
25237 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25239 maintainer-clean-uudecode:
25240 @: $(MAKE); $(unstage)
25241 @[ -f ./uudecode/Makefile ] || exit 0; \
25242 r=`${PWD_COMMAND}`; export r; \
25243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25244 $(HOST_EXPORTS) \
25245 for flag in $(EXTRA_HOST_FLAGS) ; do \
25246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25247 done; \
25248 echo "Doing maintainer-clean in uudecode" ; \
25249 (cd $(HOST_SUBDIR)/uudecode && \
25250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25252 "RANLIB=$${RANLIB}" \
25253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25254 maintainer-clean) \
25255 || exit 1
25257 @endif uudecode
25261 .PHONY: configure-wdiff maybe-configure-wdiff
25262 maybe-configure-wdiff:
25263 @if wdiff
25264 maybe-configure-wdiff: configure-wdiff
25265 configure-wdiff:
25266 @: $(MAKE); $(unstage)
25267 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25269 r=`${PWD_COMMAND}`; export r; \
25270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25271 $(HOST_EXPORTS) \
25272 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25273 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25274 case $(srcdir) in \
25275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25276 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25278 esac; \
25279 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25280 libsrcdir="$$s/wdiff"; \
25281 $(SHELL) $${libsrcdir}/configure \
25282 $(HOST_CONFIGARGS) $${srcdiroption} \
25283 || exit 1
25284 @endif wdiff
25290 .PHONY: all-wdiff maybe-all-wdiff
25291 maybe-all-wdiff:
25292 @if wdiff
25293 TARGET-wdiff=all
25294 maybe-all-wdiff: all-wdiff
25295 all-wdiff: configure-wdiff
25296 @: $(MAKE); $(unstage)
25297 @r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 $(HOST_EXPORTS) \
25300 (cd $(HOST_SUBDIR)/wdiff && \
25301 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25302 @endif wdiff
25307 .PHONY: check-wdiff maybe-check-wdiff
25308 maybe-check-wdiff:
25309 @if wdiff
25310 maybe-check-wdiff: check-wdiff
25312 check-wdiff:
25313 @: $(MAKE); $(unstage)
25314 @r=`${PWD_COMMAND}`; export r; \
25315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25316 $(HOST_EXPORTS) \
25317 (cd $(HOST_SUBDIR)/wdiff && \
25318 $(MAKE) $(FLAGS_TO_PASS) check)
25320 @endif wdiff
25322 .PHONY: install-wdiff maybe-install-wdiff
25323 maybe-install-wdiff:
25324 @if wdiff
25325 maybe-install-wdiff: install-wdiff
25327 install-wdiff: installdirs
25328 @: $(MAKE); $(unstage)
25329 @r=`${PWD_COMMAND}`; export r; \
25330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25331 $(HOST_EXPORTS) \
25332 (cd $(HOST_SUBDIR)/wdiff && \
25333 $(MAKE) $(FLAGS_TO_PASS) install)
25335 @endif wdiff
25337 # Other targets (info, dvi, etc.)
25339 .PHONY: maybe-info-wdiff info-wdiff
25340 maybe-info-wdiff:
25341 @if wdiff
25342 maybe-info-wdiff: info-wdiff
25344 info-wdiff: \
25345 configure-wdiff
25346 @: $(MAKE); $(unstage)
25347 @[ -f ./wdiff/Makefile ] || exit 0; \
25348 r=`${PWD_COMMAND}`; export r; \
25349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25350 $(HOST_EXPORTS) \
25351 for flag in $(EXTRA_HOST_FLAGS) ; do \
25352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25353 done; \
25354 echo "Doing info in wdiff" ; \
25355 (cd $(HOST_SUBDIR)/wdiff && \
25356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25358 "RANLIB=$${RANLIB}" \
25359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25360 info) \
25361 || exit 1
25363 @endif wdiff
25365 .PHONY: maybe-dvi-wdiff dvi-wdiff
25366 maybe-dvi-wdiff:
25367 @if wdiff
25368 maybe-dvi-wdiff: dvi-wdiff
25370 dvi-wdiff: \
25371 configure-wdiff
25372 @: $(MAKE); $(unstage)
25373 @[ -f ./wdiff/Makefile ] || exit 0; \
25374 r=`${PWD_COMMAND}`; export r; \
25375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376 $(HOST_EXPORTS) \
25377 for flag in $(EXTRA_HOST_FLAGS) ; do \
25378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25379 done; \
25380 echo "Doing dvi in wdiff" ; \
25381 (cd $(HOST_SUBDIR)/wdiff && \
25382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25384 "RANLIB=$${RANLIB}" \
25385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25386 dvi) \
25387 || exit 1
25389 @endif wdiff
25391 .PHONY: maybe-html-wdiff html-wdiff
25392 maybe-html-wdiff:
25393 @if wdiff
25394 maybe-html-wdiff: html-wdiff
25396 html-wdiff: \
25397 configure-wdiff
25398 @: $(MAKE); $(unstage)
25399 @[ -f ./wdiff/Makefile ] || exit 0; \
25400 r=`${PWD_COMMAND}`; export r; \
25401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25402 $(HOST_EXPORTS) \
25403 for flag in $(EXTRA_HOST_FLAGS) ; do \
25404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25405 done; \
25406 echo "Doing html in wdiff" ; \
25407 (cd $(HOST_SUBDIR)/wdiff && \
25408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25410 "RANLIB=$${RANLIB}" \
25411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25412 html) \
25413 || exit 1
25415 @endif wdiff
25417 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25418 maybe-TAGS-wdiff:
25419 @if wdiff
25420 maybe-TAGS-wdiff: TAGS-wdiff
25422 TAGS-wdiff: \
25423 configure-wdiff
25424 @: $(MAKE); $(unstage)
25425 @[ -f ./wdiff/Makefile ] || exit 0; \
25426 r=`${PWD_COMMAND}`; export r; \
25427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25428 $(HOST_EXPORTS) \
25429 for flag in $(EXTRA_HOST_FLAGS) ; do \
25430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25431 done; \
25432 echo "Doing TAGS in wdiff" ; \
25433 (cd $(HOST_SUBDIR)/wdiff && \
25434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25436 "RANLIB=$${RANLIB}" \
25437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25438 TAGS) \
25439 || exit 1
25441 @endif wdiff
25443 .PHONY: maybe-install-info-wdiff install-info-wdiff
25444 maybe-install-info-wdiff:
25445 @if wdiff
25446 maybe-install-info-wdiff: install-info-wdiff
25448 install-info-wdiff: \
25449 configure-wdiff \
25450 info-wdiff
25451 @: $(MAKE); $(unstage)
25452 @[ -f ./wdiff/Makefile ] || exit 0; \
25453 r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25455 $(HOST_EXPORTS) \
25456 for flag in $(EXTRA_HOST_FLAGS) ; do \
25457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25458 done; \
25459 echo "Doing install-info in wdiff" ; \
25460 (cd $(HOST_SUBDIR)/wdiff && \
25461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25463 "RANLIB=$${RANLIB}" \
25464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25465 install-info) \
25466 || exit 1
25468 @endif wdiff
25470 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25471 maybe-installcheck-wdiff:
25472 @if wdiff
25473 maybe-installcheck-wdiff: installcheck-wdiff
25475 installcheck-wdiff: \
25476 configure-wdiff
25477 @: $(MAKE); $(unstage)
25478 @[ -f ./wdiff/Makefile ] || exit 0; \
25479 r=`${PWD_COMMAND}`; export r; \
25480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25481 $(HOST_EXPORTS) \
25482 for flag in $(EXTRA_HOST_FLAGS) ; do \
25483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25484 done; \
25485 echo "Doing installcheck in wdiff" ; \
25486 (cd $(HOST_SUBDIR)/wdiff && \
25487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25489 "RANLIB=$${RANLIB}" \
25490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25491 installcheck) \
25492 || exit 1
25494 @endif wdiff
25496 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25497 maybe-mostlyclean-wdiff:
25498 @if wdiff
25499 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25501 mostlyclean-wdiff:
25502 @: $(MAKE); $(unstage)
25503 @[ -f ./wdiff/Makefile ] || exit 0; \
25504 r=`${PWD_COMMAND}`; export r; \
25505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25506 $(HOST_EXPORTS) \
25507 for flag in $(EXTRA_HOST_FLAGS) ; do \
25508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25509 done; \
25510 echo "Doing mostlyclean in wdiff" ; \
25511 (cd $(HOST_SUBDIR)/wdiff && \
25512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25514 "RANLIB=$${RANLIB}" \
25515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25516 mostlyclean) \
25517 || exit 1
25519 @endif wdiff
25521 .PHONY: maybe-clean-wdiff clean-wdiff
25522 maybe-clean-wdiff:
25523 @if wdiff
25524 maybe-clean-wdiff: clean-wdiff
25526 clean-wdiff:
25527 @: $(MAKE); $(unstage)
25528 @[ -f ./wdiff/Makefile ] || exit 0; \
25529 r=`${PWD_COMMAND}`; export r; \
25530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25531 $(HOST_EXPORTS) \
25532 for flag in $(EXTRA_HOST_FLAGS) ; do \
25533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25534 done; \
25535 echo "Doing clean in wdiff" ; \
25536 (cd $(HOST_SUBDIR)/wdiff && \
25537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25539 "RANLIB=$${RANLIB}" \
25540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25541 clean) \
25542 || exit 1
25544 @endif wdiff
25546 .PHONY: maybe-distclean-wdiff distclean-wdiff
25547 maybe-distclean-wdiff:
25548 @if wdiff
25549 maybe-distclean-wdiff: distclean-wdiff
25551 distclean-wdiff:
25552 @: $(MAKE); $(unstage)
25553 @[ -f ./wdiff/Makefile ] || exit 0; \
25554 r=`${PWD_COMMAND}`; export r; \
25555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25556 $(HOST_EXPORTS) \
25557 for flag in $(EXTRA_HOST_FLAGS) ; do \
25558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25559 done; \
25560 echo "Doing distclean in wdiff" ; \
25561 (cd $(HOST_SUBDIR)/wdiff && \
25562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25564 "RANLIB=$${RANLIB}" \
25565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25566 distclean) \
25567 || exit 1
25569 @endif wdiff
25571 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25572 maybe-maintainer-clean-wdiff:
25573 @if wdiff
25574 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25576 maintainer-clean-wdiff:
25577 @: $(MAKE); $(unstage)
25578 @[ -f ./wdiff/Makefile ] || exit 0; \
25579 r=`${PWD_COMMAND}`; export r; \
25580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25581 $(HOST_EXPORTS) \
25582 for flag in $(EXTRA_HOST_FLAGS) ; do \
25583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25584 done; \
25585 echo "Doing maintainer-clean in wdiff" ; \
25586 (cd $(HOST_SUBDIR)/wdiff && \
25587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25589 "RANLIB=$${RANLIB}" \
25590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25591 maintainer-clean) \
25592 || exit 1
25594 @endif wdiff
25598 .PHONY: configure-zip maybe-configure-zip
25599 maybe-configure-zip:
25600 @if zip
25601 maybe-configure-zip: configure-zip
25602 configure-zip:
25603 @: $(MAKE); $(unstage)
25604 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25606 r=`${PWD_COMMAND}`; export r; \
25607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25608 $(HOST_EXPORTS) \
25609 echo Configuring in $(HOST_SUBDIR)/zip; \
25610 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25611 case $(srcdir) in \
25612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25613 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25615 esac; \
25616 srcdiroption="--srcdir=$${topdir}/zip"; \
25617 libsrcdir="$$s/zip"; \
25618 $(SHELL) $${libsrcdir}/configure \
25619 $(HOST_CONFIGARGS) $${srcdiroption} \
25620 || exit 1
25621 @endif zip
25627 .PHONY: all-zip maybe-all-zip
25628 maybe-all-zip:
25629 @if zip
25630 TARGET-zip=all
25631 maybe-all-zip: all-zip
25632 all-zip: configure-zip
25633 @: $(MAKE); $(unstage)
25634 @r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 $(HOST_EXPORTS) \
25637 (cd $(HOST_SUBDIR)/zip && \
25638 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25639 @endif zip
25644 .PHONY: check-zip maybe-check-zip
25645 maybe-check-zip:
25646 @if zip
25647 maybe-check-zip: check-zip
25649 # This module is only tested in a native toolchain.
25650 check-zip:
25651 @: $(MAKE); $(unstage)
25652 @if [ '$(host)' = '$(target)' ] ; then \
25653 r=`${PWD_COMMAND}`; export r; \
25654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25655 $(HOST_EXPORTS) \
25656 (cd $(HOST_SUBDIR)/zip && \
25657 $(MAKE) $(FLAGS_TO_PASS) check); \
25660 @endif zip
25662 .PHONY: install-zip maybe-install-zip
25663 maybe-install-zip:
25664 @if zip
25665 maybe-install-zip: install-zip
25667 install-zip: installdirs
25668 @: $(MAKE); $(unstage)
25669 @r=`${PWD_COMMAND}`; export r; \
25670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25671 $(HOST_EXPORTS) \
25672 (cd $(HOST_SUBDIR)/zip && \
25673 $(MAKE) $(FLAGS_TO_PASS) install)
25675 @endif zip
25677 # Other targets (info, dvi, etc.)
25679 .PHONY: maybe-info-zip info-zip
25680 maybe-info-zip:
25681 @if zip
25682 maybe-info-zip: info-zip
25684 info-zip: \
25685 configure-zip
25686 @: $(MAKE); $(unstage)
25687 @[ -f ./zip/Makefile ] || exit 0; \
25688 r=`${PWD_COMMAND}`; export r; \
25689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25690 $(HOST_EXPORTS) \
25691 for flag in $(EXTRA_HOST_FLAGS) ; do \
25692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25693 done; \
25694 echo "Doing info in zip" ; \
25695 (cd $(HOST_SUBDIR)/zip && \
25696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25698 "RANLIB=$${RANLIB}" \
25699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25700 info) \
25701 || exit 1
25703 @endif zip
25705 .PHONY: maybe-dvi-zip dvi-zip
25706 maybe-dvi-zip:
25707 @if zip
25708 maybe-dvi-zip: dvi-zip
25710 dvi-zip: \
25711 configure-zip
25712 @: $(MAKE); $(unstage)
25713 @[ -f ./zip/Makefile ] || exit 0; \
25714 r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 $(HOST_EXPORTS) \
25717 for flag in $(EXTRA_HOST_FLAGS) ; do \
25718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25719 done; \
25720 echo "Doing dvi in zip" ; \
25721 (cd $(HOST_SUBDIR)/zip && \
25722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25724 "RANLIB=$${RANLIB}" \
25725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25726 dvi) \
25727 || exit 1
25729 @endif zip
25731 .PHONY: maybe-html-zip html-zip
25732 maybe-html-zip:
25733 @if zip
25734 maybe-html-zip: html-zip
25736 html-zip: \
25737 configure-zip
25738 @: $(MAKE); $(unstage)
25739 @[ -f ./zip/Makefile ] || exit 0; \
25740 r=`${PWD_COMMAND}`; export r; \
25741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25742 $(HOST_EXPORTS) \
25743 for flag in $(EXTRA_HOST_FLAGS) ; do \
25744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25745 done; \
25746 echo "Doing html in zip" ; \
25747 (cd $(HOST_SUBDIR)/zip && \
25748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25750 "RANLIB=$${RANLIB}" \
25751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25752 html) \
25753 || exit 1
25755 @endif zip
25757 .PHONY: maybe-TAGS-zip TAGS-zip
25758 maybe-TAGS-zip:
25759 @if zip
25760 maybe-TAGS-zip: TAGS-zip
25762 TAGS-zip: \
25763 configure-zip
25764 @: $(MAKE); $(unstage)
25765 @[ -f ./zip/Makefile ] || exit 0; \
25766 r=`${PWD_COMMAND}`; export r; \
25767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25768 $(HOST_EXPORTS) \
25769 for flag in $(EXTRA_HOST_FLAGS) ; do \
25770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25771 done; \
25772 echo "Doing TAGS in zip" ; \
25773 (cd $(HOST_SUBDIR)/zip && \
25774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25776 "RANLIB=$${RANLIB}" \
25777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25778 TAGS) \
25779 || exit 1
25781 @endif zip
25783 .PHONY: maybe-install-info-zip install-info-zip
25784 maybe-install-info-zip:
25785 @if zip
25786 maybe-install-info-zip: install-info-zip
25788 install-info-zip: \
25789 configure-zip \
25790 info-zip
25791 @: $(MAKE); $(unstage)
25792 @[ -f ./zip/Makefile ] || exit 0; \
25793 r=`${PWD_COMMAND}`; export r; \
25794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25795 $(HOST_EXPORTS) \
25796 for flag in $(EXTRA_HOST_FLAGS) ; do \
25797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25798 done; \
25799 echo "Doing install-info in zip" ; \
25800 (cd $(HOST_SUBDIR)/zip && \
25801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25803 "RANLIB=$${RANLIB}" \
25804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25805 install-info) \
25806 || exit 1
25808 @endif zip
25810 .PHONY: maybe-installcheck-zip installcheck-zip
25811 maybe-installcheck-zip:
25812 @if zip
25813 maybe-installcheck-zip: installcheck-zip
25815 installcheck-zip: \
25816 configure-zip
25817 @: $(MAKE); $(unstage)
25818 @[ -f ./zip/Makefile ] || exit 0; \
25819 r=`${PWD_COMMAND}`; export r; \
25820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25821 $(HOST_EXPORTS) \
25822 for flag in $(EXTRA_HOST_FLAGS) ; do \
25823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25824 done; \
25825 echo "Doing installcheck in zip" ; \
25826 (cd $(HOST_SUBDIR)/zip && \
25827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25829 "RANLIB=$${RANLIB}" \
25830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25831 installcheck) \
25832 || exit 1
25834 @endif zip
25836 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25837 maybe-mostlyclean-zip:
25838 @if zip
25839 maybe-mostlyclean-zip: mostlyclean-zip
25841 mostlyclean-zip:
25842 @: $(MAKE); $(unstage)
25843 @[ -f ./zip/Makefile ] || exit 0; \
25844 r=`${PWD_COMMAND}`; export r; \
25845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25846 $(HOST_EXPORTS) \
25847 for flag in $(EXTRA_HOST_FLAGS) ; do \
25848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25849 done; \
25850 echo "Doing mostlyclean in zip" ; \
25851 (cd $(HOST_SUBDIR)/zip && \
25852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25854 "RANLIB=$${RANLIB}" \
25855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25856 mostlyclean) \
25857 || exit 1
25859 @endif zip
25861 .PHONY: maybe-clean-zip clean-zip
25862 maybe-clean-zip:
25863 @if zip
25864 maybe-clean-zip: clean-zip
25866 clean-zip:
25867 @: $(MAKE); $(unstage)
25868 @[ -f ./zip/Makefile ] || exit 0; \
25869 r=`${PWD_COMMAND}`; export r; \
25870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25871 $(HOST_EXPORTS) \
25872 for flag in $(EXTRA_HOST_FLAGS) ; do \
25873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25874 done; \
25875 echo "Doing clean in zip" ; \
25876 (cd $(HOST_SUBDIR)/zip && \
25877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25879 "RANLIB=$${RANLIB}" \
25880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25881 clean) \
25882 || exit 1
25884 @endif zip
25886 .PHONY: maybe-distclean-zip distclean-zip
25887 maybe-distclean-zip:
25888 @if zip
25889 maybe-distclean-zip: distclean-zip
25891 distclean-zip:
25892 @: $(MAKE); $(unstage)
25893 @[ -f ./zip/Makefile ] || exit 0; \
25894 r=`${PWD_COMMAND}`; export r; \
25895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25896 $(HOST_EXPORTS) \
25897 for flag in $(EXTRA_HOST_FLAGS) ; do \
25898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25899 done; \
25900 echo "Doing distclean in zip" ; \
25901 (cd $(HOST_SUBDIR)/zip && \
25902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25904 "RANLIB=$${RANLIB}" \
25905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25906 distclean) \
25907 || exit 1
25909 @endif zip
25911 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25912 maybe-maintainer-clean-zip:
25913 @if zip
25914 maybe-maintainer-clean-zip: maintainer-clean-zip
25916 maintainer-clean-zip:
25917 @: $(MAKE); $(unstage)
25918 @[ -f ./zip/Makefile ] || exit 0; \
25919 r=`${PWD_COMMAND}`; export r; \
25920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25921 $(HOST_EXPORTS) \
25922 for flag in $(EXTRA_HOST_FLAGS) ; do \
25923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25924 done; \
25925 echo "Doing maintainer-clean in zip" ; \
25926 (cd $(HOST_SUBDIR)/zip && \
25927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25929 "RANLIB=$${RANLIB}" \
25930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25931 maintainer-clean) \
25932 || exit 1
25934 @endif zip
25938 .PHONY: configure-zlib maybe-configure-zlib
25939 maybe-configure-zlib:
25940 @if zlib
25941 maybe-configure-zlib: configure-zlib
25942 configure-zlib:
25943 @test -f stage_last && exit 0; \
25944 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25946 r=`${PWD_COMMAND}`; export r; \
25947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25948 $(HOST_EXPORTS) \
25949 echo Configuring in $(HOST_SUBDIR)/zlib; \
25950 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25951 case $(srcdir) in \
25952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25953 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25955 esac; \
25956 srcdiroption="--srcdir=$${topdir}/zlib"; \
25957 libsrcdir="$$s/zlib"; \
25958 $(SHELL) $${libsrcdir}/configure \
25959 $(HOST_CONFIGARGS) $${srcdiroption} \
25960 || exit 1
25961 @endif zlib
25965 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25966 maybe-configure-stage1-zlib:
25967 @if zlib-bootstrap
25968 maybe-configure-stage1-zlib: configure-stage1-zlib
25969 configure-stage1-zlib:
25970 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25972 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25973 $(HOST_EXPORTS) \
25974 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25976 cd $(HOST_SUBDIR)/zlib || exit 1; \
25977 case $(srcdir) in \
25978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25979 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25981 esac; \
25982 srcdiroption="--srcdir=$${topdir}/zlib"; \
25983 libsrcdir="$$s/zlib"; \
25984 $(SHELL) $${libsrcdir}/configure \
25985 $(HOST_CONFIGARGS) $${srcdiroption} \
25986 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25987 @endif zlib-bootstrap
25989 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25990 maybe-configure-stage2-zlib:
25991 @if zlib-bootstrap
25992 maybe-configure-stage2-zlib: configure-stage2-zlib
25993 configure-stage2-zlib:
25994 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25995 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
25996 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25997 $(HOST_EXPORTS) \
25998 $(POSTSTAGE1_HOST_EXPORTS) \
25999 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26001 cd $(HOST_SUBDIR)/zlib || exit 1; \
26002 case $(srcdir) in \
26003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26004 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26006 esac; \
26007 srcdiroption="--srcdir=$${topdir}/zlib"; \
26008 libsrcdir="$$s/zlib"; \
26009 $(SHELL) $${libsrcdir}/configure \
26010 $(HOST_CONFIGARGS) $${srcdiroption} \
26011 @stage2_werror_flag@
26012 @endif zlib-bootstrap
26014 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26015 maybe-configure-stage3-zlib:
26016 @if zlib-bootstrap
26017 maybe-configure-stage3-zlib: configure-stage3-zlib
26018 configure-stage3-zlib:
26019 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26021 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26022 $(HOST_EXPORTS) \
26023 $(POSTSTAGE1_HOST_EXPORTS) \
26024 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26026 cd $(HOST_SUBDIR)/zlib || exit 1; \
26027 case $(srcdir) in \
26028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26029 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26031 esac; \
26032 srcdiroption="--srcdir=$${topdir}/zlib"; \
26033 libsrcdir="$$s/zlib"; \
26034 $(SHELL) $${libsrcdir}/configure \
26035 $(HOST_CONFIGARGS) $${srcdiroption} \
26036 @stage2_werror_flag@
26037 @endif zlib-bootstrap
26039 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26040 maybe-configure-stage4-zlib:
26041 @if zlib-bootstrap
26042 maybe-configure-stage4-zlib: configure-stage4-zlib
26043 configure-stage4-zlib:
26044 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26046 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26047 $(HOST_EXPORTS) \
26048 $(POSTSTAGE1_HOST_EXPORTS) \
26049 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26050 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26051 cd $(HOST_SUBDIR)/zlib || exit 1; \
26052 case $(srcdir) in \
26053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26054 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26056 esac; \
26057 srcdiroption="--srcdir=$${topdir}/zlib"; \
26058 libsrcdir="$$s/zlib"; \
26059 $(SHELL) $${libsrcdir}/configure \
26060 $(HOST_CONFIGARGS) $${srcdiroption} \
26061 @stage2_werror_flag@
26062 @endif zlib-bootstrap
26064 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26065 maybe-configure-stageprofile-zlib:
26066 @if zlib-bootstrap
26067 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26068 configure-stageprofile-zlib:
26069 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26071 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26072 $(HOST_EXPORTS) \
26073 $(POSTSTAGE1_HOST_EXPORTS) \
26074 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26076 cd $(HOST_SUBDIR)/zlib || exit 1; \
26077 case $(srcdir) in \
26078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26079 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26081 esac; \
26082 srcdiroption="--srcdir=$${topdir}/zlib"; \
26083 libsrcdir="$$s/zlib"; \
26084 $(SHELL) $${libsrcdir}/configure \
26085 $(HOST_CONFIGARGS) $${srcdiroption} \
26086 @stage2_werror_flag@
26087 @endif zlib-bootstrap
26089 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26090 maybe-configure-stagefeedback-zlib:
26091 @if zlib-bootstrap
26092 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26093 configure-stagefeedback-zlib:
26094 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26096 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26097 $(HOST_EXPORTS) \
26098 $(POSTSTAGE1_HOST_EXPORTS) \
26099 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26101 cd $(HOST_SUBDIR)/zlib || exit 1; \
26102 case $(srcdir) in \
26103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26104 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26106 esac; \
26107 srcdiroption="--srcdir=$${topdir}/zlib"; \
26108 libsrcdir="$$s/zlib"; \
26109 $(SHELL) $${libsrcdir}/configure \
26110 $(HOST_CONFIGARGS) $${srcdiroption} \
26111 @stage2_werror_flag@
26112 @endif zlib-bootstrap
26118 .PHONY: all-zlib maybe-all-zlib
26119 maybe-all-zlib:
26120 @if zlib
26121 TARGET-zlib=all
26122 maybe-all-zlib: all-zlib
26123 all-zlib: configure-zlib
26124 @test -f stage_last && exit 0; \
26125 r=`${PWD_COMMAND}`; export r; \
26126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26127 $(HOST_EXPORTS) \
26128 (cd $(HOST_SUBDIR)/zlib && \
26129 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26130 @endif zlib
26134 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26135 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26136 maybe-all-stage1-zlib:
26137 maybe-clean-stage1-zlib:
26138 @if zlib-bootstrap
26139 maybe-all-stage1-zlib: all-stage1-zlib
26140 all-stage1: all-stage1-zlib
26141 TARGET-stage1-zlib = $(TARGET-zlib)
26142 all-stage1-zlib: configure-stage1-zlib
26143 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26144 @r=`${PWD_COMMAND}`; export r; \
26145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26146 $(HOST_EXPORTS) \
26147 cd $(HOST_SUBDIR)/zlib && \
26148 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26149 $(TARGET-stage1-zlib)
26151 maybe-clean-stage1-zlib: clean-stage1-zlib
26152 clean-stage1: clean-stage1-zlib
26153 clean-stage1-zlib:
26154 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26155 || exit 0 ; \
26156 [ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26157 cd $(HOST_SUBDIR)/zlib && \
26158 $(MAKE) $(FLAGS_TO_PASS) \
26159 CFLAGS="$(STAGE1_CFLAGS)" clean
26160 @endif zlib-bootstrap
26163 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26164 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26165 maybe-all-stage2-zlib:
26166 maybe-clean-stage2-zlib:
26167 @if zlib-bootstrap
26168 maybe-all-stage2-zlib: all-stage2-zlib
26169 all-stage2: all-stage2-zlib
26170 TARGET-stage2-zlib = $(TARGET-zlib)
26171 all-stage2-zlib: configure-stage2-zlib
26172 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26173 @r=`${PWD_COMMAND}`; export r; \
26174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26175 $(HOST_EXPORTS) \
26176 $(POSTSTAGE1_HOST_EXPORTS) \
26177 cd $(HOST_SUBDIR)/zlib && \
26178 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26179 $(TARGET-stage2-zlib)
26181 maybe-clean-stage2-zlib: clean-stage2-zlib
26182 clean-stage2: clean-stage2-zlib
26183 clean-stage2-zlib:
26184 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26185 || exit 0 ; \
26186 [ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26187 cd $(HOST_SUBDIR)/zlib && \
26188 $(MAKE) $(FLAGS_TO_PASS) \
26189 $(POSTSTAGE1_FLAGS_TO_PASS) \
26190 clean
26191 @endif zlib-bootstrap
26194 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26195 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26196 maybe-all-stage3-zlib:
26197 maybe-clean-stage3-zlib:
26198 @if zlib-bootstrap
26199 maybe-all-stage3-zlib: all-stage3-zlib
26200 all-stage3: all-stage3-zlib
26201 TARGET-stage3-zlib = $(TARGET-zlib)
26202 all-stage3-zlib: configure-stage3-zlib
26203 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26204 @r=`${PWD_COMMAND}`; export r; \
26205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26206 $(HOST_EXPORTS) \
26207 $(POSTSTAGE1_HOST_EXPORTS) \
26208 cd $(HOST_SUBDIR)/zlib && \
26209 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26210 $(TARGET-stage3-zlib)
26212 maybe-clean-stage3-zlib: clean-stage3-zlib
26213 clean-stage3: clean-stage3-zlib
26214 clean-stage3-zlib:
26215 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26216 || exit 0 ; \
26217 [ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26218 cd $(HOST_SUBDIR)/zlib && \
26219 $(MAKE) $(FLAGS_TO_PASS) \
26220 $(POSTSTAGE1_FLAGS_TO_PASS) \
26221 clean
26222 @endif zlib-bootstrap
26225 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26226 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26227 maybe-all-stage4-zlib:
26228 maybe-clean-stage4-zlib:
26229 @if zlib-bootstrap
26230 maybe-all-stage4-zlib: all-stage4-zlib
26231 all-stage4: all-stage4-zlib
26232 TARGET-stage4-zlib = $(TARGET-zlib)
26233 all-stage4-zlib: configure-stage4-zlib
26234 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26235 @r=`${PWD_COMMAND}`; export r; \
26236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26237 $(HOST_EXPORTS) \
26238 $(POSTSTAGE1_HOST_EXPORTS) \
26239 cd $(HOST_SUBDIR)/zlib && \
26240 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26241 $(TARGET-stage4-zlib)
26243 maybe-clean-stage4-zlib: clean-stage4-zlib
26244 clean-stage4: clean-stage4-zlib
26245 clean-stage4-zlib:
26246 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26247 || exit 0 ; \
26248 [ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26249 cd $(HOST_SUBDIR)/zlib && \
26250 $(MAKE) $(FLAGS_TO_PASS) \
26251 $(POSTSTAGE1_FLAGS_TO_PASS) \
26252 clean
26253 @endif zlib-bootstrap
26256 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26257 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26258 maybe-all-stageprofile-zlib:
26259 maybe-clean-stageprofile-zlib:
26260 @if zlib-bootstrap
26261 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26262 all-stageprofile: all-stageprofile-zlib
26263 TARGET-stageprofile-zlib = $(TARGET-zlib)
26264 all-stageprofile-zlib: configure-stageprofile-zlib
26265 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26266 @r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(HOST_EXPORTS) \
26269 $(POSTSTAGE1_HOST_EXPORTS) \
26270 cd $(HOST_SUBDIR)/zlib && \
26271 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26272 $(TARGET-stageprofile-zlib)
26274 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26275 clean-stageprofile: clean-stageprofile-zlib
26276 clean-stageprofile-zlib:
26277 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26278 || exit 0 ; \
26279 [ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26280 cd $(HOST_SUBDIR)/zlib && \
26281 $(MAKE) $(FLAGS_TO_PASS) \
26282 $(POSTSTAGE1_FLAGS_TO_PASS) \
26283 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26284 @endif zlib-bootstrap
26287 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26288 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26289 maybe-all-stagefeedback-zlib:
26290 maybe-clean-stagefeedback-zlib:
26291 @if zlib-bootstrap
26292 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26293 all-stagefeedback: all-stagefeedback-zlib
26294 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26295 all-stagefeedback-zlib: configure-stagefeedback-zlib
26296 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26297 @r=`${PWD_COMMAND}`; export r; \
26298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26299 $(HOST_EXPORTS) \
26300 $(POSTSTAGE1_HOST_EXPORTS) \
26301 cd $(HOST_SUBDIR)/zlib && \
26302 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26303 $(TARGET-stagefeedback-zlib)
26305 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26306 clean-stagefeedback: clean-stagefeedback-zlib
26307 clean-stagefeedback-zlib:
26308 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26309 || exit 0 ; \
26310 [ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26311 cd $(HOST_SUBDIR)/zlib && \
26312 $(MAKE) $(FLAGS_TO_PASS) \
26313 $(POSTSTAGE1_FLAGS_TO_PASS) \
26314 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26315 @endif zlib-bootstrap
26321 .PHONY: check-zlib maybe-check-zlib
26322 maybe-check-zlib:
26323 @if zlib
26324 maybe-check-zlib: check-zlib
26326 check-zlib:
26328 @endif zlib
26330 .PHONY: install-zlib maybe-install-zlib
26331 maybe-install-zlib:
26332 @if zlib
26333 maybe-install-zlib: install-zlib
26335 install-zlib:
26337 @endif zlib
26339 # Other targets (info, dvi, etc.)
26341 .PHONY: maybe-info-zlib info-zlib
26342 maybe-info-zlib:
26343 @if zlib
26344 maybe-info-zlib: info-zlib
26346 info-zlib: \
26347 configure-zlib
26348 @[ -f ./zlib/Makefile ] || exit 0; \
26349 r=`${PWD_COMMAND}`; export r; \
26350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26351 $(HOST_EXPORTS) \
26352 for flag in $(EXTRA_HOST_FLAGS) ; do \
26353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26354 done; \
26355 echo "Doing info in zlib" ; \
26356 (cd $(HOST_SUBDIR)/zlib && \
26357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26359 "RANLIB=$${RANLIB}" \
26360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26361 info) \
26362 || exit 1
26364 @endif zlib
26366 .PHONY: maybe-dvi-zlib dvi-zlib
26367 maybe-dvi-zlib:
26368 @if zlib
26369 maybe-dvi-zlib: dvi-zlib
26371 dvi-zlib: \
26372 configure-zlib
26373 @[ -f ./zlib/Makefile ] || exit 0; \
26374 r=`${PWD_COMMAND}`; export r; \
26375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26376 $(HOST_EXPORTS) \
26377 for flag in $(EXTRA_HOST_FLAGS) ; do \
26378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26379 done; \
26380 echo "Doing dvi in zlib" ; \
26381 (cd $(HOST_SUBDIR)/zlib && \
26382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26384 "RANLIB=$${RANLIB}" \
26385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26386 dvi) \
26387 || exit 1
26389 @endif zlib
26391 .PHONY: maybe-html-zlib html-zlib
26392 maybe-html-zlib:
26393 @if zlib
26394 maybe-html-zlib: html-zlib
26396 html-zlib: \
26397 configure-zlib
26398 @[ -f ./zlib/Makefile ] || exit 0; \
26399 r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 $(HOST_EXPORTS) \
26402 for flag in $(EXTRA_HOST_FLAGS) ; do \
26403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26404 done; \
26405 echo "Doing html in zlib" ; \
26406 (cd $(HOST_SUBDIR)/zlib && \
26407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26409 "RANLIB=$${RANLIB}" \
26410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26411 html) \
26412 || exit 1
26414 @endif zlib
26416 .PHONY: maybe-TAGS-zlib TAGS-zlib
26417 maybe-TAGS-zlib:
26418 @if zlib
26419 maybe-TAGS-zlib: TAGS-zlib
26421 TAGS-zlib: \
26422 configure-zlib
26423 @[ -f ./zlib/Makefile ] || exit 0; \
26424 r=`${PWD_COMMAND}`; export r; \
26425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 $(HOST_EXPORTS) \
26427 for flag in $(EXTRA_HOST_FLAGS) ; do \
26428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26429 done; \
26430 echo "Doing TAGS in zlib" ; \
26431 (cd $(HOST_SUBDIR)/zlib && \
26432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26434 "RANLIB=$${RANLIB}" \
26435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26436 TAGS) \
26437 || exit 1
26439 @endif zlib
26441 .PHONY: maybe-install-info-zlib install-info-zlib
26442 maybe-install-info-zlib:
26443 @if zlib
26444 maybe-install-info-zlib: install-info-zlib
26446 install-info-zlib: \
26447 configure-zlib \
26448 info-zlib
26449 @[ -f ./zlib/Makefile ] || exit 0; \
26450 r=`${PWD_COMMAND}`; export r; \
26451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26452 $(HOST_EXPORTS) \
26453 for flag in $(EXTRA_HOST_FLAGS) ; do \
26454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26455 done; \
26456 echo "Doing install-info in zlib" ; \
26457 (cd $(HOST_SUBDIR)/zlib && \
26458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26460 "RANLIB=$${RANLIB}" \
26461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26462 install-info) \
26463 || exit 1
26465 @endif zlib
26467 .PHONY: maybe-installcheck-zlib installcheck-zlib
26468 maybe-installcheck-zlib:
26469 @if zlib
26470 maybe-installcheck-zlib: installcheck-zlib
26472 installcheck-zlib: \
26473 configure-zlib
26474 @[ -f ./zlib/Makefile ] || exit 0; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 $(HOST_EXPORTS) \
26478 for flag in $(EXTRA_HOST_FLAGS) ; do \
26479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26480 done; \
26481 echo "Doing installcheck in zlib" ; \
26482 (cd $(HOST_SUBDIR)/zlib && \
26483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26485 "RANLIB=$${RANLIB}" \
26486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26487 installcheck) \
26488 || exit 1
26490 @endif zlib
26492 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26493 maybe-mostlyclean-zlib:
26494 @if zlib
26495 maybe-mostlyclean-zlib: mostlyclean-zlib
26497 mostlyclean-zlib:
26498 @[ -f ./zlib/Makefile ] || exit 0; \
26499 r=`${PWD_COMMAND}`; export r; \
26500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26501 $(HOST_EXPORTS) \
26502 for flag in $(EXTRA_HOST_FLAGS) ; do \
26503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26504 done; \
26505 echo "Doing mostlyclean in zlib" ; \
26506 (cd $(HOST_SUBDIR)/zlib && \
26507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26509 "RANLIB=$${RANLIB}" \
26510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26511 mostlyclean) \
26512 || exit 1
26514 @endif zlib
26516 .PHONY: maybe-clean-zlib clean-zlib
26517 maybe-clean-zlib:
26518 @if zlib
26519 maybe-clean-zlib: clean-zlib
26521 clean-zlib:
26522 @[ -f ./zlib/Makefile ] || exit 0; \
26523 r=`${PWD_COMMAND}`; export r; \
26524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26525 $(HOST_EXPORTS) \
26526 for flag in $(EXTRA_HOST_FLAGS) ; do \
26527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26528 done; \
26529 echo "Doing clean in zlib" ; \
26530 (cd $(HOST_SUBDIR)/zlib && \
26531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26533 "RANLIB=$${RANLIB}" \
26534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26535 clean) \
26536 || exit 1
26538 @endif zlib
26540 .PHONY: maybe-distclean-zlib distclean-zlib
26541 maybe-distclean-zlib:
26542 @if zlib
26543 maybe-distclean-zlib: distclean-zlib
26545 distclean-zlib:
26546 @[ -f ./zlib/Makefile ] || exit 0; \
26547 r=`${PWD_COMMAND}`; export r; \
26548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26549 $(HOST_EXPORTS) \
26550 for flag in $(EXTRA_HOST_FLAGS) ; do \
26551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26552 done; \
26553 echo "Doing distclean in zlib" ; \
26554 (cd $(HOST_SUBDIR)/zlib && \
26555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26557 "RANLIB=$${RANLIB}" \
26558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26559 distclean) \
26560 || exit 1
26562 @endif zlib
26564 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26565 maybe-maintainer-clean-zlib:
26566 @if zlib
26567 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26569 maintainer-clean-zlib:
26570 @[ -f ./zlib/Makefile ] || exit 0; \
26571 r=`${PWD_COMMAND}`; export r; \
26572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26573 $(HOST_EXPORTS) \
26574 for flag in $(EXTRA_HOST_FLAGS) ; do \
26575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26576 done; \
26577 echo "Doing maintainer-clean in zlib" ; \
26578 (cd $(HOST_SUBDIR)/zlib && \
26579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26581 "RANLIB=$${RANLIB}" \
26582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26583 maintainer-clean) \
26584 || exit 1
26586 @endif zlib
26590 .PHONY: configure-gdb maybe-configure-gdb
26591 maybe-configure-gdb:
26592 @if gdb
26593 maybe-configure-gdb: configure-gdb
26594 configure-gdb:
26595 @: $(MAKE); $(unstage)
26596 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26598 r=`${PWD_COMMAND}`; export r; \
26599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26600 $(HOST_EXPORTS) \
26601 echo Configuring in $(HOST_SUBDIR)/gdb; \
26602 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26603 case $(srcdir) in \
26604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26605 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26607 esac; \
26608 srcdiroption="--srcdir=$${topdir}/gdb"; \
26609 libsrcdir="$$s/gdb"; \
26610 $(SHELL) $${libsrcdir}/configure \
26611 $(HOST_CONFIGARGS) $${srcdiroption} \
26612 || exit 1
26613 @endif gdb
26619 .PHONY: all-gdb maybe-all-gdb
26620 maybe-all-gdb:
26621 @if gdb
26622 TARGET-gdb=all
26623 maybe-all-gdb: all-gdb
26624 all-gdb: configure-gdb
26625 @: $(MAKE); $(unstage)
26626 @r=`${PWD_COMMAND}`; export r; \
26627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26628 $(HOST_EXPORTS) \
26629 (cd $(HOST_SUBDIR)/gdb && \
26630 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26631 @endif gdb
26636 .PHONY: check-gdb maybe-check-gdb
26637 maybe-check-gdb:
26638 @if gdb
26639 maybe-check-gdb: check-gdb
26641 check-gdb:
26642 @: $(MAKE); $(unstage)
26643 @r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(HOST_EXPORTS) \
26646 (cd $(HOST_SUBDIR)/gdb && \
26647 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26649 @endif gdb
26651 .PHONY: install-gdb maybe-install-gdb
26652 maybe-install-gdb:
26653 @if gdb
26654 maybe-install-gdb: install-gdb
26656 install-gdb: installdirs
26657 @: $(MAKE); $(unstage)
26658 @r=`${PWD_COMMAND}`; export r; \
26659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26660 $(HOST_EXPORTS) \
26661 (cd $(HOST_SUBDIR)/gdb && \
26662 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26664 @endif gdb
26666 # Other targets (info, dvi, etc.)
26668 .PHONY: maybe-info-gdb info-gdb
26669 maybe-info-gdb:
26670 @if gdb
26671 maybe-info-gdb: info-gdb
26673 info-gdb: \
26674 configure-gdb
26675 @: $(MAKE); $(unstage)
26676 @[ -f ./gdb/Makefile ] || exit 0; \
26677 r=`${PWD_COMMAND}`; export r; \
26678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26679 $(HOST_EXPORTS) \
26680 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682 done; \
26683 echo "Doing info in gdb" ; \
26684 (cd $(HOST_SUBDIR)/gdb && \
26685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26687 "RANLIB=$${RANLIB}" \
26688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26689 info) \
26690 || exit 1
26692 @endif gdb
26694 .PHONY: maybe-dvi-gdb dvi-gdb
26695 maybe-dvi-gdb:
26696 @if gdb
26697 maybe-dvi-gdb: dvi-gdb
26699 dvi-gdb: \
26700 configure-gdb
26701 @: $(MAKE); $(unstage)
26702 @[ -f ./gdb/Makefile ] || exit 0; \
26703 r=`${PWD_COMMAND}`; export r; \
26704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26705 $(HOST_EXPORTS) \
26706 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26708 done; \
26709 echo "Doing dvi in gdb" ; \
26710 (cd $(HOST_SUBDIR)/gdb && \
26711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26713 "RANLIB=$${RANLIB}" \
26714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26715 dvi) \
26716 || exit 1
26718 @endif gdb
26720 .PHONY: maybe-html-gdb html-gdb
26721 maybe-html-gdb:
26722 @if gdb
26723 maybe-html-gdb: html-gdb
26725 html-gdb: \
26726 configure-gdb
26727 @: $(MAKE); $(unstage)
26728 @[ -f ./gdb/Makefile ] || exit 0; \
26729 r=`${PWD_COMMAND}`; export r; \
26730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26731 $(HOST_EXPORTS) \
26732 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26734 done; \
26735 echo "Doing html in gdb" ; \
26736 (cd $(HOST_SUBDIR)/gdb && \
26737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26739 "RANLIB=$${RANLIB}" \
26740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26741 html) \
26742 || exit 1
26744 @endif gdb
26746 .PHONY: maybe-TAGS-gdb TAGS-gdb
26747 maybe-TAGS-gdb:
26748 @if gdb
26749 maybe-TAGS-gdb: TAGS-gdb
26751 TAGS-gdb: \
26752 configure-gdb
26753 @: $(MAKE); $(unstage)
26754 @[ -f ./gdb/Makefile ] || exit 0; \
26755 r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(HOST_EXPORTS) \
26758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26760 done; \
26761 echo "Doing TAGS in gdb" ; \
26762 (cd $(HOST_SUBDIR)/gdb && \
26763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26765 "RANLIB=$${RANLIB}" \
26766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26767 TAGS) \
26768 || exit 1
26770 @endif gdb
26772 .PHONY: maybe-install-info-gdb install-info-gdb
26773 maybe-install-info-gdb:
26774 @if gdb
26775 maybe-install-info-gdb: install-info-gdb
26777 install-info-gdb: \
26778 configure-gdb \
26779 info-gdb
26780 @: $(MAKE); $(unstage)
26781 @[ -f ./gdb/Makefile ] || exit 0; \
26782 r=`${PWD_COMMAND}`; export r; \
26783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26784 $(HOST_EXPORTS) \
26785 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26787 done; \
26788 echo "Doing install-info in gdb" ; \
26789 (cd $(HOST_SUBDIR)/gdb && \
26790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26792 "RANLIB=$${RANLIB}" \
26793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26794 install-info) \
26795 || exit 1
26797 @endif gdb
26799 .PHONY: maybe-installcheck-gdb installcheck-gdb
26800 maybe-installcheck-gdb:
26801 @if gdb
26802 maybe-installcheck-gdb: installcheck-gdb
26804 installcheck-gdb: \
26805 configure-gdb
26806 @: $(MAKE); $(unstage)
26807 @[ -f ./gdb/Makefile ] || exit 0; \
26808 r=`${PWD_COMMAND}`; export r; \
26809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26810 $(HOST_EXPORTS) \
26811 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26813 done; \
26814 echo "Doing installcheck in gdb" ; \
26815 (cd $(HOST_SUBDIR)/gdb && \
26816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26818 "RANLIB=$${RANLIB}" \
26819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26820 installcheck) \
26821 || exit 1
26823 @endif gdb
26825 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26826 maybe-mostlyclean-gdb:
26827 @if gdb
26828 maybe-mostlyclean-gdb: mostlyclean-gdb
26830 mostlyclean-gdb:
26831 @: $(MAKE); $(unstage)
26832 @[ -f ./gdb/Makefile ] || exit 0; \
26833 r=`${PWD_COMMAND}`; export r; \
26834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26835 $(HOST_EXPORTS) \
26836 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26838 done; \
26839 echo "Doing mostlyclean in gdb" ; \
26840 (cd $(HOST_SUBDIR)/gdb && \
26841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26843 "RANLIB=$${RANLIB}" \
26844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26845 mostlyclean) \
26846 || exit 1
26848 @endif gdb
26850 .PHONY: maybe-clean-gdb clean-gdb
26851 maybe-clean-gdb:
26852 @if gdb
26853 maybe-clean-gdb: clean-gdb
26855 clean-gdb:
26856 @: $(MAKE); $(unstage)
26857 @[ -f ./gdb/Makefile ] || exit 0; \
26858 r=`${PWD_COMMAND}`; export r; \
26859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26860 $(HOST_EXPORTS) \
26861 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26863 done; \
26864 echo "Doing clean in gdb" ; \
26865 (cd $(HOST_SUBDIR)/gdb && \
26866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26868 "RANLIB=$${RANLIB}" \
26869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26870 clean) \
26871 || exit 1
26873 @endif gdb
26875 .PHONY: maybe-distclean-gdb distclean-gdb
26876 maybe-distclean-gdb:
26877 @if gdb
26878 maybe-distclean-gdb: distclean-gdb
26880 distclean-gdb:
26881 @: $(MAKE); $(unstage)
26882 @[ -f ./gdb/Makefile ] || exit 0; \
26883 r=`${PWD_COMMAND}`; export r; \
26884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26885 $(HOST_EXPORTS) \
26886 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26888 done; \
26889 echo "Doing distclean in gdb" ; \
26890 (cd $(HOST_SUBDIR)/gdb && \
26891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26893 "RANLIB=$${RANLIB}" \
26894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26895 distclean) \
26896 || exit 1
26898 @endif gdb
26900 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26901 maybe-maintainer-clean-gdb:
26902 @if gdb
26903 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26905 maintainer-clean-gdb:
26906 @: $(MAKE); $(unstage)
26907 @[ -f ./gdb/Makefile ] || exit 0; \
26908 r=`${PWD_COMMAND}`; export r; \
26909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26910 $(HOST_EXPORTS) \
26911 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26913 done; \
26914 echo "Doing maintainer-clean in gdb" ; \
26915 (cd $(HOST_SUBDIR)/gdb && \
26916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26918 "RANLIB=$${RANLIB}" \
26919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26920 maintainer-clean) \
26921 || exit 1
26923 @endif gdb
26927 .PHONY: configure-expect maybe-configure-expect
26928 maybe-configure-expect:
26929 @if expect
26930 maybe-configure-expect: configure-expect
26931 configure-expect:
26932 @: $(MAKE); $(unstage)
26933 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26935 r=`${PWD_COMMAND}`; export r; \
26936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26937 $(HOST_EXPORTS) \
26938 echo Configuring in $(HOST_SUBDIR)/expect; \
26939 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26940 case $(srcdir) in \
26941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26942 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26944 esac; \
26945 srcdiroption="--srcdir=$${topdir}/expect"; \
26946 libsrcdir="$$s/expect"; \
26947 $(SHELL) $${libsrcdir}/configure \
26948 $(HOST_CONFIGARGS) $${srcdiroption} \
26949 || exit 1
26950 @endif expect
26956 .PHONY: all-expect maybe-all-expect
26957 maybe-all-expect:
26958 @if expect
26959 TARGET-expect=all
26960 maybe-all-expect: all-expect
26961 all-expect: configure-expect
26962 @: $(MAKE); $(unstage)
26963 @r=`${PWD_COMMAND}`; export r; \
26964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26965 $(HOST_EXPORTS) \
26966 (cd $(HOST_SUBDIR)/expect && \
26967 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26968 @endif expect
26973 .PHONY: check-expect maybe-check-expect
26974 maybe-check-expect:
26975 @if expect
26976 maybe-check-expect: check-expect
26978 check-expect:
26979 @: $(MAKE); $(unstage)
26980 @r=`${PWD_COMMAND}`; export r; \
26981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26982 $(HOST_EXPORTS) \
26983 (cd $(HOST_SUBDIR)/expect && \
26984 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26986 @endif expect
26988 .PHONY: install-expect maybe-install-expect
26989 maybe-install-expect:
26990 @if expect
26991 maybe-install-expect: install-expect
26993 install-expect: installdirs
26994 @: $(MAKE); $(unstage)
26995 @r=`${PWD_COMMAND}`; export r; \
26996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26997 $(HOST_EXPORTS) \
26998 (cd $(HOST_SUBDIR)/expect && \
26999 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27001 @endif expect
27003 # Other targets (info, dvi, etc.)
27005 .PHONY: maybe-info-expect info-expect
27006 maybe-info-expect:
27007 @if expect
27008 maybe-info-expect: info-expect
27010 info-expect: \
27011 configure-expect
27012 @: $(MAKE); $(unstage)
27013 @[ -f ./expect/Makefile ] || exit 0; \
27014 r=`${PWD_COMMAND}`; export r; \
27015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27016 $(HOST_EXPORTS) \
27017 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27019 done; \
27020 echo "Doing info in expect" ; \
27021 (cd $(HOST_SUBDIR)/expect && \
27022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27024 "RANLIB=$${RANLIB}" \
27025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27026 info) \
27027 || exit 1
27029 @endif expect
27031 .PHONY: maybe-dvi-expect dvi-expect
27032 maybe-dvi-expect:
27033 @if expect
27034 maybe-dvi-expect: dvi-expect
27036 dvi-expect: \
27037 configure-expect
27038 @: $(MAKE); $(unstage)
27039 @[ -f ./expect/Makefile ] || exit 0; \
27040 r=`${PWD_COMMAND}`; export r; \
27041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27042 $(HOST_EXPORTS) \
27043 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27045 done; \
27046 echo "Doing dvi in expect" ; \
27047 (cd $(HOST_SUBDIR)/expect && \
27048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27050 "RANLIB=$${RANLIB}" \
27051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27052 dvi) \
27053 || exit 1
27055 @endif expect
27057 .PHONY: maybe-html-expect html-expect
27058 maybe-html-expect:
27059 @if expect
27060 maybe-html-expect: html-expect
27062 html-expect: \
27063 configure-expect
27064 @: $(MAKE); $(unstage)
27065 @[ -f ./expect/Makefile ] || exit 0; \
27066 r=`${PWD_COMMAND}`; export r; \
27067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27068 $(HOST_EXPORTS) \
27069 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27071 done; \
27072 echo "Doing html in expect" ; \
27073 (cd $(HOST_SUBDIR)/expect && \
27074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27076 "RANLIB=$${RANLIB}" \
27077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27078 html) \
27079 || exit 1
27081 @endif expect
27083 .PHONY: maybe-TAGS-expect TAGS-expect
27084 maybe-TAGS-expect:
27085 @if expect
27086 maybe-TAGS-expect: TAGS-expect
27088 TAGS-expect: \
27089 configure-expect
27090 @: $(MAKE); $(unstage)
27091 @[ -f ./expect/Makefile ] || exit 0; \
27092 r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 $(HOST_EXPORTS) \
27095 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27097 done; \
27098 echo "Doing TAGS in expect" ; \
27099 (cd $(HOST_SUBDIR)/expect && \
27100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27102 "RANLIB=$${RANLIB}" \
27103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27104 TAGS) \
27105 || exit 1
27107 @endif expect
27109 .PHONY: maybe-install-info-expect install-info-expect
27110 maybe-install-info-expect:
27111 @if expect
27112 maybe-install-info-expect: install-info-expect
27114 install-info-expect: \
27115 configure-expect \
27116 info-expect
27117 @: $(MAKE); $(unstage)
27118 @[ -f ./expect/Makefile ] || exit 0; \
27119 r=`${PWD_COMMAND}`; export r; \
27120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27121 $(HOST_EXPORTS) \
27122 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27124 done; \
27125 echo "Doing install-info in expect" ; \
27126 (cd $(HOST_SUBDIR)/expect && \
27127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27129 "RANLIB=$${RANLIB}" \
27130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27131 install-info) \
27132 || exit 1
27134 @endif expect
27136 .PHONY: maybe-installcheck-expect installcheck-expect
27137 maybe-installcheck-expect:
27138 @if expect
27139 maybe-installcheck-expect: installcheck-expect
27141 installcheck-expect: \
27142 configure-expect
27143 @: $(MAKE); $(unstage)
27144 @[ -f ./expect/Makefile ] || exit 0; \
27145 r=`${PWD_COMMAND}`; export r; \
27146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27147 $(HOST_EXPORTS) \
27148 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27150 done; \
27151 echo "Doing installcheck in expect" ; \
27152 (cd $(HOST_SUBDIR)/expect && \
27153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27155 "RANLIB=$${RANLIB}" \
27156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27157 installcheck) \
27158 || exit 1
27160 @endif expect
27162 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27163 maybe-mostlyclean-expect:
27164 @if expect
27165 maybe-mostlyclean-expect: mostlyclean-expect
27167 mostlyclean-expect:
27168 @: $(MAKE); $(unstage)
27169 @[ -f ./expect/Makefile ] || exit 0; \
27170 r=`${PWD_COMMAND}`; export r; \
27171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27172 $(HOST_EXPORTS) \
27173 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27175 done; \
27176 echo "Doing mostlyclean in expect" ; \
27177 (cd $(HOST_SUBDIR)/expect && \
27178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27180 "RANLIB=$${RANLIB}" \
27181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27182 mostlyclean) \
27183 || exit 1
27185 @endif expect
27187 .PHONY: maybe-clean-expect clean-expect
27188 maybe-clean-expect:
27189 @if expect
27190 maybe-clean-expect: clean-expect
27192 clean-expect:
27193 @: $(MAKE); $(unstage)
27194 @[ -f ./expect/Makefile ] || exit 0; \
27195 r=`${PWD_COMMAND}`; export r; \
27196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27197 $(HOST_EXPORTS) \
27198 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27200 done; \
27201 echo "Doing clean in expect" ; \
27202 (cd $(HOST_SUBDIR)/expect && \
27203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27205 "RANLIB=$${RANLIB}" \
27206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27207 clean) \
27208 || exit 1
27210 @endif expect
27212 .PHONY: maybe-distclean-expect distclean-expect
27213 maybe-distclean-expect:
27214 @if expect
27215 maybe-distclean-expect: distclean-expect
27217 distclean-expect:
27218 @: $(MAKE); $(unstage)
27219 @[ -f ./expect/Makefile ] || exit 0; \
27220 r=`${PWD_COMMAND}`; export r; \
27221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27222 $(HOST_EXPORTS) \
27223 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27225 done; \
27226 echo "Doing distclean in expect" ; \
27227 (cd $(HOST_SUBDIR)/expect && \
27228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27230 "RANLIB=$${RANLIB}" \
27231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27232 distclean) \
27233 || exit 1
27235 @endif expect
27237 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27238 maybe-maintainer-clean-expect:
27239 @if expect
27240 maybe-maintainer-clean-expect: maintainer-clean-expect
27242 maintainer-clean-expect:
27243 @: $(MAKE); $(unstage)
27244 @[ -f ./expect/Makefile ] || exit 0; \
27245 r=`${PWD_COMMAND}`; export r; \
27246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27247 $(HOST_EXPORTS) \
27248 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27250 done; \
27251 echo "Doing maintainer-clean in expect" ; \
27252 (cd $(HOST_SUBDIR)/expect && \
27253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27255 "RANLIB=$${RANLIB}" \
27256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27257 maintainer-clean) \
27258 || exit 1
27260 @endif expect
27264 .PHONY: configure-guile maybe-configure-guile
27265 maybe-configure-guile:
27266 @if guile
27267 maybe-configure-guile: configure-guile
27268 configure-guile:
27269 @: $(MAKE); $(unstage)
27270 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27272 r=`${PWD_COMMAND}`; export r; \
27273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27274 $(HOST_EXPORTS) \
27275 echo Configuring in $(HOST_SUBDIR)/guile; \
27276 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27277 case $(srcdir) in \
27278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27279 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27281 esac; \
27282 srcdiroption="--srcdir=$${topdir}/guile"; \
27283 libsrcdir="$$s/guile"; \
27284 $(SHELL) $${libsrcdir}/configure \
27285 $(HOST_CONFIGARGS) $${srcdiroption} \
27286 || exit 1
27287 @endif guile
27293 .PHONY: all-guile maybe-all-guile
27294 maybe-all-guile:
27295 @if guile
27296 TARGET-guile=all
27297 maybe-all-guile: all-guile
27298 all-guile: configure-guile
27299 @: $(MAKE); $(unstage)
27300 @r=`${PWD_COMMAND}`; export r; \
27301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27302 $(HOST_EXPORTS) \
27303 (cd $(HOST_SUBDIR)/guile && \
27304 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27305 @endif guile
27310 .PHONY: check-guile maybe-check-guile
27311 maybe-check-guile:
27312 @if guile
27313 maybe-check-guile: check-guile
27315 check-guile:
27316 @: $(MAKE); $(unstage)
27317 @r=`${PWD_COMMAND}`; export r; \
27318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27319 $(HOST_EXPORTS) \
27320 (cd $(HOST_SUBDIR)/guile && \
27321 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27323 @endif guile
27325 .PHONY: install-guile maybe-install-guile
27326 maybe-install-guile:
27327 @if guile
27328 maybe-install-guile: install-guile
27330 install-guile: installdirs
27331 @: $(MAKE); $(unstage)
27332 @r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(HOST_EXPORTS) \
27335 (cd $(HOST_SUBDIR)/guile && \
27336 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27338 @endif guile
27340 # Other targets (info, dvi, etc.)
27342 .PHONY: maybe-info-guile info-guile
27343 maybe-info-guile:
27344 @if guile
27345 maybe-info-guile: info-guile
27347 info-guile: \
27348 configure-guile
27349 @: $(MAKE); $(unstage)
27350 @[ -f ./guile/Makefile ] || exit 0; \
27351 r=`${PWD_COMMAND}`; export r; \
27352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27353 $(HOST_EXPORTS) \
27354 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27356 done; \
27357 echo "Doing info in guile" ; \
27358 (cd $(HOST_SUBDIR)/guile && \
27359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27361 "RANLIB=$${RANLIB}" \
27362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27363 info) \
27364 || exit 1
27366 @endif guile
27368 .PHONY: maybe-dvi-guile dvi-guile
27369 maybe-dvi-guile:
27370 @if guile
27371 maybe-dvi-guile: dvi-guile
27373 dvi-guile: \
27374 configure-guile
27375 @: $(MAKE); $(unstage)
27376 @[ -f ./guile/Makefile ] || exit 0; \
27377 r=`${PWD_COMMAND}`; export r; \
27378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27379 $(HOST_EXPORTS) \
27380 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27382 done; \
27383 echo "Doing dvi in guile" ; \
27384 (cd $(HOST_SUBDIR)/guile && \
27385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27387 "RANLIB=$${RANLIB}" \
27388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27389 dvi) \
27390 || exit 1
27392 @endif guile
27394 .PHONY: maybe-html-guile html-guile
27395 maybe-html-guile:
27396 @if guile
27397 maybe-html-guile: html-guile
27399 html-guile: \
27400 configure-guile
27401 @: $(MAKE); $(unstage)
27402 @[ -f ./guile/Makefile ] || exit 0; \
27403 r=`${PWD_COMMAND}`; export r; \
27404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27405 $(HOST_EXPORTS) \
27406 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27408 done; \
27409 echo "Doing html in guile" ; \
27410 (cd $(HOST_SUBDIR)/guile && \
27411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27413 "RANLIB=$${RANLIB}" \
27414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27415 html) \
27416 || exit 1
27418 @endif guile
27420 .PHONY: maybe-TAGS-guile TAGS-guile
27421 maybe-TAGS-guile:
27422 @if guile
27423 maybe-TAGS-guile: TAGS-guile
27425 TAGS-guile: \
27426 configure-guile
27427 @: $(MAKE); $(unstage)
27428 @[ -f ./guile/Makefile ] || exit 0; \
27429 r=`${PWD_COMMAND}`; export r; \
27430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27431 $(HOST_EXPORTS) \
27432 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27434 done; \
27435 echo "Doing TAGS in guile" ; \
27436 (cd $(HOST_SUBDIR)/guile && \
27437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27439 "RANLIB=$${RANLIB}" \
27440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27441 TAGS) \
27442 || exit 1
27444 @endif guile
27446 .PHONY: maybe-install-info-guile install-info-guile
27447 maybe-install-info-guile:
27448 @if guile
27449 maybe-install-info-guile: install-info-guile
27451 install-info-guile: \
27452 configure-guile \
27453 info-guile
27454 @: $(MAKE); $(unstage)
27455 @[ -f ./guile/Makefile ] || exit 0; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(HOST_EXPORTS) \
27459 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27461 done; \
27462 echo "Doing install-info in guile" ; \
27463 (cd $(HOST_SUBDIR)/guile && \
27464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27466 "RANLIB=$${RANLIB}" \
27467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27468 install-info) \
27469 || exit 1
27471 @endif guile
27473 .PHONY: maybe-installcheck-guile installcheck-guile
27474 maybe-installcheck-guile:
27475 @if guile
27476 maybe-installcheck-guile: installcheck-guile
27478 installcheck-guile: \
27479 configure-guile
27480 @: $(MAKE); $(unstage)
27481 @[ -f ./guile/Makefile ] || exit 0; \
27482 r=`${PWD_COMMAND}`; export r; \
27483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27484 $(HOST_EXPORTS) \
27485 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27487 done; \
27488 echo "Doing installcheck in guile" ; \
27489 (cd $(HOST_SUBDIR)/guile && \
27490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27492 "RANLIB=$${RANLIB}" \
27493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27494 installcheck) \
27495 || exit 1
27497 @endif guile
27499 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27500 maybe-mostlyclean-guile:
27501 @if guile
27502 maybe-mostlyclean-guile: mostlyclean-guile
27504 mostlyclean-guile:
27505 @: $(MAKE); $(unstage)
27506 @[ -f ./guile/Makefile ] || exit 0; \
27507 r=`${PWD_COMMAND}`; export r; \
27508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27509 $(HOST_EXPORTS) \
27510 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27512 done; \
27513 echo "Doing mostlyclean in guile" ; \
27514 (cd $(HOST_SUBDIR)/guile && \
27515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27517 "RANLIB=$${RANLIB}" \
27518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27519 mostlyclean) \
27520 || exit 1
27522 @endif guile
27524 .PHONY: maybe-clean-guile clean-guile
27525 maybe-clean-guile:
27526 @if guile
27527 maybe-clean-guile: clean-guile
27529 clean-guile:
27530 @: $(MAKE); $(unstage)
27531 @[ -f ./guile/Makefile ] || exit 0; \
27532 r=`${PWD_COMMAND}`; export r; \
27533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27534 $(HOST_EXPORTS) \
27535 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27537 done; \
27538 echo "Doing clean in guile" ; \
27539 (cd $(HOST_SUBDIR)/guile && \
27540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27542 "RANLIB=$${RANLIB}" \
27543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27544 clean) \
27545 || exit 1
27547 @endif guile
27549 .PHONY: maybe-distclean-guile distclean-guile
27550 maybe-distclean-guile:
27551 @if guile
27552 maybe-distclean-guile: distclean-guile
27554 distclean-guile:
27555 @: $(MAKE); $(unstage)
27556 @[ -f ./guile/Makefile ] || exit 0; \
27557 r=`${PWD_COMMAND}`; export r; \
27558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27559 $(HOST_EXPORTS) \
27560 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27562 done; \
27563 echo "Doing distclean in guile" ; \
27564 (cd $(HOST_SUBDIR)/guile && \
27565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27567 "RANLIB=$${RANLIB}" \
27568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27569 distclean) \
27570 || exit 1
27572 @endif guile
27574 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27575 maybe-maintainer-clean-guile:
27576 @if guile
27577 maybe-maintainer-clean-guile: maintainer-clean-guile
27579 maintainer-clean-guile:
27580 @: $(MAKE); $(unstage)
27581 @[ -f ./guile/Makefile ] || exit 0; \
27582 r=`${PWD_COMMAND}`; export r; \
27583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27584 $(HOST_EXPORTS) \
27585 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27587 done; \
27588 echo "Doing maintainer-clean in guile" ; \
27589 (cd $(HOST_SUBDIR)/guile && \
27590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27592 "RANLIB=$${RANLIB}" \
27593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27594 maintainer-clean) \
27595 || exit 1
27597 @endif guile
27601 .PHONY: configure-tk maybe-configure-tk
27602 maybe-configure-tk:
27603 @if tk
27604 maybe-configure-tk: configure-tk
27605 configure-tk:
27606 @: $(MAKE); $(unstage)
27607 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27609 r=`${PWD_COMMAND}`; export r; \
27610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27611 $(HOST_EXPORTS) \
27612 echo Configuring in $(HOST_SUBDIR)/tk; \
27613 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27614 case $(srcdir) in \
27615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27616 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27618 esac; \
27619 srcdiroption="--srcdir=$${topdir}/tk"; \
27620 libsrcdir="$$s/tk"; \
27621 $(SHELL) $${libsrcdir}/configure \
27622 $(HOST_CONFIGARGS) $${srcdiroption} \
27623 || exit 1
27624 @endif tk
27630 .PHONY: all-tk maybe-all-tk
27631 maybe-all-tk:
27632 @if tk
27633 TARGET-tk=all
27634 maybe-all-tk: all-tk
27635 all-tk: configure-tk
27636 @: $(MAKE); $(unstage)
27637 @r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27639 $(HOST_EXPORTS) \
27640 (cd $(HOST_SUBDIR)/tk && \
27641 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27642 @endif tk
27647 .PHONY: check-tk maybe-check-tk
27648 maybe-check-tk:
27649 @if tk
27650 maybe-check-tk: check-tk
27652 check-tk:
27653 @: $(MAKE); $(unstage)
27654 @r=`${PWD_COMMAND}`; export r; \
27655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27656 $(HOST_EXPORTS) \
27657 (cd $(HOST_SUBDIR)/tk && \
27658 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27660 @endif tk
27662 .PHONY: install-tk maybe-install-tk
27663 maybe-install-tk:
27664 @if tk
27665 maybe-install-tk: install-tk
27667 install-tk: installdirs
27668 @: $(MAKE); $(unstage)
27669 @r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 $(HOST_EXPORTS) \
27672 (cd $(HOST_SUBDIR)/tk && \
27673 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27675 @endif tk
27677 # Other targets (info, dvi, etc.)
27679 .PHONY: maybe-info-tk info-tk
27680 maybe-info-tk:
27681 @if tk
27682 maybe-info-tk: info-tk
27684 info-tk: \
27685 configure-tk
27686 @: $(MAKE); $(unstage)
27687 @[ -f ./tk/Makefile ] || exit 0; \
27688 r=`${PWD_COMMAND}`; export r; \
27689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27690 $(HOST_EXPORTS) \
27691 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27693 done; \
27694 echo "Doing info in tk" ; \
27695 (cd $(HOST_SUBDIR)/tk && \
27696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27698 "RANLIB=$${RANLIB}" \
27699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27700 info) \
27701 || exit 1
27703 @endif tk
27705 .PHONY: maybe-dvi-tk dvi-tk
27706 maybe-dvi-tk:
27707 @if tk
27708 maybe-dvi-tk: dvi-tk
27710 dvi-tk: \
27711 configure-tk
27712 @: $(MAKE); $(unstage)
27713 @[ -f ./tk/Makefile ] || exit 0; \
27714 r=`${PWD_COMMAND}`; export r; \
27715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27716 $(HOST_EXPORTS) \
27717 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27719 done; \
27720 echo "Doing dvi in tk" ; \
27721 (cd $(HOST_SUBDIR)/tk && \
27722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27724 "RANLIB=$${RANLIB}" \
27725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27726 dvi) \
27727 || exit 1
27729 @endif tk
27731 .PHONY: maybe-html-tk html-tk
27732 maybe-html-tk:
27733 @if tk
27734 maybe-html-tk: html-tk
27736 html-tk: \
27737 configure-tk
27738 @: $(MAKE); $(unstage)
27739 @[ -f ./tk/Makefile ] || exit 0; \
27740 r=`${PWD_COMMAND}`; export r; \
27741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27742 $(HOST_EXPORTS) \
27743 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27745 done; \
27746 echo "Doing html in tk" ; \
27747 (cd $(HOST_SUBDIR)/tk && \
27748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27750 "RANLIB=$${RANLIB}" \
27751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27752 html) \
27753 || exit 1
27755 @endif tk
27757 .PHONY: maybe-TAGS-tk TAGS-tk
27758 maybe-TAGS-tk:
27759 @if tk
27760 maybe-TAGS-tk: TAGS-tk
27762 TAGS-tk: \
27763 configure-tk
27764 @: $(MAKE); $(unstage)
27765 @[ -f ./tk/Makefile ] || exit 0; \
27766 r=`${PWD_COMMAND}`; export r; \
27767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27768 $(HOST_EXPORTS) \
27769 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27771 done; \
27772 echo "Doing TAGS in tk" ; \
27773 (cd $(HOST_SUBDIR)/tk && \
27774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27776 "RANLIB=$${RANLIB}" \
27777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27778 TAGS) \
27779 || exit 1
27781 @endif tk
27783 .PHONY: maybe-install-info-tk install-info-tk
27784 maybe-install-info-tk:
27785 @if tk
27786 maybe-install-info-tk: install-info-tk
27788 install-info-tk: \
27789 configure-tk \
27790 info-tk
27791 @: $(MAKE); $(unstage)
27792 @[ -f ./tk/Makefile ] || exit 0; \
27793 r=`${PWD_COMMAND}`; export r; \
27794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27795 $(HOST_EXPORTS) \
27796 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27798 done; \
27799 echo "Doing install-info in tk" ; \
27800 (cd $(HOST_SUBDIR)/tk && \
27801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27803 "RANLIB=$${RANLIB}" \
27804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27805 install-info) \
27806 || exit 1
27808 @endif tk
27810 .PHONY: maybe-installcheck-tk installcheck-tk
27811 maybe-installcheck-tk:
27812 @if tk
27813 maybe-installcheck-tk: installcheck-tk
27815 installcheck-tk: \
27816 configure-tk
27817 @: $(MAKE); $(unstage)
27818 @[ -f ./tk/Makefile ] || exit 0; \
27819 r=`${PWD_COMMAND}`; export r; \
27820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27821 $(HOST_EXPORTS) \
27822 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27824 done; \
27825 echo "Doing installcheck in tk" ; \
27826 (cd $(HOST_SUBDIR)/tk && \
27827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27829 "RANLIB=$${RANLIB}" \
27830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27831 installcheck) \
27832 || exit 1
27834 @endif tk
27836 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27837 maybe-mostlyclean-tk:
27838 @if tk
27839 maybe-mostlyclean-tk: mostlyclean-tk
27841 mostlyclean-tk:
27842 @: $(MAKE); $(unstage)
27843 @[ -f ./tk/Makefile ] || exit 0; \
27844 r=`${PWD_COMMAND}`; export r; \
27845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27846 $(HOST_EXPORTS) \
27847 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27849 done; \
27850 echo "Doing mostlyclean in tk" ; \
27851 (cd $(HOST_SUBDIR)/tk && \
27852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27854 "RANLIB=$${RANLIB}" \
27855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27856 mostlyclean) \
27857 || exit 1
27859 @endif tk
27861 .PHONY: maybe-clean-tk clean-tk
27862 maybe-clean-tk:
27863 @if tk
27864 maybe-clean-tk: clean-tk
27866 clean-tk:
27867 @: $(MAKE); $(unstage)
27868 @[ -f ./tk/Makefile ] || exit 0; \
27869 r=`${PWD_COMMAND}`; export r; \
27870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27871 $(HOST_EXPORTS) \
27872 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27874 done; \
27875 echo "Doing clean in tk" ; \
27876 (cd $(HOST_SUBDIR)/tk && \
27877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27879 "RANLIB=$${RANLIB}" \
27880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27881 clean) \
27882 || exit 1
27884 @endif tk
27886 .PHONY: maybe-distclean-tk distclean-tk
27887 maybe-distclean-tk:
27888 @if tk
27889 maybe-distclean-tk: distclean-tk
27891 distclean-tk:
27892 @: $(MAKE); $(unstage)
27893 @[ -f ./tk/Makefile ] || exit 0; \
27894 r=`${PWD_COMMAND}`; export r; \
27895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27896 $(HOST_EXPORTS) \
27897 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27899 done; \
27900 echo "Doing distclean in tk" ; \
27901 (cd $(HOST_SUBDIR)/tk && \
27902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27904 "RANLIB=$${RANLIB}" \
27905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27906 distclean) \
27907 || exit 1
27909 @endif tk
27911 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27912 maybe-maintainer-clean-tk:
27913 @if tk
27914 maybe-maintainer-clean-tk: maintainer-clean-tk
27916 maintainer-clean-tk:
27917 @: $(MAKE); $(unstage)
27918 @[ -f ./tk/Makefile ] || exit 0; \
27919 r=`${PWD_COMMAND}`; export r; \
27920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27921 $(HOST_EXPORTS) \
27922 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27924 done; \
27925 echo "Doing maintainer-clean in tk" ; \
27926 (cd $(HOST_SUBDIR)/tk && \
27927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27929 "RANLIB=$${RANLIB}" \
27930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27931 maintainer-clean) \
27932 || exit 1
27934 @endif tk
27938 .PHONY: configure-libtermcap maybe-configure-libtermcap
27939 maybe-configure-libtermcap:
27940 @if libtermcap
27941 maybe-configure-libtermcap: configure-libtermcap
27942 configure-libtermcap:
27943 @: $(MAKE); $(unstage)
27944 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27946 r=`${PWD_COMMAND}`; export r; \
27947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27948 $(HOST_EXPORTS) \
27949 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27950 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27951 case $(srcdir) in \
27952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27953 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27955 esac; \
27956 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27957 libsrcdir="$$s/libtermcap"; \
27958 $(SHELL) $${libsrcdir}/configure \
27959 $(HOST_CONFIGARGS) $${srcdiroption} \
27960 || exit 1
27961 @endif libtermcap
27967 .PHONY: all-libtermcap maybe-all-libtermcap
27968 maybe-all-libtermcap:
27969 @if libtermcap
27970 TARGET-libtermcap=all
27971 maybe-all-libtermcap: all-libtermcap
27972 all-libtermcap: configure-libtermcap
27973 @: $(MAKE); $(unstage)
27974 @r=`${PWD_COMMAND}`; export r; \
27975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27976 $(HOST_EXPORTS) \
27977 (cd $(HOST_SUBDIR)/libtermcap && \
27978 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27979 @endif libtermcap
27984 .PHONY: check-libtermcap maybe-check-libtermcap
27985 maybe-check-libtermcap:
27986 @if libtermcap
27987 maybe-check-libtermcap: check-libtermcap
27989 check-libtermcap:
27991 @endif libtermcap
27993 .PHONY: install-libtermcap maybe-install-libtermcap
27994 maybe-install-libtermcap:
27995 @if libtermcap
27996 maybe-install-libtermcap: install-libtermcap
27998 install-libtermcap: installdirs
27999 @: $(MAKE); $(unstage)
28000 @r=`${PWD_COMMAND}`; export r; \
28001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28002 $(HOST_EXPORTS) \
28003 (cd $(HOST_SUBDIR)/libtermcap && \
28004 $(MAKE) $(FLAGS_TO_PASS) install)
28006 @endif libtermcap
28008 # Other targets (info, dvi, etc.)
28010 .PHONY: maybe-info-libtermcap info-libtermcap
28011 maybe-info-libtermcap:
28012 @if libtermcap
28013 maybe-info-libtermcap: info-libtermcap
28015 info-libtermcap: \
28016 configure-libtermcap
28017 @: $(MAKE); $(unstage)
28018 @[ -f ./libtermcap/Makefile ] || exit 0; \
28019 r=`${PWD_COMMAND}`; export r; \
28020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28021 $(HOST_EXPORTS) \
28022 for flag in $(EXTRA_HOST_FLAGS) ; do \
28023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28024 done; \
28025 echo "Doing info in libtermcap" ; \
28026 (cd $(HOST_SUBDIR)/libtermcap && \
28027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28029 "RANLIB=$${RANLIB}" \
28030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28031 info) \
28032 || exit 1
28034 @endif libtermcap
28036 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28037 maybe-dvi-libtermcap:
28038 @if libtermcap
28039 maybe-dvi-libtermcap: dvi-libtermcap
28041 dvi-libtermcap: \
28042 configure-libtermcap
28043 @: $(MAKE); $(unstage)
28044 @[ -f ./libtermcap/Makefile ] || exit 0; \
28045 r=`${PWD_COMMAND}`; export r; \
28046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28047 $(HOST_EXPORTS) \
28048 for flag in $(EXTRA_HOST_FLAGS) ; do \
28049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28050 done; \
28051 echo "Doing dvi in libtermcap" ; \
28052 (cd $(HOST_SUBDIR)/libtermcap && \
28053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28055 "RANLIB=$${RANLIB}" \
28056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28057 dvi) \
28058 || exit 1
28060 @endif libtermcap
28062 .PHONY: maybe-html-libtermcap html-libtermcap
28063 maybe-html-libtermcap:
28064 @if libtermcap
28065 maybe-html-libtermcap: html-libtermcap
28067 html-libtermcap: \
28068 configure-libtermcap
28069 @: $(MAKE); $(unstage)
28070 @[ -f ./libtermcap/Makefile ] || exit 0; \
28071 r=`${PWD_COMMAND}`; export r; \
28072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28073 $(HOST_EXPORTS) \
28074 for flag in $(EXTRA_HOST_FLAGS) ; do \
28075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28076 done; \
28077 echo "Doing html in libtermcap" ; \
28078 (cd $(HOST_SUBDIR)/libtermcap && \
28079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28081 "RANLIB=$${RANLIB}" \
28082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28083 html) \
28084 || exit 1
28086 @endif libtermcap
28088 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28089 maybe-TAGS-libtermcap:
28090 @if libtermcap
28091 maybe-TAGS-libtermcap: TAGS-libtermcap
28093 TAGS-libtermcap: \
28094 configure-libtermcap
28095 @: $(MAKE); $(unstage)
28096 @[ -f ./libtermcap/Makefile ] || exit 0; \
28097 r=`${PWD_COMMAND}`; export r; \
28098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28099 $(HOST_EXPORTS) \
28100 for flag in $(EXTRA_HOST_FLAGS) ; do \
28101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28102 done; \
28103 echo "Doing TAGS in libtermcap" ; \
28104 (cd $(HOST_SUBDIR)/libtermcap && \
28105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28107 "RANLIB=$${RANLIB}" \
28108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28109 TAGS) \
28110 || exit 1
28112 @endif libtermcap
28114 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28115 maybe-install-info-libtermcap:
28116 @if libtermcap
28117 maybe-install-info-libtermcap: install-info-libtermcap
28119 install-info-libtermcap: \
28120 configure-libtermcap \
28121 info-libtermcap
28122 @: $(MAKE); $(unstage)
28123 @[ -f ./libtermcap/Makefile ] || exit 0; \
28124 r=`${PWD_COMMAND}`; export r; \
28125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28126 $(HOST_EXPORTS) \
28127 for flag in $(EXTRA_HOST_FLAGS) ; do \
28128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28129 done; \
28130 echo "Doing install-info in libtermcap" ; \
28131 (cd $(HOST_SUBDIR)/libtermcap && \
28132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28134 "RANLIB=$${RANLIB}" \
28135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28136 install-info) \
28137 || exit 1
28139 @endif libtermcap
28141 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28142 maybe-installcheck-libtermcap:
28143 @if libtermcap
28144 maybe-installcheck-libtermcap: installcheck-libtermcap
28146 installcheck-libtermcap: \
28147 configure-libtermcap
28148 @: $(MAKE); $(unstage)
28149 @[ -f ./libtermcap/Makefile ] || exit 0; \
28150 r=`${PWD_COMMAND}`; export r; \
28151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152 $(HOST_EXPORTS) \
28153 for flag in $(EXTRA_HOST_FLAGS) ; do \
28154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28155 done; \
28156 echo "Doing installcheck in libtermcap" ; \
28157 (cd $(HOST_SUBDIR)/libtermcap && \
28158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28160 "RANLIB=$${RANLIB}" \
28161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28162 installcheck) \
28163 || exit 1
28165 @endif libtermcap
28167 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28168 maybe-mostlyclean-libtermcap:
28169 @if libtermcap
28170 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28172 # libtermcap doesn't support mostlyclean.
28173 mostlyclean-libtermcap:
28175 @endif libtermcap
28177 .PHONY: maybe-clean-libtermcap clean-libtermcap
28178 maybe-clean-libtermcap:
28179 @if libtermcap
28180 maybe-clean-libtermcap: clean-libtermcap
28182 # libtermcap doesn't support clean.
28183 clean-libtermcap:
28185 @endif libtermcap
28187 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28188 maybe-distclean-libtermcap:
28189 @if libtermcap
28190 maybe-distclean-libtermcap: distclean-libtermcap
28192 # libtermcap doesn't support distclean.
28193 distclean-libtermcap:
28195 @endif libtermcap
28197 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28198 maybe-maintainer-clean-libtermcap:
28199 @if libtermcap
28200 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28202 # libtermcap doesn't support maintainer-clean.
28203 maintainer-clean-libtermcap:
28205 @endif libtermcap
28209 .PHONY: configure-utils maybe-configure-utils
28210 maybe-configure-utils:
28211 @if utils
28212 maybe-configure-utils: configure-utils
28213 configure-utils:
28214 @: $(MAKE); $(unstage)
28215 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28216 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28217 r=`${PWD_COMMAND}`; export r; \
28218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28219 $(HOST_EXPORTS) \
28220 echo Configuring in $(HOST_SUBDIR)/utils; \
28221 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28222 case $(srcdir) in \
28223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28224 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28226 esac; \
28227 srcdiroption="--srcdir=$${topdir}/utils"; \
28228 libsrcdir="$$s/utils"; \
28229 $(SHELL) $${libsrcdir}/configure \
28230 $(HOST_CONFIGARGS) $${srcdiroption} \
28231 || exit 1
28232 @endif utils
28238 .PHONY: all-utils maybe-all-utils
28239 maybe-all-utils:
28240 @if utils
28241 TARGET-utils=all
28242 maybe-all-utils: all-utils
28243 all-utils: configure-utils
28244 @: $(MAKE); $(unstage)
28245 @r=`${PWD_COMMAND}`; export r; \
28246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28247 $(HOST_EXPORTS) \
28248 (cd $(HOST_SUBDIR)/utils && \
28249 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28250 @endif utils
28255 .PHONY: check-utils maybe-check-utils
28256 maybe-check-utils:
28257 @if utils
28258 maybe-check-utils: check-utils
28260 check-utils:
28262 @endif utils
28264 .PHONY: install-utils maybe-install-utils
28265 maybe-install-utils:
28266 @if utils
28267 maybe-install-utils: install-utils
28269 install-utils: installdirs
28270 @: $(MAKE); $(unstage)
28271 @r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(HOST_EXPORTS) \
28274 (cd $(HOST_SUBDIR)/utils && \
28275 $(MAKE) $(FLAGS_TO_PASS) install)
28277 @endif utils
28279 # Other targets (info, dvi, etc.)
28281 .PHONY: maybe-info-utils info-utils
28282 maybe-info-utils:
28283 @if utils
28284 maybe-info-utils: info-utils
28286 info-utils: \
28287 configure-utils
28288 @: $(MAKE); $(unstage)
28289 @[ -f ./utils/Makefile ] || exit 0; \
28290 r=`${PWD_COMMAND}`; export r; \
28291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28292 $(HOST_EXPORTS) \
28293 for flag in $(EXTRA_HOST_FLAGS) ; do \
28294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28295 done; \
28296 echo "Doing info in utils" ; \
28297 (cd $(HOST_SUBDIR)/utils && \
28298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28300 "RANLIB=$${RANLIB}" \
28301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28302 info) \
28303 || exit 1
28305 @endif utils
28307 .PHONY: maybe-dvi-utils dvi-utils
28308 maybe-dvi-utils:
28309 @if utils
28310 maybe-dvi-utils: dvi-utils
28312 dvi-utils: \
28313 configure-utils
28314 @: $(MAKE); $(unstage)
28315 @[ -f ./utils/Makefile ] || exit 0; \
28316 r=`${PWD_COMMAND}`; export r; \
28317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28318 $(HOST_EXPORTS) \
28319 for flag in $(EXTRA_HOST_FLAGS) ; do \
28320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28321 done; \
28322 echo "Doing dvi in utils" ; \
28323 (cd $(HOST_SUBDIR)/utils && \
28324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28326 "RANLIB=$${RANLIB}" \
28327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28328 dvi) \
28329 || exit 1
28331 @endif utils
28333 .PHONY: maybe-html-utils html-utils
28334 maybe-html-utils:
28335 @if utils
28336 maybe-html-utils: html-utils
28338 html-utils: \
28339 configure-utils
28340 @: $(MAKE); $(unstage)
28341 @[ -f ./utils/Makefile ] || exit 0; \
28342 r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(HOST_EXPORTS) \
28345 for flag in $(EXTRA_HOST_FLAGS) ; do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 echo "Doing html in utils" ; \
28349 (cd $(HOST_SUBDIR)/utils && \
28350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28352 "RANLIB=$${RANLIB}" \
28353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28354 html) \
28355 || exit 1
28357 @endif utils
28359 .PHONY: maybe-TAGS-utils TAGS-utils
28360 maybe-TAGS-utils:
28361 @if utils
28362 maybe-TAGS-utils: TAGS-utils
28364 TAGS-utils: \
28365 configure-utils
28366 @: $(MAKE); $(unstage)
28367 @[ -f ./utils/Makefile ] || exit 0; \
28368 r=`${PWD_COMMAND}`; export r; \
28369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28370 $(HOST_EXPORTS) \
28371 for flag in $(EXTRA_HOST_FLAGS) ; do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 done; \
28374 echo "Doing TAGS in utils" ; \
28375 (cd $(HOST_SUBDIR)/utils && \
28376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28378 "RANLIB=$${RANLIB}" \
28379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28380 TAGS) \
28381 || exit 1
28383 @endif utils
28385 .PHONY: maybe-install-info-utils install-info-utils
28386 maybe-install-info-utils:
28387 @if utils
28388 maybe-install-info-utils: install-info-utils
28390 install-info-utils: \
28391 configure-utils \
28392 info-utils
28393 @: $(MAKE); $(unstage)
28394 @[ -f ./utils/Makefile ] || exit 0; \
28395 r=`${PWD_COMMAND}`; export r; \
28396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28397 $(HOST_EXPORTS) \
28398 for flag in $(EXTRA_HOST_FLAGS) ; do \
28399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28400 done; \
28401 echo "Doing install-info in utils" ; \
28402 (cd $(HOST_SUBDIR)/utils && \
28403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28405 "RANLIB=$${RANLIB}" \
28406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28407 install-info) \
28408 || exit 1
28410 @endif utils
28412 .PHONY: maybe-installcheck-utils installcheck-utils
28413 maybe-installcheck-utils:
28414 @if utils
28415 maybe-installcheck-utils: installcheck-utils
28417 installcheck-utils: \
28418 configure-utils
28419 @: $(MAKE); $(unstage)
28420 @[ -f ./utils/Makefile ] || exit 0; \
28421 r=`${PWD_COMMAND}`; export r; \
28422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28423 $(HOST_EXPORTS) \
28424 for flag in $(EXTRA_HOST_FLAGS) ; do \
28425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28426 done; \
28427 echo "Doing installcheck in utils" ; \
28428 (cd $(HOST_SUBDIR)/utils && \
28429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28431 "RANLIB=$${RANLIB}" \
28432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28433 installcheck) \
28434 || exit 1
28436 @endif utils
28438 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28439 maybe-mostlyclean-utils:
28440 @if utils
28441 maybe-mostlyclean-utils: mostlyclean-utils
28443 mostlyclean-utils:
28444 @: $(MAKE); $(unstage)
28445 @[ -f ./utils/Makefile ] || exit 0; \
28446 r=`${PWD_COMMAND}`; export r; \
28447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448 $(HOST_EXPORTS) \
28449 for flag in $(EXTRA_HOST_FLAGS) ; do \
28450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28451 done; \
28452 echo "Doing mostlyclean in utils" ; \
28453 (cd $(HOST_SUBDIR)/utils && \
28454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28456 "RANLIB=$${RANLIB}" \
28457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28458 mostlyclean) \
28459 || exit 1
28461 @endif utils
28463 .PHONY: maybe-clean-utils clean-utils
28464 maybe-clean-utils:
28465 @if utils
28466 maybe-clean-utils: clean-utils
28468 clean-utils:
28469 @: $(MAKE); $(unstage)
28470 @[ -f ./utils/Makefile ] || exit 0; \
28471 r=`${PWD_COMMAND}`; export r; \
28472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28473 $(HOST_EXPORTS) \
28474 for flag in $(EXTRA_HOST_FLAGS) ; do \
28475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28476 done; \
28477 echo "Doing clean in utils" ; \
28478 (cd $(HOST_SUBDIR)/utils && \
28479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28481 "RANLIB=$${RANLIB}" \
28482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28483 clean) \
28484 || exit 1
28486 @endif utils
28488 .PHONY: maybe-distclean-utils distclean-utils
28489 maybe-distclean-utils:
28490 @if utils
28491 maybe-distclean-utils: distclean-utils
28493 distclean-utils:
28494 @: $(MAKE); $(unstage)
28495 @[ -f ./utils/Makefile ] || exit 0; \
28496 r=`${PWD_COMMAND}`; export r; \
28497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28498 $(HOST_EXPORTS) \
28499 for flag in $(EXTRA_HOST_FLAGS) ; do \
28500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28501 done; \
28502 echo "Doing distclean in utils" ; \
28503 (cd $(HOST_SUBDIR)/utils && \
28504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28506 "RANLIB=$${RANLIB}" \
28507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28508 distclean) \
28509 || exit 1
28511 @endif utils
28513 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28514 maybe-maintainer-clean-utils:
28515 @if utils
28516 maybe-maintainer-clean-utils: maintainer-clean-utils
28518 maintainer-clean-utils:
28519 @: $(MAKE); $(unstage)
28520 @[ -f ./utils/Makefile ] || exit 0; \
28521 r=`${PWD_COMMAND}`; export r; \
28522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28523 $(HOST_EXPORTS) \
28524 for flag in $(EXTRA_HOST_FLAGS) ; do \
28525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28526 done; \
28527 echo "Doing maintainer-clean in utils" ; \
28528 (cd $(HOST_SUBDIR)/utils && \
28529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28531 "RANLIB=$${RANLIB}" \
28532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28533 maintainer-clean) \
28534 || exit 1
28536 @endif utils
28540 .PHONY: configure-gnattools maybe-configure-gnattools
28541 maybe-configure-gnattools:
28542 @if gnattools
28543 maybe-configure-gnattools: configure-gnattools
28544 configure-gnattools:
28545 @: $(MAKE); $(unstage)
28546 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28548 r=`${PWD_COMMAND}`; export r; \
28549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28550 $(HOST_EXPORTS) \
28551 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28552 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28553 case $(srcdir) in \
28554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28555 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28557 esac; \
28558 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28559 libsrcdir="$$s/gnattools"; \
28560 $(SHELL) $${libsrcdir}/configure \
28561 $(HOST_CONFIGARGS) $${srcdiroption} \
28562 || exit 1
28563 @endif gnattools
28569 .PHONY: all-gnattools maybe-all-gnattools
28570 maybe-all-gnattools:
28571 @if gnattools
28572 TARGET-gnattools=all
28573 maybe-all-gnattools: all-gnattools
28574 all-gnattools: configure-gnattools
28575 @: $(MAKE); $(unstage)
28576 @r=`${PWD_COMMAND}`; export r; \
28577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28578 $(HOST_EXPORTS) \
28579 (cd $(HOST_SUBDIR)/gnattools && \
28580 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28581 @endif gnattools
28586 .PHONY: check-gnattools maybe-check-gnattools
28587 maybe-check-gnattools:
28588 @if gnattools
28589 maybe-check-gnattools: check-gnattools
28591 check-gnattools:
28592 @: $(MAKE); $(unstage)
28593 @r=`${PWD_COMMAND}`; export r; \
28594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28595 $(HOST_EXPORTS) \
28596 (cd $(HOST_SUBDIR)/gnattools && \
28597 $(MAKE) $(FLAGS_TO_PASS) check)
28599 @endif gnattools
28601 .PHONY: install-gnattools maybe-install-gnattools
28602 maybe-install-gnattools:
28603 @if gnattools
28604 maybe-install-gnattools: install-gnattools
28606 install-gnattools: installdirs
28607 @: $(MAKE); $(unstage)
28608 @r=`${PWD_COMMAND}`; export r; \
28609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28610 $(HOST_EXPORTS) \
28611 (cd $(HOST_SUBDIR)/gnattools && \
28612 $(MAKE) $(FLAGS_TO_PASS) install)
28614 @endif gnattools
28616 # Other targets (info, dvi, etc.)
28618 .PHONY: maybe-info-gnattools info-gnattools
28619 maybe-info-gnattools:
28620 @if gnattools
28621 maybe-info-gnattools: info-gnattools
28623 info-gnattools: \
28624 configure-gnattools
28625 @: $(MAKE); $(unstage)
28626 @[ -f ./gnattools/Makefile ] || exit 0; \
28627 r=`${PWD_COMMAND}`; export r; \
28628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28629 $(HOST_EXPORTS) \
28630 for flag in $(EXTRA_HOST_FLAGS) ; do \
28631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28632 done; \
28633 echo "Doing info in gnattools" ; \
28634 (cd $(HOST_SUBDIR)/gnattools && \
28635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28637 "RANLIB=$${RANLIB}" \
28638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28639 info) \
28640 || exit 1
28642 @endif gnattools
28644 .PHONY: maybe-dvi-gnattools dvi-gnattools
28645 maybe-dvi-gnattools:
28646 @if gnattools
28647 maybe-dvi-gnattools: dvi-gnattools
28649 dvi-gnattools: \
28650 configure-gnattools
28651 @: $(MAKE); $(unstage)
28652 @[ -f ./gnattools/Makefile ] || exit 0; \
28653 r=`${PWD_COMMAND}`; export r; \
28654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28655 $(HOST_EXPORTS) \
28656 for flag in $(EXTRA_HOST_FLAGS) ; do \
28657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28658 done; \
28659 echo "Doing dvi in gnattools" ; \
28660 (cd $(HOST_SUBDIR)/gnattools && \
28661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28663 "RANLIB=$${RANLIB}" \
28664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28665 dvi) \
28666 || exit 1
28668 @endif gnattools
28670 .PHONY: maybe-html-gnattools html-gnattools
28671 maybe-html-gnattools:
28672 @if gnattools
28673 maybe-html-gnattools: html-gnattools
28675 html-gnattools: \
28676 configure-gnattools
28677 @: $(MAKE); $(unstage)
28678 @[ -f ./gnattools/Makefile ] || exit 0; \
28679 r=`${PWD_COMMAND}`; export r; \
28680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28681 $(HOST_EXPORTS) \
28682 for flag in $(EXTRA_HOST_FLAGS) ; do \
28683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28684 done; \
28685 echo "Doing html in gnattools" ; \
28686 (cd $(HOST_SUBDIR)/gnattools && \
28687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28689 "RANLIB=$${RANLIB}" \
28690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28691 html) \
28692 || exit 1
28694 @endif gnattools
28696 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28697 maybe-TAGS-gnattools:
28698 @if gnattools
28699 maybe-TAGS-gnattools: TAGS-gnattools
28701 TAGS-gnattools: \
28702 configure-gnattools
28703 @: $(MAKE); $(unstage)
28704 @[ -f ./gnattools/Makefile ] || exit 0; \
28705 r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 $(HOST_EXPORTS) \
28708 for flag in $(EXTRA_HOST_FLAGS) ; do \
28709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28710 done; \
28711 echo "Doing TAGS in gnattools" ; \
28712 (cd $(HOST_SUBDIR)/gnattools && \
28713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28715 "RANLIB=$${RANLIB}" \
28716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28717 TAGS) \
28718 || exit 1
28720 @endif gnattools
28722 .PHONY: maybe-install-info-gnattools install-info-gnattools
28723 maybe-install-info-gnattools:
28724 @if gnattools
28725 maybe-install-info-gnattools: install-info-gnattools
28727 install-info-gnattools: \
28728 configure-gnattools \
28729 info-gnattools
28730 @: $(MAKE); $(unstage)
28731 @[ -f ./gnattools/Makefile ] || exit 0; \
28732 r=`${PWD_COMMAND}`; export r; \
28733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28734 $(HOST_EXPORTS) \
28735 for flag in $(EXTRA_HOST_FLAGS) ; do \
28736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28737 done; \
28738 echo "Doing install-info in gnattools" ; \
28739 (cd $(HOST_SUBDIR)/gnattools && \
28740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28742 "RANLIB=$${RANLIB}" \
28743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28744 install-info) \
28745 || exit 1
28747 @endif gnattools
28749 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28750 maybe-installcheck-gnattools:
28751 @if gnattools
28752 maybe-installcheck-gnattools: installcheck-gnattools
28754 installcheck-gnattools: \
28755 configure-gnattools
28756 @: $(MAKE); $(unstage)
28757 @[ -f ./gnattools/Makefile ] || exit 0; \
28758 r=`${PWD_COMMAND}`; export r; \
28759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28760 $(HOST_EXPORTS) \
28761 for flag in $(EXTRA_HOST_FLAGS) ; do \
28762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28763 done; \
28764 echo "Doing installcheck in gnattools" ; \
28765 (cd $(HOST_SUBDIR)/gnattools && \
28766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28768 "RANLIB=$${RANLIB}" \
28769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28770 installcheck) \
28771 || exit 1
28773 @endif gnattools
28775 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28776 maybe-mostlyclean-gnattools:
28777 @if gnattools
28778 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28780 mostlyclean-gnattools:
28781 @: $(MAKE); $(unstage)
28782 @[ -f ./gnattools/Makefile ] || exit 0; \
28783 r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28785 $(HOST_EXPORTS) \
28786 for flag in $(EXTRA_HOST_FLAGS) ; do \
28787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28788 done; \
28789 echo "Doing mostlyclean in gnattools" ; \
28790 (cd $(HOST_SUBDIR)/gnattools && \
28791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28793 "RANLIB=$${RANLIB}" \
28794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28795 mostlyclean) \
28796 || exit 1
28798 @endif gnattools
28800 .PHONY: maybe-clean-gnattools clean-gnattools
28801 maybe-clean-gnattools:
28802 @if gnattools
28803 maybe-clean-gnattools: clean-gnattools
28805 clean-gnattools:
28806 @: $(MAKE); $(unstage)
28807 @[ -f ./gnattools/Makefile ] || exit 0; \
28808 r=`${PWD_COMMAND}`; export r; \
28809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28810 $(HOST_EXPORTS) \
28811 for flag in $(EXTRA_HOST_FLAGS) ; do \
28812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28813 done; \
28814 echo "Doing clean in gnattools" ; \
28815 (cd $(HOST_SUBDIR)/gnattools && \
28816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28818 "RANLIB=$${RANLIB}" \
28819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28820 clean) \
28821 || exit 1
28823 @endif gnattools
28825 .PHONY: maybe-distclean-gnattools distclean-gnattools
28826 maybe-distclean-gnattools:
28827 @if gnattools
28828 maybe-distclean-gnattools: distclean-gnattools
28830 distclean-gnattools:
28831 @: $(MAKE); $(unstage)
28832 @[ -f ./gnattools/Makefile ] || exit 0; \
28833 r=`${PWD_COMMAND}`; export r; \
28834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28835 $(HOST_EXPORTS) \
28836 for flag in $(EXTRA_HOST_FLAGS) ; do \
28837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28838 done; \
28839 echo "Doing distclean in gnattools" ; \
28840 (cd $(HOST_SUBDIR)/gnattools && \
28841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28843 "RANLIB=$${RANLIB}" \
28844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28845 distclean) \
28846 || exit 1
28848 @endif gnattools
28850 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28851 maybe-maintainer-clean-gnattools:
28852 @if gnattools
28853 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28855 maintainer-clean-gnattools:
28856 @: $(MAKE); $(unstage)
28857 @[ -f ./gnattools/Makefile ] || exit 0; \
28858 r=`${PWD_COMMAND}`; export r; \
28859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28860 $(HOST_EXPORTS) \
28861 for flag in $(EXTRA_HOST_FLAGS) ; do \
28862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28863 done; \
28864 echo "Doing maintainer-clean in gnattools" ; \
28865 (cd $(HOST_SUBDIR)/gnattools && \
28866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28868 "RANLIB=$${RANLIB}" \
28869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28870 maintainer-clean) \
28871 || exit 1
28873 @endif gnattools
28877 # ---------------------------------------
28878 # Modules which run on the target machine
28879 # ---------------------------------------
28884 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28885 maybe-configure-target-libstdc++-v3:
28886 @if target-libstdc++-v3
28887 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28888 configure-target-libstdc++-v3:
28889 @: $(MAKE); $(unstage)
28890 @r=`${PWD_COMMAND}`; export r; \
28891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28892 echo "Checking multilib configuration for libstdc++-v3..."; \
28893 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28894 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
28895 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28896 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
28897 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
28898 else \
28899 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
28900 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28901 fi; \
28902 else \
28903 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
28905 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28907 r=`${PWD_COMMAND}`; export r; \
28908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28909 $(RAW_CXX_TARGET_EXPORTS) \
28910 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28911 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28912 case $(srcdir) in \
28913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28914 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28916 esac; \
28917 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28918 libsrcdir="$$s/libstdc++-v3"; \
28919 rm -f no-such-file || : ; \
28920 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28921 $(TARGET_CONFIGARGS) $${srcdiroption} \
28922 || exit 1
28923 @endif target-libstdc++-v3
28929 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28930 maybe-all-target-libstdc++-v3:
28931 @if target-libstdc++-v3
28932 TARGET-target-libstdc++-v3=all
28933 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28934 all-target-libstdc++-v3: configure-target-libstdc++-v3
28935 @: $(MAKE); $(unstage)
28936 @r=`${PWD_COMMAND}`; export r; \
28937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28938 $(RAW_CXX_TARGET_EXPORTS) \
28939 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28940 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28941 @endif target-libstdc++-v3
28947 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28948 maybe-check-target-libstdc++-v3:
28949 @if target-libstdc++-v3
28950 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28952 check-target-libstdc++-v3:
28953 @: $(MAKE); $(unstage)
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 $(RAW_CXX_TARGET_EXPORTS) \
28957 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28958 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28960 @endif target-libstdc++-v3
28962 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28963 maybe-install-target-libstdc++-v3:
28964 @if target-libstdc++-v3
28965 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28967 install-target-libstdc++-v3: installdirs
28968 @: $(MAKE); $(unstage)
28969 @r=`${PWD_COMMAND}`; export r; \
28970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 $(RAW_CXX_TARGET_EXPORTS) \
28972 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28973 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28975 @endif target-libstdc++-v3
28977 # Other targets (info, dvi, etc.)
28979 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28980 maybe-info-target-libstdc++-v3:
28981 @if target-libstdc++-v3
28982 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28984 info-target-libstdc++-v3: \
28985 configure-target-libstdc++-v3
28986 @: $(MAKE); $(unstage)
28987 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28988 r=`${PWD_COMMAND}`; export r; \
28989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28990 $(RAW_CXX_TARGET_EXPORTS) \
28991 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28992 for flag in $(EXTRA_TARGET_FLAGS); do \
28993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28994 done; \
28995 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28998 "RANLIB=$${RANLIB}" \
28999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29000 info) \
29001 || exit 1
29003 @endif target-libstdc++-v3
29005 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
29006 maybe-dvi-target-libstdc++-v3:
29007 @if target-libstdc++-v3
29008 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
29010 dvi-target-libstdc++-v3: \
29011 configure-target-libstdc++-v3
29012 @: $(MAKE); $(unstage)
29013 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29014 r=`${PWD_COMMAND}`; export r; \
29015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29016 $(RAW_CXX_TARGET_EXPORTS) \
29017 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29018 for flag in $(EXTRA_TARGET_FLAGS); do \
29019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29020 done; \
29021 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29024 "RANLIB=$${RANLIB}" \
29025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29026 dvi) \
29027 || exit 1
29029 @endif target-libstdc++-v3
29031 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29032 maybe-html-target-libstdc++-v3:
29033 @if target-libstdc++-v3
29034 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29036 html-target-libstdc++-v3: \
29037 configure-target-libstdc++-v3
29038 @: $(MAKE); $(unstage)
29039 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29040 r=`${PWD_COMMAND}`; export r; \
29041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29042 $(RAW_CXX_TARGET_EXPORTS) \
29043 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29044 for flag in $(EXTRA_TARGET_FLAGS); do \
29045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29046 done; \
29047 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29050 "RANLIB=$${RANLIB}" \
29051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29052 html) \
29053 || exit 1
29055 @endif target-libstdc++-v3
29057 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29058 maybe-TAGS-target-libstdc++-v3:
29059 @if target-libstdc++-v3
29060 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29062 TAGS-target-libstdc++-v3: \
29063 configure-target-libstdc++-v3
29064 @: $(MAKE); $(unstage)
29065 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29066 r=`${PWD_COMMAND}`; export r; \
29067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29068 $(RAW_CXX_TARGET_EXPORTS) \
29069 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29070 for flag in $(EXTRA_TARGET_FLAGS); do \
29071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29072 done; \
29073 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29076 "RANLIB=$${RANLIB}" \
29077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29078 TAGS) \
29079 || exit 1
29081 @endif target-libstdc++-v3
29083 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29084 maybe-install-info-target-libstdc++-v3:
29085 @if target-libstdc++-v3
29086 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29088 install-info-target-libstdc++-v3: \
29089 configure-target-libstdc++-v3 \
29090 info-target-libstdc++-v3
29091 @: $(MAKE); $(unstage)
29092 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29093 r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 $(RAW_CXX_TARGET_EXPORTS) \
29096 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29097 for flag in $(EXTRA_TARGET_FLAGS); do \
29098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29099 done; \
29100 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29103 "RANLIB=$${RANLIB}" \
29104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29105 install-info) \
29106 || exit 1
29108 @endif target-libstdc++-v3
29110 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29111 maybe-installcheck-target-libstdc++-v3:
29112 @if target-libstdc++-v3
29113 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29115 installcheck-target-libstdc++-v3: \
29116 configure-target-libstdc++-v3
29117 @: $(MAKE); $(unstage)
29118 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(RAW_CXX_TARGET_EXPORTS) \
29122 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29123 for flag in $(EXTRA_TARGET_FLAGS); do \
29124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29125 done; \
29126 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29131 installcheck) \
29132 || exit 1
29134 @endif target-libstdc++-v3
29136 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29137 maybe-mostlyclean-target-libstdc++-v3:
29138 @if target-libstdc++-v3
29139 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29141 mostlyclean-target-libstdc++-v3:
29142 @: $(MAKE); $(unstage)
29143 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29144 r=`${PWD_COMMAND}`; export r; \
29145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29146 $(RAW_CXX_TARGET_EXPORTS) \
29147 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29148 for flag in $(EXTRA_TARGET_FLAGS); do \
29149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29150 done; \
29151 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29154 "RANLIB=$${RANLIB}" \
29155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29156 mostlyclean) \
29157 || exit 1
29159 @endif target-libstdc++-v3
29161 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29162 maybe-clean-target-libstdc++-v3:
29163 @if target-libstdc++-v3
29164 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29166 clean-target-libstdc++-v3:
29167 @: $(MAKE); $(unstage)
29168 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29169 r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 $(RAW_CXX_TARGET_EXPORTS) \
29172 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29173 for flag in $(EXTRA_TARGET_FLAGS); do \
29174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29175 done; \
29176 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29179 "RANLIB=$${RANLIB}" \
29180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29181 clean) \
29182 || exit 1
29184 @endif target-libstdc++-v3
29186 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29187 maybe-distclean-target-libstdc++-v3:
29188 @if target-libstdc++-v3
29189 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29191 distclean-target-libstdc++-v3:
29192 @: $(MAKE); $(unstage)
29193 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29194 r=`${PWD_COMMAND}`; export r; \
29195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29196 $(RAW_CXX_TARGET_EXPORTS) \
29197 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29198 for flag in $(EXTRA_TARGET_FLAGS); do \
29199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29200 done; \
29201 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29204 "RANLIB=$${RANLIB}" \
29205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29206 distclean) \
29207 || exit 1
29209 @endif target-libstdc++-v3
29211 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29212 maybe-maintainer-clean-target-libstdc++-v3:
29213 @if target-libstdc++-v3
29214 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29216 maintainer-clean-target-libstdc++-v3:
29217 @: $(MAKE); $(unstage)
29218 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(RAW_CXX_TARGET_EXPORTS) \
29222 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29223 for flag in $(EXTRA_TARGET_FLAGS); do \
29224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29225 done; \
29226 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29229 "RANLIB=$${RANLIB}" \
29230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29231 maintainer-clean) \
29232 || exit 1
29234 @endif target-libstdc++-v3
29240 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29241 maybe-configure-target-libmudflap:
29242 @if target-libmudflap
29243 maybe-configure-target-libmudflap: configure-target-libmudflap
29244 configure-target-libmudflap:
29245 @: $(MAKE); $(unstage)
29246 @r=`${PWD_COMMAND}`; export r; \
29247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29248 echo "Checking multilib configuration for libmudflap..."; \
29249 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29250 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29251 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29252 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29253 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29254 else \
29255 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29256 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29257 fi; \
29258 else \
29259 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29261 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29262 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29263 r=`${PWD_COMMAND}`; export r; \
29264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29265 $(NORMAL_TARGET_EXPORTS) \
29266 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29267 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29268 case $(srcdir) in \
29269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29270 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29272 esac; \
29273 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29274 libsrcdir="$$s/libmudflap"; \
29275 rm -f no-such-file || : ; \
29276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29277 $(TARGET_CONFIGARGS) $${srcdiroption} \
29278 || exit 1
29279 @endif target-libmudflap
29285 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29286 maybe-all-target-libmudflap:
29287 @if target-libmudflap
29288 TARGET-target-libmudflap=all
29289 maybe-all-target-libmudflap: all-target-libmudflap
29290 all-target-libmudflap: configure-target-libmudflap
29291 @: $(MAKE); $(unstage)
29292 @r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(NORMAL_TARGET_EXPORTS) \
29295 (cd $(TARGET_SUBDIR)/libmudflap && \
29296 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29297 @endif target-libmudflap
29303 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29304 maybe-check-target-libmudflap:
29305 @if target-libmudflap
29306 maybe-check-target-libmudflap: check-target-libmudflap
29308 check-target-libmudflap:
29309 @: $(MAKE); $(unstage)
29310 @r=`${PWD_COMMAND}`; export r; \
29311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29312 $(NORMAL_TARGET_EXPORTS) \
29313 (cd $(TARGET_SUBDIR)/libmudflap && \
29314 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29316 @endif target-libmudflap
29318 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29319 maybe-install-target-libmudflap:
29320 @if target-libmudflap
29321 maybe-install-target-libmudflap: install-target-libmudflap
29323 install-target-libmudflap: installdirs
29324 @: $(MAKE); $(unstage)
29325 @r=`${PWD_COMMAND}`; export r; \
29326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29327 $(NORMAL_TARGET_EXPORTS) \
29328 (cd $(TARGET_SUBDIR)/libmudflap && \
29329 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29331 @endif target-libmudflap
29333 # Other targets (info, dvi, etc.)
29335 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29336 maybe-info-target-libmudflap:
29337 @if target-libmudflap
29338 maybe-info-target-libmudflap: info-target-libmudflap
29340 info-target-libmudflap: \
29341 configure-target-libmudflap
29342 @: $(MAKE); $(unstage)
29343 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29344 r=`${PWD_COMMAND}`; export r; \
29345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29346 $(NORMAL_TARGET_EXPORTS) \
29347 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29348 for flag in $(EXTRA_TARGET_FLAGS); do \
29349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29350 done; \
29351 (cd $(TARGET_SUBDIR)/libmudflap && \
29352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29354 "RANLIB=$${RANLIB}" \
29355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29356 info) \
29357 || exit 1
29359 @endif target-libmudflap
29361 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29362 maybe-dvi-target-libmudflap:
29363 @if target-libmudflap
29364 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29366 dvi-target-libmudflap: \
29367 configure-target-libmudflap
29368 @: $(MAKE); $(unstage)
29369 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29370 r=`${PWD_COMMAND}`; export r; \
29371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29372 $(NORMAL_TARGET_EXPORTS) \
29373 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29374 for flag in $(EXTRA_TARGET_FLAGS); do \
29375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29376 done; \
29377 (cd $(TARGET_SUBDIR)/libmudflap && \
29378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29380 "RANLIB=$${RANLIB}" \
29381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29382 dvi) \
29383 || exit 1
29385 @endif target-libmudflap
29387 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29388 maybe-html-target-libmudflap:
29389 @if target-libmudflap
29390 maybe-html-target-libmudflap: html-target-libmudflap
29392 html-target-libmudflap: \
29393 configure-target-libmudflap
29394 @: $(MAKE); $(unstage)
29395 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29396 r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(NORMAL_TARGET_EXPORTS) \
29399 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29400 for flag in $(EXTRA_TARGET_FLAGS); do \
29401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29402 done; \
29403 (cd $(TARGET_SUBDIR)/libmudflap && \
29404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29406 "RANLIB=$${RANLIB}" \
29407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29408 html) \
29409 || exit 1
29411 @endif target-libmudflap
29413 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29414 maybe-TAGS-target-libmudflap:
29415 @if target-libmudflap
29416 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29418 TAGS-target-libmudflap: \
29419 configure-target-libmudflap
29420 @: $(MAKE); $(unstage)
29421 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29422 r=`${PWD_COMMAND}`; export r; \
29423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29424 $(NORMAL_TARGET_EXPORTS) \
29425 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29426 for flag in $(EXTRA_TARGET_FLAGS); do \
29427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29428 done; \
29429 (cd $(TARGET_SUBDIR)/libmudflap && \
29430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29432 "RANLIB=$${RANLIB}" \
29433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29434 TAGS) \
29435 || exit 1
29437 @endif target-libmudflap
29439 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29440 maybe-install-info-target-libmudflap:
29441 @if target-libmudflap
29442 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29444 install-info-target-libmudflap: \
29445 configure-target-libmudflap \
29446 info-target-libmudflap
29447 @: $(MAKE); $(unstage)
29448 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29449 r=`${PWD_COMMAND}`; export r; \
29450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29451 $(NORMAL_TARGET_EXPORTS) \
29452 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29453 for flag in $(EXTRA_TARGET_FLAGS); do \
29454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29455 done; \
29456 (cd $(TARGET_SUBDIR)/libmudflap && \
29457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29459 "RANLIB=$${RANLIB}" \
29460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29461 install-info) \
29462 || exit 1
29464 @endif target-libmudflap
29466 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29467 maybe-installcheck-target-libmudflap:
29468 @if target-libmudflap
29469 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29471 installcheck-target-libmudflap: \
29472 configure-target-libmudflap
29473 @: $(MAKE); $(unstage)
29474 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29475 r=`${PWD_COMMAND}`; export r; \
29476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29477 $(NORMAL_TARGET_EXPORTS) \
29478 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29479 for flag in $(EXTRA_TARGET_FLAGS); do \
29480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29481 done; \
29482 (cd $(TARGET_SUBDIR)/libmudflap && \
29483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29485 "RANLIB=$${RANLIB}" \
29486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29487 installcheck) \
29488 || exit 1
29490 @endif target-libmudflap
29492 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29493 maybe-mostlyclean-target-libmudflap:
29494 @if target-libmudflap
29495 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29497 mostlyclean-target-libmudflap:
29498 @: $(MAKE); $(unstage)
29499 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29500 r=`${PWD_COMMAND}`; export r; \
29501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29502 $(NORMAL_TARGET_EXPORTS) \
29503 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29504 for flag in $(EXTRA_TARGET_FLAGS); do \
29505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29506 done; \
29507 (cd $(TARGET_SUBDIR)/libmudflap && \
29508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29510 "RANLIB=$${RANLIB}" \
29511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29512 mostlyclean) \
29513 || exit 1
29515 @endif target-libmudflap
29517 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29518 maybe-clean-target-libmudflap:
29519 @if target-libmudflap
29520 maybe-clean-target-libmudflap: clean-target-libmudflap
29522 clean-target-libmudflap:
29523 @: $(MAKE); $(unstage)
29524 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29525 r=`${PWD_COMMAND}`; export r; \
29526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29527 $(NORMAL_TARGET_EXPORTS) \
29528 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29529 for flag in $(EXTRA_TARGET_FLAGS); do \
29530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29531 done; \
29532 (cd $(TARGET_SUBDIR)/libmudflap && \
29533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29535 "RANLIB=$${RANLIB}" \
29536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29537 clean) \
29538 || exit 1
29540 @endif target-libmudflap
29542 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29543 maybe-distclean-target-libmudflap:
29544 @if target-libmudflap
29545 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29547 distclean-target-libmudflap:
29548 @: $(MAKE); $(unstage)
29549 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29550 r=`${PWD_COMMAND}`; export r; \
29551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29552 $(NORMAL_TARGET_EXPORTS) \
29553 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29554 for flag in $(EXTRA_TARGET_FLAGS); do \
29555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29556 done; \
29557 (cd $(TARGET_SUBDIR)/libmudflap && \
29558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29560 "RANLIB=$${RANLIB}" \
29561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29562 distclean) \
29563 || exit 1
29565 @endif target-libmudflap
29567 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29568 maybe-maintainer-clean-target-libmudflap:
29569 @if target-libmudflap
29570 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29572 maintainer-clean-target-libmudflap:
29573 @: $(MAKE); $(unstage)
29574 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29575 r=`${PWD_COMMAND}`; export r; \
29576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29577 $(NORMAL_TARGET_EXPORTS) \
29578 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29579 for flag in $(EXTRA_TARGET_FLAGS); do \
29580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29581 done; \
29582 (cd $(TARGET_SUBDIR)/libmudflap && \
29583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29585 "RANLIB=$${RANLIB}" \
29586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29587 maintainer-clean) \
29588 || exit 1
29590 @endif target-libmudflap
29596 .PHONY: configure-target-libssp maybe-configure-target-libssp
29597 maybe-configure-target-libssp:
29598 @if target-libssp
29599 maybe-configure-target-libssp: configure-target-libssp
29600 configure-target-libssp:
29601 @: $(MAKE); $(unstage)
29602 @r=`${PWD_COMMAND}`; export r; \
29603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 echo "Checking multilib configuration for libssp..."; \
29605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29606 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29607 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29608 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29609 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29610 else \
29611 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29612 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29613 fi; \
29614 else \
29615 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29617 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29619 r=`${PWD_COMMAND}`; export r; \
29620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29621 $(NORMAL_TARGET_EXPORTS) \
29622 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29623 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29624 case $(srcdir) in \
29625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29626 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29628 esac; \
29629 srcdiroption="--srcdir=$${topdir}/libssp"; \
29630 libsrcdir="$$s/libssp"; \
29631 rm -f no-such-file || : ; \
29632 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29633 $(TARGET_CONFIGARGS) $${srcdiroption} \
29634 || exit 1
29635 @endif target-libssp
29641 .PHONY: all-target-libssp maybe-all-target-libssp
29642 maybe-all-target-libssp:
29643 @if target-libssp
29644 TARGET-target-libssp=all
29645 maybe-all-target-libssp: all-target-libssp
29646 all-target-libssp: configure-target-libssp
29647 @: $(MAKE); $(unstage)
29648 @r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(NORMAL_TARGET_EXPORTS) \
29651 (cd $(TARGET_SUBDIR)/libssp && \
29652 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29653 @endif target-libssp
29659 .PHONY: check-target-libssp maybe-check-target-libssp
29660 maybe-check-target-libssp:
29661 @if target-libssp
29662 maybe-check-target-libssp: check-target-libssp
29664 check-target-libssp:
29665 @: $(MAKE); $(unstage)
29666 @r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(NORMAL_TARGET_EXPORTS) \
29669 (cd $(TARGET_SUBDIR)/libssp && \
29670 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29672 @endif target-libssp
29674 .PHONY: install-target-libssp maybe-install-target-libssp
29675 maybe-install-target-libssp:
29676 @if target-libssp
29677 maybe-install-target-libssp: install-target-libssp
29679 install-target-libssp: installdirs
29680 @: $(MAKE); $(unstage)
29681 @r=`${PWD_COMMAND}`; export r; \
29682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29683 $(NORMAL_TARGET_EXPORTS) \
29684 (cd $(TARGET_SUBDIR)/libssp && \
29685 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29687 @endif target-libssp
29689 # Other targets (info, dvi, etc.)
29691 .PHONY: maybe-info-target-libssp info-target-libssp
29692 maybe-info-target-libssp:
29693 @if target-libssp
29694 maybe-info-target-libssp: info-target-libssp
29696 info-target-libssp: \
29697 configure-target-libssp
29698 @: $(MAKE); $(unstage)
29699 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29700 r=`${PWD_COMMAND}`; export r; \
29701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29702 $(NORMAL_TARGET_EXPORTS) \
29703 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29704 for flag in $(EXTRA_TARGET_FLAGS); do \
29705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29706 done; \
29707 (cd $(TARGET_SUBDIR)/libssp && \
29708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29710 "RANLIB=$${RANLIB}" \
29711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29712 info) \
29713 || exit 1
29715 @endif target-libssp
29717 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29718 maybe-dvi-target-libssp:
29719 @if target-libssp
29720 maybe-dvi-target-libssp: dvi-target-libssp
29722 dvi-target-libssp: \
29723 configure-target-libssp
29724 @: $(MAKE); $(unstage)
29725 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29726 r=`${PWD_COMMAND}`; export r; \
29727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29728 $(NORMAL_TARGET_EXPORTS) \
29729 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29730 for flag in $(EXTRA_TARGET_FLAGS); do \
29731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29732 done; \
29733 (cd $(TARGET_SUBDIR)/libssp && \
29734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29736 "RANLIB=$${RANLIB}" \
29737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29738 dvi) \
29739 || exit 1
29741 @endif target-libssp
29743 .PHONY: maybe-html-target-libssp html-target-libssp
29744 maybe-html-target-libssp:
29745 @if target-libssp
29746 maybe-html-target-libssp: html-target-libssp
29748 html-target-libssp: \
29749 configure-target-libssp
29750 @: $(MAKE); $(unstage)
29751 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29752 r=`${PWD_COMMAND}`; export r; \
29753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29754 $(NORMAL_TARGET_EXPORTS) \
29755 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29756 for flag in $(EXTRA_TARGET_FLAGS); do \
29757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29758 done; \
29759 (cd $(TARGET_SUBDIR)/libssp && \
29760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29762 "RANLIB=$${RANLIB}" \
29763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29764 html) \
29765 || exit 1
29767 @endif target-libssp
29769 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29770 maybe-TAGS-target-libssp:
29771 @if target-libssp
29772 maybe-TAGS-target-libssp: TAGS-target-libssp
29774 TAGS-target-libssp: \
29775 configure-target-libssp
29776 @: $(MAKE); $(unstage)
29777 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29778 r=`${PWD_COMMAND}`; export r; \
29779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29780 $(NORMAL_TARGET_EXPORTS) \
29781 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29782 for flag in $(EXTRA_TARGET_FLAGS); do \
29783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29784 done; \
29785 (cd $(TARGET_SUBDIR)/libssp && \
29786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29788 "RANLIB=$${RANLIB}" \
29789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29790 TAGS) \
29791 || exit 1
29793 @endif target-libssp
29795 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29796 maybe-install-info-target-libssp:
29797 @if target-libssp
29798 maybe-install-info-target-libssp: install-info-target-libssp
29800 install-info-target-libssp: \
29801 configure-target-libssp \
29802 info-target-libssp
29803 @: $(MAKE); $(unstage)
29804 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29805 r=`${PWD_COMMAND}`; export r; \
29806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29807 $(NORMAL_TARGET_EXPORTS) \
29808 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29809 for flag in $(EXTRA_TARGET_FLAGS); do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 (cd $(TARGET_SUBDIR)/libssp && \
29813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29815 "RANLIB=$${RANLIB}" \
29816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29817 install-info) \
29818 || exit 1
29820 @endif target-libssp
29822 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29823 maybe-installcheck-target-libssp:
29824 @if target-libssp
29825 maybe-installcheck-target-libssp: installcheck-target-libssp
29827 installcheck-target-libssp: \
29828 configure-target-libssp
29829 @: $(MAKE); $(unstage)
29830 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29831 r=`${PWD_COMMAND}`; export r; \
29832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29833 $(NORMAL_TARGET_EXPORTS) \
29834 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29835 for flag in $(EXTRA_TARGET_FLAGS); do \
29836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29837 done; \
29838 (cd $(TARGET_SUBDIR)/libssp && \
29839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29841 "RANLIB=$${RANLIB}" \
29842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29843 installcheck) \
29844 || exit 1
29846 @endif target-libssp
29848 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29849 maybe-mostlyclean-target-libssp:
29850 @if target-libssp
29851 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29853 mostlyclean-target-libssp:
29854 @: $(MAKE); $(unstage)
29855 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29856 r=`${PWD_COMMAND}`; export r; \
29857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29858 $(NORMAL_TARGET_EXPORTS) \
29859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29860 for flag in $(EXTRA_TARGET_FLAGS); do \
29861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29862 done; \
29863 (cd $(TARGET_SUBDIR)/libssp && \
29864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29866 "RANLIB=$${RANLIB}" \
29867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29868 mostlyclean) \
29869 || exit 1
29871 @endif target-libssp
29873 .PHONY: maybe-clean-target-libssp clean-target-libssp
29874 maybe-clean-target-libssp:
29875 @if target-libssp
29876 maybe-clean-target-libssp: clean-target-libssp
29878 clean-target-libssp:
29879 @: $(MAKE); $(unstage)
29880 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29881 r=`${PWD_COMMAND}`; export r; \
29882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29883 $(NORMAL_TARGET_EXPORTS) \
29884 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29885 for flag in $(EXTRA_TARGET_FLAGS); do \
29886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29887 done; \
29888 (cd $(TARGET_SUBDIR)/libssp && \
29889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29891 "RANLIB=$${RANLIB}" \
29892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29893 clean) \
29894 || exit 1
29896 @endif target-libssp
29898 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29899 maybe-distclean-target-libssp:
29900 @if target-libssp
29901 maybe-distclean-target-libssp: distclean-target-libssp
29903 distclean-target-libssp:
29904 @: $(MAKE); $(unstage)
29905 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29906 r=`${PWD_COMMAND}`; export r; \
29907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29908 $(NORMAL_TARGET_EXPORTS) \
29909 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29910 for flag in $(EXTRA_TARGET_FLAGS); do \
29911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29912 done; \
29913 (cd $(TARGET_SUBDIR)/libssp && \
29914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29916 "RANLIB=$${RANLIB}" \
29917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29918 distclean) \
29919 || exit 1
29921 @endif target-libssp
29923 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29924 maybe-maintainer-clean-target-libssp:
29925 @if target-libssp
29926 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29928 maintainer-clean-target-libssp:
29929 @: $(MAKE); $(unstage)
29930 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29931 r=`${PWD_COMMAND}`; export r; \
29932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29933 $(NORMAL_TARGET_EXPORTS) \
29934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29935 for flag in $(EXTRA_TARGET_FLAGS); do \
29936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29937 done; \
29938 (cd $(TARGET_SUBDIR)/libssp && \
29939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29941 "RANLIB=$${RANLIB}" \
29942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29943 maintainer-clean) \
29944 || exit 1
29946 @endif target-libssp
29952 .PHONY: configure-target-newlib maybe-configure-target-newlib
29953 maybe-configure-target-newlib:
29954 @if target-newlib
29955 maybe-configure-target-newlib: configure-target-newlib
29956 configure-target-newlib:
29957 @: $(MAKE); $(unstage)
29958 @r=`${PWD_COMMAND}`; export r; \
29959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29960 echo "Checking multilib configuration for newlib..."; \
29961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29962 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
29963 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
29964 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
29965 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
29966 else \
29967 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
29968 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29969 fi; \
29970 else \
29971 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
29973 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29975 r=`${PWD_COMMAND}`; export r; \
29976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29977 $(NORMAL_TARGET_EXPORTS) \
29978 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29979 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29980 case $(srcdir) in \
29981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29982 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29984 esac; \
29985 srcdiroption="--srcdir=$${topdir}/newlib"; \
29986 libsrcdir="$$s/newlib"; \
29987 rm -f no-such-file || : ; \
29988 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29989 $(TARGET_CONFIGARGS) $${srcdiroption} \
29990 || exit 1
29991 @endif target-newlib
29997 .PHONY: all-target-newlib maybe-all-target-newlib
29998 maybe-all-target-newlib:
29999 @if target-newlib
30000 TARGET-target-newlib=all
30001 maybe-all-target-newlib: all-target-newlib
30002 all-target-newlib: configure-target-newlib
30003 @: $(MAKE); $(unstage)
30004 @r=`${PWD_COMMAND}`; export r; \
30005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 $(NORMAL_TARGET_EXPORTS) \
30007 (cd $(TARGET_SUBDIR)/newlib && \
30008 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
30009 @endif target-newlib
30015 .PHONY: check-target-newlib maybe-check-target-newlib
30016 maybe-check-target-newlib:
30017 @if target-newlib
30018 maybe-check-target-newlib: check-target-newlib
30020 check-target-newlib:
30021 @: $(MAKE); $(unstage)
30022 @r=`${PWD_COMMAND}`; export r; \
30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30024 $(NORMAL_TARGET_EXPORTS) \
30025 (cd $(TARGET_SUBDIR)/newlib && \
30026 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30028 @endif target-newlib
30030 .PHONY: install-target-newlib maybe-install-target-newlib
30031 maybe-install-target-newlib:
30032 @if target-newlib
30033 maybe-install-target-newlib: install-target-newlib
30035 install-target-newlib: installdirs
30036 @: $(MAKE); $(unstage)
30037 @r=`${PWD_COMMAND}`; export r; \
30038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 $(NORMAL_TARGET_EXPORTS) \
30040 (cd $(TARGET_SUBDIR)/newlib && \
30041 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30043 @endif target-newlib
30045 # Other targets (info, dvi, etc.)
30047 .PHONY: maybe-info-target-newlib info-target-newlib
30048 maybe-info-target-newlib:
30049 @if target-newlib
30050 maybe-info-target-newlib: info-target-newlib
30052 info-target-newlib: \
30053 configure-target-newlib
30054 @: $(MAKE); $(unstage)
30055 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30056 r=`${PWD_COMMAND}`; export r; \
30057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30058 $(NORMAL_TARGET_EXPORTS) \
30059 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30060 for flag in $(EXTRA_TARGET_FLAGS); do \
30061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30062 done; \
30063 (cd $(TARGET_SUBDIR)/newlib && \
30064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30066 "RANLIB=$${RANLIB}" \
30067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30068 info) \
30069 || exit 1
30071 @endif target-newlib
30073 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30074 maybe-dvi-target-newlib:
30075 @if target-newlib
30076 maybe-dvi-target-newlib: dvi-target-newlib
30078 dvi-target-newlib: \
30079 configure-target-newlib
30080 @: $(MAKE); $(unstage)
30081 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30082 r=`${PWD_COMMAND}`; export r; \
30083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30084 $(NORMAL_TARGET_EXPORTS) \
30085 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30086 for flag in $(EXTRA_TARGET_FLAGS); do \
30087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30088 done; \
30089 (cd $(TARGET_SUBDIR)/newlib && \
30090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30092 "RANLIB=$${RANLIB}" \
30093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30094 dvi) \
30095 || exit 1
30097 @endif target-newlib
30099 .PHONY: maybe-html-target-newlib html-target-newlib
30100 maybe-html-target-newlib:
30101 @if target-newlib
30102 maybe-html-target-newlib: html-target-newlib
30104 html-target-newlib: \
30105 configure-target-newlib
30106 @: $(MAKE); $(unstage)
30107 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30108 r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 $(NORMAL_TARGET_EXPORTS) \
30111 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30112 for flag in $(EXTRA_TARGET_FLAGS); do \
30113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30114 done; \
30115 (cd $(TARGET_SUBDIR)/newlib && \
30116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30118 "RANLIB=$${RANLIB}" \
30119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30120 html) \
30121 || exit 1
30123 @endif target-newlib
30125 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30126 maybe-TAGS-target-newlib:
30127 @if target-newlib
30128 maybe-TAGS-target-newlib: TAGS-target-newlib
30130 TAGS-target-newlib: \
30131 configure-target-newlib
30132 @: $(MAKE); $(unstage)
30133 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30134 r=`${PWD_COMMAND}`; export r; \
30135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30136 $(NORMAL_TARGET_EXPORTS) \
30137 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30138 for flag in $(EXTRA_TARGET_FLAGS); do \
30139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30140 done; \
30141 (cd $(TARGET_SUBDIR)/newlib && \
30142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30144 "RANLIB=$${RANLIB}" \
30145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30146 TAGS) \
30147 || exit 1
30149 @endif target-newlib
30151 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30152 maybe-install-info-target-newlib:
30153 @if target-newlib
30154 maybe-install-info-target-newlib: install-info-target-newlib
30156 install-info-target-newlib: \
30157 configure-target-newlib \
30158 info-target-newlib
30159 @: $(MAKE); $(unstage)
30160 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30161 r=`${PWD_COMMAND}`; export r; \
30162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30163 $(NORMAL_TARGET_EXPORTS) \
30164 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30165 for flag in $(EXTRA_TARGET_FLAGS); do \
30166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30167 done; \
30168 (cd $(TARGET_SUBDIR)/newlib && \
30169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30171 "RANLIB=$${RANLIB}" \
30172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30173 install-info) \
30174 || exit 1
30176 @endif target-newlib
30178 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30179 maybe-installcheck-target-newlib:
30180 @if target-newlib
30181 maybe-installcheck-target-newlib: installcheck-target-newlib
30183 installcheck-target-newlib: \
30184 configure-target-newlib
30185 @: $(MAKE); $(unstage)
30186 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30187 r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 $(NORMAL_TARGET_EXPORTS) \
30190 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30191 for flag in $(EXTRA_TARGET_FLAGS); do \
30192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30193 done; \
30194 (cd $(TARGET_SUBDIR)/newlib && \
30195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30197 "RANLIB=$${RANLIB}" \
30198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30199 installcheck) \
30200 || exit 1
30202 @endif target-newlib
30204 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30205 maybe-mostlyclean-target-newlib:
30206 @if target-newlib
30207 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30209 mostlyclean-target-newlib:
30210 @: $(MAKE); $(unstage)
30211 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30212 r=`${PWD_COMMAND}`; export r; \
30213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30214 $(NORMAL_TARGET_EXPORTS) \
30215 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30216 for flag in $(EXTRA_TARGET_FLAGS); do \
30217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30218 done; \
30219 (cd $(TARGET_SUBDIR)/newlib && \
30220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30222 "RANLIB=$${RANLIB}" \
30223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30224 mostlyclean) \
30225 || exit 1
30227 @endif target-newlib
30229 .PHONY: maybe-clean-target-newlib clean-target-newlib
30230 maybe-clean-target-newlib:
30231 @if target-newlib
30232 maybe-clean-target-newlib: clean-target-newlib
30234 clean-target-newlib:
30235 @: $(MAKE); $(unstage)
30236 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30237 r=`${PWD_COMMAND}`; export r; \
30238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30239 $(NORMAL_TARGET_EXPORTS) \
30240 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30241 for flag in $(EXTRA_TARGET_FLAGS); do \
30242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30243 done; \
30244 (cd $(TARGET_SUBDIR)/newlib && \
30245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30247 "RANLIB=$${RANLIB}" \
30248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30249 clean) \
30250 || exit 1
30252 @endif target-newlib
30254 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30255 maybe-distclean-target-newlib:
30256 @if target-newlib
30257 maybe-distclean-target-newlib: distclean-target-newlib
30259 distclean-target-newlib:
30260 @: $(MAKE); $(unstage)
30261 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30262 r=`${PWD_COMMAND}`; export r; \
30263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30264 $(NORMAL_TARGET_EXPORTS) \
30265 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30266 for flag in $(EXTRA_TARGET_FLAGS); do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 (cd $(TARGET_SUBDIR)/newlib && \
30270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30272 "RANLIB=$${RANLIB}" \
30273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30274 distclean) \
30275 || exit 1
30277 @endif target-newlib
30279 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30280 maybe-maintainer-clean-target-newlib:
30281 @if target-newlib
30282 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30284 maintainer-clean-target-newlib:
30285 @: $(MAKE); $(unstage)
30286 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30287 r=`${PWD_COMMAND}`; export r; \
30288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30289 $(NORMAL_TARGET_EXPORTS) \
30290 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30291 for flag in $(EXTRA_TARGET_FLAGS); do \
30292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30293 done; \
30294 (cd $(TARGET_SUBDIR)/newlib && \
30295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30297 "RANLIB=$${RANLIB}" \
30298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30299 maintainer-clean) \
30300 || exit 1
30302 @endif target-newlib
30308 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30309 maybe-configure-target-libgfortran:
30310 @if target-libgfortran
30311 maybe-configure-target-libgfortran: configure-target-libgfortran
30312 configure-target-libgfortran:
30313 @: $(MAKE); $(unstage)
30314 @r=`${PWD_COMMAND}`; export r; \
30315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 echo "Checking multilib configuration for libgfortran..."; \
30317 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30318 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30319 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30320 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30321 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30322 else \
30323 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30324 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30325 fi; \
30326 else \
30327 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30329 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30330 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30331 r=`${PWD_COMMAND}`; export r; \
30332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30333 $(NORMAL_TARGET_EXPORTS) \
30334 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30335 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30336 case $(srcdir) in \
30337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30338 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30340 esac; \
30341 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30342 libsrcdir="$$s/libgfortran"; \
30343 rm -f no-such-file || : ; \
30344 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30345 $(TARGET_CONFIGARGS) $${srcdiroption} \
30346 || exit 1
30347 @endif target-libgfortran
30353 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30354 maybe-all-target-libgfortran:
30355 @if target-libgfortran
30356 TARGET-target-libgfortran=all
30357 maybe-all-target-libgfortran: all-target-libgfortran
30358 all-target-libgfortran: configure-target-libgfortran
30359 @: $(MAKE); $(unstage)
30360 @r=`${PWD_COMMAND}`; export r; \
30361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30362 $(NORMAL_TARGET_EXPORTS) \
30363 (cd $(TARGET_SUBDIR)/libgfortran && \
30364 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30365 @endif target-libgfortran
30371 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30372 maybe-check-target-libgfortran:
30373 @if target-libgfortran
30374 maybe-check-target-libgfortran: check-target-libgfortran
30376 check-target-libgfortran:
30377 @: $(MAKE); $(unstage)
30378 @r=`${PWD_COMMAND}`; export r; \
30379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30380 $(NORMAL_TARGET_EXPORTS) \
30381 (cd $(TARGET_SUBDIR)/libgfortran && \
30382 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30384 @endif target-libgfortran
30386 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30387 maybe-install-target-libgfortran:
30388 @if target-libgfortran
30389 maybe-install-target-libgfortran: install-target-libgfortran
30391 install-target-libgfortran: installdirs
30392 @: $(MAKE); $(unstage)
30393 @r=`${PWD_COMMAND}`; export r; \
30394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30395 $(NORMAL_TARGET_EXPORTS) \
30396 (cd $(TARGET_SUBDIR)/libgfortran && \
30397 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30399 @endif target-libgfortran
30401 # Other targets (info, dvi, etc.)
30403 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30404 maybe-info-target-libgfortran:
30405 @if target-libgfortran
30406 maybe-info-target-libgfortran: info-target-libgfortran
30408 info-target-libgfortran: \
30409 configure-target-libgfortran
30410 @: $(MAKE); $(unstage)
30411 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30412 r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(NORMAL_TARGET_EXPORTS) \
30415 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30416 for flag in $(EXTRA_TARGET_FLAGS); do \
30417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30418 done; \
30419 (cd $(TARGET_SUBDIR)/libgfortran && \
30420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30422 "RANLIB=$${RANLIB}" \
30423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30424 info) \
30425 || exit 1
30427 @endif target-libgfortran
30429 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30430 maybe-dvi-target-libgfortran:
30431 @if target-libgfortran
30432 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30434 dvi-target-libgfortran: \
30435 configure-target-libgfortran
30436 @: $(MAKE); $(unstage)
30437 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30438 r=`${PWD_COMMAND}`; export r; \
30439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30440 $(NORMAL_TARGET_EXPORTS) \
30441 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30442 for flag in $(EXTRA_TARGET_FLAGS); do \
30443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30444 done; \
30445 (cd $(TARGET_SUBDIR)/libgfortran && \
30446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30448 "RANLIB=$${RANLIB}" \
30449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30450 dvi) \
30451 || exit 1
30453 @endif target-libgfortran
30455 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30456 maybe-html-target-libgfortran:
30457 @if target-libgfortran
30458 maybe-html-target-libgfortran: html-target-libgfortran
30460 html-target-libgfortran: \
30461 configure-target-libgfortran
30462 @: $(MAKE); $(unstage)
30463 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30464 r=`${PWD_COMMAND}`; export r; \
30465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30466 $(NORMAL_TARGET_EXPORTS) \
30467 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30468 for flag in $(EXTRA_TARGET_FLAGS); do \
30469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30470 done; \
30471 (cd $(TARGET_SUBDIR)/libgfortran && \
30472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30474 "RANLIB=$${RANLIB}" \
30475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30476 html) \
30477 || exit 1
30479 @endif target-libgfortran
30481 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30482 maybe-TAGS-target-libgfortran:
30483 @if target-libgfortran
30484 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30486 TAGS-target-libgfortran: \
30487 configure-target-libgfortran
30488 @: $(MAKE); $(unstage)
30489 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30490 r=`${PWD_COMMAND}`; export r; \
30491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30492 $(NORMAL_TARGET_EXPORTS) \
30493 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30494 for flag in $(EXTRA_TARGET_FLAGS); do \
30495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30496 done; \
30497 (cd $(TARGET_SUBDIR)/libgfortran && \
30498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30500 "RANLIB=$${RANLIB}" \
30501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30502 TAGS) \
30503 || exit 1
30505 @endif target-libgfortran
30507 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30508 maybe-install-info-target-libgfortran:
30509 @if target-libgfortran
30510 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30512 install-info-target-libgfortran: \
30513 configure-target-libgfortran \
30514 info-target-libgfortran
30515 @: $(MAKE); $(unstage)
30516 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30517 r=`${PWD_COMMAND}`; export r; \
30518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30519 $(NORMAL_TARGET_EXPORTS) \
30520 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30521 for flag in $(EXTRA_TARGET_FLAGS); do \
30522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30523 done; \
30524 (cd $(TARGET_SUBDIR)/libgfortran && \
30525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30527 "RANLIB=$${RANLIB}" \
30528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30529 install-info) \
30530 || exit 1
30532 @endif target-libgfortran
30534 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30535 maybe-installcheck-target-libgfortran:
30536 @if target-libgfortran
30537 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30539 installcheck-target-libgfortran: \
30540 configure-target-libgfortran
30541 @: $(MAKE); $(unstage)
30542 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30543 r=`${PWD_COMMAND}`; export r; \
30544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30545 $(NORMAL_TARGET_EXPORTS) \
30546 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30547 for flag in $(EXTRA_TARGET_FLAGS); do \
30548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30549 done; \
30550 (cd $(TARGET_SUBDIR)/libgfortran && \
30551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30553 "RANLIB=$${RANLIB}" \
30554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30555 installcheck) \
30556 || exit 1
30558 @endif target-libgfortran
30560 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30561 maybe-mostlyclean-target-libgfortran:
30562 @if target-libgfortran
30563 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30565 mostlyclean-target-libgfortran:
30566 @: $(MAKE); $(unstage)
30567 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30568 r=`${PWD_COMMAND}`; export r; \
30569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30570 $(NORMAL_TARGET_EXPORTS) \
30571 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30572 for flag in $(EXTRA_TARGET_FLAGS); do \
30573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30574 done; \
30575 (cd $(TARGET_SUBDIR)/libgfortran && \
30576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30578 "RANLIB=$${RANLIB}" \
30579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30580 mostlyclean) \
30581 || exit 1
30583 @endif target-libgfortran
30585 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30586 maybe-clean-target-libgfortran:
30587 @if target-libgfortran
30588 maybe-clean-target-libgfortran: clean-target-libgfortran
30590 clean-target-libgfortran:
30591 @: $(MAKE); $(unstage)
30592 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30593 r=`${PWD_COMMAND}`; export r; \
30594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30595 $(NORMAL_TARGET_EXPORTS) \
30596 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30597 for flag in $(EXTRA_TARGET_FLAGS); do \
30598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30599 done; \
30600 (cd $(TARGET_SUBDIR)/libgfortran && \
30601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30603 "RANLIB=$${RANLIB}" \
30604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30605 clean) \
30606 || exit 1
30608 @endif target-libgfortran
30610 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30611 maybe-distclean-target-libgfortran:
30612 @if target-libgfortran
30613 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30615 distclean-target-libgfortran:
30616 @: $(MAKE); $(unstage)
30617 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30618 r=`${PWD_COMMAND}`; export r; \
30619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30620 $(NORMAL_TARGET_EXPORTS) \
30621 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30622 for flag in $(EXTRA_TARGET_FLAGS); do \
30623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30624 done; \
30625 (cd $(TARGET_SUBDIR)/libgfortran && \
30626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30628 "RANLIB=$${RANLIB}" \
30629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30630 distclean) \
30631 || exit 1
30633 @endif target-libgfortran
30635 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30636 maybe-maintainer-clean-target-libgfortran:
30637 @if target-libgfortran
30638 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30640 maintainer-clean-target-libgfortran:
30641 @: $(MAKE); $(unstage)
30642 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30643 r=`${PWD_COMMAND}`; export r; \
30644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30645 $(NORMAL_TARGET_EXPORTS) \
30646 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30647 for flag in $(EXTRA_TARGET_FLAGS); do \
30648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30649 done; \
30650 (cd $(TARGET_SUBDIR)/libgfortran && \
30651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30653 "RANLIB=$${RANLIB}" \
30654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30655 maintainer-clean) \
30656 || exit 1
30658 @endif target-libgfortran
30664 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30665 maybe-configure-target-libobjc:
30666 @if target-libobjc
30667 maybe-configure-target-libobjc: configure-target-libobjc
30668 configure-target-libobjc:
30669 @: $(MAKE); $(unstage)
30670 @r=`${PWD_COMMAND}`; export r; \
30671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30672 echo "Checking multilib configuration for libobjc..."; \
30673 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30674 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
30675 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30676 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
30677 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
30678 else \
30679 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
30680 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30681 fi; \
30682 else \
30683 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
30685 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30687 r=`${PWD_COMMAND}`; export r; \
30688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30689 $(NORMAL_TARGET_EXPORTS) \
30690 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30691 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30692 case $(srcdir) in \
30693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30694 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30696 esac; \
30697 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30698 libsrcdir="$$s/libobjc"; \
30699 rm -f no-such-file || : ; \
30700 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30701 $(TARGET_CONFIGARGS) $${srcdiroption} \
30702 || exit 1
30703 @endif target-libobjc
30709 .PHONY: all-target-libobjc maybe-all-target-libobjc
30710 maybe-all-target-libobjc:
30711 @if target-libobjc
30712 TARGET-target-libobjc=all
30713 maybe-all-target-libobjc: all-target-libobjc
30714 all-target-libobjc: configure-target-libobjc
30715 @: $(MAKE); $(unstage)
30716 @r=`${PWD_COMMAND}`; export r; \
30717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30718 $(NORMAL_TARGET_EXPORTS) \
30719 (cd $(TARGET_SUBDIR)/libobjc && \
30720 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30721 @endif target-libobjc
30727 .PHONY: check-target-libobjc maybe-check-target-libobjc
30728 maybe-check-target-libobjc:
30729 @if target-libobjc
30730 maybe-check-target-libobjc: check-target-libobjc
30732 check-target-libobjc:
30733 @: $(MAKE); $(unstage)
30734 @r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 $(NORMAL_TARGET_EXPORTS) \
30737 (cd $(TARGET_SUBDIR)/libobjc && \
30738 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30740 @endif target-libobjc
30742 .PHONY: install-target-libobjc maybe-install-target-libobjc
30743 maybe-install-target-libobjc:
30744 @if target-libobjc
30745 maybe-install-target-libobjc: install-target-libobjc
30747 install-target-libobjc: installdirs
30748 @: $(MAKE); $(unstage)
30749 @r=`${PWD_COMMAND}`; export r; \
30750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30751 $(NORMAL_TARGET_EXPORTS) \
30752 (cd $(TARGET_SUBDIR)/libobjc && \
30753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30755 @endif target-libobjc
30757 # Other targets (info, dvi, etc.)
30759 .PHONY: maybe-info-target-libobjc info-target-libobjc
30760 maybe-info-target-libobjc:
30761 @if target-libobjc
30762 maybe-info-target-libobjc: info-target-libobjc
30764 info-target-libobjc: \
30765 configure-target-libobjc
30766 @: $(MAKE); $(unstage)
30767 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30768 r=`${PWD_COMMAND}`; export r; \
30769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30770 $(NORMAL_TARGET_EXPORTS) \
30771 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30772 for flag in $(EXTRA_TARGET_FLAGS); do \
30773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30774 done; \
30775 (cd $(TARGET_SUBDIR)/libobjc && \
30776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30778 "RANLIB=$${RANLIB}" \
30779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30780 info) \
30781 || exit 1
30783 @endif target-libobjc
30785 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30786 maybe-dvi-target-libobjc:
30787 @if target-libobjc
30788 maybe-dvi-target-libobjc: dvi-target-libobjc
30790 dvi-target-libobjc: \
30791 configure-target-libobjc
30792 @: $(MAKE); $(unstage)
30793 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30794 r=`${PWD_COMMAND}`; export r; \
30795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30796 $(NORMAL_TARGET_EXPORTS) \
30797 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30798 for flag in $(EXTRA_TARGET_FLAGS); do \
30799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30800 done; \
30801 (cd $(TARGET_SUBDIR)/libobjc && \
30802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30804 "RANLIB=$${RANLIB}" \
30805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30806 dvi) \
30807 || exit 1
30809 @endif target-libobjc
30811 .PHONY: maybe-html-target-libobjc html-target-libobjc
30812 maybe-html-target-libobjc:
30813 @if target-libobjc
30814 maybe-html-target-libobjc: html-target-libobjc
30816 html-target-libobjc: \
30817 configure-target-libobjc
30818 @: $(MAKE); $(unstage)
30819 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30820 r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 $(NORMAL_TARGET_EXPORTS) \
30823 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30824 for flag in $(EXTRA_TARGET_FLAGS); do \
30825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30826 done; \
30827 (cd $(TARGET_SUBDIR)/libobjc && \
30828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30830 "RANLIB=$${RANLIB}" \
30831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30832 html) \
30833 || exit 1
30835 @endif target-libobjc
30837 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30838 maybe-TAGS-target-libobjc:
30839 @if target-libobjc
30840 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30842 TAGS-target-libobjc: \
30843 configure-target-libobjc
30844 @: $(MAKE); $(unstage)
30845 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30846 r=`${PWD_COMMAND}`; export r; \
30847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30848 $(NORMAL_TARGET_EXPORTS) \
30849 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30850 for flag in $(EXTRA_TARGET_FLAGS); do \
30851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30852 done; \
30853 (cd $(TARGET_SUBDIR)/libobjc && \
30854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30856 "RANLIB=$${RANLIB}" \
30857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30858 TAGS) \
30859 || exit 1
30861 @endif target-libobjc
30863 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30864 maybe-install-info-target-libobjc:
30865 @if target-libobjc
30866 maybe-install-info-target-libobjc: install-info-target-libobjc
30868 install-info-target-libobjc: \
30869 configure-target-libobjc \
30870 info-target-libobjc
30871 @: $(MAKE); $(unstage)
30872 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30873 r=`${PWD_COMMAND}`; export r; \
30874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30875 $(NORMAL_TARGET_EXPORTS) \
30876 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30877 for flag in $(EXTRA_TARGET_FLAGS); do \
30878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30879 done; \
30880 (cd $(TARGET_SUBDIR)/libobjc && \
30881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30883 "RANLIB=$${RANLIB}" \
30884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30885 install-info) \
30886 || exit 1
30888 @endif target-libobjc
30890 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30891 maybe-installcheck-target-libobjc:
30892 @if target-libobjc
30893 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30895 installcheck-target-libobjc: \
30896 configure-target-libobjc
30897 @: $(MAKE); $(unstage)
30898 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30899 r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 $(NORMAL_TARGET_EXPORTS) \
30902 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30903 for flag in $(EXTRA_TARGET_FLAGS); do \
30904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30905 done; \
30906 (cd $(TARGET_SUBDIR)/libobjc && \
30907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30909 "RANLIB=$${RANLIB}" \
30910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30911 installcheck) \
30912 || exit 1
30914 @endif target-libobjc
30916 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30917 maybe-mostlyclean-target-libobjc:
30918 @if target-libobjc
30919 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30921 mostlyclean-target-libobjc:
30922 @: $(MAKE); $(unstage)
30923 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30924 r=`${PWD_COMMAND}`; export r; \
30925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30926 $(NORMAL_TARGET_EXPORTS) \
30927 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30928 for flag in $(EXTRA_TARGET_FLAGS); do \
30929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30930 done; \
30931 (cd $(TARGET_SUBDIR)/libobjc && \
30932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30934 "RANLIB=$${RANLIB}" \
30935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30936 mostlyclean) \
30937 || exit 1
30939 @endif target-libobjc
30941 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30942 maybe-clean-target-libobjc:
30943 @if target-libobjc
30944 maybe-clean-target-libobjc: clean-target-libobjc
30946 clean-target-libobjc:
30947 @: $(MAKE); $(unstage)
30948 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30949 r=`${PWD_COMMAND}`; export r; \
30950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30951 $(NORMAL_TARGET_EXPORTS) \
30952 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30953 for flag in $(EXTRA_TARGET_FLAGS); do \
30954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30955 done; \
30956 (cd $(TARGET_SUBDIR)/libobjc && \
30957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30959 "RANLIB=$${RANLIB}" \
30960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30961 clean) \
30962 || exit 1
30964 @endif target-libobjc
30966 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30967 maybe-distclean-target-libobjc:
30968 @if target-libobjc
30969 maybe-distclean-target-libobjc: distclean-target-libobjc
30971 distclean-target-libobjc:
30972 @: $(MAKE); $(unstage)
30973 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30974 r=`${PWD_COMMAND}`; export r; \
30975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30976 $(NORMAL_TARGET_EXPORTS) \
30977 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30978 for flag in $(EXTRA_TARGET_FLAGS); do \
30979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30980 done; \
30981 (cd $(TARGET_SUBDIR)/libobjc && \
30982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30984 "RANLIB=$${RANLIB}" \
30985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30986 distclean) \
30987 || exit 1
30989 @endif target-libobjc
30991 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30992 maybe-maintainer-clean-target-libobjc:
30993 @if target-libobjc
30994 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30996 maintainer-clean-target-libobjc:
30997 @: $(MAKE); $(unstage)
30998 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30999 r=`${PWD_COMMAND}`; export r; \
31000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31001 $(NORMAL_TARGET_EXPORTS) \
31002 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
31003 for flag in $(EXTRA_TARGET_FLAGS); do \
31004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31005 done; \
31006 (cd $(TARGET_SUBDIR)/libobjc && \
31007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31009 "RANLIB=$${RANLIB}" \
31010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31011 maintainer-clean) \
31012 || exit 1
31014 @endif target-libobjc
31020 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31021 maybe-configure-target-libtermcap:
31022 @if target-libtermcap
31023 maybe-configure-target-libtermcap: configure-target-libtermcap
31024 configure-target-libtermcap:
31025 @: $(MAKE); $(unstage)
31026 @r=`${PWD_COMMAND}`; export r; \
31027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31028 echo "Checking multilib configuration for libtermcap..."; \
31029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31030 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31031 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31032 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31033 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31034 else \
31035 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31036 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31037 fi; \
31038 else \
31039 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31041 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31043 r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(NORMAL_TARGET_EXPORTS) \
31046 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31047 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31048 case $(srcdir) in \
31049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31050 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31052 esac; \
31053 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31054 libsrcdir="$$s/libtermcap"; \
31055 rm -f no-such-file || : ; \
31056 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31057 $(TARGET_CONFIGARGS) $${srcdiroption} \
31058 || exit 1
31059 @endif target-libtermcap
31065 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31066 maybe-all-target-libtermcap:
31067 @if target-libtermcap
31068 TARGET-target-libtermcap=all
31069 maybe-all-target-libtermcap: all-target-libtermcap
31070 all-target-libtermcap: configure-target-libtermcap
31071 @: $(MAKE); $(unstage)
31072 @r=`${PWD_COMMAND}`; export r; \
31073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31074 $(NORMAL_TARGET_EXPORTS) \
31075 (cd $(TARGET_SUBDIR)/libtermcap && \
31076 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31077 @endif target-libtermcap
31083 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31084 maybe-check-target-libtermcap:
31085 @if target-libtermcap
31086 maybe-check-target-libtermcap: check-target-libtermcap
31088 # Dummy target for uncheckable module.
31089 check-target-libtermcap:
31091 @endif target-libtermcap
31093 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31094 maybe-install-target-libtermcap:
31095 @if target-libtermcap
31096 maybe-install-target-libtermcap: install-target-libtermcap
31098 install-target-libtermcap: installdirs
31099 @: $(MAKE); $(unstage)
31100 @r=`${PWD_COMMAND}`; export r; \
31101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31102 $(NORMAL_TARGET_EXPORTS) \
31103 (cd $(TARGET_SUBDIR)/libtermcap && \
31104 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31106 @endif target-libtermcap
31108 # Other targets (info, dvi, etc.)
31110 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31111 maybe-info-target-libtermcap:
31112 @if target-libtermcap
31113 maybe-info-target-libtermcap: info-target-libtermcap
31115 info-target-libtermcap: \
31116 configure-target-libtermcap
31117 @: $(MAKE); $(unstage)
31118 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31119 r=`${PWD_COMMAND}`; export r; \
31120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31121 $(NORMAL_TARGET_EXPORTS) \
31122 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31123 for flag in $(EXTRA_TARGET_FLAGS); do \
31124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31125 done; \
31126 (cd $(TARGET_SUBDIR)/libtermcap && \
31127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31129 "RANLIB=$${RANLIB}" \
31130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31131 info) \
31132 || exit 1
31134 @endif target-libtermcap
31136 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31137 maybe-dvi-target-libtermcap:
31138 @if target-libtermcap
31139 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31141 dvi-target-libtermcap: \
31142 configure-target-libtermcap
31143 @: $(MAKE); $(unstage)
31144 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31145 r=`${PWD_COMMAND}`; export r; \
31146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31147 $(NORMAL_TARGET_EXPORTS) \
31148 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31149 for flag in $(EXTRA_TARGET_FLAGS); do \
31150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31151 done; \
31152 (cd $(TARGET_SUBDIR)/libtermcap && \
31153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31155 "RANLIB=$${RANLIB}" \
31156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31157 dvi) \
31158 || exit 1
31160 @endif target-libtermcap
31162 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31163 maybe-html-target-libtermcap:
31164 @if target-libtermcap
31165 maybe-html-target-libtermcap: html-target-libtermcap
31167 html-target-libtermcap: \
31168 configure-target-libtermcap
31169 @: $(MAKE); $(unstage)
31170 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31171 r=`${PWD_COMMAND}`; export r; \
31172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31173 $(NORMAL_TARGET_EXPORTS) \
31174 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31175 for flag in $(EXTRA_TARGET_FLAGS); do \
31176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31177 done; \
31178 (cd $(TARGET_SUBDIR)/libtermcap && \
31179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31181 "RANLIB=$${RANLIB}" \
31182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31183 html) \
31184 || exit 1
31186 @endif target-libtermcap
31188 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31189 maybe-TAGS-target-libtermcap:
31190 @if target-libtermcap
31191 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31193 TAGS-target-libtermcap: \
31194 configure-target-libtermcap
31195 @: $(MAKE); $(unstage)
31196 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31197 r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31199 $(NORMAL_TARGET_EXPORTS) \
31200 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31201 for flag in $(EXTRA_TARGET_FLAGS); do \
31202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31203 done; \
31204 (cd $(TARGET_SUBDIR)/libtermcap && \
31205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31207 "RANLIB=$${RANLIB}" \
31208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31209 TAGS) \
31210 || exit 1
31212 @endif target-libtermcap
31214 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31215 maybe-install-info-target-libtermcap:
31216 @if target-libtermcap
31217 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31219 install-info-target-libtermcap: \
31220 configure-target-libtermcap \
31221 info-target-libtermcap
31222 @: $(MAKE); $(unstage)
31223 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31224 r=`${PWD_COMMAND}`; export r; \
31225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31226 $(NORMAL_TARGET_EXPORTS) \
31227 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31228 for flag in $(EXTRA_TARGET_FLAGS); do \
31229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31230 done; \
31231 (cd $(TARGET_SUBDIR)/libtermcap && \
31232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31234 "RANLIB=$${RANLIB}" \
31235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31236 install-info) \
31237 || exit 1
31239 @endif target-libtermcap
31241 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31242 maybe-installcheck-target-libtermcap:
31243 @if target-libtermcap
31244 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31246 installcheck-target-libtermcap: \
31247 configure-target-libtermcap
31248 @: $(MAKE); $(unstage)
31249 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31250 r=`${PWD_COMMAND}`; export r; \
31251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31252 $(NORMAL_TARGET_EXPORTS) \
31253 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31254 for flag in $(EXTRA_TARGET_FLAGS); do \
31255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31256 done; \
31257 (cd $(TARGET_SUBDIR)/libtermcap && \
31258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31260 "RANLIB=$${RANLIB}" \
31261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31262 installcheck) \
31263 || exit 1
31265 @endif target-libtermcap
31267 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31268 maybe-mostlyclean-target-libtermcap:
31269 @if target-libtermcap
31270 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31272 # libtermcap doesn't support mostlyclean.
31273 mostlyclean-target-libtermcap:
31275 @endif target-libtermcap
31277 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31278 maybe-clean-target-libtermcap:
31279 @if target-libtermcap
31280 maybe-clean-target-libtermcap: clean-target-libtermcap
31282 # libtermcap doesn't support clean.
31283 clean-target-libtermcap:
31285 @endif target-libtermcap
31287 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31288 maybe-distclean-target-libtermcap:
31289 @if target-libtermcap
31290 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31292 # libtermcap doesn't support distclean.
31293 distclean-target-libtermcap:
31295 @endif target-libtermcap
31297 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31298 maybe-maintainer-clean-target-libtermcap:
31299 @if target-libtermcap
31300 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31302 # libtermcap doesn't support maintainer-clean.
31303 maintainer-clean-target-libtermcap:
31305 @endif target-libtermcap
31311 .PHONY: configure-target-winsup maybe-configure-target-winsup
31312 maybe-configure-target-winsup:
31313 @if target-winsup
31314 maybe-configure-target-winsup: configure-target-winsup
31315 configure-target-winsup:
31316 @: $(MAKE); $(unstage)
31317 @r=`${PWD_COMMAND}`; export r; \
31318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31319 echo "Checking multilib configuration for winsup..."; \
31320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31321 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31322 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31323 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31324 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31325 else \
31326 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31327 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31328 fi; \
31329 else \
31330 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31332 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31334 r=`${PWD_COMMAND}`; export r; \
31335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31336 $(NORMAL_TARGET_EXPORTS) \
31337 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31338 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31339 case $(srcdir) in \
31340 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31341 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31342 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31343 esac; \
31344 srcdiroption="--srcdir=$${topdir}/winsup"; \
31345 libsrcdir="$$s/winsup"; \
31346 rm -f no-such-file || : ; \
31347 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31348 $(TARGET_CONFIGARGS) $${srcdiroption} \
31349 || exit 1
31350 @endif target-winsup
31356 .PHONY: all-target-winsup maybe-all-target-winsup
31357 maybe-all-target-winsup:
31358 @if target-winsup
31359 TARGET-target-winsup=all
31360 maybe-all-target-winsup: all-target-winsup
31361 all-target-winsup: configure-target-winsup
31362 @: $(MAKE); $(unstage)
31363 @r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(NORMAL_TARGET_EXPORTS) \
31366 (cd $(TARGET_SUBDIR)/winsup && \
31367 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31368 @endif target-winsup
31374 .PHONY: check-target-winsup maybe-check-target-winsup
31375 maybe-check-target-winsup:
31376 @if target-winsup
31377 maybe-check-target-winsup: check-target-winsup
31379 check-target-winsup:
31380 @: $(MAKE); $(unstage)
31381 @r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 $(NORMAL_TARGET_EXPORTS) \
31384 (cd $(TARGET_SUBDIR)/winsup && \
31385 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31387 @endif target-winsup
31389 .PHONY: install-target-winsup maybe-install-target-winsup
31390 maybe-install-target-winsup:
31391 @if target-winsup
31392 maybe-install-target-winsup: install-target-winsup
31394 install-target-winsup: installdirs
31395 @: $(MAKE); $(unstage)
31396 @r=`${PWD_COMMAND}`; export r; \
31397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31398 $(NORMAL_TARGET_EXPORTS) \
31399 (cd $(TARGET_SUBDIR)/winsup && \
31400 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31402 @endif target-winsup
31404 # Other targets (info, dvi, etc.)
31406 .PHONY: maybe-info-target-winsup info-target-winsup
31407 maybe-info-target-winsup:
31408 @if target-winsup
31409 maybe-info-target-winsup: info-target-winsup
31411 info-target-winsup: \
31412 configure-target-winsup
31413 @: $(MAKE); $(unstage)
31414 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31415 r=`${PWD_COMMAND}`; export r; \
31416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31417 $(NORMAL_TARGET_EXPORTS) \
31418 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31419 for flag in $(EXTRA_TARGET_FLAGS); do \
31420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31421 done; \
31422 (cd $(TARGET_SUBDIR)/winsup && \
31423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31425 "RANLIB=$${RANLIB}" \
31426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31427 info) \
31428 || exit 1
31430 @endif target-winsup
31432 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31433 maybe-dvi-target-winsup:
31434 @if target-winsup
31435 maybe-dvi-target-winsup: dvi-target-winsup
31437 dvi-target-winsup: \
31438 configure-target-winsup
31439 @: $(MAKE); $(unstage)
31440 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31441 r=`${PWD_COMMAND}`; export r; \
31442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31443 $(NORMAL_TARGET_EXPORTS) \
31444 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31445 for flag in $(EXTRA_TARGET_FLAGS); do \
31446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31447 done; \
31448 (cd $(TARGET_SUBDIR)/winsup && \
31449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31451 "RANLIB=$${RANLIB}" \
31452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31453 dvi) \
31454 || exit 1
31456 @endif target-winsup
31458 .PHONY: maybe-html-target-winsup html-target-winsup
31459 maybe-html-target-winsup:
31460 @if target-winsup
31461 maybe-html-target-winsup: html-target-winsup
31463 html-target-winsup: \
31464 configure-target-winsup
31465 @: $(MAKE); $(unstage)
31466 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31467 r=`${PWD_COMMAND}`; export r; \
31468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31469 $(NORMAL_TARGET_EXPORTS) \
31470 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31471 for flag in $(EXTRA_TARGET_FLAGS); do \
31472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31473 done; \
31474 (cd $(TARGET_SUBDIR)/winsup && \
31475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31477 "RANLIB=$${RANLIB}" \
31478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31479 html) \
31480 || exit 1
31482 @endif target-winsup
31484 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31485 maybe-TAGS-target-winsup:
31486 @if target-winsup
31487 maybe-TAGS-target-winsup: TAGS-target-winsup
31489 TAGS-target-winsup: \
31490 configure-target-winsup
31491 @: $(MAKE); $(unstage)
31492 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31493 r=`${PWD_COMMAND}`; export r; \
31494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31495 $(NORMAL_TARGET_EXPORTS) \
31496 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31497 for flag in $(EXTRA_TARGET_FLAGS); do \
31498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31499 done; \
31500 (cd $(TARGET_SUBDIR)/winsup && \
31501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31503 "RANLIB=$${RANLIB}" \
31504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31505 TAGS) \
31506 || exit 1
31508 @endif target-winsup
31510 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31511 maybe-install-info-target-winsup:
31512 @if target-winsup
31513 maybe-install-info-target-winsup: install-info-target-winsup
31515 install-info-target-winsup: \
31516 configure-target-winsup \
31517 info-target-winsup
31518 @: $(MAKE); $(unstage)
31519 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31520 r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(NORMAL_TARGET_EXPORTS) \
31523 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31524 for flag in $(EXTRA_TARGET_FLAGS); do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 (cd $(TARGET_SUBDIR)/winsup && \
31528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31530 "RANLIB=$${RANLIB}" \
31531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31532 install-info) \
31533 || exit 1
31535 @endif target-winsup
31537 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31538 maybe-installcheck-target-winsup:
31539 @if target-winsup
31540 maybe-installcheck-target-winsup: installcheck-target-winsup
31542 installcheck-target-winsup: \
31543 configure-target-winsup
31544 @: $(MAKE); $(unstage)
31545 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31546 r=`${PWD_COMMAND}`; export r; \
31547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31548 $(NORMAL_TARGET_EXPORTS) \
31549 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31550 for flag in $(EXTRA_TARGET_FLAGS); do \
31551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31552 done; \
31553 (cd $(TARGET_SUBDIR)/winsup && \
31554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31556 "RANLIB=$${RANLIB}" \
31557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31558 installcheck) \
31559 || exit 1
31561 @endif target-winsup
31563 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31564 maybe-mostlyclean-target-winsup:
31565 @if target-winsup
31566 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31568 mostlyclean-target-winsup:
31569 @: $(MAKE); $(unstage)
31570 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31571 r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(NORMAL_TARGET_EXPORTS) \
31574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31575 for flag in $(EXTRA_TARGET_FLAGS); do \
31576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31577 done; \
31578 (cd $(TARGET_SUBDIR)/winsup && \
31579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31581 "RANLIB=$${RANLIB}" \
31582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31583 mostlyclean) \
31584 || exit 1
31586 @endif target-winsup
31588 .PHONY: maybe-clean-target-winsup clean-target-winsup
31589 maybe-clean-target-winsup:
31590 @if target-winsup
31591 maybe-clean-target-winsup: clean-target-winsup
31593 clean-target-winsup:
31594 @: $(MAKE); $(unstage)
31595 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31596 r=`${PWD_COMMAND}`; export r; \
31597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31598 $(NORMAL_TARGET_EXPORTS) \
31599 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31600 for flag in $(EXTRA_TARGET_FLAGS); do \
31601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31602 done; \
31603 (cd $(TARGET_SUBDIR)/winsup && \
31604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31606 "RANLIB=$${RANLIB}" \
31607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31608 clean) \
31609 || exit 1
31611 @endif target-winsup
31613 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31614 maybe-distclean-target-winsup:
31615 @if target-winsup
31616 maybe-distclean-target-winsup: distclean-target-winsup
31618 distclean-target-winsup:
31619 @: $(MAKE); $(unstage)
31620 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31621 r=`${PWD_COMMAND}`; export r; \
31622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31623 $(NORMAL_TARGET_EXPORTS) \
31624 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31625 for flag in $(EXTRA_TARGET_FLAGS); do \
31626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31627 done; \
31628 (cd $(TARGET_SUBDIR)/winsup && \
31629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31631 "RANLIB=$${RANLIB}" \
31632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31633 distclean) \
31634 || exit 1
31636 @endif target-winsup
31638 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31639 maybe-maintainer-clean-target-winsup:
31640 @if target-winsup
31641 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31643 maintainer-clean-target-winsup:
31644 @: $(MAKE); $(unstage)
31645 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31646 r=`${PWD_COMMAND}`; export r; \
31647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31648 $(NORMAL_TARGET_EXPORTS) \
31649 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31650 for flag in $(EXTRA_TARGET_FLAGS); do \
31651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31652 done; \
31653 (cd $(TARGET_SUBDIR)/winsup && \
31654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31656 "RANLIB=$${RANLIB}" \
31657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31658 maintainer-clean) \
31659 || exit 1
31661 @endif target-winsup
31667 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31668 maybe-configure-target-libgloss:
31669 @if target-libgloss
31670 maybe-configure-target-libgloss: configure-target-libgloss
31671 configure-target-libgloss:
31672 @: $(MAKE); $(unstage)
31673 @r=`${PWD_COMMAND}`; export r; \
31674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31675 echo "Checking multilib configuration for libgloss..."; \
31676 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31677 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
31678 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31679 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
31680 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
31681 else \
31682 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
31683 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31684 fi; \
31685 else \
31686 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
31688 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31690 r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 $(NORMAL_TARGET_EXPORTS) \
31693 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31694 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31695 case $(srcdir) in \
31696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31697 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31699 esac; \
31700 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31701 libsrcdir="$$s/libgloss"; \
31702 rm -f no-such-file || : ; \
31703 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31704 $(TARGET_CONFIGARGS) $${srcdiroption} \
31705 || exit 1
31706 @endif target-libgloss
31712 .PHONY: all-target-libgloss maybe-all-target-libgloss
31713 maybe-all-target-libgloss:
31714 @if target-libgloss
31715 TARGET-target-libgloss=all
31716 maybe-all-target-libgloss: all-target-libgloss
31717 all-target-libgloss: configure-target-libgloss
31718 @: $(MAKE); $(unstage)
31719 @r=`${PWD_COMMAND}`; export r; \
31720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31721 $(NORMAL_TARGET_EXPORTS) \
31722 (cd $(TARGET_SUBDIR)/libgloss && \
31723 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31724 @endif target-libgloss
31730 .PHONY: check-target-libgloss maybe-check-target-libgloss
31731 maybe-check-target-libgloss:
31732 @if target-libgloss
31733 maybe-check-target-libgloss: check-target-libgloss
31735 # Dummy target for uncheckable module.
31736 check-target-libgloss:
31738 @endif target-libgloss
31740 .PHONY: install-target-libgloss maybe-install-target-libgloss
31741 maybe-install-target-libgloss:
31742 @if target-libgloss
31743 maybe-install-target-libgloss: install-target-libgloss
31745 install-target-libgloss: installdirs
31746 @: $(MAKE); $(unstage)
31747 @r=`${PWD_COMMAND}`; export r; \
31748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31749 $(NORMAL_TARGET_EXPORTS) \
31750 (cd $(TARGET_SUBDIR)/libgloss && \
31751 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31753 @endif target-libgloss
31755 # Other targets (info, dvi, etc.)
31757 .PHONY: maybe-info-target-libgloss info-target-libgloss
31758 maybe-info-target-libgloss:
31759 @if target-libgloss
31760 maybe-info-target-libgloss: info-target-libgloss
31762 info-target-libgloss: \
31763 configure-target-libgloss
31764 @: $(MAKE); $(unstage)
31765 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31766 r=`${PWD_COMMAND}`; export r; \
31767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31768 $(NORMAL_TARGET_EXPORTS) \
31769 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31770 for flag in $(EXTRA_TARGET_FLAGS); do \
31771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31772 done; \
31773 (cd $(TARGET_SUBDIR)/libgloss && \
31774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31776 "RANLIB=$${RANLIB}" \
31777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31778 info) \
31779 || exit 1
31781 @endif target-libgloss
31783 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31784 maybe-dvi-target-libgloss:
31785 @if target-libgloss
31786 maybe-dvi-target-libgloss: dvi-target-libgloss
31788 dvi-target-libgloss: \
31789 configure-target-libgloss
31790 @: $(MAKE); $(unstage)
31791 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31792 r=`${PWD_COMMAND}`; export r; \
31793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31794 $(NORMAL_TARGET_EXPORTS) \
31795 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31796 for flag in $(EXTRA_TARGET_FLAGS); do \
31797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31798 done; \
31799 (cd $(TARGET_SUBDIR)/libgloss && \
31800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31802 "RANLIB=$${RANLIB}" \
31803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31804 dvi) \
31805 || exit 1
31807 @endif target-libgloss
31809 .PHONY: maybe-html-target-libgloss html-target-libgloss
31810 maybe-html-target-libgloss:
31811 @if target-libgloss
31812 maybe-html-target-libgloss: html-target-libgloss
31814 html-target-libgloss: \
31815 configure-target-libgloss
31816 @: $(MAKE); $(unstage)
31817 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31818 r=`${PWD_COMMAND}`; export r; \
31819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31820 $(NORMAL_TARGET_EXPORTS) \
31821 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31822 for flag in $(EXTRA_TARGET_FLAGS); do \
31823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31824 done; \
31825 (cd $(TARGET_SUBDIR)/libgloss && \
31826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31828 "RANLIB=$${RANLIB}" \
31829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31830 html) \
31831 || exit 1
31833 @endif target-libgloss
31835 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31836 maybe-TAGS-target-libgloss:
31837 @if target-libgloss
31838 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31840 TAGS-target-libgloss: \
31841 configure-target-libgloss
31842 @: $(MAKE); $(unstage)
31843 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31844 r=`${PWD_COMMAND}`; export r; \
31845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31846 $(NORMAL_TARGET_EXPORTS) \
31847 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31848 for flag in $(EXTRA_TARGET_FLAGS); do \
31849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31850 done; \
31851 (cd $(TARGET_SUBDIR)/libgloss && \
31852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31854 "RANLIB=$${RANLIB}" \
31855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31856 TAGS) \
31857 || exit 1
31859 @endif target-libgloss
31861 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31862 maybe-install-info-target-libgloss:
31863 @if target-libgloss
31864 maybe-install-info-target-libgloss: install-info-target-libgloss
31866 install-info-target-libgloss: \
31867 configure-target-libgloss \
31868 info-target-libgloss
31869 @: $(MAKE); $(unstage)
31870 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31871 r=`${PWD_COMMAND}`; export r; \
31872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31873 $(NORMAL_TARGET_EXPORTS) \
31874 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31875 for flag in $(EXTRA_TARGET_FLAGS); do \
31876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31877 done; \
31878 (cd $(TARGET_SUBDIR)/libgloss && \
31879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31881 "RANLIB=$${RANLIB}" \
31882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31883 install-info) \
31884 || exit 1
31886 @endif target-libgloss
31888 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31889 maybe-installcheck-target-libgloss:
31890 @if target-libgloss
31891 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31893 installcheck-target-libgloss: \
31894 configure-target-libgloss
31895 @: $(MAKE); $(unstage)
31896 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31897 r=`${PWD_COMMAND}`; export r; \
31898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31899 $(NORMAL_TARGET_EXPORTS) \
31900 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31901 for flag in $(EXTRA_TARGET_FLAGS); do \
31902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31903 done; \
31904 (cd $(TARGET_SUBDIR)/libgloss && \
31905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31907 "RANLIB=$${RANLIB}" \
31908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31909 installcheck) \
31910 || exit 1
31912 @endif target-libgloss
31914 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31915 maybe-mostlyclean-target-libgloss:
31916 @if target-libgloss
31917 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31919 mostlyclean-target-libgloss:
31920 @: $(MAKE); $(unstage)
31921 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31922 r=`${PWD_COMMAND}`; export r; \
31923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31924 $(NORMAL_TARGET_EXPORTS) \
31925 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31926 for flag in $(EXTRA_TARGET_FLAGS); do \
31927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31928 done; \
31929 (cd $(TARGET_SUBDIR)/libgloss && \
31930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31932 "RANLIB=$${RANLIB}" \
31933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31934 mostlyclean) \
31935 || exit 1
31937 @endif target-libgloss
31939 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31940 maybe-clean-target-libgloss:
31941 @if target-libgloss
31942 maybe-clean-target-libgloss: clean-target-libgloss
31944 clean-target-libgloss:
31945 @: $(MAKE); $(unstage)
31946 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31947 r=`${PWD_COMMAND}`; export r; \
31948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31949 $(NORMAL_TARGET_EXPORTS) \
31950 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31951 for flag in $(EXTRA_TARGET_FLAGS); do \
31952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31953 done; \
31954 (cd $(TARGET_SUBDIR)/libgloss && \
31955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31957 "RANLIB=$${RANLIB}" \
31958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31959 clean) \
31960 || exit 1
31962 @endif target-libgloss
31964 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31965 maybe-distclean-target-libgloss:
31966 @if target-libgloss
31967 maybe-distclean-target-libgloss: distclean-target-libgloss
31969 distclean-target-libgloss:
31970 @: $(MAKE); $(unstage)
31971 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31972 r=`${PWD_COMMAND}`; export r; \
31973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31974 $(NORMAL_TARGET_EXPORTS) \
31975 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31976 for flag in $(EXTRA_TARGET_FLAGS); do \
31977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31978 done; \
31979 (cd $(TARGET_SUBDIR)/libgloss && \
31980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31982 "RANLIB=$${RANLIB}" \
31983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31984 distclean) \
31985 || exit 1
31987 @endif target-libgloss
31989 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31990 maybe-maintainer-clean-target-libgloss:
31991 @if target-libgloss
31992 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31994 maintainer-clean-target-libgloss:
31995 @: $(MAKE); $(unstage)
31996 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31997 r=`${PWD_COMMAND}`; export r; \
31998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31999 $(NORMAL_TARGET_EXPORTS) \
32000 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
32001 for flag in $(EXTRA_TARGET_FLAGS); do \
32002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32003 done; \
32004 (cd $(TARGET_SUBDIR)/libgloss && \
32005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32007 "RANLIB=$${RANLIB}" \
32008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32009 maintainer-clean) \
32010 || exit 1
32012 @endif target-libgloss
32018 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32019 maybe-configure-target-libiberty:
32020 @if target-libiberty
32021 maybe-configure-target-libiberty: configure-target-libiberty
32022 configure-target-libiberty:
32023 @: $(MAKE); $(unstage)
32024 @r=`${PWD_COMMAND}`; export r; \
32025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32026 echo "Checking multilib configuration for libiberty..."; \
32027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32029 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32030 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32031 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32032 else \
32033 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32034 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32035 fi; \
32036 else \
32037 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32039 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32040 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32041 r=`${PWD_COMMAND}`; export r; \
32042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32043 $(NORMAL_TARGET_EXPORTS) \
32044 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32045 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32046 case $(srcdir) in \
32047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32048 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32050 esac; \
32051 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32052 libsrcdir="$$s/libiberty"; \
32053 rm -f no-such-file || : ; \
32054 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32055 $(TARGET_CONFIGARGS) $${srcdiroption} \
32056 || exit 1
32057 @endif target-libiberty
32063 .PHONY: all-target-libiberty maybe-all-target-libiberty
32064 maybe-all-target-libiberty:
32065 @if target-libiberty
32066 TARGET-target-libiberty=all
32067 maybe-all-target-libiberty: all-target-libiberty
32068 all-target-libiberty: configure-target-libiberty
32069 @: $(MAKE); $(unstage)
32070 @r=`${PWD_COMMAND}`; export r; \
32071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32072 $(NORMAL_TARGET_EXPORTS) \
32073 (cd $(TARGET_SUBDIR)/libiberty && \
32074 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32075 @endif target-libiberty
32081 .PHONY: check-target-libiberty maybe-check-target-libiberty
32082 maybe-check-target-libiberty:
32083 @if target-libiberty
32084 maybe-check-target-libiberty: check-target-libiberty
32086 check-target-libiberty:
32087 @: $(MAKE); $(unstage)
32088 @r=`${PWD_COMMAND}`; export r; \
32089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32090 $(NORMAL_TARGET_EXPORTS) \
32091 (cd $(TARGET_SUBDIR)/libiberty && \
32092 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32094 @endif target-libiberty
32096 .PHONY: install-target-libiberty maybe-install-target-libiberty
32097 maybe-install-target-libiberty:
32098 @if target-libiberty
32099 maybe-install-target-libiberty: install-target-libiberty
32101 install-target-libiberty: installdirs
32102 @: $(MAKE); $(unstage)
32103 @r=`${PWD_COMMAND}`; export r; \
32104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32105 $(NORMAL_TARGET_EXPORTS) \
32106 (cd $(TARGET_SUBDIR)/libiberty && \
32107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32109 @endif target-libiberty
32111 # Other targets (info, dvi, etc.)
32113 .PHONY: maybe-info-target-libiberty info-target-libiberty
32114 maybe-info-target-libiberty:
32115 @if target-libiberty
32116 maybe-info-target-libiberty: info-target-libiberty
32118 info-target-libiberty: \
32119 configure-target-libiberty
32120 @: $(MAKE); $(unstage)
32121 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32122 r=`${PWD_COMMAND}`; export r; \
32123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32124 $(NORMAL_TARGET_EXPORTS) \
32125 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32126 for flag in $(EXTRA_TARGET_FLAGS); do \
32127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32128 done; \
32129 (cd $(TARGET_SUBDIR)/libiberty && \
32130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32132 "RANLIB=$${RANLIB}" \
32133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32134 info) \
32135 || exit 1
32137 @endif target-libiberty
32139 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32140 maybe-dvi-target-libiberty:
32141 @if target-libiberty
32142 maybe-dvi-target-libiberty: dvi-target-libiberty
32144 dvi-target-libiberty: \
32145 configure-target-libiberty
32146 @: $(MAKE); $(unstage)
32147 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32148 r=`${PWD_COMMAND}`; export r; \
32149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32150 $(NORMAL_TARGET_EXPORTS) \
32151 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32152 for flag in $(EXTRA_TARGET_FLAGS); do \
32153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32154 done; \
32155 (cd $(TARGET_SUBDIR)/libiberty && \
32156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32158 "RANLIB=$${RANLIB}" \
32159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32160 dvi) \
32161 || exit 1
32163 @endif target-libiberty
32165 .PHONY: maybe-html-target-libiberty html-target-libiberty
32166 maybe-html-target-libiberty:
32167 @if target-libiberty
32168 maybe-html-target-libiberty: html-target-libiberty
32170 html-target-libiberty: \
32171 configure-target-libiberty
32172 @: $(MAKE); $(unstage)
32173 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32174 r=`${PWD_COMMAND}`; export r; \
32175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32176 $(NORMAL_TARGET_EXPORTS) \
32177 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32178 for flag in $(EXTRA_TARGET_FLAGS); do \
32179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32180 done; \
32181 (cd $(TARGET_SUBDIR)/libiberty && \
32182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32184 "RANLIB=$${RANLIB}" \
32185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32186 html) \
32187 || exit 1
32189 @endif target-libiberty
32191 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32192 maybe-TAGS-target-libiberty:
32193 @if target-libiberty
32194 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32196 TAGS-target-libiberty: \
32197 configure-target-libiberty
32198 @: $(MAKE); $(unstage)
32199 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32200 r=`${PWD_COMMAND}`; export r; \
32201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32202 $(NORMAL_TARGET_EXPORTS) \
32203 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32204 for flag in $(EXTRA_TARGET_FLAGS); do \
32205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32206 done; \
32207 (cd $(TARGET_SUBDIR)/libiberty && \
32208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32210 "RANLIB=$${RANLIB}" \
32211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32212 TAGS) \
32213 || exit 1
32215 @endif target-libiberty
32217 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32218 maybe-install-info-target-libiberty:
32219 @if target-libiberty
32220 maybe-install-info-target-libiberty: install-info-target-libiberty
32222 install-info-target-libiberty: \
32223 configure-target-libiberty \
32224 info-target-libiberty
32225 @: $(MAKE); $(unstage)
32226 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32227 r=`${PWD_COMMAND}`; export r; \
32228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32229 $(NORMAL_TARGET_EXPORTS) \
32230 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32231 for flag in $(EXTRA_TARGET_FLAGS); do \
32232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32233 done; \
32234 (cd $(TARGET_SUBDIR)/libiberty && \
32235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32237 "RANLIB=$${RANLIB}" \
32238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32239 install-info) \
32240 || exit 1
32242 @endif target-libiberty
32244 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32245 maybe-installcheck-target-libiberty:
32246 @if target-libiberty
32247 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32249 installcheck-target-libiberty: \
32250 configure-target-libiberty
32251 @: $(MAKE); $(unstage)
32252 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32253 r=`${PWD_COMMAND}`; export r; \
32254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32255 $(NORMAL_TARGET_EXPORTS) \
32256 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32257 for flag in $(EXTRA_TARGET_FLAGS); do \
32258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32259 done; \
32260 (cd $(TARGET_SUBDIR)/libiberty && \
32261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32263 "RANLIB=$${RANLIB}" \
32264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32265 installcheck) \
32266 || exit 1
32268 @endif target-libiberty
32270 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32271 maybe-mostlyclean-target-libiberty:
32272 @if target-libiberty
32273 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32275 mostlyclean-target-libiberty:
32276 @: $(MAKE); $(unstage)
32277 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32278 r=`${PWD_COMMAND}`; export r; \
32279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32280 $(NORMAL_TARGET_EXPORTS) \
32281 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32282 for flag in $(EXTRA_TARGET_FLAGS); do \
32283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32284 done; \
32285 (cd $(TARGET_SUBDIR)/libiberty && \
32286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32288 "RANLIB=$${RANLIB}" \
32289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32290 mostlyclean) \
32291 || exit 1
32293 @endif target-libiberty
32295 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32296 maybe-clean-target-libiberty:
32297 @if target-libiberty
32298 maybe-clean-target-libiberty: clean-target-libiberty
32300 clean-target-libiberty:
32301 @: $(MAKE); $(unstage)
32302 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32303 r=`${PWD_COMMAND}`; export r; \
32304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32305 $(NORMAL_TARGET_EXPORTS) \
32306 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32307 for flag in $(EXTRA_TARGET_FLAGS); do \
32308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32309 done; \
32310 (cd $(TARGET_SUBDIR)/libiberty && \
32311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32313 "RANLIB=$${RANLIB}" \
32314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32315 clean) \
32316 || exit 1
32318 @endif target-libiberty
32320 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32321 maybe-distclean-target-libiberty:
32322 @if target-libiberty
32323 maybe-distclean-target-libiberty: distclean-target-libiberty
32325 distclean-target-libiberty:
32326 @: $(MAKE); $(unstage)
32327 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32328 r=`${PWD_COMMAND}`; export r; \
32329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32330 $(NORMAL_TARGET_EXPORTS) \
32331 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32332 for flag in $(EXTRA_TARGET_FLAGS); do \
32333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32334 done; \
32335 (cd $(TARGET_SUBDIR)/libiberty && \
32336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32338 "RANLIB=$${RANLIB}" \
32339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32340 distclean) \
32341 || exit 1
32343 @endif target-libiberty
32345 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32346 maybe-maintainer-clean-target-libiberty:
32347 @if target-libiberty
32348 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32350 maintainer-clean-target-libiberty:
32351 @: $(MAKE); $(unstage)
32352 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32353 r=`${PWD_COMMAND}`; export r; \
32354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32355 $(NORMAL_TARGET_EXPORTS) \
32356 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32357 for flag in $(EXTRA_TARGET_FLAGS); do \
32358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32359 done; \
32360 (cd $(TARGET_SUBDIR)/libiberty && \
32361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32363 "RANLIB=$${RANLIB}" \
32364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32365 maintainer-clean) \
32366 || exit 1
32368 @endif target-libiberty
32374 .PHONY: configure-target-gperf maybe-configure-target-gperf
32375 maybe-configure-target-gperf:
32376 @if target-gperf
32377 maybe-configure-target-gperf: configure-target-gperf
32378 configure-target-gperf:
32379 @: $(MAKE); $(unstage)
32380 @r=`${PWD_COMMAND}`; export r; \
32381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32382 echo "Checking multilib configuration for gperf..."; \
32383 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32384 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32385 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32386 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32387 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32388 else \
32389 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32390 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32391 fi; \
32392 else \
32393 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32395 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32396 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32397 r=`${PWD_COMMAND}`; export r; \
32398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32399 $(NORMAL_TARGET_EXPORTS) \
32400 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32401 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32402 case $(srcdir) in \
32403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32404 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32406 esac; \
32407 srcdiroption="--srcdir=$${topdir}/gperf"; \
32408 libsrcdir="$$s/gperf"; \
32409 rm -f no-such-file || : ; \
32410 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32411 $(TARGET_CONFIGARGS) $${srcdiroption} \
32412 || exit 1
32413 @endif target-gperf
32419 .PHONY: all-target-gperf maybe-all-target-gperf
32420 maybe-all-target-gperf:
32421 @if target-gperf
32422 TARGET-target-gperf=all
32423 maybe-all-target-gperf: all-target-gperf
32424 all-target-gperf: configure-target-gperf
32425 @: $(MAKE); $(unstage)
32426 @r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 $(NORMAL_TARGET_EXPORTS) \
32429 (cd $(TARGET_SUBDIR)/gperf && \
32430 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32431 @endif target-gperf
32437 .PHONY: check-target-gperf maybe-check-target-gperf
32438 maybe-check-target-gperf:
32439 @if target-gperf
32440 maybe-check-target-gperf: check-target-gperf
32442 check-target-gperf:
32443 @: $(MAKE); $(unstage)
32444 @r=`${PWD_COMMAND}`; export r; \
32445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32446 $(NORMAL_TARGET_EXPORTS) \
32447 (cd $(TARGET_SUBDIR)/gperf && \
32448 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32450 @endif target-gperf
32452 .PHONY: install-target-gperf maybe-install-target-gperf
32453 maybe-install-target-gperf:
32454 @if target-gperf
32455 maybe-install-target-gperf: install-target-gperf
32457 install-target-gperf: installdirs
32458 @: $(MAKE); $(unstage)
32459 @r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(NORMAL_TARGET_EXPORTS) \
32462 (cd $(TARGET_SUBDIR)/gperf && \
32463 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32465 @endif target-gperf
32467 # Other targets (info, dvi, etc.)
32469 .PHONY: maybe-info-target-gperf info-target-gperf
32470 maybe-info-target-gperf:
32471 @if target-gperf
32472 maybe-info-target-gperf: info-target-gperf
32474 info-target-gperf: \
32475 configure-target-gperf
32476 @: $(MAKE); $(unstage)
32477 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32478 r=`${PWD_COMMAND}`; export r; \
32479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32480 $(NORMAL_TARGET_EXPORTS) \
32481 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32482 for flag in $(EXTRA_TARGET_FLAGS); do \
32483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32484 done; \
32485 (cd $(TARGET_SUBDIR)/gperf && \
32486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32488 "RANLIB=$${RANLIB}" \
32489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32490 info) \
32491 || exit 1
32493 @endif target-gperf
32495 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32496 maybe-dvi-target-gperf:
32497 @if target-gperf
32498 maybe-dvi-target-gperf: dvi-target-gperf
32500 dvi-target-gperf: \
32501 configure-target-gperf
32502 @: $(MAKE); $(unstage)
32503 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32504 r=`${PWD_COMMAND}`; export r; \
32505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32506 $(NORMAL_TARGET_EXPORTS) \
32507 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32508 for flag in $(EXTRA_TARGET_FLAGS); do \
32509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32510 done; \
32511 (cd $(TARGET_SUBDIR)/gperf && \
32512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32514 "RANLIB=$${RANLIB}" \
32515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32516 dvi) \
32517 || exit 1
32519 @endif target-gperf
32521 .PHONY: maybe-html-target-gperf html-target-gperf
32522 maybe-html-target-gperf:
32523 @if target-gperf
32524 maybe-html-target-gperf: html-target-gperf
32526 html-target-gperf: \
32527 configure-target-gperf
32528 @: $(MAKE); $(unstage)
32529 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(NORMAL_TARGET_EXPORTS) \
32533 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32534 for flag in $(EXTRA_TARGET_FLAGS); do \
32535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32536 done; \
32537 (cd $(TARGET_SUBDIR)/gperf && \
32538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32540 "RANLIB=$${RANLIB}" \
32541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32542 html) \
32543 || exit 1
32545 @endif target-gperf
32547 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32548 maybe-TAGS-target-gperf:
32549 @if target-gperf
32550 maybe-TAGS-target-gperf: TAGS-target-gperf
32552 TAGS-target-gperf: \
32553 configure-target-gperf
32554 @: $(MAKE); $(unstage)
32555 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32556 r=`${PWD_COMMAND}`; export r; \
32557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32558 $(NORMAL_TARGET_EXPORTS) \
32559 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32560 for flag in $(EXTRA_TARGET_FLAGS); do \
32561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32562 done; \
32563 (cd $(TARGET_SUBDIR)/gperf && \
32564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32566 "RANLIB=$${RANLIB}" \
32567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32568 TAGS) \
32569 || exit 1
32571 @endif target-gperf
32573 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32574 maybe-install-info-target-gperf:
32575 @if target-gperf
32576 maybe-install-info-target-gperf: install-info-target-gperf
32578 install-info-target-gperf: \
32579 configure-target-gperf \
32580 info-target-gperf
32581 @: $(MAKE); $(unstage)
32582 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32583 r=`${PWD_COMMAND}`; export r; \
32584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32585 $(NORMAL_TARGET_EXPORTS) \
32586 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32587 for flag in $(EXTRA_TARGET_FLAGS); do \
32588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32589 done; \
32590 (cd $(TARGET_SUBDIR)/gperf && \
32591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32593 "RANLIB=$${RANLIB}" \
32594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32595 install-info) \
32596 || exit 1
32598 @endif target-gperf
32600 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32601 maybe-installcheck-target-gperf:
32602 @if target-gperf
32603 maybe-installcheck-target-gperf: installcheck-target-gperf
32605 installcheck-target-gperf: \
32606 configure-target-gperf
32607 @: $(MAKE); $(unstage)
32608 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32609 r=`${PWD_COMMAND}`; export r; \
32610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32611 $(NORMAL_TARGET_EXPORTS) \
32612 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32613 for flag in $(EXTRA_TARGET_FLAGS); do \
32614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32615 done; \
32616 (cd $(TARGET_SUBDIR)/gperf && \
32617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32619 "RANLIB=$${RANLIB}" \
32620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32621 installcheck) \
32622 || exit 1
32624 @endif target-gperf
32626 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32627 maybe-mostlyclean-target-gperf:
32628 @if target-gperf
32629 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32631 mostlyclean-target-gperf:
32632 @: $(MAKE); $(unstage)
32633 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32634 r=`${PWD_COMMAND}`; export r; \
32635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32636 $(NORMAL_TARGET_EXPORTS) \
32637 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32638 for flag in $(EXTRA_TARGET_FLAGS); do \
32639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32640 done; \
32641 (cd $(TARGET_SUBDIR)/gperf && \
32642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32644 "RANLIB=$${RANLIB}" \
32645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32646 mostlyclean) \
32647 || exit 1
32649 @endif target-gperf
32651 .PHONY: maybe-clean-target-gperf clean-target-gperf
32652 maybe-clean-target-gperf:
32653 @if target-gperf
32654 maybe-clean-target-gperf: clean-target-gperf
32656 clean-target-gperf:
32657 @: $(MAKE); $(unstage)
32658 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32659 r=`${PWD_COMMAND}`; export r; \
32660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32661 $(NORMAL_TARGET_EXPORTS) \
32662 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32663 for flag in $(EXTRA_TARGET_FLAGS); do \
32664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32665 done; \
32666 (cd $(TARGET_SUBDIR)/gperf && \
32667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32669 "RANLIB=$${RANLIB}" \
32670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32671 clean) \
32672 || exit 1
32674 @endif target-gperf
32676 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32677 maybe-distclean-target-gperf:
32678 @if target-gperf
32679 maybe-distclean-target-gperf: distclean-target-gperf
32681 distclean-target-gperf:
32682 @: $(MAKE); $(unstage)
32683 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32684 r=`${PWD_COMMAND}`; export r; \
32685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32686 $(NORMAL_TARGET_EXPORTS) \
32687 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32688 for flag in $(EXTRA_TARGET_FLAGS); do \
32689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32690 done; \
32691 (cd $(TARGET_SUBDIR)/gperf && \
32692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32694 "RANLIB=$${RANLIB}" \
32695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32696 distclean) \
32697 || exit 1
32699 @endif target-gperf
32701 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32702 maybe-maintainer-clean-target-gperf:
32703 @if target-gperf
32704 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32706 maintainer-clean-target-gperf:
32707 @: $(MAKE); $(unstage)
32708 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32709 r=`${PWD_COMMAND}`; export r; \
32710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32711 $(NORMAL_TARGET_EXPORTS) \
32712 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32713 for flag in $(EXTRA_TARGET_FLAGS); do \
32714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32715 done; \
32716 (cd $(TARGET_SUBDIR)/gperf && \
32717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32719 "RANLIB=$${RANLIB}" \
32720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32721 maintainer-clean) \
32722 || exit 1
32724 @endif target-gperf
32730 .PHONY: configure-target-examples maybe-configure-target-examples
32731 maybe-configure-target-examples:
32732 @if target-examples
32733 maybe-configure-target-examples: configure-target-examples
32734 configure-target-examples:
32735 @: $(MAKE); $(unstage)
32736 @r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 echo "Checking multilib configuration for examples..."; \
32739 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32740 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
32741 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
32742 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
32743 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
32744 else \
32745 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
32746 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32747 fi; \
32748 else \
32749 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
32751 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32752 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32753 r=`${PWD_COMMAND}`; export r; \
32754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32755 $(NORMAL_TARGET_EXPORTS) \
32756 echo Configuring in $(TARGET_SUBDIR)/examples; \
32757 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32758 case $(srcdir) in \
32759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32760 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32762 esac; \
32763 srcdiroption="--srcdir=$${topdir}/examples"; \
32764 libsrcdir="$$s/examples"; \
32765 rm -f no-such-file || : ; \
32766 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32767 $(TARGET_CONFIGARGS) $${srcdiroption} \
32768 || exit 1
32769 @endif target-examples
32775 .PHONY: all-target-examples maybe-all-target-examples
32776 maybe-all-target-examples:
32777 @if target-examples
32778 TARGET-target-examples=all
32779 maybe-all-target-examples: all-target-examples
32780 all-target-examples: configure-target-examples
32781 @: $(MAKE); $(unstage)
32782 @r=`${PWD_COMMAND}`; export r; \
32783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32784 $(NORMAL_TARGET_EXPORTS) \
32785 (cd $(TARGET_SUBDIR)/examples && \
32786 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32787 @endif target-examples
32793 .PHONY: check-target-examples maybe-check-target-examples
32794 maybe-check-target-examples:
32795 @if target-examples
32796 maybe-check-target-examples: check-target-examples
32798 # Dummy target for uncheckable module.
32799 check-target-examples:
32801 @endif target-examples
32803 .PHONY: install-target-examples maybe-install-target-examples
32804 maybe-install-target-examples:
32805 @if target-examples
32806 maybe-install-target-examples: install-target-examples
32808 # Dummy target for uninstallable.
32809 install-target-examples:
32811 @endif target-examples
32813 # Other targets (info, dvi, etc.)
32815 .PHONY: maybe-info-target-examples info-target-examples
32816 maybe-info-target-examples:
32817 @if target-examples
32818 maybe-info-target-examples: info-target-examples
32820 info-target-examples: \
32821 configure-target-examples
32822 @: $(MAKE); $(unstage)
32823 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(NORMAL_TARGET_EXPORTS) \
32827 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32828 for flag in $(EXTRA_TARGET_FLAGS); do \
32829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32830 done; \
32831 (cd $(TARGET_SUBDIR)/examples && \
32832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32834 "RANLIB=$${RANLIB}" \
32835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32836 info) \
32837 || exit 1
32839 @endif target-examples
32841 .PHONY: maybe-dvi-target-examples dvi-target-examples
32842 maybe-dvi-target-examples:
32843 @if target-examples
32844 maybe-dvi-target-examples: dvi-target-examples
32846 dvi-target-examples: \
32847 configure-target-examples
32848 @: $(MAKE); $(unstage)
32849 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32850 r=`${PWD_COMMAND}`; export r; \
32851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32852 $(NORMAL_TARGET_EXPORTS) \
32853 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32854 for flag in $(EXTRA_TARGET_FLAGS); do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 (cd $(TARGET_SUBDIR)/examples && \
32858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32860 "RANLIB=$${RANLIB}" \
32861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32862 dvi) \
32863 || exit 1
32865 @endif target-examples
32867 .PHONY: maybe-html-target-examples html-target-examples
32868 maybe-html-target-examples:
32869 @if target-examples
32870 maybe-html-target-examples: html-target-examples
32872 html-target-examples: \
32873 configure-target-examples
32874 @: $(MAKE); $(unstage)
32875 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32876 r=`${PWD_COMMAND}`; export r; \
32877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32878 $(NORMAL_TARGET_EXPORTS) \
32879 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32880 for flag in $(EXTRA_TARGET_FLAGS); do \
32881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32882 done; \
32883 (cd $(TARGET_SUBDIR)/examples && \
32884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32886 "RANLIB=$${RANLIB}" \
32887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32888 html) \
32889 || exit 1
32891 @endif target-examples
32893 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32894 maybe-TAGS-target-examples:
32895 @if target-examples
32896 maybe-TAGS-target-examples: TAGS-target-examples
32898 TAGS-target-examples: \
32899 configure-target-examples
32900 @: $(MAKE); $(unstage)
32901 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32902 r=`${PWD_COMMAND}`; export r; \
32903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32904 $(NORMAL_TARGET_EXPORTS) \
32905 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32906 for flag in $(EXTRA_TARGET_FLAGS); do \
32907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32908 done; \
32909 (cd $(TARGET_SUBDIR)/examples && \
32910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32912 "RANLIB=$${RANLIB}" \
32913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32914 TAGS) \
32915 || exit 1
32917 @endif target-examples
32919 .PHONY: maybe-install-info-target-examples install-info-target-examples
32920 maybe-install-info-target-examples:
32921 @if target-examples
32922 maybe-install-info-target-examples: install-info-target-examples
32924 install-info-target-examples: \
32925 configure-target-examples \
32926 info-target-examples
32927 @: $(MAKE); $(unstage)
32928 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32929 r=`${PWD_COMMAND}`; export r; \
32930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32931 $(NORMAL_TARGET_EXPORTS) \
32932 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32933 for flag in $(EXTRA_TARGET_FLAGS); do \
32934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32935 done; \
32936 (cd $(TARGET_SUBDIR)/examples && \
32937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32939 "RANLIB=$${RANLIB}" \
32940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32941 install-info) \
32942 || exit 1
32944 @endif target-examples
32946 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32947 maybe-installcheck-target-examples:
32948 @if target-examples
32949 maybe-installcheck-target-examples: installcheck-target-examples
32951 installcheck-target-examples: \
32952 configure-target-examples
32953 @: $(MAKE); $(unstage)
32954 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32955 r=`${PWD_COMMAND}`; export r; \
32956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32957 $(NORMAL_TARGET_EXPORTS) \
32958 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32959 for flag in $(EXTRA_TARGET_FLAGS); do \
32960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32961 done; \
32962 (cd $(TARGET_SUBDIR)/examples && \
32963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32965 "RANLIB=$${RANLIB}" \
32966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32967 installcheck) \
32968 || exit 1
32970 @endif target-examples
32972 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32973 maybe-mostlyclean-target-examples:
32974 @if target-examples
32975 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32977 mostlyclean-target-examples:
32978 @: $(MAKE); $(unstage)
32979 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32980 r=`${PWD_COMMAND}`; export r; \
32981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32982 $(NORMAL_TARGET_EXPORTS) \
32983 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32984 for flag in $(EXTRA_TARGET_FLAGS); do \
32985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32986 done; \
32987 (cd $(TARGET_SUBDIR)/examples && \
32988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32990 "RANLIB=$${RANLIB}" \
32991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32992 mostlyclean) \
32993 || exit 1
32995 @endif target-examples
32997 .PHONY: maybe-clean-target-examples clean-target-examples
32998 maybe-clean-target-examples:
32999 @if target-examples
33000 maybe-clean-target-examples: clean-target-examples
33002 clean-target-examples:
33003 @: $(MAKE); $(unstage)
33004 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33005 r=`${PWD_COMMAND}`; export r; \
33006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33007 $(NORMAL_TARGET_EXPORTS) \
33008 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
33009 for flag in $(EXTRA_TARGET_FLAGS); do \
33010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33011 done; \
33012 (cd $(TARGET_SUBDIR)/examples && \
33013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33015 "RANLIB=$${RANLIB}" \
33016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33017 clean) \
33018 || exit 1
33020 @endif target-examples
33022 .PHONY: maybe-distclean-target-examples distclean-target-examples
33023 maybe-distclean-target-examples:
33024 @if target-examples
33025 maybe-distclean-target-examples: distclean-target-examples
33027 distclean-target-examples:
33028 @: $(MAKE); $(unstage)
33029 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33030 r=`${PWD_COMMAND}`; export r; \
33031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33032 $(NORMAL_TARGET_EXPORTS) \
33033 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33034 for flag in $(EXTRA_TARGET_FLAGS); do \
33035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33036 done; \
33037 (cd $(TARGET_SUBDIR)/examples && \
33038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33040 "RANLIB=$${RANLIB}" \
33041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33042 distclean) \
33043 || exit 1
33045 @endif target-examples
33047 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33048 maybe-maintainer-clean-target-examples:
33049 @if target-examples
33050 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33052 maintainer-clean-target-examples:
33053 @: $(MAKE); $(unstage)
33054 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33055 r=`${PWD_COMMAND}`; export r; \
33056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33057 $(NORMAL_TARGET_EXPORTS) \
33058 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33059 for flag in $(EXTRA_TARGET_FLAGS); do \
33060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33061 done; \
33062 (cd $(TARGET_SUBDIR)/examples && \
33063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33065 "RANLIB=$${RANLIB}" \
33066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33067 maintainer-clean) \
33068 || exit 1
33070 @endif target-examples
33076 .PHONY: configure-target-libffi maybe-configure-target-libffi
33077 maybe-configure-target-libffi:
33078 @if target-libffi
33079 maybe-configure-target-libffi: configure-target-libffi
33080 configure-target-libffi:
33081 @: $(MAKE); $(unstage)
33082 @r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 echo "Checking multilib configuration for libffi..."; \
33085 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33086 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33087 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33088 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33089 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33090 else \
33091 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33092 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33093 fi; \
33094 else \
33095 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33097 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33098 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33099 r=`${PWD_COMMAND}`; export r; \
33100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33101 $(NORMAL_TARGET_EXPORTS) \
33102 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33103 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33104 case $(srcdir) in \
33105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33106 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33108 esac; \
33109 srcdiroption="--srcdir=$${topdir}/libffi"; \
33110 libsrcdir="$$s/libffi"; \
33111 rm -f no-such-file || : ; \
33112 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33113 $(TARGET_CONFIGARGS) $${srcdiroption} \
33114 || exit 1
33115 @endif target-libffi
33121 .PHONY: all-target-libffi maybe-all-target-libffi
33122 maybe-all-target-libffi:
33123 @if target-libffi
33124 TARGET-target-libffi=all
33125 maybe-all-target-libffi: all-target-libffi
33126 all-target-libffi: configure-target-libffi
33127 @: $(MAKE); $(unstage)
33128 @r=`${PWD_COMMAND}`; export r; \
33129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33130 $(NORMAL_TARGET_EXPORTS) \
33131 (cd $(TARGET_SUBDIR)/libffi && \
33132 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33133 @endif target-libffi
33139 .PHONY: check-target-libffi maybe-check-target-libffi
33140 maybe-check-target-libffi:
33141 @if target-libffi
33142 maybe-check-target-libffi: check-target-libffi
33144 check-target-libffi:
33145 @: $(MAKE); $(unstage)
33146 @r=`${PWD_COMMAND}`; export r; \
33147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33148 $(NORMAL_TARGET_EXPORTS) \
33149 (cd $(TARGET_SUBDIR)/libffi && \
33150 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33152 @endif target-libffi
33154 .PHONY: install-target-libffi maybe-install-target-libffi
33155 maybe-install-target-libffi:
33156 @if target-libffi
33157 maybe-install-target-libffi: install-target-libffi
33159 install-target-libffi: installdirs
33160 @: $(MAKE); $(unstage)
33161 @r=`${PWD_COMMAND}`; export r; \
33162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33163 $(NORMAL_TARGET_EXPORTS) \
33164 (cd $(TARGET_SUBDIR)/libffi && \
33165 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33167 @endif target-libffi
33169 # Other targets (info, dvi, etc.)
33171 .PHONY: maybe-info-target-libffi info-target-libffi
33172 maybe-info-target-libffi:
33173 @if target-libffi
33174 maybe-info-target-libffi: info-target-libffi
33176 info-target-libffi: \
33177 configure-target-libffi
33178 @: $(MAKE); $(unstage)
33179 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33180 r=`${PWD_COMMAND}`; export r; \
33181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33182 $(NORMAL_TARGET_EXPORTS) \
33183 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33184 for flag in $(EXTRA_TARGET_FLAGS); do \
33185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33186 done; \
33187 (cd $(TARGET_SUBDIR)/libffi && \
33188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33190 "RANLIB=$${RANLIB}" \
33191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33192 info) \
33193 || exit 1
33195 @endif target-libffi
33197 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33198 maybe-dvi-target-libffi:
33199 @if target-libffi
33200 maybe-dvi-target-libffi: dvi-target-libffi
33202 dvi-target-libffi: \
33203 configure-target-libffi
33204 @: $(MAKE); $(unstage)
33205 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33206 r=`${PWD_COMMAND}`; export r; \
33207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33208 $(NORMAL_TARGET_EXPORTS) \
33209 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33210 for flag in $(EXTRA_TARGET_FLAGS); do \
33211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33212 done; \
33213 (cd $(TARGET_SUBDIR)/libffi && \
33214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33216 "RANLIB=$${RANLIB}" \
33217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33218 dvi) \
33219 || exit 1
33221 @endif target-libffi
33223 .PHONY: maybe-html-target-libffi html-target-libffi
33224 maybe-html-target-libffi:
33225 @if target-libffi
33226 maybe-html-target-libffi: html-target-libffi
33228 html-target-libffi: \
33229 configure-target-libffi
33230 @: $(MAKE); $(unstage)
33231 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33232 r=`${PWD_COMMAND}`; export r; \
33233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33234 $(NORMAL_TARGET_EXPORTS) \
33235 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33236 for flag in $(EXTRA_TARGET_FLAGS); do \
33237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33238 done; \
33239 (cd $(TARGET_SUBDIR)/libffi && \
33240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33242 "RANLIB=$${RANLIB}" \
33243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33244 html) \
33245 || exit 1
33247 @endif target-libffi
33249 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33250 maybe-TAGS-target-libffi:
33251 @if target-libffi
33252 maybe-TAGS-target-libffi: TAGS-target-libffi
33254 TAGS-target-libffi: \
33255 configure-target-libffi
33256 @: $(MAKE); $(unstage)
33257 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33258 r=`${PWD_COMMAND}`; export r; \
33259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33260 $(NORMAL_TARGET_EXPORTS) \
33261 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33262 for flag in $(EXTRA_TARGET_FLAGS); do \
33263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33264 done; \
33265 (cd $(TARGET_SUBDIR)/libffi && \
33266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33268 "RANLIB=$${RANLIB}" \
33269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33270 TAGS) \
33271 || exit 1
33273 @endif target-libffi
33275 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33276 maybe-install-info-target-libffi:
33277 @if target-libffi
33278 maybe-install-info-target-libffi: install-info-target-libffi
33280 install-info-target-libffi: \
33281 configure-target-libffi \
33282 info-target-libffi
33283 @: $(MAKE); $(unstage)
33284 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33285 r=`${PWD_COMMAND}`; export r; \
33286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33287 $(NORMAL_TARGET_EXPORTS) \
33288 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33289 for flag in $(EXTRA_TARGET_FLAGS); do \
33290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33291 done; \
33292 (cd $(TARGET_SUBDIR)/libffi && \
33293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33295 "RANLIB=$${RANLIB}" \
33296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33297 install-info) \
33298 || exit 1
33300 @endif target-libffi
33302 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33303 maybe-installcheck-target-libffi:
33304 @if target-libffi
33305 maybe-installcheck-target-libffi: installcheck-target-libffi
33307 installcheck-target-libffi: \
33308 configure-target-libffi
33309 @: $(MAKE); $(unstage)
33310 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33311 r=`${PWD_COMMAND}`; export r; \
33312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33313 $(NORMAL_TARGET_EXPORTS) \
33314 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33315 for flag in $(EXTRA_TARGET_FLAGS); do \
33316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33317 done; \
33318 (cd $(TARGET_SUBDIR)/libffi && \
33319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33321 "RANLIB=$${RANLIB}" \
33322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33323 installcheck) \
33324 || exit 1
33326 @endif target-libffi
33328 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33329 maybe-mostlyclean-target-libffi:
33330 @if target-libffi
33331 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33333 mostlyclean-target-libffi:
33334 @: $(MAKE); $(unstage)
33335 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33336 r=`${PWD_COMMAND}`; export r; \
33337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33338 $(NORMAL_TARGET_EXPORTS) \
33339 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33340 for flag in $(EXTRA_TARGET_FLAGS); do \
33341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33342 done; \
33343 (cd $(TARGET_SUBDIR)/libffi && \
33344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33346 "RANLIB=$${RANLIB}" \
33347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33348 mostlyclean) \
33349 || exit 1
33351 @endif target-libffi
33353 .PHONY: maybe-clean-target-libffi clean-target-libffi
33354 maybe-clean-target-libffi:
33355 @if target-libffi
33356 maybe-clean-target-libffi: clean-target-libffi
33358 clean-target-libffi:
33359 @: $(MAKE); $(unstage)
33360 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33361 r=`${PWD_COMMAND}`; export r; \
33362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33363 $(NORMAL_TARGET_EXPORTS) \
33364 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33365 for flag in $(EXTRA_TARGET_FLAGS); do \
33366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33367 done; \
33368 (cd $(TARGET_SUBDIR)/libffi && \
33369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33371 "RANLIB=$${RANLIB}" \
33372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33373 clean) \
33374 || exit 1
33376 @endif target-libffi
33378 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33379 maybe-distclean-target-libffi:
33380 @if target-libffi
33381 maybe-distclean-target-libffi: distclean-target-libffi
33383 distclean-target-libffi:
33384 @: $(MAKE); $(unstage)
33385 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33386 r=`${PWD_COMMAND}`; export r; \
33387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33388 $(NORMAL_TARGET_EXPORTS) \
33389 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33390 for flag in $(EXTRA_TARGET_FLAGS); do \
33391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33392 done; \
33393 (cd $(TARGET_SUBDIR)/libffi && \
33394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33396 "RANLIB=$${RANLIB}" \
33397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33398 distclean) \
33399 || exit 1
33401 @endif target-libffi
33403 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33404 maybe-maintainer-clean-target-libffi:
33405 @if target-libffi
33406 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33408 maintainer-clean-target-libffi:
33409 @: $(MAKE); $(unstage)
33410 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33411 r=`${PWD_COMMAND}`; export r; \
33412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33413 $(NORMAL_TARGET_EXPORTS) \
33414 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33415 for flag in $(EXTRA_TARGET_FLAGS); do \
33416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33417 done; \
33418 (cd $(TARGET_SUBDIR)/libffi && \
33419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33421 "RANLIB=$${RANLIB}" \
33422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33423 maintainer-clean) \
33424 || exit 1
33426 @endif target-libffi
33432 .PHONY: configure-target-libjava maybe-configure-target-libjava
33433 maybe-configure-target-libjava:
33434 @if target-libjava
33435 maybe-configure-target-libjava: configure-target-libjava
33436 configure-target-libjava:
33437 @: $(MAKE); $(unstage)
33438 @r=`${PWD_COMMAND}`; export r; \
33439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33440 echo "Checking multilib configuration for libjava..."; \
33441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33442 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
33443 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
33444 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
33445 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
33446 else \
33447 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
33448 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33449 fi; \
33450 else \
33451 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
33453 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33455 r=`${PWD_COMMAND}`; export r; \
33456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33457 $(RAW_CXX_TARGET_EXPORTS) \
33458 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33459 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33460 case $(srcdir) in \
33461 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33462 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33463 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33464 esac; \
33465 srcdiroption="--srcdir=$${topdir}/libjava"; \
33466 libsrcdir="$$s/libjava"; \
33467 rm -f no-such-file || : ; \
33468 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33469 $(TARGET_CONFIGARGS) $${srcdiroption} \
33470 || exit 1
33471 @endif target-libjava
33477 .PHONY: all-target-libjava maybe-all-target-libjava
33478 maybe-all-target-libjava:
33479 @if target-libjava
33480 TARGET-target-libjava=all
33481 maybe-all-target-libjava: all-target-libjava
33482 all-target-libjava: configure-target-libjava
33483 @: $(MAKE); $(unstage)
33484 @r=`${PWD_COMMAND}`; export r; \
33485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33486 $(RAW_CXX_TARGET_EXPORTS) \
33487 (cd $(TARGET_SUBDIR)/libjava && \
33488 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33489 @endif target-libjava
33495 .PHONY: check-target-libjava maybe-check-target-libjava
33496 maybe-check-target-libjava:
33497 @if target-libjava
33498 maybe-check-target-libjava: check-target-libjava
33500 check-target-libjava:
33501 @: $(MAKE); $(unstage)
33502 @r=`${PWD_COMMAND}`; export r; \
33503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33504 $(RAW_CXX_TARGET_EXPORTS) \
33505 (cd $(TARGET_SUBDIR)/libjava && \
33506 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33508 @endif target-libjava
33510 .PHONY: install-target-libjava maybe-install-target-libjava
33511 maybe-install-target-libjava:
33512 @if target-libjava
33513 maybe-install-target-libjava: install-target-libjava
33515 install-target-libjava: installdirs
33516 @: $(MAKE); $(unstage)
33517 @r=`${PWD_COMMAND}`; export r; \
33518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33519 $(RAW_CXX_TARGET_EXPORTS) \
33520 (cd $(TARGET_SUBDIR)/libjava && \
33521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33523 @endif target-libjava
33525 # Other targets (info, dvi, etc.)
33527 .PHONY: maybe-info-target-libjava info-target-libjava
33528 maybe-info-target-libjava:
33529 @if target-libjava
33530 maybe-info-target-libjava: info-target-libjava
33532 info-target-libjava: \
33533 configure-target-libjava
33534 @: $(MAKE); $(unstage)
33535 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33536 r=`${PWD_COMMAND}`; export r; \
33537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33538 $(RAW_CXX_TARGET_EXPORTS) \
33539 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33540 for flag in $(EXTRA_TARGET_FLAGS); do \
33541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33542 done; \
33543 (cd $(TARGET_SUBDIR)/libjava && \
33544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33546 "RANLIB=$${RANLIB}" \
33547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33548 info) \
33549 || exit 1
33551 @endif target-libjava
33553 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33554 maybe-dvi-target-libjava:
33555 @if target-libjava
33556 maybe-dvi-target-libjava: dvi-target-libjava
33558 dvi-target-libjava: \
33559 configure-target-libjava
33560 @: $(MAKE); $(unstage)
33561 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33562 r=`${PWD_COMMAND}`; export r; \
33563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33564 $(RAW_CXX_TARGET_EXPORTS) \
33565 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33566 for flag in $(EXTRA_TARGET_FLAGS); do \
33567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33568 done; \
33569 (cd $(TARGET_SUBDIR)/libjava && \
33570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33572 "RANLIB=$${RANLIB}" \
33573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33574 dvi) \
33575 || exit 1
33577 @endif target-libjava
33579 .PHONY: maybe-html-target-libjava html-target-libjava
33580 maybe-html-target-libjava:
33581 @if target-libjava
33582 maybe-html-target-libjava: html-target-libjava
33584 html-target-libjava: \
33585 configure-target-libjava
33586 @: $(MAKE); $(unstage)
33587 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33588 r=`${PWD_COMMAND}`; export r; \
33589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33590 $(RAW_CXX_TARGET_EXPORTS) \
33591 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33592 for flag in $(EXTRA_TARGET_FLAGS); do \
33593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33594 done; \
33595 (cd $(TARGET_SUBDIR)/libjava && \
33596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33598 "RANLIB=$${RANLIB}" \
33599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33600 html) \
33601 || exit 1
33603 @endif target-libjava
33605 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33606 maybe-TAGS-target-libjava:
33607 @if target-libjava
33608 maybe-TAGS-target-libjava: TAGS-target-libjava
33610 TAGS-target-libjava: \
33611 configure-target-libjava
33612 @: $(MAKE); $(unstage)
33613 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33614 r=`${PWD_COMMAND}`; export r; \
33615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33616 $(RAW_CXX_TARGET_EXPORTS) \
33617 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33618 for flag in $(EXTRA_TARGET_FLAGS); do \
33619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33620 done; \
33621 (cd $(TARGET_SUBDIR)/libjava && \
33622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33624 "RANLIB=$${RANLIB}" \
33625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33626 TAGS) \
33627 || exit 1
33629 @endif target-libjava
33631 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33632 maybe-install-info-target-libjava:
33633 @if target-libjava
33634 maybe-install-info-target-libjava: install-info-target-libjava
33636 install-info-target-libjava: \
33637 configure-target-libjava \
33638 info-target-libjava
33639 @: $(MAKE); $(unstage)
33640 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33641 r=`${PWD_COMMAND}`; export r; \
33642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33643 $(RAW_CXX_TARGET_EXPORTS) \
33644 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33645 for flag in $(EXTRA_TARGET_FLAGS); do \
33646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33647 done; \
33648 (cd $(TARGET_SUBDIR)/libjava && \
33649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33651 "RANLIB=$${RANLIB}" \
33652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33653 install-info) \
33654 || exit 1
33656 @endif target-libjava
33658 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33659 maybe-installcheck-target-libjava:
33660 @if target-libjava
33661 maybe-installcheck-target-libjava: installcheck-target-libjava
33663 installcheck-target-libjava: \
33664 configure-target-libjava
33665 @: $(MAKE); $(unstage)
33666 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33667 r=`${PWD_COMMAND}`; export r; \
33668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33669 $(RAW_CXX_TARGET_EXPORTS) \
33670 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33671 for flag in $(EXTRA_TARGET_FLAGS); do \
33672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33673 done; \
33674 (cd $(TARGET_SUBDIR)/libjava && \
33675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33677 "RANLIB=$${RANLIB}" \
33678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33679 installcheck) \
33680 || exit 1
33682 @endif target-libjava
33684 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33685 maybe-mostlyclean-target-libjava:
33686 @if target-libjava
33687 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33689 mostlyclean-target-libjava:
33690 @: $(MAKE); $(unstage)
33691 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33692 r=`${PWD_COMMAND}`; export r; \
33693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33694 $(RAW_CXX_TARGET_EXPORTS) \
33695 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33696 for flag in $(EXTRA_TARGET_FLAGS); do \
33697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33698 done; \
33699 (cd $(TARGET_SUBDIR)/libjava && \
33700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33702 "RANLIB=$${RANLIB}" \
33703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33704 mostlyclean) \
33705 || exit 1
33707 @endif target-libjava
33709 .PHONY: maybe-clean-target-libjava clean-target-libjava
33710 maybe-clean-target-libjava:
33711 @if target-libjava
33712 maybe-clean-target-libjava: clean-target-libjava
33714 clean-target-libjava:
33715 @: $(MAKE); $(unstage)
33716 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33717 r=`${PWD_COMMAND}`; export r; \
33718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33719 $(RAW_CXX_TARGET_EXPORTS) \
33720 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33721 for flag in $(EXTRA_TARGET_FLAGS); do \
33722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33723 done; \
33724 (cd $(TARGET_SUBDIR)/libjava && \
33725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33727 "RANLIB=$${RANLIB}" \
33728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33729 clean) \
33730 || exit 1
33732 @endif target-libjava
33734 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33735 maybe-distclean-target-libjava:
33736 @if target-libjava
33737 maybe-distclean-target-libjava: distclean-target-libjava
33739 distclean-target-libjava:
33740 @: $(MAKE); $(unstage)
33741 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33742 r=`${PWD_COMMAND}`; export r; \
33743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33744 $(RAW_CXX_TARGET_EXPORTS) \
33745 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33746 for flag in $(EXTRA_TARGET_FLAGS); do \
33747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33748 done; \
33749 (cd $(TARGET_SUBDIR)/libjava && \
33750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33752 "RANLIB=$${RANLIB}" \
33753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33754 distclean) \
33755 || exit 1
33757 @endif target-libjava
33759 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33760 maybe-maintainer-clean-target-libjava:
33761 @if target-libjava
33762 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33764 maintainer-clean-target-libjava:
33765 @: $(MAKE); $(unstage)
33766 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33767 r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769 $(RAW_CXX_TARGET_EXPORTS) \
33770 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33771 for flag in $(EXTRA_TARGET_FLAGS); do \
33772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33773 done; \
33774 (cd $(TARGET_SUBDIR)/libjava && \
33775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33777 "RANLIB=$${RANLIB}" \
33778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33779 maintainer-clean) \
33780 || exit 1
33782 @endif target-libjava
33788 .PHONY: configure-target-zlib maybe-configure-target-zlib
33789 maybe-configure-target-zlib:
33790 @if target-zlib
33791 maybe-configure-target-zlib: configure-target-zlib
33792 configure-target-zlib:
33793 @: $(MAKE); $(unstage)
33794 @r=`${PWD_COMMAND}`; export r; \
33795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33796 echo "Checking multilib configuration for zlib..."; \
33797 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33798 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
33799 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
33800 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
33801 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
33802 else \
33803 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
33804 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33805 fi; \
33806 else \
33807 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
33809 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33810 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33811 r=`${PWD_COMMAND}`; export r; \
33812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33813 $(NORMAL_TARGET_EXPORTS) \
33814 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33815 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33816 case $(srcdir) in \
33817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33818 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33820 esac; \
33821 srcdiroption="--srcdir=$${topdir}/zlib"; \
33822 libsrcdir="$$s/zlib"; \
33823 rm -f no-such-file || : ; \
33824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33825 $(TARGET_CONFIGARGS) $${srcdiroption} \
33826 || exit 1
33827 @endif target-zlib
33833 .PHONY: all-target-zlib maybe-all-target-zlib
33834 maybe-all-target-zlib:
33835 @if target-zlib
33836 TARGET-target-zlib=all
33837 maybe-all-target-zlib: all-target-zlib
33838 all-target-zlib: configure-target-zlib
33839 @: $(MAKE); $(unstage)
33840 @r=`${PWD_COMMAND}`; export r; \
33841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33842 $(NORMAL_TARGET_EXPORTS) \
33843 (cd $(TARGET_SUBDIR)/zlib && \
33844 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33845 @endif target-zlib
33851 .PHONY: check-target-zlib maybe-check-target-zlib
33852 maybe-check-target-zlib:
33853 @if target-zlib
33854 maybe-check-target-zlib: check-target-zlib
33856 check-target-zlib:
33857 @: $(MAKE); $(unstage)
33858 @r=`${PWD_COMMAND}`; export r; \
33859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33860 $(NORMAL_TARGET_EXPORTS) \
33861 (cd $(TARGET_SUBDIR)/zlib && \
33862 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33864 @endif target-zlib
33866 .PHONY: install-target-zlib maybe-install-target-zlib
33867 maybe-install-target-zlib:
33868 @if target-zlib
33869 maybe-install-target-zlib: install-target-zlib
33871 install-target-zlib: installdirs
33872 @: $(MAKE); $(unstage)
33873 @r=`${PWD_COMMAND}`; export r; \
33874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33875 $(NORMAL_TARGET_EXPORTS) \
33876 (cd $(TARGET_SUBDIR)/zlib && \
33877 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33879 @endif target-zlib
33881 # Other targets (info, dvi, etc.)
33883 .PHONY: maybe-info-target-zlib info-target-zlib
33884 maybe-info-target-zlib:
33885 @if target-zlib
33886 maybe-info-target-zlib: info-target-zlib
33888 info-target-zlib: \
33889 configure-target-zlib
33890 @: $(MAKE); $(unstage)
33891 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33892 r=`${PWD_COMMAND}`; export r; \
33893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33894 $(NORMAL_TARGET_EXPORTS) \
33895 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33896 for flag in $(EXTRA_TARGET_FLAGS); do \
33897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33898 done; \
33899 (cd $(TARGET_SUBDIR)/zlib && \
33900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33902 "RANLIB=$${RANLIB}" \
33903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33904 info) \
33905 || exit 1
33907 @endif target-zlib
33909 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33910 maybe-dvi-target-zlib:
33911 @if target-zlib
33912 maybe-dvi-target-zlib: dvi-target-zlib
33914 dvi-target-zlib: \
33915 configure-target-zlib
33916 @: $(MAKE); $(unstage)
33917 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33918 r=`${PWD_COMMAND}`; export r; \
33919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33920 $(NORMAL_TARGET_EXPORTS) \
33921 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33922 for flag in $(EXTRA_TARGET_FLAGS); do \
33923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33924 done; \
33925 (cd $(TARGET_SUBDIR)/zlib && \
33926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33928 "RANLIB=$${RANLIB}" \
33929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33930 dvi) \
33931 || exit 1
33933 @endif target-zlib
33935 .PHONY: maybe-html-target-zlib html-target-zlib
33936 maybe-html-target-zlib:
33937 @if target-zlib
33938 maybe-html-target-zlib: html-target-zlib
33940 html-target-zlib: \
33941 configure-target-zlib
33942 @: $(MAKE); $(unstage)
33943 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33944 r=`${PWD_COMMAND}`; export r; \
33945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33946 $(NORMAL_TARGET_EXPORTS) \
33947 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33948 for flag in $(EXTRA_TARGET_FLAGS); do \
33949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33950 done; \
33951 (cd $(TARGET_SUBDIR)/zlib && \
33952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33954 "RANLIB=$${RANLIB}" \
33955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33956 html) \
33957 || exit 1
33959 @endif target-zlib
33961 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33962 maybe-TAGS-target-zlib:
33963 @if target-zlib
33964 maybe-TAGS-target-zlib: TAGS-target-zlib
33966 TAGS-target-zlib: \
33967 configure-target-zlib
33968 @: $(MAKE); $(unstage)
33969 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33970 r=`${PWD_COMMAND}`; export r; \
33971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33972 $(NORMAL_TARGET_EXPORTS) \
33973 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33974 for flag in $(EXTRA_TARGET_FLAGS); do \
33975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33976 done; \
33977 (cd $(TARGET_SUBDIR)/zlib && \
33978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33980 "RANLIB=$${RANLIB}" \
33981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33982 TAGS) \
33983 || exit 1
33985 @endif target-zlib
33987 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33988 maybe-install-info-target-zlib:
33989 @if target-zlib
33990 maybe-install-info-target-zlib: install-info-target-zlib
33992 install-info-target-zlib: \
33993 configure-target-zlib \
33994 info-target-zlib
33995 @: $(MAKE); $(unstage)
33996 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33997 r=`${PWD_COMMAND}`; export r; \
33998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33999 $(NORMAL_TARGET_EXPORTS) \
34000 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
34001 for flag in $(EXTRA_TARGET_FLAGS); do \
34002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34003 done; \
34004 (cd $(TARGET_SUBDIR)/zlib && \
34005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34007 "RANLIB=$${RANLIB}" \
34008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34009 install-info) \
34010 || exit 1
34012 @endif target-zlib
34014 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34015 maybe-installcheck-target-zlib:
34016 @if target-zlib
34017 maybe-installcheck-target-zlib: installcheck-target-zlib
34019 installcheck-target-zlib: \
34020 configure-target-zlib
34021 @: $(MAKE); $(unstage)
34022 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34023 r=`${PWD_COMMAND}`; export r; \
34024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34025 $(NORMAL_TARGET_EXPORTS) \
34026 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34027 for flag in $(EXTRA_TARGET_FLAGS); do \
34028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34029 done; \
34030 (cd $(TARGET_SUBDIR)/zlib && \
34031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34033 "RANLIB=$${RANLIB}" \
34034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34035 installcheck) \
34036 || exit 1
34038 @endif target-zlib
34040 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34041 maybe-mostlyclean-target-zlib:
34042 @if target-zlib
34043 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34045 mostlyclean-target-zlib:
34046 @: $(MAKE); $(unstage)
34047 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34048 r=`${PWD_COMMAND}`; export r; \
34049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34050 $(NORMAL_TARGET_EXPORTS) \
34051 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34052 for flag in $(EXTRA_TARGET_FLAGS); do \
34053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34054 done; \
34055 (cd $(TARGET_SUBDIR)/zlib && \
34056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34058 "RANLIB=$${RANLIB}" \
34059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34060 mostlyclean) \
34061 || exit 1
34063 @endif target-zlib
34065 .PHONY: maybe-clean-target-zlib clean-target-zlib
34066 maybe-clean-target-zlib:
34067 @if target-zlib
34068 maybe-clean-target-zlib: clean-target-zlib
34070 clean-target-zlib:
34071 @: $(MAKE); $(unstage)
34072 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34073 r=`${PWD_COMMAND}`; export r; \
34074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34075 $(NORMAL_TARGET_EXPORTS) \
34076 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34077 for flag in $(EXTRA_TARGET_FLAGS); do \
34078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34079 done; \
34080 (cd $(TARGET_SUBDIR)/zlib && \
34081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34083 "RANLIB=$${RANLIB}" \
34084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34085 clean) \
34086 || exit 1
34088 @endif target-zlib
34090 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34091 maybe-distclean-target-zlib:
34092 @if target-zlib
34093 maybe-distclean-target-zlib: distclean-target-zlib
34095 distclean-target-zlib:
34096 @: $(MAKE); $(unstage)
34097 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34098 r=`${PWD_COMMAND}`; export r; \
34099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34100 $(NORMAL_TARGET_EXPORTS) \
34101 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34102 for flag in $(EXTRA_TARGET_FLAGS); do \
34103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34104 done; \
34105 (cd $(TARGET_SUBDIR)/zlib && \
34106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34108 "RANLIB=$${RANLIB}" \
34109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34110 distclean) \
34111 || exit 1
34113 @endif target-zlib
34115 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34116 maybe-maintainer-clean-target-zlib:
34117 @if target-zlib
34118 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34120 maintainer-clean-target-zlib:
34121 @: $(MAKE); $(unstage)
34122 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34123 r=`${PWD_COMMAND}`; export r; \
34124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34125 $(NORMAL_TARGET_EXPORTS) \
34126 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34127 for flag in $(EXTRA_TARGET_FLAGS); do \
34128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34129 done; \
34130 (cd $(TARGET_SUBDIR)/zlib && \
34131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34133 "RANLIB=$${RANLIB}" \
34134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34135 maintainer-clean) \
34136 || exit 1
34138 @endif target-zlib
34144 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34145 maybe-configure-target-boehm-gc:
34146 @if target-boehm-gc
34147 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34148 configure-target-boehm-gc:
34149 @: $(MAKE); $(unstage)
34150 @r=`${PWD_COMMAND}`; export r; \
34151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34152 echo "Checking multilib configuration for boehm-gc..."; \
34153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34154 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34155 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34156 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34157 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34158 else \
34159 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34160 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34161 fi; \
34162 else \
34163 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34165 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34166 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34167 r=`${PWD_COMMAND}`; export r; \
34168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34169 $(NORMAL_TARGET_EXPORTS) \
34170 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34171 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34172 case $(srcdir) in \
34173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34174 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34176 esac; \
34177 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34178 libsrcdir="$$s/boehm-gc"; \
34179 rm -f no-such-file || : ; \
34180 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34181 $(TARGET_CONFIGARGS) $${srcdiroption} \
34182 || exit 1
34183 @endif target-boehm-gc
34189 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34190 maybe-all-target-boehm-gc:
34191 @if target-boehm-gc
34192 TARGET-target-boehm-gc=all
34193 maybe-all-target-boehm-gc: all-target-boehm-gc
34194 all-target-boehm-gc: configure-target-boehm-gc
34195 @: $(MAKE); $(unstage)
34196 @r=`${PWD_COMMAND}`; export r; \
34197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34198 $(NORMAL_TARGET_EXPORTS) \
34199 (cd $(TARGET_SUBDIR)/boehm-gc && \
34200 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34201 @endif target-boehm-gc
34207 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34208 maybe-check-target-boehm-gc:
34209 @if target-boehm-gc
34210 maybe-check-target-boehm-gc: check-target-boehm-gc
34212 check-target-boehm-gc:
34213 @: $(MAKE); $(unstage)
34214 @r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(NORMAL_TARGET_EXPORTS) \
34217 (cd $(TARGET_SUBDIR)/boehm-gc && \
34218 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34220 @endif target-boehm-gc
34222 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34223 maybe-install-target-boehm-gc:
34224 @if target-boehm-gc
34225 maybe-install-target-boehm-gc: install-target-boehm-gc
34227 install-target-boehm-gc: installdirs
34228 @: $(MAKE); $(unstage)
34229 @r=`${PWD_COMMAND}`; export r; \
34230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34231 $(NORMAL_TARGET_EXPORTS) \
34232 (cd $(TARGET_SUBDIR)/boehm-gc && \
34233 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34235 @endif target-boehm-gc
34237 # Other targets (info, dvi, etc.)
34239 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34240 maybe-info-target-boehm-gc:
34241 @if target-boehm-gc
34242 maybe-info-target-boehm-gc: info-target-boehm-gc
34244 info-target-boehm-gc: \
34245 configure-target-boehm-gc
34246 @: $(MAKE); $(unstage)
34247 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34248 r=`${PWD_COMMAND}`; export r; \
34249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34250 $(NORMAL_TARGET_EXPORTS) \
34251 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34252 for flag in $(EXTRA_TARGET_FLAGS); do \
34253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34254 done; \
34255 (cd $(TARGET_SUBDIR)/boehm-gc && \
34256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34258 "RANLIB=$${RANLIB}" \
34259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34260 info) \
34261 || exit 1
34263 @endif target-boehm-gc
34265 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34266 maybe-dvi-target-boehm-gc:
34267 @if target-boehm-gc
34268 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34270 dvi-target-boehm-gc: \
34271 configure-target-boehm-gc
34272 @: $(MAKE); $(unstage)
34273 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34274 r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(NORMAL_TARGET_EXPORTS) \
34277 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34278 for flag in $(EXTRA_TARGET_FLAGS); do \
34279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34280 done; \
34281 (cd $(TARGET_SUBDIR)/boehm-gc && \
34282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34284 "RANLIB=$${RANLIB}" \
34285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34286 dvi) \
34287 || exit 1
34289 @endif target-boehm-gc
34291 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34292 maybe-html-target-boehm-gc:
34293 @if target-boehm-gc
34294 maybe-html-target-boehm-gc: html-target-boehm-gc
34296 html-target-boehm-gc: \
34297 configure-target-boehm-gc
34298 @: $(MAKE); $(unstage)
34299 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34300 r=`${PWD_COMMAND}`; export r; \
34301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34302 $(NORMAL_TARGET_EXPORTS) \
34303 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34304 for flag in $(EXTRA_TARGET_FLAGS); do \
34305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34306 done; \
34307 (cd $(TARGET_SUBDIR)/boehm-gc && \
34308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34310 "RANLIB=$${RANLIB}" \
34311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34312 html) \
34313 || exit 1
34315 @endif target-boehm-gc
34317 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34318 maybe-TAGS-target-boehm-gc:
34319 @if target-boehm-gc
34320 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34322 TAGS-target-boehm-gc: \
34323 configure-target-boehm-gc
34324 @: $(MAKE); $(unstage)
34325 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34326 r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 $(NORMAL_TARGET_EXPORTS) \
34329 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34330 for flag in $(EXTRA_TARGET_FLAGS); do \
34331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34332 done; \
34333 (cd $(TARGET_SUBDIR)/boehm-gc && \
34334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34336 "RANLIB=$${RANLIB}" \
34337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34338 TAGS) \
34339 || exit 1
34341 @endif target-boehm-gc
34343 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34344 maybe-install-info-target-boehm-gc:
34345 @if target-boehm-gc
34346 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34348 install-info-target-boehm-gc: \
34349 configure-target-boehm-gc \
34350 info-target-boehm-gc
34351 @: $(MAKE); $(unstage)
34352 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34353 r=`${PWD_COMMAND}`; export r; \
34354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34355 $(NORMAL_TARGET_EXPORTS) \
34356 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34357 for flag in $(EXTRA_TARGET_FLAGS); do \
34358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34359 done; \
34360 (cd $(TARGET_SUBDIR)/boehm-gc && \
34361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34363 "RANLIB=$${RANLIB}" \
34364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34365 install-info) \
34366 || exit 1
34368 @endif target-boehm-gc
34370 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34371 maybe-installcheck-target-boehm-gc:
34372 @if target-boehm-gc
34373 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34375 installcheck-target-boehm-gc: \
34376 configure-target-boehm-gc
34377 @: $(MAKE); $(unstage)
34378 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34379 r=`${PWD_COMMAND}`; export r; \
34380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34381 $(NORMAL_TARGET_EXPORTS) \
34382 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34383 for flag in $(EXTRA_TARGET_FLAGS); do \
34384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34385 done; \
34386 (cd $(TARGET_SUBDIR)/boehm-gc && \
34387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34389 "RANLIB=$${RANLIB}" \
34390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34391 installcheck) \
34392 || exit 1
34394 @endif target-boehm-gc
34396 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34397 maybe-mostlyclean-target-boehm-gc:
34398 @if target-boehm-gc
34399 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34401 mostlyclean-target-boehm-gc:
34402 @: $(MAKE); $(unstage)
34403 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34404 r=`${PWD_COMMAND}`; export r; \
34405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34406 $(NORMAL_TARGET_EXPORTS) \
34407 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34408 for flag in $(EXTRA_TARGET_FLAGS); do \
34409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34410 done; \
34411 (cd $(TARGET_SUBDIR)/boehm-gc && \
34412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34414 "RANLIB=$${RANLIB}" \
34415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34416 mostlyclean) \
34417 || exit 1
34419 @endif target-boehm-gc
34421 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34422 maybe-clean-target-boehm-gc:
34423 @if target-boehm-gc
34424 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34426 clean-target-boehm-gc:
34427 @: $(MAKE); $(unstage)
34428 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34429 r=`${PWD_COMMAND}`; export r; \
34430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34431 $(NORMAL_TARGET_EXPORTS) \
34432 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34433 for flag in $(EXTRA_TARGET_FLAGS); do \
34434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34435 done; \
34436 (cd $(TARGET_SUBDIR)/boehm-gc && \
34437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34439 "RANLIB=$${RANLIB}" \
34440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34441 clean) \
34442 || exit 1
34444 @endif target-boehm-gc
34446 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34447 maybe-distclean-target-boehm-gc:
34448 @if target-boehm-gc
34449 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34451 distclean-target-boehm-gc:
34452 @: $(MAKE); $(unstage)
34453 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34454 r=`${PWD_COMMAND}`; export r; \
34455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34456 $(NORMAL_TARGET_EXPORTS) \
34457 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34458 for flag in $(EXTRA_TARGET_FLAGS); do \
34459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34460 done; \
34461 (cd $(TARGET_SUBDIR)/boehm-gc && \
34462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34464 "RANLIB=$${RANLIB}" \
34465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34466 distclean) \
34467 || exit 1
34469 @endif target-boehm-gc
34471 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34472 maybe-maintainer-clean-target-boehm-gc:
34473 @if target-boehm-gc
34474 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34476 maintainer-clean-target-boehm-gc:
34477 @: $(MAKE); $(unstage)
34478 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34479 r=`${PWD_COMMAND}`; export r; \
34480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34481 $(NORMAL_TARGET_EXPORTS) \
34482 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34483 for flag in $(EXTRA_TARGET_FLAGS); do \
34484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34485 done; \
34486 (cd $(TARGET_SUBDIR)/boehm-gc && \
34487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34489 "RANLIB=$${RANLIB}" \
34490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34491 maintainer-clean) \
34492 || exit 1
34494 @endif target-boehm-gc
34500 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34501 maybe-configure-target-qthreads:
34502 @if target-qthreads
34503 maybe-configure-target-qthreads: configure-target-qthreads
34504 configure-target-qthreads:
34505 @: $(MAKE); $(unstage)
34506 @r=`${PWD_COMMAND}`; export r; \
34507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34508 echo "Checking multilib configuration for qthreads..."; \
34509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34510 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
34511 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34512 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
34513 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
34514 else \
34515 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
34516 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34517 fi; \
34518 else \
34519 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
34521 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34523 r=`${PWD_COMMAND}`; export r; \
34524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34525 $(NORMAL_TARGET_EXPORTS) \
34526 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34527 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34528 case $(srcdir) in \
34529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34530 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34532 esac; \
34533 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34534 libsrcdir="$$s/qthreads"; \
34535 rm -f no-such-file || : ; \
34536 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34537 $(TARGET_CONFIGARGS) $${srcdiroption} \
34538 || exit 1
34539 @endif target-qthreads
34545 .PHONY: all-target-qthreads maybe-all-target-qthreads
34546 maybe-all-target-qthreads:
34547 @if target-qthreads
34548 TARGET-target-qthreads=all
34549 maybe-all-target-qthreads: all-target-qthreads
34550 all-target-qthreads: configure-target-qthreads
34551 @: $(MAKE); $(unstage)
34552 @r=`${PWD_COMMAND}`; export r; \
34553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34554 $(NORMAL_TARGET_EXPORTS) \
34555 (cd $(TARGET_SUBDIR)/qthreads && \
34556 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34557 @endif target-qthreads
34563 .PHONY: check-target-qthreads maybe-check-target-qthreads
34564 maybe-check-target-qthreads:
34565 @if target-qthreads
34566 maybe-check-target-qthreads: check-target-qthreads
34568 check-target-qthreads:
34569 @: $(MAKE); $(unstage)
34570 @r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(NORMAL_TARGET_EXPORTS) \
34573 (cd $(TARGET_SUBDIR)/qthreads && \
34574 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34576 @endif target-qthreads
34578 .PHONY: install-target-qthreads maybe-install-target-qthreads
34579 maybe-install-target-qthreads:
34580 @if target-qthreads
34581 maybe-install-target-qthreads: install-target-qthreads
34583 install-target-qthreads: installdirs
34584 @: $(MAKE); $(unstage)
34585 @r=`${PWD_COMMAND}`; export r; \
34586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34587 $(NORMAL_TARGET_EXPORTS) \
34588 (cd $(TARGET_SUBDIR)/qthreads && \
34589 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34591 @endif target-qthreads
34593 # Other targets (info, dvi, etc.)
34595 .PHONY: maybe-info-target-qthreads info-target-qthreads
34596 maybe-info-target-qthreads:
34597 @if target-qthreads
34598 maybe-info-target-qthreads: info-target-qthreads
34600 info-target-qthreads: \
34601 configure-target-qthreads
34602 @: $(MAKE); $(unstage)
34603 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34604 r=`${PWD_COMMAND}`; export r; \
34605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34606 $(NORMAL_TARGET_EXPORTS) \
34607 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34608 for flag in $(EXTRA_TARGET_FLAGS); do \
34609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34610 done; \
34611 (cd $(TARGET_SUBDIR)/qthreads && \
34612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34614 "RANLIB=$${RANLIB}" \
34615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34616 info) \
34617 || exit 1
34619 @endif target-qthreads
34621 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34622 maybe-dvi-target-qthreads:
34623 @if target-qthreads
34624 maybe-dvi-target-qthreads: dvi-target-qthreads
34626 dvi-target-qthreads: \
34627 configure-target-qthreads
34628 @: $(MAKE); $(unstage)
34629 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34630 r=`${PWD_COMMAND}`; export r; \
34631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34632 $(NORMAL_TARGET_EXPORTS) \
34633 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34634 for flag in $(EXTRA_TARGET_FLAGS); do \
34635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34636 done; \
34637 (cd $(TARGET_SUBDIR)/qthreads && \
34638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34640 "RANLIB=$${RANLIB}" \
34641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34642 dvi) \
34643 || exit 1
34645 @endif target-qthreads
34647 .PHONY: maybe-html-target-qthreads html-target-qthreads
34648 maybe-html-target-qthreads:
34649 @if target-qthreads
34650 maybe-html-target-qthreads: html-target-qthreads
34652 html-target-qthreads: \
34653 configure-target-qthreads
34654 @: $(MAKE); $(unstage)
34655 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34656 r=`${PWD_COMMAND}`; export r; \
34657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34658 $(NORMAL_TARGET_EXPORTS) \
34659 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34660 for flag in $(EXTRA_TARGET_FLAGS); do \
34661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34662 done; \
34663 (cd $(TARGET_SUBDIR)/qthreads && \
34664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34666 "RANLIB=$${RANLIB}" \
34667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34668 html) \
34669 || exit 1
34671 @endif target-qthreads
34673 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34674 maybe-TAGS-target-qthreads:
34675 @if target-qthreads
34676 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34678 TAGS-target-qthreads: \
34679 configure-target-qthreads
34680 @: $(MAKE); $(unstage)
34681 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34682 r=`${PWD_COMMAND}`; export r; \
34683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34684 $(NORMAL_TARGET_EXPORTS) \
34685 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34686 for flag in $(EXTRA_TARGET_FLAGS); do \
34687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34688 done; \
34689 (cd $(TARGET_SUBDIR)/qthreads && \
34690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34692 "RANLIB=$${RANLIB}" \
34693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34694 TAGS) \
34695 || exit 1
34697 @endif target-qthreads
34699 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34700 maybe-install-info-target-qthreads:
34701 @if target-qthreads
34702 maybe-install-info-target-qthreads: install-info-target-qthreads
34704 install-info-target-qthreads: \
34705 configure-target-qthreads \
34706 info-target-qthreads
34707 @: $(MAKE); $(unstage)
34708 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34709 r=`${PWD_COMMAND}`; export r; \
34710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34711 $(NORMAL_TARGET_EXPORTS) \
34712 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34713 for flag in $(EXTRA_TARGET_FLAGS); do \
34714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34715 done; \
34716 (cd $(TARGET_SUBDIR)/qthreads && \
34717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34719 "RANLIB=$${RANLIB}" \
34720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34721 install-info) \
34722 || exit 1
34724 @endif target-qthreads
34726 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34727 maybe-installcheck-target-qthreads:
34728 @if target-qthreads
34729 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34731 installcheck-target-qthreads: \
34732 configure-target-qthreads
34733 @: $(MAKE); $(unstage)
34734 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34735 r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 $(NORMAL_TARGET_EXPORTS) \
34738 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34739 for flag in $(EXTRA_TARGET_FLAGS); do \
34740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34741 done; \
34742 (cd $(TARGET_SUBDIR)/qthreads && \
34743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34745 "RANLIB=$${RANLIB}" \
34746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34747 installcheck) \
34748 || exit 1
34750 @endif target-qthreads
34752 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34753 maybe-mostlyclean-target-qthreads:
34754 @if target-qthreads
34755 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34757 mostlyclean-target-qthreads:
34758 @: $(MAKE); $(unstage)
34759 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34760 r=`${PWD_COMMAND}`; export r; \
34761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34762 $(NORMAL_TARGET_EXPORTS) \
34763 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34764 for flag in $(EXTRA_TARGET_FLAGS); do \
34765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34766 done; \
34767 (cd $(TARGET_SUBDIR)/qthreads && \
34768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34770 "RANLIB=$${RANLIB}" \
34771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34772 mostlyclean) \
34773 || exit 1
34775 @endif target-qthreads
34777 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34778 maybe-clean-target-qthreads:
34779 @if target-qthreads
34780 maybe-clean-target-qthreads: clean-target-qthreads
34782 clean-target-qthreads:
34783 @: $(MAKE); $(unstage)
34784 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34785 r=`${PWD_COMMAND}`; export r; \
34786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34787 $(NORMAL_TARGET_EXPORTS) \
34788 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34789 for flag in $(EXTRA_TARGET_FLAGS); do \
34790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34791 done; \
34792 (cd $(TARGET_SUBDIR)/qthreads && \
34793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34795 "RANLIB=$${RANLIB}" \
34796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34797 clean) \
34798 || exit 1
34800 @endif target-qthreads
34802 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34803 maybe-distclean-target-qthreads:
34804 @if target-qthreads
34805 maybe-distclean-target-qthreads: distclean-target-qthreads
34807 distclean-target-qthreads:
34808 @: $(MAKE); $(unstage)
34809 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34810 r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(NORMAL_TARGET_EXPORTS) \
34813 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34814 for flag in $(EXTRA_TARGET_FLAGS); do \
34815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34816 done; \
34817 (cd $(TARGET_SUBDIR)/qthreads && \
34818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34820 "RANLIB=$${RANLIB}" \
34821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34822 distclean) \
34823 || exit 1
34825 @endif target-qthreads
34827 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34828 maybe-maintainer-clean-target-qthreads:
34829 @if target-qthreads
34830 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34832 maintainer-clean-target-qthreads:
34833 @: $(MAKE); $(unstage)
34834 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34835 r=`${PWD_COMMAND}`; export r; \
34836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34837 $(NORMAL_TARGET_EXPORTS) \
34838 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34839 for flag in $(EXTRA_TARGET_FLAGS); do \
34840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34841 done; \
34842 (cd $(TARGET_SUBDIR)/qthreads && \
34843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34845 "RANLIB=$${RANLIB}" \
34846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34847 maintainer-clean) \
34848 || exit 1
34850 @endif target-qthreads
34856 .PHONY: configure-target-rda maybe-configure-target-rda
34857 maybe-configure-target-rda:
34858 @if target-rda
34859 maybe-configure-target-rda: configure-target-rda
34860 configure-target-rda:
34861 @: $(MAKE); $(unstage)
34862 @r=`${PWD_COMMAND}`; export r; \
34863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34864 echo "Checking multilib configuration for rda..."; \
34865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34866 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
34867 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
34868 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
34869 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
34870 else \
34871 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
34872 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34873 fi; \
34874 else \
34875 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
34877 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34879 r=`${PWD_COMMAND}`; export r; \
34880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34881 $(NORMAL_TARGET_EXPORTS) \
34882 echo Configuring in $(TARGET_SUBDIR)/rda; \
34883 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34884 case $(srcdir) in \
34885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34886 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34888 esac; \
34889 srcdiroption="--srcdir=$${topdir}/rda"; \
34890 libsrcdir="$$s/rda"; \
34891 rm -f no-such-file || : ; \
34892 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34893 $(TARGET_CONFIGARGS) $${srcdiroption} \
34894 || exit 1
34895 @endif target-rda
34901 .PHONY: all-target-rda maybe-all-target-rda
34902 maybe-all-target-rda:
34903 @if target-rda
34904 TARGET-target-rda=all
34905 maybe-all-target-rda: all-target-rda
34906 all-target-rda: configure-target-rda
34907 @: $(MAKE); $(unstage)
34908 @r=`${PWD_COMMAND}`; export r; \
34909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34910 $(NORMAL_TARGET_EXPORTS) \
34911 (cd $(TARGET_SUBDIR)/rda && \
34912 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34913 @endif target-rda
34919 .PHONY: check-target-rda maybe-check-target-rda
34920 maybe-check-target-rda:
34921 @if target-rda
34922 maybe-check-target-rda: check-target-rda
34924 check-target-rda:
34925 @: $(MAKE); $(unstage)
34926 @r=`${PWD_COMMAND}`; export r; \
34927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34928 $(NORMAL_TARGET_EXPORTS) \
34929 (cd $(TARGET_SUBDIR)/rda && \
34930 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34932 @endif target-rda
34934 .PHONY: install-target-rda maybe-install-target-rda
34935 maybe-install-target-rda:
34936 @if target-rda
34937 maybe-install-target-rda: install-target-rda
34939 install-target-rda: installdirs
34940 @: $(MAKE); $(unstage)
34941 @r=`${PWD_COMMAND}`; export r; \
34942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34943 $(NORMAL_TARGET_EXPORTS) \
34944 (cd $(TARGET_SUBDIR)/rda && \
34945 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34947 @endif target-rda
34949 # Other targets (info, dvi, etc.)
34951 .PHONY: maybe-info-target-rda info-target-rda
34952 maybe-info-target-rda:
34953 @if target-rda
34954 maybe-info-target-rda: info-target-rda
34956 info-target-rda: \
34957 configure-target-rda
34958 @: $(MAKE); $(unstage)
34959 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34960 r=`${PWD_COMMAND}`; export r; \
34961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34962 $(NORMAL_TARGET_EXPORTS) \
34963 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34964 for flag in $(EXTRA_TARGET_FLAGS); do \
34965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34966 done; \
34967 (cd $(TARGET_SUBDIR)/rda && \
34968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34970 "RANLIB=$${RANLIB}" \
34971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34972 info) \
34973 || exit 1
34975 @endif target-rda
34977 .PHONY: maybe-dvi-target-rda dvi-target-rda
34978 maybe-dvi-target-rda:
34979 @if target-rda
34980 maybe-dvi-target-rda: dvi-target-rda
34982 dvi-target-rda: \
34983 configure-target-rda
34984 @: $(MAKE); $(unstage)
34985 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34986 r=`${PWD_COMMAND}`; export r; \
34987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34988 $(NORMAL_TARGET_EXPORTS) \
34989 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34990 for flag in $(EXTRA_TARGET_FLAGS); do \
34991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34992 done; \
34993 (cd $(TARGET_SUBDIR)/rda && \
34994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34996 "RANLIB=$${RANLIB}" \
34997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34998 dvi) \
34999 || exit 1
35001 @endif target-rda
35003 .PHONY: maybe-html-target-rda html-target-rda
35004 maybe-html-target-rda:
35005 @if target-rda
35006 maybe-html-target-rda: html-target-rda
35008 html-target-rda: \
35009 configure-target-rda
35010 @: $(MAKE); $(unstage)
35011 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35012 r=`${PWD_COMMAND}`; export r; \
35013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35014 $(NORMAL_TARGET_EXPORTS) \
35015 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35016 for flag in $(EXTRA_TARGET_FLAGS); do \
35017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35018 done; \
35019 (cd $(TARGET_SUBDIR)/rda && \
35020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35022 "RANLIB=$${RANLIB}" \
35023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35024 html) \
35025 || exit 1
35027 @endif target-rda
35029 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35030 maybe-TAGS-target-rda:
35031 @if target-rda
35032 maybe-TAGS-target-rda: TAGS-target-rda
35034 TAGS-target-rda: \
35035 configure-target-rda
35036 @: $(MAKE); $(unstage)
35037 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35038 r=`${PWD_COMMAND}`; export r; \
35039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35040 $(NORMAL_TARGET_EXPORTS) \
35041 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35042 for flag in $(EXTRA_TARGET_FLAGS); do \
35043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35044 done; \
35045 (cd $(TARGET_SUBDIR)/rda && \
35046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35048 "RANLIB=$${RANLIB}" \
35049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35050 TAGS) \
35051 || exit 1
35053 @endif target-rda
35055 .PHONY: maybe-install-info-target-rda install-info-target-rda
35056 maybe-install-info-target-rda:
35057 @if target-rda
35058 maybe-install-info-target-rda: install-info-target-rda
35060 install-info-target-rda: \
35061 configure-target-rda \
35062 info-target-rda
35063 @: $(MAKE); $(unstage)
35064 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35065 r=`${PWD_COMMAND}`; export r; \
35066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35067 $(NORMAL_TARGET_EXPORTS) \
35068 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35069 for flag in $(EXTRA_TARGET_FLAGS); do \
35070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35071 done; \
35072 (cd $(TARGET_SUBDIR)/rda && \
35073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35075 "RANLIB=$${RANLIB}" \
35076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35077 install-info) \
35078 || exit 1
35080 @endif target-rda
35082 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35083 maybe-installcheck-target-rda:
35084 @if target-rda
35085 maybe-installcheck-target-rda: installcheck-target-rda
35087 installcheck-target-rda: \
35088 configure-target-rda
35089 @: $(MAKE); $(unstage)
35090 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35091 r=`${PWD_COMMAND}`; export r; \
35092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35093 $(NORMAL_TARGET_EXPORTS) \
35094 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35095 for flag in $(EXTRA_TARGET_FLAGS); do \
35096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35097 done; \
35098 (cd $(TARGET_SUBDIR)/rda && \
35099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35101 "RANLIB=$${RANLIB}" \
35102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35103 installcheck) \
35104 || exit 1
35106 @endif target-rda
35108 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35109 maybe-mostlyclean-target-rda:
35110 @if target-rda
35111 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35113 mostlyclean-target-rda:
35114 @: $(MAKE); $(unstage)
35115 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35116 r=`${PWD_COMMAND}`; export r; \
35117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35118 $(NORMAL_TARGET_EXPORTS) \
35119 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35120 for flag in $(EXTRA_TARGET_FLAGS); do \
35121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35122 done; \
35123 (cd $(TARGET_SUBDIR)/rda && \
35124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35126 "RANLIB=$${RANLIB}" \
35127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35128 mostlyclean) \
35129 || exit 1
35131 @endif target-rda
35133 .PHONY: maybe-clean-target-rda clean-target-rda
35134 maybe-clean-target-rda:
35135 @if target-rda
35136 maybe-clean-target-rda: clean-target-rda
35138 clean-target-rda:
35139 @: $(MAKE); $(unstage)
35140 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35141 r=`${PWD_COMMAND}`; export r; \
35142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35143 $(NORMAL_TARGET_EXPORTS) \
35144 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35145 for flag in $(EXTRA_TARGET_FLAGS); do \
35146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35147 done; \
35148 (cd $(TARGET_SUBDIR)/rda && \
35149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35151 "RANLIB=$${RANLIB}" \
35152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35153 clean) \
35154 || exit 1
35156 @endif target-rda
35158 .PHONY: maybe-distclean-target-rda distclean-target-rda
35159 maybe-distclean-target-rda:
35160 @if target-rda
35161 maybe-distclean-target-rda: distclean-target-rda
35163 distclean-target-rda:
35164 @: $(MAKE); $(unstage)
35165 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35166 r=`${PWD_COMMAND}`; export r; \
35167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35168 $(NORMAL_TARGET_EXPORTS) \
35169 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35170 for flag in $(EXTRA_TARGET_FLAGS); do \
35171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35172 done; \
35173 (cd $(TARGET_SUBDIR)/rda && \
35174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35176 "RANLIB=$${RANLIB}" \
35177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35178 distclean) \
35179 || exit 1
35181 @endif target-rda
35183 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35184 maybe-maintainer-clean-target-rda:
35185 @if target-rda
35186 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35188 maintainer-clean-target-rda:
35189 @: $(MAKE); $(unstage)
35190 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35191 r=`${PWD_COMMAND}`; export r; \
35192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35193 $(NORMAL_TARGET_EXPORTS) \
35194 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35195 for flag in $(EXTRA_TARGET_FLAGS); do \
35196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35197 done; \
35198 (cd $(TARGET_SUBDIR)/rda && \
35199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35201 "RANLIB=$${RANLIB}" \
35202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35203 maintainer-clean) \
35204 || exit 1
35206 @endif target-rda
35212 .PHONY: configure-target-libada maybe-configure-target-libada
35213 maybe-configure-target-libada:
35214 @if target-libada
35215 maybe-configure-target-libada: configure-target-libada
35216 configure-target-libada:
35217 @: $(MAKE); $(unstage)
35218 @r=`${PWD_COMMAND}`; export r; \
35219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35220 echo "Checking multilib configuration for libada..."; \
35221 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35222 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35223 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35224 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35225 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35226 else \
35227 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35228 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35229 fi; \
35230 else \
35231 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35233 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35235 r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 $(NORMAL_TARGET_EXPORTS) \
35238 echo Configuring in $(TARGET_SUBDIR)/libada; \
35239 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35240 case $(srcdir) in \
35241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35242 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35244 esac; \
35245 srcdiroption="--srcdir=$${topdir}/libada"; \
35246 libsrcdir="$$s/libada"; \
35247 rm -f no-such-file || : ; \
35248 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35249 $(TARGET_CONFIGARGS) $${srcdiroption} \
35250 || exit 1
35251 @endif target-libada
35257 .PHONY: all-target-libada maybe-all-target-libada
35258 maybe-all-target-libada:
35259 @if target-libada
35260 TARGET-target-libada=all
35261 maybe-all-target-libada: all-target-libada
35262 all-target-libada: configure-target-libada
35263 @: $(MAKE); $(unstage)
35264 @r=`${PWD_COMMAND}`; export r; \
35265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35266 $(NORMAL_TARGET_EXPORTS) \
35267 (cd $(TARGET_SUBDIR)/libada && \
35268 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35269 @endif target-libada
35275 .PHONY: check-target-libada maybe-check-target-libada
35276 maybe-check-target-libada:
35277 @if target-libada
35278 maybe-check-target-libada: check-target-libada
35280 check-target-libada:
35281 @: $(MAKE); $(unstage)
35282 @r=`${PWD_COMMAND}`; export r; \
35283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35284 $(NORMAL_TARGET_EXPORTS) \
35285 (cd $(TARGET_SUBDIR)/libada && \
35286 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35288 @endif target-libada
35290 .PHONY: install-target-libada maybe-install-target-libada
35291 maybe-install-target-libada:
35292 @if target-libada
35293 maybe-install-target-libada: install-target-libada
35295 install-target-libada: installdirs
35296 @: $(MAKE); $(unstage)
35297 @r=`${PWD_COMMAND}`; export r; \
35298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35299 $(NORMAL_TARGET_EXPORTS) \
35300 (cd $(TARGET_SUBDIR)/libada && \
35301 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35303 @endif target-libada
35305 # Other targets (info, dvi, etc.)
35307 .PHONY: maybe-info-target-libada info-target-libada
35308 maybe-info-target-libada:
35309 @if target-libada
35310 maybe-info-target-libada: info-target-libada
35312 info-target-libada: \
35313 configure-target-libada
35314 @: $(MAKE); $(unstage)
35315 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35316 r=`${PWD_COMMAND}`; export r; \
35317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35318 $(NORMAL_TARGET_EXPORTS) \
35319 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35320 for flag in $(EXTRA_TARGET_FLAGS); do \
35321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35322 done; \
35323 (cd $(TARGET_SUBDIR)/libada && \
35324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35326 "RANLIB=$${RANLIB}" \
35327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35328 info) \
35329 || exit 1
35331 @endif target-libada
35333 .PHONY: maybe-dvi-target-libada dvi-target-libada
35334 maybe-dvi-target-libada:
35335 @if target-libada
35336 maybe-dvi-target-libada: dvi-target-libada
35338 dvi-target-libada: \
35339 configure-target-libada
35340 @: $(MAKE); $(unstage)
35341 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35342 r=`${PWD_COMMAND}`; export r; \
35343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35344 $(NORMAL_TARGET_EXPORTS) \
35345 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35346 for flag in $(EXTRA_TARGET_FLAGS); do \
35347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35348 done; \
35349 (cd $(TARGET_SUBDIR)/libada && \
35350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35352 "RANLIB=$${RANLIB}" \
35353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35354 dvi) \
35355 || exit 1
35357 @endif target-libada
35359 .PHONY: maybe-html-target-libada html-target-libada
35360 maybe-html-target-libada:
35361 @if target-libada
35362 maybe-html-target-libada: html-target-libada
35364 html-target-libada: \
35365 configure-target-libada
35366 @: $(MAKE); $(unstage)
35367 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35368 r=`${PWD_COMMAND}`; export r; \
35369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35370 $(NORMAL_TARGET_EXPORTS) \
35371 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35372 for flag in $(EXTRA_TARGET_FLAGS); do \
35373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35374 done; \
35375 (cd $(TARGET_SUBDIR)/libada && \
35376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35378 "RANLIB=$${RANLIB}" \
35379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35380 html) \
35381 || exit 1
35383 @endif target-libada
35385 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35386 maybe-TAGS-target-libada:
35387 @if target-libada
35388 maybe-TAGS-target-libada: TAGS-target-libada
35390 TAGS-target-libada: \
35391 configure-target-libada
35392 @: $(MAKE); $(unstage)
35393 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35394 r=`${PWD_COMMAND}`; export r; \
35395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35396 $(NORMAL_TARGET_EXPORTS) \
35397 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35398 for flag in $(EXTRA_TARGET_FLAGS); do \
35399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35400 done; \
35401 (cd $(TARGET_SUBDIR)/libada && \
35402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35404 "RANLIB=$${RANLIB}" \
35405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35406 TAGS) \
35407 || exit 1
35409 @endif target-libada
35411 .PHONY: maybe-install-info-target-libada install-info-target-libada
35412 maybe-install-info-target-libada:
35413 @if target-libada
35414 maybe-install-info-target-libada: install-info-target-libada
35416 install-info-target-libada: \
35417 configure-target-libada \
35418 info-target-libada
35419 @: $(MAKE); $(unstage)
35420 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35421 r=`${PWD_COMMAND}`; export r; \
35422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35423 $(NORMAL_TARGET_EXPORTS) \
35424 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35425 for flag in $(EXTRA_TARGET_FLAGS); do \
35426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35427 done; \
35428 (cd $(TARGET_SUBDIR)/libada && \
35429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35431 "RANLIB=$${RANLIB}" \
35432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35433 install-info) \
35434 || exit 1
35436 @endif target-libada
35438 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35439 maybe-installcheck-target-libada:
35440 @if target-libada
35441 maybe-installcheck-target-libada: installcheck-target-libada
35443 installcheck-target-libada: \
35444 configure-target-libada
35445 @: $(MAKE); $(unstage)
35446 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35447 r=`${PWD_COMMAND}`; export r; \
35448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35449 $(NORMAL_TARGET_EXPORTS) \
35450 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35451 for flag in $(EXTRA_TARGET_FLAGS); do \
35452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35453 done; \
35454 (cd $(TARGET_SUBDIR)/libada && \
35455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35457 "RANLIB=$${RANLIB}" \
35458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35459 installcheck) \
35460 || exit 1
35462 @endif target-libada
35464 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35465 maybe-mostlyclean-target-libada:
35466 @if target-libada
35467 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35469 mostlyclean-target-libada:
35470 @: $(MAKE); $(unstage)
35471 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35472 r=`${PWD_COMMAND}`; export r; \
35473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35474 $(NORMAL_TARGET_EXPORTS) \
35475 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35476 for flag in $(EXTRA_TARGET_FLAGS); do \
35477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35478 done; \
35479 (cd $(TARGET_SUBDIR)/libada && \
35480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35482 "RANLIB=$${RANLIB}" \
35483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35484 mostlyclean) \
35485 || exit 1
35487 @endif target-libada
35489 .PHONY: maybe-clean-target-libada clean-target-libada
35490 maybe-clean-target-libada:
35491 @if target-libada
35492 maybe-clean-target-libada: clean-target-libada
35494 clean-target-libada:
35495 @: $(MAKE); $(unstage)
35496 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35497 r=`${PWD_COMMAND}`; export r; \
35498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35499 $(NORMAL_TARGET_EXPORTS) \
35500 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35501 for flag in $(EXTRA_TARGET_FLAGS); do \
35502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35503 done; \
35504 (cd $(TARGET_SUBDIR)/libada && \
35505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35507 "RANLIB=$${RANLIB}" \
35508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35509 clean) \
35510 || exit 1
35512 @endif target-libada
35514 .PHONY: maybe-distclean-target-libada distclean-target-libada
35515 maybe-distclean-target-libada:
35516 @if target-libada
35517 maybe-distclean-target-libada: distclean-target-libada
35519 distclean-target-libada:
35520 @: $(MAKE); $(unstage)
35521 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35522 r=`${PWD_COMMAND}`; export r; \
35523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35524 $(NORMAL_TARGET_EXPORTS) \
35525 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
35526 for flag in $(EXTRA_TARGET_FLAGS); do \
35527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35528 done; \
35529 (cd $(TARGET_SUBDIR)/libada && \
35530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35532 "RANLIB=$${RANLIB}" \
35533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35534 distclean) \
35535 || exit 1
35537 @endif target-libada
35539 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35540 maybe-maintainer-clean-target-libada:
35541 @if target-libada
35542 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35544 maintainer-clean-target-libada:
35545 @: $(MAKE); $(unstage)
35546 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35547 r=`${PWD_COMMAND}`; export r; \
35548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35549 $(NORMAL_TARGET_EXPORTS) \
35550 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35551 for flag in $(EXTRA_TARGET_FLAGS); do \
35552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35553 done; \
35554 (cd $(TARGET_SUBDIR)/libada && \
35555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35557 "RANLIB=$${RANLIB}" \
35558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35559 maintainer-clean) \
35560 || exit 1
35562 @endif target-libada
35568 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
35569 maybe-configure-target-libgomp:
35570 @if target-libgomp
35571 maybe-configure-target-libgomp: configure-target-libgomp
35572 configure-target-libgomp:
35573 @: $(MAKE); $(unstage)
35574 @r=`${PWD_COMMAND}`; export r; \
35575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35576 echo "Checking multilib configuration for libgomp..."; \
35577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
35578 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
35579 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
35580 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
35581 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
35582 else \
35583 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
35584 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
35585 fi; \
35586 else \
35587 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
35589 @test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
35590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
35591 r=`${PWD_COMMAND}`; export r; \
35592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35593 $(NORMAL_TARGET_EXPORTS) \
35594 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
35595 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
35596 case $(srcdir) in \
35597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35598 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
35599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35600 esac; \
35601 srcdiroption="--srcdir=$${topdir}/libgomp"; \
35602 libsrcdir="$$s/libgomp"; \
35603 rm -f no-such-file || : ; \
35604 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35605 $(TARGET_CONFIGARGS) $${srcdiroption} \
35606 || exit 1
35607 @endif target-libgomp
35613 .PHONY: all-target-libgomp maybe-all-target-libgomp
35614 maybe-all-target-libgomp:
35615 @if target-libgomp
35616 TARGET-target-libgomp=all
35617 maybe-all-target-libgomp: all-target-libgomp
35618 all-target-libgomp: configure-target-libgomp
35619 @: $(MAKE); $(unstage)
35620 @r=`${PWD_COMMAND}`; export r; \
35621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35622 $(NORMAL_TARGET_EXPORTS) \
35623 (cd $(TARGET_SUBDIR)/libgomp && \
35624 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
35625 @endif target-libgomp
35631 .PHONY: check-target-libgomp maybe-check-target-libgomp
35632 maybe-check-target-libgomp:
35633 @if target-libgomp
35634 maybe-check-target-libgomp: check-target-libgomp
35636 check-target-libgomp:
35637 @: $(MAKE); $(unstage)
35638 @r=`${PWD_COMMAND}`; export r; \
35639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35640 $(NORMAL_TARGET_EXPORTS) \
35641 (cd $(TARGET_SUBDIR)/libgomp && \
35642 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35644 @endif target-libgomp
35646 .PHONY: install-target-libgomp maybe-install-target-libgomp
35647 maybe-install-target-libgomp:
35648 @if target-libgomp
35649 maybe-install-target-libgomp: install-target-libgomp
35651 install-target-libgomp: installdirs
35652 @: $(MAKE); $(unstage)
35653 @r=`${PWD_COMMAND}`; export r; \
35654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35655 $(NORMAL_TARGET_EXPORTS) \
35656 (cd $(TARGET_SUBDIR)/libgomp && \
35657 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35659 @endif target-libgomp
35661 # Other targets (info, dvi, etc.)
35663 .PHONY: maybe-info-target-libgomp info-target-libgomp
35664 maybe-info-target-libgomp:
35665 @if target-libgomp
35666 maybe-info-target-libgomp: info-target-libgomp
35668 info-target-libgomp: \
35669 configure-target-libgomp
35670 @: $(MAKE); $(unstage)
35671 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35672 r=`${PWD_COMMAND}`; export r; \
35673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35674 $(NORMAL_TARGET_EXPORTS) \
35675 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
35676 for flag in $(EXTRA_TARGET_FLAGS); do \
35677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35678 done; \
35679 (cd $(TARGET_SUBDIR)/libgomp && \
35680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35682 "RANLIB=$${RANLIB}" \
35683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35684 info) \
35685 || exit 1
35687 @endif target-libgomp
35689 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
35690 maybe-dvi-target-libgomp:
35691 @if target-libgomp
35692 maybe-dvi-target-libgomp: dvi-target-libgomp
35694 dvi-target-libgomp: \
35695 configure-target-libgomp
35696 @: $(MAKE); $(unstage)
35697 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35698 r=`${PWD_COMMAND}`; export r; \
35699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35700 $(NORMAL_TARGET_EXPORTS) \
35701 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
35702 for flag in $(EXTRA_TARGET_FLAGS); do \
35703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35704 done; \
35705 (cd $(TARGET_SUBDIR)/libgomp && \
35706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35708 "RANLIB=$${RANLIB}" \
35709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35710 dvi) \
35711 || exit 1
35713 @endif target-libgomp
35715 .PHONY: maybe-html-target-libgomp html-target-libgomp
35716 maybe-html-target-libgomp:
35717 @if target-libgomp
35718 maybe-html-target-libgomp: html-target-libgomp
35720 html-target-libgomp: \
35721 configure-target-libgomp
35722 @: $(MAKE); $(unstage)
35723 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35724 r=`${PWD_COMMAND}`; export r; \
35725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35726 $(NORMAL_TARGET_EXPORTS) \
35727 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
35728 for flag in $(EXTRA_TARGET_FLAGS); do \
35729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35730 done; \
35731 (cd $(TARGET_SUBDIR)/libgomp && \
35732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35734 "RANLIB=$${RANLIB}" \
35735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35736 html) \
35737 || exit 1
35739 @endif target-libgomp
35741 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
35742 maybe-TAGS-target-libgomp:
35743 @if target-libgomp
35744 maybe-TAGS-target-libgomp: TAGS-target-libgomp
35746 TAGS-target-libgomp: \
35747 configure-target-libgomp
35748 @: $(MAKE); $(unstage)
35749 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35750 r=`${PWD_COMMAND}`; export r; \
35751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35752 $(NORMAL_TARGET_EXPORTS) \
35753 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
35754 for flag in $(EXTRA_TARGET_FLAGS); do \
35755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35756 done; \
35757 (cd $(TARGET_SUBDIR)/libgomp && \
35758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35760 "RANLIB=$${RANLIB}" \
35761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35762 TAGS) \
35763 || exit 1
35765 @endif target-libgomp
35767 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
35768 maybe-install-info-target-libgomp:
35769 @if target-libgomp
35770 maybe-install-info-target-libgomp: install-info-target-libgomp
35772 install-info-target-libgomp: \
35773 configure-target-libgomp \
35774 info-target-libgomp
35775 @: $(MAKE); $(unstage)
35776 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35777 r=`${PWD_COMMAND}`; export r; \
35778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35779 $(NORMAL_TARGET_EXPORTS) \
35780 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
35781 for flag in $(EXTRA_TARGET_FLAGS); do \
35782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35783 done; \
35784 (cd $(TARGET_SUBDIR)/libgomp && \
35785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35787 "RANLIB=$${RANLIB}" \
35788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35789 install-info) \
35790 || exit 1
35792 @endif target-libgomp
35794 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
35795 maybe-installcheck-target-libgomp:
35796 @if target-libgomp
35797 maybe-installcheck-target-libgomp: installcheck-target-libgomp
35799 installcheck-target-libgomp: \
35800 configure-target-libgomp
35801 @: $(MAKE); $(unstage)
35802 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35803 r=`${PWD_COMMAND}`; export r; \
35804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35805 $(NORMAL_TARGET_EXPORTS) \
35806 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
35807 for flag in $(EXTRA_TARGET_FLAGS); do \
35808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35809 done; \
35810 (cd $(TARGET_SUBDIR)/libgomp && \
35811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35813 "RANLIB=$${RANLIB}" \
35814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35815 installcheck) \
35816 || exit 1
35818 @endif target-libgomp
35820 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
35821 maybe-mostlyclean-target-libgomp:
35822 @if target-libgomp
35823 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
35825 mostlyclean-target-libgomp:
35826 @: $(MAKE); $(unstage)
35827 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35828 r=`${PWD_COMMAND}`; export r; \
35829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35830 $(NORMAL_TARGET_EXPORTS) \
35831 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
35832 for flag in $(EXTRA_TARGET_FLAGS); do \
35833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35834 done; \
35835 (cd $(TARGET_SUBDIR)/libgomp && \
35836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35838 "RANLIB=$${RANLIB}" \
35839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35840 mostlyclean) \
35841 || exit 1
35843 @endif target-libgomp
35845 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
35846 maybe-clean-target-libgomp:
35847 @if target-libgomp
35848 maybe-clean-target-libgomp: clean-target-libgomp
35850 clean-target-libgomp:
35851 @: $(MAKE); $(unstage)
35852 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35853 r=`${PWD_COMMAND}`; export r; \
35854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35855 $(NORMAL_TARGET_EXPORTS) \
35856 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
35857 for flag in $(EXTRA_TARGET_FLAGS); do \
35858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35859 done; \
35860 (cd $(TARGET_SUBDIR)/libgomp && \
35861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35863 "RANLIB=$${RANLIB}" \
35864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35865 clean) \
35866 || exit 1
35868 @endif target-libgomp
35870 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
35871 maybe-distclean-target-libgomp:
35872 @if target-libgomp
35873 maybe-distclean-target-libgomp: distclean-target-libgomp
35875 distclean-target-libgomp:
35876 @: $(MAKE); $(unstage)
35877 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35878 r=`${PWD_COMMAND}`; export r; \
35879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35880 $(NORMAL_TARGET_EXPORTS) \
35881 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
35882 for flag in $(EXTRA_TARGET_FLAGS); do \
35883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35884 done; \
35885 (cd $(TARGET_SUBDIR)/libgomp && \
35886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35888 "RANLIB=$${RANLIB}" \
35889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35890 distclean) \
35891 || exit 1
35893 @endif target-libgomp
35895 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
35896 maybe-maintainer-clean-target-libgomp:
35897 @if target-libgomp
35898 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
35900 maintainer-clean-target-libgomp:
35901 @: $(MAKE); $(unstage)
35902 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
35903 r=`${PWD_COMMAND}`; export r; \
35904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35905 $(NORMAL_TARGET_EXPORTS) \
35906 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
35907 for flag in $(EXTRA_TARGET_FLAGS); do \
35908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35909 done; \
35910 (cd $(TARGET_SUBDIR)/libgomp && \
35911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35913 "RANLIB=$${RANLIB}" \
35914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35915 maintainer-clean) \
35916 || exit 1
35918 @endif target-libgomp
35922 # ----------
35923 # GCC module
35924 # ----------
35926 @if gcc-no-bootstrap
35927 # GCC has some more recursive targets, which trigger the old
35928 # (but still current, until the toplevel bootstrap project
35929 # is finished) compiler bootstrapping rules.
35931 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35932 .PHONY: $(GCC_STRAP_TARGETS)
35933 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35934 @r=`${PWD_COMMAND}`; export r; \
35935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35936 $(HOST_EXPORTS) \
35937 echo "Bootstrapping the compiler"; \
35938 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35939 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35940 @r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 case "$@" in \
35943 *bootstrap4-lean ) \
35944 msg="Comparing stage3 and stage4 of the compiler"; \
35945 compare=compare3-lean ;; \
35946 *bootstrap4 ) \
35947 msg="Comparing stage3 and stage4 of the compiler"; \
35948 compare=compare3 ;; \
35949 *-lean ) \
35950 msg="Comparing stage2 and stage3 of the compiler"; \
35951 compare=compare-lean ;; \
35952 * ) \
35953 msg="Comparing stage2 and stage3 of the compiler"; \
35954 compare=compare ;; \
35955 esac; \
35956 $(HOST_EXPORTS) \
35957 echo "$$msg"; \
35958 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35959 @r=`${PWD_COMMAND}`; export r; \
35960 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35961 echo "Building runtime libraries"; \
35962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35964 profiledbootstrap: all-prebootstrap configure-gcc
35965 @r=`${PWD_COMMAND}`; export r; \
35966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35967 $(HOST_EXPORTS) \
35968 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35969 echo "Bootstrapping training compiler"; \
35970 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35971 @r=`${PWD_COMMAND}`; export r; \
35972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35973 $(HOST_EXPORTS) \
35974 echo "Building feedback based compiler"; \
35975 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35976 @r=`${PWD_COMMAND}`; export r; \
35977 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35978 echo "Building runtime libraries"; \
35979 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35981 .PHONY: cross
35982 cross: all-build all-gas all-ld
35983 @r=`${PWD_COMMAND}`; export r; \
35984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35985 $(HOST_EXPORTS) \
35986 echo "Building the C and C++ compiler"; \
35987 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35988 @r=`${PWD_COMMAND}`; export r; \
35989 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35990 echo "Building runtime libraries"; \
35991 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35992 @endif gcc-no-bootstrap
35994 @if gcc
35995 .PHONY: check-gcc-c++
35996 check-gcc-c++:
35997 @if [ -f ./gcc/Makefile ] ; then \
35998 r=`${PWD_COMMAND}`; export r; \
35999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36000 $(HOST_EXPORTS) \
36001 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
36002 else \
36003 true; \
36006 .PHONY: check-c++
36007 check-c++: check-target-libstdc++-v3 check-gcc-c++
36009 # Install the gcc headers files, but not the fixed include files,
36010 # which Cygnus is not allowed to distribute. This rule is very
36011 # dependent on the workings of the gcc Makefile.in.
36012 .PHONY: gcc-no-fixedincludes
36013 gcc-no-fixedincludes:
36014 @if [ -f ./gcc/Makefile ]; then \
36015 rm -rf gcc/tmp-include; \
36016 mv gcc/include gcc/tmp-include 2>/dev/null; \
36017 mkdir gcc/include; \
36018 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
36019 touch gcc/stmp-fixinc gcc/include/fixed; \
36020 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
36021 r=`${PWD_COMMAND}`; export r; \
36022 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36023 $(HOST_EXPORTS) \
36024 (cd ./gcc && \
36025 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
36026 rm -rf gcc/include; \
36027 mv gcc/tmp-include gcc/include 2>/dev/null; \
36028 else true; fi
36029 @endif gcc
36031 # ---------------------
36032 # GCC bootstrap support
36033 # ---------------------
36035 # We track the current stage (the one in 'gcc') in the stage_current file.
36036 # stage_last instead tracks the stage that was built last. These targets
36037 # are dummy when toplevel bootstrap is not active.
36039 # While making host and target tools, symlinks to the final stage must be
36040 # there, so $(unstage) should be run at various points. To avoid excessive
36041 # recursive invocations of make, we "inline" them using a variable. These
36042 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
36043 # to avoid warnings from the GNU Make job server.
36045 unstage = :
36046 stage = :
36048 @if gcc-bootstrap
36049 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
36050 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
36051 @endif gcc-bootstrap
36053 .PHONY: unstage stage
36054 unstage:
36055 @: $(MAKE); $(unstage)
36056 stage:
36057 @: $(MAKE); $(stage)
36059 # Disable commands for lean bootstrap.
36060 LEAN = false
36062 # We name the build directories for the various stages "stage1-gcc",
36063 # "stage2-gcc","stage3-gcc", etc.
36065 # Since the 'compare' process will fail (on debugging information) if any
36066 # directory names are different, we need to link the gcc directory for
36067 # the previous stage to a constant name ('prev-gcc'), and to make the name of
36068 # the build directories constant as well. For the latter, we use naked names
36069 # like 'gcc', because the scripts in that directory assume it. We use
36070 # mv on platforms where symlinks to directories do not work or are not
36071 # reliable.
36073 # 'touch' doesn't work right on some platforms.
36074 STAMP = echo timestamp >
36076 # Only build the C compiler for stage1, because that is the only one that
36077 # we can guarantee will build with the native compiler, and also it is the
36078 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
36079 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
36080 # overrideable (for a bootstrap build stage1 also builds gcc.info).
36082 STAGE1_CFLAGS=@stage1_cflags@
36083 STAGE1_LANGUAGES=@stage1_languages@
36085 # We only want to compare .o files, so set this!
36086 objext = .o
36088 # Flags to pass to stage2 and later makes.
36089 POSTSTAGE1_FLAGS_TO_PASS = \
36090 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
36091 STAGE_PREFIX=$$r/prev-gcc/ \
36092 CFLAGS="$(BOOT_CFLAGS)" \
36093 LDFLAGS="$(BOOT_LDFLAGS)" \
36094 ADAC="\$$(CC)"
36096 # For stage 1:
36097 # * We force-disable intermodule optimizations, even if
36098 # --enable-intermodule was passed, since the installed compiler probably
36099 # can't handle them. Luckily, autoconf always respects
36100 # the last argument when conflicting --enable arguments are passed.
36101 # * Likewise, we force-disable coverage flags, since the installed compiler
36102 # probably has never heard of them.
36103 # * We build only C (and possibly Ada).
36106 .PHONY: stage1-start stage1-end
36108 stage1-start::
36109 @: $(MAKE); $(stage); \
36110 echo stage1 > stage_current ; \
36111 echo stage1 > stage_last; \
36112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36113 @if bfd
36114 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
36115 mkdir stage1-bfd; \
36116 mv stage1-bfd bfd
36117 @endif bfd
36118 @if opcodes
36119 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
36120 mkdir stage1-opcodes; \
36121 mv stage1-opcodes opcodes
36122 @endif opcodes
36123 @if binutils
36124 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
36125 mkdir stage1-binutils; \
36126 mv stage1-binutils binutils
36127 @endif binutils
36128 @if gas
36129 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
36130 mkdir stage1-gas; \
36131 mv stage1-gas gas
36132 @endif gas
36133 @if gcc
36134 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
36135 mkdir stage1-gcc; \
36136 mv stage1-gcc gcc
36137 @endif gcc
36138 @if intl
36139 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
36140 mkdir stage1-intl; \
36141 mv stage1-intl intl
36142 @endif intl
36143 @if ld
36144 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
36145 mkdir stage1-ld; \
36146 mv stage1-ld ld
36147 @endif ld
36148 @if libcpp
36149 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
36150 mkdir stage1-libcpp; \
36151 mv stage1-libcpp libcpp
36152 @endif libcpp
36153 @if libdecnumber
36154 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
36155 mkdir stage1-libdecnumber; \
36156 mv stage1-libdecnumber libdecnumber
36157 @endif libdecnumber
36158 @if libiberty
36159 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
36160 mkdir stage1-libiberty; \
36161 mv stage1-libiberty libiberty
36162 @endif libiberty
36163 @if zlib
36164 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
36165 mkdir stage1-zlib; \
36166 mv stage1-zlib zlib
36167 @endif zlib
36168 @[ -d stage1-$(TARGET_SUBDIR) ] || \
36169 mkdir stage1-$(TARGET_SUBDIR); \
36170 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
36172 stage1-end::
36173 @if bfd
36174 @if test -d $(HOST_SUBDIR)/bfd ; then \
36175 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
36177 @endif bfd
36178 @if opcodes
36179 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36180 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
36182 @endif opcodes
36183 @if binutils
36184 @if test -d $(HOST_SUBDIR)/binutils ; then \
36185 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
36187 @endif binutils
36188 @if gas
36189 @if test -d $(HOST_SUBDIR)/gas ; then \
36190 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
36192 @endif gas
36193 @if gcc
36194 @if test -d $(HOST_SUBDIR)/gcc ; then \
36195 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
36197 @endif gcc
36198 @if intl
36199 @if test -d $(HOST_SUBDIR)/intl ; then \
36200 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
36202 @endif intl
36203 @if ld
36204 @if test -d $(HOST_SUBDIR)/ld ; then \
36205 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
36207 @endif ld
36208 @if libcpp
36209 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36210 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
36212 @endif libcpp
36213 @if libdecnumber
36214 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36215 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
36217 @endif libdecnumber
36218 @if libiberty
36219 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36220 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
36222 @endif libiberty
36223 @if zlib
36224 @if test -d $(HOST_SUBDIR)/zlib ; then \
36225 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
36227 @endif zlib
36228 @if test -d $(TARGET_SUBDIR) ; then \
36229 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36231 rm -f stage_current
36233 # Bubble a bugfix through all the stages up to stage 1. They are
36234 # remade, but not reconfigured. The next stage (if any) will not be
36235 # reconfigured as well.
36236 .PHONY: stage1-bubble
36237 stage1-bubble::
36238 @r=`${PWD_COMMAND}`; export r; \
36239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36240 if test -f stage1-lean ; then \
36241 echo Skipping rebuild of stage1 ; \
36242 else \
36243 $(MAKE) stage1-start; \
36244 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
36247 .PHONY: all-stage1 clean-stage1
36248 do-clean: clean-stage1
36250 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36251 # only possibility, but now it conflicts with no-bootstrap rules
36252 @if gcc-bootstrap
36257 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36259 .PHONY: distclean-stage1
36260 distclean-stage1::
36261 @: $(MAKE); $(stage)
36262 rm -rf stage1-*
36265 @endif gcc-bootstrap
36268 .PHONY: stage2-start stage2-end
36270 stage2-start::
36271 @: $(MAKE); $(stage); \
36272 echo stage2 > stage_current ; \
36273 echo stage2 > stage_last; \
36274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36275 @if bfd
36276 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
36277 mkdir stage2-bfd; \
36278 mv stage2-bfd bfd ; \
36279 mv stage1-bfd prev-bfd || test -f stage1-lean
36280 @endif bfd
36281 @if opcodes
36282 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
36283 mkdir stage2-opcodes; \
36284 mv stage2-opcodes opcodes ; \
36285 mv stage1-opcodes prev-opcodes || test -f stage1-lean
36286 @endif opcodes
36287 @if binutils
36288 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
36289 mkdir stage2-binutils; \
36290 mv stage2-binutils binutils ; \
36291 mv stage1-binutils prev-binutils || test -f stage1-lean
36292 @endif binutils
36293 @if gas
36294 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
36295 mkdir stage2-gas; \
36296 mv stage2-gas gas ; \
36297 mv stage1-gas prev-gas || test -f stage1-lean
36298 @endif gas
36299 @if gcc
36300 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
36301 mkdir stage2-gcc; \
36302 mv stage2-gcc gcc ; \
36303 mv stage1-gcc prev-gcc || test -f stage1-lean
36304 @endif gcc
36305 @if intl
36306 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
36307 mkdir stage2-intl; \
36308 mv stage2-intl intl ; \
36309 mv stage1-intl prev-intl || test -f stage1-lean
36310 @endif intl
36311 @if ld
36312 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
36313 mkdir stage2-ld; \
36314 mv stage2-ld ld ; \
36315 mv stage1-ld prev-ld || test -f stage1-lean
36316 @endif ld
36317 @if libcpp
36318 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
36319 mkdir stage2-libcpp; \
36320 mv stage2-libcpp libcpp ; \
36321 mv stage1-libcpp prev-libcpp || test -f stage1-lean
36322 @endif libcpp
36323 @if libdecnumber
36324 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
36325 mkdir stage2-libdecnumber; \
36326 mv stage2-libdecnumber libdecnumber ; \
36327 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
36328 @endif libdecnumber
36329 @if libiberty
36330 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
36331 mkdir stage2-libiberty; \
36332 mv stage2-libiberty libiberty ; \
36333 mv stage1-libiberty prev-libiberty || test -f stage1-lean
36334 @endif libiberty
36335 @if zlib
36336 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36337 mkdir stage2-zlib; \
36338 mv stage2-zlib zlib ; \
36339 mv stage1-zlib prev-zlib || test -f stage1-lean
36340 @endif zlib
36341 @[ -d stage2-$(TARGET_SUBDIR) ] || \
36342 mkdir stage2-$(TARGET_SUBDIR); \
36343 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36344 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
36346 stage2-end::
36347 @if bfd
36348 @if test -d $(HOST_SUBDIR)/bfd ; then \
36349 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
36350 mv prev-bfd stage1-bfd ; : ; \
36352 @endif bfd
36353 @if opcodes
36354 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36355 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
36356 mv prev-opcodes stage1-opcodes ; : ; \
36358 @endif opcodes
36359 @if binutils
36360 @if test -d $(HOST_SUBDIR)/binutils ; then \
36361 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
36362 mv prev-binutils stage1-binutils ; : ; \
36364 @endif binutils
36365 @if gas
36366 @if test -d $(HOST_SUBDIR)/gas ; then \
36367 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
36368 mv prev-gas stage1-gas ; : ; \
36370 @endif gas
36371 @if gcc
36372 @if test -d $(HOST_SUBDIR)/gcc ; then \
36373 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
36374 mv prev-gcc stage1-gcc ; : ; \
36376 @endif gcc
36377 @if intl
36378 @if test -d $(HOST_SUBDIR)/intl ; then \
36379 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
36380 mv prev-intl stage1-intl ; : ; \
36382 @endif intl
36383 @if ld
36384 @if test -d $(HOST_SUBDIR)/ld ; then \
36385 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
36386 mv prev-ld stage1-ld ; : ; \
36388 @endif ld
36389 @if libcpp
36390 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36391 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
36392 mv prev-libcpp stage1-libcpp ; : ; \
36394 @endif libcpp
36395 @if libdecnumber
36396 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36397 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
36398 mv prev-libdecnumber stage1-libdecnumber ; : ; \
36400 @endif libdecnumber
36401 @if libiberty
36402 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36403 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
36404 mv prev-libiberty stage1-libiberty ; : ; \
36406 @endif libiberty
36407 @if zlib
36408 @if test -d $(HOST_SUBDIR)/zlib ; then \
36409 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
36410 mv prev-zlib stage1-zlib ; : ; \
36412 @endif zlib
36413 @if test -d $(TARGET_SUBDIR) ; then \
36414 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36415 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
36417 rm -f stage_current
36419 # Bubble a bugfix through all the stages up to stage 2. They are
36420 # remade, but not reconfigured. The next stage (if any) will not be
36421 # reconfigured as well.
36422 .PHONY: stage2-bubble
36423 stage2-bubble:: stage1-bubble
36424 @r=`${PWD_COMMAND}`; export r; \
36425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36426 if test -f stage2-lean || test -f stage1-lean ; then \
36427 echo Skipping rebuild of stage2 ; \
36428 else \
36429 $(MAKE) stage2-start; \
36430 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
36433 .PHONY: all-stage2 clean-stage2
36434 do-clean: clean-stage2
36436 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36437 # only possibility, but now it conflicts with no-bootstrap rules
36438 @if gcc-bootstrap
36442 .PHONY: bootstrap2 bootstrap2-lean
36443 bootstrap2:
36444 echo stage2 > stage_final
36445 @r=`${PWD_COMMAND}`; export r; \
36446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36447 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
36448 @: $(MAKE); $(unstage)
36449 @r=`${PWD_COMMAND}`; export r; \
36450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36451 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36453 bootstrap2-lean:
36454 echo stage2 > stage_final
36455 @r=`${PWD_COMMAND}`; export r; \
36456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36457 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
36458 @: $(MAKE); $(unstage)
36459 @r=`${PWD_COMMAND}`; export r; \
36460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36461 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36464 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36465 distclean-stage1:: distclean-stage2
36466 .PHONY: distclean-stage2
36467 distclean-stage2::
36468 @: $(MAKE); $(stage)
36469 rm -rf stage2-*
36472 @endif gcc-bootstrap
36475 .PHONY: stage3-start stage3-end
36477 stage3-start::
36478 @: $(MAKE); $(stage); \
36479 echo stage3 > stage_current ; \
36480 echo stage3 > stage_last; \
36481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36482 @if bfd
36483 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
36484 mkdir stage3-bfd; \
36485 mv stage3-bfd bfd ; \
36486 mv stage2-bfd prev-bfd || test -f stage2-lean
36487 @endif bfd
36488 @if opcodes
36489 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
36490 mkdir stage3-opcodes; \
36491 mv stage3-opcodes opcodes ; \
36492 mv stage2-opcodes prev-opcodes || test -f stage2-lean
36493 @endif opcodes
36494 @if binutils
36495 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
36496 mkdir stage3-binutils; \
36497 mv stage3-binutils binutils ; \
36498 mv stage2-binutils prev-binutils || test -f stage2-lean
36499 @endif binutils
36500 @if gas
36501 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
36502 mkdir stage3-gas; \
36503 mv stage3-gas gas ; \
36504 mv stage2-gas prev-gas || test -f stage2-lean
36505 @endif gas
36506 @if gcc
36507 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36508 mkdir stage3-gcc; \
36509 mv stage3-gcc gcc ; \
36510 mv stage2-gcc prev-gcc || test -f stage2-lean
36511 @endif gcc
36512 @if intl
36513 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36514 mkdir stage3-intl; \
36515 mv stage3-intl intl ; \
36516 mv stage2-intl prev-intl || test -f stage2-lean
36517 @endif intl
36518 @if ld
36519 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36520 mkdir stage3-ld; \
36521 mv stage3-ld ld ; \
36522 mv stage2-ld prev-ld || test -f stage2-lean
36523 @endif ld
36524 @if libcpp
36525 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36526 mkdir stage3-libcpp; \
36527 mv stage3-libcpp libcpp ; \
36528 mv stage2-libcpp prev-libcpp || test -f stage2-lean
36529 @endif libcpp
36530 @if libdecnumber
36531 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36532 mkdir stage3-libdecnumber; \
36533 mv stage3-libdecnumber libdecnumber ; \
36534 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
36535 @endif libdecnumber
36536 @if libiberty
36537 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36538 mkdir stage3-libiberty; \
36539 mv stage3-libiberty libiberty ; \
36540 mv stage2-libiberty prev-libiberty || test -f stage2-lean
36541 @endif libiberty
36542 @if zlib
36543 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36544 mkdir stage3-zlib; \
36545 mv stage3-zlib zlib ; \
36546 mv stage2-zlib prev-zlib || test -f stage2-lean
36547 @endif zlib
36548 @[ -d stage3-$(TARGET_SUBDIR) ] || \
36549 mkdir stage3-$(TARGET_SUBDIR); \
36550 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36551 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
36553 stage3-end::
36554 @if bfd
36555 @if test -d $(HOST_SUBDIR)/bfd ; then \
36556 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
36557 mv prev-bfd stage2-bfd ; : ; \
36559 @endif bfd
36560 @if opcodes
36561 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36562 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
36563 mv prev-opcodes stage2-opcodes ; : ; \
36565 @endif opcodes
36566 @if binutils
36567 @if test -d $(HOST_SUBDIR)/binutils ; then \
36568 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
36569 mv prev-binutils stage2-binutils ; : ; \
36571 @endif binutils
36572 @if gas
36573 @if test -d $(HOST_SUBDIR)/gas ; then \
36574 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
36575 mv prev-gas stage2-gas ; : ; \
36577 @endif gas
36578 @if gcc
36579 @if test -d $(HOST_SUBDIR)/gcc ; then \
36580 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
36581 mv prev-gcc stage2-gcc ; : ; \
36583 @endif gcc
36584 @if intl
36585 @if test -d $(HOST_SUBDIR)/intl ; then \
36586 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
36587 mv prev-intl stage2-intl ; : ; \
36589 @endif intl
36590 @if ld
36591 @if test -d $(HOST_SUBDIR)/ld ; then \
36592 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
36593 mv prev-ld stage2-ld ; : ; \
36595 @endif ld
36596 @if libcpp
36597 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36598 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
36599 mv prev-libcpp stage2-libcpp ; : ; \
36601 @endif libcpp
36602 @if libdecnumber
36603 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36604 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
36605 mv prev-libdecnumber stage2-libdecnumber ; : ; \
36607 @endif libdecnumber
36608 @if libiberty
36609 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36610 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
36611 mv prev-libiberty stage2-libiberty ; : ; \
36613 @endif libiberty
36614 @if zlib
36615 @if test -d $(HOST_SUBDIR)/zlib ; then \
36616 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
36617 mv prev-zlib stage2-zlib ; : ; \
36619 @endif zlib
36620 @if test -d $(TARGET_SUBDIR) ; then \
36621 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
36622 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
36624 rm -f stage_current
36626 # Bubble a bugfix through all the stages up to stage 3. They are
36627 # remade, but not reconfigured. The next stage (if any) will not be
36628 # reconfigured as well.
36629 .PHONY: stage3-bubble
36630 stage3-bubble:: stage2-bubble
36631 @r=`${PWD_COMMAND}`; export r; \
36632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36633 if test -f stage3-lean || test -f stage2-lean ; then \
36634 echo Skipping rebuild of stage3 ; \
36635 else \
36636 $(MAKE) stage3-start; \
36637 if $(LEAN); then \
36638 rm -rf stage1-* ; \
36639 $(STAMP) stage1-lean ; \
36640 fi; \
36641 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
36643 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
36645 .PHONY: all-stage3 clean-stage3
36646 do-clean: clean-stage3
36648 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36649 # only possibility, but now it conflicts with no-bootstrap rules
36650 @if gcc-bootstrap
36652 compare:
36653 @r=`${PWD_COMMAND}`; export r; \
36654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36655 if test -f stage2-lean; then \
36656 echo Cannot compare object files as stage 2 was deleted. ; \
36657 exit 0 ; \
36658 fi; \
36659 : $(MAKE); $(stage); \
36660 rm -f .bad_compare ; \
36661 cd stage3-gcc; \
36662 files=`find . -name "*$(objext)" -print` ; \
36663 cd .. ; \
36664 for file in $${files} ; do \
36665 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
36666 @do_compare@ > /dev/null 2>&1; \
36667 if test $$? -eq 1; then \
36668 case $$file in \
36669 ./cc*-checksum$(objext) | ./libgcc/* ) \
36670 echo warning: $$file differs ;; \
36671 *) \
36672 echo $$file differs >> .bad_compare ;; \
36673 esac ; \
36674 fi ; \
36675 done ; \
36676 if [ -f .bad_compare ]; then \
36677 echo "Bootstrap comparison failure!"; \
36678 cat .bad_compare; \
36679 exit 1; \
36680 else \
36681 true; \
36682 fi ; \
36683 $(STAMP) compare
36684 if $(LEAN); then \
36685 rm -rf stage2-*; \
36686 $(STAMP) stage2-lean; \
36691 .PHONY: bootstrap bootstrap-lean
36692 bootstrap:
36693 echo stage3 > stage_final
36694 @r=`${PWD_COMMAND}`; export r; \
36695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36696 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
36697 @: $(MAKE); $(unstage)
36698 @r=`${PWD_COMMAND}`; export r; \
36699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36700 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36702 bootstrap-lean:
36703 echo stage3 > stage_final
36704 @r=`${PWD_COMMAND}`; export r; \
36705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36706 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
36707 @: $(MAKE); $(unstage)
36708 @r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36713 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36714 distclean-stage2:: distclean-stage3
36715 .PHONY: distclean-stage3
36716 distclean-stage3::
36717 @: $(MAKE); $(stage)
36718 rm -rf stage3-* compare
36721 .PHONY: cleanstrap
36722 cleanstrap: distclean bootstrap
36724 @endif gcc-bootstrap
36727 .PHONY: stage4-start stage4-end
36729 stage4-start::
36730 @: $(MAKE); $(stage); \
36731 echo stage4 > stage_current ; \
36732 echo stage4 > stage_last; \
36733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36734 @if bfd
36735 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
36736 mkdir stage4-bfd; \
36737 mv stage4-bfd bfd ; \
36738 mv stage3-bfd prev-bfd || test -f stage3-lean
36739 @endif bfd
36740 @if opcodes
36741 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
36742 mkdir stage4-opcodes; \
36743 mv stage4-opcodes opcodes ; \
36744 mv stage3-opcodes prev-opcodes || test -f stage3-lean
36745 @endif opcodes
36746 @if binutils
36747 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
36748 mkdir stage4-binutils; \
36749 mv stage4-binutils binutils ; \
36750 mv stage3-binutils prev-binutils || test -f stage3-lean
36751 @endif binutils
36752 @if gas
36753 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
36754 mkdir stage4-gas; \
36755 mv stage4-gas gas ; \
36756 mv stage3-gas prev-gas || test -f stage3-lean
36757 @endif gas
36758 @if gcc
36759 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
36760 mkdir stage4-gcc; \
36761 mv stage4-gcc gcc ; \
36762 mv stage3-gcc prev-gcc || test -f stage3-lean
36763 @endif gcc
36764 @if intl
36765 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
36766 mkdir stage4-intl; \
36767 mv stage4-intl intl ; \
36768 mv stage3-intl prev-intl || test -f stage3-lean
36769 @endif intl
36770 @if ld
36771 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
36772 mkdir stage4-ld; \
36773 mv stage4-ld ld ; \
36774 mv stage3-ld prev-ld || test -f stage3-lean
36775 @endif ld
36776 @if libcpp
36777 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
36778 mkdir stage4-libcpp; \
36779 mv stage4-libcpp libcpp ; \
36780 mv stage3-libcpp prev-libcpp || test -f stage3-lean
36781 @endif libcpp
36782 @if libdecnumber
36783 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
36784 mkdir stage4-libdecnumber; \
36785 mv stage4-libdecnumber libdecnumber ; \
36786 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
36787 @endif libdecnumber
36788 @if libiberty
36789 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
36790 mkdir stage4-libiberty; \
36791 mv stage4-libiberty libiberty ; \
36792 mv stage3-libiberty prev-libiberty || test -f stage3-lean
36793 @endif libiberty
36794 @if zlib
36795 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
36796 mkdir stage4-zlib; \
36797 mv stage4-zlib zlib ; \
36798 mv stage3-zlib prev-zlib || test -f stage3-lean
36799 @endif zlib
36800 @[ -d stage4-$(TARGET_SUBDIR) ] || \
36801 mkdir stage4-$(TARGET_SUBDIR); \
36802 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36803 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
36805 stage4-end::
36806 @if bfd
36807 @if test -d $(HOST_SUBDIR)/bfd ; then \
36808 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
36809 mv prev-bfd stage3-bfd ; : ; \
36811 @endif bfd
36812 @if opcodes
36813 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36814 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
36815 mv prev-opcodes stage3-opcodes ; : ; \
36817 @endif opcodes
36818 @if binutils
36819 @if test -d $(HOST_SUBDIR)/binutils ; then \
36820 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
36821 mv prev-binutils stage3-binutils ; : ; \
36823 @endif binutils
36824 @if gas
36825 @if test -d $(HOST_SUBDIR)/gas ; then \
36826 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
36827 mv prev-gas stage3-gas ; : ; \
36829 @endif gas
36830 @if gcc
36831 @if test -d $(HOST_SUBDIR)/gcc ; then \
36832 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
36833 mv prev-gcc stage3-gcc ; : ; \
36835 @endif gcc
36836 @if intl
36837 @if test -d $(HOST_SUBDIR)/intl ; then \
36838 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
36839 mv prev-intl stage3-intl ; : ; \
36841 @endif intl
36842 @if ld
36843 @if test -d $(HOST_SUBDIR)/ld ; then \
36844 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
36845 mv prev-ld stage3-ld ; : ; \
36847 @endif ld
36848 @if libcpp
36849 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36850 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
36851 mv prev-libcpp stage3-libcpp ; : ; \
36853 @endif libcpp
36854 @if libdecnumber
36855 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36856 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
36857 mv prev-libdecnumber stage3-libdecnumber ; : ; \
36859 @endif libdecnumber
36860 @if libiberty
36861 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36862 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
36863 mv prev-libiberty stage3-libiberty ; : ; \
36865 @endif libiberty
36866 @if zlib
36867 @if test -d $(HOST_SUBDIR)/zlib ; then \
36868 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
36869 mv prev-zlib stage3-zlib ; : ; \
36871 @endif zlib
36872 @if test -d $(TARGET_SUBDIR) ; then \
36873 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
36874 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
36876 rm -f stage_current
36878 # Bubble a bugfix through all the stages up to stage 4. They are
36879 # remade, but not reconfigured. The next stage (if any) will not be
36880 # reconfigured as well.
36881 .PHONY: stage4-bubble
36882 stage4-bubble:: stage3-bubble
36883 @r=`${PWD_COMMAND}`; export r; \
36884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36885 if test -f stage4-lean || test -f stage3-lean ; then \
36886 echo Skipping rebuild of stage4 ; \
36887 else \
36888 $(MAKE) stage4-start; \
36889 if $(LEAN); then \
36890 rm -rf stage2-* ; \
36891 $(STAMP) stage2-lean ; \
36892 fi; \
36893 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
36895 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
36897 .PHONY: all-stage4 clean-stage4
36898 do-clean: clean-stage4
36900 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36901 # only possibility, but now it conflicts with no-bootstrap rules
36902 @if gcc-bootstrap
36904 compare3:
36905 @r=`${PWD_COMMAND}`; export r; \
36906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36907 if test -f stage3-lean; then \
36908 echo Cannot compare object files as stage 3 was deleted. ; \
36909 exit 0 ; \
36910 fi; \
36911 : $(MAKE); $(stage); \
36912 rm -f .bad_compare ; \
36913 cd stage4-gcc; \
36914 files=`find . -name "*$(objext)" -print` ; \
36915 cd .. ; \
36916 for file in $${files} ; do \
36917 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
36918 @do_compare@ > /dev/null 2>&1; \
36919 if test $$? -eq 1; then \
36920 case $$file in \
36921 ./cc*-checksum$(objext) | ./libgcc/* ) \
36922 echo warning: $$file differs ;; \
36923 *) \
36924 echo $$file differs >> .bad_compare ;; \
36925 esac ; \
36926 fi ; \
36927 done ; \
36928 if [ -f .bad_compare ]; then \
36929 echo "Bootstrap comparison failure!"; \
36930 cat .bad_compare; \
36931 exit 1; \
36932 else \
36933 true; \
36934 fi ; \
36935 $(STAMP) compare3
36936 if $(LEAN); then \
36937 rm -rf stage3-*; \
36938 $(STAMP) stage3-lean; \
36943 .PHONY: bootstrap4 bootstrap4-lean
36944 bootstrap4:
36945 echo stage4 > stage_final
36946 @r=`${PWD_COMMAND}`; export r; \
36947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36948 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
36949 @: $(MAKE); $(unstage)
36950 @r=`${PWD_COMMAND}`; export r; \
36951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36952 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36954 bootstrap4-lean:
36955 echo stage4 > stage_final
36956 @r=`${PWD_COMMAND}`; export r; \
36957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
36959 @: $(MAKE); $(unstage)
36960 @r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
36965 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36966 distclean-stage3:: distclean-stage4
36967 .PHONY: distclean-stage4
36968 distclean-stage4::
36969 @: $(MAKE); $(stage)
36970 rm -rf stage4-* compare3
36973 @endif gcc-bootstrap
36976 .PHONY: stageprofile-start stageprofile-end
36978 stageprofile-start::
36979 @: $(MAKE); $(stage); \
36980 echo stageprofile > stage_current ; \
36981 echo stageprofile > stage_last; \
36982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36983 @if bfd
36984 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
36985 mkdir stageprofile-bfd; \
36986 mv stageprofile-bfd bfd ; \
36987 mv stage1-bfd prev-bfd || test -f stage1-lean
36988 @endif bfd
36989 @if opcodes
36990 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
36991 mkdir stageprofile-opcodes; \
36992 mv stageprofile-opcodes opcodes ; \
36993 mv stage1-opcodes prev-opcodes || test -f stage1-lean
36994 @endif opcodes
36995 @if binutils
36996 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
36997 mkdir stageprofile-binutils; \
36998 mv stageprofile-binutils binutils ; \
36999 mv stage1-binutils prev-binutils || test -f stage1-lean
37000 @endif binutils
37001 @if gas
37002 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
37003 mkdir stageprofile-gas; \
37004 mv stageprofile-gas gas ; \
37005 mv stage1-gas prev-gas || test -f stage1-lean
37006 @endif gas
37007 @if gcc
37008 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
37009 mkdir stageprofile-gcc; \
37010 mv stageprofile-gcc gcc ; \
37011 mv stage1-gcc prev-gcc || test -f stage1-lean
37012 @endif gcc
37013 @if intl
37014 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
37015 mkdir stageprofile-intl; \
37016 mv stageprofile-intl intl ; \
37017 mv stage1-intl prev-intl || test -f stage1-lean
37018 @endif intl
37019 @if ld
37020 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
37021 mkdir stageprofile-ld; \
37022 mv stageprofile-ld ld ; \
37023 mv stage1-ld prev-ld || test -f stage1-lean
37024 @endif ld
37025 @if libcpp
37026 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
37027 mkdir stageprofile-libcpp; \
37028 mv stageprofile-libcpp libcpp ; \
37029 mv stage1-libcpp prev-libcpp || test -f stage1-lean
37030 @endif libcpp
37031 @if libdecnumber
37032 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
37033 mkdir stageprofile-libdecnumber; \
37034 mv stageprofile-libdecnumber libdecnumber ; \
37035 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
37036 @endif libdecnumber
37037 @if libiberty
37038 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
37039 mkdir stageprofile-libiberty; \
37040 mv stageprofile-libiberty libiberty ; \
37041 mv stage1-libiberty prev-libiberty || test -f stage1-lean
37042 @endif libiberty
37043 @if zlib
37044 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
37045 mkdir stageprofile-zlib; \
37046 mv stageprofile-zlib zlib ; \
37047 mv stage1-zlib prev-zlib || test -f stage1-lean
37048 @endif zlib
37049 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
37050 mkdir stageprofile-$(TARGET_SUBDIR); \
37051 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37052 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
37054 stageprofile-end::
37055 @if bfd
37056 @if test -d $(HOST_SUBDIR)/bfd ; then \
37057 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
37058 mv prev-bfd stage1-bfd ; : ; \
37060 @endif bfd
37061 @if opcodes
37062 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37063 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
37064 mv prev-opcodes stage1-opcodes ; : ; \
37066 @endif opcodes
37067 @if binutils
37068 @if test -d $(HOST_SUBDIR)/binutils ; then \
37069 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
37070 mv prev-binutils stage1-binutils ; : ; \
37072 @endif binutils
37073 @if gas
37074 @if test -d $(HOST_SUBDIR)/gas ; then \
37075 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
37076 mv prev-gas stage1-gas ; : ; \
37078 @endif gas
37079 @if gcc
37080 @if test -d $(HOST_SUBDIR)/gcc ; then \
37081 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
37082 mv prev-gcc stage1-gcc ; : ; \
37084 @endif gcc
37085 @if intl
37086 @if test -d $(HOST_SUBDIR)/intl ; then \
37087 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
37088 mv prev-intl stage1-intl ; : ; \
37090 @endif intl
37091 @if ld
37092 @if test -d $(HOST_SUBDIR)/ld ; then \
37093 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
37094 mv prev-ld stage1-ld ; : ; \
37096 @endif ld
37097 @if libcpp
37098 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37099 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
37100 mv prev-libcpp stage1-libcpp ; : ; \
37102 @endif libcpp
37103 @if libdecnumber
37104 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37105 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
37106 mv prev-libdecnumber stage1-libdecnumber ; : ; \
37108 @endif libdecnumber
37109 @if libiberty
37110 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37111 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
37112 mv prev-libiberty stage1-libiberty ; : ; \
37114 @endif libiberty
37115 @if zlib
37116 @if test -d $(HOST_SUBDIR)/zlib ; then \
37117 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
37118 mv prev-zlib stage1-zlib ; : ; \
37120 @endif zlib
37121 @if test -d $(TARGET_SUBDIR) ; then \
37122 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
37123 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
37125 rm -f stage_current
37127 # Bubble a bugfix through all the stages up to stage profile. They are
37128 # remade, but not reconfigured. The next stage (if any) will not be
37129 # reconfigured as well.
37130 .PHONY: stageprofile-bubble
37131 stageprofile-bubble:: stage1-bubble
37132 @r=`${PWD_COMMAND}`; export r; \
37133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37134 if test -f stageprofile-lean || test -f stage1-lean ; then \
37135 echo Skipping rebuild of stageprofile ; \
37136 else \
37137 $(MAKE) stageprofile-start; \
37138 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
37141 .PHONY: all-stageprofile clean-stageprofile
37142 do-clean: clean-stageprofile
37144 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37145 # only possibility, but now it conflicts with no-bootstrap rules
37146 @if gcc-bootstrap
37151 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37152 distclean-stage1:: distclean-stageprofile
37153 .PHONY: distclean-stageprofile
37154 distclean-stageprofile::
37155 @: $(MAKE); $(stage)
37156 rm -rf stageprofile-*
37159 @endif gcc-bootstrap
37162 .PHONY: stagefeedback-start stagefeedback-end
37164 stagefeedback-start::
37165 @: $(MAKE); $(stage); \
37166 echo stagefeedback > stage_current ; \
37167 echo stagefeedback > stage_last; \
37168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37169 @if bfd
37170 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
37171 mkdir stagefeedback-bfd; \
37172 mv stagefeedback-bfd bfd ; \
37173 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
37174 @endif bfd
37175 @if opcodes
37176 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
37177 mkdir stagefeedback-opcodes; \
37178 mv stagefeedback-opcodes opcodes ; \
37179 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
37180 @endif opcodes
37181 @if binutils
37182 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
37183 mkdir stagefeedback-binutils; \
37184 mv stagefeedback-binutils binutils ; \
37185 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
37186 @endif binutils
37187 @if gas
37188 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
37189 mkdir stagefeedback-gas; \
37190 mv stagefeedback-gas gas ; \
37191 mv stageprofile-gas prev-gas || test -f stageprofile-lean
37192 @endif gas
37193 @if gcc
37194 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
37195 mkdir stagefeedback-gcc; \
37196 mv stagefeedback-gcc gcc ; \
37197 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
37198 @endif gcc
37199 @if intl
37200 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
37201 mkdir stagefeedback-intl; \
37202 mv stagefeedback-intl intl ; \
37203 mv stageprofile-intl prev-intl || test -f stageprofile-lean
37204 @endif intl
37205 @if ld
37206 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
37207 mkdir stagefeedback-ld; \
37208 mv stagefeedback-ld ld ; \
37209 mv stageprofile-ld prev-ld || test -f stageprofile-lean
37210 @endif ld
37211 @if libcpp
37212 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
37213 mkdir stagefeedback-libcpp; \
37214 mv stagefeedback-libcpp libcpp ; \
37215 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
37216 @endif libcpp
37217 @if libdecnumber
37218 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
37219 mkdir stagefeedback-libdecnumber; \
37220 mv stagefeedback-libdecnumber libdecnumber ; \
37221 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
37222 @endif libdecnumber
37223 @if libiberty
37224 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
37225 mkdir stagefeedback-libiberty; \
37226 mv stagefeedback-libiberty libiberty ; \
37227 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
37228 @endif libiberty
37229 @if zlib
37230 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
37231 mkdir stagefeedback-zlib; \
37232 mv stagefeedback-zlib zlib ; \
37233 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
37234 @endif zlib
37235 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
37236 mkdir stagefeedback-$(TARGET_SUBDIR); \
37237 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37238 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
37240 stagefeedback-end::
37241 @if bfd
37242 @if test -d $(HOST_SUBDIR)/bfd ; then \
37243 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
37244 mv prev-bfd stageprofile-bfd ; : ; \
37246 @endif bfd
37247 @if opcodes
37248 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37249 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
37250 mv prev-opcodes stageprofile-opcodes ; : ; \
37252 @endif opcodes
37253 @if binutils
37254 @if test -d $(HOST_SUBDIR)/binutils ; then \
37255 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
37256 mv prev-binutils stageprofile-binutils ; : ; \
37258 @endif binutils
37259 @if gas
37260 @if test -d $(HOST_SUBDIR)/gas ; then \
37261 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
37262 mv prev-gas stageprofile-gas ; : ; \
37264 @endif gas
37265 @if gcc
37266 @if test -d $(HOST_SUBDIR)/gcc ; then \
37267 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
37268 mv prev-gcc stageprofile-gcc ; : ; \
37270 @endif gcc
37271 @if intl
37272 @if test -d $(HOST_SUBDIR)/intl ; then \
37273 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
37274 mv prev-intl stageprofile-intl ; : ; \
37276 @endif intl
37277 @if ld
37278 @if test -d $(HOST_SUBDIR)/ld ; then \
37279 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
37280 mv prev-ld stageprofile-ld ; : ; \
37282 @endif ld
37283 @if libcpp
37284 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37285 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
37286 mv prev-libcpp stageprofile-libcpp ; : ; \
37288 @endif libcpp
37289 @if libdecnumber
37290 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37291 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
37292 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
37294 @endif libdecnumber
37295 @if libiberty
37296 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37297 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
37298 mv prev-libiberty stageprofile-libiberty ; : ; \
37300 @endif libiberty
37301 @if zlib
37302 @if test -d $(HOST_SUBDIR)/zlib ; then \
37303 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
37304 mv prev-zlib stageprofile-zlib ; : ; \
37306 @endif zlib
37307 @if test -d $(TARGET_SUBDIR) ; then \
37308 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
37309 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
37311 rm -f stage_current
37313 # Bubble a bugfix through all the stages up to stage feedback. They are
37314 # remade, but not reconfigured. The next stage (if any) will not be
37315 # reconfigured as well.
37316 .PHONY: stagefeedback-bubble
37317 stagefeedback-bubble:: stageprofile-bubble
37318 @r=`${PWD_COMMAND}`; export r; \
37319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37320 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37321 echo Skipping rebuild of stagefeedback ; \
37322 else \
37323 $(MAKE) stagefeedback-start; \
37324 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37327 .PHONY: all-stagefeedback clean-stagefeedback
37328 do-clean: clean-stagefeedback
37330 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37331 # only possibility, but now it conflicts with no-bootstrap rules
37332 @if gcc-bootstrap
37336 .PHONY: profiledbootstrap profiledbootstrap-lean
37337 profiledbootstrap:
37338 echo stagefeedback > stage_final
37339 @r=`${PWD_COMMAND}`; export r; \
37340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37341 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
37342 @: $(MAKE); $(unstage)
37343 @r=`${PWD_COMMAND}`; export r; \
37344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37345 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37347 profiledbootstrap-lean:
37348 echo stagefeedback > stage_final
37349 @r=`${PWD_COMMAND}`; export r; \
37350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37351 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
37352 @: $(MAKE); $(unstage)
37353 @r=`${PWD_COMMAND}`; export r; \
37354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37355 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37358 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37359 distclean-stageprofile:: distclean-stagefeedback
37360 .PHONY: distclean-stagefeedback
37361 distclean-stagefeedback::
37362 @: $(MAKE); $(stage)
37363 rm -rf stagefeedback-*
37366 @endif gcc-bootstrap
37370 stageprofile-end::
37371 $(MAKE) distclean-stagefeedback
37373 stagefeedback-start::
37374 @r=`${PWD_COMMAND}`; export r; \
37375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37376 for i in prev-*; do \
37377 j=`echo $$i | sed s/^prev-//` ; \
37378 cd $$r/$$i && \
37379 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37380 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37381 done
37383 @if gcc-bootstrap
37384 do-distclean: distclean-stage1
37385 @endif gcc-bootstrap
37387 # --------------------------------------
37388 # Dependencies between different modules
37389 # --------------------------------------
37391 # Generic dependencies for target modules on host stuff, especially gcc
37393 configure-target-libstdc++-v3: maybe-all-gcc
37395 configure-target-libmudflap: maybe-all-gcc
37397 configure-target-libssp: maybe-all-gcc
37399 configure-target-newlib: maybe-all-gcc
37401 configure-target-libgfortran: maybe-all-gcc
37403 configure-target-libobjc: maybe-all-gcc
37405 configure-target-libtermcap: maybe-all-gcc
37407 configure-target-winsup: maybe-all-gcc
37409 configure-target-libgloss: maybe-all-gcc
37411 configure-target-libiberty: maybe-all-gcc
37413 configure-target-gperf: maybe-all-gcc
37415 configure-target-examples: maybe-all-gcc
37417 configure-target-libffi: maybe-all-gcc
37419 configure-target-libjava: maybe-all-gcc
37421 configure-target-zlib: maybe-all-gcc
37423 configure-target-boehm-gc: maybe-all-gcc
37425 configure-target-qthreads: maybe-all-gcc
37427 configure-target-rda: maybe-all-gcc
37429 configure-target-libada: maybe-all-gcc
37431 configure-target-libgomp: maybe-all-gcc
37435 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
37437 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
37438 configure-target-gperf: maybe-all-target-libstdc++-v3
37440 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
37442 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
37444 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
37446 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
37447 configure-target-libjava: maybe-all-target-libstdc++-v3
37449 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
37451 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
37453 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
37455 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
37457 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
37459 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
37461 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
37463 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
37465 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
37467 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
37470 # There are two types of dependencies here: 'hard' dependencies, where one
37471 # module simply won't build without the other; and 'soft' dependencies, where
37472 # if the depended-on module is missing, the depending module will do without
37473 # or find a substitute somewhere (perhaps installed). Soft dependencies
37474 # are made here to depend on a 'maybe-' target. If you're not sure,
37475 # it's safer to use a soft dependency.
37482 # With all the machinery above in place, it is pretty easy to generate
37483 # dependencies. Host dependencies are a bit more complex because we have
37484 # to check for bootstrap/prebootstrap dependencies. To resolve
37485 # prebootstrap dependencies, prebootstrap modules are gathered in
37486 # a hash table.
37487 all-build-bison: maybe-all-build-texinfo
37488 all-build-byacc: maybe-all-build-texinfo
37489 all-build-flex: maybe-all-build-texinfo
37490 all-build-flex: maybe-all-build-bison
37491 all-build-flex: maybe-all-build-byacc
37492 all-build-flex: maybe-all-build-m4
37493 all-build-libiberty: maybe-all-build-texinfo
37494 all-build-m4: maybe-all-build-texinfo
37495 all-build-fixincludes: maybe-all-build-libiberty
37496 configure-gcc: maybe-configure-intl
37498 configure-stage1-gcc: maybe-configure-stage1-intl
37499 configure-stage2-gcc: maybe-configure-stage2-intl
37500 configure-stage3-gcc: maybe-configure-stage3-intl
37501 configure-stage4-gcc: maybe-configure-stage4-intl
37502 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37503 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37504 configure-gcc: maybe-all-binutils
37506 configure-stage1-gcc: maybe-all-stage1-binutils
37507 configure-stage2-gcc: maybe-all-stage2-binutils
37508 configure-stage3-gcc: maybe-all-stage3-binutils
37509 configure-stage4-gcc: maybe-all-stage4-binutils
37510 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37511 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37512 configure-gcc: maybe-all-gas
37514 configure-stage1-gcc: maybe-all-stage1-gas
37515 configure-stage2-gcc: maybe-all-stage2-gas
37516 configure-stage3-gcc: maybe-all-stage3-gas
37517 configure-stage4-gcc: maybe-all-stage4-gas
37518 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37519 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37520 configure-gcc: maybe-all-ld
37522 configure-stage1-gcc: maybe-all-stage1-ld
37523 configure-stage2-gcc: maybe-all-stage2-ld
37524 configure-stage3-gcc: maybe-all-stage3-ld
37525 configure-stage4-gcc: maybe-all-stage4-ld
37526 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37527 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37528 all-gcc: all-libiberty
37530 all-stage1-gcc: all-stage1-libiberty
37531 all-stage2-gcc: all-stage2-libiberty
37532 all-stage3-gcc: all-stage3-libiberty
37533 all-stage4-gcc: all-stage4-libiberty
37534 all-stageprofile-gcc: all-stageprofile-libiberty
37535 all-stagefeedback-gcc: all-stagefeedback-libiberty
37536 all-gcc: maybe-all-intl
37538 all-stage1-gcc: maybe-all-stage1-intl
37539 all-stage2-gcc: maybe-all-stage2-intl
37540 all-stage3-gcc: maybe-all-stage3-intl
37541 all-stage4-gcc: maybe-all-stage4-intl
37542 all-stageprofile-gcc: maybe-all-stageprofile-intl
37543 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37544 all-gcc: maybe-all-build-texinfo
37546 all-stage1-gcc: maybe-all-build-texinfo
37547 all-stage2-gcc: maybe-all-build-texinfo
37548 all-stage3-gcc: maybe-all-build-texinfo
37549 all-stage4-gcc: maybe-all-build-texinfo
37550 all-stageprofile-gcc: maybe-all-build-texinfo
37551 all-stagefeedback-gcc: maybe-all-build-texinfo
37552 all-prebootstrap: maybe-all-build-texinfo
37553 all-gcc: maybe-all-build-bison
37555 all-stage1-gcc: maybe-all-build-bison
37556 all-stage2-gcc: maybe-all-build-bison
37557 all-stage3-gcc: maybe-all-build-bison
37558 all-stage4-gcc: maybe-all-build-bison
37559 all-stageprofile-gcc: maybe-all-build-bison
37560 all-stagefeedback-gcc: maybe-all-build-bison
37561 all-prebootstrap: maybe-all-build-bison
37562 all-gcc: maybe-all-build-byacc
37564 all-stage1-gcc: maybe-all-build-byacc
37565 all-stage2-gcc: maybe-all-build-byacc
37566 all-stage3-gcc: maybe-all-build-byacc
37567 all-stage4-gcc: maybe-all-build-byacc
37568 all-stageprofile-gcc: maybe-all-build-byacc
37569 all-stagefeedback-gcc: maybe-all-build-byacc
37570 all-prebootstrap: maybe-all-build-byacc
37571 all-gcc: maybe-all-build-flex
37573 all-stage1-gcc: maybe-all-build-flex
37574 all-stage2-gcc: maybe-all-build-flex
37575 all-stage3-gcc: maybe-all-build-flex
37576 all-stage4-gcc: maybe-all-build-flex
37577 all-stageprofile-gcc: maybe-all-build-flex
37578 all-stagefeedback-gcc: maybe-all-build-flex
37579 all-prebootstrap: maybe-all-build-flex
37580 all-gcc: maybe-all-build-libiberty
37582 all-stage1-gcc: maybe-all-build-libiberty
37583 all-stage2-gcc: maybe-all-build-libiberty
37584 all-stage3-gcc: maybe-all-build-libiberty
37585 all-stage4-gcc: maybe-all-build-libiberty
37586 all-stageprofile-gcc: maybe-all-build-libiberty
37587 all-stagefeedback-gcc: maybe-all-build-libiberty
37588 all-prebootstrap: maybe-all-build-libiberty
37589 all-gcc: maybe-all-build-fixincludes
37591 all-stage1-gcc: maybe-all-build-fixincludes
37592 all-stage2-gcc: maybe-all-build-fixincludes
37593 all-stage3-gcc: maybe-all-build-fixincludes
37594 all-stage4-gcc: maybe-all-build-fixincludes
37595 all-stageprofile-gcc: maybe-all-build-fixincludes
37596 all-stagefeedback-gcc: maybe-all-build-fixincludes
37597 all-prebootstrap: maybe-all-build-fixincludes
37598 all-gcc: maybe-all-zlib
37600 all-stage1-gcc: maybe-all-stage1-zlib
37601 all-stage2-gcc: maybe-all-stage2-zlib
37602 all-stage3-gcc: maybe-all-stage3-zlib
37603 all-stage4-gcc: maybe-all-stage4-zlib
37604 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37605 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37606 all-gcc: all-libcpp
37608 all-stage1-gcc: all-stage1-libcpp
37609 all-stage2-gcc: all-stage2-libcpp
37610 all-stage3-gcc: all-stage3-libcpp
37611 all-stage4-gcc: all-stage4-libcpp
37612 all-stageprofile-gcc: all-stageprofile-libcpp
37613 all-stagefeedback-gcc: all-stagefeedback-libcpp
37614 all-gcc: all-libdecnumber
37616 all-stage1-gcc: all-stage1-libdecnumber
37617 all-stage2-gcc: all-stage2-libdecnumber
37618 all-stage3-gcc: all-stage3-libdecnumber
37619 all-stage4-gcc: all-stage4-libdecnumber
37620 all-stageprofile-gcc: all-stageprofile-libdecnumber
37621 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37622 all-gcc: maybe-all-libiberty
37624 all-stage1-gcc: maybe-all-stage1-libiberty
37625 all-stage2-gcc: maybe-all-stage2-libiberty
37626 all-stage3-gcc: maybe-all-stage3-libiberty
37627 all-stage4-gcc: maybe-all-stage4-libiberty
37628 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
37629 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
37630 all-gcc: maybe-all-fixincludes
37631 install-gcc: maybe-install-fixincludes
37632 configure-libcpp: configure-libiberty
37634 configure-stage1-libcpp: configure-stage1-libiberty
37635 configure-stage2-libcpp: configure-stage2-libiberty
37636 configure-stage3-libcpp: configure-stage3-libiberty
37637 configure-stage4-libcpp: configure-stage4-libiberty
37638 configure-stageprofile-libcpp: configure-stageprofile-libiberty
37639 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
37640 configure-libcpp: maybe-configure-intl
37642 configure-stage1-libcpp: maybe-configure-stage1-intl
37643 configure-stage2-libcpp: maybe-configure-stage2-intl
37644 configure-stage3-libcpp: maybe-configure-stage3-intl
37645 configure-stage4-libcpp: maybe-configure-stage4-intl
37646 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
37647 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
37648 all-libcpp: all-libiberty
37650 all-stage1-libcpp: all-stage1-libiberty
37651 all-stage2-libcpp: all-stage2-libiberty
37652 all-stage3-libcpp: all-stage3-libiberty
37653 all-stage4-libcpp: all-stage4-libiberty
37654 all-stageprofile-libcpp: all-stageprofile-libiberty
37655 all-stagefeedback-libcpp: all-stagefeedback-libiberty
37656 all-libcpp: maybe-all-intl
37658 all-stage1-libcpp: maybe-all-stage1-intl
37659 all-stage2-libcpp: maybe-all-stage2-intl
37660 all-stage3-libcpp: maybe-all-stage3-intl
37661 all-stage4-libcpp: maybe-all-stage4-intl
37662 all-stageprofile-libcpp: maybe-all-stageprofile-intl
37663 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
37664 all-fixincludes: maybe-all-libiberty
37665 all-gnattools: maybe-all-target-libada
37666 configure-gdb: maybe-configure-sim
37667 all-gdb: maybe-all-libiberty
37668 all-gdb: maybe-all-opcodes
37669 all-gdb: maybe-all-bfd
37670 all-gdb: maybe-all-readline
37671 all-gdb: maybe-all-build-bison
37672 all-gdb: maybe-all-build-byacc
37673 all-gdb: maybe-all-sim
37674 configure-libgui: maybe-configure-tcl
37675 configure-libgui: maybe-configure-tk
37676 all-libgui: maybe-all-tcl
37677 all-libgui: maybe-all-tk
37678 all-libgui: maybe-all-itcl
37679 configure-bfd: configure-libiberty
37681 configure-stage1-bfd: configure-stage1-libiberty
37682 configure-stage2-bfd: configure-stage2-libiberty
37683 configure-stage3-bfd: configure-stage3-libiberty
37684 configure-stage4-bfd: configure-stage4-libiberty
37685 configure-stageprofile-bfd: configure-stageprofile-libiberty
37686 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
37687 all-bfd: maybe-all-libiberty
37689 all-stage1-bfd: maybe-all-stage1-libiberty
37690 all-stage2-bfd: maybe-all-stage2-libiberty
37691 all-stage3-bfd: maybe-all-stage3-libiberty
37692 all-stage4-bfd: maybe-all-stage4-libiberty
37693 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
37694 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
37695 all-bfd: maybe-all-intl
37697 all-stage1-bfd: maybe-all-stage1-intl
37698 all-stage2-bfd: maybe-all-stage2-intl
37699 all-stage3-bfd: maybe-all-stage3-intl
37700 all-stage4-bfd: maybe-all-stage4-intl
37701 all-stageprofile-bfd: maybe-all-stageprofile-intl
37702 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
37703 all-binutils: maybe-all-libiberty
37705 all-stage1-binutils: maybe-all-stage1-libiberty
37706 all-stage2-binutils: maybe-all-stage2-libiberty
37707 all-stage3-binutils: maybe-all-stage3-libiberty
37708 all-stage4-binutils: maybe-all-stage4-libiberty
37709 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
37710 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
37711 all-binutils: maybe-all-opcodes
37713 all-stage1-binutils: maybe-all-stage1-opcodes
37714 all-stage2-binutils: maybe-all-stage2-opcodes
37715 all-stage3-binutils: maybe-all-stage3-opcodes
37716 all-stage4-binutils: maybe-all-stage4-opcodes
37717 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
37718 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
37719 all-binutils: maybe-all-bfd
37721 all-stage1-binutils: maybe-all-stage1-bfd
37722 all-stage2-binutils: maybe-all-stage2-bfd
37723 all-stage3-binutils: maybe-all-stage3-bfd
37724 all-stage4-binutils: maybe-all-stage4-bfd
37725 all-stageprofile-binutils: maybe-all-stageprofile-bfd
37726 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
37727 all-binutils: maybe-all-build-flex
37729 all-stage1-binutils: maybe-all-build-flex
37730 all-stage2-binutils: maybe-all-build-flex
37731 all-stage3-binutils: maybe-all-build-flex
37732 all-stage4-binutils: maybe-all-build-flex
37733 all-stageprofile-binutils: maybe-all-build-flex
37734 all-stagefeedback-binutils: maybe-all-build-flex
37735 all-prebootstrap: maybe-all-build-flex
37736 all-binutils: maybe-all-build-bison
37738 all-stage1-binutils: maybe-all-build-bison
37739 all-stage2-binutils: maybe-all-build-bison
37740 all-stage3-binutils: maybe-all-build-bison
37741 all-stage4-binutils: maybe-all-build-bison
37742 all-stageprofile-binutils: maybe-all-build-bison
37743 all-stagefeedback-binutils: maybe-all-build-bison
37744 all-prebootstrap: maybe-all-build-bison
37745 all-binutils: maybe-all-build-byacc
37747 all-stage1-binutils: maybe-all-build-byacc
37748 all-stage2-binutils: maybe-all-build-byacc
37749 all-stage3-binutils: maybe-all-build-byacc
37750 all-stage4-binutils: maybe-all-build-byacc
37751 all-stageprofile-binutils: maybe-all-build-byacc
37752 all-stagefeedback-binutils: maybe-all-build-byacc
37753 all-prebootstrap: maybe-all-build-byacc
37754 all-binutils: maybe-all-intl
37756 all-stage1-binutils: maybe-all-stage1-intl
37757 all-stage2-binutils: maybe-all-stage2-intl
37758 all-stage3-binutils: maybe-all-stage3-intl
37759 all-stage4-binutils: maybe-all-stage4-intl
37760 all-stageprofile-binutils: maybe-all-stageprofile-intl
37761 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
37762 install-binutils: maybe-install-opcodes
37763 install-opcodes: maybe-install-bfd
37764 all-gas: maybe-all-libiberty
37766 all-stage1-gas: maybe-all-stage1-libiberty
37767 all-stage2-gas: maybe-all-stage2-libiberty
37768 all-stage3-gas: maybe-all-stage3-libiberty
37769 all-stage4-gas: maybe-all-stage4-libiberty
37770 all-stageprofile-gas: maybe-all-stageprofile-libiberty
37771 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
37772 all-gas: maybe-all-opcodes
37774 all-stage1-gas: maybe-all-stage1-opcodes
37775 all-stage2-gas: maybe-all-stage2-opcodes
37776 all-stage3-gas: maybe-all-stage3-opcodes
37777 all-stage4-gas: maybe-all-stage4-opcodes
37778 all-stageprofile-gas: maybe-all-stageprofile-opcodes
37779 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
37780 all-gas: maybe-all-bfd
37782 all-stage1-gas: maybe-all-stage1-bfd
37783 all-stage2-gas: maybe-all-stage2-bfd
37784 all-stage3-gas: maybe-all-stage3-bfd
37785 all-stage4-gas: maybe-all-stage4-bfd
37786 all-stageprofile-gas: maybe-all-stageprofile-bfd
37787 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
37788 all-gas: maybe-all-intl
37790 all-stage1-gas: maybe-all-stage1-intl
37791 all-stage2-gas: maybe-all-stage2-intl
37792 all-stage3-gas: maybe-all-stage3-intl
37793 all-stage4-gas: maybe-all-stage4-intl
37794 all-stageprofile-gas: maybe-all-stageprofile-intl
37795 all-stagefeedback-gas: maybe-all-stagefeedback-intl
37796 all-gprof: maybe-all-libiberty
37797 all-gprof: maybe-all-bfd
37798 all-gprof: maybe-all-opcodes
37799 all-gprof: maybe-all-intl
37800 all-ld: maybe-all-libiberty
37802 all-stage1-ld: maybe-all-stage1-libiberty
37803 all-stage2-ld: maybe-all-stage2-libiberty
37804 all-stage3-ld: maybe-all-stage3-libiberty
37805 all-stage4-ld: maybe-all-stage4-libiberty
37806 all-stageprofile-ld: maybe-all-stageprofile-libiberty
37807 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
37808 all-ld: maybe-all-bfd
37810 all-stage1-ld: maybe-all-stage1-bfd
37811 all-stage2-ld: maybe-all-stage2-bfd
37812 all-stage3-ld: maybe-all-stage3-bfd
37813 all-stage4-ld: maybe-all-stage4-bfd
37814 all-stageprofile-ld: maybe-all-stageprofile-bfd
37815 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
37816 all-ld: maybe-all-opcodes
37818 all-stage1-ld: maybe-all-stage1-opcodes
37819 all-stage2-ld: maybe-all-stage2-opcodes
37820 all-stage3-ld: maybe-all-stage3-opcodes
37821 all-stage4-ld: maybe-all-stage4-opcodes
37822 all-stageprofile-ld: maybe-all-stageprofile-opcodes
37823 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
37824 all-ld: maybe-all-build-bison
37826 all-stage1-ld: maybe-all-build-bison
37827 all-stage2-ld: maybe-all-build-bison
37828 all-stage3-ld: maybe-all-build-bison
37829 all-stage4-ld: maybe-all-build-bison
37830 all-stageprofile-ld: maybe-all-build-bison
37831 all-stagefeedback-ld: maybe-all-build-bison
37832 all-prebootstrap: maybe-all-build-bison
37833 all-ld: maybe-all-build-byacc
37835 all-stage1-ld: maybe-all-build-byacc
37836 all-stage2-ld: maybe-all-build-byacc
37837 all-stage3-ld: maybe-all-build-byacc
37838 all-stage4-ld: maybe-all-build-byacc
37839 all-stageprofile-ld: maybe-all-build-byacc
37840 all-stagefeedback-ld: maybe-all-build-byacc
37841 all-prebootstrap: maybe-all-build-byacc
37842 all-ld: maybe-all-build-flex
37844 all-stage1-ld: maybe-all-build-flex
37845 all-stage2-ld: maybe-all-build-flex
37846 all-stage3-ld: maybe-all-build-flex
37847 all-stage4-ld: maybe-all-build-flex
37848 all-stageprofile-ld: maybe-all-build-flex
37849 all-stagefeedback-ld: maybe-all-build-flex
37850 all-prebootstrap: maybe-all-build-flex
37851 all-ld: maybe-all-intl
37853 all-stage1-ld: maybe-all-stage1-intl
37854 all-stage2-ld: maybe-all-stage2-intl
37855 all-stage3-ld: maybe-all-stage3-intl
37856 all-stage4-ld: maybe-all-stage4-intl
37857 all-stageprofile-ld: maybe-all-stageprofile-intl
37858 all-stagefeedback-ld: maybe-all-stagefeedback-intl
37859 all-opcodes: maybe-all-bfd
37861 all-stage1-opcodes: maybe-all-stage1-bfd
37862 all-stage2-opcodes: maybe-all-stage2-bfd
37863 all-stage3-opcodes: maybe-all-stage3-bfd
37864 all-stage4-opcodes: maybe-all-stage4-bfd
37865 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
37866 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
37867 all-opcodes: maybe-all-libiberty
37869 all-stage1-opcodes: maybe-all-stage1-libiberty
37870 all-stage2-opcodes: maybe-all-stage2-libiberty
37871 all-stage3-opcodes: maybe-all-stage3-libiberty
37872 all-stage4-opcodes: maybe-all-stage4-libiberty
37873 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
37874 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
37875 all-dejagnu: maybe-all-tcl
37876 all-dejagnu: maybe-all-expect
37877 all-dejagnu: maybe-all-tk
37878 configure-expect: maybe-configure-tcl
37879 configure-expect: maybe-configure-tk
37880 all-expect: maybe-all-tcl
37881 all-expect: maybe-all-tk
37882 configure-itcl: maybe-configure-tcl
37883 configure-itcl: maybe-configure-tk
37884 all-itcl: maybe-all-tcl
37885 all-itcl: maybe-all-tk
37886 install-itcl: maybe-install-tcl
37887 configure-tk: maybe-configure-tcl
37888 all-tk: maybe-all-tcl
37889 all-sid: maybe-all-libiberty
37890 all-sid: maybe-all-bfd
37891 all-sid: maybe-all-opcodes
37892 all-sid: maybe-all-tcl
37893 all-sid: maybe-all-tk
37894 install-sid: maybe-install-tcl
37895 install-sid: maybe-install-tk
37896 all-sim: maybe-all-libiberty
37897 all-sim: maybe-all-bfd
37898 all-sim: maybe-all-opcodes
37899 all-sim: maybe-all-readline
37900 all-sim: maybe-configure-gdb
37901 all-fastjar: maybe-all-zlib
37902 all-fastjar: maybe-all-build-texinfo
37903 all-fastjar: maybe-all-libiberty
37904 all-autoconf: maybe-all-m4
37905 all-autoconf: maybe-all-build-texinfo
37906 all-automake: maybe-all-m4
37907 all-automake: maybe-all-build-texinfo
37908 all-automake: maybe-all-autoconf
37909 all-bison: maybe-all-intl
37910 all-bison: maybe-all-build-texinfo
37911 all-diff: maybe-all-intl
37912 all-diff: maybe-all-build-texinfo
37913 all-fileutils: maybe-all-intl
37914 all-fileutils: maybe-all-build-texinfo
37915 all-flex: maybe-all-build-bison
37916 all-flex: maybe-all-build-byacc
37917 all-flex: maybe-all-intl
37918 all-flex: maybe-all-m4
37919 all-flex: maybe-all-build-texinfo
37920 all-gzip: maybe-all-intl
37921 all-gzip: maybe-all-zlib
37922 all-gzip: maybe-all-build-texinfo
37923 all-hello: maybe-all-intl
37924 all-hello: maybe-all-build-texinfo
37925 all-m4: maybe-all-intl
37926 all-m4: maybe-all-build-texinfo
37927 all-make: maybe-all-intl
37928 all-make: maybe-all-build-texinfo
37929 all-patch: maybe-all-build-texinfo
37930 all-make: maybe-all-build-texinfo
37931 all-prms: maybe-all-libiberty
37932 all-recode: maybe-all-build-texinfo
37933 all-sed: maybe-all-build-texinfo
37934 all-send-pr: maybe-all-prms
37935 all-tar: maybe-all-build-texinfo
37936 all-uudecode: maybe-all-build-texinfo
37937 configure-target-boehm-gc: maybe-configure-target-qthreads
37938 configure-target-fastjar: maybe-configure-target-zlib
37939 all-target-fastjar: maybe-all-target-zlib
37940 all-target-fastjar: maybe-all-target-libiberty
37941 configure-target-libjava: maybe-configure-target-zlib
37942 configure-target-libjava: maybe-configure-target-boehm-gc
37943 configure-target-libjava: maybe-configure-target-qthreads
37944 configure-target-libjava: maybe-configure-target-libffi
37945 all-target-libjava: maybe-all-fastjar
37946 all-target-libjava: maybe-all-target-zlib
37947 all-target-libjava: maybe-all-target-boehm-gc
37948 all-target-libjava: maybe-all-target-qthreads
37949 all-target-libjava: maybe-all-target-libffi
37950 all-target-libobjc: maybe-all-target-libiberty
37951 all-target-libstdc++-v3: maybe-all-target-libiberty
37952 all-target-libgloss: maybe-configure-target-newlib
37953 all-target-winsup: maybe-all-target-libiberty
37954 all-target-winsup: maybe-all-target-libtermcap
37957 # Non-toplevel bootstrap rules must depend on several packages, to be built
37958 # before gcc. Another wart that will go away, hopefully soon.
37959 @if gcc-no-bootstrap
37961 all-prebootstrap: maybe-all-bfd
37962 all-prebootstrap: maybe-all-opcodes
37963 all-prebootstrap: maybe-all-binutils
37964 all-prebootstrap: maybe-all-gas
37965 all-prebootstrap: maybe-all-intl
37966 all-prebootstrap: maybe-all-ld
37967 all-prebootstrap: maybe-all-libcpp
37968 all-prebootstrap: maybe-all-libdecnumber
37969 all-prebootstrap: maybe-all-libiberty
37970 all-prebootstrap: maybe-all-zlib
37971 @endif gcc-no-bootstrap
37973 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
37974 GDB_TK = @GDB_TK@
37975 INSTALL_GDB_TK = @INSTALL_GDB_TK@
37976 configure-gdb: $(CONFIGURE_GDB_TK)
37977 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
37978 install-gdb: $(INSTALL_GDB_TK)
37980 # Serialization dependencies. Host configures don't work well in parallel to
37981 # each other, due to contention over config.cache. Target configures and
37982 # build configures are similar.
37983 @serialization_dependencies@
37985 # --------------------------------
37986 # Regenerating top level configury
37987 # --------------------------------
37989 # Rebuilding Makefile.in, using autogen.
37990 AUTOGEN = autogen
37991 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
37992 cd $(srcdir) && $(AUTOGEN) Makefile.def
37994 # Rebuilding Makefile.
37995 Makefile: $(srcdir)/Makefile.in config.status
37996 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
37998 config.status: configure
37999 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
38001 # Rebuilding configure.
38002 AUTOCONF = autoconf
38003 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
38004 cd $(srcdir) && $(AUTOCONF)
38006 # ------------------------------
38007 # Special directives to GNU Make
38008 # ------------------------------
38010 # Don't pass command-line variables to submakes.
38011 .NOEXPORT:
38012 MAKEOVERRIDES=
38014 # end of Makefile.in