* tree.h: Include "hashtab.h".
[official-gcc.git] / Makefile.in
blobeae74a72ec2b998e1360bb81f9b141a9d8490f51
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 # Build programs are put under this directory.
88 BUILD_SUBDIR = @build_subdir@
89 # This is set by the configure script to the arguments to use when configuring
90 # directories built for the build system.
91 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
93 # This is the list of variables to export in the environment when
94 # configuring any subdirectory. It must also be exported whenever
95 # recursing into a build directory in case that directory's Makefile
96 # re-runs configure.
97 BASE_EXPORTS = \
98 FLEX="$(FLEX)"; export FLEX; \
99 LEX="$(LEX)"; export LEX; \
100 BISON="$(BISON)"; export BISON; \
101 YACC="$(YACC)"; export YACC; \
102 M4="$(M4)"; export M4; \
103 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
105 # This is the list of variables to export in the environment when
106 # configuring subdirectories for the build system.
107 BUILD_EXPORTS = \
108 $(BASE_EXPORTS) \
109 AR="$(AR_FOR_BUILD)"; export AR; \
110 AS="$(AS_FOR_BUILD)"; export AS; \
111 CC="$(CC_FOR_BUILD)"; export CC; \
112 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
113 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
114 CXX="$(CXX_FOR_BUILD)"; export CXX; \
115 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
116 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
117 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
118 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
119 LD="$(LD_FOR_BUILD)"; export LD; \
120 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
121 NM="$(NM_FOR_BUILD)"; export NM; \
122 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
123 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
125 # This is the list of directories to built for the host system.
126 SUBDIRS = @configdirs@
127 # This is set by the configure script to the arguments to use when configuring
128 # directories built for the host system.
129 HOST_CONFIGARGS = @host_configargs@
130 # Host programs are put under this directory, which is . except if building
131 # with srcdir=..
132 HOST_SUBDIR = @host_subdir@
133 # This is the list of variables to export in the environment when
134 # configuring subdirectories for the host system. We need to pass
135 # some to the GCC configure because of its hybrid host/target nature.
136 HOST_EXPORTS = \
137 $(BASE_EXPORTS) \
138 CC="$(CC)"; export CC; \
139 CFLAGS="$(CFLAGS)"; export CFLAGS; \
140 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
141 CXX="$(CXX)"; export CXX; \
142 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
143 AR="$(AR)"; export AR; \
144 AS="$(AS)"; export AS; \
145 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
146 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
147 LD="$(LD)"; export LD; \
148 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
149 NM="$(NM)"; export NM; \
150 RANLIB="$(RANLIB)"; export RANLIB; \
151 WINDRES="$(WINDRES)"; export WINDRES; \
152 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
153 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
154 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
155 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
156 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
157 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
158 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
159 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
160 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
161 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
162 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
163 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
164 @if gcc-bootstrap
165 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
166 @endif gcc-bootstrap
167 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
169 # Similar, for later GCC stages.
170 POSTSTAGE1_HOST_EXPORTS = \
171 $(HOST_EXPORTS) \
172 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
173 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
174 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
175 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
177 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
179 # Target libraries are put under this directory:
180 TARGET_SUBDIR = @target_subdir@
181 # This is set by the configure script to the arguments to use when configuring
182 # directories built for the target.
183 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
184 # This is the list of variables to export in the environment when
185 # configuring subdirectories for the host system.
186 BASE_TARGET_EXPORTS = \
187 $(BASE_EXPORTS) \
188 AR="$(AR_FOR_TARGET)"; export AR; \
189 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
190 CC="$(CC_FOR_TARGET)"; export CC; \
191 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
192 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
193 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
194 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
195 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
196 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
197 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
198 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
199 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
200 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
201 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
202 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
203 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
204 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
205 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
206 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
208 RAW_CXX_TARGET_EXPORTS = \
209 $(BASE_TARGET_EXPORTS) \
210 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
211 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
213 NORMAL_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX="$(CXX_FOR_TARGET)"; export CXX;
217 # Where to find GMP
218 HOST_GMPLIBS = @gmplibs@
219 HOST_GMPINC = @gmpinc@
221 # ----------------------------------------------
222 # Programs producing files for the BUILD machine
223 # ----------------------------------------------
225 SHELL = @config_shell@
227 # pwd command to use. Allow user to override default by setting PWDCMD in
228 # the environment to account for automounters. The make variable must not
229 # be called PWDCMD, otherwise the value set here is passed to make
230 # subprocesses and overrides the setting from the user's environment.
231 # Don't use PWD since it is a common shell environment variable and we
232 # don't want to corrupt it.
233 PWD_COMMAND = $${PWDCMD-pwd}
235 # compilers to use to create programs which must be run in the build
236 # environment.
237 CC_FOR_BUILD = @CC_FOR_BUILD@
238 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
240 CXX_FOR_BUILD = $(CXX)
242 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
243 # here so that they can be overridden by Makefile fragments.
244 BUILD_PREFIX = @BUILD_PREFIX@
245 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
247 # Flags to pass to stage2 and later makes. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BOOT_CFLAGS= -g -O2
250 BOOT_LDFLAGS=
252 BISON = @BISON@
253 YACC = @YACC@
254 FLEX = @FLEX@
255 LEX = @LEX@
256 M4 = @M4@
257 MAKEINFO = @MAKEINFO@
258 EXPECT = @EXPECT@
259 RUNTEST = @RUNTEST@
261 # This just becomes part of the MAKEINFO definition passed down to
262 # sub-makes. It lets flags be given on the command line while still
263 # using the makeinfo from the object tree.
264 # (Default to avoid splitting info files by setting the threshold high.)
265 MAKEINFOFLAGS = --split-size=5000000
267 # ---------------------------------------------
268 # Programs producing files for the HOST machine
269 # ---------------------------------------------
271 AS = @AS@
272 AR = @AR@
273 AR_FLAGS = rc
274 CC = @CC@
275 CXX = @CXX@
276 DLLTOOL = @DLLTOOL@
277 LD = @LD@
278 LIPO = @LIPO@
279 NM = @NM@
280 OBJDUMP = @OBJDUMP@
281 RANLIB = @RANLIB@
282 STRIP = @STRIP@
283 WINDRES = @WINDRES@
285 CFLAGS = @CFLAGS@
286 LDFLAGS =
287 LIBCFLAGS = $(CFLAGS)
288 CXXFLAGS = @CXXFLAGS@
289 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
290 PICFLAG =
292 # -----------------------------------------------
293 # Programs producing files for the TARGET machine
294 # -----------------------------------------------
296 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
298 AR_FOR_TARGET=@AR_FOR_TARGET@
299 AS_FOR_TARGET=@AS_FOR_TARGET@
300 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
302 # If GCC_FOR_TARGET is not overriden on the command line, then this
303 # variable is passed down to the gcc Makefile, where it is used to
304 # build libgcc2.a. We define it here so that it can itself be
305 # overridden on the command line.
306 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
308 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
309 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
310 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
311 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
312 LD_FOR_TARGET=@LD_FOR_TARGET@
314 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
315 NM_FOR_TARGET=@NM_FOR_TARGET@
316 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
317 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
318 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
319 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
321 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
322 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
323 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
325 # During gcc bootstrap, if we use some random cc for stage1 then
326 # CFLAGS will be just -g. We want to ensure that TARGET libraries
327 # (which we know are built with gcc) are built with optimizations so
328 # prepend -O2 when setting CFLAGS_FOR_TARGET.
329 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
330 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
331 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
332 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
333 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
334 LDFLAGS_FOR_TARGET =
335 PICFLAG_FOR_TARGET =
337 # ------------------------------------
338 # Miscellaneous targets and flag lists
339 # ------------------------------------
341 # The first rule in the file had better be this one. Don't put any above it.
342 # This lives here to allow makefile fragments to contain dependencies.
343 all:
345 #### host and target specific makefile fragments come in here.
346 @target_makefile_frag@
347 @alphaieee_frag@
348 @ospace_frag@
349 @host_makefile_frag@
352 # This is the list of directories that may be needed in RPATH_ENVVAR
353 # so that prorgams built for the target machine work.
354 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgcc-math)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
356 @if target-libstdc++-v3
357 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
358 @endif target-libstdc++-v3
360 @if target-libmudflap
361 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
362 @endif target-libmudflap
364 @if target-libssp
365 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
366 @endif target-libssp
368 @if target-libgcc-math
369 TARGET_LIB_PATH_libgcc-math = $$r/$(TARGET_SUBDIR)/libgcc-math/.libs:
370 @endif target-libgcc-math
372 @if target-libgomp
373 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
374 @endif target-libgomp
378 # This is the list of directories that may be needed in RPATH_ENVVAR
379 # so that programs built for the host machine work.
380 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
382 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
383 @if gcc
384 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
385 @endif gcc
388 @if bfd
389 HOST_LIB_PATH_bfd = \
390 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
391 @endif bfd
393 @if opcodes
394 HOST_LIB_PATH_opcodes = \
395 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
396 @endif opcodes
399 # Flags to pass down to all sub-makes.
400 BASE_FLAGS_TO_PASS = \
401 "DESTDIR=$(DESTDIR)" \
402 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
403 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
404 "bindir=$(bindir)" \
405 "datadir=$(datadir)" \
406 "exec_prefix=$(exec_prefix)" \
407 "includedir=$(includedir)" \
408 "infodir=$(infodir)" \
409 "libdir=$(libdir)" \
410 "libexecdir=$(libexecdir)" \
411 "lispdir=$(lispdir)" \
412 "localstatedir=$(localstatedir)" \
413 "mandir=$(mandir)" \
414 "oldincludedir=$(oldincludedir)" \
415 "prefix=$(prefix)" \
416 "sbindir=$(sbindir)" \
417 "sharedstatedir=$(sharedstatedir)" \
418 "sysconfdir=$(sysconfdir)" \
419 "tooldir=$(tooldir)" \
420 "build_tooldir=$(build_tooldir)" \
421 "target_alias=$(target_alias)" \
422 "BISON=$(BISON)" \
423 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
424 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
425 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
426 "EXPECT=$(EXPECT)" \
427 "FLEX=$(FLEX)" \
428 "INSTALL=$(INSTALL)" \
429 "INSTALL_DATA=$(INSTALL_DATA)" \
430 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
431 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
432 "LEX=$(LEX)" \
433 "M4=$(M4)" \
434 "MAKE=$(MAKE)" \
435 "RUNTEST=$(RUNTEST)" \
436 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
437 "SHELL=$(SHELL)" \
438 "YACC=$(YACC)" \
439 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
440 "AR_FLAGS=$(AR_FLAGS)" \
441 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
442 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
443 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
444 "CFLAGS=$(CFLAGS)" \
445 "CXXFLAGS=$(CXXFLAGS)" \
446 "LDFLAGS=$(LDFLAGS)" \
447 "LIBCFLAGS=$(LIBCFLAGS)" \
448 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
449 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
450 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
451 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
452 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
453 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
454 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
455 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
456 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
457 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
458 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
459 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
460 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
461 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
462 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
463 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
464 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
465 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
466 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
467 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
468 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
469 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
470 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
471 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
472 "LEAN=$(LEAN)" \
473 "CONFIG_SHELL=$(SHELL)" \
474 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
476 # We leave this in just in case, but it is not needed anymore.
477 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
479 # Flags to pass down to most sub-makes, in which we're building with
480 # the host environment.
481 EXTRA_HOST_FLAGS = \
482 'AR=$(AR)' \
483 'AS=$(AS)' \
484 'CC=$(CC)' \
485 'CXX=$(CXX)' \
486 'DLLTOOL=$(DLLTOOL)' \
487 'LD=$(LD)' \
488 'LIPO=$(LIPO)' \
489 'NM=$(NM)' \
490 'OBJDUMP=$(OBJDUMP)' \
491 'RANLIB=$(RANLIB)' \
492 'STRIP=$(STRIP)' \
493 'WINDRES=$(WINDRES)'
495 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
497 # Flags that are concerned with the location of the X11 include files
498 # and library files
500 # NOTE: until the top-level is getting the values via autoconf, it only
501 # causes problems to have this top-level Makefile overriding the autoconf-set
502 # values in child directories. Only variables that don't conflict with
503 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
505 X11_FLAGS_TO_PASS = \
506 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
507 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
509 # Flags to pass down to makes which are built with the target environment.
510 # The double $ decreases the length of the command line; those variables
511 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
512 # COMPILER_ prefixed variables are not passed down so we expand them here.
513 EXTRA_TARGET_FLAGS = \
514 'AR=$$(AR_FOR_TARGET)' \
515 'AS=$(COMPILER_AS_FOR_TARGET)' \
516 'CC=$$(CC_FOR_TARGET)' \
517 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
518 'CXX=$$(CXX_FOR_TARGET)' \
519 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
520 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
521 'LD=$(COMPILER_LD_FOR_TARGET)' \
522 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
523 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
524 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
525 'NM=$(COMPILER_NM_FOR_TARGET)' \
526 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
527 'RANLIB=$$(RANLIB_FOR_TARGET)' \
528 'WINDRES=$$(WINDRES_FOR_TARGET)'
530 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
532 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
533 # unfortunately needs the native compiler and the target ar and
534 # ranlib.
535 # If any variables are added here, they must be added to do-*, below.
536 # The BUILD_* variables are a special case, which are used for the gcc
537 # cross-building scheme.
538 EXTRA_GCC_FLAGS = \
539 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
540 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
541 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
542 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
543 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
544 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
546 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
548 .PHONY: configure-host
549 configure-host: \
550 maybe-configure-ash \
551 maybe-configure-autoconf \
552 maybe-configure-automake \
553 maybe-configure-bash \
554 maybe-configure-bfd \
555 maybe-configure-opcodes \
556 maybe-configure-binutils \
557 maybe-configure-bison \
558 maybe-configure-byacc \
559 maybe-configure-bzip2 \
560 maybe-configure-dejagnu \
561 maybe-configure-diff \
562 maybe-configure-dosutils \
563 maybe-configure-etc \
564 maybe-configure-fastjar \
565 maybe-configure-fileutils \
566 maybe-configure-findutils \
567 maybe-configure-find \
568 maybe-configure-fixincludes \
569 maybe-configure-flex \
570 maybe-configure-gas \
571 maybe-configure-gcc \
572 maybe-configure-gawk \
573 maybe-configure-gettext \
574 maybe-configure-gnuserv \
575 maybe-configure-gprof \
576 maybe-configure-gzip \
577 maybe-configure-hello \
578 maybe-configure-indent \
579 maybe-configure-intl \
580 maybe-configure-tcl \
581 maybe-configure-itcl \
582 maybe-configure-ld \
583 maybe-configure-libcpp \
584 maybe-configure-libdecnumber \
585 maybe-configure-libgui \
586 maybe-configure-libiberty \
587 maybe-configure-libtool \
588 maybe-configure-m4 \
589 maybe-configure-make \
590 maybe-configure-mmalloc \
591 maybe-configure-patch \
592 maybe-configure-perl \
593 maybe-configure-prms \
594 maybe-configure-rcs \
595 maybe-configure-readline \
596 maybe-configure-release \
597 maybe-configure-recode \
598 maybe-configure-sed \
599 maybe-configure-send-pr \
600 maybe-configure-shellutils \
601 maybe-configure-sid \
602 maybe-configure-sim \
603 maybe-configure-tar \
604 maybe-configure-texinfo \
605 maybe-configure-textutils \
606 maybe-configure-time \
607 maybe-configure-uudecode \
608 maybe-configure-wdiff \
609 maybe-configure-zip \
610 maybe-configure-zlib \
611 maybe-configure-gdb \
612 maybe-configure-expect \
613 maybe-configure-guile \
614 maybe-configure-tk \
615 maybe-configure-libtermcap \
616 maybe-configure-utils \
617 maybe-configure-gnattools
618 .PHONY: configure-target
619 configure-target: \
620 maybe-configure-target-libstdc++-v3 \
621 maybe-configure-target-libmudflap \
622 maybe-configure-target-libssp \
623 maybe-configure-target-libgcc-math \
624 maybe-configure-target-newlib \
625 maybe-configure-target-libgfortran \
626 maybe-configure-target-libobjc \
627 maybe-configure-target-libtermcap \
628 maybe-configure-target-winsup \
629 maybe-configure-target-libgloss \
630 maybe-configure-target-libiberty \
631 maybe-configure-target-gperf \
632 maybe-configure-target-examples \
633 maybe-configure-target-libffi \
634 maybe-configure-target-libjava \
635 maybe-configure-target-zlib \
636 maybe-configure-target-boehm-gc \
637 maybe-configure-target-qthreads \
638 maybe-configure-target-rda \
639 maybe-configure-target-libada \
640 maybe-configure-target-libgomp
642 # The target built for a native non-bootstrap build.
643 .PHONY: all
644 all:
645 @if gcc-bootstrap
646 [ -f stage_final ] || echo stage3 > stage_final
647 @r=`${PWD_COMMAND}`; export r; \
648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
649 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
650 @endif gcc-bootstrap
651 @: $(MAKE); $(unstage)
652 @r=`${PWD_COMMAND}`; export r; \
653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
654 if [ -f stage_last ]; then \
655 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
656 else \
657 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
660 .PHONY: all-build
662 all-build: maybe-all-build-libiberty
663 all-build: maybe-all-build-bison
664 all-build: maybe-all-build-byacc
665 all-build: maybe-all-build-flex
666 all-build: maybe-all-build-m4
667 all-build: maybe-all-build-texinfo
668 all-build: maybe-all-build-fixincludes
670 .PHONY: all-host
672 all-host: maybe-all-ash
673 all-host: maybe-all-autoconf
674 all-host: maybe-all-automake
675 all-host: maybe-all-bash
676 @if bfd-no-bootstrap
677 all-host: maybe-all-bfd
678 @endif bfd-no-bootstrap
679 @if opcodes-no-bootstrap
680 all-host: maybe-all-opcodes
681 @endif opcodes-no-bootstrap
682 @if binutils-no-bootstrap
683 all-host: maybe-all-binutils
684 @endif binutils-no-bootstrap
685 all-host: maybe-all-bison
686 all-host: maybe-all-byacc
687 all-host: maybe-all-bzip2
688 all-host: maybe-all-dejagnu
689 all-host: maybe-all-diff
690 all-host: maybe-all-dosutils
691 all-host: maybe-all-etc
692 all-host: maybe-all-fastjar
693 all-host: maybe-all-fileutils
694 all-host: maybe-all-findutils
695 all-host: maybe-all-find
696 all-host: maybe-all-fixincludes
697 all-host: maybe-all-flex
698 @if gas-no-bootstrap
699 all-host: maybe-all-gas
700 @endif gas-no-bootstrap
701 @if gcc-no-bootstrap
702 all-host: maybe-all-gcc
703 @endif gcc-no-bootstrap
704 all-host: maybe-all-gawk
705 all-host: maybe-all-gettext
706 all-host: maybe-all-gnuserv
707 all-host: maybe-all-gprof
708 all-host: maybe-all-gzip
709 all-host: maybe-all-hello
710 all-host: maybe-all-indent
711 @if intl-no-bootstrap
712 all-host: maybe-all-intl
713 @endif intl-no-bootstrap
714 all-host: maybe-all-tcl
715 all-host: maybe-all-itcl
716 @if ld-no-bootstrap
717 all-host: maybe-all-ld
718 @endif ld-no-bootstrap
719 @if libcpp-no-bootstrap
720 all-host: maybe-all-libcpp
721 @endif libcpp-no-bootstrap
722 @if libdecnumber-no-bootstrap
723 all-host: maybe-all-libdecnumber
724 @endif libdecnumber-no-bootstrap
725 all-host: maybe-all-libgui
726 @if libiberty-no-bootstrap
727 all-host: maybe-all-libiberty
728 @endif libiberty-no-bootstrap
729 all-host: maybe-all-libtool
730 all-host: maybe-all-m4
731 all-host: maybe-all-make
732 all-host: maybe-all-mmalloc
733 all-host: maybe-all-patch
734 all-host: maybe-all-perl
735 all-host: maybe-all-prms
736 all-host: maybe-all-rcs
737 all-host: maybe-all-readline
738 all-host: maybe-all-release
739 all-host: maybe-all-recode
740 all-host: maybe-all-sed
741 all-host: maybe-all-send-pr
742 all-host: maybe-all-shellutils
743 all-host: maybe-all-sid
744 all-host: maybe-all-sim
745 all-host: maybe-all-tar
746 all-host: maybe-all-texinfo
747 all-host: maybe-all-textutils
748 all-host: maybe-all-time
749 all-host: maybe-all-uudecode
750 all-host: maybe-all-wdiff
751 all-host: maybe-all-zip
752 @if zlib-no-bootstrap
753 all-host: maybe-all-zlib
754 @endif zlib-no-bootstrap
755 all-host: maybe-all-gdb
756 all-host: maybe-all-expect
757 all-host: maybe-all-guile
758 all-host: maybe-all-tk
759 all-host: maybe-all-libtermcap
760 all-host: maybe-all-utils
761 all-host: maybe-all-gnattools
763 .PHONY: all-target
765 all-target: maybe-all-target-libstdc++-v3
766 all-target: maybe-all-target-libmudflap
767 all-target: maybe-all-target-libssp
768 all-target: maybe-all-target-libgcc-math
769 all-target: maybe-all-target-newlib
770 all-target: maybe-all-target-libgfortran
771 all-target: maybe-all-target-libobjc
772 all-target: maybe-all-target-libtermcap
773 all-target: maybe-all-target-winsup
774 all-target: maybe-all-target-libgloss
775 all-target: maybe-all-target-libiberty
776 all-target: maybe-all-target-gperf
777 all-target: maybe-all-target-examples
778 all-target: maybe-all-target-libffi
779 all-target: maybe-all-target-libjava
780 all-target: maybe-all-target-zlib
781 all-target: maybe-all-target-boehm-gc
782 all-target: maybe-all-target-qthreads
783 all-target: maybe-all-target-rda
784 all-target: maybe-all-target-libada
785 all-target: maybe-all-target-libgomp
787 # Do a target for all the subdirectories. A ``make do-X'' will do a
788 # ``make X'' in all subdirectories (because, in general, there is a
789 # dependency (below) of X upon do-X, a ``make X'' will also do this,
790 # but it may do additional work as well).
792 .PHONY: do-info
793 do-info:
794 @: $(MAKE); $(unstage)
795 @r=`${PWD_COMMAND}`; export r; \
796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
797 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
798 info-target
801 .PHONY: info-host
803 info-host: maybe-info-ash
804 info-host: maybe-info-autoconf
805 info-host: maybe-info-automake
806 info-host: maybe-info-bash
807 info-host: maybe-info-bfd
808 info-host: maybe-info-opcodes
809 info-host: maybe-info-binutils
810 info-host: maybe-info-bison
811 info-host: maybe-info-byacc
812 info-host: maybe-info-bzip2
813 info-host: maybe-info-dejagnu
814 info-host: maybe-info-diff
815 info-host: maybe-info-dosutils
816 info-host: maybe-info-etc
817 info-host: maybe-info-fastjar
818 info-host: maybe-info-fileutils
819 info-host: maybe-info-findutils
820 info-host: maybe-info-find
821 info-host: maybe-info-fixincludes
822 info-host: maybe-info-flex
823 info-host: maybe-info-gas
824 info-host: maybe-info-gcc
825 info-host: maybe-info-gawk
826 info-host: maybe-info-gettext
827 info-host: maybe-info-gnuserv
828 info-host: maybe-info-gprof
829 info-host: maybe-info-gzip
830 info-host: maybe-info-hello
831 info-host: maybe-info-indent
832 info-host: maybe-info-intl
833 info-host: maybe-info-tcl
834 info-host: maybe-info-itcl
835 info-host: maybe-info-ld
836 info-host: maybe-info-libcpp
837 info-host: maybe-info-libdecnumber
838 info-host: maybe-info-libgui
839 info-host: maybe-info-libiberty
840 info-host: maybe-info-libtool
841 info-host: maybe-info-m4
842 info-host: maybe-info-make
843 info-host: maybe-info-mmalloc
844 info-host: maybe-info-patch
845 info-host: maybe-info-perl
846 info-host: maybe-info-prms
847 info-host: maybe-info-rcs
848 info-host: maybe-info-readline
849 info-host: maybe-info-release
850 info-host: maybe-info-recode
851 info-host: maybe-info-sed
852 info-host: maybe-info-send-pr
853 info-host: maybe-info-shellutils
854 info-host: maybe-info-sid
855 info-host: maybe-info-sim
856 info-host: maybe-info-tar
857 info-host: maybe-info-texinfo
858 info-host: maybe-info-textutils
859 info-host: maybe-info-time
860 info-host: maybe-info-uudecode
861 info-host: maybe-info-wdiff
862 info-host: maybe-info-zip
863 info-host: maybe-info-zlib
864 info-host: maybe-info-gdb
865 info-host: maybe-info-expect
866 info-host: maybe-info-guile
867 info-host: maybe-info-tk
868 info-host: maybe-info-libtermcap
869 info-host: maybe-info-utils
870 info-host: maybe-info-gnattools
872 .PHONY: info-target
874 info-target: maybe-info-target-libstdc++-v3
875 info-target: maybe-info-target-libmudflap
876 info-target: maybe-info-target-libssp
877 info-target: maybe-info-target-libgcc-math
878 info-target: maybe-info-target-newlib
879 info-target: maybe-info-target-libgfortran
880 info-target: maybe-info-target-libobjc
881 info-target: maybe-info-target-libtermcap
882 info-target: maybe-info-target-winsup
883 info-target: maybe-info-target-libgloss
884 info-target: maybe-info-target-libiberty
885 info-target: maybe-info-target-gperf
886 info-target: maybe-info-target-examples
887 info-target: maybe-info-target-libffi
888 info-target: maybe-info-target-libjava
889 info-target: maybe-info-target-zlib
890 info-target: maybe-info-target-boehm-gc
891 info-target: maybe-info-target-qthreads
892 info-target: maybe-info-target-rda
893 info-target: maybe-info-target-libada
894 info-target: maybe-info-target-libgomp
896 .PHONY: do-dvi
897 do-dvi:
898 @: $(MAKE); $(unstage)
899 @r=`${PWD_COMMAND}`; export r; \
900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
901 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
902 dvi-target
905 .PHONY: dvi-host
907 dvi-host: maybe-dvi-ash
908 dvi-host: maybe-dvi-autoconf
909 dvi-host: maybe-dvi-automake
910 dvi-host: maybe-dvi-bash
911 dvi-host: maybe-dvi-bfd
912 dvi-host: maybe-dvi-opcodes
913 dvi-host: maybe-dvi-binutils
914 dvi-host: maybe-dvi-bison
915 dvi-host: maybe-dvi-byacc
916 dvi-host: maybe-dvi-bzip2
917 dvi-host: maybe-dvi-dejagnu
918 dvi-host: maybe-dvi-diff
919 dvi-host: maybe-dvi-dosutils
920 dvi-host: maybe-dvi-etc
921 dvi-host: maybe-dvi-fastjar
922 dvi-host: maybe-dvi-fileutils
923 dvi-host: maybe-dvi-findutils
924 dvi-host: maybe-dvi-find
925 dvi-host: maybe-dvi-fixincludes
926 dvi-host: maybe-dvi-flex
927 dvi-host: maybe-dvi-gas
928 dvi-host: maybe-dvi-gcc
929 dvi-host: maybe-dvi-gawk
930 dvi-host: maybe-dvi-gettext
931 dvi-host: maybe-dvi-gnuserv
932 dvi-host: maybe-dvi-gprof
933 dvi-host: maybe-dvi-gzip
934 dvi-host: maybe-dvi-hello
935 dvi-host: maybe-dvi-indent
936 dvi-host: maybe-dvi-intl
937 dvi-host: maybe-dvi-tcl
938 dvi-host: maybe-dvi-itcl
939 dvi-host: maybe-dvi-ld
940 dvi-host: maybe-dvi-libcpp
941 dvi-host: maybe-dvi-libdecnumber
942 dvi-host: maybe-dvi-libgui
943 dvi-host: maybe-dvi-libiberty
944 dvi-host: maybe-dvi-libtool
945 dvi-host: maybe-dvi-m4
946 dvi-host: maybe-dvi-make
947 dvi-host: maybe-dvi-mmalloc
948 dvi-host: maybe-dvi-patch
949 dvi-host: maybe-dvi-perl
950 dvi-host: maybe-dvi-prms
951 dvi-host: maybe-dvi-rcs
952 dvi-host: maybe-dvi-readline
953 dvi-host: maybe-dvi-release
954 dvi-host: maybe-dvi-recode
955 dvi-host: maybe-dvi-sed
956 dvi-host: maybe-dvi-send-pr
957 dvi-host: maybe-dvi-shellutils
958 dvi-host: maybe-dvi-sid
959 dvi-host: maybe-dvi-sim
960 dvi-host: maybe-dvi-tar
961 dvi-host: maybe-dvi-texinfo
962 dvi-host: maybe-dvi-textutils
963 dvi-host: maybe-dvi-time
964 dvi-host: maybe-dvi-uudecode
965 dvi-host: maybe-dvi-wdiff
966 dvi-host: maybe-dvi-zip
967 dvi-host: maybe-dvi-zlib
968 dvi-host: maybe-dvi-gdb
969 dvi-host: maybe-dvi-expect
970 dvi-host: maybe-dvi-guile
971 dvi-host: maybe-dvi-tk
972 dvi-host: maybe-dvi-libtermcap
973 dvi-host: maybe-dvi-utils
974 dvi-host: maybe-dvi-gnattools
976 .PHONY: dvi-target
978 dvi-target: maybe-dvi-target-libstdc++-v3
979 dvi-target: maybe-dvi-target-libmudflap
980 dvi-target: maybe-dvi-target-libssp
981 dvi-target: maybe-dvi-target-libgcc-math
982 dvi-target: maybe-dvi-target-newlib
983 dvi-target: maybe-dvi-target-libgfortran
984 dvi-target: maybe-dvi-target-libobjc
985 dvi-target: maybe-dvi-target-libtermcap
986 dvi-target: maybe-dvi-target-winsup
987 dvi-target: maybe-dvi-target-libgloss
988 dvi-target: maybe-dvi-target-libiberty
989 dvi-target: maybe-dvi-target-gperf
990 dvi-target: maybe-dvi-target-examples
991 dvi-target: maybe-dvi-target-libffi
992 dvi-target: maybe-dvi-target-libjava
993 dvi-target: maybe-dvi-target-zlib
994 dvi-target: maybe-dvi-target-boehm-gc
995 dvi-target: maybe-dvi-target-qthreads
996 dvi-target: maybe-dvi-target-rda
997 dvi-target: maybe-dvi-target-libada
998 dvi-target: maybe-dvi-target-libgomp
1000 .PHONY: do-html
1001 do-html:
1002 @: $(MAKE); $(unstage)
1003 @r=`${PWD_COMMAND}`; export r; \
1004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1005 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1006 html-target
1009 .PHONY: html-host
1011 html-host: maybe-html-ash
1012 html-host: maybe-html-autoconf
1013 html-host: maybe-html-automake
1014 html-host: maybe-html-bash
1015 html-host: maybe-html-bfd
1016 html-host: maybe-html-opcodes
1017 html-host: maybe-html-binutils
1018 html-host: maybe-html-bison
1019 html-host: maybe-html-byacc
1020 html-host: maybe-html-bzip2
1021 html-host: maybe-html-dejagnu
1022 html-host: maybe-html-diff
1023 html-host: maybe-html-dosutils
1024 html-host: maybe-html-etc
1025 html-host: maybe-html-fastjar
1026 html-host: maybe-html-fileutils
1027 html-host: maybe-html-findutils
1028 html-host: maybe-html-find
1029 html-host: maybe-html-fixincludes
1030 html-host: maybe-html-flex
1031 html-host: maybe-html-gas
1032 html-host: maybe-html-gcc
1033 html-host: maybe-html-gawk
1034 html-host: maybe-html-gettext
1035 html-host: maybe-html-gnuserv
1036 html-host: maybe-html-gprof
1037 html-host: maybe-html-gzip
1038 html-host: maybe-html-hello
1039 html-host: maybe-html-indent
1040 html-host: maybe-html-intl
1041 html-host: maybe-html-tcl
1042 html-host: maybe-html-itcl
1043 html-host: maybe-html-ld
1044 html-host: maybe-html-libcpp
1045 html-host: maybe-html-libdecnumber
1046 html-host: maybe-html-libgui
1047 html-host: maybe-html-libiberty
1048 html-host: maybe-html-libtool
1049 html-host: maybe-html-m4
1050 html-host: maybe-html-make
1051 html-host: maybe-html-mmalloc
1052 html-host: maybe-html-patch
1053 html-host: maybe-html-perl
1054 html-host: maybe-html-prms
1055 html-host: maybe-html-rcs
1056 html-host: maybe-html-readline
1057 html-host: maybe-html-release
1058 html-host: maybe-html-recode
1059 html-host: maybe-html-sed
1060 html-host: maybe-html-send-pr
1061 html-host: maybe-html-shellutils
1062 html-host: maybe-html-sid
1063 html-host: maybe-html-sim
1064 html-host: maybe-html-tar
1065 html-host: maybe-html-texinfo
1066 html-host: maybe-html-textutils
1067 html-host: maybe-html-time
1068 html-host: maybe-html-uudecode
1069 html-host: maybe-html-wdiff
1070 html-host: maybe-html-zip
1071 html-host: maybe-html-zlib
1072 html-host: maybe-html-gdb
1073 html-host: maybe-html-expect
1074 html-host: maybe-html-guile
1075 html-host: maybe-html-tk
1076 html-host: maybe-html-libtermcap
1077 html-host: maybe-html-utils
1078 html-host: maybe-html-gnattools
1080 .PHONY: html-target
1082 html-target: maybe-html-target-libstdc++-v3
1083 html-target: maybe-html-target-libmudflap
1084 html-target: maybe-html-target-libssp
1085 html-target: maybe-html-target-libgcc-math
1086 html-target: maybe-html-target-newlib
1087 html-target: maybe-html-target-libgfortran
1088 html-target: maybe-html-target-libobjc
1089 html-target: maybe-html-target-libtermcap
1090 html-target: maybe-html-target-winsup
1091 html-target: maybe-html-target-libgloss
1092 html-target: maybe-html-target-libiberty
1093 html-target: maybe-html-target-gperf
1094 html-target: maybe-html-target-examples
1095 html-target: maybe-html-target-libffi
1096 html-target: maybe-html-target-libjava
1097 html-target: maybe-html-target-zlib
1098 html-target: maybe-html-target-boehm-gc
1099 html-target: maybe-html-target-qthreads
1100 html-target: maybe-html-target-rda
1101 html-target: maybe-html-target-libada
1102 html-target: maybe-html-target-libgomp
1104 .PHONY: do-TAGS
1105 do-TAGS:
1106 @: $(MAKE); $(unstage)
1107 @r=`${PWD_COMMAND}`; export r; \
1108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1109 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1110 TAGS-target
1113 .PHONY: TAGS-host
1115 TAGS-host: maybe-TAGS-ash
1116 TAGS-host: maybe-TAGS-autoconf
1117 TAGS-host: maybe-TAGS-automake
1118 TAGS-host: maybe-TAGS-bash
1119 TAGS-host: maybe-TAGS-bfd
1120 TAGS-host: maybe-TAGS-opcodes
1121 TAGS-host: maybe-TAGS-binutils
1122 TAGS-host: maybe-TAGS-bison
1123 TAGS-host: maybe-TAGS-byacc
1124 TAGS-host: maybe-TAGS-bzip2
1125 TAGS-host: maybe-TAGS-dejagnu
1126 TAGS-host: maybe-TAGS-diff
1127 TAGS-host: maybe-TAGS-dosutils
1128 TAGS-host: maybe-TAGS-etc
1129 TAGS-host: maybe-TAGS-fastjar
1130 TAGS-host: maybe-TAGS-fileutils
1131 TAGS-host: maybe-TAGS-findutils
1132 TAGS-host: maybe-TAGS-find
1133 TAGS-host: maybe-TAGS-fixincludes
1134 TAGS-host: maybe-TAGS-flex
1135 TAGS-host: maybe-TAGS-gas
1136 TAGS-host: maybe-TAGS-gcc
1137 TAGS-host: maybe-TAGS-gawk
1138 TAGS-host: maybe-TAGS-gettext
1139 TAGS-host: maybe-TAGS-gnuserv
1140 TAGS-host: maybe-TAGS-gprof
1141 TAGS-host: maybe-TAGS-gzip
1142 TAGS-host: maybe-TAGS-hello
1143 TAGS-host: maybe-TAGS-indent
1144 TAGS-host: maybe-TAGS-intl
1145 TAGS-host: maybe-TAGS-tcl
1146 TAGS-host: maybe-TAGS-itcl
1147 TAGS-host: maybe-TAGS-ld
1148 TAGS-host: maybe-TAGS-libcpp
1149 TAGS-host: maybe-TAGS-libdecnumber
1150 TAGS-host: maybe-TAGS-libgui
1151 TAGS-host: maybe-TAGS-libiberty
1152 TAGS-host: maybe-TAGS-libtool
1153 TAGS-host: maybe-TAGS-m4
1154 TAGS-host: maybe-TAGS-make
1155 TAGS-host: maybe-TAGS-mmalloc
1156 TAGS-host: maybe-TAGS-patch
1157 TAGS-host: maybe-TAGS-perl
1158 TAGS-host: maybe-TAGS-prms
1159 TAGS-host: maybe-TAGS-rcs
1160 TAGS-host: maybe-TAGS-readline
1161 TAGS-host: maybe-TAGS-release
1162 TAGS-host: maybe-TAGS-recode
1163 TAGS-host: maybe-TAGS-sed
1164 TAGS-host: maybe-TAGS-send-pr
1165 TAGS-host: maybe-TAGS-shellutils
1166 TAGS-host: maybe-TAGS-sid
1167 TAGS-host: maybe-TAGS-sim
1168 TAGS-host: maybe-TAGS-tar
1169 TAGS-host: maybe-TAGS-texinfo
1170 TAGS-host: maybe-TAGS-textutils
1171 TAGS-host: maybe-TAGS-time
1172 TAGS-host: maybe-TAGS-uudecode
1173 TAGS-host: maybe-TAGS-wdiff
1174 TAGS-host: maybe-TAGS-zip
1175 TAGS-host: maybe-TAGS-zlib
1176 TAGS-host: maybe-TAGS-gdb
1177 TAGS-host: maybe-TAGS-expect
1178 TAGS-host: maybe-TAGS-guile
1179 TAGS-host: maybe-TAGS-tk
1180 TAGS-host: maybe-TAGS-libtermcap
1181 TAGS-host: maybe-TAGS-utils
1182 TAGS-host: maybe-TAGS-gnattools
1184 .PHONY: TAGS-target
1186 TAGS-target: maybe-TAGS-target-libstdc++-v3
1187 TAGS-target: maybe-TAGS-target-libmudflap
1188 TAGS-target: maybe-TAGS-target-libssp
1189 TAGS-target: maybe-TAGS-target-libgcc-math
1190 TAGS-target: maybe-TAGS-target-newlib
1191 TAGS-target: maybe-TAGS-target-libgfortran
1192 TAGS-target: maybe-TAGS-target-libobjc
1193 TAGS-target: maybe-TAGS-target-libtermcap
1194 TAGS-target: maybe-TAGS-target-winsup
1195 TAGS-target: maybe-TAGS-target-libgloss
1196 TAGS-target: maybe-TAGS-target-libiberty
1197 TAGS-target: maybe-TAGS-target-gperf
1198 TAGS-target: maybe-TAGS-target-examples
1199 TAGS-target: maybe-TAGS-target-libffi
1200 TAGS-target: maybe-TAGS-target-libjava
1201 TAGS-target: maybe-TAGS-target-zlib
1202 TAGS-target: maybe-TAGS-target-boehm-gc
1203 TAGS-target: maybe-TAGS-target-qthreads
1204 TAGS-target: maybe-TAGS-target-rda
1205 TAGS-target: maybe-TAGS-target-libada
1206 TAGS-target: maybe-TAGS-target-libgomp
1208 .PHONY: do-install-info
1209 do-install-info:
1210 @: $(MAKE); $(unstage)
1211 @r=`${PWD_COMMAND}`; export r; \
1212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1213 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1214 install-info-target
1217 .PHONY: install-info-host
1219 install-info-host: maybe-install-info-ash
1220 install-info-host: maybe-install-info-autoconf
1221 install-info-host: maybe-install-info-automake
1222 install-info-host: maybe-install-info-bash
1223 install-info-host: maybe-install-info-bfd
1224 install-info-host: maybe-install-info-opcodes
1225 install-info-host: maybe-install-info-binutils
1226 install-info-host: maybe-install-info-bison
1227 install-info-host: maybe-install-info-byacc
1228 install-info-host: maybe-install-info-bzip2
1229 install-info-host: maybe-install-info-dejagnu
1230 install-info-host: maybe-install-info-diff
1231 install-info-host: maybe-install-info-dosutils
1232 install-info-host: maybe-install-info-etc
1233 install-info-host: maybe-install-info-fastjar
1234 install-info-host: maybe-install-info-fileutils
1235 install-info-host: maybe-install-info-findutils
1236 install-info-host: maybe-install-info-find
1237 install-info-host: maybe-install-info-fixincludes
1238 install-info-host: maybe-install-info-flex
1239 install-info-host: maybe-install-info-gas
1240 install-info-host: maybe-install-info-gcc
1241 install-info-host: maybe-install-info-gawk
1242 install-info-host: maybe-install-info-gettext
1243 install-info-host: maybe-install-info-gnuserv
1244 install-info-host: maybe-install-info-gprof
1245 install-info-host: maybe-install-info-gzip
1246 install-info-host: maybe-install-info-hello
1247 install-info-host: maybe-install-info-indent
1248 install-info-host: maybe-install-info-intl
1249 install-info-host: maybe-install-info-tcl
1250 install-info-host: maybe-install-info-itcl
1251 install-info-host: maybe-install-info-ld
1252 install-info-host: maybe-install-info-libcpp
1253 install-info-host: maybe-install-info-libdecnumber
1254 install-info-host: maybe-install-info-libgui
1255 install-info-host: maybe-install-info-libiberty
1256 install-info-host: maybe-install-info-libtool
1257 install-info-host: maybe-install-info-m4
1258 install-info-host: maybe-install-info-make
1259 install-info-host: maybe-install-info-mmalloc
1260 install-info-host: maybe-install-info-patch
1261 install-info-host: maybe-install-info-perl
1262 install-info-host: maybe-install-info-prms
1263 install-info-host: maybe-install-info-rcs
1264 install-info-host: maybe-install-info-readline
1265 install-info-host: maybe-install-info-release
1266 install-info-host: maybe-install-info-recode
1267 install-info-host: maybe-install-info-sed
1268 install-info-host: maybe-install-info-send-pr
1269 install-info-host: maybe-install-info-shellutils
1270 install-info-host: maybe-install-info-sid
1271 install-info-host: maybe-install-info-sim
1272 install-info-host: maybe-install-info-tar
1273 install-info-host: maybe-install-info-texinfo
1274 install-info-host: maybe-install-info-textutils
1275 install-info-host: maybe-install-info-time
1276 install-info-host: maybe-install-info-uudecode
1277 install-info-host: maybe-install-info-wdiff
1278 install-info-host: maybe-install-info-zip
1279 install-info-host: maybe-install-info-zlib
1280 install-info-host: maybe-install-info-gdb
1281 install-info-host: maybe-install-info-expect
1282 install-info-host: maybe-install-info-guile
1283 install-info-host: maybe-install-info-tk
1284 install-info-host: maybe-install-info-libtermcap
1285 install-info-host: maybe-install-info-utils
1286 install-info-host: maybe-install-info-gnattools
1288 .PHONY: install-info-target
1290 install-info-target: maybe-install-info-target-libstdc++-v3
1291 install-info-target: maybe-install-info-target-libmudflap
1292 install-info-target: maybe-install-info-target-libssp
1293 install-info-target: maybe-install-info-target-libgcc-math
1294 install-info-target: maybe-install-info-target-newlib
1295 install-info-target: maybe-install-info-target-libgfortran
1296 install-info-target: maybe-install-info-target-libobjc
1297 install-info-target: maybe-install-info-target-libtermcap
1298 install-info-target: maybe-install-info-target-winsup
1299 install-info-target: maybe-install-info-target-libgloss
1300 install-info-target: maybe-install-info-target-libiberty
1301 install-info-target: maybe-install-info-target-gperf
1302 install-info-target: maybe-install-info-target-examples
1303 install-info-target: maybe-install-info-target-libffi
1304 install-info-target: maybe-install-info-target-libjava
1305 install-info-target: maybe-install-info-target-zlib
1306 install-info-target: maybe-install-info-target-boehm-gc
1307 install-info-target: maybe-install-info-target-qthreads
1308 install-info-target: maybe-install-info-target-rda
1309 install-info-target: maybe-install-info-target-libada
1310 install-info-target: maybe-install-info-target-libgomp
1312 .PHONY: do-installcheck
1313 do-installcheck:
1314 @: $(MAKE); $(unstage)
1315 @r=`${PWD_COMMAND}`; export r; \
1316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1317 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1318 installcheck-target
1321 .PHONY: installcheck-host
1323 installcheck-host: maybe-installcheck-ash
1324 installcheck-host: maybe-installcheck-autoconf
1325 installcheck-host: maybe-installcheck-automake
1326 installcheck-host: maybe-installcheck-bash
1327 installcheck-host: maybe-installcheck-bfd
1328 installcheck-host: maybe-installcheck-opcodes
1329 installcheck-host: maybe-installcheck-binutils
1330 installcheck-host: maybe-installcheck-bison
1331 installcheck-host: maybe-installcheck-byacc
1332 installcheck-host: maybe-installcheck-bzip2
1333 installcheck-host: maybe-installcheck-dejagnu
1334 installcheck-host: maybe-installcheck-diff
1335 installcheck-host: maybe-installcheck-dosutils
1336 installcheck-host: maybe-installcheck-etc
1337 installcheck-host: maybe-installcheck-fastjar
1338 installcheck-host: maybe-installcheck-fileutils
1339 installcheck-host: maybe-installcheck-findutils
1340 installcheck-host: maybe-installcheck-find
1341 installcheck-host: maybe-installcheck-fixincludes
1342 installcheck-host: maybe-installcheck-flex
1343 installcheck-host: maybe-installcheck-gas
1344 installcheck-host: maybe-installcheck-gcc
1345 installcheck-host: maybe-installcheck-gawk
1346 installcheck-host: maybe-installcheck-gettext
1347 installcheck-host: maybe-installcheck-gnuserv
1348 installcheck-host: maybe-installcheck-gprof
1349 installcheck-host: maybe-installcheck-gzip
1350 installcheck-host: maybe-installcheck-hello
1351 installcheck-host: maybe-installcheck-indent
1352 installcheck-host: maybe-installcheck-intl
1353 installcheck-host: maybe-installcheck-tcl
1354 installcheck-host: maybe-installcheck-itcl
1355 installcheck-host: maybe-installcheck-ld
1356 installcheck-host: maybe-installcheck-libcpp
1357 installcheck-host: maybe-installcheck-libdecnumber
1358 installcheck-host: maybe-installcheck-libgui
1359 installcheck-host: maybe-installcheck-libiberty
1360 installcheck-host: maybe-installcheck-libtool
1361 installcheck-host: maybe-installcheck-m4
1362 installcheck-host: maybe-installcheck-make
1363 installcheck-host: maybe-installcheck-mmalloc
1364 installcheck-host: maybe-installcheck-patch
1365 installcheck-host: maybe-installcheck-perl
1366 installcheck-host: maybe-installcheck-prms
1367 installcheck-host: maybe-installcheck-rcs
1368 installcheck-host: maybe-installcheck-readline
1369 installcheck-host: maybe-installcheck-release
1370 installcheck-host: maybe-installcheck-recode
1371 installcheck-host: maybe-installcheck-sed
1372 installcheck-host: maybe-installcheck-send-pr
1373 installcheck-host: maybe-installcheck-shellutils
1374 installcheck-host: maybe-installcheck-sid
1375 installcheck-host: maybe-installcheck-sim
1376 installcheck-host: maybe-installcheck-tar
1377 installcheck-host: maybe-installcheck-texinfo
1378 installcheck-host: maybe-installcheck-textutils
1379 installcheck-host: maybe-installcheck-time
1380 installcheck-host: maybe-installcheck-uudecode
1381 installcheck-host: maybe-installcheck-wdiff
1382 installcheck-host: maybe-installcheck-zip
1383 installcheck-host: maybe-installcheck-zlib
1384 installcheck-host: maybe-installcheck-gdb
1385 installcheck-host: maybe-installcheck-expect
1386 installcheck-host: maybe-installcheck-guile
1387 installcheck-host: maybe-installcheck-tk
1388 installcheck-host: maybe-installcheck-libtermcap
1389 installcheck-host: maybe-installcheck-utils
1390 installcheck-host: maybe-installcheck-gnattools
1392 .PHONY: installcheck-target
1394 installcheck-target: maybe-installcheck-target-libstdc++-v3
1395 installcheck-target: maybe-installcheck-target-libmudflap
1396 installcheck-target: maybe-installcheck-target-libssp
1397 installcheck-target: maybe-installcheck-target-libgcc-math
1398 installcheck-target: maybe-installcheck-target-newlib
1399 installcheck-target: maybe-installcheck-target-libgfortran
1400 installcheck-target: maybe-installcheck-target-libobjc
1401 installcheck-target: maybe-installcheck-target-libtermcap
1402 installcheck-target: maybe-installcheck-target-winsup
1403 installcheck-target: maybe-installcheck-target-libgloss
1404 installcheck-target: maybe-installcheck-target-libiberty
1405 installcheck-target: maybe-installcheck-target-gperf
1406 installcheck-target: maybe-installcheck-target-examples
1407 installcheck-target: maybe-installcheck-target-libffi
1408 installcheck-target: maybe-installcheck-target-libjava
1409 installcheck-target: maybe-installcheck-target-zlib
1410 installcheck-target: maybe-installcheck-target-boehm-gc
1411 installcheck-target: maybe-installcheck-target-qthreads
1412 installcheck-target: maybe-installcheck-target-rda
1413 installcheck-target: maybe-installcheck-target-libada
1414 installcheck-target: maybe-installcheck-target-libgomp
1416 .PHONY: do-mostlyclean
1417 do-mostlyclean:
1418 @: $(MAKE); $(unstage)
1419 @r=`${PWD_COMMAND}`; export r; \
1420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1421 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1422 mostlyclean-target
1425 .PHONY: mostlyclean-host
1427 mostlyclean-host: maybe-mostlyclean-ash
1428 mostlyclean-host: maybe-mostlyclean-autoconf
1429 mostlyclean-host: maybe-mostlyclean-automake
1430 mostlyclean-host: maybe-mostlyclean-bash
1431 mostlyclean-host: maybe-mostlyclean-bfd
1432 mostlyclean-host: maybe-mostlyclean-opcodes
1433 mostlyclean-host: maybe-mostlyclean-binutils
1434 mostlyclean-host: maybe-mostlyclean-bison
1435 mostlyclean-host: maybe-mostlyclean-byacc
1436 mostlyclean-host: maybe-mostlyclean-bzip2
1437 mostlyclean-host: maybe-mostlyclean-dejagnu
1438 mostlyclean-host: maybe-mostlyclean-diff
1439 mostlyclean-host: maybe-mostlyclean-dosutils
1440 mostlyclean-host: maybe-mostlyclean-etc
1441 mostlyclean-host: maybe-mostlyclean-fastjar
1442 mostlyclean-host: maybe-mostlyclean-fileutils
1443 mostlyclean-host: maybe-mostlyclean-findutils
1444 mostlyclean-host: maybe-mostlyclean-find
1445 mostlyclean-host: maybe-mostlyclean-fixincludes
1446 mostlyclean-host: maybe-mostlyclean-flex
1447 mostlyclean-host: maybe-mostlyclean-gas
1448 mostlyclean-host: maybe-mostlyclean-gcc
1449 mostlyclean-host: maybe-mostlyclean-gawk
1450 mostlyclean-host: maybe-mostlyclean-gettext
1451 mostlyclean-host: maybe-mostlyclean-gnuserv
1452 mostlyclean-host: maybe-mostlyclean-gprof
1453 mostlyclean-host: maybe-mostlyclean-gzip
1454 mostlyclean-host: maybe-mostlyclean-hello
1455 mostlyclean-host: maybe-mostlyclean-indent
1456 mostlyclean-host: maybe-mostlyclean-intl
1457 mostlyclean-host: maybe-mostlyclean-tcl
1458 mostlyclean-host: maybe-mostlyclean-itcl
1459 mostlyclean-host: maybe-mostlyclean-ld
1460 mostlyclean-host: maybe-mostlyclean-libcpp
1461 mostlyclean-host: maybe-mostlyclean-libdecnumber
1462 mostlyclean-host: maybe-mostlyclean-libgui
1463 mostlyclean-host: maybe-mostlyclean-libiberty
1464 mostlyclean-host: maybe-mostlyclean-libtool
1465 mostlyclean-host: maybe-mostlyclean-m4
1466 mostlyclean-host: maybe-mostlyclean-make
1467 mostlyclean-host: maybe-mostlyclean-mmalloc
1468 mostlyclean-host: maybe-mostlyclean-patch
1469 mostlyclean-host: maybe-mostlyclean-perl
1470 mostlyclean-host: maybe-mostlyclean-prms
1471 mostlyclean-host: maybe-mostlyclean-rcs
1472 mostlyclean-host: maybe-mostlyclean-readline
1473 mostlyclean-host: maybe-mostlyclean-release
1474 mostlyclean-host: maybe-mostlyclean-recode
1475 mostlyclean-host: maybe-mostlyclean-sed
1476 mostlyclean-host: maybe-mostlyclean-send-pr
1477 mostlyclean-host: maybe-mostlyclean-shellutils
1478 mostlyclean-host: maybe-mostlyclean-sid
1479 mostlyclean-host: maybe-mostlyclean-sim
1480 mostlyclean-host: maybe-mostlyclean-tar
1481 mostlyclean-host: maybe-mostlyclean-texinfo
1482 mostlyclean-host: maybe-mostlyclean-textutils
1483 mostlyclean-host: maybe-mostlyclean-time
1484 mostlyclean-host: maybe-mostlyclean-uudecode
1485 mostlyclean-host: maybe-mostlyclean-wdiff
1486 mostlyclean-host: maybe-mostlyclean-zip
1487 mostlyclean-host: maybe-mostlyclean-zlib
1488 mostlyclean-host: maybe-mostlyclean-gdb
1489 mostlyclean-host: maybe-mostlyclean-expect
1490 mostlyclean-host: maybe-mostlyclean-guile
1491 mostlyclean-host: maybe-mostlyclean-tk
1492 mostlyclean-host: maybe-mostlyclean-libtermcap
1493 mostlyclean-host: maybe-mostlyclean-utils
1494 mostlyclean-host: maybe-mostlyclean-gnattools
1496 .PHONY: mostlyclean-target
1498 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1499 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1500 mostlyclean-target: maybe-mostlyclean-target-libssp
1501 mostlyclean-target: maybe-mostlyclean-target-libgcc-math
1502 mostlyclean-target: maybe-mostlyclean-target-newlib
1503 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1504 mostlyclean-target: maybe-mostlyclean-target-libobjc
1505 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1506 mostlyclean-target: maybe-mostlyclean-target-winsup
1507 mostlyclean-target: maybe-mostlyclean-target-libgloss
1508 mostlyclean-target: maybe-mostlyclean-target-libiberty
1509 mostlyclean-target: maybe-mostlyclean-target-gperf
1510 mostlyclean-target: maybe-mostlyclean-target-examples
1511 mostlyclean-target: maybe-mostlyclean-target-libffi
1512 mostlyclean-target: maybe-mostlyclean-target-libjava
1513 mostlyclean-target: maybe-mostlyclean-target-zlib
1514 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1515 mostlyclean-target: maybe-mostlyclean-target-qthreads
1516 mostlyclean-target: maybe-mostlyclean-target-rda
1517 mostlyclean-target: maybe-mostlyclean-target-libada
1518 mostlyclean-target: maybe-mostlyclean-target-libgomp
1520 .PHONY: do-clean
1521 do-clean:
1522 @: $(MAKE); $(unstage)
1523 @r=`${PWD_COMMAND}`; export r; \
1524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1525 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1526 clean-target
1529 .PHONY: clean-host
1531 clean-host: maybe-clean-ash
1532 clean-host: maybe-clean-autoconf
1533 clean-host: maybe-clean-automake
1534 clean-host: maybe-clean-bash
1535 clean-host: maybe-clean-bfd
1536 clean-host: maybe-clean-opcodes
1537 clean-host: maybe-clean-binutils
1538 clean-host: maybe-clean-bison
1539 clean-host: maybe-clean-byacc
1540 clean-host: maybe-clean-bzip2
1541 clean-host: maybe-clean-dejagnu
1542 clean-host: maybe-clean-diff
1543 clean-host: maybe-clean-dosutils
1544 clean-host: maybe-clean-etc
1545 clean-host: maybe-clean-fastjar
1546 clean-host: maybe-clean-fileutils
1547 clean-host: maybe-clean-findutils
1548 clean-host: maybe-clean-find
1549 clean-host: maybe-clean-fixincludes
1550 clean-host: maybe-clean-flex
1551 clean-host: maybe-clean-gas
1552 clean-host: maybe-clean-gcc
1553 clean-host: maybe-clean-gawk
1554 clean-host: maybe-clean-gettext
1555 clean-host: maybe-clean-gnuserv
1556 clean-host: maybe-clean-gprof
1557 clean-host: maybe-clean-gzip
1558 clean-host: maybe-clean-hello
1559 clean-host: maybe-clean-indent
1560 clean-host: maybe-clean-intl
1561 clean-host: maybe-clean-tcl
1562 clean-host: maybe-clean-itcl
1563 clean-host: maybe-clean-ld
1564 clean-host: maybe-clean-libcpp
1565 clean-host: maybe-clean-libdecnumber
1566 clean-host: maybe-clean-libgui
1567 clean-host: maybe-clean-libiberty
1568 clean-host: maybe-clean-libtool
1569 clean-host: maybe-clean-m4
1570 clean-host: maybe-clean-make
1571 clean-host: maybe-clean-mmalloc
1572 clean-host: maybe-clean-patch
1573 clean-host: maybe-clean-perl
1574 clean-host: maybe-clean-prms
1575 clean-host: maybe-clean-rcs
1576 clean-host: maybe-clean-readline
1577 clean-host: maybe-clean-release
1578 clean-host: maybe-clean-recode
1579 clean-host: maybe-clean-sed
1580 clean-host: maybe-clean-send-pr
1581 clean-host: maybe-clean-shellutils
1582 clean-host: maybe-clean-sid
1583 clean-host: maybe-clean-sim
1584 clean-host: maybe-clean-tar
1585 clean-host: maybe-clean-texinfo
1586 clean-host: maybe-clean-textutils
1587 clean-host: maybe-clean-time
1588 clean-host: maybe-clean-uudecode
1589 clean-host: maybe-clean-wdiff
1590 clean-host: maybe-clean-zip
1591 clean-host: maybe-clean-zlib
1592 clean-host: maybe-clean-gdb
1593 clean-host: maybe-clean-expect
1594 clean-host: maybe-clean-guile
1595 clean-host: maybe-clean-tk
1596 clean-host: maybe-clean-libtermcap
1597 clean-host: maybe-clean-utils
1598 clean-host: maybe-clean-gnattools
1600 .PHONY: clean-target
1602 clean-target: maybe-clean-target-libstdc++-v3
1603 clean-target: maybe-clean-target-libmudflap
1604 clean-target: maybe-clean-target-libssp
1605 clean-target: maybe-clean-target-libgcc-math
1606 clean-target: maybe-clean-target-newlib
1607 clean-target: maybe-clean-target-libgfortran
1608 clean-target: maybe-clean-target-libobjc
1609 clean-target: maybe-clean-target-libtermcap
1610 clean-target: maybe-clean-target-winsup
1611 clean-target: maybe-clean-target-libgloss
1612 clean-target: maybe-clean-target-libiberty
1613 clean-target: maybe-clean-target-gperf
1614 clean-target: maybe-clean-target-examples
1615 clean-target: maybe-clean-target-libffi
1616 clean-target: maybe-clean-target-libjava
1617 clean-target: maybe-clean-target-zlib
1618 clean-target: maybe-clean-target-boehm-gc
1619 clean-target: maybe-clean-target-qthreads
1620 clean-target: maybe-clean-target-rda
1621 clean-target: maybe-clean-target-libada
1622 clean-target: maybe-clean-target-libgomp
1624 .PHONY: do-distclean
1625 do-distclean:
1626 @: $(MAKE); $(unstage)
1627 @r=`${PWD_COMMAND}`; export r; \
1628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1629 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1630 distclean-target
1633 .PHONY: distclean-host
1635 distclean-host: maybe-distclean-ash
1636 distclean-host: maybe-distclean-autoconf
1637 distclean-host: maybe-distclean-automake
1638 distclean-host: maybe-distclean-bash
1639 distclean-host: maybe-distclean-bfd
1640 distclean-host: maybe-distclean-opcodes
1641 distclean-host: maybe-distclean-binutils
1642 distclean-host: maybe-distclean-bison
1643 distclean-host: maybe-distclean-byacc
1644 distclean-host: maybe-distclean-bzip2
1645 distclean-host: maybe-distclean-dejagnu
1646 distclean-host: maybe-distclean-diff
1647 distclean-host: maybe-distclean-dosutils
1648 distclean-host: maybe-distclean-etc
1649 distclean-host: maybe-distclean-fastjar
1650 distclean-host: maybe-distclean-fileutils
1651 distclean-host: maybe-distclean-findutils
1652 distclean-host: maybe-distclean-find
1653 distclean-host: maybe-distclean-fixincludes
1654 distclean-host: maybe-distclean-flex
1655 distclean-host: maybe-distclean-gas
1656 distclean-host: maybe-distclean-gcc
1657 distclean-host: maybe-distclean-gawk
1658 distclean-host: maybe-distclean-gettext
1659 distclean-host: maybe-distclean-gnuserv
1660 distclean-host: maybe-distclean-gprof
1661 distclean-host: maybe-distclean-gzip
1662 distclean-host: maybe-distclean-hello
1663 distclean-host: maybe-distclean-indent
1664 distclean-host: maybe-distclean-intl
1665 distclean-host: maybe-distclean-tcl
1666 distclean-host: maybe-distclean-itcl
1667 distclean-host: maybe-distclean-ld
1668 distclean-host: maybe-distclean-libcpp
1669 distclean-host: maybe-distclean-libdecnumber
1670 distclean-host: maybe-distclean-libgui
1671 distclean-host: maybe-distclean-libiberty
1672 distclean-host: maybe-distclean-libtool
1673 distclean-host: maybe-distclean-m4
1674 distclean-host: maybe-distclean-make
1675 distclean-host: maybe-distclean-mmalloc
1676 distclean-host: maybe-distclean-patch
1677 distclean-host: maybe-distclean-perl
1678 distclean-host: maybe-distclean-prms
1679 distclean-host: maybe-distclean-rcs
1680 distclean-host: maybe-distclean-readline
1681 distclean-host: maybe-distclean-release
1682 distclean-host: maybe-distclean-recode
1683 distclean-host: maybe-distclean-sed
1684 distclean-host: maybe-distclean-send-pr
1685 distclean-host: maybe-distclean-shellutils
1686 distclean-host: maybe-distclean-sid
1687 distclean-host: maybe-distclean-sim
1688 distclean-host: maybe-distclean-tar
1689 distclean-host: maybe-distclean-texinfo
1690 distclean-host: maybe-distclean-textutils
1691 distclean-host: maybe-distclean-time
1692 distclean-host: maybe-distclean-uudecode
1693 distclean-host: maybe-distclean-wdiff
1694 distclean-host: maybe-distclean-zip
1695 distclean-host: maybe-distclean-zlib
1696 distclean-host: maybe-distclean-gdb
1697 distclean-host: maybe-distclean-expect
1698 distclean-host: maybe-distclean-guile
1699 distclean-host: maybe-distclean-tk
1700 distclean-host: maybe-distclean-libtermcap
1701 distclean-host: maybe-distclean-utils
1702 distclean-host: maybe-distclean-gnattools
1704 .PHONY: distclean-target
1706 distclean-target: maybe-distclean-target-libstdc++-v3
1707 distclean-target: maybe-distclean-target-libmudflap
1708 distclean-target: maybe-distclean-target-libssp
1709 distclean-target: maybe-distclean-target-libgcc-math
1710 distclean-target: maybe-distclean-target-newlib
1711 distclean-target: maybe-distclean-target-libgfortran
1712 distclean-target: maybe-distclean-target-libobjc
1713 distclean-target: maybe-distclean-target-libtermcap
1714 distclean-target: maybe-distclean-target-winsup
1715 distclean-target: maybe-distclean-target-libgloss
1716 distclean-target: maybe-distclean-target-libiberty
1717 distclean-target: maybe-distclean-target-gperf
1718 distclean-target: maybe-distclean-target-examples
1719 distclean-target: maybe-distclean-target-libffi
1720 distclean-target: maybe-distclean-target-libjava
1721 distclean-target: maybe-distclean-target-zlib
1722 distclean-target: maybe-distclean-target-boehm-gc
1723 distclean-target: maybe-distclean-target-qthreads
1724 distclean-target: maybe-distclean-target-rda
1725 distclean-target: maybe-distclean-target-libada
1726 distclean-target: maybe-distclean-target-libgomp
1728 .PHONY: do-maintainer-clean
1729 do-maintainer-clean:
1730 @: $(MAKE); $(unstage)
1731 @r=`${PWD_COMMAND}`; export r; \
1732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1733 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1734 maintainer-clean-target
1737 .PHONY: maintainer-clean-host
1739 maintainer-clean-host: maybe-maintainer-clean-ash
1740 maintainer-clean-host: maybe-maintainer-clean-autoconf
1741 maintainer-clean-host: maybe-maintainer-clean-automake
1742 maintainer-clean-host: maybe-maintainer-clean-bash
1743 maintainer-clean-host: maybe-maintainer-clean-bfd
1744 maintainer-clean-host: maybe-maintainer-clean-opcodes
1745 maintainer-clean-host: maybe-maintainer-clean-binutils
1746 maintainer-clean-host: maybe-maintainer-clean-bison
1747 maintainer-clean-host: maybe-maintainer-clean-byacc
1748 maintainer-clean-host: maybe-maintainer-clean-bzip2
1749 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1750 maintainer-clean-host: maybe-maintainer-clean-diff
1751 maintainer-clean-host: maybe-maintainer-clean-dosutils
1752 maintainer-clean-host: maybe-maintainer-clean-etc
1753 maintainer-clean-host: maybe-maintainer-clean-fastjar
1754 maintainer-clean-host: maybe-maintainer-clean-fileutils
1755 maintainer-clean-host: maybe-maintainer-clean-findutils
1756 maintainer-clean-host: maybe-maintainer-clean-find
1757 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1758 maintainer-clean-host: maybe-maintainer-clean-flex
1759 maintainer-clean-host: maybe-maintainer-clean-gas
1760 maintainer-clean-host: maybe-maintainer-clean-gcc
1761 maintainer-clean-host: maybe-maintainer-clean-gawk
1762 maintainer-clean-host: maybe-maintainer-clean-gettext
1763 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1764 maintainer-clean-host: maybe-maintainer-clean-gprof
1765 maintainer-clean-host: maybe-maintainer-clean-gzip
1766 maintainer-clean-host: maybe-maintainer-clean-hello
1767 maintainer-clean-host: maybe-maintainer-clean-indent
1768 maintainer-clean-host: maybe-maintainer-clean-intl
1769 maintainer-clean-host: maybe-maintainer-clean-tcl
1770 maintainer-clean-host: maybe-maintainer-clean-itcl
1771 maintainer-clean-host: maybe-maintainer-clean-ld
1772 maintainer-clean-host: maybe-maintainer-clean-libcpp
1773 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1774 maintainer-clean-host: maybe-maintainer-clean-libgui
1775 maintainer-clean-host: maybe-maintainer-clean-libiberty
1776 maintainer-clean-host: maybe-maintainer-clean-libtool
1777 maintainer-clean-host: maybe-maintainer-clean-m4
1778 maintainer-clean-host: maybe-maintainer-clean-make
1779 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1780 maintainer-clean-host: maybe-maintainer-clean-patch
1781 maintainer-clean-host: maybe-maintainer-clean-perl
1782 maintainer-clean-host: maybe-maintainer-clean-prms
1783 maintainer-clean-host: maybe-maintainer-clean-rcs
1784 maintainer-clean-host: maybe-maintainer-clean-readline
1785 maintainer-clean-host: maybe-maintainer-clean-release
1786 maintainer-clean-host: maybe-maintainer-clean-recode
1787 maintainer-clean-host: maybe-maintainer-clean-sed
1788 maintainer-clean-host: maybe-maintainer-clean-send-pr
1789 maintainer-clean-host: maybe-maintainer-clean-shellutils
1790 maintainer-clean-host: maybe-maintainer-clean-sid
1791 maintainer-clean-host: maybe-maintainer-clean-sim
1792 maintainer-clean-host: maybe-maintainer-clean-tar
1793 maintainer-clean-host: maybe-maintainer-clean-texinfo
1794 maintainer-clean-host: maybe-maintainer-clean-textutils
1795 maintainer-clean-host: maybe-maintainer-clean-time
1796 maintainer-clean-host: maybe-maintainer-clean-uudecode
1797 maintainer-clean-host: maybe-maintainer-clean-wdiff
1798 maintainer-clean-host: maybe-maintainer-clean-zip
1799 maintainer-clean-host: maybe-maintainer-clean-zlib
1800 maintainer-clean-host: maybe-maintainer-clean-gdb
1801 maintainer-clean-host: maybe-maintainer-clean-expect
1802 maintainer-clean-host: maybe-maintainer-clean-guile
1803 maintainer-clean-host: maybe-maintainer-clean-tk
1804 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1805 maintainer-clean-host: maybe-maintainer-clean-utils
1806 maintainer-clean-host: maybe-maintainer-clean-gnattools
1808 .PHONY: maintainer-clean-target
1810 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1811 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1812 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1813 maintainer-clean-target: maybe-maintainer-clean-target-libgcc-math
1814 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1815 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1816 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1817 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1818 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1819 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1820 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1821 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1822 maintainer-clean-target: maybe-maintainer-clean-target-examples
1823 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1824 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1825 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1826 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1827 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1828 maintainer-clean-target: maybe-maintainer-clean-target-rda
1829 maintainer-clean-target: maybe-maintainer-clean-target-libada
1830 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1833 # Here are the targets which correspond to the do-X targets.
1835 .PHONY: info installcheck dvi html install-info
1836 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1837 .PHONY: local-clean local-distclean local-maintainer-clean
1838 info: do-info
1839 installcheck: do-installcheck
1840 dvi: do-dvi
1841 html: do-html
1843 # Make sure makeinfo is built before we do a `make info', if we're
1844 # in fact building texinfo.
1845 do-info: maybe-all-texinfo
1847 install-info: do-install-info dir.info
1848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1849 if [ -f dir.info ] ; then \
1850 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1851 else true ; fi
1853 local-clean:
1854 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1856 local-distclean:
1857 -rm -f Makefile config.status config.cache mh-frag mt-frag
1858 -rm -f maybedep.tmp serdep.tmp
1859 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1860 rm -rf $(TARGET_SUBDIR); \
1861 else true; fi
1862 -rm -rf $(BUILD_SUBDIR)
1863 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1864 rm -rf $(HOST_SUBDIR); \
1865 else true; fi
1866 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1867 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1868 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1869 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1870 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1872 local-maintainer-clean:
1873 @echo "This command is intended for maintainers to use;"
1874 @echo "it deletes files that may require special tools to rebuild."
1876 clean: do-clean local-clean
1877 mostlyclean: do-mostlyclean local-clean
1878 distclean: do-distclean local-clean local-distclean
1879 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1880 maintainer-clean: local-distclean
1881 realclean: maintainer-clean
1883 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1884 clean-target: clean-target-libgcc
1885 clean-target-libgcc:
1886 test ! -d gcc || (cd gcc && $(MAKE) $@)
1888 # Check target.
1890 .PHONY: check do-check
1891 check: do-check
1893 # Only include modules actually being configured and built.
1894 .PHONY: check-host
1895 check-host: \
1896 maybe-check-ash \
1897 maybe-check-autoconf \
1898 maybe-check-automake \
1899 maybe-check-bash \
1900 maybe-check-bfd \
1901 maybe-check-opcodes \
1902 maybe-check-binutils \
1903 maybe-check-bison \
1904 maybe-check-byacc \
1905 maybe-check-bzip2 \
1906 maybe-check-dejagnu \
1907 maybe-check-diff \
1908 maybe-check-dosutils \
1909 maybe-check-etc \
1910 maybe-check-fastjar \
1911 maybe-check-fileutils \
1912 maybe-check-findutils \
1913 maybe-check-find \
1914 maybe-check-fixincludes \
1915 maybe-check-flex \
1916 maybe-check-gas \
1917 maybe-check-gcc \
1918 maybe-check-gawk \
1919 maybe-check-gettext \
1920 maybe-check-gnuserv \
1921 maybe-check-gprof \
1922 maybe-check-gzip \
1923 maybe-check-hello \
1924 maybe-check-indent \
1925 maybe-check-intl \
1926 maybe-check-tcl \
1927 maybe-check-itcl \
1928 maybe-check-ld \
1929 maybe-check-libcpp \
1930 maybe-check-libdecnumber \
1931 maybe-check-libgui \
1932 maybe-check-libiberty \
1933 maybe-check-libtool \
1934 maybe-check-m4 \
1935 maybe-check-make \
1936 maybe-check-mmalloc \
1937 maybe-check-patch \
1938 maybe-check-perl \
1939 maybe-check-prms \
1940 maybe-check-rcs \
1941 maybe-check-readline \
1942 maybe-check-release \
1943 maybe-check-recode \
1944 maybe-check-sed \
1945 maybe-check-send-pr \
1946 maybe-check-shellutils \
1947 maybe-check-sid \
1948 maybe-check-sim \
1949 maybe-check-tar \
1950 maybe-check-texinfo \
1951 maybe-check-textutils \
1952 maybe-check-time \
1953 maybe-check-uudecode \
1954 maybe-check-wdiff \
1955 maybe-check-zip \
1956 maybe-check-zlib \
1957 maybe-check-gdb \
1958 maybe-check-expect \
1959 maybe-check-guile \
1960 maybe-check-tk \
1961 maybe-check-libtermcap \
1962 maybe-check-utils \
1963 maybe-check-gnattools
1965 .PHONY: check-target
1966 check-target: \
1967 maybe-check-target-libstdc++-v3 \
1968 maybe-check-target-libmudflap \
1969 maybe-check-target-libssp \
1970 maybe-check-target-libgcc-math \
1971 maybe-check-target-newlib \
1972 maybe-check-target-libgfortran \
1973 maybe-check-target-libobjc \
1974 maybe-check-target-libtermcap \
1975 maybe-check-target-winsup \
1976 maybe-check-target-libgloss \
1977 maybe-check-target-libiberty \
1978 maybe-check-target-gperf \
1979 maybe-check-target-examples \
1980 maybe-check-target-libffi \
1981 maybe-check-target-libjava \
1982 maybe-check-target-zlib \
1983 maybe-check-target-boehm-gc \
1984 maybe-check-target-qthreads \
1985 maybe-check-target-rda \
1986 maybe-check-target-libada \
1987 maybe-check-target-libgomp
1989 do-check:
1990 @: $(MAKE); $(unstage)
1991 @r=`${PWD_COMMAND}`; export r; \
1992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1993 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
1995 # Automated reporting of test results.
1997 warning.log: build.log
1998 $(srcdir)/contrib/warn_summary build.log > $@
2000 mail-report.log:
2001 if test x'$(BOOT_CFLAGS)' != x''; then \
2002 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2003 fi; \
2004 $(srcdir)/contrib/test_summary -t >$@
2005 chmod +x $@
2006 echo If you really want to send e-mail, run ./$@ now
2008 mail-report-with-warnings.log: warning.log
2009 if test x'$(BOOT_CFLAGS)' != x''; then \
2010 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2011 fi; \
2012 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2013 chmod +x $@
2014 echo If you really want to send e-mail, run ./$@ now
2016 # Installation targets.
2018 .PHONY: install uninstall
2019 install:
2020 @: $(MAKE); $(unstage)
2021 @r=`${PWD_COMMAND}`; export r; \
2022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2023 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2025 .PHONY: install-host-nogcc
2026 install-host-nogcc: \
2027 maybe-install-ash \
2028 maybe-install-autoconf \
2029 maybe-install-automake \
2030 maybe-install-bash \
2031 maybe-install-bfd \
2032 maybe-install-opcodes \
2033 maybe-install-binutils \
2034 maybe-install-bison \
2035 maybe-install-byacc \
2036 maybe-install-bzip2 \
2037 maybe-install-dejagnu \
2038 maybe-install-diff \
2039 maybe-install-dosutils \
2040 maybe-install-etc \
2041 maybe-install-fastjar \
2042 maybe-install-fileutils \
2043 maybe-install-findutils \
2044 maybe-install-find \
2045 maybe-install-fixincludes \
2046 maybe-install-flex \
2047 maybe-install-gas \
2048 maybe-install-gawk \
2049 maybe-install-gettext \
2050 maybe-install-gnuserv \
2051 maybe-install-gprof \
2052 maybe-install-gzip \
2053 maybe-install-hello \
2054 maybe-install-indent \
2055 maybe-install-intl \
2056 maybe-install-tcl \
2057 maybe-install-itcl \
2058 maybe-install-ld \
2059 maybe-install-libcpp \
2060 maybe-install-libdecnumber \
2061 maybe-install-libgui \
2062 maybe-install-libiberty \
2063 maybe-install-libtool \
2064 maybe-install-m4 \
2065 maybe-install-make \
2066 maybe-install-mmalloc \
2067 maybe-install-patch \
2068 maybe-install-perl \
2069 maybe-install-prms \
2070 maybe-install-rcs \
2071 maybe-install-readline \
2072 maybe-install-release \
2073 maybe-install-recode \
2074 maybe-install-sed \
2075 maybe-install-send-pr \
2076 maybe-install-shellutils \
2077 maybe-install-sid \
2078 maybe-install-sim \
2079 maybe-install-tar \
2080 maybe-install-texinfo \
2081 maybe-install-textutils \
2082 maybe-install-time \
2083 maybe-install-uudecode \
2084 maybe-install-wdiff \
2085 maybe-install-zip \
2086 maybe-install-zlib \
2087 maybe-install-gdb \
2088 maybe-install-expect \
2089 maybe-install-guile \
2090 maybe-install-tk \
2091 maybe-install-libtermcap \
2092 maybe-install-utils \
2093 maybe-install-gnattools
2095 .PHONY: install-host
2096 install-host: \
2097 maybe-install-ash \
2098 maybe-install-autoconf \
2099 maybe-install-automake \
2100 maybe-install-bash \
2101 maybe-install-bfd \
2102 maybe-install-opcodes \
2103 maybe-install-binutils \
2104 maybe-install-bison \
2105 maybe-install-byacc \
2106 maybe-install-bzip2 \
2107 maybe-install-dejagnu \
2108 maybe-install-diff \
2109 maybe-install-dosutils \
2110 maybe-install-etc \
2111 maybe-install-fastjar \
2112 maybe-install-fileutils \
2113 maybe-install-findutils \
2114 maybe-install-find \
2115 maybe-install-fixincludes \
2116 maybe-install-flex \
2117 maybe-install-gas \
2118 maybe-install-gcc \
2119 maybe-install-gawk \
2120 maybe-install-gettext \
2121 maybe-install-gnuserv \
2122 maybe-install-gprof \
2123 maybe-install-gzip \
2124 maybe-install-hello \
2125 maybe-install-indent \
2126 maybe-install-intl \
2127 maybe-install-tcl \
2128 maybe-install-itcl \
2129 maybe-install-ld \
2130 maybe-install-libcpp \
2131 maybe-install-libdecnumber \
2132 maybe-install-libgui \
2133 maybe-install-libiberty \
2134 maybe-install-libtool \
2135 maybe-install-m4 \
2136 maybe-install-make \
2137 maybe-install-mmalloc \
2138 maybe-install-patch \
2139 maybe-install-perl \
2140 maybe-install-prms \
2141 maybe-install-rcs \
2142 maybe-install-readline \
2143 maybe-install-release \
2144 maybe-install-recode \
2145 maybe-install-sed \
2146 maybe-install-send-pr \
2147 maybe-install-shellutils \
2148 maybe-install-sid \
2149 maybe-install-sim \
2150 maybe-install-tar \
2151 maybe-install-texinfo \
2152 maybe-install-textutils \
2153 maybe-install-time \
2154 maybe-install-uudecode \
2155 maybe-install-wdiff \
2156 maybe-install-zip \
2157 maybe-install-zlib \
2158 maybe-install-gdb \
2159 maybe-install-expect \
2160 maybe-install-guile \
2161 maybe-install-tk \
2162 maybe-install-libtermcap \
2163 maybe-install-utils \
2164 maybe-install-gnattools
2166 .PHONY: install-target
2167 install-target: \
2168 maybe-install-target-libstdc++-v3 \
2169 maybe-install-target-libmudflap \
2170 maybe-install-target-libssp \
2171 maybe-install-target-libgcc-math \
2172 maybe-install-target-newlib \
2173 maybe-install-target-libgfortran \
2174 maybe-install-target-libobjc \
2175 maybe-install-target-libtermcap \
2176 maybe-install-target-winsup \
2177 maybe-install-target-libgloss \
2178 maybe-install-target-libiberty \
2179 maybe-install-target-gperf \
2180 maybe-install-target-examples \
2181 maybe-install-target-libffi \
2182 maybe-install-target-libjava \
2183 maybe-install-target-zlib \
2184 maybe-install-target-boehm-gc \
2185 maybe-install-target-qthreads \
2186 maybe-install-target-rda \
2187 maybe-install-target-libada \
2188 maybe-install-target-libgomp
2190 uninstall:
2191 @echo "the uninstall target is not supported in this tree"
2193 .PHONY: install.all
2194 install.all: install-no-fixedincludes
2195 @if [ -f ./gcc/Makefile ] ; then \
2196 r=`${PWD_COMMAND}` ; export r ; \
2197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2198 $(HOST_EXPORTS) \
2199 (cd ./gcc && \
2200 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2201 else \
2202 true ; \
2205 # install-no-fixedincludes is used because Cygnus can not distribute
2206 # the fixed header files.
2207 .PHONY: install-no-fixedincludes
2208 install-no-fixedincludes: installdirs install-host-nogcc \
2209 install-target gcc-no-fixedincludes
2211 ### other supporting targets
2213 MAKEDIRS= \
2214 $(DESTDIR)$(prefix) \
2215 $(DESTDIR)$(exec_prefix)
2216 .PHONY: installdirs
2217 installdirs: mkinstalldirs
2218 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2220 dir.info: do-install-info
2221 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2222 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2223 mv -f dir.info.new dir.info ; \
2224 else true ; \
2227 dist:
2228 @echo "Building a full distribution of this tree isn't done"
2229 @echo "via 'make dist'. Check out the etc/ subdirectory"
2231 etags tags: TAGS
2233 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2234 # ability to use several tags files at once, so there is probably no need
2235 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2236 # (if we felt like it) have this Makefile write a piece of elisp which
2237 # the user could load to tell emacs19 where all the TAGS files we just
2238 # built are.
2239 TAGS: do-TAGS
2241 # ------------------------------------
2242 # Macros for configure and all targets
2243 # ------------------------------------
2249 # --------------------------------------
2250 # Modules which run on the build machine
2251 # --------------------------------------
2254 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2255 maybe-configure-build-libiberty:
2256 @if build-libiberty
2257 maybe-configure-build-libiberty: configure-build-libiberty
2258 configure-build-libiberty:
2259 @: $(MAKE); $(unstage)
2260 @r=`${PWD_COMMAND}`; export r; \
2261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2262 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2263 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2264 $(BUILD_EXPORTS) \
2265 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2266 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2267 case $(srcdir) in \
2268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2269 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2271 esac; \
2272 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2273 libsrcdir="$$s/libiberty"; \
2274 rm -f no-such-file || : ; \
2275 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2276 $(BUILD_CONFIGARGS) $${srcdiroption} \
2277 || exit 1
2278 @endif build-libiberty
2284 .PHONY: all-build-libiberty maybe-all-build-libiberty
2285 maybe-all-build-libiberty:
2286 @if build-libiberty
2287 TARGET-build-libiberty=all
2288 maybe-all-build-libiberty: all-build-libiberty
2289 all-build-libiberty: configure-build-libiberty
2290 @: $(MAKE); $(unstage)
2291 @r=`${PWD_COMMAND}`; export r; \
2292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2293 $(BUILD_EXPORTS) \
2294 (cd $(BUILD_SUBDIR)/libiberty && \
2295 $(MAKE) $(TARGET-build-libiberty))
2296 @endif build-libiberty
2302 .PHONY: configure-build-bison maybe-configure-build-bison
2303 maybe-configure-build-bison:
2304 @if build-bison
2305 maybe-configure-build-bison: configure-build-bison
2306 configure-build-bison:
2307 @: $(MAKE); $(unstage)
2308 @r=`${PWD_COMMAND}`; export r; \
2309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2310 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2311 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2312 $(BUILD_EXPORTS) \
2313 echo Configuring in $(BUILD_SUBDIR)/bison; \
2314 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2315 case $(srcdir) in \
2316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2317 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2319 esac; \
2320 srcdiroption="--srcdir=$${topdir}/bison"; \
2321 libsrcdir="$$s/bison"; \
2322 rm -f no-such-file || : ; \
2323 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2324 $(BUILD_CONFIGARGS) $${srcdiroption} \
2325 || exit 1
2326 @endif build-bison
2332 .PHONY: all-build-bison maybe-all-build-bison
2333 maybe-all-build-bison:
2334 @if build-bison
2335 TARGET-build-bison=all
2336 maybe-all-build-bison: all-build-bison
2337 all-build-bison: configure-build-bison
2338 @: $(MAKE); $(unstage)
2339 @r=`${PWD_COMMAND}`; export r; \
2340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2341 $(BUILD_EXPORTS) \
2342 (cd $(BUILD_SUBDIR)/bison && \
2343 $(MAKE) $(TARGET-build-bison))
2344 @endif build-bison
2350 .PHONY: configure-build-byacc maybe-configure-build-byacc
2351 maybe-configure-build-byacc:
2352 @if build-byacc
2353 maybe-configure-build-byacc: configure-build-byacc
2354 configure-build-byacc:
2355 @: $(MAKE); $(unstage)
2356 @r=`${PWD_COMMAND}`; export r; \
2357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2358 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2359 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2360 $(BUILD_EXPORTS) \
2361 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2362 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2363 case $(srcdir) in \
2364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2365 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2367 esac; \
2368 srcdiroption="--srcdir=$${topdir}/byacc"; \
2369 libsrcdir="$$s/byacc"; \
2370 rm -f no-such-file || : ; \
2371 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2372 $(BUILD_CONFIGARGS) $${srcdiroption} \
2373 || exit 1
2374 @endif build-byacc
2380 .PHONY: all-build-byacc maybe-all-build-byacc
2381 maybe-all-build-byacc:
2382 @if build-byacc
2383 TARGET-build-byacc=all
2384 maybe-all-build-byacc: all-build-byacc
2385 all-build-byacc: configure-build-byacc
2386 @: $(MAKE); $(unstage)
2387 @r=`${PWD_COMMAND}`; export r; \
2388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2389 $(BUILD_EXPORTS) \
2390 (cd $(BUILD_SUBDIR)/byacc && \
2391 $(MAKE) $(TARGET-build-byacc))
2392 @endif build-byacc
2398 .PHONY: configure-build-flex maybe-configure-build-flex
2399 maybe-configure-build-flex:
2400 @if build-flex
2401 maybe-configure-build-flex: configure-build-flex
2402 configure-build-flex:
2403 @: $(MAKE); $(unstage)
2404 @r=`${PWD_COMMAND}`; export r; \
2405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2406 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2407 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2408 $(BUILD_EXPORTS) \
2409 echo Configuring in $(BUILD_SUBDIR)/flex; \
2410 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2411 case $(srcdir) in \
2412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2413 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2415 esac; \
2416 srcdiroption="--srcdir=$${topdir}/flex"; \
2417 libsrcdir="$$s/flex"; \
2418 rm -f no-such-file || : ; \
2419 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2420 $(BUILD_CONFIGARGS) $${srcdiroption} \
2421 || exit 1
2422 @endif build-flex
2428 .PHONY: all-build-flex maybe-all-build-flex
2429 maybe-all-build-flex:
2430 @if build-flex
2431 TARGET-build-flex=all
2432 maybe-all-build-flex: all-build-flex
2433 all-build-flex: configure-build-flex
2434 @: $(MAKE); $(unstage)
2435 @r=`${PWD_COMMAND}`; export r; \
2436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2437 $(BUILD_EXPORTS) \
2438 (cd $(BUILD_SUBDIR)/flex && \
2439 $(MAKE) $(TARGET-build-flex))
2440 @endif build-flex
2446 .PHONY: configure-build-m4 maybe-configure-build-m4
2447 maybe-configure-build-m4:
2448 @if build-m4
2449 maybe-configure-build-m4: configure-build-m4
2450 configure-build-m4:
2451 @: $(MAKE); $(unstage)
2452 @r=`${PWD_COMMAND}`; export r; \
2453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2454 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2455 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2456 $(BUILD_EXPORTS) \
2457 echo Configuring in $(BUILD_SUBDIR)/m4; \
2458 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2459 case $(srcdir) in \
2460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2461 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2463 esac; \
2464 srcdiroption="--srcdir=$${topdir}/m4"; \
2465 libsrcdir="$$s/m4"; \
2466 rm -f no-such-file || : ; \
2467 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2468 $(BUILD_CONFIGARGS) $${srcdiroption} \
2469 || exit 1
2470 @endif build-m4
2476 .PHONY: all-build-m4 maybe-all-build-m4
2477 maybe-all-build-m4:
2478 @if build-m4
2479 TARGET-build-m4=all
2480 maybe-all-build-m4: all-build-m4
2481 all-build-m4: configure-build-m4
2482 @: $(MAKE); $(unstage)
2483 @r=`${PWD_COMMAND}`; export r; \
2484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2485 $(BUILD_EXPORTS) \
2486 (cd $(BUILD_SUBDIR)/m4 && \
2487 $(MAKE) $(TARGET-build-m4))
2488 @endif build-m4
2494 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2495 maybe-configure-build-texinfo:
2496 @if build-texinfo
2497 maybe-configure-build-texinfo: configure-build-texinfo
2498 configure-build-texinfo:
2499 @: $(MAKE); $(unstage)
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2503 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2504 $(BUILD_EXPORTS) \
2505 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2506 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2507 case $(srcdir) in \
2508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2509 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2511 esac; \
2512 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2513 libsrcdir="$$s/texinfo"; \
2514 rm -f no-such-file || : ; \
2515 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2516 $(BUILD_CONFIGARGS) $${srcdiroption} \
2517 || exit 1
2518 @endif build-texinfo
2524 .PHONY: all-build-texinfo maybe-all-build-texinfo
2525 maybe-all-build-texinfo:
2526 @if build-texinfo
2527 TARGET-build-texinfo=all
2528 maybe-all-build-texinfo: all-build-texinfo
2529 all-build-texinfo: configure-build-texinfo
2530 @: $(MAKE); $(unstage)
2531 @r=`${PWD_COMMAND}`; export r; \
2532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2533 $(BUILD_EXPORTS) \
2534 (cd $(BUILD_SUBDIR)/texinfo && \
2535 $(MAKE) $(TARGET-build-texinfo))
2536 @endif build-texinfo
2542 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2543 maybe-configure-build-fixincludes:
2544 @if build-fixincludes
2545 maybe-configure-build-fixincludes: configure-build-fixincludes
2546 configure-build-fixincludes:
2547 @: $(MAKE); $(unstage)
2548 @r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2550 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2551 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2552 $(BUILD_EXPORTS) \
2553 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2554 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2555 case $(srcdir) in \
2556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2557 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2559 esac; \
2560 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2561 libsrcdir="$$s/fixincludes"; \
2562 rm -f no-such-file || : ; \
2563 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2564 $(BUILD_CONFIGARGS) $${srcdiroption} \
2565 || exit 1
2566 @endif build-fixincludes
2572 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2573 maybe-all-build-fixincludes:
2574 @if build-fixincludes
2575 TARGET-build-fixincludes=all
2576 maybe-all-build-fixincludes: all-build-fixincludes
2577 all-build-fixincludes: configure-build-fixincludes
2578 @: $(MAKE); $(unstage)
2579 @r=`${PWD_COMMAND}`; export r; \
2580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2581 $(BUILD_EXPORTS) \
2582 (cd $(BUILD_SUBDIR)/fixincludes && \
2583 $(MAKE) $(TARGET-build-fixincludes))
2584 @endif build-fixincludes
2590 # --------------------------------------
2591 # Modules which run on the host machine
2592 # --------------------------------------
2595 .PHONY: configure-ash maybe-configure-ash
2596 maybe-configure-ash:
2597 @if ash
2598 maybe-configure-ash: configure-ash
2599 configure-ash:
2600 @: $(MAKE); $(unstage)
2601 @r=`${PWD_COMMAND}`; export r; \
2602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2603 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2604 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2605 $(HOST_EXPORTS) \
2606 echo Configuring in $(HOST_SUBDIR)/ash; \
2607 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2608 case $(srcdir) in \
2609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2610 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2612 esac; \
2613 srcdiroption="--srcdir=$${topdir}/ash"; \
2614 libsrcdir="$$s/ash"; \
2615 $(SHELL) $${libsrcdir}/configure \
2616 $(HOST_CONFIGARGS) $${srcdiroption} \
2617 || exit 1
2618 @endif ash
2624 .PHONY: all-ash maybe-all-ash
2625 maybe-all-ash:
2626 @if ash
2627 TARGET-ash=all
2628 maybe-all-ash: all-ash
2629 all-ash: configure-ash
2630 @: $(MAKE); $(unstage)
2631 @r=`${PWD_COMMAND}`; export r; \
2632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2633 $(HOST_EXPORTS) \
2634 (cd $(HOST_SUBDIR)/ash && \
2635 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2636 @endif ash
2641 .PHONY: check-ash maybe-check-ash
2642 maybe-check-ash:
2643 @if ash
2644 maybe-check-ash: check-ash
2646 check-ash:
2647 @: $(MAKE); $(unstage)
2648 @r=`${PWD_COMMAND}`; export r; \
2649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2650 $(HOST_EXPORTS) \
2651 (cd $(HOST_SUBDIR)/ash && \
2652 $(MAKE) $(FLAGS_TO_PASS) check)
2654 @endif ash
2656 .PHONY: install-ash maybe-install-ash
2657 maybe-install-ash:
2658 @if ash
2659 maybe-install-ash: install-ash
2661 install-ash: installdirs
2662 @: $(MAKE); $(unstage)
2663 @r=`${PWD_COMMAND}`; export r; \
2664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2665 $(HOST_EXPORTS) \
2666 (cd $(HOST_SUBDIR)/ash && \
2667 $(MAKE) $(FLAGS_TO_PASS) install)
2669 @endif ash
2671 # Other targets (info, dvi, etc.)
2673 .PHONY: maybe-info-ash info-ash
2674 maybe-info-ash:
2675 @if ash
2676 maybe-info-ash: info-ash
2678 info-ash: \
2679 configure-ash
2680 @: $(MAKE); $(unstage)
2681 @[ -f ./ash/Makefile ] || exit 0; \
2682 r=`${PWD_COMMAND}`; export r; \
2683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2684 $(HOST_EXPORTS) \
2685 for flag in $(EXTRA_HOST_FLAGS) ; do \
2686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2687 done; \
2688 echo "Doing info in ash" ; \
2689 (cd $(HOST_SUBDIR)/ash && \
2690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2692 "RANLIB=$${RANLIB}" \
2693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2694 info) \
2695 || exit 1
2697 @endif ash
2699 .PHONY: maybe-dvi-ash dvi-ash
2700 maybe-dvi-ash:
2701 @if ash
2702 maybe-dvi-ash: dvi-ash
2704 dvi-ash: \
2705 configure-ash
2706 @: $(MAKE); $(unstage)
2707 @[ -f ./ash/Makefile ] || exit 0; \
2708 r=`${PWD_COMMAND}`; export r; \
2709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2710 $(HOST_EXPORTS) \
2711 for flag in $(EXTRA_HOST_FLAGS) ; do \
2712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2713 done; \
2714 echo "Doing dvi in ash" ; \
2715 (cd $(HOST_SUBDIR)/ash && \
2716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2718 "RANLIB=$${RANLIB}" \
2719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2720 dvi) \
2721 || exit 1
2723 @endif ash
2725 .PHONY: maybe-html-ash html-ash
2726 maybe-html-ash:
2727 @if ash
2728 maybe-html-ash: html-ash
2730 html-ash: \
2731 configure-ash
2732 @: $(MAKE); $(unstage)
2733 @[ -f ./ash/Makefile ] || exit 0; \
2734 r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 $(HOST_EXPORTS) \
2737 for flag in $(EXTRA_HOST_FLAGS) ; do \
2738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2739 done; \
2740 echo "Doing html in ash" ; \
2741 (cd $(HOST_SUBDIR)/ash && \
2742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2744 "RANLIB=$${RANLIB}" \
2745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2746 html) \
2747 || exit 1
2749 @endif ash
2751 .PHONY: maybe-TAGS-ash TAGS-ash
2752 maybe-TAGS-ash:
2753 @if ash
2754 maybe-TAGS-ash: TAGS-ash
2756 TAGS-ash: \
2757 configure-ash
2758 @: $(MAKE); $(unstage)
2759 @[ -f ./ash/Makefile ] || exit 0; \
2760 r=`${PWD_COMMAND}`; export r; \
2761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 $(HOST_EXPORTS) \
2763 for flag in $(EXTRA_HOST_FLAGS) ; do \
2764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2765 done; \
2766 echo "Doing TAGS in ash" ; \
2767 (cd $(HOST_SUBDIR)/ash && \
2768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2770 "RANLIB=$${RANLIB}" \
2771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2772 TAGS) \
2773 || exit 1
2775 @endif ash
2777 .PHONY: maybe-install-info-ash install-info-ash
2778 maybe-install-info-ash:
2779 @if ash
2780 maybe-install-info-ash: install-info-ash
2782 install-info-ash: \
2783 configure-ash \
2784 info-ash
2785 @: $(MAKE); $(unstage)
2786 @[ -f ./ash/Makefile ] || exit 0; \
2787 r=`${PWD_COMMAND}`; export r; \
2788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2789 $(HOST_EXPORTS) \
2790 for flag in $(EXTRA_HOST_FLAGS) ; do \
2791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2792 done; \
2793 echo "Doing install-info in ash" ; \
2794 (cd $(HOST_SUBDIR)/ash && \
2795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2797 "RANLIB=$${RANLIB}" \
2798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2799 install-info) \
2800 || exit 1
2802 @endif ash
2804 .PHONY: maybe-installcheck-ash installcheck-ash
2805 maybe-installcheck-ash:
2806 @if ash
2807 maybe-installcheck-ash: installcheck-ash
2809 installcheck-ash: \
2810 configure-ash
2811 @: $(MAKE); $(unstage)
2812 @[ -f ./ash/Makefile ] || exit 0; \
2813 r=`${PWD_COMMAND}`; export r; \
2814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2815 $(HOST_EXPORTS) \
2816 for flag in $(EXTRA_HOST_FLAGS) ; do \
2817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2818 done; \
2819 echo "Doing installcheck in ash" ; \
2820 (cd $(HOST_SUBDIR)/ash && \
2821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2823 "RANLIB=$${RANLIB}" \
2824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2825 installcheck) \
2826 || exit 1
2828 @endif ash
2830 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2831 maybe-mostlyclean-ash:
2832 @if ash
2833 maybe-mostlyclean-ash: mostlyclean-ash
2835 mostlyclean-ash:
2836 @: $(MAKE); $(unstage)
2837 @[ -f ./ash/Makefile ] || exit 0; \
2838 r=`${PWD_COMMAND}`; export r; \
2839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2840 $(HOST_EXPORTS) \
2841 for flag in $(EXTRA_HOST_FLAGS) ; do \
2842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2843 done; \
2844 echo "Doing mostlyclean in ash" ; \
2845 (cd $(HOST_SUBDIR)/ash && \
2846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2848 "RANLIB=$${RANLIB}" \
2849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2850 mostlyclean) \
2851 || exit 1
2853 @endif ash
2855 .PHONY: maybe-clean-ash clean-ash
2856 maybe-clean-ash:
2857 @if ash
2858 maybe-clean-ash: clean-ash
2860 clean-ash:
2861 @: $(MAKE); $(unstage)
2862 @[ -f ./ash/Makefile ] || exit 0; \
2863 r=`${PWD_COMMAND}`; export r; \
2864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2865 $(HOST_EXPORTS) \
2866 for flag in $(EXTRA_HOST_FLAGS) ; do \
2867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2868 done; \
2869 echo "Doing clean in ash" ; \
2870 (cd $(HOST_SUBDIR)/ash && \
2871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2873 "RANLIB=$${RANLIB}" \
2874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2875 clean) \
2876 || exit 1
2878 @endif ash
2880 .PHONY: maybe-distclean-ash distclean-ash
2881 maybe-distclean-ash:
2882 @if ash
2883 maybe-distclean-ash: distclean-ash
2885 distclean-ash:
2886 @: $(MAKE); $(unstage)
2887 @[ -f ./ash/Makefile ] || exit 0; \
2888 r=`${PWD_COMMAND}`; export r; \
2889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2890 $(HOST_EXPORTS) \
2891 for flag in $(EXTRA_HOST_FLAGS) ; do \
2892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2893 done; \
2894 echo "Doing distclean in ash" ; \
2895 (cd $(HOST_SUBDIR)/ash && \
2896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2898 "RANLIB=$${RANLIB}" \
2899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2900 distclean) \
2901 || exit 1
2903 @endif ash
2905 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2906 maybe-maintainer-clean-ash:
2907 @if ash
2908 maybe-maintainer-clean-ash: maintainer-clean-ash
2910 maintainer-clean-ash:
2911 @: $(MAKE); $(unstage)
2912 @[ -f ./ash/Makefile ] || exit 0; \
2913 r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2915 $(HOST_EXPORTS) \
2916 for flag in $(EXTRA_HOST_FLAGS) ; do \
2917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2918 done; \
2919 echo "Doing maintainer-clean in ash" ; \
2920 (cd $(HOST_SUBDIR)/ash && \
2921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2923 "RANLIB=$${RANLIB}" \
2924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2925 maintainer-clean) \
2926 || exit 1
2928 @endif ash
2932 .PHONY: configure-autoconf maybe-configure-autoconf
2933 maybe-configure-autoconf:
2934 @if autoconf
2935 maybe-configure-autoconf: configure-autoconf
2936 configure-autoconf:
2937 @: $(MAKE); $(unstage)
2938 @r=`${PWD_COMMAND}`; export r; \
2939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2942 $(HOST_EXPORTS) \
2943 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2944 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2945 case $(srcdir) in \
2946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2947 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2949 esac; \
2950 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2951 libsrcdir="$$s/autoconf"; \
2952 $(SHELL) $${libsrcdir}/configure \
2953 $(HOST_CONFIGARGS) $${srcdiroption} \
2954 || exit 1
2955 @endif autoconf
2961 .PHONY: all-autoconf maybe-all-autoconf
2962 maybe-all-autoconf:
2963 @if autoconf
2964 TARGET-autoconf=all
2965 maybe-all-autoconf: all-autoconf
2966 all-autoconf: configure-autoconf
2967 @: $(MAKE); $(unstage)
2968 @r=`${PWD_COMMAND}`; export r; \
2969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2970 $(HOST_EXPORTS) \
2971 (cd $(HOST_SUBDIR)/autoconf && \
2972 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2973 @endif autoconf
2978 .PHONY: check-autoconf maybe-check-autoconf
2979 maybe-check-autoconf:
2980 @if autoconf
2981 maybe-check-autoconf: check-autoconf
2983 check-autoconf:
2984 @: $(MAKE); $(unstage)
2985 @r=`${PWD_COMMAND}`; export r; \
2986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2987 $(HOST_EXPORTS) \
2988 (cd $(HOST_SUBDIR)/autoconf && \
2989 $(MAKE) $(FLAGS_TO_PASS) check)
2991 @endif autoconf
2993 .PHONY: install-autoconf maybe-install-autoconf
2994 maybe-install-autoconf:
2995 @if autoconf
2996 maybe-install-autoconf: install-autoconf
2998 install-autoconf: installdirs
2999 @: $(MAKE); $(unstage)
3000 @r=`${PWD_COMMAND}`; export r; \
3001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3002 $(HOST_EXPORTS) \
3003 (cd $(HOST_SUBDIR)/autoconf && \
3004 $(MAKE) $(FLAGS_TO_PASS) install)
3006 @endif autoconf
3008 # Other targets (info, dvi, etc.)
3010 .PHONY: maybe-info-autoconf info-autoconf
3011 maybe-info-autoconf:
3012 @if autoconf
3013 maybe-info-autoconf: info-autoconf
3015 info-autoconf: \
3016 configure-autoconf
3017 @: $(MAKE); $(unstage)
3018 @[ -f ./autoconf/Makefile ] || exit 0; \
3019 r=`${PWD_COMMAND}`; export r; \
3020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3021 $(HOST_EXPORTS) \
3022 for flag in $(EXTRA_HOST_FLAGS) ; do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3024 done; \
3025 echo "Doing info in autoconf" ; \
3026 (cd $(HOST_SUBDIR)/autoconf && \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3031 info) \
3032 || exit 1
3034 @endif autoconf
3036 .PHONY: maybe-dvi-autoconf dvi-autoconf
3037 maybe-dvi-autoconf:
3038 @if autoconf
3039 maybe-dvi-autoconf: dvi-autoconf
3041 dvi-autoconf: \
3042 configure-autoconf
3043 @: $(MAKE); $(unstage)
3044 @[ -f ./autoconf/Makefile ] || exit 0; \
3045 r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 $(HOST_EXPORTS) \
3048 for flag in $(EXTRA_HOST_FLAGS) ; do \
3049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3050 done; \
3051 echo "Doing dvi in autoconf" ; \
3052 (cd $(HOST_SUBDIR)/autoconf && \
3053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3055 "RANLIB=$${RANLIB}" \
3056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3057 dvi) \
3058 || exit 1
3060 @endif autoconf
3062 .PHONY: maybe-html-autoconf html-autoconf
3063 maybe-html-autoconf:
3064 @if autoconf
3065 maybe-html-autoconf: html-autoconf
3067 html-autoconf: \
3068 configure-autoconf
3069 @: $(MAKE); $(unstage)
3070 @[ -f ./autoconf/Makefile ] || exit 0; \
3071 r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3073 $(HOST_EXPORTS) \
3074 for flag in $(EXTRA_HOST_FLAGS) ; do \
3075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3076 done; \
3077 echo "Doing html in autoconf" ; \
3078 (cd $(HOST_SUBDIR)/autoconf && \
3079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3081 "RANLIB=$${RANLIB}" \
3082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3083 html) \
3084 || exit 1
3086 @endif autoconf
3088 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3089 maybe-TAGS-autoconf:
3090 @if autoconf
3091 maybe-TAGS-autoconf: TAGS-autoconf
3093 TAGS-autoconf: \
3094 configure-autoconf
3095 @: $(MAKE); $(unstage)
3096 @[ -f ./autoconf/Makefile ] || exit 0; \
3097 r=`${PWD_COMMAND}`; export r; \
3098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 $(HOST_EXPORTS) \
3100 for flag in $(EXTRA_HOST_FLAGS) ; do \
3101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3102 done; \
3103 echo "Doing TAGS in autoconf" ; \
3104 (cd $(HOST_SUBDIR)/autoconf && \
3105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3107 "RANLIB=$${RANLIB}" \
3108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3109 TAGS) \
3110 || exit 1
3112 @endif autoconf
3114 .PHONY: maybe-install-info-autoconf install-info-autoconf
3115 maybe-install-info-autoconf:
3116 @if autoconf
3117 maybe-install-info-autoconf: install-info-autoconf
3119 install-info-autoconf: \
3120 configure-autoconf \
3121 info-autoconf
3122 @: $(MAKE); $(unstage)
3123 @[ -f ./autoconf/Makefile ] || exit 0; \
3124 r=`${PWD_COMMAND}`; export r; \
3125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3126 $(HOST_EXPORTS) \
3127 for flag in $(EXTRA_HOST_FLAGS) ; do \
3128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3129 done; \
3130 echo "Doing install-info in autoconf" ; \
3131 (cd $(HOST_SUBDIR)/autoconf && \
3132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3134 "RANLIB=$${RANLIB}" \
3135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3136 install-info) \
3137 || exit 1
3139 @endif autoconf
3141 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3142 maybe-installcheck-autoconf:
3143 @if autoconf
3144 maybe-installcheck-autoconf: installcheck-autoconf
3146 installcheck-autoconf: \
3147 configure-autoconf
3148 @: $(MAKE); $(unstage)
3149 @[ -f ./autoconf/Makefile ] || exit 0; \
3150 r=`${PWD_COMMAND}`; export r; \
3151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3152 $(HOST_EXPORTS) \
3153 for flag in $(EXTRA_HOST_FLAGS) ; do \
3154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3155 done; \
3156 echo "Doing installcheck in autoconf" ; \
3157 (cd $(HOST_SUBDIR)/autoconf && \
3158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3160 "RANLIB=$${RANLIB}" \
3161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3162 installcheck) \
3163 || exit 1
3165 @endif autoconf
3167 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3168 maybe-mostlyclean-autoconf:
3169 @if autoconf
3170 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3172 mostlyclean-autoconf:
3173 @: $(MAKE); $(unstage)
3174 @[ -f ./autoconf/Makefile ] || exit 0; \
3175 r=`${PWD_COMMAND}`; export r; \
3176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3177 $(HOST_EXPORTS) \
3178 for flag in $(EXTRA_HOST_FLAGS) ; do \
3179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3180 done; \
3181 echo "Doing mostlyclean in autoconf" ; \
3182 (cd $(HOST_SUBDIR)/autoconf && \
3183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3185 "RANLIB=$${RANLIB}" \
3186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3187 mostlyclean) \
3188 || exit 1
3190 @endif autoconf
3192 .PHONY: maybe-clean-autoconf clean-autoconf
3193 maybe-clean-autoconf:
3194 @if autoconf
3195 maybe-clean-autoconf: clean-autoconf
3197 clean-autoconf:
3198 @: $(MAKE); $(unstage)
3199 @[ -f ./autoconf/Makefile ] || exit 0; \
3200 r=`${PWD_COMMAND}`; export r; \
3201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3202 $(HOST_EXPORTS) \
3203 for flag in $(EXTRA_HOST_FLAGS) ; do \
3204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3205 done; \
3206 echo "Doing clean in autoconf" ; \
3207 (cd $(HOST_SUBDIR)/autoconf && \
3208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3210 "RANLIB=$${RANLIB}" \
3211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3212 clean) \
3213 || exit 1
3215 @endif autoconf
3217 .PHONY: maybe-distclean-autoconf distclean-autoconf
3218 maybe-distclean-autoconf:
3219 @if autoconf
3220 maybe-distclean-autoconf: distclean-autoconf
3222 distclean-autoconf:
3223 @: $(MAKE); $(unstage)
3224 @[ -f ./autoconf/Makefile ] || exit 0; \
3225 r=`${PWD_COMMAND}`; export r; \
3226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227 $(HOST_EXPORTS) \
3228 for flag in $(EXTRA_HOST_FLAGS) ; do \
3229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3230 done; \
3231 echo "Doing distclean in autoconf" ; \
3232 (cd $(HOST_SUBDIR)/autoconf && \
3233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3235 "RANLIB=$${RANLIB}" \
3236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3237 distclean) \
3238 || exit 1
3240 @endif autoconf
3242 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3243 maybe-maintainer-clean-autoconf:
3244 @if autoconf
3245 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3247 maintainer-clean-autoconf:
3248 @: $(MAKE); $(unstage)
3249 @[ -f ./autoconf/Makefile ] || exit 0; \
3250 r=`${PWD_COMMAND}`; export r; \
3251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3252 $(HOST_EXPORTS) \
3253 for flag in $(EXTRA_HOST_FLAGS) ; do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3255 done; \
3256 echo "Doing maintainer-clean in autoconf" ; \
3257 (cd $(HOST_SUBDIR)/autoconf && \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 maintainer-clean) \
3263 || exit 1
3265 @endif autoconf
3269 .PHONY: configure-automake maybe-configure-automake
3270 maybe-configure-automake:
3271 @if automake
3272 maybe-configure-automake: configure-automake
3273 configure-automake:
3274 @: $(MAKE); $(unstage)
3275 @r=`${PWD_COMMAND}`; export r; \
3276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3277 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3278 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3279 $(HOST_EXPORTS) \
3280 echo Configuring in $(HOST_SUBDIR)/automake; \
3281 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3282 case $(srcdir) in \
3283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3284 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3286 esac; \
3287 srcdiroption="--srcdir=$${topdir}/automake"; \
3288 libsrcdir="$$s/automake"; \
3289 $(SHELL) $${libsrcdir}/configure \
3290 $(HOST_CONFIGARGS) $${srcdiroption} \
3291 || exit 1
3292 @endif automake
3298 .PHONY: all-automake maybe-all-automake
3299 maybe-all-automake:
3300 @if automake
3301 TARGET-automake=all
3302 maybe-all-automake: all-automake
3303 all-automake: configure-automake
3304 @: $(MAKE); $(unstage)
3305 @r=`${PWD_COMMAND}`; export r; \
3306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3307 $(HOST_EXPORTS) \
3308 (cd $(HOST_SUBDIR)/automake && \
3309 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3310 @endif automake
3315 .PHONY: check-automake maybe-check-automake
3316 maybe-check-automake:
3317 @if automake
3318 maybe-check-automake: check-automake
3320 check-automake:
3321 @: $(MAKE); $(unstage)
3322 @r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 $(HOST_EXPORTS) \
3325 (cd $(HOST_SUBDIR)/automake && \
3326 $(MAKE) $(FLAGS_TO_PASS) check)
3328 @endif automake
3330 .PHONY: install-automake maybe-install-automake
3331 maybe-install-automake:
3332 @if automake
3333 maybe-install-automake: install-automake
3335 install-automake: installdirs
3336 @: $(MAKE); $(unstage)
3337 @r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 $(HOST_EXPORTS) \
3340 (cd $(HOST_SUBDIR)/automake && \
3341 $(MAKE) $(FLAGS_TO_PASS) install)
3343 @endif automake
3345 # Other targets (info, dvi, etc.)
3347 .PHONY: maybe-info-automake info-automake
3348 maybe-info-automake:
3349 @if automake
3350 maybe-info-automake: info-automake
3352 info-automake: \
3353 configure-automake
3354 @: $(MAKE); $(unstage)
3355 @[ -f ./automake/Makefile ] || exit 0; \
3356 r=`${PWD_COMMAND}`; export r; \
3357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3358 $(HOST_EXPORTS) \
3359 for flag in $(EXTRA_HOST_FLAGS) ; do \
3360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3361 done; \
3362 echo "Doing info in automake" ; \
3363 (cd $(HOST_SUBDIR)/automake && \
3364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3366 "RANLIB=$${RANLIB}" \
3367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3368 info) \
3369 || exit 1
3371 @endif automake
3373 .PHONY: maybe-dvi-automake dvi-automake
3374 maybe-dvi-automake:
3375 @if automake
3376 maybe-dvi-automake: dvi-automake
3378 dvi-automake: \
3379 configure-automake
3380 @: $(MAKE); $(unstage)
3381 @[ -f ./automake/Makefile ] || exit 0; \
3382 r=`${PWD_COMMAND}`; export r; \
3383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3384 $(HOST_EXPORTS) \
3385 for flag in $(EXTRA_HOST_FLAGS) ; do \
3386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3387 done; \
3388 echo "Doing dvi in automake" ; \
3389 (cd $(HOST_SUBDIR)/automake && \
3390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3392 "RANLIB=$${RANLIB}" \
3393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3394 dvi) \
3395 || exit 1
3397 @endif automake
3399 .PHONY: maybe-html-automake html-automake
3400 maybe-html-automake:
3401 @if automake
3402 maybe-html-automake: html-automake
3404 html-automake: \
3405 configure-automake
3406 @: $(MAKE); $(unstage)
3407 @[ -f ./automake/Makefile ] || exit 0; \
3408 r=`${PWD_COMMAND}`; export r; \
3409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3410 $(HOST_EXPORTS) \
3411 for flag in $(EXTRA_HOST_FLAGS) ; do \
3412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3413 done; \
3414 echo "Doing html in automake" ; \
3415 (cd $(HOST_SUBDIR)/automake && \
3416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3418 "RANLIB=$${RANLIB}" \
3419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3420 html) \
3421 || exit 1
3423 @endif automake
3425 .PHONY: maybe-TAGS-automake TAGS-automake
3426 maybe-TAGS-automake:
3427 @if automake
3428 maybe-TAGS-automake: TAGS-automake
3430 TAGS-automake: \
3431 configure-automake
3432 @: $(MAKE); $(unstage)
3433 @[ -f ./automake/Makefile ] || exit 0; \
3434 r=`${PWD_COMMAND}`; export r; \
3435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3436 $(HOST_EXPORTS) \
3437 for flag in $(EXTRA_HOST_FLAGS) ; do \
3438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3439 done; \
3440 echo "Doing TAGS in automake" ; \
3441 (cd $(HOST_SUBDIR)/automake && \
3442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3444 "RANLIB=$${RANLIB}" \
3445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3446 TAGS) \
3447 || exit 1
3449 @endif automake
3451 .PHONY: maybe-install-info-automake install-info-automake
3452 maybe-install-info-automake:
3453 @if automake
3454 maybe-install-info-automake: install-info-automake
3456 install-info-automake: \
3457 configure-automake \
3458 info-automake
3459 @: $(MAKE); $(unstage)
3460 @[ -f ./automake/Makefile ] || exit 0; \
3461 r=`${PWD_COMMAND}`; export r; \
3462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3463 $(HOST_EXPORTS) \
3464 for flag in $(EXTRA_HOST_FLAGS) ; do \
3465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3466 done; \
3467 echo "Doing install-info in automake" ; \
3468 (cd $(HOST_SUBDIR)/automake && \
3469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3471 "RANLIB=$${RANLIB}" \
3472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3473 install-info) \
3474 || exit 1
3476 @endif automake
3478 .PHONY: maybe-installcheck-automake installcheck-automake
3479 maybe-installcheck-automake:
3480 @if automake
3481 maybe-installcheck-automake: installcheck-automake
3483 installcheck-automake: \
3484 configure-automake
3485 @: $(MAKE); $(unstage)
3486 @[ -f ./automake/Makefile ] || exit 0; \
3487 r=`${PWD_COMMAND}`; export r; \
3488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3489 $(HOST_EXPORTS) \
3490 for flag in $(EXTRA_HOST_FLAGS) ; do \
3491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3492 done; \
3493 echo "Doing installcheck in automake" ; \
3494 (cd $(HOST_SUBDIR)/automake && \
3495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3497 "RANLIB=$${RANLIB}" \
3498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3499 installcheck) \
3500 || exit 1
3502 @endif automake
3504 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3505 maybe-mostlyclean-automake:
3506 @if automake
3507 maybe-mostlyclean-automake: mostlyclean-automake
3509 mostlyclean-automake:
3510 @: $(MAKE); $(unstage)
3511 @[ -f ./automake/Makefile ] || exit 0; \
3512 r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 $(HOST_EXPORTS) \
3515 for flag in $(EXTRA_HOST_FLAGS) ; do \
3516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3517 done; \
3518 echo "Doing mostlyclean in automake" ; \
3519 (cd $(HOST_SUBDIR)/automake && \
3520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3522 "RANLIB=$${RANLIB}" \
3523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3524 mostlyclean) \
3525 || exit 1
3527 @endif automake
3529 .PHONY: maybe-clean-automake clean-automake
3530 maybe-clean-automake:
3531 @if automake
3532 maybe-clean-automake: clean-automake
3534 clean-automake:
3535 @: $(MAKE); $(unstage)
3536 @[ -f ./automake/Makefile ] || exit 0; \
3537 r=`${PWD_COMMAND}`; export r; \
3538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3539 $(HOST_EXPORTS) \
3540 for flag in $(EXTRA_HOST_FLAGS) ; do \
3541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3542 done; \
3543 echo "Doing clean in automake" ; \
3544 (cd $(HOST_SUBDIR)/automake && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3547 "RANLIB=$${RANLIB}" \
3548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3549 clean) \
3550 || exit 1
3552 @endif automake
3554 .PHONY: maybe-distclean-automake distclean-automake
3555 maybe-distclean-automake:
3556 @if automake
3557 maybe-distclean-automake: distclean-automake
3559 distclean-automake:
3560 @: $(MAKE); $(unstage)
3561 @[ -f ./automake/Makefile ] || exit 0; \
3562 r=`${PWD_COMMAND}`; export r; \
3563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 $(HOST_EXPORTS) \
3565 for flag in $(EXTRA_HOST_FLAGS) ; do \
3566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3567 done; \
3568 echo "Doing distclean in automake" ; \
3569 (cd $(HOST_SUBDIR)/automake && \
3570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3572 "RANLIB=$${RANLIB}" \
3573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3574 distclean) \
3575 || exit 1
3577 @endif automake
3579 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3580 maybe-maintainer-clean-automake:
3581 @if automake
3582 maybe-maintainer-clean-automake: maintainer-clean-automake
3584 maintainer-clean-automake:
3585 @: $(MAKE); $(unstage)
3586 @[ -f ./automake/Makefile ] || exit 0; \
3587 r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3589 $(HOST_EXPORTS) \
3590 for flag in $(EXTRA_HOST_FLAGS) ; do \
3591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3592 done; \
3593 echo "Doing maintainer-clean in automake" ; \
3594 (cd $(HOST_SUBDIR)/automake && \
3595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3597 "RANLIB=$${RANLIB}" \
3598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3599 maintainer-clean) \
3600 || exit 1
3602 @endif automake
3606 .PHONY: configure-bash maybe-configure-bash
3607 maybe-configure-bash:
3608 @if bash
3609 maybe-configure-bash: configure-bash
3610 configure-bash:
3611 @: $(MAKE); $(unstage)
3612 @r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3614 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3616 $(HOST_EXPORTS) \
3617 echo Configuring in $(HOST_SUBDIR)/bash; \
3618 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3619 case $(srcdir) in \
3620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3621 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3623 esac; \
3624 srcdiroption="--srcdir=$${topdir}/bash"; \
3625 libsrcdir="$$s/bash"; \
3626 $(SHELL) $${libsrcdir}/configure \
3627 $(HOST_CONFIGARGS) $${srcdiroption} \
3628 || exit 1
3629 @endif bash
3635 .PHONY: all-bash maybe-all-bash
3636 maybe-all-bash:
3637 @if bash
3638 TARGET-bash=all
3639 maybe-all-bash: all-bash
3640 all-bash: configure-bash
3641 @: $(MAKE); $(unstage)
3642 @r=`${PWD_COMMAND}`; export r; \
3643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3644 $(HOST_EXPORTS) \
3645 (cd $(HOST_SUBDIR)/bash && \
3646 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3647 @endif bash
3652 .PHONY: check-bash maybe-check-bash
3653 maybe-check-bash:
3654 @if bash
3655 maybe-check-bash: check-bash
3657 check-bash:
3658 @: $(MAKE); $(unstage)
3659 @r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 $(HOST_EXPORTS) \
3662 (cd $(HOST_SUBDIR)/bash && \
3663 $(MAKE) $(FLAGS_TO_PASS) check)
3665 @endif bash
3667 .PHONY: install-bash maybe-install-bash
3668 maybe-install-bash:
3669 @if bash
3670 maybe-install-bash: install-bash
3672 install-bash: installdirs
3673 @: $(MAKE); $(unstage)
3674 @r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 $(HOST_EXPORTS) \
3677 (cd $(HOST_SUBDIR)/bash && \
3678 $(MAKE) $(FLAGS_TO_PASS) install)
3680 @endif bash
3682 # Other targets (info, dvi, etc.)
3684 .PHONY: maybe-info-bash info-bash
3685 maybe-info-bash:
3686 @if bash
3687 maybe-info-bash: info-bash
3689 info-bash: \
3690 configure-bash
3691 @: $(MAKE); $(unstage)
3692 @[ -f ./bash/Makefile ] || exit 0; \
3693 r=`${PWD_COMMAND}`; export r; \
3694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3695 $(HOST_EXPORTS) \
3696 for flag in $(EXTRA_HOST_FLAGS) ; do \
3697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3698 done; \
3699 echo "Doing info in bash" ; \
3700 (cd $(HOST_SUBDIR)/bash && \
3701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3703 "RANLIB=$${RANLIB}" \
3704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3705 info) \
3706 || exit 1
3708 @endif bash
3710 .PHONY: maybe-dvi-bash dvi-bash
3711 maybe-dvi-bash:
3712 @if bash
3713 maybe-dvi-bash: dvi-bash
3715 dvi-bash: \
3716 configure-bash
3717 @: $(MAKE); $(unstage)
3718 @[ -f ./bash/Makefile ] || exit 0; \
3719 r=`${PWD_COMMAND}`; export r; \
3720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3721 $(HOST_EXPORTS) \
3722 for flag in $(EXTRA_HOST_FLAGS) ; do \
3723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3724 done; \
3725 echo "Doing dvi in bash" ; \
3726 (cd $(HOST_SUBDIR)/bash && \
3727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3729 "RANLIB=$${RANLIB}" \
3730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3731 dvi) \
3732 || exit 1
3734 @endif bash
3736 .PHONY: maybe-html-bash html-bash
3737 maybe-html-bash:
3738 @if bash
3739 maybe-html-bash: html-bash
3741 html-bash: \
3742 configure-bash
3743 @: $(MAKE); $(unstage)
3744 @[ -f ./bash/Makefile ] || exit 0; \
3745 r=`${PWD_COMMAND}`; export r; \
3746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3747 $(HOST_EXPORTS) \
3748 for flag in $(EXTRA_HOST_FLAGS) ; do \
3749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3750 done; \
3751 echo "Doing html in bash" ; \
3752 (cd $(HOST_SUBDIR)/bash && \
3753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3755 "RANLIB=$${RANLIB}" \
3756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3757 html) \
3758 || exit 1
3760 @endif bash
3762 .PHONY: maybe-TAGS-bash TAGS-bash
3763 maybe-TAGS-bash:
3764 @if bash
3765 maybe-TAGS-bash: TAGS-bash
3767 TAGS-bash: \
3768 configure-bash
3769 @: $(MAKE); $(unstage)
3770 @[ -f ./bash/Makefile ] || exit 0; \
3771 r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(HOST_EXPORTS) \
3774 for flag in $(EXTRA_HOST_FLAGS) ; do \
3775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3776 done; \
3777 echo "Doing TAGS in bash" ; \
3778 (cd $(HOST_SUBDIR)/bash && \
3779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3781 "RANLIB=$${RANLIB}" \
3782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3783 TAGS) \
3784 || exit 1
3786 @endif bash
3788 .PHONY: maybe-install-info-bash install-info-bash
3789 maybe-install-info-bash:
3790 @if bash
3791 maybe-install-info-bash: install-info-bash
3793 install-info-bash: \
3794 configure-bash \
3795 info-bash
3796 @: $(MAKE); $(unstage)
3797 @[ -f ./bash/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing install-info in bash" ; \
3805 (cd $(HOST_SUBDIR)/bash && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3810 install-info) \
3811 || exit 1
3813 @endif bash
3815 .PHONY: maybe-installcheck-bash installcheck-bash
3816 maybe-installcheck-bash:
3817 @if bash
3818 maybe-installcheck-bash: installcheck-bash
3820 installcheck-bash: \
3821 configure-bash
3822 @: $(MAKE); $(unstage)
3823 @[ -f ./bash/Makefile ] || exit 0; \
3824 r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 $(HOST_EXPORTS) \
3827 for flag in $(EXTRA_HOST_FLAGS) ; do \
3828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3829 done; \
3830 echo "Doing installcheck in bash" ; \
3831 (cd $(HOST_SUBDIR)/bash && \
3832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3834 "RANLIB=$${RANLIB}" \
3835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3836 installcheck) \
3837 || exit 1
3839 @endif bash
3841 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3842 maybe-mostlyclean-bash:
3843 @if bash
3844 maybe-mostlyclean-bash: mostlyclean-bash
3846 mostlyclean-bash:
3847 @: $(MAKE); $(unstage)
3848 @[ -f ./bash/Makefile ] || exit 0; \
3849 r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 $(HOST_EXPORTS) \
3852 for flag in $(EXTRA_HOST_FLAGS) ; do \
3853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3854 done; \
3855 echo "Doing mostlyclean in bash" ; \
3856 (cd $(HOST_SUBDIR)/bash && \
3857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3859 "RANLIB=$${RANLIB}" \
3860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3861 mostlyclean) \
3862 || exit 1
3864 @endif bash
3866 .PHONY: maybe-clean-bash clean-bash
3867 maybe-clean-bash:
3868 @if bash
3869 maybe-clean-bash: clean-bash
3871 clean-bash:
3872 @: $(MAKE); $(unstage)
3873 @[ -f ./bash/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3876 $(HOST_EXPORTS) \
3877 for flag in $(EXTRA_HOST_FLAGS) ; do \
3878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3879 done; \
3880 echo "Doing clean in bash" ; \
3881 (cd $(HOST_SUBDIR)/bash && \
3882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3884 "RANLIB=$${RANLIB}" \
3885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3886 clean) \
3887 || exit 1
3889 @endif bash
3891 .PHONY: maybe-distclean-bash distclean-bash
3892 maybe-distclean-bash:
3893 @if bash
3894 maybe-distclean-bash: distclean-bash
3896 distclean-bash:
3897 @: $(MAKE); $(unstage)
3898 @[ -f ./bash/Makefile ] || exit 0; \
3899 r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 $(HOST_EXPORTS) \
3902 for flag in $(EXTRA_HOST_FLAGS) ; do \
3903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3904 done; \
3905 echo "Doing distclean in bash" ; \
3906 (cd $(HOST_SUBDIR)/bash && \
3907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3909 "RANLIB=$${RANLIB}" \
3910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3911 distclean) \
3912 || exit 1
3914 @endif bash
3916 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3917 maybe-maintainer-clean-bash:
3918 @if bash
3919 maybe-maintainer-clean-bash: maintainer-clean-bash
3921 maintainer-clean-bash:
3922 @: $(MAKE); $(unstage)
3923 @[ -f ./bash/Makefile ] || exit 0; \
3924 r=`${PWD_COMMAND}`; export r; \
3925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3926 $(HOST_EXPORTS) \
3927 for flag in $(EXTRA_HOST_FLAGS) ; do \
3928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3929 done; \
3930 echo "Doing maintainer-clean in bash" ; \
3931 (cd $(HOST_SUBDIR)/bash && \
3932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3934 "RANLIB=$${RANLIB}" \
3935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3936 maintainer-clean) \
3937 || exit 1
3939 @endif bash
3943 .PHONY: configure-bfd maybe-configure-bfd
3944 maybe-configure-bfd:
3945 @if bfd
3946 maybe-configure-bfd: configure-bfd
3947 configure-bfd:
3948 @endif bfd
3949 @if bfd-bootstrap
3950 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
3951 @endif bfd-bootstrap
3952 @if bfd
3953 @r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3957 $(HOST_EXPORTS) \
3958 echo Configuring in $(HOST_SUBDIR)/bfd; \
3959 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3960 case $(srcdir) in \
3961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3962 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3964 esac; \
3965 srcdiroption="--srcdir=$${topdir}/bfd"; \
3966 libsrcdir="$$s/bfd"; \
3967 $(SHELL) $${libsrcdir}/configure \
3968 $(HOST_CONFIGARGS) $${srcdiroption} \
3969 || exit 1
3970 @endif bfd
3974 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3975 maybe-configure-stage1-bfd:
3976 @if bfd-bootstrap
3977 maybe-configure-stage1-bfd: configure-stage1-bfd
3978 configure-stage1-bfd:
3979 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3980 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3981 @r=`${PWD_COMMAND}`; export r; \
3982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3983 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3984 $(HOST_EXPORTS) \
3985 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3986 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3987 cd $(HOST_SUBDIR)/bfd || exit 1; \
3988 case $(srcdir) in \
3989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3990 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3992 esac; \
3993 srcdiroption="--srcdir=$${topdir}/bfd"; \
3994 libsrcdir="$$s/bfd"; \
3995 $(SHELL) $${libsrcdir}/configure \
3996 $(HOST_CONFIGARGS) $${srcdiroption} \
3997 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3998 @endif bfd-bootstrap
4000 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4001 maybe-configure-stage2-bfd:
4002 @if bfd-bootstrap
4003 maybe-configure-stage2-bfd: configure-stage2-bfd
4004 configure-stage2-bfd:
4005 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4006 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4007 @r=`${PWD_COMMAND}`; export r; \
4008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4009 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4010 $(HOST_EXPORTS) \
4011 $(POSTSTAGE1_HOST_EXPORTS) \
4012 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4014 cd $(HOST_SUBDIR)/bfd || exit 1; \
4015 case $(srcdir) in \
4016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4017 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4019 esac; \
4020 srcdiroption="--srcdir=$${topdir}/bfd"; \
4021 libsrcdir="$$s/bfd"; \
4022 $(SHELL) $${libsrcdir}/configure \
4023 $(HOST_CONFIGARGS) $${srcdiroption} \
4024 @stage2_werror_flag@
4025 @endif bfd-bootstrap
4027 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4028 maybe-configure-stage3-bfd:
4029 @if bfd-bootstrap
4030 maybe-configure-stage3-bfd: configure-stage3-bfd
4031 configure-stage3-bfd:
4032 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4034 @r=`${PWD_COMMAND}`; export r; \
4035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4036 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4037 $(HOST_EXPORTS) \
4038 $(POSTSTAGE1_HOST_EXPORTS) \
4039 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4041 cd $(HOST_SUBDIR)/bfd || exit 1; \
4042 case $(srcdir) in \
4043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4044 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4046 esac; \
4047 srcdiroption="--srcdir=$${topdir}/bfd"; \
4048 libsrcdir="$$s/bfd"; \
4049 $(SHELL) $${libsrcdir}/configure \
4050 $(HOST_CONFIGARGS) $${srcdiroption} \
4051 @stage2_werror_flag@
4052 @endif bfd-bootstrap
4054 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4055 maybe-configure-stage4-bfd:
4056 @if bfd-bootstrap
4057 maybe-configure-stage4-bfd: configure-stage4-bfd
4058 configure-stage4-bfd:
4059 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4061 @r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4064 $(HOST_EXPORTS) \
4065 $(POSTSTAGE1_HOST_EXPORTS) \
4066 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4068 cd $(HOST_SUBDIR)/bfd || exit 1; \
4069 case $(srcdir) in \
4070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4071 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4073 esac; \
4074 srcdiroption="--srcdir=$${topdir}/bfd"; \
4075 libsrcdir="$$s/bfd"; \
4076 $(SHELL) $${libsrcdir}/configure \
4077 $(HOST_CONFIGARGS) $${srcdiroption} \
4078 @stage2_werror_flag@
4079 @endif bfd-bootstrap
4081 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4082 maybe-configure-stageprofile-bfd:
4083 @if bfd-bootstrap
4084 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4085 configure-stageprofile-bfd:
4086 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4087 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4088 @r=`${PWD_COMMAND}`; export r; \
4089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4090 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4091 $(HOST_EXPORTS) \
4092 $(POSTSTAGE1_HOST_EXPORTS) \
4093 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4094 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4095 cd $(HOST_SUBDIR)/bfd || exit 1; \
4096 case $(srcdir) in \
4097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4098 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4100 esac; \
4101 srcdiroption="--srcdir=$${topdir}/bfd"; \
4102 libsrcdir="$$s/bfd"; \
4103 $(SHELL) $${libsrcdir}/configure \
4104 $(HOST_CONFIGARGS) $${srcdiroption} \
4105 @stage2_werror_flag@
4106 @endif bfd-bootstrap
4108 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4109 maybe-configure-stagefeedback-bfd:
4110 @if bfd-bootstrap
4111 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4112 configure-stagefeedback-bfd:
4113 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4115 @r=`${PWD_COMMAND}`; export r; \
4116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4117 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4118 $(HOST_EXPORTS) \
4119 $(POSTSTAGE1_HOST_EXPORTS) \
4120 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4121 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4122 cd $(HOST_SUBDIR)/bfd || exit 1; \
4123 case $(srcdir) in \
4124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4125 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4127 esac; \
4128 srcdiroption="--srcdir=$${topdir}/bfd"; \
4129 libsrcdir="$$s/bfd"; \
4130 $(SHELL) $${libsrcdir}/configure \
4131 $(HOST_CONFIGARGS) $${srcdiroption} \
4132 @stage2_werror_flag@
4133 @endif bfd-bootstrap
4139 .PHONY: all-bfd maybe-all-bfd
4140 maybe-all-bfd:
4141 @if bfd
4142 TARGET-bfd=all
4143 maybe-all-bfd: all-bfd
4144 all-bfd: configure-bfd
4145 @endif bfd
4146 @if bfd-bootstrap
4147 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4148 @endif bfd-bootstrap
4149 @if bfd
4150 @r=`${PWD_COMMAND}`; export r; \
4151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4152 $(HOST_EXPORTS) \
4153 (cd $(HOST_SUBDIR)/bfd && \
4154 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4155 @endif bfd
4159 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4160 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4161 maybe-all-stage1-bfd:
4162 maybe-clean-stage1-bfd:
4163 @if bfd-bootstrap
4164 maybe-all-stage1-bfd: all-stage1-bfd
4165 all-stage1: all-stage1-bfd
4166 TARGET-stage1-bfd = $(TARGET-bfd)
4167 all-stage1-bfd: configure-stage1-bfd
4168 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4169 @r=`${PWD_COMMAND}`; export r; \
4170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4171 $(HOST_EXPORTS) \
4172 cd $(HOST_SUBDIR)/bfd && \
4173 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4174 $(TARGET-stage1-bfd)
4176 maybe-clean-stage1-bfd: clean-stage1-bfd
4177 clean-stage1: clean-stage1-bfd
4178 clean-stage1-bfd:
4179 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4180 || exit 0 ; \
4181 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4182 cd $(HOST_SUBDIR)/bfd && \
4183 $(MAKE) $(FLAGS_TO_PASS) \
4184 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4185 @endif bfd-bootstrap
4188 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4189 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4190 maybe-all-stage2-bfd:
4191 maybe-clean-stage2-bfd:
4192 @if bfd-bootstrap
4193 maybe-all-stage2-bfd: all-stage2-bfd
4194 all-stage2: all-stage2-bfd
4195 TARGET-stage2-bfd = $(TARGET-bfd)
4196 all-stage2-bfd: configure-stage2-bfd
4197 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4198 @r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4200 $(HOST_EXPORTS) \
4201 $(POSTSTAGE1_HOST_EXPORTS) \
4202 cd $(HOST_SUBDIR)/bfd && \
4203 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4204 $(TARGET-stage2-bfd)
4206 maybe-clean-stage2-bfd: clean-stage2-bfd
4207 clean-stage2: clean-stage2-bfd
4208 clean-stage2-bfd:
4209 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4210 || exit 0 ; \
4211 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4212 cd $(HOST_SUBDIR)/bfd && \
4213 $(MAKE) $(FLAGS_TO_PASS) \
4214 $(POSTSTAGE1_FLAGS_TO_PASS) \
4215 clean
4216 @endif bfd-bootstrap
4219 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4220 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4221 maybe-all-stage3-bfd:
4222 maybe-clean-stage3-bfd:
4223 @if bfd-bootstrap
4224 maybe-all-stage3-bfd: all-stage3-bfd
4225 all-stage3: all-stage3-bfd
4226 TARGET-stage3-bfd = $(TARGET-bfd)
4227 all-stage3-bfd: configure-stage3-bfd
4228 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4229 @r=`${PWD_COMMAND}`; export r; \
4230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4231 $(HOST_EXPORTS) \
4232 $(POSTSTAGE1_HOST_EXPORTS) \
4233 cd $(HOST_SUBDIR)/bfd && \
4234 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4235 $(TARGET-stage3-bfd)
4237 maybe-clean-stage3-bfd: clean-stage3-bfd
4238 clean-stage3: clean-stage3-bfd
4239 clean-stage3-bfd:
4240 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4241 || exit 0 ; \
4242 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4243 cd $(HOST_SUBDIR)/bfd && \
4244 $(MAKE) $(FLAGS_TO_PASS) \
4245 $(POSTSTAGE1_FLAGS_TO_PASS) \
4246 clean
4247 @endif bfd-bootstrap
4250 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4251 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4252 maybe-all-stage4-bfd:
4253 maybe-clean-stage4-bfd:
4254 @if bfd-bootstrap
4255 maybe-all-stage4-bfd: all-stage4-bfd
4256 all-stage4: all-stage4-bfd
4257 TARGET-stage4-bfd = $(TARGET-bfd)
4258 all-stage4-bfd: configure-stage4-bfd
4259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4260 @r=`${PWD_COMMAND}`; export r; \
4261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4262 $(HOST_EXPORTS) \
4263 $(POSTSTAGE1_HOST_EXPORTS) \
4264 cd $(HOST_SUBDIR)/bfd && \
4265 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4266 $(TARGET-stage4-bfd)
4268 maybe-clean-stage4-bfd: clean-stage4-bfd
4269 clean-stage4: clean-stage4-bfd
4270 clean-stage4-bfd:
4271 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4272 || exit 0 ; \
4273 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4274 cd $(HOST_SUBDIR)/bfd && \
4275 $(MAKE) $(FLAGS_TO_PASS) \
4276 $(POSTSTAGE1_FLAGS_TO_PASS) \
4277 clean
4278 @endif bfd-bootstrap
4281 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4282 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4283 maybe-all-stageprofile-bfd:
4284 maybe-clean-stageprofile-bfd:
4285 @if bfd-bootstrap
4286 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4287 all-stageprofile: all-stageprofile-bfd
4288 TARGET-stageprofile-bfd = $(TARGET-bfd)
4289 all-stageprofile-bfd: configure-stageprofile-bfd
4290 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4291 @r=`${PWD_COMMAND}`; export r; \
4292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4293 $(HOST_EXPORTS) \
4294 $(POSTSTAGE1_HOST_EXPORTS) \
4295 cd $(HOST_SUBDIR)/bfd && \
4296 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4297 $(TARGET-stageprofile-bfd)
4299 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4300 clean-stageprofile: clean-stageprofile-bfd
4301 clean-stageprofile-bfd:
4302 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4303 || exit 0 ; \
4304 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4305 cd $(HOST_SUBDIR)/bfd && \
4306 $(MAKE) $(FLAGS_TO_PASS) \
4307 $(POSTSTAGE1_FLAGS_TO_PASS) \
4308 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4309 @endif bfd-bootstrap
4312 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4313 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4314 maybe-all-stagefeedback-bfd:
4315 maybe-clean-stagefeedback-bfd:
4316 @if bfd-bootstrap
4317 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4318 all-stagefeedback: all-stagefeedback-bfd
4319 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4320 all-stagefeedback-bfd: configure-stagefeedback-bfd
4321 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4322 @r=`${PWD_COMMAND}`; export r; \
4323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 $(HOST_EXPORTS) \
4325 $(POSTSTAGE1_HOST_EXPORTS) \
4326 cd $(HOST_SUBDIR)/bfd && \
4327 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4328 $(TARGET-stagefeedback-bfd)
4330 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4331 clean-stagefeedback: clean-stagefeedback-bfd
4332 clean-stagefeedback-bfd:
4333 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4334 || exit 0 ; \
4335 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4336 cd $(HOST_SUBDIR)/bfd && \
4337 $(MAKE) $(FLAGS_TO_PASS) \
4338 $(POSTSTAGE1_FLAGS_TO_PASS) \
4339 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4340 @endif bfd-bootstrap
4346 .PHONY: check-bfd maybe-check-bfd
4347 maybe-check-bfd:
4348 @if bfd
4349 maybe-check-bfd: check-bfd
4351 check-bfd:
4352 @: $(MAKE); $(unstage)
4353 @r=`${PWD_COMMAND}`; export r; \
4354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4355 $(HOST_EXPORTS) \
4356 (cd $(HOST_SUBDIR)/bfd && \
4357 $(MAKE) $(FLAGS_TO_PASS) check)
4359 @endif bfd
4361 .PHONY: install-bfd maybe-install-bfd
4362 maybe-install-bfd:
4363 @if bfd
4364 maybe-install-bfd: install-bfd
4366 install-bfd: installdirs
4367 @: $(MAKE); $(unstage)
4368 @r=`${PWD_COMMAND}`; export r; \
4369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4370 $(HOST_EXPORTS) \
4371 (cd $(HOST_SUBDIR)/bfd && \
4372 $(MAKE) $(FLAGS_TO_PASS) install)
4374 @endif bfd
4376 # Other targets (info, dvi, etc.)
4378 .PHONY: maybe-info-bfd info-bfd
4379 maybe-info-bfd:
4380 @if bfd
4381 maybe-info-bfd: info-bfd
4383 info-bfd: \
4384 configure-bfd
4385 @[ -f ./bfd/Makefile ] || exit 0; \
4386 r=`${PWD_COMMAND}`; export r; \
4387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 $(HOST_EXPORTS) \
4389 for flag in $(EXTRA_HOST_FLAGS) ; do \
4390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4391 done; \
4392 echo "Doing info in bfd" ; \
4393 (cd $(HOST_SUBDIR)/bfd && \
4394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4396 "RANLIB=$${RANLIB}" \
4397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4398 info) \
4399 || exit 1
4401 @endif bfd
4403 .PHONY: maybe-dvi-bfd dvi-bfd
4404 maybe-dvi-bfd:
4405 @if bfd
4406 maybe-dvi-bfd: dvi-bfd
4408 dvi-bfd: \
4409 configure-bfd
4410 @[ -f ./bfd/Makefile ] || exit 0; \
4411 r=`${PWD_COMMAND}`; export r; \
4412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4413 $(HOST_EXPORTS) \
4414 for flag in $(EXTRA_HOST_FLAGS) ; do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 done; \
4417 echo "Doing dvi in bfd" ; \
4418 (cd $(HOST_SUBDIR)/bfd && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4423 dvi) \
4424 || exit 1
4426 @endif bfd
4428 .PHONY: maybe-html-bfd html-bfd
4429 maybe-html-bfd:
4430 @if bfd
4431 maybe-html-bfd: html-bfd
4433 html-bfd: \
4434 configure-bfd
4435 @[ -f ./bfd/Makefile ] || exit 0; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4438 $(HOST_EXPORTS) \
4439 for flag in $(EXTRA_HOST_FLAGS) ; do \
4440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4441 done; \
4442 echo "Doing html in bfd" ; \
4443 (cd $(HOST_SUBDIR)/bfd && \
4444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4446 "RANLIB=$${RANLIB}" \
4447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4448 html) \
4449 || exit 1
4451 @endif bfd
4453 .PHONY: maybe-TAGS-bfd TAGS-bfd
4454 maybe-TAGS-bfd:
4455 @if bfd
4456 maybe-TAGS-bfd: TAGS-bfd
4458 TAGS-bfd: \
4459 configure-bfd
4460 @[ -f ./bfd/Makefile ] || exit 0; \
4461 r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 $(HOST_EXPORTS) \
4464 for flag in $(EXTRA_HOST_FLAGS) ; do \
4465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4466 done; \
4467 echo "Doing TAGS in bfd" ; \
4468 (cd $(HOST_SUBDIR)/bfd && \
4469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4471 "RANLIB=$${RANLIB}" \
4472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4473 TAGS) \
4474 || exit 1
4476 @endif bfd
4478 .PHONY: maybe-install-info-bfd install-info-bfd
4479 maybe-install-info-bfd:
4480 @if bfd
4481 maybe-install-info-bfd: install-info-bfd
4483 install-info-bfd: \
4484 configure-bfd \
4485 info-bfd
4486 @[ -f ./bfd/Makefile ] || exit 0; \
4487 r=`${PWD_COMMAND}`; export r; \
4488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4489 $(HOST_EXPORTS) \
4490 for flag in $(EXTRA_HOST_FLAGS) ; do \
4491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4492 done; \
4493 echo "Doing install-info in bfd" ; \
4494 (cd $(HOST_SUBDIR)/bfd && \
4495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4497 "RANLIB=$${RANLIB}" \
4498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4499 install-info) \
4500 || exit 1
4502 @endif bfd
4504 .PHONY: maybe-installcheck-bfd installcheck-bfd
4505 maybe-installcheck-bfd:
4506 @if bfd
4507 maybe-installcheck-bfd: installcheck-bfd
4509 installcheck-bfd: \
4510 configure-bfd
4511 @[ -f ./bfd/Makefile ] || exit 0; \
4512 r=`${PWD_COMMAND}`; export r; \
4513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4514 $(HOST_EXPORTS) \
4515 for flag in $(EXTRA_HOST_FLAGS) ; do \
4516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4517 done; \
4518 echo "Doing installcheck in bfd" ; \
4519 (cd $(HOST_SUBDIR)/bfd && \
4520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4522 "RANLIB=$${RANLIB}" \
4523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4524 installcheck) \
4525 || exit 1
4527 @endif bfd
4529 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4530 maybe-mostlyclean-bfd:
4531 @if bfd
4532 maybe-mostlyclean-bfd: mostlyclean-bfd
4534 mostlyclean-bfd:
4535 @[ -f ./bfd/Makefile ] || exit 0; \
4536 r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 $(HOST_EXPORTS) \
4539 for flag in $(EXTRA_HOST_FLAGS) ; do \
4540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4541 done; \
4542 echo "Doing mostlyclean in bfd" ; \
4543 (cd $(HOST_SUBDIR)/bfd && \
4544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4546 "RANLIB=$${RANLIB}" \
4547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4548 mostlyclean) \
4549 || exit 1
4551 @endif bfd
4553 .PHONY: maybe-clean-bfd clean-bfd
4554 maybe-clean-bfd:
4555 @if bfd
4556 maybe-clean-bfd: clean-bfd
4558 clean-bfd:
4559 @[ -f ./bfd/Makefile ] || exit 0; \
4560 r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 $(HOST_EXPORTS) \
4563 for flag in $(EXTRA_HOST_FLAGS) ; do \
4564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4565 done; \
4566 echo "Doing clean in bfd" ; \
4567 (cd $(HOST_SUBDIR)/bfd && \
4568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4570 "RANLIB=$${RANLIB}" \
4571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4572 clean) \
4573 || exit 1
4575 @endif bfd
4577 .PHONY: maybe-distclean-bfd distclean-bfd
4578 maybe-distclean-bfd:
4579 @if bfd
4580 maybe-distclean-bfd: distclean-bfd
4582 distclean-bfd:
4583 @[ -f ./bfd/Makefile ] || exit 0; \
4584 r=`${PWD_COMMAND}`; export r; \
4585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4586 $(HOST_EXPORTS) \
4587 for flag in $(EXTRA_HOST_FLAGS) ; do \
4588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4589 done; \
4590 echo "Doing distclean in bfd" ; \
4591 (cd $(HOST_SUBDIR)/bfd && \
4592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4594 "RANLIB=$${RANLIB}" \
4595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4596 distclean) \
4597 || exit 1
4599 @endif bfd
4601 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4602 maybe-maintainer-clean-bfd:
4603 @if bfd
4604 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4606 maintainer-clean-bfd:
4607 @[ -f ./bfd/Makefile ] || exit 0; \
4608 r=`${PWD_COMMAND}`; export r; \
4609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4610 $(HOST_EXPORTS) \
4611 for flag in $(EXTRA_HOST_FLAGS) ; do \
4612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4613 done; \
4614 echo "Doing maintainer-clean in bfd" ; \
4615 (cd $(HOST_SUBDIR)/bfd && \
4616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4618 "RANLIB=$${RANLIB}" \
4619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4620 maintainer-clean) \
4621 || exit 1
4623 @endif bfd
4627 .PHONY: configure-opcodes maybe-configure-opcodes
4628 maybe-configure-opcodes:
4629 @if opcodes
4630 maybe-configure-opcodes: configure-opcodes
4631 configure-opcodes:
4632 @endif opcodes
4633 @if opcodes-bootstrap
4634 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4635 @endif opcodes-bootstrap
4636 @if opcodes
4637 @r=`${PWD_COMMAND}`; export r; \
4638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4639 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4641 $(HOST_EXPORTS) \
4642 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4643 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4644 case $(srcdir) in \
4645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4646 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4648 esac; \
4649 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4650 libsrcdir="$$s/opcodes"; \
4651 $(SHELL) $${libsrcdir}/configure \
4652 $(HOST_CONFIGARGS) $${srcdiroption} \
4653 || exit 1
4654 @endif opcodes
4658 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4659 maybe-configure-stage1-opcodes:
4660 @if opcodes-bootstrap
4661 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4662 configure-stage1-opcodes:
4663 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4664 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4665 @r=`${PWD_COMMAND}`; export r; \
4666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4667 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4668 $(HOST_EXPORTS) \
4669 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4671 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4672 case $(srcdir) in \
4673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4674 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4676 esac; \
4677 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4678 libsrcdir="$$s/opcodes"; \
4679 $(SHELL) $${libsrcdir}/configure \
4680 $(HOST_CONFIGARGS) $${srcdiroption} \
4681 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4682 @endif opcodes-bootstrap
4684 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4685 maybe-configure-stage2-opcodes:
4686 @if opcodes-bootstrap
4687 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4688 configure-stage2-opcodes:
4689 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4690 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4691 @r=`${PWD_COMMAND}`; export r; \
4692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4693 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4694 $(HOST_EXPORTS) \
4695 $(POSTSTAGE1_HOST_EXPORTS) \
4696 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4697 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4698 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4699 case $(srcdir) in \
4700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4701 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4703 esac; \
4704 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4705 libsrcdir="$$s/opcodes"; \
4706 $(SHELL) $${libsrcdir}/configure \
4707 $(HOST_CONFIGARGS) $${srcdiroption} \
4708 @stage2_werror_flag@
4709 @endif opcodes-bootstrap
4711 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4712 maybe-configure-stage3-opcodes:
4713 @if opcodes-bootstrap
4714 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4715 configure-stage3-opcodes:
4716 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4717 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4718 @r=`${PWD_COMMAND}`; export r; \
4719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4720 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4721 $(HOST_EXPORTS) \
4722 $(POSTSTAGE1_HOST_EXPORTS) \
4723 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4724 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4725 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4726 case $(srcdir) in \
4727 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4728 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4729 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4730 esac; \
4731 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4732 libsrcdir="$$s/opcodes"; \
4733 $(SHELL) $${libsrcdir}/configure \
4734 $(HOST_CONFIGARGS) $${srcdiroption} \
4735 @stage2_werror_flag@
4736 @endif opcodes-bootstrap
4738 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4739 maybe-configure-stage4-opcodes:
4740 @if opcodes-bootstrap
4741 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4742 configure-stage4-opcodes:
4743 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4744 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4745 @r=`${PWD_COMMAND}`; export r; \
4746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4747 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4748 $(HOST_EXPORTS) \
4749 $(POSTSTAGE1_HOST_EXPORTS) \
4750 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4752 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4753 case $(srcdir) in \
4754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4755 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4757 esac; \
4758 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4759 libsrcdir="$$s/opcodes"; \
4760 $(SHELL) $${libsrcdir}/configure \
4761 $(HOST_CONFIGARGS) $${srcdiroption} \
4762 @stage2_werror_flag@
4763 @endif opcodes-bootstrap
4765 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4766 maybe-configure-stageprofile-opcodes:
4767 @if opcodes-bootstrap
4768 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4769 configure-stageprofile-opcodes:
4770 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4771 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4772 @r=`${PWD_COMMAND}`; export r; \
4773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4774 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4775 $(HOST_EXPORTS) \
4776 $(POSTSTAGE1_HOST_EXPORTS) \
4777 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4779 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4780 case $(srcdir) in \
4781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4782 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4784 esac; \
4785 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4786 libsrcdir="$$s/opcodes"; \
4787 $(SHELL) $${libsrcdir}/configure \
4788 $(HOST_CONFIGARGS) $${srcdiroption} \
4789 @stage2_werror_flag@
4790 @endif opcodes-bootstrap
4792 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4793 maybe-configure-stagefeedback-opcodes:
4794 @if opcodes-bootstrap
4795 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4796 configure-stagefeedback-opcodes:
4797 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4798 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4799 @r=`${PWD_COMMAND}`; export r; \
4800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4801 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4802 $(HOST_EXPORTS) \
4803 $(POSTSTAGE1_HOST_EXPORTS) \
4804 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4806 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4807 case $(srcdir) in \
4808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4809 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4811 esac; \
4812 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4813 libsrcdir="$$s/opcodes"; \
4814 $(SHELL) $${libsrcdir}/configure \
4815 $(HOST_CONFIGARGS) $${srcdiroption} \
4816 @stage2_werror_flag@
4817 @endif opcodes-bootstrap
4823 .PHONY: all-opcodes maybe-all-opcodes
4824 maybe-all-opcodes:
4825 @if opcodes
4826 TARGET-opcodes=all
4827 maybe-all-opcodes: all-opcodes
4828 all-opcodes: configure-opcodes
4829 @endif opcodes
4830 @if opcodes-bootstrap
4831 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4832 @endif opcodes-bootstrap
4833 @if opcodes
4834 @r=`${PWD_COMMAND}`; export r; \
4835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4836 $(HOST_EXPORTS) \
4837 (cd $(HOST_SUBDIR)/opcodes && \
4838 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4839 @endif opcodes
4843 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4844 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4845 maybe-all-stage1-opcodes:
4846 maybe-clean-stage1-opcodes:
4847 @if opcodes-bootstrap
4848 maybe-all-stage1-opcodes: all-stage1-opcodes
4849 all-stage1: all-stage1-opcodes
4850 TARGET-stage1-opcodes = $(TARGET-opcodes)
4851 all-stage1-opcodes: configure-stage1-opcodes
4852 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4853 @r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 $(HOST_EXPORTS) \
4856 cd $(HOST_SUBDIR)/opcodes && \
4857 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4858 $(TARGET-stage1-opcodes)
4860 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4861 clean-stage1: clean-stage1-opcodes
4862 clean-stage1-opcodes:
4863 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4864 || exit 0 ; \
4865 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4866 cd $(HOST_SUBDIR)/opcodes && \
4867 $(MAKE) $(FLAGS_TO_PASS) \
4868 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4869 @endif opcodes-bootstrap
4872 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4873 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4874 maybe-all-stage2-opcodes:
4875 maybe-clean-stage2-opcodes:
4876 @if opcodes-bootstrap
4877 maybe-all-stage2-opcodes: all-stage2-opcodes
4878 all-stage2: all-stage2-opcodes
4879 TARGET-stage2-opcodes = $(TARGET-opcodes)
4880 all-stage2-opcodes: configure-stage2-opcodes
4881 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4882 @r=`${PWD_COMMAND}`; export r; \
4883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4884 $(HOST_EXPORTS) \
4885 $(POSTSTAGE1_HOST_EXPORTS) \
4886 cd $(HOST_SUBDIR)/opcodes && \
4887 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4888 $(TARGET-stage2-opcodes)
4890 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4891 clean-stage2: clean-stage2-opcodes
4892 clean-stage2-opcodes:
4893 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4894 || exit 0 ; \
4895 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4896 cd $(HOST_SUBDIR)/opcodes && \
4897 $(MAKE) $(FLAGS_TO_PASS) \
4898 $(POSTSTAGE1_FLAGS_TO_PASS) \
4899 clean
4900 @endif opcodes-bootstrap
4903 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4904 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4905 maybe-all-stage3-opcodes:
4906 maybe-clean-stage3-opcodes:
4907 @if opcodes-bootstrap
4908 maybe-all-stage3-opcodes: all-stage3-opcodes
4909 all-stage3: all-stage3-opcodes
4910 TARGET-stage3-opcodes = $(TARGET-opcodes)
4911 all-stage3-opcodes: configure-stage3-opcodes
4912 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4913 @r=`${PWD_COMMAND}`; export r; \
4914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4915 $(HOST_EXPORTS) \
4916 $(POSTSTAGE1_HOST_EXPORTS) \
4917 cd $(HOST_SUBDIR)/opcodes && \
4918 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4919 $(TARGET-stage3-opcodes)
4921 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4922 clean-stage3: clean-stage3-opcodes
4923 clean-stage3-opcodes:
4924 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4925 || exit 0 ; \
4926 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4927 cd $(HOST_SUBDIR)/opcodes && \
4928 $(MAKE) $(FLAGS_TO_PASS) \
4929 $(POSTSTAGE1_FLAGS_TO_PASS) \
4930 clean
4931 @endif opcodes-bootstrap
4934 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4935 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4936 maybe-all-stage4-opcodes:
4937 maybe-clean-stage4-opcodes:
4938 @if opcodes-bootstrap
4939 maybe-all-stage4-opcodes: all-stage4-opcodes
4940 all-stage4: all-stage4-opcodes
4941 TARGET-stage4-opcodes = $(TARGET-opcodes)
4942 all-stage4-opcodes: configure-stage4-opcodes
4943 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4944 @r=`${PWD_COMMAND}`; export r; \
4945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4946 $(HOST_EXPORTS) \
4947 $(POSTSTAGE1_HOST_EXPORTS) \
4948 cd $(HOST_SUBDIR)/opcodes && \
4949 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4950 $(TARGET-stage4-opcodes)
4952 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4953 clean-stage4: clean-stage4-opcodes
4954 clean-stage4-opcodes:
4955 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4956 || exit 0 ; \
4957 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4958 cd $(HOST_SUBDIR)/opcodes && \
4959 $(MAKE) $(FLAGS_TO_PASS) \
4960 $(POSTSTAGE1_FLAGS_TO_PASS) \
4961 clean
4962 @endif opcodes-bootstrap
4965 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4966 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4967 maybe-all-stageprofile-opcodes:
4968 maybe-clean-stageprofile-opcodes:
4969 @if opcodes-bootstrap
4970 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4971 all-stageprofile: all-stageprofile-opcodes
4972 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4973 all-stageprofile-opcodes: configure-stageprofile-opcodes
4974 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4975 @r=`${PWD_COMMAND}`; export r; \
4976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977 $(HOST_EXPORTS) \
4978 $(POSTSTAGE1_HOST_EXPORTS) \
4979 cd $(HOST_SUBDIR)/opcodes && \
4980 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4981 $(TARGET-stageprofile-opcodes)
4983 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4984 clean-stageprofile: clean-stageprofile-opcodes
4985 clean-stageprofile-opcodes:
4986 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4987 || exit 0 ; \
4988 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4989 cd $(HOST_SUBDIR)/opcodes && \
4990 $(MAKE) $(FLAGS_TO_PASS) \
4991 $(POSTSTAGE1_FLAGS_TO_PASS) \
4992 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4993 @endif opcodes-bootstrap
4996 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4997 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4998 maybe-all-stagefeedback-opcodes:
4999 maybe-clean-stagefeedback-opcodes:
5000 @if opcodes-bootstrap
5001 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5002 all-stagefeedback: all-stagefeedback-opcodes
5003 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5004 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5005 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5006 @r=`${PWD_COMMAND}`; export r; \
5007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5008 $(HOST_EXPORTS) \
5009 $(POSTSTAGE1_HOST_EXPORTS) \
5010 cd $(HOST_SUBDIR)/opcodes && \
5011 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5012 $(TARGET-stagefeedback-opcodes)
5014 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5015 clean-stagefeedback: clean-stagefeedback-opcodes
5016 clean-stagefeedback-opcodes:
5017 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5018 || exit 0 ; \
5019 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5020 cd $(HOST_SUBDIR)/opcodes && \
5021 $(MAKE) $(FLAGS_TO_PASS) \
5022 $(POSTSTAGE1_FLAGS_TO_PASS) \
5023 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5024 @endif opcodes-bootstrap
5030 .PHONY: check-opcodes maybe-check-opcodes
5031 maybe-check-opcodes:
5032 @if opcodes
5033 maybe-check-opcodes: check-opcodes
5035 check-opcodes:
5036 @: $(MAKE); $(unstage)
5037 @r=`${PWD_COMMAND}`; export r; \
5038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5039 $(HOST_EXPORTS) \
5040 (cd $(HOST_SUBDIR)/opcodes && \
5041 $(MAKE) $(FLAGS_TO_PASS) check)
5043 @endif opcodes
5045 .PHONY: install-opcodes maybe-install-opcodes
5046 maybe-install-opcodes:
5047 @if opcodes
5048 maybe-install-opcodes: install-opcodes
5050 install-opcodes: installdirs
5051 @: $(MAKE); $(unstage)
5052 @r=`${PWD_COMMAND}`; export r; \
5053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5054 $(HOST_EXPORTS) \
5055 (cd $(HOST_SUBDIR)/opcodes && \
5056 $(MAKE) $(FLAGS_TO_PASS) install)
5058 @endif opcodes
5060 # Other targets (info, dvi, etc.)
5062 .PHONY: maybe-info-opcodes info-opcodes
5063 maybe-info-opcodes:
5064 @if opcodes
5065 maybe-info-opcodes: info-opcodes
5067 info-opcodes: \
5068 configure-opcodes
5069 @[ -f ./opcodes/Makefile ] || exit 0; \
5070 r=`${PWD_COMMAND}`; export r; \
5071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5072 $(HOST_EXPORTS) \
5073 for flag in $(EXTRA_HOST_FLAGS) ; do \
5074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5075 done; \
5076 echo "Doing info in opcodes" ; \
5077 (cd $(HOST_SUBDIR)/opcodes && \
5078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5080 "RANLIB=$${RANLIB}" \
5081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5082 info) \
5083 || exit 1
5085 @endif opcodes
5087 .PHONY: maybe-dvi-opcodes dvi-opcodes
5088 maybe-dvi-opcodes:
5089 @if opcodes
5090 maybe-dvi-opcodes: dvi-opcodes
5092 dvi-opcodes: \
5093 configure-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 dvi 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 dvi) \
5108 || exit 1
5110 @endif opcodes
5112 .PHONY: maybe-html-opcodes html-opcodes
5113 maybe-html-opcodes:
5114 @if opcodes
5115 maybe-html-opcodes: html-opcodes
5117 html-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 html 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 html) \
5133 || exit 1
5135 @endif opcodes
5137 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5138 maybe-TAGS-opcodes:
5139 @if opcodes
5140 maybe-TAGS-opcodes: TAGS-opcodes
5142 TAGS-opcodes: \
5143 configure-opcodes
5144 @[ -f ./opcodes/Makefile ] || exit 0; \
5145 r=`${PWD_COMMAND}`; export r; \
5146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5147 $(HOST_EXPORTS) \
5148 for flag in $(EXTRA_HOST_FLAGS) ; do \
5149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5150 done; \
5151 echo "Doing TAGS in opcodes" ; \
5152 (cd $(HOST_SUBDIR)/opcodes && \
5153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5155 "RANLIB=$${RANLIB}" \
5156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5157 TAGS) \
5158 || exit 1
5160 @endif opcodes
5162 .PHONY: maybe-install-info-opcodes install-info-opcodes
5163 maybe-install-info-opcodes:
5164 @if opcodes
5165 maybe-install-info-opcodes: install-info-opcodes
5167 install-info-opcodes: \
5168 configure-opcodes \
5169 info-opcodes
5170 @[ -f ./opcodes/Makefile ] || exit 0; \
5171 r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 $(HOST_EXPORTS) \
5174 for flag in $(EXTRA_HOST_FLAGS) ; do \
5175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5176 done; \
5177 echo "Doing install-info in opcodes" ; \
5178 (cd $(HOST_SUBDIR)/opcodes && \
5179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5181 "RANLIB=$${RANLIB}" \
5182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5183 install-info) \
5184 || exit 1
5186 @endif opcodes
5188 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5189 maybe-installcheck-opcodes:
5190 @if opcodes
5191 maybe-installcheck-opcodes: installcheck-opcodes
5193 installcheck-opcodes: \
5194 configure-opcodes
5195 @[ -f ./opcodes/Makefile ] || exit 0; \
5196 r=`${PWD_COMMAND}`; export r; \
5197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198 $(HOST_EXPORTS) \
5199 for flag in $(EXTRA_HOST_FLAGS) ; do \
5200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5201 done; \
5202 echo "Doing installcheck in opcodes" ; \
5203 (cd $(HOST_SUBDIR)/opcodes && \
5204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5206 "RANLIB=$${RANLIB}" \
5207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5208 installcheck) \
5209 || exit 1
5211 @endif opcodes
5213 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5214 maybe-mostlyclean-opcodes:
5215 @if opcodes
5216 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5218 mostlyclean-opcodes:
5219 @[ -f ./opcodes/Makefile ] || exit 0; \
5220 r=`${PWD_COMMAND}`; export r; \
5221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5222 $(HOST_EXPORTS) \
5223 for flag in $(EXTRA_HOST_FLAGS) ; do \
5224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5225 done; \
5226 echo "Doing mostlyclean in opcodes" ; \
5227 (cd $(HOST_SUBDIR)/opcodes && \
5228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5230 "RANLIB=$${RANLIB}" \
5231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5232 mostlyclean) \
5233 || exit 1
5235 @endif opcodes
5237 .PHONY: maybe-clean-opcodes clean-opcodes
5238 maybe-clean-opcodes:
5239 @if opcodes
5240 maybe-clean-opcodes: clean-opcodes
5242 clean-opcodes:
5243 @[ -f ./opcodes/Makefile ] || exit 0; \
5244 r=`${PWD_COMMAND}`; export r; \
5245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5246 $(HOST_EXPORTS) \
5247 for flag in $(EXTRA_HOST_FLAGS) ; do \
5248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5249 done; \
5250 echo "Doing clean in opcodes" ; \
5251 (cd $(HOST_SUBDIR)/opcodes && \
5252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5254 "RANLIB=$${RANLIB}" \
5255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5256 clean) \
5257 || exit 1
5259 @endif opcodes
5261 .PHONY: maybe-distclean-opcodes distclean-opcodes
5262 maybe-distclean-opcodes:
5263 @if opcodes
5264 maybe-distclean-opcodes: distclean-opcodes
5266 distclean-opcodes:
5267 @[ -f ./opcodes/Makefile ] || exit 0; \
5268 r=`${PWD_COMMAND}`; export r; \
5269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 $(HOST_EXPORTS) \
5271 for flag in $(EXTRA_HOST_FLAGS) ; do \
5272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5273 done; \
5274 echo "Doing distclean in opcodes" ; \
5275 (cd $(HOST_SUBDIR)/opcodes && \
5276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5278 "RANLIB=$${RANLIB}" \
5279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5280 distclean) \
5281 || exit 1
5283 @endif opcodes
5285 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5286 maybe-maintainer-clean-opcodes:
5287 @if opcodes
5288 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5290 maintainer-clean-opcodes:
5291 @[ -f ./opcodes/Makefile ] || exit 0; \
5292 r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294 $(HOST_EXPORTS) \
5295 for flag in $(EXTRA_HOST_FLAGS) ; do \
5296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5297 done; \
5298 echo "Doing maintainer-clean in opcodes" ; \
5299 (cd $(HOST_SUBDIR)/opcodes && \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302 "RANLIB=$${RANLIB}" \
5303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5304 maintainer-clean) \
5305 || exit 1
5307 @endif opcodes
5311 .PHONY: configure-binutils maybe-configure-binutils
5312 maybe-configure-binutils:
5313 @if binutils
5314 maybe-configure-binutils: configure-binutils
5315 configure-binutils:
5316 @endif binutils
5317 @if binutils-bootstrap
5318 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5319 @endif binutils-bootstrap
5320 @if binutils
5321 @r=`${PWD_COMMAND}`; export r; \
5322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5323 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5325 $(HOST_EXPORTS) \
5326 echo Configuring in $(HOST_SUBDIR)/binutils; \
5327 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5328 case $(srcdir) in \
5329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5330 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5332 esac; \
5333 srcdiroption="--srcdir=$${topdir}/binutils"; \
5334 libsrcdir="$$s/binutils"; \
5335 $(SHELL) $${libsrcdir}/configure \
5336 $(HOST_CONFIGARGS) $${srcdiroption} \
5337 || exit 1
5338 @endif binutils
5342 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5343 maybe-configure-stage1-binutils:
5344 @if binutils-bootstrap
5345 maybe-configure-stage1-binutils: configure-stage1-binutils
5346 configure-stage1-binutils:
5347 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5349 @r=`${PWD_COMMAND}`; export r; \
5350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5351 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5352 $(HOST_EXPORTS) \
5353 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5355 cd $(HOST_SUBDIR)/binutils || exit 1; \
5356 case $(srcdir) in \
5357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5358 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5360 esac; \
5361 srcdiroption="--srcdir=$${topdir}/binutils"; \
5362 libsrcdir="$$s/binutils"; \
5363 $(SHELL) $${libsrcdir}/configure \
5364 $(HOST_CONFIGARGS) $${srcdiroption} \
5365 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5366 @endif binutils-bootstrap
5368 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5369 maybe-configure-stage2-binutils:
5370 @if binutils-bootstrap
5371 maybe-configure-stage2-binutils: configure-stage2-binutils
5372 configure-stage2-binutils:
5373 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5375 @r=`${PWD_COMMAND}`; export r; \
5376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5378 $(HOST_EXPORTS) \
5379 $(POSTSTAGE1_HOST_EXPORTS) \
5380 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5382 cd $(HOST_SUBDIR)/binutils || exit 1; \
5383 case $(srcdir) in \
5384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5385 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5387 esac; \
5388 srcdiroption="--srcdir=$${topdir}/binutils"; \
5389 libsrcdir="$$s/binutils"; \
5390 $(SHELL) $${libsrcdir}/configure \
5391 $(HOST_CONFIGARGS) $${srcdiroption} \
5392 @stage2_werror_flag@
5393 @endif binutils-bootstrap
5395 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5396 maybe-configure-stage3-binutils:
5397 @if binutils-bootstrap
5398 maybe-configure-stage3-binutils: configure-stage3-binutils
5399 configure-stage3-binutils:
5400 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5402 @r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5405 $(HOST_EXPORTS) \
5406 $(POSTSTAGE1_HOST_EXPORTS) \
5407 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5409 cd $(HOST_SUBDIR)/binutils || exit 1; \
5410 case $(srcdir) in \
5411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5412 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5414 esac; \
5415 srcdiroption="--srcdir=$${topdir}/binutils"; \
5416 libsrcdir="$$s/binutils"; \
5417 $(SHELL) $${libsrcdir}/configure \
5418 $(HOST_CONFIGARGS) $${srcdiroption} \
5419 @stage2_werror_flag@
5420 @endif binutils-bootstrap
5422 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5423 maybe-configure-stage4-binutils:
5424 @if binutils-bootstrap
5425 maybe-configure-stage4-binutils: configure-stage4-binutils
5426 configure-stage4-binutils:
5427 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5428 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5429 @r=`${PWD_COMMAND}`; export r; \
5430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5431 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5432 $(HOST_EXPORTS) \
5433 $(POSTSTAGE1_HOST_EXPORTS) \
5434 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5436 cd $(HOST_SUBDIR)/binutils || exit 1; \
5437 case $(srcdir) in \
5438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5439 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5441 esac; \
5442 srcdiroption="--srcdir=$${topdir}/binutils"; \
5443 libsrcdir="$$s/binutils"; \
5444 $(SHELL) $${libsrcdir}/configure \
5445 $(HOST_CONFIGARGS) $${srcdiroption} \
5446 @stage2_werror_flag@
5447 @endif binutils-bootstrap
5449 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5450 maybe-configure-stageprofile-binutils:
5451 @if binutils-bootstrap
5452 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5453 configure-stageprofile-binutils:
5454 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5455 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5456 @r=`${PWD_COMMAND}`; export r; \
5457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5458 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5459 $(HOST_EXPORTS) \
5460 $(POSTSTAGE1_HOST_EXPORTS) \
5461 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5463 cd $(HOST_SUBDIR)/binutils || exit 1; \
5464 case $(srcdir) in \
5465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5466 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5468 esac; \
5469 srcdiroption="--srcdir=$${topdir}/binutils"; \
5470 libsrcdir="$$s/binutils"; \
5471 $(SHELL) $${libsrcdir}/configure \
5472 $(HOST_CONFIGARGS) $${srcdiroption} \
5473 @stage2_werror_flag@
5474 @endif binutils-bootstrap
5476 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5477 maybe-configure-stagefeedback-binutils:
5478 @if binutils-bootstrap
5479 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5480 configure-stagefeedback-binutils:
5481 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5483 @r=`${PWD_COMMAND}`; export r; \
5484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5485 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5486 $(HOST_EXPORTS) \
5487 $(POSTSTAGE1_HOST_EXPORTS) \
5488 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5490 cd $(HOST_SUBDIR)/binutils || exit 1; \
5491 case $(srcdir) in \
5492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5493 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5495 esac; \
5496 srcdiroption="--srcdir=$${topdir}/binutils"; \
5497 libsrcdir="$$s/binutils"; \
5498 $(SHELL) $${libsrcdir}/configure \
5499 $(HOST_CONFIGARGS) $${srcdiroption} \
5500 @stage2_werror_flag@
5501 @endif binutils-bootstrap
5507 .PHONY: all-binutils maybe-all-binutils
5508 maybe-all-binutils:
5509 @if binutils
5510 TARGET-binutils=all
5511 maybe-all-binutils: all-binutils
5512 all-binutils: configure-binutils
5513 @endif binutils
5514 @if binutils-bootstrap
5515 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5516 @endif binutils-bootstrap
5517 @if binutils
5518 @r=`${PWD_COMMAND}`; export r; \
5519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520 $(HOST_EXPORTS) \
5521 (cd $(HOST_SUBDIR)/binutils && \
5522 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5523 @endif binutils
5527 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5528 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5529 maybe-all-stage1-binutils:
5530 maybe-clean-stage1-binutils:
5531 @if binutils-bootstrap
5532 maybe-all-stage1-binutils: all-stage1-binutils
5533 all-stage1: all-stage1-binutils
5534 TARGET-stage1-binutils = $(TARGET-binutils)
5535 all-stage1-binutils: configure-stage1-binutils
5536 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5537 @r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5539 $(HOST_EXPORTS) \
5540 cd $(HOST_SUBDIR)/binutils && \
5541 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5542 $(TARGET-stage1-binutils)
5544 maybe-clean-stage1-binutils: clean-stage1-binutils
5545 clean-stage1: clean-stage1-binutils
5546 clean-stage1-binutils:
5547 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5548 || exit 0 ; \
5549 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5550 cd $(HOST_SUBDIR)/binutils && \
5551 $(MAKE) $(FLAGS_TO_PASS) \
5552 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5553 @endif binutils-bootstrap
5556 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5557 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5558 maybe-all-stage2-binutils:
5559 maybe-clean-stage2-binutils:
5560 @if binutils-bootstrap
5561 maybe-all-stage2-binutils: all-stage2-binutils
5562 all-stage2: all-stage2-binutils
5563 TARGET-stage2-binutils = $(TARGET-binutils)
5564 all-stage2-binutils: configure-stage2-binutils
5565 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5566 @r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568 $(HOST_EXPORTS) \
5569 $(POSTSTAGE1_HOST_EXPORTS) \
5570 cd $(HOST_SUBDIR)/binutils && \
5571 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5572 $(TARGET-stage2-binutils)
5574 maybe-clean-stage2-binutils: clean-stage2-binutils
5575 clean-stage2: clean-stage2-binutils
5576 clean-stage2-binutils:
5577 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5578 || exit 0 ; \
5579 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5580 cd $(HOST_SUBDIR)/binutils && \
5581 $(MAKE) $(FLAGS_TO_PASS) \
5582 $(POSTSTAGE1_FLAGS_TO_PASS) \
5583 clean
5584 @endif binutils-bootstrap
5587 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5588 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5589 maybe-all-stage3-binutils:
5590 maybe-clean-stage3-binutils:
5591 @if binutils-bootstrap
5592 maybe-all-stage3-binutils: all-stage3-binutils
5593 all-stage3: all-stage3-binutils
5594 TARGET-stage3-binutils = $(TARGET-binutils)
5595 all-stage3-binutils: configure-stage3-binutils
5596 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5597 @r=`${PWD_COMMAND}`; export r; \
5598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5599 $(HOST_EXPORTS) \
5600 $(POSTSTAGE1_HOST_EXPORTS) \
5601 cd $(HOST_SUBDIR)/binutils && \
5602 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5603 $(TARGET-stage3-binutils)
5605 maybe-clean-stage3-binutils: clean-stage3-binutils
5606 clean-stage3: clean-stage3-binutils
5607 clean-stage3-binutils:
5608 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5609 || exit 0 ; \
5610 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5611 cd $(HOST_SUBDIR)/binutils && \
5612 $(MAKE) $(FLAGS_TO_PASS) \
5613 $(POSTSTAGE1_FLAGS_TO_PASS) \
5614 clean
5615 @endif binutils-bootstrap
5618 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5619 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5620 maybe-all-stage4-binutils:
5621 maybe-clean-stage4-binutils:
5622 @if binutils-bootstrap
5623 maybe-all-stage4-binutils: all-stage4-binutils
5624 all-stage4: all-stage4-binutils
5625 TARGET-stage4-binutils = $(TARGET-binutils)
5626 all-stage4-binutils: configure-stage4-binutils
5627 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5628 @r=`${PWD_COMMAND}`; export r; \
5629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5630 $(HOST_EXPORTS) \
5631 $(POSTSTAGE1_HOST_EXPORTS) \
5632 cd $(HOST_SUBDIR)/binutils && \
5633 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5634 $(TARGET-stage4-binutils)
5636 maybe-clean-stage4-binutils: clean-stage4-binutils
5637 clean-stage4: clean-stage4-binutils
5638 clean-stage4-binutils:
5639 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5640 || exit 0 ; \
5641 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5642 cd $(HOST_SUBDIR)/binutils && \
5643 $(MAKE) $(FLAGS_TO_PASS) \
5644 $(POSTSTAGE1_FLAGS_TO_PASS) \
5645 clean
5646 @endif binutils-bootstrap
5649 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5650 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5651 maybe-all-stageprofile-binutils:
5652 maybe-clean-stageprofile-binutils:
5653 @if binutils-bootstrap
5654 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5655 all-stageprofile: all-stageprofile-binutils
5656 TARGET-stageprofile-binutils = $(TARGET-binutils)
5657 all-stageprofile-binutils: configure-stageprofile-binutils
5658 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5659 @r=`${PWD_COMMAND}`; export r; \
5660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5661 $(HOST_EXPORTS) \
5662 $(POSTSTAGE1_HOST_EXPORTS) \
5663 cd $(HOST_SUBDIR)/binutils && \
5664 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5665 $(TARGET-stageprofile-binutils)
5667 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5668 clean-stageprofile: clean-stageprofile-binutils
5669 clean-stageprofile-binutils:
5670 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5671 || exit 0 ; \
5672 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5673 cd $(HOST_SUBDIR)/binutils && \
5674 $(MAKE) $(FLAGS_TO_PASS) \
5675 $(POSTSTAGE1_FLAGS_TO_PASS) \
5676 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5677 @endif binutils-bootstrap
5680 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5681 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5682 maybe-all-stagefeedback-binutils:
5683 maybe-clean-stagefeedback-binutils:
5684 @if binutils-bootstrap
5685 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5686 all-stagefeedback: all-stagefeedback-binutils
5687 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5688 all-stagefeedback-binutils: configure-stagefeedback-binutils
5689 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5690 @r=`${PWD_COMMAND}`; export r; \
5691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5692 $(HOST_EXPORTS) \
5693 $(POSTSTAGE1_HOST_EXPORTS) \
5694 cd $(HOST_SUBDIR)/binutils && \
5695 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5696 $(TARGET-stagefeedback-binutils)
5698 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5699 clean-stagefeedback: clean-stagefeedback-binutils
5700 clean-stagefeedback-binutils:
5701 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5702 || exit 0 ; \
5703 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5704 cd $(HOST_SUBDIR)/binutils && \
5705 $(MAKE) $(FLAGS_TO_PASS) \
5706 $(POSTSTAGE1_FLAGS_TO_PASS) \
5707 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5708 @endif binutils-bootstrap
5714 .PHONY: check-binutils maybe-check-binutils
5715 maybe-check-binutils:
5716 @if binutils
5717 maybe-check-binutils: check-binutils
5719 check-binutils:
5720 @: $(MAKE); $(unstage)
5721 @r=`${PWD_COMMAND}`; export r; \
5722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5723 $(HOST_EXPORTS) \
5724 (cd $(HOST_SUBDIR)/binutils && \
5725 $(MAKE) $(FLAGS_TO_PASS) check)
5727 @endif binutils
5729 .PHONY: install-binutils maybe-install-binutils
5730 maybe-install-binutils:
5731 @if binutils
5732 maybe-install-binutils: install-binutils
5734 install-binutils: installdirs
5735 @: $(MAKE); $(unstage)
5736 @r=`${PWD_COMMAND}`; export r; \
5737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5738 $(HOST_EXPORTS) \
5739 (cd $(HOST_SUBDIR)/binutils && \
5740 $(MAKE) $(FLAGS_TO_PASS) install)
5742 @endif binutils
5744 # Other targets (info, dvi, etc.)
5746 .PHONY: maybe-info-binutils info-binutils
5747 maybe-info-binutils:
5748 @if binutils
5749 maybe-info-binutils: info-binutils
5751 info-binutils: \
5752 configure-binutils
5753 @[ -f ./binutils/Makefile ] || exit 0; \
5754 r=`${PWD_COMMAND}`; export r; \
5755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 $(HOST_EXPORTS) \
5757 for flag in $(EXTRA_HOST_FLAGS) ; do \
5758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5759 done; \
5760 echo "Doing info in binutils" ; \
5761 (cd $(HOST_SUBDIR)/binutils && \
5762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5764 "RANLIB=$${RANLIB}" \
5765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5766 info) \
5767 || exit 1
5769 @endif binutils
5771 .PHONY: maybe-dvi-binutils dvi-binutils
5772 maybe-dvi-binutils:
5773 @if binutils
5774 maybe-dvi-binutils: dvi-binutils
5776 dvi-binutils: \
5777 configure-binutils
5778 @[ -f ./binutils/Makefile ] || exit 0; \
5779 r=`${PWD_COMMAND}`; export r; \
5780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5781 $(HOST_EXPORTS) \
5782 for flag in $(EXTRA_HOST_FLAGS) ; do \
5783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5784 done; \
5785 echo "Doing dvi in binutils" ; \
5786 (cd $(HOST_SUBDIR)/binutils && \
5787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5789 "RANLIB=$${RANLIB}" \
5790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5791 dvi) \
5792 || exit 1
5794 @endif binutils
5796 .PHONY: maybe-html-binutils html-binutils
5797 maybe-html-binutils:
5798 @if binutils
5799 maybe-html-binutils: html-binutils
5801 html-binutils: \
5802 configure-binutils
5803 @[ -f ./binutils/Makefile ] || exit 0; \
5804 r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 for flag in $(EXTRA_HOST_FLAGS) ; do \
5808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5809 done; \
5810 echo "Doing html in binutils" ; \
5811 (cd $(HOST_SUBDIR)/binutils && \
5812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5814 "RANLIB=$${RANLIB}" \
5815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5816 html) \
5817 || exit 1
5819 @endif binutils
5821 .PHONY: maybe-TAGS-binutils TAGS-binutils
5822 maybe-TAGS-binutils:
5823 @if binutils
5824 maybe-TAGS-binutils: TAGS-binutils
5826 TAGS-binutils: \
5827 configure-binutils
5828 @[ -f ./binutils/Makefile ] || exit 0; \
5829 r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 $(HOST_EXPORTS) \
5832 for flag in $(EXTRA_HOST_FLAGS) ; do \
5833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5834 done; \
5835 echo "Doing TAGS in binutils" ; \
5836 (cd $(HOST_SUBDIR)/binutils && \
5837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5839 "RANLIB=$${RANLIB}" \
5840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5841 TAGS) \
5842 || exit 1
5844 @endif binutils
5846 .PHONY: maybe-install-info-binutils install-info-binutils
5847 maybe-install-info-binutils:
5848 @if binutils
5849 maybe-install-info-binutils: install-info-binutils
5851 install-info-binutils: \
5852 configure-binutils \
5853 info-binutils
5854 @[ -f ./binutils/Makefile ] || exit 0; \
5855 r=`${PWD_COMMAND}`; export r; \
5856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5857 $(HOST_EXPORTS) \
5858 for flag in $(EXTRA_HOST_FLAGS) ; do \
5859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5860 done; \
5861 echo "Doing install-info in binutils" ; \
5862 (cd $(HOST_SUBDIR)/binutils && \
5863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5865 "RANLIB=$${RANLIB}" \
5866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5867 install-info) \
5868 || exit 1
5870 @endif binutils
5872 .PHONY: maybe-installcheck-binutils installcheck-binutils
5873 maybe-installcheck-binutils:
5874 @if binutils
5875 maybe-installcheck-binutils: installcheck-binutils
5877 installcheck-binutils: \
5878 configure-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 installcheck 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 installcheck) \
5893 || exit 1
5895 @endif binutils
5897 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5898 maybe-mostlyclean-binutils:
5899 @if binutils
5900 maybe-mostlyclean-binutils: mostlyclean-binutils
5902 mostlyclean-binutils:
5903 @[ -f ./binutils/Makefile ] || exit 0; \
5904 r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5906 $(HOST_EXPORTS) \
5907 for flag in $(EXTRA_HOST_FLAGS) ; do \
5908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5909 done; \
5910 echo "Doing mostlyclean in binutils" ; \
5911 (cd $(HOST_SUBDIR)/binutils && \
5912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5914 "RANLIB=$${RANLIB}" \
5915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5916 mostlyclean) \
5917 || exit 1
5919 @endif binutils
5921 .PHONY: maybe-clean-binutils clean-binutils
5922 maybe-clean-binutils:
5923 @if binutils
5924 maybe-clean-binutils: clean-binutils
5926 clean-binutils:
5927 @[ -f ./binutils/Makefile ] || exit 0; \
5928 r=`${PWD_COMMAND}`; export r; \
5929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5930 $(HOST_EXPORTS) \
5931 for flag in $(EXTRA_HOST_FLAGS) ; do \
5932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5933 done; \
5934 echo "Doing clean in binutils" ; \
5935 (cd $(HOST_SUBDIR)/binutils && \
5936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5938 "RANLIB=$${RANLIB}" \
5939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5940 clean) \
5941 || exit 1
5943 @endif binutils
5945 .PHONY: maybe-distclean-binutils distclean-binutils
5946 maybe-distclean-binutils:
5947 @if binutils
5948 maybe-distclean-binutils: distclean-binutils
5950 distclean-binutils:
5951 @[ -f ./binutils/Makefile ] || exit 0; \
5952 r=`${PWD_COMMAND}`; export r; \
5953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5954 $(HOST_EXPORTS) \
5955 for flag in $(EXTRA_HOST_FLAGS) ; do \
5956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5957 done; \
5958 echo "Doing distclean in binutils" ; \
5959 (cd $(HOST_SUBDIR)/binutils && \
5960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5962 "RANLIB=$${RANLIB}" \
5963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5964 distclean) \
5965 || exit 1
5967 @endif binutils
5969 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5970 maybe-maintainer-clean-binutils:
5971 @if binutils
5972 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5974 maintainer-clean-binutils:
5975 @[ -f ./binutils/Makefile ] || exit 0; \
5976 r=`${PWD_COMMAND}`; export r; \
5977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5978 $(HOST_EXPORTS) \
5979 for flag in $(EXTRA_HOST_FLAGS) ; do \
5980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5981 done; \
5982 echo "Doing maintainer-clean in binutils" ; \
5983 (cd $(HOST_SUBDIR)/binutils && \
5984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5986 "RANLIB=$${RANLIB}" \
5987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5988 maintainer-clean) \
5989 || exit 1
5991 @endif binutils
5995 .PHONY: configure-bison maybe-configure-bison
5996 maybe-configure-bison:
5997 @if bison
5998 maybe-configure-bison: configure-bison
5999 configure-bison:
6000 @: $(MAKE); $(unstage)
6001 @r=`${PWD_COMMAND}`; export r; \
6002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6005 $(HOST_EXPORTS) \
6006 echo Configuring in $(HOST_SUBDIR)/bison; \
6007 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6008 case $(srcdir) in \
6009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6010 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6012 esac; \
6013 srcdiroption="--srcdir=$${topdir}/bison"; \
6014 libsrcdir="$$s/bison"; \
6015 $(SHELL) $${libsrcdir}/configure \
6016 $(HOST_CONFIGARGS) $${srcdiroption} \
6017 || exit 1
6018 @endif bison
6024 .PHONY: all-bison maybe-all-bison
6025 maybe-all-bison:
6026 @if bison
6027 TARGET-bison=all
6028 maybe-all-bison: all-bison
6029 all-bison: configure-bison
6030 @: $(MAKE); $(unstage)
6031 @r=`${PWD_COMMAND}`; export r; \
6032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 $(HOST_EXPORTS) \
6034 (cd $(HOST_SUBDIR)/bison && \
6035 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6036 @endif bison
6041 .PHONY: check-bison maybe-check-bison
6042 maybe-check-bison:
6043 @if bison
6044 maybe-check-bison: check-bison
6046 # This module is only tested in a native toolchain.
6047 check-bison:
6048 @: $(MAKE); $(unstage)
6049 @if [ '$(host)' = '$(target)' ] ; then \
6050 r=`${PWD_COMMAND}`; export r; \
6051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6052 $(HOST_EXPORTS) \
6053 (cd $(HOST_SUBDIR)/bison && \
6054 $(MAKE) $(FLAGS_TO_PASS) check); \
6057 @endif bison
6059 .PHONY: install-bison maybe-install-bison
6060 maybe-install-bison:
6061 @if bison
6062 maybe-install-bison: install-bison
6064 install-bison: installdirs
6065 @: $(MAKE); $(unstage)
6066 @r=`${PWD_COMMAND}`; export r; \
6067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6068 $(HOST_EXPORTS) \
6069 (cd $(HOST_SUBDIR)/bison && \
6070 $(MAKE) $(FLAGS_TO_PASS) install)
6072 @endif bison
6074 # Other targets (info, dvi, etc.)
6076 .PHONY: maybe-info-bison info-bison
6077 maybe-info-bison:
6078 @if bison
6079 maybe-info-bison: info-bison
6081 info-bison: \
6082 configure-bison
6083 @: $(MAKE); $(unstage)
6084 @[ -f ./bison/Makefile ] || exit 0; \
6085 r=`${PWD_COMMAND}`; export r; \
6086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6087 $(HOST_EXPORTS) \
6088 for flag in $(EXTRA_HOST_FLAGS) ; do \
6089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6090 done; \
6091 echo "Doing info in bison" ; \
6092 (cd $(HOST_SUBDIR)/bison && \
6093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6095 "RANLIB=$${RANLIB}" \
6096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6097 info) \
6098 || exit 1
6100 @endif bison
6102 .PHONY: maybe-dvi-bison dvi-bison
6103 maybe-dvi-bison:
6104 @if bison
6105 maybe-dvi-bison: dvi-bison
6107 dvi-bison: \
6108 configure-bison
6109 @: $(MAKE); $(unstage)
6110 @[ -f ./bison/Makefile ] || exit 0; \
6111 r=`${PWD_COMMAND}`; export r; \
6112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6113 $(HOST_EXPORTS) \
6114 for flag in $(EXTRA_HOST_FLAGS) ; do \
6115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6116 done; \
6117 echo "Doing dvi in bison" ; \
6118 (cd $(HOST_SUBDIR)/bison && \
6119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6121 "RANLIB=$${RANLIB}" \
6122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6123 dvi) \
6124 || exit 1
6126 @endif bison
6128 .PHONY: maybe-html-bison html-bison
6129 maybe-html-bison:
6130 @if bison
6131 maybe-html-bison: html-bison
6133 html-bison: \
6134 configure-bison
6135 @: $(MAKE); $(unstage)
6136 @[ -f ./bison/Makefile ] || exit 0; \
6137 r=`${PWD_COMMAND}`; export r; \
6138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6139 $(HOST_EXPORTS) \
6140 for flag in $(EXTRA_HOST_FLAGS) ; do \
6141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6142 done; \
6143 echo "Doing html in bison" ; \
6144 (cd $(HOST_SUBDIR)/bison && \
6145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6147 "RANLIB=$${RANLIB}" \
6148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6149 html) \
6150 || exit 1
6152 @endif bison
6154 .PHONY: maybe-TAGS-bison TAGS-bison
6155 maybe-TAGS-bison:
6156 @if bison
6157 maybe-TAGS-bison: TAGS-bison
6159 TAGS-bison: \
6160 configure-bison
6161 @: $(MAKE); $(unstage)
6162 @[ -f ./bison/Makefile ] || exit 0; \
6163 r=`${PWD_COMMAND}`; export r; \
6164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6165 $(HOST_EXPORTS) \
6166 for flag in $(EXTRA_HOST_FLAGS) ; do \
6167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6168 done; \
6169 echo "Doing TAGS in bison" ; \
6170 (cd $(HOST_SUBDIR)/bison && \
6171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6173 "RANLIB=$${RANLIB}" \
6174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6175 TAGS) \
6176 || exit 1
6178 @endif bison
6180 .PHONY: maybe-install-info-bison install-info-bison
6181 maybe-install-info-bison:
6182 @if bison
6183 maybe-install-info-bison: install-info-bison
6185 install-info-bison: \
6186 configure-bison \
6187 info-bison
6188 @: $(MAKE); $(unstage)
6189 @[ -f ./bison/Makefile ] || exit 0; \
6190 r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 for flag in $(EXTRA_HOST_FLAGS) ; do \
6194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6195 done; \
6196 echo "Doing install-info in bison" ; \
6197 (cd $(HOST_SUBDIR)/bison && \
6198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6200 "RANLIB=$${RANLIB}" \
6201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6202 install-info) \
6203 || exit 1
6205 @endif bison
6207 .PHONY: maybe-installcheck-bison installcheck-bison
6208 maybe-installcheck-bison:
6209 @if bison
6210 maybe-installcheck-bison: installcheck-bison
6212 installcheck-bison: \
6213 configure-bison
6214 @: $(MAKE); $(unstage)
6215 @[ -f ./bison/Makefile ] || exit 0; \
6216 r=`${PWD_COMMAND}`; export r; \
6217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6218 $(HOST_EXPORTS) \
6219 for flag in $(EXTRA_HOST_FLAGS) ; do \
6220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6221 done; \
6222 echo "Doing installcheck in bison" ; \
6223 (cd $(HOST_SUBDIR)/bison && \
6224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6226 "RANLIB=$${RANLIB}" \
6227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6228 installcheck) \
6229 || exit 1
6231 @endif bison
6233 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6234 maybe-mostlyclean-bison:
6235 @if bison
6236 maybe-mostlyclean-bison: mostlyclean-bison
6238 mostlyclean-bison:
6239 @: $(MAKE); $(unstage)
6240 @[ -f ./bison/Makefile ] || exit 0; \
6241 r=`${PWD_COMMAND}`; export r; \
6242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6243 $(HOST_EXPORTS) \
6244 for flag in $(EXTRA_HOST_FLAGS) ; do \
6245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6246 done; \
6247 echo "Doing mostlyclean in bison" ; \
6248 (cd $(HOST_SUBDIR)/bison && \
6249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6251 "RANLIB=$${RANLIB}" \
6252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6253 mostlyclean) \
6254 || exit 1
6256 @endif bison
6258 .PHONY: maybe-clean-bison clean-bison
6259 maybe-clean-bison:
6260 @if bison
6261 maybe-clean-bison: clean-bison
6263 clean-bison:
6264 @: $(MAKE); $(unstage)
6265 @[ -f ./bison/Makefile ] || exit 0; \
6266 r=`${PWD_COMMAND}`; export r; \
6267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 $(HOST_EXPORTS) \
6269 for flag in $(EXTRA_HOST_FLAGS) ; do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 echo "Doing clean in bison" ; \
6273 (cd $(HOST_SUBDIR)/bison && \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6278 clean) \
6279 || exit 1
6281 @endif bison
6283 .PHONY: maybe-distclean-bison distclean-bison
6284 maybe-distclean-bison:
6285 @if bison
6286 maybe-distclean-bison: distclean-bison
6288 distclean-bison:
6289 @: $(MAKE); $(unstage)
6290 @[ -f ./bison/Makefile ] || exit 0; \
6291 r=`${PWD_COMMAND}`; export r; \
6292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6293 $(HOST_EXPORTS) \
6294 for flag in $(EXTRA_HOST_FLAGS) ; do \
6295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6296 done; \
6297 echo "Doing distclean in bison" ; \
6298 (cd $(HOST_SUBDIR)/bison && \
6299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6301 "RANLIB=$${RANLIB}" \
6302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6303 distclean) \
6304 || exit 1
6306 @endif bison
6308 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6309 maybe-maintainer-clean-bison:
6310 @if bison
6311 maybe-maintainer-clean-bison: maintainer-clean-bison
6313 maintainer-clean-bison:
6314 @: $(MAKE); $(unstage)
6315 @[ -f ./bison/Makefile ] || exit 0; \
6316 r=`${PWD_COMMAND}`; export r; \
6317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6318 $(HOST_EXPORTS) \
6319 for flag in $(EXTRA_HOST_FLAGS) ; do \
6320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6321 done; \
6322 echo "Doing maintainer-clean in bison" ; \
6323 (cd $(HOST_SUBDIR)/bison && \
6324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6326 "RANLIB=$${RANLIB}" \
6327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6328 maintainer-clean) \
6329 || exit 1
6331 @endif bison
6335 .PHONY: configure-byacc maybe-configure-byacc
6336 maybe-configure-byacc:
6337 @if byacc
6338 maybe-configure-byacc: configure-byacc
6339 configure-byacc:
6340 @: $(MAKE); $(unstage)
6341 @r=`${PWD_COMMAND}`; export r; \
6342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6343 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6345 $(HOST_EXPORTS) \
6346 echo Configuring in $(HOST_SUBDIR)/byacc; \
6347 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6348 case $(srcdir) in \
6349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6350 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6352 esac; \
6353 srcdiroption="--srcdir=$${topdir}/byacc"; \
6354 libsrcdir="$$s/byacc"; \
6355 $(SHELL) $${libsrcdir}/configure \
6356 $(HOST_CONFIGARGS) $${srcdiroption} \
6357 || exit 1
6358 @endif byacc
6364 .PHONY: all-byacc maybe-all-byacc
6365 maybe-all-byacc:
6366 @if byacc
6367 TARGET-byacc=all
6368 maybe-all-byacc: all-byacc
6369 all-byacc: configure-byacc
6370 @: $(MAKE); $(unstage)
6371 @r=`${PWD_COMMAND}`; export r; \
6372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6373 $(HOST_EXPORTS) \
6374 (cd $(HOST_SUBDIR)/byacc && \
6375 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6376 @endif byacc
6381 .PHONY: check-byacc maybe-check-byacc
6382 maybe-check-byacc:
6383 @if byacc
6384 maybe-check-byacc: check-byacc
6386 # This module is only tested in a native toolchain.
6387 check-byacc:
6388 @: $(MAKE); $(unstage)
6389 @if [ '$(host)' = '$(target)' ] ; then \
6390 r=`${PWD_COMMAND}`; export r; \
6391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 $(HOST_EXPORTS) \
6393 (cd $(HOST_SUBDIR)/byacc && \
6394 $(MAKE) $(FLAGS_TO_PASS) check); \
6397 @endif byacc
6399 .PHONY: install-byacc maybe-install-byacc
6400 maybe-install-byacc:
6401 @if byacc
6402 maybe-install-byacc: install-byacc
6404 install-byacc: installdirs
6405 @: $(MAKE); $(unstage)
6406 @r=`${PWD_COMMAND}`; export r; \
6407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6408 $(HOST_EXPORTS) \
6409 (cd $(HOST_SUBDIR)/byacc && \
6410 $(MAKE) $(FLAGS_TO_PASS) install)
6412 @endif byacc
6414 # Other targets (info, dvi, etc.)
6416 .PHONY: maybe-info-byacc info-byacc
6417 maybe-info-byacc:
6418 @if byacc
6419 maybe-info-byacc: info-byacc
6421 info-byacc: \
6422 configure-byacc
6423 @: $(MAKE); $(unstage)
6424 @[ -f ./byacc/Makefile ] || exit 0; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(HOST_EXPORTS) \
6428 for flag in $(EXTRA_HOST_FLAGS) ; do \
6429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6430 done; \
6431 echo "Doing info in byacc" ; \
6432 (cd $(HOST_SUBDIR)/byacc && \
6433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435 "RANLIB=$${RANLIB}" \
6436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437 info) \
6438 || exit 1
6440 @endif byacc
6442 .PHONY: maybe-dvi-byacc dvi-byacc
6443 maybe-dvi-byacc:
6444 @if byacc
6445 maybe-dvi-byacc: dvi-byacc
6447 dvi-byacc: \
6448 configure-byacc
6449 @: $(MAKE); $(unstage)
6450 @[ -f ./byacc/Makefile ] || exit 0; \
6451 r=`${PWD_COMMAND}`; export r; \
6452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6453 $(HOST_EXPORTS) \
6454 for flag in $(EXTRA_HOST_FLAGS) ; do \
6455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6456 done; \
6457 echo "Doing dvi in byacc" ; \
6458 (cd $(HOST_SUBDIR)/byacc && \
6459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6461 "RANLIB=$${RANLIB}" \
6462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6463 dvi) \
6464 || exit 1
6466 @endif byacc
6468 .PHONY: maybe-html-byacc html-byacc
6469 maybe-html-byacc:
6470 @if byacc
6471 maybe-html-byacc: html-byacc
6473 html-byacc: \
6474 configure-byacc
6475 @: $(MAKE); $(unstage)
6476 @[ -f ./byacc/Makefile ] || exit 0; \
6477 r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(HOST_EXPORTS) \
6480 for flag in $(EXTRA_HOST_FLAGS) ; do \
6481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6482 done; \
6483 echo "Doing html in byacc" ; \
6484 (cd $(HOST_SUBDIR)/byacc && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6487 "RANLIB=$${RANLIB}" \
6488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6489 html) \
6490 || exit 1
6492 @endif byacc
6494 .PHONY: maybe-TAGS-byacc TAGS-byacc
6495 maybe-TAGS-byacc:
6496 @if byacc
6497 maybe-TAGS-byacc: TAGS-byacc
6499 TAGS-byacc: \
6500 configure-byacc
6501 @: $(MAKE); $(unstage)
6502 @[ -f ./byacc/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(HOST_EXPORTS) \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6508 done; \
6509 echo "Doing TAGS in byacc" ; \
6510 (cd $(HOST_SUBDIR)/byacc && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6515 TAGS) \
6516 || exit 1
6518 @endif byacc
6520 .PHONY: maybe-install-info-byacc install-info-byacc
6521 maybe-install-info-byacc:
6522 @if byacc
6523 maybe-install-info-byacc: install-info-byacc
6525 install-info-byacc: \
6526 configure-byacc \
6527 info-byacc
6528 @: $(MAKE); $(unstage)
6529 @[ -f ./byacc/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 for flag in $(EXTRA_HOST_FLAGS) ; do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 done; \
6536 echo "Doing install-info in byacc" ; \
6537 (cd $(HOST_SUBDIR)/byacc && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6542 install-info) \
6543 || exit 1
6545 @endif byacc
6547 .PHONY: maybe-installcheck-byacc installcheck-byacc
6548 maybe-installcheck-byacc:
6549 @if byacc
6550 maybe-installcheck-byacc: installcheck-byacc
6552 installcheck-byacc: \
6553 configure-byacc
6554 @: $(MAKE); $(unstage)
6555 @[ -f ./byacc/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing installcheck in byacc" ; \
6563 (cd $(HOST_SUBDIR)/byacc && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6568 installcheck) \
6569 || exit 1
6571 @endif byacc
6573 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6574 maybe-mostlyclean-byacc:
6575 @if byacc
6576 maybe-mostlyclean-byacc: mostlyclean-byacc
6578 mostlyclean-byacc:
6579 @: $(MAKE); $(unstage)
6580 @[ -f ./byacc/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing mostlyclean in byacc" ; \
6588 (cd $(HOST_SUBDIR)/byacc && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6593 mostlyclean) \
6594 || exit 1
6596 @endif byacc
6598 .PHONY: maybe-clean-byacc clean-byacc
6599 maybe-clean-byacc:
6600 @if byacc
6601 maybe-clean-byacc: clean-byacc
6603 clean-byacc:
6604 @: $(MAKE); $(unstage)
6605 @[ -f ./byacc/Makefile ] || exit 0; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 $(HOST_EXPORTS) \
6609 for flag in $(EXTRA_HOST_FLAGS) ; do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing clean in byacc" ; \
6613 (cd $(HOST_SUBDIR)/byacc && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6618 clean) \
6619 || exit 1
6621 @endif byacc
6623 .PHONY: maybe-distclean-byacc distclean-byacc
6624 maybe-distclean-byacc:
6625 @if byacc
6626 maybe-distclean-byacc: distclean-byacc
6628 distclean-byacc:
6629 @: $(MAKE); $(unstage)
6630 @[ -f ./byacc/Makefile ] || exit 0; \
6631 r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 for flag in $(EXTRA_HOST_FLAGS) ; do \
6635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6636 done; \
6637 echo "Doing distclean in byacc" ; \
6638 (cd $(HOST_SUBDIR)/byacc && \
6639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6641 "RANLIB=$${RANLIB}" \
6642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6643 distclean) \
6644 || exit 1
6646 @endif byacc
6648 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6649 maybe-maintainer-clean-byacc:
6650 @if byacc
6651 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6653 maintainer-clean-byacc:
6654 @: $(MAKE); $(unstage)
6655 @[ -f ./byacc/Makefile ] || exit 0; \
6656 r=`${PWD_COMMAND}`; export r; \
6657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 $(HOST_EXPORTS) \
6659 for flag in $(EXTRA_HOST_FLAGS) ; do \
6660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6661 done; \
6662 echo "Doing maintainer-clean in byacc" ; \
6663 (cd $(HOST_SUBDIR)/byacc && \
6664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6666 "RANLIB=$${RANLIB}" \
6667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6668 maintainer-clean) \
6669 || exit 1
6671 @endif byacc
6675 .PHONY: configure-bzip2 maybe-configure-bzip2
6676 maybe-configure-bzip2:
6677 @if bzip2
6678 maybe-configure-bzip2: configure-bzip2
6679 configure-bzip2:
6680 @: $(MAKE); $(unstage)
6681 @r=`${PWD_COMMAND}`; export r; \
6682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6683 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6684 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6685 $(HOST_EXPORTS) \
6686 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6687 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6688 case $(srcdir) in \
6689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6690 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6692 esac; \
6693 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6694 libsrcdir="$$s/bzip2"; \
6695 $(SHELL) $${libsrcdir}/configure \
6696 $(HOST_CONFIGARGS) $${srcdiroption} \
6697 || exit 1
6698 @endif bzip2
6704 .PHONY: all-bzip2 maybe-all-bzip2
6705 maybe-all-bzip2:
6706 @if bzip2
6707 TARGET-bzip2=all
6708 maybe-all-bzip2: all-bzip2
6709 all-bzip2: configure-bzip2
6710 @: $(MAKE); $(unstage)
6711 @r=`${PWD_COMMAND}`; export r; \
6712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6713 $(HOST_EXPORTS) \
6714 (cd $(HOST_SUBDIR)/bzip2 && \
6715 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6716 @endif bzip2
6721 .PHONY: check-bzip2 maybe-check-bzip2
6722 maybe-check-bzip2:
6723 @if bzip2
6724 maybe-check-bzip2: check-bzip2
6726 check-bzip2:
6727 @: $(MAKE); $(unstage)
6728 @r=`${PWD_COMMAND}`; export r; \
6729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6730 $(HOST_EXPORTS) \
6731 (cd $(HOST_SUBDIR)/bzip2 && \
6732 $(MAKE) $(FLAGS_TO_PASS) check)
6734 @endif bzip2
6736 .PHONY: install-bzip2 maybe-install-bzip2
6737 maybe-install-bzip2:
6738 @if bzip2
6739 maybe-install-bzip2: install-bzip2
6741 install-bzip2: installdirs
6742 @: $(MAKE); $(unstage)
6743 @r=`${PWD_COMMAND}`; export r; \
6744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6745 $(HOST_EXPORTS) \
6746 (cd $(HOST_SUBDIR)/bzip2 && \
6747 $(MAKE) $(FLAGS_TO_PASS) install)
6749 @endif bzip2
6751 # Other targets (info, dvi, etc.)
6753 .PHONY: maybe-info-bzip2 info-bzip2
6754 maybe-info-bzip2:
6755 @if bzip2
6756 maybe-info-bzip2: info-bzip2
6758 info-bzip2: \
6759 configure-bzip2
6760 @: $(MAKE); $(unstage)
6761 @[ -f ./bzip2/Makefile ] || exit 0; \
6762 r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(HOST_EXPORTS) \
6765 for flag in $(EXTRA_HOST_FLAGS) ; do \
6766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6767 done; \
6768 echo "Doing info in bzip2" ; \
6769 (cd $(HOST_SUBDIR)/bzip2 && \
6770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6772 "RANLIB=$${RANLIB}" \
6773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6774 info) \
6775 || exit 1
6777 @endif bzip2
6779 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6780 maybe-dvi-bzip2:
6781 @if bzip2
6782 maybe-dvi-bzip2: dvi-bzip2
6784 dvi-bzip2: \
6785 configure-bzip2
6786 @: $(MAKE); $(unstage)
6787 @[ -f ./bzip2/Makefile ] || exit 0; \
6788 r=`${PWD_COMMAND}`; export r; \
6789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6790 $(HOST_EXPORTS) \
6791 for flag in $(EXTRA_HOST_FLAGS) ; do \
6792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6793 done; \
6794 echo "Doing dvi in bzip2" ; \
6795 (cd $(HOST_SUBDIR)/bzip2 && \
6796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6798 "RANLIB=$${RANLIB}" \
6799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6800 dvi) \
6801 || exit 1
6803 @endif bzip2
6805 .PHONY: maybe-html-bzip2 html-bzip2
6806 maybe-html-bzip2:
6807 @if bzip2
6808 maybe-html-bzip2: html-bzip2
6810 html-bzip2: \
6811 configure-bzip2
6812 @: $(MAKE); $(unstage)
6813 @[ -f ./bzip2/Makefile ] || exit 0; \
6814 r=`${PWD_COMMAND}`; export r; \
6815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 $(HOST_EXPORTS) \
6817 for flag in $(EXTRA_HOST_FLAGS) ; do \
6818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6819 done; \
6820 echo "Doing html in bzip2" ; \
6821 (cd $(HOST_SUBDIR)/bzip2 && \
6822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6824 "RANLIB=$${RANLIB}" \
6825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6826 html) \
6827 || exit 1
6829 @endif bzip2
6831 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6832 maybe-TAGS-bzip2:
6833 @if bzip2
6834 maybe-TAGS-bzip2: TAGS-bzip2
6836 TAGS-bzip2: \
6837 configure-bzip2
6838 @: $(MAKE); $(unstage)
6839 @[ -f ./bzip2/Makefile ] || exit 0; \
6840 r=`${PWD_COMMAND}`; export r; \
6841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 $(HOST_EXPORTS) \
6843 for flag in $(EXTRA_HOST_FLAGS) ; do \
6844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 done; \
6846 echo "Doing TAGS in bzip2" ; \
6847 (cd $(HOST_SUBDIR)/bzip2 && \
6848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6850 "RANLIB=$${RANLIB}" \
6851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6852 TAGS) \
6853 || exit 1
6855 @endif bzip2
6857 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6858 maybe-install-info-bzip2:
6859 @if bzip2
6860 maybe-install-info-bzip2: install-info-bzip2
6862 install-info-bzip2: \
6863 configure-bzip2 \
6864 info-bzip2
6865 @: $(MAKE); $(unstage)
6866 @[ -f ./bzip2/Makefile ] || exit 0; \
6867 r=`${PWD_COMMAND}`; export r; \
6868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869 $(HOST_EXPORTS) \
6870 for flag in $(EXTRA_HOST_FLAGS) ; do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872 done; \
6873 echo "Doing install-info in bzip2" ; \
6874 (cd $(HOST_SUBDIR)/bzip2 && \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6879 install-info) \
6880 || exit 1
6882 @endif bzip2
6884 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6885 maybe-installcheck-bzip2:
6886 @if bzip2
6887 maybe-installcheck-bzip2: installcheck-bzip2
6889 installcheck-bzip2: \
6890 configure-bzip2
6891 @: $(MAKE); $(unstage)
6892 @[ -f ./bzip2/Makefile ] || exit 0; \
6893 r=`${PWD_COMMAND}`; export r; \
6894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6895 $(HOST_EXPORTS) \
6896 for flag in $(EXTRA_HOST_FLAGS) ; do \
6897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6898 done; \
6899 echo "Doing installcheck in bzip2" ; \
6900 (cd $(HOST_SUBDIR)/bzip2 && \
6901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6903 "RANLIB=$${RANLIB}" \
6904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6905 installcheck) \
6906 || exit 1
6908 @endif bzip2
6910 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6911 maybe-mostlyclean-bzip2:
6912 @if bzip2
6913 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6915 mostlyclean-bzip2:
6916 @: $(MAKE); $(unstage)
6917 @[ -f ./bzip2/Makefile ] || exit 0; \
6918 r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 $(HOST_EXPORTS) \
6921 for flag in $(EXTRA_HOST_FLAGS) ; do \
6922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6923 done; \
6924 echo "Doing mostlyclean in bzip2" ; \
6925 (cd $(HOST_SUBDIR)/bzip2 && \
6926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6928 "RANLIB=$${RANLIB}" \
6929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6930 mostlyclean) \
6931 || exit 1
6933 @endif bzip2
6935 .PHONY: maybe-clean-bzip2 clean-bzip2
6936 maybe-clean-bzip2:
6937 @if bzip2
6938 maybe-clean-bzip2: clean-bzip2
6940 clean-bzip2:
6941 @: $(MAKE); $(unstage)
6942 @[ -f ./bzip2/Makefile ] || exit 0; \
6943 r=`${PWD_COMMAND}`; export r; \
6944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6945 $(HOST_EXPORTS) \
6946 for flag in $(EXTRA_HOST_FLAGS) ; do \
6947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6948 done; \
6949 echo "Doing clean in bzip2" ; \
6950 (cd $(HOST_SUBDIR)/bzip2 && \
6951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6953 "RANLIB=$${RANLIB}" \
6954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6955 clean) \
6956 || exit 1
6958 @endif bzip2
6960 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6961 maybe-distclean-bzip2:
6962 @if bzip2
6963 maybe-distclean-bzip2: distclean-bzip2
6965 distclean-bzip2:
6966 @: $(MAKE); $(unstage)
6967 @[ -f ./bzip2/Makefile ] || exit 0; \
6968 r=`${PWD_COMMAND}`; export r; \
6969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6970 $(HOST_EXPORTS) \
6971 for flag in $(EXTRA_HOST_FLAGS) ; do \
6972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6973 done; \
6974 echo "Doing distclean in bzip2" ; \
6975 (cd $(HOST_SUBDIR)/bzip2 && \
6976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6978 "RANLIB=$${RANLIB}" \
6979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6980 distclean) \
6981 || exit 1
6983 @endif bzip2
6985 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6986 maybe-maintainer-clean-bzip2:
6987 @if bzip2
6988 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6990 maintainer-clean-bzip2:
6991 @: $(MAKE); $(unstage)
6992 @[ -f ./bzip2/Makefile ] || exit 0; \
6993 r=`${PWD_COMMAND}`; export r; \
6994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6995 $(HOST_EXPORTS) \
6996 for flag in $(EXTRA_HOST_FLAGS) ; do \
6997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6998 done; \
6999 echo "Doing maintainer-clean in bzip2" ; \
7000 (cd $(HOST_SUBDIR)/bzip2 && \
7001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7003 "RANLIB=$${RANLIB}" \
7004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7005 maintainer-clean) \
7006 || exit 1
7008 @endif bzip2
7012 .PHONY: configure-dejagnu maybe-configure-dejagnu
7013 maybe-configure-dejagnu:
7014 @if dejagnu
7015 maybe-configure-dejagnu: configure-dejagnu
7016 configure-dejagnu:
7017 @: $(MAKE); $(unstage)
7018 @r=`${PWD_COMMAND}`; export r; \
7019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7020 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7022 $(HOST_EXPORTS) \
7023 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7024 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7025 case $(srcdir) in \
7026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7027 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7029 esac; \
7030 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7031 libsrcdir="$$s/dejagnu"; \
7032 $(SHELL) $${libsrcdir}/configure \
7033 $(HOST_CONFIGARGS) $${srcdiroption} \
7034 || exit 1
7035 @endif dejagnu
7041 .PHONY: all-dejagnu maybe-all-dejagnu
7042 maybe-all-dejagnu:
7043 @if dejagnu
7044 TARGET-dejagnu=all
7045 maybe-all-dejagnu: all-dejagnu
7046 all-dejagnu: configure-dejagnu
7047 @: $(MAKE); $(unstage)
7048 @r=`${PWD_COMMAND}`; export r; \
7049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7050 $(HOST_EXPORTS) \
7051 (cd $(HOST_SUBDIR)/dejagnu && \
7052 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7053 @endif dejagnu
7058 .PHONY: check-dejagnu maybe-check-dejagnu
7059 maybe-check-dejagnu:
7060 @if dejagnu
7061 maybe-check-dejagnu: check-dejagnu
7063 check-dejagnu:
7064 @: $(MAKE); $(unstage)
7065 @r=`${PWD_COMMAND}`; export r; \
7066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7067 $(HOST_EXPORTS) \
7068 (cd $(HOST_SUBDIR)/dejagnu && \
7069 $(MAKE) $(FLAGS_TO_PASS) check)
7071 @endif dejagnu
7073 .PHONY: install-dejagnu maybe-install-dejagnu
7074 maybe-install-dejagnu:
7075 @if dejagnu
7076 maybe-install-dejagnu: install-dejagnu
7078 install-dejagnu: installdirs
7079 @: $(MAKE); $(unstage)
7080 @r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7082 $(HOST_EXPORTS) \
7083 (cd $(HOST_SUBDIR)/dejagnu && \
7084 $(MAKE) $(FLAGS_TO_PASS) install)
7086 @endif dejagnu
7088 # Other targets (info, dvi, etc.)
7090 .PHONY: maybe-info-dejagnu info-dejagnu
7091 maybe-info-dejagnu:
7092 @if dejagnu
7093 maybe-info-dejagnu: info-dejagnu
7095 info-dejagnu: \
7096 configure-dejagnu
7097 @: $(MAKE); $(unstage)
7098 @[ -f ./dejagnu/Makefile ] || exit 0; \
7099 r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 $(HOST_EXPORTS) \
7102 for flag in $(EXTRA_HOST_FLAGS) ; do \
7103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7104 done; \
7105 echo "Doing info in dejagnu" ; \
7106 (cd $(HOST_SUBDIR)/dejagnu && \
7107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7109 "RANLIB=$${RANLIB}" \
7110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7111 info) \
7112 || exit 1
7114 @endif dejagnu
7116 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7117 maybe-dvi-dejagnu:
7118 @if dejagnu
7119 maybe-dvi-dejagnu: dvi-dejagnu
7121 dvi-dejagnu: \
7122 configure-dejagnu
7123 @: $(MAKE); $(unstage)
7124 @[ -f ./dejagnu/Makefile ] || exit 0; \
7125 r=`${PWD_COMMAND}`; export r; \
7126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7127 $(HOST_EXPORTS) \
7128 for flag in $(EXTRA_HOST_FLAGS) ; do \
7129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7130 done; \
7131 echo "Doing dvi in dejagnu" ; \
7132 (cd $(HOST_SUBDIR)/dejagnu && \
7133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7135 "RANLIB=$${RANLIB}" \
7136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7137 dvi) \
7138 || exit 1
7140 @endif dejagnu
7142 .PHONY: maybe-html-dejagnu html-dejagnu
7143 maybe-html-dejagnu:
7144 @if dejagnu
7145 maybe-html-dejagnu: html-dejagnu
7147 html-dejagnu: \
7148 configure-dejagnu
7149 @: $(MAKE); $(unstage)
7150 @[ -f ./dejagnu/Makefile ] || exit 0; \
7151 r=`${PWD_COMMAND}`; export r; \
7152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7153 $(HOST_EXPORTS) \
7154 for flag in $(EXTRA_HOST_FLAGS) ; do \
7155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7156 done; \
7157 echo "Doing html in dejagnu" ; \
7158 (cd $(HOST_SUBDIR)/dejagnu && \
7159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7161 "RANLIB=$${RANLIB}" \
7162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7163 html) \
7164 || exit 1
7166 @endif dejagnu
7168 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7169 maybe-TAGS-dejagnu:
7170 @if dejagnu
7171 maybe-TAGS-dejagnu: TAGS-dejagnu
7173 TAGS-dejagnu: \
7174 configure-dejagnu
7175 @: $(MAKE); $(unstage)
7176 @[ -f ./dejagnu/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7179 $(HOST_EXPORTS) \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7182 done; \
7183 echo "Doing TAGS in dejagnu" ; \
7184 (cd $(HOST_SUBDIR)/dejagnu && \
7185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7187 "RANLIB=$${RANLIB}" \
7188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7189 TAGS) \
7190 || exit 1
7192 @endif dejagnu
7194 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7195 maybe-install-info-dejagnu:
7196 @if dejagnu
7197 maybe-install-info-dejagnu: install-info-dejagnu
7199 install-info-dejagnu: \
7200 configure-dejagnu \
7201 info-dejagnu
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./dejagnu/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing install-info in dejagnu" ; \
7211 (cd $(HOST_SUBDIR)/dejagnu && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7216 install-info) \
7217 || exit 1
7219 @endif dejagnu
7221 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7222 maybe-installcheck-dejagnu:
7223 @if dejagnu
7224 maybe-installcheck-dejagnu: installcheck-dejagnu
7226 installcheck-dejagnu: \
7227 configure-dejagnu
7228 @: $(MAKE); $(unstage)
7229 @[ -f ./dejagnu/Makefile ] || exit 0; \
7230 r=`${PWD_COMMAND}`; export r; \
7231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 $(HOST_EXPORTS) \
7233 for flag in $(EXTRA_HOST_FLAGS) ; do \
7234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 done; \
7236 echo "Doing installcheck in dejagnu" ; \
7237 (cd $(HOST_SUBDIR)/dejagnu && \
7238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7240 "RANLIB=$${RANLIB}" \
7241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7242 installcheck) \
7243 || exit 1
7245 @endif dejagnu
7247 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7248 maybe-mostlyclean-dejagnu:
7249 @if dejagnu
7250 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7252 mostlyclean-dejagnu:
7253 @: $(MAKE); $(unstage)
7254 @[ -f ./dejagnu/Makefile ] || exit 0; \
7255 r=`${PWD_COMMAND}`; export r; \
7256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing mostlyclean in dejagnu" ; \
7262 (cd $(HOST_SUBDIR)/dejagnu && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7267 mostlyclean) \
7268 || exit 1
7270 @endif dejagnu
7272 .PHONY: maybe-clean-dejagnu clean-dejagnu
7273 maybe-clean-dejagnu:
7274 @if dejagnu
7275 maybe-clean-dejagnu: clean-dejagnu
7277 clean-dejagnu:
7278 @: $(MAKE); $(unstage)
7279 @[ -f ./dejagnu/Makefile ] || exit 0; \
7280 r=`${PWD_COMMAND}`; export r; \
7281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7282 $(HOST_EXPORTS) \
7283 for flag in $(EXTRA_HOST_FLAGS) ; do \
7284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7285 done; \
7286 echo "Doing clean in dejagnu" ; \
7287 (cd $(HOST_SUBDIR)/dejagnu && \
7288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7290 "RANLIB=$${RANLIB}" \
7291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7292 clean) \
7293 || exit 1
7295 @endif dejagnu
7297 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7298 maybe-distclean-dejagnu:
7299 @if dejagnu
7300 maybe-distclean-dejagnu: distclean-dejagnu
7302 distclean-dejagnu:
7303 @: $(MAKE); $(unstage)
7304 @[ -f ./dejagnu/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307 $(HOST_EXPORTS) \
7308 for flag in $(EXTRA_HOST_FLAGS) ; do \
7309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7310 done; \
7311 echo "Doing distclean in dejagnu" ; \
7312 (cd $(HOST_SUBDIR)/dejagnu && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315 "RANLIB=$${RANLIB}" \
7316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7317 distclean) \
7318 || exit 1
7320 @endif dejagnu
7322 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7323 maybe-maintainer-clean-dejagnu:
7324 @if dejagnu
7325 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7327 maintainer-clean-dejagnu:
7328 @: $(MAKE); $(unstage)
7329 @[ -f ./dejagnu/Makefile ] || exit 0; \
7330 r=`${PWD_COMMAND}`; export r; \
7331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7332 $(HOST_EXPORTS) \
7333 for flag in $(EXTRA_HOST_FLAGS) ; do \
7334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7335 done; \
7336 echo "Doing maintainer-clean in dejagnu" ; \
7337 (cd $(HOST_SUBDIR)/dejagnu && \
7338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7340 "RANLIB=$${RANLIB}" \
7341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7342 maintainer-clean) \
7343 || exit 1
7345 @endif dejagnu
7349 .PHONY: configure-diff maybe-configure-diff
7350 maybe-configure-diff:
7351 @if diff
7352 maybe-configure-diff: configure-diff
7353 configure-diff:
7354 @: $(MAKE); $(unstage)
7355 @r=`${PWD_COMMAND}`; export r; \
7356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7357 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7359 $(HOST_EXPORTS) \
7360 echo Configuring in $(HOST_SUBDIR)/diff; \
7361 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7362 case $(srcdir) in \
7363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7364 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7366 esac; \
7367 srcdiroption="--srcdir=$${topdir}/diff"; \
7368 libsrcdir="$$s/diff"; \
7369 $(SHELL) $${libsrcdir}/configure \
7370 $(HOST_CONFIGARGS) $${srcdiroption} \
7371 || exit 1
7372 @endif diff
7378 .PHONY: all-diff maybe-all-diff
7379 maybe-all-diff:
7380 @if diff
7381 TARGET-diff=all
7382 maybe-all-diff: all-diff
7383 all-diff: configure-diff
7384 @: $(MAKE); $(unstage)
7385 @r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 (cd $(HOST_SUBDIR)/diff && \
7389 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7390 @endif diff
7395 .PHONY: check-diff maybe-check-diff
7396 maybe-check-diff:
7397 @if diff
7398 maybe-check-diff: check-diff
7400 check-diff:
7401 @: $(MAKE); $(unstage)
7402 @r=`${PWD_COMMAND}`; export r; \
7403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 $(HOST_EXPORTS) \
7405 (cd $(HOST_SUBDIR)/diff && \
7406 $(MAKE) $(FLAGS_TO_PASS) check)
7408 @endif diff
7410 .PHONY: install-diff maybe-install-diff
7411 maybe-install-diff:
7412 @if diff
7413 maybe-install-diff: install-diff
7415 install-diff: installdirs
7416 @: $(MAKE); $(unstage)
7417 @r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 $(HOST_EXPORTS) \
7420 (cd $(HOST_SUBDIR)/diff && \
7421 $(MAKE) $(FLAGS_TO_PASS) install)
7423 @endif diff
7425 # Other targets (info, dvi, etc.)
7427 .PHONY: maybe-info-diff info-diff
7428 maybe-info-diff:
7429 @if diff
7430 maybe-info-diff: info-diff
7432 info-diff: \
7433 configure-diff
7434 @: $(MAKE); $(unstage)
7435 @[ -f ./diff/Makefile ] || exit 0; \
7436 r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS) ; do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing info in diff" ; \
7443 (cd $(HOST_SUBDIR)/diff && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 info) \
7449 || exit 1
7451 @endif diff
7453 .PHONY: maybe-dvi-diff dvi-diff
7454 maybe-dvi-diff:
7455 @if diff
7456 maybe-dvi-diff: dvi-diff
7458 dvi-diff: \
7459 configure-diff
7460 @: $(MAKE); $(unstage)
7461 @[ -f ./diff/Makefile ] || exit 0; \
7462 r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(HOST_EXPORTS) \
7465 for flag in $(EXTRA_HOST_FLAGS) ; do \
7466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7467 done; \
7468 echo "Doing dvi in diff" ; \
7469 (cd $(HOST_SUBDIR)/diff && \
7470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7472 "RANLIB=$${RANLIB}" \
7473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7474 dvi) \
7475 || exit 1
7477 @endif diff
7479 .PHONY: maybe-html-diff html-diff
7480 maybe-html-diff:
7481 @if diff
7482 maybe-html-diff: html-diff
7484 html-diff: \
7485 configure-diff
7486 @: $(MAKE); $(unstage)
7487 @[ -f ./diff/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing html in diff" ; \
7495 (cd $(HOST_SUBDIR)/diff && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7500 html) \
7501 || exit 1
7503 @endif diff
7505 .PHONY: maybe-TAGS-diff TAGS-diff
7506 maybe-TAGS-diff:
7507 @if diff
7508 maybe-TAGS-diff: TAGS-diff
7510 TAGS-diff: \
7511 configure-diff
7512 @: $(MAKE); $(unstage)
7513 @[ -f ./diff/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing TAGS in diff" ; \
7521 (cd $(HOST_SUBDIR)/diff && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 TAGS) \
7527 || exit 1
7529 @endif diff
7531 .PHONY: maybe-install-info-diff install-info-diff
7532 maybe-install-info-diff:
7533 @if diff
7534 maybe-install-info-diff: install-info-diff
7536 install-info-diff: \
7537 configure-diff \
7538 info-diff
7539 @: $(MAKE); $(unstage)
7540 @[ -f ./diff/Makefile ] || exit 0; \
7541 r=`${PWD_COMMAND}`; export r; \
7542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7543 $(HOST_EXPORTS) \
7544 for flag in $(EXTRA_HOST_FLAGS) ; do \
7545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7546 done; \
7547 echo "Doing install-info in diff" ; \
7548 (cd $(HOST_SUBDIR)/diff && \
7549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7551 "RANLIB=$${RANLIB}" \
7552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7553 install-info) \
7554 || exit 1
7556 @endif diff
7558 .PHONY: maybe-installcheck-diff installcheck-diff
7559 maybe-installcheck-diff:
7560 @if diff
7561 maybe-installcheck-diff: installcheck-diff
7563 installcheck-diff: \
7564 configure-diff
7565 @: $(MAKE); $(unstage)
7566 @[ -f ./diff/Makefile ] || exit 0; \
7567 r=`${PWD_COMMAND}`; export r; \
7568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 $(HOST_EXPORTS) \
7570 for flag in $(EXTRA_HOST_FLAGS) ; do \
7571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7572 done; \
7573 echo "Doing installcheck in diff" ; \
7574 (cd $(HOST_SUBDIR)/diff && \
7575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7577 "RANLIB=$${RANLIB}" \
7578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7579 installcheck) \
7580 || exit 1
7582 @endif diff
7584 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7585 maybe-mostlyclean-diff:
7586 @if diff
7587 maybe-mostlyclean-diff: mostlyclean-diff
7589 mostlyclean-diff:
7590 @: $(MAKE); $(unstage)
7591 @[ -f ./diff/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(HOST_EXPORTS) \
7595 for flag in $(EXTRA_HOST_FLAGS) ; do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7597 done; \
7598 echo "Doing mostlyclean in diff" ; \
7599 (cd $(HOST_SUBDIR)/diff && \
7600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7602 "RANLIB=$${RANLIB}" \
7603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7604 mostlyclean) \
7605 || exit 1
7607 @endif diff
7609 .PHONY: maybe-clean-diff clean-diff
7610 maybe-clean-diff:
7611 @if diff
7612 maybe-clean-diff: clean-diff
7614 clean-diff:
7615 @: $(MAKE); $(unstage)
7616 @[ -f ./diff/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing clean in diff" ; \
7624 (cd $(HOST_SUBDIR)/diff && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7629 clean) \
7630 || exit 1
7632 @endif diff
7634 .PHONY: maybe-distclean-diff distclean-diff
7635 maybe-distclean-diff:
7636 @if diff
7637 maybe-distclean-diff: distclean-diff
7639 distclean-diff:
7640 @: $(MAKE); $(unstage)
7641 @[ -f ./diff/Makefile ] || exit 0; \
7642 r=`${PWD_COMMAND}`; export r; \
7643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7644 $(HOST_EXPORTS) \
7645 for flag in $(EXTRA_HOST_FLAGS) ; do \
7646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7647 done; \
7648 echo "Doing distclean in diff" ; \
7649 (cd $(HOST_SUBDIR)/diff && \
7650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7652 "RANLIB=$${RANLIB}" \
7653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7654 distclean) \
7655 || exit 1
7657 @endif diff
7659 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7660 maybe-maintainer-clean-diff:
7661 @if diff
7662 maybe-maintainer-clean-diff: maintainer-clean-diff
7664 maintainer-clean-diff:
7665 @: $(MAKE); $(unstage)
7666 @[ -f ./diff/Makefile ] || exit 0; \
7667 r=`${PWD_COMMAND}`; export r; \
7668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7669 $(HOST_EXPORTS) \
7670 for flag in $(EXTRA_HOST_FLAGS) ; do \
7671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7672 done; \
7673 echo "Doing maintainer-clean in diff" ; \
7674 (cd $(HOST_SUBDIR)/diff && \
7675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7677 "RANLIB=$${RANLIB}" \
7678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7679 maintainer-clean) \
7680 || exit 1
7682 @endif diff
7686 .PHONY: configure-dosutils maybe-configure-dosutils
7687 maybe-configure-dosutils:
7688 @if dosutils
7689 maybe-configure-dosutils: configure-dosutils
7690 configure-dosutils:
7691 @: $(MAKE); $(unstage)
7692 @r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7696 $(HOST_EXPORTS) \
7697 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7698 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7699 case $(srcdir) in \
7700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7701 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7703 esac; \
7704 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7705 libsrcdir="$$s/dosutils"; \
7706 $(SHELL) $${libsrcdir}/configure \
7707 $(HOST_CONFIGARGS) $${srcdiroption} \
7708 || exit 1
7709 @endif dosutils
7715 .PHONY: all-dosutils maybe-all-dosutils
7716 maybe-all-dosutils:
7717 @if dosutils
7718 TARGET-dosutils=all
7719 maybe-all-dosutils: all-dosutils
7720 all-dosutils: configure-dosutils
7721 @: $(MAKE); $(unstage)
7722 @r=`${PWD_COMMAND}`; export r; \
7723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 $(HOST_EXPORTS) \
7725 (cd $(HOST_SUBDIR)/dosutils && \
7726 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7727 @endif dosutils
7732 .PHONY: check-dosutils maybe-check-dosutils
7733 maybe-check-dosutils:
7734 @if dosutils
7735 maybe-check-dosutils: check-dosutils
7737 check-dosutils:
7739 @endif dosutils
7741 .PHONY: install-dosutils maybe-install-dosutils
7742 maybe-install-dosutils:
7743 @if dosutils
7744 maybe-install-dosutils: install-dosutils
7746 install-dosutils: installdirs
7747 @: $(MAKE); $(unstage)
7748 @r=`${PWD_COMMAND}`; export r; \
7749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7750 $(HOST_EXPORTS) \
7751 (cd $(HOST_SUBDIR)/dosutils && \
7752 $(MAKE) $(FLAGS_TO_PASS) install)
7754 @endif dosutils
7756 # Other targets (info, dvi, etc.)
7758 .PHONY: maybe-info-dosutils info-dosutils
7759 maybe-info-dosutils:
7760 @if dosutils
7761 maybe-info-dosutils: info-dosutils
7763 info-dosutils: \
7764 configure-dosutils
7765 @: $(MAKE); $(unstage)
7766 @[ -f ./dosutils/Makefile ] || exit 0; \
7767 r=`${PWD_COMMAND}`; export r; \
7768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7769 $(HOST_EXPORTS) \
7770 for flag in $(EXTRA_HOST_FLAGS) ; do \
7771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7772 done; \
7773 echo "Doing info in dosutils" ; \
7774 (cd $(HOST_SUBDIR)/dosutils && \
7775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7777 "RANLIB=$${RANLIB}" \
7778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7779 info) \
7780 || exit 1
7782 @endif dosutils
7784 .PHONY: maybe-dvi-dosutils dvi-dosutils
7785 maybe-dvi-dosutils:
7786 @if dosutils
7787 maybe-dvi-dosutils: dvi-dosutils
7789 dvi-dosutils: \
7790 configure-dosutils
7791 @: $(MAKE); $(unstage)
7792 @[ -f ./dosutils/Makefile ] || exit 0; \
7793 r=`${PWD_COMMAND}`; export r; \
7794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7795 $(HOST_EXPORTS) \
7796 for flag in $(EXTRA_HOST_FLAGS) ; do \
7797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7798 done; \
7799 echo "Doing dvi in dosutils" ; \
7800 (cd $(HOST_SUBDIR)/dosutils && \
7801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7803 "RANLIB=$${RANLIB}" \
7804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7805 dvi) \
7806 || exit 1
7808 @endif dosutils
7810 .PHONY: maybe-html-dosutils html-dosutils
7811 maybe-html-dosutils:
7812 @if dosutils
7813 maybe-html-dosutils: html-dosutils
7815 html-dosutils: \
7816 configure-dosutils
7817 @: $(MAKE); $(unstage)
7818 @[ -f ./dosutils/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(HOST_EXPORTS) \
7822 for flag in $(EXTRA_HOST_FLAGS) ; do \
7823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 done; \
7825 echo "Doing html in dosutils" ; \
7826 (cd $(HOST_SUBDIR)/dosutils && \
7827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7829 "RANLIB=$${RANLIB}" \
7830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7831 html) \
7832 || exit 1
7834 @endif dosutils
7836 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7837 maybe-TAGS-dosutils:
7838 @if dosutils
7839 maybe-TAGS-dosutils: TAGS-dosutils
7841 TAGS-dosutils: \
7842 configure-dosutils
7843 @: $(MAKE); $(unstage)
7844 @[ -f ./dosutils/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing TAGS in dosutils" ; \
7852 (cd $(HOST_SUBDIR)/dosutils && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 TAGS) \
7858 || exit 1
7860 @endif dosutils
7862 .PHONY: maybe-install-info-dosutils install-info-dosutils
7863 maybe-install-info-dosutils:
7864 @if dosutils
7865 maybe-install-info-dosutils: install-info-dosutils
7867 install-info-dosutils: \
7868 configure-dosutils \
7869 info-dosutils
7870 @: $(MAKE); $(unstage)
7871 @[ -f ./dosutils/Makefile ] || exit 0; \
7872 r=`${PWD_COMMAND}`; export r; \
7873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7874 $(HOST_EXPORTS) \
7875 for flag in $(EXTRA_HOST_FLAGS) ; do \
7876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7877 done; \
7878 echo "Doing install-info in dosutils" ; \
7879 (cd $(HOST_SUBDIR)/dosutils && \
7880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7882 "RANLIB=$${RANLIB}" \
7883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7884 install-info) \
7885 || exit 1
7887 @endif dosutils
7889 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7890 maybe-installcheck-dosutils:
7891 @if dosutils
7892 maybe-installcheck-dosutils: installcheck-dosutils
7894 installcheck-dosutils: \
7895 configure-dosutils
7896 @: $(MAKE); $(unstage)
7897 @[ -f ./dosutils/Makefile ] || exit 0; \
7898 r=`${PWD_COMMAND}`; export r; \
7899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7900 $(HOST_EXPORTS) \
7901 for flag in $(EXTRA_HOST_FLAGS) ; do \
7902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7903 done; \
7904 echo "Doing installcheck in dosutils" ; \
7905 (cd $(HOST_SUBDIR)/dosutils && \
7906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7908 "RANLIB=$${RANLIB}" \
7909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7910 installcheck) \
7911 || exit 1
7913 @endif dosutils
7915 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7916 maybe-mostlyclean-dosutils:
7917 @if dosutils
7918 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7920 mostlyclean-dosutils:
7921 @: $(MAKE); $(unstage)
7922 @[ -f ./dosutils/Makefile ] || exit 0; \
7923 r=`${PWD_COMMAND}`; export r; \
7924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7925 $(HOST_EXPORTS) \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7928 done; \
7929 echo "Doing mostlyclean in dosutils" ; \
7930 (cd $(HOST_SUBDIR)/dosutils && \
7931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7933 "RANLIB=$${RANLIB}" \
7934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7935 mostlyclean) \
7936 || exit 1
7938 @endif dosutils
7940 .PHONY: maybe-clean-dosutils clean-dosutils
7941 maybe-clean-dosutils:
7942 @if dosutils
7943 maybe-clean-dosutils: clean-dosutils
7945 clean-dosutils:
7946 @: $(MAKE); $(unstage)
7947 @[ -f ./dosutils/Makefile ] || exit 0; \
7948 r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 $(HOST_EXPORTS) \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7953 done; \
7954 echo "Doing clean in dosutils" ; \
7955 (cd $(HOST_SUBDIR)/dosutils && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7960 clean) \
7961 || exit 1
7963 @endif dosutils
7965 .PHONY: maybe-distclean-dosutils distclean-dosutils
7966 maybe-distclean-dosutils:
7967 @if dosutils
7968 maybe-distclean-dosutils: distclean-dosutils
7970 distclean-dosutils:
7971 @: $(MAKE); $(unstage)
7972 @[ -f ./dosutils/Makefile ] || exit 0; \
7973 r=`${PWD_COMMAND}`; export r; \
7974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7975 $(HOST_EXPORTS) \
7976 for flag in $(EXTRA_HOST_FLAGS) ; do \
7977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7978 done; \
7979 echo "Doing distclean in dosutils" ; \
7980 (cd $(HOST_SUBDIR)/dosutils && \
7981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7983 "RANLIB=$${RANLIB}" \
7984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7985 distclean) \
7986 || exit 1
7988 @endif dosutils
7990 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7991 maybe-maintainer-clean-dosutils:
7992 @if dosutils
7993 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7995 maintainer-clean-dosutils:
7996 @: $(MAKE); $(unstage)
7997 @[ -f ./dosutils/Makefile ] || exit 0; \
7998 r=`${PWD_COMMAND}`; export r; \
7999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8000 $(HOST_EXPORTS) \
8001 for flag in $(EXTRA_HOST_FLAGS) ; do \
8002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8003 done; \
8004 echo "Doing maintainer-clean in dosutils" ; \
8005 (cd $(HOST_SUBDIR)/dosutils && \
8006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8008 "RANLIB=$${RANLIB}" \
8009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8010 maintainer-clean) \
8011 || exit 1
8013 @endif dosutils
8017 .PHONY: configure-etc maybe-configure-etc
8018 maybe-configure-etc:
8019 @if etc
8020 maybe-configure-etc: configure-etc
8021 configure-etc:
8022 @: $(MAKE); $(unstage)
8023 @r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8027 $(HOST_EXPORTS) \
8028 echo Configuring in $(HOST_SUBDIR)/etc; \
8029 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8030 case $(srcdir) in \
8031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8032 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8034 esac; \
8035 srcdiroption="--srcdir=$${topdir}/etc"; \
8036 libsrcdir="$$s/etc"; \
8037 $(SHELL) $${libsrcdir}/configure \
8038 $(HOST_CONFIGARGS) $${srcdiroption} \
8039 || exit 1
8040 @endif etc
8046 .PHONY: all-etc maybe-all-etc
8047 maybe-all-etc:
8048 @if etc
8049 TARGET-etc=all
8050 maybe-all-etc: all-etc
8051 all-etc: configure-etc
8052 @: $(MAKE); $(unstage)
8053 @r=`${PWD_COMMAND}`; export r; \
8054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8055 $(HOST_EXPORTS) \
8056 (cd $(HOST_SUBDIR)/etc && \
8057 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8058 @endif etc
8063 .PHONY: check-etc maybe-check-etc
8064 maybe-check-etc:
8065 @if etc
8066 maybe-check-etc: check-etc
8068 check-etc:
8069 @: $(MAKE); $(unstage)
8070 @r=`${PWD_COMMAND}`; export r; \
8071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8072 $(HOST_EXPORTS) \
8073 (cd $(HOST_SUBDIR)/etc && \
8074 $(MAKE) $(FLAGS_TO_PASS) check)
8076 @endif etc
8078 .PHONY: install-etc maybe-install-etc
8079 maybe-install-etc:
8080 @if etc
8081 maybe-install-etc: install-etc
8083 install-etc: installdirs
8084 @: $(MAKE); $(unstage)
8085 @r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(HOST_EXPORTS) \
8088 (cd $(HOST_SUBDIR)/etc && \
8089 $(MAKE) $(FLAGS_TO_PASS) install)
8091 @endif etc
8093 # Other targets (info, dvi, etc.)
8095 .PHONY: maybe-info-etc info-etc
8096 maybe-info-etc:
8097 @if etc
8098 maybe-info-etc: info-etc
8100 info-etc: \
8101 configure-etc
8102 @: $(MAKE); $(unstage)
8103 @[ -f ./etc/Makefile ] || exit 0; \
8104 r=`${PWD_COMMAND}`; export r; \
8105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8106 $(HOST_EXPORTS) \
8107 for flag in $(EXTRA_HOST_FLAGS) ; do \
8108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8109 done; \
8110 echo "Doing info in etc" ; \
8111 (cd $(HOST_SUBDIR)/etc && \
8112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8114 "RANLIB=$${RANLIB}" \
8115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8116 info) \
8117 || exit 1
8119 @endif etc
8121 .PHONY: maybe-dvi-etc dvi-etc
8122 maybe-dvi-etc:
8123 @if etc
8124 maybe-dvi-etc: dvi-etc
8126 dvi-etc: \
8127 configure-etc
8128 @: $(MAKE); $(unstage)
8129 @[ -f ./etc/Makefile ] || exit 0; \
8130 r=`${PWD_COMMAND}`; export r; \
8131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8132 $(HOST_EXPORTS) \
8133 for flag in $(EXTRA_HOST_FLAGS) ; do \
8134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8135 done; \
8136 echo "Doing dvi in etc" ; \
8137 (cd $(HOST_SUBDIR)/etc && \
8138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8140 "RANLIB=$${RANLIB}" \
8141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8142 dvi) \
8143 || exit 1
8145 @endif etc
8147 .PHONY: maybe-html-etc html-etc
8148 maybe-html-etc:
8149 @if etc
8150 maybe-html-etc: html-etc
8152 html-etc: \
8153 configure-etc
8154 @: $(MAKE); $(unstage)
8155 @[ -f ./etc/Makefile ] || exit 0; \
8156 r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(HOST_EXPORTS) \
8159 for flag in $(EXTRA_HOST_FLAGS) ; do \
8160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8161 done; \
8162 echo "Doing html in etc" ; \
8163 (cd $(HOST_SUBDIR)/etc && \
8164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8166 "RANLIB=$${RANLIB}" \
8167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8168 html) \
8169 || exit 1
8171 @endif etc
8173 .PHONY: maybe-TAGS-etc TAGS-etc
8174 maybe-TAGS-etc:
8175 @if etc
8176 maybe-TAGS-etc: TAGS-etc
8178 TAGS-etc: \
8179 configure-etc
8180 @: $(MAKE); $(unstage)
8181 @[ -f ./etc/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8184 $(HOST_EXPORTS) \
8185 for flag in $(EXTRA_HOST_FLAGS) ; do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8187 done; \
8188 echo "Doing TAGS in etc" ; \
8189 (cd $(HOST_SUBDIR)/etc && \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194 TAGS) \
8195 || exit 1
8197 @endif etc
8199 .PHONY: maybe-install-info-etc install-info-etc
8200 maybe-install-info-etc:
8201 @if etc
8202 maybe-install-info-etc: install-info-etc
8204 install-info-etc: \
8205 configure-etc \
8206 info-etc
8207 @: $(MAKE); $(unstage)
8208 @[ -f ./etc/Makefile ] || exit 0; \
8209 r=`${PWD_COMMAND}`; export r; \
8210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8211 $(HOST_EXPORTS) \
8212 for flag in $(EXTRA_HOST_FLAGS) ; do \
8213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8214 done; \
8215 echo "Doing install-info in etc" ; \
8216 (cd $(HOST_SUBDIR)/etc && \
8217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8219 "RANLIB=$${RANLIB}" \
8220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8221 install-info) \
8222 || exit 1
8224 @endif etc
8226 .PHONY: maybe-installcheck-etc installcheck-etc
8227 maybe-installcheck-etc:
8228 @if etc
8229 maybe-installcheck-etc: installcheck-etc
8231 installcheck-etc: \
8232 configure-etc
8233 @: $(MAKE); $(unstage)
8234 @[ -f ./etc/Makefile ] || exit 0; \
8235 r=`${PWD_COMMAND}`; export r; \
8236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8237 $(HOST_EXPORTS) \
8238 for flag in $(EXTRA_HOST_FLAGS) ; do \
8239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8240 done; \
8241 echo "Doing installcheck in etc" ; \
8242 (cd $(HOST_SUBDIR)/etc && \
8243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8245 "RANLIB=$${RANLIB}" \
8246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8247 installcheck) \
8248 || exit 1
8250 @endif etc
8252 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8253 maybe-mostlyclean-etc:
8254 @if etc
8255 maybe-mostlyclean-etc: mostlyclean-etc
8257 mostlyclean-etc:
8258 @: $(MAKE); $(unstage)
8259 @[ -f ./etc/Makefile ] || exit 0; \
8260 r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(HOST_EXPORTS) \
8263 for flag in $(EXTRA_HOST_FLAGS) ; do \
8264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8265 done; \
8266 echo "Doing mostlyclean in etc" ; \
8267 (cd $(HOST_SUBDIR)/etc && \
8268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8270 "RANLIB=$${RANLIB}" \
8271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8272 mostlyclean) \
8273 || exit 1
8275 @endif etc
8277 .PHONY: maybe-clean-etc clean-etc
8278 maybe-clean-etc:
8279 @if etc
8280 maybe-clean-etc: clean-etc
8282 clean-etc:
8283 @: $(MAKE); $(unstage)
8284 @[ -f ./etc/Makefile ] || exit 0; \
8285 r=`${PWD_COMMAND}`; export r; \
8286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8287 $(HOST_EXPORTS) \
8288 for flag in $(EXTRA_HOST_FLAGS) ; do \
8289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8290 done; \
8291 echo "Doing clean in etc" ; \
8292 (cd $(HOST_SUBDIR)/etc && \
8293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8295 "RANLIB=$${RANLIB}" \
8296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8297 clean) \
8298 || exit 1
8300 @endif etc
8302 .PHONY: maybe-distclean-etc distclean-etc
8303 maybe-distclean-etc:
8304 @if etc
8305 maybe-distclean-etc: distclean-etc
8307 distclean-etc:
8308 @: $(MAKE); $(unstage)
8309 @[ -f ./etc/Makefile ] || exit 0; \
8310 r=`${PWD_COMMAND}`; export r; \
8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8312 $(HOST_EXPORTS) \
8313 for flag in $(EXTRA_HOST_FLAGS) ; do \
8314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8315 done; \
8316 echo "Doing distclean in etc" ; \
8317 (cd $(HOST_SUBDIR)/etc && \
8318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8320 "RANLIB=$${RANLIB}" \
8321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8322 distclean) \
8323 || exit 1
8325 @endif etc
8327 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8328 maybe-maintainer-clean-etc:
8329 @if etc
8330 maybe-maintainer-clean-etc: maintainer-clean-etc
8332 maintainer-clean-etc:
8333 @: $(MAKE); $(unstage)
8334 @[ -f ./etc/Makefile ] || exit 0; \
8335 r=`${PWD_COMMAND}`; export r; \
8336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8337 $(HOST_EXPORTS) \
8338 for flag in $(EXTRA_HOST_FLAGS) ; do \
8339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8340 done; \
8341 echo "Doing maintainer-clean in etc" ; \
8342 (cd $(HOST_SUBDIR)/etc && \
8343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8345 "RANLIB=$${RANLIB}" \
8346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8347 maintainer-clean) \
8348 || exit 1
8350 @endif etc
8354 .PHONY: configure-fastjar maybe-configure-fastjar
8355 maybe-configure-fastjar:
8356 @if fastjar
8357 maybe-configure-fastjar: configure-fastjar
8358 configure-fastjar:
8359 @: $(MAKE); $(unstage)
8360 @r=`${PWD_COMMAND}`; export r; \
8361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8362 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8364 $(HOST_EXPORTS) \
8365 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8366 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8367 case $(srcdir) in \
8368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8369 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8371 esac; \
8372 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8373 libsrcdir="$$s/fastjar"; \
8374 $(SHELL) $${libsrcdir}/configure \
8375 $(HOST_CONFIGARGS) $${srcdiroption} \
8376 || exit 1
8377 @endif fastjar
8383 .PHONY: all-fastjar maybe-all-fastjar
8384 maybe-all-fastjar:
8385 @if fastjar
8386 TARGET-fastjar=all
8387 maybe-all-fastjar: all-fastjar
8388 all-fastjar: configure-fastjar
8389 @: $(MAKE); $(unstage)
8390 @r=`${PWD_COMMAND}`; export r; \
8391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8392 $(HOST_EXPORTS) \
8393 (cd $(HOST_SUBDIR)/fastjar && \
8394 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8395 @endif fastjar
8400 .PHONY: check-fastjar maybe-check-fastjar
8401 maybe-check-fastjar:
8402 @if fastjar
8403 maybe-check-fastjar: check-fastjar
8405 # This module is only tested in a native toolchain.
8406 check-fastjar:
8407 @: $(MAKE); $(unstage)
8408 @if [ '$(host)' = '$(target)' ] ; then \
8409 r=`${PWD_COMMAND}`; export r; \
8410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8411 $(HOST_EXPORTS) \
8412 (cd $(HOST_SUBDIR)/fastjar && \
8413 $(MAKE) $(FLAGS_TO_PASS) check); \
8416 @endif fastjar
8418 .PHONY: install-fastjar maybe-install-fastjar
8419 maybe-install-fastjar:
8420 @if fastjar
8421 maybe-install-fastjar: install-fastjar
8423 install-fastjar: installdirs
8424 @: $(MAKE); $(unstage)
8425 @r=`${PWD_COMMAND}`; export r; \
8426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8427 $(HOST_EXPORTS) \
8428 (cd $(HOST_SUBDIR)/fastjar && \
8429 $(MAKE) $(FLAGS_TO_PASS) install)
8431 @endif fastjar
8433 # Other targets (info, dvi, etc.)
8435 .PHONY: maybe-info-fastjar info-fastjar
8436 maybe-info-fastjar:
8437 @if fastjar
8438 maybe-info-fastjar: info-fastjar
8440 info-fastjar: \
8441 configure-fastjar
8442 @: $(MAKE); $(unstage)
8443 @[ -f ./fastjar/Makefile ] || exit 0; \
8444 r=`${PWD_COMMAND}`; export r; \
8445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8446 $(HOST_EXPORTS) \
8447 for flag in $(EXTRA_HOST_FLAGS) ; do \
8448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8449 done; \
8450 echo "Doing info in fastjar" ; \
8451 (cd $(HOST_SUBDIR)/fastjar && \
8452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8454 "RANLIB=$${RANLIB}" \
8455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8456 info) \
8457 || exit 1
8459 @endif fastjar
8461 .PHONY: maybe-dvi-fastjar dvi-fastjar
8462 maybe-dvi-fastjar:
8463 @if fastjar
8464 maybe-dvi-fastjar: dvi-fastjar
8466 dvi-fastjar: \
8467 configure-fastjar
8468 @: $(MAKE); $(unstage)
8469 @[ -f ./fastjar/Makefile ] || exit 0; \
8470 r=`${PWD_COMMAND}`; export r; \
8471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8472 $(HOST_EXPORTS) \
8473 for flag in $(EXTRA_HOST_FLAGS) ; do \
8474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8475 done; \
8476 echo "Doing dvi in fastjar" ; \
8477 (cd $(HOST_SUBDIR)/fastjar && \
8478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8480 "RANLIB=$${RANLIB}" \
8481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8482 dvi) \
8483 || exit 1
8485 @endif fastjar
8487 .PHONY: maybe-html-fastjar html-fastjar
8488 maybe-html-fastjar:
8489 @if fastjar
8490 maybe-html-fastjar: html-fastjar
8492 html-fastjar: \
8493 configure-fastjar
8494 @: $(MAKE); $(unstage)
8495 @[ -f ./fastjar/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(HOST_EXPORTS) \
8499 for flag in $(EXTRA_HOST_FLAGS) ; do \
8500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8501 done; \
8502 echo "Doing html in fastjar" ; \
8503 (cd $(HOST_SUBDIR)/fastjar && \
8504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8506 "RANLIB=$${RANLIB}" \
8507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8508 html) \
8509 || exit 1
8511 @endif fastjar
8513 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8514 maybe-TAGS-fastjar:
8515 @if fastjar
8516 maybe-TAGS-fastjar: TAGS-fastjar
8518 TAGS-fastjar: \
8519 configure-fastjar
8520 @: $(MAKE); $(unstage)
8521 @[ -f ./fastjar/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing TAGS in fastjar" ; \
8529 (cd $(HOST_SUBDIR)/fastjar && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 TAGS) \
8535 || exit 1
8537 @endif fastjar
8539 .PHONY: maybe-install-info-fastjar install-info-fastjar
8540 maybe-install-info-fastjar:
8541 @if fastjar
8542 maybe-install-info-fastjar: install-info-fastjar
8544 install-info-fastjar: \
8545 configure-fastjar \
8546 info-fastjar
8547 @: $(MAKE); $(unstage)
8548 @[ -f ./fastjar/Makefile ] || exit 0; \
8549 r=`${PWD_COMMAND}`; export r; \
8550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 $(HOST_EXPORTS) \
8552 for flag in $(EXTRA_HOST_FLAGS) ; do \
8553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8554 done; \
8555 echo "Doing install-info in fastjar" ; \
8556 (cd $(HOST_SUBDIR)/fastjar && \
8557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8559 "RANLIB=$${RANLIB}" \
8560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8561 install-info) \
8562 || exit 1
8564 @endif fastjar
8566 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8567 maybe-installcheck-fastjar:
8568 @if fastjar
8569 maybe-installcheck-fastjar: installcheck-fastjar
8571 installcheck-fastjar: \
8572 configure-fastjar
8573 @: $(MAKE); $(unstage)
8574 @[ -f ./fastjar/Makefile ] || exit 0; \
8575 r=`${PWD_COMMAND}`; export r; \
8576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8577 $(HOST_EXPORTS) \
8578 for flag in $(EXTRA_HOST_FLAGS) ; do \
8579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8580 done; \
8581 echo "Doing installcheck in fastjar" ; \
8582 (cd $(HOST_SUBDIR)/fastjar && \
8583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8585 "RANLIB=$${RANLIB}" \
8586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8587 installcheck) \
8588 || exit 1
8590 @endif fastjar
8592 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8593 maybe-mostlyclean-fastjar:
8594 @if fastjar
8595 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8597 mostlyclean-fastjar:
8598 @: $(MAKE); $(unstage)
8599 @[ -f ./fastjar/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 $(HOST_EXPORTS) \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 done; \
8606 echo "Doing mostlyclean in fastjar" ; \
8607 (cd $(HOST_SUBDIR)/fastjar && \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8612 mostlyclean) \
8613 || exit 1
8615 @endif fastjar
8617 .PHONY: maybe-clean-fastjar clean-fastjar
8618 maybe-clean-fastjar:
8619 @if fastjar
8620 maybe-clean-fastjar: clean-fastjar
8622 clean-fastjar:
8623 @: $(MAKE); $(unstage)
8624 @[ -f ./fastjar/Makefile ] || exit 0; \
8625 r=`${PWD_COMMAND}`; export r; \
8626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 $(HOST_EXPORTS) \
8628 for flag in $(EXTRA_HOST_FLAGS) ; do \
8629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 done; \
8631 echo "Doing clean in fastjar" ; \
8632 (cd $(HOST_SUBDIR)/fastjar && \
8633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8635 "RANLIB=$${RANLIB}" \
8636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8637 clean) \
8638 || exit 1
8640 @endif fastjar
8642 .PHONY: maybe-distclean-fastjar distclean-fastjar
8643 maybe-distclean-fastjar:
8644 @if fastjar
8645 maybe-distclean-fastjar: distclean-fastjar
8647 distclean-fastjar:
8648 @: $(MAKE); $(unstage)
8649 @[ -f ./fastjar/Makefile ] || exit 0; \
8650 r=`${PWD_COMMAND}`; export r; \
8651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 $(HOST_EXPORTS) \
8653 for flag in $(EXTRA_HOST_FLAGS) ; do \
8654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8655 done; \
8656 echo "Doing distclean in fastjar" ; \
8657 (cd $(HOST_SUBDIR)/fastjar && \
8658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8660 "RANLIB=$${RANLIB}" \
8661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8662 distclean) \
8663 || exit 1
8665 @endif fastjar
8667 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8668 maybe-maintainer-clean-fastjar:
8669 @if fastjar
8670 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8672 maintainer-clean-fastjar:
8673 @: $(MAKE); $(unstage)
8674 @[ -f ./fastjar/Makefile ] || exit 0; \
8675 r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677 $(HOST_EXPORTS) \
8678 for flag in $(EXTRA_HOST_FLAGS) ; do \
8679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8680 done; \
8681 echo "Doing maintainer-clean in fastjar" ; \
8682 (cd $(HOST_SUBDIR)/fastjar && \
8683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8685 "RANLIB=$${RANLIB}" \
8686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8687 maintainer-clean) \
8688 || exit 1
8690 @endif fastjar
8694 .PHONY: configure-fileutils maybe-configure-fileutils
8695 maybe-configure-fileutils:
8696 @if fileutils
8697 maybe-configure-fileutils: configure-fileutils
8698 configure-fileutils:
8699 @: $(MAKE); $(unstage)
8700 @r=`${PWD_COMMAND}`; export r; \
8701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8702 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8703 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8704 $(HOST_EXPORTS) \
8705 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8706 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8707 case $(srcdir) in \
8708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8709 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8711 esac; \
8712 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8713 libsrcdir="$$s/fileutils"; \
8714 $(SHELL) $${libsrcdir}/configure \
8715 $(HOST_CONFIGARGS) $${srcdiroption} \
8716 || exit 1
8717 @endif fileutils
8723 .PHONY: all-fileutils maybe-all-fileutils
8724 maybe-all-fileutils:
8725 @if fileutils
8726 TARGET-fileutils=all
8727 maybe-all-fileutils: all-fileutils
8728 all-fileutils: configure-fileutils
8729 @: $(MAKE); $(unstage)
8730 @r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(HOST_EXPORTS) \
8733 (cd $(HOST_SUBDIR)/fileutils && \
8734 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8735 @endif fileutils
8740 .PHONY: check-fileutils maybe-check-fileutils
8741 maybe-check-fileutils:
8742 @if fileutils
8743 maybe-check-fileutils: check-fileutils
8745 check-fileutils:
8746 @: $(MAKE); $(unstage)
8747 @r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 $(HOST_EXPORTS) \
8750 (cd $(HOST_SUBDIR)/fileutils && \
8751 $(MAKE) $(FLAGS_TO_PASS) check)
8753 @endif fileutils
8755 .PHONY: install-fileutils maybe-install-fileutils
8756 maybe-install-fileutils:
8757 @if fileutils
8758 maybe-install-fileutils: install-fileutils
8760 install-fileutils: installdirs
8761 @: $(MAKE); $(unstage)
8762 @r=`${PWD_COMMAND}`; export r; \
8763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8764 $(HOST_EXPORTS) \
8765 (cd $(HOST_SUBDIR)/fileutils && \
8766 $(MAKE) $(FLAGS_TO_PASS) install)
8768 @endif fileutils
8770 # Other targets (info, dvi, etc.)
8772 .PHONY: maybe-info-fileutils info-fileutils
8773 maybe-info-fileutils:
8774 @if fileutils
8775 maybe-info-fileutils: info-fileutils
8777 info-fileutils: \
8778 configure-fileutils
8779 @: $(MAKE); $(unstage)
8780 @[ -f ./fileutils/Makefile ] || exit 0; \
8781 r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 $(HOST_EXPORTS) \
8784 for flag in $(EXTRA_HOST_FLAGS) ; do \
8785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8786 done; \
8787 echo "Doing info in fileutils" ; \
8788 (cd $(HOST_SUBDIR)/fileutils && \
8789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791 "RANLIB=$${RANLIB}" \
8792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793 info) \
8794 || exit 1
8796 @endif fileutils
8798 .PHONY: maybe-dvi-fileutils dvi-fileutils
8799 maybe-dvi-fileutils:
8800 @if fileutils
8801 maybe-dvi-fileutils: dvi-fileutils
8803 dvi-fileutils: \
8804 configure-fileutils
8805 @: $(MAKE); $(unstage)
8806 @[ -f ./fileutils/Makefile ] || exit 0; \
8807 r=`${PWD_COMMAND}`; export r; \
8808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8809 $(HOST_EXPORTS) \
8810 for flag in $(EXTRA_HOST_FLAGS) ; do \
8811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8812 done; \
8813 echo "Doing dvi in fileutils" ; \
8814 (cd $(HOST_SUBDIR)/fileutils && \
8815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8817 "RANLIB=$${RANLIB}" \
8818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8819 dvi) \
8820 || exit 1
8822 @endif fileutils
8824 .PHONY: maybe-html-fileutils html-fileutils
8825 maybe-html-fileutils:
8826 @if fileutils
8827 maybe-html-fileutils: html-fileutils
8829 html-fileutils: \
8830 configure-fileutils
8831 @: $(MAKE); $(unstage)
8832 @[ -f ./fileutils/Makefile ] || exit 0; \
8833 r=`${PWD_COMMAND}`; export r; \
8834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8835 $(HOST_EXPORTS) \
8836 for flag in $(EXTRA_HOST_FLAGS) ; do \
8837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8838 done; \
8839 echo "Doing html in fileutils" ; \
8840 (cd $(HOST_SUBDIR)/fileutils && \
8841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8843 "RANLIB=$${RANLIB}" \
8844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8845 html) \
8846 || exit 1
8848 @endif fileutils
8850 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8851 maybe-TAGS-fileutils:
8852 @if fileutils
8853 maybe-TAGS-fileutils: TAGS-fileutils
8855 TAGS-fileutils: \
8856 configure-fileutils
8857 @: $(MAKE); $(unstage)
8858 @[ -f ./fileutils/Makefile ] || exit 0; \
8859 r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 $(HOST_EXPORTS) \
8862 for flag in $(EXTRA_HOST_FLAGS) ; do \
8863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8864 done; \
8865 echo "Doing TAGS in fileutils" ; \
8866 (cd $(HOST_SUBDIR)/fileutils && \
8867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8869 "RANLIB=$${RANLIB}" \
8870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8871 TAGS) \
8872 || exit 1
8874 @endif fileutils
8876 .PHONY: maybe-install-info-fileutils install-info-fileutils
8877 maybe-install-info-fileutils:
8878 @if fileutils
8879 maybe-install-info-fileutils: install-info-fileutils
8881 install-info-fileutils: \
8882 configure-fileutils \
8883 info-fileutils
8884 @: $(MAKE); $(unstage)
8885 @[ -f ./fileutils/Makefile ] || exit 0; \
8886 r=`${PWD_COMMAND}`; export r; \
8887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 $(HOST_EXPORTS) \
8889 for flag in $(EXTRA_HOST_FLAGS) ; do \
8890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8891 done; \
8892 echo "Doing install-info in fileutils" ; \
8893 (cd $(HOST_SUBDIR)/fileutils && \
8894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8896 "RANLIB=$${RANLIB}" \
8897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8898 install-info) \
8899 || exit 1
8901 @endif fileutils
8903 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8904 maybe-installcheck-fileutils:
8905 @if fileutils
8906 maybe-installcheck-fileutils: installcheck-fileutils
8908 installcheck-fileutils: \
8909 configure-fileutils
8910 @: $(MAKE); $(unstage)
8911 @[ -f ./fileutils/Makefile ] || exit 0; \
8912 r=`${PWD_COMMAND}`; export r; \
8913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 $(HOST_EXPORTS) \
8915 for flag in $(EXTRA_HOST_FLAGS) ; do \
8916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8917 done; \
8918 echo "Doing installcheck in fileutils" ; \
8919 (cd $(HOST_SUBDIR)/fileutils && \
8920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8922 "RANLIB=$${RANLIB}" \
8923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8924 installcheck) \
8925 || exit 1
8927 @endif fileutils
8929 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8930 maybe-mostlyclean-fileutils:
8931 @if fileutils
8932 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8934 mostlyclean-fileutils:
8935 @: $(MAKE); $(unstage)
8936 @[ -f ./fileutils/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8939 $(HOST_EXPORTS) \
8940 for flag in $(EXTRA_HOST_FLAGS) ; do \
8941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8942 done; \
8943 echo "Doing mostlyclean in fileutils" ; \
8944 (cd $(HOST_SUBDIR)/fileutils && \
8945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8947 "RANLIB=$${RANLIB}" \
8948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8949 mostlyclean) \
8950 || exit 1
8952 @endif fileutils
8954 .PHONY: maybe-clean-fileutils clean-fileutils
8955 maybe-clean-fileutils:
8956 @if fileutils
8957 maybe-clean-fileutils: clean-fileutils
8959 clean-fileutils:
8960 @: $(MAKE); $(unstage)
8961 @[ -f ./fileutils/Makefile ] || exit 0; \
8962 r=`${PWD_COMMAND}`; export r; \
8963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8964 $(HOST_EXPORTS) \
8965 for flag in $(EXTRA_HOST_FLAGS) ; do \
8966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8967 done; \
8968 echo "Doing clean in fileutils" ; \
8969 (cd $(HOST_SUBDIR)/fileutils && \
8970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8972 "RANLIB=$${RANLIB}" \
8973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8974 clean) \
8975 || exit 1
8977 @endif fileutils
8979 .PHONY: maybe-distclean-fileutils distclean-fileutils
8980 maybe-distclean-fileutils:
8981 @if fileutils
8982 maybe-distclean-fileutils: distclean-fileutils
8984 distclean-fileutils:
8985 @: $(MAKE); $(unstage)
8986 @[ -f ./fileutils/Makefile ] || exit 0; \
8987 r=`${PWD_COMMAND}`; export r; \
8988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8989 $(HOST_EXPORTS) \
8990 for flag in $(EXTRA_HOST_FLAGS) ; do \
8991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8992 done; \
8993 echo "Doing distclean in fileutils" ; \
8994 (cd $(HOST_SUBDIR)/fileutils && \
8995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8997 "RANLIB=$${RANLIB}" \
8998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8999 distclean) \
9000 || exit 1
9002 @endif fileutils
9004 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9005 maybe-maintainer-clean-fileutils:
9006 @if fileutils
9007 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9009 maintainer-clean-fileutils:
9010 @: $(MAKE); $(unstage)
9011 @[ -f ./fileutils/Makefile ] || exit 0; \
9012 r=`${PWD_COMMAND}`; export r; \
9013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9014 $(HOST_EXPORTS) \
9015 for flag in $(EXTRA_HOST_FLAGS) ; do \
9016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9017 done; \
9018 echo "Doing maintainer-clean in fileutils" ; \
9019 (cd $(HOST_SUBDIR)/fileutils && \
9020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9022 "RANLIB=$${RANLIB}" \
9023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9024 maintainer-clean) \
9025 || exit 1
9027 @endif fileutils
9031 .PHONY: configure-findutils maybe-configure-findutils
9032 maybe-configure-findutils:
9033 @if findutils
9034 maybe-configure-findutils: configure-findutils
9035 configure-findutils:
9036 @: $(MAKE); $(unstage)
9037 @r=`${PWD_COMMAND}`; export r; \
9038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9039 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9041 $(HOST_EXPORTS) \
9042 echo Configuring in $(HOST_SUBDIR)/findutils; \
9043 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9044 case $(srcdir) in \
9045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9046 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9048 esac; \
9049 srcdiroption="--srcdir=$${topdir}/findutils"; \
9050 libsrcdir="$$s/findutils"; \
9051 $(SHELL) $${libsrcdir}/configure \
9052 $(HOST_CONFIGARGS) $${srcdiroption} \
9053 || exit 1
9054 @endif findutils
9060 .PHONY: all-findutils maybe-all-findutils
9061 maybe-all-findutils:
9062 @if findutils
9063 TARGET-findutils=all
9064 maybe-all-findutils: all-findutils
9065 all-findutils: configure-findutils
9066 @: $(MAKE); $(unstage)
9067 @r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9069 $(HOST_EXPORTS) \
9070 (cd $(HOST_SUBDIR)/findutils && \
9071 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9072 @endif findutils
9077 .PHONY: check-findutils maybe-check-findutils
9078 maybe-check-findutils:
9079 @if findutils
9080 maybe-check-findutils: check-findutils
9082 check-findutils:
9083 @: $(MAKE); $(unstage)
9084 @r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 $(HOST_EXPORTS) \
9087 (cd $(HOST_SUBDIR)/findutils && \
9088 $(MAKE) $(FLAGS_TO_PASS) check)
9090 @endif findutils
9092 .PHONY: install-findutils maybe-install-findutils
9093 maybe-install-findutils:
9094 @if findutils
9095 maybe-install-findutils: install-findutils
9097 install-findutils: installdirs
9098 @: $(MAKE); $(unstage)
9099 @r=`${PWD_COMMAND}`; export r; \
9100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9101 $(HOST_EXPORTS) \
9102 (cd $(HOST_SUBDIR)/findutils && \
9103 $(MAKE) $(FLAGS_TO_PASS) install)
9105 @endif findutils
9107 # Other targets (info, dvi, etc.)
9109 .PHONY: maybe-info-findutils info-findutils
9110 maybe-info-findutils:
9111 @if findutils
9112 maybe-info-findutils: info-findutils
9114 info-findutils: \
9115 configure-findutils
9116 @: $(MAKE); $(unstage)
9117 @[ -f ./findutils/Makefile ] || exit 0; \
9118 r=`${PWD_COMMAND}`; export r; \
9119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9120 $(HOST_EXPORTS) \
9121 for flag in $(EXTRA_HOST_FLAGS) ; do \
9122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9123 done; \
9124 echo "Doing info in findutils" ; \
9125 (cd $(HOST_SUBDIR)/findutils && \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9128 "RANLIB=$${RANLIB}" \
9129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9130 info) \
9131 || exit 1
9133 @endif findutils
9135 .PHONY: maybe-dvi-findutils dvi-findutils
9136 maybe-dvi-findutils:
9137 @if findutils
9138 maybe-dvi-findutils: dvi-findutils
9140 dvi-findutils: \
9141 configure-findutils
9142 @: $(MAKE); $(unstage)
9143 @[ -f ./findutils/Makefile ] || exit 0; \
9144 r=`${PWD_COMMAND}`; export r; \
9145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9146 $(HOST_EXPORTS) \
9147 for flag in $(EXTRA_HOST_FLAGS) ; do \
9148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9149 done; \
9150 echo "Doing dvi in findutils" ; \
9151 (cd $(HOST_SUBDIR)/findutils && \
9152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9154 "RANLIB=$${RANLIB}" \
9155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9156 dvi) \
9157 || exit 1
9159 @endif findutils
9161 .PHONY: maybe-html-findutils html-findutils
9162 maybe-html-findutils:
9163 @if findutils
9164 maybe-html-findutils: html-findutils
9166 html-findutils: \
9167 configure-findutils
9168 @: $(MAKE); $(unstage)
9169 @[ -f ./findutils/Makefile ] || exit 0; \
9170 r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(HOST_EXPORTS) \
9173 for flag in $(EXTRA_HOST_FLAGS) ; do \
9174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9175 done; \
9176 echo "Doing html in findutils" ; \
9177 (cd $(HOST_SUBDIR)/findutils && \
9178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9180 "RANLIB=$${RANLIB}" \
9181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9182 html) \
9183 || exit 1
9185 @endif findutils
9187 .PHONY: maybe-TAGS-findutils TAGS-findutils
9188 maybe-TAGS-findutils:
9189 @if findutils
9190 maybe-TAGS-findutils: TAGS-findutils
9192 TAGS-findutils: \
9193 configure-findutils
9194 @: $(MAKE); $(unstage)
9195 @[ -f ./findutils/Makefile ] || exit 0; \
9196 r=`${PWD_COMMAND}`; export r; \
9197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 $(HOST_EXPORTS) \
9199 for flag in $(EXTRA_HOST_FLAGS) ; do \
9200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9201 done; \
9202 echo "Doing TAGS in findutils" ; \
9203 (cd $(HOST_SUBDIR)/findutils && \
9204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9206 "RANLIB=$${RANLIB}" \
9207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9208 TAGS) \
9209 || exit 1
9211 @endif findutils
9213 .PHONY: maybe-install-info-findutils install-info-findutils
9214 maybe-install-info-findutils:
9215 @if findutils
9216 maybe-install-info-findutils: install-info-findutils
9218 install-info-findutils: \
9219 configure-findutils \
9220 info-findutils
9221 @: $(MAKE); $(unstage)
9222 @[ -f ./findutils/Makefile ] || exit 0; \
9223 r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(HOST_EXPORTS) \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 done; \
9229 echo "Doing install-info in findutils" ; \
9230 (cd $(HOST_SUBDIR)/findutils && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9235 install-info) \
9236 || exit 1
9238 @endif findutils
9240 .PHONY: maybe-installcheck-findutils installcheck-findutils
9241 maybe-installcheck-findutils:
9242 @if findutils
9243 maybe-installcheck-findutils: installcheck-findutils
9245 installcheck-findutils: \
9246 configure-findutils
9247 @: $(MAKE); $(unstage)
9248 @[ -f ./findutils/Makefile ] || exit 0; \
9249 r=`${PWD_COMMAND}`; export r; \
9250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9251 $(HOST_EXPORTS) \
9252 for flag in $(EXTRA_HOST_FLAGS) ; do \
9253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9254 done; \
9255 echo "Doing installcheck in findutils" ; \
9256 (cd $(HOST_SUBDIR)/findutils && \
9257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9259 "RANLIB=$${RANLIB}" \
9260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9261 installcheck) \
9262 || exit 1
9264 @endif findutils
9266 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9267 maybe-mostlyclean-findutils:
9268 @if findutils
9269 maybe-mostlyclean-findutils: mostlyclean-findutils
9271 mostlyclean-findutils:
9272 @: $(MAKE); $(unstage)
9273 @[ -f ./findutils/Makefile ] || exit 0; \
9274 r=`${PWD_COMMAND}`; export r; \
9275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9276 $(HOST_EXPORTS) \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 done; \
9280 echo "Doing mostlyclean in findutils" ; \
9281 (cd $(HOST_SUBDIR)/findutils && \
9282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9284 "RANLIB=$${RANLIB}" \
9285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9286 mostlyclean) \
9287 || exit 1
9289 @endif findutils
9291 .PHONY: maybe-clean-findutils clean-findutils
9292 maybe-clean-findutils:
9293 @if findutils
9294 maybe-clean-findutils: clean-findutils
9296 clean-findutils:
9297 @: $(MAKE); $(unstage)
9298 @[ -f ./findutils/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(HOST_EXPORTS) \
9302 for flag in $(EXTRA_HOST_FLAGS) ; do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9304 done; \
9305 echo "Doing clean in findutils" ; \
9306 (cd $(HOST_SUBDIR)/findutils && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9311 clean) \
9312 || exit 1
9314 @endif findutils
9316 .PHONY: maybe-distclean-findutils distclean-findutils
9317 maybe-distclean-findutils:
9318 @if findutils
9319 maybe-distclean-findutils: distclean-findutils
9321 distclean-findutils:
9322 @: $(MAKE); $(unstage)
9323 @[ -f ./findutils/Makefile ] || exit 0; \
9324 r=`${PWD_COMMAND}`; export r; \
9325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 $(HOST_EXPORTS) \
9327 for flag in $(EXTRA_HOST_FLAGS) ; do \
9328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 done; \
9330 echo "Doing distclean in findutils" ; \
9331 (cd $(HOST_SUBDIR)/findutils && \
9332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9334 "RANLIB=$${RANLIB}" \
9335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9336 distclean) \
9337 || exit 1
9339 @endif findutils
9341 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9342 maybe-maintainer-clean-findutils:
9343 @if findutils
9344 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9346 maintainer-clean-findutils:
9347 @: $(MAKE); $(unstage)
9348 @[ -f ./findutils/Makefile ] || exit 0; \
9349 r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9351 $(HOST_EXPORTS) \
9352 for flag in $(EXTRA_HOST_FLAGS) ; do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9354 done; \
9355 echo "Doing maintainer-clean in findutils" ; \
9356 (cd $(HOST_SUBDIR)/findutils && \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9361 maintainer-clean) \
9362 || exit 1
9364 @endif findutils
9368 .PHONY: configure-find maybe-configure-find
9369 maybe-configure-find:
9370 @if find
9371 maybe-configure-find: configure-find
9372 configure-find:
9373 @: $(MAKE); $(unstage)
9374 @r=`${PWD_COMMAND}`; export r; \
9375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9376 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9378 $(HOST_EXPORTS) \
9379 echo Configuring in $(HOST_SUBDIR)/find; \
9380 cd "$(HOST_SUBDIR)/find" || exit 1; \
9381 case $(srcdir) in \
9382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9383 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9385 esac; \
9386 srcdiroption="--srcdir=$${topdir}/find"; \
9387 libsrcdir="$$s/find"; \
9388 $(SHELL) $${libsrcdir}/configure \
9389 $(HOST_CONFIGARGS) $${srcdiroption} \
9390 || exit 1
9391 @endif find
9397 .PHONY: all-find maybe-all-find
9398 maybe-all-find:
9399 @if find
9400 TARGET-find=all
9401 maybe-all-find: all-find
9402 all-find: configure-find
9403 @: $(MAKE); $(unstage)
9404 @r=`${PWD_COMMAND}`; export r; \
9405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9406 $(HOST_EXPORTS) \
9407 (cd $(HOST_SUBDIR)/find && \
9408 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9409 @endif find
9414 .PHONY: check-find maybe-check-find
9415 maybe-check-find:
9416 @if find
9417 maybe-check-find: check-find
9419 check-find:
9420 @: $(MAKE); $(unstage)
9421 @r=`${PWD_COMMAND}`; export r; \
9422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9423 $(HOST_EXPORTS) \
9424 (cd $(HOST_SUBDIR)/find && \
9425 $(MAKE) $(FLAGS_TO_PASS) check)
9427 @endif find
9429 .PHONY: install-find maybe-install-find
9430 maybe-install-find:
9431 @if find
9432 maybe-install-find: install-find
9434 install-find: installdirs
9435 @: $(MAKE); $(unstage)
9436 @r=`${PWD_COMMAND}`; export r; \
9437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9438 $(HOST_EXPORTS) \
9439 (cd $(HOST_SUBDIR)/find && \
9440 $(MAKE) $(FLAGS_TO_PASS) install)
9442 @endif find
9444 # Other targets (info, dvi, etc.)
9446 .PHONY: maybe-info-find info-find
9447 maybe-info-find:
9448 @if find
9449 maybe-info-find: info-find
9451 info-find: \
9452 configure-find
9453 @: $(MAKE); $(unstage)
9454 @[ -f ./find/Makefile ] || exit 0; \
9455 r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9457 $(HOST_EXPORTS) \
9458 for flag in $(EXTRA_HOST_FLAGS) ; do \
9459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9460 done; \
9461 echo "Doing info in find" ; \
9462 (cd $(HOST_SUBDIR)/find && \
9463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9465 "RANLIB=$${RANLIB}" \
9466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9467 info) \
9468 || exit 1
9470 @endif find
9472 .PHONY: maybe-dvi-find dvi-find
9473 maybe-dvi-find:
9474 @if find
9475 maybe-dvi-find: dvi-find
9477 dvi-find: \
9478 configure-find
9479 @: $(MAKE); $(unstage)
9480 @[ -f ./find/Makefile ] || exit 0; \
9481 r=`${PWD_COMMAND}`; export r; \
9482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9483 $(HOST_EXPORTS) \
9484 for flag in $(EXTRA_HOST_FLAGS) ; do \
9485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9486 done; \
9487 echo "Doing dvi in find" ; \
9488 (cd $(HOST_SUBDIR)/find && \
9489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9491 "RANLIB=$${RANLIB}" \
9492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9493 dvi) \
9494 || exit 1
9496 @endif find
9498 .PHONY: maybe-html-find html-find
9499 maybe-html-find:
9500 @if find
9501 maybe-html-find: html-find
9503 html-find: \
9504 configure-find
9505 @: $(MAKE); $(unstage)
9506 @[ -f ./find/Makefile ] || exit 0; \
9507 r=`${PWD_COMMAND}`; export r; \
9508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9509 $(HOST_EXPORTS) \
9510 for flag in $(EXTRA_HOST_FLAGS) ; do \
9511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9512 done; \
9513 echo "Doing html in find" ; \
9514 (cd $(HOST_SUBDIR)/find && \
9515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9517 "RANLIB=$${RANLIB}" \
9518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9519 html) \
9520 || exit 1
9522 @endif find
9524 .PHONY: maybe-TAGS-find TAGS-find
9525 maybe-TAGS-find:
9526 @if find
9527 maybe-TAGS-find: TAGS-find
9529 TAGS-find: \
9530 configure-find
9531 @: $(MAKE); $(unstage)
9532 @[ -f ./find/Makefile ] || exit 0; \
9533 r=`${PWD_COMMAND}`; export r; \
9534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9535 $(HOST_EXPORTS) \
9536 for flag in $(EXTRA_HOST_FLAGS) ; do \
9537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9538 done; \
9539 echo "Doing TAGS in find" ; \
9540 (cd $(HOST_SUBDIR)/find && \
9541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9543 "RANLIB=$${RANLIB}" \
9544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9545 TAGS) \
9546 || exit 1
9548 @endif find
9550 .PHONY: maybe-install-info-find install-info-find
9551 maybe-install-info-find:
9552 @if find
9553 maybe-install-info-find: install-info-find
9555 install-info-find: \
9556 configure-find \
9557 info-find
9558 @: $(MAKE); $(unstage)
9559 @[ -f ./find/Makefile ] || exit 0; \
9560 r=`${PWD_COMMAND}`; export r; \
9561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9562 $(HOST_EXPORTS) \
9563 for flag in $(EXTRA_HOST_FLAGS) ; do \
9564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9565 done; \
9566 echo "Doing install-info in find" ; \
9567 (cd $(HOST_SUBDIR)/find && \
9568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9570 "RANLIB=$${RANLIB}" \
9571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9572 install-info) \
9573 || exit 1
9575 @endif find
9577 .PHONY: maybe-installcheck-find installcheck-find
9578 maybe-installcheck-find:
9579 @if find
9580 maybe-installcheck-find: installcheck-find
9582 installcheck-find: \
9583 configure-find
9584 @: $(MAKE); $(unstage)
9585 @[ -f ./find/Makefile ] || exit 0; \
9586 r=`${PWD_COMMAND}`; export r; \
9587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9588 $(HOST_EXPORTS) \
9589 for flag in $(EXTRA_HOST_FLAGS) ; do \
9590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9591 done; \
9592 echo "Doing installcheck in find" ; \
9593 (cd $(HOST_SUBDIR)/find && \
9594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9596 "RANLIB=$${RANLIB}" \
9597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9598 installcheck) \
9599 || exit 1
9601 @endif find
9603 .PHONY: maybe-mostlyclean-find mostlyclean-find
9604 maybe-mostlyclean-find:
9605 @if find
9606 maybe-mostlyclean-find: mostlyclean-find
9608 mostlyclean-find:
9609 @: $(MAKE); $(unstage)
9610 @[ -f ./find/Makefile ] || exit 0; \
9611 r=`${PWD_COMMAND}`; export r; \
9612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9613 $(HOST_EXPORTS) \
9614 for flag in $(EXTRA_HOST_FLAGS) ; do \
9615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9616 done; \
9617 echo "Doing mostlyclean in find" ; \
9618 (cd $(HOST_SUBDIR)/find && \
9619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9621 "RANLIB=$${RANLIB}" \
9622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9623 mostlyclean) \
9624 || exit 1
9626 @endif find
9628 .PHONY: maybe-clean-find clean-find
9629 maybe-clean-find:
9630 @if find
9631 maybe-clean-find: clean-find
9633 clean-find:
9634 @: $(MAKE); $(unstage)
9635 @[ -f ./find/Makefile ] || exit 0; \
9636 r=`${PWD_COMMAND}`; export r; \
9637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9638 $(HOST_EXPORTS) \
9639 for flag in $(EXTRA_HOST_FLAGS) ; do \
9640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9641 done; \
9642 echo "Doing clean in find" ; \
9643 (cd $(HOST_SUBDIR)/find && \
9644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9646 "RANLIB=$${RANLIB}" \
9647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9648 clean) \
9649 || exit 1
9651 @endif find
9653 .PHONY: maybe-distclean-find distclean-find
9654 maybe-distclean-find:
9655 @if find
9656 maybe-distclean-find: distclean-find
9658 distclean-find:
9659 @: $(MAKE); $(unstage)
9660 @[ -f ./find/Makefile ] || exit 0; \
9661 r=`${PWD_COMMAND}`; export r; \
9662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9663 $(HOST_EXPORTS) \
9664 for flag in $(EXTRA_HOST_FLAGS) ; do \
9665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9666 done; \
9667 echo "Doing distclean in find" ; \
9668 (cd $(HOST_SUBDIR)/find && \
9669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9671 "RANLIB=$${RANLIB}" \
9672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9673 distclean) \
9674 || exit 1
9676 @endif find
9678 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9679 maybe-maintainer-clean-find:
9680 @if find
9681 maybe-maintainer-clean-find: maintainer-clean-find
9683 maintainer-clean-find:
9684 @: $(MAKE); $(unstage)
9685 @[ -f ./find/Makefile ] || exit 0; \
9686 r=`${PWD_COMMAND}`; export r; \
9687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9688 $(HOST_EXPORTS) \
9689 for flag in $(EXTRA_HOST_FLAGS) ; do \
9690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9691 done; \
9692 echo "Doing maintainer-clean in find" ; \
9693 (cd $(HOST_SUBDIR)/find && \
9694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9696 "RANLIB=$${RANLIB}" \
9697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9698 maintainer-clean) \
9699 || exit 1
9701 @endif find
9705 .PHONY: configure-fixincludes maybe-configure-fixincludes
9706 maybe-configure-fixincludes:
9707 @if fixincludes
9708 maybe-configure-fixincludes: configure-fixincludes
9709 configure-fixincludes:
9710 @: $(MAKE); $(unstage)
9711 @r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9715 $(HOST_EXPORTS) \
9716 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9717 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9718 case $(srcdir) in \
9719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9720 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9722 esac; \
9723 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9724 libsrcdir="$$s/fixincludes"; \
9725 $(SHELL) $${libsrcdir}/configure \
9726 $(HOST_CONFIGARGS) $${srcdiroption} \
9727 || exit 1
9728 @endif fixincludes
9734 .PHONY: all-fixincludes maybe-all-fixincludes
9735 maybe-all-fixincludes:
9736 @if fixincludes
9737 TARGET-fixincludes=all
9738 maybe-all-fixincludes: all-fixincludes
9739 all-fixincludes: configure-fixincludes
9740 @: $(MAKE); $(unstage)
9741 @r=`${PWD_COMMAND}`; export r; \
9742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9743 $(HOST_EXPORTS) \
9744 (cd $(HOST_SUBDIR)/fixincludes && \
9745 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9746 @endif fixincludes
9751 .PHONY: check-fixincludes maybe-check-fixincludes
9752 maybe-check-fixincludes:
9753 @if fixincludes
9754 maybe-check-fixincludes: check-fixincludes
9756 check-fixincludes:
9757 @: $(MAKE); $(unstage)
9758 @r=`${PWD_COMMAND}`; export r; \
9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9760 $(HOST_EXPORTS) \
9761 (cd $(HOST_SUBDIR)/fixincludes && \
9762 $(MAKE) $(FLAGS_TO_PASS) check)
9764 @endif fixincludes
9766 .PHONY: install-fixincludes maybe-install-fixincludes
9767 maybe-install-fixincludes:
9768 @if fixincludes
9769 maybe-install-fixincludes: install-fixincludes
9771 install-fixincludes: installdirs
9772 @: $(MAKE); $(unstage)
9773 @r=`${PWD_COMMAND}`; export r; \
9774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9775 $(HOST_EXPORTS) \
9776 (cd $(HOST_SUBDIR)/fixincludes && \
9777 $(MAKE) $(FLAGS_TO_PASS) install)
9779 @endif fixincludes
9781 # Other targets (info, dvi, etc.)
9783 .PHONY: maybe-info-fixincludes info-fixincludes
9784 maybe-info-fixincludes:
9785 @if fixincludes
9786 maybe-info-fixincludes: info-fixincludes
9788 # fixincludes doesn't support info.
9789 info-fixincludes:
9791 @endif fixincludes
9793 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9794 maybe-dvi-fixincludes:
9795 @if fixincludes
9796 maybe-dvi-fixincludes: dvi-fixincludes
9798 # fixincludes doesn't support dvi.
9799 dvi-fixincludes:
9801 @endif fixincludes
9803 .PHONY: maybe-html-fixincludes html-fixincludes
9804 maybe-html-fixincludes:
9805 @if fixincludes
9806 maybe-html-fixincludes: html-fixincludes
9808 html-fixincludes: \
9809 configure-fixincludes
9810 @: $(MAKE); $(unstage)
9811 @[ -f ./fixincludes/Makefile ] || exit 0; \
9812 r=`${PWD_COMMAND}`; export r; \
9813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9814 $(HOST_EXPORTS) \
9815 for flag in $(EXTRA_HOST_FLAGS) ; do \
9816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9817 done; \
9818 echo "Doing html in fixincludes" ; \
9819 (cd $(HOST_SUBDIR)/fixincludes && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9822 "RANLIB=$${RANLIB}" \
9823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9824 html) \
9825 || exit 1
9827 @endif fixincludes
9829 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9830 maybe-TAGS-fixincludes:
9831 @if fixincludes
9832 maybe-TAGS-fixincludes: TAGS-fixincludes
9834 # fixincludes doesn't support TAGS.
9835 TAGS-fixincludes:
9837 @endif fixincludes
9839 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9840 maybe-install-info-fixincludes:
9841 @if fixincludes
9842 maybe-install-info-fixincludes: install-info-fixincludes
9844 # fixincludes doesn't support install-info.
9845 install-info-fixincludes:
9847 @endif fixincludes
9849 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9850 maybe-installcheck-fixincludes:
9851 @if fixincludes
9852 maybe-installcheck-fixincludes: installcheck-fixincludes
9854 # fixincludes doesn't support installcheck.
9855 installcheck-fixincludes:
9857 @endif fixincludes
9859 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9860 maybe-mostlyclean-fixincludes:
9861 @if fixincludes
9862 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9864 mostlyclean-fixincludes:
9865 @: $(MAKE); $(unstage)
9866 @[ -f ./fixincludes/Makefile ] || exit 0; \
9867 r=`${PWD_COMMAND}`; export r; \
9868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9869 $(HOST_EXPORTS) \
9870 for flag in $(EXTRA_HOST_FLAGS) ; do \
9871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9872 done; \
9873 echo "Doing mostlyclean in fixincludes" ; \
9874 (cd $(HOST_SUBDIR)/fixincludes && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9879 mostlyclean) \
9880 || exit 1
9882 @endif fixincludes
9884 .PHONY: maybe-clean-fixincludes clean-fixincludes
9885 maybe-clean-fixincludes:
9886 @if fixincludes
9887 maybe-clean-fixincludes: clean-fixincludes
9889 clean-fixincludes:
9890 @: $(MAKE); $(unstage)
9891 @[ -f ./fixincludes/Makefile ] || exit 0; \
9892 r=`${PWD_COMMAND}`; export r; \
9893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9894 $(HOST_EXPORTS) \
9895 for flag in $(EXTRA_HOST_FLAGS) ; do \
9896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9897 done; \
9898 echo "Doing clean in fixincludes" ; \
9899 (cd $(HOST_SUBDIR)/fixincludes && \
9900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9902 "RANLIB=$${RANLIB}" \
9903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9904 clean) \
9905 || exit 1
9907 @endif fixincludes
9909 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9910 maybe-distclean-fixincludes:
9911 @if fixincludes
9912 maybe-distclean-fixincludes: distclean-fixincludes
9914 distclean-fixincludes:
9915 @: $(MAKE); $(unstage)
9916 @[ -f ./fixincludes/Makefile ] || exit 0; \
9917 r=`${PWD_COMMAND}`; export r; \
9918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9919 $(HOST_EXPORTS) \
9920 for flag in $(EXTRA_HOST_FLAGS) ; do \
9921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9922 done; \
9923 echo "Doing distclean in fixincludes" ; \
9924 (cd $(HOST_SUBDIR)/fixincludes && \
9925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9927 "RANLIB=$${RANLIB}" \
9928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9929 distclean) \
9930 || exit 1
9932 @endif fixincludes
9934 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9935 maybe-maintainer-clean-fixincludes:
9936 @if fixincludes
9937 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9939 maintainer-clean-fixincludes:
9940 @: $(MAKE); $(unstage)
9941 @[ -f ./fixincludes/Makefile ] || exit 0; \
9942 r=`${PWD_COMMAND}`; export r; \
9943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9944 $(HOST_EXPORTS) \
9945 for flag in $(EXTRA_HOST_FLAGS) ; do \
9946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9947 done; \
9948 echo "Doing maintainer-clean in fixincludes" ; \
9949 (cd $(HOST_SUBDIR)/fixincludes && \
9950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9952 "RANLIB=$${RANLIB}" \
9953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9954 maintainer-clean) \
9955 || exit 1
9957 @endif fixincludes
9961 .PHONY: configure-flex maybe-configure-flex
9962 maybe-configure-flex:
9963 @if flex
9964 maybe-configure-flex: configure-flex
9965 configure-flex:
9966 @: $(MAKE); $(unstage)
9967 @r=`${PWD_COMMAND}`; export r; \
9968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9969 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9971 $(HOST_EXPORTS) \
9972 echo Configuring in $(HOST_SUBDIR)/flex; \
9973 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9974 case $(srcdir) in \
9975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9976 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9978 esac; \
9979 srcdiroption="--srcdir=$${topdir}/flex"; \
9980 libsrcdir="$$s/flex"; \
9981 $(SHELL) $${libsrcdir}/configure \
9982 $(HOST_CONFIGARGS) $${srcdiroption} \
9983 || exit 1
9984 @endif flex
9990 .PHONY: all-flex maybe-all-flex
9991 maybe-all-flex:
9992 @if flex
9993 TARGET-flex=all
9994 maybe-all-flex: all-flex
9995 all-flex: configure-flex
9996 @: $(MAKE); $(unstage)
9997 @r=`${PWD_COMMAND}`; export r; \
9998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9999 $(HOST_EXPORTS) \
10000 (cd $(HOST_SUBDIR)/flex && \
10001 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10002 @endif flex
10007 .PHONY: check-flex maybe-check-flex
10008 maybe-check-flex:
10009 @if flex
10010 maybe-check-flex: check-flex
10012 # This module is only tested in a native toolchain.
10013 check-flex:
10014 @: $(MAKE); $(unstage)
10015 @if [ '$(host)' = '$(target)' ] ; then \
10016 r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10018 $(HOST_EXPORTS) \
10019 (cd $(HOST_SUBDIR)/flex && \
10020 $(MAKE) $(FLAGS_TO_PASS) check); \
10023 @endif flex
10025 .PHONY: install-flex maybe-install-flex
10026 maybe-install-flex:
10027 @if flex
10028 maybe-install-flex: install-flex
10030 install-flex: installdirs
10031 @: $(MAKE); $(unstage)
10032 @r=`${PWD_COMMAND}`; export r; \
10033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10034 $(HOST_EXPORTS) \
10035 (cd $(HOST_SUBDIR)/flex && \
10036 $(MAKE) $(FLAGS_TO_PASS) install)
10038 @endif flex
10040 # Other targets (info, dvi, etc.)
10042 .PHONY: maybe-info-flex info-flex
10043 maybe-info-flex:
10044 @if flex
10045 maybe-info-flex: info-flex
10047 info-flex: \
10048 configure-flex
10049 @: $(MAKE); $(unstage)
10050 @[ -f ./flex/Makefile ] || exit 0; \
10051 r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10053 $(HOST_EXPORTS) \
10054 for flag in $(EXTRA_HOST_FLAGS) ; do \
10055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10056 done; \
10057 echo "Doing info in flex" ; \
10058 (cd $(HOST_SUBDIR)/flex && \
10059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10061 "RANLIB=$${RANLIB}" \
10062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10063 info) \
10064 || exit 1
10066 @endif flex
10068 .PHONY: maybe-dvi-flex dvi-flex
10069 maybe-dvi-flex:
10070 @if flex
10071 maybe-dvi-flex: dvi-flex
10073 dvi-flex: \
10074 configure-flex
10075 @: $(MAKE); $(unstage)
10076 @[ -f ./flex/Makefile ] || exit 0; \
10077 r=`${PWD_COMMAND}`; export r; \
10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10079 $(HOST_EXPORTS) \
10080 for flag in $(EXTRA_HOST_FLAGS) ; do \
10081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10082 done; \
10083 echo "Doing dvi in flex" ; \
10084 (cd $(HOST_SUBDIR)/flex && \
10085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10087 "RANLIB=$${RANLIB}" \
10088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10089 dvi) \
10090 || exit 1
10092 @endif flex
10094 .PHONY: maybe-html-flex html-flex
10095 maybe-html-flex:
10096 @if flex
10097 maybe-html-flex: html-flex
10099 html-flex: \
10100 configure-flex
10101 @: $(MAKE); $(unstage)
10102 @[ -f ./flex/Makefile ] || exit 0; \
10103 r=`${PWD_COMMAND}`; export r; \
10104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10105 $(HOST_EXPORTS) \
10106 for flag in $(EXTRA_HOST_FLAGS) ; do \
10107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10108 done; \
10109 echo "Doing html in flex" ; \
10110 (cd $(HOST_SUBDIR)/flex && \
10111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10113 "RANLIB=$${RANLIB}" \
10114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10115 html) \
10116 || exit 1
10118 @endif flex
10120 .PHONY: maybe-TAGS-flex TAGS-flex
10121 maybe-TAGS-flex:
10122 @if flex
10123 maybe-TAGS-flex: TAGS-flex
10125 TAGS-flex: \
10126 configure-flex
10127 @: $(MAKE); $(unstage)
10128 @[ -f ./flex/Makefile ] || exit 0; \
10129 r=`${PWD_COMMAND}`; export r; \
10130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 $(HOST_EXPORTS) \
10132 for flag in $(EXTRA_HOST_FLAGS) ; do \
10133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 done; \
10135 echo "Doing TAGS in flex" ; \
10136 (cd $(HOST_SUBDIR)/flex && \
10137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10139 "RANLIB=$${RANLIB}" \
10140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10141 TAGS) \
10142 || exit 1
10144 @endif flex
10146 .PHONY: maybe-install-info-flex install-info-flex
10147 maybe-install-info-flex:
10148 @if flex
10149 maybe-install-info-flex: install-info-flex
10151 install-info-flex: \
10152 configure-flex \
10153 info-flex
10154 @: $(MAKE); $(unstage)
10155 @[ -f ./flex/Makefile ] || exit 0; \
10156 r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158 $(HOST_EXPORTS) \
10159 for flag in $(EXTRA_HOST_FLAGS) ; do \
10160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10161 done; \
10162 echo "Doing install-info in flex" ; \
10163 (cd $(HOST_SUBDIR)/flex && \
10164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10166 "RANLIB=$${RANLIB}" \
10167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10168 install-info) \
10169 || exit 1
10171 @endif flex
10173 .PHONY: maybe-installcheck-flex installcheck-flex
10174 maybe-installcheck-flex:
10175 @if flex
10176 maybe-installcheck-flex: installcheck-flex
10178 installcheck-flex: \
10179 configure-flex
10180 @: $(MAKE); $(unstage)
10181 @[ -f ./flex/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 $(HOST_EXPORTS) \
10185 for flag in $(EXTRA_HOST_FLAGS) ; do \
10186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10187 done; \
10188 echo "Doing installcheck in flex" ; \
10189 (cd $(HOST_SUBDIR)/flex && \
10190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192 "RANLIB=$${RANLIB}" \
10193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10194 installcheck) \
10195 || exit 1
10197 @endif flex
10199 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10200 maybe-mostlyclean-flex:
10201 @if flex
10202 maybe-mostlyclean-flex: mostlyclean-flex
10204 mostlyclean-flex:
10205 @: $(MAKE); $(unstage)
10206 @[ -f ./flex/Makefile ] || exit 0; \
10207 r=`${PWD_COMMAND}`; export r; \
10208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10209 $(HOST_EXPORTS) \
10210 for flag in $(EXTRA_HOST_FLAGS) ; do \
10211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10212 done; \
10213 echo "Doing mostlyclean in flex" ; \
10214 (cd $(HOST_SUBDIR)/flex && \
10215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10217 "RANLIB=$${RANLIB}" \
10218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10219 mostlyclean) \
10220 || exit 1
10222 @endif flex
10224 .PHONY: maybe-clean-flex clean-flex
10225 maybe-clean-flex:
10226 @if flex
10227 maybe-clean-flex: clean-flex
10229 clean-flex:
10230 @: $(MAKE); $(unstage)
10231 @[ -f ./flex/Makefile ] || exit 0; \
10232 r=`${PWD_COMMAND}`; export r; \
10233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 $(HOST_EXPORTS) \
10235 for flag in $(EXTRA_HOST_FLAGS) ; do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 done; \
10238 echo "Doing clean in flex" ; \
10239 (cd $(HOST_SUBDIR)/flex && \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10244 clean) \
10245 || exit 1
10247 @endif flex
10249 .PHONY: maybe-distclean-flex distclean-flex
10250 maybe-distclean-flex:
10251 @if flex
10252 maybe-distclean-flex: distclean-flex
10254 distclean-flex:
10255 @: $(MAKE); $(unstage)
10256 @[ -f ./flex/Makefile ] || exit 0; \
10257 r=`${PWD_COMMAND}`; export r; \
10258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10259 $(HOST_EXPORTS) \
10260 for flag in $(EXTRA_HOST_FLAGS) ; do \
10261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10262 done; \
10263 echo "Doing distclean in flex" ; \
10264 (cd $(HOST_SUBDIR)/flex && \
10265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10267 "RANLIB=$${RANLIB}" \
10268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10269 distclean) \
10270 || exit 1
10272 @endif flex
10274 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10275 maybe-maintainer-clean-flex:
10276 @if flex
10277 maybe-maintainer-clean-flex: maintainer-clean-flex
10279 maintainer-clean-flex:
10280 @: $(MAKE); $(unstage)
10281 @[ -f ./flex/Makefile ] || exit 0; \
10282 r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10284 $(HOST_EXPORTS) \
10285 for flag in $(EXTRA_HOST_FLAGS) ; do \
10286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10287 done; \
10288 echo "Doing maintainer-clean in flex" ; \
10289 (cd $(HOST_SUBDIR)/flex && \
10290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10292 "RANLIB=$${RANLIB}" \
10293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10294 maintainer-clean) \
10295 || exit 1
10297 @endif flex
10301 .PHONY: configure-gas maybe-configure-gas
10302 maybe-configure-gas:
10303 @if gas
10304 maybe-configure-gas: configure-gas
10305 configure-gas:
10306 @endif gas
10307 @if gas-bootstrap
10308 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10309 @endif gas-bootstrap
10310 @if gas
10311 @r=`${PWD_COMMAND}`; export r; \
10312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10315 $(HOST_EXPORTS) \
10316 echo Configuring in $(HOST_SUBDIR)/gas; \
10317 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10318 case $(srcdir) in \
10319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10320 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10322 esac; \
10323 srcdiroption="--srcdir=$${topdir}/gas"; \
10324 libsrcdir="$$s/gas"; \
10325 $(SHELL) $${libsrcdir}/configure \
10326 $(HOST_CONFIGARGS) $${srcdiroption} \
10327 || exit 1
10328 @endif gas
10332 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10333 maybe-configure-stage1-gas:
10334 @if gas-bootstrap
10335 maybe-configure-stage1-gas: configure-stage1-gas
10336 configure-stage1-gas:
10337 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10339 @r=`${PWD_COMMAND}`; export r; \
10340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10341 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10342 $(HOST_EXPORTS) \
10343 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10345 cd $(HOST_SUBDIR)/gas || exit 1; \
10346 case $(srcdir) in \
10347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10348 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10350 esac; \
10351 srcdiroption="--srcdir=$${topdir}/gas"; \
10352 libsrcdir="$$s/gas"; \
10353 $(SHELL) $${libsrcdir}/configure \
10354 $(HOST_CONFIGARGS) $${srcdiroption} \
10355 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10356 @endif gas-bootstrap
10358 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10359 maybe-configure-stage2-gas:
10360 @if gas-bootstrap
10361 maybe-configure-stage2-gas: configure-stage2-gas
10362 configure-stage2-gas:
10363 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10364 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10365 @r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10368 $(HOST_EXPORTS) \
10369 $(POSTSTAGE1_HOST_EXPORTS) \
10370 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10372 cd $(HOST_SUBDIR)/gas || exit 1; \
10373 case $(srcdir) in \
10374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10375 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10377 esac; \
10378 srcdiroption="--srcdir=$${topdir}/gas"; \
10379 libsrcdir="$$s/gas"; \
10380 $(SHELL) $${libsrcdir}/configure \
10381 $(HOST_CONFIGARGS) $${srcdiroption} \
10382 @stage2_werror_flag@
10383 @endif gas-bootstrap
10385 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10386 maybe-configure-stage3-gas:
10387 @if gas-bootstrap
10388 maybe-configure-stage3-gas: configure-stage3-gas
10389 configure-stage3-gas:
10390 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10392 @r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10395 $(HOST_EXPORTS) \
10396 $(POSTSTAGE1_HOST_EXPORTS) \
10397 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10399 cd $(HOST_SUBDIR)/gas || exit 1; \
10400 case $(srcdir) in \
10401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10402 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10404 esac; \
10405 srcdiroption="--srcdir=$${topdir}/gas"; \
10406 libsrcdir="$$s/gas"; \
10407 $(SHELL) $${libsrcdir}/configure \
10408 $(HOST_CONFIGARGS) $${srcdiroption} \
10409 @stage2_werror_flag@
10410 @endif gas-bootstrap
10412 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10413 maybe-configure-stage4-gas:
10414 @if gas-bootstrap
10415 maybe-configure-stage4-gas: configure-stage4-gas
10416 configure-stage4-gas:
10417 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10418 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10419 @r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10421 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10422 $(HOST_EXPORTS) \
10423 $(POSTSTAGE1_HOST_EXPORTS) \
10424 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10426 cd $(HOST_SUBDIR)/gas || exit 1; \
10427 case $(srcdir) in \
10428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10429 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10431 esac; \
10432 srcdiroption="--srcdir=$${topdir}/gas"; \
10433 libsrcdir="$$s/gas"; \
10434 $(SHELL) $${libsrcdir}/configure \
10435 $(HOST_CONFIGARGS) $${srcdiroption} \
10436 @stage2_werror_flag@
10437 @endif gas-bootstrap
10439 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10440 maybe-configure-stageprofile-gas:
10441 @if gas-bootstrap
10442 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10443 configure-stageprofile-gas:
10444 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10445 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10446 @r=`${PWD_COMMAND}`; export r; \
10447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10448 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10449 $(HOST_EXPORTS) \
10450 $(POSTSTAGE1_HOST_EXPORTS) \
10451 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10453 cd $(HOST_SUBDIR)/gas || exit 1; \
10454 case $(srcdir) in \
10455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10456 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10458 esac; \
10459 srcdiroption="--srcdir=$${topdir}/gas"; \
10460 libsrcdir="$$s/gas"; \
10461 $(SHELL) $${libsrcdir}/configure \
10462 $(HOST_CONFIGARGS) $${srcdiroption} \
10463 @stage2_werror_flag@
10464 @endif gas-bootstrap
10466 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10467 maybe-configure-stagefeedback-gas:
10468 @if gas-bootstrap
10469 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10470 configure-stagefeedback-gas:
10471 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10473 @r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10475 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10476 $(HOST_EXPORTS) \
10477 $(POSTSTAGE1_HOST_EXPORTS) \
10478 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10480 cd $(HOST_SUBDIR)/gas || exit 1; \
10481 case $(srcdir) in \
10482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10483 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10485 esac; \
10486 srcdiroption="--srcdir=$${topdir}/gas"; \
10487 libsrcdir="$$s/gas"; \
10488 $(SHELL) $${libsrcdir}/configure \
10489 $(HOST_CONFIGARGS) $${srcdiroption} \
10490 @stage2_werror_flag@
10491 @endif gas-bootstrap
10497 .PHONY: all-gas maybe-all-gas
10498 maybe-all-gas:
10499 @if gas
10500 TARGET-gas=all
10501 maybe-all-gas: all-gas
10502 all-gas: configure-gas
10503 @endif gas
10504 @if gas-bootstrap
10505 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10506 @endif gas-bootstrap
10507 @if gas
10508 @r=`${PWD_COMMAND}`; export r; \
10509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10510 $(HOST_EXPORTS) \
10511 (cd $(HOST_SUBDIR)/gas && \
10512 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10513 @endif gas
10517 .PHONY: all-stage1-gas maybe-all-stage1-gas
10518 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10519 maybe-all-stage1-gas:
10520 maybe-clean-stage1-gas:
10521 @if gas-bootstrap
10522 maybe-all-stage1-gas: all-stage1-gas
10523 all-stage1: all-stage1-gas
10524 TARGET-stage1-gas = $(TARGET-gas)
10525 all-stage1-gas: configure-stage1-gas
10526 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10527 @r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 $(HOST_EXPORTS) \
10530 cd $(HOST_SUBDIR)/gas && \
10531 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
10532 $(TARGET-stage1-gas)
10534 maybe-clean-stage1-gas: clean-stage1-gas
10535 clean-stage1: clean-stage1-gas
10536 clean-stage1-gas:
10537 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10538 || exit 0 ; \
10539 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
10540 cd $(HOST_SUBDIR)/gas && \
10541 $(MAKE) $(FLAGS_TO_PASS) \
10542 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
10543 @endif gas-bootstrap
10546 .PHONY: all-stage2-gas maybe-all-stage2-gas
10547 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10548 maybe-all-stage2-gas:
10549 maybe-clean-stage2-gas:
10550 @if gas-bootstrap
10551 maybe-all-stage2-gas: all-stage2-gas
10552 all-stage2: all-stage2-gas
10553 TARGET-stage2-gas = $(TARGET-gas)
10554 all-stage2-gas: configure-stage2-gas
10555 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10556 @r=`${PWD_COMMAND}`; export r; \
10557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10558 $(HOST_EXPORTS) \
10559 $(POSTSTAGE1_HOST_EXPORTS) \
10560 cd $(HOST_SUBDIR)/gas && \
10561 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10562 $(TARGET-stage2-gas)
10564 maybe-clean-stage2-gas: clean-stage2-gas
10565 clean-stage2: clean-stage2-gas
10566 clean-stage2-gas:
10567 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10568 || exit 0 ; \
10569 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
10570 cd $(HOST_SUBDIR)/gas && \
10571 $(MAKE) $(FLAGS_TO_PASS) \
10572 $(POSTSTAGE1_FLAGS_TO_PASS) \
10573 clean
10574 @endif gas-bootstrap
10577 .PHONY: all-stage3-gas maybe-all-stage3-gas
10578 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10579 maybe-all-stage3-gas:
10580 maybe-clean-stage3-gas:
10581 @if gas-bootstrap
10582 maybe-all-stage3-gas: all-stage3-gas
10583 all-stage3: all-stage3-gas
10584 TARGET-stage3-gas = $(TARGET-gas)
10585 all-stage3-gas: configure-stage3-gas
10586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10587 @r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 $(HOST_EXPORTS) \
10590 $(POSTSTAGE1_HOST_EXPORTS) \
10591 cd $(HOST_SUBDIR)/gas && \
10592 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10593 $(TARGET-stage3-gas)
10595 maybe-clean-stage3-gas: clean-stage3-gas
10596 clean-stage3: clean-stage3-gas
10597 clean-stage3-gas:
10598 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10599 || exit 0 ; \
10600 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
10601 cd $(HOST_SUBDIR)/gas && \
10602 $(MAKE) $(FLAGS_TO_PASS) \
10603 $(POSTSTAGE1_FLAGS_TO_PASS) \
10604 clean
10605 @endif gas-bootstrap
10608 .PHONY: all-stage4-gas maybe-all-stage4-gas
10609 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10610 maybe-all-stage4-gas:
10611 maybe-clean-stage4-gas:
10612 @if gas-bootstrap
10613 maybe-all-stage4-gas: all-stage4-gas
10614 all-stage4: all-stage4-gas
10615 TARGET-stage4-gas = $(TARGET-gas)
10616 all-stage4-gas: configure-stage4-gas
10617 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10618 @r=`${PWD_COMMAND}`; export r; \
10619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10620 $(HOST_EXPORTS) \
10621 $(POSTSTAGE1_HOST_EXPORTS) \
10622 cd $(HOST_SUBDIR)/gas && \
10623 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10624 $(TARGET-stage4-gas)
10626 maybe-clean-stage4-gas: clean-stage4-gas
10627 clean-stage4: clean-stage4-gas
10628 clean-stage4-gas:
10629 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10630 || exit 0 ; \
10631 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
10632 cd $(HOST_SUBDIR)/gas && \
10633 $(MAKE) $(FLAGS_TO_PASS) \
10634 $(POSTSTAGE1_FLAGS_TO_PASS) \
10635 clean
10636 @endif gas-bootstrap
10639 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10640 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10641 maybe-all-stageprofile-gas:
10642 maybe-clean-stageprofile-gas:
10643 @if gas-bootstrap
10644 maybe-all-stageprofile-gas: all-stageprofile-gas
10645 all-stageprofile: all-stageprofile-gas
10646 TARGET-stageprofile-gas = $(TARGET-gas)
10647 all-stageprofile-gas: configure-stageprofile-gas
10648 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10649 @r=`${PWD_COMMAND}`; export r; \
10650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10651 $(HOST_EXPORTS) \
10652 $(POSTSTAGE1_HOST_EXPORTS) \
10653 cd $(HOST_SUBDIR)/gas && \
10654 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10655 $(TARGET-stageprofile-gas)
10657 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10658 clean-stageprofile: clean-stageprofile-gas
10659 clean-stageprofile-gas:
10660 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10661 || exit 0 ; \
10662 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
10663 cd $(HOST_SUBDIR)/gas && \
10664 $(MAKE) $(FLAGS_TO_PASS) \
10665 $(POSTSTAGE1_FLAGS_TO_PASS) \
10666 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10667 @endif gas-bootstrap
10670 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10671 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10672 maybe-all-stagefeedback-gas:
10673 maybe-clean-stagefeedback-gas:
10674 @if gas-bootstrap
10675 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10676 all-stagefeedback: all-stagefeedback-gas
10677 TARGET-stagefeedback-gas = $(TARGET-gas)
10678 all-stagefeedback-gas: configure-stagefeedback-gas
10679 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10680 @r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 $(HOST_EXPORTS) \
10683 $(POSTSTAGE1_HOST_EXPORTS) \
10684 cd $(HOST_SUBDIR)/gas && \
10685 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10686 $(TARGET-stagefeedback-gas)
10688 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10689 clean-stagefeedback: clean-stagefeedback-gas
10690 clean-stagefeedback-gas:
10691 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10692 || exit 0 ; \
10693 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
10694 cd $(HOST_SUBDIR)/gas && \
10695 $(MAKE) $(FLAGS_TO_PASS) \
10696 $(POSTSTAGE1_FLAGS_TO_PASS) \
10697 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10698 @endif gas-bootstrap
10704 .PHONY: check-gas maybe-check-gas
10705 maybe-check-gas:
10706 @if gas
10707 maybe-check-gas: check-gas
10709 check-gas:
10710 @: $(MAKE); $(unstage)
10711 @r=`${PWD_COMMAND}`; export r; \
10712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10713 $(HOST_EXPORTS) \
10714 (cd $(HOST_SUBDIR)/gas && \
10715 $(MAKE) $(FLAGS_TO_PASS) check)
10717 @endif gas
10719 .PHONY: install-gas maybe-install-gas
10720 maybe-install-gas:
10721 @if gas
10722 maybe-install-gas: install-gas
10724 install-gas: installdirs
10725 @: $(MAKE); $(unstage)
10726 @r=`${PWD_COMMAND}`; export r; \
10727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10728 $(HOST_EXPORTS) \
10729 (cd $(HOST_SUBDIR)/gas && \
10730 $(MAKE) $(FLAGS_TO_PASS) install)
10732 @endif gas
10734 # Other targets (info, dvi, etc.)
10736 .PHONY: maybe-info-gas info-gas
10737 maybe-info-gas:
10738 @if gas
10739 maybe-info-gas: info-gas
10741 info-gas: \
10742 configure-gas
10743 @[ -f ./gas/Makefile ] || exit 0; \
10744 r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 $(HOST_EXPORTS) \
10747 for flag in $(EXTRA_HOST_FLAGS) ; do \
10748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10749 done; \
10750 echo "Doing info in gas" ; \
10751 (cd $(HOST_SUBDIR)/gas && \
10752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10754 "RANLIB=$${RANLIB}" \
10755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10756 info) \
10757 || exit 1
10759 @endif gas
10761 .PHONY: maybe-dvi-gas dvi-gas
10762 maybe-dvi-gas:
10763 @if gas
10764 maybe-dvi-gas: dvi-gas
10766 dvi-gas: \
10767 configure-gas
10768 @[ -f ./gas/Makefile ] || exit 0; \
10769 r=`${PWD_COMMAND}`; export r; \
10770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10771 $(HOST_EXPORTS) \
10772 for flag in $(EXTRA_HOST_FLAGS) ; do \
10773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10774 done; \
10775 echo "Doing dvi in gas" ; \
10776 (cd $(HOST_SUBDIR)/gas && \
10777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10779 "RANLIB=$${RANLIB}" \
10780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10781 dvi) \
10782 || exit 1
10784 @endif gas
10786 .PHONY: maybe-html-gas html-gas
10787 maybe-html-gas:
10788 @if gas
10789 maybe-html-gas: html-gas
10791 html-gas: \
10792 configure-gas
10793 @[ -f ./gas/Makefile ] || exit 0; \
10794 r=`${PWD_COMMAND}`; export r; \
10795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10796 $(HOST_EXPORTS) \
10797 for flag in $(EXTRA_HOST_FLAGS) ; do \
10798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10799 done; \
10800 echo "Doing html in gas" ; \
10801 (cd $(HOST_SUBDIR)/gas && \
10802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10804 "RANLIB=$${RANLIB}" \
10805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10806 html) \
10807 || exit 1
10809 @endif gas
10811 .PHONY: maybe-TAGS-gas TAGS-gas
10812 maybe-TAGS-gas:
10813 @if gas
10814 maybe-TAGS-gas: TAGS-gas
10816 TAGS-gas: \
10817 configure-gas
10818 @[ -f ./gas/Makefile ] || exit 0; \
10819 r=`${PWD_COMMAND}`; export r; \
10820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10821 $(HOST_EXPORTS) \
10822 for flag in $(EXTRA_HOST_FLAGS) ; do \
10823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10824 done; \
10825 echo "Doing TAGS in gas" ; \
10826 (cd $(HOST_SUBDIR)/gas && \
10827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10829 "RANLIB=$${RANLIB}" \
10830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10831 TAGS) \
10832 || exit 1
10834 @endif gas
10836 .PHONY: maybe-install-info-gas install-info-gas
10837 maybe-install-info-gas:
10838 @if gas
10839 maybe-install-info-gas: install-info-gas
10841 install-info-gas: \
10842 configure-gas \
10843 info-gas
10844 @[ -f ./gas/Makefile ] || exit 0; \
10845 r=`${PWD_COMMAND}`; export r; \
10846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10847 $(HOST_EXPORTS) \
10848 for flag in $(EXTRA_HOST_FLAGS) ; do \
10849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10850 done; \
10851 echo "Doing install-info in gas" ; \
10852 (cd $(HOST_SUBDIR)/gas && \
10853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10855 "RANLIB=$${RANLIB}" \
10856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10857 install-info) \
10858 || exit 1
10860 @endif gas
10862 .PHONY: maybe-installcheck-gas installcheck-gas
10863 maybe-installcheck-gas:
10864 @if gas
10865 maybe-installcheck-gas: installcheck-gas
10867 installcheck-gas: \
10868 configure-gas
10869 @[ -f ./gas/Makefile ] || exit 0; \
10870 r=`${PWD_COMMAND}`; export r; \
10871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10872 $(HOST_EXPORTS) \
10873 for flag in $(EXTRA_HOST_FLAGS) ; do \
10874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10875 done; \
10876 echo "Doing installcheck in gas" ; \
10877 (cd $(HOST_SUBDIR)/gas && \
10878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10880 "RANLIB=$${RANLIB}" \
10881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10882 installcheck) \
10883 || exit 1
10885 @endif gas
10887 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10888 maybe-mostlyclean-gas:
10889 @if gas
10890 maybe-mostlyclean-gas: mostlyclean-gas
10892 mostlyclean-gas:
10893 @[ -f ./gas/Makefile ] || exit 0; \
10894 r=`${PWD_COMMAND}`; export r; \
10895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10896 $(HOST_EXPORTS) \
10897 for flag in $(EXTRA_HOST_FLAGS) ; do \
10898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10899 done; \
10900 echo "Doing mostlyclean in gas" ; \
10901 (cd $(HOST_SUBDIR)/gas && \
10902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10904 "RANLIB=$${RANLIB}" \
10905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10906 mostlyclean) \
10907 || exit 1
10909 @endif gas
10911 .PHONY: maybe-clean-gas clean-gas
10912 maybe-clean-gas:
10913 @if gas
10914 maybe-clean-gas: clean-gas
10916 clean-gas:
10917 @[ -f ./gas/Makefile ] || exit 0; \
10918 r=`${PWD_COMMAND}`; export r; \
10919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10920 $(HOST_EXPORTS) \
10921 for flag in $(EXTRA_HOST_FLAGS) ; do \
10922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10923 done; \
10924 echo "Doing clean in gas" ; \
10925 (cd $(HOST_SUBDIR)/gas && \
10926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10928 "RANLIB=$${RANLIB}" \
10929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10930 clean) \
10931 || exit 1
10933 @endif gas
10935 .PHONY: maybe-distclean-gas distclean-gas
10936 maybe-distclean-gas:
10937 @if gas
10938 maybe-distclean-gas: distclean-gas
10940 distclean-gas:
10941 @[ -f ./gas/Makefile ] || exit 0; \
10942 r=`${PWD_COMMAND}`; export r; \
10943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10944 $(HOST_EXPORTS) \
10945 for flag in $(EXTRA_HOST_FLAGS) ; do \
10946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10947 done; \
10948 echo "Doing distclean in gas" ; \
10949 (cd $(HOST_SUBDIR)/gas && \
10950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10952 "RANLIB=$${RANLIB}" \
10953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10954 distclean) \
10955 || exit 1
10957 @endif gas
10959 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10960 maybe-maintainer-clean-gas:
10961 @if gas
10962 maybe-maintainer-clean-gas: maintainer-clean-gas
10964 maintainer-clean-gas:
10965 @[ -f ./gas/Makefile ] || exit 0; \
10966 r=`${PWD_COMMAND}`; export r; \
10967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10968 $(HOST_EXPORTS) \
10969 for flag in $(EXTRA_HOST_FLAGS) ; do \
10970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10971 done; \
10972 echo "Doing maintainer-clean in gas" ; \
10973 (cd $(HOST_SUBDIR)/gas && \
10974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10976 "RANLIB=$${RANLIB}" \
10977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10978 maintainer-clean) \
10979 || exit 1
10981 @endif gas
10985 .PHONY: configure-gcc maybe-configure-gcc
10986 maybe-configure-gcc:
10987 @if gcc
10988 maybe-configure-gcc: configure-gcc
10989 configure-gcc:
10990 @endif gcc
10991 @if gcc-bootstrap
10992 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10993 @endif gcc-bootstrap
10994 @if gcc
10995 @r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10999 $(HOST_EXPORTS) \
11000 echo Configuring in $(HOST_SUBDIR)/gcc; \
11001 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11002 case $(srcdir) in \
11003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11004 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11006 esac; \
11007 srcdiroption="--srcdir=$${topdir}/gcc"; \
11008 libsrcdir="$$s/gcc"; \
11009 $(SHELL) $${libsrcdir}/configure \
11010 $(HOST_CONFIGARGS) $${srcdiroption} \
11011 || exit 1
11012 @endif gcc
11016 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11017 maybe-configure-stage1-gcc:
11018 @if gcc-bootstrap
11019 maybe-configure-stage1-gcc: configure-stage1-gcc
11020 configure-stage1-gcc:
11021 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11023 @r=`${PWD_COMMAND}`; export r; \
11024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11025 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11026 $(HOST_EXPORTS) \
11027 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11029 cd $(HOST_SUBDIR)/gcc || exit 1; \
11030 case $(srcdir) in \
11031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11032 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11034 esac; \
11035 srcdiroption="--srcdir=$${topdir}/gcc"; \
11036 libsrcdir="$$s/gcc"; \
11037 $(SHELL) $${libsrcdir}/configure \
11038 $(HOST_CONFIGARGS) $${srcdiroption} \
11039 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11040 @endif gcc-bootstrap
11042 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11043 maybe-configure-stage2-gcc:
11044 @if gcc-bootstrap
11045 maybe-configure-stage2-gcc: configure-stage2-gcc
11046 configure-stage2-gcc:
11047 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11049 @r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11052 $(HOST_EXPORTS) \
11053 $(POSTSTAGE1_HOST_EXPORTS) \
11054 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11056 cd $(HOST_SUBDIR)/gcc || exit 1; \
11057 case $(srcdir) in \
11058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11059 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11061 esac; \
11062 srcdiroption="--srcdir=$${topdir}/gcc"; \
11063 libsrcdir="$$s/gcc"; \
11064 $(SHELL) $${libsrcdir}/configure \
11065 $(HOST_CONFIGARGS) $${srcdiroption} \
11066 @stage2_werror_flag@
11067 @endif gcc-bootstrap
11069 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11070 maybe-configure-stage3-gcc:
11071 @if gcc-bootstrap
11072 maybe-configure-stage3-gcc: configure-stage3-gcc
11073 configure-stage3-gcc:
11074 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11075 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11076 @r=`${PWD_COMMAND}`; export r; \
11077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11079 $(HOST_EXPORTS) \
11080 $(POSTSTAGE1_HOST_EXPORTS) \
11081 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11083 cd $(HOST_SUBDIR)/gcc || exit 1; \
11084 case $(srcdir) in \
11085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11086 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11088 esac; \
11089 srcdiroption="--srcdir=$${topdir}/gcc"; \
11090 libsrcdir="$$s/gcc"; \
11091 $(SHELL) $${libsrcdir}/configure \
11092 $(HOST_CONFIGARGS) $${srcdiroption} \
11093 @stage2_werror_flag@
11094 @endif gcc-bootstrap
11096 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11097 maybe-configure-stage4-gcc:
11098 @if gcc-bootstrap
11099 maybe-configure-stage4-gcc: configure-stage4-gcc
11100 configure-stage4-gcc:
11101 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11103 @r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11106 $(HOST_EXPORTS) \
11107 $(POSTSTAGE1_HOST_EXPORTS) \
11108 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11110 cd $(HOST_SUBDIR)/gcc || exit 1; \
11111 case $(srcdir) in \
11112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11113 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11115 esac; \
11116 srcdiroption="--srcdir=$${topdir}/gcc"; \
11117 libsrcdir="$$s/gcc"; \
11118 $(SHELL) $${libsrcdir}/configure \
11119 $(HOST_CONFIGARGS) $${srcdiroption} \
11120 @stage2_werror_flag@
11121 @endif gcc-bootstrap
11123 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11124 maybe-configure-stageprofile-gcc:
11125 @if gcc-bootstrap
11126 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11127 configure-stageprofile-gcc:
11128 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11130 @r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11133 $(HOST_EXPORTS) \
11134 $(POSTSTAGE1_HOST_EXPORTS) \
11135 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11136 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11137 cd $(HOST_SUBDIR)/gcc || exit 1; \
11138 case $(srcdir) in \
11139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11140 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11142 esac; \
11143 srcdiroption="--srcdir=$${topdir}/gcc"; \
11144 libsrcdir="$$s/gcc"; \
11145 $(SHELL) $${libsrcdir}/configure \
11146 $(HOST_CONFIGARGS) $${srcdiroption} \
11147 @stage2_werror_flag@
11148 @endif gcc-bootstrap
11150 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11151 maybe-configure-stagefeedback-gcc:
11152 @if gcc-bootstrap
11153 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11154 configure-stagefeedback-gcc:
11155 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11156 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11157 @r=`${PWD_COMMAND}`; export r; \
11158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11159 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11160 $(HOST_EXPORTS) \
11161 $(POSTSTAGE1_HOST_EXPORTS) \
11162 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11164 cd $(HOST_SUBDIR)/gcc || exit 1; \
11165 case $(srcdir) in \
11166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11167 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11169 esac; \
11170 srcdiroption="--srcdir=$${topdir}/gcc"; \
11171 libsrcdir="$$s/gcc"; \
11172 $(SHELL) $${libsrcdir}/configure \
11173 $(HOST_CONFIGARGS) $${srcdiroption} \
11174 @stage2_werror_flag@
11175 @endif gcc-bootstrap
11181 .PHONY: all-gcc maybe-all-gcc
11182 maybe-all-gcc:
11183 @if gcc
11184 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11185 maybe-all-gcc: all-gcc
11186 all-gcc: configure-gcc
11187 @endif gcc
11188 @if gcc-bootstrap
11189 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11190 @endif gcc-bootstrap
11191 @if gcc
11192 @r=`${PWD_COMMAND}`; export r; \
11193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11194 $(HOST_EXPORTS) \
11195 (cd $(HOST_SUBDIR)/gcc && \
11196 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11197 @endif gcc
11201 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11202 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11203 maybe-all-stage1-gcc:
11204 maybe-clean-stage1-gcc:
11205 @if gcc-bootstrap
11206 maybe-all-stage1-gcc: all-stage1-gcc
11207 all-stage1: all-stage1-gcc
11208 TARGET-stage1-gcc = $(TARGET-gcc)
11209 all-stage1-gcc: configure-stage1-gcc
11210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11211 @r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 $(HOST_EXPORTS) \
11214 cd $(HOST_SUBDIR)/gcc && \
11215 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11216 $(TARGET-stage1-gcc)
11218 maybe-clean-stage1-gcc: clean-stage1-gcc
11219 clean-stage1: clean-stage1-gcc
11220 clean-stage1-gcc:
11221 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11222 || exit 0 ; \
11223 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11224 cd $(HOST_SUBDIR)/gcc && \
11225 $(MAKE) $(FLAGS_TO_PASS) \
11226 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11227 @endif gcc-bootstrap
11230 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11231 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11232 maybe-all-stage2-gcc:
11233 maybe-clean-stage2-gcc:
11234 @if gcc-bootstrap
11235 maybe-all-stage2-gcc: all-stage2-gcc
11236 all-stage2: all-stage2-gcc
11237 TARGET-stage2-gcc = $(TARGET-gcc)
11238 all-stage2-gcc: configure-stage2-gcc
11239 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11240 @r=`${PWD_COMMAND}`; export r; \
11241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11242 $(HOST_EXPORTS) \
11243 $(POSTSTAGE1_HOST_EXPORTS) \
11244 cd $(HOST_SUBDIR)/gcc && \
11245 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11246 $(TARGET-stage2-gcc)
11248 maybe-clean-stage2-gcc: clean-stage2-gcc
11249 clean-stage2: clean-stage2-gcc
11250 clean-stage2-gcc:
11251 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11252 || exit 0 ; \
11253 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11254 cd $(HOST_SUBDIR)/gcc && \
11255 $(MAKE) $(FLAGS_TO_PASS) \
11256 $(POSTSTAGE1_FLAGS_TO_PASS) \
11257 $(EXTRA_GCC_FLAGS) clean
11258 @endif gcc-bootstrap
11261 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11262 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11263 maybe-all-stage3-gcc:
11264 maybe-clean-stage3-gcc:
11265 @if gcc-bootstrap
11266 maybe-all-stage3-gcc: all-stage3-gcc
11267 all-stage3: all-stage3-gcc
11268 TARGET-stage3-gcc = $(TARGET-gcc)
11269 all-stage3-gcc: configure-stage3-gcc
11270 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11271 @r=`${PWD_COMMAND}`; export r; \
11272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 $(HOST_EXPORTS) \
11274 $(POSTSTAGE1_HOST_EXPORTS) \
11275 cd $(HOST_SUBDIR)/gcc && \
11276 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11277 $(TARGET-stage3-gcc)
11279 maybe-clean-stage3-gcc: clean-stage3-gcc
11280 clean-stage3: clean-stage3-gcc
11281 clean-stage3-gcc:
11282 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11283 || exit 0 ; \
11284 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11285 cd $(HOST_SUBDIR)/gcc && \
11286 $(MAKE) $(FLAGS_TO_PASS) \
11287 $(POSTSTAGE1_FLAGS_TO_PASS) \
11288 $(EXTRA_GCC_FLAGS) clean
11289 @endif gcc-bootstrap
11292 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11293 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11294 maybe-all-stage4-gcc:
11295 maybe-clean-stage4-gcc:
11296 @if gcc-bootstrap
11297 maybe-all-stage4-gcc: all-stage4-gcc
11298 all-stage4: all-stage4-gcc
11299 TARGET-stage4-gcc = $(TARGET-gcc)
11300 all-stage4-gcc: configure-stage4-gcc
11301 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11302 @r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 $(HOST_EXPORTS) \
11305 $(POSTSTAGE1_HOST_EXPORTS) \
11306 cd $(HOST_SUBDIR)/gcc && \
11307 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11308 $(TARGET-stage4-gcc)
11310 maybe-clean-stage4-gcc: clean-stage4-gcc
11311 clean-stage4: clean-stage4-gcc
11312 clean-stage4-gcc:
11313 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11314 || exit 0 ; \
11315 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11316 cd $(HOST_SUBDIR)/gcc && \
11317 $(MAKE) $(FLAGS_TO_PASS) \
11318 $(POSTSTAGE1_FLAGS_TO_PASS) \
11319 $(EXTRA_GCC_FLAGS) clean
11320 @endif gcc-bootstrap
11323 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11324 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11325 maybe-all-stageprofile-gcc:
11326 maybe-clean-stageprofile-gcc:
11327 @if gcc-bootstrap
11328 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11329 all-stageprofile: all-stageprofile-gcc
11330 TARGET-stageprofile-gcc = $(TARGET-gcc)
11331 all-stageprofile-gcc: configure-stageprofile-gcc
11332 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11333 @r=`${PWD_COMMAND}`; export r; \
11334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11335 $(HOST_EXPORTS) \
11336 $(POSTSTAGE1_HOST_EXPORTS) \
11337 cd $(HOST_SUBDIR)/gcc && \
11338 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11339 $(TARGET-stageprofile-gcc)
11341 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11342 clean-stageprofile: clean-stageprofile-gcc
11343 clean-stageprofile-gcc:
11344 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11345 || exit 0 ; \
11346 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11347 cd $(HOST_SUBDIR)/gcc && \
11348 $(MAKE) $(FLAGS_TO_PASS) \
11349 $(POSTSTAGE1_FLAGS_TO_PASS) \
11350 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11351 @endif gcc-bootstrap
11354 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11355 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11356 maybe-all-stagefeedback-gcc:
11357 maybe-clean-stagefeedback-gcc:
11358 @if gcc-bootstrap
11359 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11360 all-stagefeedback: all-stagefeedback-gcc
11361 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11362 all-stagefeedback-gcc: configure-stagefeedback-gcc
11363 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11364 @r=`${PWD_COMMAND}`; export r; \
11365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11366 $(HOST_EXPORTS) \
11367 $(POSTSTAGE1_HOST_EXPORTS) \
11368 cd $(HOST_SUBDIR)/gcc && \
11369 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11370 $(TARGET-stagefeedback-gcc)
11372 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11373 clean-stagefeedback: clean-stagefeedback-gcc
11374 clean-stagefeedback-gcc:
11375 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11376 || exit 0 ; \
11377 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11378 cd $(HOST_SUBDIR)/gcc && \
11379 $(MAKE) $(FLAGS_TO_PASS) \
11380 $(POSTSTAGE1_FLAGS_TO_PASS) \
11381 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11382 @endif gcc-bootstrap
11388 .PHONY: check-gcc maybe-check-gcc
11389 maybe-check-gcc:
11390 @if gcc
11391 maybe-check-gcc: check-gcc
11393 check-gcc:
11394 @: $(MAKE); $(unstage)
11395 @r=`${PWD_COMMAND}`; export r; \
11396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11397 $(HOST_EXPORTS) \
11398 (cd $(HOST_SUBDIR)/gcc && \
11399 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11401 @endif gcc
11403 .PHONY: install-gcc maybe-install-gcc
11404 maybe-install-gcc:
11405 @if gcc
11406 maybe-install-gcc: install-gcc
11408 install-gcc: installdirs
11409 @: $(MAKE); $(unstage)
11410 @r=`${PWD_COMMAND}`; export r; \
11411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11412 $(HOST_EXPORTS) \
11413 (cd $(HOST_SUBDIR)/gcc && \
11414 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11416 @endif gcc
11418 # Other targets (info, dvi, etc.)
11420 .PHONY: maybe-info-gcc info-gcc
11421 maybe-info-gcc:
11422 @if gcc
11423 maybe-info-gcc: info-gcc
11425 info-gcc: \
11426 configure-gcc
11427 @[ -f ./gcc/Makefile ] || exit 0; \
11428 r=`${PWD_COMMAND}`; export r; \
11429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 $(HOST_EXPORTS) \
11431 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 done; \
11434 echo "Doing info in gcc" ; \
11435 (cd $(HOST_SUBDIR)/gcc && \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438 "RANLIB=$${RANLIB}" \
11439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11440 info) \
11441 || exit 1
11443 @endif gcc
11445 .PHONY: maybe-dvi-gcc dvi-gcc
11446 maybe-dvi-gcc:
11447 @if gcc
11448 maybe-dvi-gcc: dvi-gcc
11450 dvi-gcc: \
11451 configure-gcc
11452 @[ -f ./gcc/Makefile ] || exit 0; \
11453 r=`${PWD_COMMAND}`; export r; \
11454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 $(HOST_EXPORTS) \
11456 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11458 done; \
11459 echo "Doing dvi in gcc" ; \
11460 (cd $(HOST_SUBDIR)/gcc && \
11461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11463 "RANLIB=$${RANLIB}" \
11464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 dvi) \
11466 || exit 1
11468 @endif gcc
11470 .PHONY: maybe-html-gcc html-gcc
11471 maybe-html-gcc:
11472 @if gcc
11473 maybe-html-gcc: html-gcc
11475 html-gcc: \
11476 configure-gcc
11477 @[ -f ./gcc/Makefile ] || exit 0; \
11478 r=`${PWD_COMMAND}`; export r; \
11479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11480 $(HOST_EXPORTS) \
11481 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11483 done; \
11484 echo "Doing html in gcc" ; \
11485 (cd $(HOST_SUBDIR)/gcc && \
11486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11488 "RANLIB=$${RANLIB}" \
11489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11490 html) \
11491 || exit 1
11493 @endif gcc
11495 .PHONY: maybe-TAGS-gcc TAGS-gcc
11496 maybe-TAGS-gcc:
11497 @if gcc
11498 maybe-TAGS-gcc: TAGS-gcc
11500 TAGS-gcc: \
11501 configure-gcc
11502 @[ -f ./gcc/Makefile ] || exit 0; \
11503 r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 $(HOST_EXPORTS) \
11506 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11508 done; \
11509 echo "Doing TAGS in gcc" ; \
11510 (cd $(HOST_SUBDIR)/gcc && \
11511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11513 "RANLIB=$${RANLIB}" \
11514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11515 TAGS) \
11516 || exit 1
11518 @endif gcc
11520 .PHONY: maybe-install-info-gcc install-info-gcc
11521 maybe-install-info-gcc:
11522 @if gcc
11523 maybe-install-info-gcc: install-info-gcc
11525 install-info-gcc: \
11526 configure-gcc \
11527 info-gcc
11528 @[ -f ./gcc/Makefile ] || exit 0; \
11529 r=`${PWD_COMMAND}`; export r; \
11530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11531 $(HOST_EXPORTS) \
11532 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11534 done; \
11535 echo "Doing install-info in gcc" ; \
11536 (cd $(HOST_SUBDIR)/gcc && \
11537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11539 "RANLIB=$${RANLIB}" \
11540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11541 install-info) \
11542 || exit 1
11544 @endif gcc
11546 .PHONY: maybe-installcheck-gcc installcheck-gcc
11547 maybe-installcheck-gcc:
11548 @if gcc
11549 maybe-installcheck-gcc: installcheck-gcc
11551 installcheck-gcc: \
11552 configure-gcc
11553 @[ -f ./gcc/Makefile ] || exit 0; \
11554 r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 $(HOST_EXPORTS) \
11557 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing installcheck in gcc" ; \
11561 (cd $(HOST_SUBDIR)/gcc && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11566 installcheck) \
11567 || exit 1
11569 @endif gcc
11571 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11572 maybe-mostlyclean-gcc:
11573 @if gcc
11574 maybe-mostlyclean-gcc: mostlyclean-gcc
11576 mostlyclean-gcc:
11577 @[ -f ./gcc/Makefile ] || exit 0; \
11578 r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 $(HOST_EXPORTS) \
11581 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 done; \
11584 echo "Doing mostlyclean in gcc" ; \
11585 (cd $(HOST_SUBDIR)/gcc && \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11590 mostlyclean) \
11591 || exit 1
11593 @endif gcc
11595 .PHONY: maybe-clean-gcc clean-gcc
11596 maybe-clean-gcc:
11597 @if gcc
11598 maybe-clean-gcc: clean-gcc
11600 clean-gcc:
11601 @[ -f ./gcc/Makefile ] || exit 0; \
11602 r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11604 $(HOST_EXPORTS) \
11605 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11607 done; \
11608 echo "Doing clean in gcc" ; \
11609 (cd $(HOST_SUBDIR)/gcc && \
11610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11612 "RANLIB=$${RANLIB}" \
11613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11614 clean) \
11615 || exit 1
11617 @endif gcc
11619 .PHONY: maybe-distclean-gcc distclean-gcc
11620 maybe-distclean-gcc:
11621 @if gcc
11622 maybe-distclean-gcc: distclean-gcc
11624 distclean-gcc:
11625 @[ -f ./gcc/Makefile ] || exit 0; \
11626 r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(HOST_EXPORTS) \
11629 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 done; \
11632 echo "Doing distclean in gcc" ; \
11633 (cd $(HOST_SUBDIR)/gcc && \
11634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11636 "RANLIB=$${RANLIB}" \
11637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11638 distclean) \
11639 || exit 1
11641 @endif gcc
11643 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11644 maybe-maintainer-clean-gcc:
11645 @if gcc
11646 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11648 maintainer-clean-gcc:
11649 @[ -f ./gcc/Makefile ] || exit 0; \
11650 r=`${PWD_COMMAND}`; export r; \
11651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11652 $(HOST_EXPORTS) \
11653 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11655 done; \
11656 echo "Doing maintainer-clean in gcc" ; \
11657 (cd $(HOST_SUBDIR)/gcc && \
11658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11660 "RANLIB=$${RANLIB}" \
11661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11662 maintainer-clean) \
11663 || exit 1
11665 @endif gcc
11669 .PHONY: configure-gawk maybe-configure-gawk
11670 maybe-configure-gawk:
11671 @if gawk
11672 maybe-configure-gawk: configure-gawk
11673 configure-gawk:
11674 @: $(MAKE); $(unstage)
11675 @r=`${PWD_COMMAND}`; export r; \
11676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11677 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11678 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11679 $(HOST_EXPORTS) \
11680 echo Configuring in $(HOST_SUBDIR)/gawk; \
11681 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11682 case $(srcdir) in \
11683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11684 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11686 esac; \
11687 srcdiroption="--srcdir=$${topdir}/gawk"; \
11688 libsrcdir="$$s/gawk"; \
11689 $(SHELL) $${libsrcdir}/configure \
11690 $(HOST_CONFIGARGS) $${srcdiroption} \
11691 || exit 1
11692 @endif gawk
11698 .PHONY: all-gawk maybe-all-gawk
11699 maybe-all-gawk:
11700 @if gawk
11701 TARGET-gawk=all
11702 maybe-all-gawk: all-gawk
11703 all-gawk: configure-gawk
11704 @: $(MAKE); $(unstage)
11705 @r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 $(HOST_EXPORTS) \
11708 (cd $(HOST_SUBDIR)/gawk && \
11709 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11710 @endif gawk
11715 .PHONY: check-gawk maybe-check-gawk
11716 maybe-check-gawk:
11717 @if gawk
11718 maybe-check-gawk: check-gawk
11720 check-gawk:
11721 @: $(MAKE); $(unstage)
11722 @r=`${PWD_COMMAND}`; export r; \
11723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11724 $(HOST_EXPORTS) \
11725 (cd $(HOST_SUBDIR)/gawk && \
11726 $(MAKE) $(FLAGS_TO_PASS) check)
11728 @endif gawk
11730 .PHONY: install-gawk maybe-install-gawk
11731 maybe-install-gawk:
11732 @if gawk
11733 maybe-install-gawk: install-gawk
11735 install-gawk: installdirs
11736 @: $(MAKE); $(unstage)
11737 @r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 $(HOST_EXPORTS) \
11740 (cd $(HOST_SUBDIR)/gawk && \
11741 $(MAKE) $(FLAGS_TO_PASS) install)
11743 @endif gawk
11745 # Other targets (info, dvi, etc.)
11747 .PHONY: maybe-info-gawk info-gawk
11748 maybe-info-gawk:
11749 @if gawk
11750 maybe-info-gawk: info-gawk
11752 info-gawk: \
11753 configure-gawk
11754 @: $(MAKE); $(unstage)
11755 @[ -f ./gawk/Makefile ] || exit 0; \
11756 r=`${PWD_COMMAND}`; export r; \
11757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11758 $(HOST_EXPORTS) \
11759 for flag in $(EXTRA_HOST_FLAGS) ; do \
11760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11761 done; \
11762 echo "Doing info in gawk" ; \
11763 (cd $(HOST_SUBDIR)/gawk && \
11764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11766 "RANLIB=$${RANLIB}" \
11767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11768 info) \
11769 || exit 1
11771 @endif gawk
11773 .PHONY: maybe-dvi-gawk dvi-gawk
11774 maybe-dvi-gawk:
11775 @if gawk
11776 maybe-dvi-gawk: dvi-gawk
11778 dvi-gawk: \
11779 configure-gawk
11780 @: $(MAKE); $(unstage)
11781 @[ -f ./gawk/Makefile ] || exit 0; \
11782 r=`${PWD_COMMAND}`; export r; \
11783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11784 $(HOST_EXPORTS) \
11785 for flag in $(EXTRA_HOST_FLAGS) ; do \
11786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11787 done; \
11788 echo "Doing dvi in gawk" ; \
11789 (cd $(HOST_SUBDIR)/gawk && \
11790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11792 "RANLIB=$${RANLIB}" \
11793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11794 dvi) \
11795 || exit 1
11797 @endif gawk
11799 .PHONY: maybe-html-gawk html-gawk
11800 maybe-html-gawk:
11801 @if gawk
11802 maybe-html-gawk: html-gawk
11804 html-gawk: \
11805 configure-gawk
11806 @: $(MAKE); $(unstage)
11807 @[ -f ./gawk/Makefile ] || exit 0; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 $(HOST_EXPORTS) \
11811 for flag in $(EXTRA_HOST_FLAGS) ; do \
11812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11813 done; \
11814 echo "Doing html in gawk" ; \
11815 (cd $(HOST_SUBDIR)/gawk && \
11816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11818 "RANLIB=$${RANLIB}" \
11819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11820 html) \
11821 || exit 1
11823 @endif gawk
11825 .PHONY: maybe-TAGS-gawk TAGS-gawk
11826 maybe-TAGS-gawk:
11827 @if gawk
11828 maybe-TAGS-gawk: TAGS-gawk
11830 TAGS-gawk: \
11831 configure-gawk
11832 @: $(MAKE); $(unstage)
11833 @[ -f ./gawk/Makefile ] || exit 0; \
11834 r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 $(HOST_EXPORTS) \
11837 for flag in $(EXTRA_HOST_FLAGS) ; do \
11838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11839 done; \
11840 echo "Doing TAGS in gawk" ; \
11841 (cd $(HOST_SUBDIR)/gawk && \
11842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11844 "RANLIB=$${RANLIB}" \
11845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11846 TAGS) \
11847 || exit 1
11849 @endif gawk
11851 .PHONY: maybe-install-info-gawk install-info-gawk
11852 maybe-install-info-gawk:
11853 @if gawk
11854 maybe-install-info-gawk: install-info-gawk
11856 install-info-gawk: \
11857 configure-gawk \
11858 info-gawk
11859 @: $(MAKE); $(unstage)
11860 @[ -f ./gawk/Makefile ] || exit 0; \
11861 r=`${PWD_COMMAND}`; export r; \
11862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11863 $(HOST_EXPORTS) \
11864 for flag in $(EXTRA_HOST_FLAGS) ; do \
11865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11866 done; \
11867 echo "Doing install-info in gawk" ; \
11868 (cd $(HOST_SUBDIR)/gawk && \
11869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11871 "RANLIB=$${RANLIB}" \
11872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11873 install-info) \
11874 || exit 1
11876 @endif gawk
11878 .PHONY: maybe-installcheck-gawk installcheck-gawk
11879 maybe-installcheck-gawk:
11880 @if gawk
11881 maybe-installcheck-gawk: installcheck-gawk
11883 installcheck-gawk: \
11884 configure-gawk
11885 @: $(MAKE); $(unstage)
11886 @[ -f ./gawk/Makefile ] || exit 0; \
11887 r=`${PWD_COMMAND}`; export r; \
11888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11889 $(HOST_EXPORTS) \
11890 for flag in $(EXTRA_HOST_FLAGS) ; do \
11891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11892 done; \
11893 echo "Doing installcheck in gawk" ; \
11894 (cd $(HOST_SUBDIR)/gawk && \
11895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11897 "RANLIB=$${RANLIB}" \
11898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11899 installcheck) \
11900 || exit 1
11902 @endif gawk
11904 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11905 maybe-mostlyclean-gawk:
11906 @if gawk
11907 maybe-mostlyclean-gawk: mostlyclean-gawk
11909 mostlyclean-gawk:
11910 @: $(MAKE); $(unstage)
11911 @[ -f ./gawk/Makefile ] || exit 0; \
11912 r=`${PWD_COMMAND}`; export r; \
11913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914 $(HOST_EXPORTS) \
11915 for flag in $(EXTRA_HOST_FLAGS) ; do \
11916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11917 done; \
11918 echo "Doing mostlyclean in gawk" ; \
11919 (cd $(HOST_SUBDIR)/gawk && \
11920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11922 "RANLIB=$${RANLIB}" \
11923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11924 mostlyclean) \
11925 || exit 1
11927 @endif gawk
11929 .PHONY: maybe-clean-gawk clean-gawk
11930 maybe-clean-gawk:
11931 @if gawk
11932 maybe-clean-gawk: clean-gawk
11934 clean-gawk:
11935 @: $(MAKE); $(unstage)
11936 @[ -f ./gawk/Makefile ] || exit 0; \
11937 r=`${PWD_COMMAND}`; export r; \
11938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11939 $(HOST_EXPORTS) \
11940 for flag in $(EXTRA_HOST_FLAGS) ; do \
11941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11942 done; \
11943 echo "Doing clean in gawk" ; \
11944 (cd $(HOST_SUBDIR)/gawk && \
11945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11947 "RANLIB=$${RANLIB}" \
11948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11949 clean) \
11950 || exit 1
11952 @endif gawk
11954 .PHONY: maybe-distclean-gawk distclean-gawk
11955 maybe-distclean-gawk:
11956 @if gawk
11957 maybe-distclean-gawk: distclean-gawk
11959 distclean-gawk:
11960 @: $(MAKE); $(unstage)
11961 @[ -f ./gawk/Makefile ] || exit 0; \
11962 r=`${PWD_COMMAND}`; export r; \
11963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11964 $(HOST_EXPORTS) \
11965 for flag in $(EXTRA_HOST_FLAGS) ; do \
11966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 done; \
11968 echo "Doing distclean in gawk" ; \
11969 (cd $(HOST_SUBDIR)/gawk && \
11970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11972 "RANLIB=$${RANLIB}" \
11973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11974 distclean) \
11975 || exit 1
11977 @endif gawk
11979 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11980 maybe-maintainer-clean-gawk:
11981 @if gawk
11982 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11984 maintainer-clean-gawk:
11985 @: $(MAKE); $(unstage)
11986 @[ -f ./gawk/Makefile ] || exit 0; \
11987 r=`${PWD_COMMAND}`; export r; \
11988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11989 $(HOST_EXPORTS) \
11990 for flag in $(EXTRA_HOST_FLAGS) ; do \
11991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11992 done; \
11993 echo "Doing maintainer-clean in gawk" ; \
11994 (cd $(HOST_SUBDIR)/gawk && \
11995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11997 "RANLIB=$${RANLIB}" \
11998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11999 maintainer-clean) \
12000 || exit 1
12002 @endif gawk
12006 .PHONY: configure-gettext maybe-configure-gettext
12007 maybe-configure-gettext:
12008 @if gettext
12009 maybe-configure-gettext: configure-gettext
12010 configure-gettext:
12011 @: $(MAKE); $(unstage)
12012 @r=`${PWD_COMMAND}`; export r; \
12013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12014 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12016 $(HOST_EXPORTS) \
12017 echo Configuring in $(HOST_SUBDIR)/gettext; \
12018 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12019 case $(srcdir) in \
12020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12021 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12023 esac; \
12024 srcdiroption="--srcdir=$${topdir}/gettext"; \
12025 libsrcdir="$$s/gettext"; \
12026 $(SHELL) $${libsrcdir}/configure \
12027 $(HOST_CONFIGARGS) $${srcdiroption} \
12028 || exit 1
12029 @endif gettext
12035 .PHONY: all-gettext maybe-all-gettext
12036 maybe-all-gettext:
12037 @if gettext
12038 TARGET-gettext=all
12039 maybe-all-gettext: all-gettext
12040 all-gettext: configure-gettext
12041 @: $(MAKE); $(unstage)
12042 @r=`${PWD_COMMAND}`; export r; \
12043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12044 $(HOST_EXPORTS) \
12045 (cd $(HOST_SUBDIR)/gettext && \
12046 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12047 @endif gettext
12052 .PHONY: check-gettext maybe-check-gettext
12053 maybe-check-gettext:
12054 @if gettext
12055 maybe-check-gettext: check-gettext
12057 check-gettext:
12058 @: $(MAKE); $(unstage)
12059 @r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 $(HOST_EXPORTS) \
12062 (cd $(HOST_SUBDIR)/gettext && \
12063 $(MAKE) $(FLAGS_TO_PASS) check)
12065 @endif gettext
12067 .PHONY: install-gettext maybe-install-gettext
12068 maybe-install-gettext:
12069 @if gettext
12070 maybe-install-gettext: install-gettext
12072 install-gettext: installdirs
12073 @: $(MAKE); $(unstage)
12074 @r=`${PWD_COMMAND}`; export r; \
12075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12076 $(HOST_EXPORTS) \
12077 (cd $(HOST_SUBDIR)/gettext && \
12078 $(MAKE) $(FLAGS_TO_PASS) install)
12080 @endif gettext
12082 # Other targets (info, dvi, etc.)
12084 .PHONY: maybe-info-gettext info-gettext
12085 maybe-info-gettext:
12086 @if gettext
12087 maybe-info-gettext: info-gettext
12089 info-gettext: \
12090 configure-gettext
12091 @: $(MAKE); $(unstage)
12092 @[ -f ./gettext/Makefile ] || exit 0; \
12093 r=`${PWD_COMMAND}`; export r; \
12094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12095 $(HOST_EXPORTS) \
12096 for flag in $(EXTRA_HOST_FLAGS) ; do \
12097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12098 done; \
12099 echo "Doing info in gettext" ; \
12100 (cd $(HOST_SUBDIR)/gettext && \
12101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12103 "RANLIB=$${RANLIB}" \
12104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12105 info) \
12106 || exit 1
12108 @endif gettext
12110 .PHONY: maybe-dvi-gettext dvi-gettext
12111 maybe-dvi-gettext:
12112 @if gettext
12113 maybe-dvi-gettext: dvi-gettext
12115 dvi-gettext: \
12116 configure-gettext
12117 @: $(MAKE); $(unstage)
12118 @[ -f ./gettext/Makefile ] || exit 0; \
12119 r=`${PWD_COMMAND}`; export r; \
12120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12121 $(HOST_EXPORTS) \
12122 for flag in $(EXTRA_HOST_FLAGS) ; do \
12123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12124 done; \
12125 echo "Doing dvi in gettext" ; \
12126 (cd $(HOST_SUBDIR)/gettext && \
12127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12129 "RANLIB=$${RANLIB}" \
12130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12131 dvi) \
12132 || exit 1
12134 @endif gettext
12136 .PHONY: maybe-html-gettext html-gettext
12137 maybe-html-gettext:
12138 @if gettext
12139 maybe-html-gettext: html-gettext
12141 html-gettext: \
12142 configure-gettext
12143 @: $(MAKE); $(unstage)
12144 @[ -f ./gettext/Makefile ] || exit 0; \
12145 r=`${PWD_COMMAND}`; export r; \
12146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12147 $(HOST_EXPORTS) \
12148 for flag in $(EXTRA_HOST_FLAGS) ; do \
12149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12150 done; \
12151 echo "Doing html in gettext" ; \
12152 (cd $(HOST_SUBDIR)/gettext && \
12153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12155 "RANLIB=$${RANLIB}" \
12156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12157 html) \
12158 || exit 1
12160 @endif gettext
12162 .PHONY: maybe-TAGS-gettext TAGS-gettext
12163 maybe-TAGS-gettext:
12164 @if gettext
12165 maybe-TAGS-gettext: TAGS-gettext
12167 TAGS-gettext: \
12168 configure-gettext
12169 @: $(MAKE); $(unstage)
12170 @[ -f ./gettext/Makefile ] || exit 0; \
12171 r=`${PWD_COMMAND}`; export r; \
12172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12173 $(HOST_EXPORTS) \
12174 for flag in $(EXTRA_HOST_FLAGS) ; do \
12175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12176 done; \
12177 echo "Doing TAGS in gettext" ; \
12178 (cd $(HOST_SUBDIR)/gettext && \
12179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12181 "RANLIB=$${RANLIB}" \
12182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12183 TAGS) \
12184 || exit 1
12186 @endif gettext
12188 .PHONY: maybe-install-info-gettext install-info-gettext
12189 maybe-install-info-gettext:
12190 @if gettext
12191 maybe-install-info-gettext: install-info-gettext
12193 install-info-gettext: \
12194 configure-gettext \
12195 info-gettext
12196 @: $(MAKE); $(unstage)
12197 @[ -f ./gettext/Makefile ] || exit 0; \
12198 r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200 $(HOST_EXPORTS) \
12201 for flag in $(EXTRA_HOST_FLAGS) ; do \
12202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12203 done; \
12204 echo "Doing install-info in gettext" ; \
12205 (cd $(HOST_SUBDIR)/gettext && \
12206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12208 "RANLIB=$${RANLIB}" \
12209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12210 install-info) \
12211 || exit 1
12213 @endif gettext
12215 .PHONY: maybe-installcheck-gettext installcheck-gettext
12216 maybe-installcheck-gettext:
12217 @if gettext
12218 maybe-installcheck-gettext: installcheck-gettext
12220 installcheck-gettext: \
12221 configure-gettext
12222 @: $(MAKE); $(unstage)
12223 @[ -f ./gettext/Makefile ] || exit 0; \
12224 r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226 $(HOST_EXPORTS) \
12227 for flag in $(EXTRA_HOST_FLAGS) ; do \
12228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12229 done; \
12230 echo "Doing installcheck in gettext" ; \
12231 (cd $(HOST_SUBDIR)/gettext && \
12232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12234 "RANLIB=$${RANLIB}" \
12235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12236 installcheck) \
12237 || exit 1
12239 @endif gettext
12241 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12242 maybe-mostlyclean-gettext:
12243 @if gettext
12244 maybe-mostlyclean-gettext: mostlyclean-gettext
12246 mostlyclean-gettext:
12247 @: $(MAKE); $(unstage)
12248 @[ -f ./gettext/Makefile ] || exit 0; \
12249 r=`${PWD_COMMAND}`; export r; \
12250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12251 $(HOST_EXPORTS) \
12252 for flag in $(EXTRA_HOST_FLAGS) ; do \
12253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12254 done; \
12255 echo "Doing mostlyclean in gettext" ; \
12256 (cd $(HOST_SUBDIR)/gettext && \
12257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12259 "RANLIB=$${RANLIB}" \
12260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12261 mostlyclean) \
12262 || exit 1
12264 @endif gettext
12266 .PHONY: maybe-clean-gettext clean-gettext
12267 maybe-clean-gettext:
12268 @if gettext
12269 maybe-clean-gettext: clean-gettext
12271 clean-gettext:
12272 @: $(MAKE); $(unstage)
12273 @[ -f ./gettext/Makefile ] || exit 0; \
12274 r=`${PWD_COMMAND}`; export r; \
12275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12276 $(HOST_EXPORTS) \
12277 for flag in $(EXTRA_HOST_FLAGS) ; do \
12278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12279 done; \
12280 echo "Doing clean in gettext" ; \
12281 (cd $(HOST_SUBDIR)/gettext && \
12282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12284 "RANLIB=$${RANLIB}" \
12285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12286 clean) \
12287 || exit 1
12289 @endif gettext
12291 .PHONY: maybe-distclean-gettext distclean-gettext
12292 maybe-distclean-gettext:
12293 @if gettext
12294 maybe-distclean-gettext: distclean-gettext
12296 distclean-gettext:
12297 @: $(MAKE); $(unstage)
12298 @[ -f ./gettext/Makefile ] || exit 0; \
12299 r=`${PWD_COMMAND}`; export r; \
12300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12301 $(HOST_EXPORTS) \
12302 for flag in $(EXTRA_HOST_FLAGS) ; do \
12303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12304 done; \
12305 echo "Doing distclean in gettext" ; \
12306 (cd $(HOST_SUBDIR)/gettext && \
12307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12309 "RANLIB=$${RANLIB}" \
12310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12311 distclean) \
12312 || exit 1
12314 @endif gettext
12316 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12317 maybe-maintainer-clean-gettext:
12318 @if gettext
12319 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12321 maintainer-clean-gettext:
12322 @: $(MAKE); $(unstage)
12323 @[ -f ./gettext/Makefile ] || exit 0; \
12324 r=`${PWD_COMMAND}`; export r; \
12325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12326 $(HOST_EXPORTS) \
12327 for flag in $(EXTRA_HOST_FLAGS) ; do \
12328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12329 done; \
12330 echo "Doing maintainer-clean in gettext" ; \
12331 (cd $(HOST_SUBDIR)/gettext && \
12332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12334 "RANLIB=$${RANLIB}" \
12335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12336 maintainer-clean) \
12337 || exit 1
12339 @endif gettext
12343 .PHONY: configure-gnuserv maybe-configure-gnuserv
12344 maybe-configure-gnuserv:
12345 @if gnuserv
12346 maybe-configure-gnuserv: configure-gnuserv
12347 configure-gnuserv:
12348 @: $(MAKE); $(unstage)
12349 @r=`${PWD_COMMAND}`; export r; \
12350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12351 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12353 $(HOST_EXPORTS) \
12354 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12355 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12356 case $(srcdir) in \
12357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12358 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12360 esac; \
12361 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12362 libsrcdir="$$s/gnuserv"; \
12363 $(SHELL) $${libsrcdir}/configure \
12364 $(HOST_CONFIGARGS) $${srcdiroption} \
12365 || exit 1
12366 @endif gnuserv
12372 .PHONY: all-gnuserv maybe-all-gnuserv
12373 maybe-all-gnuserv:
12374 @if gnuserv
12375 TARGET-gnuserv=all
12376 maybe-all-gnuserv: all-gnuserv
12377 all-gnuserv: configure-gnuserv
12378 @: $(MAKE); $(unstage)
12379 @r=`${PWD_COMMAND}`; export r; \
12380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12381 $(HOST_EXPORTS) \
12382 (cd $(HOST_SUBDIR)/gnuserv && \
12383 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12384 @endif gnuserv
12389 .PHONY: check-gnuserv maybe-check-gnuserv
12390 maybe-check-gnuserv:
12391 @if gnuserv
12392 maybe-check-gnuserv: check-gnuserv
12394 check-gnuserv:
12395 @: $(MAKE); $(unstage)
12396 @r=`${PWD_COMMAND}`; export r; \
12397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398 $(HOST_EXPORTS) \
12399 (cd $(HOST_SUBDIR)/gnuserv && \
12400 $(MAKE) $(FLAGS_TO_PASS) check)
12402 @endif gnuserv
12404 .PHONY: install-gnuserv maybe-install-gnuserv
12405 maybe-install-gnuserv:
12406 @if gnuserv
12407 maybe-install-gnuserv: install-gnuserv
12409 install-gnuserv: installdirs
12410 @: $(MAKE); $(unstage)
12411 @r=`${PWD_COMMAND}`; export r; \
12412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12413 $(HOST_EXPORTS) \
12414 (cd $(HOST_SUBDIR)/gnuserv && \
12415 $(MAKE) $(FLAGS_TO_PASS) install)
12417 @endif gnuserv
12419 # Other targets (info, dvi, etc.)
12421 .PHONY: maybe-info-gnuserv info-gnuserv
12422 maybe-info-gnuserv:
12423 @if gnuserv
12424 maybe-info-gnuserv: info-gnuserv
12426 info-gnuserv: \
12427 configure-gnuserv
12428 @: $(MAKE); $(unstage)
12429 @[ -f ./gnuserv/Makefile ] || exit 0; \
12430 r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 $(HOST_EXPORTS) \
12433 for flag in $(EXTRA_HOST_FLAGS) ; do \
12434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12435 done; \
12436 echo "Doing info in gnuserv" ; \
12437 (cd $(HOST_SUBDIR)/gnuserv && \
12438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12440 "RANLIB=$${RANLIB}" \
12441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12442 info) \
12443 || exit 1
12445 @endif gnuserv
12447 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12448 maybe-dvi-gnuserv:
12449 @if gnuserv
12450 maybe-dvi-gnuserv: dvi-gnuserv
12452 dvi-gnuserv: \
12453 configure-gnuserv
12454 @: $(MAKE); $(unstage)
12455 @[ -f ./gnuserv/Makefile ] || exit 0; \
12456 r=`${PWD_COMMAND}`; export r; \
12457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12458 $(HOST_EXPORTS) \
12459 for flag in $(EXTRA_HOST_FLAGS) ; do \
12460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12461 done; \
12462 echo "Doing dvi in gnuserv" ; \
12463 (cd $(HOST_SUBDIR)/gnuserv && \
12464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12466 "RANLIB=$${RANLIB}" \
12467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12468 dvi) \
12469 || exit 1
12471 @endif gnuserv
12473 .PHONY: maybe-html-gnuserv html-gnuserv
12474 maybe-html-gnuserv:
12475 @if gnuserv
12476 maybe-html-gnuserv: html-gnuserv
12478 html-gnuserv: \
12479 configure-gnuserv
12480 @: $(MAKE); $(unstage)
12481 @[ -f ./gnuserv/Makefile ] || exit 0; \
12482 r=`${PWD_COMMAND}`; export r; \
12483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12484 $(HOST_EXPORTS) \
12485 for flag in $(EXTRA_HOST_FLAGS) ; do \
12486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12487 done; \
12488 echo "Doing html in gnuserv" ; \
12489 (cd $(HOST_SUBDIR)/gnuserv && \
12490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12492 "RANLIB=$${RANLIB}" \
12493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12494 html) \
12495 || exit 1
12497 @endif gnuserv
12499 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12500 maybe-TAGS-gnuserv:
12501 @if gnuserv
12502 maybe-TAGS-gnuserv: TAGS-gnuserv
12504 TAGS-gnuserv: \
12505 configure-gnuserv
12506 @: $(MAKE); $(unstage)
12507 @[ -f ./gnuserv/Makefile ] || exit 0; \
12508 r=`${PWD_COMMAND}`; export r; \
12509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12510 $(HOST_EXPORTS) \
12511 for flag in $(EXTRA_HOST_FLAGS) ; do \
12512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12513 done; \
12514 echo "Doing TAGS in gnuserv" ; \
12515 (cd $(HOST_SUBDIR)/gnuserv && \
12516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12518 "RANLIB=$${RANLIB}" \
12519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12520 TAGS) \
12521 || exit 1
12523 @endif gnuserv
12525 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12526 maybe-install-info-gnuserv:
12527 @if gnuserv
12528 maybe-install-info-gnuserv: install-info-gnuserv
12530 install-info-gnuserv: \
12531 configure-gnuserv \
12532 info-gnuserv
12533 @: $(MAKE); $(unstage)
12534 @[ -f ./gnuserv/Makefile ] || exit 0; \
12535 r=`${PWD_COMMAND}`; export r; \
12536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12537 $(HOST_EXPORTS) \
12538 for flag in $(EXTRA_HOST_FLAGS) ; do \
12539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12540 done; \
12541 echo "Doing install-info in gnuserv" ; \
12542 (cd $(HOST_SUBDIR)/gnuserv && \
12543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12545 "RANLIB=$${RANLIB}" \
12546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12547 install-info) \
12548 || exit 1
12550 @endif gnuserv
12552 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12553 maybe-installcheck-gnuserv:
12554 @if gnuserv
12555 maybe-installcheck-gnuserv: installcheck-gnuserv
12557 installcheck-gnuserv: \
12558 configure-gnuserv
12559 @: $(MAKE); $(unstage)
12560 @[ -f ./gnuserv/Makefile ] || exit 0; \
12561 r=`${PWD_COMMAND}`; export r; \
12562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12563 $(HOST_EXPORTS) \
12564 for flag in $(EXTRA_HOST_FLAGS) ; do \
12565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12566 done; \
12567 echo "Doing installcheck in gnuserv" ; \
12568 (cd $(HOST_SUBDIR)/gnuserv && \
12569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12571 "RANLIB=$${RANLIB}" \
12572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12573 installcheck) \
12574 || exit 1
12576 @endif gnuserv
12578 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12579 maybe-mostlyclean-gnuserv:
12580 @if gnuserv
12581 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12583 mostlyclean-gnuserv:
12584 @: $(MAKE); $(unstage)
12585 @[ -f ./gnuserv/Makefile ] || exit 0; \
12586 r=`${PWD_COMMAND}`; export r; \
12587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12588 $(HOST_EXPORTS) \
12589 for flag in $(EXTRA_HOST_FLAGS) ; do \
12590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12591 done; \
12592 echo "Doing mostlyclean in gnuserv" ; \
12593 (cd $(HOST_SUBDIR)/gnuserv && \
12594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12596 "RANLIB=$${RANLIB}" \
12597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12598 mostlyclean) \
12599 || exit 1
12601 @endif gnuserv
12603 .PHONY: maybe-clean-gnuserv clean-gnuserv
12604 maybe-clean-gnuserv:
12605 @if gnuserv
12606 maybe-clean-gnuserv: clean-gnuserv
12608 clean-gnuserv:
12609 @: $(MAKE); $(unstage)
12610 @[ -f ./gnuserv/Makefile ] || exit 0; \
12611 r=`${PWD_COMMAND}`; export r; \
12612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12613 $(HOST_EXPORTS) \
12614 for flag in $(EXTRA_HOST_FLAGS) ; do \
12615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12616 done; \
12617 echo "Doing clean in gnuserv" ; \
12618 (cd $(HOST_SUBDIR)/gnuserv && \
12619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12621 "RANLIB=$${RANLIB}" \
12622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12623 clean) \
12624 || exit 1
12626 @endif gnuserv
12628 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12629 maybe-distclean-gnuserv:
12630 @if gnuserv
12631 maybe-distclean-gnuserv: distclean-gnuserv
12633 distclean-gnuserv:
12634 @: $(MAKE); $(unstage)
12635 @[ -f ./gnuserv/Makefile ] || exit 0; \
12636 r=`${PWD_COMMAND}`; export r; \
12637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12638 $(HOST_EXPORTS) \
12639 for flag in $(EXTRA_HOST_FLAGS) ; do \
12640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12641 done; \
12642 echo "Doing distclean in gnuserv" ; \
12643 (cd $(HOST_SUBDIR)/gnuserv && \
12644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12646 "RANLIB=$${RANLIB}" \
12647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12648 distclean) \
12649 || exit 1
12651 @endif gnuserv
12653 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12654 maybe-maintainer-clean-gnuserv:
12655 @if gnuserv
12656 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12658 maintainer-clean-gnuserv:
12659 @: $(MAKE); $(unstage)
12660 @[ -f ./gnuserv/Makefile ] || exit 0; \
12661 r=`${PWD_COMMAND}`; export r; \
12662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12663 $(HOST_EXPORTS) \
12664 for flag in $(EXTRA_HOST_FLAGS) ; do \
12665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12666 done; \
12667 echo "Doing maintainer-clean in gnuserv" ; \
12668 (cd $(HOST_SUBDIR)/gnuserv && \
12669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12671 "RANLIB=$${RANLIB}" \
12672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12673 maintainer-clean) \
12674 || exit 1
12676 @endif gnuserv
12680 .PHONY: configure-gprof maybe-configure-gprof
12681 maybe-configure-gprof:
12682 @if gprof
12683 maybe-configure-gprof: configure-gprof
12684 configure-gprof:
12685 @: $(MAKE); $(unstage)
12686 @r=`${PWD_COMMAND}`; export r; \
12687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12688 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12690 $(HOST_EXPORTS) \
12691 echo Configuring in $(HOST_SUBDIR)/gprof; \
12692 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12693 case $(srcdir) in \
12694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12695 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12697 esac; \
12698 srcdiroption="--srcdir=$${topdir}/gprof"; \
12699 libsrcdir="$$s/gprof"; \
12700 $(SHELL) $${libsrcdir}/configure \
12701 $(HOST_CONFIGARGS) $${srcdiroption} \
12702 || exit 1
12703 @endif gprof
12709 .PHONY: all-gprof maybe-all-gprof
12710 maybe-all-gprof:
12711 @if gprof
12712 TARGET-gprof=all
12713 maybe-all-gprof: all-gprof
12714 all-gprof: configure-gprof
12715 @: $(MAKE); $(unstage)
12716 @r=`${PWD_COMMAND}`; export r; \
12717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12718 $(HOST_EXPORTS) \
12719 (cd $(HOST_SUBDIR)/gprof && \
12720 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12721 @endif gprof
12726 .PHONY: check-gprof maybe-check-gprof
12727 maybe-check-gprof:
12728 @if gprof
12729 maybe-check-gprof: check-gprof
12731 check-gprof:
12732 @: $(MAKE); $(unstage)
12733 @r=`${PWD_COMMAND}`; export r; \
12734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12735 $(HOST_EXPORTS) \
12736 (cd $(HOST_SUBDIR)/gprof && \
12737 $(MAKE) $(FLAGS_TO_PASS) check)
12739 @endif gprof
12741 .PHONY: install-gprof maybe-install-gprof
12742 maybe-install-gprof:
12743 @if gprof
12744 maybe-install-gprof: install-gprof
12746 install-gprof: installdirs
12747 @: $(MAKE); $(unstage)
12748 @r=`${PWD_COMMAND}`; export r; \
12749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750 $(HOST_EXPORTS) \
12751 (cd $(HOST_SUBDIR)/gprof && \
12752 $(MAKE) $(FLAGS_TO_PASS) install)
12754 @endif gprof
12756 # Other targets (info, dvi, etc.)
12758 .PHONY: maybe-info-gprof info-gprof
12759 maybe-info-gprof:
12760 @if gprof
12761 maybe-info-gprof: info-gprof
12763 info-gprof: \
12764 configure-gprof
12765 @: $(MAKE); $(unstage)
12766 @[ -f ./gprof/Makefile ] || exit 0; \
12767 r=`${PWD_COMMAND}`; export r; \
12768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12769 $(HOST_EXPORTS) \
12770 for flag in $(EXTRA_HOST_FLAGS) ; do \
12771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12772 done; \
12773 echo "Doing info in gprof" ; \
12774 (cd $(HOST_SUBDIR)/gprof && \
12775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12777 "RANLIB=$${RANLIB}" \
12778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12779 info) \
12780 || exit 1
12782 @endif gprof
12784 .PHONY: maybe-dvi-gprof dvi-gprof
12785 maybe-dvi-gprof:
12786 @if gprof
12787 maybe-dvi-gprof: dvi-gprof
12789 dvi-gprof: \
12790 configure-gprof
12791 @: $(MAKE); $(unstage)
12792 @[ -f ./gprof/Makefile ] || exit 0; \
12793 r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12795 $(HOST_EXPORTS) \
12796 for flag in $(EXTRA_HOST_FLAGS) ; do \
12797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12798 done; \
12799 echo "Doing dvi in gprof" ; \
12800 (cd $(HOST_SUBDIR)/gprof && \
12801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12803 "RANLIB=$${RANLIB}" \
12804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12805 dvi) \
12806 || exit 1
12808 @endif gprof
12810 .PHONY: maybe-html-gprof html-gprof
12811 maybe-html-gprof:
12812 @if gprof
12813 maybe-html-gprof: html-gprof
12815 html-gprof: \
12816 configure-gprof
12817 @: $(MAKE); $(unstage)
12818 @[ -f ./gprof/Makefile ] || exit 0; \
12819 r=`${PWD_COMMAND}`; export r; \
12820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12821 $(HOST_EXPORTS) \
12822 for flag in $(EXTRA_HOST_FLAGS) ; do \
12823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12824 done; \
12825 echo "Doing html in gprof" ; \
12826 (cd $(HOST_SUBDIR)/gprof && \
12827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12829 "RANLIB=$${RANLIB}" \
12830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12831 html) \
12832 || exit 1
12834 @endif gprof
12836 .PHONY: maybe-TAGS-gprof TAGS-gprof
12837 maybe-TAGS-gprof:
12838 @if gprof
12839 maybe-TAGS-gprof: TAGS-gprof
12841 TAGS-gprof: \
12842 configure-gprof
12843 @: $(MAKE); $(unstage)
12844 @[ -f ./gprof/Makefile ] || exit 0; \
12845 r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12847 $(HOST_EXPORTS) \
12848 for flag in $(EXTRA_HOST_FLAGS) ; do \
12849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12850 done; \
12851 echo "Doing TAGS in gprof" ; \
12852 (cd $(HOST_SUBDIR)/gprof && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12855 "RANLIB=$${RANLIB}" \
12856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12857 TAGS) \
12858 || exit 1
12860 @endif gprof
12862 .PHONY: maybe-install-info-gprof install-info-gprof
12863 maybe-install-info-gprof:
12864 @if gprof
12865 maybe-install-info-gprof: install-info-gprof
12867 install-info-gprof: \
12868 configure-gprof \
12869 info-gprof
12870 @: $(MAKE); $(unstage)
12871 @[ -f ./gprof/Makefile ] || exit 0; \
12872 r=`${PWD_COMMAND}`; export r; \
12873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12874 $(HOST_EXPORTS) \
12875 for flag in $(EXTRA_HOST_FLAGS) ; do \
12876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12877 done; \
12878 echo "Doing install-info in gprof" ; \
12879 (cd $(HOST_SUBDIR)/gprof && \
12880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12882 "RANLIB=$${RANLIB}" \
12883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12884 install-info) \
12885 || exit 1
12887 @endif gprof
12889 .PHONY: maybe-installcheck-gprof installcheck-gprof
12890 maybe-installcheck-gprof:
12891 @if gprof
12892 maybe-installcheck-gprof: installcheck-gprof
12894 installcheck-gprof: \
12895 configure-gprof
12896 @: $(MAKE); $(unstage)
12897 @[ -f ./gprof/Makefile ] || exit 0; \
12898 r=`${PWD_COMMAND}`; export r; \
12899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12900 $(HOST_EXPORTS) \
12901 for flag in $(EXTRA_HOST_FLAGS) ; do \
12902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12903 done; \
12904 echo "Doing installcheck in gprof" ; \
12905 (cd $(HOST_SUBDIR)/gprof && \
12906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12908 "RANLIB=$${RANLIB}" \
12909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12910 installcheck) \
12911 || exit 1
12913 @endif gprof
12915 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12916 maybe-mostlyclean-gprof:
12917 @if gprof
12918 maybe-mostlyclean-gprof: mostlyclean-gprof
12920 mostlyclean-gprof:
12921 @: $(MAKE); $(unstage)
12922 @[ -f ./gprof/Makefile ] || exit 0; \
12923 r=`${PWD_COMMAND}`; export r; \
12924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925 $(HOST_EXPORTS) \
12926 for flag in $(EXTRA_HOST_FLAGS) ; do \
12927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12928 done; \
12929 echo "Doing mostlyclean in gprof" ; \
12930 (cd $(HOST_SUBDIR)/gprof && \
12931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12933 "RANLIB=$${RANLIB}" \
12934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12935 mostlyclean) \
12936 || exit 1
12938 @endif gprof
12940 .PHONY: maybe-clean-gprof clean-gprof
12941 maybe-clean-gprof:
12942 @if gprof
12943 maybe-clean-gprof: clean-gprof
12945 clean-gprof:
12946 @: $(MAKE); $(unstage)
12947 @[ -f ./gprof/Makefile ] || exit 0; \
12948 r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950 $(HOST_EXPORTS) \
12951 for flag in $(EXTRA_HOST_FLAGS) ; do \
12952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12953 done; \
12954 echo "Doing clean in gprof" ; \
12955 (cd $(HOST_SUBDIR)/gprof && \
12956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12958 "RANLIB=$${RANLIB}" \
12959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12960 clean) \
12961 || exit 1
12963 @endif gprof
12965 .PHONY: maybe-distclean-gprof distclean-gprof
12966 maybe-distclean-gprof:
12967 @if gprof
12968 maybe-distclean-gprof: distclean-gprof
12970 distclean-gprof:
12971 @: $(MAKE); $(unstage)
12972 @[ -f ./gprof/Makefile ] || exit 0; \
12973 r=`${PWD_COMMAND}`; export r; \
12974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12975 $(HOST_EXPORTS) \
12976 for flag in $(EXTRA_HOST_FLAGS) ; do \
12977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12978 done; \
12979 echo "Doing distclean in gprof" ; \
12980 (cd $(HOST_SUBDIR)/gprof && \
12981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12983 "RANLIB=$${RANLIB}" \
12984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12985 distclean) \
12986 || exit 1
12988 @endif gprof
12990 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12991 maybe-maintainer-clean-gprof:
12992 @if gprof
12993 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12995 maintainer-clean-gprof:
12996 @: $(MAKE); $(unstage)
12997 @[ -f ./gprof/Makefile ] || exit 0; \
12998 r=`${PWD_COMMAND}`; export r; \
12999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13000 $(HOST_EXPORTS) \
13001 for flag in $(EXTRA_HOST_FLAGS) ; do \
13002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13003 done; \
13004 echo "Doing maintainer-clean in gprof" ; \
13005 (cd $(HOST_SUBDIR)/gprof && \
13006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13008 "RANLIB=$${RANLIB}" \
13009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13010 maintainer-clean) \
13011 || exit 1
13013 @endif gprof
13017 .PHONY: configure-gzip maybe-configure-gzip
13018 maybe-configure-gzip:
13019 @if gzip
13020 maybe-configure-gzip: configure-gzip
13021 configure-gzip:
13022 @: $(MAKE); $(unstage)
13023 @r=`${PWD_COMMAND}`; export r; \
13024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13025 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13027 $(HOST_EXPORTS) \
13028 echo Configuring in $(HOST_SUBDIR)/gzip; \
13029 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13030 case $(srcdir) in \
13031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13032 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13034 esac; \
13035 srcdiroption="--srcdir=$${topdir}/gzip"; \
13036 libsrcdir="$$s/gzip"; \
13037 $(SHELL) $${libsrcdir}/configure \
13038 $(HOST_CONFIGARGS) $${srcdiroption} \
13039 || exit 1
13040 @endif gzip
13046 .PHONY: all-gzip maybe-all-gzip
13047 maybe-all-gzip:
13048 @if gzip
13049 TARGET-gzip=all
13050 maybe-all-gzip: all-gzip
13051 all-gzip: configure-gzip
13052 @: $(MAKE); $(unstage)
13053 @r=`${PWD_COMMAND}`; export r; \
13054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13055 $(HOST_EXPORTS) \
13056 (cd $(HOST_SUBDIR)/gzip && \
13057 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13058 @endif gzip
13063 .PHONY: check-gzip maybe-check-gzip
13064 maybe-check-gzip:
13065 @if gzip
13066 maybe-check-gzip: check-gzip
13068 check-gzip:
13069 @: $(MAKE); $(unstage)
13070 @r=`${PWD_COMMAND}`; export r; \
13071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13072 $(HOST_EXPORTS) \
13073 (cd $(HOST_SUBDIR)/gzip && \
13074 $(MAKE) $(FLAGS_TO_PASS) check)
13076 @endif gzip
13078 .PHONY: install-gzip maybe-install-gzip
13079 maybe-install-gzip:
13080 @if gzip
13081 maybe-install-gzip: install-gzip
13083 install-gzip: installdirs
13084 @: $(MAKE); $(unstage)
13085 @r=`${PWD_COMMAND}`; export r; \
13086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13087 $(HOST_EXPORTS) \
13088 (cd $(HOST_SUBDIR)/gzip && \
13089 $(MAKE) $(FLAGS_TO_PASS) install)
13091 @endif gzip
13093 # Other targets (info, dvi, etc.)
13095 .PHONY: maybe-info-gzip info-gzip
13096 maybe-info-gzip:
13097 @if gzip
13098 maybe-info-gzip: info-gzip
13100 info-gzip: \
13101 configure-gzip
13102 @: $(MAKE); $(unstage)
13103 @[ -f ./gzip/Makefile ] || exit 0; \
13104 r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 $(HOST_EXPORTS) \
13107 for flag in $(EXTRA_HOST_FLAGS) ; do \
13108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13109 done; \
13110 echo "Doing info in gzip" ; \
13111 (cd $(HOST_SUBDIR)/gzip && \
13112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13114 "RANLIB=$${RANLIB}" \
13115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13116 info) \
13117 || exit 1
13119 @endif gzip
13121 .PHONY: maybe-dvi-gzip dvi-gzip
13122 maybe-dvi-gzip:
13123 @if gzip
13124 maybe-dvi-gzip: dvi-gzip
13126 dvi-gzip: \
13127 configure-gzip
13128 @: $(MAKE); $(unstage)
13129 @[ -f ./gzip/Makefile ] || exit 0; \
13130 r=`${PWD_COMMAND}`; export r; \
13131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13132 $(HOST_EXPORTS) \
13133 for flag in $(EXTRA_HOST_FLAGS) ; do \
13134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13135 done; \
13136 echo "Doing dvi in gzip" ; \
13137 (cd $(HOST_SUBDIR)/gzip && \
13138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13140 "RANLIB=$${RANLIB}" \
13141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13142 dvi) \
13143 || exit 1
13145 @endif gzip
13147 .PHONY: maybe-html-gzip html-gzip
13148 maybe-html-gzip:
13149 @if gzip
13150 maybe-html-gzip: html-gzip
13152 html-gzip: \
13153 configure-gzip
13154 @: $(MAKE); $(unstage)
13155 @[ -f ./gzip/Makefile ] || exit 0; \
13156 r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 $(HOST_EXPORTS) \
13159 for flag in $(EXTRA_HOST_FLAGS) ; do \
13160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13161 done; \
13162 echo "Doing html in gzip" ; \
13163 (cd $(HOST_SUBDIR)/gzip && \
13164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13166 "RANLIB=$${RANLIB}" \
13167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13168 html) \
13169 || exit 1
13171 @endif gzip
13173 .PHONY: maybe-TAGS-gzip TAGS-gzip
13174 maybe-TAGS-gzip:
13175 @if gzip
13176 maybe-TAGS-gzip: TAGS-gzip
13178 TAGS-gzip: \
13179 configure-gzip
13180 @: $(MAKE); $(unstage)
13181 @[ -f ./gzip/Makefile ] || exit 0; \
13182 r=`${PWD_COMMAND}`; export r; \
13183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13184 $(HOST_EXPORTS) \
13185 for flag in $(EXTRA_HOST_FLAGS) ; do \
13186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13187 done; \
13188 echo "Doing TAGS in gzip" ; \
13189 (cd $(HOST_SUBDIR)/gzip && \
13190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13192 "RANLIB=$${RANLIB}" \
13193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13194 TAGS) \
13195 || exit 1
13197 @endif gzip
13199 .PHONY: maybe-install-info-gzip install-info-gzip
13200 maybe-install-info-gzip:
13201 @if gzip
13202 maybe-install-info-gzip: install-info-gzip
13204 install-info-gzip: \
13205 configure-gzip \
13206 info-gzip
13207 @: $(MAKE); $(unstage)
13208 @[ -f ./gzip/Makefile ] || exit 0; \
13209 r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 $(HOST_EXPORTS) \
13212 for flag in $(EXTRA_HOST_FLAGS) ; do \
13213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13214 done; \
13215 echo "Doing install-info in gzip" ; \
13216 (cd $(HOST_SUBDIR)/gzip && \
13217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13219 "RANLIB=$${RANLIB}" \
13220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13221 install-info) \
13222 || exit 1
13224 @endif gzip
13226 .PHONY: maybe-installcheck-gzip installcheck-gzip
13227 maybe-installcheck-gzip:
13228 @if gzip
13229 maybe-installcheck-gzip: installcheck-gzip
13231 installcheck-gzip: \
13232 configure-gzip
13233 @: $(MAKE); $(unstage)
13234 @[ -f ./gzip/Makefile ] || exit 0; \
13235 r=`${PWD_COMMAND}`; export r; \
13236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13237 $(HOST_EXPORTS) \
13238 for flag in $(EXTRA_HOST_FLAGS) ; do \
13239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13240 done; \
13241 echo "Doing installcheck in gzip" ; \
13242 (cd $(HOST_SUBDIR)/gzip && \
13243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13245 "RANLIB=$${RANLIB}" \
13246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13247 installcheck) \
13248 || exit 1
13250 @endif gzip
13252 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13253 maybe-mostlyclean-gzip:
13254 @if gzip
13255 maybe-mostlyclean-gzip: mostlyclean-gzip
13257 mostlyclean-gzip:
13258 @: $(MAKE); $(unstage)
13259 @[ -f ./gzip/Makefile ] || exit 0; \
13260 r=`${PWD_COMMAND}`; export r; \
13261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13262 $(HOST_EXPORTS) \
13263 for flag in $(EXTRA_HOST_FLAGS) ; do \
13264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13265 done; \
13266 echo "Doing mostlyclean in gzip" ; \
13267 (cd $(HOST_SUBDIR)/gzip && \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13270 "RANLIB=$${RANLIB}" \
13271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13272 mostlyclean) \
13273 || exit 1
13275 @endif gzip
13277 .PHONY: maybe-clean-gzip clean-gzip
13278 maybe-clean-gzip:
13279 @if gzip
13280 maybe-clean-gzip: clean-gzip
13282 clean-gzip:
13283 @: $(MAKE); $(unstage)
13284 @[ -f ./gzip/Makefile ] || exit 0; \
13285 r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 $(HOST_EXPORTS) \
13288 for flag in $(EXTRA_HOST_FLAGS) ; do \
13289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13290 done; \
13291 echo "Doing clean in gzip" ; \
13292 (cd $(HOST_SUBDIR)/gzip && \
13293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13295 "RANLIB=$${RANLIB}" \
13296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13297 clean) \
13298 || exit 1
13300 @endif gzip
13302 .PHONY: maybe-distclean-gzip distclean-gzip
13303 maybe-distclean-gzip:
13304 @if gzip
13305 maybe-distclean-gzip: distclean-gzip
13307 distclean-gzip:
13308 @: $(MAKE); $(unstage)
13309 @[ -f ./gzip/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(HOST_EXPORTS) \
13313 for flag in $(EXTRA_HOST_FLAGS) ; do \
13314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13315 done; \
13316 echo "Doing distclean in gzip" ; \
13317 (cd $(HOST_SUBDIR)/gzip && \
13318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13320 "RANLIB=$${RANLIB}" \
13321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13322 distclean) \
13323 || exit 1
13325 @endif gzip
13327 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13328 maybe-maintainer-clean-gzip:
13329 @if gzip
13330 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13332 maintainer-clean-gzip:
13333 @: $(MAKE); $(unstage)
13334 @[ -f ./gzip/Makefile ] || exit 0; \
13335 r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(HOST_EXPORTS) \
13338 for flag in $(EXTRA_HOST_FLAGS) ; do \
13339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13340 done; \
13341 echo "Doing maintainer-clean in gzip" ; \
13342 (cd $(HOST_SUBDIR)/gzip && \
13343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13345 "RANLIB=$${RANLIB}" \
13346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13347 maintainer-clean) \
13348 || exit 1
13350 @endif gzip
13354 .PHONY: configure-hello maybe-configure-hello
13355 maybe-configure-hello:
13356 @if hello
13357 maybe-configure-hello: configure-hello
13358 configure-hello:
13359 @: $(MAKE); $(unstage)
13360 @r=`${PWD_COMMAND}`; export r; \
13361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13362 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13364 $(HOST_EXPORTS) \
13365 echo Configuring in $(HOST_SUBDIR)/hello; \
13366 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13367 case $(srcdir) in \
13368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13369 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13371 esac; \
13372 srcdiroption="--srcdir=$${topdir}/hello"; \
13373 libsrcdir="$$s/hello"; \
13374 $(SHELL) $${libsrcdir}/configure \
13375 $(HOST_CONFIGARGS) $${srcdiroption} \
13376 || exit 1
13377 @endif hello
13383 .PHONY: all-hello maybe-all-hello
13384 maybe-all-hello:
13385 @if hello
13386 TARGET-hello=all
13387 maybe-all-hello: all-hello
13388 all-hello: configure-hello
13389 @: $(MAKE); $(unstage)
13390 @r=`${PWD_COMMAND}`; export r; \
13391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13392 $(HOST_EXPORTS) \
13393 (cd $(HOST_SUBDIR)/hello && \
13394 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13395 @endif hello
13400 .PHONY: check-hello maybe-check-hello
13401 maybe-check-hello:
13402 @if hello
13403 maybe-check-hello: check-hello
13405 check-hello:
13406 @: $(MAKE); $(unstage)
13407 @r=`${PWD_COMMAND}`; export r; \
13408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13409 $(HOST_EXPORTS) \
13410 (cd $(HOST_SUBDIR)/hello && \
13411 $(MAKE) $(FLAGS_TO_PASS) check)
13413 @endif hello
13415 .PHONY: install-hello maybe-install-hello
13416 maybe-install-hello:
13417 @if hello
13418 maybe-install-hello: install-hello
13420 install-hello: installdirs
13421 @: $(MAKE); $(unstage)
13422 @r=`${PWD_COMMAND}`; export r; \
13423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13424 $(HOST_EXPORTS) \
13425 (cd $(HOST_SUBDIR)/hello && \
13426 $(MAKE) $(FLAGS_TO_PASS) install)
13428 @endif hello
13430 # Other targets (info, dvi, etc.)
13432 .PHONY: maybe-info-hello info-hello
13433 maybe-info-hello:
13434 @if hello
13435 maybe-info-hello: info-hello
13437 info-hello: \
13438 configure-hello
13439 @: $(MAKE); $(unstage)
13440 @[ -f ./hello/Makefile ] || exit 0; \
13441 r=`${PWD_COMMAND}`; export r; \
13442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 $(HOST_EXPORTS) \
13444 for flag in $(EXTRA_HOST_FLAGS) ; do \
13445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13446 done; \
13447 echo "Doing info in hello" ; \
13448 (cd $(HOST_SUBDIR)/hello && \
13449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13451 "RANLIB=$${RANLIB}" \
13452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13453 info) \
13454 || exit 1
13456 @endif hello
13458 .PHONY: maybe-dvi-hello dvi-hello
13459 maybe-dvi-hello:
13460 @if hello
13461 maybe-dvi-hello: dvi-hello
13463 dvi-hello: \
13464 configure-hello
13465 @: $(MAKE); $(unstage)
13466 @[ -f ./hello/Makefile ] || exit 0; \
13467 r=`${PWD_COMMAND}`; export r; \
13468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13469 $(HOST_EXPORTS) \
13470 for flag in $(EXTRA_HOST_FLAGS) ; do \
13471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13472 done; \
13473 echo "Doing dvi in hello" ; \
13474 (cd $(HOST_SUBDIR)/hello && \
13475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13477 "RANLIB=$${RANLIB}" \
13478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13479 dvi) \
13480 || exit 1
13482 @endif hello
13484 .PHONY: maybe-html-hello html-hello
13485 maybe-html-hello:
13486 @if hello
13487 maybe-html-hello: html-hello
13489 html-hello: \
13490 configure-hello
13491 @: $(MAKE); $(unstage)
13492 @[ -f ./hello/Makefile ] || exit 0; \
13493 r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 $(HOST_EXPORTS) \
13496 for flag in $(EXTRA_HOST_FLAGS) ; do \
13497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13498 done; \
13499 echo "Doing html in hello" ; \
13500 (cd $(HOST_SUBDIR)/hello && \
13501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13503 "RANLIB=$${RANLIB}" \
13504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13505 html) \
13506 || exit 1
13508 @endif hello
13510 .PHONY: maybe-TAGS-hello TAGS-hello
13511 maybe-TAGS-hello:
13512 @if hello
13513 maybe-TAGS-hello: TAGS-hello
13515 TAGS-hello: \
13516 configure-hello
13517 @: $(MAKE); $(unstage)
13518 @[ -f ./hello/Makefile ] || exit 0; \
13519 r=`${PWD_COMMAND}`; export r; \
13520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13521 $(HOST_EXPORTS) \
13522 for flag in $(EXTRA_HOST_FLAGS) ; do \
13523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13524 done; \
13525 echo "Doing TAGS in hello" ; \
13526 (cd $(HOST_SUBDIR)/hello && \
13527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13529 "RANLIB=$${RANLIB}" \
13530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13531 TAGS) \
13532 || exit 1
13534 @endif hello
13536 .PHONY: maybe-install-info-hello install-info-hello
13537 maybe-install-info-hello:
13538 @if hello
13539 maybe-install-info-hello: install-info-hello
13541 install-info-hello: \
13542 configure-hello \
13543 info-hello
13544 @: $(MAKE); $(unstage)
13545 @[ -f ./hello/Makefile ] || exit 0; \
13546 r=`${PWD_COMMAND}`; export r; \
13547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13548 $(HOST_EXPORTS) \
13549 for flag in $(EXTRA_HOST_FLAGS) ; do \
13550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13551 done; \
13552 echo "Doing install-info in hello" ; \
13553 (cd $(HOST_SUBDIR)/hello && \
13554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13556 "RANLIB=$${RANLIB}" \
13557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13558 install-info) \
13559 || exit 1
13561 @endif hello
13563 .PHONY: maybe-installcheck-hello installcheck-hello
13564 maybe-installcheck-hello:
13565 @if hello
13566 maybe-installcheck-hello: installcheck-hello
13568 installcheck-hello: \
13569 configure-hello
13570 @: $(MAKE); $(unstage)
13571 @[ -f ./hello/Makefile ] || exit 0; \
13572 r=`${PWD_COMMAND}`; export r; \
13573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13574 $(HOST_EXPORTS) \
13575 for flag in $(EXTRA_HOST_FLAGS) ; do \
13576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13577 done; \
13578 echo "Doing installcheck in hello" ; \
13579 (cd $(HOST_SUBDIR)/hello && \
13580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13582 "RANLIB=$${RANLIB}" \
13583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13584 installcheck) \
13585 || exit 1
13587 @endif hello
13589 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13590 maybe-mostlyclean-hello:
13591 @if hello
13592 maybe-mostlyclean-hello: mostlyclean-hello
13594 mostlyclean-hello:
13595 @: $(MAKE); $(unstage)
13596 @[ -f ./hello/Makefile ] || exit 0; \
13597 r=`${PWD_COMMAND}`; export r; \
13598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13599 $(HOST_EXPORTS) \
13600 for flag in $(EXTRA_HOST_FLAGS) ; do \
13601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13602 done; \
13603 echo "Doing mostlyclean in hello" ; \
13604 (cd $(HOST_SUBDIR)/hello && \
13605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13607 "RANLIB=$${RANLIB}" \
13608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13609 mostlyclean) \
13610 || exit 1
13612 @endif hello
13614 .PHONY: maybe-clean-hello clean-hello
13615 maybe-clean-hello:
13616 @if hello
13617 maybe-clean-hello: clean-hello
13619 clean-hello:
13620 @: $(MAKE); $(unstage)
13621 @[ -f ./hello/Makefile ] || exit 0; \
13622 r=`${PWD_COMMAND}`; export r; \
13623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13624 $(HOST_EXPORTS) \
13625 for flag in $(EXTRA_HOST_FLAGS) ; do \
13626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13627 done; \
13628 echo "Doing clean in hello" ; \
13629 (cd $(HOST_SUBDIR)/hello && \
13630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13632 "RANLIB=$${RANLIB}" \
13633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13634 clean) \
13635 || exit 1
13637 @endif hello
13639 .PHONY: maybe-distclean-hello distclean-hello
13640 maybe-distclean-hello:
13641 @if hello
13642 maybe-distclean-hello: distclean-hello
13644 distclean-hello:
13645 @: $(MAKE); $(unstage)
13646 @[ -f ./hello/Makefile ] || exit 0; \
13647 r=`${PWD_COMMAND}`; export r; \
13648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13649 $(HOST_EXPORTS) \
13650 for flag in $(EXTRA_HOST_FLAGS) ; do \
13651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13652 done; \
13653 echo "Doing distclean in hello" ; \
13654 (cd $(HOST_SUBDIR)/hello && \
13655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13657 "RANLIB=$${RANLIB}" \
13658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13659 distclean) \
13660 || exit 1
13662 @endif hello
13664 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13665 maybe-maintainer-clean-hello:
13666 @if hello
13667 maybe-maintainer-clean-hello: maintainer-clean-hello
13669 maintainer-clean-hello:
13670 @: $(MAKE); $(unstage)
13671 @[ -f ./hello/Makefile ] || exit 0; \
13672 r=`${PWD_COMMAND}`; export r; \
13673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13674 $(HOST_EXPORTS) \
13675 for flag in $(EXTRA_HOST_FLAGS) ; do \
13676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13677 done; \
13678 echo "Doing maintainer-clean in hello" ; \
13679 (cd $(HOST_SUBDIR)/hello && \
13680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13682 "RANLIB=$${RANLIB}" \
13683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13684 maintainer-clean) \
13685 || exit 1
13687 @endif hello
13691 .PHONY: configure-indent maybe-configure-indent
13692 maybe-configure-indent:
13693 @if indent
13694 maybe-configure-indent: configure-indent
13695 configure-indent:
13696 @: $(MAKE); $(unstage)
13697 @r=`${PWD_COMMAND}`; export r; \
13698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13699 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13701 $(HOST_EXPORTS) \
13702 echo Configuring in $(HOST_SUBDIR)/indent; \
13703 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13704 case $(srcdir) in \
13705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13706 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13708 esac; \
13709 srcdiroption="--srcdir=$${topdir}/indent"; \
13710 libsrcdir="$$s/indent"; \
13711 $(SHELL) $${libsrcdir}/configure \
13712 $(HOST_CONFIGARGS) $${srcdiroption} \
13713 || exit 1
13714 @endif indent
13720 .PHONY: all-indent maybe-all-indent
13721 maybe-all-indent:
13722 @if indent
13723 TARGET-indent=all
13724 maybe-all-indent: all-indent
13725 all-indent: configure-indent
13726 @: $(MAKE); $(unstage)
13727 @r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 $(HOST_EXPORTS) \
13730 (cd $(HOST_SUBDIR)/indent && \
13731 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13732 @endif indent
13737 .PHONY: check-indent maybe-check-indent
13738 maybe-check-indent:
13739 @if indent
13740 maybe-check-indent: check-indent
13742 check-indent:
13743 @: $(MAKE); $(unstage)
13744 @r=`${PWD_COMMAND}`; export r; \
13745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13746 $(HOST_EXPORTS) \
13747 (cd $(HOST_SUBDIR)/indent && \
13748 $(MAKE) $(FLAGS_TO_PASS) check)
13750 @endif indent
13752 .PHONY: install-indent maybe-install-indent
13753 maybe-install-indent:
13754 @if indent
13755 maybe-install-indent: install-indent
13757 install-indent: installdirs
13758 @: $(MAKE); $(unstage)
13759 @r=`${PWD_COMMAND}`; export r; \
13760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13761 $(HOST_EXPORTS) \
13762 (cd $(HOST_SUBDIR)/indent && \
13763 $(MAKE) $(FLAGS_TO_PASS) install)
13765 @endif indent
13767 # Other targets (info, dvi, etc.)
13769 .PHONY: maybe-info-indent info-indent
13770 maybe-info-indent:
13771 @if indent
13772 maybe-info-indent: info-indent
13774 info-indent: \
13775 configure-indent
13776 @: $(MAKE); $(unstage)
13777 @[ -f ./indent/Makefile ] || exit 0; \
13778 r=`${PWD_COMMAND}`; export r; \
13779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13780 $(HOST_EXPORTS) \
13781 for flag in $(EXTRA_HOST_FLAGS) ; do \
13782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13783 done; \
13784 echo "Doing info in indent" ; \
13785 (cd $(HOST_SUBDIR)/indent && \
13786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13788 "RANLIB=$${RANLIB}" \
13789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13790 info) \
13791 || exit 1
13793 @endif indent
13795 .PHONY: maybe-dvi-indent dvi-indent
13796 maybe-dvi-indent:
13797 @if indent
13798 maybe-dvi-indent: dvi-indent
13800 dvi-indent: \
13801 configure-indent
13802 @: $(MAKE); $(unstage)
13803 @[ -f ./indent/Makefile ] || exit 0; \
13804 r=`${PWD_COMMAND}`; export r; \
13805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13806 $(HOST_EXPORTS) \
13807 for flag in $(EXTRA_HOST_FLAGS) ; do \
13808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13809 done; \
13810 echo "Doing dvi in indent" ; \
13811 (cd $(HOST_SUBDIR)/indent && \
13812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13814 "RANLIB=$${RANLIB}" \
13815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13816 dvi) \
13817 || exit 1
13819 @endif indent
13821 .PHONY: maybe-html-indent html-indent
13822 maybe-html-indent:
13823 @if indent
13824 maybe-html-indent: html-indent
13826 html-indent: \
13827 configure-indent
13828 @: $(MAKE); $(unstage)
13829 @[ -f ./indent/Makefile ] || exit 0; \
13830 r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 for flag in $(EXTRA_HOST_FLAGS) ; do \
13834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835 done; \
13836 echo "Doing html in indent" ; \
13837 (cd $(HOST_SUBDIR)/indent && \
13838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13840 "RANLIB=$${RANLIB}" \
13841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13842 html) \
13843 || exit 1
13845 @endif indent
13847 .PHONY: maybe-TAGS-indent TAGS-indent
13848 maybe-TAGS-indent:
13849 @if indent
13850 maybe-TAGS-indent: TAGS-indent
13852 TAGS-indent: \
13853 configure-indent
13854 @: $(MAKE); $(unstage)
13855 @[ -f ./indent/Makefile ] || exit 0; \
13856 r=`${PWD_COMMAND}`; export r; \
13857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13858 $(HOST_EXPORTS) \
13859 for flag in $(EXTRA_HOST_FLAGS) ; do \
13860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13861 done; \
13862 echo "Doing TAGS in indent" ; \
13863 (cd $(HOST_SUBDIR)/indent && \
13864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13866 "RANLIB=$${RANLIB}" \
13867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13868 TAGS) \
13869 || exit 1
13871 @endif indent
13873 .PHONY: maybe-install-info-indent install-info-indent
13874 maybe-install-info-indent:
13875 @if indent
13876 maybe-install-info-indent: install-info-indent
13878 install-info-indent: \
13879 configure-indent \
13880 info-indent
13881 @: $(MAKE); $(unstage)
13882 @[ -f ./indent/Makefile ] || exit 0; \
13883 r=`${PWD_COMMAND}`; export r; \
13884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13885 $(HOST_EXPORTS) \
13886 for flag in $(EXTRA_HOST_FLAGS) ; do \
13887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13888 done; \
13889 echo "Doing install-info in indent" ; \
13890 (cd $(HOST_SUBDIR)/indent && \
13891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13893 "RANLIB=$${RANLIB}" \
13894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13895 install-info) \
13896 || exit 1
13898 @endif indent
13900 .PHONY: maybe-installcheck-indent installcheck-indent
13901 maybe-installcheck-indent:
13902 @if indent
13903 maybe-installcheck-indent: installcheck-indent
13905 installcheck-indent: \
13906 configure-indent
13907 @: $(MAKE); $(unstage)
13908 @[ -f ./indent/Makefile ] || exit 0; \
13909 r=`${PWD_COMMAND}`; export r; \
13910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13911 $(HOST_EXPORTS) \
13912 for flag in $(EXTRA_HOST_FLAGS) ; do \
13913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13914 done; \
13915 echo "Doing installcheck in indent" ; \
13916 (cd $(HOST_SUBDIR)/indent && \
13917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13919 "RANLIB=$${RANLIB}" \
13920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921 installcheck) \
13922 || exit 1
13924 @endif indent
13926 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13927 maybe-mostlyclean-indent:
13928 @if indent
13929 maybe-mostlyclean-indent: mostlyclean-indent
13931 mostlyclean-indent:
13932 @: $(MAKE); $(unstage)
13933 @[ -f ./indent/Makefile ] || exit 0; \
13934 r=`${PWD_COMMAND}`; export r; \
13935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13936 $(HOST_EXPORTS) \
13937 for flag in $(EXTRA_HOST_FLAGS) ; do \
13938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13939 done; \
13940 echo "Doing mostlyclean in indent" ; \
13941 (cd $(HOST_SUBDIR)/indent && \
13942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13944 "RANLIB=$${RANLIB}" \
13945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13946 mostlyclean) \
13947 || exit 1
13949 @endif indent
13951 .PHONY: maybe-clean-indent clean-indent
13952 maybe-clean-indent:
13953 @if indent
13954 maybe-clean-indent: clean-indent
13956 clean-indent:
13957 @: $(MAKE); $(unstage)
13958 @[ -f ./indent/Makefile ] || exit 0; \
13959 r=`${PWD_COMMAND}`; export r; \
13960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13961 $(HOST_EXPORTS) \
13962 for flag in $(EXTRA_HOST_FLAGS) ; do \
13963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13964 done; \
13965 echo "Doing clean in indent" ; \
13966 (cd $(HOST_SUBDIR)/indent && \
13967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13969 "RANLIB=$${RANLIB}" \
13970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13971 clean) \
13972 || exit 1
13974 @endif indent
13976 .PHONY: maybe-distclean-indent distclean-indent
13977 maybe-distclean-indent:
13978 @if indent
13979 maybe-distclean-indent: distclean-indent
13981 distclean-indent:
13982 @: $(MAKE); $(unstage)
13983 @[ -f ./indent/Makefile ] || exit 0; \
13984 r=`${PWD_COMMAND}`; export r; \
13985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13986 $(HOST_EXPORTS) \
13987 for flag in $(EXTRA_HOST_FLAGS) ; do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13989 done; \
13990 echo "Doing distclean in indent" ; \
13991 (cd $(HOST_SUBDIR)/indent && \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13996 distclean) \
13997 || exit 1
13999 @endif indent
14001 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14002 maybe-maintainer-clean-indent:
14003 @if indent
14004 maybe-maintainer-clean-indent: maintainer-clean-indent
14006 maintainer-clean-indent:
14007 @: $(MAKE); $(unstage)
14008 @[ -f ./indent/Makefile ] || exit 0; \
14009 r=`${PWD_COMMAND}`; export r; \
14010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 $(HOST_EXPORTS) \
14012 for flag in $(EXTRA_HOST_FLAGS) ; do \
14013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014 done; \
14015 echo "Doing maintainer-clean in indent" ; \
14016 (cd $(HOST_SUBDIR)/indent && \
14017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019 "RANLIB=$${RANLIB}" \
14020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14021 maintainer-clean) \
14022 || exit 1
14024 @endif indent
14028 .PHONY: configure-intl maybe-configure-intl
14029 maybe-configure-intl:
14030 @if intl
14031 maybe-configure-intl: configure-intl
14032 configure-intl:
14033 @endif intl
14034 @if intl-bootstrap
14035 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14036 @endif intl-bootstrap
14037 @if intl
14038 @r=`${PWD_COMMAND}`; export r; \
14039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14040 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14042 $(HOST_EXPORTS) \
14043 echo Configuring in $(HOST_SUBDIR)/intl; \
14044 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14045 case $(srcdir) in \
14046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14047 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14049 esac; \
14050 srcdiroption="--srcdir=$${topdir}/intl"; \
14051 libsrcdir="$$s/intl"; \
14052 $(SHELL) $${libsrcdir}/configure \
14053 $(HOST_CONFIGARGS) $${srcdiroption} \
14054 || exit 1
14055 @endif intl
14059 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14060 maybe-configure-stage1-intl:
14061 @if intl-bootstrap
14062 maybe-configure-stage1-intl: configure-stage1-intl
14063 configure-stage1-intl:
14064 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14066 @r=`${PWD_COMMAND}`; export r; \
14067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14068 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14069 $(HOST_EXPORTS) \
14070 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14072 cd $(HOST_SUBDIR)/intl || exit 1; \
14073 case $(srcdir) in \
14074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14075 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14077 esac; \
14078 srcdiroption="--srcdir=$${topdir}/intl"; \
14079 libsrcdir="$$s/intl"; \
14080 $(SHELL) $${libsrcdir}/configure \
14081 $(HOST_CONFIGARGS) $${srcdiroption} \
14082 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14083 @endif intl-bootstrap
14085 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14086 maybe-configure-stage2-intl:
14087 @if intl-bootstrap
14088 maybe-configure-stage2-intl: configure-stage2-intl
14089 configure-stage2-intl:
14090 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14092 @r=`${PWD_COMMAND}`; export r; \
14093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14094 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14095 $(HOST_EXPORTS) \
14096 $(POSTSTAGE1_HOST_EXPORTS) \
14097 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14099 cd $(HOST_SUBDIR)/intl || exit 1; \
14100 case $(srcdir) in \
14101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14102 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14104 esac; \
14105 srcdiroption="--srcdir=$${topdir}/intl"; \
14106 libsrcdir="$$s/intl"; \
14107 $(SHELL) $${libsrcdir}/configure \
14108 $(HOST_CONFIGARGS) $${srcdiroption} \
14109 @stage2_werror_flag@
14110 @endif intl-bootstrap
14112 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14113 maybe-configure-stage3-intl:
14114 @if intl-bootstrap
14115 maybe-configure-stage3-intl: configure-stage3-intl
14116 configure-stage3-intl:
14117 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14119 @r=`${PWD_COMMAND}`; export r; \
14120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14121 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14122 $(HOST_EXPORTS) \
14123 $(POSTSTAGE1_HOST_EXPORTS) \
14124 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14126 cd $(HOST_SUBDIR)/intl || exit 1; \
14127 case $(srcdir) in \
14128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14129 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14131 esac; \
14132 srcdiroption="--srcdir=$${topdir}/intl"; \
14133 libsrcdir="$$s/intl"; \
14134 $(SHELL) $${libsrcdir}/configure \
14135 $(HOST_CONFIGARGS) $${srcdiroption} \
14136 @stage2_werror_flag@
14137 @endif intl-bootstrap
14139 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14140 maybe-configure-stage4-intl:
14141 @if intl-bootstrap
14142 maybe-configure-stage4-intl: configure-stage4-intl
14143 configure-stage4-intl:
14144 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14146 @r=`${PWD_COMMAND}`; export r; \
14147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14148 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14149 $(HOST_EXPORTS) \
14150 $(POSTSTAGE1_HOST_EXPORTS) \
14151 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14153 cd $(HOST_SUBDIR)/intl || exit 1; \
14154 case $(srcdir) in \
14155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14156 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14158 esac; \
14159 srcdiroption="--srcdir=$${topdir}/intl"; \
14160 libsrcdir="$$s/intl"; \
14161 $(SHELL) $${libsrcdir}/configure \
14162 $(HOST_CONFIGARGS) $${srcdiroption} \
14163 @stage2_werror_flag@
14164 @endif intl-bootstrap
14166 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14167 maybe-configure-stageprofile-intl:
14168 @if intl-bootstrap
14169 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14170 configure-stageprofile-intl:
14171 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14173 @r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14176 $(HOST_EXPORTS) \
14177 $(POSTSTAGE1_HOST_EXPORTS) \
14178 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14180 cd $(HOST_SUBDIR)/intl || exit 1; \
14181 case $(srcdir) in \
14182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14183 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14185 esac; \
14186 srcdiroption="--srcdir=$${topdir}/intl"; \
14187 libsrcdir="$$s/intl"; \
14188 $(SHELL) $${libsrcdir}/configure \
14189 $(HOST_CONFIGARGS) $${srcdiroption} \
14190 @stage2_werror_flag@
14191 @endif intl-bootstrap
14193 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14194 maybe-configure-stagefeedback-intl:
14195 @if intl-bootstrap
14196 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14197 configure-stagefeedback-intl:
14198 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14200 @r=`${PWD_COMMAND}`; export r; \
14201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14203 $(HOST_EXPORTS) \
14204 $(POSTSTAGE1_HOST_EXPORTS) \
14205 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14207 cd $(HOST_SUBDIR)/intl || exit 1; \
14208 case $(srcdir) in \
14209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14210 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14212 esac; \
14213 srcdiroption="--srcdir=$${topdir}/intl"; \
14214 libsrcdir="$$s/intl"; \
14215 $(SHELL) $${libsrcdir}/configure \
14216 $(HOST_CONFIGARGS) $${srcdiroption} \
14217 @stage2_werror_flag@
14218 @endif intl-bootstrap
14224 .PHONY: all-intl maybe-all-intl
14225 maybe-all-intl:
14226 @if intl
14227 TARGET-intl=all
14228 maybe-all-intl: all-intl
14229 all-intl: configure-intl
14230 @endif intl
14231 @if intl-bootstrap
14232 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14233 @endif intl-bootstrap
14234 @if intl
14235 @r=`${PWD_COMMAND}`; export r; \
14236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14237 $(HOST_EXPORTS) \
14238 (cd $(HOST_SUBDIR)/intl && \
14239 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14240 @endif intl
14244 .PHONY: all-stage1-intl maybe-all-stage1-intl
14245 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14246 maybe-all-stage1-intl:
14247 maybe-clean-stage1-intl:
14248 @if intl-bootstrap
14249 maybe-all-stage1-intl: all-stage1-intl
14250 all-stage1: all-stage1-intl
14251 TARGET-stage1-intl = $(TARGET-intl)
14252 all-stage1-intl: configure-stage1-intl
14253 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14254 @r=`${PWD_COMMAND}`; export r; \
14255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14256 $(HOST_EXPORTS) \
14257 cd $(HOST_SUBDIR)/intl && \
14258 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
14259 $(TARGET-stage1-intl)
14261 maybe-clean-stage1-intl: clean-stage1-intl
14262 clean-stage1: clean-stage1-intl
14263 clean-stage1-intl:
14264 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14265 || exit 0 ; \
14266 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
14267 cd $(HOST_SUBDIR)/intl && \
14268 $(MAKE) $(FLAGS_TO_PASS) \
14269 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
14270 @endif intl-bootstrap
14273 .PHONY: all-stage2-intl maybe-all-stage2-intl
14274 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14275 maybe-all-stage2-intl:
14276 maybe-clean-stage2-intl:
14277 @if intl-bootstrap
14278 maybe-all-stage2-intl: all-stage2-intl
14279 all-stage2: all-stage2-intl
14280 TARGET-stage2-intl = $(TARGET-intl)
14281 all-stage2-intl: configure-stage2-intl
14282 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14283 @r=`${PWD_COMMAND}`; export r; \
14284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14285 $(HOST_EXPORTS) \
14286 $(POSTSTAGE1_HOST_EXPORTS) \
14287 cd $(HOST_SUBDIR)/intl && \
14288 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14289 $(TARGET-stage2-intl)
14291 maybe-clean-stage2-intl: clean-stage2-intl
14292 clean-stage2: clean-stage2-intl
14293 clean-stage2-intl:
14294 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14295 || exit 0 ; \
14296 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
14297 cd $(HOST_SUBDIR)/intl && \
14298 $(MAKE) $(FLAGS_TO_PASS) \
14299 $(POSTSTAGE1_FLAGS_TO_PASS) \
14300 clean
14301 @endif intl-bootstrap
14304 .PHONY: all-stage3-intl maybe-all-stage3-intl
14305 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14306 maybe-all-stage3-intl:
14307 maybe-clean-stage3-intl:
14308 @if intl-bootstrap
14309 maybe-all-stage3-intl: all-stage3-intl
14310 all-stage3: all-stage3-intl
14311 TARGET-stage3-intl = $(TARGET-intl)
14312 all-stage3-intl: configure-stage3-intl
14313 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14314 @r=`${PWD_COMMAND}`; export r; \
14315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14316 $(HOST_EXPORTS) \
14317 $(POSTSTAGE1_HOST_EXPORTS) \
14318 cd $(HOST_SUBDIR)/intl && \
14319 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14320 $(TARGET-stage3-intl)
14322 maybe-clean-stage3-intl: clean-stage3-intl
14323 clean-stage3: clean-stage3-intl
14324 clean-stage3-intl:
14325 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14326 || exit 0 ; \
14327 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
14328 cd $(HOST_SUBDIR)/intl && \
14329 $(MAKE) $(FLAGS_TO_PASS) \
14330 $(POSTSTAGE1_FLAGS_TO_PASS) \
14331 clean
14332 @endif intl-bootstrap
14335 .PHONY: all-stage4-intl maybe-all-stage4-intl
14336 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14337 maybe-all-stage4-intl:
14338 maybe-clean-stage4-intl:
14339 @if intl-bootstrap
14340 maybe-all-stage4-intl: all-stage4-intl
14341 all-stage4: all-stage4-intl
14342 TARGET-stage4-intl = $(TARGET-intl)
14343 all-stage4-intl: configure-stage4-intl
14344 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14345 @r=`${PWD_COMMAND}`; export r; \
14346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14347 $(HOST_EXPORTS) \
14348 $(POSTSTAGE1_HOST_EXPORTS) \
14349 cd $(HOST_SUBDIR)/intl && \
14350 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14351 $(TARGET-stage4-intl)
14353 maybe-clean-stage4-intl: clean-stage4-intl
14354 clean-stage4: clean-stage4-intl
14355 clean-stage4-intl:
14356 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14357 || exit 0 ; \
14358 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
14359 cd $(HOST_SUBDIR)/intl && \
14360 $(MAKE) $(FLAGS_TO_PASS) \
14361 $(POSTSTAGE1_FLAGS_TO_PASS) \
14362 clean
14363 @endif intl-bootstrap
14366 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14367 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14368 maybe-all-stageprofile-intl:
14369 maybe-clean-stageprofile-intl:
14370 @if intl-bootstrap
14371 maybe-all-stageprofile-intl: all-stageprofile-intl
14372 all-stageprofile: all-stageprofile-intl
14373 TARGET-stageprofile-intl = $(TARGET-intl)
14374 all-stageprofile-intl: configure-stageprofile-intl
14375 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14376 @r=`${PWD_COMMAND}`; export r; \
14377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14378 $(HOST_EXPORTS) \
14379 $(POSTSTAGE1_HOST_EXPORTS) \
14380 cd $(HOST_SUBDIR)/intl && \
14381 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14382 $(TARGET-stageprofile-intl)
14384 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14385 clean-stageprofile: clean-stageprofile-intl
14386 clean-stageprofile-intl:
14387 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14388 || exit 0 ; \
14389 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
14390 cd $(HOST_SUBDIR)/intl && \
14391 $(MAKE) $(FLAGS_TO_PASS) \
14392 $(POSTSTAGE1_FLAGS_TO_PASS) \
14393 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14394 @endif intl-bootstrap
14397 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14398 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14399 maybe-all-stagefeedback-intl:
14400 maybe-clean-stagefeedback-intl:
14401 @if intl-bootstrap
14402 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14403 all-stagefeedback: all-stagefeedback-intl
14404 TARGET-stagefeedback-intl = $(TARGET-intl)
14405 all-stagefeedback-intl: configure-stagefeedback-intl
14406 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14407 @r=`${PWD_COMMAND}`; export r; \
14408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14409 $(HOST_EXPORTS) \
14410 $(POSTSTAGE1_HOST_EXPORTS) \
14411 cd $(HOST_SUBDIR)/intl && \
14412 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14413 $(TARGET-stagefeedback-intl)
14415 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14416 clean-stagefeedback: clean-stagefeedback-intl
14417 clean-stagefeedback-intl:
14418 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14419 || exit 0 ; \
14420 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
14421 cd $(HOST_SUBDIR)/intl && \
14422 $(MAKE) $(FLAGS_TO_PASS) \
14423 $(POSTSTAGE1_FLAGS_TO_PASS) \
14424 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14425 @endif intl-bootstrap
14431 .PHONY: check-intl maybe-check-intl
14432 maybe-check-intl:
14433 @if intl
14434 maybe-check-intl: check-intl
14436 check-intl:
14437 @: $(MAKE); $(unstage)
14438 @r=`${PWD_COMMAND}`; export r; \
14439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14440 $(HOST_EXPORTS) \
14441 (cd $(HOST_SUBDIR)/intl && \
14442 $(MAKE) $(FLAGS_TO_PASS) check)
14444 @endif intl
14446 .PHONY: install-intl maybe-install-intl
14447 maybe-install-intl:
14448 @if intl
14449 maybe-install-intl: install-intl
14451 install-intl: installdirs
14452 @: $(MAKE); $(unstage)
14453 @r=`${PWD_COMMAND}`; export r; \
14454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14455 $(HOST_EXPORTS) \
14456 (cd $(HOST_SUBDIR)/intl && \
14457 $(MAKE) $(FLAGS_TO_PASS) install)
14459 @endif intl
14461 # Other targets (info, dvi, etc.)
14463 .PHONY: maybe-info-intl info-intl
14464 maybe-info-intl:
14465 @if intl
14466 maybe-info-intl: info-intl
14468 info-intl: \
14469 configure-intl
14470 @[ -f ./intl/Makefile ] || exit 0; \
14471 r=`${PWD_COMMAND}`; export r; \
14472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14473 $(HOST_EXPORTS) \
14474 for flag in $(EXTRA_HOST_FLAGS) ; do \
14475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14476 done; \
14477 echo "Doing info in intl" ; \
14478 (cd $(HOST_SUBDIR)/intl && \
14479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14481 "RANLIB=$${RANLIB}" \
14482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14483 info) \
14484 || exit 1
14486 @endif intl
14488 .PHONY: maybe-dvi-intl dvi-intl
14489 maybe-dvi-intl:
14490 @if intl
14491 maybe-dvi-intl: dvi-intl
14493 dvi-intl: \
14494 configure-intl
14495 @[ -f ./intl/Makefile ] || exit 0; \
14496 r=`${PWD_COMMAND}`; export r; \
14497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14498 $(HOST_EXPORTS) \
14499 for flag in $(EXTRA_HOST_FLAGS) ; do \
14500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14501 done; \
14502 echo "Doing dvi in intl" ; \
14503 (cd $(HOST_SUBDIR)/intl && \
14504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14506 "RANLIB=$${RANLIB}" \
14507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14508 dvi) \
14509 || exit 1
14511 @endif intl
14513 .PHONY: maybe-html-intl html-intl
14514 maybe-html-intl:
14515 @if intl
14516 maybe-html-intl: html-intl
14518 html-intl: \
14519 configure-intl
14520 @[ -f ./intl/Makefile ] || exit 0; \
14521 r=`${PWD_COMMAND}`; export r; \
14522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14523 $(HOST_EXPORTS) \
14524 for flag in $(EXTRA_HOST_FLAGS) ; do \
14525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14526 done; \
14527 echo "Doing html in intl" ; \
14528 (cd $(HOST_SUBDIR)/intl && \
14529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14531 "RANLIB=$${RANLIB}" \
14532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14533 html) \
14534 || exit 1
14536 @endif intl
14538 .PHONY: maybe-TAGS-intl TAGS-intl
14539 maybe-TAGS-intl:
14540 @if intl
14541 maybe-TAGS-intl: TAGS-intl
14543 TAGS-intl: \
14544 configure-intl
14545 @[ -f ./intl/Makefile ] || exit 0; \
14546 r=`${PWD_COMMAND}`; export r; \
14547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14548 $(HOST_EXPORTS) \
14549 for flag in $(EXTRA_HOST_FLAGS) ; do \
14550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14551 done; \
14552 echo "Doing TAGS in intl" ; \
14553 (cd $(HOST_SUBDIR)/intl && \
14554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14556 "RANLIB=$${RANLIB}" \
14557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14558 TAGS) \
14559 || exit 1
14561 @endif intl
14563 .PHONY: maybe-install-info-intl install-info-intl
14564 maybe-install-info-intl:
14565 @if intl
14566 maybe-install-info-intl: install-info-intl
14568 install-info-intl: \
14569 configure-intl \
14570 info-intl
14571 @[ -f ./intl/Makefile ] || exit 0; \
14572 r=`${PWD_COMMAND}`; export r; \
14573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14574 $(HOST_EXPORTS) \
14575 for flag in $(EXTRA_HOST_FLAGS) ; do \
14576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14577 done; \
14578 echo "Doing install-info in intl" ; \
14579 (cd $(HOST_SUBDIR)/intl && \
14580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14582 "RANLIB=$${RANLIB}" \
14583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14584 install-info) \
14585 || exit 1
14587 @endif intl
14589 .PHONY: maybe-installcheck-intl installcheck-intl
14590 maybe-installcheck-intl:
14591 @if intl
14592 maybe-installcheck-intl: installcheck-intl
14594 installcheck-intl: \
14595 configure-intl
14596 @[ -f ./intl/Makefile ] || exit 0; \
14597 r=`${PWD_COMMAND}`; export r; \
14598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14599 $(HOST_EXPORTS) \
14600 for flag in $(EXTRA_HOST_FLAGS) ; do \
14601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14602 done; \
14603 echo "Doing installcheck in intl" ; \
14604 (cd $(HOST_SUBDIR)/intl && \
14605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14607 "RANLIB=$${RANLIB}" \
14608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14609 installcheck) \
14610 || exit 1
14612 @endif intl
14614 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14615 maybe-mostlyclean-intl:
14616 @if intl
14617 maybe-mostlyclean-intl: mostlyclean-intl
14619 mostlyclean-intl:
14620 @[ -f ./intl/Makefile ] || exit 0; \
14621 r=`${PWD_COMMAND}`; export r; \
14622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14623 $(HOST_EXPORTS) \
14624 for flag in $(EXTRA_HOST_FLAGS) ; do \
14625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14626 done; \
14627 echo "Doing mostlyclean in intl" ; \
14628 (cd $(HOST_SUBDIR)/intl && \
14629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14631 "RANLIB=$${RANLIB}" \
14632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14633 mostlyclean) \
14634 || exit 1
14636 @endif intl
14638 .PHONY: maybe-clean-intl clean-intl
14639 maybe-clean-intl:
14640 @if intl
14641 maybe-clean-intl: clean-intl
14643 clean-intl:
14644 @[ -f ./intl/Makefile ] || exit 0; \
14645 r=`${PWD_COMMAND}`; export r; \
14646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14647 $(HOST_EXPORTS) \
14648 for flag in $(EXTRA_HOST_FLAGS) ; do \
14649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14650 done; \
14651 echo "Doing clean in intl" ; \
14652 (cd $(HOST_SUBDIR)/intl && \
14653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14655 "RANLIB=$${RANLIB}" \
14656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14657 clean) \
14658 || exit 1
14660 @endif intl
14662 .PHONY: maybe-distclean-intl distclean-intl
14663 maybe-distclean-intl:
14664 @if intl
14665 maybe-distclean-intl: distclean-intl
14667 distclean-intl:
14668 @[ -f ./intl/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 distclean in intl" ; \
14676 (cd $(HOST_SUBDIR)/intl && \
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 distclean) \
14682 || exit 1
14684 @endif intl
14686 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14687 maybe-maintainer-clean-intl:
14688 @if intl
14689 maybe-maintainer-clean-intl: maintainer-clean-intl
14691 maintainer-clean-intl:
14692 @[ -f ./intl/Makefile ] || exit 0; \
14693 r=`${PWD_COMMAND}`; export r; \
14694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14695 $(HOST_EXPORTS) \
14696 for flag in $(EXTRA_HOST_FLAGS) ; do \
14697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14698 done; \
14699 echo "Doing maintainer-clean in intl" ; \
14700 (cd $(HOST_SUBDIR)/intl && \
14701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14703 "RANLIB=$${RANLIB}" \
14704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14705 maintainer-clean) \
14706 || exit 1
14708 @endif intl
14712 .PHONY: configure-tcl maybe-configure-tcl
14713 maybe-configure-tcl:
14714 @if tcl
14715 maybe-configure-tcl: configure-tcl
14716 configure-tcl:
14717 @: $(MAKE); $(unstage)
14718 @r=`${PWD_COMMAND}`; export r; \
14719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14720 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14722 $(HOST_EXPORTS) \
14723 echo Configuring in $(HOST_SUBDIR)/tcl; \
14724 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14725 case $(srcdir) in \
14726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14727 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14729 esac; \
14730 srcdiroption="--srcdir=$${topdir}/tcl"; \
14731 libsrcdir="$$s/tcl"; \
14732 $(SHELL) $${libsrcdir}/configure \
14733 $(HOST_CONFIGARGS) $${srcdiroption} \
14734 || exit 1
14735 @endif tcl
14741 .PHONY: all-tcl maybe-all-tcl
14742 maybe-all-tcl:
14743 @if tcl
14744 TARGET-tcl=all
14745 maybe-all-tcl: all-tcl
14746 all-tcl: configure-tcl
14747 @: $(MAKE); $(unstage)
14748 @r=`${PWD_COMMAND}`; export r; \
14749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14750 $(HOST_EXPORTS) \
14751 (cd $(HOST_SUBDIR)/tcl && \
14752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14753 @endif tcl
14758 .PHONY: check-tcl maybe-check-tcl
14759 maybe-check-tcl:
14760 @if tcl
14761 maybe-check-tcl: check-tcl
14763 check-tcl:
14764 @: $(MAKE); $(unstage)
14765 @r=`${PWD_COMMAND}`; export r; \
14766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14767 $(HOST_EXPORTS) \
14768 (cd $(HOST_SUBDIR)/tcl && \
14769 $(MAKE) $(FLAGS_TO_PASS) check)
14771 @endif tcl
14773 .PHONY: install-tcl maybe-install-tcl
14774 maybe-install-tcl:
14775 @if tcl
14776 maybe-install-tcl: install-tcl
14778 install-tcl: installdirs
14779 @: $(MAKE); $(unstage)
14780 @r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 $(HOST_EXPORTS) \
14783 (cd $(HOST_SUBDIR)/tcl && \
14784 $(MAKE) $(FLAGS_TO_PASS) install)
14786 @endif tcl
14788 # Other targets (info, dvi, etc.)
14790 .PHONY: maybe-info-tcl info-tcl
14791 maybe-info-tcl:
14792 @if tcl
14793 maybe-info-tcl: info-tcl
14795 info-tcl: \
14796 configure-tcl
14797 @: $(MAKE); $(unstage)
14798 @[ -f ./tcl/Makefile ] || exit 0; \
14799 r=`${PWD_COMMAND}`; export r; \
14800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14801 $(HOST_EXPORTS) \
14802 for flag in $(EXTRA_HOST_FLAGS) ; do \
14803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14804 done; \
14805 echo "Doing info in tcl" ; \
14806 (cd $(HOST_SUBDIR)/tcl && \
14807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14809 "RANLIB=$${RANLIB}" \
14810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14811 info) \
14812 || exit 1
14814 @endif tcl
14816 .PHONY: maybe-dvi-tcl dvi-tcl
14817 maybe-dvi-tcl:
14818 @if tcl
14819 maybe-dvi-tcl: dvi-tcl
14821 dvi-tcl: \
14822 configure-tcl
14823 @: $(MAKE); $(unstage)
14824 @[ -f ./tcl/Makefile ] || exit 0; \
14825 r=`${PWD_COMMAND}`; export r; \
14826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14827 $(HOST_EXPORTS) \
14828 for flag in $(EXTRA_HOST_FLAGS) ; do \
14829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14830 done; \
14831 echo "Doing dvi in tcl" ; \
14832 (cd $(HOST_SUBDIR)/tcl && \
14833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14835 "RANLIB=$${RANLIB}" \
14836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14837 dvi) \
14838 || exit 1
14840 @endif tcl
14842 .PHONY: maybe-html-tcl html-tcl
14843 maybe-html-tcl:
14844 @if tcl
14845 maybe-html-tcl: html-tcl
14847 html-tcl: \
14848 configure-tcl
14849 @: $(MAKE); $(unstage)
14850 @[ -f ./tcl/Makefile ] || exit 0; \
14851 r=`${PWD_COMMAND}`; export r; \
14852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14853 $(HOST_EXPORTS) \
14854 for flag in $(EXTRA_HOST_FLAGS) ; do \
14855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14856 done; \
14857 echo "Doing html in tcl" ; \
14858 (cd $(HOST_SUBDIR)/tcl && \
14859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14861 "RANLIB=$${RANLIB}" \
14862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14863 html) \
14864 || exit 1
14866 @endif tcl
14868 .PHONY: maybe-TAGS-tcl TAGS-tcl
14869 maybe-TAGS-tcl:
14870 @if tcl
14871 maybe-TAGS-tcl: TAGS-tcl
14873 TAGS-tcl: \
14874 configure-tcl
14875 @: $(MAKE); $(unstage)
14876 @[ -f ./tcl/Makefile ] || exit 0; \
14877 r=`${PWD_COMMAND}`; export r; \
14878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14879 $(HOST_EXPORTS) \
14880 for flag in $(EXTRA_HOST_FLAGS) ; do \
14881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14882 done; \
14883 echo "Doing TAGS in tcl" ; \
14884 (cd $(HOST_SUBDIR)/tcl && \
14885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14887 "RANLIB=$${RANLIB}" \
14888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14889 TAGS) \
14890 || exit 1
14892 @endif tcl
14894 .PHONY: maybe-install-info-tcl install-info-tcl
14895 maybe-install-info-tcl:
14896 @if tcl
14897 maybe-install-info-tcl: install-info-tcl
14899 install-info-tcl: \
14900 configure-tcl \
14901 info-tcl
14902 @: $(MAKE); $(unstage)
14903 @[ -f ./tcl/Makefile ] || exit 0; \
14904 r=`${PWD_COMMAND}`; export r; \
14905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14906 $(HOST_EXPORTS) \
14907 for flag in $(EXTRA_HOST_FLAGS) ; do \
14908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14909 done; \
14910 echo "Doing install-info in tcl" ; \
14911 (cd $(HOST_SUBDIR)/tcl && \
14912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14914 "RANLIB=$${RANLIB}" \
14915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14916 install-info) \
14917 || exit 1
14919 @endif tcl
14921 .PHONY: maybe-installcheck-tcl installcheck-tcl
14922 maybe-installcheck-tcl:
14923 @if tcl
14924 maybe-installcheck-tcl: installcheck-tcl
14926 installcheck-tcl: \
14927 configure-tcl
14928 @: $(MAKE); $(unstage)
14929 @[ -f ./tcl/Makefile ] || exit 0; \
14930 r=`${PWD_COMMAND}`; export r; \
14931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14932 $(HOST_EXPORTS) \
14933 for flag in $(EXTRA_HOST_FLAGS) ; do \
14934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14935 done; \
14936 echo "Doing installcheck in tcl" ; \
14937 (cd $(HOST_SUBDIR)/tcl && \
14938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14940 "RANLIB=$${RANLIB}" \
14941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14942 installcheck) \
14943 || exit 1
14945 @endif tcl
14947 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14948 maybe-mostlyclean-tcl:
14949 @if tcl
14950 maybe-mostlyclean-tcl: mostlyclean-tcl
14952 # tcl doesn't support mostlyclean.
14953 mostlyclean-tcl:
14955 @endif tcl
14957 .PHONY: maybe-clean-tcl clean-tcl
14958 maybe-clean-tcl:
14959 @if tcl
14960 maybe-clean-tcl: clean-tcl
14962 clean-tcl:
14963 @: $(MAKE); $(unstage)
14964 @[ -f ./tcl/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 clean in tcl" ; \
14972 (cd $(HOST_SUBDIR)/tcl && \
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 clean) \
14978 || exit 1
14980 @endif tcl
14982 .PHONY: maybe-distclean-tcl distclean-tcl
14983 maybe-distclean-tcl:
14984 @if tcl
14985 maybe-distclean-tcl: distclean-tcl
14987 distclean-tcl:
14988 @: $(MAKE); $(unstage)
14989 @[ -f ./tcl/Makefile ] || exit 0; \
14990 r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 $(HOST_EXPORTS) \
14993 for flag in $(EXTRA_HOST_FLAGS) ; do \
14994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14995 done; \
14996 echo "Doing distclean in tcl" ; \
14997 (cd $(HOST_SUBDIR)/tcl && \
14998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15000 "RANLIB=$${RANLIB}" \
15001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15002 distclean) \
15003 || exit 1
15005 @endif tcl
15007 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15008 maybe-maintainer-clean-tcl:
15009 @if tcl
15010 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15012 maintainer-clean-tcl:
15013 @: $(MAKE); $(unstage)
15014 @[ -f ./tcl/Makefile ] || exit 0; \
15015 r=`${PWD_COMMAND}`; export r; \
15016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15017 $(HOST_EXPORTS) \
15018 for flag in $(EXTRA_HOST_FLAGS) ; do \
15019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15020 done; \
15021 echo "Doing maintainer-clean in tcl" ; \
15022 (cd $(HOST_SUBDIR)/tcl && \
15023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15025 "RANLIB=$${RANLIB}" \
15026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15027 maintainer-clean) \
15028 || exit 1
15030 @endif tcl
15034 .PHONY: configure-itcl maybe-configure-itcl
15035 maybe-configure-itcl:
15036 @if itcl
15037 maybe-configure-itcl: configure-itcl
15038 configure-itcl:
15039 @: $(MAKE); $(unstage)
15040 @r=`${PWD_COMMAND}`; export r; \
15041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15042 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15044 $(HOST_EXPORTS) \
15045 echo Configuring in $(HOST_SUBDIR)/itcl; \
15046 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15047 case $(srcdir) in \
15048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15049 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15051 esac; \
15052 srcdiroption="--srcdir=$${topdir}/itcl"; \
15053 libsrcdir="$$s/itcl"; \
15054 $(SHELL) $${libsrcdir}/configure \
15055 $(HOST_CONFIGARGS) $${srcdiroption} \
15056 || exit 1
15057 @endif itcl
15063 .PHONY: all-itcl maybe-all-itcl
15064 maybe-all-itcl:
15065 @if itcl
15066 TARGET-itcl=all
15067 maybe-all-itcl: all-itcl
15068 all-itcl: configure-itcl
15069 @: $(MAKE); $(unstage)
15070 @r=`${PWD_COMMAND}`; export r; \
15071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15072 $(HOST_EXPORTS) \
15073 (cd $(HOST_SUBDIR)/itcl && \
15074 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15075 @endif itcl
15080 .PHONY: check-itcl maybe-check-itcl
15081 maybe-check-itcl:
15082 @if itcl
15083 maybe-check-itcl: check-itcl
15085 check-itcl:
15086 @: $(MAKE); $(unstage)
15087 @r=`${PWD_COMMAND}`; export r; \
15088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15089 $(HOST_EXPORTS) \
15090 (cd $(HOST_SUBDIR)/itcl && \
15091 $(MAKE) $(FLAGS_TO_PASS) check)
15093 @endif itcl
15095 .PHONY: install-itcl maybe-install-itcl
15096 maybe-install-itcl:
15097 @if itcl
15098 maybe-install-itcl: install-itcl
15100 install-itcl: installdirs
15101 @: $(MAKE); $(unstage)
15102 @r=`${PWD_COMMAND}`; export r; \
15103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15104 $(HOST_EXPORTS) \
15105 (cd $(HOST_SUBDIR)/itcl && \
15106 $(MAKE) $(FLAGS_TO_PASS) install)
15108 @endif itcl
15110 # Other targets (info, dvi, etc.)
15112 .PHONY: maybe-info-itcl info-itcl
15113 maybe-info-itcl:
15114 @if itcl
15115 maybe-info-itcl: info-itcl
15117 info-itcl: \
15118 configure-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 info 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 info) \
15134 || exit 1
15136 @endif itcl
15138 .PHONY: maybe-dvi-itcl dvi-itcl
15139 maybe-dvi-itcl:
15140 @if itcl
15141 maybe-dvi-itcl: dvi-itcl
15143 dvi-itcl: \
15144 configure-itcl
15145 @: $(MAKE); $(unstage)
15146 @[ -f ./itcl/Makefile ] || exit 0; \
15147 r=`${PWD_COMMAND}`; export r; \
15148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15149 $(HOST_EXPORTS) \
15150 for flag in $(EXTRA_HOST_FLAGS) ; do \
15151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15152 done; \
15153 echo "Doing dvi in itcl" ; \
15154 (cd $(HOST_SUBDIR)/itcl && \
15155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15157 "RANLIB=$${RANLIB}" \
15158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15159 dvi) \
15160 || exit 1
15162 @endif itcl
15164 .PHONY: maybe-html-itcl html-itcl
15165 maybe-html-itcl:
15166 @if itcl
15167 maybe-html-itcl: html-itcl
15169 html-itcl: \
15170 configure-itcl
15171 @: $(MAKE); $(unstage)
15172 @[ -f ./itcl/Makefile ] || exit 0; \
15173 r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 $(HOST_EXPORTS) \
15176 for flag in $(EXTRA_HOST_FLAGS) ; do \
15177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15178 done; \
15179 echo "Doing html in itcl" ; \
15180 (cd $(HOST_SUBDIR)/itcl && \
15181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15183 "RANLIB=$${RANLIB}" \
15184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15185 html) \
15186 || exit 1
15188 @endif itcl
15190 .PHONY: maybe-TAGS-itcl TAGS-itcl
15191 maybe-TAGS-itcl:
15192 @if itcl
15193 maybe-TAGS-itcl: TAGS-itcl
15195 TAGS-itcl: \
15196 configure-itcl
15197 @: $(MAKE); $(unstage)
15198 @[ -f ./itcl/Makefile ] || exit 0; \
15199 r=`${PWD_COMMAND}`; export r; \
15200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15201 $(HOST_EXPORTS) \
15202 for flag in $(EXTRA_HOST_FLAGS) ; do \
15203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15204 done; \
15205 echo "Doing TAGS in itcl" ; \
15206 (cd $(HOST_SUBDIR)/itcl && \
15207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15209 "RANLIB=$${RANLIB}" \
15210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15211 TAGS) \
15212 || exit 1
15214 @endif itcl
15216 .PHONY: maybe-install-info-itcl install-info-itcl
15217 maybe-install-info-itcl:
15218 @if itcl
15219 maybe-install-info-itcl: install-info-itcl
15221 install-info-itcl: \
15222 configure-itcl \
15223 info-itcl
15224 @: $(MAKE); $(unstage)
15225 @[ -f ./itcl/Makefile ] || exit 0; \
15226 r=`${PWD_COMMAND}`; export r; \
15227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15228 $(HOST_EXPORTS) \
15229 for flag in $(EXTRA_HOST_FLAGS) ; do \
15230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15231 done; \
15232 echo "Doing install-info in itcl" ; \
15233 (cd $(HOST_SUBDIR)/itcl && \
15234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15236 "RANLIB=$${RANLIB}" \
15237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15238 install-info) \
15239 || exit 1
15241 @endif itcl
15243 .PHONY: maybe-installcheck-itcl installcheck-itcl
15244 maybe-installcheck-itcl:
15245 @if itcl
15246 maybe-installcheck-itcl: installcheck-itcl
15248 installcheck-itcl: \
15249 configure-itcl
15250 @: $(MAKE); $(unstage)
15251 @[ -f ./itcl/Makefile ] || exit 0; \
15252 r=`${PWD_COMMAND}`; export r; \
15253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15254 $(HOST_EXPORTS) \
15255 for flag in $(EXTRA_HOST_FLAGS) ; do \
15256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15257 done; \
15258 echo "Doing installcheck in itcl" ; \
15259 (cd $(HOST_SUBDIR)/itcl && \
15260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15262 "RANLIB=$${RANLIB}" \
15263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15264 installcheck) \
15265 || exit 1
15267 @endif itcl
15269 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15270 maybe-mostlyclean-itcl:
15271 @if itcl
15272 maybe-mostlyclean-itcl: mostlyclean-itcl
15274 mostlyclean-itcl:
15275 @: $(MAKE); $(unstage)
15276 @[ -f ./itcl/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(HOST_EXPORTS) \
15280 for flag in $(EXTRA_HOST_FLAGS) ; do \
15281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15282 done; \
15283 echo "Doing mostlyclean in itcl" ; \
15284 (cd $(HOST_SUBDIR)/itcl && \
15285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15287 "RANLIB=$${RANLIB}" \
15288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15289 mostlyclean) \
15290 || exit 1
15292 @endif itcl
15294 .PHONY: maybe-clean-itcl clean-itcl
15295 maybe-clean-itcl:
15296 @if itcl
15297 maybe-clean-itcl: clean-itcl
15299 clean-itcl:
15300 @: $(MAKE); $(unstage)
15301 @[ -f ./itcl/Makefile ] || exit 0; \
15302 r=`${PWD_COMMAND}`; export r; \
15303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15304 $(HOST_EXPORTS) \
15305 for flag in $(EXTRA_HOST_FLAGS) ; do \
15306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15307 done; \
15308 echo "Doing clean in itcl" ; \
15309 (cd $(HOST_SUBDIR)/itcl && \
15310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15312 "RANLIB=$${RANLIB}" \
15313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15314 clean) \
15315 || exit 1
15317 @endif itcl
15319 .PHONY: maybe-distclean-itcl distclean-itcl
15320 maybe-distclean-itcl:
15321 @if itcl
15322 maybe-distclean-itcl: distclean-itcl
15324 distclean-itcl:
15325 @: $(MAKE); $(unstage)
15326 @[ -f ./itcl/Makefile ] || exit 0; \
15327 r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15329 $(HOST_EXPORTS) \
15330 for flag in $(EXTRA_HOST_FLAGS) ; do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15332 done; \
15333 echo "Doing distclean in itcl" ; \
15334 (cd $(HOST_SUBDIR)/itcl && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15339 distclean) \
15340 || exit 1
15342 @endif itcl
15344 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15345 maybe-maintainer-clean-itcl:
15346 @if itcl
15347 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15349 maintainer-clean-itcl:
15350 @: $(MAKE); $(unstage)
15351 @[ -f ./itcl/Makefile ] || exit 0; \
15352 r=`${PWD_COMMAND}`; export r; \
15353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 $(HOST_EXPORTS) \
15355 for flag in $(EXTRA_HOST_FLAGS) ; do \
15356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15357 done; \
15358 echo "Doing maintainer-clean in itcl" ; \
15359 (cd $(HOST_SUBDIR)/itcl && \
15360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15362 "RANLIB=$${RANLIB}" \
15363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15364 maintainer-clean) \
15365 || exit 1
15367 @endif itcl
15371 .PHONY: configure-ld maybe-configure-ld
15372 maybe-configure-ld:
15373 @if ld
15374 maybe-configure-ld: configure-ld
15375 configure-ld:
15376 @endif ld
15377 @if ld-bootstrap
15378 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15379 @endif ld-bootstrap
15380 @if ld
15381 @r=`${PWD_COMMAND}`; export r; \
15382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15385 $(HOST_EXPORTS) \
15386 echo Configuring in $(HOST_SUBDIR)/ld; \
15387 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15388 case $(srcdir) in \
15389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15390 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15392 esac; \
15393 srcdiroption="--srcdir=$${topdir}/ld"; \
15394 libsrcdir="$$s/ld"; \
15395 $(SHELL) $${libsrcdir}/configure \
15396 $(HOST_CONFIGARGS) $${srcdiroption} \
15397 || exit 1
15398 @endif ld
15402 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15403 maybe-configure-stage1-ld:
15404 @if ld-bootstrap
15405 maybe-configure-stage1-ld: configure-stage1-ld
15406 configure-stage1-ld:
15407 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15409 @r=`${PWD_COMMAND}`; export r; \
15410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15411 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15412 $(HOST_EXPORTS) \
15413 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15415 cd $(HOST_SUBDIR)/ld || exit 1; \
15416 case $(srcdir) in \
15417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15418 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15420 esac; \
15421 srcdiroption="--srcdir=$${topdir}/ld"; \
15422 libsrcdir="$$s/ld"; \
15423 $(SHELL) $${libsrcdir}/configure \
15424 $(HOST_CONFIGARGS) $${srcdiroption} \
15425 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15426 @endif ld-bootstrap
15428 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15429 maybe-configure-stage2-ld:
15430 @if ld-bootstrap
15431 maybe-configure-stage2-ld: configure-stage2-ld
15432 configure-stage2-ld:
15433 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15434 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15435 @r=`${PWD_COMMAND}`; export r; \
15436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15437 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15438 $(HOST_EXPORTS) \
15439 $(POSTSTAGE1_HOST_EXPORTS) \
15440 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15442 cd $(HOST_SUBDIR)/ld || exit 1; \
15443 case $(srcdir) in \
15444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15445 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15447 esac; \
15448 srcdiroption="--srcdir=$${topdir}/ld"; \
15449 libsrcdir="$$s/ld"; \
15450 $(SHELL) $${libsrcdir}/configure \
15451 $(HOST_CONFIGARGS) $${srcdiroption} \
15452 @stage2_werror_flag@
15453 @endif ld-bootstrap
15455 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15456 maybe-configure-stage3-ld:
15457 @if ld-bootstrap
15458 maybe-configure-stage3-ld: configure-stage3-ld
15459 configure-stage3-ld:
15460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15461 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15462 @r=`${PWD_COMMAND}`; export r; \
15463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15464 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15465 $(HOST_EXPORTS) \
15466 $(POSTSTAGE1_HOST_EXPORTS) \
15467 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15469 cd $(HOST_SUBDIR)/ld || exit 1; \
15470 case $(srcdir) in \
15471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15472 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15474 esac; \
15475 srcdiroption="--srcdir=$${topdir}/ld"; \
15476 libsrcdir="$$s/ld"; \
15477 $(SHELL) $${libsrcdir}/configure \
15478 $(HOST_CONFIGARGS) $${srcdiroption} \
15479 @stage2_werror_flag@
15480 @endif ld-bootstrap
15482 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15483 maybe-configure-stage4-ld:
15484 @if ld-bootstrap
15485 maybe-configure-stage4-ld: configure-stage4-ld
15486 configure-stage4-ld:
15487 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15488 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15489 @r=`${PWD_COMMAND}`; export r; \
15490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15491 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15492 $(HOST_EXPORTS) \
15493 $(POSTSTAGE1_HOST_EXPORTS) \
15494 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15496 cd $(HOST_SUBDIR)/ld || exit 1; \
15497 case $(srcdir) in \
15498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15499 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15501 esac; \
15502 srcdiroption="--srcdir=$${topdir}/ld"; \
15503 libsrcdir="$$s/ld"; \
15504 $(SHELL) $${libsrcdir}/configure \
15505 $(HOST_CONFIGARGS) $${srcdiroption} \
15506 @stage2_werror_flag@
15507 @endif ld-bootstrap
15509 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15510 maybe-configure-stageprofile-ld:
15511 @if ld-bootstrap
15512 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15513 configure-stageprofile-ld:
15514 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15516 @r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15519 $(HOST_EXPORTS) \
15520 $(POSTSTAGE1_HOST_EXPORTS) \
15521 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15523 cd $(HOST_SUBDIR)/ld || exit 1; \
15524 case $(srcdir) in \
15525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15526 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15528 esac; \
15529 srcdiroption="--srcdir=$${topdir}/ld"; \
15530 libsrcdir="$$s/ld"; \
15531 $(SHELL) $${libsrcdir}/configure \
15532 $(HOST_CONFIGARGS) $${srcdiroption} \
15533 @stage2_werror_flag@
15534 @endif ld-bootstrap
15536 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15537 maybe-configure-stagefeedback-ld:
15538 @if ld-bootstrap
15539 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15540 configure-stagefeedback-ld:
15541 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15542 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15543 @r=`${PWD_COMMAND}`; export r; \
15544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15545 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15546 $(HOST_EXPORTS) \
15547 $(POSTSTAGE1_HOST_EXPORTS) \
15548 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15550 cd $(HOST_SUBDIR)/ld || exit 1; \
15551 case $(srcdir) in \
15552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15553 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15555 esac; \
15556 srcdiroption="--srcdir=$${topdir}/ld"; \
15557 libsrcdir="$$s/ld"; \
15558 $(SHELL) $${libsrcdir}/configure \
15559 $(HOST_CONFIGARGS) $${srcdiroption} \
15560 @stage2_werror_flag@
15561 @endif ld-bootstrap
15567 .PHONY: all-ld maybe-all-ld
15568 maybe-all-ld:
15569 @if ld
15570 TARGET-ld=all
15571 maybe-all-ld: all-ld
15572 all-ld: configure-ld
15573 @endif ld
15574 @if ld-bootstrap
15575 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15576 @endif ld-bootstrap
15577 @if ld
15578 @r=`${PWD_COMMAND}`; export r; \
15579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 $(HOST_EXPORTS) \
15581 (cd $(HOST_SUBDIR)/ld && \
15582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15583 @endif ld
15587 .PHONY: all-stage1-ld maybe-all-stage1-ld
15588 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15589 maybe-all-stage1-ld:
15590 maybe-clean-stage1-ld:
15591 @if ld-bootstrap
15592 maybe-all-stage1-ld: all-stage1-ld
15593 all-stage1: all-stage1-ld
15594 TARGET-stage1-ld = $(TARGET-ld)
15595 all-stage1-ld: configure-stage1-ld
15596 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15597 @r=`${PWD_COMMAND}`; export r; \
15598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15599 $(HOST_EXPORTS) \
15600 cd $(HOST_SUBDIR)/ld && \
15601 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15602 $(TARGET-stage1-ld)
15604 maybe-clean-stage1-ld: clean-stage1-ld
15605 clean-stage1: clean-stage1-ld
15606 clean-stage1-ld:
15607 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15608 || exit 0 ; \
15609 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15610 cd $(HOST_SUBDIR)/ld && \
15611 $(MAKE) $(FLAGS_TO_PASS) \
15612 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15613 @endif ld-bootstrap
15616 .PHONY: all-stage2-ld maybe-all-stage2-ld
15617 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15618 maybe-all-stage2-ld:
15619 maybe-clean-stage2-ld:
15620 @if ld-bootstrap
15621 maybe-all-stage2-ld: all-stage2-ld
15622 all-stage2: all-stage2-ld
15623 TARGET-stage2-ld = $(TARGET-ld)
15624 all-stage2-ld: configure-stage2-ld
15625 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15626 @r=`${PWD_COMMAND}`; export r; \
15627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15628 $(HOST_EXPORTS) \
15629 $(POSTSTAGE1_HOST_EXPORTS) \
15630 cd $(HOST_SUBDIR)/ld && \
15631 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15632 $(TARGET-stage2-ld)
15634 maybe-clean-stage2-ld: clean-stage2-ld
15635 clean-stage2: clean-stage2-ld
15636 clean-stage2-ld:
15637 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15638 || exit 0 ; \
15639 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15640 cd $(HOST_SUBDIR)/ld && \
15641 $(MAKE) $(FLAGS_TO_PASS) \
15642 $(POSTSTAGE1_FLAGS_TO_PASS) \
15643 clean
15644 @endif ld-bootstrap
15647 .PHONY: all-stage3-ld maybe-all-stage3-ld
15648 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15649 maybe-all-stage3-ld:
15650 maybe-clean-stage3-ld:
15651 @if ld-bootstrap
15652 maybe-all-stage3-ld: all-stage3-ld
15653 all-stage3: all-stage3-ld
15654 TARGET-stage3-ld = $(TARGET-ld)
15655 all-stage3-ld: configure-stage3-ld
15656 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15657 @r=`${PWD_COMMAND}`; export r; \
15658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15659 $(HOST_EXPORTS) \
15660 $(POSTSTAGE1_HOST_EXPORTS) \
15661 cd $(HOST_SUBDIR)/ld && \
15662 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15663 $(TARGET-stage3-ld)
15665 maybe-clean-stage3-ld: clean-stage3-ld
15666 clean-stage3: clean-stage3-ld
15667 clean-stage3-ld:
15668 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15669 || exit 0 ; \
15670 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15671 cd $(HOST_SUBDIR)/ld && \
15672 $(MAKE) $(FLAGS_TO_PASS) \
15673 $(POSTSTAGE1_FLAGS_TO_PASS) \
15674 clean
15675 @endif ld-bootstrap
15678 .PHONY: all-stage4-ld maybe-all-stage4-ld
15679 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15680 maybe-all-stage4-ld:
15681 maybe-clean-stage4-ld:
15682 @if ld-bootstrap
15683 maybe-all-stage4-ld: all-stage4-ld
15684 all-stage4: all-stage4-ld
15685 TARGET-stage4-ld = $(TARGET-ld)
15686 all-stage4-ld: configure-stage4-ld
15687 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15688 @r=`${PWD_COMMAND}`; export r; \
15689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 $(HOST_EXPORTS) \
15691 $(POSTSTAGE1_HOST_EXPORTS) \
15692 cd $(HOST_SUBDIR)/ld && \
15693 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15694 $(TARGET-stage4-ld)
15696 maybe-clean-stage4-ld: clean-stage4-ld
15697 clean-stage4: clean-stage4-ld
15698 clean-stage4-ld:
15699 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15700 || exit 0 ; \
15701 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15702 cd $(HOST_SUBDIR)/ld && \
15703 $(MAKE) $(FLAGS_TO_PASS) \
15704 $(POSTSTAGE1_FLAGS_TO_PASS) \
15705 clean
15706 @endif ld-bootstrap
15709 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15710 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15711 maybe-all-stageprofile-ld:
15712 maybe-clean-stageprofile-ld:
15713 @if ld-bootstrap
15714 maybe-all-stageprofile-ld: all-stageprofile-ld
15715 all-stageprofile: all-stageprofile-ld
15716 TARGET-stageprofile-ld = $(TARGET-ld)
15717 all-stageprofile-ld: configure-stageprofile-ld
15718 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15719 @r=`${PWD_COMMAND}`; export r; \
15720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15721 $(HOST_EXPORTS) \
15722 $(POSTSTAGE1_HOST_EXPORTS) \
15723 cd $(HOST_SUBDIR)/ld && \
15724 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15725 $(TARGET-stageprofile-ld)
15727 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15728 clean-stageprofile: clean-stageprofile-ld
15729 clean-stageprofile-ld:
15730 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15731 || exit 0 ; \
15732 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15733 cd $(HOST_SUBDIR)/ld && \
15734 $(MAKE) $(FLAGS_TO_PASS) \
15735 $(POSTSTAGE1_FLAGS_TO_PASS) \
15736 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15737 @endif ld-bootstrap
15740 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15741 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15742 maybe-all-stagefeedback-ld:
15743 maybe-clean-stagefeedback-ld:
15744 @if ld-bootstrap
15745 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15746 all-stagefeedback: all-stagefeedback-ld
15747 TARGET-stagefeedback-ld = $(TARGET-ld)
15748 all-stagefeedback-ld: configure-stagefeedback-ld
15749 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15750 @r=`${PWD_COMMAND}`; export r; \
15751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15752 $(HOST_EXPORTS) \
15753 $(POSTSTAGE1_HOST_EXPORTS) \
15754 cd $(HOST_SUBDIR)/ld && \
15755 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15756 $(TARGET-stagefeedback-ld)
15758 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15759 clean-stagefeedback: clean-stagefeedback-ld
15760 clean-stagefeedback-ld:
15761 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15762 || exit 0 ; \
15763 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15764 cd $(HOST_SUBDIR)/ld && \
15765 $(MAKE) $(FLAGS_TO_PASS) \
15766 $(POSTSTAGE1_FLAGS_TO_PASS) \
15767 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15768 @endif ld-bootstrap
15774 .PHONY: check-ld maybe-check-ld
15775 maybe-check-ld:
15776 @if ld
15777 maybe-check-ld: check-ld
15779 check-ld:
15780 @: $(MAKE); $(unstage)
15781 @r=`${PWD_COMMAND}`; export r; \
15782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 $(HOST_EXPORTS) \
15784 (cd $(HOST_SUBDIR)/ld && \
15785 $(MAKE) $(FLAGS_TO_PASS) check)
15787 @endif ld
15789 .PHONY: install-ld maybe-install-ld
15790 maybe-install-ld:
15791 @if ld
15792 maybe-install-ld: install-ld
15794 install-ld: installdirs
15795 @: $(MAKE); $(unstage)
15796 @r=`${PWD_COMMAND}`; export r; \
15797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15798 $(HOST_EXPORTS) \
15799 (cd $(HOST_SUBDIR)/ld && \
15800 $(MAKE) $(FLAGS_TO_PASS) install)
15802 @endif ld
15804 # Other targets (info, dvi, etc.)
15806 .PHONY: maybe-info-ld info-ld
15807 maybe-info-ld:
15808 @if ld
15809 maybe-info-ld: info-ld
15811 info-ld: \
15812 configure-ld
15813 @[ -f ./ld/Makefile ] || exit 0; \
15814 r=`${PWD_COMMAND}`; export r; \
15815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15816 $(HOST_EXPORTS) \
15817 for flag in $(EXTRA_HOST_FLAGS) ; do \
15818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15819 done; \
15820 echo "Doing info in ld" ; \
15821 (cd $(HOST_SUBDIR)/ld && \
15822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15824 "RANLIB=$${RANLIB}" \
15825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15826 info) \
15827 || exit 1
15829 @endif ld
15831 .PHONY: maybe-dvi-ld dvi-ld
15832 maybe-dvi-ld:
15833 @if ld
15834 maybe-dvi-ld: dvi-ld
15836 dvi-ld: \
15837 configure-ld
15838 @[ -f ./ld/Makefile ] || exit 0; \
15839 r=`${PWD_COMMAND}`; export r; \
15840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15841 $(HOST_EXPORTS) \
15842 for flag in $(EXTRA_HOST_FLAGS) ; do \
15843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15844 done; \
15845 echo "Doing dvi in ld" ; \
15846 (cd $(HOST_SUBDIR)/ld && \
15847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15849 "RANLIB=$${RANLIB}" \
15850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15851 dvi) \
15852 || exit 1
15854 @endif ld
15856 .PHONY: maybe-html-ld html-ld
15857 maybe-html-ld:
15858 @if ld
15859 maybe-html-ld: html-ld
15861 html-ld: \
15862 configure-ld
15863 @[ -f ./ld/Makefile ] || exit 0; \
15864 r=`${PWD_COMMAND}`; export r; \
15865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15866 $(HOST_EXPORTS) \
15867 for flag in $(EXTRA_HOST_FLAGS) ; do \
15868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15869 done; \
15870 echo "Doing html in ld" ; \
15871 (cd $(HOST_SUBDIR)/ld && \
15872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15874 "RANLIB=$${RANLIB}" \
15875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15876 html) \
15877 || exit 1
15879 @endif ld
15881 .PHONY: maybe-TAGS-ld TAGS-ld
15882 maybe-TAGS-ld:
15883 @if ld
15884 maybe-TAGS-ld: TAGS-ld
15886 TAGS-ld: \
15887 configure-ld
15888 @[ -f ./ld/Makefile ] || exit 0; \
15889 r=`${PWD_COMMAND}`; export r; \
15890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15891 $(HOST_EXPORTS) \
15892 for flag in $(EXTRA_HOST_FLAGS) ; do \
15893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15894 done; \
15895 echo "Doing TAGS in ld" ; \
15896 (cd $(HOST_SUBDIR)/ld && \
15897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15899 "RANLIB=$${RANLIB}" \
15900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15901 TAGS) \
15902 || exit 1
15904 @endif ld
15906 .PHONY: maybe-install-info-ld install-info-ld
15907 maybe-install-info-ld:
15908 @if ld
15909 maybe-install-info-ld: install-info-ld
15911 install-info-ld: \
15912 configure-ld \
15913 info-ld
15914 @[ -f ./ld/Makefile ] || exit 0; \
15915 r=`${PWD_COMMAND}`; export r; \
15916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15917 $(HOST_EXPORTS) \
15918 for flag in $(EXTRA_HOST_FLAGS) ; do \
15919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15920 done; \
15921 echo "Doing install-info in ld" ; \
15922 (cd $(HOST_SUBDIR)/ld && \
15923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15925 "RANLIB=$${RANLIB}" \
15926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15927 install-info) \
15928 || exit 1
15930 @endif ld
15932 .PHONY: maybe-installcheck-ld installcheck-ld
15933 maybe-installcheck-ld:
15934 @if ld
15935 maybe-installcheck-ld: installcheck-ld
15937 installcheck-ld: \
15938 configure-ld
15939 @[ -f ./ld/Makefile ] || exit 0; \
15940 r=`${PWD_COMMAND}`; export r; \
15941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15942 $(HOST_EXPORTS) \
15943 for flag in $(EXTRA_HOST_FLAGS) ; do \
15944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15945 done; \
15946 echo "Doing installcheck in ld" ; \
15947 (cd $(HOST_SUBDIR)/ld && \
15948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15950 "RANLIB=$${RANLIB}" \
15951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15952 installcheck) \
15953 || exit 1
15955 @endif ld
15957 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15958 maybe-mostlyclean-ld:
15959 @if ld
15960 maybe-mostlyclean-ld: mostlyclean-ld
15962 mostlyclean-ld:
15963 @[ -f ./ld/Makefile ] || exit 0; \
15964 r=`${PWD_COMMAND}`; export r; \
15965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15966 $(HOST_EXPORTS) \
15967 for flag in $(EXTRA_HOST_FLAGS) ; do \
15968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15969 done; \
15970 echo "Doing mostlyclean in ld" ; \
15971 (cd $(HOST_SUBDIR)/ld && \
15972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15974 "RANLIB=$${RANLIB}" \
15975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15976 mostlyclean) \
15977 || exit 1
15979 @endif ld
15981 .PHONY: maybe-clean-ld clean-ld
15982 maybe-clean-ld:
15983 @if ld
15984 maybe-clean-ld: clean-ld
15986 clean-ld:
15987 @[ -f ./ld/Makefile ] || exit 0; \
15988 r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990 $(HOST_EXPORTS) \
15991 for flag in $(EXTRA_HOST_FLAGS) ; do \
15992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15993 done; \
15994 echo "Doing clean in ld" ; \
15995 (cd $(HOST_SUBDIR)/ld && \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15998 "RANLIB=$${RANLIB}" \
15999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16000 clean) \
16001 || exit 1
16003 @endif ld
16005 .PHONY: maybe-distclean-ld distclean-ld
16006 maybe-distclean-ld:
16007 @if ld
16008 maybe-distclean-ld: distclean-ld
16010 distclean-ld:
16011 @[ -f ./ld/Makefile ] || exit 0; \
16012 r=`${PWD_COMMAND}`; export r; \
16013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16014 $(HOST_EXPORTS) \
16015 for flag in $(EXTRA_HOST_FLAGS) ; do \
16016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16017 done; \
16018 echo "Doing distclean in ld" ; \
16019 (cd $(HOST_SUBDIR)/ld && \
16020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16022 "RANLIB=$${RANLIB}" \
16023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16024 distclean) \
16025 || exit 1
16027 @endif ld
16029 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16030 maybe-maintainer-clean-ld:
16031 @if ld
16032 maybe-maintainer-clean-ld: maintainer-clean-ld
16034 maintainer-clean-ld:
16035 @[ -f ./ld/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 $(HOST_EXPORTS) \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing maintainer-clean in ld" ; \
16043 (cd $(HOST_SUBDIR)/ld && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16048 maintainer-clean) \
16049 || exit 1
16051 @endif ld
16055 .PHONY: configure-libcpp maybe-configure-libcpp
16056 maybe-configure-libcpp:
16057 @if libcpp
16058 maybe-configure-libcpp: configure-libcpp
16059 configure-libcpp:
16060 @endif libcpp
16061 @if libcpp-bootstrap
16062 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16063 @endif libcpp-bootstrap
16064 @if libcpp
16065 @r=`${PWD_COMMAND}`; export r; \
16066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16067 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16069 $(HOST_EXPORTS) \
16070 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16071 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16072 case $(srcdir) in \
16073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16074 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16076 esac; \
16077 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16078 libsrcdir="$$s/libcpp"; \
16079 $(SHELL) $${libsrcdir}/configure \
16080 $(HOST_CONFIGARGS) $${srcdiroption} \
16081 || exit 1
16082 @endif libcpp
16086 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16087 maybe-configure-stage1-libcpp:
16088 @if libcpp-bootstrap
16089 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16090 configure-stage1-libcpp:
16091 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16093 @r=`${PWD_COMMAND}`; export r; \
16094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16095 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16096 $(HOST_EXPORTS) \
16097 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16099 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16100 case $(srcdir) in \
16101 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16102 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16103 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16104 esac; \
16105 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16106 libsrcdir="$$s/libcpp"; \
16107 $(SHELL) $${libsrcdir}/configure \
16108 $(HOST_CONFIGARGS) $${srcdiroption} \
16109 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16110 @endif libcpp-bootstrap
16112 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16113 maybe-configure-stage2-libcpp:
16114 @if libcpp-bootstrap
16115 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16116 configure-stage2-libcpp:
16117 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16122 $(HOST_EXPORTS) \
16123 $(POSTSTAGE1_HOST_EXPORTS) \
16124 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16126 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16127 case $(srcdir) in \
16128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16129 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16131 esac; \
16132 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16133 libsrcdir="$$s/libcpp"; \
16134 $(SHELL) $${libsrcdir}/configure \
16135 $(HOST_CONFIGARGS) $${srcdiroption} \
16136 @stage2_werror_flag@
16137 @endif libcpp-bootstrap
16139 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16140 maybe-configure-stage3-libcpp:
16141 @if libcpp-bootstrap
16142 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16143 configure-stage3-libcpp:
16144 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16146 @r=`${PWD_COMMAND}`; export r; \
16147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16148 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16149 $(HOST_EXPORTS) \
16150 $(POSTSTAGE1_HOST_EXPORTS) \
16151 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16153 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16154 case $(srcdir) in \
16155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16156 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16158 esac; \
16159 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16160 libsrcdir="$$s/libcpp"; \
16161 $(SHELL) $${libsrcdir}/configure \
16162 $(HOST_CONFIGARGS) $${srcdiroption} \
16163 @stage2_werror_flag@
16164 @endif libcpp-bootstrap
16166 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16167 maybe-configure-stage4-libcpp:
16168 @if libcpp-bootstrap
16169 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16170 configure-stage4-libcpp:
16171 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16173 @r=`${PWD_COMMAND}`; export r; \
16174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16175 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16176 $(HOST_EXPORTS) \
16177 $(POSTSTAGE1_HOST_EXPORTS) \
16178 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16180 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16181 case $(srcdir) in \
16182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16183 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16185 esac; \
16186 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16187 libsrcdir="$$s/libcpp"; \
16188 $(SHELL) $${libsrcdir}/configure \
16189 $(HOST_CONFIGARGS) $${srcdiroption} \
16190 @stage2_werror_flag@
16191 @endif libcpp-bootstrap
16193 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16194 maybe-configure-stageprofile-libcpp:
16195 @if libcpp-bootstrap
16196 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16197 configure-stageprofile-libcpp:
16198 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16200 @r=`${PWD_COMMAND}`; export r; \
16201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16203 $(HOST_EXPORTS) \
16204 $(POSTSTAGE1_HOST_EXPORTS) \
16205 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16207 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16208 case $(srcdir) in \
16209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16210 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16212 esac; \
16213 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16214 libsrcdir="$$s/libcpp"; \
16215 $(SHELL) $${libsrcdir}/configure \
16216 $(HOST_CONFIGARGS) $${srcdiroption} \
16217 @stage2_werror_flag@
16218 @endif libcpp-bootstrap
16220 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16221 maybe-configure-stagefeedback-libcpp:
16222 @if libcpp-bootstrap
16223 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16224 configure-stagefeedback-libcpp:
16225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16227 @r=`${PWD_COMMAND}`; export r; \
16228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16229 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16230 $(HOST_EXPORTS) \
16231 $(POSTSTAGE1_HOST_EXPORTS) \
16232 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16234 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16235 case $(srcdir) in \
16236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16237 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16239 esac; \
16240 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16241 libsrcdir="$$s/libcpp"; \
16242 $(SHELL) $${libsrcdir}/configure \
16243 $(HOST_CONFIGARGS) $${srcdiroption} \
16244 @stage2_werror_flag@
16245 @endif libcpp-bootstrap
16251 .PHONY: all-libcpp maybe-all-libcpp
16252 maybe-all-libcpp:
16253 @if libcpp
16254 TARGET-libcpp=all
16255 maybe-all-libcpp: all-libcpp
16256 all-libcpp: configure-libcpp
16257 @endif libcpp
16258 @if libcpp-bootstrap
16259 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16260 @endif libcpp-bootstrap
16261 @if libcpp
16262 @r=`${PWD_COMMAND}`; export r; \
16263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16264 $(HOST_EXPORTS) \
16265 (cd $(HOST_SUBDIR)/libcpp && \
16266 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16267 @endif libcpp
16271 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16272 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16273 maybe-all-stage1-libcpp:
16274 maybe-clean-stage1-libcpp:
16275 @if libcpp-bootstrap
16276 maybe-all-stage1-libcpp: all-stage1-libcpp
16277 all-stage1: all-stage1-libcpp
16278 TARGET-stage1-libcpp = $(TARGET-libcpp)
16279 all-stage1-libcpp: configure-stage1-libcpp
16280 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16281 @r=`${PWD_COMMAND}`; export r; \
16282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16283 $(HOST_EXPORTS) \
16284 cd $(HOST_SUBDIR)/libcpp && \
16285 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16286 $(TARGET-stage1-libcpp)
16288 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16289 clean-stage1: clean-stage1-libcpp
16290 clean-stage1-libcpp:
16291 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16292 || exit 0 ; \
16293 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16294 cd $(HOST_SUBDIR)/libcpp && \
16295 $(MAKE) $(FLAGS_TO_PASS) \
16296 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16297 @endif libcpp-bootstrap
16300 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16301 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16302 maybe-all-stage2-libcpp:
16303 maybe-clean-stage2-libcpp:
16304 @if libcpp-bootstrap
16305 maybe-all-stage2-libcpp: all-stage2-libcpp
16306 all-stage2: all-stage2-libcpp
16307 TARGET-stage2-libcpp = $(TARGET-libcpp)
16308 all-stage2-libcpp: configure-stage2-libcpp
16309 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16310 @r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16312 $(HOST_EXPORTS) \
16313 $(POSTSTAGE1_HOST_EXPORTS) \
16314 cd $(HOST_SUBDIR)/libcpp && \
16315 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16316 $(TARGET-stage2-libcpp)
16318 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16319 clean-stage2: clean-stage2-libcpp
16320 clean-stage2-libcpp:
16321 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16322 || exit 0 ; \
16323 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16324 cd $(HOST_SUBDIR)/libcpp && \
16325 $(MAKE) $(FLAGS_TO_PASS) \
16326 $(POSTSTAGE1_FLAGS_TO_PASS) \
16327 clean
16328 @endif libcpp-bootstrap
16331 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16332 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16333 maybe-all-stage3-libcpp:
16334 maybe-clean-stage3-libcpp:
16335 @if libcpp-bootstrap
16336 maybe-all-stage3-libcpp: all-stage3-libcpp
16337 all-stage3: all-stage3-libcpp
16338 TARGET-stage3-libcpp = $(TARGET-libcpp)
16339 all-stage3-libcpp: configure-stage3-libcpp
16340 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16341 @r=`${PWD_COMMAND}`; export r; \
16342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 $(HOST_EXPORTS) \
16344 $(POSTSTAGE1_HOST_EXPORTS) \
16345 cd $(HOST_SUBDIR)/libcpp && \
16346 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16347 $(TARGET-stage3-libcpp)
16349 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16350 clean-stage3: clean-stage3-libcpp
16351 clean-stage3-libcpp:
16352 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16353 || exit 0 ; \
16354 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16355 cd $(HOST_SUBDIR)/libcpp && \
16356 $(MAKE) $(FLAGS_TO_PASS) \
16357 $(POSTSTAGE1_FLAGS_TO_PASS) \
16358 clean
16359 @endif libcpp-bootstrap
16362 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16363 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16364 maybe-all-stage4-libcpp:
16365 maybe-clean-stage4-libcpp:
16366 @if libcpp-bootstrap
16367 maybe-all-stage4-libcpp: all-stage4-libcpp
16368 all-stage4: all-stage4-libcpp
16369 TARGET-stage4-libcpp = $(TARGET-libcpp)
16370 all-stage4-libcpp: configure-stage4-libcpp
16371 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16372 @r=`${PWD_COMMAND}`; export r; \
16373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16374 $(HOST_EXPORTS) \
16375 $(POSTSTAGE1_HOST_EXPORTS) \
16376 cd $(HOST_SUBDIR)/libcpp && \
16377 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16378 $(TARGET-stage4-libcpp)
16380 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16381 clean-stage4: clean-stage4-libcpp
16382 clean-stage4-libcpp:
16383 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16384 || exit 0 ; \
16385 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16386 cd $(HOST_SUBDIR)/libcpp && \
16387 $(MAKE) $(FLAGS_TO_PASS) \
16388 $(POSTSTAGE1_FLAGS_TO_PASS) \
16389 clean
16390 @endif libcpp-bootstrap
16393 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16394 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16395 maybe-all-stageprofile-libcpp:
16396 maybe-clean-stageprofile-libcpp:
16397 @if libcpp-bootstrap
16398 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16399 all-stageprofile: all-stageprofile-libcpp
16400 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16401 all-stageprofile-libcpp: configure-stageprofile-libcpp
16402 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16403 @r=`${PWD_COMMAND}`; export r; \
16404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16405 $(HOST_EXPORTS) \
16406 $(POSTSTAGE1_HOST_EXPORTS) \
16407 cd $(HOST_SUBDIR)/libcpp && \
16408 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16409 $(TARGET-stageprofile-libcpp)
16411 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16412 clean-stageprofile: clean-stageprofile-libcpp
16413 clean-stageprofile-libcpp:
16414 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16415 || exit 0 ; \
16416 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16417 cd $(HOST_SUBDIR)/libcpp && \
16418 $(MAKE) $(FLAGS_TO_PASS) \
16419 $(POSTSTAGE1_FLAGS_TO_PASS) \
16420 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16421 @endif libcpp-bootstrap
16424 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16425 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16426 maybe-all-stagefeedback-libcpp:
16427 maybe-clean-stagefeedback-libcpp:
16428 @if libcpp-bootstrap
16429 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16430 all-stagefeedback: all-stagefeedback-libcpp
16431 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16432 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16434 @r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16436 $(HOST_EXPORTS) \
16437 $(POSTSTAGE1_HOST_EXPORTS) \
16438 cd $(HOST_SUBDIR)/libcpp && \
16439 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16440 $(TARGET-stagefeedback-libcpp)
16442 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16443 clean-stagefeedback: clean-stagefeedback-libcpp
16444 clean-stagefeedback-libcpp:
16445 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16446 || exit 0 ; \
16447 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16448 cd $(HOST_SUBDIR)/libcpp && \
16449 $(MAKE) $(FLAGS_TO_PASS) \
16450 $(POSTSTAGE1_FLAGS_TO_PASS) \
16451 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16452 @endif libcpp-bootstrap
16458 .PHONY: check-libcpp maybe-check-libcpp
16459 maybe-check-libcpp:
16460 @if libcpp
16461 maybe-check-libcpp: check-libcpp
16463 check-libcpp:
16464 @: $(MAKE); $(unstage)
16465 @r=`${PWD_COMMAND}`; export r; \
16466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16467 $(HOST_EXPORTS) \
16468 (cd $(HOST_SUBDIR)/libcpp && \
16469 $(MAKE) $(FLAGS_TO_PASS) check)
16471 @endif libcpp
16473 .PHONY: install-libcpp maybe-install-libcpp
16474 maybe-install-libcpp:
16475 @if libcpp
16476 maybe-install-libcpp: install-libcpp
16478 install-libcpp: installdirs
16479 @: $(MAKE); $(unstage)
16480 @r=`${PWD_COMMAND}`; export r; \
16481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16482 $(HOST_EXPORTS) \
16483 (cd $(HOST_SUBDIR)/libcpp && \
16484 $(MAKE) $(FLAGS_TO_PASS) install)
16486 @endif libcpp
16488 # Other targets (info, dvi, etc.)
16490 .PHONY: maybe-info-libcpp info-libcpp
16491 maybe-info-libcpp:
16492 @if libcpp
16493 maybe-info-libcpp: info-libcpp
16495 info-libcpp: \
16496 configure-libcpp
16497 @[ -f ./libcpp/Makefile ] || exit 0; \
16498 r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16500 $(HOST_EXPORTS) \
16501 for flag in $(EXTRA_HOST_FLAGS) ; do \
16502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16503 done; \
16504 echo "Doing info in libcpp" ; \
16505 (cd $(HOST_SUBDIR)/libcpp && \
16506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16508 "RANLIB=$${RANLIB}" \
16509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16510 info) \
16511 || exit 1
16513 @endif libcpp
16515 .PHONY: maybe-dvi-libcpp dvi-libcpp
16516 maybe-dvi-libcpp:
16517 @if libcpp
16518 maybe-dvi-libcpp: dvi-libcpp
16520 dvi-libcpp: \
16521 configure-libcpp
16522 @[ -f ./libcpp/Makefile ] || exit 0; \
16523 r=`${PWD_COMMAND}`; export r; \
16524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16525 $(HOST_EXPORTS) \
16526 for flag in $(EXTRA_HOST_FLAGS) ; do \
16527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16528 done; \
16529 echo "Doing dvi in libcpp" ; \
16530 (cd $(HOST_SUBDIR)/libcpp && \
16531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16533 "RANLIB=$${RANLIB}" \
16534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16535 dvi) \
16536 || exit 1
16538 @endif libcpp
16540 .PHONY: maybe-html-libcpp html-libcpp
16541 maybe-html-libcpp:
16542 @if libcpp
16543 maybe-html-libcpp: html-libcpp
16545 html-libcpp: \
16546 configure-libcpp
16547 @[ -f ./libcpp/Makefile ] || exit 0; \
16548 r=`${PWD_COMMAND}`; export r; \
16549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16550 $(HOST_EXPORTS) \
16551 for flag in $(EXTRA_HOST_FLAGS) ; do \
16552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16553 done; \
16554 echo "Doing html in libcpp" ; \
16555 (cd $(HOST_SUBDIR)/libcpp && \
16556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16558 "RANLIB=$${RANLIB}" \
16559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16560 html) \
16561 || exit 1
16563 @endif libcpp
16565 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16566 maybe-TAGS-libcpp:
16567 @if libcpp
16568 maybe-TAGS-libcpp: TAGS-libcpp
16570 TAGS-libcpp: \
16571 configure-libcpp
16572 @[ -f ./libcpp/Makefile ] || exit 0; \
16573 r=`${PWD_COMMAND}`; export r; \
16574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16575 $(HOST_EXPORTS) \
16576 for flag in $(EXTRA_HOST_FLAGS) ; do \
16577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16578 done; \
16579 echo "Doing TAGS in libcpp" ; \
16580 (cd $(HOST_SUBDIR)/libcpp && \
16581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16583 "RANLIB=$${RANLIB}" \
16584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16585 TAGS) \
16586 || exit 1
16588 @endif libcpp
16590 .PHONY: maybe-install-info-libcpp install-info-libcpp
16591 maybe-install-info-libcpp:
16592 @if libcpp
16593 maybe-install-info-libcpp: install-info-libcpp
16595 install-info-libcpp: \
16596 configure-libcpp \
16597 info-libcpp
16598 @[ -f ./libcpp/Makefile ] || exit 0; \
16599 r=`${PWD_COMMAND}`; export r; \
16600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16601 $(HOST_EXPORTS) \
16602 for flag in $(EXTRA_HOST_FLAGS) ; do \
16603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16604 done; \
16605 echo "Doing install-info in libcpp" ; \
16606 (cd $(HOST_SUBDIR)/libcpp && \
16607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16609 "RANLIB=$${RANLIB}" \
16610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16611 install-info) \
16612 || exit 1
16614 @endif libcpp
16616 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16617 maybe-installcheck-libcpp:
16618 @if libcpp
16619 maybe-installcheck-libcpp: installcheck-libcpp
16621 installcheck-libcpp: \
16622 configure-libcpp
16623 @[ -f ./libcpp/Makefile ] || exit 0; \
16624 r=`${PWD_COMMAND}`; export r; \
16625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16626 $(HOST_EXPORTS) \
16627 for flag in $(EXTRA_HOST_FLAGS) ; do \
16628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16629 done; \
16630 echo "Doing installcheck in libcpp" ; \
16631 (cd $(HOST_SUBDIR)/libcpp && \
16632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16634 "RANLIB=$${RANLIB}" \
16635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16636 installcheck) \
16637 || exit 1
16639 @endif libcpp
16641 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16642 maybe-mostlyclean-libcpp:
16643 @if libcpp
16644 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16646 mostlyclean-libcpp:
16647 @[ -f ./libcpp/Makefile ] || exit 0; \
16648 r=`${PWD_COMMAND}`; export r; \
16649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16650 $(HOST_EXPORTS) \
16651 for flag in $(EXTRA_HOST_FLAGS) ; do \
16652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16653 done; \
16654 echo "Doing mostlyclean in libcpp" ; \
16655 (cd $(HOST_SUBDIR)/libcpp && \
16656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16658 "RANLIB=$${RANLIB}" \
16659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16660 mostlyclean) \
16661 || exit 1
16663 @endif libcpp
16665 .PHONY: maybe-clean-libcpp clean-libcpp
16666 maybe-clean-libcpp:
16667 @if libcpp
16668 maybe-clean-libcpp: clean-libcpp
16670 clean-libcpp:
16671 @[ -f ./libcpp/Makefile ] || exit 0; \
16672 r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 $(HOST_EXPORTS) \
16675 for flag in $(EXTRA_HOST_FLAGS) ; do \
16676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16677 done; \
16678 echo "Doing clean in libcpp" ; \
16679 (cd $(HOST_SUBDIR)/libcpp && \
16680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16682 "RANLIB=$${RANLIB}" \
16683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16684 clean) \
16685 || exit 1
16687 @endif libcpp
16689 .PHONY: maybe-distclean-libcpp distclean-libcpp
16690 maybe-distclean-libcpp:
16691 @if libcpp
16692 maybe-distclean-libcpp: distclean-libcpp
16694 distclean-libcpp:
16695 @[ -f ./libcpp/Makefile ] || exit 0; \
16696 r=`${PWD_COMMAND}`; export r; \
16697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16698 $(HOST_EXPORTS) \
16699 for flag in $(EXTRA_HOST_FLAGS) ; do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16701 done; \
16702 echo "Doing distclean in libcpp" ; \
16703 (cd $(HOST_SUBDIR)/libcpp && \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16708 distclean) \
16709 || exit 1
16711 @endif libcpp
16713 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16714 maybe-maintainer-clean-libcpp:
16715 @if libcpp
16716 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16718 maintainer-clean-libcpp:
16719 @[ -f ./libcpp/Makefile ] || exit 0; \
16720 r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 $(HOST_EXPORTS) \
16723 for flag in $(EXTRA_HOST_FLAGS) ; do \
16724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16725 done; \
16726 echo "Doing maintainer-clean in libcpp" ; \
16727 (cd $(HOST_SUBDIR)/libcpp && \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16730 "RANLIB=$${RANLIB}" \
16731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16732 maintainer-clean) \
16733 || exit 1
16735 @endif libcpp
16739 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16740 maybe-configure-libdecnumber:
16741 @if libdecnumber
16742 maybe-configure-libdecnumber: configure-libdecnumber
16743 configure-libdecnumber:
16744 @endif libdecnumber
16745 @if libdecnumber-bootstrap
16746 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16747 @endif libdecnumber-bootstrap
16748 @if libdecnumber
16749 @r=`${PWD_COMMAND}`; export r; \
16750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16751 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16753 $(HOST_EXPORTS) \
16754 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16755 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16756 case $(srcdir) in \
16757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16758 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16760 esac; \
16761 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16762 libsrcdir="$$s/libdecnumber"; \
16763 $(SHELL) $${libsrcdir}/configure \
16764 $(HOST_CONFIGARGS) $${srcdiroption} \
16765 || exit 1
16766 @endif libdecnumber
16770 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16771 maybe-configure-stage1-libdecnumber:
16772 @if libdecnumber-bootstrap
16773 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16774 configure-stage1-libdecnumber:
16775 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16777 @r=`${PWD_COMMAND}`; export r; \
16778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16779 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16780 $(HOST_EXPORTS) \
16781 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16783 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16784 case $(srcdir) in \
16785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16786 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16788 esac; \
16789 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16790 libsrcdir="$$s/libdecnumber"; \
16791 $(SHELL) $${libsrcdir}/configure \
16792 $(HOST_CONFIGARGS) $${srcdiroption} \
16793 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16794 @endif libdecnumber-bootstrap
16796 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16797 maybe-configure-stage2-libdecnumber:
16798 @if libdecnumber-bootstrap
16799 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16800 configure-stage2-libdecnumber:
16801 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16803 @r=`${PWD_COMMAND}`; export r; \
16804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16805 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16806 $(HOST_EXPORTS) \
16807 $(POSTSTAGE1_HOST_EXPORTS) \
16808 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16810 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16811 case $(srcdir) in \
16812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16813 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16815 esac; \
16816 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16817 libsrcdir="$$s/libdecnumber"; \
16818 $(SHELL) $${libsrcdir}/configure \
16819 $(HOST_CONFIGARGS) $${srcdiroption} \
16820 @stage2_werror_flag@
16821 @endif libdecnumber-bootstrap
16823 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16824 maybe-configure-stage3-libdecnumber:
16825 @if libdecnumber-bootstrap
16826 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16827 configure-stage3-libdecnumber:
16828 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16830 @r=`${PWD_COMMAND}`; export r; \
16831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16832 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16833 $(HOST_EXPORTS) \
16834 $(POSTSTAGE1_HOST_EXPORTS) \
16835 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16837 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16838 case $(srcdir) in \
16839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16840 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16842 esac; \
16843 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16844 libsrcdir="$$s/libdecnumber"; \
16845 $(SHELL) $${libsrcdir}/configure \
16846 $(HOST_CONFIGARGS) $${srcdiroption} \
16847 @stage2_werror_flag@
16848 @endif libdecnumber-bootstrap
16850 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16851 maybe-configure-stage4-libdecnumber:
16852 @if libdecnumber-bootstrap
16853 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16854 configure-stage4-libdecnumber:
16855 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16856 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16857 @r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16860 $(HOST_EXPORTS) \
16861 $(POSTSTAGE1_HOST_EXPORTS) \
16862 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16864 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16865 case $(srcdir) in \
16866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16867 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16869 esac; \
16870 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16871 libsrcdir="$$s/libdecnumber"; \
16872 $(SHELL) $${libsrcdir}/configure \
16873 $(HOST_CONFIGARGS) $${srcdiroption} \
16874 @stage2_werror_flag@
16875 @endif libdecnumber-bootstrap
16877 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16878 maybe-configure-stageprofile-libdecnumber:
16879 @if libdecnumber-bootstrap
16880 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16881 configure-stageprofile-libdecnumber:
16882 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16884 @r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16886 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16887 $(HOST_EXPORTS) \
16888 $(POSTSTAGE1_HOST_EXPORTS) \
16889 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16891 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16892 case $(srcdir) in \
16893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16894 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16896 esac; \
16897 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16898 libsrcdir="$$s/libdecnumber"; \
16899 $(SHELL) $${libsrcdir}/configure \
16900 $(HOST_CONFIGARGS) $${srcdiroption} \
16901 @stage2_werror_flag@
16902 @endif libdecnumber-bootstrap
16904 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16905 maybe-configure-stagefeedback-libdecnumber:
16906 @if libdecnumber-bootstrap
16907 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16908 configure-stagefeedback-libdecnumber:
16909 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16911 @r=`${PWD_COMMAND}`; export r; \
16912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16913 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16914 $(HOST_EXPORTS) \
16915 $(POSTSTAGE1_HOST_EXPORTS) \
16916 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16918 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16919 case $(srcdir) in \
16920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16921 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16923 esac; \
16924 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16925 libsrcdir="$$s/libdecnumber"; \
16926 $(SHELL) $${libsrcdir}/configure \
16927 $(HOST_CONFIGARGS) $${srcdiroption} \
16928 @stage2_werror_flag@
16929 @endif libdecnumber-bootstrap
16935 .PHONY: all-libdecnumber maybe-all-libdecnumber
16936 maybe-all-libdecnumber:
16937 @if libdecnumber
16938 TARGET-libdecnumber=all
16939 maybe-all-libdecnumber: all-libdecnumber
16940 all-libdecnumber: configure-libdecnumber
16941 @endif libdecnumber
16942 @if libdecnumber-bootstrap
16943 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16944 @endif libdecnumber-bootstrap
16945 @if libdecnumber
16946 @r=`${PWD_COMMAND}`; export r; \
16947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 $(HOST_EXPORTS) \
16949 (cd $(HOST_SUBDIR)/libdecnumber && \
16950 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16951 @endif libdecnumber
16955 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16956 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16957 maybe-all-stage1-libdecnumber:
16958 maybe-clean-stage1-libdecnumber:
16959 @if libdecnumber-bootstrap
16960 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16961 all-stage1: all-stage1-libdecnumber
16962 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16963 all-stage1-libdecnumber: configure-stage1-libdecnumber
16964 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16965 @r=`${PWD_COMMAND}`; export r; \
16966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16967 $(HOST_EXPORTS) \
16968 cd $(HOST_SUBDIR)/libdecnumber && \
16969 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16970 $(TARGET-stage1-libdecnumber)
16972 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16973 clean-stage1: clean-stage1-libdecnumber
16974 clean-stage1-libdecnumber:
16975 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16976 || exit 0 ; \
16977 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16978 cd $(HOST_SUBDIR)/libdecnumber && \
16979 $(MAKE) $(FLAGS_TO_PASS) \
16980 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16981 @endif libdecnumber-bootstrap
16984 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16985 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16986 maybe-all-stage2-libdecnumber:
16987 maybe-clean-stage2-libdecnumber:
16988 @if libdecnumber-bootstrap
16989 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16990 all-stage2: all-stage2-libdecnumber
16991 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16992 all-stage2-libdecnumber: configure-stage2-libdecnumber
16993 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16994 @r=`${PWD_COMMAND}`; export r; \
16995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16996 $(HOST_EXPORTS) \
16997 $(POSTSTAGE1_HOST_EXPORTS) \
16998 cd $(HOST_SUBDIR)/libdecnumber && \
16999 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17000 $(TARGET-stage2-libdecnumber)
17002 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
17003 clean-stage2: clean-stage2-libdecnumber
17004 clean-stage2-libdecnumber:
17005 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
17006 || exit 0 ; \
17007 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17008 cd $(HOST_SUBDIR)/libdecnumber && \
17009 $(MAKE) $(FLAGS_TO_PASS) \
17010 $(POSTSTAGE1_FLAGS_TO_PASS) \
17011 clean
17012 @endif libdecnumber-bootstrap
17015 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
17016 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
17017 maybe-all-stage3-libdecnumber:
17018 maybe-clean-stage3-libdecnumber:
17019 @if libdecnumber-bootstrap
17020 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
17021 all-stage3: all-stage3-libdecnumber
17022 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
17023 all-stage3-libdecnumber: configure-stage3-libdecnumber
17024 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17025 @r=`${PWD_COMMAND}`; export r; \
17026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17027 $(HOST_EXPORTS) \
17028 $(POSTSTAGE1_HOST_EXPORTS) \
17029 cd $(HOST_SUBDIR)/libdecnumber && \
17030 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17031 $(TARGET-stage3-libdecnumber)
17033 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
17034 clean-stage3: clean-stage3-libdecnumber
17035 clean-stage3-libdecnumber:
17036 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
17037 || exit 0 ; \
17038 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17039 cd $(HOST_SUBDIR)/libdecnumber && \
17040 $(MAKE) $(FLAGS_TO_PASS) \
17041 $(POSTSTAGE1_FLAGS_TO_PASS) \
17042 clean
17043 @endif libdecnumber-bootstrap
17046 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
17047 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
17048 maybe-all-stage4-libdecnumber:
17049 maybe-clean-stage4-libdecnumber:
17050 @if libdecnumber-bootstrap
17051 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
17052 all-stage4: all-stage4-libdecnumber
17053 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
17054 all-stage4-libdecnumber: configure-stage4-libdecnumber
17055 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17056 @r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058 $(HOST_EXPORTS) \
17059 $(POSTSTAGE1_HOST_EXPORTS) \
17060 cd $(HOST_SUBDIR)/libdecnumber && \
17061 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17062 $(TARGET-stage4-libdecnumber)
17064 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
17065 clean-stage4: clean-stage4-libdecnumber
17066 clean-stage4-libdecnumber:
17067 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
17068 || exit 0 ; \
17069 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17070 cd $(HOST_SUBDIR)/libdecnumber && \
17071 $(MAKE) $(FLAGS_TO_PASS) \
17072 $(POSTSTAGE1_FLAGS_TO_PASS) \
17073 clean
17074 @endif libdecnumber-bootstrap
17077 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
17078 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
17079 maybe-all-stageprofile-libdecnumber:
17080 maybe-clean-stageprofile-libdecnumber:
17081 @if libdecnumber-bootstrap
17082 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
17083 all-stageprofile: all-stageprofile-libdecnumber
17084 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
17085 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17086 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17087 @r=`${PWD_COMMAND}`; export r; \
17088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17089 $(HOST_EXPORTS) \
17090 $(POSTSTAGE1_HOST_EXPORTS) \
17091 cd $(HOST_SUBDIR)/libdecnumber && \
17092 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17093 $(TARGET-stageprofile-libdecnumber)
17095 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
17096 clean-stageprofile: clean-stageprofile-libdecnumber
17097 clean-stageprofile-libdecnumber:
17098 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
17099 || exit 0 ; \
17100 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17101 cd $(HOST_SUBDIR)/libdecnumber && \
17102 $(MAKE) $(FLAGS_TO_PASS) \
17103 $(POSTSTAGE1_FLAGS_TO_PASS) \
17104 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17105 @endif libdecnumber-bootstrap
17108 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
17109 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
17110 maybe-all-stagefeedback-libdecnumber:
17111 maybe-clean-stagefeedback-libdecnumber:
17112 @if libdecnumber-bootstrap
17113 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
17114 all-stagefeedback: all-stagefeedback-libdecnumber
17115 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
17116 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17118 @r=`${PWD_COMMAND}`; export r; \
17119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17120 $(HOST_EXPORTS) \
17121 $(POSTSTAGE1_HOST_EXPORTS) \
17122 cd $(HOST_SUBDIR)/libdecnumber && \
17123 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17124 $(TARGET-stagefeedback-libdecnumber)
17126 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
17127 clean-stagefeedback: clean-stagefeedback-libdecnumber
17128 clean-stagefeedback-libdecnumber:
17129 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
17130 || exit 0 ; \
17131 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17132 cd $(HOST_SUBDIR)/libdecnumber && \
17133 $(MAKE) $(FLAGS_TO_PASS) \
17134 $(POSTSTAGE1_FLAGS_TO_PASS) \
17135 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17136 @endif libdecnumber-bootstrap
17142 .PHONY: check-libdecnumber maybe-check-libdecnumber
17143 maybe-check-libdecnumber:
17144 @if libdecnumber
17145 maybe-check-libdecnumber: check-libdecnumber
17147 check-libdecnumber:
17148 @: $(MAKE); $(unstage)
17149 @r=`${PWD_COMMAND}`; export r; \
17150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17151 $(HOST_EXPORTS) \
17152 (cd $(HOST_SUBDIR)/libdecnumber && \
17153 $(MAKE) $(FLAGS_TO_PASS) check)
17155 @endif libdecnumber
17157 .PHONY: install-libdecnumber maybe-install-libdecnumber
17158 maybe-install-libdecnumber:
17159 @if libdecnumber
17160 maybe-install-libdecnumber: install-libdecnumber
17162 install-libdecnumber: installdirs
17163 @: $(MAKE); $(unstage)
17164 @r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17166 $(HOST_EXPORTS) \
17167 (cd $(HOST_SUBDIR)/libdecnumber && \
17168 $(MAKE) $(FLAGS_TO_PASS) install)
17170 @endif libdecnumber
17172 # Other targets (info, dvi, etc.)
17174 .PHONY: maybe-info-libdecnumber info-libdecnumber
17175 maybe-info-libdecnumber:
17176 @if libdecnumber
17177 maybe-info-libdecnumber: info-libdecnumber
17179 info-libdecnumber: \
17180 configure-libdecnumber
17181 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17182 r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(HOST_EXPORTS) \
17185 for flag in $(EXTRA_HOST_FLAGS) ; do \
17186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17187 done; \
17188 echo "Doing info in libdecnumber" ; \
17189 (cd $(HOST_SUBDIR)/libdecnumber && \
17190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17192 "RANLIB=$${RANLIB}" \
17193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17194 info) \
17195 || exit 1
17197 @endif libdecnumber
17199 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
17200 maybe-dvi-libdecnumber:
17201 @if libdecnumber
17202 maybe-dvi-libdecnumber: dvi-libdecnumber
17204 dvi-libdecnumber: \
17205 configure-libdecnumber
17206 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17207 r=`${PWD_COMMAND}`; export r; \
17208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17209 $(HOST_EXPORTS) \
17210 for flag in $(EXTRA_HOST_FLAGS) ; do \
17211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17212 done; \
17213 echo "Doing dvi in libdecnumber" ; \
17214 (cd $(HOST_SUBDIR)/libdecnumber && \
17215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17217 "RANLIB=$${RANLIB}" \
17218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17219 dvi) \
17220 || exit 1
17222 @endif libdecnumber
17224 .PHONY: maybe-html-libdecnumber html-libdecnumber
17225 maybe-html-libdecnumber:
17226 @if libdecnumber
17227 maybe-html-libdecnumber: html-libdecnumber
17229 html-libdecnumber: \
17230 configure-libdecnumber
17231 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17232 r=`${PWD_COMMAND}`; export r; \
17233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17234 $(HOST_EXPORTS) \
17235 for flag in $(EXTRA_HOST_FLAGS) ; do \
17236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17237 done; \
17238 echo "Doing html in libdecnumber" ; \
17239 (cd $(HOST_SUBDIR)/libdecnumber && \
17240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17242 "RANLIB=$${RANLIB}" \
17243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17244 html) \
17245 || exit 1
17247 @endif libdecnumber
17249 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17250 maybe-TAGS-libdecnumber:
17251 @if libdecnumber
17252 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17254 TAGS-libdecnumber: \
17255 configure-libdecnumber
17256 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17257 r=`${PWD_COMMAND}`; export r; \
17258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17259 $(HOST_EXPORTS) \
17260 for flag in $(EXTRA_HOST_FLAGS) ; do \
17261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17262 done; \
17263 echo "Doing TAGS in libdecnumber" ; \
17264 (cd $(HOST_SUBDIR)/libdecnumber && \
17265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17267 "RANLIB=$${RANLIB}" \
17268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17269 TAGS) \
17270 || exit 1
17272 @endif libdecnumber
17274 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17275 maybe-install-info-libdecnumber:
17276 @if libdecnumber
17277 maybe-install-info-libdecnumber: install-info-libdecnumber
17279 install-info-libdecnumber: \
17280 configure-libdecnumber \
17281 info-libdecnumber
17282 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17283 r=`${PWD_COMMAND}`; export r; \
17284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17285 $(HOST_EXPORTS) \
17286 for flag in $(EXTRA_HOST_FLAGS) ; do \
17287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17288 done; \
17289 echo "Doing install-info in libdecnumber" ; \
17290 (cd $(HOST_SUBDIR)/libdecnumber && \
17291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17293 "RANLIB=$${RANLIB}" \
17294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17295 install-info) \
17296 || exit 1
17298 @endif libdecnumber
17300 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17301 maybe-installcheck-libdecnumber:
17302 @if libdecnumber
17303 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17305 installcheck-libdecnumber: \
17306 configure-libdecnumber
17307 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17308 r=`${PWD_COMMAND}`; export r; \
17309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17310 $(HOST_EXPORTS) \
17311 for flag in $(EXTRA_HOST_FLAGS) ; do \
17312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17313 done; \
17314 echo "Doing installcheck in libdecnumber" ; \
17315 (cd $(HOST_SUBDIR)/libdecnumber && \
17316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17318 "RANLIB=$${RANLIB}" \
17319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17320 installcheck) \
17321 || exit 1
17323 @endif libdecnumber
17325 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17326 maybe-mostlyclean-libdecnumber:
17327 @if libdecnumber
17328 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17330 mostlyclean-libdecnumber:
17331 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17332 r=`${PWD_COMMAND}`; export r; \
17333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17334 $(HOST_EXPORTS) \
17335 for flag in $(EXTRA_HOST_FLAGS) ; do \
17336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17337 done; \
17338 echo "Doing mostlyclean in libdecnumber" ; \
17339 (cd $(HOST_SUBDIR)/libdecnumber && \
17340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17342 "RANLIB=$${RANLIB}" \
17343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17344 mostlyclean) \
17345 || exit 1
17347 @endif libdecnumber
17349 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17350 maybe-clean-libdecnumber:
17351 @if libdecnumber
17352 maybe-clean-libdecnumber: clean-libdecnumber
17354 clean-libdecnumber:
17355 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17356 r=`${PWD_COMMAND}`; export r; \
17357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17358 $(HOST_EXPORTS) \
17359 for flag in $(EXTRA_HOST_FLAGS) ; do \
17360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17361 done; \
17362 echo "Doing clean in libdecnumber" ; \
17363 (cd $(HOST_SUBDIR)/libdecnumber && \
17364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17366 "RANLIB=$${RANLIB}" \
17367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17368 clean) \
17369 || exit 1
17371 @endif libdecnumber
17373 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17374 maybe-distclean-libdecnumber:
17375 @if libdecnumber
17376 maybe-distclean-libdecnumber: distclean-libdecnumber
17378 distclean-libdecnumber:
17379 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17380 r=`${PWD_COMMAND}`; export r; \
17381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17382 $(HOST_EXPORTS) \
17383 for flag in $(EXTRA_HOST_FLAGS) ; do \
17384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17385 done; \
17386 echo "Doing distclean in libdecnumber" ; \
17387 (cd $(HOST_SUBDIR)/libdecnumber && \
17388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17390 "RANLIB=$${RANLIB}" \
17391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17392 distclean) \
17393 || exit 1
17395 @endif libdecnumber
17397 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17398 maybe-maintainer-clean-libdecnumber:
17399 @if libdecnumber
17400 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17402 maintainer-clean-libdecnumber:
17403 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17404 r=`${PWD_COMMAND}`; export r; \
17405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17406 $(HOST_EXPORTS) \
17407 for flag in $(EXTRA_HOST_FLAGS) ; do \
17408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17409 done; \
17410 echo "Doing maintainer-clean in libdecnumber" ; \
17411 (cd $(HOST_SUBDIR)/libdecnumber && \
17412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17414 "RANLIB=$${RANLIB}" \
17415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17416 maintainer-clean) \
17417 || exit 1
17419 @endif libdecnumber
17423 .PHONY: configure-libgui maybe-configure-libgui
17424 maybe-configure-libgui:
17425 @if libgui
17426 maybe-configure-libgui: configure-libgui
17427 configure-libgui:
17428 @: $(MAKE); $(unstage)
17429 @r=`${PWD_COMMAND}`; export r; \
17430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17431 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17432 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17433 $(HOST_EXPORTS) \
17434 echo Configuring in $(HOST_SUBDIR)/libgui; \
17435 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17436 case $(srcdir) in \
17437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17438 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17440 esac; \
17441 srcdiroption="--srcdir=$${topdir}/libgui"; \
17442 libsrcdir="$$s/libgui"; \
17443 $(SHELL) $${libsrcdir}/configure \
17444 $(HOST_CONFIGARGS) $${srcdiroption} \
17445 || exit 1
17446 @endif libgui
17452 .PHONY: all-libgui maybe-all-libgui
17453 maybe-all-libgui:
17454 @if libgui
17455 TARGET-libgui=all
17456 maybe-all-libgui: all-libgui
17457 all-libgui: configure-libgui
17458 @: $(MAKE); $(unstage)
17459 @r=`${PWD_COMMAND}`; export r; \
17460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17461 $(HOST_EXPORTS) \
17462 (cd $(HOST_SUBDIR)/libgui && \
17463 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17464 @endif libgui
17469 .PHONY: check-libgui maybe-check-libgui
17470 maybe-check-libgui:
17471 @if libgui
17472 maybe-check-libgui: check-libgui
17474 check-libgui:
17475 @: $(MAKE); $(unstage)
17476 @r=`${PWD_COMMAND}`; export r; \
17477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17478 $(HOST_EXPORTS) \
17479 (cd $(HOST_SUBDIR)/libgui && \
17480 $(MAKE) $(FLAGS_TO_PASS) check)
17482 @endif libgui
17484 .PHONY: install-libgui maybe-install-libgui
17485 maybe-install-libgui:
17486 @if libgui
17487 maybe-install-libgui: install-libgui
17489 install-libgui: installdirs
17490 @: $(MAKE); $(unstage)
17491 @r=`${PWD_COMMAND}`; export r; \
17492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17493 $(HOST_EXPORTS) \
17494 (cd $(HOST_SUBDIR)/libgui && \
17495 $(MAKE) $(FLAGS_TO_PASS) install)
17497 @endif libgui
17499 # Other targets (info, dvi, etc.)
17501 .PHONY: maybe-info-libgui info-libgui
17502 maybe-info-libgui:
17503 @if libgui
17504 maybe-info-libgui: info-libgui
17506 info-libgui: \
17507 configure-libgui
17508 @: $(MAKE); $(unstage)
17509 @[ -f ./libgui/Makefile ] || exit 0; \
17510 r=`${PWD_COMMAND}`; export r; \
17511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17512 $(HOST_EXPORTS) \
17513 for flag in $(EXTRA_HOST_FLAGS) ; do \
17514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17515 done; \
17516 echo "Doing info in libgui" ; \
17517 (cd $(HOST_SUBDIR)/libgui && \
17518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17520 "RANLIB=$${RANLIB}" \
17521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17522 info) \
17523 || exit 1
17525 @endif libgui
17527 .PHONY: maybe-dvi-libgui dvi-libgui
17528 maybe-dvi-libgui:
17529 @if libgui
17530 maybe-dvi-libgui: dvi-libgui
17532 dvi-libgui: \
17533 configure-libgui
17534 @: $(MAKE); $(unstage)
17535 @[ -f ./libgui/Makefile ] || exit 0; \
17536 r=`${PWD_COMMAND}`; export r; \
17537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17538 $(HOST_EXPORTS) \
17539 for flag in $(EXTRA_HOST_FLAGS) ; do \
17540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17541 done; \
17542 echo "Doing dvi in libgui" ; \
17543 (cd $(HOST_SUBDIR)/libgui && \
17544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17546 "RANLIB=$${RANLIB}" \
17547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17548 dvi) \
17549 || exit 1
17551 @endif libgui
17553 .PHONY: maybe-html-libgui html-libgui
17554 maybe-html-libgui:
17555 @if libgui
17556 maybe-html-libgui: html-libgui
17558 html-libgui: \
17559 configure-libgui
17560 @: $(MAKE); $(unstage)
17561 @[ -f ./libgui/Makefile ] || exit 0; \
17562 r=`${PWD_COMMAND}`; export r; \
17563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17564 $(HOST_EXPORTS) \
17565 for flag in $(EXTRA_HOST_FLAGS) ; do \
17566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17567 done; \
17568 echo "Doing html in libgui" ; \
17569 (cd $(HOST_SUBDIR)/libgui && \
17570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17572 "RANLIB=$${RANLIB}" \
17573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17574 html) \
17575 || exit 1
17577 @endif libgui
17579 .PHONY: maybe-TAGS-libgui TAGS-libgui
17580 maybe-TAGS-libgui:
17581 @if libgui
17582 maybe-TAGS-libgui: TAGS-libgui
17584 TAGS-libgui: \
17585 configure-libgui
17586 @: $(MAKE); $(unstage)
17587 @[ -f ./libgui/Makefile ] || exit 0; \
17588 r=`${PWD_COMMAND}`; export r; \
17589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590 $(HOST_EXPORTS) \
17591 for flag in $(EXTRA_HOST_FLAGS) ; do \
17592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17593 done; \
17594 echo "Doing TAGS in libgui" ; \
17595 (cd $(HOST_SUBDIR)/libgui && \
17596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17598 "RANLIB=$${RANLIB}" \
17599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17600 TAGS) \
17601 || exit 1
17603 @endif libgui
17605 .PHONY: maybe-install-info-libgui install-info-libgui
17606 maybe-install-info-libgui:
17607 @if libgui
17608 maybe-install-info-libgui: install-info-libgui
17610 install-info-libgui: \
17611 configure-libgui \
17612 info-libgui
17613 @: $(MAKE); $(unstage)
17614 @[ -f ./libgui/Makefile ] || exit 0; \
17615 r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17617 $(HOST_EXPORTS) \
17618 for flag in $(EXTRA_HOST_FLAGS) ; do \
17619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17620 done; \
17621 echo "Doing install-info in libgui" ; \
17622 (cd $(HOST_SUBDIR)/libgui && \
17623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17625 "RANLIB=$${RANLIB}" \
17626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17627 install-info) \
17628 || exit 1
17630 @endif libgui
17632 .PHONY: maybe-installcheck-libgui installcheck-libgui
17633 maybe-installcheck-libgui:
17634 @if libgui
17635 maybe-installcheck-libgui: installcheck-libgui
17637 installcheck-libgui: \
17638 configure-libgui
17639 @: $(MAKE); $(unstage)
17640 @[ -f ./libgui/Makefile ] || exit 0; \
17641 r=`${PWD_COMMAND}`; export r; \
17642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643 $(HOST_EXPORTS) \
17644 for flag in $(EXTRA_HOST_FLAGS) ; do \
17645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17646 done; \
17647 echo "Doing installcheck in libgui" ; \
17648 (cd $(HOST_SUBDIR)/libgui && \
17649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17651 "RANLIB=$${RANLIB}" \
17652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17653 installcheck) \
17654 || exit 1
17656 @endif libgui
17658 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17659 maybe-mostlyclean-libgui:
17660 @if libgui
17661 maybe-mostlyclean-libgui: mostlyclean-libgui
17663 mostlyclean-libgui:
17664 @: $(MAKE); $(unstage)
17665 @[ -f ./libgui/Makefile ] || exit 0; \
17666 r=`${PWD_COMMAND}`; export r; \
17667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17668 $(HOST_EXPORTS) \
17669 for flag in $(EXTRA_HOST_FLAGS) ; do \
17670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17671 done; \
17672 echo "Doing mostlyclean in libgui" ; \
17673 (cd $(HOST_SUBDIR)/libgui && \
17674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17676 "RANLIB=$${RANLIB}" \
17677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17678 mostlyclean) \
17679 || exit 1
17681 @endif libgui
17683 .PHONY: maybe-clean-libgui clean-libgui
17684 maybe-clean-libgui:
17685 @if libgui
17686 maybe-clean-libgui: clean-libgui
17688 clean-libgui:
17689 @: $(MAKE); $(unstage)
17690 @[ -f ./libgui/Makefile ] || exit 0; \
17691 r=`${PWD_COMMAND}`; export r; \
17692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 $(HOST_EXPORTS) \
17694 for flag in $(EXTRA_HOST_FLAGS) ; do \
17695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17696 done; \
17697 echo "Doing clean in libgui" ; \
17698 (cd $(HOST_SUBDIR)/libgui && \
17699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17701 "RANLIB=$${RANLIB}" \
17702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17703 clean) \
17704 || exit 1
17706 @endif libgui
17708 .PHONY: maybe-distclean-libgui distclean-libgui
17709 maybe-distclean-libgui:
17710 @if libgui
17711 maybe-distclean-libgui: distclean-libgui
17713 distclean-libgui:
17714 @: $(MAKE); $(unstage)
17715 @[ -f ./libgui/Makefile ] || exit 0; \
17716 r=`${PWD_COMMAND}`; export r; \
17717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing distclean in libgui" ; \
17723 (cd $(HOST_SUBDIR)/libgui && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17728 distclean) \
17729 || exit 1
17731 @endif libgui
17733 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17734 maybe-maintainer-clean-libgui:
17735 @if libgui
17736 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17738 maintainer-clean-libgui:
17739 @: $(MAKE); $(unstage)
17740 @[ -f ./libgui/Makefile ] || exit 0; \
17741 r=`${PWD_COMMAND}`; export r; \
17742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 $(HOST_EXPORTS) \
17744 for flag in $(EXTRA_HOST_FLAGS) ; do \
17745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17746 done; \
17747 echo "Doing maintainer-clean in libgui" ; \
17748 (cd $(HOST_SUBDIR)/libgui && \
17749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17751 "RANLIB=$${RANLIB}" \
17752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17753 maintainer-clean) \
17754 || exit 1
17756 @endif libgui
17760 .PHONY: configure-libiberty maybe-configure-libiberty
17761 maybe-configure-libiberty:
17762 @if libiberty
17763 maybe-configure-libiberty: configure-libiberty
17764 configure-libiberty:
17765 @endif libiberty
17766 @if libiberty-bootstrap
17767 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17768 @endif libiberty-bootstrap
17769 @if libiberty
17770 @r=`${PWD_COMMAND}`; export r; \
17771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17772 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17774 $(HOST_EXPORTS) \
17775 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17776 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17777 case $(srcdir) in \
17778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17779 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17781 esac; \
17782 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17783 libsrcdir="$$s/libiberty"; \
17784 $(SHELL) $${libsrcdir}/configure \
17785 $(HOST_CONFIGARGS) $${srcdiroption} \
17786 || exit 1
17787 @endif libiberty
17791 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17792 maybe-configure-stage1-libiberty:
17793 @if libiberty-bootstrap
17794 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17795 configure-stage1-libiberty:
17796 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17798 @r=`${PWD_COMMAND}`; export r; \
17799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17800 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17801 $(HOST_EXPORTS) \
17802 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17804 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17805 case $(srcdir) in \
17806 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17807 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17808 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17809 esac; \
17810 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17811 libsrcdir="$$s/libiberty"; \
17812 $(SHELL) $${libsrcdir}/configure \
17813 $(HOST_CONFIGARGS) $${srcdiroption} \
17814 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17815 @endif libiberty-bootstrap
17817 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17818 maybe-configure-stage2-libiberty:
17819 @if libiberty-bootstrap
17820 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17821 configure-stage2-libiberty:
17822 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17824 @r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17827 $(HOST_EXPORTS) \
17828 $(POSTSTAGE1_HOST_EXPORTS) \
17829 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17831 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17832 case $(srcdir) in \
17833 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17834 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17835 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17836 esac; \
17837 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17838 libsrcdir="$$s/libiberty"; \
17839 $(SHELL) $${libsrcdir}/configure \
17840 $(HOST_CONFIGARGS) $${srcdiroption} \
17841 @stage2_werror_flag@
17842 @endif libiberty-bootstrap
17844 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17845 maybe-configure-stage3-libiberty:
17846 @if libiberty-bootstrap
17847 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17848 configure-stage3-libiberty:
17849 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17851 @r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17854 $(HOST_EXPORTS) \
17855 $(POSTSTAGE1_HOST_EXPORTS) \
17856 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17858 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17859 case $(srcdir) in \
17860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17861 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17863 esac; \
17864 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17865 libsrcdir="$$s/libiberty"; \
17866 $(SHELL) $${libsrcdir}/configure \
17867 $(HOST_CONFIGARGS) $${srcdiroption} \
17868 @stage2_werror_flag@
17869 @endif libiberty-bootstrap
17871 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17872 maybe-configure-stage4-libiberty:
17873 @if libiberty-bootstrap
17874 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17875 configure-stage4-libiberty:
17876 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17877 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17878 @r=`${PWD_COMMAND}`; export r; \
17879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17880 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17881 $(HOST_EXPORTS) \
17882 $(POSTSTAGE1_HOST_EXPORTS) \
17883 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17884 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17885 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17886 case $(srcdir) in \
17887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17888 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17890 esac; \
17891 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17892 libsrcdir="$$s/libiberty"; \
17893 $(SHELL) $${libsrcdir}/configure \
17894 $(HOST_CONFIGARGS) $${srcdiroption} \
17895 @stage2_werror_flag@
17896 @endif libiberty-bootstrap
17898 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17899 maybe-configure-stageprofile-libiberty:
17900 @if libiberty-bootstrap
17901 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17902 configure-stageprofile-libiberty:
17903 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17904 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17905 @r=`${PWD_COMMAND}`; export r; \
17906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17907 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17908 $(HOST_EXPORTS) \
17909 $(POSTSTAGE1_HOST_EXPORTS) \
17910 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17912 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17913 case $(srcdir) in \
17914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17915 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17917 esac; \
17918 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17919 libsrcdir="$$s/libiberty"; \
17920 $(SHELL) $${libsrcdir}/configure \
17921 $(HOST_CONFIGARGS) $${srcdiroption} \
17922 @stage2_werror_flag@
17923 @endif libiberty-bootstrap
17925 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17926 maybe-configure-stagefeedback-libiberty:
17927 @if libiberty-bootstrap
17928 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17929 configure-stagefeedback-libiberty:
17930 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17932 @r=`${PWD_COMMAND}`; export r; \
17933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17935 $(HOST_EXPORTS) \
17936 $(POSTSTAGE1_HOST_EXPORTS) \
17937 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17939 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17940 case $(srcdir) in \
17941 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17942 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17943 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17944 esac; \
17945 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17946 libsrcdir="$$s/libiberty"; \
17947 $(SHELL) $${libsrcdir}/configure \
17948 $(HOST_CONFIGARGS) $${srcdiroption} \
17949 @stage2_werror_flag@
17950 @endif libiberty-bootstrap
17956 .PHONY: all-libiberty maybe-all-libiberty
17957 maybe-all-libiberty:
17958 @if libiberty
17959 TARGET-libiberty=all
17960 maybe-all-libiberty: all-libiberty
17961 all-libiberty: configure-libiberty
17962 @endif libiberty
17963 @if libiberty-bootstrap
17964 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17965 @endif libiberty-bootstrap
17966 @if libiberty
17967 @r=`${PWD_COMMAND}`; export r; \
17968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 $(HOST_EXPORTS) \
17970 (cd $(HOST_SUBDIR)/libiberty && \
17971 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17972 @endif libiberty
17976 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17977 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17978 maybe-all-stage1-libiberty:
17979 maybe-clean-stage1-libiberty:
17980 @if libiberty-bootstrap
17981 maybe-all-stage1-libiberty: all-stage1-libiberty
17982 all-stage1: all-stage1-libiberty
17983 TARGET-stage1-libiberty = $(TARGET-libiberty)
17984 all-stage1-libiberty: configure-stage1-libiberty
17985 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17986 @r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988 $(HOST_EXPORTS) \
17989 cd $(HOST_SUBDIR)/libiberty && \
17990 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17991 $(TARGET-stage1-libiberty)
17993 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17994 clean-stage1: clean-stage1-libiberty
17995 clean-stage1-libiberty:
17996 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17997 || exit 0 ; \
17998 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17999 cd $(HOST_SUBDIR)/libiberty && \
18000 $(MAKE) $(FLAGS_TO_PASS) \
18001 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18002 @endif libiberty-bootstrap
18005 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
18006 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
18007 maybe-all-stage2-libiberty:
18008 maybe-clean-stage2-libiberty:
18009 @if libiberty-bootstrap
18010 maybe-all-stage2-libiberty: all-stage2-libiberty
18011 all-stage2: all-stage2-libiberty
18012 TARGET-stage2-libiberty = $(TARGET-libiberty)
18013 all-stage2-libiberty: configure-stage2-libiberty
18014 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18015 @r=`${PWD_COMMAND}`; export r; \
18016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18017 $(HOST_EXPORTS) \
18018 $(POSTSTAGE1_HOST_EXPORTS) \
18019 cd $(HOST_SUBDIR)/libiberty && \
18020 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18021 $(TARGET-stage2-libiberty)
18023 maybe-clean-stage2-libiberty: clean-stage2-libiberty
18024 clean-stage2: clean-stage2-libiberty
18025 clean-stage2-libiberty:
18026 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
18027 || exit 0 ; \
18028 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18029 cd $(HOST_SUBDIR)/libiberty && \
18030 $(MAKE) $(FLAGS_TO_PASS) \
18031 $(POSTSTAGE1_FLAGS_TO_PASS) \
18032 clean
18033 @endif libiberty-bootstrap
18036 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
18037 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
18038 maybe-all-stage3-libiberty:
18039 maybe-clean-stage3-libiberty:
18040 @if libiberty-bootstrap
18041 maybe-all-stage3-libiberty: all-stage3-libiberty
18042 all-stage3: all-stage3-libiberty
18043 TARGET-stage3-libiberty = $(TARGET-libiberty)
18044 all-stage3-libiberty: configure-stage3-libiberty
18045 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18046 @r=`${PWD_COMMAND}`; export r; \
18047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18048 $(HOST_EXPORTS) \
18049 $(POSTSTAGE1_HOST_EXPORTS) \
18050 cd $(HOST_SUBDIR)/libiberty && \
18051 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18052 $(TARGET-stage3-libiberty)
18054 maybe-clean-stage3-libiberty: clean-stage3-libiberty
18055 clean-stage3: clean-stage3-libiberty
18056 clean-stage3-libiberty:
18057 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
18058 || exit 0 ; \
18059 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18060 cd $(HOST_SUBDIR)/libiberty && \
18061 $(MAKE) $(FLAGS_TO_PASS) \
18062 $(POSTSTAGE1_FLAGS_TO_PASS) \
18063 clean
18064 @endif libiberty-bootstrap
18067 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
18068 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
18069 maybe-all-stage4-libiberty:
18070 maybe-clean-stage4-libiberty:
18071 @if libiberty-bootstrap
18072 maybe-all-stage4-libiberty: all-stage4-libiberty
18073 all-stage4: all-stage4-libiberty
18074 TARGET-stage4-libiberty = $(TARGET-libiberty)
18075 all-stage4-libiberty: configure-stage4-libiberty
18076 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18077 @r=`${PWD_COMMAND}`; export r; \
18078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18079 $(HOST_EXPORTS) \
18080 $(POSTSTAGE1_HOST_EXPORTS) \
18081 cd $(HOST_SUBDIR)/libiberty && \
18082 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18083 $(TARGET-stage4-libiberty)
18085 maybe-clean-stage4-libiberty: clean-stage4-libiberty
18086 clean-stage4: clean-stage4-libiberty
18087 clean-stage4-libiberty:
18088 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
18089 || exit 0 ; \
18090 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18091 cd $(HOST_SUBDIR)/libiberty && \
18092 $(MAKE) $(FLAGS_TO_PASS) \
18093 $(POSTSTAGE1_FLAGS_TO_PASS) \
18094 clean
18095 @endif libiberty-bootstrap
18098 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
18099 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
18100 maybe-all-stageprofile-libiberty:
18101 maybe-clean-stageprofile-libiberty:
18102 @if libiberty-bootstrap
18103 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
18104 all-stageprofile: all-stageprofile-libiberty
18105 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
18106 all-stageprofile-libiberty: configure-stageprofile-libiberty
18107 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18108 @r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18110 $(HOST_EXPORTS) \
18111 $(POSTSTAGE1_HOST_EXPORTS) \
18112 cd $(HOST_SUBDIR)/libiberty && \
18113 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18114 $(TARGET-stageprofile-libiberty)
18116 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
18117 clean-stageprofile: clean-stageprofile-libiberty
18118 clean-stageprofile-libiberty:
18119 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
18120 || exit 0 ; \
18121 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18122 cd $(HOST_SUBDIR)/libiberty && \
18123 $(MAKE) $(FLAGS_TO_PASS) \
18124 $(POSTSTAGE1_FLAGS_TO_PASS) \
18125 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18126 @endif libiberty-bootstrap
18129 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
18130 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
18131 maybe-all-stagefeedback-libiberty:
18132 maybe-clean-stagefeedback-libiberty:
18133 @if libiberty-bootstrap
18134 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
18135 all-stagefeedback: all-stagefeedback-libiberty
18136 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
18137 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
18138 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18139 @r=`${PWD_COMMAND}`; export r; \
18140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18141 $(HOST_EXPORTS) \
18142 $(POSTSTAGE1_HOST_EXPORTS) \
18143 cd $(HOST_SUBDIR)/libiberty && \
18144 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18145 $(TARGET-stagefeedback-libiberty)
18147 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
18148 clean-stagefeedback: clean-stagefeedback-libiberty
18149 clean-stagefeedback-libiberty:
18150 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
18151 || exit 0 ; \
18152 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18153 cd $(HOST_SUBDIR)/libiberty && \
18154 $(MAKE) $(FLAGS_TO_PASS) \
18155 $(POSTSTAGE1_FLAGS_TO_PASS) \
18156 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18157 @endif libiberty-bootstrap
18163 .PHONY: check-libiberty maybe-check-libiberty
18164 maybe-check-libiberty:
18165 @if libiberty
18166 maybe-check-libiberty: check-libiberty
18168 check-libiberty:
18169 @: $(MAKE); $(unstage)
18170 @r=`${PWD_COMMAND}`; export r; \
18171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 $(HOST_EXPORTS) \
18173 (cd $(HOST_SUBDIR)/libiberty && \
18174 $(MAKE) $(FLAGS_TO_PASS) check)
18176 @endif libiberty
18178 .PHONY: install-libiberty maybe-install-libiberty
18179 maybe-install-libiberty:
18180 @if libiberty
18181 maybe-install-libiberty: install-libiberty
18183 install-libiberty: installdirs
18184 @: $(MAKE); $(unstage)
18185 @r=`${PWD_COMMAND}`; export r; \
18186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18187 $(HOST_EXPORTS) \
18188 (cd $(HOST_SUBDIR)/libiberty && \
18189 $(MAKE) $(FLAGS_TO_PASS) install)
18191 @endif libiberty
18193 # Other targets (info, dvi, etc.)
18195 .PHONY: maybe-info-libiberty info-libiberty
18196 maybe-info-libiberty:
18197 @if libiberty
18198 maybe-info-libiberty: info-libiberty
18200 info-libiberty: \
18201 configure-libiberty
18202 @[ -f ./libiberty/Makefile ] || exit 0; \
18203 r=`${PWD_COMMAND}`; export r; \
18204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18205 $(HOST_EXPORTS) \
18206 for flag in $(EXTRA_HOST_FLAGS) ; do \
18207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18208 done; \
18209 echo "Doing info in libiberty" ; \
18210 (cd $(HOST_SUBDIR)/libiberty && \
18211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18213 "RANLIB=$${RANLIB}" \
18214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18215 info) \
18216 || exit 1
18218 @endif libiberty
18220 .PHONY: maybe-dvi-libiberty dvi-libiberty
18221 maybe-dvi-libiberty:
18222 @if libiberty
18223 maybe-dvi-libiberty: dvi-libiberty
18225 dvi-libiberty: \
18226 configure-libiberty
18227 @[ -f ./libiberty/Makefile ] || exit 0; \
18228 r=`${PWD_COMMAND}`; export r; \
18229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18230 $(HOST_EXPORTS) \
18231 for flag in $(EXTRA_HOST_FLAGS) ; do \
18232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18233 done; \
18234 echo "Doing dvi in libiberty" ; \
18235 (cd $(HOST_SUBDIR)/libiberty && \
18236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18238 "RANLIB=$${RANLIB}" \
18239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18240 dvi) \
18241 || exit 1
18243 @endif libiberty
18245 .PHONY: maybe-html-libiberty html-libiberty
18246 maybe-html-libiberty:
18247 @if libiberty
18248 maybe-html-libiberty: html-libiberty
18250 html-libiberty: \
18251 configure-libiberty
18252 @[ -f ./libiberty/Makefile ] || exit 0; \
18253 r=`${PWD_COMMAND}`; export r; \
18254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18255 $(HOST_EXPORTS) \
18256 for flag in $(EXTRA_HOST_FLAGS) ; do \
18257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18258 done; \
18259 echo "Doing html in libiberty" ; \
18260 (cd $(HOST_SUBDIR)/libiberty && \
18261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18263 "RANLIB=$${RANLIB}" \
18264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18265 html) \
18266 || exit 1
18268 @endif libiberty
18270 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18271 maybe-TAGS-libiberty:
18272 @if libiberty
18273 maybe-TAGS-libiberty: TAGS-libiberty
18275 TAGS-libiberty: \
18276 configure-libiberty
18277 @[ -f ./libiberty/Makefile ] || exit 0; \
18278 r=`${PWD_COMMAND}`; export r; \
18279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18280 $(HOST_EXPORTS) \
18281 for flag in $(EXTRA_HOST_FLAGS) ; do \
18282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18283 done; \
18284 echo "Doing TAGS in libiberty" ; \
18285 (cd $(HOST_SUBDIR)/libiberty && \
18286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18288 "RANLIB=$${RANLIB}" \
18289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18290 TAGS) \
18291 || exit 1
18293 @endif libiberty
18295 .PHONY: maybe-install-info-libiberty install-info-libiberty
18296 maybe-install-info-libiberty:
18297 @if libiberty
18298 maybe-install-info-libiberty: install-info-libiberty
18300 install-info-libiberty: \
18301 configure-libiberty \
18302 info-libiberty
18303 @[ -f ./libiberty/Makefile ] || exit 0; \
18304 r=`${PWD_COMMAND}`; export r; \
18305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18306 $(HOST_EXPORTS) \
18307 for flag in $(EXTRA_HOST_FLAGS) ; do \
18308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18309 done; \
18310 echo "Doing install-info in libiberty" ; \
18311 (cd $(HOST_SUBDIR)/libiberty && \
18312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18314 "RANLIB=$${RANLIB}" \
18315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18316 install-info) \
18317 || exit 1
18319 @endif libiberty
18321 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18322 maybe-installcheck-libiberty:
18323 @if libiberty
18324 maybe-installcheck-libiberty: installcheck-libiberty
18326 installcheck-libiberty: \
18327 configure-libiberty
18328 @[ -f ./libiberty/Makefile ] || exit 0; \
18329 r=`${PWD_COMMAND}`; export r; \
18330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18331 $(HOST_EXPORTS) \
18332 for flag in $(EXTRA_HOST_FLAGS) ; do \
18333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18334 done; \
18335 echo "Doing installcheck in libiberty" ; \
18336 (cd $(HOST_SUBDIR)/libiberty && \
18337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18339 "RANLIB=$${RANLIB}" \
18340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18341 installcheck) \
18342 || exit 1
18344 @endif libiberty
18346 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18347 maybe-mostlyclean-libiberty:
18348 @if libiberty
18349 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18351 mostlyclean-libiberty:
18352 @[ -f ./libiberty/Makefile ] || exit 0; \
18353 r=`${PWD_COMMAND}`; export r; \
18354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18355 $(HOST_EXPORTS) \
18356 for flag in $(EXTRA_HOST_FLAGS) ; do \
18357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18358 done; \
18359 echo "Doing mostlyclean in libiberty" ; \
18360 (cd $(HOST_SUBDIR)/libiberty && \
18361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18363 "RANLIB=$${RANLIB}" \
18364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18365 mostlyclean) \
18366 || exit 1
18368 @endif libiberty
18370 .PHONY: maybe-clean-libiberty clean-libiberty
18371 maybe-clean-libiberty:
18372 @if libiberty
18373 maybe-clean-libiberty: clean-libiberty
18375 clean-libiberty:
18376 @[ -f ./libiberty/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(HOST_EXPORTS) \
18380 for flag in $(EXTRA_HOST_FLAGS) ; do \
18381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18382 done; \
18383 echo "Doing clean in libiberty" ; \
18384 (cd $(HOST_SUBDIR)/libiberty && \
18385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18387 "RANLIB=$${RANLIB}" \
18388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18389 clean) \
18390 || exit 1
18392 @endif libiberty
18394 .PHONY: maybe-distclean-libiberty distclean-libiberty
18395 maybe-distclean-libiberty:
18396 @if libiberty
18397 maybe-distclean-libiberty: distclean-libiberty
18399 distclean-libiberty:
18400 @[ -f ./libiberty/Makefile ] || exit 0; \
18401 r=`${PWD_COMMAND}`; export r; \
18402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18403 $(HOST_EXPORTS) \
18404 for flag in $(EXTRA_HOST_FLAGS) ; do \
18405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18406 done; \
18407 echo "Doing distclean in libiberty" ; \
18408 (cd $(HOST_SUBDIR)/libiberty && \
18409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18411 "RANLIB=$${RANLIB}" \
18412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18413 distclean) \
18414 || exit 1
18416 @endif libiberty
18418 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18419 maybe-maintainer-clean-libiberty:
18420 @if libiberty
18421 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18423 maintainer-clean-libiberty:
18424 @[ -f ./libiberty/Makefile ] || exit 0; \
18425 r=`${PWD_COMMAND}`; export r; \
18426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18427 $(HOST_EXPORTS) \
18428 for flag in $(EXTRA_HOST_FLAGS) ; do \
18429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18430 done; \
18431 echo "Doing maintainer-clean in libiberty" ; \
18432 (cd $(HOST_SUBDIR)/libiberty && \
18433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18435 "RANLIB=$${RANLIB}" \
18436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18437 maintainer-clean) \
18438 || exit 1
18440 @endif libiberty
18444 .PHONY: configure-libtool maybe-configure-libtool
18445 maybe-configure-libtool:
18446 @if libtool
18447 maybe-configure-libtool: configure-libtool
18448 configure-libtool:
18449 @: $(MAKE); $(unstage)
18450 @r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18454 $(HOST_EXPORTS) \
18455 echo Configuring in $(HOST_SUBDIR)/libtool; \
18456 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18457 case $(srcdir) in \
18458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18459 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18461 esac; \
18462 srcdiroption="--srcdir=$${topdir}/libtool"; \
18463 libsrcdir="$$s/libtool"; \
18464 $(SHELL) $${libsrcdir}/configure \
18465 $(HOST_CONFIGARGS) $${srcdiroption} \
18466 || exit 1
18467 @endif libtool
18473 .PHONY: all-libtool maybe-all-libtool
18474 maybe-all-libtool:
18475 @if libtool
18476 TARGET-libtool=all
18477 maybe-all-libtool: all-libtool
18478 all-libtool: configure-libtool
18479 @: $(MAKE); $(unstage)
18480 @r=`${PWD_COMMAND}`; export r; \
18481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18482 $(HOST_EXPORTS) \
18483 (cd $(HOST_SUBDIR)/libtool && \
18484 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18485 @endif libtool
18490 .PHONY: check-libtool maybe-check-libtool
18491 maybe-check-libtool:
18492 @if libtool
18493 maybe-check-libtool: check-libtool
18495 check-libtool:
18496 @: $(MAKE); $(unstage)
18497 @r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18499 $(HOST_EXPORTS) \
18500 (cd $(HOST_SUBDIR)/libtool && \
18501 $(MAKE) $(FLAGS_TO_PASS) check)
18503 @endif libtool
18505 .PHONY: install-libtool maybe-install-libtool
18506 maybe-install-libtool:
18507 @if libtool
18508 maybe-install-libtool: install-libtool
18510 install-libtool: installdirs
18511 @: $(MAKE); $(unstage)
18512 @r=`${PWD_COMMAND}`; export r; \
18513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18514 $(HOST_EXPORTS) \
18515 (cd $(HOST_SUBDIR)/libtool && \
18516 $(MAKE) $(FLAGS_TO_PASS) install)
18518 @endif libtool
18520 # Other targets (info, dvi, etc.)
18522 .PHONY: maybe-info-libtool info-libtool
18523 maybe-info-libtool:
18524 @if libtool
18525 maybe-info-libtool: info-libtool
18527 info-libtool: \
18528 configure-libtool
18529 @: $(MAKE); $(unstage)
18530 @[ -f ./libtool/Makefile ] || exit 0; \
18531 r=`${PWD_COMMAND}`; export r; \
18532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18533 $(HOST_EXPORTS) \
18534 for flag in $(EXTRA_HOST_FLAGS) ; do \
18535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18536 done; \
18537 echo "Doing info in libtool" ; \
18538 (cd $(HOST_SUBDIR)/libtool && \
18539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18541 "RANLIB=$${RANLIB}" \
18542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18543 info) \
18544 || exit 1
18546 @endif libtool
18548 .PHONY: maybe-dvi-libtool dvi-libtool
18549 maybe-dvi-libtool:
18550 @if libtool
18551 maybe-dvi-libtool: dvi-libtool
18553 dvi-libtool: \
18554 configure-libtool
18555 @: $(MAKE); $(unstage)
18556 @[ -f ./libtool/Makefile ] || exit 0; \
18557 r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18559 $(HOST_EXPORTS) \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18562 done; \
18563 echo "Doing dvi in libtool" ; \
18564 (cd $(HOST_SUBDIR)/libtool && \
18565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18567 "RANLIB=$${RANLIB}" \
18568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18569 dvi) \
18570 || exit 1
18572 @endif libtool
18574 .PHONY: maybe-html-libtool html-libtool
18575 maybe-html-libtool:
18576 @if libtool
18577 maybe-html-libtool: html-libtool
18579 html-libtool: \
18580 configure-libtool
18581 @: $(MAKE); $(unstage)
18582 @[ -f ./libtool/Makefile ] || exit 0; \
18583 r=`${PWD_COMMAND}`; export r; \
18584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18585 $(HOST_EXPORTS) \
18586 for flag in $(EXTRA_HOST_FLAGS) ; do \
18587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18588 done; \
18589 echo "Doing html in libtool" ; \
18590 (cd $(HOST_SUBDIR)/libtool && \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18593 "RANLIB=$${RANLIB}" \
18594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18595 html) \
18596 || exit 1
18598 @endif libtool
18600 .PHONY: maybe-TAGS-libtool TAGS-libtool
18601 maybe-TAGS-libtool:
18602 @if libtool
18603 maybe-TAGS-libtool: TAGS-libtool
18605 TAGS-libtool: \
18606 configure-libtool
18607 @: $(MAKE); $(unstage)
18608 @[ -f ./libtool/Makefile ] || exit 0; \
18609 r=`${PWD_COMMAND}`; export r; \
18610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18611 $(HOST_EXPORTS) \
18612 for flag in $(EXTRA_HOST_FLAGS) ; do \
18613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18614 done; \
18615 echo "Doing TAGS in libtool" ; \
18616 (cd $(HOST_SUBDIR)/libtool && \
18617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18619 "RANLIB=$${RANLIB}" \
18620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18621 TAGS) \
18622 || exit 1
18624 @endif libtool
18626 .PHONY: maybe-install-info-libtool install-info-libtool
18627 maybe-install-info-libtool:
18628 @if libtool
18629 maybe-install-info-libtool: install-info-libtool
18631 install-info-libtool: \
18632 configure-libtool \
18633 info-libtool
18634 @: $(MAKE); $(unstage)
18635 @[ -f ./libtool/Makefile ] || exit 0; \
18636 r=`${PWD_COMMAND}`; export r; \
18637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 $(HOST_EXPORTS) \
18639 for flag in $(EXTRA_HOST_FLAGS) ; do \
18640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18641 done; \
18642 echo "Doing install-info in libtool" ; \
18643 (cd $(HOST_SUBDIR)/libtool && \
18644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18646 "RANLIB=$${RANLIB}" \
18647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18648 install-info) \
18649 || exit 1
18651 @endif libtool
18653 .PHONY: maybe-installcheck-libtool installcheck-libtool
18654 maybe-installcheck-libtool:
18655 @if libtool
18656 maybe-installcheck-libtool: installcheck-libtool
18658 installcheck-libtool: \
18659 configure-libtool
18660 @: $(MAKE); $(unstage)
18661 @[ -f ./libtool/Makefile ] || exit 0; \
18662 r=`${PWD_COMMAND}`; export r; \
18663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18664 $(HOST_EXPORTS) \
18665 for flag in $(EXTRA_HOST_FLAGS) ; do \
18666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18667 done; \
18668 echo "Doing installcheck in libtool" ; \
18669 (cd $(HOST_SUBDIR)/libtool && \
18670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18672 "RANLIB=$${RANLIB}" \
18673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18674 installcheck) \
18675 || exit 1
18677 @endif libtool
18679 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18680 maybe-mostlyclean-libtool:
18681 @if libtool
18682 maybe-mostlyclean-libtool: mostlyclean-libtool
18684 mostlyclean-libtool:
18685 @: $(MAKE); $(unstage)
18686 @[ -f ./libtool/Makefile ] || exit 0; \
18687 r=`${PWD_COMMAND}`; export r; \
18688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18689 $(HOST_EXPORTS) \
18690 for flag in $(EXTRA_HOST_FLAGS) ; do \
18691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18692 done; \
18693 echo "Doing mostlyclean in libtool" ; \
18694 (cd $(HOST_SUBDIR)/libtool && \
18695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18697 "RANLIB=$${RANLIB}" \
18698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18699 mostlyclean) \
18700 || exit 1
18702 @endif libtool
18704 .PHONY: maybe-clean-libtool clean-libtool
18705 maybe-clean-libtool:
18706 @if libtool
18707 maybe-clean-libtool: clean-libtool
18709 clean-libtool:
18710 @: $(MAKE); $(unstage)
18711 @[ -f ./libtool/Makefile ] || exit 0; \
18712 r=`${PWD_COMMAND}`; export r; \
18713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18714 $(HOST_EXPORTS) \
18715 for flag in $(EXTRA_HOST_FLAGS) ; do \
18716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18717 done; \
18718 echo "Doing clean in libtool" ; \
18719 (cd $(HOST_SUBDIR)/libtool && \
18720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18722 "RANLIB=$${RANLIB}" \
18723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18724 clean) \
18725 || exit 1
18727 @endif libtool
18729 .PHONY: maybe-distclean-libtool distclean-libtool
18730 maybe-distclean-libtool:
18731 @if libtool
18732 maybe-distclean-libtool: distclean-libtool
18734 distclean-libtool:
18735 @: $(MAKE); $(unstage)
18736 @[ -f ./libtool/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 distclean in libtool" ; \
18744 (cd $(HOST_SUBDIR)/libtool && \
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 distclean) \
18750 || exit 1
18752 @endif libtool
18754 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18755 maybe-maintainer-clean-libtool:
18756 @if libtool
18757 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18759 maintainer-clean-libtool:
18760 @: $(MAKE); $(unstage)
18761 @[ -f ./libtool/Makefile ] || exit 0; \
18762 r=`${PWD_COMMAND}`; export r; \
18763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18764 $(HOST_EXPORTS) \
18765 for flag in $(EXTRA_HOST_FLAGS) ; do \
18766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18767 done; \
18768 echo "Doing maintainer-clean in libtool" ; \
18769 (cd $(HOST_SUBDIR)/libtool && \
18770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18772 "RANLIB=$${RANLIB}" \
18773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18774 maintainer-clean) \
18775 || exit 1
18777 @endif libtool
18781 .PHONY: configure-m4 maybe-configure-m4
18782 maybe-configure-m4:
18783 @if m4
18784 maybe-configure-m4: configure-m4
18785 configure-m4:
18786 @: $(MAKE); $(unstage)
18787 @r=`${PWD_COMMAND}`; export r; \
18788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18789 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18791 $(HOST_EXPORTS) \
18792 echo Configuring in $(HOST_SUBDIR)/m4; \
18793 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18794 case $(srcdir) in \
18795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18796 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18798 esac; \
18799 srcdiroption="--srcdir=$${topdir}/m4"; \
18800 libsrcdir="$$s/m4"; \
18801 $(SHELL) $${libsrcdir}/configure \
18802 $(HOST_CONFIGARGS) $${srcdiroption} \
18803 || exit 1
18804 @endif m4
18810 .PHONY: all-m4 maybe-all-m4
18811 maybe-all-m4:
18812 @if m4
18813 TARGET-m4=all
18814 maybe-all-m4: all-m4
18815 all-m4: configure-m4
18816 @: $(MAKE); $(unstage)
18817 @r=`${PWD_COMMAND}`; export r; \
18818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18819 $(HOST_EXPORTS) \
18820 (cd $(HOST_SUBDIR)/m4 && \
18821 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18822 @endif m4
18827 .PHONY: check-m4 maybe-check-m4
18828 maybe-check-m4:
18829 @if m4
18830 maybe-check-m4: check-m4
18832 check-m4:
18833 @: $(MAKE); $(unstage)
18834 @r=`${PWD_COMMAND}`; export r; \
18835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18836 $(HOST_EXPORTS) \
18837 (cd $(HOST_SUBDIR)/m4 && \
18838 $(MAKE) $(FLAGS_TO_PASS) check)
18840 @endif m4
18842 .PHONY: install-m4 maybe-install-m4
18843 maybe-install-m4:
18844 @if m4
18845 maybe-install-m4: install-m4
18847 install-m4: installdirs
18848 @: $(MAKE); $(unstage)
18849 @r=`${PWD_COMMAND}`; export r; \
18850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18851 $(HOST_EXPORTS) \
18852 (cd $(HOST_SUBDIR)/m4 && \
18853 $(MAKE) $(FLAGS_TO_PASS) install)
18855 @endif m4
18857 # Other targets (info, dvi, etc.)
18859 .PHONY: maybe-info-m4 info-m4
18860 maybe-info-m4:
18861 @if m4
18862 maybe-info-m4: info-m4
18864 info-m4: \
18865 configure-m4
18866 @: $(MAKE); $(unstage)
18867 @[ -f ./m4/Makefile ] || exit 0; \
18868 r=`${PWD_COMMAND}`; export r; \
18869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 $(HOST_EXPORTS) \
18871 for flag in $(EXTRA_HOST_FLAGS) ; do \
18872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18873 done; \
18874 echo "Doing info in m4" ; \
18875 (cd $(HOST_SUBDIR)/m4 && \
18876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18878 "RANLIB=$${RANLIB}" \
18879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18880 info) \
18881 || exit 1
18883 @endif m4
18885 .PHONY: maybe-dvi-m4 dvi-m4
18886 maybe-dvi-m4:
18887 @if m4
18888 maybe-dvi-m4: dvi-m4
18890 dvi-m4: \
18891 configure-m4
18892 @: $(MAKE); $(unstage)
18893 @[ -f ./m4/Makefile ] || exit 0; \
18894 r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 $(HOST_EXPORTS) \
18897 for flag in $(EXTRA_HOST_FLAGS) ; do \
18898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18899 done; \
18900 echo "Doing dvi in m4" ; \
18901 (cd $(HOST_SUBDIR)/m4 && \
18902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18904 "RANLIB=$${RANLIB}" \
18905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18906 dvi) \
18907 || exit 1
18909 @endif m4
18911 .PHONY: maybe-html-m4 html-m4
18912 maybe-html-m4:
18913 @if m4
18914 maybe-html-m4: html-m4
18916 html-m4: \
18917 configure-m4
18918 @: $(MAKE); $(unstage)
18919 @[ -f ./m4/Makefile ] || exit 0; \
18920 r=`${PWD_COMMAND}`; export r; \
18921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18922 $(HOST_EXPORTS) \
18923 for flag in $(EXTRA_HOST_FLAGS) ; do \
18924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18925 done; \
18926 echo "Doing html in m4" ; \
18927 (cd $(HOST_SUBDIR)/m4 && \
18928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18930 "RANLIB=$${RANLIB}" \
18931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18932 html) \
18933 || exit 1
18935 @endif m4
18937 .PHONY: maybe-TAGS-m4 TAGS-m4
18938 maybe-TAGS-m4:
18939 @if m4
18940 maybe-TAGS-m4: TAGS-m4
18942 TAGS-m4: \
18943 configure-m4
18944 @: $(MAKE); $(unstage)
18945 @[ -f ./m4/Makefile ] || exit 0; \
18946 r=`${PWD_COMMAND}`; export r; \
18947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18948 $(HOST_EXPORTS) \
18949 for flag in $(EXTRA_HOST_FLAGS) ; do \
18950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18951 done; \
18952 echo "Doing TAGS in m4" ; \
18953 (cd $(HOST_SUBDIR)/m4 && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18956 "RANLIB=$${RANLIB}" \
18957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18958 TAGS) \
18959 || exit 1
18961 @endif m4
18963 .PHONY: maybe-install-info-m4 install-info-m4
18964 maybe-install-info-m4:
18965 @if m4
18966 maybe-install-info-m4: install-info-m4
18968 install-info-m4: \
18969 configure-m4 \
18970 info-m4
18971 @: $(MAKE); $(unstage)
18972 @[ -f ./m4/Makefile ] || exit 0; \
18973 r=`${PWD_COMMAND}`; export r; \
18974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18975 $(HOST_EXPORTS) \
18976 for flag in $(EXTRA_HOST_FLAGS) ; do \
18977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18978 done; \
18979 echo "Doing install-info in m4" ; \
18980 (cd $(HOST_SUBDIR)/m4 && \
18981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18983 "RANLIB=$${RANLIB}" \
18984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18985 install-info) \
18986 || exit 1
18988 @endif m4
18990 .PHONY: maybe-installcheck-m4 installcheck-m4
18991 maybe-installcheck-m4:
18992 @if m4
18993 maybe-installcheck-m4: installcheck-m4
18995 installcheck-m4: \
18996 configure-m4
18997 @: $(MAKE); $(unstage)
18998 @[ -f ./m4/Makefile ] || exit 0; \
18999 r=`${PWD_COMMAND}`; export r; \
19000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19001 $(HOST_EXPORTS) \
19002 for flag in $(EXTRA_HOST_FLAGS) ; do \
19003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19004 done; \
19005 echo "Doing installcheck in m4" ; \
19006 (cd $(HOST_SUBDIR)/m4 && \
19007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19009 "RANLIB=$${RANLIB}" \
19010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19011 installcheck) \
19012 || exit 1
19014 @endif m4
19016 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
19017 maybe-mostlyclean-m4:
19018 @if m4
19019 maybe-mostlyclean-m4: mostlyclean-m4
19021 mostlyclean-m4:
19022 @: $(MAKE); $(unstage)
19023 @[ -f ./m4/Makefile ] || exit 0; \
19024 r=`${PWD_COMMAND}`; export r; \
19025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19026 $(HOST_EXPORTS) \
19027 for flag in $(EXTRA_HOST_FLAGS) ; do \
19028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19029 done; \
19030 echo "Doing mostlyclean in m4" ; \
19031 (cd $(HOST_SUBDIR)/m4 && \
19032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19034 "RANLIB=$${RANLIB}" \
19035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19036 mostlyclean) \
19037 || exit 1
19039 @endif m4
19041 .PHONY: maybe-clean-m4 clean-m4
19042 maybe-clean-m4:
19043 @if m4
19044 maybe-clean-m4: clean-m4
19046 clean-m4:
19047 @: $(MAKE); $(unstage)
19048 @[ -f ./m4/Makefile ] || exit 0; \
19049 r=`${PWD_COMMAND}`; export r; \
19050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19051 $(HOST_EXPORTS) \
19052 for flag in $(EXTRA_HOST_FLAGS) ; do \
19053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19054 done; \
19055 echo "Doing clean in m4" ; \
19056 (cd $(HOST_SUBDIR)/m4 && \
19057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19059 "RANLIB=$${RANLIB}" \
19060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19061 clean) \
19062 || exit 1
19064 @endif m4
19066 .PHONY: maybe-distclean-m4 distclean-m4
19067 maybe-distclean-m4:
19068 @if m4
19069 maybe-distclean-m4: distclean-m4
19071 distclean-m4:
19072 @: $(MAKE); $(unstage)
19073 @[ -f ./m4/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 distclean in m4" ; \
19081 (cd $(HOST_SUBDIR)/m4 && \
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 distclean) \
19087 || exit 1
19089 @endif m4
19091 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
19092 maybe-maintainer-clean-m4:
19093 @if m4
19094 maybe-maintainer-clean-m4: maintainer-clean-m4
19096 maintainer-clean-m4:
19097 @: $(MAKE); $(unstage)
19098 @[ -f ./m4/Makefile ] || exit 0; \
19099 r=`${PWD_COMMAND}`; export r; \
19100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19101 $(HOST_EXPORTS) \
19102 for flag in $(EXTRA_HOST_FLAGS) ; do \
19103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19104 done; \
19105 echo "Doing maintainer-clean in m4" ; \
19106 (cd $(HOST_SUBDIR)/m4 && \
19107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19109 "RANLIB=$${RANLIB}" \
19110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19111 maintainer-clean) \
19112 || exit 1
19114 @endif m4
19118 .PHONY: configure-make maybe-configure-make
19119 maybe-configure-make:
19120 @if make
19121 maybe-configure-make: configure-make
19122 configure-make:
19123 @: $(MAKE); $(unstage)
19124 @r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19126 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
19127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
19128 $(HOST_EXPORTS) \
19129 echo Configuring in $(HOST_SUBDIR)/make; \
19130 cd "$(HOST_SUBDIR)/make" || exit 1; \
19131 case $(srcdir) in \
19132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19133 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
19134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19135 esac; \
19136 srcdiroption="--srcdir=$${topdir}/make"; \
19137 libsrcdir="$$s/make"; \
19138 $(SHELL) $${libsrcdir}/configure \
19139 $(HOST_CONFIGARGS) $${srcdiroption} \
19140 || exit 1
19141 @endif make
19147 .PHONY: all-make maybe-all-make
19148 maybe-all-make:
19149 @if make
19150 TARGET-make=all
19151 maybe-all-make: all-make
19152 all-make: configure-make
19153 @: $(MAKE); $(unstage)
19154 @r=`${PWD_COMMAND}`; export r; \
19155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19156 $(HOST_EXPORTS) \
19157 (cd $(HOST_SUBDIR)/make && \
19158 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
19159 @endif make
19164 .PHONY: check-make maybe-check-make
19165 maybe-check-make:
19166 @if make
19167 maybe-check-make: check-make
19169 check-make:
19170 @: $(MAKE); $(unstage)
19171 @r=`${PWD_COMMAND}`; export r; \
19172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19173 $(HOST_EXPORTS) \
19174 (cd $(HOST_SUBDIR)/make && \
19175 $(MAKE) $(FLAGS_TO_PASS) check)
19177 @endif make
19179 .PHONY: install-make maybe-install-make
19180 maybe-install-make:
19181 @if make
19182 maybe-install-make: install-make
19184 install-make: installdirs
19185 @: $(MAKE); $(unstage)
19186 @r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 $(HOST_EXPORTS) \
19189 (cd $(HOST_SUBDIR)/make && \
19190 $(MAKE) $(FLAGS_TO_PASS) install)
19192 @endif make
19194 # Other targets (info, dvi, etc.)
19196 .PHONY: maybe-info-make info-make
19197 maybe-info-make:
19198 @if make
19199 maybe-info-make: info-make
19201 info-make: \
19202 configure-make
19203 @: $(MAKE); $(unstage)
19204 @[ -f ./make/Makefile ] || exit 0; \
19205 r=`${PWD_COMMAND}`; export r; \
19206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19207 $(HOST_EXPORTS) \
19208 for flag in $(EXTRA_HOST_FLAGS) ; do \
19209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19210 done; \
19211 echo "Doing info in make" ; \
19212 (cd $(HOST_SUBDIR)/make && \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19215 "RANLIB=$${RANLIB}" \
19216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19217 info) \
19218 || exit 1
19220 @endif make
19222 .PHONY: maybe-dvi-make dvi-make
19223 maybe-dvi-make:
19224 @if make
19225 maybe-dvi-make: dvi-make
19227 dvi-make: \
19228 configure-make
19229 @: $(MAKE); $(unstage)
19230 @[ -f ./make/Makefile ] || exit 0; \
19231 r=`${PWD_COMMAND}`; export r; \
19232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 $(HOST_EXPORTS) \
19234 for flag in $(EXTRA_HOST_FLAGS) ; do \
19235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 done; \
19237 echo "Doing dvi in make" ; \
19238 (cd $(HOST_SUBDIR)/make && \
19239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19241 "RANLIB=$${RANLIB}" \
19242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19243 dvi) \
19244 || exit 1
19246 @endif make
19248 .PHONY: maybe-html-make html-make
19249 maybe-html-make:
19250 @if make
19251 maybe-html-make: html-make
19253 html-make: \
19254 configure-make
19255 @: $(MAKE); $(unstage)
19256 @[ -f ./make/Makefile ] || exit 0; \
19257 r=`${PWD_COMMAND}`; export r; \
19258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19259 $(HOST_EXPORTS) \
19260 for flag in $(EXTRA_HOST_FLAGS) ; do \
19261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19262 done; \
19263 echo "Doing html in make" ; \
19264 (cd $(HOST_SUBDIR)/make && \
19265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19267 "RANLIB=$${RANLIB}" \
19268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19269 html) \
19270 || exit 1
19272 @endif make
19274 .PHONY: maybe-TAGS-make TAGS-make
19275 maybe-TAGS-make:
19276 @if make
19277 maybe-TAGS-make: TAGS-make
19279 TAGS-make: \
19280 configure-make
19281 @: $(MAKE); $(unstage)
19282 @[ -f ./make/Makefile ] || exit 0; \
19283 r=`${PWD_COMMAND}`; export r; \
19284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19285 $(HOST_EXPORTS) \
19286 for flag in $(EXTRA_HOST_FLAGS) ; do \
19287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19288 done; \
19289 echo "Doing TAGS in make" ; \
19290 (cd $(HOST_SUBDIR)/make && \
19291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19293 "RANLIB=$${RANLIB}" \
19294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19295 TAGS) \
19296 || exit 1
19298 @endif make
19300 .PHONY: maybe-install-info-make install-info-make
19301 maybe-install-info-make:
19302 @if make
19303 maybe-install-info-make: install-info-make
19305 install-info-make: \
19306 configure-make \
19307 info-make
19308 @: $(MAKE); $(unstage)
19309 @[ -f ./make/Makefile ] || exit 0; \
19310 r=`${PWD_COMMAND}`; export r; \
19311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19312 $(HOST_EXPORTS) \
19313 for flag in $(EXTRA_HOST_FLAGS) ; do \
19314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19315 done; \
19316 echo "Doing install-info in make" ; \
19317 (cd $(HOST_SUBDIR)/make && \
19318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19320 "RANLIB=$${RANLIB}" \
19321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19322 install-info) \
19323 || exit 1
19325 @endif make
19327 .PHONY: maybe-installcheck-make installcheck-make
19328 maybe-installcheck-make:
19329 @if make
19330 maybe-installcheck-make: installcheck-make
19332 installcheck-make: \
19333 configure-make
19334 @: $(MAKE); $(unstage)
19335 @[ -f ./make/Makefile ] || exit 0; \
19336 r=`${PWD_COMMAND}`; export r; \
19337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19338 $(HOST_EXPORTS) \
19339 for flag in $(EXTRA_HOST_FLAGS) ; do \
19340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19341 done; \
19342 echo "Doing installcheck in make" ; \
19343 (cd $(HOST_SUBDIR)/make && \
19344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19346 "RANLIB=$${RANLIB}" \
19347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19348 installcheck) \
19349 || exit 1
19351 @endif make
19353 .PHONY: maybe-mostlyclean-make mostlyclean-make
19354 maybe-mostlyclean-make:
19355 @if make
19356 maybe-mostlyclean-make: mostlyclean-make
19358 mostlyclean-make:
19359 @: $(MAKE); $(unstage)
19360 @[ -f ./make/Makefile ] || exit 0; \
19361 r=`${PWD_COMMAND}`; export r; \
19362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19363 $(HOST_EXPORTS) \
19364 for flag in $(EXTRA_HOST_FLAGS) ; do \
19365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19366 done; \
19367 echo "Doing mostlyclean in make" ; \
19368 (cd $(HOST_SUBDIR)/make && \
19369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19371 "RANLIB=$${RANLIB}" \
19372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19373 mostlyclean) \
19374 || exit 1
19376 @endif make
19378 .PHONY: maybe-clean-make clean-make
19379 maybe-clean-make:
19380 @if make
19381 maybe-clean-make: clean-make
19383 clean-make:
19384 @: $(MAKE); $(unstage)
19385 @[ -f ./make/Makefile ] || exit 0; \
19386 r=`${PWD_COMMAND}`; export r; \
19387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19388 $(HOST_EXPORTS) \
19389 for flag in $(EXTRA_HOST_FLAGS) ; do \
19390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19391 done; \
19392 echo "Doing clean in make" ; \
19393 (cd $(HOST_SUBDIR)/make && \
19394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19396 "RANLIB=$${RANLIB}" \
19397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19398 clean) \
19399 || exit 1
19401 @endif make
19403 .PHONY: maybe-distclean-make distclean-make
19404 maybe-distclean-make:
19405 @if make
19406 maybe-distclean-make: distclean-make
19408 distclean-make:
19409 @: $(MAKE); $(unstage)
19410 @[ -f ./make/Makefile ] || exit 0; \
19411 r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 $(HOST_EXPORTS) \
19414 for flag in $(EXTRA_HOST_FLAGS) ; do \
19415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19416 done; \
19417 echo "Doing distclean in make" ; \
19418 (cd $(HOST_SUBDIR)/make && \
19419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19421 "RANLIB=$${RANLIB}" \
19422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19423 distclean) \
19424 || exit 1
19426 @endif make
19428 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19429 maybe-maintainer-clean-make:
19430 @if make
19431 maybe-maintainer-clean-make: maintainer-clean-make
19433 maintainer-clean-make:
19434 @: $(MAKE); $(unstage)
19435 @[ -f ./make/Makefile ] || exit 0; \
19436 r=`${PWD_COMMAND}`; export r; \
19437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19438 $(HOST_EXPORTS) \
19439 for flag in $(EXTRA_HOST_FLAGS) ; do \
19440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19441 done; \
19442 echo "Doing maintainer-clean in make" ; \
19443 (cd $(HOST_SUBDIR)/make && \
19444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19446 "RANLIB=$${RANLIB}" \
19447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19448 maintainer-clean) \
19449 || exit 1
19451 @endif make
19455 .PHONY: configure-mmalloc maybe-configure-mmalloc
19456 maybe-configure-mmalloc:
19457 @if mmalloc
19458 maybe-configure-mmalloc: configure-mmalloc
19459 configure-mmalloc:
19460 @: $(MAKE); $(unstage)
19461 @r=`${PWD_COMMAND}`; export r; \
19462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19463 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19465 $(HOST_EXPORTS) \
19466 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19467 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19468 case $(srcdir) in \
19469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19470 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19472 esac; \
19473 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19474 libsrcdir="$$s/mmalloc"; \
19475 $(SHELL) $${libsrcdir}/configure \
19476 $(HOST_CONFIGARGS) $${srcdiroption} \
19477 || exit 1
19478 @endif mmalloc
19484 .PHONY: all-mmalloc maybe-all-mmalloc
19485 maybe-all-mmalloc:
19486 @if mmalloc
19487 TARGET-mmalloc=all
19488 maybe-all-mmalloc: all-mmalloc
19489 all-mmalloc: configure-mmalloc
19490 @: $(MAKE); $(unstage)
19491 @r=`${PWD_COMMAND}`; export r; \
19492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19493 $(HOST_EXPORTS) \
19494 (cd $(HOST_SUBDIR)/mmalloc && \
19495 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19496 @endif mmalloc
19501 .PHONY: check-mmalloc maybe-check-mmalloc
19502 maybe-check-mmalloc:
19503 @if mmalloc
19504 maybe-check-mmalloc: check-mmalloc
19506 check-mmalloc:
19508 @endif mmalloc
19510 .PHONY: install-mmalloc maybe-install-mmalloc
19511 maybe-install-mmalloc:
19512 @if mmalloc
19513 maybe-install-mmalloc: install-mmalloc
19515 install-mmalloc: installdirs
19516 @: $(MAKE); $(unstage)
19517 @r=`${PWD_COMMAND}`; export r; \
19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19519 $(HOST_EXPORTS) \
19520 (cd $(HOST_SUBDIR)/mmalloc && \
19521 $(MAKE) $(FLAGS_TO_PASS) install)
19523 @endif mmalloc
19525 # Other targets (info, dvi, etc.)
19527 .PHONY: maybe-info-mmalloc info-mmalloc
19528 maybe-info-mmalloc:
19529 @if mmalloc
19530 maybe-info-mmalloc: info-mmalloc
19532 info-mmalloc: \
19533 configure-mmalloc
19534 @: $(MAKE); $(unstage)
19535 @[ -f ./mmalloc/Makefile ] || exit 0; \
19536 r=`${PWD_COMMAND}`; export r; \
19537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19538 $(HOST_EXPORTS) \
19539 for flag in $(EXTRA_HOST_FLAGS) ; do \
19540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19541 done; \
19542 echo "Doing info in mmalloc" ; \
19543 (cd $(HOST_SUBDIR)/mmalloc && \
19544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19546 "RANLIB=$${RANLIB}" \
19547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19548 info) \
19549 || exit 1
19551 @endif mmalloc
19553 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19554 maybe-dvi-mmalloc:
19555 @if mmalloc
19556 maybe-dvi-mmalloc: dvi-mmalloc
19558 dvi-mmalloc: \
19559 configure-mmalloc
19560 @: $(MAKE); $(unstage)
19561 @[ -f ./mmalloc/Makefile ] || exit 0; \
19562 r=`${PWD_COMMAND}`; export r; \
19563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19564 $(HOST_EXPORTS) \
19565 for flag in $(EXTRA_HOST_FLAGS) ; do \
19566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19567 done; \
19568 echo "Doing dvi in mmalloc" ; \
19569 (cd $(HOST_SUBDIR)/mmalloc && \
19570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19572 "RANLIB=$${RANLIB}" \
19573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19574 dvi) \
19575 || exit 1
19577 @endif mmalloc
19579 .PHONY: maybe-html-mmalloc html-mmalloc
19580 maybe-html-mmalloc:
19581 @if mmalloc
19582 maybe-html-mmalloc: html-mmalloc
19584 html-mmalloc: \
19585 configure-mmalloc
19586 @: $(MAKE); $(unstage)
19587 @[ -f ./mmalloc/Makefile ] || exit 0; \
19588 r=`${PWD_COMMAND}`; export r; \
19589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19590 $(HOST_EXPORTS) \
19591 for flag in $(EXTRA_HOST_FLAGS) ; do \
19592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19593 done; \
19594 echo "Doing html in mmalloc" ; \
19595 (cd $(HOST_SUBDIR)/mmalloc && \
19596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19598 "RANLIB=$${RANLIB}" \
19599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19600 html) \
19601 || exit 1
19603 @endif mmalloc
19605 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19606 maybe-TAGS-mmalloc:
19607 @if mmalloc
19608 maybe-TAGS-mmalloc: TAGS-mmalloc
19610 TAGS-mmalloc: \
19611 configure-mmalloc
19612 @: $(MAKE); $(unstage)
19613 @[ -f ./mmalloc/Makefile ] || exit 0; \
19614 r=`${PWD_COMMAND}`; export r; \
19615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19616 $(HOST_EXPORTS) \
19617 for flag in $(EXTRA_HOST_FLAGS) ; do \
19618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19619 done; \
19620 echo "Doing TAGS in mmalloc" ; \
19621 (cd $(HOST_SUBDIR)/mmalloc && \
19622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19624 "RANLIB=$${RANLIB}" \
19625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19626 TAGS) \
19627 || exit 1
19629 @endif mmalloc
19631 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19632 maybe-install-info-mmalloc:
19633 @if mmalloc
19634 maybe-install-info-mmalloc: install-info-mmalloc
19636 install-info-mmalloc: \
19637 configure-mmalloc \
19638 info-mmalloc
19639 @: $(MAKE); $(unstage)
19640 @[ -f ./mmalloc/Makefile ] || exit 0; \
19641 r=`${PWD_COMMAND}`; export r; \
19642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19643 $(HOST_EXPORTS) \
19644 for flag in $(EXTRA_HOST_FLAGS) ; do \
19645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19646 done; \
19647 echo "Doing install-info in mmalloc" ; \
19648 (cd $(HOST_SUBDIR)/mmalloc && \
19649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19651 "RANLIB=$${RANLIB}" \
19652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19653 install-info) \
19654 || exit 1
19656 @endif mmalloc
19658 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19659 maybe-installcheck-mmalloc:
19660 @if mmalloc
19661 maybe-installcheck-mmalloc: installcheck-mmalloc
19663 installcheck-mmalloc: \
19664 configure-mmalloc
19665 @: $(MAKE); $(unstage)
19666 @[ -f ./mmalloc/Makefile ] || exit 0; \
19667 r=`${PWD_COMMAND}`; export r; \
19668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19669 $(HOST_EXPORTS) \
19670 for flag in $(EXTRA_HOST_FLAGS) ; do \
19671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19672 done; \
19673 echo "Doing installcheck in mmalloc" ; \
19674 (cd $(HOST_SUBDIR)/mmalloc && \
19675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19677 "RANLIB=$${RANLIB}" \
19678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19679 installcheck) \
19680 || exit 1
19682 @endif mmalloc
19684 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19685 maybe-mostlyclean-mmalloc:
19686 @if mmalloc
19687 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19689 mostlyclean-mmalloc:
19690 @: $(MAKE); $(unstage)
19691 @[ -f ./mmalloc/Makefile ] || exit 0; \
19692 r=`${PWD_COMMAND}`; export r; \
19693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19694 $(HOST_EXPORTS) \
19695 for flag in $(EXTRA_HOST_FLAGS) ; do \
19696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19697 done; \
19698 echo "Doing mostlyclean in mmalloc" ; \
19699 (cd $(HOST_SUBDIR)/mmalloc && \
19700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19702 "RANLIB=$${RANLIB}" \
19703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19704 mostlyclean) \
19705 || exit 1
19707 @endif mmalloc
19709 .PHONY: maybe-clean-mmalloc clean-mmalloc
19710 maybe-clean-mmalloc:
19711 @if mmalloc
19712 maybe-clean-mmalloc: clean-mmalloc
19714 clean-mmalloc:
19715 @: $(MAKE); $(unstage)
19716 @[ -f ./mmalloc/Makefile ] || exit 0; \
19717 r=`${PWD_COMMAND}`; export r; \
19718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19719 $(HOST_EXPORTS) \
19720 for flag in $(EXTRA_HOST_FLAGS) ; do \
19721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19722 done; \
19723 echo "Doing clean in mmalloc" ; \
19724 (cd $(HOST_SUBDIR)/mmalloc && \
19725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19727 "RANLIB=$${RANLIB}" \
19728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19729 clean) \
19730 || exit 1
19732 @endif mmalloc
19734 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19735 maybe-distclean-mmalloc:
19736 @if mmalloc
19737 maybe-distclean-mmalloc: distclean-mmalloc
19739 distclean-mmalloc:
19740 @: $(MAKE); $(unstage)
19741 @[ -f ./mmalloc/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 distclean in mmalloc" ; \
19749 (cd $(HOST_SUBDIR)/mmalloc && \
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 distclean) \
19755 || exit 1
19757 @endif mmalloc
19759 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19760 maybe-maintainer-clean-mmalloc:
19761 @if mmalloc
19762 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19764 maintainer-clean-mmalloc:
19765 @: $(MAKE); $(unstage)
19766 @[ -f ./mmalloc/Makefile ] || exit 0; \
19767 r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 for flag in $(EXTRA_HOST_FLAGS) ; do \
19771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19772 done; \
19773 echo "Doing maintainer-clean in mmalloc" ; \
19774 (cd $(HOST_SUBDIR)/mmalloc && \
19775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19777 "RANLIB=$${RANLIB}" \
19778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19779 maintainer-clean) \
19780 || exit 1
19782 @endif mmalloc
19786 .PHONY: configure-patch maybe-configure-patch
19787 maybe-configure-patch:
19788 @if patch
19789 maybe-configure-patch: configure-patch
19790 configure-patch:
19791 @: $(MAKE); $(unstage)
19792 @r=`${PWD_COMMAND}`; export r; \
19793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19794 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19796 $(HOST_EXPORTS) \
19797 echo Configuring in $(HOST_SUBDIR)/patch; \
19798 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19799 case $(srcdir) in \
19800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19801 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19803 esac; \
19804 srcdiroption="--srcdir=$${topdir}/patch"; \
19805 libsrcdir="$$s/patch"; \
19806 $(SHELL) $${libsrcdir}/configure \
19807 $(HOST_CONFIGARGS) $${srcdiroption} \
19808 || exit 1
19809 @endif patch
19815 .PHONY: all-patch maybe-all-patch
19816 maybe-all-patch:
19817 @if patch
19818 TARGET-patch=all
19819 maybe-all-patch: all-patch
19820 all-patch: configure-patch
19821 @: $(MAKE); $(unstage)
19822 @r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 $(HOST_EXPORTS) \
19825 (cd $(HOST_SUBDIR)/patch && \
19826 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19827 @endif patch
19832 .PHONY: check-patch maybe-check-patch
19833 maybe-check-patch:
19834 @if patch
19835 maybe-check-patch: check-patch
19837 check-patch:
19838 @: $(MAKE); $(unstage)
19839 @r=`${PWD_COMMAND}`; export r; \
19840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19841 $(HOST_EXPORTS) \
19842 (cd $(HOST_SUBDIR)/patch && \
19843 $(MAKE) $(FLAGS_TO_PASS) check)
19845 @endif patch
19847 .PHONY: install-patch maybe-install-patch
19848 maybe-install-patch:
19849 @if patch
19850 maybe-install-patch: install-patch
19852 install-patch: installdirs
19853 @: $(MAKE); $(unstage)
19854 @r=`${PWD_COMMAND}`; export r; \
19855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19856 $(HOST_EXPORTS) \
19857 (cd $(HOST_SUBDIR)/patch && \
19858 $(MAKE) $(FLAGS_TO_PASS) install)
19860 @endif patch
19862 # Other targets (info, dvi, etc.)
19864 .PHONY: maybe-info-patch info-patch
19865 maybe-info-patch:
19866 @if patch
19867 maybe-info-patch: info-patch
19869 info-patch: \
19870 configure-patch
19871 @: $(MAKE); $(unstage)
19872 @[ -f ./patch/Makefile ] || exit 0; \
19873 r=`${PWD_COMMAND}`; export r; \
19874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19875 $(HOST_EXPORTS) \
19876 for flag in $(EXTRA_HOST_FLAGS) ; do \
19877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19878 done; \
19879 echo "Doing info in patch" ; \
19880 (cd $(HOST_SUBDIR)/patch && \
19881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19883 "RANLIB=$${RANLIB}" \
19884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19885 info) \
19886 || exit 1
19888 @endif patch
19890 .PHONY: maybe-dvi-patch dvi-patch
19891 maybe-dvi-patch:
19892 @if patch
19893 maybe-dvi-patch: dvi-patch
19895 dvi-patch: \
19896 configure-patch
19897 @: $(MAKE); $(unstage)
19898 @[ -f ./patch/Makefile ] || exit 0; \
19899 r=`${PWD_COMMAND}`; export r; \
19900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19901 $(HOST_EXPORTS) \
19902 for flag in $(EXTRA_HOST_FLAGS) ; do \
19903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19904 done; \
19905 echo "Doing dvi in patch" ; \
19906 (cd $(HOST_SUBDIR)/patch && \
19907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19909 "RANLIB=$${RANLIB}" \
19910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19911 dvi) \
19912 || exit 1
19914 @endif patch
19916 .PHONY: maybe-html-patch html-patch
19917 maybe-html-patch:
19918 @if patch
19919 maybe-html-patch: html-patch
19921 html-patch: \
19922 configure-patch
19923 @: $(MAKE); $(unstage)
19924 @[ -f ./patch/Makefile ] || exit 0; \
19925 r=`${PWD_COMMAND}`; export r; \
19926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19927 $(HOST_EXPORTS) \
19928 for flag in $(EXTRA_HOST_FLAGS) ; do \
19929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19930 done; \
19931 echo "Doing html in patch" ; \
19932 (cd $(HOST_SUBDIR)/patch && \
19933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19935 "RANLIB=$${RANLIB}" \
19936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19937 html) \
19938 || exit 1
19940 @endif patch
19942 .PHONY: maybe-TAGS-patch TAGS-patch
19943 maybe-TAGS-patch:
19944 @if patch
19945 maybe-TAGS-patch: TAGS-patch
19947 TAGS-patch: \
19948 configure-patch
19949 @: $(MAKE); $(unstage)
19950 @[ -f ./patch/Makefile ] || exit 0; \
19951 r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953 $(HOST_EXPORTS) \
19954 for flag in $(EXTRA_HOST_FLAGS) ; do \
19955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19956 done; \
19957 echo "Doing TAGS in patch" ; \
19958 (cd $(HOST_SUBDIR)/patch && \
19959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19961 "RANLIB=$${RANLIB}" \
19962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19963 TAGS) \
19964 || exit 1
19966 @endif patch
19968 .PHONY: maybe-install-info-patch install-info-patch
19969 maybe-install-info-patch:
19970 @if patch
19971 maybe-install-info-patch: install-info-patch
19973 install-info-patch: \
19974 configure-patch \
19975 info-patch
19976 @: $(MAKE); $(unstage)
19977 @[ -f ./patch/Makefile ] || exit 0; \
19978 r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 $(HOST_EXPORTS) \
19981 for flag in $(EXTRA_HOST_FLAGS) ; do \
19982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 done; \
19984 echo "Doing install-info in patch" ; \
19985 (cd $(HOST_SUBDIR)/patch && \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19988 "RANLIB=$${RANLIB}" \
19989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19990 install-info) \
19991 || exit 1
19993 @endif patch
19995 .PHONY: maybe-installcheck-patch installcheck-patch
19996 maybe-installcheck-patch:
19997 @if patch
19998 maybe-installcheck-patch: installcheck-patch
20000 installcheck-patch: \
20001 configure-patch
20002 @: $(MAKE); $(unstage)
20003 @[ -f ./patch/Makefile ] || exit 0; \
20004 r=`${PWD_COMMAND}`; export r; \
20005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20006 $(HOST_EXPORTS) \
20007 for flag in $(EXTRA_HOST_FLAGS) ; do \
20008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20009 done; \
20010 echo "Doing installcheck in patch" ; \
20011 (cd $(HOST_SUBDIR)/patch && \
20012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20014 "RANLIB=$${RANLIB}" \
20015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20016 installcheck) \
20017 || exit 1
20019 @endif patch
20021 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
20022 maybe-mostlyclean-patch:
20023 @if patch
20024 maybe-mostlyclean-patch: mostlyclean-patch
20026 mostlyclean-patch:
20027 @: $(MAKE); $(unstage)
20028 @[ -f ./patch/Makefile ] || exit 0; \
20029 r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(HOST_EXPORTS) \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20034 done; \
20035 echo "Doing mostlyclean in patch" ; \
20036 (cd $(HOST_SUBDIR)/patch && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20041 mostlyclean) \
20042 || exit 1
20044 @endif patch
20046 .PHONY: maybe-clean-patch clean-patch
20047 maybe-clean-patch:
20048 @if patch
20049 maybe-clean-patch: clean-patch
20051 clean-patch:
20052 @: $(MAKE); $(unstage)
20053 @[ -f ./patch/Makefile ] || exit 0; \
20054 r=`${PWD_COMMAND}`; export r; \
20055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20056 $(HOST_EXPORTS) \
20057 for flag in $(EXTRA_HOST_FLAGS) ; do \
20058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20059 done; \
20060 echo "Doing clean in patch" ; \
20061 (cd $(HOST_SUBDIR)/patch && \
20062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20064 "RANLIB=$${RANLIB}" \
20065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20066 clean) \
20067 || exit 1
20069 @endif patch
20071 .PHONY: maybe-distclean-patch distclean-patch
20072 maybe-distclean-patch:
20073 @if patch
20074 maybe-distclean-patch: distclean-patch
20076 distclean-patch:
20077 @: $(MAKE); $(unstage)
20078 @[ -f ./patch/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 distclean in patch" ; \
20086 (cd $(HOST_SUBDIR)/patch && \
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 distclean) \
20092 || exit 1
20094 @endif patch
20096 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
20097 maybe-maintainer-clean-patch:
20098 @if patch
20099 maybe-maintainer-clean-patch: maintainer-clean-patch
20101 maintainer-clean-patch:
20102 @: $(MAKE); $(unstage)
20103 @[ -f ./patch/Makefile ] || exit 0; \
20104 r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 $(HOST_EXPORTS) \
20107 for flag in $(EXTRA_HOST_FLAGS) ; do \
20108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20109 done; \
20110 echo "Doing maintainer-clean in patch" ; \
20111 (cd $(HOST_SUBDIR)/patch && \
20112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20114 "RANLIB=$${RANLIB}" \
20115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20116 maintainer-clean) \
20117 || exit 1
20119 @endif patch
20123 .PHONY: configure-perl maybe-configure-perl
20124 maybe-configure-perl:
20125 @if perl
20126 maybe-configure-perl: configure-perl
20127 configure-perl:
20128 @: $(MAKE); $(unstage)
20129 @r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
20132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
20133 $(HOST_EXPORTS) \
20134 echo Configuring in $(HOST_SUBDIR)/perl; \
20135 cd "$(HOST_SUBDIR)/perl" || exit 1; \
20136 case $(srcdir) in \
20137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20138 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
20139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20140 esac; \
20141 srcdiroption="--srcdir=$${topdir}/perl"; \
20142 libsrcdir="$$s/perl"; \
20143 $(SHELL) $${libsrcdir}/configure \
20144 $(HOST_CONFIGARGS) $${srcdiroption} \
20145 || exit 1
20146 @endif perl
20152 .PHONY: all-perl maybe-all-perl
20153 maybe-all-perl:
20154 @if perl
20155 TARGET-perl=all
20156 maybe-all-perl: all-perl
20157 all-perl: configure-perl
20158 @: $(MAKE); $(unstage)
20159 @r=`${PWD_COMMAND}`; export r; \
20160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 $(HOST_EXPORTS) \
20162 (cd $(HOST_SUBDIR)/perl && \
20163 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
20164 @endif perl
20169 .PHONY: check-perl maybe-check-perl
20170 maybe-check-perl:
20171 @if perl
20172 maybe-check-perl: check-perl
20174 check-perl:
20175 @: $(MAKE); $(unstage)
20176 @r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 $(HOST_EXPORTS) \
20179 (cd $(HOST_SUBDIR)/perl && \
20180 $(MAKE) $(FLAGS_TO_PASS) check)
20182 @endif perl
20184 .PHONY: install-perl maybe-install-perl
20185 maybe-install-perl:
20186 @if perl
20187 maybe-install-perl: install-perl
20189 install-perl: installdirs
20190 @: $(MAKE); $(unstage)
20191 @r=`${PWD_COMMAND}`; export r; \
20192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20193 $(HOST_EXPORTS) \
20194 (cd $(HOST_SUBDIR)/perl && \
20195 $(MAKE) $(FLAGS_TO_PASS) install)
20197 @endif perl
20199 # Other targets (info, dvi, etc.)
20201 .PHONY: maybe-info-perl info-perl
20202 maybe-info-perl:
20203 @if perl
20204 maybe-info-perl: info-perl
20206 info-perl: \
20207 configure-perl
20208 @: $(MAKE); $(unstage)
20209 @[ -f ./perl/Makefile ] || exit 0; \
20210 r=`${PWD_COMMAND}`; export r; \
20211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing info in perl" ; \
20217 (cd $(HOST_SUBDIR)/perl && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20222 info) \
20223 || exit 1
20225 @endif perl
20227 .PHONY: maybe-dvi-perl dvi-perl
20228 maybe-dvi-perl:
20229 @if perl
20230 maybe-dvi-perl: dvi-perl
20232 dvi-perl: \
20233 configure-perl
20234 @: $(MAKE); $(unstage)
20235 @[ -f ./perl/Makefile ] || exit 0; \
20236 r=`${PWD_COMMAND}`; export r; \
20237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 $(HOST_EXPORTS) \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 done; \
20242 echo "Doing dvi in perl" ; \
20243 (cd $(HOST_SUBDIR)/perl && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20248 dvi) \
20249 || exit 1
20251 @endif perl
20253 .PHONY: maybe-html-perl html-perl
20254 maybe-html-perl:
20255 @if perl
20256 maybe-html-perl: html-perl
20258 html-perl: \
20259 configure-perl
20260 @: $(MAKE); $(unstage)
20261 @[ -f ./perl/Makefile ] || exit 0; \
20262 r=`${PWD_COMMAND}`; export r; \
20263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 $(HOST_EXPORTS) \
20265 for flag in $(EXTRA_HOST_FLAGS) ; do \
20266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20267 done; \
20268 echo "Doing html in perl" ; \
20269 (cd $(HOST_SUBDIR)/perl && \
20270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20272 "RANLIB=$${RANLIB}" \
20273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20274 html) \
20275 || exit 1
20277 @endif perl
20279 .PHONY: maybe-TAGS-perl TAGS-perl
20280 maybe-TAGS-perl:
20281 @if perl
20282 maybe-TAGS-perl: TAGS-perl
20284 TAGS-perl: \
20285 configure-perl
20286 @: $(MAKE); $(unstage)
20287 @[ -f ./perl/Makefile ] || exit 0; \
20288 r=`${PWD_COMMAND}`; export r; \
20289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20290 $(HOST_EXPORTS) \
20291 for flag in $(EXTRA_HOST_FLAGS) ; do \
20292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20293 done; \
20294 echo "Doing TAGS in perl" ; \
20295 (cd $(HOST_SUBDIR)/perl && \
20296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20298 "RANLIB=$${RANLIB}" \
20299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20300 TAGS) \
20301 || exit 1
20303 @endif perl
20305 .PHONY: maybe-install-info-perl install-info-perl
20306 maybe-install-info-perl:
20307 @if perl
20308 maybe-install-info-perl: install-info-perl
20310 install-info-perl: \
20311 configure-perl \
20312 info-perl
20313 @: $(MAKE); $(unstage)
20314 @[ -f ./perl/Makefile ] || exit 0; \
20315 r=`${PWD_COMMAND}`; export r; \
20316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20317 $(HOST_EXPORTS) \
20318 for flag in $(EXTRA_HOST_FLAGS) ; do \
20319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20320 done; \
20321 echo "Doing install-info in perl" ; \
20322 (cd $(HOST_SUBDIR)/perl && \
20323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20325 "RANLIB=$${RANLIB}" \
20326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20327 install-info) \
20328 || exit 1
20330 @endif perl
20332 .PHONY: maybe-installcheck-perl installcheck-perl
20333 maybe-installcheck-perl:
20334 @if perl
20335 maybe-installcheck-perl: installcheck-perl
20337 installcheck-perl: \
20338 configure-perl
20339 @: $(MAKE); $(unstage)
20340 @[ -f ./perl/Makefile ] || exit 0; \
20341 r=`${PWD_COMMAND}`; export r; \
20342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 $(HOST_EXPORTS) \
20344 for flag in $(EXTRA_HOST_FLAGS) ; do \
20345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20346 done; \
20347 echo "Doing installcheck in perl" ; \
20348 (cd $(HOST_SUBDIR)/perl && \
20349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20351 "RANLIB=$${RANLIB}" \
20352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20353 installcheck) \
20354 || exit 1
20356 @endif perl
20358 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20359 maybe-mostlyclean-perl:
20360 @if perl
20361 maybe-mostlyclean-perl: mostlyclean-perl
20363 mostlyclean-perl:
20364 @: $(MAKE); $(unstage)
20365 @[ -f ./perl/Makefile ] || exit 0; \
20366 r=`${PWD_COMMAND}`; export r; \
20367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20368 $(HOST_EXPORTS) \
20369 for flag in $(EXTRA_HOST_FLAGS) ; do \
20370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20371 done; \
20372 echo "Doing mostlyclean in perl" ; \
20373 (cd $(HOST_SUBDIR)/perl && \
20374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20376 "RANLIB=$${RANLIB}" \
20377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20378 mostlyclean) \
20379 || exit 1
20381 @endif perl
20383 .PHONY: maybe-clean-perl clean-perl
20384 maybe-clean-perl:
20385 @if perl
20386 maybe-clean-perl: clean-perl
20388 clean-perl:
20389 @: $(MAKE); $(unstage)
20390 @[ -f ./perl/Makefile ] || exit 0; \
20391 r=`${PWD_COMMAND}`; export r; \
20392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20393 $(HOST_EXPORTS) \
20394 for flag in $(EXTRA_HOST_FLAGS) ; do \
20395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20396 done; \
20397 echo "Doing clean in perl" ; \
20398 (cd $(HOST_SUBDIR)/perl && \
20399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20401 "RANLIB=$${RANLIB}" \
20402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20403 clean) \
20404 || exit 1
20406 @endif perl
20408 .PHONY: maybe-distclean-perl distclean-perl
20409 maybe-distclean-perl:
20410 @if perl
20411 maybe-distclean-perl: distclean-perl
20413 distclean-perl:
20414 @: $(MAKE); $(unstage)
20415 @[ -f ./perl/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 distclean in perl" ; \
20423 (cd $(HOST_SUBDIR)/perl && \
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 distclean) \
20429 || exit 1
20431 @endif perl
20433 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20434 maybe-maintainer-clean-perl:
20435 @if perl
20436 maybe-maintainer-clean-perl: maintainer-clean-perl
20438 maintainer-clean-perl:
20439 @: $(MAKE); $(unstage)
20440 @[ -f ./perl/Makefile ] || exit 0; \
20441 r=`${PWD_COMMAND}`; export r; \
20442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 $(HOST_EXPORTS) \
20444 for flag in $(EXTRA_HOST_FLAGS) ; do \
20445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20446 done; \
20447 echo "Doing maintainer-clean in perl" ; \
20448 (cd $(HOST_SUBDIR)/perl && \
20449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20451 "RANLIB=$${RANLIB}" \
20452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20453 maintainer-clean) \
20454 || exit 1
20456 @endif perl
20460 .PHONY: configure-prms maybe-configure-prms
20461 maybe-configure-prms:
20462 @if prms
20463 maybe-configure-prms: configure-prms
20464 configure-prms:
20465 @: $(MAKE); $(unstage)
20466 @r=`${PWD_COMMAND}`; export r; \
20467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20468 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20470 $(HOST_EXPORTS) \
20471 echo Configuring in $(HOST_SUBDIR)/prms; \
20472 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20473 case $(srcdir) in \
20474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20475 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20477 esac; \
20478 srcdiroption="--srcdir=$${topdir}/prms"; \
20479 libsrcdir="$$s/prms"; \
20480 $(SHELL) $${libsrcdir}/configure \
20481 $(HOST_CONFIGARGS) $${srcdiroption} \
20482 || exit 1
20483 @endif prms
20489 .PHONY: all-prms maybe-all-prms
20490 maybe-all-prms:
20491 @if prms
20492 TARGET-prms=all
20493 maybe-all-prms: all-prms
20494 all-prms: configure-prms
20495 @: $(MAKE); $(unstage)
20496 @r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 $(HOST_EXPORTS) \
20499 (cd $(HOST_SUBDIR)/prms && \
20500 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20501 @endif prms
20506 .PHONY: check-prms maybe-check-prms
20507 maybe-check-prms:
20508 @if prms
20509 maybe-check-prms: check-prms
20511 check-prms:
20512 @: $(MAKE); $(unstage)
20513 @r=`${PWD_COMMAND}`; export r; \
20514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20515 $(HOST_EXPORTS) \
20516 (cd $(HOST_SUBDIR)/prms && \
20517 $(MAKE) $(FLAGS_TO_PASS) check)
20519 @endif prms
20521 .PHONY: install-prms maybe-install-prms
20522 maybe-install-prms:
20523 @if prms
20524 maybe-install-prms: install-prms
20526 install-prms: installdirs
20527 @: $(MAKE); $(unstage)
20528 @r=`${PWD_COMMAND}`; export r; \
20529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20530 $(HOST_EXPORTS) \
20531 (cd $(HOST_SUBDIR)/prms && \
20532 $(MAKE) $(FLAGS_TO_PASS) install)
20534 @endif prms
20536 # Other targets (info, dvi, etc.)
20538 .PHONY: maybe-info-prms info-prms
20539 maybe-info-prms:
20540 @if prms
20541 maybe-info-prms: info-prms
20543 info-prms: \
20544 configure-prms
20545 @: $(MAKE); $(unstage)
20546 @[ -f ./prms/Makefile ] || exit 0; \
20547 r=`${PWD_COMMAND}`; export r; \
20548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20549 $(HOST_EXPORTS) \
20550 for flag in $(EXTRA_HOST_FLAGS) ; do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20552 done; \
20553 echo "Doing info in prms" ; \
20554 (cd $(HOST_SUBDIR)/prms && \
20555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20557 "RANLIB=$${RANLIB}" \
20558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20559 info) \
20560 || exit 1
20562 @endif prms
20564 .PHONY: maybe-dvi-prms dvi-prms
20565 maybe-dvi-prms:
20566 @if prms
20567 maybe-dvi-prms: dvi-prms
20569 dvi-prms: \
20570 configure-prms
20571 @: $(MAKE); $(unstage)
20572 @[ -f ./prms/Makefile ] || exit 0; \
20573 r=`${PWD_COMMAND}`; export r; \
20574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20575 $(HOST_EXPORTS) \
20576 for flag in $(EXTRA_HOST_FLAGS) ; do \
20577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20578 done; \
20579 echo "Doing dvi in prms" ; \
20580 (cd $(HOST_SUBDIR)/prms && \
20581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20583 "RANLIB=$${RANLIB}" \
20584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20585 dvi) \
20586 || exit 1
20588 @endif prms
20590 .PHONY: maybe-html-prms html-prms
20591 maybe-html-prms:
20592 @if prms
20593 maybe-html-prms: html-prms
20595 html-prms: \
20596 configure-prms
20597 @: $(MAKE); $(unstage)
20598 @[ -f ./prms/Makefile ] || exit 0; \
20599 r=`${PWD_COMMAND}`; export r; \
20600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20601 $(HOST_EXPORTS) \
20602 for flag in $(EXTRA_HOST_FLAGS) ; do \
20603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20604 done; \
20605 echo "Doing html in prms" ; \
20606 (cd $(HOST_SUBDIR)/prms && \
20607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20609 "RANLIB=$${RANLIB}" \
20610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20611 html) \
20612 || exit 1
20614 @endif prms
20616 .PHONY: maybe-TAGS-prms TAGS-prms
20617 maybe-TAGS-prms:
20618 @if prms
20619 maybe-TAGS-prms: TAGS-prms
20621 TAGS-prms: \
20622 configure-prms
20623 @: $(MAKE); $(unstage)
20624 @[ -f ./prms/Makefile ] || exit 0; \
20625 r=`${PWD_COMMAND}`; export r; \
20626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 $(HOST_EXPORTS) \
20628 for flag in $(EXTRA_HOST_FLAGS) ; do \
20629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20630 done; \
20631 echo "Doing TAGS in prms" ; \
20632 (cd $(HOST_SUBDIR)/prms && \
20633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20635 "RANLIB=$${RANLIB}" \
20636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20637 TAGS) \
20638 || exit 1
20640 @endif prms
20642 .PHONY: maybe-install-info-prms install-info-prms
20643 maybe-install-info-prms:
20644 @if prms
20645 maybe-install-info-prms: install-info-prms
20647 install-info-prms: \
20648 configure-prms \
20649 info-prms
20650 @: $(MAKE); $(unstage)
20651 @[ -f ./prms/Makefile ] || exit 0; \
20652 r=`${PWD_COMMAND}`; export r; \
20653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 $(HOST_EXPORTS) \
20655 for flag in $(EXTRA_HOST_FLAGS) ; do \
20656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20657 done; \
20658 echo "Doing install-info in prms" ; \
20659 (cd $(HOST_SUBDIR)/prms && \
20660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20662 "RANLIB=$${RANLIB}" \
20663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20664 install-info) \
20665 || exit 1
20667 @endif prms
20669 .PHONY: maybe-installcheck-prms installcheck-prms
20670 maybe-installcheck-prms:
20671 @if prms
20672 maybe-installcheck-prms: installcheck-prms
20674 installcheck-prms: \
20675 configure-prms
20676 @: $(MAKE); $(unstage)
20677 @[ -f ./prms/Makefile ] || exit 0; \
20678 r=`${PWD_COMMAND}`; export r; \
20679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 $(HOST_EXPORTS) \
20681 for flag in $(EXTRA_HOST_FLAGS) ; do \
20682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20683 done; \
20684 echo "Doing installcheck in prms" ; \
20685 (cd $(HOST_SUBDIR)/prms && \
20686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20688 "RANLIB=$${RANLIB}" \
20689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20690 installcheck) \
20691 || exit 1
20693 @endif prms
20695 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20696 maybe-mostlyclean-prms:
20697 @if prms
20698 maybe-mostlyclean-prms: mostlyclean-prms
20700 mostlyclean-prms:
20701 @: $(MAKE); $(unstage)
20702 @[ -f ./prms/Makefile ] || exit 0; \
20703 r=`${PWD_COMMAND}`; export r; \
20704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20705 $(HOST_EXPORTS) \
20706 for flag in $(EXTRA_HOST_FLAGS) ; do \
20707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20708 done; \
20709 echo "Doing mostlyclean in prms" ; \
20710 (cd $(HOST_SUBDIR)/prms && \
20711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20713 "RANLIB=$${RANLIB}" \
20714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20715 mostlyclean) \
20716 || exit 1
20718 @endif prms
20720 .PHONY: maybe-clean-prms clean-prms
20721 maybe-clean-prms:
20722 @if prms
20723 maybe-clean-prms: clean-prms
20725 clean-prms:
20726 @: $(MAKE); $(unstage)
20727 @[ -f ./prms/Makefile ] || exit 0; \
20728 r=`${PWD_COMMAND}`; export r; \
20729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20730 $(HOST_EXPORTS) \
20731 for flag in $(EXTRA_HOST_FLAGS) ; do \
20732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20733 done; \
20734 echo "Doing clean in prms" ; \
20735 (cd $(HOST_SUBDIR)/prms && \
20736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20738 "RANLIB=$${RANLIB}" \
20739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20740 clean) \
20741 || exit 1
20743 @endif prms
20745 .PHONY: maybe-distclean-prms distclean-prms
20746 maybe-distclean-prms:
20747 @if prms
20748 maybe-distclean-prms: distclean-prms
20750 distclean-prms:
20751 @: $(MAKE); $(unstage)
20752 @[ -f ./prms/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 distclean in prms" ; \
20760 (cd $(HOST_SUBDIR)/prms && \
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 distclean) \
20766 || exit 1
20768 @endif prms
20770 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20771 maybe-maintainer-clean-prms:
20772 @if prms
20773 maybe-maintainer-clean-prms: maintainer-clean-prms
20775 maintainer-clean-prms:
20776 @: $(MAKE); $(unstage)
20777 @[ -f ./prms/Makefile ] || exit 0; \
20778 r=`${PWD_COMMAND}`; export r; \
20779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20780 $(HOST_EXPORTS) \
20781 for flag in $(EXTRA_HOST_FLAGS) ; do \
20782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20783 done; \
20784 echo "Doing maintainer-clean in prms" ; \
20785 (cd $(HOST_SUBDIR)/prms && \
20786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20788 "RANLIB=$${RANLIB}" \
20789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20790 maintainer-clean) \
20791 || exit 1
20793 @endif prms
20797 .PHONY: configure-rcs maybe-configure-rcs
20798 maybe-configure-rcs:
20799 @if rcs
20800 maybe-configure-rcs: configure-rcs
20801 configure-rcs:
20802 @: $(MAKE); $(unstage)
20803 @r=`${PWD_COMMAND}`; export r; \
20804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20805 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20807 $(HOST_EXPORTS) \
20808 echo Configuring in $(HOST_SUBDIR)/rcs; \
20809 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20810 case $(srcdir) in \
20811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20812 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20814 esac; \
20815 srcdiroption="--srcdir=$${topdir}/rcs"; \
20816 libsrcdir="$$s/rcs"; \
20817 $(SHELL) $${libsrcdir}/configure \
20818 $(HOST_CONFIGARGS) $${srcdiroption} \
20819 || exit 1
20820 @endif rcs
20826 .PHONY: all-rcs maybe-all-rcs
20827 maybe-all-rcs:
20828 @if rcs
20829 TARGET-rcs=all
20830 maybe-all-rcs: all-rcs
20831 all-rcs: configure-rcs
20832 @: $(MAKE); $(unstage)
20833 @r=`${PWD_COMMAND}`; export r; \
20834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20835 $(HOST_EXPORTS) \
20836 (cd $(HOST_SUBDIR)/rcs && \
20837 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20838 @endif rcs
20843 .PHONY: check-rcs maybe-check-rcs
20844 maybe-check-rcs:
20845 @if rcs
20846 maybe-check-rcs: check-rcs
20848 check-rcs:
20849 @: $(MAKE); $(unstage)
20850 @r=`${PWD_COMMAND}`; export r; \
20851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20852 $(HOST_EXPORTS) \
20853 (cd $(HOST_SUBDIR)/rcs && \
20854 $(MAKE) $(FLAGS_TO_PASS) check)
20856 @endif rcs
20858 .PHONY: install-rcs maybe-install-rcs
20859 maybe-install-rcs:
20860 @if rcs
20861 maybe-install-rcs: install-rcs
20863 install-rcs: installdirs
20864 @: $(MAKE); $(unstage)
20865 @r=`${PWD_COMMAND}`; export r; \
20866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20867 $(HOST_EXPORTS) \
20868 (cd $(HOST_SUBDIR)/rcs && \
20869 $(MAKE) $(FLAGS_TO_PASS) install)
20871 @endif rcs
20873 # Other targets (info, dvi, etc.)
20875 .PHONY: maybe-info-rcs info-rcs
20876 maybe-info-rcs:
20877 @if rcs
20878 maybe-info-rcs: info-rcs
20880 info-rcs: \
20881 configure-rcs
20882 @: $(MAKE); $(unstage)
20883 @[ -f ./rcs/Makefile ] || exit 0; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(HOST_EXPORTS) \
20887 for flag in $(EXTRA_HOST_FLAGS) ; do \
20888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20889 done; \
20890 echo "Doing info in rcs" ; \
20891 (cd $(HOST_SUBDIR)/rcs && \
20892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20894 "RANLIB=$${RANLIB}" \
20895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20896 info) \
20897 || exit 1
20899 @endif rcs
20901 .PHONY: maybe-dvi-rcs dvi-rcs
20902 maybe-dvi-rcs:
20903 @if rcs
20904 maybe-dvi-rcs: dvi-rcs
20906 dvi-rcs: \
20907 configure-rcs
20908 @: $(MAKE); $(unstage)
20909 @[ -f ./rcs/Makefile ] || exit 0; \
20910 r=`${PWD_COMMAND}`; export r; \
20911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20912 $(HOST_EXPORTS) \
20913 for flag in $(EXTRA_HOST_FLAGS) ; do \
20914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20915 done; \
20916 echo "Doing dvi in rcs" ; \
20917 (cd $(HOST_SUBDIR)/rcs && \
20918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20920 "RANLIB=$${RANLIB}" \
20921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20922 dvi) \
20923 || exit 1
20925 @endif rcs
20927 .PHONY: maybe-html-rcs html-rcs
20928 maybe-html-rcs:
20929 @if rcs
20930 maybe-html-rcs: html-rcs
20932 html-rcs: \
20933 configure-rcs
20934 @: $(MAKE); $(unstage)
20935 @[ -f ./rcs/Makefile ] || exit 0; \
20936 r=`${PWD_COMMAND}`; export r; \
20937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20938 $(HOST_EXPORTS) \
20939 for flag in $(EXTRA_HOST_FLAGS) ; do \
20940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20941 done; \
20942 echo "Doing html in rcs" ; \
20943 (cd $(HOST_SUBDIR)/rcs && \
20944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20946 "RANLIB=$${RANLIB}" \
20947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20948 html) \
20949 || exit 1
20951 @endif rcs
20953 .PHONY: maybe-TAGS-rcs TAGS-rcs
20954 maybe-TAGS-rcs:
20955 @if rcs
20956 maybe-TAGS-rcs: TAGS-rcs
20958 TAGS-rcs: \
20959 configure-rcs
20960 @: $(MAKE); $(unstage)
20961 @[ -f ./rcs/Makefile ] || exit 0; \
20962 r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(HOST_EXPORTS) \
20965 for flag in $(EXTRA_HOST_FLAGS) ; do \
20966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20967 done; \
20968 echo "Doing TAGS in rcs" ; \
20969 (cd $(HOST_SUBDIR)/rcs && \
20970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20972 "RANLIB=$${RANLIB}" \
20973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20974 TAGS) \
20975 || exit 1
20977 @endif rcs
20979 .PHONY: maybe-install-info-rcs install-info-rcs
20980 maybe-install-info-rcs:
20981 @if rcs
20982 maybe-install-info-rcs: install-info-rcs
20984 install-info-rcs: \
20985 configure-rcs \
20986 info-rcs
20987 @: $(MAKE); $(unstage)
20988 @[ -f ./rcs/Makefile ] || exit 0; \
20989 r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 $(HOST_EXPORTS) \
20992 for flag in $(EXTRA_HOST_FLAGS) ; do \
20993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20994 done; \
20995 echo "Doing install-info in rcs" ; \
20996 (cd $(HOST_SUBDIR)/rcs && \
20997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20999 "RANLIB=$${RANLIB}" \
21000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21001 install-info) \
21002 || exit 1
21004 @endif rcs
21006 .PHONY: maybe-installcheck-rcs installcheck-rcs
21007 maybe-installcheck-rcs:
21008 @if rcs
21009 maybe-installcheck-rcs: installcheck-rcs
21011 installcheck-rcs: \
21012 configure-rcs
21013 @: $(MAKE); $(unstage)
21014 @[ -f ./rcs/Makefile ] || exit 0; \
21015 r=`${PWD_COMMAND}`; export r; \
21016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21017 $(HOST_EXPORTS) \
21018 for flag in $(EXTRA_HOST_FLAGS) ; do \
21019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21020 done; \
21021 echo "Doing installcheck in rcs" ; \
21022 (cd $(HOST_SUBDIR)/rcs && \
21023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21025 "RANLIB=$${RANLIB}" \
21026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21027 installcheck) \
21028 || exit 1
21030 @endif rcs
21032 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
21033 maybe-mostlyclean-rcs:
21034 @if rcs
21035 maybe-mostlyclean-rcs: mostlyclean-rcs
21037 mostlyclean-rcs:
21038 @: $(MAKE); $(unstage)
21039 @[ -f ./rcs/Makefile ] || exit 0; \
21040 r=`${PWD_COMMAND}`; export r; \
21041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21042 $(HOST_EXPORTS) \
21043 for flag in $(EXTRA_HOST_FLAGS) ; do \
21044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21045 done; \
21046 echo "Doing mostlyclean in rcs" ; \
21047 (cd $(HOST_SUBDIR)/rcs && \
21048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21050 "RANLIB=$${RANLIB}" \
21051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21052 mostlyclean) \
21053 || exit 1
21055 @endif rcs
21057 .PHONY: maybe-clean-rcs clean-rcs
21058 maybe-clean-rcs:
21059 @if rcs
21060 maybe-clean-rcs: clean-rcs
21062 clean-rcs:
21063 @: $(MAKE); $(unstage)
21064 @[ -f ./rcs/Makefile ] || exit 0; \
21065 r=`${PWD_COMMAND}`; export r; \
21066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21067 $(HOST_EXPORTS) \
21068 for flag in $(EXTRA_HOST_FLAGS) ; do \
21069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21070 done; \
21071 echo "Doing clean in rcs" ; \
21072 (cd $(HOST_SUBDIR)/rcs && \
21073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21075 "RANLIB=$${RANLIB}" \
21076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21077 clean) \
21078 || exit 1
21080 @endif rcs
21082 .PHONY: maybe-distclean-rcs distclean-rcs
21083 maybe-distclean-rcs:
21084 @if rcs
21085 maybe-distclean-rcs: distclean-rcs
21087 distclean-rcs:
21088 @: $(MAKE); $(unstage)
21089 @[ -f ./rcs/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 distclean in rcs" ; \
21097 (cd $(HOST_SUBDIR)/rcs && \
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 distclean) \
21103 || exit 1
21105 @endif rcs
21107 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
21108 maybe-maintainer-clean-rcs:
21109 @if rcs
21110 maybe-maintainer-clean-rcs: maintainer-clean-rcs
21112 maintainer-clean-rcs:
21113 @: $(MAKE); $(unstage)
21114 @[ -f ./rcs/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21117 $(HOST_EXPORTS) \
21118 for flag in $(EXTRA_HOST_FLAGS) ; do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21120 done; \
21121 echo "Doing maintainer-clean in rcs" ; \
21122 (cd $(HOST_SUBDIR)/rcs && \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21127 maintainer-clean) \
21128 || exit 1
21130 @endif rcs
21134 .PHONY: configure-readline maybe-configure-readline
21135 maybe-configure-readline:
21136 @if readline
21137 maybe-configure-readline: configure-readline
21138 configure-readline:
21139 @: $(MAKE); $(unstage)
21140 @r=`${PWD_COMMAND}`; export r; \
21141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
21143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
21144 $(HOST_EXPORTS) \
21145 echo Configuring in $(HOST_SUBDIR)/readline; \
21146 cd "$(HOST_SUBDIR)/readline" || exit 1; \
21147 case $(srcdir) in \
21148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21149 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
21150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21151 esac; \
21152 srcdiroption="--srcdir=$${topdir}/readline"; \
21153 libsrcdir="$$s/readline"; \
21154 $(SHELL) $${libsrcdir}/configure \
21155 $(HOST_CONFIGARGS) $${srcdiroption} \
21156 || exit 1
21157 @endif readline
21163 .PHONY: all-readline maybe-all-readline
21164 maybe-all-readline:
21165 @if readline
21166 TARGET-readline=all
21167 maybe-all-readline: all-readline
21168 all-readline: configure-readline
21169 @: $(MAKE); $(unstage)
21170 @r=`${PWD_COMMAND}`; export r; \
21171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21172 $(HOST_EXPORTS) \
21173 (cd $(HOST_SUBDIR)/readline && \
21174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
21175 @endif readline
21180 .PHONY: check-readline maybe-check-readline
21181 maybe-check-readline:
21182 @if readline
21183 maybe-check-readline: check-readline
21185 check-readline:
21186 @: $(MAKE); $(unstage)
21187 @r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(HOST_EXPORTS) \
21190 (cd $(HOST_SUBDIR)/readline && \
21191 $(MAKE) $(FLAGS_TO_PASS) check)
21193 @endif readline
21195 .PHONY: install-readline maybe-install-readline
21196 maybe-install-readline:
21197 @if readline
21198 maybe-install-readline: install-readline
21200 install-readline: installdirs
21201 @: $(MAKE); $(unstage)
21202 @r=`${PWD_COMMAND}`; export r; \
21203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 $(HOST_EXPORTS) \
21205 (cd $(HOST_SUBDIR)/readline && \
21206 $(MAKE) $(FLAGS_TO_PASS) install)
21208 @endif readline
21210 # Other targets (info, dvi, etc.)
21212 .PHONY: maybe-info-readline info-readline
21213 maybe-info-readline:
21214 @if readline
21215 maybe-info-readline: info-readline
21217 info-readline: \
21218 configure-readline
21219 @: $(MAKE); $(unstage)
21220 @[ -f ./readline/Makefile ] || exit 0; \
21221 r=`${PWD_COMMAND}`; export r; \
21222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21223 $(HOST_EXPORTS) \
21224 for flag in $(EXTRA_HOST_FLAGS) ; do \
21225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21226 done; \
21227 echo "Doing info in readline" ; \
21228 (cd $(HOST_SUBDIR)/readline && \
21229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21231 "RANLIB=$${RANLIB}" \
21232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21233 info) \
21234 || exit 1
21236 @endif readline
21238 .PHONY: maybe-dvi-readline dvi-readline
21239 maybe-dvi-readline:
21240 @if readline
21241 maybe-dvi-readline: dvi-readline
21243 dvi-readline: \
21244 configure-readline
21245 @: $(MAKE); $(unstage)
21246 @[ -f ./readline/Makefile ] || exit 0; \
21247 r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21249 $(HOST_EXPORTS) \
21250 for flag in $(EXTRA_HOST_FLAGS) ; do \
21251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21252 done; \
21253 echo "Doing dvi in readline" ; \
21254 (cd $(HOST_SUBDIR)/readline && \
21255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21257 "RANLIB=$${RANLIB}" \
21258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21259 dvi) \
21260 || exit 1
21262 @endif readline
21264 .PHONY: maybe-html-readline html-readline
21265 maybe-html-readline:
21266 @if readline
21267 maybe-html-readline: html-readline
21269 html-readline: \
21270 configure-readline
21271 @: $(MAKE); $(unstage)
21272 @[ -f ./readline/Makefile ] || exit 0; \
21273 r=`${PWD_COMMAND}`; export r; \
21274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21275 $(HOST_EXPORTS) \
21276 for flag in $(EXTRA_HOST_FLAGS) ; do \
21277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21278 done; \
21279 echo "Doing html in readline" ; \
21280 (cd $(HOST_SUBDIR)/readline && \
21281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21283 "RANLIB=$${RANLIB}" \
21284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21285 html) \
21286 || exit 1
21288 @endif readline
21290 .PHONY: maybe-TAGS-readline TAGS-readline
21291 maybe-TAGS-readline:
21292 @if readline
21293 maybe-TAGS-readline: TAGS-readline
21295 TAGS-readline: \
21296 configure-readline
21297 @: $(MAKE); $(unstage)
21298 @[ -f ./readline/Makefile ] || exit 0; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301 $(HOST_EXPORTS) \
21302 for flag in $(EXTRA_HOST_FLAGS) ; do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21304 done; \
21305 echo "Doing TAGS in readline" ; \
21306 (cd $(HOST_SUBDIR)/readline && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311 TAGS) \
21312 || exit 1
21314 @endif readline
21316 .PHONY: maybe-install-info-readline install-info-readline
21317 maybe-install-info-readline:
21318 @if readline
21319 maybe-install-info-readline: install-info-readline
21321 install-info-readline: \
21322 configure-readline \
21323 info-readline
21324 @: $(MAKE); $(unstage)
21325 @[ -f ./readline/Makefile ] || exit 0; \
21326 r=`${PWD_COMMAND}`; export r; \
21327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21328 $(HOST_EXPORTS) \
21329 for flag in $(EXTRA_HOST_FLAGS) ; do \
21330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21331 done; \
21332 echo "Doing install-info in readline" ; \
21333 (cd $(HOST_SUBDIR)/readline && \
21334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21336 "RANLIB=$${RANLIB}" \
21337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21338 install-info) \
21339 || exit 1
21341 @endif readline
21343 .PHONY: maybe-installcheck-readline installcheck-readline
21344 maybe-installcheck-readline:
21345 @if readline
21346 maybe-installcheck-readline: installcheck-readline
21348 installcheck-readline: \
21349 configure-readline
21350 @: $(MAKE); $(unstage)
21351 @[ -f ./readline/Makefile ] || exit 0; \
21352 r=`${PWD_COMMAND}`; export r; \
21353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21354 $(HOST_EXPORTS) \
21355 for flag in $(EXTRA_HOST_FLAGS) ; do \
21356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21357 done; \
21358 echo "Doing installcheck in readline" ; \
21359 (cd $(HOST_SUBDIR)/readline && \
21360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21362 "RANLIB=$${RANLIB}" \
21363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21364 installcheck) \
21365 || exit 1
21367 @endif readline
21369 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21370 maybe-mostlyclean-readline:
21371 @if readline
21372 maybe-mostlyclean-readline: mostlyclean-readline
21374 mostlyclean-readline:
21375 @: $(MAKE); $(unstage)
21376 @[ -f ./readline/Makefile ] || exit 0; \
21377 r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 $(HOST_EXPORTS) \
21380 for flag in $(EXTRA_HOST_FLAGS) ; do \
21381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21382 done; \
21383 echo "Doing mostlyclean in readline" ; \
21384 (cd $(HOST_SUBDIR)/readline && \
21385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21387 "RANLIB=$${RANLIB}" \
21388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21389 mostlyclean) \
21390 || exit 1
21392 @endif readline
21394 .PHONY: maybe-clean-readline clean-readline
21395 maybe-clean-readline:
21396 @if readline
21397 maybe-clean-readline: clean-readline
21399 clean-readline:
21400 @: $(MAKE); $(unstage)
21401 @[ -f ./readline/Makefile ] || exit 0; \
21402 r=`${PWD_COMMAND}`; export r; \
21403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21404 $(HOST_EXPORTS) \
21405 for flag in $(EXTRA_HOST_FLAGS) ; do \
21406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21407 done; \
21408 echo "Doing clean in readline" ; \
21409 (cd $(HOST_SUBDIR)/readline && \
21410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21412 "RANLIB=$${RANLIB}" \
21413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21414 clean) \
21415 || exit 1
21417 @endif readline
21419 .PHONY: maybe-distclean-readline distclean-readline
21420 maybe-distclean-readline:
21421 @if readline
21422 maybe-distclean-readline: distclean-readline
21424 distclean-readline:
21425 @: $(MAKE); $(unstage)
21426 @[ -f ./readline/Makefile ] || exit 0; \
21427 r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(HOST_EXPORTS) \
21430 for flag in $(EXTRA_HOST_FLAGS) ; do \
21431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21432 done; \
21433 echo "Doing distclean in readline" ; \
21434 (cd $(HOST_SUBDIR)/readline && \
21435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21437 "RANLIB=$${RANLIB}" \
21438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21439 distclean) \
21440 || exit 1
21442 @endif readline
21444 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21445 maybe-maintainer-clean-readline:
21446 @if readline
21447 maybe-maintainer-clean-readline: maintainer-clean-readline
21449 maintainer-clean-readline:
21450 @: $(MAKE); $(unstage)
21451 @[ -f ./readline/Makefile ] || exit 0; \
21452 r=`${PWD_COMMAND}`; export r; \
21453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21454 $(HOST_EXPORTS) \
21455 for flag in $(EXTRA_HOST_FLAGS) ; do \
21456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21457 done; \
21458 echo "Doing maintainer-clean in readline" ; \
21459 (cd $(HOST_SUBDIR)/readline && \
21460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21462 "RANLIB=$${RANLIB}" \
21463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21464 maintainer-clean) \
21465 || exit 1
21467 @endif readline
21471 .PHONY: configure-release maybe-configure-release
21472 maybe-configure-release:
21473 @if release
21474 maybe-configure-release: configure-release
21475 configure-release:
21476 @: $(MAKE); $(unstage)
21477 @r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21481 $(HOST_EXPORTS) \
21482 echo Configuring in $(HOST_SUBDIR)/release; \
21483 cd "$(HOST_SUBDIR)/release" || exit 1; \
21484 case $(srcdir) in \
21485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21486 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21488 esac; \
21489 srcdiroption="--srcdir=$${topdir}/release"; \
21490 libsrcdir="$$s/release"; \
21491 $(SHELL) $${libsrcdir}/configure \
21492 $(HOST_CONFIGARGS) $${srcdiroption} \
21493 || exit 1
21494 @endif release
21500 .PHONY: all-release maybe-all-release
21501 maybe-all-release:
21502 @if release
21503 TARGET-release=all
21504 maybe-all-release: all-release
21505 all-release: configure-release
21506 @: $(MAKE); $(unstage)
21507 @r=`${PWD_COMMAND}`; export r; \
21508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21509 $(HOST_EXPORTS) \
21510 (cd $(HOST_SUBDIR)/release && \
21511 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21512 @endif release
21517 .PHONY: check-release maybe-check-release
21518 maybe-check-release:
21519 @if release
21520 maybe-check-release: check-release
21522 check-release:
21524 @endif release
21526 .PHONY: install-release maybe-install-release
21527 maybe-install-release:
21528 @if release
21529 maybe-install-release: install-release
21531 install-release:
21533 @endif release
21535 # Other targets (info, dvi, etc.)
21537 .PHONY: maybe-info-release info-release
21538 maybe-info-release:
21539 @if release
21540 maybe-info-release: info-release
21542 info-release: \
21543 configure-release
21544 @: $(MAKE); $(unstage)
21545 @[ -f ./release/Makefile ] || exit 0; \
21546 r=`${PWD_COMMAND}`; export r; \
21547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21548 $(HOST_EXPORTS) \
21549 for flag in $(EXTRA_HOST_FLAGS) ; do \
21550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21551 done; \
21552 echo "Doing info in release" ; \
21553 (cd $(HOST_SUBDIR)/release && \
21554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21556 "RANLIB=$${RANLIB}" \
21557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21558 info) \
21559 || exit 1
21561 @endif release
21563 .PHONY: maybe-dvi-release dvi-release
21564 maybe-dvi-release:
21565 @if release
21566 maybe-dvi-release: dvi-release
21568 dvi-release: \
21569 configure-release
21570 @: $(MAKE); $(unstage)
21571 @[ -f ./release/Makefile ] || exit 0; \
21572 r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21574 $(HOST_EXPORTS) \
21575 for flag in $(EXTRA_HOST_FLAGS) ; do \
21576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21577 done; \
21578 echo "Doing dvi in release" ; \
21579 (cd $(HOST_SUBDIR)/release && \
21580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21582 "RANLIB=$${RANLIB}" \
21583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21584 dvi) \
21585 || exit 1
21587 @endif release
21589 .PHONY: maybe-html-release html-release
21590 maybe-html-release:
21591 @if release
21592 maybe-html-release: html-release
21594 html-release: \
21595 configure-release
21596 @: $(MAKE); $(unstage)
21597 @[ -f ./release/Makefile ] || exit 0; \
21598 r=`${PWD_COMMAND}`; export r; \
21599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21600 $(HOST_EXPORTS) \
21601 for flag in $(EXTRA_HOST_FLAGS) ; do \
21602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21603 done; \
21604 echo "Doing html in release" ; \
21605 (cd $(HOST_SUBDIR)/release && \
21606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21608 "RANLIB=$${RANLIB}" \
21609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21610 html) \
21611 || exit 1
21613 @endif release
21615 .PHONY: maybe-TAGS-release TAGS-release
21616 maybe-TAGS-release:
21617 @if release
21618 maybe-TAGS-release: TAGS-release
21620 TAGS-release: \
21621 configure-release
21622 @: $(MAKE); $(unstage)
21623 @[ -f ./release/Makefile ] || exit 0; \
21624 r=`${PWD_COMMAND}`; export r; \
21625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21626 $(HOST_EXPORTS) \
21627 for flag in $(EXTRA_HOST_FLAGS) ; do \
21628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21629 done; \
21630 echo "Doing TAGS in release" ; \
21631 (cd $(HOST_SUBDIR)/release && \
21632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21634 "RANLIB=$${RANLIB}" \
21635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21636 TAGS) \
21637 || exit 1
21639 @endif release
21641 .PHONY: maybe-install-info-release install-info-release
21642 maybe-install-info-release:
21643 @if release
21644 maybe-install-info-release: install-info-release
21646 install-info-release: \
21647 configure-release \
21648 info-release
21649 @: $(MAKE); $(unstage)
21650 @[ -f ./release/Makefile ] || exit 0; \
21651 r=`${PWD_COMMAND}`; export r; \
21652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21653 $(HOST_EXPORTS) \
21654 for flag in $(EXTRA_HOST_FLAGS) ; do \
21655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21656 done; \
21657 echo "Doing install-info in release" ; \
21658 (cd $(HOST_SUBDIR)/release && \
21659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21661 "RANLIB=$${RANLIB}" \
21662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21663 install-info) \
21664 || exit 1
21666 @endif release
21668 .PHONY: maybe-installcheck-release installcheck-release
21669 maybe-installcheck-release:
21670 @if release
21671 maybe-installcheck-release: installcheck-release
21673 installcheck-release: \
21674 configure-release
21675 @: $(MAKE); $(unstage)
21676 @[ -f ./release/Makefile ] || exit 0; \
21677 r=`${PWD_COMMAND}`; export r; \
21678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21679 $(HOST_EXPORTS) \
21680 for flag in $(EXTRA_HOST_FLAGS) ; do \
21681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21682 done; \
21683 echo "Doing installcheck in release" ; \
21684 (cd $(HOST_SUBDIR)/release && \
21685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21687 "RANLIB=$${RANLIB}" \
21688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21689 installcheck) \
21690 || exit 1
21692 @endif release
21694 .PHONY: maybe-mostlyclean-release mostlyclean-release
21695 maybe-mostlyclean-release:
21696 @if release
21697 maybe-mostlyclean-release: mostlyclean-release
21699 mostlyclean-release:
21700 @: $(MAKE); $(unstage)
21701 @[ -f ./release/Makefile ] || exit 0; \
21702 r=`${PWD_COMMAND}`; export r; \
21703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 $(HOST_EXPORTS) \
21705 for flag in $(EXTRA_HOST_FLAGS) ; do \
21706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21707 done; \
21708 echo "Doing mostlyclean in release" ; \
21709 (cd $(HOST_SUBDIR)/release && \
21710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21712 "RANLIB=$${RANLIB}" \
21713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21714 mostlyclean) \
21715 || exit 1
21717 @endif release
21719 .PHONY: maybe-clean-release clean-release
21720 maybe-clean-release:
21721 @if release
21722 maybe-clean-release: clean-release
21724 clean-release:
21725 @: $(MAKE); $(unstage)
21726 @[ -f ./release/Makefile ] || exit 0; \
21727 r=`${PWD_COMMAND}`; export r; \
21728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21729 $(HOST_EXPORTS) \
21730 for flag in $(EXTRA_HOST_FLAGS) ; do \
21731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21732 done; \
21733 echo "Doing clean in release" ; \
21734 (cd $(HOST_SUBDIR)/release && \
21735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21737 "RANLIB=$${RANLIB}" \
21738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21739 clean) \
21740 || exit 1
21742 @endif release
21744 .PHONY: maybe-distclean-release distclean-release
21745 maybe-distclean-release:
21746 @if release
21747 maybe-distclean-release: distclean-release
21749 distclean-release:
21750 @: $(MAKE); $(unstage)
21751 @[ -f ./release/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 distclean in release" ; \
21759 (cd $(HOST_SUBDIR)/release && \
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 distclean) \
21765 || exit 1
21767 @endif release
21769 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21770 maybe-maintainer-clean-release:
21771 @if release
21772 maybe-maintainer-clean-release: maintainer-clean-release
21774 maintainer-clean-release:
21775 @: $(MAKE); $(unstage)
21776 @[ -f ./release/Makefile ] || exit 0; \
21777 r=`${PWD_COMMAND}`; export r; \
21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21779 $(HOST_EXPORTS) \
21780 for flag in $(EXTRA_HOST_FLAGS) ; do \
21781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21782 done; \
21783 echo "Doing maintainer-clean in release" ; \
21784 (cd $(HOST_SUBDIR)/release && \
21785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21787 "RANLIB=$${RANLIB}" \
21788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21789 maintainer-clean) \
21790 || exit 1
21792 @endif release
21796 .PHONY: configure-recode maybe-configure-recode
21797 maybe-configure-recode:
21798 @if recode
21799 maybe-configure-recode: configure-recode
21800 configure-recode:
21801 @: $(MAKE); $(unstage)
21802 @r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21804 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21806 $(HOST_EXPORTS) \
21807 echo Configuring in $(HOST_SUBDIR)/recode; \
21808 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21809 case $(srcdir) in \
21810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21811 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21813 esac; \
21814 srcdiroption="--srcdir=$${topdir}/recode"; \
21815 libsrcdir="$$s/recode"; \
21816 $(SHELL) $${libsrcdir}/configure \
21817 $(HOST_CONFIGARGS) $${srcdiroption} \
21818 || exit 1
21819 @endif recode
21825 .PHONY: all-recode maybe-all-recode
21826 maybe-all-recode:
21827 @if recode
21828 TARGET-recode=all
21829 maybe-all-recode: all-recode
21830 all-recode: configure-recode
21831 @: $(MAKE); $(unstage)
21832 @r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21834 $(HOST_EXPORTS) \
21835 (cd $(HOST_SUBDIR)/recode && \
21836 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21837 @endif recode
21842 .PHONY: check-recode maybe-check-recode
21843 maybe-check-recode:
21844 @if recode
21845 maybe-check-recode: check-recode
21847 check-recode:
21848 @: $(MAKE); $(unstage)
21849 @r=`${PWD_COMMAND}`; export r; \
21850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21851 $(HOST_EXPORTS) \
21852 (cd $(HOST_SUBDIR)/recode && \
21853 $(MAKE) $(FLAGS_TO_PASS) check)
21855 @endif recode
21857 .PHONY: install-recode maybe-install-recode
21858 maybe-install-recode:
21859 @if recode
21860 maybe-install-recode: install-recode
21862 install-recode: installdirs
21863 @: $(MAKE); $(unstage)
21864 @r=`${PWD_COMMAND}`; export r; \
21865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21866 $(HOST_EXPORTS) \
21867 (cd $(HOST_SUBDIR)/recode && \
21868 $(MAKE) $(FLAGS_TO_PASS) install)
21870 @endif recode
21872 # Other targets (info, dvi, etc.)
21874 .PHONY: maybe-info-recode info-recode
21875 maybe-info-recode:
21876 @if recode
21877 maybe-info-recode: info-recode
21879 info-recode: \
21880 configure-recode
21881 @: $(MAKE); $(unstage)
21882 @[ -f ./recode/Makefile ] || exit 0; \
21883 r=`${PWD_COMMAND}`; export r; \
21884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21885 $(HOST_EXPORTS) \
21886 for flag in $(EXTRA_HOST_FLAGS) ; do \
21887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21888 done; \
21889 echo "Doing info in recode" ; \
21890 (cd $(HOST_SUBDIR)/recode && \
21891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21893 "RANLIB=$${RANLIB}" \
21894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21895 info) \
21896 || exit 1
21898 @endif recode
21900 .PHONY: maybe-dvi-recode dvi-recode
21901 maybe-dvi-recode:
21902 @if recode
21903 maybe-dvi-recode: dvi-recode
21905 dvi-recode: \
21906 configure-recode
21907 @: $(MAKE); $(unstage)
21908 @[ -f ./recode/Makefile ] || exit 0; \
21909 r=`${PWD_COMMAND}`; export r; \
21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21911 $(HOST_EXPORTS) \
21912 for flag in $(EXTRA_HOST_FLAGS) ; do \
21913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21914 done; \
21915 echo "Doing dvi in recode" ; \
21916 (cd $(HOST_SUBDIR)/recode && \
21917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21919 "RANLIB=$${RANLIB}" \
21920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21921 dvi) \
21922 || exit 1
21924 @endif recode
21926 .PHONY: maybe-html-recode html-recode
21927 maybe-html-recode:
21928 @if recode
21929 maybe-html-recode: html-recode
21931 html-recode: \
21932 configure-recode
21933 @: $(MAKE); $(unstage)
21934 @[ -f ./recode/Makefile ] || exit 0; \
21935 r=`${PWD_COMMAND}`; export r; \
21936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21937 $(HOST_EXPORTS) \
21938 for flag in $(EXTRA_HOST_FLAGS) ; do \
21939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21940 done; \
21941 echo "Doing html in recode" ; \
21942 (cd $(HOST_SUBDIR)/recode && \
21943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21945 "RANLIB=$${RANLIB}" \
21946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21947 html) \
21948 || exit 1
21950 @endif recode
21952 .PHONY: maybe-TAGS-recode TAGS-recode
21953 maybe-TAGS-recode:
21954 @if recode
21955 maybe-TAGS-recode: TAGS-recode
21957 TAGS-recode: \
21958 configure-recode
21959 @: $(MAKE); $(unstage)
21960 @[ -f ./recode/Makefile ] || exit 0; \
21961 r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 $(HOST_EXPORTS) \
21964 for flag in $(EXTRA_HOST_FLAGS) ; do \
21965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21966 done; \
21967 echo "Doing TAGS in recode" ; \
21968 (cd $(HOST_SUBDIR)/recode && \
21969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21971 "RANLIB=$${RANLIB}" \
21972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21973 TAGS) \
21974 || exit 1
21976 @endif recode
21978 .PHONY: maybe-install-info-recode install-info-recode
21979 maybe-install-info-recode:
21980 @if recode
21981 maybe-install-info-recode: install-info-recode
21983 install-info-recode: \
21984 configure-recode \
21985 info-recode
21986 @: $(MAKE); $(unstage)
21987 @[ -f ./recode/Makefile ] || exit 0; \
21988 r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 $(HOST_EXPORTS) \
21991 for flag in $(EXTRA_HOST_FLAGS) ; do \
21992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21993 done; \
21994 echo "Doing install-info in recode" ; \
21995 (cd $(HOST_SUBDIR)/recode && \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998 "RANLIB=$${RANLIB}" \
21999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000 install-info) \
22001 || exit 1
22003 @endif recode
22005 .PHONY: maybe-installcheck-recode installcheck-recode
22006 maybe-installcheck-recode:
22007 @if recode
22008 maybe-installcheck-recode: installcheck-recode
22010 installcheck-recode: \
22011 configure-recode
22012 @: $(MAKE); $(unstage)
22013 @[ -f ./recode/Makefile ] || exit 0; \
22014 r=`${PWD_COMMAND}`; export r; \
22015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22016 $(HOST_EXPORTS) \
22017 for flag in $(EXTRA_HOST_FLAGS) ; do \
22018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22019 done; \
22020 echo "Doing installcheck in recode" ; \
22021 (cd $(HOST_SUBDIR)/recode && \
22022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22024 "RANLIB=$${RANLIB}" \
22025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22026 installcheck) \
22027 || exit 1
22029 @endif recode
22031 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
22032 maybe-mostlyclean-recode:
22033 @if recode
22034 maybe-mostlyclean-recode: mostlyclean-recode
22036 mostlyclean-recode:
22037 @: $(MAKE); $(unstage)
22038 @[ -f ./recode/Makefile ] || exit 0; \
22039 r=`${PWD_COMMAND}`; export r; \
22040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22041 $(HOST_EXPORTS) \
22042 for flag in $(EXTRA_HOST_FLAGS) ; do \
22043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22044 done; \
22045 echo "Doing mostlyclean in recode" ; \
22046 (cd $(HOST_SUBDIR)/recode && \
22047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22049 "RANLIB=$${RANLIB}" \
22050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22051 mostlyclean) \
22052 || exit 1
22054 @endif recode
22056 .PHONY: maybe-clean-recode clean-recode
22057 maybe-clean-recode:
22058 @if recode
22059 maybe-clean-recode: clean-recode
22061 clean-recode:
22062 @: $(MAKE); $(unstage)
22063 @[ -f ./recode/Makefile ] || exit 0; \
22064 r=`${PWD_COMMAND}`; export r; \
22065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22066 $(HOST_EXPORTS) \
22067 for flag in $(EXTRA_HOST_FLAGS) ; do \
22068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22069 done; \
22070 echo "Doing clean in recode" ; \
22071 (cd $(HOST_SUBDIR)/recode && \
22072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22074 "RANLIB=$${RANLIB}" \
22075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22076 clean) \
22077 || exit 1
22079 @endif recode
22081 .PHONY: maybe-distclean-recode distclean-recode
22082 maybe-distclean-recode:
22083 @if recode
22084 maybe-distclean-recode: distclean-recode
22086 distclean-recode:
22087 @: $(MAKE); $(unstage)
22088 @[ -f ./recode/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 distclean in recode" ; \
22096 (cd $(HOST_SUBDIR)/recode && \
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 distclean) \
22102 || exit 1
22104 @endif recode
22106 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
22107 maybe-maintainer-clean-recode:
22108 @if recode
22109 maybe-maintainer-clean-recode: maintainer-clean-recode
22111 maintainer-clean-recode:
22112 @: $(MAKE); $(unstage)
22113 @[ -f ./recode/Makefile ] || exit 0; \
22114 r=`${PWD_COMMAND}`; export r; \
22115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22116 $(HOST_EXPORTS) \
22117 for flag in $(EXTRA_HOST_FLAGS) ; do \
22118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22119 done; \
22120 echo "Doing maintainer-clean in recode" ; \
22121 (cd $(HOST_SUBDIR)/recode && \
22122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22124 "RANLIB=$${RANLIB}" \
22125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22126 maintainer-clean) \
22127 || exit 1
22129 @endif recode
22133 .PHONY: configure-sed maybe-configure-sed
22134 maybe-configure-sed:
22135 @if sed
22136 maybe-configure-sed: configure-sed
22137 configure-sed:
22138 @: $(MAKE); $(unstage)
22139 @r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22141 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
22142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
22143 $(HOST_EXPORTS) \
22144 echo Configuring in $(HOST_SUBDIR)/sed; \
22145 cd "$(HOST_SUBDIR)/sed" || exit 1; \
22146 case $(srcdir) in \
22147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22148 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
22149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22150 esac; \
22151 srcdiroption="--srcdir=$${topdir}/sed"; \
22152 libsrcdir="$$s/sed"; \
22153 $(SHELL) $${libsrcdir}/configure \
22154 $(HOST_CONFIGARGS) $${srcdiroption} \
22155 || exit 1
22156 @endif sed
22162 .PHONY: all-sed maybe-all-sed
22163 maybe-all-sed:
22164 @if sed
22165 TARGET-sed=all
22166 maybe-all-sed: all-sed
22167 all-sed: configure-sed
22168 @: $(MAKE); $(unstage)
22169 @r=`${PWD_COMMAND}`; export r; \
22170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22171 $(HOST_EXPORTS) \
22172 (cd $(HOST_SUBDIR)/sed && \
22173 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
22174 @endif sed
22179 .PHONY: check-sed maybe-check-sed
22180 maybe-check-sed:
22181 @if sed
22182 maybe-check-sed: check-sed
22184 check-sed:
22185 @: $(MAKE); $(unstage)
22186 @r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 $(HOST_EXPORTS) \
22189 (cd $(HOST_SUBDIR)/sed && \
22190 $(MAKE) $(FLAGS_TO_PASS) check)
22192 @endif sed
22194 .PHONY: install-sed maybe-install-sed
22195 maybe-install-sed:
22196 @if sed
22197 maybe-install-sed: install-sed
22199 install-sed: installdirs
22200 @: $(MAKE); $(unstage)
22201 @r=`${PWD_COMMAND}`; export r; \
22202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22203 $(HOST_EXPORTS) \
22204 (cd $(HOST_SUBDIR)/sed && \
22205 $(MAKE) $(FLAGS_TO_PASS) install)
22207 @endif sed
22209 # Other targets (info, dvi, etc.)
22211 .PHONY: maybe-info-sed info-sed
22212 maybe-info-sed:
22213 @if sed
22214 maybe-info-sed: info-sed
22216 info-sed: \
22217 configure-sed
22218 @: $(MAKE); $(unstage)
22219 @[ -f ./sed/Makefile ] || exit 0; \
22220 r=`${PWD_COMMAND}`; export r; \
22221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22222 $(HOST_EXPORTS) \
22223 for flag in $(EXTRA_HOST_FLAGS) ; do \
22224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22225 done; \
22226 echo "Doing info in sed" ; \
22227 (cd $(HOST_SUBDIR)/sed && \
22228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22230 "RANLIB=$${RANLIB}" \
22231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22232 info) \
22233 || exit 1
22235 @endif sed
22237 .PHONY: maybe-dvi-sed dvi-sed
22238 maybe-dvi-sed:
22239 @if sed
22240 maybe-dvi-sed: dvi-sed
22242 dvi-sed: \
22243 configure-sed
22244 @: $(MAKE); $(unstage)
22245 @[ -f ./sed/Makefile ] || exit 0; \
22246 r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 $(HOST_EXPORTS) \
22249 for flag in $(EXTRA_HOST_FLAGS) ; do \
22250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22251 done; \
22252 echo "Doing dvi in sed" ; \
22253 (cd $(HOST_SUBDIR)/sed && \
22254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22256 "RANLIB=$${RANLIB}" \
22257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22258 dvi) \
22259 || exit 1
22261 @endif sed
22263 .PHONY: maybe-html-sed html-sed
22264 maybe-html-sed:
22265 @if sed
22266 maybe-html-sed: html-sed
22268 html-sed: \
22269 configure-sed
22270 @: $(MAKE); $(unstage)
22271 @[ -f ./sed/Makefile ] || exit 0; \
22272 r=`${PWD_COMMAND}`; export r; \
22273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22274 $(HOST_EXPORTS) \
22275 for flag in $(EXTRA_HOST_FLAGS) ; do \
22276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22277 done; \
22278 echo "Doing html in sed" ; \
22279 (cd $(HOST_SUBDIR)/sed && \
22280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22282 "RANLIB=$${RANLIB}" \
22283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22284 html) \
22285 || exit 1
22287 @endif sed
22289 .PHONY: maybe-TAGS-sed TAGS-sed
22290 maybe-TAGS-sed:
22291 @if sed
22292 maybe-TAGS-sed: TAGS-sed
22294 TAGS-sed: \
22295 configure-sed
22296 @: $(MAKE); $(unstage)
22297 @[ -f ./sed/Makefile ] || exit 0; \
22298 r=`${PWD_COMMAND}`; export r; \
22299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22300 $(HOST_EXPORTS) \
22301 for flag in $(EXTRA_HOST_FLAGS) ; do \
22302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22303 done; \
22304 echo "Doing TAGS in sed" ; \
22305 (cd $(HOST_SUBDIR)/sed && \
22306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22308 "RANLIB=$${RANLIB}" \
22309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22310 TAGS) \
22311 || exit 1
22313 @endif sed
22315 .PHONY: maybe-install-info-sed install-info-sed
22316 maybe-install-info-sed:
22317 @if sed
22318 maybe-install-info-sed: install-info-sed
22320 install-info-sed: \
22321 configure-sed \
22322 info-sed
22323 @: $(MAKE); $(unstage)
22324 @[ -f ./sed/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(HOST_EXPORTS) \
22328 for flag in $(EXTRA_HOST_FLAGS) ; do \
22329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22330 done; \
22331 echo "Doing install-info in sed" ; \
22332 (cd $(HOST_SUBDIR)/sed && \
22333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22335 "RANLIB=$${RANLIB}" \
22336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22337 install-info) \
22338 || exit 1
22340 @endif sed
22342 .PHONY: maybe-installcheck-sed installcheck-sed
22343 maybe-installcheck-sed:
22344 @if sed
22345 maybe-installcheck-sed: installcheck-sed
22347 installcheck-sed: \
22348 configure-sed
22349 @: $(MAKE); $(unstage)
22350 @[ -f ./sed/Makefile ] || exit 0; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 $(HOST_EXPORTS) \
22354 for flag in $(EXTRA_HOST_FLAGS) ; do \
22355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22356 done; \
22357 echo "Doing installcheck in sed" ; \
22358 (cd $(HOST_SUBDIR)/sed && \
22359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22361 "RANLIB=$${RANLIB}" \
22362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22363 installcheck) \
22364 || exit 1
22366 @endif sed
22368 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22369 maybe-mostlyclean-sed:
22370 @if sed
22371 maybe-mostlyclean-sed: mostlyclean-sed
22373 mostlyclean-sed:
22374 @: $(MAKE); $(unstage)
22375 @[ -f ./sed/Makefile ] || exit 0; \
22376 r=`${PWD_COMMAND}`; export r; \
22377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22378 $(HOST_EXPORTS) \
22379 for flag in $(EXTRA_HOST_FLAGS) ; do \
22380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22381 done; \
22382 echo "Doing mostlyclean in sed" ; \
22383 (cd $(HOST_SUBDIR)/sed && \
22384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22386 "RANLIB=$${RANLIB}" \
22387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22388 mostlyclean) \
22389 || exit 1
22391 @endif sed
22393 .PHONY: maybe-clean-sed clean-sed
22394 maybe-clean-sed:
22395 @if sed
22396 maybe-clean-sed: clean-sed
22398 clean-sed:
22399 @: $(MAKE); $(unstage)
22400 @[ -f ./sed/Makefile ] || exit 0; \
22401 r=`${PWD_COMMAND}`; export r; \
22402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22403 $(HOST_EXPORTS) \
22404 for flag in $(EXTRA_HOST_FLAGS) ; do \
22405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22406 done; \
22407 echo "Doing clean in sed" ; \
22408 (cd $(HOST_SUBDIR)/sed && \
22409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22411 "RANLIB=$${RANLIB}" \
22412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22413 clean) \
22414 || exit 1
22416 @endif sed
22418 .PHONY: maybe-distclean-sed distclean-sed
22419 maybe-distclean-sed:
22420 @if sed
22421 maybe-distclean-sed: distclean-sed
22423 distclean-sed:
22424 @: $(MAKE); $(unstage)
22425 @[ -f ./sed/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 distclean in sed" ; \
22433 (cd $(HOST_SUBDIR)/sed && \
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 distclean) \
22439 || exit 1
22441 @endif sed
22443 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22444 maybe-maintainer-clean-sed:
22445 @if sed
22446 maybe-maintainer-clean-sed: maintainer-clean-sed
22448 maintainer-clean-sed:
22449 @: $(MAKE); $(unstage)
22450 @[ -f ./sed/Makefile ] || exit 0; \
22451 r=`${PWD_COMMAND}`; export r; \
22452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 $(HOST_EXPORTS) \
22454 for flag in $(EXTRA_HOST_FLAGS) ; do \
22455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22456 done; \
22457 echo "Doing maintainer-clean in sed" ; \
22458 (cd $(HOST_SUBDIR)/sed && \
22459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22461 "RANLIB=$${RANLIB}" \
22462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22463 maintainer-clean) \
22464 || exit 1
22466 @endif sed
22470 .PHONY: configure-send-pr maybe-configure-send-pr
22471 maybe-configure-send-pr:
22472 @if send-pr
22473 maybe-configure-send-pr: configure-send-pr
22474 configure-send-pr:
22475 @: $(MAKE); $(unstage)
22476 @r=`${PWD_COMMAND}`; export r; \
22477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22478 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22480 $(HOST_EXPORTS) \
22481 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22482 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22483 case $(srcdir) in \
22484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22485 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22487 esac; \
22488 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22489 libsrcdir="$$s/send-pr"; \
22490 $(SHELL) $${libsrcdir}/configure \
22491 $(HOST_CONFIGARGS) $${srcdiroption} \
22492 || exit 1
22493 @endif send-pr
22499 .PHONY: all-send-pr maybe-all-send-pr
22500 maybe-all-send-pr:
22501 @if send-pr
22502 TARGET-send-pr=all
22503 maybe-all-send-pr: all-send-pr
22504 all-send-pr: configure-send-pr
22505 @: $(MAKE); $(unstage)
22506 @r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(HOST_EXPORTS) \
22509 (cd $(HOST_SUBDIR)/send-pr && \
22510 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22511 @endif send-pr
22516 .PHONY: check-send-pr maybe-check-send-pr
22517 maybe-check-send-pr:
22518 @if send-pr
22519 maybe-check-send-pr: check-send-pr
22521 check-send-pr:
22522 @: $(MAKE); $(unstage)
22523 @r=`${PWD_COMMAND}`; export r; \
22524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22525 $(HOST_EXPORTS) \
22526 (cd $(HOST_SUBDIR)/send-pr && \
22527 $(MAKE) $(FLAGS_TO_PASS) check)
22529 @endif send-pr
22531 .PHONY: install-send-pr maybe-install-send-pr
22532 maybe-install-send-pr:
22533 @if send-pr
22534 maybe-install-send-pr: install-send-pr
22536 install-send-pr: installdirs
22537 @: $(MAKE); $(unstage)
22538 @r=`${PWD_COMMAND}`; export r; \
22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22540 $(HOST_EXPORTS) \
22541 (cd $(HOST_SUBDIR)/send-pr && \
22542 $(MAKE) $(FLAGS_TO_PASS) install)
22544 @endif send-pr
22546 # Other targets (info, dvi, etc.)
22548 .PHONY: maybe-info-send-pr info-send-pr
22549 maybe-info-send-pr:
22550 @if send-pr
22551 maybe-info-send-pr: info-send-pr
22553 info-send-pr: \
22554 configure-send-pr
22555 @: $(MAKE); $(unstage)
22556 @[ -f ./send-pr/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22559 $(HOST_EXPORTS) \
22560 for flag in $(EXTRA_HOST_FLAGS) ; do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22562 done; \
22563 echo "Doing info in send-pr" ; \
22564 (cd $(HOST_SUBDIR)/send-pr && \
22565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22567 "RANLIB=$${RANLIB}" \
22568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22569 info) \
22570 || exit 1
22572 @endif send-pr
22574 .PHONY: maybe-dvi-send-pr dvi-send-pr
22575 maybe-dvi-send-pr:
22576 @if send-pr
22577 maybe-dvi-send-pr: dvi-send-pr
22579 dvi-send-pr: \
22580 configure-send-pr
22581 @: $(MAKE); $(unstage)
22582 @[ -f ./send-pr/Makefile ] || exit 0; \
22583 r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 $(HOST_EXPORTS) \
22586 for flag in $(EXTRA_HOST_FLAGS) ; do \
22587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22588 done; \
22589 echo "Doing dvi in send-pr" ; \
22590 (cd $(HOST_SUBDIR)/send-pr && \
22591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22593 "RANLIB=$${RANLIB}" \
22594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22595 dvi) \
22596 || exit 1
22598 @endif send-pr
22600 .PHONY: maybe-html-send-pr html-send-pr
22601 maybe-html-send-pr:
22602 @if send-pr
22603 maybe-html-send-pr: html-send-pr
22605 html-send-pr: \
22606 configure-send-pr
22607 @: $(MAKE); $(unstage)
22608 @[ -f ./send-pr/Makefile ] || exit 0; \
22609 r=`${PWD_COMMAND}`; export r; \
22610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22611 $(HOST_EXPORTS) \
22612 for flag in $(EXTRA_HOST_FLAGS) ; do \
22613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22614 done; \
22615 echo "Doing html in send-pr" ; \
22616 (cd $(HOST_SUBDIR)/send-pr && \
22617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22619 "RANLIB=$${RANLIB}" \
22620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22621 html) \
22622 || exit 1
22624 @endif send-pr
22626 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22627 maybe-TAGS-send-pr:
22628 @if send-pr
22629 maybe-TAGS-send-pr: TAGS-send-pr
22631 TAGS-send-pr: \
22632 configure-send-pr
22633 @: $(MAKE); $(unstage)
22634 @[ -f ./send-pr/Makefile ] || exit 0; \
22635 r=`${PWD_COMMAND}`; export r; \
22636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22637 $(HOST_EXPORTS) \
22638 for flag in $(EXTRA_HOST_FLAGS) ; do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22640 done; \
22641 echo "Doing TAGS in send-pr" ; \
22642 (cd $(HOST_SUBDIR)/send-pr && \
22643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22645 "RANLIB=$${RANLIB}" \
22646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22647 TAGS) \
22648 || exit 1
22650 @endif send-pr
22652 .PHONY: maybe-install-info-send-pr install-info-send-pr
22653 maybe-install-info-send-pr:
22654 @if send-pr
22655 maybe-install-info-send-pr: install-info-send-pr
22657 install-info-send-pr: \
22658 configure-send-pr \
22659 info-send-pr
22660 @: $(MAKE); $(unstage)
22661 @[ -f ./send-pr/Makefile ] || exit 0; \
22662 r=`${PWD_COMMAND}`; export r; \
22663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 $(HOST_EXPORTS) \
22665 for flag in $(EXTRA_HOST_FLAGS) ; do \
22666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22667 done; \
22668 echo "Doing install-info in send-pr" ; \
22669 (cd $(HOST_SUBDIR)/send-pr && \
22670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22672 "RANLIB=$${RANLIB}" \
22673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22674 install-info) \
22675 || exit 1
22677 @endif send-pr
22679 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22680 maybe-installcheck-send-pr:
22681 @if send-pr
22682 maybe-installcheck-send-pr: installcheck-send-pr
22684 installcheck-send-pr: \
22685 configure-send-pr
22686 @: $(MAKE); $(unstage)
22687 @[ -f ./send-pr/Makefile ] || exit 0; \
22688 r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22690 $(HOST_EXPORTS) \
22691 for flag in $(EXTRA_HOST_FLAGS) ; do \
22692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22693 done; \
22694 echo "Doing installcheck in send-pr" ; \
22695 (cd $(HOST_SUBDIR)/send-pr && \
22696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22698 "RANLIB=$${RANLIB}" \
22699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22700 installcheck) \
22701 || exit 1
22703 @endif send-pr
22705 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22706 maybe-mostlyclean-send-pr:
22707 @if send-pr
22708 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22710 mostlyclean-send-pr:
22711 @: $(MAKE); $(unstage)
22712 @[ -f ./send-pr/Makefile ] || exit 0; \
22713 r=`${PWD_COMMAND}`; export r; \
22714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22715 $(HOST_EXPORTS) \
22716 for flag in $(EXTRA_HOST_FLAGS) ; do \
22717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22718 done; \
22719 echo "Doing mostlyclean in send-pr" ; \
22720 (cd $(HOST_SUBDIR)/send-pr && \
22721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22723 "RANLIB=$${RANLIB}" \
22724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22725 mostlyclean) \
22726 || exit 1
22728 @endif send-pr
22730 .PHONY: maybe-clean-send-pr clean-send-pr
22731 maybe-clean-send-pr:
22732 @if send-pr
22733 maybe-clean-send-pr: clean-send-pr
22735 clean-send-pr:
22736 @: $(MAKE); $(unstage)
22737 @[ -f ./send-pr/Makefile ] || exit 0; \
22738 r=`${PWD_COMMAND}`; export r; \
22739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22740 $(HOST_EXPORTS) \
22741 for flag in $(EXTRA_HOST_FLAGS) ; do \
22742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22743 done; \
22744 echo "Doing clean in send-pr" ; \
22745 (cd $(HOST_SUBDIR)/send-pr && \
22746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22748 "RANLIB=$${RANLIB}" \
22749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22750 clean) \
22751 || exit 1
22753 @endif send-pr
22755 .PHONY: maybe-distclean-send-pr distclean-send-pr
22756 maybe-distclean-send-pr:
22757 @if send-pr
22758 maybe-distclean-send-pr: distclean-send-pr
22760 distclean-send-pr:
22761 @: $(MAKE); $(unstage)
22762 @[ -f ./send-pr/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 distclean in send-pr" ; \
22770 (cd $(HOST_SUBDIR)/send-pr && \
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 distclean) \
22776 || exit 1
22778 @endif send-pr
22780 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22781 maybe-maintainer-clean-send-pr:
22782 @if send-pr
22783 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22785 maintainer-clean-send-pr:
22786 @: $(MAKE); $(unstage)
22787 @[ -f ./send-pr/Makefile ] || exit 0; \
22788 r=`${PWD_COMMAND}`; export r; \
22789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22790 $(HOST_EXPORTS) \
22791 for flag in $(EXTRA_HOST_FLAGS) ; do \
22792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22793 done; \
22794 echo "Doing maintainer-clean in send-pr" ; \
22795 (cd $(HOST_SUBDIR)/send-pr && \
22796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22798 "RANLIB=$${RANLIB}" \
22799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22800 maintainer-clean) \
22801 || exit 1
22803 @endif send-pr
22807 .PHONY: configure-shellutils maybe-configure-shellutils
22808 maybe-configure-shellutils:
22809 @if shellutils
22810 maybe-configure-shellutils: configure-shellutils
22811 configure-shellutils:
22812 @: $(MAKE); $(unstage)
22813 @r=`${PWD_COMMAND}`; export r; \
22814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22815 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22817 $(HOST_EXPORTS) \
22818 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22819 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22820 case $(srcdir) in \
22821 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22822 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22823 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22824 esac; \
22825 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22826 libsrcdir="$$s/shellutils"; \
22827 $(SHELL) $${libsrcdir}/configure \
22828 $(HOST_CONFIGARGS) $${srcdiroption} \
22829 || exit 1
22830 @endif shellutils
22836 .PHONY: all-shellutils maybe-all-shellutils
22837 maybe-all-shellutils:
22838 @if shellutils
22839 TARGET-shellutils=all
22840 maybe-all-shellutils: all-shellutils
22841 all-shellutils: configure-shellutils
22842 @: $(MAKE); $(unstage)
22843 @r=`${PWD_COMMAND}`; export r; \
22844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22845 $(HOST_EXPORTS) \
22846 (cd $(HOST_SUBDIR)/shellutils && \
22847 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22848 @endif shellutils
22853 .PHONY: check-shellutils maybe-check-shellutils
22854 maybe-check-shellutils:
22855 @if shellutils
22856 maybe-check-shellutils: check-shellutils
22858 check-shellutils:
22859 @: $(MAKE); $(unstage)
22860 @r=`${PWD_COMMAND}`; export r; \
22861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22862 $(HOST_EXPORTS) \
22863 (cd $(HOST_SUBDIR)/shellutils && \
22864 $(MAKE) $(FLAGS_TO_PASS) check)
22866 @endif shellutils
22868 .PHONY: install-shellutils maybe-install-shellutils
22869 maybe-install-shellutils:
22870 @if shellutils
22871 maybe-install-shellutils: install-shellutils
22873 install-shellutils: installdirs
22874 @: $(MAKE); $(unstage)
22875 @r=`${PWD_COMMAND}`; export r; \
22876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22877 $(HOST_EXPORTS) \
22878 (cd $(HOST_SUBDIR)/shellutils && \
22879 $(MAKE) $(FLAGS_TO_PASS) install)
22881 @endif shellutils
22883 # Other targets (info, dvi, etc.)
22885 .PHONY: maybe-info-shellutils info-shellutils
22886 maybe-info-shellutils:
22887 @if shellutils
22888 maybe-info-shellutils: info-shellutils
22890 info-shellutils: \
22891 configure-shellutils
22892 @: $(MAKE); $(unstage)
22893 @[ -f ./shellutils/Makefile ] || exit 0; \
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22896 $(HOST_EXPORTS) \
22897 for flag in $(EXTRA_HOST_FLAGS) ; do \
22898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22899 done; \
22900 echo "Doing info in shellutils" ; \
22901 (cd $(HOST_SUBDIR)/shellutils && \
22902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22904 "RANLIB=$${RANLIB}" \
22905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22906 info) \
22907 || exit 1
22909 @endif shellutils
22911 .PHONY: maybe-dvi-shellutils dvi-shellutils
22912 maybe-dvi-shellutils:
22913 @if shellutils
22914 maybe-dvi-shellutils: dvi-shellutils
22916 dvi-shellutils: \
22917 configure-shellutils
22918 @: $(MAKE); $(unstage)
22919 @[ -f ./shellutils/Makefile ] || exit 0; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(HOST_EXPORTS) \
22923 for flag in $(EXTRA_HOST_FLAGS) ; do \
22924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22925 done; \
22926 echo "Doing dvi in shellutils" ; \
22927 (cd $(HOST_SUBDIR)/shellutils && \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932 dvi) \
22933 || exit 1
22935 @endif shellutils
22937 .PHONY: maybe-html-shellutils html-shellutils
22938 maybe-html-shellutils:
22939 @if shellutils
22940 maybe-html-shellutils: html-shellutils
22942 html-shellutils: \
22943 configure-shellutils
22944 @: $(MAKE); $(unstage)
22945 @[ -f ./shellutils/Makefile ] || exit 0; \
22946 r=`${PWD_COMMAND}`; export r; \
22947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22948 $(HOST_EXPORTS) \
22949 for flag in $(EXTRA_HOST_FLAGS) ; do \
22950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22951 done; \
22952 echo "Doing html in shellutils" ; \
22953 (cd $(HOST_SUBDIR)/shellutils && \
22954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956 "RANLIB=$${RANLIB}" \
22957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22958 html) \
22959 || exit 1
22961 @endif shellutils
22963 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22964 maybe-TAGS-shellutils:
22965 @if shellutils
22966 maybe-TAGS-shellutils: TAGS-shellutils
22968 TAGS-shellutils: \
22969 configure-shellutils
22970 @: $(MAKE); $(unstage)
22971 @[ -f ./shellutils/Makefile ] || exit 0; \
22972 r=`${PWD_COMMAND}`; export r; \
22973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(HOST_EXPORTS) \
22975 for flag in $(EXTRA_HOST_FLAGS) ; do \
22976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 done; \
22978 echo "Doing TAGS in shellutils" ; \
22979 (cd $(HOST_SUBDIR)/shellutils && \
22980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982 "RANLIB=$${RANLIB}" \
22983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22984 TAGS) \
22985 || exit 1
22987 @endif shellutils
22989 .PHONY: maybe-install-info-shellutils install-info-shellutils
22990 maybe-install-info-shellutils:
22991 @if shellutils
22992 maybe-install-info-shellutils: install-info-shellutils
22994 install-info-shellutils: \
22995 configure-shellutils \
22996 info-shellutils
22997 @: $(MAKE); $(unstage)
22998 @[ -f ./shellutils/Makefile ] || exit 0; \
22999 r=`${PWD_COMMAND}`; export r; \
23000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23001 $(HOST_EXPORTS) \
23002 for flag in $(EXTRA_HOST_FLAGS) ; do \
23003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23004 done; \
23005 echo "Doing install-info in shellutils" ; \
23006 (cd $(HOST_SUBDIR)/shellutils && \
23007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23009 "RANLIB=$${RANLIB}" \
23010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23011 install-info) \
23012 || exit 1
23014 @endif shellutils
23016 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
23017 maybe-installcheck-shellutils:
23018 @if shellutils
23019 maybe-installcheck-shellutils: installcheck-shellutils
23021 installcheck-shellutils: \
23022 configure-shellutils
23023 @: $(MAKE); $(unstage)
23024 @[ -f ./shellutils/Makefile ] || exit 0; \
23025 r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(HOST_EXPORTS) \
23028 for flag in $(EXTRA_HOST_FLAGS) ; do \
23029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23030 done; \
23031 echo "Doing installcheck in shellutils" ; \
23032 (cd $(HOST_SUBDIR)/shellutils && \
23033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035 "RANLIB=$${RANLIB}" \
23036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23037 installcheck) \
23038 || exit 1
23040 @endif shellutils
23042 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
23043 maybe-mostlyclean-shellutils:
23044 @if shellutils
23045 maybe-mostlyclean-shellutils: mostlyclean-shellutils
23047 mostlyclean-shellutils:
23048 @: $(MAKE); $(unstage)
23049 @[ -f ./shellutils/Makefile ] || exit 0; \
23050 r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23052 $(HOST_EXPORTS) \
23053 for flag in $(EXTRA_HOST_FLAGS) ; do \
23054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23055 done; \
23056 echo "Doing mostlyclean in shellutils" ; \
23057 (cd $(HOST_SUBDIR)/shellutils && \
23058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23060 "RANLIB=$${RANLIB}" \
23061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23062 mostlyclean) \
23063 || exit 1
23065 @endif shellutils
23067 .PHONY: maybe-clean-shellutils clean-shellutils
23068 maybe-clean-shellutils:
23069 @if shellutils
23070 maybe-clean-shellutils: clean-shellutils
23072 clean-shellutils:
23073 @: $(MAKE); $(unstage)
23074 @[ -f ./shellutils/Makefile ] || exit 0; \
23075 r=`${PWD_COMMAND}`; export r; \
23076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 $(HOST_EXPORTS) \
23078 for flag in $(EXTRA_HOST_FLAGS) ; do \
23079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23080 done; \
23081 echo "Doing clean in shellutils" ; \
23082 (cd $(HOST_SUBDIR)/shellutils && \
23083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23085 "RANLIB=$${RANLIB}" \
23086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23087 clean) \
23088 || exit 1
23090 @endif shellutils
23092 .PHONY: maybe-distclean-shellutils distclean-shellutils
23093 maybe-distclean-shellutils:
23094 @if shellutils
23095 maybe-distclean-shellutils: distclean-shellutils
23097 distclean-shellutils:
23098 @: $(MAKE); $(unstage)
23099 @[ -f ./shellutils/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 distclean in shellutils" ; \
23107 (cd $(HOST_SUBDIR)/shellutils && \
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 distclean) \
23113 || exit 1
23115 @endif shellutils
23117 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
23118 maybe-maintainer-clean-shellutils:
23119 @if shellutils
23120 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
23122 maintainer-clean-shellutils:
23123 @: $(MAKE); $(unstage)
23124 @[ -f ./shellutils/Makefile ] || exit 0; \
23125 r=`${PWD_COMMAND}`; export r; \
23126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 $(HOST_EXPORTS) \
23128 for flag in $(EXTRA_HOST_FLAGS) ; do \
23129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23130 done; \
23131 echo "Doing maintainer-clean in shellutils" ; \
23132 (cd $(HOST_SUBDIR)/shellutils && \
23133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23135 "RANLIB=$${RANLIB}" \
23136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23137 maintainer-clean) \
23138 || exit 1
23140 @endif shellutils
23144 .PHONY: configure-sid maybe-configure-sid
23145 maybe-configure-sid:
23146 @if sid
23147 maybe-configure-sid: configure-sid
23148 configure-sid:
23149 @: $(MAKE); $(unstage)
23150 @r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23154 $(HOST_EXPORTS) \
23155 echo Configuring in $(HOST_SUBDIR)/sid; \
23156 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23157 case $(srcdir) in \
23158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23159 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23161 esac; \
23162 srcdiroption="--srcdir=$${topdir}/sid"; \
23163 libsrcdir="$$s/sid"; \
23164 $(SHELL) $${libsrcdir}/configure \
23165 $(HOST_CONFIGARGS) $${srcdiroption} \
23166 || exit 1
23167 @endif sid
23173 .PHONY: all-sid maybe-all-sid
23174 maybe-all-sid:
23175 @if sid
23176 TARGET-sid=all
23177 maybe-all-sid: all-sid
23178 all-sid: configure-sid
23179 @: $(MAKE); $(unstage)
23180 @r=`${PWD_COMMAND}`; export r; \
23181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23182 $(HOST_EXPORTS) \
23183 (cd $(HOST_SUBDIR)/sid && \
23184 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
23185 @endif sid
23190 .PHONY: check-sid maybe-check-sid
23191 maybe-check-sid:
23192 @if sid
23193 maybe-check-sid: check-sid
23195 check-sid:
23196 @: $(MAKE); $(unstage)
23197 @r=`${PWD_COMMAND}`; export r; \
23198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 $(HOST_EXPORTS) \
23200 (cd $(HOST_SUBDIR)/sid && \
23201 $(MAKE) $(FLAGS_TO_PASS) check)
23203 @endif sid
23205 .PHONY: install-sid maybe-install-sid
23206 maybe-install-sid:
23207 @if sid
23208 maybe-install-sid: install-sid
23210 install-sid: installdirs
23211 @: $(MAKE); $(unstage)
23212 @r=`${PWD_COMMAND}`; export r; \
23213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23214 $(HOST_EXPORTS) \
23215 (cd $(HOST_SUBDIR)/sid && \
23216 $(MAKE) $(FLAGS_TO_PASS) install)
23218 @endif sid
23220 # Other targets (info, dvi, etc.)
23222 .PHONY: maybe-info-sid info-sid
23223 maybe-info-sid:
23224 @if sid
23225 maybe-info-sid: info-sid
23227 info-sid: \
23228 configure-sid
23229 @: $(MAKE); $(unstage)
23230 @[ -f ./sid/Makefile ] || exit 0; \
23231 r=`${PWD_COMMAND}`; export r; \
23232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23233 $(HOST_EXPORTS) \
23234 for flag in $(EXTRA_HOST_FLAGS) ; do \
23235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23236 done; \
23237 echo "Doing info in sid" ; \
23238 (cd $(HOST_SUBDIR)/sid && \
23239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23241 "RANLIB=$${RANLIB}" \
23242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23243 info) \
23244 || exit 1
23246 @endif sid
23248 .PHONY: maybe-dvi-sid dvi-sid
23249 maybe-dvi-sid:
23250 @if sid
23251 maybe-dvi-sid: dvi-sid
23253 dvi-sid: \
23254 configure-sid
23255 @: $(MAKE); $(unstage)
23256 @[ -f ./sid/Makefile ] || exit 0; \
23257 r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 $(HOST_EXPORTS) \
23260 for flag in $(EXTRA_HOST_FLAGS) ; do \
23261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23262 done; \
23263 echo "Doing dvi in sid" ; \
23264 (cd $(HOST_SUBDIR)/sid && \
23265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267 "RANLIB=$${RANLIB}" \
23268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23269 dvi) \
23270 || exit 1
23272 @endif sid
23274 .PHONY: maybe-html-sid html-sid
23275 maybe-html-sid:
23276 @if sid
23277 maybe-html-sid: html-sid
23279 html-sid: \
23280 configure-sid
23281 @: $(MAKE); $(unstage)
23282 @[ -f ./sid/Makefile ] || exit 0; \
23283 r=`${PWD_COMMAND}`; export r; \
23284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23285 $(HOST_EXPORTS) \
23286 for flag in $(EXTRA_HOST_FLAGS) ; do \
23287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23288 done; \
23289 echo "Doing html in sid" ; \
23290 (cd $(HOST_SUBDIR)/sid && \
23291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23293 "RANLIB=$${RANLIB}" \
23294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23295 html) \
23296 || exit 1
23298 @endif sid
23300 .PHONY: maybe-TAGS-sid TAGS-sid
23301 maybe-TAGS-sid:
23302 @if sid
23303 maybe-TAGS-sid: TAGS-sid
23305 TAGS-sid: \
23306 configure-sid
23307 @: $(MAKE); $(unstage)
23308 @[ -f ./sid/Makefile ] || exit 0; \
23309 r=`${PWD_COMMAND}`; export r; \
23310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23311 $(HOST_EXPORTS) \
23312 for flag in $(EXTRA_HOST_FLAGS) ; do \
23313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23314 done; \
23315 echo "Doing TAGS in sid" ; \
23316 (cd $(HOST_SUBDIR)/sid && \
23317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23319 "RANLIB=$${RANLIB}" \
23320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23321 TAGS) \
23322 || exit 1
23324 @endif sid
23326 .PHONY: maybe-install-info-sid install-info-sid
23327 maybe-install-info-sid:
23328 @if sid
23329 maybe-install-info-sid: install-info-sid
23331 install-info-sid: \
23332 configure-sid \
23333 info-sid
23334 @: $(MAKE); $(unstage)
23335 @[ -f ./sid/Makefile ] || exit 0; \
23336 r=`${PWD_COMMAND}`; export r; \
23337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23338 $(HOST_EXPORTS) \
23339 for flag in $(EXTRA_HOST_FLAGS) ; do \
23340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23341 done; \
23342 echo "Doing install-info in sid" ; \
23343 (cd $(HOST_SUBDIR)/sid && \
23344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23346 "RANLIB=$${RANLIB}" \
23347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23348 install-info) \
23349 || exit 1
23351 @endif sid
23353 .PHONY: maybe-installcheck-sid installcheck-sid
23354 maybe-installcheck-sid:
23355 @if sid
23356 maybe-installcheck-sid: installcheck-sid
23358 installcheck-sid: \
23359 configure-sid
23360 @: $(MAKE); $(unstage)
23361 @[ -f ./sid/Makefile ] || exit 0; \
23362 r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 $(HOST_EXPORTS) \
23365 for flag in $(EXTRA_HOST_FLAGS) ; do \
23366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23367 done; \
23368 echo "Doing installcheck in sid" ; \
23369 (cd $(HOST_SUBDIR)/sid && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23372 "RANLIB=$${RANLIB}" \
23373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23374 installcheck) \
23375 || exit 1
23377 @endif sid
23379 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23380 maybe-mostlyclean-sid:
23381 @if sid
23382 maybe-mostlyclean-sid: mostlyclean-sid
23384 mostlyclean-sid:
23385 @: $(MAKE); $(unstage)
23386 @[ -f ./sid/Makefile ] || exit 0; \
23387 r=`${PWD_COMMAND}`; export r; \
23388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23389 $(HOST_EXPORTS) \
23390 for flag in $(EXTRA_HOST_FLAGS) ; do \
23391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23392 done; \
23393 echo "Doing mostlyclean in sid" ; \
23394 (cd $(HOST_SUBDIR)/sid && \
23395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23397 "RANLIB=$${RANLIB}" \
23398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23399 mostlyclean) \
23400 || exit 1
23402 @endif sid
23404 .PHONY: maybe-clean-sid clean-sid
23405 maybe-clean-sid:
23406 @if sid
23407 maybe-clean-sid: clean-sid
23409 clean-sid:
23410 @: $(MAKE); $(unstage)
23411 @[ -f ./sid/Makefile ] || exit 0; \
23412 r=`${PWD_COMMAND}`; export r; \
23413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23414 $(HOST_EXPORTS) \
23415 for flag in $(EXTRA_HOST_FLAGS) ; do \
23416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23417 done; \
23418 echo "Doing clean in sid" ; \
23419 (cd $(HOST_SUBDIR)/sid && \
23420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23422 "RANLIB=$${RANLIB}" \
23423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23424 clean) \
23425 || exit 1
23427 @endif sid
23429 .PHONY: maybe-distclean-sid distclean-sid
23430 maybe-distclean-sid:
23431 @if sid
23432 maybe-distclean-sid: distclean-sid
23434 distclean-sid:
23435 @: $(MAKE); $(unstage)
23436 @[ -f ./sid/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 distclean in sid" ; \
23444 (cd $(HOST_SUBDIR)/sid && \
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 distclean) \
23450 || exit 1
23452 @endif sid
23454 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23455 maybe-maintainer-clean-sid:
23456 @if sid
23457 maybe-maintainer-clean-sid: maintainer-clean-sid
23459 maintainer-clean-sid:
23460 @: $(MAKE); $(unstage)
23461 @[ -f ./sid/Makefile ] || exit 0; \
23462 r=`${PWD_COMMAND}`; export r; \
23463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23464 $(HOST_EXPORTS) \
23465 for flag in $(EXTRA_HOST_FLAGS) ; do \
23466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23467 done; \
23468 echo "Doing maintainer-clean in sid" ; \
23469 (cd $(HOST_SUBDIR)/sid && \
23470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23472 "RANLIB=$${RANLIB}" \
23473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23474 maintainer-clean) \
23475 || exit 1
23477 @endif sid
23481 .PHONY: configure-sim maybe-configure-sim
23482 maybe-configure-sim:
23483 @if sim
23484 maybe-configure-sim: configure-sim
23485 configure-sim:
23486 @: $(MAKE); $(unstage)
23487 @r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23491 $(HOST_EXPORTS) \
23492 echo Configuring in $(HOST_SUBDIR)/sim; \
23493 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23494 case $(srcdir) in \
23495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23496 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23498 esac; \
23499 srcdiroption="--srcdir=$${topdir}/sim"; \
23500 libsrcdir="$$s/sim"; \
23501 $(SHELL) $${libsrcdir}/configure \
23502 $(HOST_CONFIGARGS) $${srcdiroption} \
23503 || exit 1
23504 @endif sim
23510 .PHONY: all-sim maybe-all-sim
23511 maybe-all-sim:
23512 @if sim
23513 TARGET-sim=all
23514 maybe-all-sim: all-sim
23515 all-sim: configure-sim
23516 @: $(MAKE); $(unstage)
23517 @r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519 $(HOST_EXPORTS) \
23520 (cd $(HOST_SUBDIR)/sim && \
23521 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23522 @endif sim
23527 .PHONY: check-sim maybe-check-sim
23528 maybe-check-sim:
23529 @if sim
23530 maybe-check-sim: check-sim
23532 check-sim:
23533 @: $(MAKE); $(unstage)
23534 @r=`${PWD_COMMAND}`; export r; \
23535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23536 $(HOST_EXPORTS) \
23537 (cd $(HOST_SUBDIR)/sim && \
23538 $(MAKE) $(FLAGS_TO_PASS) check)
23540 @endif sim
23542 .PHONY: install-sim maybe-install-sim
23543 maybe-install-sim:
23544 @if sim
23545 maybe-install-sim: install-sim
23547 install-sim: installdirs
23548 @: $(MAKE); $(unstage)
23549 @r=`${PWD_COMMAND}`; export r; \
23550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23551 $(HOST_EXPORTS) \
23552 (cd $(HOST_SUBDIR)/sim && \
23553 $(MAKE) $(FLAGS_TO_PASS) install)
23555 @endif sim
23557 # Other targets (info, dvi, etc.)
23559 .PHONY: maybe-info-sim info-sim
23560 maybe-info-sim:
23561 @if sim
23562 maybe-info-sim: info-sim
23564 info-sim: \
23565 configure-sim
23566 @: $(MAKE); $(unstage)
23567 @[ -f ./sim/Makefile ] || exit 0; \
23568 r=`${PWD_COMMAND}`; export r; \
23569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23570 $(HOST_EXPORTS) \
23571 for flag in $(EXTRA_HOST_FLAGS) ; do \
23572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23573 done; \
23574 echo "Doing info in sim" ; \
23575 (cd $(HOST_SUBDIR)/sim && \
23576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23578 "RANLIB=$${RANLIB}" \
23579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23580 info) \
23581 || exit 1
23583 @endif sim
23585 .PHONY: maybe-dvi-sim dvi-sim
23586 maybe-dvi-sim:
23587 @if sim
23588 maybe-dvi-sim: dvi-sim
23590 dvi-sim: \
23591 configure-sim
23592 @: $(MAKE); $(unstage)
23593 @[ -f ./sim/Makefile ] || exit 0; \
23594 r=`${PWD_COMMAND}`; export r; \
23595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23596 $(HOST_EXPORTS) \
23597 for flag in $(EXTRA_HOST_FLAGS) ; do \
23598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23599 done; \
23600 echo "Doing dvi in sim" ; \
23601 (cd $(HOST_SUBDIR)/sim && \
23602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23604 "RANLIB=$${RANLIB}" \
23605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23606 dvi) \
23607 || exit 1
23609 @endif sim
23611 .PHONY: maybe-html-sim html-sim
23612 maybe-html-sim:
23613 @if sim
23614 maybe-html-sim: html-sim
23616 html-sim: \
23617 configure-sim
23618 @: $(MAKE); $(unstage)
23619 @[ -f ./sim/Makefile ] || exit 0; \
23620 r=`${PWD_COMMAND}`; export r; \
23621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23622 $(HOST_EXPORTS) \
23623 for flag in $(EXTRA_HOST_FLAGS) ; do \
23624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23625 done; \
23626 echo "Doing html in sim" ; \
23627 (cd $(HOST_SUBDIR)/sim && \
23628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23630 "RANLIB=$${RANLIB}" \
23631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23632 html) \
23633 || exit 1
23635 @endif sim
23637 .PHONY: maybe-TAGS-sim TAGS-sim
23638 maybe-TAGS-sim:
23639 @if sim
23640 maybe-TAGS-sim: TAGS-sim
23642 TAGS-sim: \
23643 configure-sim
23644 @: $(MAKE); $(unstage)
23645 @[ -f ./sim/Makefile ] || exit 0; \
23646 r=`${PWD_COMMAND}`; export r; \
23647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23648 $(HOST_EXPORTS) \
23649 for flag in $(EXTRA_HOST_FLAGS) ; do \
23650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23651 done; \
23652 echo "Doing TAGS in sim" ; \
23653 (cd $(HOST_SUBDIR)/sim && \
23654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23656 "RANLIB=$${RANLIB}" \
23657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23658 TAGS) \
23659 || exit 1
23661 @endif sim
23663 .PHONY: maybe-install-info-sim install-info-sim
23664 maybe-install-info-sim:
23665 @if sim
23666 maybe-install-info-sim: install-info-sim
23668 install-info-sim: \
23669 configure-sim \
23670 info-sim
23671 @: $(MAKE); $(unstage)
23672 @[ -f ./sim/Makefile ] || exit 0; \
23673 r=`${PWD_COMMAND}`; export r; \
23674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23675 $(HOST_EXPORTS) \
23676 for flag in $(EXTRA_HOST_FLAGS) ; do \
23677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23678 done; \
23679 echo "Doing install-info in sim" ; \
23680 (cd $(HOST_SUBDIR)/sim && \
23681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23683 "RANLIB=$${RANLIB}" \
23684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23685 install-info) \
23686 || exit 1
23688 @endif sim
23690 .PHONY: maybe-installcheck-sim installcheck-sim
23691 maybe-installcheck-sim:
23692 @if sim
23693 maybe-installcheck-sim: installcheck-sim
23695 installcheck-sim: \
23696 configure-sim
23697 @: $(MAKE); $(unstage)
23698 @[ -f ./sim/Makefile ] || exit 0; \
23699 r=`${PWD_COMMAND}`; export r; \
23700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23701 $(HOST_EXPORTS) \
23702 for flag in $(EXTRA_HOST_FLAGS) ; do \
23703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23704 done; \
23705 echo "Doing installcheck in sim" ; \
23706 (cd $(HOST_SUBDIR)/sim && \
23707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23709 "RANLIB=$${RANLIB}" \
23710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23711 installcheck) \
23712 || exit 1
23714 @endif sim
23716 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23717 maybe-mostlyclean-sim:
23718 @if sim
23719 maybe-mostlyclean-sim: mostlyclean-sim
23721 mostlyclean-sim:
23722 @: $(MAKE); $(unstage)
23723 @[ -f ./sim/Makefile ] || exit 0; \
23724 r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23726 $(HOST_EXPORTS) \
23727 for flag in $(EXTRA_HOST_FLAGS) ; do \
23728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23729 done; \
23730 echo "Doing mostlyclean in sim" ; \
23731 (cd $(HOST_SUBDIR)/sim && \
23732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23734 "RANLIB=$${RANLIB}" \
23735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23736 mostlyclean) \
23737 || exit 1
23739 @endif sim
23741 .PHONY: maybe-clean-sim clean-sim
23742 maybe-clean-sim:
23743 @if sim
23744 maybe-clean-sim: clean-sim
23746 clean-sim:
23747 @: $(MAKE); $(unstage)
23748 @[ -f ./sim/Makefile ] || exit 0; \
23749 r=`${PWD_COMMAND}`; export r; \
23750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23751 $(HOST_EXPORTS) \
23752 for flag in $(EXTRA_HOST_FLAGS) ; do \
23753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23754 done; \
23755 echo "Doing clean in sim" ; \
23756 (cd $(HOST_SUBDIR)/sim && \
23757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23759 "RANLIB=$${RANLIB}" \
23760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23761 clean) \
23762 || exit 1
23764 @endif sim
23766 .PHONY: maybe-distclean-sim distclean-sim
23767 maybe-distclean-sim:
23768 @if sim
23769 maybe-distclean-sim: distclean-sim
23771 distclean-sim:
23772 @: $(MAKE); $(unstage)
23773 @[ -f ./sim/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 distclean in sim" ; \
23781 (cd $(HOST_SUBDIR)/sim && \
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 distclean) \
23787 || exit 1
23789 @endif sim
23791 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23792 maybe-maintainer-clean-sim:
23793 @if sim
23794 maybe-maintainer-clean-sim: maintainer-clean-sim
23796 maintainer-clean-sim:
23797 @: $(MAKE); $(unstage)
23798 @[ -f ./sim/Makefile ] || exit 0; \
23799 r=`${PWD_COMMAND}`; export r; \
23800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23801 $(HOST_EXPORTS) \
23802 for flag in $(EXTRA_HOST_FLAGS) ; do \
23803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23804 done; \
23805 echo "Doing maintainer-clean in sim" ; \
23806 (cd $(HOST_SUBDIR)/sim && \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23809 "RANLIB=$${RANLIB}" \
23810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23811 maintainer-clean) \
23812 || exit 1
23814 @endif sim
23818 .PHONY: configure-tar maybe-configure-tar
23819 maybe-configure-tar:
23820 @if tar
23821 maybe-configure-tar: configure-tar
23822 configure-tar:
23823 @: $(MAKE); $(unstage)
23824 @r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23828 $(HOST_EXPORTS) \
23829 echo Configuring in $(HOST_SUBDIR)/tar; \
23830 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23831 case $(srcdir) in \
23832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23833 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23835 esac; \
23836 srcdiroption="--srcdir=$${topdir}/tar"; \
23837 libsrcdir="$$s/tar"; \
23838 $(SHELL) $${libsrcdir}/configure \
23839 $(HOST_CONFIGARGS) $${srcdiroption} \
23840 || exit 1
23841 @endif tar
23847 .PHONY: all-tar maybe-all-tar
23848 maybe-all-tar:
23849 @if tar
23850 TARGET-tar=all
23851 maybe-all-tar: all-tar
23852 all-tar: configure-tar
23853 @: $(MAKE); $(unstage)
23854 @r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856 $(HOST_EXPORTS) \
23857 (cd $(HOST_SUBDIR)/tar && \
23858 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23859 @endif tar
23864 .PHONY: check-tar maybe-check-tar
23865 maybe-check-tar:
23866 @if tar
23867 maybe-check-tar: check-tar
23869 check-tar:
23870 @: $(MAKE); $(unstage)
23871 @r=`${PWD_COMMAND}`; export r; \
23872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23873 $(HOST_EXPORTS) \
23874 (cd $(HOST_SUBDIR)/tar && \
23875 $(MAKE) $(FLAGS_TO_PASS) check)
23877 @endif tar
23879 .PHONY: install-tar maybe-install-tar
23880 maybe-install-tar:
23881 @if tar
23882 maybe-install-tar: install-tar
23884 install-tar: installdirs
23885 @: $(MAKE); $(unstage)
23886 @r=`${PWD_COMMAND}`; export r; \
23887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23888 $(HOST_EXPORTS) \
23889 (cd $(HOST_SUBDIR)/tar && \
23890 $(MAKE) $(FLAGS_TO_PASS) install)
23892 @endif tar
23894 # Other targets (info, dvi, etc.)
23896 .PHONY: maybe-info-tar info-tar
23897 maybe-info-tar:
23898 @if tar
23899 maybe-info-tar: info-tar
23901 info-tar: \
23902 configure-tar
23903 @: $(MAKE); $(unstage)
23904 @[ -f ./tar/Makefile ] || exit 0; \
23905 r=`${PWD_COMMAND}`; export r; \
23906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23907 $(HOST_EXPORTS) \
23908 for flag in $(EXTRA_HOST_FLAGS) ; do \
23909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23910 done; \
23911 echo "Doing info in tar" ; \
23912 (cd $(HOST_SUBDIR)/tar && \
23913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23915 "RANLIB=$${RANLIB}" \
23916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23917 info) \
23918 || exit 1
23920 @endif tar
23922 .PHONY: maybe-dvi-tar dvi-tar
23923 maybe-dvi-tar:
23924 @if tar
23925 maybe-dvi-tar: dvi-tar
23927 dvi-tar: \
23928 configure-tar
23929 @: $(MAKE); $(unstage)
23930 @[ -f ./tar/Makefile ] || exit 0; \
23931 r=`${PWD_COMMAND}`; export r; \
23932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 $(HOST_EXPORTS) \
23934 for flag in $(EXTRA_HOST_FLAGS) ; do \
23935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23936 done; \
23937 echo "Doing dvi in tar" ; \
23938 (cd $(HOST_SUBDIR)/tar && \
23939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23941 "RANLIB=$${RANLIB}" \
23942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23943 dvi) \
23944 || exit 1
23946 @endif tar
23948 .PHONY: maybe-html-tar html-tar
23949 maybe-html-tar:
23950 @if tar
23951 maybe-html-tar: html-tar
23953 html-tar: \
23954 configure-tar
23955 @: $(MAKE); $(unstage)
23956 @[ -f ./tar/Makefile ] || exit 0; \
23957 r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 for flag in $(EXTRA_HOST_FLAGS) ; do \
23961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23962 done; \
23963 echo "Doing html in tar" ; \
23964 (cd $(HOST_SUBDIR)/tar && \
23965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23967 "RANLIB=$${RANLIB}" \
23968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23969 html) \
23970 || exit 1
23972 @endif tar
23974 .PHONY: maybe-TAGS-tar TAGS-tar
23975 maybe-TAGS-tar:
23976 @if tar
23977 maybe-TAGS-tar: TAGS-tar
23979 TAGS-tar: \
23980 configure-tar
23981 @: $(MAKE); $(unstage)
23982 @[ -f ./tar/Makefile ] || exit 0; \
23983 r=`${PWD_COMMAND}`; export r; \
23984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23985 $(HOST_EXPORTS) \
23986 for flag in $(EXTRA_HOST_FLAGS) ; do \
23987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23988 done; \
23989 echo "Doing TAGS in tar" ; \
23990 (cd $(HOST_SUBDIR)/tar && \
23991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23993 "RANLIB=$${RANLIB}" \
23994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23995 TAGS) \
23996 || exit 1
23998 @endif tar
24000 .PHONY: maybe-install-info-tar install-info-tar
24001 maybe-install-info-tar:
24002 @if tar
24003 maybe-install-info-tar: install-info-tar
24005 install-info-tar: \
24006 configure-tar \
24007 info-tar
24008 @: $(MAKE); $(unstage)
24009 @[ -f ./tar/Makefile ] || exit 0; \
24010 r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 $(HOST_EXPORTS) \
24013 for flag in $(EXTRA_HOST_FLAGS) ; do \
24014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24015 done; \
24016 echo "Doing install-info in tar" ; \
24017 (cd $(HOST_SUBDIR)/tar && \
24018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24020 "RANLIB=$${RANLIB}" \
24021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24022 install-info) \
24023 || exit 1
24025 @endif tar
24027 .PHONY: maybe-installcheck-tar installcheck-tar
24028 maybe-installcheck-tar:
24029 @if tar
24030 maybe-installcheck-tar: installcheck-tar
24032 installcheck-tar: \
24033 configure-tar
24034 @: $(MAKE); $(unstage)
24035 @[ -f ./tar/Makefile ] || exit 0; \
24036 r=`${PWD_COMMAND}`; export r; \
24037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24038 $(HOST_EXPORTS) \
24039 for flag in $(EXTRA_HOST_FLAGS) ; do \
24040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24041 done; \
24042 echo "Doing installcheck in tar" ; \
24043 (cd $(HOST_SUBDIR)/tar && \
24044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24046 "RANLIB=$${RANLIB}" \
24047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24048 installcheck) \
24049 || exit 1
24051 @endif tar
24053 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
24054 maybe-mostlyclean-tar:
24055 @if tar
24056 maybe-mostlyclean-tar: mostlyclean-tar
24058 mostlyclean-tar:
24059 @: $(MAKE); $(unstage)
24060 @[ -f ./tar/Makefile ] || exit 0; \
24061 r=`${PWD_COMMAND}`; export r; \
24062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24063 $(HOST_EXPORTS) \
24064 for flag in $(EXTRA_HOST_FLAGS) ; do \
24065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24066 done; \
24067 echo "Doing mostlyclean in tar" ; \
24068 (cd $(HOST_SUBDIR)/tar && \
24069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24071 "RANLIB=$${RANLIB}" \
24072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24073 mostlyclean) \
24074 || exit 1
24076 @endif tar
24078 .PHONY: maybe-clean-tar clean-tar
24079 maybe-clean-tar:
24080 @if tar
24081 maybe-clean-tar: clean-tar
24083 clean-tar:
24084 @: $(MAKE); $(unstage)
24085 @[ -f ./tar/Makefile ] || exit 0; \
24086 r=`${PWD_COMMAND}`; export r; \
24087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24088 $(HOST_EXPORTS) \
24089 for flag in $(EXTRA_HOST_FLAGS) ; do \
24090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24091 done; \
24092 echo "Doing clean in tar" ; \
24093 (cd $(HOST_SUBDIR)/tar && \
24094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096 "RANLIB=$${RANLIB}" \
24097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24098 clean) \
24099 || exit 1
24101 @endif tar
24103 .PHONY: maybe-distclean-tar distclean-tar
24104 maybe-distclean-tar:
24105 @if tar
24106 maybe-distclean-tar: distclean-tar
24108 distclean-tar:
24109 @: $(MAKE); $(unstage)
24110 @[ -f ./tar/Makefile ] || exit 0; \
24111 r=`${PWD_COMMAND}`; export r; \
24112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24113 $(HOST_EXPORTS) \
24114 for flag in $(EXTRA_HOST_FLAGS) ; do \
24115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24116 done; \
24117 echo "Doing distclean in tar" ; \
24118 (cd $(HOST_SUBDIR)/tar && \
24119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24121 "RANLIB=$${RANLIB}" \
24122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24123 distclean) \
24124 || exit 1
24126 @endif tar
24128 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
24129 maybe-maintainer-clean-tar:
24130 @if tar
24131 maybe-maintainer-clean-tar: maintainer-clean-tar
24133 maintainer-clean-tar:
24134 @: $(MAKE); $(unstage)
24135 @[ -f ./tar/Makefile ] || exit 0; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24138 $(HOST_EXPORTS) \
24139 for flag in $(EXTRA_HOST_FLAGS) ; do \
24140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 done; \
24142 echo "Doing maintainer-clean in tar" ; \
24143 (cd $(HOST_SUBDIR)/tar && \
24144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24146 "RANLIB=$${RANLIB}" \
24147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24148 maintainer-clean) \
24149 || exit 1
24151 @endif tar
24155 .PHONY: configure-texinfo maybe-configure-texinfo
24156 maybe-configure-texinfo:
24157 @if texinfo
24158 maybe-configure-texinfo: configure-texinfo
24159 configure-texinfo:
24160 @: $(MAKE); $(unstage)
24161 @r=`${PWD_COMMAND}`; export r; \
24162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24163 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24165 $(HOST_EXPORTS) \
24166 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24167 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24168 case $(srcdir) in \
24169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24170 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24172 esac; \
24173 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24174 libsrcdir="$$s/texinfo"; \
24175 $(SHELL) $${libsrcdir}/configure \
24176 $(HOST_CONFIGARGS) $${srcdiroption} \
24177 || exit 1
24178 @endif texinfo
24184 .PHONY: all-texinfo maybe-all-texinfo
24185 maybe-all-texinfo:
24186 @if texinfo
24187 TARGET-texinfo=all
24188 maybe-all-texinfo: all-texinfo
24189 all-texinfo: configure-texinfo
24190 @: $(MAKE); $(unstage)
24191 @r=`${PWD_COMMAND}`; export r; \
24192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24193 $(HOST_EXPORTS) \
24194 (cd $(HOST_SUBDIR)/texinfo && \
24195 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
24196 @endif texinfo
24201 .PHONY: check-texinfo maybe-check-texinfo
24202 maybe-check-texinfo:
24203 @if texinfo
24204 maybe-check-texinfo: check-texinfo
24206 check-texinfo:
24207 @: $(MAKE); $(unstage)
24208 @r=`${PWD_COMMAND}`; export r; \
24209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24210 $(HOST_EXPORTS) \
24211 (cd $(HOST_SUBDIR)/texinfo && \
24212 $(MAKE) $(FLAGS_TO_PASS) check)
24214 @endif texinfo
24216 .PHONY: install-texinfo maybe-install-texinfo
24217 maybe-install-texinfo:
24218 @if texinfo
24219 maybe-install-texinfo: install-texinfo
24221 install-texinfo:
24223 @endif texinfo
24225 # Other targets (info, dvi, etc.)
24227 .PHONY: maybe-info-texinfo info-texinfo
24228 maybe-info-texinfo:
24229 @if texinfo
24230 maybe-info-texinfo: info-texinfo
24232 info-texinfo: \
24233 configure-texinfo
24234 @: $(MAKE); $(unstage)
24235 @[ -f ./texinfo/Makefile ] || exit 0; \
24236 r=`${PWD_COMMAND}`; export r; \
24237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24238 $(HOST_EXPORTS) \
24239 for flag in $(EXTRA_HOST_FLAGS) ; do \
24240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24241 done; \
24242 echo "Doing info in texinfo" ; \
24243 (cd $(HOST_SUBDIR)/texinfo && \
24244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24246 "RANLIB=$${RANLIB}" \
24247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24248 info) \
24249 || exit 1
24251 @endif texinfo
24253 .PHONY: maybe-dvi-texinfo dvi-texinfo
24254 maybe-dvi-texinfo:
24255 @if texinfo
24256 maybe-dvi-texinfo: dvi-texinfo
24258 dvi-texinfo: \
24259 configure-texinfo
24260 @: $(MAKE); $(unstage)
24261 @[ -f ./texinfo/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing dvi in texinfo" ; \
24269 (cd $(HOST_SUBDIR)/texinfo && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24274 dvi) \
24275 || exit 1
24277 @endif texinfo
24279 .PHONY: maybe-html-texinfo html-texinfo
24280 maybe-html-texinfo:
24281 @if texinfo
24282 maybe-html-texinfo: html-texinfo
24284 html-texinfo: \
24285 configure-texinfo
24286 @: $(MAKE); $(unstage)
24287 @[ -f ./texinfo/Makefile ] || exit 0; \
24288 r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(HOST_EXPORTS) \
24291 for flag in $(EXTRA_HOST_FLAGS) ; do \
24292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24293 done; \
24294 echo "Doing html in texinfo" ; \
24295 (cd $(HOST_SUBDIR)/texinfo && \
24296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24298 "RANLIB=$${RANLIB}" \
24299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24300 html) \
24301 || exit 1
24303 @endif texinfo
24305 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24306 maybe-TAGS-texinfo:
24307 @if texinfo
24308 maybe-TAGS-texinfo: TAGS-texinfo
24310 TAGS-texinfo: \
24311 configure-texinfo
24312 @: $(MAKE); $(unstage)
24313 @[ -f ./texinfo/Makefile ] || exit 0; \
24314 r=`${PWD_COMMAND}`; export r; \
24315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24316 $(HOST_EXPORTS) \
24317 for flag in $(EXTRA_HOST_FLAGS) ; do \
24318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24319 done; \
24320 echo "Doing TAGS in texinfo" ; \
24321 (cd $(HOST_SUBDIR)/texinfo && \
24322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24324 "RANLIB=$${RANLIB}" \
24325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24326 TAGS) \
24327 || exit 1
24329 @endif texinfo
24331 .PHONY: maybe-install-info-texinfo install-info-texinfo
24332 maybe-install-info-texinfo:
24333 @if texinfo
24334 maybe-install-info-texinfo: install-info-texinfo
24336 install-info-texinfo: \
24337 configure-texinfo \
24338 info-texinfo
24339 @: $(MAKE); $(unstage)
24340 @[ -f ./texinfo/Makefile ] || exit 0; \
24341 r=`${PWD_COMMAND}`; export r; \
24342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24343 $(HOST_EXPORTS) \
24344 for flag in $(EXTRA_HOST_FLAGS) ; do \
24345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24346 done; \
24347 echo "Doing install-info in texinfo" ; \
24348 (cd $(HOST_SUBDIR)/texinfo && \
24349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24351 "RANLIB=$${RANLIB}" \
24352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24353 install-info) \
24354 || exit 1
24356 @endif texinfo
24358 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24359 maybe-installcheck-texinfo:
24360 @if texinfo
24361 maybe-installcheck-texinfo: installcheck-texinfo
24363 installcheck-texinfo: \
24364 configure-texinfo
24365 @: $(MAKE); $(unstage)
24366 @[ -f ./texinfo/Makefile ] || exit 0; \
24367 r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24369 $(HOST_EXPORTS) \
24370 for flag in $(EXTRA_HOST_FLAGS) ; do \
24371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24372 done; \
24373 echo "Doing installcheck in texinfo" ; \
24374 (cd $(HOST_SUBDIR)/texinfo && \
24375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24377 "RANLIB=$${RANLIB}" \
24378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24379 installcheck) \
24380 || exit 1
24382 @endif texinfo
24384 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24385 maybe-mostlyclean-texinfo:
24386 @if texinfo
24387 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24389 mostlyclean-texinfo:
24390 @: $(MAKE); $(unstage)
24391 @[ -f ./texinfo/Makefile ] || exit 0; \
24392 r=`${PWD_COMMAND}`; export r; \
24393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24394 $(HOST_EXPORTS) \
24395 for flag in $(EXTRA_HOST_FLAGS) ; do \
24396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24397 done; \
24398 echo "Doing mostlyclean in texinfo" ; \
24399 (cd $(HOST_SUBDIR)/texinfo && \
24400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24402 "RANLIB=$${RANLIB}" \
24403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24404 mostlyclean) \
24405 || exit 1
24407 @endif texinfo
24409 .PHONY: maybe-clean-texinfo clean-texinfo
24410 maybe-clean-texinfo:
24411 @if texinfo
24412 maybe-clean-texinfo: clean-texinfo
24414 clean-texinfo:
24415 @: $(MAKE); $(unstage)
24416 @[ -f ./texinfo/Makefile ] || exit 0; \
24417 r=`${PWD_COMMAND}`; export r; \
24418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24419 $(HOST_EXPORTS) \
24420 for flag in $(EXTRA_HOST_FLAGS) ; do \
24421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24422 done; \
24423 echo "Doing clean in texinfo" ; \
24424 (cd $(HOST_SUBDIR)/texinfo && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24427 "RANLIB=$${RANLIB}" \
24428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24429 clean) \
24430 || exit 1
24432 @endif texinfo
24434 .PHONY: maybe-distclean-texinfo distclean-texinfo
24435 maybe-distclean-texinfo:
24436 @if texinfo
24437 maybe-distclean-texinfo: distclean-texinfo
24439 distclean-texinfo:
24440 @: $(MAKE); $(unstage)
24441 @[ -f ./texinfo/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 distclean in texinfo" ; \
24449 (cd $(HOST_SUBDIR)/texinfo && \
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 distclean) \
24455 || exit 1
24457 @endif texinfo
24459 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24460 maybe-maintainer-clean-texinfo:
24461 @if texinfo
24462 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24464 maintainer-clean-texinfo:
24465 @: $(MAKE); $(unstage)
24466 @[ -f ./texinfo/Makefile ] || exit 0; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(HOST_EXPORTS) \
24470 for flag in $(EXTRA_HOST_FLAGS) ; do \
24471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24472 done; \
24473 echo "Doing maintainer-clean in texinfo" ; \
24474 (cd $(HOST_SUBDIR)/texinfo && \
24475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24477 "RANLIB=$${RANLIB}" \
24478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24479 maintainer-clean) \
24480 || exit 1
24482 @endif texinfo
24486 .PHONY: configure-textutils maybe-configure-textutils
24487 maybe-configure-textutils:
24488 @if textutils
24489 maybe-configure-textutils: configure-textutils
24490 configure-textutils:
24491 @: $(MAKE); $(unstage)
24492 @r=`${PWD_COMMAND}`; export r; \
24493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24494 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24496 $(HOST_EXPORTS) \
24497 echo Configuring in $(HOST_SUBDIR)/textutils; \
24498 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24499 case $(srcdir) in \
24500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24501 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24503 esac; \
24504 srcdiroption="--srcdir=$${topdir}/textutils"; \
24505 libsrcdir="$$s/textutils"; \
24506 $(SHELL) $${libsrcdir}/configure \
24507 $(HOST_CONFIGARGS) $${srcdiroption} \
24508 || exit 1
24509 @endif textutils
24515 .PHONY: all-textutils maybe-all-textutils
24516 maybe-all-textutils:
24517 @if textutils
24518 TARGET-textutils=all
24519 maybe-all-textutils: all-textutils
24520 all-textutils: configure-textutils
24521 @: $(MAKE); $(unstage)
24522 @r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 (cd $(HOST_SUBDIR)/textutils && \
24526 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24527 @endif textutils
24532 .PHONY: check-textutils maybe-check-textutils
24533 maybe-check-textutils:
24534 @if textutils
24535 maybe-check-textutils: check-textutils
24537 check-textutils:
24538 @: $(MAKE); $(unstage)
24539 @r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 $(HOST_EXPORTS) \
24542 (cd $(HOST_SUBDIR)/textutils && \
24543 $(MAKE) $(FLAGS_TO_PASS) check)
24545 @endif textutils
24547 .PHONY: install-textutils maybe-install-textutils
24548 maybe-install-textutils:
24549 @if textutils
24550 maybe-install-textutils: install-textutils
24552 install-textutils: installdirs
24553 @: $(MAKE); $(unstage)
24554 @r=`${PWD_COMMAND}`; export r; \
24555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24556 $(HOST_EXPORTS) \
24557 (cd $(HOST_SUBDIR)/textutils && \
24558 $(MAKE) $(FLAGS_TO_PASS) install)
24560 @endif textutils
24562 # Other targets (info, dvi, etc.)
24564 .PHONY: maybe-info-textutils info-textutils
24565 maybe-info-textutils:
24566 @if textutils
24567 maybe-info-textutils: info-textutils
24569 info-textutils: \
24570 configure-textutils
24571 @: $(MAKE); $(unstage)
24572 @[ -f ./textutils/Makefile ] || exit 0; \
24573 r=`${PWD_COMMAND}`; export r; \
24574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24575 $(HOST_EXPORTS) \
24576 for flag in $(EXTRA_HOST_FLAGS) ; do \
24577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24578 done; \
24579 echo "Doing info in textutils" ; \
24580 (cd $(HOST_SUBDIR)/textutils && \
24581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24583 "RANLIB=$${RANLIB}" \
24584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24585 info) \
24586 || exit 1
24588 @endif textutils
24590 .PHONY: maybe-dvi-textutils dvi-textutils
24591 maybe-dvi-textutils:
24592 @if textutils
24593 maybe-dvi-textutils: dvi-textutils
24595 dvi-textutils: \
24596 configure-textutils
24597 @: $(MAKE); $(unstage)
24598 @[ -f ./textutils/Makefile ] || exit 0; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24601 $(HOST_EXPORTS) \
24602 for flag in $(EXTRA_HOST_FLAGS) ; do \
24603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24604 done; \
24605 echo "Doing dvi in textutils" ; \
24606 (cd $(HOST_SUBDIR)/textutils && \
24607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24609 "RANLIB=$${RANLIB}" \
24610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24611 dvi) \
24612 || exit 1
24614 @endif textutils
24616 .PHONY: maybe-html-textutils html-textutils
24617 maybe-html-textutils:
24618 @if textutils
24619 maybe-html-textutils: html-textutils
24621 html-textutils: \
24622 configure-textutils
24623 @: $(MAKE); $(unstage)
24624 @[ -f ./textutils/Makefile ] || exit 0; \
24625 r=`${PWD_COMMAND}`; export r; \
24626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24627 $(HOST_EXPORTS) \
24628 for flag in $(EXTRA_HOST_FLAGS) ; do \
24629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24630 done; \
24631 echo "Doing html in textutils" ; \
24632 (cd $(HOST_SUBDIR)/textutils && \
24633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24635 "RANLIB=$${RANLIB}" \
24636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24637 html) \
24638 || exit 1
24640 @endif textutils
24642 .PHONY: maybe-TAGS-textutils TAGS-textutils
24643 maybe-TAGS-textutils:
24644 @if textutils
24645 maybe-TAGS-textutils: TAGS-textutils
24647 TAGS-textutils: \
24648 configure-textutils
24649 @: $(MAKE); $(unstage)
24650 @[ -f ./textutils/Makefile ] || exit 0; \
24651 r=`${PWD_COMMAND}`; export r; \
24652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24653 $(HOST_EXPORTS) \
24654 for flag in $(EXTRA_HOST_FLAGS) ; do \
24655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24656 done; \
24657 echo "Doing TAGS in textutils" ; \
24658 (cd $(HOST_SUBDIR)/textutils && \
24659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24661 "RANLIB=$${RANLIB}" \
24662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24663 TAGS) \
24664 || exit 1
24666 @endif textutils
24668 .PHONY: maybe-install-info-textutils install-info-textutils
24669 maybe-install-info-textutils:
24670 @if textutils
24671 maybe-install-info-textutils: install-info-textutils
24673 install-info-textutils: \
24674 configure-textutils \
24675 info-textutils
24676 @: $(MAKE); $(unstage)
24677 @[ -f ./textutils/Makefile ] || exit 0; \
24678 r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(HOST_EXPORTS) \
24681 for flag in $(EXTRA_HOST_FLAGS) ; do \
24682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24683 done; \
24684 echo "Doing install-info in textutils" ; \
24685 (cd $(HOST_SUBDIR)/textutils && \
24686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24688 "RANLIB=$${RANLIB}" \
24689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24690 install-info) \
24691 || exit 1
24693 @endif textutils
24695 .PHONY: maybe-installcheck-textutils installcheck-textutils
24696 maybe-installcheck-textutils:
24697 @if textutils
24698 maybe-installcheck-textutils: installcheck-textutils
24700 installcheck-textutils: \
24701 configure-textutils
24702 @: $(MAKE); $(unstage)
24703 @[ -f ./textutils/Makefile ] || exit 0; \
24704 r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 $(HOST_EXPORTS) \
24707 for flag in $(EXTRA_HOST_FLAGS) ; do \
24708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24709 done; \
24710 echo "Doing installcheck in textutils" ; \
24711 (cd $(HOST_SUBDIR)/textutils && \
24712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24714 "RANLIB=$${RANLIB}" \
24715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24716 installcheck) \
24717 || exit 1
24719 @endif textutils
24721 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24722 maybe-mostlyclean-textutils:
24723 @if textutils
24724 maybe-mostlyclean-textutils: mostlyclean-textutils
24726 mostlyclean-textutils:
24727 @: $(MAKE); $(unstage)
24728 @[ -f ./textutils/Makefile ] || exit 0; \
24729 r=`${PWD_COMMAND}`; export r; \
24730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24731 $(HOST_EXPORTS) \
24732 for flag in $(EXTRA_HOST_FLAGS) ; do \
24733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24734 done; \
24735 echo "Doing mostlyclean in textutils" ; \
24736 (cd $(HOST_SUBDIR)/textutils && \
24737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24739 "RANLIB=$${RANLIB}" \
24740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24741 mostlyclean) \
24742 || exit 1
24744 @endif textutils
24746 .PHONY: maybe-clean-textutils clean-textutils
24747 maybe-clean-textutils:
24748 @if textutils
24749 maybe-clean-textutils: clean-textutils
24751 clean-textutils:
24752 @: $(MAKE); $(unstage)
24753 @[ -f ./textutils/Makefile ] || exit 0; \
24754 r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(HOST_EXPORTS) \
24757 for flag in $(EXTRA_HOST_FLAGS) ; do \
24758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24759 done; \
24760 echo "Doing clean in textutils" ; \
24761 (cd $(HOST_SUBDIR)/textutils && \
24762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24764 "RANLIB=$${RANLIB}" \
24765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24766 clean) \
24767 || exit 1
24769 @endif textutils
24771 .PHONY: maybe-distclean-textutils distclean-textutils
24772 maybe-distclean-textutils:
24773 @if textutils
24774 maybe-distclean-textutils: distclean-textutils
24776 distclean-textutils:
24777 @: $(MAKE); $(unstage)
24778 @[ -f ./textutils/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 distclean in textutils" ; \
24786 (cd $(HOST_SUBDIR)/textutils && \
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 distclean) \
24792 || exit 1
24794 @endif textutils
24796 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24797 maybe-maintainer-clean-textutils:
24798 @if textutils
24799 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24801 maintainer-clean-textutils:
24802 @: $(MAKE); $(unstage)
24803 @[ -f ./textutils/Makefile ] || exit 0; \
24804 r=`${PWD_COMMAND}`; export r; \
24805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806 $(HOST_EXPORTS) \
24807 for flag in $(EXTRA_HOST_FLAGS) ; do \
24808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24809 done; \
24810 echo "Doing maintainer-clean in textutils" ; \
24811 (cd $(HOST_SUBDIR)/textutils && \
24812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24814 "RANLIB=$${RANLIB}" \
24815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24816 maintainer-clean) \
24817 || exit 1
24819 @endif textutils
24823 .PHONY: configure-time maybe-configure-time
24824 maybe-configure-time:
24825 @if time
24826 maybe-configure-time: configure-time
24827 configure-time:
24828 @: $(MAKE); $(unstage)
24829 @r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24833 $(HOST_EXPORTS) \
24834 echo Configuring in $(HOST_SUBDIR)/time; \
24835 cd "$(HOST_SUBDIR)/time" || exit 1; \
24836 case $(srcdir) in \
24837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24838 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24840 esac; \
24841 srcdiroption="--srcdir=$${topdir}/time"; \
24842 libsrcdir="$$s/time"; \
24843 $(SHELL) $${libsrcdir}/configure \
24844 $(HOST_CONFIGARGS) $${srcdiroption} \
24845 || exit 1
24846 @endif time
24852 .PHONY: all-time maybe-all-time
24853 maybe-all-time:
24854 @if time
24855 TARGET-time=all
24856 maybe-all-time: all-time
24857 all-time: configure-time
24858 @: $(MAKE); $(unstage)
24859 @r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 $(HOST_EXPORTS) \
24862 (cd $(HOST_SUBDIR)/time && \
24863 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24864 @endif time
24869 .PHONY: check-time maybe-check-time
24870 maybe-check-time:
24871 @if time
24872 maybe-check-time: check-time
24874 check-time:
24875 @: $(MAKE); $(unstage)
24876 @r=`${PWD_COMMAND}`; export r; \
24877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24878 $(HOST_EXPORTS) \
24879 (cd $(HOST_SUBDIR)/time && \
24880 $(MAKE) $(FLAGS_TO_PASS) check)
24882 @endif time
24884 .PHONY: install-time maybe-install-time
24885 maybe-install-time:
24886 @if time
24887 maybe-install-time: install-time
24889 install-time: installdirs
24890 @: $(MAKE); $(unstage)
24891 @r=`${PWD_COMMAND}`; export r; \
24892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24893 $(HOST_EXPORTS) \
24894 (cd $(HOST_SUBDIR)/time && \
24895 $(MAKE) $(FLAGS_TO_PASS) install)
24897 @endif time
24899 # Other targets (info, dvi, etc.)
24901 .PHONY: maybe-info-time info-time
24902 maybe-info-time:
24903 @if time
24904 maybe-info-time: info-time
24906 info-time: \
24907 configure-time
24908 @: $(MAKE); $(unstage)
24909 @[ -f ./time/Makefile ] || exit 0; \
24910 r=`${PWD_COMMAND}`; export r; \
24911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 $(HOST_EXPORTS) \
24913 for flag in $(EXTRA_HOST_FLAGS) ; do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 done; \
24916 echo "Doing info in time" ; \
24917 (cd $(HOST_SUBDIR)/time && \
24918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24920 "RANLIB=$${RANLIB}" \
24921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24922 info) \
24923 || exit 1
24925 @endif time
24927 .PHONY: maybe-dvi-time dvi-time
24928 maybe-dvi-time:
24929 @if time
24930 maybe-dvi-time: dvi-time
24932 dvi-time: \
24933 configure-time
24934 @: $(MAKE); $(unstage)
24935 @[ -f ./time/Makefile ] || exit 0; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(HOST_EXPORTS) \
24939 for flag in $(EXTRA_HOST_FLAGS) ; do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24941 done; \
24942 echo "Doing dvi in time" ; \
24943 (cd $(HOST_SUBDIR)/time && \
24944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24946 "RANLIB=$${RANLIB}" \
24947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24948 dvi) \
24949 || exit 1
24951 @endif time
24953 .PHONY: maybe-html-time html-time
24954 maybe-html-time:
24955 @if time
24956 maybe-html-time: html-time
24958 html-time: \
24959 configure-time
24960 @: $(MAKE); $(unstage)
24961 @[ -f ./time/Makefile ] || exit 0; \
24962 r=`${PWD_COMMAND}`; export r; \
24963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24964 $(HOST_EXPORTS) \
24965 for flag in $(EXTRA_HOST_FLAGS) ; do \
24966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24967 done; \
24968 echo "Doing html in time" ; \
24969 (cd $(HOST_SUBDIR)/time && \
24970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24972 "RANLIB=$${RANLIB}" \
24973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24974 html) \
24975 || exit 1
24977 @endif time
24979 .PHONY: maybe-TAGS-time TAGS-time
24980 maybe-TAGS-time:
24981 @if time
24982 maybe-TAGS-time: TAGS-time
24984 TAGS-time: \
24985 configure-time
24986 @: $(MAKE); $(unstage)
24987 @[ -f ./time/Makefile ] || exit 0; \
24988 r=`${PWD_COMMAND}`; export r; \
24989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990 $(HOST_EXPORTS) \
24991 for flag in $(EXTRA_HOST_FLAGS) ; do \
24992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24993 done; \
24994 echo "Doing TAGS in time" ; \
24995 (cd $(HOST_SUBDIR)/time && \
24996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24998 "RANLIB=$${RANLIB}" \
24999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25000 TAGS) \
25001 || exit 1
25003 @endif time
25005 .PHONY: maybe-install-info-time install-info-time
25006 maybe-install-info-time:
25007 @if time
25008 maybe-install-info-time: install-info-time
25010 install-info-time: \
25011 configure-time \
25012 info-time
25013 @: $(MAKE); $(unstage)
25014 @[ -f ./time/Makefile ] || exit 0; \
25015 r=`${PWD_COMMAND}`; export r; \
25016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25017 $(HOST_EXPORTS) \
25018 for flag in $(EXTRA_HOST_FLAGS) ; do \
25019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25020 done; \
25021 echo "Doing install-info in time" ; \
25022 (cd $(HOST_SUBDIR)/time && \
25023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25025 "RANLIB=$${RANLIB}" \
25026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25027 install-info) \
25028 || exit 1
25030 @endif time
25032 .PHONY: maybe-installcheck-time installcheck-time
25033 maybe-installcheck-time:
25034 @if time
25035 maybe-installcheck-time: installcheck-time
25037 installcheck-time: \
25038 configure-time
25039 @: $(MAKE); $(unstage)
25040 @[ -f ./time/Makefile ] || exit 0; \
25041 r=`${PWD_COMMAND}`; export r; \
25042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25043 $(HOST_EXPORTS) \
25044 for flag in $(EXTRA_HOST_FLAGS) ; do \
25045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25046 done; \
25047 echo "Doing installcheck in time" ; \
25048 (cd $(HOST_SUBDIR)/time && \
25049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25051 "RANLIB=$${RANLIB}" \
25052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25053 installcheck) \
25054 || exit 1
25056 @endif time
25058 .PHONY: maybe-mostlyclean-time mostlyclean-time
25059 maybe-mostlyclean-time:
25060 @if time
25061 maybe-mostlyclean-time: mostlyclean-time
25063 mostlyclean-time:
25064 @: $(MAKE); $(unstage)
25065 @[ -f ./time/Makefile ] || exit 0; \
25066 r=`${PWD_COMMAND}`; export r; \
25067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25068 $(HOST_EXPORTS) \
25069 for flag in $(EXTRA_HOST_FLAGS) ; do \
25070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25071 done; \
25072 echo "Doing mostlyclean in time" ; \
25073 (cd $(HOST_SUBDIR)/time && \
25074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25076 "RANLIB=$${RANLIB}" \
25077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25078 mostlyclean) \
25079 || exit 1
25081 @endif time
25083 .PHONY: maybe-clean-time clean-time
25084 maybe-clean-time:
25085 @if time
25086 maybe-clean-time: clean-time
25088 clean-time:
25089 @: $(MAKE); $(unstage)
25090 @[ -f ./time/Makefile ] || exit 0; \
25091 r=`${PWD_COMMAND}`; export r; \
25092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25093 $(HOST_EXPORTS) \
25094 for flag in $(EXTRA_HOST_FLAGS) ; do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096 done; \
25097 echo "Doing clean in time" ; \
25098 (cd $(HOST_SUBDIR)/time && \
25099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25101 "RANLIB=$${RANLIB}" \
25102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25103 clean) \
25104 || exit 1
25106 @endif time
25108 .PHONY: maybe-distclean-time distclean-time
25109 maybe-distclean-time:
25110 @if time
25111 maybe-distclean-time: distclean-time
25113 distclean-time:
25114 @: $(MAKE); $(unstage)
25115 @[ -f ./time/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 distclean in time" ; \
25123 (cd $(HOST_SUBDIR)/time && \
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 distclean) \
25129 || exit 1
25131 @endif time
25133 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
25134 maybe-maintainer-clean-time:
25135 @if time
25136 maybe-maintainer-clean-time: maintainer-clean-time
25138 maintainer-clean-time:
25139 @: $(MAKE); $(unstage)
25140 @[ -f ./time/Makefile ] || exit 0; \
25141 r=`${PWD_COMMAND}`; export r; \
25142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25143 $(HOST_EXPORTS) \
25144 for flag in $(EXTRA_HOST_FLAGS) ; do \
25145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25146 done; \
25147 echo "Doing maintainer-clean in time" ; \
25148 (cd $(HOST_SUBDIR)/time && \
25149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25151 "RANLIB=$${RANLIB}" \
25152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25153 maintainer-clean) \
25154 || exit 1
25156 @endif time
25160 .PHONY: configure-uudecode maybe-configure-uudecode
25161 maybe-configure-uudecode:
25162 @if uudecode
25163 maybe-configure-uudecode: configure-uudecode
25164 configure-uudecode:
25165 @: $(MAKE); $(unstage)
25166 @r=`${PWD_COMMAND}`; export r; \
25167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25168 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
25169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
25170 $(HOST_EXPORTS) \
25171 echo Configuring in $(HOST_SUBDIR)/uudecode; \
25172 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
25173 case $(srcdir) in \
25174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25175 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
25176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25177 esac; \
25178 srcdiroption="--srcdir=$${topdir}/uudecode"; \
25179 libsrcdir="$$s/uudecode"; \
25180 $(SHELL) $${libsrcdir}/configure \
25181 $(HOST_CONFIGARGS) $${srcdiroption} \
25182 || exit 1
25183 @endif uudecode
25189 .PHONY: all-uudecode maybe-all-uudecode
25190 maybe-all-uudecode:
25191 @if uudecode
25192 TARGET-uudecode=all
25193 maybe-all-uudecode: all-uudecode
25194 all-uudecode: configure-uudecode
25195 @: $(MAKE); $(unstage)
25196 @r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(HOST_EXPORTS) \
25199 (cd $(HOST_SUBDIR)/uudecode && \
25200 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
25201 @endif uudecode
25206 .PHONY: check-uudecode maybe-check-uudecode
25207 maybe-check-uudecode:
25208 @if uudecode
25209 maybe-check-uudecode: check-uudecode
25211 check-uudecode:
25212 @: $(MAKE); $(unstage)
25213 @r=`${PWD_COMMAND}`; export r; \
25214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25215 $(HOST_EXPORTS) \
25216 (cd $(HOST_SUBDIR)/uudecode && \
25217 $(MAKE) $(FLAGS_TO_PASS) check)
25219 @endif uudecode
25221 .PHONY: install-uudecode maybe-install-uudecode
25222 maybe-install-uudecode:
25223 @if uudecode
25224 maybe-install-uudecode: install-uudecode
25226 install-uudecode: installdirs
25227 @: $(MAKE); $(unstage)
25228 @r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(HOST_EXPORTS) \
25231 (cd $(HOST_SUBDIR)/uudecode && \
25232 $(MAKE) $(FLAGS_TO_PASS) install)
25234 @endif uudecode
25236 # Other targets (info, dvi, etc.)
25238 .PHONY: maybe-info-uudecode info-uudecode
25239 maybe-info-uudecode:
25240 @if uudecode
25241 maybe-info-uudecode: info-uudecode
25243 info-uudecode: \
25244 configure-uudecode
25245 @: $(MAKE); $(unstage)
25246 @[ -f ./uudecode/Makefile ] || exit 0; \
25247 r=`${PWD_COMMAND}`; export r; \
25248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25249 $(HOST_EXPORTS) \
25250 for flag in $(EXTRA_HOST_FLAGS) ; do \
25251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25252 done; \
25253 echo "Doing info in uudecode" ; \
25254 (cd $(HOST_SUBDIR)/uudecode && \
25255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25257 "RANLIB=$${RANLIB}" \
25258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25259 info) \
25260 || exit 1
25262 @endif uudecode
25264 .PHONY: maybe-dvi-uudecode dvi-uudecode
25265 maybe-dvi-uudecode:
25266 @if uudecode
25267 maybe-dvi-uudecode: dvi-uudecode
25269 dvi-uudecode: \
25270 configure-uudecode
25271 @: $(MAKE); $(unstage)
25272 @[ -f ./uudecode/Makefile ] || exit 0; \
25273 r=`${PWD_COMMAND}`; export r; \
25274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25275 $(HOST_EXPORTS) \
25276 for flag in $(EXTRA_HOST_FLAGS) ; do \
25277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25278 done; \
25279 echo "Doing dvi in uudecode" ; \
25280 (cd $(HOST_SUBDIR)/uudecode && \
25281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25283 "RANLIB=$${RANLIB}" \
25284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25285 dvi) \
25286 || exit 1
25288 @endif uudecode
25290 .PHONY: maybe-html-uudecode html-uudecode
25291 maybe-html-uudecode:
25292 @if uudecode
25293 maybe-html-uudecode: html-uudecode
25295 html-uudecode: \
25296 configure-uudecode
25297 @: $(MAKE); $(unstage)
25298 @[ -f ./uudecode/Makefile ] || exit 0; \
25299 r=`${PWD_COMMAND}`; export r; \
25300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25301 $(HOST_EXPORTS) \
25302 for flag in $(EXTRA_HOST_FLAGS) ; do \
25303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25304 done; \
25305 echo "Doing html in uudecode" ; \
25306 (cd $(HOST_SUBDIR)/uudecode && \
25307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25309 "RANLIB=$${RANLIB}" \
25310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25311 html) \
25312 || exit 1
25314 @endif uudecode
25316 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25317 maybe-TAGS-uudecode:
25318 @if uudecode
25319 maybe-TAGS-uudecode: TAGS-uudecode
25321 TAGS-uudecode: \
25322 configure-uudecode
25323 @: $(MAKE); $(unstage)
25324 @[ -f ./uudecode/Makefile ] || exit 0; \
25325 r=`${PWD_COMMAND}`; export r; \
25326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25327 $(HOST_EXPORTS) \
25328 for flag in $(EXTRA_HOST_FLAGS) ; do \
25329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25330 done; \
25331 echo "Doing TAGS in uudecode" ; \
25332 (cd $(HOST_SUBDIR)/uudecode && \
25333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25335 "RANLIB=$${RANLIB}" \
25336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25337 TAGS) \
25338 || exit 1
25340 @endif uudecode
25342 .PHONY: maybe-install-info-uudecode install-info-uudecode
25343 maybe-install-info-uudecode:
25344 @if uudecode
25345 maybe-install-info-uudecode: install-info-uudecode
25347 install-info-uudecode: \
25348 configure-uudecode \
25349 info-uudecode
25350 @: $(MAKE); $(unstage)
25351 @[ -f ./uudecode/Makefile ] || exit 0; \
25352 r=`${PWD_COMMAND}`; export r; \
25353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25354 $(HOST_EXPORTS) \
25355 for flag in $(EXTRA_HOST_FLAGS) ; do \
25356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25357 done; \
25358 echo "Doing install-info in uudecode" ; \
25359 (cd $(HOST_SUBDIR)/uudecode && \
25360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25362 "RANLIB=$${RANLIB}" \
25363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25364 install-info) \
25365 || exit 1
25367 @endif uudecode
25369 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25370 maybe-installcheck-uudecode:
25371 @if uudecode
25372 maybe-installcheck-uudecode: installcheck-uudecode
25374 installcheck-uudecode: \
25375 configure-uudecode
25376 @: $(MAKE); $(unstage)
25377 @[ -f ./uudecode/Makefile ] || exit 0; \
25378 r=`${PWD_COMMAND}`; export r; \
25379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25380 $(HOST_EXPORTS) \
25381 for flag in $(EXTRA_HOST_FLAGS) ; do \
25382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25383 done; \
25384 echo "Doing installcheck in uudecode" ; \
25385 (cd $(HOST_SUBDIR)/uudecode && \
25386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25388 "RANLIB=$${RANLIB}" \
25389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25390 installcheck) \
25391 || exit 1
25393 @endif uudecode
25395 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25396 maybe-mostlyclean-uudecode:
25397 @if uudecode
25398 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25400 mostlyclean-uudecode:
25401 @: $(MAKE); $(unstage)
25402 @[ -f ./uudecode/Makefile ] || exit 0; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25405 $(HOST_EXPORTS) \
25406 for flag in $(EXTRA_HOST_FLAGS) ; do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25408 done; \
25409 echo "Doing mostlyclean in uudecode" ; \
25410 (cd $(HOST_SUBDIR)/uudecode && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25413 "RANLIB=$${RANLIB}" \
25414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25415 mostlyclean) \
25416 || exit 1
25418 @endif uudecode
25420 .PHONY: maybe-clean-uudecode clean-uudecode
25421 maybe-clean-uudecode:
25422 @if uudecode
25423 maybe-clean-uudecode: clean-uudecode
25425 clean-uudecode:
25426 @: $(MAKE); $(unstage)
25427 @[ -f ./uudecode/Makefile ] || exit 0; \
25428 r=`${PWD_COMMAND}`; export r; \
25429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 $(HOST_EXPORTS) \
25431 for flag in $(EXTRA_HOST_FLAGS) ; do \
25432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25433 done; \
25434 echo "Doing clean in uudecode" ; \
25435 (cd $(HOST_SUBDIR)/uudecode && \
25436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25438 "RANLIB=$${RANLIB}" \
25439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25440 clean) \
25441 || exit 1
25443 @endif uudecode
25445 .PHONY: maybe-distclean-uudecode distclean-uudecode
25446 maybe-distclean-uudecode:
25447 @if uudecode
25448 maybe-distclean-uudecode: distclean-uudecode
25450 distclean-uudecode:
25451 @: $(MAKE); $(unstage)
25452 @[ -f ./uudecode/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 distclean in uudecode" ; \
25460 (cd $(HOST_SUBDIR)/uudecode && \
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 distclean) \
25466 || exit 1
25468 @endif uudecode
25470 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25471 maybe-maintainer-clean-uudecode:
25472 @if uudecode
25473 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25475 maintainer-clean-uudecode:
25476 @: $(MAKE); $(unstage)
25477 @[ -f ./uudecode/Makefile ] || exit 0; \
25478 r=`${PWD_COMMAND}`; export r; \
25479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25480 $(HOST_EXPORTS) \
25481 for flag in $(EXTRA_HOST_FLAGS) ; do \
25482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25483 done; \
25484 echo "Doing maintainer-clean in uudecode" ; \
25485 (cd $(HOST_SUBDIR)/uudecode && \
25486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25488 "RANLIB=$${RANLIB}" \
25489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25490 maintainer-clean) \
25491 || exit 1
25493 @endif uudecode
25497 .PHONY: configure-wdiff maybe-configure-wdiff
25498 maybe-configure-wdiff:
25499 @if wdiff
25500 maybe-configure-wdiff: configure-wdiff
25501 configure-wdiff:
25502 @: $(MAKE); $(unstage)
25503 @r=`${PWD_COMMAND}`; export r; \
25504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25505 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25507 $(HOST_EXPORTS) \
25508 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25509 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25510 case $(srcdir) in \
25511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25512 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25514 esac; \
25515 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25516 libsrcdir="$$s/wdiff"; \
25517 $(SHELL) $${libsrcdir}/configure \
25518 $(HOST_CONFIGARGS) $${srcdiroption} \
25519 || exit 1
25520 @endif wdiff
25526 .PHONY: all-wdiff maybe-all-wdiff
25527 maybe-all-wdiff:
25528 @if wdiff
25529 TARGET-wdiff=all
25530 maybe-all-wdiff: all-wdiff
25531 all-wdiff: configure-wdiff
25532 @: $(MAKE); $(unstage)
25533 @r=`${PWD_COMMAND}`; export r; \
25534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 $(HOST_EXPORTS) \
25536 (cd $(HOST_SUBDIR)/wdiff && \
25537 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25538 @endif wdiff
25543 .PHONY: check-wdiff maybe-check-wdiff
25544 maybe-check-wdiff:
25545 @if wdiff
25546 maybe-check-wdiff: check-wdiff
25548 check-wdiff:
25549 @: $(MAKE); $(unstage)
25550 @r=`${PWD_COMMAND}`; export r; \
25551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25552 $(HOST_EXPORTS) \
25553 (cd $(HOST_SUBDIR)/wdiff && \
25554 $(MAKE) $(FLAGS_TO_PASS) check)
25556 @endif wdiff
25558 .PHONY: install-wdiff maybe-install-wdiff
25559 maybe-install-wdiff:
25560 @if wdiff
25561 maybe-install-wdiff: install-wdiff
25563 install-wdiff: installdirs
25564 @: $(MAKE); $(unstage)
25565 @r=`${PWD_COMMAND}`; export r; \
25566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25567 $(HOST_EXPORTS) \
25568 (cd $(HOST_SUBDIR)/wdiff && \
25569 $(MAKE) $(FLAGS_TO_PASS) install)
25571 @endif wdiff
25573 # Other targets (info, dvi, etc.)
25575 .PHONY: maybe-info-wdiff info-wdiff
25576 maybe-info-wdiff:
25577 @if wdiff
25578 maybe-info-wdiff: info-wdiff
25580 info-wdiff: \
25581 configure-wdiff
25582 @: $(MAKE); $(unstage)
25583 @[ -f ./wdiff/Makefile ] || exit 0; \
25584 r=`${PWD_COMMAND}`; export r; \
25585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25586 $(HOST_EXPORTS) \
25587 for flag in $(EXTRA_HOST_FLAGS) ; do \
25588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25589 done; \
25590 echo "Doing info in wdiff" ; \
25591 (cd $(HOST_SUBDIR)/wdiff && \
25592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25594 "RANLIB=$${RANLIB}" \
25595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25596 info) \
25597 || exit 1
25599 @endif wdiff
25601 .PHONY: maybe-dvi-wdiff dvi-wdiff
25602 maybe-dvi-wdiff:
25603 @if wdiff
25604 maybe-dvi-wdiff: dvi-wdiff
25606 dvi-wdiff: \
25607 configure-wdiff
25608 @: $(MAKE); $(unstage)
25609 @[ -f ./wdiff/Makefile ] || exit 0; \
25610 r=`${PWD_COMMAND}`; export r; \
25611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25612 $(HOST_EXPORTS) \
25613 for flag in $(EXTRA_HOST_FLAGS) ; do \
25614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25615 done; \
25616 echo "Doing dvi in wdiff" ; \
25617 (cd $(HOST_SUBDIR)/wdiff && \
25618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25620 "RANLIB=$${RANLIB}" \
25621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25622 dvi) \
25623 || exit 1
25625 @endif wdiff
25627 .PHONY: maybe-html-wdiff html-wdiff
25628 maybe-html-wdiff:
25629 @if wdiff
25630 maybe-html-wdiff: html-wdiff
25632 html-wdiff: \
25633 configure-wdiff
25634 @: $(MAKE); $(unstage)
25635 @[ -f ./wdiff/Makefile ] || exit 0; \
25636 r=`${PWD_COMMAND}`; export r; \
25637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25638 $(HOST_EXPORTS) \
25639 for flag in $(EXTRA_HOST_FLAGS) ; do \
25640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25641 done; \
25642 echo "Doing html in wdiff" ; \
25643 (cd $(HOST_SUBDIR)/wdiff && \
25644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25646 "RANLIB=$${RANLIB}" \
25647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25648 html) \
25649 || exit 1
25651 @endif wdiff
25653 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25654 maybe-TAGS-wdiff:
25655 @if wdiff
25656 maybe-TAGS-wdiff: TAGS-wdiff
25658 TAGS-wdiff: \
25659 configure-wdiff
25660 @: $(MAKE); $(unstage)
25661 @[ -f ./wdiff/Makefile ] || exit 0; \
25662 r=`${PWD_COMMAND}`; export r; \
25663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25664 $(HOST_EXPORTS) \
25665 for flag in $(EXTRA_HOST_FLAGS) ; do \
25666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25667 done; \
25668 echo "Doing TAGS in wdiff" ; \
25669 (cd $(HOST_SUBDIR)/wdiff && \
25670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25672 "RANLIB=$${RANLIB}" \
25673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25674 TAGS) \
25675 || exit 1
25677 @endif wdiff
25679 .PHONY: maybe-install-info-wdiff install-info-wdiff
25680 maybe-install-info-wdiff:
25681 @if wdiff
25682 maybe-install-info-wdiff: install-info-wdiff
25684 install-info-wdiff: \
25685 configure-wdiff \
25686 info-wdiff
25687 @: $(MAKE); $(unstage)
25688 @[ -f ./wdiff/Makefile ] || exit 0; \
25689 r=`${PWD_COMMAND}`; export r; \
25690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25691 $(HOST_EXPORTS) \
25692 for flag in $(EXTRA_HOST_FLAGS) ; do \
25693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25694 done; \
25695 echo "Doing install-info in wdiff" ; \
25696 (cd $(HOST_SUBDIR)/wdiff && \
25697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25699 "RANLIB=$${RANLIB}" \
25700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25701 install-info) \
25702 || exit 1
25704 @endif wdiff
25706 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25707 maybe-installcheck-wdiff:
25708 @if wdiff
25709 maybe-installcheck-wdiff: installcheck-wdiff
25711 installcheck-wdiff: \
25712 configure-wdiff
25713 @: $(MAKE); $(unstage)
25714 @[ -f ./wdiff/Makefile ] || exit 0; \
25715 r=`${PWD_COMMAND}`; export r; \
25716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25717 $(HOST_EXPORTS) \
25718 for flag in $(EXTRA_HOST_FLAGS) ; do \
25719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25720 done; \
25721 echo "Doing installcheck in wdiff" ; \
25722 (cd $(HOST_SUBDIR)/wdiff && \
25723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25725 "RANLIB=$${RANLIB}" \
25726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25727 installcheck) \
25728 || exit 1
25730 @endif wdiff
25732 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25733 maybe-mostlyclean-wdiff:
25734 @if wdiff
25735 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25737 mostlyclean-wdiff:
25738 @: $(MAKE); $(unstage)
25739 @[ -f ./wdiff/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 mostlyclean in wdiff" ; \
25747 (cd $(HOST_SUBDIR)/wdiff && \
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 mostlyclean) \
25753 || exit 1
25755 @endif wdiff
25757 .PHONY: maybe-clean-wdiff clean-wdiff
25758 maybe-clean-wdiff:
25759 @if wdiff
25760 maybe-clean-wdiff: clean-wdiff
25762 clean-wdiff:
25763 @: $(MAKE); $(unstage)
25764 @[ -f ./wdiff/Makefile ] || exit 0; \
25765 r=`${PWD_COMMAND}`; export r; \
25766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25767 $(HOST_EXPORTS) \
25768 for flag in $(EXTRA_HOST_FLAGS) ; do \
25769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25770 done; \
25771 echo "Doing clean in wdiff" ; \
25772 (cd $(HOST_SUBDIR)/wdiff && \
25773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25775 "RANLIB=$${RANLIB}" \
25776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25777 clean) \
25778 || exit 1
25780 @endif wdiff
25782 .PHONY: maybe-distclean-wdiff distclean-wdiff
25783 maybe-distclean-wdiff:
25784 @if wdiff
25785 maybe-distclean-wdiff: distclean-wdiff
25787 distclean-wdiff:
25788 @: $(MAKE); $(unstage)
25789 @[ -f ./wdiff/Makefile ] || exit 0; \
25790 r=`${PWD_COMMAND}`; export r; \
25791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25792 $(HOST_EXPORTS) \
25793 for flag in $(EXTRA_HOST_FLAGS) ; do \
25794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25795 done; \
25796 echo "Doing distclean in wdiff" ; \
25797 (cd $(HOST_SUBDIR)/wdiff && \
25798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25800 "RANLIB=$${RANLIB}" \
25801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25802 distclean) \
25803 || exit 1
25805 @endif wdiff
25807 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25808 maybe-maintainer-clean-wdiff:
25809 @if wdiff
25810 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25812 maintainer-clean-wdiff:
25813 @: $(MAKE); $(unstage)
25814 @[ -f ./wdiff/Makefile ] || exit 0; \
25815 r=`${PWD_COMMAND}`; export r; \
25816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25817 $(HOST_EXPORTS) \
25818 for flag in $(EXTRA_HOST_FLAGS) ; do \
25819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25820 done; \
25821 echo "Doing maintainer-clean in wdiff" ; \
25822 (cd $(HOST_SUBDIR)/wdiff && \
25823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25825 "RANLIB=$${RANLIB}" \
25826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25827 maintainer-clean) \
25828 || exit 1
25830 @endif wdiff
25834 .PHONY: configure-zip maybe-configure-zip
25835 maybe-configure-zip:
25836 @if zip
25837 maybe-configure-zip: configure-zip
25838 configure-zip:
25839 @: $(MAKE); $(unstage)
25840 @r=`${PWD_COMMAND}`; export r; \
25841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25842 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25844 $(HOST_EXPORTS) \
25845 echo Configuring in $(HOST_SUBDIR)/zip; \
25846 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25847 case $(srcdir) in \
25848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25849 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25851 esac; \
25852 srcdiroption="--srcdir=$${topdir}/zip"; \
25853 libsrcdir="$$s/zip"; \
25854 $(SHELL) $${libsrcdir}/configure \
25855 $(HOST_CONFIGARGS) $${srcdiroption} \
25856 || exit 1
25857 @endif zip
25863 .PHONY: all-zip maybe-all-zip
25864 maybe-all-zip:
25865 @if zip
25866 TARGET-zip=all
25867 maybe-all-zip: all-zip
25868 all-zip: configure-zip
25869 @: $(MAKE); $(unstage)
25870 @r=`${PWD_COMMAND}`; export r; \
25871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25872 $(HOST_EXPORTS) \
25873 (cd $(HOST_SUBDIR)/zip && \
25874 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25875 @endif zip
25880 .PHONY: check-zip maybe-check-zip
25881 maybe-check-zip:
25882 @if zip
25883 maybe-check-zip: check-zip
25885 # This module is only tested in a native toolchain.
25886 check-zip:
25887 @: $(MAKE); $(unstage)
25888 @if [ '$(host)' = '$(target)' ] ; then \
25889 r=`${PWD_COMMAND}`; export r; \
25890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25891 $(HOST_EXPORTS) \
25892 (cd $(HOST_SUBDIR)/zip && \
25893 $(MAKE) $(FLAGS_TO_PASS) check); \
25896 @endif zip
25898 .PHONY: install-zip maybe-install-zip
25899 maybe-install-zip:
25900 @if zip
25901 maybe-install-zip: install-zip
25903 install-zip: installdirs
25904 @: $(MAKE); $(unstage)
25905 @r=`${PWD_COMMAND}`; export r; \
25906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25907 $(HOST_EXPORTS) \
25908 (cd $(HOST_SUBDIR)/zip && \
25909 $(MAKE) $(FLAGS_TO_PASS) install)
25911 @endif zip
25913 # Other targets (info, dvi, etc.)
25915 .PHONY: maybe-info-zip info-zip
25916 maybe-info-zip:
25917 @if zip
25918 maybe-info-zip: info-zip
25920 info-zip: \
25921 configure-zip
25922 @: $(MAKE); $(unstage)
25923 @[ -f ./zip/Makefile ] || exit 0; \
25924 r=`${PWD_COMMAND}`; export r; \
25925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25926 $(HOST_EXPORTS) \
25927 for flag in $(EXTRA_HOST_FLAGS) ; do \
25928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25929 done; \
25930 echo "Doing info in zip" ; \
25931 (cd $(HOST_SUBDIR)/zip && \
25932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25934 "RANLIB=$${RANLIB}" \
25935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25936 info) \
25937 || exit 1
25939 @endif zip
25941 .PHONY: maybe-dvi-zip dvi-zip
25942 maybe-dvi-zip:
25943 @if zip
25944 maybe-dvi-zip: dvi-zip
25946 dvi-zip: \
25947 configure-zip
25948 @: $(MAKE); $(unstage)
25949 @[ -f ./zip/Makefile ] || exit 0; \
25950 r=`${PWD_COMMAND}`; export r; \
25951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25952 $(HOST_EXPORTS) \
25953 for flag in $(EXTRA_HOST_FLAGS) ; do \
25954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25955 done; \
25956 echo "Doing dvi in zip" ; \
25957 (cd $(HOST_SUBDIR)/zip && \
25958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25960 "RANLIB=$${RANLIB}" \
25961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25962 dvi) \
25963 || exit 1
25965 @endif zip
25967 .PHONY: maybe-html-zip html-zip
25968 maybe-html-zip:
25969 @if zip
25970 maybe-html-zip: html-zip
25972 html-zip: \
25973 configure-zip
25974 @: $(MAKE); $(unstage)
25975 @[ -f ./zip/Makefile ] || exit 0; \
25976 r=`${PWD_COMMAND}`; export r; \
25977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25978 $(HOST_EXPORTS) \
25979 for flag in $(EXTRA_HOST_FLAGS) ; do \
25980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25981 done; \
25982 echo "Doing html in zip" ; \
25983 (cd $(HOST_SUBDIR)/zip && \
25984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25986 "RANLIB=$${RANLIB}" \
25987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25988 html) \
25989 || exit 1
25991 @endif zip
25993 .PHONY: maybe-TAGS-zip TAGS-zip
25994 maybe-TAGS-zip:
25995 @if zip
25996 maybe-TAGS-zip: TAGS-zip
25998 TAGS-zip: \
25999 configure-zip
26000 @: $(MAKE); $(unstage)
26001 @[ -f ./zip/Makefile ] || exit 0; \
26002 r=`${PWD_COMMAND}`; export r; \
26003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26004 $(HOST_EXPORTS) \
26005 for flag in $(EXTRA_HOST_FLAGS) ; do \
26006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26007 done; \
26008 echo "Doing TAGS in zip" ; \
26009 (cd $(HOST_SUBDIR)/zip && \
26010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26012 "RANLIB=$${RANLIB}" \
26013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26014 TAGS) \
26015 || exit 1
26017 @endif zip
26019 .PHONY: maybe-install-info-zip install-info-zip
26020 maybe-install-info-zip:
26021 @if zip
26022 maybe-install-info-zip: install-info-zip
26024 install-info-zip: \
26025 configure-zip \
26026 info-zip
26027 @: $(MAKE); $(unstage)
26028 @[ -f ./zip/Makefile ] || exit 0; \
26029 r=`${PWD_COMMAND}`; export r; \
26030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26031 $(HOST_EXPORTS) \
26032 for flag in $(EXTRA_HOST_FLAGS) ; do \
26033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26034 done; \
26035 echo "Doing install-info in zip" ; \
26036 (cd $(HOST_SUBDIR)/zip && \
26037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26039 "RANLIB=$${RANLIB}" \
26040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26041 install-info) \
26042 || exit 1
26044 @endif zip
26046 .PHONY: maybe-installcheck-zip installcheck-zip
26047 maybe-installcheck-zip:
26048 @if zip
26049 maybe-installcheck-zip: installcheck-zip
26051 installcheck-zip: \
26052 configure-zip
26053 @: $(MAKE); $(unstage)
26054 @[ -f ./zip/Makefile ] || exit 0; \
26055 r=`${PWD_COMMAND}`; export r; \
26056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26057 $(HOST_EXPORTS) \
26058 for flag in $(EXTRA_HOST_FLAGS) ; do \
26059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26060 done; \
26061 echo "Doing installcheck in zip" ; \
26062 (cd $(HOST_SUBDIR)/zip && \
26063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26065 "RANLIB=$${RANLIB}" \
26066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26067 installcheck) \
26068 || exit 1
26070 @endif zip
26072 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
26073 maybe-mostlyclean-zip:
26074 @if zip
26075 maybe-mostlyclean-zip: mostlyclean-zip
26077 mostlyclean-zip:
26078 @: $(MAKE); $(unstage)
26079 @[ -f ./zip/Makefile ] || exit 0; \
26080 r=`${PWD_COMMAND}`; export r; \
26081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26082 $(HOST_EXPORTS) \
26083 for flag in $(EXTRA_HOST_FLAGS) ; do \
26084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26085 done; \
26086 echo "Doing mostlyclean in zip" ; \
26087 (cd $(HOST_SUBDIR)/zip && \
26088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26090 "RANLIB=$${RANLIB}" \
26091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26092 mostlyclean) \
26093 || exit 1
26095 @endif zip
26097 .PHONY: maybe-clean-zip clean-zip
26098 maybe-clean-zip:
26099 @if zip
26100 maybe-clean-zip: clean-zip
26102 clean-zip:
26103 @: $(MAKE); $(unstage)
26104 @[ -f ./zip/Makefile ] || exit 0; \
26105 r=`${PWD_COMMAND}`; export r; \
26106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26107 $(HOST_EXPORTS) \
26108 for flag in $(EXTRA_HOST_FLAGS) ; do \
26109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26110 done; \
26111 echo "Doing clean in zip" ; \
26112 (cd $(HOST_SUBDIR)/zip && \
26113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26115 "RANLIB=$${RANLIB}" \
26116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26117 clean) \
26118 || exit 1
26120 @endif zip
26122 .PHONY: maybe-distclean-zip distclean-zip
26123 maybe-distclean-zip:
26124 @if zip
26125 maybe-distclean-zip: distclean-zip
26127 distclean-zip:
26128 @: $(MAKE); $(unstage)
26129 @[ -f ./zip/Makefile ] || exit 0; \
26130 r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 $(HOST_EXPORTS) \
26133 for flag in $(EXTRA_HOST_FLAGS) ; do \
26134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26135 done; \
26136 echo "Doing distclean in zip" ; \
26137 (cd $(HOST_SUBDIR)/zip && \
26138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26140 "RANLIB=$${RANLIB}" \
26141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26142 distclean) \
26143 || exit 1
26145 @endif zip
26147 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
26148 maybe-maintainer-clean-zip:
26149 @if zip
26150 maybe-maintainer-clean-zip: maintainer-clean-zip
26152 maintainer-clean-zip:
26153 @: $(MAKE); $(unstage)
26154 @[ -f ./zip/Makefile ] || exit 0; \
26155 r=`${PWD_COMMAND}`; export r; \
26156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26157 $(HOST_EXPORTS) \
26158 for flag in $(EXTRA_HOST_FLAGS) ; do \
26159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26160 done; \
26161 echo "Doing maintainer-clean in zip" ; \
26162 (cd $(HOST_SUBDIR)/zip && \
26163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26165 "RANLIB=$${RANLIB}" \
26166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26167 maintainer-clean) \
26168 || exit 1
26170 @endif zip
26174 .PHONY: configure-zlib maybe-configure-zlib
26175 maybe-configure-zlib:
26176 @if zlib
26177 maybe-configure-zlib: configure-zlib
26178 configure-zlib:
26179 @endif zlib
26180 @if zlib-bootstrap
26181 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
26182 @endif zlib-bootstrap
26183 @if zlib
26184 @r=`${PWD_COMMAND}`; export r; \
26185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26186 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26188 $(HOST_EXPORTS) \
26189 echo Configuring in $(HOST_SUBDIR)/zlib; \
26190 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26191 case $(srcdir) in \
26192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26193 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26195 esac; \
26196 srcdiroption="--srcdir=$${topdir}/zlib"; \
26197 libsrcdir="$$s/zlib"; \
26198 $(SHELL) $${libsrcdir}/configure \
26199 $(HOST_CONFIGARGS) $${srcdiroption} \
26200 || exit 1
26201 @endif zlib
26205 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26206 maybe-configure-stage1-zlib:
26207 @if zlib-bootstrap
26208 maybe-configure-stage1-zlib: configure-stage1-zlib
26209 configure-stage1-zlib:
26210 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26212 @r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26215 $(HOST_EXPORTS) \
26216 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26218 cd $(HOST_SUBDIR)/zlib || exit 1; \
26219 case $(srcdir) in \
26220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26221 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26223 esac; \
26224 srcdiroption="--srcdir=$${topdir}/zlib"; \
26225 libsrcdir="$$s/zlib"; \
26226 $(SHELL) $${libsrcdir}/configure \
26227 $(HOST_CONFIGARGS) $${srcdiroption} \
26228 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26229 @endif zlib-bootstrap
26231 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26232 maybe-configure-stage2-zlib:
26233 @if zlib-bootstrap
26234 maybe-configure-stage2-zlib: configure-stage2-zlib
26235 configure-stage2-zlib:
26236 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26238 @r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26241 $(HOST_EXPORTS) \
26242 $(POSTSTAGE1_HOST_EXPORTS) \
26243 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26244 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26245 cd $(HOST_SUBDIR)/zlib || exit 1; \
26246 case $(srcdir) in \
26247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26248 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26250 esac; \
26251 srcdiroption="--srcdir=$${topdir}/zlib"; \
26252 libsrcdir="$$s/zlib"; \
26253 $(SHELL) $${libsrcdir}/configure \
26254 $(HOST_CONFIGARGS) $${srcdiroption} \
26255 @stage2_werror_flag@
26256 @endif zlib-bootstrap
26258 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26259 maybe-configure-stage3-zlib:
26260 @if zlib-bootstrap
26261 maybe-configure-stage3-zlib: configure-stage3-zlib
26262 configure-stage3-zlib:
26263 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26264 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26265 @r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26268 $(HOST_EXPORTS) \
26269 $(POSTSTAGE1_HOST_EXPORTS) \
26270 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26271 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26272 cd $(HOST_SUBDIR)/zlib || exit 1; \
26273 case $(srcdir) in \
26274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26275 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26277 esac; \
26278 srcdiroption="--srcdir=$${topdir}/zlib"; \
26279 libsrcdir="$$s/zlib"; \
26280 $(SHELL) $${libsrcdir}/configure \
26281 $(HOST_CONFIGARGS) $${srcdiroption} \
26282 @stage2_werror_flag@
26283 @endif zlib-bootstrap
26285 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26286 maybe-configure-stage4-zlib:
26287 @if zlib-bootstrap
26288 maybe-configure-stage4-zlib: configure-stage4-zlib
26289 configure-stage4-zlib:
26290 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26292 @r=`${PWD_COMMAND}`; export r; \
26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26295 $(HOST_EXPORTS) \
26296 $(POSTSTAGE1_HOST_EXPORTS) \
26297 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26299 cd $(HOST_SUBDIR)/zlib || exit 1; \
26300 case $(srcdir) in \
26301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26302 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26304 esac; \
26305 srcdiroption="--srcdir=$${topdir}/zlib"; \
26306 libsrcdir="$$s/zlib"; \
26307 $(SHELL) $${libsrcdir}/configure \
26308 $(HOST_CONFIGARGS) $${srcdiroption} \
26309 @stage2_werror_flag@
26310 @endif zlib-bootstrap
26312 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26313 maybe-configure-stageprofile-zlib:
26314 @if zlib-bootstrap
26315 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26316 configure-stageprofile-zlib:
26317 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26318 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26319 @r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26322 $(HOST_EXPORTS) \
26323 $(POSTSTAGE1_HOST_EXPORTS) \
26324 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26326 cd $(HOST_SUBDIR)/zlib || exit 1; \
26327 case $(srcdir) in \
26328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26329 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26331 esac; \
26332 srcdiroption="--srcdir=$${topdir}/zlib"; \
26333 libsrcdir="$$s/zlib"; \
26334 $(SHELL) $${libsrcdir}/configure \
26335 $(HOST_CONFIGARGS) $${srcdiroption} \
26336 @stage2_werror_flag@
26337 @endif zlib-bootstrap
26339 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26340 maybe-configure-stagefeedback-zlib:
26341 @if zlib-bootstrap
26342 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26343 configure-stagefeedback-zlib:
26344 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26345 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26346 @r=`${PWD_COMMAND}`; export r; \
26347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26348 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26349 $(HOST_EXPORTS) \
26350 $(POSTSTAGE1_HOST_EXPORTS) \
26351 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26353 cd $(HOST_SUBDIR)/zlib || exit 1; \
26354 case $(srcdir) in \
26355 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26356 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26357 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26358 esac; \
26359 srcdiroption="--srcdir=$${topdir}/zlib"; \
26360 libsrcdir="$$s/zlib"; \
26361 $(SHELL) $${libsrcdir}/configure \
26362 $(HOST_CONFIGARGS) $${srcdiroption} \
26363 @stage2_werror_flag@
26364 @endif zlib-bootstrap
26370 .PHONY: all-zlib maybe-all-zlib
26371 maybe-all-zlib:
26372 @if zlib
26373 TARGET-zlib=all
26374 maybe-all-zlib: all-zlib
26375 all-zlib: configure-zlib
26376 @endif zlib
26377 @if zlib-bootstrap
26378 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
26379 @endif zlib-bootstrap
26380 @if zlib
26381 @r=`${PWD_COMMAND}`; export r; \
26382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26383 $(HOST_EXPORTS) \
26384 (cd $(HOST_SUBDIR)/zlib && \
26385 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26386 @endif zlib
26390 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26391 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26392 maybe-all-stage1-zlib:
26393 maybe-clean-stage1-zlib:
26394 @if zlib-bootstrap
26395 maybe-all-stage1-zlib: all-stage1-zlib
26396 all-stage1: all-stage1-zlib
26397 TARGET-stage1-zlib = $(TARGET-zlib)
26398 all-stage1-zlib: configure-stage1-zlib
26399 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26400 @r=`${PWD_COMMAND}`; export r; \
26401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26402 $(HOST_EXPORTS) \
26403 cd $(HOST_SUBDIR)/zlib && \
26404 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
26405 $(TARGET-stage1-zlib)
26407 maybe-clean-stage1-zlib: clean-stage1-zlib
26408 clean-stage1: clean-stage1-zlib
26409 clean-stage1-zlib:
26410 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26411 || exit 0 ; \
26412 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
26413 cd $(HOST_SUBDIR)/zlib && \
26414 $(MAKE) $(FLAGS_TO_PASS) \
26415 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
26416 @endif zlib-bootstrap
26419 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26420 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26421 maybe-all-stage2-zlib:
26422 maybe-clean-stage2-zlib:
26423 @if zlib-bootstrap
26424 maybe-all-stage2-zlib: all-stage2-zlib
26425 all-stage2: all-stage2-zlib
26426 TARGET-stage2-zlib = $(TARGET-zlib)
26427 all-stage2-zlib: configure-stage2-zlib
26428 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26429 @r=`${PWD_COMMAND}`; export r; \
26430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26431 $(HOST_EXPORTS) \
26432 $(POSTSTAGE1_HOST_EXPORTS) \
26433 cd $(HOST_SUBDIR)/zlib && \
26434 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26435 $(TARGET-stage2-zlib)
26437 maybe-clean-stage2-zlib: clean-stage2-zlib
26438 clean-stage2: clean-stage2-zlib
26439 clean-stage2-zlib:
26440 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26441 || exit 0 ; \
26442 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
26443 cd $(HOST_SUBDIR)/zlib && \
26444 $(MAKE) $(FLAGS_TO_PASS) \
26445 $(POSTSTAGE1_FLAGS_TO_PASS) \
26446 clean
26447 @endif zlib-bootstrap
26450 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26451 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26452 maybe-all-stage3-zlib:
26453 maybe-clean-stage3-zlib:
26454 @if zlib-bootstrap
26455 maybe-all-stage3-zlib: all-stage3-zlib
26456 all-stage3: all-stage3-zlib
26457 TARGET-stage3-zlib = $(TARGET-zlib)
26458 all-stage3-zlib: configure-stage3-zlib
26459 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26460 @r=`${PWD_COMMAND}`; export r; \
26461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26462 $(HOST_EXPORTS) \
26463 $(POSTSTAGE1_HOST_EXPORTS) \
26464 cd $(HOST_SUBDIR)/zlib && \
26465 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26466 $(TARGET-stage3-zlib)
26468 maybe-clean-stage3-zlib: clean-stage3-zlib
26469 clean-stage3: clean-stage3-zlib
26470 clean-stage3-zlib:
26471 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26472 || exit 0 ; \
26473 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
26474 cd $(HOST_SUBDIR)/zlib && \
26475 $(MAKE) $(FLAGS_TO_PASS) \
26476 $(POSTSTAGE1_FLAGS_TO_PASS) \
26477 clean
26478 @endif zlib-bootstrap
26481 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26482 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26483 maybe-all-stage4-zlib:
26484 maybe-clean-stage4-zlib:
26485 @if zlib-bootstrap
26486 maybe-all-stage4-zlib: all-stage4-zlib
26487 all-stage4: all-stage4-zlib
26488 TARGET-stage4-zlib = $(TARGET-zlib)
26489 all-stage4-zlib: configure-stage4-zlib
26490 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26491 @r=`${PWD_COMMAND}`; export r; \
26492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26493 $(HOST_EXPORTS) \
26494 $(POSTSTAGE1_HOST_EXPORTS) \
26495 cd $(HOST_SUBDIR)/zlib && \
26496 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26497 $(TARGET-stage4-zlib)
26499 maybe-clean-stage4-zlib: clean-stage4-zlib
26500 clean-stage4: clean-stage4-zlib
26501 clean-stage4-zlib:
26502 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26503 || exit 0 ; \
26504 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
26505 cd $(HOST_SUBDIR)/zlib && \
26506 $(MAKE) $(FLAGS_TO_PASS) \
26507 $(POSTSTAGE1_FLAGS_TO_PASS) \
26508 clean
26509 @endif zlib-bootstrap
26512 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26513 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26514 maybe-all-stageprofile-zlib:
26515 maybe-clean-stageprofile-zlib:
26516 @if zlib-bootstrap
26517 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26518 all-stageprofile: all-stageprofile-zlib
26519 TARGET-stageprofile-zlib = $(TARGET-zlib)
26520 all-stageprofile-zlib: configure-stageprofile-zlib
26521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26522 @r=`${PWD_COMMAND}`; export r; \
26523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26524 $(HOST_EXPORTS) \
26525 $(POSTSTAGE1_HOST_EXPORTS) \
26526 cd $(HOST_SUBDIR)/zlib && \
26527 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26528 $(TARGET-stageprofile-zlib)
26530 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26531 clean-stageprofile: clean-stageprofile-zlib
26532 clean-stageprofile-zlib:
26533 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26534 || exit 0 ; \
26535 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
26536 cd $(HOST_SUBDIR)/zlib && \
26537 $(MAKE) $(FLAGS_TO_PASS) \
26538 $(POSTSTAGE1_FLAGS_TO_PASS) \
26539 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26540 @endif zlib-bootstrap
26543 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26544 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26545 maybe-all-stagefeedback-zlib:
26546 maybe-clean-stagefeedback-zlib:
26547 @if zlib-bootstrap
26548 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26549 all-stagefeedback: all-stagefeedback-zlib
26550 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26551 all-stagefeedback-zlib: configure-stagefeedback-zlib
26552 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26553 @r=`${PWD_COMMAND}`; export r; \
26554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26555 $(HOST_EXPORTS) \
26556 $(POSTSTAGE1_HOST_EXPORTS) \
26557 cd $(HOST_SUBDIR)/zlib && \
26558 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26559 $(TARGET-stagefeedback-zlib)
26561 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26562 clean-stagefeedback: clean-stagefeedback-zlib
26563 clean-stagefeedback-zlib:
26564 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26565 || exit 0 ; \
26566 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
26567 cd $(HOST_SUBDIR)/zlib && \
26568 $(MAKE) $(FLAGS_TO_PASS) \
26569 $(POSTSTAGE1_FLAGS_TO_PASS) \
26570 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26571 @endif zlib-bootstrap
26577 .PHONY: check-zlib maybe-check-zlib
26578 maybe-check-zlib:
26579 @if zlib
26580 maybe-check-zlib: check-zlib
26582 check-zlib:
26584 @endif zlib
26586 .PHONY: install-zlib maybe-install-zlib
26587 maybe-install-zlib:
26588 @if zlib
26589 maybe-install-zlib: install-zlib
26591 install-zlib:
26593 @endif zlib
26595 # Other targets (info, dvi, etc.)
26597 .PHONY: maybe-info-zlib info-zlib
26598 maybe-info-zlib:
26599 @if zlib
26600 maybe-info-zlib: info-zlib
26602 info-zlib: \
26603 configure-zlib
26604 @[ -f ./zlib/Makefile ] || exit 0; \
26605 r=`${PWD_COMMAND}`; export r; \
26606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26607 $(HOST_EXPORTS) \
26608 for flag in $(EXTRA_HOST_FLAGS) ; do \
26609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26610 done; \
26611 echo "Doing info in zlib" ; \
26612 (cd $(HOST_SUBDIR)/zlib && \
26613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26615 "RANLIB=$${RANLIB}" \
26616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26617 info) \
26618 || exit 1
26620 @endif zlib
26622 .PHONY: maybe-dvi-zlib dvi-zlib
26623 maybe-dvi-zlib:
26624 @if zlib
26625 maybe-dvi-zlib: dvi-zlib
26627 dvi-zlib: \
26628 configure-zlib
26629 @[ -f ./zlib/Makefile ] || exit 0; \
26630 r=`${PWD_COMMAND}`; export r; \
26631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26632 $(HOST_EXPORTS) \
26633 for flag in $(EXTRA_HOST_FLAGS) ; do \
26634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26635 done; \
26636 echo "Doing dvi in zlib" ; \
26637 (cd $(HOST_SUBDIR)/zlib && \
26638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26640 "RANLIB=$${RANLIB}" \
26641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26642 dvi) \
26643 || exit 1
26645 @endif zlib
26647 .PHONY: maybe-html-zlib html-zlib
26648 maybe-html-zlib:
26649 @if zlib
26650 maybe-html-zlib: html-zlib
26652 html-zlib: \
26653 configure-zlib
26654 @[ -f ./zlib/Makefile ] || exit 0; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 $(HOST_EXPORTS) \
26658 for flag in $(EXTRA_HOST_FLAGS) ; do \
26659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26660 done; \
26661 echo "Doing html in zlib" ; \
26662 (cd $(HOST_SUBDIR)/zlib && \
26663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26665 "RANLIB=$${RANLIB}" \
26666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26667 html) \
26668 || exit 1
26670 @endif zlib
26672 .PHONY: maybe-TAGS-zlib TAGS-zlib
26673 maybe-TAGS-zlib:
26674 @if zlib
26675 maybe-TAGS-zlib: TAGS-zlib
26677 TAGS-zlib: \
26678 configure-zlib
26679 @[ -f ./zlib/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(HOST_EXPORTS) \
26683 for flag in $(EXTRA_HOST_FLAGS) ; do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 done; \
26686 echo "Doing TAGS in zlib" ; \
26687 (cd $(HOST_SUBDIR)/zlib && \
26688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690 "RANLIB=$${RANLIB}" \
26691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26692 TAGS) \
26693 || exit 1
26695 @endif zlib
26697 .PHONY: maybe-install-info-zlib install-info-zlib
26698 maybe-install-info-zlib:
26699 @if zlib
26700 maybe-install-info-zlib: install-info-zlib
26702 install-info-zlib: \
26703 configure-zlib \
26704 info-zlib
26705 @[ -f ./zlib/Makefile ] || exit 0; \
26706 r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 $(HOST_EXPORTS) \
26709 for flag in $(EXTRA_HOST_FLAGS) ; do \
26710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26711 done; \
26712 echo "Doing install-info in zlib" ; \
26713 (cd $(HOST_SUBDIR)/zlib && \
26714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26716 "RANLIB=$${RANLIB}" \
26717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26718 install-info) \
26719 || exit 1
26721 @endif zlib
26723 .PHONY: maybe-installcheck-zlib installcheck-zlib
26724 maybe-installcheck-zlib:
26725 @if zlib
26726 maybe-installcheck-zlib: installcheck-zlib
26728 installcheck-zlib: \
26729 configure-zlib
26730 @[ -f ./zlib/Makefile ] || exit 0; \
26731 r=`${PWD_COMMAND}`; export r; \
26732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26733 $(HOST_EXPORTS) \
26734 for flag in $(EXTRA_HOST_FLAGS) ; do \
26735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26736 done; \
26737 echo "Doing installcheck in zlib" ; \
26738 (cd $(HOST_SUBDIR)/zlib && \
26739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26741 "RANLIB=$${RANLIB}" \
26742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26743 installcheck) \
26744 || exit 1
26746 @endif zlib
26748 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26749 maybe-mostlyclean-zlib:
26750 @if zlib
26751 maybe-mostlyclean-zlib: mostlyclean-zlib
26753 mostlyclean-zlib:
26754 @[ -f ./zlib/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) ; do \
26759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26760 done; \
26761 echo "Doing mostlyclean in zlib" ; \
26762 (cd $(HOST_SUBDIR)/zlib && \
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 mostlyclean) \
26768 || exit 1
26770 @endif zlib
26772 .PHONY: maybe-clean-zlib clean-zlib
26773 maybe-clean-zlib:
26774 @if zlib
26775 maybe-clean-zlib: clean-zlib
26777 clean-zlib:
26778 @[ -f ./zlib/Makefile ] || exit 0; \
26779 r=`${PWD_COMMAND}`; export r; \
26780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26781 $(HOST_EXPORTS) \
26782 for flag in $(EXTRA_HOST_FLAGS) ; do \
26783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26784 done; \
26785 echo "Doing clean in zlib" ; \
26786 (cd $(HOST_SUBDIR)/zlib && \
26787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26789 "RANLIB=$${RANLIB}" \
26790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26791 clean) \
26792 || exit 1
26794 @endif zlib
26796 .PHONY: maybe-distclean-zlib distclean-zlib
26797 maybe-distclean-zlib:
26798 @if zlib
26799 maybe-distclean-zlib: distclean-zlib
26801 distclean-zlib:
26802 @[ -f ./zlib/Makefile ] || exit 0; \
26803 r=`${PWD_COMMAND}`; export r; \
26804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(HOST_EXPORTS) \
26806 for flag in $(EXTRA_HOST_FLAGS) ; do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 echo "Doing distclean in zlib" ; \
26810 (cd $(HOST_SUBDIR)/zlib && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26815 distclean) \
26816 || exit 1
26818 @endif zlib
26820 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26821 maybe-maintainer-clean-zlib:
26822 @if zlib
26823 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26825 maintainer-clean-zlib:
26826 @[ -f ./zlib/Makefile ] || exit 0; \
26827 r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26829 $(HOST_EXPORTS) \
26830 for flag in $(EXTRA_HOST_FLAGS) ; do \
26831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26832 done; \
26833 echo "Doing maintainer-clean in zlib" ; \
26834 (cd $(HOST_SUBDIR)/zlib && \
26835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26837 "RANLIB=$${RANLIB}" \
26838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26839 maintainer-clean) \
26840 || exit 1
26842 @endif zlib
26846 .PHONY: configure-gdb maybe-configure-gdb
26847 maybe-configure-gdb:
26848 @if gdb
26849 maybe-configure-gdb: configure-gdb
26850 configure-gdb:
26851 @: $(MAKE); $(unstage)
26852 @r=`${PWD_COMMAND}`; export r; \
26853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26854 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26856 $(HOST_EXPORTS) \
26857 echo Configuring in $(HOST_SUBDIR)/gdb; \
26858 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26859 case $(srcdir) in \
26860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26861 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26863 esac; \
26864 srcdiroption="--srcdir=$${topdir}/gdb"; \
26865 libsrcdir="$$s/gdb"; \
26866 $(SHELL) $${libsrcdir}/configure \
26867 $(HOST_CONFIGARGS) $${srcdiroption} \
26868 || exit 1
26869 @endif gdb
26875 .PHONY: all-gdb maybe-all-gdb
26876 maybe-all-gdb:
26877 @if gdb
26878 TARGET-gdb=all
26879 maybe-all-gdb: all-gdb
26880 all-gdb: configure-gdb
26881 @: $(MAKE); $(unstage)
26882 @r=`${PWD_COMMAND}`; export r; \
26883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26884 $(HOST_EXPORTS) \
26885 (cd $(HOST_SUBDIR)/gdb && \
26886 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26887 @endif gdb
26892 .PHONY: check-gdb maybe-check-gdb
26893 maybe-check-gdb:
26894 @if gdb
26895 maybe-check-gdb: check-gdb
26897 check-gdb:
26898 @: $(MAKE); $(unstage)
26899 @r=`${PWD_COMMAND}`; export r; \
26900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26901 $(HOST_EXPORTS) \
26902 (cd $(HOST_SUBDIR)/gdb && \
26903 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26905 @endif gdb
26907 .PHONY: install-gdb maybe-install-gdb
26908 maybe-install-gdb:
26909 @if gdb
26910 maybe-install-gdb: install-gdb
26912 install-gdb: installdirs
26913 @: $(MAKE); $(unstage)
26914 @r=`${PWD_COMMAND}`; export r; \
26915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(HOST_EXPORTS) \
26917 (cd $(HOST_SUBDIR)/gdb && \
26918 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26920 @endif gdb
26922 # Other targets (info, dvi, etc.)
26924 .PHONY: maybe-info-gdb info-gdb
26925 maybe-info-gdb:
26926 @if gdb
26927 maybe-info-gdb: info-gdb
26929 info-gdb: \
26930 configure-gdb
26931 @: $(MAKE); $(unstage)
26932 @[ -f ./gdb/Makefile ] || exit 0; \
26933 r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(HOST_EXPORTS) \
26936 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26938 done; \
26939 echo "Doing info in gdb" ; \
26940 (cd $(HOST_SUBDIR)/gdb && \
26941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26943 "RANLIB=$${RANLIB}" \
26944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26945 info) \
26946 || exit 1
26948 @endif gdb
26950 .PHONY: maybe-dvi-gdb dvi-gdb
26951 maybe-dvi-gdb:
26952 @if gdb
26953 maybe-dvi-gdb: dvi-gdb
26955 dvi-gdb: \
26956 configure-gdb
26957 @: $(MAKE); $(unstage)
26958 @[ -f ./gdb/Makefile ] || exit 0; \
26959 r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26961 $(HOST_EXPORTS) \
26962 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26964 done; \
26965 echo "Doing dvi in gdb" ; \
26966 (cd $(HOST_SUBDIR)/gdb && \
26967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26969 "RANLIB=$${RANLIB}" \
26970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26971 dvi) \
26972 || exit 1
26974 @endif gdb
26976 .PHONY: maybe-html-gdb html-gdb
26977 maybe-html-gdb:
26978 @if gdb
26979 maybe-html-gdb: html-gdb
26981 html-gdb: \
26982 configure-gdb
26983 @: $(MAKE); $(unstage)
26984 @[ -f ./gdb/Makefile ] || exit 0; \
26985 r=`${PWD_COMMAND}`; export r; \
26986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26987 $(HOST_EXPORTS) \
26988 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26990 done; \
26991 echo "Doing html in gdb" ; \
26992 (cd $(HOST_SUBDIR)/gdb && \
26993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26995 "RANLIB=$${RANLIB}" \
26996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26997 html) \
26998 || exit 1
27000 @endif gdb
27002 .PHONY: maybe-TAGS-gdb TAGS-gdb
27003 maybe-TAGS-gdb:
27004 @if gdb
27005 maybe-TAGS-gdb: TAGS-gdb
27007 TAGS-gdb: \
27008 configure-gdb
27009 @: $(MAKE); $(unstage)
27010 @[ -f ./gdb/Makefile ] || exit 0; \
27011 r=`${PWD_COMMAND}`; export r; \
27012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27013 $(HOST_EXPORTS) \
27014 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27016 done; \
27017 echo "Doing TAGS in gdb" ; \
27018 (cd $(HOST_SUBDIR)/gdb && \
27019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27021 "RANLIB=$${RANLIB}" \
27022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27023 TAGS) \
27024 || exit 1
27026 @endif gdb
27028 .PHONY: maybe-install-info-gdb install-info-gdb
27029 maybe-install-info-gdb:
27030 @if gdb
27031 maybe-install-info-gdb: install-info-gdb
27033 install-info-gdb: \
27034 configure-gdb \
27035 info-gdb
27036 @: $(MAKE); $(unstage)
27037 @[ -f ./gdb/Makefile ] || exit 0; \
27038 r=`${PWD_COMMAND}`; export r; \
27039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27040 $(HOST_EXPORTS) \
27041 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27043 done; \
27044 echo "Doing install-info in gdb" ; \
27045 (cd $(HOST_SUBDIR)/gdb && \
27046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27048 "RANLIB=$${RANLIB}" \
27049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27050 install-info) \
27051 || exit 1
27053 @endif gdb
27055 .PHONY: maybe-installcheck-gdb installcheck-gdb
27056 maybe-installcheck-gdb:
27057 @if gdb
27058 maybe-installcheck-gdb: installcheck-gdb
27060 installcheck-gdb: \
27061 configure-gdb
27062 @: $(MAKE); $(unstage)
27063 @[ -f ./gdb/Makefile ] || exit 0; \
27064 r=`${PWD_COMMAND}`; export r; \
27065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27066 $(HOST_EXPORTS) \
27067 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27069 done; \
27070 echo "Doing installcheck in gdb" ; \
27071 (cd $(HOST_SUBDIR)/gdb && \
27072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27074 "RANLIB=$${RANLIB}" \
27075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27076 installcheck) \
27077 || exit 1
27079 @endif gdb
27081 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27082 maybe-mostlyclean-gdb:
27083 @if gdb
27084 maybe-mostlyclean-gdb: mostlyclean-gdb
27086 mostlyclean-gdb:
27087 @: $(MAKE); $(unstage)
27088 @[ -f ./gdb/Makefile ] || exit 0; \
27089 r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27091 $(HOST_EXPORTS) \
27092 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27094 done; \
27095 echo "Doing mostlyclean in gdb" ; \
27096 (cd $(HOST_SUBDIR)/gdb && \
27097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27099 "RANLIB=$${RANLIB}" \
27100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27101 mostlyclean) \
27102 || exit 1
27104 @endif gdb
27106 .PHONY: maybe-clean-gdb clean-gdb
27107 maybe-clean-gdb:
27108 @if gdb
27109 maybe-clean-gdb: clean-gdb
27111 clean-gdb:
27112 @: $(MAKE); $(unstage)
27113 @[ -f ./gdb/Makefile ] || exit 0; \
27114 r=`${PWD_COMMAND}`; export r; \
27115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27116 $(HOST_EXPORTS) \
27117 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27119 done; \
27120 echo "Doing clean in gdb" ; \
27121 (cd $(HOST_SUBDIR)/gdb && \
27122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27124 "RANLIB=$${RANLIB}" \
27125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27126 clean) \
27127 || exit 1
27129 @endif gdb
27131 .PHONY: maybe-distclean-gdb distclean-gdb
27132 maybe-distclean-gdb:
27133 @if gdb
27134 maybe-distclean-gdb: distclean-gdb
27136 distclean-gdb:
27137 @: $(MAKE); $(unstage)
27138 @[ -f ./gdb/Makefile ] || exit 0; \
27139 r=`${PWD_COMMAND}`; export r; \
27140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27141 $(HOST_EXPORTS) \
27142 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27144 done; \
27145 echo "Doing distclean in gdb" ; \
27146 (cd $(HOST_SUBDIR)/gdb && \
27147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27149 "RANLIB=$${RANLIB}" \
27150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27151 distclean) \
27152 || exit 1
27154 @endif gdb
27156 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27157 maybe-maintainer-clean-gdb:
27158 @if gdb
27159 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27161 maintainer-clean-gdb:
27162 @: $(MAKE); $(unstage)
27163 @[ -f ./gdb/Makefile ] || exit 0; \
27164 r=`${PWD_COMMAND}`; export r; \
27165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27166 $(HOST_EXPORTS) \
27167 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27169 done; \
27170 echo "Doing maintainer-clean in gdb" ; \
27171 (cd $(HOST_SUBDIR)/gdb && \
27172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27174 "RANLIB=$${RANLIB}" \
27175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27176 maintainer-clean) \
27177 || exit 1
27179 @endif gdb
27183 .PHONY: configure-expect maybe-configure-expect
27184 maybe-configure-expect:
27185 @if expect
27186 maybe-configure-expect: configure-expect
27187 configure-expect:
27188 @: $(MAKE); $(unstage)
27189 @r=`${PWD_COMMAND}`; export r; \
27190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27191 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27193 $(HOST_EXPORTS) \
27194 echo Configuring in $(HOST_SUBDIR)/expect; \
27195 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27196 case $(srcdir) in \
27197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27198 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27200 esac; \
27201 srcdiroption="--srcdir=$${topdir}/expect"; \
27202 libsrcdir="$$s/expect"; \
27203 $(SHELL) $${libsrcdir}/configure \
27204 $(HOST_CONFIGARGS) $${srcdiroption} \
27205 || exit 1
27206 @endif expect
27212 .PHONY: all-expect maybe-all-expect
27213 maybe-all-expect:
27214 @if expect
27215 TARGET-expect=all
27216 maybe-all-expect: all-expect
27217 all-expect: configure-expect
27218 @: $(MAKE); $(unstage)
27219 @r=`${PWD_COMMAND}`; export r; \
27220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27221 $(HOST_EXPORTS) \
27222 (cd $(HOST_SUBDIR)/expect && \
27223 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
27224 @endif expect
27229 .PHONY: check-expect maybe-check-expect
27230 maybe-check-expect:
27231 @if expect
27232 maybe-check-expect: check-expect
27234 check-expect:
27235 @: $(MAKE); $(unstage)
27236 @r=`${PWD_COMMAND}`; export r; \
27237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27238 $(HOST_EXPORTS) \
27239 (cd $(HOST_SUBDIR)/expect && \
27240 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27242 @endif expect
27244 .PHONY: install-expect maybe-install-expect
27245 maybe-install-expect:
27246 @if expect
27247 maybe-install-expect: install-expect
27249 install-expect: installdirs
27250 @: $(MAKE); $(unstage)
27251 @r=`${PWD_COMMAND}`; export r; \
27252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27253 $(HOST_EXPORTS) \
27254 (cd $(HOST_SUBDIR)/expect && \
27255 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27257 @endif expect
27259 # Other targets (info, dvi, etc.)
27261 .PHONY: maybe-info-expect info-expect
27262 maybe-info-expect:
27263 @if expect
27264 maybe-info-expect: info-expect
27266 info-expect: \
27267 configure-expect
27268 @: $(MAKE); $(unstage)
27269 @[ -f ./expect/Makefile ] || exit 0; \
27270 r=`${PWD_COMMAND}`; export r; \
27271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27272 $(HOST_EXPORTS) \
27273 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27275 done; \
27276 echo "Doing info in expect" ; \
27277 (cd $(HOST_SUBDIR)/expect && \
27278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27280 "RANLIB=$${RANLIB}" \
27281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27282 info) \
27283 || exit 1
27285 @endif expect
27287 .PHONY: maybe-dvi-expect dvi-expect
27288 maybe-dvi-expect:
27289 @if expect
27290 maybe-dvi-expect: dvi-expect
27292 dvi-expect: \
27293 configure-expect
27294 @: $(MAKE); $(unstage)
27295 @[ -f ./expect/Makefile ] || exit 0; \
27296 r=`${PWD_COMMAND}`; export r; \
27297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27298 $(HOST_EXPORTS) \
27299 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27301 done; \
27302 echo "Doing dvi in expect" ; \
27303 (cd $(HOST_SUBDIR)/expect && \
27304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27306 "RANLIB=$${RANLIB}" \
27307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27308 dvi) \
27309 || exit 1
27311 @endif expect
27313 .PHONY: maybe-html-expect html-expect
27314 maybe-html-expect:
27315 @if expect
27316 maybe-html-expect: html-expect
27318 html-expect: \
27319 configure-expect
27320 @: $(MAKE); $(unstage)
27321 @[ -f ./expect/Makefile ] || exit 0; \
27322 r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27324 $(HOST_EXPORTS) \
27325 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27327 done; \
27328 echo "Doing html in expect" ; \
27329 (cd $(HOST_SUBDIR)/expect && \
27330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27332 "RANLIB=$${RANLIB}" \
27333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27334 html) \
27335 || exit 1
27337 @endif expect
27339 .PHONY: maybe-TAGS-expect TAGS-expect
27340 maybe-TAGS-expect:
27341 @if expect
27342 maybe-TAGS-expect: TAGS-expect
27344 TAGS-expect: \
27345 configure-expect
27346 @: $(MAKE); $(unstage)
27347 @[ -f ./expect/Makefile ] || exit 0; \
27348 r=`${PWD_COMMAND}`; export r; \
27349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27350 $(HOST_EXPORTS) \
27351 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27353 done; \
27354 echo "Doing TAGS in expect" ; \
27355 (cd $(HOST_SUBDIR)/expect && \
27356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27358 "RANLIB=$${RANLIB}" \
27359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27360 TAGS) \
27361 || exit 1
27363 @endif expect
27365 .PHONY: maybe-install-info-expect install-info-expect
27366 maybe-install-info-expect:
27367 @if expect
27368 maybe-install-info-expect: install-info-expect
27370 install-info-expect: \
27371 configure-expect \
27372 info-expect
27373 @: $(MAKE); $(unstage)
27374 @[ -f ./expect/Makefile ] || exit 0; \
27375 r=`${PWD_COMMAND}`; export r; \
27376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27377 $(HOST_EXPORTS) \
27378 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27380 done; \
27381 echo "Doing install-info in expect" ; \
27382 (cd $(HOST_SUBDIR)/expect && \
27383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27385 "RANLIB=$${RANLIB}" \
27386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27387 install-info) \
27388 || exit 1
27390 @endif expect
27392 .PHONY: maybe-installcheck-expect installcheck-expect
27393 maybe-installcheck-expect:
27394 @if expect
27395 maybe-installcheck-expect: installcheck-expect
27397 installcheck-expect: \
27398 configure-expect
27399 @: $(MAKE); $(unstage)
27400 @[ -f ./expect/Makefile ] || exit 0; \
27401 r=`${PWD_COMMAND}`; export r; \
27402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27403 $(HOST_EXPORTS) \
27404 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27406 done; \
27407 echo "Doing installcheck in expect" ; \
27408 (cd $(HOST_SUBDIR)/expect && \
27409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27411 "RANLIB=$${RANLIB}" \
27412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27413 installcheck) \
27414 || exit 1
27416 @endif expect
27418 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27419 maybe-mostlyclean-expect:
27420 @if expect
27421 maybe-mostlyclean-expect: mostlyclean-expect
27423 mostlyclean-expect:
27424 @: $(MAKE); $(unstage)
27425 @[ -f ./expect/Makefile ] || exit 0; \
27426 r=`${PWD_COMMAND}`; export r; \
27427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27428 $(HOST_EXPORTS) \
27429 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27431 done; \
27432 echo "Doing mostlyclean in expect" ; \
27433 (cd $(HOST_SUBDIR)/expect && \
27434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27436 "RANLIB=$${RANLIB}" \
27437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27438 mostlyclean) \
27439 || exit 1
27441 @endif expect
27443 .PHONY: maybe-clean-expect clean-expect
27444 maybe-clean-expect:
27445 @if expect
27446 maybe-clean-expect: clean-expect
27448 clean-expect:
27449 @: $(MAKE); $(unstage)
27450 @[ -f ./expect/Makefile ] || exit 0; \
27451 r=`${PWD_COMMAND}`; export r; \
27452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27453 $(HOST_EXPORTS) \
27454 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27456 done; \
27457 echo "Doing clean in expect" ; \
27458 (cd $(HOST_SUBDIR)/expect && \
27459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27461 "RANLIB=$${RANLIB}" \
27462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27463 clean) \
27464 || exit 1
27466 @endif expect
27468 .PHONY: maybe-distclean-expect distclean-expect
27469 maybe-distclean-expect:
27470 @if expect
27471 maybe-distclean-expect: distclean-expect
27473 distclean-expect:
27474 @: $(MAKE); $(unstage)
27475 @[ -f ./expect/Makefile ] || exit 0; \
27476 r=`${PWD_COMMAND}`; export r; \
27477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27478 $(HOST_EXPORTS) \
27479 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27481 done; \
27482 echo "Doing distclean in expect" ; \
27483 (cd $(HOST_SUBDIR)/expect && \
27484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27486 "RANLIB=$${RANLIB}" \
27487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27488 distclean) \
27489 || exit 1
27491 @endif expect
27493 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27494 maybe-maintainer-clean-expect:
27495 @if expect
27496 maybe-maintainer-clean-expect: maintainer-clean-expect
27498 maintainer-clean-expect:
27499 @: $(MAKE); $(unstage)
27500 @[ -f ./expect/Makefile ] || exit 0; \
27501 r=`${PWD_COMMAND}`; export r; \
27502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27503 $(HOST_EXPORTS) \
27504 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27506 done; \
27507 echo "Doing maintainer-clean in expect" ; \
27508 (cd $(HOST_SUBDIR)/expect && \
27509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27511 "RANLIB=$${RANLIB}" \
27512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27513 maintainer-clean) \
27514 || exit 1
27516 @endif expect
27520 .PHONY: configure-guile maybe-configure-guile
27521 maybe-configure-guile:
27522 @if guile
27523 maybe-configure-guile: configure-guile
27524 configure-guile:
27525 @: $(MAKE); $(unstage)
27526 @r=`${PWD_COMMAND}`; export r; \
27527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27528 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27529 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27530 $(HOST_EXPORTS) \
27531 echo Configuring in $(HOST_SUBDIR)/guile; \
27532 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27533 case $(srcdir) in \
27534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27535 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27537 esac; \
27538 srcdiroption="--srcdir=$${topdir}/guile"; \
27539 libsrcdir="$$s/guile"; \
27540 $(SHELL) $${libsrcdir}/configure \
27541 $(HOST_CONFIGARGS) $${srcdiroption} \
27542 || exit 1
27543 @endif guile
27549 .PHONY: all-guile maybe-all-guile
27550 maybe-all-guile:
27551 @if guile
27552 TARGET-guile=all
27553 maybe-all-guile: all-guile
27554 all-guile: configure-guile
27555 @: $(MAKE); $(unstage)
27556 @r=`${PWD_COMMAND}`; export r; \
27557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27558 $(HOST_EXPORTS) \
27559 (cd $(HOST_SUBDIR)/guile && \
27560 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27561 @endif guile
27566 .PHONY: check-guile maybe-check-guile
27567 maybe-check-guile:
27568 @if guile
27569 maybe-check-guile: check-guile
27571 check-guile:
27572 @: $(MAKE); $(unstage)
27573 @r=`${PWD_COMMAND}`; export r; \
27574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27575 $(HOST_EXPORTS) \
27576 (cd $(HOST_SUBDIR)/guile && \
27577 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27579 @endif guile
27581 .PHONY: install-guile maybe-install-guile
27582 maybe-install-guile:
27583 @if guile
27584 maybe-install-guile: install-guile
27586 install-guile: installdirs
27587 @: $(MAKE); $(unstage)
27588 @r=`${PWD_COMMAND}`; export r; \
27589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27590 $(HOST_EXPORTS) \
27591 (cd $(HOST_SUBDIR)/guile && \
27592 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27594 @endif guile
27596 # Other targets (info, dvi, etc.)
27598 .PHONY: maybe-info-guile info-guile
27599 maybe-info-guile:
27600 @if guile
27601 maybe-info-guile: info-guile
27603 info-guile: \
27604 configure-guile
27605 @: $(MAKE); $(unstage)
27606 @[ -f ./guile/Makefile ] || exit 0; \
27607 r=`${PWD_COMMAND}`; export r; \
27608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27609 $(HOST_EXPORTS) \
27610 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27612 done; \
27613 echo "Doing info in guile" ; \
27614 (cd $(HOST_SUBDIR)/guile && \
27615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27617 "RANLIB=$${RANLIB}" \
27618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27619 info) \
27620 || exit 1
27622 @endif guile
27624 .PHONY: maybe-dvi-guile dvi-guile
27625 maybe-dvi-guile:
27626 @if guile
27627 maybe-dvi-guile: dvi-guile
27629 dvi-guile: \
27630 configure-guile
27631 @: $(MAKE); $(unstage)
27632 @[ -f ./guile/Makefile ] || exit 0; \
27633 r=`${PWD_COMMAND}`; export r; \
27634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27635 $(HOST_EXPORTS) \
27636 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27638 done; \
27639 echo "Doing dvi in guile" ; \
27640 (cd $(HOST_SUBDIR)/guile && \
27641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27643 "RANLIB=$${RANLIB}" \
27644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27645 dvi) \
27646 || exit 1
27648 @endif guile
27650 .PHONY: maybe-html-guile html-guile
27651 maybe-html-guile:
27652 @if guile
27653 maybe-html-guile: html-guile
27655 html-guile: \
27656 configure-guile
27657 @: $(MAKE); $(unstage)
27658 @[ -f ./guile/Makefile ] || exit 0; \
27659 r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27661 $(HOST_EXPORTS) \
27662 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27664 done; \
27665 echo "Doing html in guile" ; \
27666 (cd $(HOST_SUBDIR)/guile && \
27667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27669 "RANLIB=$${RANLIB}" \
27670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27671 html) \
27672 || exit 1
27674 @endif guile
27676 .PHONY: maybe-TAGS-guile TAGS-guile
27677 maybe-TAGS-guile:
27678 @if guile
27679 maybe-TAGS-guile: TAGS-guile
27681 TAGS-guile: \
27682 configure-guile
27683 @: $(MAKE); $(unstage)
27684 @[ -f ./guile/Makefile ] || exit 0; \
27685 r=`${PWD_COMMAND}`; export r; \
27686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27687 $(HOST_EXPORTS) \
27688 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27690 done; \
27691 echo "Doing TAGS in guile" ; \
27692 (cd $(HOST_SUBDIR)/guile && \
27693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27695 "RANLIB=$${RANLIB}" \
27696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27697 TAGS) \
27698 || exit 1
27700 @endif guile
27702 .PHONY: maybe-install-info-guile install-info-guile
27703 maybe-install-info-guile:
27704 @if guile
27705 maybe-install-info-guile: install-info-guile
27707 install-info-guile: \
27708 configure-guile \
27709 info-guile
27710 @: $(MAKE); $(unstage)
27711 @[ -f ./guile/Makefile ] || exit 0; \
27712 r=`${PWD_COMMAND}`; export r; \
27713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27714 $(HOST_EXPORTS) \
27715 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27717 done; \
27718 echo "Doing install-info in guile" ; \
27719 (cd $(HOST_SUBDIR)/guile && \
27720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27722 "RANLIB=$${RANLIB}" \
27723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27724 install-info) \
27725 || exit 1
27727 @endif guile
27729 .PHONY: maybe-installcheck-guile installcheck-guile
27730 maybe-installcheck-guile:
27731 @if guile
27732 maybe-installcheck-guile: installcheck-guile
27734 installcheck-guile: \
27735 configure-guile
27736 @: $(MAKE); $(unstage)
27737 @[ -f ./guile/Makefile ] || exit 0; \
27738 r=`${PWD_COMMAND}`; export r; \
27739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27740 $(HOST_EXPORTS) \
27741 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27743 done; \
27744 echo "Doing installcheck in guile" ; \
27745 (cd $(HOST_SUBDIR)/guile && \
27746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27748 "RANLIB=$${RANLIB}" \
27749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27750 installcheck) \
27751 || exit 1
27753 @endif guile
27755 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27756 maybe-mostlyclean-guile:
27757 @if guile
27758 maybe-mostlyclean-guile: mostlyclean-guile
27760 mostlyclean-guile:
27761 @: $(MAKE); $(unstage)
27762 @[ -f ./guile/Makefile ] || exit 0; \
27763 r=`${PWD_COMMAND}`; export r; \
27764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27765 $(HOST_EXPORTS) \
27766 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27768 done; \
27769 echo "Doing mostlyclean in guile" ; \
27770 (cd $(HOST_SUBDIR)/guile && \
27771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27773 "RANLIB=$${RANLIB}" \
27774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27775 mostlyclean) \
27776 || exit 1
27778 @endif guile
27780 .PHONY: maybe-clean-guile clean-guile
27781 maybe-clean-guile:
27782 @if guile
27783 maybe-clean-guile: clean-guile
27785 clean-guile:
27786 @: $(MAKE); $(unstage)
27787 @[ -f ./guile/Makefile ] || exit 0; \
27788 r=`${PWD_COMMAND}`; export r; \
27789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27790 $(HOST_EXPORTS) \
27791 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27793 done; \
27794 echo "Doing clean in guile" ; \
27795 (cd $(HOST_SUBDIR)/guile && \
27796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27798 "RANLIB=$${RANLIB}" \
27799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27800 clean) \
27801 || exit 1
27803 @endif guile
27805 .PHONY: maybe-distclean-guile distclean-guile
27806 maybe-distclean-guile:
27807 @if guile
27808 maybe-distclean-guile: distclean-guile
27810 distclean-guile:
27811 @: $(MAKE); $(unstage)
27812 @[ -f ./guile/Makefile ] || exit 0; \
27813 r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(HOST_EXPORTS) \
27816 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27818 done; \
27819 echo "Doing distclean in guile" ; \
27820 (cd $(HOST_SUBDIR)/guile && \
27821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27823 "RANLIB=$${RANLIB}" \
27824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27825 distclean) \
27826 || exit 1
27828 @endif guile
27830 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27831 maybe-maintainer-clean-guile:
27832 @if guile
27833 maybe-maintainer-clean-guile: maintainer-clean-guile
27835 maintainer-clean-guile:
27836 @: $(MAKE); $(unstage)
27837 @[ -f ./guile/Makefile ] || exit 0; \
27838 r=`${PWD_COMMAND}`; export r; \
27839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27840 $(HOST_EXPORTS) \
27841 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27843 done; \
27844 echo "Doing maintainer-clean in guile" ; \
27845 (cd $(HOST_SUBDIR)/guile && \
27846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27848 "RANLIB=$${RANLIB}" \
27849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27850 maintainer-clean) \
27851 || exit 1
27853 @endif guile
27857 .PHONY: configure-tk maybe-configure-tk
27858 maybe-configure-tk:
27859 @if tk
27860 maybe-configure-tk: configure-tk
27861 configure-tk:
27862 @: $(MAKE); $(unstage)
27863 @r=`${PWD_COMMAND}`; export r; \
27864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27865 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27866 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27867 $(HOST_EXPORTS) \
27868 echo Configuring in $(HOST_SUBDIR)/tk; \
27869 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27870 case $(srcdir) in \
27871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27872 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27874 esac; \
27875 srcdiroption="--srcdir=$${topdir}/tk"; \
27876 libsrcdir="$$s/tk"; \
27877 $(SHELL) $${libsrcdir}/configure \
27878 $(HOST_CONFIGARGS) $${srcdiroption} \
27879 || exit 1
27880 @endif tk
27886 .PHONY: all-tk maybe-all-tk
27887 maybe-all-tk:
27888 @if tk
27889 TARGET-tk=all
27890 maybe-all-tk: all-tk
27891 all-tk: configure-tk
27892 @: $(MAKE); $(unstage)
27893 @r=`${PWD_COMMAND}`; export r; \
27894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27895 $(HOST_EXPORTS) \
27896 (cd $(HOST_SUBDIR)/tk && \
27897 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27898 @endif tk
27903 .PHONY: check-tk maybe-check-tk
27904 maybe-check-tk:
27905 @if tk
27906 maybe-check-tk: check-tk
27908 check-tk:
27909 @: $(MAKE); $(unstage)
27910 @r=`${PWD_COMMAND}`; export r; \
27911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27912 $(HOST_EXPORTS) \
27913 (cd $(HOST_SUBDIR)/tk && \
27914 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27916 @endif tk
27918 .PHONY: install-tk maybe-install-tk
27919 maybe-install-tk:
27920 @if tk
27921 maybe-install-tk: install-tk
27923 install-tk: installdirs
27924 @: $(MAKE); $(unstage)
27925 @r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(HOST_EXPORTS) \
27928 (cd $(HOST_SUBDIR)/tk && \
27929 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27931 @endif tk
27933 # Other targets (info, dvi, etc.)
27935 .PHONY: maybe-info-tk info-tk
27936 maybe-info-tk:
27937 @if tk
27938 maybe-info-tk: info-tk
27940 info-tk: \
27941 configure-tk
27942 @: $(MAKE); $(unstage)
27943 @[ -f ./tk/Makefile ] || exit 0; \
27944 r=`${PWD_COMMAND}`; export r; \
27945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27946 $(HOST_EXPORTS) \
27947 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27949 done; \
27950 echo "Doing info in tk" ; \
27951 (cd $(HOST_SUBDIR)/tk && \
27952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27954 "RANLIB=$${RANLIB}" \
27955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27956 info) \
27957 || exit 1
27959 @endif tk
27961 .PHONY: maybe-dvi-tk dvi-tk
27962 maybe-dvi-tk:
27963 @if tk
27964 maybe-dvi-tk: dvi-tk
27966 dvi-tk: \
27967 configure-tk
27968 @: $(MAKE); $(unstage)
27969 @[ -f ./tk/Makefile ] || exit 0; \
27970 r=`${PWD_COMMAND}`; export r; \
27971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27972 $(HOST_EXPORTS) \
27973 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27975 done; \
27976 echo "Doing dvi in tk" ; \
27977 (cd $(HOST_SUBDIR)/tk && \
27978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27980 "RANLIB=$${RANLIB}" \
27981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27982 dvi) \
27983 || exit 1
27985 @endif tk
27987 .PHONY: maybe-html-tk html-tk
27988 maybe-html-tk:
27989 @if tk
27990 maybe-html-tk: html-tk
27992 html-tk: \
27993 configure-tk
27994 @: $(MAKE); $(unstage)
27995 @[ -f ./tk/Makefile ] || exit 0; \
27996 r=`${PWD_COMMAND}`; export r; \
27997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27998 $(HOST_EXPORTS) \
27999 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28001 done; \
28002 echo "Doing html in tk" ; \
28003 (cd $(HOST_SUBDIR)/tk && \
28004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28006 "RANLIB=$${RANLIB}" \
28007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28008 html) \
28009 || exit 1
28011 @endif tk
28013 .PHONY: maybe-TAGS-tk TAGS-tk
28014 maybe-TAGS-tk:
28015 @if tk
28016 maybe-TAGS-tk: TAGS-tk
28018 TAGS-tk: \
28019 configure-tk
28020 @: $(MAKE); $(unstage)
28021 @[ -f ./tk/Makefile ] || exit 0; \
28022 r=`${PWD_COMMAND}`; export r; \
28023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024 $(HOST_EXPORTS) \
28025 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28027 done; \
28028 echo "Doing TAGS in tk" ; \
28029 (cd $(HOST_SUBDIR)/tk && \
28030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28032 "RANLIB=$${RANLIB}" \
28033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28034 TAGS) \
28035 || exit 1
28037 @endif tk
28039 .PHONY: maybe-install-info-tk install-info-tk
28040 maybe-install-info-tk:
28041 @if tk
28042 maybe-install-info-tk: install-info-tk
28044 install-info-tk: \
28045 configure-tk \
28046 info-tk
28047 @: $(MAKE); $(unstage)
28048 @[ -f ./tk/Makefile ] || exit 0; \
28049 r=`${PWD_COMMAND}`; export r; \
28050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28051 $(HOST_EXPORTS) \
28052 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28054 done; \
28055 echo "Doing install-info in tk" ; \
28056 (cd $(HOST_SUBDIR)/tk && \
28057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28059 "RANLIB=$${RANLIB}" \
28060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28061 install-info) \
28062 || exit 1
28064 @endif tk
28066 .PHONY: maybe-installcheck-tk installcheck-tk
28067 maybe-installcheck-tk:
28068 @if tk
28069 maybe-installcheck-tk: installcheck-tk
28071 installcheck-tk: \
28072 configure-tk
28073 @: $(MAKE); $(unstage)
28074 @[ -f ./tk/Makefile ] || exit 0; \
28075 r=`${PWD_COMMAND}`; export r; \
28076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28077 $(HOST_EXPORTS) \
28078 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28080 done; \
28081 echo "Doing installcheck in tk" ; \
28082 (cd $(HOST_SUBDIR)/tk && \
28083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28085 "RANLIB=$${RANLIB}" \
28086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28087 installcheck) \
28088 || exit 1
28090 @endif tk
28092 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28093 maybe-mostlyclean-tk:
28094 @if tk
28095 maybe-mostlyclean-tk: mostlyclean-tk
28097 mostlyclean-tk:
28098 @: $(MAKE); $(unstage)
28099 @[ -f ./tk/Makefile ] || exit 0; \
28100 r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 $(HOST_EXPORTS) \
28103 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 done; \
28106 echo "Doing mostlyclean in tk" ; \
28107 (cd $(HOST_SUBDIR)/tk && \
28108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28110 "RANLIB=$${RANLIB}" \
28111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28112 mostlyclean) \
28113 || exit 1
28115 @endif tk
28117 .PHONY: maybe-clean-tk clean-tk
28118 maybe-clean-tk:
28119 @if tk
28120 maybe-clean-tk: clean-tk
28122 clean-tk:
28123 @: $(MAKE); $(unstage)
28124 @[ -f ./tk/Makefile ] || exit 0; \
28125 r=`${PWD_COMMAND}`; export r; \
28126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28127 $(HOST_EXPORTS) \
28128 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28130 done; \
28131 echo "Doing clean in tk" ; \
28132 (cd $(HOST_SUBDIR)/tk && \
28133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28135 "RANLIB=$${RANLIB}" \
28136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28137 clean) \
28138 || exit 1
28140 @endif tk
28142 .PHONY: maybe-distclean-tk distclean-tk
28143 maybe-distclean-tk:
28144 @if tk
28145 maybe-distclean-tk: distclean-tk
28147 distclean-tk:
28148 @: $(MAKE); $(unstage)
28149 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
28154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28155 done; \
28156 echo "Doing distclean in tk" ; \
28157 (cd $(HOST_SUBDIR)/tk && \
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 distclean) \
28163 || exit 1
28165 @endif tk
28167 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28168 maybe-maintainer-clean-tk:
28169 @if tk
28170 maybe-maintainer-clean-tk: maintainer-clean-tk
28172 maintainer-clean-tk:
28173 @: $(MAKE); $(unstage)
28174 @[ -f ./tk/Makefile ] || exit 0; \
28175 r=`${PWD_COMMAND}`; export r; \
28176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28177 $(HOST_EXPORTS) \
28178 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28180 done; \
28181 echo "Doing maintainer-clean in tk" ; \
28182 (cd $(HOST_SUBDIR)/tk && \
28183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28185 "RANLIB=$${RANLIB}" \
28186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28187 maintainer-clean) \
28188 || exit 1
28190 @endif tk
28194 .PHONY: configure-libtermcap maybe-configure-libtermcap
28195 maybe-configure-libtermcap:
28196 @if libtermcap
28197 maybe-configure-libtermcap: configure-libtermcap
28198 configure-libtermcap:
28199 @: $(MAKE); $(unstage)
28200 @r=`${PWD_COMMAND}`; export r; \
28201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28202 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28204 $(HOST_EXPORTS) \
28205 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28206 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28207 case $(srcdir) in \
28208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28209 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28211 esac; \
28212 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28213 libsrcdir="$$s/libtermcap"; \
28214 $(SHELL) $${libsrcdir}/configure \
28215 $(HOST_CONFIGARGS) $${srcdiroption} \
28216 || exit 1
28217 @endif libtermcap
28223 .PHONY: all-libtermcap maybe-all-libtermcap
28224 maybe-all-libtermcap:
28225 @if libtermcap
28226 TARGET-libtermcap=all
28227 maybe-all-libtermcap: all-libtermcap
28228 all-libtermcap: configure-libtermcap
28229 @: $(MAKE); $(unstage)
28230 @r=`${PWD_COMMAND}`; export r; \
28231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28232 $(HOST_EXPORTS) \
28233 (cd $(HOST_SUBDIR)/libtermcap && \
28234 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
28235 @endif libtermcap
28240 .PHONY: check-libtermcap maybe-check-libtermcap
28241 maybe-check-libtermcap:
28242 @if libtermcap
28243 maybe-check-libtermcap: check-libtermcap
28245 check-libtermcap:
28247 @endif libtermcap
28249 .PHONY: install-libtermcap maybe-install-libtermcap
28250 maybe-install-libtermcap:
28251 @if libtermcap
28252 maybe-install-libtermcap: install-libtermcap
28254 install-libtermcap: installdirs
28255 @: $(MAKE); $(unstage)
28256 @r=`${PWD_COMMAND}`; export r; \
28257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28258 $(HOST_EXPORTS) \
28259 (cd $(HOST_SUBDIR)/libtermcap && \
28260 $(MAKE) $(FLAGS_TO_PASS) install)
28262 @endif libtermcap
28264 # Other targets (info, dvi, etc.)
28266 .PHONY: maybe-info-libtermcap info-libtermcap
28267 maybe-info-libtermcap:
28268 @if libtermcap
28269 maybe-info-libtermcap: info-libtermcap
28271 info-libtermcap: \
28272 configure-libtermcap
28273 @: $(MAKE); $(unstage)
28274 @[ -f ./libtermcap/Makefile ] || exit 0; \
28275 r=`${PWD_COMMAND}`; export r; \
28276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28277 $(HOST_EXPORTS) \
28278 for flag in $(EXTRA_HOST_FLAGS) ; do \
28279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28280 done; \
28281 echo "Doing info in libtermcap" ; \
28282 (cd $(HOST_SUBDIR)/libtermcap && \
28283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28285 "RANLIB=$${RANLIB}" \
28286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28287 info) \
28288 || exit 1
28290 @endif libtermcap
28292 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28293 maybe-dvi-libtermcap:
28294 @if libtermcap
28295 maybe-dvi-libtermcap: dvi-libtermcap
28297 dvi-libtermcap: \
28298 configure-libtermcap
28299 @: $(MAKE); $(unstage)
28300 @[ -f ./libtermcap/Makefile ] || exit 0; \
28301 r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 $(HOST_EXPORTS) \
28304 for flag in $(EXTRA_HOST_FLAGS) ; do \
28305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28306 done; \
28307 echo "Doing dvi in libtermcap" ; \
28308 (cd $(HOST_SUBDIR)/libtermcap && \
28309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28311 "RANLIB=$${RANLIB}" \
28312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28313 dvi) \
28314 || exit 1
28316 @endif libtermcap
28318 .PHONY: maybe-html-libtermcap html-libtermcap
28319 maybe-html-libtermcap:
28320 @if libtermcap
28321 maybe-html-libtermcap: html-libtermcap
28323 html-libtermcap: \
28324 configure-libtermcap
28325 @: $(MAKE); $(unstage)
28326 @[ -f ./libtermcap/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) ; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing html in libtermcap" ; \
28334 (cd $(HOST_SUBDIR)/libtermcap && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28339 html) \
28340 || exit 1
28342 @endif libtermcap
28344 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28345 maybe-TAGS-libtermcap:
28346 @if libtermcap
28347 maybe-TAGS-libtermcap: TAGS-libtermcap
28349 TAGS-libtermcap: \
28350 configure-libtermcap
28351 @: $(MAKE); $(unstage)
28352 @[ -f ./libtermcap/Makefile ] || exit 0; \
28353 r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(HOST_EXPORTS) \
28356 for flag in $(EXTRA_HOST_FLAGS) ; do \
28357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28358 done; \
28359 echo "Doing TAGS in libtermcap" ; \
28360 (cd $(HOST_SUBDIR)/libtermcap && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28365 TAGS) \
28366 || exit 1
28368 @endif libtermcap
28370 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28371 maybe-install-info-libtermcap:
28372 @if libtermcap
28373 maybe-install-info-libtermcap: install-info-libtermcap
28375 install-info-libtermcap: \
28376 configure-libtermcap \
28377 info-libtermcap
28378 @: $(MAKE); $(unstage)
28379 @[ -f ./libtermcap/Makefile ] || exit 0; \
28380 r=`${PWD_COMMAND}`; export r; \
28381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28382 $(HOST_EXPORTS) \
28383 for flag in $(EXTRA_HOST_FLAGS) ; do \
28384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28385 done; \
28386 echo "Doing install-info in libtermcap" ; \
28387 (cd $(HOST_SUBDIR)/libtermcap && \
28388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28390 "RANLIB=$${RANLIB}" \
28391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28392 install-info) \
28393 || exit 1
28395 @endif libtermcap
28397 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28398 maybe-installcheck-libtermcap:
28399 @if libtermcap
28400 maybe-installcheck-libtermcap: installcheck-libtermcap
28402 installcheck-libtermcap: \
28403 configure-libtermcap
28404 @: $(MAKE); $(unstage)
28405 @[ -f ./libtermcap/Makefile ] || exit 0; \
28406 r=`${PWD_COMMAND}`; export r; \
28407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28408 $(HOST_EXPORTS) \
28409 for flag in $(EXTRA_HOST_FLAGS) ; do \
28410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28411 done; \
28412 echo "Doing installcheck in libtermcap" ; \
28413 (cd $(HOST_SUBDIR)/libtermcap && \
28414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28416 "RANLIB=$${RANLIB}" \
28417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28418 installcheck) \
28419 || exit 1
28421 @endif libtermcap
28423 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28424 maybe-mostlyclean-libtermcap:
28425 @if libtermcap
28426 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28428 # libtermcap doesn't support mostlyclean.
28429 mostlyclean-libtermcap:
28431 @endif libtermcap
28433 .PHONY: maybe-clean-libtermcap clean-libtermcap
28434 maybe-clean-libtermcap:
28435 @if libtermcap
28436 maybe-clean-libtermcap: clean-libtermcap
28438 # libtermcap doesn't support clean.
28439 clean-libtermcap:
28441 @endif libtermcap
28443 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28444 maybe-distclean-libtermcap:
28445 @if libtermcap
28446 maybe-distclean-libtermcap: distclean-libtermcap
28448 # libtermcap doesn't support distclean.
28449 distclean-libtermcap:
28451 @endif libtermcap
28453 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28454 maybe-maintainer-clean-libtermcap:
28455 @if libtermcap
28456 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28458 # libtermcap doesn't support maintainer-clean.
28459 maintainer-clean-libtermcap:
28461 @endif libtermcap
28465 .PHONY: configure-utils maybe-configure-utils
28466 maybe-configure-utils:
28467 @if utils
28468 maybe-configure-utils: configure-utils
28469 configure-utils:
28470 @: $(MAKE); $(unstage)
28471 @r=`${PWD_COMMAND}`; export r; \
28472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28473 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28475 $(HOST_EXPORTS) \
28476 echo Configuring in $(HOST_SUBDIR)/utils; \
28477 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28478 case $(srcdir) in \
28479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28480 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28482 esac; \
28483 srcdiroption="--srcdir=$${topdir}/utils"; \
28484 libsrcdir="$$s/utils"; \
28485 $(SHELL) $${libsrcdir}/configure \
28486 $(HOST_CONFIGARGS) $${srcdiroption} \
28487 || exit 1
28488 @endif utils
28494 .PHONY: all-utils maybe-all-utils
28495 maybe-all-utils:
28496 @if utils
28497 TARGET-utils=all
28498 maybe-all-utils: all-utils
28499 all-utils: configure-utils
28500 @: $(MAKE); $(unstage)
28501 @r=`${PWD_COMMAND}`; export r; \
28502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28503 $(HOST_EXPORTS) \
28504 (cd $(HOST_SUBDIR)/utils && \
28505 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28506 @endif utils
28511 .PHONY: check-utils maybe-check-utils
28512 maybe-check-utils:
28513 @if utils
28514 maybe-check-utils: check-utils
28516 check-utils:
28518 @endif utils
28520 .PHONY: install-utils maybe-install-utils
28521 maybe-install-utils:
28522 @if utils
28523 maybe-install-utils: install-utils
28525 install-utils: installdirs
28526 @: $(MAKE); $(unstage)
28527 @r=`${PWD_COMMAND}`; export r; \
28528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28529 $(HOST_EXPORTS) \
28530 (cd $(HOST_SUBDIR)/utils && \
28531 $(MAKE) $(FLAGS_TO_PASS) install)
28533 @endif utils
28535 # Other targets (info, dvi, etc.)
28537 .PHONY: maybe-info-utils info-utils
28538 maybe-info-utils:
28539 @if utils
28540 maybe-info-utils: info-utils
28542 info-utils: \
28543 configure-utils
28544 @: $(MAKE); $(unstage)
28545 @[ -f ./utils/Makefile ] || exit 0; \
28546 r=`${PWD_COMMAND}`; export r; \
28547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28548 $(HOST_EXPORTS) \
28549 for flag in $(EXTRA_HOST_FLAGS) ; do \
28550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28551 done; \
28552 echo "Doing info in utils" ; \
28553 (cd $(HOST_SUBDIR)/utils && \
28554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28556 "RANLIB=$${RANLIB}" \
28557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28558 info) \
28559 || exit 1
28561 @endif utils
28563 .PHONY: maybe-dvi-utils dvi-utils
28564 maybe-dvi-utils:
28565 @if utils
28566 maybe-dvi-utils: dvi-utils
28568 dvi-utils: \
28569 configure-utils
28570 @: $(MAKE); $(unstage)
28571 @[ -f ./utils/Makefile ] || exit 0; \
28572 r=`${PWD_COMMAND}`; export r; \
28573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28574 $(HOST_EXPORTS) \
28575 for flag in $(EXTRA_HOST_FLAGS) ; do \
28576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28577 done; \
28578 echo "Doing dvi in utils" ; \
28579 (cd $(HOST_SUBDIR)/utils && \
28580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28582 "RANLIB=$${RANLIB}" \
28583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28584 dvi) \
28585 || exit 1
28587 @endif utils
28589 .PHONY: maybe-html-utils html-utils
28590 maybe-html-utils:
28591 @if utils
28592 maybe-html-utils: html-utils
28594 html-utils: \
28595 configure-utils
28596 @: $(MAKE); $(unstage)
28597 @[ -f ./utils/Makefile ] || exit 0; \
28598 r=`${PWD_COMMAND}`; export r; \
28599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28600 $(HOST_EXPORTS) \
28601 for flag in $(EXTRA_HOST_FLAGS) ; do \
28602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28603 done; \
28604 echo "Doing html in utils" ; \
28605 (cd $(HOST_SUBDIR)/utils && \
28606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28608 "RANLIB=$${RANLIB}" \
28609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28610 html) \
28611 || exit 1
28613 @endif utils
28615 .PHONY: maybe-TAGS-utils TAGS-utils
28616 maybe-TAGS-utils:
28617 @if utils
28618 maybe-TAGS-utils: TAGS-utils
28620 TAGS-utils: \
28621 configure-utils
28622 @: $(MAKE); $(unstage)
28623 @[ -f ./utils/Makefile ] || exit 0; \
28624 r=`${PWD_COMMAND}`; export r; \
28625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28626 $(HOST_EXPORTS) \
28627 for flag in $(EXTRA_HOST_FLAGS) ; do \
28628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28629 done; \
28630 echo "Doing TAGS in utils" ; \
28631 (cd $(HOST_SUBDIR)/utils && \
28632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28634 "RANLIB=$${RANLIB}" \
28635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28636 TAGS) \
28637 || exit 1
28639 @endif utils
28641 .PHONY: maybe-install-info-utils install-info-utils
28642 maybe-install-info-utils:
28643 @if utils
28644 maybe-install-info-utils: install-info-utils
28646 install-info-utils: \
28647 configure-utils \
28648 info-utils
28649 @: $(MAKE); $(unstage)
28650 @[ -f ./utils/Makefile ] || exit 0; \
28651 r=`${PWD_COMMAND}`; export r; \
28652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28653 $(HOST_EXPORTS) \
28654 for flag in $(EXTRA_HOST_FLAGS) ; do \
28655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28656 done; \
28657 echo "Doing install-info in utils" ; \
28658 (cd $(HOST_SUBDIR)/utils && \
28659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28661 "RANLIB=$${RANLIB}" \
28662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28663 install-info) \
28664 || exit 1
28666 @endif utils
28668 .PHONY: maybe-installcheck-utils installcheck-utils
28669 maybe-installcheck-utils:
28670 @if utils
28671 maybe-installcheck-utils: installcheck-utils
28673 installcheck-utils: \
28674 configure-utils
28675 @: $(MAKE); $(unstage)
28676 @[ -f ./utils/Makefile ] || exit 0; \
28677 r=`${PWD_COMMAND}`; export r; \
28678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28679 $(HOST_EXPORTS) \
28680 for flag in $(EXTRA_HOST_FLAGS) ; do \
28681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28682 done; \
28683 echo "Doing installcheck in utils" ; \
28684 (cd $(HOST_SUBDIR)/utils && \
28685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28687 "RANLIB=$${RANLIB}" \
28688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28689 installcheck) \
28690 || exit 1
28692 @endif utils
28694 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28695 maybe-mostlyclean-utils:
28696 @if utils
28697 maybe-mostlyclean-utils: mostlyclean-utils
28699 mostlyclean-utils:
28700 @: $(MAKE); $(unstage)
28701 @[ -f ./utils/Makefile ] || exit 0; \
28702 r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(HOST_EXPORTS) \
28705 for flag in $(EXTRA_HOST_FLAGS) ; do \
28706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28707 done; \
28708 echo "Doing mostlyclean in utils" ; \
28709 (cd $(HOST_SUBDIR)/utils && \
28710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28712 "RANLIB=$${RANLIB}" \
28713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28714 mostlyclean) \
28715 || exit 1
28717 @endif utils
28719 .PHONY: maybe-clean-utils clean-utils
28720 maybe-clean-utils:
28721 @if utils
28722 maybe-clean-utils: clean-utils
28724 clean-utils:
28725 @: $(MAKE); $(unstage)
28726 @[ -f ./utils/Makefile ] || exit 0; \
28727 r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 $(HOST_EXPORTS) \
28730 for flag in $(EXTRA_HOST_FLAGS) ; do \
28731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28732 done; \
28733 echo "Doing clean in utils" ; \
28734 (cd $(HOST_SUBDIR)/utils && \
28735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28737 "RANLIB=$${RANLIB}" \
28738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28739 clean) \
28740 || exit 1
28742 @endif utils
28744 .PHONY: maybe-distclean-utils distclean-utils
28745 maybe-distclean-utils:
28746 @if utils
28747 maybe-distclean-utils: distclean-utils
28749 distclean-utils:
28750 @: $(MAKE); $(unstage)
28751 @[ -f ./utils/Makefile ] || exit 0; \
28752 r=`${PWD_COMMAND}`; export r; \
28753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28754 $(HOST_EXPORTS) \
28755 for flag in $(EXTRA_HOST_FLAGS) ; do \
28756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28757 done; \
28758 echo "Doing distclean in utils" ; \
28759 (cd $(HOST_SUBDIR)/utils && \
28760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28762 "RANLIB=$${RANLIB}" \
28763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28764 distclean) \
28765 || exit 1
28767 @endif utils
28769 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28770 maybe-maintainer-clean-utils:
28771 @if utils
28772 maybe-maintainer-clean-utils: maintainer-clean-utils
28774 maintainer-clean-utils:
28775 @: $(MAKE); $(unstage)
28776 @[ -f ./utils/Makefile ] || exit 0; \
28777 r=`${PWD_COMMAND}`; export r; \
28778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28779 $(HOST_EXPORTS) \
28780 for flag in $(EXTRA_HOST_FLAGS) ; do \
28781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28782 done; \
28783 echo "Doing maintainer-clean in utils" ; \
28784 (cd $(HOST_SUBDIR)/utils && \
28785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28787 "RANLIB=$${RANLIB}" \
28788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28789 maintainer-clean) \
28790 || exit 1
28792 @endif utils
28796 .PHONY: configure-gnattools maybe-configure-gnattools
28797 maybe-configure-gnattools:
28798 @if gnattools
28799 maybe-configure-gnattools: configure-gnattools
28800 configure-gnattools:
28801 @: $(MAKE); $(unstage)
28802 @r=`${PWD_COMMAND}`; export r; \
28803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28804 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28806 $(HOST_EXPORTS) \
28807 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28808 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28809 case $(srcdir) in \
28810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28811 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28813 esac; \
28814 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28815 libsrcdir="$$s/gnattools"; \
28816 $(SHELL) $${libsrcdir}/configure \
28817 $(HOST_CONFIGARGS) $${srcdiroption} \
28818 || exit 1
28819 @endif gnattools
28825 .PHONY: all-gnattools maybe-all-gnattools
28826 maybe-all-gnattools:
28827 @if gnattools
28828 TARGET-gnattools=all
28829 maybe-all-gnattools: all-gnattools
28830 all-gnattools: configure-gnattools
28831 @: $(MAKE); $(unstage)
28832 @r=`${PWD_COMMAND}`; export r; \
28833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28834 $(HOST_EXPORTS) \
28835 (cd $(HOST_SUBDIR)/gnattools && \
28836 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28837 @endif gnattools
28842 .PHONY: check-gnattools maybe-check-gnattools
28843 maybe-check-gnattools:
28844 @if gnattools
28845 maybe-check-gnattools: check-gnattools
28847 check-gnattools:
28848 @: $(MAKE); $(unstage)
28849 @r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(HOST_EXPORTS) \
28852 (cd $(HOST_SUBDIR)/gnattools && \
28853 $(MAKE) $(FLAGS_TO_PASS) check)
28855 @endif gnattools
28857 .PHONY: install-gnattools maybe-install-gnattools
28858 maybe-install-gnattools:
28859 @if gnattools
28860 maybe-install-gnattools: install-gnattools
28862 install-gnattools: installdirs
28863 @: $(MAKE); $(unstage)
28864 @r=`${PWD_COMMAND}`; export r; \
28865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28866 $(HOST_EXPORTS) \
28867 (cd $(HOST_SUBDIR)/gnattools && \
28868 $(MAKE) $(FLAGS_TO_PASS) install)
28870 @endif gnattools
28872 # Other targets (info, dvi, etc.)
28874 .PHONY: maybe-info-gnattools info-gnattools
28875 maybe-info-gnattools:
28876 @if gnattools
28877 maybe-info-gnattools: info-gnattools
28879 info-gnattools: \
28880 configure-gnattools
28881 @: $(MAKE); $(unstage)
28882 @[ -f ./gnattools/Makefile ] || exit 0; \
28883 r=`${PWD_COMMAND}`; export r; \
28884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28885 $(HOST_EXPORTS) \
28886 for flag in $(EXTRA_HOST_FLAGS) ; do \
28887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28888 done; \
28889 echo "Doing info in gnattools" ; \
28890 (cd $(HOST_SUBDIR)/gnattools && \
28891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28893 "RANLIB=$${RANLIB}" \
28894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28895 info) \
28896 || exit 1
28898 @endif gnattools
28900 .PHONY: maybe-dvi-gnattools dvi-gnattools
28901 maybe-dvi-gnattools:
28902 @if gnattools
28903 maybe-dvi-gnattools: dvi-gnattools
28905 dvi-gnattools: \
28906 configure-gnattools
28907 @: $(MAKE); $(unstage)
28908 @[ -f ./gnattools/Makefile ] || exit 0; \
28909 r=`${PWD_COMMAND}`; export r; \
28910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28911 $(HOST_EXPORTS) \
28912 for flag in $(EXTRA_HOST_FLAGS) ; do \
28913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28914 done; \
28915 echo "Doing dvi in gnattools" ; \
28916 (cd $(HOST_SUBDIR)/gnattools && \
28917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28919 "RANLIB=$${RANLIB}" \
28920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28921 dvi) \
28922 || exit 1
28924 @endif gnattools
28926 .PHONY: maybe-html-gnattools html-gnattools
28927 maybe-html-gnattools:
28928 @if gnattools
28929 maybe-html-gnattools: html-gnattools
28931 html-gnattools: \
28932 configure-gnattools
28933 @: $(MAKE); $(unstage)
28934 @[ -f ./gnattools/Makefile ] || exit 0; \
28935 r=`${PWD_COMMAND}`; export r; \
28936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28937 $(HOST_EXPORTS) \
28938 for flag in $(EXTRA_HOST_FLAGS) ; do \
28939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28940 done; \
28941 echo "Doing html in gnattools" ; \
28942 (cd $(HOST_SUBDIR)/gnattools && \
28943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28945 "RANLIB=$${RANLIB}" \
28946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28947 html) \
28948 || exit 1
28950 @endif gnattools
28952 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28953 maybe-TAGS-gnattools:
28954 @if gnattools
28955 maybe-TAGS-gnattools: TAGS-gnattools
28957 TAGS-gnattools: \
28958 configure-gnattools
28959 @: $(MAKE); $(unstage)
28960 @[ -f ./gnattools/Makefile ] || exit 0; \
28961 r=`${PWD_COMMAND}`; export r; \
28962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28963 $(HOST_EXPORTS) \
28964 for flag in $(EXTRA_HOST_FLAGS) ; do \
28965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28966 done; \
28967 echo "Doing TAGS in gnattools" ; \
28968 (cd $(HOST_SUBDIR)/gnattools && \
28969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28971 "RANLIB=$${RANLIB}" \
28972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28973 TAGS) \
28974 || exit 1
28976 @endif gnattools
28978 .PHONY: maybe-install-info-gnattools install-info-gnattools
28979 maybe-install-info-gnattools:
28980 @if gnattools
28981 maybe-install-info-gnattools: install-info-gnattools
28983 install-info-gnattools: \
28984 configure-gnattools \
28985 info-gnattools
28986 @: $(MAKE); $(unstage)
28987 @[ -f ./gnattools/Makefile ] || exit 0; \
28988 r=`${PWD_COMMAND}`; export r; \
28989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28990 $(HOST_EXPORTS) \
28991 for flag in $(EXTRA_HOST_FLAGS) ; do \
28992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28993 done; \
28994 echo "Doing install-info in gnattools" ; \
28995 (cd $(HOST_SUBDIR)/gnattools && \
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 install-info) \
29001 || exit 1
29003 @endif gnattools
29005 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29006 maybe-installcheck-gnattools:
29007 @if gnattools
29008 maybe-installcheck-gnattools: installcheck-gnattools
29010 installcheck-gnattools: \
29011 configure-gnattools
29012 @: $(MAKE); $(unstage)
29013 @[ -f ./gnattools/Makefile ] || exit 0; \
29014 r=`${PWD_COMMAND}`; export r; \
29015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29016 $(HOST_EXPORTS) \
29017 for flag in $(EXTRA_HOST_FLAGS) ; do \
29018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29019 done; \
29020 echo "Doing installcheck in gnattools" ; \
29021 (cd $(HOST_SUBDIR)/gnattools && \
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 installcheck) \
29027 || exit 1
29029 @endif gnattools
29031 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29032 maybe-mostlyclean-gnattools:
29033 @if gnattools
29034 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29036 mostlyclean-gnattools:
29037 @: $(MAKE); $(unstage)
29038 @[ -f ./gnattools/Makefile ] || exit 0; \
29039 r=`${PWD_COMMAND}`; export r; \
29040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29041 $(HOST_EXPORTS) \
29042 for flag in $(EXTRA_HOST_FLAGS) ; do \
29043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29044 done; \
29045 echo "Doing mostlyclean in gnattools" ; \
29046 (cd $(HOST_SUBDIR)/gnattools && \
29047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29049 "RANLIB=$${RANLIB}" \
29050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29051 mostlyclean) \
29052 || exit 1
29054 @endif gnattools
29056 .PHONY: maybe-clean-gnattools clean-gnattools
29057 maybe-clean-gnattools:
29058 @if gnattools
29059 maybe-clean-gnattools: clean-gnattools
29061 clean-gnattools:
29062 @: $(MAKE); $(unstage)
29063 @[ -f ./gnattools/Makefile ] || exit 0; \
29064 r=`${PWD_COMMAND}`; export r; \
29065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29066 $(HOST_EXPORTS) \
29067 for flag in $(EXTRA_HOST_FLAGS) ; do \
29068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29069 done; \
29070 echo "Doing clean in gnattools" ; \
29071 (cd $(HOST_SUBDIR)/gnattools && \
29072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29074 "RANLIB=$${RANLIB}" \
29075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29076 clean) \
29077 || exit 1
29079 @endif gnattools
29081 .PHONY: maybe-distclean-gnattools distclean-gnattools
29082 maybe-distclean-gnattools:
29083 @if gnattools
29084 maybe-distclean-gnattools: distclean-gnattools
29086 distclean-gnattools:
29087 @: $(MAKE); $(unstage)
29088 @[ -f ./gnattools/Makefile ] || exit 0; \
29089 r=`${PWD_COMMAND}`; export r; \
29090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29091 $(HOST_EXPORTS) \
29092 for flag in $(EXTRA_HOST_FLAGS) ; do \
29093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29094 done; \
29095 echo "Doing distclean in gnattools" ; \
29096 (cd $(HOST_SUBDIR)/gnattools && \
29097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29099 "RANLIB=$${RANLIB}" \
29100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29101 distclean) \
29102 || exit 1
29104 @endif gnattools
29106 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29107 maybe-maintainer-clean-gnattools:
29108 @if gnattools
29109 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29111 maintainer-clean-gnattools:
29112 @: $(MAKE); $(unstage)
29113 @[ -f ./gnattools/Makefile ] || exit 0; \
29114 r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 $(HOST_EXPORTS) \
29117 for flag in $(EXTRA_HOST_FLAGS) ; do \
29118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29119 done; \
29120 echo "Doing maintainer-clean in gnattools" ; \
29121 (cd $(HOST_SUBDIR)/gnattools && \
29122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29124 "RANLIB=$${RANLIB}" \
29125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29126 maintainer-clean) \
29127 || exit 1
29129 @endif gnattools
29133 # ---------------------------------------
29134 # Modules which run on the target machine
29135 # ---------------------------------------
29140 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29141 maybe-configure-target-libstdc++-v3:
29142 @if target-libstdc++-v3
29143 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29144 configure-target-libstdc++-v3:
29145 @: $(MAKE); $(unstage)
29146 @r=`${PWD_COMMAND}`; export r; \
29147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29148 echo "Checking multilib configuration for libstdc++-v3..."; \
29149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29150 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29151 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29152 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29153 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29154 else \
29155 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29156 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29157 fi; \
29158 else \
29159 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29160 fi; \
29161 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29163 $(RAW_CXX_TARGET_EXPORTS) \
29164 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29165 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29166 case $(srcdir) in \
29167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29168 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29170 esac; \
29171 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29172 libsrcdir="$$s/libstdc++-v3"; \
29173 rm -f no-such-file || : ; \
29174 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29175 $(TARGET_CONFIGARGS) $${srcdiroption} \
29176 || exit 1
29177 @endif target-libstdc++-v3
29183 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
29184 maybe-all-target-libstdc++-v3:
29185 @if target-libstdc++-v3
29186 TARGET-target-libstdc++-v3=all
29187 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
29188 all-target-libstdc++-v3: configure-target-libstdc++-v3
29189 @: $(MAKE); $(unstage)
29190 @r=`${PWD_COMMAND}`; export r; \
29191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29192 $(RAW_CXX_TARGET_EXPORTS) \
29193 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29194 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
29195 @endif target-libstdc++-v3
29201 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
29202 maybe-check-target-libstdc++-v3:
29203 @if target-libstdc++-v3
29204 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
29206 check-target-libstdc++-v3:
29207 @: $(MAKE); $(unstage)
29208 @r=`${PWD_COMMAND}`; export r; \
29209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29210 $(RAW_CXX_TARGET_EXPORTS) \
29211 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29212 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
29214 @endif target-libstdc++-v3
29216 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
29217 maybe-install-target-libstdc++-v3:
29218 @if target-libstdc++-v3
29219 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
29221 install-target-libstdc++-v3: installdirs
29222 @: $(MAKE); $(unstage)
29223 @r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 $(RAW_CXX_TARGET_EXPORTS) \
29226 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29227 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29229 @endif target-libstdc++-v3
29231 # Other targets (info, dvi, etc.)
29233 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
29234 maybe-info-target-libstdc++-v3:
29235 @if target-libstdc++-v3
29236 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
29238 info-target-libstdc++-v3: \
29239 configure-target-libstdc++-v3
29240 @: $(MAKE); $(unstage)
29241 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29242 r=`${PWD_COMMAND}`; export r; \
29243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29244 $(RAW_CXX_TARGET_EXPORTS) \
29245 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29246 for flag in $(EXTRA_TARGET_FLAGS); do \
29247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29248 done; \
29249 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29252 "RANLIB=$${RANLIB}" \
29253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29254 info) \
29255 || exit 1
29257 @endif target-libstdc++-v3
29259 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
29260 maybe-dvi-target-libstdc++-v3:
29261 @if target-libstdc++-v3
29262 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
29264 dvi-target-libstdc++-v3: \
29265 configure-target-libstdc++-v3
29266 @: $(MAKE); $(unstage)
29267 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29268 r=`${PWD_COMMAND}`; export r; \
29269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29270 $(RAW_CXX_TARGET_EXPORTS) \
29271 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29272 for flag in $(EXTRA_TARGET_FLAGS); do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29278 "RANLIB=$${RANLIB}" \
29279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29280 dvi) \
29281 || exit 1
29283 @endif target-libstdc++-v3
29285 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29286 maybe-html-target-libstdc++-v3:
29287 @if target-libstdc++-v3
29288 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29290 html-target-libstdc++-v3: \
29291 configure-target-libstdc++-v3
29292 @: $(MAKE); $(unstage)
29293 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(RAW_CXX_TARGET_EXPORTS) \
29297 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29298 for flag in $(EXTRA_TARGET_FLAGS); do \
29299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29300 done; \
29301 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29304 "RANLIB=$${RANLIB}" \
29305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29306 html) \
29307 || exit 1
29309 @endif target-libstdc++-v3
29311 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29312 maybe-TAGS-target-libstdc++-v3:
29313 @if target-libstdc++-v3
29314 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29316 TAGS-target-libstdc++-v3: \
29317 configure-target-libstdc++-v3
29318 @: $(MAKE); $(unstage)
29319 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29320 r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(RAW_CXX_TARGET_EXPORTS) \
29323 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29324 for flag in $(EXTRA_TARGET_FLAGS); do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 done; \
29327 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29330 "RANLIB=$${RANLIB}" \
29331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29332 TAGS) \
29333 || exit 1
29335 @endif target-libstdc++-v3
29337 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29338 maybe-install-info-target-libstdc++-v3:
29339 @if target-libstdc++-v3
29340 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29342 install-info-target-libstdc++-v3: \
29343 configure-target-libstdc++-v3 \
29344 info-target-libstdc++-v3
29345 @: $(MAKE); $(unstage)
29346 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29347 r=`${PWD_COMMAND}`; export r; \
29348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29349 $(RAW_CXX_TARGET_EXPORTS) \
29350 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29351 for flag in $(EXTRA_TARGET_FLAGS); do \
29352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29353 done; \
29354 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29357 "RANLIB=$${RANLIB}" \
29358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29359 install-info) \
29360 || exit 1
29362 @endif target-libstdc++-v3
29364 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29365 maybe-installcheck-target-libstdc++-v3:
29366 @if target-libstdc++-v3
29367 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29369 installcheck-target-libstdc++-v3: \
29370 configure-target-libstdc++-v3
29371 @: $(MAKE); $(unstage)
29372 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29373 r=`${PWD_COMMAND}`; export r; \
29374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29375 $(RAW_CXX_TARGET_EXPORTS) \
29376 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29377 for flag in $(EXTRA_TARGET_FLAGS); do \
29378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29379 done; \
29380 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29383 "RANLIB=$${RANLIB}" \
29384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29385 installcheck) \
29386 || exit 1
29388 @endif target-libstdc++-v3
29390 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29391 maybe-mostlyclean-target-libstdc++-v3:
29392 @if target-libstdc++-v3
29393 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29395 mostlyclean-target-libstdc++-v3:
29396 @: $(MAKE); $(unstage)
29397 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29398 r=`${PWD_COMMAND}`; export r; \
29399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29400 $(RAW_CXX_TARGET_EXPORTS) \
29401 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29402 for flag in $(EXTRA_TARGET_FLAGS); do \
29403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29404 done; \
29405 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29408 "RANLIB=$${RANLIB}" \
29409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29410 mostlyclean) \
29411 || exit 1
29413 @endif target-libstdc++-v3
29415 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29416 maybe-clean-target-libstdc++-v3:
29417 @if target-libstdc++-v3
29418 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29420 clean-target-libstdc++-v3:
29421 @: $(MAKE); $(unstage)
29422 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29423 r=`${PWD_COMMAND}`; export r; \
29424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29425 $(RAW_CXX_TARGET_EXPORTS) \
29426 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29427 for flag in $(EXTRA_TARGET_FLAGS); do \
29428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29429 done; \
29430 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29433 "RANLIB=$${RANLIB}" \
29434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29435 clean) \
29436 || exit 1
29438 @endif target-libstdc++-v3
29440 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29441 maybe-distclean-target-libstdc++-v3:
29442 @if target-libstdc++-v3
29443 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29445 distclean-target-libstdc++-v3:
29446 @: $(MAKE); $(unstage)
29447 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29448 r=`${PWD_COMMAND}`; export r; \
29449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29450 $(RAW_CXX_TARGET_EXPORTS) \
29451 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29452 for flag in $(EXTRA_TARGET_FLAGS); do \
29453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29454 done; \
29455 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29458 "RANLIB=$${RANLIB}" \
29459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29460 distclean) \
29461 || exit 1
29463 @endif target-libstdc++-v3
29465 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29466 maybe-maintainer-clean-target-libstdc++-v3:
29467 @if target-libstdc++-v3
29468 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29470 maintainer-clean-target-libstdc++-v3:
29471 @: $(MAKE); $(unstage)
29472 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29473 r=`${PWD_COMMAND}`; export r; \
29474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29475 $(RAW_CXX_TARGET_EXPORTS) \
29476 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29477 for flag in $(EXTRA_TARGET_FLAGS); do \
29478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29479 done; \
29480 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29483 "RANLIB=$${RANLIB}" \
29484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29485 maintainer-clean) \
29486 || exit 1
29488 @endif target-libstdc++-v3
29494 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29495 maybe-configure-target-libmudflap:
29496 @if target-libmudflap
29497 maybe-configure-target-libmudflap: configure-target-libmudflap
29498 configure-target-libmudflap:
29499 @: $(MAKE); $(unstage)
29500 @r=`${PWD_COMMAND}`; export r; \
29501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29502 echo "Checking multilib configuration for libmudflap..."; \
29503 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29504 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29505 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29506 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29507 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29508 else \
29509 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29510 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29511 fi; \
29512 else \
29513 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29514 fi; \
29515 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29516 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29517 $(NORMAL_TARGET_EXPORTS) \
29518 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29519 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29520 case $(srcdir) in \
29521 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29522 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29523 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29524 esac; \
29525 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29526 libsrcdir="$$s/libmudflap"; \
29527 rm -f no-such-file || : ; \
29528 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29529 $(TARGET_CONFIGARGS) $${srcdiroption} \
29530 || exit 1
29531 @endif target-libmudflap
29537 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29538 maybe-all-target-libmudflap:
29539 @if target-libmudflap
29540 TARGET-target-libmudflap=all
29541 maybe-all-target-libmudflap: all-target-libmudflap
29542 all-target-libmudflap: configure-target-libmudflap
29543 @: $(MAKE); $(unstage)
29544 @r=`${PWD_COMMAND}`; export r; \
29545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29546 $(NORMAL_TARGET_EXPORTS) \
29547 (cd $(TARGET_SUBDIR)/libmudflap && \
29548 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29549 @endif target-libmudflap
29555 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29556 maybe-check-target-libmudflap:
29557 @if target-libmudflap
29558 maybe-check-target-libmudflap: check-target-libmudflap
29560 check-target-libmudflap:
29561 @: $(MAKE); $(unstage)
29562 @r=`${PWD_COMMAND}`; export r; \
29563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29564 $(NORMAL_TARGET_EXPORTS) \
29565 (cd $(TARGET_SUBDIR)/libmudflap && \
29566 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29568 @endif target-libmudflap
29570 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29571 maybe-install-target-libmudflap:
29572 @if target-libmudflap
29573 maybe-install-target-libmudflap: install-target-libmudflap
29575 install-target-libmudflap: installdirs
29576 @: $(MAKE); $(unstage)
29577 @r=`${PWD_COMMAND}`; export r; \
29578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29579 $(NORMAL_TARGET_EXPORTS) \
29580 (cd $(TARGET_SUBDIR)/libmudflap && \
29581 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29583 @endif target-libmudflap
29585 # Other targets (info, dvi, etc.)
29587 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29588 maybe-info-target-libmudflap:
29589 @if target-libmudflap
29590 maybe-info-target-libmudflap: info-target-libmudflap
29592 info-target-libmudflap: \
29593 configure-target-libmudflap
29594 @: $(MAKE); $(unstage)
29595 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29596 r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 $(NORMAL_TARGET_EXPORTS) \
29599 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29600 for flag in $(EXTRA_TARGET_FLAGS); do \
29601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29602 done; \
29603 (cd $(TARGET_SUBDIR)/libmudflap && \
29604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29606 "RANLIB=$${RANLIB}" \
29607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29608 info) \
29609 || exit 1
29611 @endif target-libmudflap
29613 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29614 maybe-dvi-target-libmudflap:
29615 @if target-libmudflap
29616 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29618 dvi-target-libmudflap: \
29619 configure-target-libmudflap
29620 @: $(MAKE); $(unstage)
29621 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29622 r=`${PWD_COMMAND}`; export r; \
29623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29624 $(NORMAL_TARGET_EXPORTS) \
29625 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29626 for flag in $(EXTRA_TARGET_FLAGS); do \
29627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29628 done; \
29629 (cd $(TARGET_SUBDIR)/libmudflap && \
29630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29632 "RANLIB=$${RANLIB}" \
29633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29634 dvi) \
29635 || exit 1
29637 @endif target-libmudflap
29639 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29640 maybe-html-target-libmudflap:
29641 @if target-libmudflap
29642 maybe-html-target-libmudflap: html-target-libmudflap
29644 html-target-libmudflap: \
29645 configure-target-libmudflap
29646 @: $(MAKE); $(unstage)
29647 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29648 r=`${PWD_COMMAND}`; export r; \
29649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29650 $(NORMAL_TARGET_EXPORTS) \
29651 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29652 for flag in $(EXTRA_TARGET_FLAGS); do \
29653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29654 done; \
29655 (cd $(TARGET_SUBDIR)/libmudflap && \
29656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29658 "RANLIB=$${RANLIB}" \
29659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29660 html) \
29661 || exit 1
29663 @endif target-libmudflap
29665 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29666 maybe-TAGS-target-libmudflap:
29667 @if target-libmudflap
29668 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29670 TAGS-target-libmudflap: \
29671 configure-target-libmudflap
29672 @: $(MAKE); $(unstage)
29673 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29674 r=`${PWD_COMMAND}`; export r; \
29675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29676 $(NORMAL_TARGET_EXPORTS) \
29677 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29678 for flag in $(EXTRA_TARGET_FLAGS); do \
29679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29680 done; \
29681 (cd $(TARGET_SUBDIR)/libmudflap && \
29682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29684 "RANLIB=$${RANLIB}" \
29685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29686 TAGS) \
29687 || exit 1
29689 @endif target-libmudflap
29691 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29692 maybe-install-info-target-libmudflap:
29693 @if target-libmudflap
29694 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29696 install-info-target-libmudflap: \
29697 configure-target-libmudflap \
29698 info-target-libmudflap
29699 @: $(MAKE); $(unstage)
29700 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29701 r=`${PWD_COMMAND}`; export r; \
29702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29703 $(NORMAL_TARGET_EXPORTS) \
29704 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29705 for flag in $(EXTRA_TARGET_FLAGS); do \
29706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29707 done; \
29708 (cd $(TARGET_SUBDIR)/libmudflap && \
29709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29711 "RANLIB=$${RANLIB}" \
29712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29713 install-info) \
29714 || exit 1
29716 @endif target-libmudflap
29718 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29719 maybe-installcheck-target-libmudflap:
29720 @if target-libmudflap
29721 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29723 installcheck-target-libmudflap: \
29724 configure-target-libmudflap
29725 @: $(MAKE); $(unstage)
29726 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29727 r=`${PWD_COMMAND}`; export r; \
29728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29729 $(NORMAL_TARGET_EXPORTS) \
29730 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29731 for flag in $(EXTRA_TARGET_FLAGS); do \
29732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29733 done; \
29734 (cd $(TARGET_SUBDIR)/libmudflap && \
29735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29737 "RANLIB=$${RANLIB}" \
29738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29739 installcheck) \
29740 || exit 1
29742 @endif target-libmudflap
29744 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29745 maybe-mostlyclean-target-libmudflap:
29746 @if target-libmudflap
29747 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29749 mostlyclean-target-libmudflap:
29750 @: $(MAKE); $(unstage)
29751 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29752 r=`${PWD_COMMAND}`; export r; \
29753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29754 $(NORMAL_TARGET_EXPORTS) \
29755 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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 mostlyclean) \
29765 || exit 1
29767 @endif target-libmudflap
29769 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29770 maybe-clean-target-libmudflap:
29771 @if target-libmudflap
29772 maybe-clean-target-libmudflap: clean-target-libmudflap
29774 clean-target-libmudflap:
29775 @: $(MAKE); $(unstage)
29776 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29777 r=`${PWD_COMMAND}`; export r; \
29778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29779 $(NORMAL_TARGET_EXPORTS) \
29780 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29781 for flag in $(EXTRA_TARGET_FLAGS); do \
29782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29783 done; \
29784 (cd $(TARGET_SUBDIR)/libmudflap && \
29785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29787 "RANLIB=$${RANLIB}" \
29788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29789 clean) \
29790 || exit 1
29792 @endif target-libmudflap
29794 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29795 maybe-distclean-target-libmudflap:
29796 @if target-libmudflap
29797 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29799 distclean-target-libmudflap:
29800 @: $(MAKE); $(unstage)
29801 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29802 r=`${PWD_COMMAND}`; export r; \
29803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29804 $(NORMAL_TARGET_EXPORTS) \
29805 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29806 for flag in $(EXTRA_TARGET_FLAGS); do \
29807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29808 done; \
29809 (cd $(TARGET_SUBDIR)/libmudflap && \
29810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29812 "RANLIB=$${RANLIB}" \
29813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29814 distclean) \
29815 || exit 1
29817 @endif target-libmudflap
29819 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29820 maybe-maintainer-clean-target-libmudflap:
29821 @if target-libmudflap
29822 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29824 maintainer-clean-target-libmudflap:
29825 @: $(MAKE); $(unstage)
29826 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29827 r=`${PWD_COMMAND}`; export r; \
29828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29829 $(NORMAL_TARGET_EXPORTS) \
29830 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29831 for flag in $(EXTRA_TARGET_FLAGS); do \
29832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29833 done; \
29834 (cd $(TARGET_SUBDIR)/libmudflap && \
29835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29837 "RANLIB=$${RANLIB}" \
29838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29839 maintainer-clean) \
29840 || exit 1
29842 @endif target-libmudflap
29848 .PHONY: configure-target-libssp maybe-configure-target-libssp
29849 maybe-configure-target-libssp:
29850 @if target-libssp
29851 maybe-configure-target-libssp: configure-target-libssp
29852 configure-target-libssp:
29853 @: $(MAKE); $(unstage)
29854 @r=`${PWD_COMMAND}`; export r; \
29855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29856 echo "Checking multilib configuration for libssp..."; \
29857 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29858 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29859 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29860 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29861 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29862 else \
29863 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29864 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29865 fi; \
29866 else \
29867 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29868 fi; \
29869 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29870 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29871 $(NORMAL_TARGET_EXPORTS) \
29872 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29873 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29874 case $(srcdir) in \
29875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29876 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29878 esac; \
29879 srcdiroption="--srcdir=$${topdir}/libssp"; \
29880 libsrcdir="$$s/libssp"; \
29881 rm -f no-such-file || : ; \
29882 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29883 $(TARGET_CONFIGARGS) $${srcdiroption} \
29884 || exit 1
29885 @endif target-libssp
29891 .PHONY: all-target-libssp maybe-all-target-libssp
29892 maybe-all-target-libssp:
29893 @if target-libssp
29894 TARGET-target-libssp=all
29895 maybe-all-target-libssp: all-target-libssp
29896 all-target-libssp: configure-target-libssp
29897 @: $(MAKE); $(unstage)
29898 @r=`${PWD_COMMAND}`; export r; \
29899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29900 $(NORMAL_TARGET_EXPORTS) \
29901 (cd $(TARGET_SUBDIR)/libssp && \
29902 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29903 @endif target-libssp
29909 .PHONY: check-target-libssp maybe-check-target-libssp
29910 maybe-check-target-libssp:
29911 @if target-libssp
29912 maybe-check-target-libssp: check-target-libssp
29914 check-target-libssp:
29915 @: $(MAKE); $(unstage)
29916 @r=`${PWD_COMMAND}`; export r; \
29917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29918 $(NORMAL_TARGET_EXPORTS) \
29919 (cd $(TARGET_SUBDIR)/libssp && \
29920 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29922 @endif target-libssp
29924 .PHONY: install-target-libssp maybe-install-target-libssp
29925 maybe-install-target-libssp:
29926 @if target-libssp
29927 maybe-install-target-libssp: install-target-libssp
29929 install-target-libssp: installdirs
29930 @: $(MAKE); $(unstage)
29931 @r=`${PWD_COMMAND}`; export r; \
29932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29933 $(NORMAL_TARGET_EXPORTS) \
29934 (cd $(TARGET_SUBDIR)/libssp && \
29935 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29937 @endif target-libssp
29939 # Other targets (info, dvi, etc.)
29941 .PHONY: maybe-info-target-libssp info-target-libssp
29942 maybe-info-target-libssp:
29943 @if target-libssp
29944 maybe-info-target-libssp: info-target-libssp
29946 info-target-libssp: \
29947 configure-target-libssp
29948 @: $(MAKE); $(unstage)
29949 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29950 r=`${PWD_COMMAND}`; export r; \
29951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29952 $(NORMAL_TARGET_EXPORTS) \
29953 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29954 for flag in $(EXTRA_TARGET_FLAGS); do \
29955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29956 done; \
29957 (cd $(TARGET_SUBDIR)/libssp && \
29958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29960 "RANLIB=$${RANLIB}" \
29961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29962 info) \
29963 || exit 1
29965 @endif target-libssp
29967 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29968 maybe-dvi-target-libssp:
29969 @if target-libssp
29970 maybe-dvi-target-libssp: dvi-target-libssp
29972 dvi-target-libssp: \
29973 configure-target-libssp
29974 @: $(MAKE); $(unstage)
29975 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29976 r=`${PWD_COMMAND}`; export r; \
29977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29978 $(NORMAL_TARGET_EXPORTS) \
29979 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29980 for flag in $(EXTRA_TARGET_FLAGS); do \
29981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29982 done; \
29983 (cd $(TARGET_SUBDIR)/libssp && \
29984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29986 "RANLIB=$${RANLIB}" \
29987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29988 dvi) \
29989 || exit 1
29991 @endif target-libssp
29993 .PHONY: maybe-html-target-libssp html-target-libssp
29994 maybe-html-target-libssp:
29995 @if target-libssp
29996 maybe-html-target-libssp: html-target-libssp
29998 html-target-libssp: \
29999 configure-target-libssp
30000 @: $(MAKE); $(unstage)
30001 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30002 r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30004 $(NORMAL_TARGET_EXPORTS) \
30005 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
30006 for flag in $(EXTRA_TARGET_FLAGS); do \
30007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30008 done; \
30009 (cd $(TARGET_SUBDIR)/libssp && \
30010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30012 "RANLIB=$${RANLIB}" \
30013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30014 html) \
30015 || exit 1
30017 @endif target-libssp
30019 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
30020 maybe-TAGS-target-libssp:
30021 @if target-libssp
30022 maybe-TAGS-target-libssp: TAGS-target-libssp
30024 TAGS-target-libssp: \
30025 configure-target-libssp
30026 @: $(MAKE); $(unstage)
30027 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30028 r=`${PWD_COMMAND}`; export r; \
30029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30030 $(NORMAL_TARGET_EXPORTS) \
30031 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
30032 for flag in $(EXTRA_TARGET_FLAGS); do \
30033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30034 done; \
30035 (cd $(TARGET_SUBDIR)/libssp && \
30036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30038 "RANLIB=$${RANLIB}" \
30039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30040 TAGS) \
30041 || exit 1
30043 @endif target-libssp
30045 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
30046 maybe-install-info-target-libssp:
30047 @if target-libssp
30048 maybe-install-info-target-libssp: install-info-target-libssp
30050 install-info-target-libssp: \
30051 configure-target-libssp \
30052 info-target-libssp
30053 @: $(MAKE); $(unstage)
30054 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30055 r=`${PWD_COMMAND}`; export r; \
30056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30057 $(NORMAL_TARGET_EXPORTS) \
30058 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
30059 for flag in $(EXTRA_TARGET_FLAGS); do \
30060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30061 done; \
30062 (cd $(TARGET_SUBDIR)/libssp && \
30063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30065 "RANLIB=$${RANLIB}" \
30066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30067 install-info) \
30068 || exit 1
30070 @endif target-libssp
30072 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
30073 maybe-installcheck-target-libssp:
30074 @if target-libssp
30075 maybe-installcheck-target-libssp: installcheck-target-libssp
30077 installcheck-target-libssp: \
30078 configure-target-libssp
30079 @: $(MAKE); $(unstage)
30080 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30081 r=`${PWD_COMMAND}`; export r; \
30082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30083 $(NORMAL_TARGET_EXPORTS) \
30084 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
30085 for flag in $(EXTRA_TARGET_FLAGS); do \
30086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30087 done; \
30088 (cd $(TARGET_SUBDIR)/libssp && \
30089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30091 "RANLIB=$${RANLIB}" \
30092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30093 installcheck) \
30094 || exit 1
30096 @endif target-libssp
30098 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
30099 maybe-mostlyclean-target-libssp:
30100 @if target-libssp
30101 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
30103 mostlyclean-target-libssp:
30104 @: $(MAKE); $(unstage)
30105 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30106 r=`${PWD_COMMAND}`; export r; \
30107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30108 $(NORMAL_TARGET_EXPORTS) \
30109 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
30110 for flag in $(EXTRA_TARGET_FLAGS); do \
30111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30112 done; \
30113 (cd $(TARGET_SUBDIR)/libssp && \
30114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30116 "RANLIB=$${RANLIB}" \
30117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30118 mostlyclean) \
30119 || exit 1
30121 @endif target-libssp
30123 .PHONY: maybe-clean-target-libssp clean-target-libssp
30124 maybe-clean-target-libssp:
30125 @if target-libssp
30126 maybe-clean-target-libssp: clean-target-libssp
30128 clean-target-libssp:
30129 @: $(MAKE); $(unstage)
30130 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30131 r=`${PWD_COMMAND}`; export r; \
30132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30133 $(NORMAL_TARGET_EXPORTS) \
30134 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
30135 for flag in $(EXTRA_TARGET_FLAGS); do \
30136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30137 done; \
30138 (cd $(TARGET_SUBDIR)/libssp && \
30139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30141 "RANLIB=$${RANLIB}" \
30142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30143 clean) \
30144 || exit 1
30146 @endif target-libssp
30148 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
30149 maybe-distclean-target-libssp:
30150 @if target-libssp
30151 maybe-distclean-target-libssp: distclean-target-libssp
30153 distclean-target-libssp:
30154 @: $(MAKE); $(unstage)
30155 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30156 r=`${PWD_COMMAND}`; export r; \
30157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30158 $(NORMAL_TARGET_EXPORTS) \
30159 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
30160 for flag in $(EXTRA_TARGET_FLAGS); do \
30161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30162 done; \
30163 (cd $(TARGET_SUBDIR)/libssp && \
30164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30166 "RANLIB=$${RANLIB}" \
30167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30168 distclean) \
30169 || exit 1
30171 @endif target-libssp
30173 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
30174 maybe-maintainer-clean-target-libssp:
30175 @if target-libssp
30176 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
30178 maintainer-clean-target-libssp:
30179 @: $(MAKE); $(unstage)
30180 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30181 r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 $(NORMAL_TARGET_EXPORTS) \
30184 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
30185 for flag in $(EXTRA_TARGET_FLAGS); do \
30186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30187 done; \
30188 (cd $(TARGET_SUBDIR)/libssp && \
30189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30191 "RANLIB=$${RANLIB}" \
30192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30193 maintainer-clean) \
30194 || exit 1
30196 @endif target-libssp
30202 .PHONY: configure-target-libgcc-math maybe-configure-target-libgcc-math
30203 maybe-configure-target-libgcc-math:
30204 @if target-libgcc-math
30205 maybe-configure-target-libgcc-math: configure-target-libgcc-math
30206 configure-target-libgcc-math:
30207 @: $(MAKE); $(unstage)
30208 @r=`${PWD_COMMAND}`; export r; \
30209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30210 echo "Checking multilib configuration for libgcc-math..."; \
30211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
30212 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc-math/multilib.tmp 2> /dev/null ; \
30213 if test -r $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
30214 if cmp -s $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
30215 rm -f $(TARGET_SUBDIR)/libgcc-math/multilib.tmp; \
30216 else \
30217 rm -f $(TARGET_SUBDIR)/libgcc-math/Makefile; \
30218 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
30219 fi; \
30220 else \
30221 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
30222 fi; \
30223 test ! -f $(TARGET_SUBDIR)/libgcc-math/Makefile || exit 0; \
30224 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
30225 $(NORMAL_TARGET_EXPORTS) \
30226 echo Configuring in $(TARGET_SUBDIR)/libgcc-math; \
30227 cd "$(TARGET_SUBDIR)/libgcc-math" || exit 1; \
30228 case $(srcdir) in \
30229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30230 *) topdir=`echo $(TARGET_SUBDIR)/libgcc-math/ | \
30231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30232 esac; \
30233 srcdiroption="--srcdir=$${topdir}/libgcc-math"; \
30234 libsrcdir="$$s/libgcc-math"; \
30235 rm -f no-such-file || : ; \
30236 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30237 $(TARGET_CONFIGARGS) $${srcdiroption} \
30238 || exit 1
30239 @endif target-libgcc-math
30245 .PHONY: all-target-libgcc-math maybe-all-target-libgcc-math
30246 maybe-all-target-libgcc-math:
30247 @if target-libgcc-math
30248 TARGET-target-libgcc-math=all
30249 maybe-all-target-libgcc-math: all-target-libgcc-math
30250 all-target-libgcc-math: configure-target-libgcc-math
30251 @: $(MAKE); $(unstage)
30252 @r=`${PWD_COMMAND}`; export r; \
30253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30254 $(NORMAL_TARGET_EXPORTS) \
30255 (cd $(TARGET_SUBDIR)/libgcc-math && \
30256 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc-math))
30257 @endif target-libgcc-math
30263 .PHONY: check-target-libgcc-math maybe-check-target-libgcc-math
30264 maybe-check-target-libgcc-math:
30265 @if target-libgcc-math
30266 maybe-check-target-libgcc-math: check-target-libgcc-math
30268 check-target-libgcc-math:
30269 @: $(MAKE); $(unstage)
30270 @r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 $(NORMAL_TARGET_EXPORTS) \
30273 (cd $(TARGET_SUBDIR)/libgcc-math && \
30274 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30276 @endif target-libgcc-math
30278 .PHONY: install-target-libgcc-math maybe-install-target-libgcc-math
30279 maybe-install-target-libgcc-math:
30280 @if target-libgcc-math
30281 maybe-install-target-libgcc-math: install-target-libgcc-math
30283 install-target-libgcc-math: installdirs
30284 @: $(MAKE); $(unstage)
30285 @r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 $(NORMAL_TARGET_EXPORTS) \
30288 (cd $(TARGET_SUBDIR)/libgcc-math && \
30289 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30291 @endif target-libgcc-math
30293 # Other targets (info, dvi, etc.)
30295 .PHONY: maybe-info-target-libgcc-math info-target-libgcc-math
30296 maybe-info-target-libgcc-math:
30297 @if target-libgcc-math
30298 maybe-info-target-libgcc-math: info-target-libgcc-math
30300 info-target-libgcc-math: \
30301 configure-target-libgcc-math
30302 @: $(MAKE); $(unstage)
30303 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30304 r=`${PWD_COMMAND}`; export r; \
30305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30306 $(NORMAL_TARGET_EXPORTS) \
30307 echo "Doing info in $(TARGET_SUBDIR)/libgcc-math" ; \
30308 for flag in $(EXTRA_TARGET_FLAGS); do \
30309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30310 done; \
30311 (cd $(TARGET_SUBDIR)/libgcc-math && \
30312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30314 "RANLIB=$${RANLIB}" \
30315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30316 info) \
30317 || exit 1
30319 @endif target-libgcc-math
30321 .PHONY: maybe-dvi-target-libgcc-math dvi-target-libgcc-math
30322 maybe-dvi-target-libgcc-math:
30323 @if target-libgcc-math
30324 maybe-dvi-target-libgcc-math: dvi-target-libgcc-math
30326 dvi-target-libgcc-math: \
30327 configure-target-libgcc-math
30328 @: $(MAKE); $(unstage)
30329 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30330 r=`${PWD_COMMAND}`; export r; \
30331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30332 $(NORMAL_TARGET_EXPORTS) \
30333 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc-math" ; \
30334 for flag in $(EXTRA_TARGET_FLAGS); do \
30335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30336 done; \
30337 (cd $(TARGET_SUBDIR)/libgcc-math && \
30338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30340 "RANLIB=$${RANLIB}" \
30341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30342 dvi) \
30343 || exit 1
30345 @endif target-libgcc-math
30347 .PHONY: maybe-html-target-libgcc-math html-target-libgcc-math
30348 maybe-html-target-libgcc-math:
30349 @if target-libgcc-math
30350 maybe-html-target-libgcc-math: html-target-libgcc-math
30352 html-target-libgcc-math: \
30353 configure-target-libgcc-math
30354 @: $(MAKE); $(unstage)
30355 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30356 r=`${PWD_COMMAND}`; export r; \
30357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30358 $(NORMAL_TARGET_EXPORTS) \
30359 echo "Doing html in $(TARGET_SUBDIR)/libgcc-math" ; \
30360 for flag in $(EXTRA_TARGET_FLAGS); do \
30361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30362 done; \
30363 (cd $(TARGET_SUBDIR)/libgcc-math && \
30364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30366 "RANLIB=$${RANLIB}" \
30367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30368 html) \
30369 || exit 1
30371 @endif target-libgcc-math
30373 .PHONY: maybe-TAGS-target-libgcc-math TAGS-target-libgcc-math
30374 maybe-TAGS-target-libgcc-math:
30375 @if target-libgcc-math
30376 maybe-TAGS-target-libgcc-math: TAGS-target-libgcc-math
30378 TAGS-target-libgcc-math: \
30379 configure-target-libgcc-math
30380 @: $(MAKE); $(unstage)
30381 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30382 r=`${PWD_COMMAND}`; export r; \
30383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30384 $(NORMAL_TARGET_EXPORTS) \
30385 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc-math" ; \
30386 for flag in $(EXTRA_TARGET_FLAGS); do \
30387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30388 done; \
30389 (cd $(TARGET_SUBDIR)/libgcc-math && \
30390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30392 "RANLIB=$${RANLIB}" \
30393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30394 TAGS) \
30395 || exit 1
30397 @endif target-libgcc-math
30399 .PHONY: maybe-install-info-target-libgcc-math install-info-target-libgcc-math
30400 maybe-install-info-target-libgcc-math:
30401 @if target-libgcc-math
30402 maybe-install-info-target-libgcc-math: install-info-target-libgcc-math
30404 install-info-target-libgcc-math: \
30405 configure-target-libgcc-math \
30406 info-target-libgcc-math
30407 @: $(MAKE); $(unstage)
30408 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30409 r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 $(NORMAL_TARGET_EXPORTS) \
30412 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc-math" ; \
30413 for flag in $(EXTRA_TARGET_FLAGS); do \
30414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30415 done; \
30416 (cd $(TARGET_SUBDIR)/libgcc-math && \
30417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30419 "RANLIB=$${RANLIB}" \
30420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30421 install-info) \
30422 || exit 1
30424 @endif target-libgcc-math
30426 .PHONY: maybe-installcheck-target-libgcc-math installcheck-target-libgcc-math
30427 maybe-installcheck-target-libgcc-math:
30428 @if target-libgcc-math
30429 maybe-installcheck-target-libgcc-math: installcheck-target-libgcc-math
30431 installcheck-target-libgcc-math: \
30432 configure-target-libgcc-math
30433 @: $(MAKE); $(unstage)
30434 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30435 r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30437 $(NORMAL_TARGET_EXPORTS) \
30438 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc-math" ; \
30439 for flag in $(EXTRA_TARGET_FLAGS); do \
30440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30441 done; \
30442 (cd $(TARGET_SUBDIR)/libgcc-math && \
30443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30445 "RANLIB=$${RANLIB}" \
30446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30447 installcheck) \
30448 || exit 1
30450 @endif target-libgcc-math
30452 .PHONY: maybe-mostlyclean-target-libgcc-math mostlyclean-target-libgcc-math
30453 maybe-mostlyclean-target-libgcc-math:
30454 @if target-libgcc-math
30455 maybe-mostlyclean-target-libgcc-math: mostlyclean-target-libgcc-math
30457 mostlyclean-target-libgcc-math:
30458 @: $(MAKE); $(unstage)
30459 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30460 r=`${PWD_COMMAND}`; export r; \
30461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30462 $(NORMAL_TARGET_EXPORTS) \
30463 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30464 for flag in $(EXTRA_TARGET_FLAGS); do \
30465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30466 done; \
30467 (cd $(TARGET_SUBDIR)/libgcc-math && \
30468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30470 "RANLIB=$${RANLIB}" \
30471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30472 mostlyclean) \
30473 || exit 1
30475 @endif target-libgcc-math
30477 .PHONY: maybe-clean-target-libgcc-math clean-target-libgcc-math
30478 maybe-clean-target-libgcc-math:
30479 @if target-libgcc-math
30480 maybe-clean-target-libgcc-math: clean-target-libgcc-math
30482 clean-target-libgcc-math:
30483 @: $(MAKE); $(unstage)
30484 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30485 r=`${PWD_COMMAND}`; export r; \
30486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30487 $(NORMAL_TARGET_EXPORTS) \
30488 echo "Doing clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30489 for flag in $(EXTRA_TARGET_FLAGS); do \
30490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30491 done; \
30492 (cd $(TARGET_SUBDIR)/libgcc-math && \
30493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30495 "RANLIB=$${RANLIB}" \
30496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30497 clean) \
30498 || exit 1
30500 @endif target-libgcc-math
30502 .PHONY: maybe-distclean-target-libgcc-math distclean-target-libgcc-math
30503 maybe-distclean-target-libgcc-math:
30504 @if target-libgcc-math
30505 maybe-distclean-target-libgcc-math: distclean-target-libgcc-math
30507 distclean-target-libgcc-math:
30508 @: $(MAKE); $(unstage)
30509 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30510 r=`${PWD_COMMAND}`; export r; \
30511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30512 $(NORMAL_TARGET_EXPORTS) \
30513 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30514 for flag in $(EXTRA_TARGET_FLAGS); do \
30515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30516 done; \
30517 (cd $(TARGET_SUBDIR)/libgcc-math && \
30518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30520 "RANLIB=$${RANLIB}" \
30521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30522 distclean) \
30523 || exit 1
30525 @endif target-libgcc-math
30527 .PHONY: maybe-maintainer-clean-target-libgcc-math maintainer-clean-target-libgcc-math
30528 maybe-maintainer-clean-target-libgcc-math:
30529 @if target-libgcc-math
30530 maybe-maintainer-clean-target-libgcc-math: maintainer-clean-target-libgcc-math
30532 maintainer-clean-target-libgcc-math:
30533 @: $(MAKE); $(unstage)
30534 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30535 r=`${PWD_COMMAND}`; export r; \
30536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30537 $(NORMAL_TARGET_EXPORTS) \
30538 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30539 for flag in $(EXTRA_TARGET_FLAGS); do \
30540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30541 done; \
30542 (cd $(TARGET_SUBDIR)/libgcc-math && \
30543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30545 "RANLIB=$${RANLIB}" \
30546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30547 maintainer-clean) \
30548 || exit 1
30550 @endif target-libgcc-math
30556 .PHONY: configure-target-newlib maybe-configure-target-newlib
30557 maybe-configure-target-newlib:
30558 @if target-newlib
30559 maybe-configure-target-newlib: configure-target-newlib
30560 configure-target-newlib:
30561 @: $(MAKE); $(unstage)
30562 @r=`${PWD_COMMAND}`; export r; \
30563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30564 echo "Checking multilib configuration for newlib..."; \
30565 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30566 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
30567 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
30568 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
30569 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
30570 else \
30571 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
30572 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30573 fi; \
30574 else \
30575 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30576 fi; \
30577 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
30578 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30579 $(NORMAL_TARGET_EXPORTS) \
30580 echo Configuring in $(TARGET_SUBDIR)/newlib; \
30581 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
30582 case $(srcdir) in \
30583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30584 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
30585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30586 esac; \
30587 srcdiroption="--srcdir=$${topdir}/newlib"; \
30588 libsrcdir="$$s/newlib"; \
30589 rm -f no-such-file || : ; \
30590 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30591 $(TARGET_CONFIGARGS) $${srcdiroption} \
30592 || exit 1
30593 @endif target-newlib
30599 .PHONY: all-target-newlib maybe-all-target-newlib
30600 maybe-all-target-newlib:
30601 @if target-newlib
30602 TARGET-target-newlib=all
30603 maybe-all-target-newlib: all-target-newlib
30604 all-target-newlib: configure-target-newlib
30605 @: $(MAKE); $(unstage)
30606 @r=`${PWD_COMMAND}`; export r; \
30607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30608 $(NORMAL_TARGET_EXPORTS) \
30609 (cd $(TARGET_SUBDIR)/newlib && \
30610 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
30611 @endif target-newlib
30617 .PHONY: check-target-newlib maybe-check-target-newlib
30618 maybe-check-target-newlib:
30619 @if target-newlib
30620 maybe-check-target-newlib: check-target-newlib
30622 check-target-newlib:
30623 @: $(MAKE); $(unstage)
30624 @r=`${PWD_COMMAND}`; export r; \
30625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30626 $(NORMAL_TARGET_EXPORTS) \
30627 (cd $(TARGET_SUBDIR)/newlib && \
30628 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30630 @endif target-newlib
30632 .PHONY: install-target-newlib maybe-install-target-newlib
30633 maybe-install-target-newlib:
30634 @if target-newlib
30635 maybe-install-target-newlib: install-target-newlib
30637 install-target-newlib: installdirs
30638 @: $(MAKE); $(unstage)
30639 @r=`${PWD_COMMAND}`; export r; \
30640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30641 $(NORMAL_TARGET_EXPORTS) \
30642 (cd $(TARGET_SUBDIR)/newlib && \
30643 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30645 @endif target-newlib
30647 # Other targets (info, dvi, etc.)
30649 .PHONY: maybe-info-target-newlib info-target-newlib
30650 maybe-info-target-newlib:
30651 @if target-newlib
30652 maybe-info-target-newlib: info-target-newlib
30654 info-target-newlib: \
30655 configure-target-newlib
30656 @: $(MAKE); $(unstage)
30657 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30658 r=`${PWD_COMMAND}`; export r; \
30659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30660 $(NORMAL_TARGET_EXPORTS) \
30661 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30662 for flag in $(EXTRA_TARGET_FLAGS); do \
30663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30664 done; \
30665 (cd $(TARGET_SUBDIR)/newlib && \
30666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30668 "RANLIB=$${RANLIB}" \
30669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30670 info) \
30671 || exit 1
30673 @endif target-newlib
30675 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30676 maybe-dvi-target-newlib:
30677 @if target-newlib
30678 maybe-dvi-target-newlib: dvi-target-newlib
30680 dvi-target-newlib: \
30681 configure-target-newlib
30682 @: $(MAKE); $(unstage)
30683 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30684 r=`${PWD_COMMAND}`; export r; \
30685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30686 $(NORMAL_TARGET_EXPORTS) \
30687 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30688 for flag in $(EXTRA_TARGET_FLAGS); do \
30689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30690 done; \
30691 (cd $(TARGET_SUBDIR)/newlib && \
30692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30694 "RANLIB=$${RANLIB}" \
30695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30696 dvi) \
30697 || exit 1
30699 @endif target-newlib
30701 .PHONY: maybe-html-target-newlib html-target-newlib
30702 maybe-html-target-newlib:
30703 @if target-newlib
30704 maybe-html-target-newlib: html-target-newlib
30706 html-target-newlib: \
30707 configure-target-newlib
30708 @: $(MAKE); $(unstage)
30709 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30710 r=`${PWD_COMMAND}`; export r; \
30711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30712 $(NORMAL_TARGET_EXPORTS) \
30713 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30714 for flag in $(EXTRA_TARGET_FLAGS); do \
30715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30716 done; \
30717 (cd $(TARGET_SUBDIR)/newlib && \
30718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30720 "RANLIB=$${RANLIB}" \
30721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30722 html) \
30723 || exit 1
30725 @endif target-newlib
30727 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30728 maybe-TAGS-target-newlib:
30729 @if target-newlib
30730 maybe-TAGS-target-newlib: TAGS-target-newlib
30732 TAGS-target-newlib: \
30733 configure-target-newlib
30734 @: $(MAKE); $(unstage)
30735 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30736 r=`${PWD_COMMAND}`; export r; \
30737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30738 $(NORMAL_TARGET_EXPORTS) \
30739 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30740 for flag in $(EXTRA_TARGET_FLAGS); do \
30741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30742 done; \
30743 (cd $(TARGET_SUBDIR)/newlib && \
30744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30746 "RANLIB=$${RANLIB}" \
30747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30748 TAGS) \
30749 || exit 1
30751 @endif target-newlib
30753 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30754 maybe-install-info-target-newlib:
30755 @if target-newlib
30756 maybe-install-info-target-newlib: install-info-target-newlib
30758 install-info-target-newlib: \
30759 configure-target-newlib \
30760 info-target-newlib
30761 @: $(MAKE); $(unstage)
30762 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30763 r=`${PWD_COMMAND}`; export r; \
30764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30765 $(NORMAL_TARGET_EXPORTS) \
30766 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30767 for flag in $(EXTRA_TARGET_FLAGS); do \
30768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30769 done; \
30770 (cd $(TARGET_SUBDIR)/newlib && \
30771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30773 "RANLIB=$${RANLIB}" \
30774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30775 install-info) \
30776 || exit 1
30778 @endif target-newlib
30780 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30781 maybe-installcheck-target-newlib:
30782 @if target-newlib
30783 maybe-installcheck-target-newlib: installcheck-target-newlib
30785 installcheck-target-newlib: \
30786 configure-target-newlib
30787 @: $(MAKE); $(unstage)
30788 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30789 r=`${PWD_COMMAND}`; export r; \
30790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30791 $(NORMAL_TARGET_EXPORTS) \
30792 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30793 for flag in $(EXTRA_TARGET_FLAGS); do \
30794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30795 done; \
30796 (cd $(TARGET_SUBDIR)/newlib && \
30797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30799 "RANLIB=$${RANLIB}" \
30800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30801 installcheck) \
30802 || exit 1
30804 @endif target-newlib
30806 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30807 maybe-mostlyclean-target-newlib:
30808 @if target-newlib
30809 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30811 mostlyclean-target-newlib:
30812 @: $(MAKE); $(unstage)
30813 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30814 r=`${PWD_COMMAND}`; export r; \
30815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30816 $(NORMAL_TARGET_EXPORTS) \
30817 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30818 for flag in $(EXTRA_TARGET_FLAGS); do \
30819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30820 done; \
30821 (cd $(TARGET_SUBDIR)/newlib && \
30822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30824 "RANLIB=$${RANLIB}" \
30825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30826 mostlyclean) \
30827 || exit 1
30829 @endif target-newlib
30831 .PHONY: maybe-clean-target-newlib clean-target-newlib
30832 maybe-clean-target-newlib:
30833 @if target-newlib
30834 maybe-clean-target-newlib: clean-target-newlib
30836 clean-target-newlib:
30837 @: $(MAKE); $(unstage)
30838 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30839 r=`${PWD_COMMAND}`; export r; \
30840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30841 $(NORMAL_TARGET_EXPORTS) \
30842 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30843 for flag in $(EXTRA_TARGET_FLAGS); do \
30844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30845 done; \
30846 (cd $(TARGET_SUBDIR)/newlib && \
30847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30849 "RANLIB=$${RANLIB}" \
30850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30851 clean) \
30852 || exit 1
30854 @endif target-newlib
30856 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30857 maybe-distclean-target-newlib:
30858 @if target-newlib
30859 maybe-distclean-target-newlib: distclean-target-newlib
30861 distclean-target-newlib:
30862 @: $(MAKE); $(unstage)
30863 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30864 r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(NORMAL_TARGET_EXPORTS) \
30867 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30868 for flag in $(EXTRA_TARGET_FLAGS); do \
30869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30870 done; \
30871 (cd $(TARGET_SUBDIR)/newlib && \
30872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30874 "RANLIB=$${RANLIB}" \
30875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30876 distclean) \
30877 || exit 1
30879 @endif target-newlib
30881 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30882 maybe-maintainer-clean-target-newlib:
30883 @if target-newlib
30884 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30886 maintainer-clean-target-newlib:
30887 @: $(MAKE); $(unstage)
30888 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30889 r=`${PWD_COMMAND}`; export r; \
30890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30891 $(NORMAL_TARGET_EXPORTS) \
30892 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30893 for flag in $(EXTRA_TARGET_FLAGS); do \
30894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30895 done; \
30896 (cd $(TARGET_SUBDIR)/newlib && \
30897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30899 "RANLIB=$${RANLIB}" \
30900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30901 maintainer-clean) \
30902 || exit 1
30904 @endif target-newlib
30910 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30911 maybe-configure-target-libgfortran:
30912 @if target-libgfortran
30913 maybe-configure-target-libgfortran: configure-target-libgfortran
30914 configure-target-libgfortran:
30915 @: $(MAKE); $(unstage)
30916 @r=`${PWD_COMMAND}`; export r; \
30917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30918 echo "Checking multilib configuration for libgfortran..."; \
30919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30920 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30921 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30922 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30923 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30924 else \
30925 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30926 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30927 fi; \
30928 else \
30929 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30930 fi; \
30931 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30933 $(NORMAL_TARGET_EXPORTS) \
30934 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30935 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30936 case $(srcdir) in \
30937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30938 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30940 esac; \
30941 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30942 libsrcdir="$$s/libgfortran"; \
30943 rm -f no-such-file || : ; \
30944 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30945 $(TARGET_CONFIGARGS) $${srcdiroption} \
30946 || exit 1
30947 @endif target-libgfortran
30953 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30954 maybe-all-target-libgfortran:
30955 @if target-libgfortran
30956 TARGET-target-libgfortran=all
30957 maybe-all-target-libgfortran: all-target-libgfortran
30958 all-target-libgfortran: configure-target-libgfortran
30959 @: $(MAKE); $(unstage)
30960 @r=`${PWD_COMMAND}`; export r; \
30961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30962 $(NORMAL_TARGET_EXPORTS) \
30963 (cd $(TARGET_SUBDIR)/libgfortran && \
30964 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30965 @endif target-libgfortran
30971 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30972 maybe-check-target-libgfortran:
30973 @if target-libgfortran
30974 maybe-check-target-libgfortran: check-target-libgfortran
30976 check-target-libgfortran:
30977 @: $(MAKE); $(unstage)
30978 @r=`${PWD_COMMAND}`; export r; \
30979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30980 $(NORMAL_TARGET_EXPORTS) \
30981 (cd $(TARGET_SUBDIR)/libgfortran && \
30982 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30984 @endif target-libgfortran
30986 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30987 maybe-install-target-libgfortran:
30988 @if target-libgfortran
30989 maybe-install-target-libgfortran: install-target-libgfortran
30991 install-target-libgfortran: installdirs
30992 @: $(MAKE); $(unstage)
30993 @r=`${PWD_COMMAND}`; export r; \
30994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30995 $(NORMAL_TARGET_EXPORTS) \
30996 (cd $(TARGET_SUBDIR)/libgfortran && \
30997 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30999 @endif target-libgfortran
31001 # Other targets (info, dvi, etc.)
31003 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
31004 maybe-info-target-libgfortran:
31005 @if target-libgfortran
31006 maybe-info-target-libgfortran: info-target-libgfortran
31008 info-target-libgfortran: \
31009 configure-target-libgfortran
31010 @: $(MAKE); $(unstage)
31011 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31012 r=`${PWD_COMMAND}`; export r; \
31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31014 $(NORMAL_TARGET_EXPORTS) \
31015 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
31016 for flag in $(EXTRA_TARGET_FLAGS); do \
31017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31018 done; \
31019 (cd $(TARGET_SUBDIR)/libgfortran && \
31020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31022 "RANLIB=$${RANLIB}" \
31023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31024 info) \
31025 || exit 1
31027 @endif target-libgfortran
31029 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
31030 maybe-dvi-target-libgfortran:
31031 @if target-libgfortran
31032 maybe-dvi-target-libgfortran: dvi-target-libgfortran
31034 dvi-target-libgfortran: \
31035 configure-target-libgfortran
31036 @: $(MAKE); $(unstage)
31037 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31038 r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(NORMAL_TARGET_EXPORTS) \
31041 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
31042 for flag in $(EXTRA_TARGET_FLAGS); do \
31043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31044 done; \
31045 (cd $(TARGET_SUBDIR)/libgfortran && \
31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31048 "RANLIB=$${RANLIB}" \
31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31050 dvi) \
31051 || exit 1
31053 @endif target-libgfortran
31055 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
31056 maybe-html-target-libgfortran:
31057 @if target-libgfortran
31058 maybe-html-target-libgfortran: html-target-libgfortran
31060 html-target-libgfortran: \
31061 configure-target-libgfortran
31062 @: $(MAKE); $(unstage)
31063 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31064 r=`${PWD_COMMAND}`; export r; \
31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31066 $(NORMAL_TARGET_EXPORTS) \
31067 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
31068 for flag in $(EXTRA_TARGET_FLAGS); do \
31069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31070 done; \
31071 (cd $(TARGET_SUBDIR)/libgfortran && \
31072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31074 "RANLIB=$${RANLIB}" \
31075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31076 html) \
31077 || exit 1
31079 @endif target-libgfortran
31081 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
31082 maybe-TAGS-target-libgfortran:
31083 @if target-libgfortran
31084 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
31086 TAGS-target-libgfortran: \
31087 configure-target-libgfortran
31088 @: $(MAKE); $(unstage)
31089 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31090 r=`${PWD_COMMAND}`; export r; \
31091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31092 $(NORMAL_TARGET_EXPORTS) \
31093 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
31094 for flag in $(EXTRA_TARGET_FLAGS); do \
31095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31096 done; \
31097 (cd $(TARGET_SUBDIR)/libgfortran && \
31098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31100 "RANLIB=$${RANLIB}" \
31101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31102 TAGS) \
31103 || exit 1
31105 @endif target-libgfortran
31107 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
31108 maybe-install-info-target-libgfortran:
31109 @if target-libgfortran
31110 maybe-install-info-target-libgfortran: install-info-target-libgfortran
31112 install-info-target-libgfortran: \
31113 configure-target-libgfortran \
31114 info-target-libgfortran
31115 @: $(MAKE); $(unstage)
31116 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31117 r=`${PWD_COMMAND}`; export r; \
31118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31119 $(NORMAL_TARGET_EXPORTS) \
31120 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
31121 for flag in $(EXTRA_TARGET_FLAGS); do \
31122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31123 done; \
31124 (cd $(TARGET_SUBDIR)/libgfortran && \
31125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31127 "RANLIB=$${RANLIB}" \
31128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31129 install-info) \
31130 || exit 1
31132 @endif target-libgfortran
31134 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
31135 maybe-installcheck-target-libgfortran:
31136 @if target-libgfortran
31137 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
31139 installcheck-target-libgfortran: \
31140 configure-target-libgfortran
31141 @: $(MAKE); $(unstage)
31142 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31143 r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(NORMAL_TARGET_EXPORTS) \
31146 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
31147 for flag in $(EXTRA_TARGET_FLAGS); do \
31148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31149 done; \
31150 (cd $(TARGET_SUBDIR)/libgfortran && \
31151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31153 "RANLIB=$${RANLIB}" \
31154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31155 installcheck) \
31156 || exit 1
31158 @endif target-libgfortran
31160 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
31161 maybe-mostlyclean-target-libgfortran:
31162 @if target-libgfortran
31163 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
31165 mostlyclean-target-libgfortran:
31166 @: $(MAKE); $(unstage)
31167 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31168 r=`${PWD_COMMAND}`; export r; \
31169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31170 $(NORMAL_TARGET_EXPORTS) \
31171 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
31172 for flag in $(EXTRA_TARGET_FLAGS); do \
31173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31174 done; \
31175 (cd $(TARGET_SUBDIR)/libgfortran && \
31176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31178 "RANLIB=$${RANLIB}" \
31179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31180 mostlyclean) \
31181 || exit 1
31183 @endif target-libgfortran
31185 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
31186 maybe-clean-target-libgfortran:
31187 @if target-libgfortran
31188 maybe-clean-target-libgfortran: clean-target-libgfortran
31190 clean-target-libgfortran:
31191 @: $(MAKE); $(unstage)
31192 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31193 r=`${PWD_COMMAND}`; export r; \
31194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31195 $(NORMAL_TARGET_EXPORTS) \
31196 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
31197 for flag in $(EXTRA_TARGET_FLAGS); do \
31198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31199 done; \
31200 (cd $(TARGET_SUBDIR)/libgfortran && \
31201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31203 "RANLIB=$${RANLIB}" \
31204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31205 clean) \
31206 || exit 1
31208 @endif target-libgfortran
31210 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
31211 maybe-distclean-target-libgfortran:
31212 @if target-libgfortran
31213 maybe-distclean-target-libgfortran: distclean-target-libgfortran
31215 distclean-target-libgfortran:
31216 @: $(MAKE); $(unstage)
31217 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31218 r=`${PWD_COMMAND}`; export r; \
31219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31220 $(NORMAL_TARGET_EXPORTS) \
31221 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
31222 for flag in $(EXTRA_TARGET_FLAGS); do \
31223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31224 done; \
31225 (cd $(TARGET_SUBDIR)/libgfortran && \
31226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31228 "RANLIB=$${RANLIB}" \
31229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31230 distclean) \
31231 || exit 1
31233 @endif target-libgfortran
31235 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
31236 maybe-maintainer-clean-target-libgfortran:
31237 @if target-libgfortran
31238 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
31240 maintainer-clean-target-libgfortran:
31241 @: $(MAKE); $(unstage)
31242 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31243 r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 $(NORMAL_TARGET_EXPORTS) \
31246 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
31247 for flag in $(EXTRA_TARGET_FLAGS); do \
31248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31249 done; \
31250 (cd $(TARGET_SUBDIR)/libgfortran && \
31251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31253 "RANLIB=$${RANLIB}" \
31254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31255 maintainer-clean) \
31256 || exit 1
31258 @endif target-libgfortran
31264 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
31265 maybe-configure-target-libobjc:
31266 @if target-libobjc
31267 maybe-configure-target-libobjc: configure-target-libobjc
31268 configure-target-libobjc:
31269 @: $(MAKE); $(unstage)
31270 @r=`${PWD_COMMAND}`; export r; \
31271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31272 echo "Checking multilib configuration for libobjc..."; \
31273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
31275 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31276 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31277 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
31278 else \
31279 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
31280 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31281 fi; \
31282 else \
31283 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31284 fi; \
31285 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
31286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31287 $(NORMAL_TARGET_EXPORTS) \
31288 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
31289 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
31290 case $(srcdir) in \
31291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31292 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
31293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31294 esac; \
31295 srcdiroption="--srcdir=$${topdir}/libobjc"; \
31296 libsrcdir="$$s/libobjc"; \
31297 rm -f no-such-file || : ; \
31298 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31299 $(TARGET_CONFIGARGS) $${srcdiroption} \
31300 || exit 1
31301 @endif target-libobjc
31307 .PHONY: all-target-libobjc maybe-all-target-libobjc
31308 maybe-all-target-libobjc:
31309 @if target-libobjc
31310 TARGET-target-libobjc=all
31311 maybe-all-target-libobjc: all-target-libobjc
31312 all-target-libobjc: configure-target-libobjc
31313 @: $(MAKE); $(unstage)
31314 @r=`${PWD_COMMAND}`; export r; \
31315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31316 $(NORMAL_TARGET_EXPORTS) \
31317 (cd $(TARGET_SUBDIR)/libobjc && \
31318 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
31319 @endif target-libobjc
31325 .PHONY: check-target-libobjc maybe-check-target-libobjc
31326 maybe-check-target-libobjc:
31327 @if target-libobjc
31328 maybe-check-target-libobjc: check-target-libobjc
31330 check-target-libobjc:
31331 @: $(MAKE); $(unstage)
31332 @r=`${PWD_COMMAND}`; export r; \
31333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31334 $(NORMAL_TARGET_EXPORTS) \
31335 (cd $(TARGET_SUBDIR)/libobjc && \
31336 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31338 @endif target-libobjc
31340 .PHONY: install-target-libobjc maybe-install-target-libobjc
31341 maybe-install-target-libobjc:
31342 @if target-libobjc
31343 maybe-install-target-libobjc: install-target-libobjc
31345 install-target-libobjc: installdirs
31346 @: $(MAKE); $(unstage)
31347 @r=`${PWD_COMMAND}`; export r; \
31348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31349 $(NORMAL_TARGET_EXPORTS) \
31350 (cd $(TARGET_SUBDIR)/libobjc && \
31351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31353 @endif target-libobjc
31355 # Other targets (info, dvi, etc.)
31357 .PHONY: maybe-info-target-libobjc info-target-libobjc
31358 maybe-info-target-libobjc:
31359 @if target-libobjc
31360 maybe-info-target-libobjc: info-target-libobjc
31362 info-target-libobjc: \
31363 configure-target-libobjc
31364 @: $(MAKE); $(unstage)
31365 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31366 r=`${PWD_COMMAND}`; export r; \
31367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31368 $(NORMAL_TARGET_EXPORTS) \
31369 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
31370 for flag in $(EXTRA_TARGET_FLAGS); do \
31371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31372 done; \
31373 (cd $(TARGET_SUBDIR)/libobjc && \
31374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31376 "RANLIB=$${RANLIB}" \
31377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31378 info) \
31379 || exit 1
31381 @endif target-libobjc
31383 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
31384 maybe-dvi-target-libobjc:
31385 @if target-libobjc
31386 maybe-dvi-target-libobjc: dvi-target-libobjc
31388 dvi-target-libobjc: \
31389 configure-target-libobjc
31390 @: $(MAKE); $(unstage)
31391 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31392 r=`${PWD_COMMAND}`; export r; \
31393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31394 $(NORMAL_TARGET_EXPORTS) \
31395 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
31396 for flag in $(EXTRA_TARGET_FLAGS); do \
31397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31398 done; \
31399 (cd $(TARGET_SUBDIR)/libobjc && \
31400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31402 "RANLIB=$${RANLIB}" \
31403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31404 dvi) \
31405 || exit 1
31407 @endif target-libobjc
31409 .PHONY: maybe-html-target-libobjc html-target-libobjc
31410 maybe-html-target-libobjc:
31411 @if target-libobjc
31412 maybe-html-target-libobjc: html-target-libobjc
31414 html-target-libobjc: \
31415 configure-target-libobjc
31416 @: $(MAKE); $(unstage)
31417 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(NORMAL_TARGET_EXPORTS) \
31421 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 (cd $(TARGET_SUBDIR)/libobjc && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31430 html) \
31431 || exit 1
31433 @endif target-libobjc
31435 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
31436 maybe-TAGS-target-libobjc:
31437 @if target-libobjc
31438 maybe-TAGS-target-libobjc: TAGS-target-libobjc
31440 TAGS-target-libobjc: \
31441 configure-target-libobjc
31442 @: $(MAKE); $(unstage)
31443 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(NORMAL_TARGET_EXPORTS) \
31447 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
31448 for flag in $(EXTRA_TARGET_FLAGS); do \
31449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31450 done; \
31451 (cd $(TARGET_SUBDIR)/libobjc && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31456 TAGS) \
31457 || exit 1
31459 @endif target-libobjc
31461 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
31462 maybe-install-info-target-libobjc:
31463 @if target-libobjc
31464 maybe-install-info-target-libobjc: install-info-target-libobjc
31466 install-info-target-libobjc: \
31467 configure-target-libobjc \
31468 info-target-libobjc
31469 @: $(MAKE); $(unstage)
31470 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31471 r=`${PWD_COMMAND}`; export r; \
31472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31473 $(NORMAL_TARGET_EXPORTS) \
31474 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
31475 for flag in $(EXTRA_TARGET_FLAGS); do \
31476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31477 done; \
31478 (cd $(TARGET_SUBDIR)/libobjc && \
31479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31481 "RANLIB=$${RANLIB}" \
31482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31483 install-info) \
31484 || exit 1
31486 @endif target-libobjc
31488 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
31489 maybe-installcheck-target-libobjc:
31490 @if target-libobjc
31491 maybe-installcheck-target-libobjc: installcheck-target-libobjc
31493 installcheck-target-libobjc: \
31494 configure-target-libobjc
31495 @: $(MAKE); $(unstage)
31496 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31497 r=`${PWD_COMMAND}`; export r; \
31498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31499 $(NORMAL_TARGET_EXPORTS) \
31500 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
31501 for flag in $(EXTRA_TARGET_FLAGS); do \
31502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31503 done; \
31504 (cd $(TARGET_SUBDIR)/libobjc && \
31505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31507 "RANLIB=$${RANLIB}" \
31508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31509 installcheck) \
31510 || exit 1
31512 @endif target-libobjc
31514 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
31515 maybe-mostlyclean-target-libobjc:
31516 @if target-libobjc
31517 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
31519 mostlyclean-target-libobjc:
31520 @: $(MAKE); $(unstage)
31521 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31522 r=`${PWD_COMMAND}`; export r; \
31523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31524 $(NORMAL_TARGET_EXPORTS) \
31525 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
31526 for flag in $(EXTRA_TARGET_FLAGS); do \
31527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31528 done; \
31529 (cd $(TARGET_SUBDIR)/libobjc && \
31530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31532 "RANLIB=$${RANLIB}" \
31533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31534 mostlyclean) \
31535 || exit 1
31537 @endif target-libobjc
31539 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
31540 maybe-clean-target-libobjc:
31541 @if target-libobjc
31542 maybe-clean-target-libobjc: clean-target-libobjc
31544 clean-target-libobjc:
31545 @: $(MAKE); $(unstage)
31546 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31547 r=`${PWD_COMMAND}`; export r; \
31548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31549 $(NORMAL_TARGET_EXPORTS) \
31550 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
31551 for flag in $(EXTRA_TARGET_FLAGS); do \
31552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31553 done; \
31554 (cd $(TARGET_SUBDIR)/libobjc && \
31555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31557 "RANLIB=$${RANLIB}" \
31558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31559 clean) \
31560 || exit 1
31562 @endif target-libobjc
31564 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
31565 maybe-distclean-target-libobjc:
31566 @if target-libobjc
31567 maybe-distclean-target-libobjc: distclean-target-libobjc
31569 distclean-target-libobjc:
31570 @: $(MAKE); $(unstage)
31571 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31572 r=`${PWD_COMMAND}`; export r; \
31573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31574 $(NORMAL_TARGET_EXPORTS) \
31575 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
31576 for flag in $(EXTRA_TARGET_FLAGS); do \
31577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31578 done; \
31579 (cd $(TARGET_SUBDIR)/libobjc && \
31580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31582 "RANLIB=$${RANLIB}" \
31583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31584 distclean) \
31585 || exit 1
31587 @endif target-libobjc
31589 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
31590 maybe-maintainer-clean-target-libobjc:
31591 @if target-libobjc
31592 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
31594 maintainer-clean-target-libobjc:
31595 @: $(MAKE); $(unstage)
31596 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31597 r=`${PWD_COMMAND}`; export r; \
31598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31599 $(NORMAL_TARGET_EXPORTS) \
31600 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
31601 for flag in $(EXTRA_TARGET_FLAGS); do \
31602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31603 done; \
31604 (cd $(TARGET_SUBDIR)/libobjc && \
31605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31607 "RANLIB=$${RANLIB}" \
31608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31609 maintainer-clean) \
31610 || exit 1
31612 @endif target-libobjc
31618 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31619 maybe-configure-target-libtermcap:
31620 @if target-libtermcap
31621 maybe-configure-target-libtermcap: configure-target-libtermcap
31622 configure-target-libtermcap:
31623 @: $(MAKE); $(unstage)
31624 @r=`${PWD_COMMAND}`; export r; \
31625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31626 echo "Checking multilib configuration for libtermcap..."; \
31627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31628 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31629 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31630 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31631 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31632 else \
31633 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31634 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31635 fi; \
31636 else \
31637 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31638 fi; \
31639 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31641 $(NORMAL_TARGET_EXPORTS) \
31642 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31643 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31644 case $(srcdir) in \
31645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31646 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31648 esac; \
31649 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31650 libsrcdir="$$s/libtermcap"; \
31651 rm -f no-such-file || : ; \
31652 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31653 $(TARGET_CONFIGARGS) $${srcdiroption} \
31654 || exit 1
31655 @endif target-libtermcap
31661 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31662 maybe-all-target-libtermcap:
31663 @if target-libtermcap
31664 TARGET-target-libtermcap=all
31665 maybe-all-target-libtermcap: all-target-libtermcap
31666 all-target-libtermcap: configure-target-libtermcap
31667 @: $(MAKE); $(unstage)
31668 @r=`${PWD_COMMAND}`; export r; \
31669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31670 $(NORMAL_TARGET_EXPORTS) \
31671 (cd $(TARGET_SUBDIR)/libtermcap && \
31672 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31673 @endif target-libtermcap
31679 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31680 maybe-check-target-libtermcap:
31681 @if target-libtermcap
31682 maybe-check-target-libtermcap: check-target-libtermcap
31684 # Dummy target for uncheckable module.
31685 check-target-libtermcap:
31687 @endif target-libtermcap
31689 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31690 maybe-install-target-libtermcap:
31691 @if target-libtermcap
31692 maybe-install-target-libtermcap: install-target-libtermcap
31694 install-target-libtermcap: installdirs
31695 @: $(MAKE); $(unstage)
31696 @r=`${PWD_COMMAND}`; export r; \
31697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31698 $(NORMAL_TARGET_EXPORTS) \
31699 (cd $(TARGET_SUBDIR)/libtermcap && \
31700 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31702 @endif target-libtermcap
31704 # Other targets (info, dvi, etc.)
31706 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31707 maybe-info-target-libtermcap:
31708 @if target-libtermcap
31709 maybe-info-target-libtermcap: info-target-libtermcap
31711 info-target-libtermcap: \
31712 configure-target-libtermcap
31713 @: $(MAKE); $(unstage)
31714 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31715 r=`${PWD_COMMAND}`; export r; \
31716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31717 $(NORMAL_TARGET_EXPORTS) \
31718 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31719 for flag in $(EXTRA_TARGET_FLAGS); do \
31720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31721 done; \
31722 (cd $(TARGET_SUBDIR)/libtermcap && \
31723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31725 "RANLIB=$${RANLIB}" \
31726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31727 info) \
31728 || exit 1
31730 @endif target-libtermcap
31732 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31733 maybe-dvi-target-libtermcap:
31734 @if target-libtermcap
31735 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31737 dvi-target-libtermcap: \
31738 configure-target-libtermcap
31739 @: $(MAKE); $(unstage)
31740 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(NORMAL_TARGET_EXPORTS) \
31744 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31745 for flag in $(EXTRA_TARGET_FLAGS); do \
31746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31747 done; \
31748 (cd $(TARGET_SUBDIR)/libtermcap && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31753 dvi) \
31754 || exit 1
31756 @endif target-libtermcap
31758 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31759 maybe-html-target-libtermcap:
31760 @if target-libtermcap
31761 maybe-html-target-libtermcap: html-target-libtermcap
31763 html-target-libtermcap: \
31764 configure-target-libtermcap
31765 @: $(MAKE); $(unstage)
31766 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31767 r=`${PWD_COMMAND}`; export r; \
31768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31769 $(NORMAL_TARGET_EXPORTS) \
31770 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31771 for flag in $(EXTRA_TARGET_FLAGS); do \
31772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31773 done; \
31774 (cd $(TARGET_SUBDIR)/libtermcap && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31777 "RANLIB=$${RANLIB}" \
31778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31779 html) \
31780 || exit 1
31782 @endif target-libtermcap
31784 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31785 maybe-TAGS-target-libtermcap:
31786 @if target-libtermcap
31787 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31789 TAGS-target-libtermcap: \
31790 configure-target-libtermcap
31791 @: $(MAKE); $(unstage)
31792 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31793 r=`${PWD_COMMAND}`; export r; \
31794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31795 $(NORMAL_TARGET_EXPORTS) \
31796 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31797 for flag in $(EXTRA_TARGET_FLAGS); do \
31798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31799 done; \
31800 (cd $(TARGET_SUBDIR)/libtermcap && \
31801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31803 "RANLIB=$${RANLIB}" \
31804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31805 TAGS) \
31806 || exit 1
31808 @endif target-libtermcap
31810 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31811 maybe-install-info-target-libtermcap:
31812 @if target-libtermcap
31813 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31815 install-info-target-libtermcap: \
31816 configure-target-libtermcap \
31817 info-target-libtermcap
31818 @: $(MAKE); $(unstage)
31819 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31820 r=`${PWD_COMMAND}`; export r; \
31821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31822 $(NORMAL_TARGET_EXPORTS) \
31823 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31824 for flag in $(EXTRA_TARGET_FLAGS); do \
31825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31826 done; \
31827 (cd $(TARGET_SUBDIR)/libtermcap && \
31828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31830 "RANLIB=$${RANLIB}" \
31831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31832 install-info) \
31833 || exit 1
31835 @endif target-libtermcap
31837 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31838 maybe-installcheck-target-libtermcap:
31839 @if target-libtermcap
31840 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31842 installcheck-target-libtermcap: \
31843 configure-target-libtermcap
31844 @: $(MAKE); $(unstage)
31845 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31846 r=`${PWD_COMMAND}`; export r; \
31847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31848 $(NORMAL_TARGET_EXPORTS) \
31849 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31850 for flag in $(EXTRA_TARGET_FLAGS); do \
31851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31852 done; \
31853 (cd $(TARGET_SUBDIR)/libtermcap && \
31854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31856 "RANLIB=$${RANLIB}" \
31857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31858 installcheck) \
31859 || exit 1
31861 @endif target-libtermcap
31863 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31864 maybe-mostlyclean-target-libtermcap:
31865 @if target-libtermcap
31866 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31868 # libtermcap doesn't support mostlyclean.
31869 mostlyclean-target-libtermcap:
31871 @endif target-libtermcap
31873 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31874 maybe-clean-target-libtermcap:
31875 @if target-libtermcap
31876 maybe-clean-target-libtermcap: clean-target-libtermcap
31878 # libtermcap doesn't support clean.
31879 clean-target-libtermcap:
31881 @endif target-libtermcap
31883 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31884 maybe-distclean-target-libtermcap:
31885 @if target-libtermcap
31886 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31888 # libtermcap doesn't support distclean.
31889 distclean-target-libtermcap:
31891 @endif target-libtermcap
31893 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31894 maybe-maintainer-clean-target-libtermcap:
31895 @if target-libtermcap
31896 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31898 # libtermcap doesn't support maintainer-clean.
31899 maintainer-clean-target-libtermcap:
31901 @endif target-libtermcap
31907 .PHONY: configure-target-winsup maybe-configure-target-winsup
31908 maybe-configure-target-winsup:
31909 @if target-winsup
31910 maybe-configure-target-winsup: configure-target-winsup
31911 configure-target-winsup:
31912 @: $(MAKE); $(unstage)
31913 @r=`${PWD_COMMAND}`; export r; \
31914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31915 echo "Checking multilib configuration for winsup..."; \
31916 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31917 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31918 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31919 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31920 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31921 else \
31922 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31923 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31924 fi; \
31925 else \
31926 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31927 fi; \
31928 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31930 $(NORMAL_TARGET_EXPORTS) \
31931 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31932 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31933 case $(srcdir) in \
31934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31935 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31937 esac; \
31938 srcdiroption="--srcdir=$${topdir}/winsup"; \
31939 libsrcdir="$$s/winsup"; \
31940 rm -f no-such-file || : ; \
31941 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31942 $(TARGET_CONFIGARGS) $${srcdiroption} \
31943 || exit 1
31944 @endif target-winsup
31950 .PHONY: all-target-winsup maybe-all-target-winsup
31951 maybe-all-target-winsup:
31952 @if target-winsup
31953 TARGET-target-winsup=all
31954 maybe-all-target-winsup: all-target-winsup
31955 all-target-winsup: configure-target-winsup
31956 @: $(MAKE); $(unstage)
31957 @r=`${PWD_COMMAND}`; export r; \
31958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31959 $(NORMAL_TARGET_EXPORTS) \
31960 (cd $(TARGET_SUBDIR)/winsup && \
31961 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31962 @endif target-winsup
31968 .PHONY: check-target-winsup maybe-check-target-winsup
31969 maybe-check-target-winsup:
31970 @if target-winsup
31971 maybe-check-target-winsup: check-target-winsup
31973 check-target-winsup:
31974 @: $(MAKE); $(unstage)
31975 @r=`${PWD_COMMAND}`; export r; \
31976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31977 $(NORMAL_TARGET_EXPORTS) \
31978 (cd $(TARGET_SUBDIR)/winsup && \
31979 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31981 @endif target-winsup
31983 .PHONY: install-target-winsup maybe-install-target-winsup
31984 maybe-install-target-winsup:
31985 @if target-winsup
31986 maybe-install-target-winsup: install-target-winsup
31988 install-target-winsup: installdirs
31989 @: $(MAKE); $(unstage)
31990 @r=`${PWD_COMMAND}`; export r; \
31991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31992 $(NORMAL_TARGET_EXPORTS) \
31993 (cd $(TARGET_SUBDIR)/winsup && \
31994 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31996 @endif target-winsup
31998 # Other targets (info, dvi, etc.)
32000 .PHONY: maybe-info-target-winsup info-target-winsup
32001 maybe-info-target-winsup:
32002 @if target-winsup
32003 maybe-info-target-winsup: info-target-winsup
32005 info-target-winsup: \
32006 configure-target-winsup
32007 @: $(MAKE); $(unstage)
32008 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32009 r=`${PWD_COMMAND}`; export r; \
32010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32011 $(NORMAL_TARGET_EXPORTS) \
32012 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
32013 for flag in $(EXTRA_TARGET_FLAGS); do \
32014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32015 done; \
32016 (cd $(TARGET_SUBDIR)/winsup && \
32017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32019 "RANLIB=$${RANLIB}" \
32020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32021 info) \
32022 || exit 1
32024 @endif target-winsup
32026 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
32027 maybe-dvi-target-winsup:
32028 @if target-winsup
32029 maybe-dvi-target-winsup: dvi-target-winsup
32031 dvi-target-winsup: \
32032 configure-target-winsup
32033 @: $(MAKE); $(unstage)
32034 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32035 r=`${PWD_COMMAND}`; export r; \
32036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32037 $(NORMAL_TARGET_EXPORTS) \
32038 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
32039 for flag in $(EXTRA_TARGET_FLAGS); do \
32040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32041 done; \
32042 (cd $(TARGET_SUBDIR)/winsup && \
32043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32045 "RANLIB=$${RANLIB}" \
32046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32047 dvi) \
32048 || exit 1
32050 @endif target-winsup
32052 .PHONY: maybe-html-target-winsup html-target-winsup
32053 maybe-html-target-winsup:
32054 @if target-winsup
32055 maybe-html-target-winsup: html-target-winsup
32057 html-target-winsup: \
32058 configure-target-winsup
32059 @: $(MAKE); $(unstage)
32060 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32061 r=`${PWD_COMMAND}`; export r; \
32062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32063 $(NORMAL_TARGET_EXPORTS) \
32064 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
32065 for flag in $(EXTRA_TARGET_FLAGS); do \
32066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32067 done; \
32068 (cd $(TARGET_SUBDIR)/winsup && \
32069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32071 "RANLIB=$${RANLIB}" \
32072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32073 html) \
32074 || exit 1
32076 @endif target-winsup
32078 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
32079 maybe-TAGS-target-winsup:
32080 @if target-winsup
32081 maybe-TAGS-target-winsup: TAGS-target-winsup
32083 TAGS-target-winsup: \
32084 configure-target-winsup
32085 @: $(MAKE); $(unstage)
32086 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32087 r=`${PWD_COMMAND}`; export r; \
32088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32089 $(NORMAL_TARGET_EXPORTS) \
32090 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
32091 for flag in $(EXTRA_TARGET_FLAGS); do \
32092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32093 done; \
32094 (cd $(TARGET_SUBDIR)/winsup && \
32095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32097 "RANLIB=$${RANLIB}" \
32098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32099 TAGS) \
32100 || exit 1
32102 @endif target-winsup
32104 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
32105 maybe-install-info-target-winsup:
32106 @if target-winsup
32107 maybe-install-info-target-winsup: install-info-target-winsup
32109 install-info-target-winsup: \
32110 configure-target-winsup \
32111 info-target-winsup
32112 @: $(MAKE); $(unstage)
32113 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32114 r=`${PWD_COMMAND}`; export r; \
32115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32116 $(NORMAL_TARGET_EXPORTS) \
32117 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
32118 for flag in $(EXTRA_TARGET_FLAGS); do \
32119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32120 done; \
32121 (cd $(TARGET_SUBDIR)/winsup && \
32122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32124 "RANLIB=$${RANLIB}" \
32125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32126 install-info) \
32127 || exit 1
32129 @endif target-winsup
32131 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
32132 maybe-installcheck-target-winsup:
32133 @if target-winsup
32134 maybe-installcheck-target-winsup: installcheck-target-winsup
32136 installcheck-target-winsup: \
32137 configure-target-winsup
32138 @: $(MAKE); $(unstage)
32139 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32140 r=`${PWD_COMMAND}`; export r; \
32141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32142 $(NORMAL_TARGET_EXPORTS) \
32143 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
32144 for flag in $(EXTRA_TARGET_FLAGS); do \
32145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32146 done; \
32147 (cd $(TARGET_SUBDIR)/winsup && \
32148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32150 "RANLIB=$${RANLIB}" \
32151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32152 installcheck) \
32153 || exit 1
32155 @endif target-winsup
32157 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
32158 maybe-mostlyclean-target-winsup:
32159 @if target-winsup
32160 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
32162 mostlyclean-target-winsup:
32163 @: $(MAKE); $(unstage)
32164 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32165 r=`${PWD_COMMAND}`; export r; \
32166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32167 $(NORMAL_TARGET_EXPORTS) \
32168 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
32169 for flag in $(EXTRA_TARGET_FLAGS); do \
32170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32171 done; \
32172 (cd $(TARGET_SUBDIR)/winsup && \
32173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32175 "RANLIB=$${RANLIB}" \
32176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32177 mostlyclean) \
32178 || exit 1
32180 @endif target-winsup
32182 .PHONY: maybe-clean-target-winsup clean-target-winsup
32183 maybe-clean-target-winsup:
32184 @if target-winsup
32185 maybe-clean-target-winsup: clean-target-winsup
32187 clean-target-winsup:
32188 @: $(MAKE); $(unstage)
32189 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32190 r=`${PWD_COMMAND}`; export r; \
32191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32192 $(NORMAL_TARGET_EXPORTS) \
32193 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
32194 for flag in $(EXTRA_TARGET_FLAGS); do \
32195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32196 done; \
32197 (cd $(TARGET_SUBDIR)/winsup && \
32198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32200 "RANLIB=$${RANLIB}" \
32201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32202 clean) \
32203 || exit 1
32205 @endif target-winsup
32207 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
32208 maybe-distclean-target-winsup:
32209 @if target-winsup
32210 maybe-distclean-target-winsup: distclean-target-winsup
32212 distclean-target-winsup:
32213 @: $(MAKE); $(unstage)
32214 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32215 r=`${PWD_COMMAND}`; export r; \
32216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32217 $(NORMAL_TARGET_EXPORTS) \
32218 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
32219 for flag in $(EXTRA_TARGET_FLAGS); do \
32220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32221 done; \
32222 (cd $(TARGET_SUBDIR)/winsup && \
32223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32225 "RANLIB=$${RANLIB}" \
32226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32227 distclean) \
32228 || exit 1
32230 @endif target-winsup
32232 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
32233 maybe-maintainer-clean-target-winsup:
32234 @if target-winsup
32235 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
32237 maintainer-clean-target-winsup:
32238 @: $(MAKE); $(unstage)
32239 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32240 r=`${PWD_COMMAND}`; export r; \
32241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32242 $(NORMAL_TARGET_EXPORTS) \
32243 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
32244 for flag in $(EXTRA_TARGET_FLAGS); do \
32245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32246 done; \
32247 (cd $(TARGET_SUBDIR)/winsup && \
32248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32250 "RANLIB=$${RANLIB}" \
32251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32252 maintainer-clean) \
32253 || exit 1
32255 @endif target-winsup
32261 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
32262 maybe-configure-target-libgloss:
32263 @if target-libgloss
32264 maybe-configure-target-libgloss: configure-target-libgloss
32265 configure-target-libgloss:
32266 @: $(MAKE); $(unstage)
32267 @r=`${PWD_COMMAND}`; export r; \
32268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32269 echo "Checking multilib configuration for libgloss..."; \
32270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32271 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
32272 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32273 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32274 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
32275 else \
32276 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
32277 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32278 fi; \
32279 else \
32280 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32281 fi; \
32282 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
32283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32284 $(NORMAL_TARGET_EXPORTS) \
32285 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
32286 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
32287 case $(srcdir) in \
32288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32289 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
32290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32291 esac; \
32292 srcdiroption="--srcdir=$${topdir}/libgloss"; \
32293 libsrcdir="$$s/libgloss"; \
32294 rm -f no-such-file || : ; \
32295 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32296 $(TARGET_CONFIGARGS) $${srcdiroption} \
32297 || exit 1
32298 @endif target-libgloss
32304 .PHONY: all-target-libgloss maybe-all-target-libgloss
32305 maybe-all-target-libgloss:
32306 @if target-libgloss
32307 TARGET-target-libgloss=all
32308 maybe-all-target-libgloss: all-target-libgloss
32309 all-target-libgloss: configure-target-libgloss
32310 @: $(MAKE); $(unstage)
32311 @r=`${PWD_COMMAND}`; export r; \
32312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32313 $(NORMAL_TARGET_EXPORTS) \
32314 (cd $(TARGET_SUBDIR)/libgloss && \
32315 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
32316 @endif target-libgloss
32322 .PHONY: check-target-libgloss maybe-check-target-libgloss
32323 maybe-check-target-libgloss:
32324 @if target-libgloss
32325 maybe-check-target-libgloss: check-target-libgloss
32327 # Dummy target for uncheckable module.
32328 check-target-libgloss:
32330 @endif target-libgloss
32332 .PHONY: install-target-libgloss maybe-install-target-libgloss
32333 maybe-install-target-libgloss:
32334 @if target-libgloss
32335 maybe-install-target-libgloss: install-target-libgloss
32337 install-target-libgloss: installdirs
32338 @: $(MAKE); $(unstage)
32339 @r=`${PWD_COMMAND}`; export r; \
32340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32341 $(NORMAL_TARGET_EXPORTS) \
32342 (cd $(TARGET_SUBDIR)/libgloss && \
32343 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32345 @endif target-libgloss
32347 # Other targets (info, dvi, etc.)
32349 .PHONY: maybe-info-target-libgloss info-target-libgloss
32350 maybe-info-target-libgloss:
32351 @if target-libgloss
32352 maybe-info-target-libgloss: info-target-libgloss
32354 info-target-libgloss: \
32355 configure-target-libgloss
32356 @: $(MAKE); $(unstage)
32357 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32358 r=`${PWD_COMMAND}`; export r; \
32359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32360 $(NORMAL_TARGET_EXPORTS) \
32361 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
32362 for flag in $(EXTRA_TARGET_FLAGS); do \
32363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32364 done; \
32365 (cd $(TARGET_SUBDIR)/libgloss && \
32366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32368 "RANLIB=$${RANLIB}" \
32369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32370 info) \
32371 || exit 1
32373 @endif target-libgloss
32375 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
32376 maybe-dvi-target-libgloss:
32377 @if target-libgloss
32378 maybe-dvi-target-libgloss: dvi-target-libgloss
32380 dvi-target-libgloss: \
32381 configure-target-libgloss
32382 @: $(MAKE); $(unstage)
32383 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32384 r=`${PWD_COMMAND}`; export r; \
32385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32386 $(NORMAL_TARGET_EXPORTS) \
32387 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
32388 for flag in $(EXTRA_TARGET_FLAGS); do \
32389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32390 done; \
32391 (cd $(TARGET_SUBDIR)/libgloss && \
32392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32394 "RANLIB=$${RANLIB}" \
32395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32396 dvi) \
32397 || exit 1
32399 @endif target-libgloss
32401 .PHONY: maybe-html-target-libgloss html-target-libgloss
32402 maybe-html-target-libgloss:
32403 @if target-libgloss
32404 maybe-html-target-libgloss: html-target-libgloss
32406 html-target-libgloss: \
32407 configure-target-libgloss
32408 @: $(MAKE); $(unstage)
32409 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32410 r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 $(NORMAL_TARGET_EXPORTS) \
32413 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
32414 for flag in $(EXTRA_TARGET_FLAGS); do \
32415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32416 done; \
32417 (cd $(TARGET_SUBDIR)/libgloss && \
32418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32420 "RANLIB=$${RANLIB}" \
32421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32422 html) \
32423 || exit 1
32425 @endif target-libgloss
32427 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
32428 maybe-TAGS-target-libgloss:
32429 @if target-libgloss
32430 maybe-TAGS-target-libgloss: TAGS-target-libgloss
32432 TAGS-target-libgloss: \
32433 configure-target-libgloss
32434 @: $(MAKE); $(unstage)
32435 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32436 r=`${PWD_COMMAND}`; export r; \
32437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32438 $(NORMAL_TARGET_EXPORTS) \
32439 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
32440 for flag in $(EXTRA_TARGET_FLAGS); do \
32441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32442 done; \
32443 (cd $(TARGET_SUBDIR)/libgloss && \
32444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32446 "RANLIB=$${RANLIB}" \
32447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32448 TAGS) \
32449 || exit 1
32451 @endif target-libgloss
32453 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
32454 maybe-install-info-target-libgloss:
32455 @if target-libgloss
32456 maybe-install-info-target-libgloss: install-info-target-libgloss
32458 install-info-target-libgloss: \
32459 configure-target-libgloss \
32460 info-target-libgloss
32461 @: $(MAKE); $(unstage)
32462 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32463 r=`${PWD_COMMAND}`; export r; \
32464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32465 $(NORMAL_TARGET_EXPORTS) \
32466 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
32467 for flag in $(EXTRA_TARGET_FLAGS); do \
32468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32469 done; \
32470 (cd $(TARGET_SUBDIR)/libgloss && \
32471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32473 "RANLIB=$${RANLIB}" \
32474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32475 install-info) \
32476 || exit 1
32478 @endif target-libgloss
32480 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
32481 maybe-installcheck-target-libgloss:
32482 @if target-libgloss
32483 maybe-installcheck-target-libgloss: installcheck-target-libgloss
32485 installcheck-target-libgloss: \
32486 configure-target-libgloss
32487 @: $(MAKE); $(unstage)
32488 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32489 r=`${PWD_COMMAND}`; export r; \
32490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32491 $(NORMAL_TARGET_EXPORTS) \
32492 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
32493 for flag in $(EXTRA_TARGET_FLAGS); do \
32494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32495 done; \
32496 (cd $(TARGET_SUBDIR)/libgloss && \
32497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32499 "RANLIB=$${RANLIB}" \
32500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32501 installcheck) \
32502 || exit 1
32504 @endif target-libgloss
32506 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
32507 maybe-mostlyclean-target-libgloss:
32508 @if target-libgloss
32509 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
32511 mostlyclean-target-libgloss:
32512 @: $(MAKE); $(unstage)
32513 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32514 r=`${PWD_COMMAND}`; export r; \
32515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32516 $(NORMAL_TARGET_EXPORTS) \
32517 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
32518 for flag in $(EXTRA_TARGET_FLAGS); do \
32519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32520 done; \
32521 (cd $(TARGET_SUBDIR)/libgloss && \
32522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32524 "RANLIB=$${RANLIB}" \
32525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32526 mostlyclean) \
32527 || exit 1
32529 @endif target-libgloss
32531 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
32532 maybe-clean-target-libgloss:
32533 @if target-libgloss
32534 maybe-clean-target-libgloss: clean-target-libgloss
32536 clean-target-libgloss:
32537 @: $(MAKE); $(unstage)
32538 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32539 r=`${PWD_COMMAND}`; export r; \
32540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32541 $(NORMAL_TARGET_EXPORTS) \
32542 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
32543 for flag in $(EXTRA_TARGET_FLAGS); do \
32544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32545 done; \
32546 (cd $(TARGET_SUBDIR)/libgloss && \
32547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32549 "RANLIB=$${RANLIB}" \
32550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32551 clean) \
32552 || exit 1
32554 @endif target-libgloss
32556 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
32557 maybe-distclean-target-libgloss:
32558 @if target-libgloss
32559 maybe-distclean-target-libgloss: distclean-target-libgloss
32561 distclean-target-libgloss:
32562 @: $(MAKE); $(unstage)
32563 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32564 r=`${PWD_COMMAND}`; export r; \
32565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32566 $(NORMAL_TARGET_EXPORTS) \
32567 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
32568 for flag in $(EXTRA_TARGET_FLAGS); do \
32569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32570 done; \
32571 (cd $(TARGET_SUBDIR)/libgloss && \
32572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32574 "RANLIB=$${RANLIB}" \
32575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32576 distclean) \
32577 || exit 1
32579 @endif target-libgloss
32581 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
32582 maybe-maintainer-clean-target-libgloss:
32583 @if target-libgloss
32584 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
32586 maintainer-clean-target-libgloss:
32587 @: $(MAKE); $(unstage)
32588 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32589 r=`${PWD_COMMAND}`; export r; \
32590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32591 $(NORMAL_TARGET_EXPORTS) \
32592 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
32593 for flag in $(EXTRA_TARGET_FLAGS); do \
32594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32595 done; \
32596 (cd $(TARGET_SUBDIR)/libgloss && \
32597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32599 "RANLIB=$${RANLIB}" \
32600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32601 maintainer-clean) \
32602 || exit 1
32604 @endif target-libgloss
32610 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32611 maybe-configure-target-libiberty:
32612 @if target-libiberty
32613 maybe-configure-target-libiberty: configure-target-libiberty
32614 configure-target-libiberty:
32615 @: $(MAKE); $(unstage)
32616 @r=`${PWD_COMMAND}`; export r; \
32617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32618 echo "Checking multilib configuration for libiberty..."; \
32619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32620 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32621 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32622 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32623 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32624 else \
32625 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32626 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32627 fi; \
32628 else \
32629 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32630 fi; \
32631 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32633 $(NORMAL_TARGET_EXPORTS) \
32634 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32635 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32636 case $(srcdir) in \
32637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32638 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32640 esac; \
32641 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32642 libsrcdir="$$s/libiberty"; \
32643 rm -f no-such-file || : ; \
32644 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32645 $(TARGET_CONFIGARGS) $${srcdiroption} \
32646 || exit 1
32647 @endif target-libiberty
32653 .PHONY: all-target-libiberty maybe-all-target-libiberty
32654 maybe-all-target-libiberty:
32655 @if target-libiberty
32656 TARGET-target-libiberty=all
32657 maybe-all-target-libiberty: all-target-libiberty
32658 all-target-libiberty: configure-target-libiberty
32659 @: $(MAKE); $(unstage)
32660 @r=`${PWD_COMMAND}`; export r; \
32661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32662 $(NORMAL_TARGET_EXPORTS) \
32663 (cd $(TARGET_SUBDIR)/libiberty && \
32664 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32665 @endif target-libiberty
32671 .PHONY: check-target-libiberty maybe-check-target-libiberty
32672 maybe-check-target-libiberty:
32673 @if target-libiberty
32674 maybe-check-target-libiberty: check-target-libiberty
32676 check-target-libiberty:
32677 @: $(MAKE); $(unstage)
32678 @r=`${PWD_COMMAND}`; export r; \
32679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32680 $(NORMAL_TARGET_EXPORTS) \
32681 (cd $(TARGET_SUBDIR)/libiberty && \
32682 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32684 @endif target-libiberty
32686 .PHONY: install-target-libiberty maybe-install-target-libiberty
32687 maybe-install-target-libiberty:
32688 @if target-libiberty
32689 maybe-install-target-libiberty: install-target-libiberty
32691 install-target-libiberty: installdirs
32692 @: $(MAKE); $(unstage)
32693 @r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(NORMAL_TARGET_EXPORTS) \
32696 (cd $(TARGET_SUBDIR)/libiberty && \
32697 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32699 @endif target-libiberty
32701 # Other targets (info, dvi, etc.)
32703 .PHONY: maybe-info-target-libiberty info-target-libiberty
32704 maybe-info-target-libiberty:
32705 @if target-libiberty
32706 maybe-info-target-libiberty: info-target-libiberty
32708 info-target-libiberty: \
32709 configure-target-libiberty
32710 @: $(MAKE); $(unstage)
32711 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32712 r=`${PWD_COMMAND}`; export r; \
32713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32714 $(NORMAL_TARGET_EXPORTS) \
32715 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32716 for flag in $(EXTRA_TARGET_FLAGS); do \
32717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32718 done; \
32719 (cd $(TARGET_SUBDIR)/libiberty && \
32720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32722 "RANLIB=$${RANLIB}" \
32723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32724 info) \
32725 || exit 1
32727 @endif target-libiberty
32729 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32730 maybe-dvi-target-libiberty:
32731 @if target-libiberty
32732 maybe-dvi-target-libiberty: dvi-target-libiberty
32734 dvi-target-libiberty: \
32735 configure-target-libiberty
32736 @: $(MAKE); $(unstage)
32737 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32738 r=`${PWD_COMMAND}`; export r; \
32739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32740 $(NORMAL_TARGET_EXPORTS) \
32741 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32742 for flag in $(EXTRA_TARGET_FLAGS); do \
32743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32744 done; \
32745 (cd $(TARGET_SUBDIR)/libiberty && \
32746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32748 "RANLIB=$${RANLIB}" \
32749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32750 dvi) \
32751 || exit 1
32753 @endif target-libiberty
32755 .PHONY: maybe-html-target-libiberty html-target-libiberty
32756 maybe-html-target-libiberty:
32757 @if target-libiberty
32758 maybe-html-target-libiberty: html-target-libiberty
32760 html-target-libiberty: \
32761 configure-target-libiberty
32762 @: $(MAKE); $(unstage)
32763 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32764 r=`${PWD_COMMAND}`; export r; \
32765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32766 $(NORMAL_TARGET_EXPORTS) \
32767 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32768 for flag in $(EXTRA_TARGET_FLAGS); do \
32769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32770 done; \
32771 (cd $(TARGET_SUBDIR)/libiberty && \
32772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32774 "RANLIB=$${RANLIB}" \
32775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32776 html) \
32777 || exit 1
32779 @endif target-libiberty
32781 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32782 maybe-TAGS-target-libiberty:
32783 @if target-libiberty
32784 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32786 TAGS-target-libiberty: \
32787 configure-target-libiberty
32788 @: $(MAKE); $(unstage)
32789 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32790 r=`${PWD_COMMAND}`; export r; \
32791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32792 $(NORMAL_TARGET_EXPORTS) \
32793 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32794 for flag in $(EXTRA_TARGET_FLAGS); do \
32795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32796 done; \
32797 (cd $(TARGET_SUBDIR)/libiberty && \
32798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32800 "RANLIB=$${RANLIB}" \
32801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32802 TAGS) \
32803 || exit 1
32805 @endif target-libiberty
32807 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32808 maybe-install-info-target-libiberty:
32809 @if target-libiberty
32810 maybe-install-info-target-libiberty: install-info-target-libiberty
32812 install-info-target-libiberty: \
32813 configure-target-libiberty \
32814 info-target-libiberty
32815 @: $(MAKE); $(unstage)
32816 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32817 r=`${PWD_COMMAND}`; export r; \
32818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32819 $(NORMAL_TARGET_EXPORTS) \
32820 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32821 for flag in $(EXTRA_TARGET_FLAGS); do \
32822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32823 done; \
32824 (cd $(TARGET_SUBDIR)/libiberty && \
32825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32827 "RANLIB=$${RANLIB}" \
32828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32829 install-info) \
32830 || exit 1
32832 @endif target-libiberty
32834 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32835 maybe-installcheck-target-libiberty:
32836 @if target-libiberty
32837 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32839 installcheck-target-libiberty: \
32840 configure-target-libiberty
32841 @: $(MAKE); $(unstage)
32842 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32843 r=`${PWD_COMMAND}`; export r; \
32844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32845 $(NORMAL_TARGET_EXPORTS) \
32846 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32847 for flag in $(EXTRA_TARGET_FLAGS); do \
32848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32849 done; \
32850 (cd $(TARGET_SUBDIR)/libiberty && \
32851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32853 "RANLIB=$${RANLIB}" \
32854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32855 installcheck) \
32856 || exit 1
32858 @endif target-libiberty
32860 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32861 maybe-mostlyclean-target-libiberty:
32862 @if target-libiberty
32863 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32865 mostlyclean-target-libiberty:
32866 @: $(MAKE); $(unstage)
32867 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32868 r=`${PWD_COMMAND}`; export r; \
32869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32870 $(NORMAL_TARGET_EXPORTS) \
32871 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32872 for flag in $(EXTRA_TARGET_FLAGS); do \
32873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32874 done; \
32875 (cd $(TARGET_SUBDIR)/libiberty && \
32876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32878 "RANLIB=$${RANLIB}" \
32879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32880 mostlyclean) \
32881 || exit 1
32883 @endif target-libiberty
32885 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32886 maybe-clean-target-libiberty:
32887 @if target-libiberty
32888 maybe-clean-target-libiberty: clean-target-libiberty
32890 clean-target-libiberty:
32891 @: $(MAKE); $(unstage)
32892 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32893 r=`${PWD_COMMAND}`; export r; \
32894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32895 $(NORMAL_TARGET_EXPORTS) \
32896 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32897 for flag in $(EXTRA_TARGET_FLAGS); do \
32898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32899 done; \
32900 (cd $(TARGET_SUBDIR)/libiberty && \
32901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32903 "RANLIB=$${RANLIB}" \
32904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32905 clean) \
32906 || exit 1
32908 @endif target-libiberty
32910 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32911 maybe-distclean-target-libiberty:
32912 @if target-libiberty
32913 maybe-distclean-target-libiberty: distclean-target-libiberty
32915 distclean-target-libiberty:
32916 @: $(MAKE); $(unstage)
32917 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32918 r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(NORMAL_TARGET_EXPORTS) \
32921 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32922 for flag in $(EXTRA_TARGET_FLAGS); do \
32923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32924 done; \
32925 (cd $(TARGET_SUBDIR)/libiberty && \
32926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32928 "RANLIB=$${RANLIB}" \
32929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32930 distclean) \
32931 || exit 1
32933 @endif target-libiberty
32935 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32936 maybe-maintainer-clean-target-libiberty:
32937 @if target-libiberty
32938 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32940 maintainer-clean-target-libiberty:
32941 @: $(MAKE); $(unstage)
32942 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32943 r=`${PWD_COMMAND}`; export r; \
32944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32945 $(NORMAL_TARGET_EXPORTS) \
32946 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32947 for flag in $(EXTRA_TARGET_FLAGS); do \
32948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32949 done; \
32950 (cd $(TARGET_SUBDIR)/libiberty && \
32951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32953 "RANLIB=$${RANLIB}" \
32954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32955 maintainer-clean) \
32956 || exit 1
32958 @endif target-libiberty
32964 .PHONY: configure-target-gperf maybe-configure-target-gperf
32965 maybe-configure-target-gperf:
32966 @if target-gperf
32967 maybe-configure-target-gperf: configure-target-gperf
32968 configure-target-gperf:
32969 @: $(MAKE); $(unstage)
32970 @r=`${PWD_COMMAND}`; export r; \
32971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32972 echo "Checking multilib configuration for gperf..."; \
32973 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32974 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32975 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32976 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32977 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32978 else \
32979 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32980 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32981 fi; \
32982 else \
32983 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32984 fi; \
32985 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32986 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32987 $(NORMAL_TARGET_EXPORTS) \
32988 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32989 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32990 case $(srcdir) in \
32991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32992 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32994 esac; \
32995 srcdiroption="--srcdir=$${topdir}/gperf"; \
32996 libsrcdir="$$s/gperf"; \
32997 rm -f no-such-file || : ; \
32998 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32999 $(TARGET_CONFIGARGS) $${srcdiroption} \
33000 || exit 1
33001 @endif target-gperf
33007 .PHONY: all-target-gperf maybe-all-target-gperf
33008 maybe-all-target-gperf:
33009 @if target-gperf
33010 TARGET-target-gperf=all
33011 maybe-all-target-gperf: all-target-gperf
33012 all-target-gperf: configure-target-gperf
33013 @: $(MAKE); $(unstage)
33014 @r=`${PWD_COMMAND}`; export r; \
33015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33016 $(NORMAL_TARGET_EXPORTS) \
33017 (cd $(TARGET_SUBDIR)/gperf && \
33018 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
33019 @endif target-gperf
33025 .PHONY: check-target-gperf maybe-check-target-gperf
33026 maybe-check-target-gperf:
33027 @if target-gperf
33028 maybe-check-target-gperf: check-target-gperf
33030 check-target-gperf:
33031 @: $(MAKE); $(unstage)
33032 @r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(NORMAL_TARGET_EXPORTS) \
33035 (cd $(TARGET_SUBDIR)/gperf && \
33036 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33038 @endif target-gperf
33040 .PHONY: install-target-gperf maybe-install-target-gperf
33041 maybe-install-target-gperf:
33042 @if target-gperf
33043 maybe-install-target-gperf: install-target-gperf
33045 install-target-gperf: installdirs
33046 @: $(MAKE); $(unstage)
33047 @r=`${PWD_COMMAND}`; export r; \
33048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33049 $(NORMAL_TARGET_EXPORTS) \
33050 (cd $(TARGET_SUBDIR)/gperf && \
33051 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33053 @endif target-gperf
33055 # Other targets (info, dvi, etc.)
33057 .PHONY: maybe-info-target-gperf info-target-gperf
33058 maybe-info-target-gperf:
33059 @if target-gperf
33060 maybe-info-target-gperf: info-target-gperf
33062 info-target-gperf: \
33063 configure-target-gperf
33064 @: $(MAKE); $(unstage)
33065 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33066 r=`${PWD_COMMAND}`; export r; \
33067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33068 $(NORMAL_TARGET_EXPORTS) \
33069 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
33070 for flag in $(EXTRA_TARGET_FLAGS); do \
33071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33072 done; \
33073 (cd $(TARGET_SUBDIR)/gperf && \
33074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33076 "RANLIB=$${RANLIB}" \
33077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33078 info) \
33079 || exit 1
33081 @endif target-gperf
33083 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
33084 maybe-dvi-target-gperf:
33085 @if target-gperf
33086 maybe-dvi-target-gperf: dvi-target-gperf
33088 dvi-target-gperf: \
33089 configure-target-gperf
33090 @: $(MAKE); $(unstage)
33091 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33092 r=`${PWD_COMMAND}`; export r; \
33093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33094 $(NORMAL_TARGET_EXPORTS) \
33095 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
33096 for flag in $(EXTRA_TARGET_FLAGS); do \
33097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33098 done; \
33099 (cd $(TARGET_SUBDIR)/gperf && \
33100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33102 "RANLIB=$${RANLIB}" \
33103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33104 dvi) \
33105 || exit 1
33107 @endif target-gperf
33109 .PHONY: maybe-html-target-gperf html-target-gperf
33110 maybe-html-target-gperf:
33111 @if target-gperf
33112 maybe-html-target-gperf: html-target-gperf
33114 html-target-gperf: \
33115 configure-target-gperf
33116 @: $(MAKE); $(unstage)
33117 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33118 r=`${PWD_COMMAND}`; export r; \
33119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33120 $(NORMAL_TARGET_EXPORTS) \
33121 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
33122 for flag in $(EXTRA_TARGET_FLAGS); do \
33123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33124 done; \
33125 (cd $(TARGET_SUBDIR)/gperf && \
33126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33128 "RANLIB=$${RANLIB}" \
33129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33130 html) \
33131 || exit 1
33133 @endif target-gperf
33135 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
33136 maybe-TAGS-target-gperf:
33137 @if target-gperf
33138 maybe-TAGS-target-gperf: TAGS-target-gperf
33140 TAGS-target-gperf: \
33141 configure-target-gperf
33142 @: $(MAKE); $(unstage)
33143 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33144 r=`${PWD_COMMAND}`; export r; \
33145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33146 $(NORMAL_TARGET_EXPORTS) \
33147 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
33148 for flag in $(EXTRA_TARGET_FLAGS); do \
33149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33150 done; \
33151 (cd $(TARGET_SUBDIR)/gperf && \
33152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33154 "RANLIB=$${RANLIB}" \
33155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33156 TAGS) \
33157 || exit 1
33159 @endif target-gperf
33161 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
33162 maybe-install-info-target-gperf:
33163 @if target-gperf
33164 maybe-install-info-target-gperf: install-info-target-gperf
33166 install-info-target-gperf: \
33167 configure-target-gperf \
33168 info-target-gperf
33169 @: $(MAKE); $(unstage)
33170 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33171 r=`${PWD_COMMAND}`; export r; \
33172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33173 $(NORMAL_TARGET_EXPORTS) \
33174 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
33175 for flag in $(EXTRA_TARGET_FLAGS); do \
33176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33177 done; \
33178 (cd $(TARGET_SUBDIR)/gperf && \
33179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33181 "RANLIB=$${RANLIB}" \
33182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33183 install-info) \
33184 || exit 1
33186 @endif target-gperf
33188 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
33189 maybe-installcheck-target-gperf:
33190 @if target-gperf
33191 maybe-installcheck-target-gperf: installcheck-target-gperf
33193 installcheck-target-gperf: \
33194 configure-target-gperf
33195 @: $(MAKE); $(unstage)
33196 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33197 r=`${PWD_COMMAND}`; export r; \
33198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33199 $(NORMAL_TARGET_EXPORTS) \
33200 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
33201 for flag in $(EXTRA_TARGET_FLAGS); do \
33202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33203 done; \
33204 (cd $(TARGET_SUBDIR)/gperf && \
33205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33207 "RANLIB=$${RANLIB}" \
33208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33209 installcheck) \
33210 || exit 1
33212 @endif target-gperf
33214 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
33215 maybe-mostlyclean-target-gperf:
33216 @if target-gperf
33217 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
33219 mostlyclean-target-gperf:
33220 @: $(MAKE); $(unstage)
33221 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33222 r=`${PWD_COMMAND}`; export r; \
33223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33224 $(NORMAL_TARGET_EXPORTS) \
33225 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
33226 for flag in $(EXTRA_TARGET_FLAGS); do \
33227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33228 done; \
33229 (cd $(TARGET_SUBDIR)/gperf && \
33230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33232 "RANLIB=$${RANLIB}" \
33233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33234 mostlyclean) \
33235 || exit 1
33237 @endif target-gperf
33239 .PHONY: maybe-clean-target-gperf clean-target-gperf
33240 maybe-clean-target-gperf:
33241 @if target-gperf
33242 maybe-clean-target-gperf: clean-target-gperf
33244 clean-target-gperf:
33245 @: $(MAKE); $(unstage)
33246 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33247 r=`${PWD_COMMAND}`; export r; \
33248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33249 $(NORMAL_TARGET_EXPORTS) \
33250 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
33251 for flag in $(EXTRA_TARGET_FLAGS); do \
33252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33253 done; \
33254 (cd $(TARGET_SUBDIR)/gperf && \
33255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33257 "RANLIB=$${RANLIB}" \
33258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33259 clean) \
33260 || exit 1
33262 @endif target-gperf
33264 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
33265 maybe-distclean-target-gperf:
33266 @if target-gperf
33267 maybe-distclean-target-gperf: distclean-target-gperf
33269 distclean-target-gperf:
33270 @: $(MAKE); $(unstage)
33271 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33272 r=`${PWD_COMMAND}`; export r; \
33273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33274 $(NORMAL_TARGET_EXPORTS) \
33275 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
33276 for flag in $(EXTRA_TARGET_FLAGS); do \
33277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33278 done; \
33279 (cd $(TARGET_SUBDIR)/gperf && \
33280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33282 "RANLIB=$${RANLIB}" \
33283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33284 distclean) \
33285 || exit 1
33287 @endif target-gperf
33289 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
33290 maybe-maintainer-clean-target-gperf:
33291 @if target-gperf
33292 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
33294 maintainer-clean-target-gperf:
33295 @: $(MAKE); $(unstage)
33296 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33297 r=`${PWD_COMMAND}`; export r; \
33298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33299 $(NORMAL_TARGET_EXPORTS) \
33300 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
33301 for flag in $(EXTRA_TARGET_FLAGS); do \
33302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33303 done; \
33304 (cd $(TARGET_SUBDIR)/gperf && \
33305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33307 "RANLIB=$${RANLIB}" \
33308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33309 maintainer-clean) \
33310 || exit 1
33312 @endif target-gperf
33318 .PHONY: configure-target-examples maybe-configure-target-examples
33319 maybe-configure-target-examples:
33320 @if target-examples
33321 maybe-configure-target-examples: configure-target-examples
33322 configure-target-examples:
33323 @: $(MAKE); $(unstage)
33324 @r=`${PWD_COMMAND}`; export r; \
33325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33326 echo "Checking multilib configuration for examples..."; \
33327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
33329 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
33330 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
33331 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
33332 else \
33333 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
33334 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33335 fi; \
33336 else \
33337 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33338 fi; \
33339 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
33340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33341 $(NORMAL_TARGET_EXPORTS) \
33342 echo Configuring in $(TARGET_SUBDIR)/examples; \
33343 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
33344 case $(srcdir) in \
33345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33346 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
33347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33348 esac; \
33349 srcdiroption="--srcdir=$${topdir}/examples"; \
33350 libsrcdir="$$s/examples"; \
33351 rm -f no-such-file || : ; \
33352 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33353 $(TARGET_CONFIGARGS) $${srcdiroption} \
33354 || exit 1
33355 @endif target-examples
33361 .PHONY: all-target-examples maybe-all-target-examples
33362 maybe-all-target-examples:
33363 @if target-examples
33364 TARGET-target-examples=all
33365 maybe-all-target-examples: all-target-examples
33366 all-target-examples: configure-target-examples
33367 @: $(MAKE); $(unstage)
33368 @r=`${PWD_COMMAND}`; export r; \
33369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33370 $(NORMAL_TARGET_EXPORTS) \
33371 (cd $(TARGET_SUBDIR)/examples && \
33372 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
33373 @endif target-examples
33379 .PHONY: check-target-examples maybe-check-target-examples
33380 maybe-check-target-examples:
33381 @if target-examples
33382 maybe-check-target-examples: check-target-examples
33384 # Dummy target for uncheckable module.
33385 check-target-examples:
33387 @endif target-examples
33389 .PHONY: install-target-examples maybe-install-target-examples
33390 maybe-install-target-examples:
33391 @if target-examples
33392 maybe-install-target-examples: install-target-examples
33394 # Dummy target for uninstallable.
33395 install-target-examples:
33397 @endif target-examples
33399 # Other targets (info, dvi, etc.)
33401 .PHONY: maybe-info-target-examples info-target-examples
33402 maybe-info-target-examples:
33403 @if target-examples
33404 maybe-info-target-examples: info-target-examples
33406 info-target-examples: \
33407 configure-target-examples
33408 @: $(MAKE); $(unstage)
33409 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33410 r=`${PWD_COMMAND}`; export r; \
33411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33412 $(NORMAL_TARGET_EXPORTS) \
33413 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
33414 for flag in $(EXTRA_TARGET_FLAGS); do \
33415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33416 done; \
33417 (cd $(TARGET_SUBDIR)/examples && \
33418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33420 "RANLIB=$${RANLIB}" \
33421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33422 info) \
33423 || exit 1
33425 @endif target-examples
33427 .PHONY: maybe-dvi-target-examples dvi-target-examples
33428 maybe-dvi-target-examples:
33429 @if target-examples
33430 maybe-dvi-target-examples: dvi-target-examples
33432 dvi-target-examples: \
33433 configure-target-examples
33434 @: $(MAKE); $(unstage)
33435 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33436 r=`${PWD_COMMAND}`; export r; \
33437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33438 $(NORMAL_TARGET_EXPORTS) \
33439 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
33440 for flag in $(EXTRA_TARGET_FLAGS); do \
33441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33442 done; \
33443 (cd $(TARGET_SUBDIR)/examples && \
33444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33446 "RANLIB=$${RANLIB}" \
33447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33448 dvi) \
33449 || exit 1
33451 @endif target-examples
33453 .PHONY: maybe-html-target-examples html-target-examples
33454 maybe-html-target-examples:
33455 @if target-examples
33456 maybe-html-target-examples: html-target-examples
33458 html-target-examples: \
33459 configure-target-examples
33460 @: $(MAKE); $(unstage)
33461 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33462 r=`${PWD_COMMAND}`; export r; \
33463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33464 $(NORMAL_TARGET_EXPORTS) \
33465 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
33466 for flag in $(EXTRA_TARGET_FLAGS); do \
33467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33468 done; \
33469 (cd $(TARGET_SUBDIR)/examples && \
33470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33472 "RANLIB=$${RANLIB}" \
33473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33474 html) \
33475 || exit 1
33477 @endif target-examples
33479 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
33480 maybe-TAGS-target-examples:
33481 @if target-examples
33482 maybe-TAGS-target-examples: TAGS-target-examples
33484 TAGS-target-examples: \
33485 configure-target-examples
33486 @: $(MAKE); $(unstage)
33487 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33488 r=`${PWD_COMMAND}`; export r; \
33489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33490 $(NORMAL_TARGET_EXPORTS) \
33491 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
33492 for flag in $(EXTRA_TARGET_FLAGS); do \
33493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33494 done; \
33495 (cd $(TARGET_SUBDIR)/examples && \
33496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33498 "RANLIB=$${RANLIB}" \
33499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33500 TAGS) \
33501 || exit 1
33503 @endif target-examples
33505 .PHONY: maybe-install-info-target-examples install-info-target-examples
33506 maybe-install-info-target-examples:
33507 @if target-examples
33508 maybe-install-info-target-examples: install-info-target-examples
33510 install-info-target-examples: \
33511 configure-target-examples \
33512 info-target-examples
33513 @: $(MAKE); $(unstage)
33514 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33515 r=`${PWD_COMMAND}`; export r; \
33516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33517 $(NORMAL_TARGET_EXPORTS) \
33518 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
33519 for flag in $(EXTRA_TARGET_FLAGS); do \
33520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33521 done; \
33522 (cd $(TARGET_SUBDIR)/examples && \
33523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33525 "RANLIB=$${RANLIB}" \
33526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33527 install-info) \
33528 || exit 1
33530 @endif target-examples
33532 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
33533 maybe-installcheck-target-examples:
33534 @if target-examples
33535 maybe-installcheck-target-examples: installcheck-target-examples
33537 installcheck-target-examples: \
33538 configure-target-examples
33539 @: $(MAKE); $(unstage)
33540 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33541 r=`${PWD_COMMAND}`; export r; \
33542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33543 $(NORMAL_TARGET_EXPORTS) \
33544 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
33545 for flag in $(EXTRA_TARGET_FLAGS); do \
33546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33547 done; \
33548 (cd $(TARGET_SUBDIR)/examples && \
33549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33551 "RANLIB=$${RANLIB}" \
33552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33553 installcheck) \
33554 || exit 1
33556 @endif target-examples
33558 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
33559 maybe-mostlyclean-target-examples:
33560 @if target-examples
33561 maybe-mostlyclean-target-examples: mostlyclean-target-examples
33563 mostlyclean-target-examples:
33564 @: $(MAKE); $(unstage)
33565 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33566 r=`${PWD_COMMAND}`; export r; \
33567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33568 $(NORMAL_TARGET_EXPORTS) \
33569 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
33570 for flag in $(EXTRA_TARGET_FLAGS); do \
33571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33572 done; \
33573 (cd $(TARGET_SUBDIR)/examples && \
33574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33576 "RANLIB=$${RANLIB}" \
33577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33578 mostlyclean) \
33579 || exit 1
33581 @endif target-examples
33583 .PHONY: maybe-clean-target-examples clean-target-examples
33584 maybe-clean-target-examples:
33585 @if target-examples
33586 maybe-clean-target-examples: clean-target-examples
33588 clean-target-examples:
33589 @: $(MAKE); $(unstage)
33590 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33591 r=`${PWD_COMMAND}`; export r; \
33592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33593 $(NORMAL_TARGET_EXPORTS) \
33594 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
33595 for flag in $(EXTRA_TARGET_FLAGS); do \
33596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33597 done; \
33598 (cd $(TARGET_SUBDIR)/examples && \
33599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33601 "RANLIB=$${RANLIB}" \
33602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33603 clean) \
33604 || exit 1
33606 @endif target-examples
33608 .PHONY: maybe-distclean-target-examples distclean-target-examples
33609 maybe-distclean-target-examples:
33610 @if target-examples
33611 maybe-distclean-target-examples: distclean-target-examples
33613 distclean-target-examples:
33614 @: $(MAKE); $(unstage)
33615 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33616 r=`${PWD_COMMAND}`; export r; \
33617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33618 $(NORMAL_TARGET_EXPORTS) \
33619 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33620 for flag in $(EXTRA_TARGET_FLAGS); do \
33621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33622 done; \
33623 (cd $(TARGET_SUBDIR)/examples && \
33624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33626 "RANLIB=$${RANLIB}" \
33627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33628 distclean) \
33629 || exit 1
33631 @endif target-examples
33633 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33634 maybe-maintainer-clean-target-examples:
33635 @if target-examples
33636 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33638 maintainer-clean-target-examples:
33639 @: $(MAKE); $(unstage)
33640 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33641 r=`${PWD_COMMAND}`; export r; \
33642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33643 $(NORMAL_TARGET_EXPORTS) \
33644 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
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)/examples && \
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 maintainer-clean) \
33654 || exit 1
33656 @endif target-examples
33662 .PHONY: configure-target-libffi maybe-configure-target-libffi
33663 maybe-configure-target-libffi:
33664 @if target-libffi
33665 maybe-configure-target-libffi: configure-target-libffi
33666 configure-target-libffi:
33667 @: $(MAKE); $(unstage)
33668 @r=`${PWD_COMMAND}`; export r; \
33669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33670 echo "Checking multilib configuration for libffi..."; \
33671 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33672 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33673 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33674 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33675 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33676 else \
33677 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33678 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33679 fi; \
33680 else \
33681 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33682 fi; \
33683 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33684 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33685 $(NORMAL_TARGET_EXPORTS) \
33686 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33687 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33688 case $(srcdir) in \
33689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33690 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33692 esac; \
33693 srcdiroption="--srcdir=$${topdir}/libffi"; \
33694 libsrcdir="$$s/libffi"; \
33695 rm -f no-such-file || : ; \
33696 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33697 $(TARGET_CONFIGARGS) $${srcdiroption} \
33698 || exit 1
33699 @endif target-libffi
33705 .PHONY: all-target-libffi maybe-all-target-libffi
33706 maybe-all-target-libffi:
33707 @if target-libffi
33708 TARGET-target-libffi=all
33709 maybe-all-target-libffi: all-target-libffi
33710 all-target-libffi: configure-target-libffi
33711 @: $(MAKE); $(unstage)
33712 @r=`${PWD_COMMAND}`; export r; \
33713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33714 $(NORMAL_TARGET_EXPORTS) \
33715 (cd $(TARGET_SUBDIR)/libffi && \
33716 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33717 @endif target-libffi
33723 .PHONY: check-target-libffi maybe-check-target-libffi
33724 maybe-check-target-libffi:
33725 @if target-libffi
33726 maybe-check-target-libffi: check-target-libffi
33728 check-target-libffi:
33729 @: $(MAKE); $(unstage)
33730 @r=`${PWD_COMMAND}`; export r; \
33731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33732 $(NORMAL_TARGET_EXPORTS) \
33733 (cd $(TARGET_SUBDIR)/libffi && \
33734 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33736 @endif target-libffi
33738 .PHONY: install-target-libffi maybe-install-target-libffi
33739 maybe-install-target-libffi:
33740 @if target-libffi
33741 maybe-install-target-libffi: install-target-libffi
33743 install-target-libffi: installdirs
33744 @: $(MAKE); $(unstage)
33745 @r=`${PWD_COMMAND}`; export r; \
33746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33747 $(NORMAL_TARGET_EXPORTS) \
33748 (cd $(TARGET_SUBDIR)/libffi && \
33749 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33751 @endif target-libffi
33753 # Other targets (info, dvi, etc.)
33755 .PHONY: maybe-info-target-libffi info-target-libffi
33756 maybe-info-target-libffi:
33757 @if target-libffi
33758 maybe-info-target-libffi: info-target-libffi
33760 info-target-libffi: \
33761 configure-target-libffi
33762 @: $(MAKE); $(unstage)
33763 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33764 r=`${PWD_COMMAND}`; export r; \
33765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33766 $(NORMAL_TARGET_EXPORTS) \
33767 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33768 for flag in $(EXTRA_TARGET_FLAGS); do \
33769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33770 done; \
33771 (cd $(TARGET_SUBDIR)/libffi && \
33772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33774 "RANLIB=$${RANLIB}" \
33775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33776 info) \
33777 || exit 1
33779 @endif target-libffi
33781 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33782 maybe-dvi-target-libffi:
33783 @if target-libffi
33784 maybe-dvi-target-libffi: dvi-target-libffi
33786 dvi-target-libffi: \
33787 configure-target-libffi
33788 @: $(MAKE); $(unstage)
33789 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33790 r=`${PWD_COMMAND}`; export r; \
33791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33792 $(NORMAL_TARGET_EXPORTS) \
33793 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33794 for flag in $(EXTRA_TARGET_FLAGS); do \
33795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33796 done; \
33797 (cd $(TARGET_SUBDIR)/libffi && \
33798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33800 "RANLIB=$${RANLIB}" \
33801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33802 dvi) \
33803 || exit 1
33805 @endif target-libffi
33807 .PHONY: maybe-html-target-libffi html-target-libffi
33808 maybe-html-target-libffi:
33809 @if target-libffi
33810 maybe-html-target-libffi: html-target-libffi
33812 html-target-libffi: \
33813 configure-target-libffi
33814 @: $(MAKE); $(unstage)
33815 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33816 r=`${PWD_COMMAND}`; export r; \
33817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33818 $(NORMAL_TARGET_EXPORTS) \
33819 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33820 for flag in $(EXTRA_TARGET_FLAGS); do \
33821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33822 done; \
33823 (cd $(TARGET_SUBDIR)/libffi && \
33824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33826 "RANLIB=$${RANLIB}" \
33827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33828 html) \
33829 || exit 1
33831 @endif target-libffi
33833 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33834 maybe-TAGS-target-libffi:
33835 @if target-libffi
33836 maybe-TAGS-target-libffi: TAGS-target-libffi
33838 TAGS-target-libffi: \
33839 configure-target-libffi
33840 @: $(MAKE); $(unstage)
33841 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33842 r=`${PWD_COMMAND}`; export r; \
33843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33844 $(NORMAL_TARGET_EXPORTS) \
33845 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33846 for flag in $(EXTRA_TARGET_FLAGS); do \
33847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33848 done; \
33849 (cd $(TARGET_SUBDIR)/libffi && \
33850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33852 "RANLIB=$${RANLIB}" \
33853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33854 TAGS) \
33855 || exit 1
33857 @endif target-libffi
33859 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33860 maybe-install-info-target-libffi:
33861 @if target-libffi
33862 maybe-install-info-target-libffi: install-info-target-libffi
33864 install-info-target-libffi: \
33865 configure-target-libffi \
33866 info-target-libffi
33867 @: $(MAKE); $(unstage)
33868 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33869 r=`${PWD_COMMAND}`; export r; \
33870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33871 $(NORMAL_TARGET_EXPORTS) \
33872 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33873 for flag in $(EXTRA_TARGET_FLAGS); do \
33874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33875 done; \
33876 (cd $(TARGET_SUBDIR)/libffi && \
33877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33879 "RANLIB=$${RANLIB}" \
33880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33881 install-info) \
33882 || exit 1
33884 @endif target-libffi
33886 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33887 maybe-installcheck-target-libffi:
33888 @if target-libffi
33889 maybe-installcheck-target-libffi: installcheck-target-libffi
33891 installcheck-target-libffi: \
33892 configure-target-libffi
33893 @: $(MAKE); $(unstage)
33894 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33895 r=`${PWD_COMMAND}`; export r; \
33896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33897 $(NORMAL_TARGET_EXPORTS) \
33898 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33899 for flag in $(EXTRA_TARGET_FLAGS); do \
33900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33901 done; \
33902 (cd $(TARGET_SUBDIR)/libffi && \
33903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33905 "RANLIB=$${RANLIB}" \
33906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33907 installcheck) \
33908 || exit 1
33910 @endif target-libffi
33912 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33913 maybe-mostlyclean-target-libffi:
33914 @if target-libffi
33915 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33917 mostlyclean-target-libffi:
33918 @: $(MAKE); $(unstage)
33919 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33920 r=`${PWD_COMMAND}`; export r; \
33921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33922 $(NORMAL_TARGET_EXPORTS) \
33923 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33924 for flag in $(EXTRA_TARGET_FLAGS); do \
33925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33926 done; \
33927 (cd $(TARGET_SUBDIR)/libffi && \
33928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33930 "RANLIB=$${RANLIB}" \
33931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33932 mostlyclean) \
33933 || exit 1
33935 @endif target-libffi
33937 .PHONY: maybe-clean-target-libffi clean-target-libffi
33938 maybe-clean-target-libffi:
33939 @if target-libffi
33940 maybe-clean-target-libffi: clean-target-libffi
33942 clean-target-libffi:
33943 @: $(MAKE); $(unstage)
33944 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33945 r=`${PWD_COMMAND}`; export r; \
33946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33947 $(NORMAL_TARGET_EXPORTS) \
33948 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33949 for flag in $(EXTRA_TARGET_FLAGS); do \
33950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33951 done; \
33952 (cd $(TARGET_SUBDIR)/libffi && \
33953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33955 "RANLIB=$${RANLIB}" \
33956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33957 clean) \
33958 || exit 1
33960 @endif target-libffi
33962 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33963 maybe-distclean-target-libffi:
33964 @if target-libffi
33965 maybe-distclean-target-libffi: distclean-target-libffi
33967 distclean-target-libffi:
33968 @: $(MAKE); $(unstage)
33969 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33970 r=`${PWD_COMMAND}`; export r; \
33971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33972 $(NORMAL_TARGET_EXPORTS) \
33973 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
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)/libffi && \
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 distclean) \
33983 || exit 1
33985 @endif target-libffi
33987 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33988 maybe-maintainer-clean-target-libffi:
33989 @if target-libffi
33990 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33992 maintainer-clean-target-libffi:
33993 @: $(MAKE); $(unstage)
33994 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33995 r=`${PWD_COMMAND}`; export r; \
33996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33997 $(NORMAL_TARGET_EXPORTS) \
33998 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33999 for flag in $(EXTRA_TARGET_FLAGS); do \
34000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34001 done; \
34002 (cd $(TARGET_SUBDIR)/libffi && \
34003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34005 "RANLIB=$${RANLIB}" \
34006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34007 maintainer-clean) \
34008 || exit 1
34010 @endif target-libffi
34016 .PHONY: configure-target-libjava maybe-configure-target-libjava
34017 maybe-configure-target-libjava:
34018 @if target-libjava
34019 maybe-configure-target-libjava: configure-target-libjava
34020 configure-target-libjava:
34021 @: $(MAKE); $(unstage)
34022 @r=`${PWD_COMMAND}`; export r; \
34023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34024 echo "Checking multilib configuration for libjava..."; \
34025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
34026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
34027 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
34028 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
34029 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
34030 else \
34031 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
34032 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
34033 fi; \
34034 else \
34035 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
34036 fi; \
34037 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
34038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
34039 $(RAW_CXX_TARGET_EXPORTS) \
34040 echo Configuring in $(TARGET_SUBDIR)/libjava; \
34041 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
34042 case $(srcdir) in \
34043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34044 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
34045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34046 esac; \
34047 srcdiroption="--srcdir=$${topdir}/libjava"; \
34048 libsrcdir="$$s/libjava"; \
34049 rm -f no-such-file || : ; \
34050 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34051 $(TARGET_CONFIGARGS) $${srcdiroption} \
34052 || exit 1
34053 @endif target-libjava
34059 .PHONY: all-target-libjava maybe-all-target-libjava
34060 maybe-all-target-libjava:
34061 @if target-libjava
34062 TARGET-target-libjava=all
34063 maybe-all-target-libjava: all-target-libjava
34064 all-target-libjava: configure-target-libjava
34065 @: $(MAKE); $(unstage)
34066 @r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 $(RAW_CXX_TARGET_EXPORTS) \
34069 (cd $(TARGET_SUBDIR)/libjava && \
34070 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
34071 @endif target-libjava
34077 .PHONY: check-target-libjava maybe-check-target-libjava
34078 maybe-check-target-libjava:
34079 @if target-libjava
34080 maybe-check-target-libjava: check-target-libjava
34082 check-target-libjava:
34083 @: $(MAKE); $(unstage)
34084 @r=`${PWD_COMMAND}`; export r; \
34085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34086 $(RAW_CXX_TARGET_EXPORTS) \
34087 (cd $(TARGET_SUBDIR)/libjava && \
34088 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34090 @endif target-libjava
34092 .PHONY: install-target-libjava maybe-install-target-libjava
34093 maybe-install-target-libjava:
34094 @if target-libjava
34095 maybe-install-target-libjava: install-target-libjava
34097 install-target-libjava: installdirs
34098 @: $(MAKE); $(unstage)
34099 @r=`${PWD_COMMAND}`; export r; \
34100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34101 $(RAW_CXX_TARGET_EXPORTS) \
34102 (cd $(TARGET_SUBDIR)/libjava && \
34103 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34105 @endif target-libjava
34107 # Other targets (info, dvi, etc.)
34109 .PHONY: maybe-info-target-libjava info-target-libjava
34110 maybe-info-target-libjava:
34111 @if target-libjava
34112 maybe-info-target-libjava: info-target-libjava
34114 info-target-libjava: \
34115 configure-target-libjava
34116 @: $(MAKE); $(unstage)
34117 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34118 r=`${PWD_COMMAND}`; export r; \
34119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34120 $(RAW_CXX_TARGET_EXPORTS) \
34121 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
34122 for flag in $(EXTRA_TARGET_FLAGS); do \
34123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34124 done; \
34125 (cd $(TARGET_SUBDIR)/libjava && \
34126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34128 "RANLIB=$${RANLIB}" \
34129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34130 info) \
34131 || exit 1
34133 @endif target-libjava
34135 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
34136 maybe-dvi-target-libjava:
34137 @if target-libjava
34138 maybe-dvi-target-libjava: dvi-target-libjava
34140 dvi-target-libjava: \
34141 configure-target-libjava
34142 @: $(MAKE); $(unstage)
34143 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34144 r=`${PWD_COMMAND}`; export r; \
34145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34146 $(RAW_CXX_TARGET_EXPORTS) \
34147 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
34148 for flag in $(EXTRA_TARGET_FLAGS); do \
34149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34150 done; \
34151 (cd $(TARGET_SUBDIR)/libjava && \
34152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34154 "RANLIB=$${RANLIB}" \
34155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34156 dvi) \
34157 || exit 1
34159 @endif target-libjava
34161 .PHONY: maybe-html-target-libjava html-target-libjava
34162 maybe-html-target-libjava:
34163 @if target-libjava
34164 maybe-html-target-libjava: html-target-libjava
34166 html-target-libjava: \
34167 configure-target-libjava
34168 @: $(MAKE); $(unstage)
34169 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34170 r=`${PWD_COMMAND}`; export r; \
34171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34172 $(RAW_CXX_TARGET_EXPORTS) \
34173 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
34174 for flag in $(EXTRA_TARGET_FLAGS); do \
34175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34176 done; \
34177 (cd $(TARGET_SUBDIR)/libjava && \
34178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34180 "RANLIB=$${RANLIB}" \
34181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34182 html) \
34183 || exit 1
34185 @endif target-libjava
34187 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
34188 maybe-TAGS-target-libjava:
34189 @if target-libjava
34190 maybe-TAGS-target-libjava: TAGS-target-libjava
34192 TAGS-target-libjava: \
34193 configure-target-libjava
34194 @: $(MAKE); $(unstage)
34195 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34196 r=`${PWD_COMMAND}`; export r; \
34197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34198 $(RAW_CXX_TARGET_EXPORTS) \
34199 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
34200 for flag in $(EXTRA_TARGET_FLAGS); do \
34201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34202 done; \
34203 (cd $(TARGET_SUBDIR)/libjava && \
34204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34206 "RANLIB=$${RANLIB}" \
34207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34208 TAGS) \
34209 || exit 1
34211 @endif target-libjava
34213 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
34214 maybe-install-info-target-libjava:
34215 @if target-libjava
34216 maybe-install-info-target-libjava: install-info-target-libjava
34218 install-info-target-libjava: \
34219 configure-target-libjava \
34220 info-target-libjava
34221 @: $(MAKE); $(unstage)
34222 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34223 r=`${PWD_COMMAND}`; export r; \
34224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34225 $(RAW_CXX_TARGET_EXPORTS) \
34226 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
34227 for flag in $(EXTRA_TARGET_FLAGS); do \
34228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34229 done; \
34230 (cd $(TARGET_SUBDIR)/libjava && \
34231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34233 "RANLIB=$${RANLIB}" \
34234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34235 install-info) \
34236 || exit 1
34238 @endif target-libjava
34240 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
34241 maybe-installcheck-target-libjava:
34242 @if target-libjava
34243 maybe-installcheck-target-libjava: installcheck-target-libjava
34245 installcheck-target-libjava: \
34246 configure-target-libjava
34247 @: $(MAKE); $(unstage)
34248 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34249 r=`${PWD_COMMAND}`; export r; \
34250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34251 $(RAW_CXX_TARGET_EXPORTS) \
34252 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
34253 for flag in $(EXTRA_TARGET_FLAGS); do \
34254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34255 done; \
34256 (cd $(TARGET_SUBDIR)/libjava && \
34257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34259 "RANLIB=$${RANLIB}" \
34260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34261 installcheck) \
34262 || exit 1
34264 @endif target-libjava
34266 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
34267 maybe-mostlyclean-target-libjava:
34268 @if target-libjava
34269 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
34271 mostlyclean-target-libjava:
34272 @: $(MAKE); $(unstage)
34273 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34274 r=`${PWD_COMMAND}`; export r; \
34275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34276 $(RAW_CXX_TARGET_EXPORTS) \
34277 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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 mostlyclean) \
34287 || exit 1
34289 @endif target-libjava
34291 .PHONY: maybe-clean-target-libjava clean-target-libjava
34292 maybe-clean-target-libjava:
34293 @if target-libjava
34294 maybe-clean-target-libjava: clean-target-libjava
34296 clean-target-libjava:
34297 @: $(MAKE); $(unstage)
34298 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34299 r=`${PWD_COMMAND}`; export r; \
34300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34301 $(RAW_CXX_TARGET_EXPORTS) \
34302 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
34303 for flag in $(EXTRA_TARGET_FLAGS); do \
34304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34305 done; \
34306 (cd $(TARGET_SUBDIR)/libjava && \
34307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34309 "RANLIB=$${RANLIB}" \
34310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34311 clean) \
34312 || exit 1
34314 @endif target-libjava
34316 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
34317 maybe-distclean-target-libjava:
34318 @if target-libjava
34319 maybe-distclean-target-libjava: distclean-target-libjava
34321 distclean-target-libjava:
34322 @: $(MAKE); $(unstage)
34323 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34324 r=`${PWD_COMMAND}`; export r; \
34325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34326 $(RAW_CXX_TARGET_EXPORTS) \
34327 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
34328 for flag in $(EXTRA_TARGET_FLAGS); do \
34329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34330 done; \
34331 (cd $(TARGET_SUBDIR)/libjava && \
34332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34334 "RANLIB=$${RANLIB}" \
34335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34336 distclean) \
34337 || exit 1
34339 @endif target-libjava
34341 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
34342 maybe-maintainer-clean-target-libjava:
34343 @if target-libjava
34344 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
34346 maintainer-clean-target-libjava:
34347 @: $(MAKE); $(unstage)
34348 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34349 r=`${PWD_COMMAND}`; export r; \
34350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34351 $(RAW_CXX_TARGET_EXPORTS) \
34352 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
34353 for flag in $(EXTRA_TARGET_FLAGS); do \
34354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34355 done; \
34356 (cd $(TARGET_SUBDIR)/libjava && \
34357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34359 "RANLIB=$${RANLIB}" \
34360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34361 maintainer-clean) \
34362 || exit 1
34364 @endif target-libjava
34370 .PHONY: configure-target-zlib maybe-configure-target-zlib
34371 maybe-configure-target-zlib:
34372 @if target-zlib
34373 maybe-configure-target-zlib: configure-target-zlib
34374 configure-target-zlib:
34375 @: $(MAKE); $(unstage)
34376 @r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 echo "Checking multilib configuration for zlib..."; \
34379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
34381 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
34382 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
34383 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
34384 else \
34385 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
34386 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34387 fi; \
34388 else \
34389 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34390 fi; \
34391 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
34392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34393 $(NORMAL_TARGET_EXPORTS) \
34394 echo Configuring in $(TARGET_SUBDIR)/zlib; \
34395 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
34396 case $(srcdir) in \
34397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34398 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
34399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34400 esac; \
34401 srcdiroption="--srcdir=$${topdir}/zlib"; \
34402 libsrcdir="$$s/zlib"; \
34403 rm -f no-such-file || : ; \
34404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34405 $(TARGET_CONFIGARGS) $${srcdiroption} \
34406 || exit 1
34407 @endif target-zlib
34413 .PHONY: all-target-zlib maybe-all-target-zlib
34414 maybe-all-target-zlib:
34415 @if target-zlib
34416 TARGET-target-zlib=all
34417 maybe-all-target-zlib: all-target-zlib
34418 all-target-zlib: configure-target-zlib
34419 @: $(MAKE); $(unstage)
34420 @r=`${PWD_COMMAND}`; export r; \
34421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34422 $(NORMAL_TARGET_EXPORTS) \
34423 (cd $(TARGET_SUBDIR)/zlib && \
34424 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
34425 @endif target-zlib
34431 .PHONY: check-target-zlib maybe-check-target-zlib
34432 maybe-check-target-zlib:
34433 @if target-zlib
34434 maybe-check-target-zlib: check-target-zlib
34436 check-target-zlib:
34437 @: $(MAKE); $(unstage)
34438 @r=`${PWD_COMMAND}`; export r; \
34439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34440 $(NORMAL_TARGET_EXPORTS) \
34441 (cd $(TARGET_SUBDIR)/zlib && \
34442 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34444 @endif target-zlib
34446 .PHONY: install-target-zlib maybe-install-target-zlib
34447 maybe-install-target-zlib:
34448 @if target-zlib
34449 maybe-install-target-zlib: install-target-zlib
34451 install-target-zlib: installdirs
34452 @: $(MAKE); $(unstage)
34453 @r=`${PWD_COMMAND}`; export r; \
34454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34455 $(NORMAL_TARGET_EXPORTS) \
34456 (cd $(TARGET_SUBDIR)/zlib && \
34457 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34459 @endif target-zlib
34461 # Other targets (info, dvi, etc.)
34463 .PHONY: maybe-info-target-zlib info-target-zlib
34464 maybe-info-target-zlib:
34465 @if target-zlib
34466 maybe-info-target-zlib: info-target-zlib
34468 info-target-zlib: \
34469 configure-target-zlib
34470 @: $(MAKE); $(unstage)
34471 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34472 r=`${PWD_COMMAND}`; export r; \
34473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34474 $(NORMAL_TARGET_EXPORTS) \
34475 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
34476 for flag in $(EXTRA_TARGET_FLAGS); do \
34477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34478 done; \
34479 (cd $(TARGET_SUBDIR)/zlib && \
34480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34482 "RANLIB=$${RANLIB}" \
34483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34484 info) \
34485 || exit 1
34487 @endif target-zlib
34489 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
34490 maybe-dvi-target-zlib:
34491 @if target-zlib
34492 maybe-dvi-target-zlib: dvi-target-zlib
34494 dvi-target-zlib: \
34495 configure-target-zlib
34496 @: $(MAKE); $(unstage)
34497 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(NORMAL_TARGET_EXPORTS) \
34501 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
34502 for flag in $(EXTRA_TARGET_FLAGS); do \
34503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34504 done; \
34505 (cd $(TARGET_SUBDIR)/zlib && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34510 dvi) \
34511 || exit 1
34513 @endif target-zlib
34515 .PHONY: maybe-html-target-zlib html-target-zlib
34516 maybe-html-target-zlib:
34517 @if target-zlib
34518 maybe-html-target-zlib: html-target-zlib
34520 html-target-zlib: \
34521 configure-target-zlib
34522 @: $(MAKE); $(unstage)
34523 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34524 r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 $(NORMAL_TARGET_EXPORTS) \
34527 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
34528 for flag in $(EXTRA_TARGET_FLAGS); do \
34529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34530 done; \
34531 (cd $(TARGET_SUBDIR)/zlib && \
34532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34534 "RANLIB=$${RANLIB}" \
34535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34536 html) \
34537 || exit 1
34539 @endif target-zlib
34541 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
34542 maybe-TAGS-target-zlib:
34543 @if target-zlib
34544 maybe-TAGS-target-zlib: TAGS-target-zlib
34546 TAGS-target-zlib: \
34547 configure-target-zlib
34548 @: $(MAKE); $(unstage)
34549 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34550 r=`${PWD_COMMAND}`; export r; \
34551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34552 $(NORMAL_TARGET_EXPORTS) \
34553 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
34554 for flag in $(EXTRA_TARGET_FLAGS); do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 (cd $(TARGET_SUBDIR)/zlib && \
34558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34560 "RANLIB=$${RANLIB}" \
34561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34562 TAGS) \
34563 || exit 1
34565 @endif target-zlib
34567 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
34568 maybe-install-info-target-zlib:
34569 @if target-zlib
34570 maybe-install-info-target-zlib: install-info-target-zlib
34572 install-info-target-zlib: \
34573 configure-target-zlib \
34574 info-target-zlib
34575 @: $(MAKE); $(unstage)
34576 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34577 r=`${PWD_COMMAND}`; export r; \
34578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34579 $(NORMAL_TARGET_EXPORTS) \
34580 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
34581 for flag in $(EXTRA_TARGET_FLAGS); do \
34582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34583 done; \
34584 (cd $(TARGET_SUBDIR)/zlib && \
34585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34587 "RANLIB=$${RANLIB}" \
34588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34589 install-info) \
34590 || exit 1
34592 @endif target-zlib
34594 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34595 maybe-installcheck-target-zlib:
34596 @if target-zlib
34597 maybe-installcheck-target-zlib: installcheck-target-zlib
34599 installcheck-target-zlib: \
34600 configure-target-zlib
34601 @: $(MAKE); $(unstage)
34602 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34603 r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(NORMAL_TARGET_EXPORTS) \
34606 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34607 for flag in $(EXTRA_TARGET_FLAGS); do \
34608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34609 done; \
34610 (cd $(TARGET_SUBDIR)/zlib && \
34611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34613 "RANLIB=$${RANLIB}" \
34614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34615 installcheck) \
34616 || exit 1
34618 @endif target-zlib
34620 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34621 maybe-mostlyclean-target-zlib:
34622 @if target-zlib
34623 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34625 mostlyclean-target-zlib:
34626 @: $(MAKE); $(unstage)
34627 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34628 r=`${PWD_COMMAND}`; export r; \
34629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34630 $(NORMAL_TARGET_EXPORTS) \
34631 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34632 for flag in $(EXTRA_TARGET_FLAGS); do \
34633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34634 done; \
34635 (cd $(TARGET_SUBDIR)/zlib && \
34636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34638 "RANLIB=$${RANLIB}" \
34639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34640 mostlyclean) \
34641 || exit 1
34643 @endif target-zlib
34645 .PHONY: maybe-clean-target-zlib clean-target-zlib
34646 maybe-clean-target-zlib:
34647 @if target-zlib
34648 maybe-clean-target-zlib: clean-target-zlib
34650 clean-target-zlib:
34651 @: $(MAKE); $(unstage)
34652 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34653 r=`${PWD_COMMAND}`; export r; \
34654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34655 $(NORMAL_TARGET_EXPORTS) \
34656 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34657 for flag in $(EXTRA_TARGET_FLAGS); do \
34658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34659 done; \
34660 (cd $(TARGET_SUBDIR)/zlib && \
34661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34663 "RANLIB=$${RANLIB}" \
34664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34665 clean) \
34666 || exit 1
34668 @endif target-zlib
34670 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34671 maybe-distclean-target-zlib:
34672 @if target-zlib
34673 maybe-distclean-target-zlib: distclean-target-zlib
34675 distclean-target-zlib:
34676 @: $(MAKE); $(unstage)
34677 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34678 r=`${PWD_COMMAND}`; export r; \
34679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34680 $(NORMAL_TARGET_EXPORTS) \
34681 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34682 for flag in $(EXTRA_TARGET_FLAGS); do \
34683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34684 done; \
34685 (cd $(TARGET_SUBDIR)/zlib && \
34686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34688 "RANLIB=$${RANLIB}" \
34689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34690 distclean) \
34691 || exit 1
34693 @endif target-zlib
34695 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34696 maybe-maintainer-clean-target-zlib:
34697 @if target-zlib
34698 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34700 maintainer-clean-target-zlib:
34701 @: $(MAKE); $(unstage)
34702 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34703 r=`${PWD_COMMAND}`; export r; \
34704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34705 $(NORMAL_TARGET_EXPORTS) \
34706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34707 for flag in $(EXTRA_TARGET_FLAGS); do \
34708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34709 done; \
34710 (cd $(TARGET_SUBDIR)/zlib && \
34711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34713 "RANLIB=$${RANLIB}" \
34714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34715 maintainer-clean) \
34716 || exit 1
34718 @endif target-zlib
34724 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34725 maybe-configure-target-boehm-gc:
34726 @if target-boehm-gc
34727 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34728 configure-target-boehm-gc:
34729 @: $(MAKE); $(unstage)
34730 @r=`${PWD_COMMAND}`; export r; \
34731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34732 echo "Checking multilib configuration for boehm-gc..."; \
34733 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34734 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34735 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34736 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34737 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34738 else \
34739 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34740 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34741 fi; \
34742 else \
34743 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34744 fi; \
34745 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34746 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34747 $(NORMAL_TARGET_EXPORTS) \
34748 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34749 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34750 case $(srcdir) in \
34751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34752 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34754 esac; \
34755 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34756 libsrcdir="$$s/boehm-gc"; \
34757 rm -f no-such-file || : ; \
34758 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34759 $(TARGET_CONFIGARGS) $${srcdiroption} \
34760 || exit 1
34761 @endif target-boehm-gc
34767 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34768 maybe-all-target-boehm-gc:
34769 @if target-boehm-gc
34770 TARGET-target-boehm-gc=all
34771 maybe-all-target-boehm-gc: all-target-boehm-gc
34772 all-target-boehm-gc: configure-target-boehm-gc
34773 @: $(MAKE); $(unstage)
34774 @r=`${PWD_COMMAND}`; export r; \
34775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34776 $(NORMAL_TARGET_EXPORTS) \
34777 (cd $(TARGET_SUBDIR)/boehm-gc && \
34778 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34779 @endif target-boehm-gc
34785 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34786 maybe-check-target-boehm-gc:
34787 @if target-boehm-gc
34788 maybe-check-target-boehm-gc: check-target-boehm-gc
34790 check-target-boehm-gc:
34791 @: $(MAKE); $(unstage)
34792 @r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(NORMAL_TARGET_EXPORTS) \
34795 (cd $(TARGET_SUBDIR)/boehm-gc && \
34796 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34798 @endif target-boehm-gc
34800 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34801 maybe-install-target-boehm-gc:
34802 @if target-boehm-gc
34803 maybe-install-target-boehm-gc: install-target-boehm-gc
34805 install-target-boehm-gc: installdirs
34806 @: $(MAKE); $(unstage)
34807 @r=`${PWD_COMMAND}`; export r; \
34808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34809 $(NORMAL_TARGET_EXPORTS) \
34810 (cd $(TARGET_SUBDIR)/boehm-gc && \
34811 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34813 @endif target-boehm-gc
34815 # Other targets (info, dvi, etc.)
34817 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34818 maybe-info-target-boehm-gc:
34819 @if target-boehm-gc
34820 maybe-info-target-boehm-gc: info-target-boehm-gc
34822 info-target-boehm-gc: \
34823 configure-target-boehm-gc
34824 @: $(MAKE); $(unstage)
34825 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34826 r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(NORMAL_TARGET_EXPORTS) \
34829 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34830 for flag in $(EXTRA_TARGET_FLAGS); do \
34831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34832 done; \
34833 (cd $(TARGET_SUBDIR)/boehm-gc && \
34834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34836 "RANLIB=$${RANLIB}" \
34837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34838 info) \
34839 || exit 1
34841 @endif target-boehm-gc
34843 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34844 maybe-dvi-target-boehm-gc:
34845 @if target-boehm-gc
34846 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34848 dvi-target-boehm-gc: \
34849 configure-target-boehm-gc
34850 @: $(MAKE); $(unstage)
34851 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34852 r=`${PWD_COMMAND}`; export r; \
34853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34854 $(NORMAL_TARGET_EXPORTS) \
34855 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34856 for flag in $(EXTRA_TARGET_FLAGS); do \
34857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34858 done; \
34859 (cd $(TARGET_SUBDIR)/boehm-gc && \
34860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34862 "RANLIB=$${RANLIB}" \
34863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34864 dvi) \
34865 || exit 1
34867 @endif target-boehm-gc
34869 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34870 maybe-html-target-boehm-gc:
34871 @if target-boehm-gc
34872 maybe-html-target-boehm-gc: html-target-boehm-gc
34874 html-target-boehm-gc: \
34875 configure-target-boehm-gc
34876 @: $(MAKE); $(unstage)
34877 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34878 r=`${PWD_COMMAND}`; export r; \
34879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34880 $(NORMAL_TARGET_EXPORTS) \
34881 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34882 for flag in $(EXTRA_TARGET_FLAGS); do \
34883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34884 done; \
34885 (cd $(TARGET_SUBDIR)/boehm-gc && \
34886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34888 "RANLIB=$${RANLIB}" \
34889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34890 html) \
34891 || exit 1
34893 @endif target-boehm-gc
34895 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34896 maybe-TAGS-target-boehm-gc:
34897 @if target-boehm-gc
34898 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34900 TAGS-target-boehm-gc: \
34901 configure-target-boehm-gc
34902 @: $(MAKE); $(unstage)
34903 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34904 r=`${PWD_COMMAND}`; export r; \
34905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34906 $(NORMAL_TARGET_EXPORTS) \
34907 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34908 for flag in $(EXTRA_TARGET_FLAGS); do \
34909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34910 done; \
34911 (cd $(TARGET_SUBDIR)/boehm-gc && \
34912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34914 "RANLIB=$${RANLIB}" \
34915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34916 TAGS) \
34917 || exit 1
34919 @endif target-boehm-gc
34921 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34922 maybe-install-info-target-boehm-gc:
34923 @if target-boehm-gc
34924 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34926 install-info-target-boehm-gc: \
34927 configure-target-boehm-gc \
34928 info-target-boehm-gc
34929 @: $(MAKE); $(unstage)
34930 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34931 r=`${PWD_COMMAND}`; export r; \
34932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34933 $(NORMAL_TARGET_EXPORTS) \
34934 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34935 for flag in $(EXTRA_TARGET_FLAGS); do \
34936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34937 done; \
34938 (cd $(TARGET_SUBDIR)/boehm-gc && \
34939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34941 "RANLIB=$${RANLIB}" \
34942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34943 install-info) \
34944 || exit 1
34946 @endif target-boehm-gc
34948 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34949 maybe-installcheck-target-boehm-gc:
34950 @if target-boehm-gc
34951 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34953 installcheck-target-boehm-gc: \
34954 configure-target-boehm-gc
34955 @: $(MAKE); $(unstage)
34956 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34957 r=`${PWD_COMMAND}`; export r; \
34958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34959 $(NORMAL_TARGET_EXPORTS) \
34960 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34961 for flag in $(EXTRA_TARGET_FLAGS); do \
34962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34963 done; \
34964 (cd $(TARGET_SUBDIR)/boehm-gc && \
34965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34967 "RANLIB=$${RANLIB}" \
34968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34969 installcheck) \
34970 || exit 1
34972 @endif target-boehm-gc
34974 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34975 maybe-mostlyclean-target-boehm-gc:
34976 @if target-boehm-gc
34977 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34979 mostlyclean-target-boehm-gc:
34980 @: $(MAKE); $(unstage)
34981 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34982 r=`${PWD_COMMAND}`; export r; \
34983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34984 $(NORMAL_TARGET_EXPORTS) \
34985 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34986 for flag in $(EXTRA_TARGET_FLAGS); do \
34987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34988 done; \
34989 (cd $(TARGET_SUBDIR)/boehm-gc && \
34990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34992 "RANLIB=$${RANLIB}" \
34993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34994 mostlyclean) \
34995 || exit 1
34997 @endif target-boehm-gc
34999 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
35000 maybe-clean-target-boehm-gc:
35001 @if target-boehm-gc
35002 maybe-clean-target-boehm-gc: clean-target-boehm-gc
35004 clean-target-boehm-gc:
35005 @: $(MAKE); $(unstage)
35006 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35007 r=`${PWD_COMMAND}`; export r; \
35008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35009 $(NORMAL_TARGET_EXPORTS) \
35010 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
35011 for flag in $(EXTRA_TARGET_FLAGS); do \
35012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35013 done; \
35014 (cd $(TARGET_SUBDIR)/boehm-gc && \
35015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35017 "RANLIB=$${RANLIB}" \
35018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35019 clean) \
35020 || exit 1
35022 @endif target-boehm-gc
35024 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
35025 maybe-distclean-target-boehm-gc:
35026 @if target-boehm-gc
35027 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
35029 distclean-target-boehm-gc:
35030 @: $(MAKE); $(unstage)
35031 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35032 r=`${PWD_COMMAND}`; export r; \
35033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35034 $(NORMAL_TARGET_EXPORTS) \
35035 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
35036 for flag in $(EXTRA_TARGET_FLAGS); do \
35037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35038 done; \
35039 (cd $(TARGET_SUBDIR)/boehm-gc && \
35040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35042 "RANLIB=$${RANLIB}" \
35043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35044 distclean) \
35045 || exit 1
35047 @endif target-boehm-gc
35049 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
35050 maybe-maintainer-clean-target-boehm-gc:
35051 @if target-boehm-gc
35052 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
35054 maintainer-clean-target-boehm-gc:
35055 @: $(MAKE); $(unstage)
35056 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35057 r=`${PWD_COMMAND}`; export r; \
35058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35059 $(NORMAL_TARGET_EXPORTS) \
35060 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
35061 for flag in $(EXTRA_TARGET_FLAGS); do \
35062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35063 done; \
35064 (cd $(TARGET_SUBDIR)/boehm-gc && \
35065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35067 "RANLIB=$${RANLIB}" \
35068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35069 maintainer-clean) \
35070 || exit 1
35072 @endif target-boehm-gc
35078 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
35079 maybe-configure-target-qthreads:
35080 @if target-qthreads
35081 maybe-configure-target-qthreads: configure-target-qthreads
35082 configure-target-qthreads:
35083 @: $(MAKE); $(unstage)
35084 @r=`${PWD_COMMAND}`; export r; \
35085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35086 echo "Checking multilib configuration for qthreads..."; \
35087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
35088 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
35089 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
35090 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
35091 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
35092 else \
35093 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
35094 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
35095 fi; \
35096 else \
35097 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
35098 fi; \
35099 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
35100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
35101 $(NORMAL_TARGET_EXPORTS) \
35102 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
35103 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
35104 case $(srcdir) in \
35105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35106 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
35107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35108 esac; \
35109 srcdiroption="--srcdir=$${topdir}/qthreads"; \
35110 libsrcdir="$$s/qthreads"; \
35111 rm -f no-such-file || : ; \
35112 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35113 $(TARGET_CONFIGARGS) $${srcdiroption} \
35114 || exit 1
35115 @endif target-qthreads
35121 .PHONY: all-target-qthreads maybe-all-target-qthreads
35122 maybe-all-target-qthreads:
35123 @if target-qthreads
35124 TARGET-target-qthreads=all
35125 maybe-all-target-qthreads: all-target-qthreads
35126 all-target-qthreads: configure-target-qthreads
35127 @: $(MAKE); $(unstage)
35128 @r=`${PWD_COMMAND}`; export r; \
35129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35130 $(NORMAL_TARGET_EXPORTS) \
35131 (cd $(TARGET_SUBDIR)/qthreads && \
35132 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
35133 @endif target-qthreads
35139 .PHONY: check-target-qthreads maybe-check-target-qthreads
35140 maybe-check-target-qthreads:
35141 @if target-qthreads
35142 maybe-check-target-qthreads: check-target-qthreads
35144 check-target-qthreads:
35145 @: $(MAKE); $(unstage)
35146 @r=`${PWD_COMMAND}`; export r; \
35147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35148 $(NORMAL_TARGET_EXPORTS) \
35149 (cd $(TARGET_SUBDIR)/qthreads && \
35150 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35152 @endif target-qthreads
35154 .PHONY: install-target-qthreads maybe-install-target-qthreads
35155 maybe-install-target-qthreads:
35156 @if target-qthreads
35157 maybe-install-target-qthreads: install-target-qthreads
35159 install-target-qthreads: installdirs
35160 @: $(MAKE); $(unstage)
35161 @r=`${PWD_COMMAND}`; export r; \
35162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35163 $(NORMAL_TARGET_EXPORTS) \
35164 (cd $(TARGET_SUBDIR)/qthreads && \
35165 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35167 @endif target-qthreads
35169 # Other targets (info, dvi, etc.)
35171 .PHONY: maybe-info-target-qthreads info-target-qthreads
35172 maybe-info-target-qthreads:
35173 @if target-qthreads
35174 maybe-info-target-qthreads: info-target-qthreads
35176 info-target-qthreads: \
35177 configure-target-qthreads
35178 @: $(MAKE); $(unstage)
35179 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35180 r=`${PWD_COMMAND}`; export r; \
35181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35182 $(NORMAL_TARGET_EXPORTS) \
35183 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
35184 for flag in $(EXTRA_TARGET_FLAGS); do \
35185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35186 done; \
35187 (cd $(TARGET_SUBDIR)/qthreads && \
35188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35190 "RANLIB=$${RANLIB}" \
35191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35192 info) \
35193 || exit 1
35195 @endif target-qthreads
35197 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
35198 maybe-dvi-target-qthreads:
35199 @if target-qthreads
35200 maybe-dvi-target-qthreads: dvi-target-qthreads
35202 dvi-target-qthreads: \
35203 configure-target-qthreads
35204 @: $(MAKE); $(unstage)
35205 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35206 r=`${PWD_COMMAND}`; export r; \
35207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35208 $(NORMAL_TARGET_EXPORTS) \
35209 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
35210 for flag in $(EXTRA_TARGET_FLAGS); do \
35211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35212 done; \
35213 (cd $(TARGET_SUBDIR)/qthreads && \
35214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35216 "RANLIB=$${RANLIB}" \
35217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35218 dvi) \
35219 || exit 1
35221 @endif target-qthreads
35223 .PHONY: maybe-html-target-qthreads html-target-qthreads
35224 maybe-html-target-qthreads:
35225 @if target-qthreads
35226 maybe-html-target-qthreads: html-target-qthreads
35228 html-target-qthreads: \
35229 configure-target-qthreads
35230 @: $(MAKE); $(unstage)
35231 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35232 r=`${PWD_COMMAND}`; export r; \
35233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35234 $(NORMAL_TARGET_EXPORTS) \
35235 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
35236 for flag in $(EXTRA_TARGET_FLAGS); do \
35237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35238 done; \
35239 (cd $(TARGET_SUBDIR)/qthreads && \
35240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35242 "RANLIB=$${RANLIB}" \
35243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35244 html) \
35245 || exit 1
35247 @endif target-qthreads
35249 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
35250 maybe-TAGS-target-qthreads:
35251 @if target-qthreads
35252 maybe-TAGS-target-qthreads: TAGS-target-qthreads
35254 TAGS-target-qthreads: \
35255 configure-target-qthreads
35256 @: $(MAKE); $(unstage)
35257 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35258 r=`${PWD_COMMAND}`; export r; \
35259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35260 $(NORMAL_TARGET_EXPORTS) \
35261 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
35262 for flag in $(EXTRA_TARGET_FLAGS); do \
35263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35264 done; \
35265 (cd $(TARGET_SUBDIR)/qthreads && \
35266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35268 "RANLIB=$${RANLIB}" \
35269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35270 TAGS) \
35271 || exit 1
35273 @endif target-qthreads
35275 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
35276 maybe-install-info-target-qthreads:
35277 @if target-qthreads
35278 maybe-install-info-target-qthreads: install-info-target-qthreads
35280 install-info-target-qthreads: \
35281 configure-target-qthreads \
35282 info-target-qthreads
35283 @: $(MAKE); $(unstage)
35284 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35285 r=`${PWD_COMMAND}`; export r; \
35286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35287 $(NORMAL_TARGET_EXPORTS) \
35288 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
35289 for flag in $(EXTRA_TARGET_FLAGS); do \
35290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35291 done; \
35292 (cd $(TARGET_SUBDIR)/qthreads && \
35293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35295 "RANLIB=$${RANLIB}" \
35296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35297 install-info) \
35298 || exit 1
35300 @endif target-qthreads
35302 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
35303 maybe-installcheck-target-qthreads:
35304 @if target-qthreads
35305 maybe-installcheck-target-qthreads: installcheck-target-qthreads
35307 installcheck-target-qthreads: \
35308 configure-target-qthreads
35309 @: $(MAKE); $(unstage)
35310 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35311 r=`${PWD_COMMAND}`; export r; \
35312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35313 $(NORMAL_TARGET_EXPORTS) \
35314 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
35315 for flag in $(EXTRA_TARGET_FLAGS); do \
35316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35317 done; \
35318 (cd $(TARGET_SUBDIR)/qthreads && \
35319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35321 "RANLIB=$${RANLIB}" \
35322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35323 installcheck) \
35324 || exit 1
35326 @endif target-qthreads
35328 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
35329 maybe-mostlyclean-target-qthreads:
35330 @if target-qthreads
35331 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
35333 mostlyclean-target-qthreads:
35334 @: $(MAKE); $(unstage)
35335 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35336 r=`${PWD_COMMAND}`; export r; \
35337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35338 $(NORMAL_TARGET_EXPORTS) \
35339 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
35340 for flag in $(EXTRA_TARGET_FLAGS); do \
35341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35342 done; \
35343 (cd $(TARGET_SUBDIR)/qthreads && \
35344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35346 "RANLIB=$${RANLIB}" \
35347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35348 mostlyclean) \
35349 || exit 1
35351 @endif target-qthreads
35353 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
35354 maybe-clean-target-qthreads:
35355 @if target-qthreads
35356 maybe-clean-target-qthreads: clean-target-qthreads
35358 clean-target-qthreads:
35359 @: $(MAKE); $(unstage)
35360 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35361 r=`${PWD_COMMAND}`; export r; \
35362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35363 $(NORMAL_TARGET_EXPORTS) \
35364 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
35365 for flag in $(EXTRA_TARGET_FLAGS); do \
35366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35367 done; \
35368 (cd $(TARGET_SUBDIR)/qthreads && \
35369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35371 "RANLIB=$${RANLIB}" \
35372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35373 clean) \
35374 || exit 1
35376 @endif target-qthreads
35378 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
35379 maybe-distclean-target-qthreads:
35380 @if target-qthreads
35381 maybe-distclean-target-qthreads: distclean-target-qthreads
35383 distclean-target-qthreads:
35384 @: $(MAKE); $(unstage)
35385 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35386 r=`${PWD_COMMAND}`; export r; \
35387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35388 $(NORMAL_TARGET_EXPORTS) \
35389 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
35390 for flag in $(EXTRA_TARGET_FLAGS); do \
35391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35392 done; \
35393 (cd $(TARGET_SUBDIR)/qthreads && \
35394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35396 "RANLIB=$${RANLIB}" \
35397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35398 distclean) \
35399 || exit 1
35401 @endif target-qthreads
35403 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
35404 maybe-maintainer-clean-target-qthreads:
35405 @if target-qthreads
35406 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
35408 maintainer-clean-target-qthreads:
35409 @: $(MAKE); $(unstage)
35410 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35411 r=`${PWD_COMMAND}`; export r; \
35412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35413 $(NORMAL_TARGET_EXPORTS) \
35414 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
35415 for flag in $(EXTRA_TARGET_FLAGS); do \
35416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35417 done; \
35418 (cd $(TARGET_SUBDIR)/qthreads && \
35419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35421 "RANLIB=$${RANLIB}" \
35422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35423 maintainer-clean) \
35424 || exit 1
35426 @endif target-qthreads
35432 .PHONY: configure-target-rda maybe-configure-target-rda
35433 maybe-configure-target-rda:
35434 @if target-rda
35435 maybe-configure-target-rda: configure-target-rda
35436 configure-target-rda:
35437 @: $(MAKE); $(unstage)
35438 @r=`${PWD_COMMAND}`; export r; \
35439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35440 echo "Checking multilib configuration for rda..."; \
35441 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35442 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
35443 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
35444 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
35445 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
35446 else \
35447 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
35448 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35449 fi; \
35450 else \
35451 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35452 fi; \
35453 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
35454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35455 $(NORMAL_TARGET_EXPORTS) \
35456 echo Configuring in $(TARGET_SUBDIR)/rda; \
35457 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
35458 case $(srcdir) in \
35459 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35460 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
35461 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35462 esac; \
35463 srcdiroption="--srcdir=$${topdir}/rda"; \
35464 libsrcdir="$$s/rda"; \
35465 rm -f no-such-file || : ; \
35466 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35467 $(TARGET_CONFIGARGS) $${srcdiroption} \
35468 || exit 1
35469 @endif target-rda
35475 .PHONY: all-target-rda maybe-all-target-rda
35476 maybe-all-target-rda:
35477 @if target-rda
35478 TARGET-target-rda=all
35479 maybe-all-target-rda: all-target-rda
35480 all-target-rda: configure-target-rda
35481 @: $(MAKE); $(unstage)
35482 @r=`${PWD_COMMAND}`; export r; \
35483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35484 $(NORMAL_TARGET_EXPORTS) \
35485 (cd $(TARGET_SUBDIR)/rda && \
35486 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
35487 @endif target-rda
35493 .PHONY: check-target-rda maybe-check-target-rda
35494 maybe-check-target-rda:
35495 @if target-rda
35496 maybe-check-target-rda: check-target-rda
35498 check-target-rda:
35499 @: $(MAKE); $(unstage)
35500 @r=`${PWD_COMMAND}`; export r; \
35501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35502 $(NORMAL_TARGET_EXPORTS) \
35503 (cd $(TARGET_SUBDIR)/rda && \
35504 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35506 @endif target-rda
35508 .PHONY: install-target-rda maybe-install-target-rda
35509 maybe-install-target-rda:
35510 @if target-rda
35511 maybe-install-target-rda: install-target-rda
35513 install-target-rda: installdirs
35514 @: $(MAKE); $(unstage)
35515 @r=`${PWD_COMMAND}`; export r; \
35516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35517 $(NORMAL_TARGET_EXPORTS) \
35518 (cd $(TARGET_SUBDIR)/rda && \
35519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35521 @endif target-rda
35523 # Other targets (info, dvi, etc.)
35525 .PHONY: maybe-info-target-rda info-target-rda
35526 maybe-info-target-rda:
35527 @if target-rda
35528 maybe-info-target-rda: info-target-rda
35530 info-target-rda: \
35531 configure-target-rda
35532 @: $(MAKE); $(unstage)
35533 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35534 r=`${PWD_COMMAND}`; export r; \
35535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35536 $(NORMAL_TARGET_EXPORTS) \
35537 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
35538 for flag in $(EXTRA_TARGET_FLAGS); do \
35539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35540 done; \
35541 (cd $(TARGET_SUBDIR)/rda && \
35542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35544 "RANLIB=$${RANLIB}" \
35545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35546 info) \
35547 || exit 1
35549 @endif target-rda
35551 .PHONY: maybe-dvi-target-rda dvi-target-rda
35552 maybe-dvi-target-rda:
35553 @if target-rda
35554 maybe-dvi-target-rda: dvi-target-rda
35556 dvi-target-rda: \
35557 configure-target-rda
35558 @: $(MAKE); $(unstage)
35559 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35560 r=`${PWD_COMMAND}`; export r; \
35561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35562 $(NORMAL_TARGET_EXPORTS) \
35563 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
35564 for flag in $(EXTRA_TARGET_FLAGS); do \
35565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35566 done; \
35567 (cd $(TARGET_SUBDIR)/rda && \
35568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35570 "RANLIB=$${RANLIB}" \
35571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35572 dvi) \
35573 || exit 1
35575 @endif target-rda
35577 .PHONY: maybe-html-target-rda html-target-rda
35578 maybe-html-target-rda:
35579 @if target-rda
35580 maybe-html-target-rda: html-target-rda
35582 html-target-rda: \
35583 configure-target-rda
35584 @: $(MAKE); $(unstage)
35585 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35586 r=`${PWD_COMMAND}`; export r; \
35587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35588 $(NORMAL_TARGET_EXPORTS) \
35589 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35590 for flag in $(EXTRA_TARGET_FLAGS); do \
35591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35592 done; \
35593 (cd $(TARGET_SUBDIR)/rda && \
35594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35596 "RANLIB=$${RANLIB}" \
35597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35598 html) \
35599 || exit 1
35601 @endif target-rda
35603 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35604 maybe-TAGS-target-rda:
35605 @if target-rda
35606 maybe-TAGS-target-rda: TAGS-target-rda
35608 TAGS-target-rda: \
35609 configure-target-rda
35610 @: $(MAKE); $(unstage)
35611 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35612 r=`${PWD_COMMAND}`; export r; \
35613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35614 $(NORMAL_TARGET_EXPORTS) \
35615 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35616 for flag in $(EXTRA_TARGET_FLAGS); do \
35617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35618 done; \
35619 (cd $(TARGET_SUBDIR)/rda && \
35620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35622 "RANLIB=$${RANLIB}" \
35623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35624 TAGS) \
35625 || exit 1
35627 @endif target-rda
35629 .PHONY: maybe-install-info-target-rda install-info-target-rda
35630 maybe-install-info-target-rda:
35631 @if target-rda
35632 maybe-install-info-target-rda: install-info-target-rda
35634 install-info-target-rda: \
35635 configure-target-rda \
35636 info-target-rda
35637 @: $(MAKE); $(unstage)
35638 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35639 r=`${PWD_COMMAND}`; export r; \
35640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35641 $(NORMAL_TARGET_EXPORTS) \
35642 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35643 for flag in $(EXTRA_TARGET_FLAGS); do \
35644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35645 done; \
35646 (cd $(TARGET_SUBDIR)/rda && \
35647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35649 "RANLIB=$${RANLIB}" \
35650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35651 install-info) \
35652 || exit 1
35654 @endif target-rda
35656 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35657 maybe-installcheck-target-rda:
35658 @if target-rda
35659 maybe-installcheck-target-rda: installcheck-target-rda
35661 installcheck-target-rda: \
35662 configure-target-rda
35663 @: $(MAKE); $(unstage)
35664 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35665 r=`${PWD_COMMAND}`; export r; \
35666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35667 $(NORMAL_TARGET_EXPORTS) \
35668 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35669 for flag in $(EXTRA_TARGET_FLAGS); do \
35670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35671 done; \
35672 (cd $(TARGET_SUBDIR)/rda && \
35673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35675 "RANLIB=$${RANLIB}" \
35676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35677 installcheck) \
35678 || exit 1
35680 @endif target-rda
35682 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35683 maybe-mostlyclean-target-rda:
35684 @if target-rda
35685 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35687 mostlyclean-target-rda:
35688 @: $(MAKE); $(unstage)
35689 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35690 r=`${PWD_COMMAND}`; export r; \
35691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35692 $(NORMAL_TARGET_EXPORTS) \
35693 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35694 for flag in $(EXTRA_TARGET_FLAGS); do \
35695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35696 done; \
35697 (cd $(TARGET_SUBDIR)/rda && \
35698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35700 "RANLIB=$${RANLIB}" \
35701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35702 mostlyclean) \
35703 || exit 1
35705 @endif target-rda
35707 .PHONY: maybe-clean-target-rda clean-target-rda
35708 maybe-clean-target-rda:
35709 @if target-rda
35710 maybe-clean-target-rda: clean-target-rda
35712 clean-target-rda:
35713 @: $(MAKE); $(unstage)
35714 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35715 r=`${PWD_COMMAND}`; export r; \
35716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35717 $(NORMAL_TARGET_EXPORTS) \
35718 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35719 for flag in $(EXTRA_TARGET_FLAGS); do \
35720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35721 done; \
35722 (cd $(TARGET_SUBDIR)/rda && \
35723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35725 "RANLIB=$${RANLIB}" \
35726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35727 clean) \
35728 || exit 1
35730 @endif target-rda
35732 .PHONY: maybe-distclean-target-rda distclean-target-rda
35733 maybe-distclean-target-rda:
35734 @if target-rda
35735 maybe-distclean-target-rda: distclean-target-rda
35737 distclean-target-rda:
35738 @: $(MAKE); $(unstage)
35739 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35740 r=`${PWD_COMMAND}`; export r; \
35741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35742 $(NORMAL_TARGET_EXPORTS) \
35743 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35744 for flag in $(EXTRA_TARGET_FLAGS); do \
35745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35746 done; \
35747 (cd $(TARGET_SUBDIR)/rda && \
35748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35750 "RANLIB=$${RANLIB}" \
35751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35752 distclean) \
35753 || exit 1
35755 @endif target-rda
35757 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35758 maybe-maintainer-clean-target-rda:
35759 @if target-rda
35760 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35762 maintainer-clean-target-rda:
35763 @: $(MAKE); $(unstage)
35764 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35765 r=`${PWD_COMMAND}`; export r; \
35766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35767 $(NORMAL_TARGET_EXPORTS) \
35768 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35769 for flag in $(EXTRA_TARGET_FLAGS); do \
35770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35771 done; \
35772 (cd $(TARGET_SUBDIR)/rda && \
35773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35775 "RANLIB=$${RANLIB}" \
35776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35777 maintainer-clean) \
35778 || exit 1
35780 @endif target-rda
35786 .PHONY: configure-target-libada maybe-configure-target-libada
35787 maybe-configure-target-libada:
35788 @if target-libada
35789 maybe-configure-target-libada: configure-target-libada
35790 configure-target-libada:
35791 @: $(MAKE); $(unstage)
35792 @r=`${PWD_COMMAND}`; export r; \
35793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35794 echo "Checking multilib configuration for libada..."; \
35795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35796 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35797 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35798 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35799 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35800 else \
35801 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35802 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35803 fi; \
35804 else \
35805 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35806 fi; \
35807 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35809 $(NORMAL_TARGET_EXPORTS) \
35810 echo Configuring in $(TARGET_SUBDIR)/libada; \
35811 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35812 case $(srcdir) in \
35813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35814 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35816 esac; \
35817 srcdiroption="--srcdir=$${topdir}/libada"; \
35818 libsrcdir="$$s/libada"; \
35819 rm -f no-such-file || : ; \
35820 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35821 $(TARGET_CONFIGARGS) $${srcdiroption} \
35822 || exit 1
35823 @endif target-libada
35829 .PHONY: all-target-libada maybe-all-target-libada
35830 maybe-all-target-libada:
35831 @if target-libada
35832 TARGET-target-libada=all
35833 maybe-all-target-libada: all-target-libada
35834 all-target-libada: configure-target-libada
35835 @: $(MAKE); $(unstage)
35836 @r=`${PWD_COMMAND}`; export r; \
35837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35838 $(NORMAL_TARGET_EXPORTS) \
35839 (cd $(TARGET_SUBDIR)/libada && \
35840 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35841 @endif target-libada
35847 .PHONY: check-target-libada maybe-check-target-libada
35848 maybe-check-target-libada:
35849 @if target-libada
35850 maybe-check-target-libada: check-target-libada
35852 check-target-libada:
35853 @: $(MAKE); $(unstage)
35854 @r=`${PWD_COMMAND}`; export r; \
35855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35856 $(NORMAL_TARGET_EXPORTS) \
35857 (cd $(TARGET_SUBDIR)/libada && \
35858 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35860 @endif target-libada
35862 .PHONY: install-target-libada maybe-install-target-libada
35863 maybe-install-target-libada:
35864 @if target-libada
35865 maybe-install-target-libada: install-target-libada
35867 install-target-libada: installdirs
35868 @: $(MAKE); $(unstage)
35869 @r=`${PWD_COMMAND}`; export r; \
35870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35871 $(NORMAL_TARGET_EXPORTS) \
35872 (cd $(TARGET_SUBDIR)/libada && \
35873 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35875 @endif target-libada
35877 # Other targets (info, dvi, etc.)
35879 .PHONY: maybe-info-target-libada info-target-libada
35880 maybe-info-target-libada:
35881 @if target-libada
35882 maybe-info-target-libada: info-target-libada
35884 info-target-libada: \
35885 configure-target-libada
35886 @: $(MAKE); $(unstage)
35887 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35888 r=`${PWD_COMMAND}`; export r; \
35889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35890 $(NORMAL_TARGET_EXPORTS) \
35891 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35892 for flag in $(EXTRA_TARGET_FLAGS); do \
35893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35894 done; \
35895 (cd $(TARGET_SUBDIR)/libada && \
35896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35898 "RANLIB=$${RANLIB}" \
35899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35900 info) \
35901 || exit 1
35903 @endif target-libada
35905 .PHONY: maybe-dvi-target-libada dvi-target-libada
35906 maybe-dvi-target-libada:
35907 @if target-libada
35908 maybe-dvi-target-libada: dvi-target-libada
35910 dvi-target-libada: \
35911 configure-target-libada
35912 @: $(MAKE); $(unstage)
35913 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35914 r=`${PWD_COMMAND}`; export r; \
35915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35916 $(NORMAL_TARGET_EXPORTS) \
35917 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35918 for flag in $(EXTRA_TARGET_FLAGS); do \
35919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35920 done; \
35921 (cd $(TARGET_SUBDIR)/libada && \
35922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35924 "RANLIB=$${RANLIB}" \
35925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35926 dvi) \
35927 || exit 1
35929 @endif target-libada
35931 .PHONY: maybe-html-target-libada html-target-libada
35932 maybe-html-target-libada:
35933 @if target-libada
35934 maybe-html-target-libada: html-target-libada
35936 html-target-libada: \
35937 configure-target-libada
35938 @: $(MAKE); $(unstage)
35939 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35940 r=`${PWD_COMMAND}`; export r; \
35941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35942 $(NORMAL_TARGET_EXPORTS) \
35943 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35944 for flag in $(EXTRA_TARGET_FLAGS); do \
35945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35946 done; \
35947 (cd $(TARGET_SUBDIR)/libada && \
35948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35950 "RANLIB=$${RANLIB}" \
35951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35952 html) \
35953 || exit 1
35955 @endif target-libada
35957 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35958 maybe-TAGS-target-libada:
35959 @if target-libada
35960 maybe-TAGS-target-libada: TAGS-target-libada
35962 TAGS-target-libada: \
35963 configure-target-libada
35964 @: $(MAKE); $(unstage)
35965 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35966 r=`${PWD_COMMAND}`; export r; \
35967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35968 $(NORMAL_TARGET_EXPORTS) \
35969 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35970 for flag in $(EXTRA_TARGET_FLAGS); do \
35971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35972 done; \
35973 (cd $(TARGET_SUBDIR)/libada && \
35974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35976 "RANLIB=$${RANLIB}" \
35977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35978 TAGS) \
35979 || exit 1
35981 @endif target-libada
35983 .PHONY: maybe-install-info-target-libada install-info-target-libada
35984 maybe-install-info-target-libada:
35985 @if target-libada
35986 maybe-install-info-target-libada: install-info-target-libada
35988 install-info-target-libada: \
35989 configure-target-libada \
35990 info-target-libada
35991 @: $(MAKE); $(unstage)
35992 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35993 r=`${PWD_COMMAND}`; export r; \
35994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35995 $(NORMAL_TARGET_EXPORTS) \
35996 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35997 for flag in $(EXTRA_TARGET_FLAGS); do \
35998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35999 done; \
36000 (cd $(TARGET_SUBDIR)/libada && \
36001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36003 "RANLIB=$${RANLIB}" \
36004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36005 install-info) \
36006 || exit 1
36008 @endif target-libada
36010 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
36011 maybe-installcheck-target-libada:
36012 @if target-libada
36013 maybe-installcheck-target-libada: installcheck-target-libada
36015 installcheck-target-libada: \
36016 configure-target-libada
36017 @: $(MAKE); $(unstage)
36018 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36019 r=`${PWD_COMMAND}`; export r; \
36020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36021 $(NORMAL_TARGET_EXPORTS) \
36022 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
36023 for flag in $(EXTRA_TARGET_FLAGS); do \
36024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36025 done; \
36026 (cd $(TARGET_SUBDIR)/libada && \
36027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36029 "RANLIB=$${RANLIB}" \
36030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36031 installcheck) \
36032 || exit 1
36034 @endif target-libada
36036 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
36037 maybe-mostlyclean-target-libada:
36038 @if target-libada
36039 maybe-mostlyclean-target-libada: mostlyclean-target-libada
36041 mostlyclean-target-libada:
36042 @: $(MAKE); $(unstage)
36043 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36044 r=`${PWD_COMMAND}`; export r; \
36045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36046 $(NORMAL_TARGET_EXPORTS) \
36047 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
36048 for flag in $(EXTRA_TARGET_FLAGS); do \
36049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36050 done; \
36051 (cd $(TARGET_SUBDIR)/libada && \
36052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36054 "RANLIB=$${RANLIB}" \
36055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36056 mostlyclean) \
36057 || exit 1
36059 @endif target-libada
36061 .PHONY: maybe-clean-target-libada clean-target-libada
36062 maybe-clean-target-libada:
36063 @if target-libada
36064 maybe-clean-target-libada: clean-target-libada
36066 clean-target-libada:
36067 @: $(MAKE); $(unstage)
36068 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36069 r=`${PWD_COMMAND}`; export r; \
36070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36071 $(NORMAL_TARGET_EXPORTS) \
36072 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
36073 for flag in $(EXTRA_TARGET_FLAGS); do \
36074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36075 done; \
36076 (cd $(TARGET_SUBDIR)/libada && \
36077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36079 "RANLIB=$${RANLIB}" \
36080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36081 clean) \
36082 || exit 1
36084 @endif target-libada
36086 .PHONY: maybe-distclean-target-libada distclean-target-libada
36087 maybe-distclean-target-libada:
36088 @if target-libada
36089 maybe-distclean-target-libada: distclean-target-libada
36091 distclean-target-libada:
36092 @: $(MAKE); $(unstage)
36093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36094 r=`${PWD_COMMAND}`; export r; \
36095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36096 $(NORMAL_TARGET_EXPORTS) \
36097 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
36098 for flag in $(EXTRA_TARGET_FLAGS); do \
36099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36100 done; \
36101 (cd $(TARGET_SUBDIR)/libada && \
36102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36104 "RANLIB=$${RANLIB}" \
36105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36106 distclean) \
36107 || exit 1
36109 @endif target-libada
36111 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
36112 maybe-maintainer-clean-target-libada:
36113 @if target-libada
36114 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
36116 maintainer-clean-target-libada:
36117 @: $(MAKE); $(unstage)
36118 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36119 r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(NORMAL_TARGET_EXPORTS) \
36122 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
36123 for flag in $(EXTRA_TARGET_FLAGS); do \
36124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36125 done; \
36126 (cd $(TARGET_SUBDIR)/libada && \
36127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36129 "RANLIB=$${RANLIB}" \
36130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36131 maintainer-clean) \
36132 || exit 1
36134 @endif target-libada
36140 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
36141 maybe-configure-target-libgomp:
36142 @if target-libgomp
36143 maybe-configure-target-libgomp: configure-target-libgomp
36144 configure-target-libgomp:
36145 @: $(MAKE); $(unstage)
36146 @r=`${PWD_COMMAND}`; export r; \
36147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36148 echo "Checking multilib configuration for libgomp..."; \
36149 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
36150 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
36151 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
36152 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
36153 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
36154 else \
36155 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
36156 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
36157 fi; \
36158 else \
36159 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
36160 fi; \
36161 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
36162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
36163 $(NORMAL_TARGET_EXPORTS) \
36164 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
36165 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
36166 case $(srcdir) in \
36167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36168 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
36169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36170 esac; \
36171 srcdiroption="--srcdir=$${topdir}/libgomp"; \
36172 libsrcdir="$$s/libgomp"; \
36173 rm -f no-such-file || : ; \
36174 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36175 $(TARGET_CONFIGARGS) $${srcdiroption} \
36176 || exit 1
36177 @endif target-libgomp
36183 .PHONY: all-target-libgomp maybe-all-target-libgomp
36184 maybe-all-target-libgomp:
36185 @if target-libgomp
36186 TARGET-target-libgomp=all
36187 maybe-all-target-libgomp: all-target-libgomp
36188 all-target-libgomp: configure-target-libgomp
36189 @: $(MAKE); $(unstage)
36190 @r=`${PWD_COMMAND}`; export r; \
36191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36192 $(NORMAL_TARGET_EXPORTS) \
36193 (cd $(TARGET_SUBDIR)/libgomp && \
36194 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
36195 @endif target-libgomp
36201 .PHONY: check-target-libgomp maybe-check-target-libgomp
36202 maybe-check-target-libgomp:
36203 @if target-libgomp
36204 maybe-check-target-libgomp: check-target-libgomp
36206 check-target-libgomp:
36207 @: $(MAKE); $(unstage)
36208 @r=`${PWD_COMMAND}`; export r; \
36209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36210 $(NORMAL_TARGET_EXPORTS) \
36211 (cd $(TARGET_SUBDIR)/libgomp && \
36212 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36214 @endif target-libgomp
36216 .PHONY: install-target-libgomp maybe-install-target-libgomp
36217 maybe-install-target-libgomp:
36218 @if target-libgomp
36219 maybe-install-target-libgomp: install-target-libgomp
36221 install-target-libgomp: installdirs
36222 @: $(MAKE); $(unstage)
36223 @r=`${PWD_COMMAND}`; export r; \
36224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36225 $(NORMAL_TARGET_EXPORTS) \
36226 (cd $(TARGET_SUBDIR)/libgomp && \
36227 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36229 @endif target-libgomp
36231 # Other targets (info, dvi, etc.)
36233 .PHONY: maybe-info-target-libgomp info-target-libgomp
36234 maybe-info-target-libgomp:
36235 @if target-libgomp
36236 maybe-info-target-libgomp: info-target-libgomp
36238 info-target-libgomp: \
36239 configure-target-libgomp
36240 @: $(MAKE); $(unstage)
36241 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36242 r=`${PWD_COMMAND}`; export r; \
36243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36244 $(NORMAL_TARGET_EXPORTS) \
36245 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
36246 for flag in $(EXTRA_TARGET_FLAGS); do \
36247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36248 done; \
36249 (cd $(TARGET_SUBDIR)/libgomp && \
36250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36252 "RANLIB=$${RANLIB}" \
36253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36254 info) \
36255 || exit 1
36257 @endif target-libgomp
36259 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
36260 maybe-dvi-target-libgomp:
36261 @if target-libgomp
36262 maybe-dvi-target-libgomp: dvi-target-libgomp
36264 dvi-target-libgomp: \
36265 configure-target-libgomp
36266 @: $(MAKE); $(unstage)
36267 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36268 r=`${PWD_COMMAND}`; export r; \
36269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36270 $(NORMAL_TARGET_EXPORTS) \
36271 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
36272 for flag in $(EXTRA_TARGET_FLAGS); do \
36273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36274 done; \
36275 (cd $(TARGET_SUBDIR)/libgomp && \
36276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36278 "RANLIB=$${RANLIB}" \
36279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36280 dvi) \
36281 || exit 1
36283 @endif target-libgomp
36285 .PHONY: maybe-html-target-libgomp html-target-libgomp
36286 maybe-html-target-libgomp:
36287 @if target-libgomp
36288 maybe-html-target-libgomp: html-target-libgomp
36290 html-target-libgomp: \
36291 configure-target-libgomp
36292 @: $(MAKE); $(unstage)
36293 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36294 r=`${PWD_COMMAND}`; export r; \
36295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36296 $(NORMAL_TARGET_EXPORTS) \
36297 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
36298 for flag in $(EXTRA_TARGET_FLAGS); do \
36299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36300 done; \
36301 (cd $(TARGET_SUBDIR)/libgomp && \
36302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36304 "RANLIB=$${RANLIB}" \
36305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36306 html) \
36307 || exit 1
36309 @endif target-libgomp
36311 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
36312 maybe-TAGS-target-libgomp:
36313 @if target-libgomp
36314 maybe-TAGS-target-libgomp: TAGS-target-libgomp
36316 TAGS-target-libgomp: \
36317 configure-target-libgomp
36318 @: $(MAKE); $(unstage)
36319 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36320 r=`${PWD_COMMAND}`; export r; \
36321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36322 $(NORMAL_TARGET_EXPORTS) \
36323 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
36324 for flag in $(EXTRA_TARGET_FLAGS); do \
36325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36326 done; \
36327 (cd $(TARGET_SUBDIR)/libgomp && \
36328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36330 "RANLIB=$${RANLIB}" \
36331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36332 TAGS) \
36333 || exit 1
36335 @endif target-libgomp
36337 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
36338 maybe-install-info-target-libgomp:
36339 @if target-libgomp
36340 maybe-install-info-target-libgomp: install-info-target-libgomp
36342 install-info-target-libgomp: \
36343 configure-target-libgomp \
36344 info-target-libgomp
36345 @: $(MAKE); $(unstage)
36346 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36347 r=`${PWD_COMMAND}`; export r; \
36348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36349 $(NORMAL_TARGET_EXPORTS) \
36350 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
36351 for flag in $(EXTRA_TARGET_FLAGS); do \
36352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36353 done; \
36354 (cd $(TARGET_SUBDIR)/libgomp && \
36355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36357 "RANLIB=$${RANLIB}" \
36358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36359 install-info) \
36360 || exit 1
36362 @endif target-libgomp
36364 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
36365 maybe-installcheck-target-libgomp:
36366 @if target-libgomp
36367 maybe-installcheck-target-libgomp: installcheck-target-libgomp
36369 installcheck-target-libgomp: \
36370 configure-target-libgomp
36371 @: $(MAKE); $(unstage)
36372 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36373 r=`${PWD_COMMAND}`; export r; \
36374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36375 $(NORMAL_TARGET_EXPORTS) \
36376 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
36377 for flag in $(EXTRA_TARGET_FLAGS); do \
36378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36379 done; \
36380 (cd $(TARGET_SUBDIR)/libgomp && \
36381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36383 "RANLIB=$${RANLIB}" \
36384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36385 installcheck) \
36386 || exit 1
36388 @endif target-libgomp
36390 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
36391 maybe-mostlyclean-target-libgomp:
36392 @if target-libgomp
36393 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
36395 mostlyclean-target-libgomp:
36396 @: $(MAKE); $(unstage)
36397 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36398 r=`${PWD_COMMAND}`; export r; \
36399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36400 $(NORMAL_TARGET_EXPORTS) \
36401 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
36402 for flag in $(EXTRA_TARGET_FLAGS); do \
36403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36404 done; \
36405 (cd $(TARGET_SUBDIR)/libgomp && \
36406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36408 "RANLIB=$${RANLIB}" \
36409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36410 mostlyclean) \
36411 || exit 1
36413 @endif target-libgomp
36415 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
36416 maybe-clean-target-libgomp:
36417 @if target-libgomp
36418 maybe-clean-target-libgomp: clean-target-libgomp
36420 clean-target-libgomp:
36421 @: $(MAKE); $(unstage)
36422 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36423 r=`${PWD_COMMAND}`; export r; \
36424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36425 $(NORMAL_TARGET_EXPORTS) \
36426 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
36427 for flag in $(EXTRA_TARGET_FLAGS); do \
36428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36429 done; \
36430 (cd $(TARGET_SUBDIR)/libgomp && \
36431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36433 "RANLIB=$${RANLIB}" \
36434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36435 clean) \
36436 || exit 1
36438 @endif target-libgomp
36440 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
36441 maybe-distclean-target-libgomp:
36442 @if target-libgomp
36443 maybe-distclean-target-libgomp: distclean-target-libgomp
36445 distclean-target-libgomp:
36446 @: $(MAKE); $(unstage)
36447 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36448 r=`${PWD_COMMAND}`; export r; \
36449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36450 $(NORMAL_TARGET_EXPORTS) \
36451 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
36452 for flag in $(EXTRA_TARGET_FLAGS); do \
36453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36454 done; \
36455 (cd $(TARGET_SUBDIR)/libgomp && \
36456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36458 "RANLIB=$${RANLIB}" \
36459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36460 distclean) \
36461 || exit 1
36463 @endif target-libgomp
36465 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
36466 maybe-maintainer-clean-target-libgomp:
36467 @if target-libgomp
36468 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
36470 maintainer-clean-target-libgomp:
36471 @: $(MAKE); $(unstage)
36472 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36473 r=`${PWD_COMMAND}`; export r; \
36474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36475 $(NORMAL_TARGET_EXPORTS) \
36476 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
36477 for flag in $(EXTRA_TARGET_FLAGS); do \
36478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36479 done; \
36480 (cd $(TARGET_SUBDIR)/libgomp && \
36481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36483 "RANLIB=$${RANLIB}" \
36484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36485 maintainer-clean) \
36486 || exit 1
36488 @endif target-libgomp
36492 # ----------
36493 # GCC module
36494 # ----------
36496 @if gcc-no-bootstrap
36497 # GCC has some more recursive targets, which trigger the old
36498 # (but still current, until the toplevel bootstrap project
36499 # is finished) compiler bootstrapping rules.
36501 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
36502 .PHONY: $(GCC_STRAP_TARGETS)
36503 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
36504 @r=`${PWD_COMMAND}`; export r; \
36505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36506 $(HOST_EXPORTS) \
36507 echo "Bootstrapping the compiler"; \
36508 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36509 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
36510 @r=`${PWD_COMMAND}`; export r; \
36511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36512 case "$@" in \
36513 *bootstrap4-lean ) \
36514 msg="Comparing stage3 and stage4 of the compiler"; \
36515 compare=compare3-lean ;; \
36516 *bootstrap4 ) \
36517 msg="Comparing stage3 and stage4 of the compiler"; \
36518 compare=compare3 ;; \
36519 *-lean ) \
36520 msg="Comparing stage2 and stage3 of the compiler"; \
36521 compare=compare-lean ;; \
36522 * ) \
36523 msg="Comparing stage2 and stage3 of the compiler"; \
36524 compare=compare ;; \
36525 esac; \
36526 $(HOST_EXPORTS) \
36527 echo "$$msg"; \
36528 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
36529 @r=`${PWD_COMMAND}`; export r; \
36530 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36531 echo "Building runtime libraries"; \
36532 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36534 profiledbootstrap: all-prebootstrap configure-gcc
36535 @r=`${PWD_COMMAND}`; export r; \
36536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36537 $(HOST_EXPORTS) \
36538 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36539 echo "Bootstrapping training compiler"; \
36540 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
36541 @r=`${PWD_COMMAND}`; export r; \
36542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36543 $(HOST_EXPORTS) \
36544 echo "Building feedback based compiler"; \
36545 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
36546 @r=`${PWD_COMMAND}`; export r; \
36547 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36548 echo "Building runtime libraries"; \
36549 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36551 .PHONY: cross
36552 cross: all-build all-gas all-ld
36553 @r=`${PWD_COMMAND}`; export r; \
36554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36555 $(HOST_EXPORTS) \
36556 echo "Building the C and C++ compiler"; \
36557 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
36558 @r=`${PWD_COMMAND}`; export r; \
36559 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36560 echo "Building runtime libraries"; \
36561 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
36562 @endif gcc-no-bootstrap
36564 @if gcc
36565 .PHONY: check-gcc-c++
36566 check-gcc-c++:
36567 @if [ -f ./gcc/Makefile ] ; then \
36568 r=`${PWD_COMMAND}`; export r; \
36569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36570 $(HOST_EXPORTS) \
36571 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
36572 else \
36573 true; \
36576 .PHONY: check-c++
36577 check-c++: check-target-libstdc++-v3 check-gcc-c++
36579 # Install the gcc headers files, but not the fixed include files,
36580 # which Cygnus is not allowed to distribute. This rule is very
36581 # dependent on the workings of the gcc Makefile.in.
36582 .PHONY: gcc-no-fixedincludes
36583 gcc-no-fixedincludes:
36584 @if [ -f ./gcc/Makefile ]; then \
36585 rm -rf gcc/tmp-include; \
36586 mv gcc/include gcc/tmp-include 2>/dev/null; \
36587 mkdir gcc/include; \
36588 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
36589 touch gcc/stmp-fixinc gcc/include/fixed; \
36590 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
36591 r=`${PWD_COMMAND}`; export r; \
36592 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36593 $(HOST_EXPORTS) \
36594 (cd ./gcc && \
36595 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
36596 rm -rf gcc/include; \
36597 mv gcc/tmp-include gcc/include 2>/dev/null; \
36598 else true; fi
36599 @endif gcc
36601 # ---------------------
36602 # GCC bootstrap support
36603 # ---------------------
36605 # We track the current stage (the one in 'gcc') in the stage_current file.
36606 # stage_last instead tracks the stage that was built last. These targets
36607 # are dummy when toplevel bootstrap is not active.
36609 # While making host and target tools, symlinks to the final stage must be
36610 # there, so $(unstage) should be run at various points. To avoid excessive
36611 # recursive invocations of make, we "inline" them using a variable. These
36612 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
36613 # to avoid warnings from the GNU Make job server.
36615 unstage = :
36616 stage = :
36617 current_stage = ""
36619 @if gcc-bootstrap
36620 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
36621 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
36622 current_stage = "`cat stage_current 2> /dev/null`"
36623 @endif gcc-bootstrap
36625 .PHONY: unstage stage
36626 unstage:
36627 @: $(MAKE); $(unstage)
36628 stage:
36629 @: $(MAKE); $(stage)
36631 # Disable commands for lean bootstrap.
36632 LEAN = false
36634 # We name the build directories for the various stages "stage1-gcc",
36635 # "stage2-gcc","stage3-gcc", etc.
36637 # Since the 'compare' process will fail (on debugging information) if any
36638 # directory names are different, we need to link the gcc directory for
36639 # the previous stage to a constant name ('prev-gcc'), and to make the name of
36640 # the build directories constant as well. For the latter, we use naked names
36641 # like 'gcc', because the scripts in that directory assume it. We use
36642 # mv on platforms where symlinks to directories do not work or are not
36643 # reliable.
36645 # 'touch' doesn't work right on some platforms.
36646 STAMP = echo timestamp >
36648 # Only build the C compiler for stage1, because that is the only one that
36649 # we can guarantee will build with the native compiler, and also it is the
36650 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
36651 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
36652 # overrideable (for a bootstrap build stage1 also builds gcc.info).
36654 STAGE1_CFLAGS=@stage1_cflags@
36655 STAGE1_LANGUAGES=@stage1_languages@
36657 # We only want to compare .o files, so set this!
36658 objext = .o
36660 # Flags to pass to stage2 and later makes.
36661 POSTSTAGE1_FLAGS_TO_PASS = \
36662 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
36663 STAGE_PREFIX=$$r/prev-gcc/ \
36664 CFLAGS="$(BOOT_CFLAGS)" \
36665 LIBCFLAGS="$(BOOT_CFLAGS)" \
36666 LDFLAGS="$(BOOT_LDFLAGS)" \
36667 ADAC="\$$(CC)"
36669 # For stage 1:
36670 # * We force-disable intermodule optimizations, even if
36671 # --enable-intermodule was passed, since the installed compiler probably
36672 # can't handle them. Luckily, autoconf always respects
36673 # the last argument when conflicting --enable arguments are passed.
36674 # * Likewise, we force-disable coverage flags, since the installed compiler
36675 # probably has never heard of them.
36676 # * We build only C (and possibly Ada).
36679 .PHONY: stage1-start stage1-end
36681 stage1-start::
36682 @: $(MAKE); $(stage); \
36683 echo stage1 > stage_current ; \
36684 echo stage1 > stage_last; \
36685 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36686 @if bfd
36687 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
36688 mkdir stage1-bfd; \
36689 mv stage1-bfd bfd
36690 @endif bfd
36691 @if opcodes
36692 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
36693 mkdir stage1-opcodes; \
36694 mv stage1-opcodes opcodes
36695 @endif opcodes
36696 @if binutils
36697 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
36698 mkdir stage1-binutils; \
36699 mv stage1-binutils binutils
36700 @endif binutils
36701 @if gas
36702 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
36703 mkdir stage1-gas; \
36704 mv stage1-gas gas
36705 @endif gas
36706 @if gcc
36707 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
36708 mkdir stage1-gcc; \
36709 mv stage1-gcc gcc
36710 @endif gcc
36711 @if intl
36712 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
36713 mkdir stage1-intl; \
36714 mv stage1-intl intl
36715 @endif intl
36716 @if ld
36717 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
36718 mkdir stage1-ld; \
36719 mv stage1-ld ld
36720 @endif ld
36721 @if libcpp
36722 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
36723 mkdir stage1-libcpp; \
36724 mv stage1-libcpp libcpp
36725 @endif libcpp
36726 @if libdecnumber
36727 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
36728 mkdir stage1-libdecnumber; \
36729 mv stage1-libdecnumber libdecnumber
36730 @endif libdecnumber
36731 @if libiberty
36732 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
36733 mkdir stage1-libiberty; \
36734 mv stage1-libiberty libiberty
36735 @endif libiberty
36736 @if zlib
36737 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
36738 mkdir stage1-zlib; \
36739 mv stage1-zlib zlib
36740 @endif zlib
36741 @[ -d stage1-$(TARGET_SUBDIR) ] || \
36742 mkdir stage1-$(TARGET_SUBDIR); \
36743 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
36745 stage1-end::
36746 @if bfd
36747 @if test -d $(HOST_SUBDIR)/bfd ; then \
36748 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
36750 @endif bfd
36751 @if opcodes
36752 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36753 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
36755 @endif opcodes
36756 @if binutils
36757 @if test -d $(HOST_SUBDIR)/binutils ; then \
36758 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
36760 @endif binutils
36761 @if gas
36762 @if test -d $(HOST_SUBDIR)/gas ; then \
36763 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
36765 @endif gas
36766 @if gcc
36767 @if test -d $(HOST_SUBDIR)/gcc ; then \
36768 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
36770 @endif gcc
36771 @if intl
36772 @if test -d $(HOST_SUBDIR)/intl ; then \
36773 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
36775 @endif intl
36776 @if ld
36777 @if test -d $(HOST_SUBDIR)/ld ; then \
36778 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
36780 @endif ld
36781 @if libcpp
36782 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36783 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
36785 @endif libcpp
36786 @if libdecnumber
36787 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36788 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
36790 @endif libdecnumber
36791 @if libiberty
36792 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36793 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
36795 @endif libiberty
36796 @if zlib
36797 @if test -d $(HOST_SUBDIR)/zlib ; then \
36798 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
36800 @endif zlib
36801 @if test -d $(TARGET_SUBDIR) ; then \
36802 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36804 rm -f stage_current
36806 # Bubble a bugfix through all the stages up to stage 1. They are
36807 # remade, but not reconfigured. The next stage (if any) will not be
36808 # reconfigured as well.
36809 .PHONY: stage1-bubble
36810 stage1-bubble::
36811 @r=`${PWD_COMMAND}`; export r; \
36812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36813 if test -f stage1-lean ; then \
36814 echo Skipping rebuild of stage1 ; \
36815 else \
36816 $(MAKE) stage1-start; \
36817 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
36820 .PHONY: all-stage1 clean-stage1
36821 do-clean: clean-stage1
36823 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36824 # only possibility, but now it conflicts with no-bootstrap rules
36825 @if gcc-bootstrap
36830 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36832 .PHONY: distclean-stage1
36833 distclean-stage1::
36834 @: $(MAKE); $(stage)
36835 rm -rf stage1-*
36838 @endif gcc-bootstrap
36841 .PHONY: stage2-start stage2-end
36843 stage2-start::
36844 @: $(MAKE); $(stage); \
36845 echo stage2 > stage_current ; \
36846 echo stage2 > stage_last; \
36847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36848 @if bfd
36849 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
36850 mkdir stage2-bfd; \
36851 mv stage2-bfd bfd ; \
36852 mv stage1-bfd prev-bfd || test -f stage1-lean
36853 @endif bfd
36854 @if opcodes
36855 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
36856 mkdir stage2-opcodes; \
36857 mv stage2-opcodes opcodes ; \
36858 mv stage1-opcodes prev-opcodes || test -f stage1-lean
36859 @endif opcodes
36860 @if binutils
36861 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
36862 mkdir stage2-binutils; \
36863 mv stage2-binutils binutils ; \
36864 mv stage1-binutils prev-binutils || test -f stage1-lean
36865 @endif binutils
36866 @if gas
36867 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
36868 mkdir stage2-gas; \
36869 mv stage2-gas gas ; \
36870 mv stage1-gas prev-gas || test -f stage1-lean
36871 @endif gas
36872 @if gcc
36873 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
36874 mkdir stage2-gcc; \
36875 mv stage2-gcc gcc ; \
36876 mv stage1-gcc prev-gcc || test -f stage1-lean
36877 @endif gcc
36878 @if intl
36879 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
36880 mkdir stage2-intl; \
36881 mv stage2-intl intl ; \
36882 mv stage1-intl prev-intl || test -f stage1-lean
36883 @endif intl
36884 @if ld
36885 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
36886 mkdir stage2-ld; \
36887 mv stage2-ld ld ; \
36888 mv stage1-ld prev-ld || test -f stage1-lean
36889 @endif ld
36890 @if libcpp
36891 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
36892 mkdir stage2-libcpp; \
36893 mv stage2-libcpp libcpp ; \
36894 mv stage1-libcpp prev-libcpp || test -f stage1-lean
36895 @endif libcpp
36896 @if libdecnumber
36897 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
36898 mkdir stage2-libdecnumber; \
36899 mv stage2-libdecnumber libdecnumber ; \
36900 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
36901 @endif libdecnumber
36902 @if libiberty
36903 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
36904 mkdir stage2-libiberty; \
36905 mv stage2-libiberty libiberty ; \
36906 mv stage1-libiberty prev-libiberty || test -f stage1-lean
36907 @endif libiberty
36908 @if zlib
36909 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36910 mkdir stage2-zlib; \
36911 mv stage2-zlib zlib ; \
36912 mv stage1-zlib prev-zlib || test -f stage1-lean
36913 @endif zlib
36914 @[ -d stage2-$(TARGET_SUBDIR) ] || \
36915 mkdir stage2-$(TARGET_SUBDIR); \
36916 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36917 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
36919 stage2-end::
36920 @if bfd
36921 @if test -d $(HOST_SUBDIR)/bfd ; then \
36922 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
36923 mv prev-bfd stage1-bfd ; : ; \
36925 @endif bfd
36926 @if opcodes
36927 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36928 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
36929 mv prev-opcodes stage1-opcodes ; : ; \
36931 @endif opcodes
36932 @if binutils
36933 @if test -d $(HOST_SUBDIR)/binutils ; then \
36934 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
36935 mv prev-binutils stage1-binutils ; : ; \
36937 @endif binutils
36938 @if gas
36939 @if test -d $(HOST_SUBDIR)/gas ; then \
36940 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
36941 mv prev-gas stage1-gas ; : ; \
36943 @endif gas
36944 @if gcc
36945 @if test -d $(HOST_SUBDIR)/gcc ; then \
36946 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
36947 mv prev-gcc stage1-gcc ; : ; \
36949 @endif gcc
36950 @if intl
36951 @if test -d $(HOST_SUBDIR)/intl ; then \
36952 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
36953 mv prev-intl stage1-intl ; : ; \
36955 @endif intl
36956 @if ld
36957 @if test -d $(HOST_SUBDIR)/ld ; then \
36958 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
36959 mv prev-ld stage1-ld ; : ; \
36961 @endif ld
36962 @if libcpp
36963 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36964 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
36965 mv prev-libcpp stage1-libcpp ; : ; \
36967 @endif libcpp
36968 @if libdecnumber
36969 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36970 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
36971 mv prev-libdecnumber stage1-libdecnumber ; : ; \
36973 @endif libdecnumber
36974 @if libiberty
36975 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36976 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
36977 mv prev-libiberty stage1-libiberty ; : ; \
36979 @endif libiberty
36980 @if zlib
36981 @if test -d $(HOST_SUBDIR)/zlib ; then \
36982 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
36983 mv prev-zlib stage1-zlib ; : ; \
36985 @endif zlib
36986 @if test -d $(TARGET_SUBDIR) ; then \
36987 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36988 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
36990 rm -f stage_current
36992 # Bubble a bugfix through all the stages up to stage 2. They are
36993 # remade, but not reconfigured. The next stage (if any) will not be
36994 # reconfigured as well.
36995 .PHONY: stage2-bubble
36996 stage2-bubble:: stage1-bubble
36997 @r=`${PWD_COMMAND}`; export r; \
36998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36999 if test -f stage2-lean || test -f stage1-lean ; then \
37000 echo Skipping rebuild of stage2 ; \
37001 else \
37002 $(MAKE) stage2-start; \
37003 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
37006 .PHONY: all-stage2 clean-stage2
37007 do-clean: clean-stage2
37009 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37010 # only possibility, but now it conflicts with no-bootstrap rules
37011 @if gcc-bootstrap
37015 .PHONY: bootstrap2 bootstrap2-lean
37016 bootstrap2:
37017 echo stage2 > stage_final
37018 @r=`${PWD_COMMAND}`; export r; \
37019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37020 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
37021 @: $(MAKE); $(unstage)
37022 @r=`${PWD_COMMAND}`; export r; \
37023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37024 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37026 bootstrap2-lean:
37027 echo stage2 > stage_final
37028 @r=`${PWD_COMMAND}`; export r; \
37029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37030 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
37031 @: $(MAKE); $(unstage)
37032 @r=`${PWD_COMMAND}`; export r; \
37033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37034 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37037 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37038 distclean-stage1:: distclean-stage2
37039 .PHONY: distclean-stage2
37040 distclean-stage2::
37041 @: $(MAKE); $(stage)
37042 rm -rf stage2-*
37045 @endif gcc-bootstrap
37048 .PHONY: stage3-start stage3-end
37050 stage3-start::
37051 @: $(MAKE); $(stage); \
37052 echo stage3 > stage_current ; \
37053 echo stage3 > stage_last; \
37054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37055 @if bfd
37056 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
37057 mkdir stage3-bfd; \
37058 mv stage3-bfd bfd ; \
37059 mv stage2-bfd prev-bfd || test -f stage2-lean
37060 @endif bfd
37061 @if opcodes
37062 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
37063 mkdir stage3-opcodes; \
37064 mv stage3-opcodes opcodes ; \
37065 mv stage2-opcodes prev-opcodes || test -f stage2-lean
37066 @endif opcodes
37067 @if binutils
37068 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
37069 mkdir stage3-binutils; \
37070 mv stage3-binutils binutils ; \
37071 mv stage2-binutils prev-binutils || test -f stage2-lean
37072 @endif binutils
37073 @if gas
37074 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
37075 mkdir stage3-gas; \
37076 mv stage3-gas gas ; \
37077 mv stage2-gas prev-gas || test -f stage2-lean
37078 @endif gas
37079 @if gcc
37080 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
37081 mkdir stage3-gcc; \
37082 mv stage3-gcc gcc ; \
37083 mv stage2-gcc prev-gcc || test -f stage2-lean
37084 @endif gcc
37085 @if intl
37086 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
37087 mkdir stage3-intl; \
37088 mv stage3-intl intl ; \
37089 mv stage2-intl prev-intl || test -f stage2-lean
37090 @endif intl
37091 @if ld
37092 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
37093 mkdir stage3-ld; \
37094 mv stage3-ld ld ; \
37095 mv stage2-ld prev-ld || test -f stage2-lean
37096 @endif ld
37097 @if libcpp
37098 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
37099 mkdir stage3-libcpp; \
37100 mv stage3-libcpp libcpp ; \
37101 mv stage2-libcpp prev-libcpp || test -f stage2-lean
37102 @endif libcpp
37103 @if libdecnumber
37104 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
37105 mkdir stage3-libdecnumber; \
37106 mv stage3-libdecnumber libdecnumber ; \
37107 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
37108 @endif libdecnumber
37109 @if libiberty
37110 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
37111 mkdir stage3-libiberty; \
37112 mv stage3-libiberty libiberty ; \
37113 mv stage2-libiberty prev-libiberty || test -f stage2-lean
37114 @endif libiberty
37115 @if zlib
37116 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
37117 mkdir stage3-zlib; \
37118 mv stage3-zlib zlib ; \
37119 mv stage2-zlib prev-zlib || test -f stage2-lean
37120 @endif zlib
37121 @[ -d stage3-$(TARGET_SUBDIR) ] || \
37122 mkdir stage3-$(TARGET_SUBDIR); \
37123 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37124 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
37126 stage3-end::
37127 @if bfd
37128 @if test -d $(HOST_SUBDIR)/bfd ; then \
37129 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
37130 mv prev-bfd stage2-bfd ; : ; \
37132 @endif bfd
37133 @if opcodes
37134 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37135 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
37136 mv prev-opcodes stage2-opcodes ; : ; \
37138 @endif opcodes
37139 @if binutils
37140 @if test -d $(HOST_SUBDIR)/binutils ; then \
37141 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
37142 mv prev-binutils stage2-binutils ; : ; \
37144 @endif binutils
37145 @if gas
37146 @if test -d $(HOST_SUBDIR)/gas ; then \
37147 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
37148 mv prev-gas stage2-gas ; : ; \
37150 @endif gas
37151 @if gcc
37152 @if test -d $(HOST_SUBDIR)/gcc ; then \
37153 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
37154 mv prev-gcc stage2-gcc ; : ; \
37156 @endif gcc
37157 @if intl
37158 @if test -d $(HOST_SUBDIR)/intl ; then \
37159 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
37160 mv prev-intl stage2-intl ; : ; \
37162 @endif intl
37163 @if ld
37164 @if test -d $(HOST_SUBDIR)/ld ; then \
37165 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
37166 mv prev-ld stage2-ld ; : ; \
37168 @endif ld
37169 @if libcpp
37170 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37171 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
37172 mv prev-libcpp stage2-libcpp ; : ; \
37174 @endif libcpp
37175 @if libdecnumber
37176 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37177 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
37178 mv prev-libdecnumber stage2-libdecnumber ; : ; \
37180 @endif libdecnumber
37181 @if libiberty
37182 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37183 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
37184 mv prev-libiberty stage2-libiberty ; : ; \
37186 @endif libiberty
37187 @if zlib
37188 @if test -d $(HOST_SUBDIR)/zlib ; then \
37189 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
37190 mv prev-zlib stage2-zlib ; : ; \
37192 @endif zlib
37193 @if test -d $(TARGET_SUBDIR) ; then \
37194 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
37195 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
37197 rm -f stage_current
37199 # Bubble a bugfix through all the stages up to stage 3. They are
37200 # remade, but not reconfigured. The next stage (if any) will not be
37201 # reconfigured as well.
37202 .PHONY: stage3-bubble
37203 stage3-bubble:: stage2-bubble
37204 @r=`${PWD_COMMAND}`; export r; \
37205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37206 if test -f stage3-lean || test -f stage2-lean ; then \
37207 echo Skipping rebuild of stage3 ; \
37208 else \
37209 $(MAKE) stage3-start; \
37210 if $(LEAN); then \
37211 rm -rf stage1-* ; \
37212 $(STAMP) stage1-lean ; \
37213 fi; \
37214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
37216 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
37218 .PHONY: all-stage3 clean-stage3
37219 do-clean: clean-stage3
37221 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37222 # only possibility, but now it conflicts with no-bootstrap rules
37223 @if gcc-bootstrap
37225 compare:
37226 @r=`${PWD_COMMAND}`; export r; \
37227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37228 if test -f stage2-lean; then \
37229 echo Cannot compare object files as stage 2 was deleted. ; \
37230 exit 0 ; \
37231 fi; \
37232 : $(MAKE); $(stage); \
37233 rm -f .bad_compare ; \
37234 echo Comparing stages 2 and 3 ; \
37235 cd stage3-gcc; \
37236 files=`find . -name "*$(objext)" -print` ; \
37237 cd .. ; \
37238 for file in $${files} ; do \
37239 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
37240 @do_compare@ > /dev/null 2>&1; \
37241 if test $$? -eq 1; then \
37242 case $$file in \
37243 ./cc*-checksum$(objext) | ./libgcc/* ) \
37244 echo warning: $$file differs ;; \
37245 *) \
37246 echo $$file differs >> .bad_compare ;; \
37247 esac ; \
37248 fi ; \
37249 done ; \
37250 if [ -f .bad_compare ]; then \
37251 echo "Bootstrap comparison failure!"; \
37252 cat .bad_compare; \
37253 exit 1; \
37254 else \
37255 echo Comparison successful.; \
37256 fi ; \
37257 $(STAMP) compare
37258 if $(LEAN); then \
37259 rm -rf stage2-*; \
37260 $(STAMP) stage2-lean; \
37265 .PHONY: bootstrap bootstrap-lean
37266 bootstrap:
37267 echo stage3 > stage_final
37268 @r=`${PWD_COMMAND}`; export r; \
37269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37270 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
37271 @: $(MAKE); $(unstage)
37272 @r=`${PWD_COMMAND}`; export r; \
37273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37274 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37276 bootstrap-lean:
37277 echo stage3 > stage_final
37278 @r=`${PWD_COMMAND}`; export r; \
37279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37280 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
37281 @: $(MAKE); $(unstage)
37282 @r=`${PWD_COMMAND}`; export r; \
37283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37284 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37287 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37288 distclean-stage2:: distclean-stage3
37289 .PHONY: distclean-stage3
37290 distclean-stage3::
37291 @: $(MAKE); $(stage)
37292 rm -rf stage3-* compare
37295 .PHONY: cleanstrap
37296 cleanstrap: distclean bootstrap
37298 @endif gcc-bootstrap
37301 .PHONY: stage4-start stage4-end
37303 stage4-start::
37304 @: $(MAKE); $(stage); \
37305 echo stage4 > stage_current ; \
37306 echo stage4 > stage_last; \
37307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37308 @if bfd
37309 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
37310 mkdir stage4-bfd; \
37311 mv stage4-bfd bfd ; \
37312 mv stage3-bfd prev-bfd || test -f stage3-lean
37313 @endif bfd
37314 @if opcodes
37315 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
37316 mkdir stage4-opcodes; \
37317 mv stage4-opcodes opcodes ; \
37318 mv stage3-opcodes prev-opcodes || test -f stage3-lean
37319 @endif opcodes
37320 @if binutils
37321 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
37322 mkdir stage4-binutils; \
37323 mv stage4-binutils binutils ; \
37324 mv stage3-binutils prev-binutils || test -f stage3-lean
37325 @endif binutils
37326 @if gas
37327 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
37328 mkdir stage4-gas; \
37329 mv stage4-gas gas ; \
37330 mv stage3-gas prev-gas || test -f stage3-lean
37331 @endif gas
37332 @if gcc
37333 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
37334 mkdir stage4-gcc; \
37335 mv stage4-gcc gcc ; \
37336 mv stage3-gcc prev-gcc || test -f stage3-lean
37337 @endif gcc
37338 @if intl
37339 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
37340 mkdir stage4-intl; \
37341 mv stage4-intl intl ; \
37342 mv stage3-intl prev-intl || test -f stage3-lean
37343 @endif intl
37344 @if ld
37345 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
37346 mkdir stage4-ld; \
37347 mv stage4-ld ld ; \
37348 mv stage3-ld prev-ld || test -f stage3-lean
37349 @endif ld
37350 @if libcpp
37351 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
37352 mkdir stage4-libcpp; \
37353 mv stage4-libcpp libcpp ; \
37354 mv stage3-libcpp prev-libcpp || test -f stage3-lean
37355 @endif libcpp
37356 @if libdecnumber
37357 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
37358 mkdir stage4-libdecnumber; \
37359 mv stage4-libdecnumber libdecnumber ; \
37360 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
37361 @endif libdecnumber
37362 @if libiberty
37363 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
37364 mkdir stage4-libiberty; \
37365 mv stage4-libiberty libiberty ; \
37366 mv stage3-libiberty prev-libiberty || test -f stage3-lean
37367 @endif libiberty
37368 @if zlib
37369 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
37370 mkdir stage4-zlib; \
37371 mv stage4-zlib zlib ; \
37372 mv stage3-zlib prev-zlib || test -f stage3-lean
37373 @endif zlib
37374 @[ -d stage4-$(TARGET_SUBDIR) ] || \
37375 mkdir stage4-$(TARGET_SUBDIR); \
37376 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37377 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
37379 stage4-end::
37380 @if bfd
37381 @if test -d $(HOST_SUBDIR)/bfd ; then \
37382 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
37383 mv prev-bfd stage3-bfd ; : ; \
37385 @endif bfd
37386 @if opcodes
37387 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37388 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
37389 mv prev-opcodes stage3-opcodes ; : ; \
37391 @endif opcodes
37392 @if binutils
37393 @if test -d $(HOST_SUBDIR)/binutils ; then \
37394 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
37395 mv prev-binutils stage3-binutils ; : ; \
37397 @endif binutils
37398 @if gas
37399 @if test -d $(HOST_SUBDIR)/gas ; then \
37400 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
37401 mv prev-gas stage3-gas ; : ; \
37403 @endif gas
37404 @if gcc
37405 @if test -d $(HOST_SUBDIR)/gcc ; then \
37406 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
37407 mv prev-gcc stage3-gcc ; : ; \
37409 @endif gcc
37410 @if intl
37411 @if test -d $(HOST_SUBDIR)/intl ; then \
37412 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
37413 mv prev-intl stage3-intl ; : ; \
37415 @endif intl
37416 @if ld
37417 @if test -d $(HOST_SUBDIR)/ld ; then \
37418 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
37419 mv prev-ld stage3-ld ; : ; \
37421 @endif ld
37422 @if libcpp
37423 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37424 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
37425 mv prev-libcpp stage3-libcpp ; : ; \
37427 @endif libcpp
37428 @if libdecnumber
37429 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37430 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
37431 mv prev-libdecnumber stage3-libdecnumber ; : ; \
37433 @endif libdecnumber
37434 @if libiberty
37435 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37436 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
37437 mv prev-libiberty stage3-libiberty ; : ; \
37439 @endif libiberty
37440 @if zlib
37441 @if test -d $(HOST_SUBDIR)/zlib ; then \
37442 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
37443 mv prev-zlib stage3-zlib ; : ; \
37445 @endif zlib
37446 @if test -d $(TARGET_SUBDIR) ; then \
37447 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
37448 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
37450 rm -f stage_current
37452 # Bubble a bugfix through all the stages up to stage 4. They are
37453 # remade, but not reconfigured. The next stage (if any) will not be
37454 # reconfigured as well.
37455 .PHONY: stage4-bubble
37456 stage4-bubble:: stage3-bubble
37457 @r=`${PWD_COMMAND}`; export r; \
37458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37459 if test -f stage4-lean || test -f stage3-lean ; then \
37460 echo Skipping rebuild of stage4 ; \
37461 else \
37462 $(MAKE) stage4-start; \
37463 if $(LEAN); then \
37464 rm -rf stage2-* ; \
37465 $(STAMP) stage2-lean ; \
37466 fi; \
37467 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
37469 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
37471 .PHONY: all-stage4 clean-stage4
37472 do-clean: clean-stage4
37474 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37475 # only possibility, but now it conflicts with no-bootstrap rules
37476 @if gcc-bootstrap
37478 compare3:
37479 @r=`${PWD_COMMAND}`; export r; \
37480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37481 if test -f stage3-lean; then \
37482 echo Cannot compare object files as stage 3 was deleted. ; \
37483 exit 0 ; \
37484 fi; \
37485 : $(MAKE); $(stage); \
37486 rm -f .bad_compare ; \
37487 echo Comparing stages 3 and 4 ; \
37488 cd stage4-gcc; \
37489 files=`find . -name "*$(objext)" -print` ; \
37490 cd .. ; \
37491 for file in $${files} ; do \
37492 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
37493 @do_compare@ > /dev/null 2>&1; \
37494 if test $$? -eq 1; then \
37495 case $$file in \
37496 ./cc*-checksum$(objext) | ./libgcc/* ) \
37497 echo warning: $$file differs ;; \
37498 *) \
37499 echo $$file differs >> .bad_compare ;; \
37500 esac ; \
37501 fi ; \
37502 done ; \
37503 if [ -f .bad_compare ]; then \
37504 echo "Bootstrap comparison failure!"; \
37505 cat .bad_compare; \
37506 exit 1; \
37507 else \
37508 echo Comparison successful.; \
37509 fi ; \
37510 $(STAMP) compare3
37511 if $(LEAN); then \
37512 rm -rf stage3-*; \
37513 $(STAMP) stage3-lean; \
37518 .PHONY: bootstrap4 bootstrap4-lean
37519 bootstrap4:
37520 echo stage4 > stage_final
37521 @r=`${PWD_COMMAND}`; export r; \
37522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37523 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
37524 @: $(MAKE); $(unstage)
37525 @r=`${PWD_COMMAND}`; export r; \
37526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37527 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37529 bootstrap4-lean:
37530 echo stage4 > stage_final
37531 @r=`${PWD_COMMAND}`; export r; \
37532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37533 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
37534 @: $(MAKE); $(unstage)
37535 @r=`${PWD_COMMAND}`; export r; \
37536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37537 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37540 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37541 distclean-stage3:: distclean-stage4
37542 .PHONY: distclean-stage4
37543 distclean-stage4::
37544 @: $(MAKE); $(stage)
37545 rm -rf stage4-* compare3
37548 @endif gcc-bootstrap
37551 .PHONY: stageprofile-start stageprofile-end
37553 stageprofile-start::
37554 @: $(MAKE); $(stage); \
37555 echo stageprofile > stage_current ; \
37556 echo stageprofile > stage_last; \
37557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37558 @if bfd
37559 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
37560 mkdir stageprofile-bfd; \
37561 mv stageprofile-bfd bfd ; \
37562 mv stage1-bfd prev-bfd || test -f stage1-lean
37563 @endif bfd
37564 @if opcodes
37565 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
37566 mkdir stageprofile-opcodes; \
37567 mv stageprofile-opcodes opcodes ; \
37568 mv stage1-opcodes prev-opcodes || test -f stage1-lean
37569 @endif opcodes
37570 @if binutils
37571 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
37572 mkdir stageprofile-binutils; \
37573 mv stageprofile-binutils binutils ; \
37574 mv stage1-binutils prev-binutils || test -f stage1-lean
37575 @endif binutils
37576 @if gas
37577 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
37578 mkdir stageprofile-gas; \
37579 mv stageprofile-gas gas ; \
37580 mv stage1-gas prev-gas || test -f stage1-lean
37581 @endif gas
37582 @if gcc
37583 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
37584 mkdir stageprofile-gcc; \
37585 mv stageprofile-gcc gcc ; \
37586 mv stage1-gcc prev-gcc || test -f stage1-lean
37587 @endif gcc
37588 @if intl
37589 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
37590 mkdir stageprofile-intl; \
37591 mv stageprofile-intl intl ; \
37592 mv stage1-intl prev-intl || test -f stage1-lean
37593 @endif intl
37594 @if ld
37595 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
37596 mkdir stageprofile-ld; \
37597 mv stageprofile-ld ld ; \
37598 mv stage1-ld prev-ld || test -f stage1-lean
37599 @endif ld
37600 @if libcpp
37601 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
37602 mkdir stageprofile-libcpp; \
37603 mv stageprofile-libcpp libcpp ; \
37604 mv stage1-libcpp prev-libcpp || test -f stage1-lean
37605 @endif libcpp
37606 @if libdecnumber
37607 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
37608 mkdir stageprofile-libdecnumber; \
37609 mv stageprofile-libdecnumber libdecnumber ; \
37610 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
37611 @endif libdecnumber
37612 @if libiberty
37613 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
37614 mkdir stageprofile-libiberty; \
37615 mv stageprofile-libiberty libiberty ; \
37616 mv stage1-libiberty prev-libiberty || test -f stage1-lean
37617 @endif libiberty
37618 @if zlib
37619 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
37620 mkdir stageprofile-zlib; \
37621 mv stageprofile-zlib zlib ; \
37622 mv stage1-zlib prev-zlib || test -f stage1-lean
37623 @endif zlib
37624 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
37625 mkdir stageprofile-$(TARGET_SUBDIR); \
37626 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37627 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
37629 stageprofile-end::
37630 @if bfd
37631 @if test -d $(HOST_SUBDIR)/bfd ; then \
37632 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
37633 mv prev-bfd stage1-bfd ; : ; \
37635 @endif bfd
37636 @if opcodes
37637 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37638 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
37639 mv prev-opcodes stage1-opcodes ; : ; \
37641 @endif opcodes
37642 @if binutils
37643 @if test -d $(HOST_SUBDIR)/binutils ; then \
37644 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
37645 mv prev-binutils stage1-binutils ; : ; \
37647 @endif binutils
37648 @if gas
37649 @if test -d $(HOST_SUBDIR)/gas ; then \
37650 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
37651 mv prev-gas stage1-gas ; : ; \
37653 @endif gas
37654 @if gcc
37655 @if test -d $(HOST_SUBDIR)/gcc ; then \
37656 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
37657 mv prev-gcc stage1-gcc ; : ; \
37659 @endif gcc
37660 @if intl
37661 @if test -d $(HOST_SUBDIR)/intl ; then \
37662 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
37663 mv prev-intl stage1-intl ; : ; \
37665 @endif intl
37666 @if ld
37667 @if test -d $(HOST_SUBDIR)/ld ; then \
37668 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
37669 mv prev-ld stage1-ld ; : ; \
37671 @endif ld
37672 @if libcpp
37673 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37674 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
37675 mv prev-libcpp stage1-libcpp ; : ; \
37677 @endif libcpp
37678 @if libdecnumber
37679 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37680 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
37681 mv prev-libdecnumber stage1-libdecnumber ; : ; \
37683 @endif libdecnumber
37684 @if libiberty
37685 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37686 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
37687 mv prev-libiberty stage1-libiberty ; : ; \
37689 @endif libiberty
37690 @if zlib
37691 @if test -d $(HOST_SUBDIR)/zlib ; then \
37692 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
37693 mv prev-zlib stage1-zlib ; : ; \
37695 @endif zlib
37696 @if test -d $(TARGET_SUBDIR) ; then \
37697 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
37698 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
37700 rm -f stage_current
37702 # Bubble a bugfix through all the stages up to stage profile. They are
37703 # remade, but not reconfigured. The next stage (if any) will not be
37704 # reconfigured as well.
37705 .PHONY: stageprofile-bubble
37706 stageprofile-bubble:: stage1-bubble
37707 @r=`${PWD_COMMAND}`; export r; \
37708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37709 if test -f stageprofile-lean || test -f stage1-lean ; then \
37710 echo Skipping rebuild of stageprofile ; \
37711 else \
37712 $(MAKE) stageprofile-start; \
37713 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
37716 .PHONY: all-stageprofile clean-stageprofile
37717 do-clean: clean-stageprofile
37719 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37720 # only possibility, but now it conflicts with no-bootstrap rules
37721 @if gcc-bootstrap
37726 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37727 distclean-stage1:: distclean-stageprofile
37728 .PHONY: distclean-stageprofile
37729 distclean-stageprofile::
37730 @: $(MAKE); $(stage)
37731 rm -rf stageprofile-*
37734 @endif gcc-bootstrap
37737 .PHONY: stagefeedback-start stagefeedback-end
37739 stagefeedback-start::
37740 @: $(MAKE); $(stage); \
37741 echo stagefeedback > stage_current ; \
37742 echo stagefeedback > stage_last; \
37743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37744 @if bfd
37745 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
37746 mkdir stagefeedback-bfd; \
37747 mv stagefeedback-bfd bfd ; \
37748 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
37749 @endif bfd
37750 @if opcodes
37751 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
37752 mkdir stagefeedback-opcodes; \
37753 mv stagefeedback-opcodes opcodes ; \
37754 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
37755 @endif opcodes
37756 @if binutils
37757 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
37758 mkdir stagefeedback-binutils; \
37759 mv stagefeedback-binutils binutils ; \
37760 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
37761 @endif binutils
37762 @if gas
37763 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
37764 mkdir stagefeedback-gas; \
37765 mv stagefeedback-gas gas ; \
37766 mv stageprofile-gas prev-gas || test -f stageprofile-lean
37767 @endif gas
37768 @if gcc
37769 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
37770 mkdir stagefeedback-gcc; \
37771 mv stagefeedback-gcc gcc ; \
37772 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
37773 @endif gcc
37774 @if intl
37775 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
37776 mkdir stagefeedback-intl; \
37777 mv stagefeedback-intl intl ; \
37778 mv stageprofile-intl prev-intl || test -f stageprofile-lean
37779 @endif intl
37780 @if ld
37781 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
37782 mkdir stagefeedback-ld; \
37783 mv stagefeedback-ld ld ; \
37784 mv stageprofile-ld prev-ld || test -f stageprofile-lean
37785 @endif ld
37786 @if libcpp
37787 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
37788 mkdir stagefeedback-libcpp; \
37789 mv stagefeedback-libcpp libcpp ; \
37790 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
37791 @endif libcpp
37792 @if libdecnumber
37793 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
37794 mkdir stagefeedback-libdecnumber; \
37795 mv stagefeedback-libdecnumber libdecnumber ; \
37796 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
37797 @endif libdecnumber
37798 @if libiberty
37799 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
37800 mkdir stagefeedback-libiberty; \
37801 mv stagefeedback-libiberty libiberty ; \
37802 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
37803 @endif libiberty
37804 @if zlib
37805 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
37806 mkdir stagefeedback-zlib; \
37807 mv stagefeedback-zlib zlib ; \
37808 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
37809 @endif zlib
37810 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
37811 mkdir stagefeedback-$(TARGET_SUBDIR); \
37812 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37813 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
37815 stagefeedback-end::
37816 @if bfd
37817 @if test -d $(HOST_SUBDIR)/bfd ; then \
37818 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
37819 mv prev-bfd stageprofile-bfd ; : ; \
37821 @endif bfd
37822 @if opcodes
37823 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37824 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
37825 mv prev-opcodes stageprofile-opcodes ; : ; \
37827 @endif opcodes
37828 @if binutils
37829 @if test -d $(HOST_SUBDIR)/binutils ; then \
37830 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
37831 mv prev-binutils stageprofile-binutils ; : ; \
37833 @endif binutils
37834 @if gas
37835 @if test -d $(HOST_SUBDIR)/gas ; then \
37836 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
37837 mv prev-gas stageprofile-gas ; : ; \
37839 @endif gas
37840 @if gcc
37841 @if test -d $(HOST_SUBDIR)/gcc ; then \
37842 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
37843 mv prev-gcc stageprofile-gcc ; : ; \
37845 @endif gcc
37846 @if intl
37847 @if test -d $(HOST_SUBDIR)/intl ; then \
37848 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
37849 mv prev-intl stageprofile-intl ; : ; \
37851 @endif intl
37852 @if ld
37853 @if test -d $(HOST_SUBDIR)/ld ; then \
37854 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
37855 mv prev-ld stageprofile-ld ; : ; \
37857 @endif ld
37858 @if libcpp
37859 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37860 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
37861 mv prev-libcpp stageprofile-libcpp ; : ; \
37863 @endif libcpp
37864 @if libdecnumber
37865 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37866 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
37867 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
37869 @endif libdecnumber
37870 @if libiberty
37871 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37872 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
37873 mv prev-libiberty stageprofile-libiberty ; : ; \
37875 @endif libiberty
37876 @if zlib
37877 @if test -d $(HOST_SUBDIR)/zlib ; then \
37878 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
37879 mv prev-zlib stageprofile-zlib ; : ; \
37881 @endif zlib
37882 @if test -d $(TARGET_SUBDIR) ; then \
37883 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
37884 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
37886 rm -f stage_current
37888 # Bubble a bugfix through all the stages up to stage feedback. They are
37889 # remade, but not reconfigured. The next stage (if any) will not be
37890 # reconfigured as well.
37891 .PHONY: stagefeedback-bubble
37892 stagefeedback-bubble:: stageprofile-bubble
37893 @r=`${PWD_COMMAND}`; export r; \
37894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37895 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37896 echo Skipping rebuild of stagefeedback ; \
37897 else \
37898 $(MAKE) stagefeedback-start; \
37899 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37902 .PHONY: all-stagefeedback clean-stagefeedback
37903 do-clean: clean-stagefeedback
37905 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37906 # only possibility, but now it conflicts with no-bootstrap rules
37907 @if gcc-bootstrap
37911 .PHONY: profiledbootstrap profiledbootstrap-lean
37912 profiledbootstrap:
37913 echo stagefeedback > stage_final
37914 @r=`${PWD_COMMAND}`; export r; \
37915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37916 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
37917 @: $(MAKE); $(unstage)
37918 @r=`${PWD_COMMAND}`; export r; \
37919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37920 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37922 profiledbootstrap-lean:
37923 echo stagefeedback > stage_final
37924 @r=`${PWD_COMMAND}`; export r; \
37925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37926 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
37927 @: $(MAKE); $(unstage)
37928 @r=`${PWD_COMMAND}`; export r; \
37929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37930 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37933 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37934 distclean-stageprofile:: distclean-stagefeedback
37935 .PHONY: distclean-stagefeedback
37936 distclean-stagefeedback::
37937 @: $(MAKE); $(stage)
37938 rm -rf stagefeedback-*
37941 @endif gcc-bootstrap
37945 stageprofile-end::
37946 $(MAKE) distclean-stagefeedback
37948 stagefeedback-start::
37949 @r=`${PWD_COMMAND}`; export r; \
37950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37951 for i in prev-*; do \
37952 j=`echo $$i | sed s/^prev-//` ; \
37953 cd $$r/$$i && \
37954 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37955 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37956 done
37958 @if gcc-bootstrap
37959 do-distclean: distclean-stage1
37961 # Provide a GCC build when we're building target libraries. This does
37962 # not work as a dependency, just as the minimum necessary to avoid errors.
37963 stage_last:
37964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
37965 @endif gcc-bootstrap
37967 .PHONY: restrap
37968 restrap:
37969 @: $(MAKE); $(stage)
37970 rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback
37971 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
37973 # --------------------------------------
37974 # Dependencies between different modules
37975 # --------------------------------------
37977 # Generic dependencies for target modules on host stuff, especially gcc
37978 @if gcc-bootstrap
37979 configure-target-libstdc++-v3: stage_last
37980 configure-target-libmudflap: stage_last
37981 configure-target-libssp: stage_last
37982 configure-target-libgcc-math: stage_last
37983 configure-target-newlib: stage_last
37984 configure-target-libgfortran: stage_last
37985 configure-target-libobjc: stage_last
37986 configure-target-libtermcap: stage_last
37987 configure-target-winsup: stage_last
37988 configure-target-libgloss: stage_last
37989 configure-target-libiberty: stage_last
37990 configure-target-gperf: stage_last
37991 configure-target-examples: stage_last
37992 configure-target-libffi: stage_last
37993 configure-target-libjava: stage_last
37994 configure-target-zlib: stage_last
37995 configure-target-boehm-gc: stage_last
37996 configure-target-qthreads: stage_last
37997 configure-target-rda: stage_last
37998 configure-target-libada: stage_last
37999 configure-target-libgomp: stage_last
38000 @endif gcc-bootstrap
38002 @if gcc-no-bootstrap
38003 configure-target-libstdc++-v3: maybe-all-gcc
38004 configure-target-libmudflap: maybe-all-gcc
38005 configure-target-libssp: maybe-all-gcc
38006 configure-target-libgcc-math: maybe-all-gcc
38007 configure-target-newlib: maybe-all-gcc
38008 configure-target-libgfortran: maybe-all-gcc
38009 configure-target-libobjc: maybe-all-gcc
38010 configure-target-libtermcap: maybe-all-gcc
38011 configure-target-winsup: maybe-all-gcc
38012 configure-target-libgloss: maybe-all-gcc
38013 configure-target-libiberty: maybe-all-gcc
38014 configure-target-gperf: maybe-all-gcc
38015 configure-target-examples: maybe-all-gcc
38016 configure-target-libffi: maybe-all-gcc
38017 configure-target-libjava: maybe-all-gcc
38018 configure-target-zlib: maybe-all-gcc
38019 configure-target-boehm-gc: maybe-all-gcc
38020 configure-target-qthreads: maybe-all-gcc
38021 configure-target-rda: maybe-all-gcc
38022 configure-target-libada: maybe-all-gcc
38023 configure-target-libgomp: maybe-all-gcc
38024 @endif gcc-no-bootstrap
38028 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
38030 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
38031 configure-target-gperf: maybe-all-target-libstdc++-v3
38033 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
38035 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
38037 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
38039 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
38040 configure-target-libjava: maybe-all-target-libstdc++-v3
38042 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
38044 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
38046 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
38048 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
38050 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
38052 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
38054 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
38056 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
38058 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
38060 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
38063 # There are two types of dependencies here: 'hard' dependencies, where one
38064 # module simply won't build without the other; and 'soft' dependencies, where
38065 # if the depended-on module is missing, the depending module will do without
38066 # or find a substitute somewhere (perhaps installed). Soft dependencies
38067 # are made here to depend on a 'maybe-' target. If you're not sure,
38068 # it's safer to use a soft dependency.
38075 # With all the machinery above in place, it is pretty easy to generate
38076 # dependencies. Host dependencies are a bit more complex because we have
38077 # to check for bootstrap/prebootstrap dependencies. To resolve
38078 # prebootstrap dependencies, prebootstrap modules are gathered in
38079 # a hash table.
38080 all-build-bison: maybe-all-build-texinfo
38081 all-build-byacc: maybe-all-build-texinfo
38082 all-build-flex: maybe-all-build-texinfo
38083 all-build-flex: maybe-all-build-bison
38084 all-build-flex: maybe-all-build-byacc
38085 all-build-flex: maybe-all-build-m4
38086 all-build-libiberty: maybe-all-build-texinfo
38087 all-build-m4: maybe-all-build-texinfo
38088 all-build-fixincludes: maybe-all-build-libiberty
38089 configure-gcc: maybe-configure-intl
38091 configure-stage1-gcc: maybe-configure-stage1-intl
38092 configure-stage2-gcc: maybe-configure-stage2-intl
38093 configure-stage3-gcc: maybe-configure-stage3-intl
38094 configure-stage4-gcc: maybe-configure-stage4-intl
38095 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
38096 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
38097 configure-gcc: maybe-all-binutils
38099 configure-stage1-gcc: maybe-all-stage1-binutils
38100 configure-stage2-gcc: maybe-all-stage2-binutils
38101 configure-stage3-gcc: maybe-all-stage3-binutils
38102 configure-stage4-gcc: maybe-all-stage4-binutils
38103 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
38104 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
38105 configure-gcc: maybe-all-gas
38107 configure-stage1-gcc: maybe-all-stage1-gas
38108 configure-stage2-gcc: maybe-all-stage2-gas
38109 configure-stage3-gcc: maybe-all-stage3-gas
38110 configure-stage4-gcc: maybe-all-stage4-gas
38111 configure-stageprofile-gcc: maybe-all-stageprofile-gas
38112 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
38113 configure-gcc: maybe-all-ld
38115 configure-stage1-gcc: maybe-all-stage1-ld
38116 configure-stage2-gcc: maybe-all-stage2-ld
38117 configure-stage3-gcc: maybe-all-stage3-ld
38118 configure-stage4-gcc: maybe-all-stage4-ld
38119 configure-stageprofile-gcc: maybe-all-stageprofile-ld
38120 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
38121 all-gcc: all-libiberty
38123 all-stage1-gcc: all-stage1-libiberty
38124 all-stage2-gcc: all-stage2-libiberty
38125 all-stage3-gcc: all-stage3-libiberty
38126 all-stage4-gcc: all-stage4-libiberty
38127 all-stageprofile-gcc: all-stageprofile-libiberty
38128 all-stagefeedback-gcc: all-stagefeedback-libiberty
38129 all-gcc: maybe-all-intl
38131 all-stage1-gcc: maybe-all-stage1-intl
38132 all-stage2-gcc: maybe-all-stage2-intl
38133 all-stage3-gcc: maybe-all-stage3-intl
38134 all-stage4-gcc: maybe-all-stage4-intl
38135 all-stageprofile-gcc: maybe-all-stageprofile-intl
38136 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
38137 all-gcc: maybe-all-build-texinfo
38139 all-stage1-gcc: maybe-all-build-texinfo
38140 all-stage2-gcc: maybe-all-build-texinfo
38141 all-stage3-gcc: maybe-all-build-texinfo
38142 all-stage4-gcc: maybe-all-build-texinfo
38143 all-stageprofile-gcc: maybe-all-build-texinfo
38144 all-stagefeedback-gcc: maybe-all-build-texinfo
38145 all-prebootstrap: maybe-all-build-texinfo
38146 all-gcc: maybe-all-build-bison
38148 all-stage1-gcc: maybe-all-build-bison
38149 all-stage2-gcc: maybe-all-build-bison
38150 all-stage3-gcc: maybe-all-build-bison
38151 all-stage4-gcc: maybe-all-build-bison
38152 all-stageprofile-gcc: maybe-all-build-bison
38153 all-stagefeedback-gcc: maybe-all-build-bison
38154 all-prebootstrap: maybe-all-build-bison
38155 all-gcc: maybe-all-build-byacc
38157 all-stage1-gcc: maybe-all-build-byacc
38158 all-stage2-gcc: maybe-all-build-byacc
38159 all-stage3-gcc: maybe-all-build-byacc
38160 all-stage4-gcc: maybe-all-build-byacc
38161 all-stageprofile-gcc: maybe-all-build-byacc
38162 all-stagefeedback-gcc: maybe-all-build-byacc
38163 all-prebootstrap: maybe-all-build-byacc
38164 all-gcc: maybe-all-build-flex
38166 all-stage1-gcc: maybe-all-build-flex
38167 all-stage2-gcc: maybe-all-build-flex
38168 all-stage3-gcc: maybe-all-build-flex
38169 all-stage4-gcc: maybe-all-build-flex
38170 all-stageprofile-gcc: maybe-all-build-flex
38171 all-stagefeedback-gcc: maybe-all-build-flex
38172 all-prebootstrap: maybe-all-build-flex
38173 all-gcc: maybe-all-build-libiberty
38175 all-stage1-gcc: maybe-all-build-libiberty
38176 all-stage2-gcc: maybe-all-build-libiberty
38177 all-stage3-gcc: maybe-all-build-libiberty
38178 all-stage4-gcc: maybe-all-build-libiberty
38179 all-stageprofile-gcc: maybe-all-build-libiberty
38180 all-stagefeedback-gcc: maybe-all-build-libiberty
38181 all-prebootstrap: maybe-all-build-libiberty
38182 all-gcc: maybe-all-build-fixincludes
38184 all-stage1-gcc: maybe-all-build-fixincludes
38185 all-stage2-gcc: maybe-all-build-fixincludes
38186 all-stage3-gcc: maybe-all-build-fixincludes
38187 all-stage4-gcc: maybe-all-build-fixincludes
38188 all-stageprofile-gcc: maybe-all-build-fixincludes
38189 all-stagefeedback-gcc: maybe-all-build-fixincludes
38190 all-prebootstrap: maybe-all-build-fixincludes
38191 all-gcc: maybe-all-zlib
38193 all-stage1-gcc: maybe-all-stage1-zlib
38194 all-stage2-gcc: maybe-all-stage2-zlib
38195 all-stage3-gcc: maybe-all-stage3-zlib
38196 all-stage4-gcc: maybe-all-stage4-zlib
38197 all-stageprofile-gcc: maybe-all-stageprofile-zlib
38198 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
38199 all-gcc: all-libcpp
38201 all-stage1-gcc: all-stage1-libcpp
38202 all-stage2-gcc: all-stage2-libcpp
38203 all-stage3-gcc: all-stage3-libcpp
38204 all-stage4-gcc: all-stage4-libcpp
38205 all-stageprofile-gcc: all-stageprofile-libcpp
38206 all-stagefeedback-gcc: all-stagefeedback-libcpp
38207 all-gcc: all-libdecnumber
38209 all-stage1-gcc: all-stage1-libdecnumber
38210 all-stage2-gcc: all-stage2-libdecnumber
38211 all-stage3-gcc: all-stage3-libdecnumber
38212 all-stage4-gcc: all-stage4-libdecnumber
38213 all-stageprofile-gcc: all-stageprofile-libdecnumber
38214 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
38215 all-gcc: maybe-all-libiberty
38217 all-stage1-gcc: maybe-all-stage1-libiberty
38218 all-stage2-gcc: maybe-all-stage2-libiberty
38219 all-stage3-gcc: maybe-all-stage3-libiberty
38220 all-stage4-gcc: maybe-all-stage4-libiberty
38221 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
38222 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
38223 all-gcc: maybe-all-fixincludes
38224 install-gcc: maybe-install-fixincludes
38225 configure-libcpp: configure-libiberty
38227 configure-stage1-libcpp: configure-stage1-libiberty
38228 configure-stage2-libcpp: configure-stage2-libiberty
38229 configure-stage3-libcpp: configure-stage3-libiberty
38230 configure-stage4-libcpp: configure-stage4-libiberty
38231 configure-stageprofile-libcpp: configure-stageprofile-libiberty
38232 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
38233 configure-libcpp: maybe-configure-intl
38235 configure-stage1-libcpp: maybe-configure-stage1-intl
38236 configure-stage2-libcpp: maybe-configure-stage2-intl
38237 configure-stage3-libcpp: maybe-configure-stage3-intl
38238 configure-stage4-libcpp: maybe-configure-stage4-intl
38239 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
38240 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
38241 all-libcpp: all-libiberty
38243 all-stage1-libcpp: all-stage1-libiberty
38244 all-stage2-libcpp: all-stage2-libiberty
38245 all-stage3-libcpp: all-stage3-libiberty
38246 all-stage4-libcpp: all-stage4-libiberty
38247 all-stageprofile-libcpp: all-stageprofile-libiberty
38248 all-stagefeedback-libcpp: all-stagefeedback-libiberty
38249 all-libcpp: maybe-all-intl
38251 all-stage1-libcpp: maybe-all-stage1-intl
38252 all-stage2-libcpp: maybe-all-stage2-intl
38253 all-stage3-libcpp: maybe-all-stage3-intl
38254 all-stage4-libcpp: maybe-all-stage4-intl
38255 all-stageprofile-libcpp: maybe-all-stageprofile-intl
38256 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
38257 all-fixincludes: maybe-all-libiberty
38258 all-gnattools: maybe-all-target-libada
38259 configure-gdb: maybe-configure-sim
38260 all-gdb: maybe-all-libiberty
38261 all-gdb: maybe-all-opcodes
38262 all-gdb: maybe-all-bfd
38263 all-gdb: maybe-all-readline
38264 all-gdb: maybe-all-build-bison
38265 all-gdb: maybe-all-build-byacc
38266 all-gdb: maybe-all-sim
38267 configure-libgui: maybe-configure-tcl
38268 configure-libgui: maybe-configure-tk
38269 all-libgui: maybe-all-tcl
38270 all-libgui: maybe-all-tk
38271 all-libgui: maybe-all-itcl
38272 configure-bfd: configure-libiberty
38274 configure-stage1-bfd: configure-stage1-libiberty
38275 configure-stage2-bfd: configure-stage2-libiberty
38276 configure-stage3-bfd: configure-stage3-libiberty
38277 configure-stage4-bfd: configure-stage4-libiberty
38278 configure-stageprofile-bfd: configure-stageprofile-libiberty
38279 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
38280 all-bfd: maybe-all-libiberty
38282 all-stage1-bfd: maybe-all-stage1-libiberty
38283 all-stage2-bfd: maybe-all-stage2-libiberty
38284 all-stage3-bfd: maybe-all-stage3-libiberty
38285 all-stage4-bfd: maybe-all-stage4-libiberty
38286 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
38287 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
38288 all-bfd: maybe-all-intl
38290 all-stage1-bfd: maybe-all-stage1-intl
38291 all-stage2-bfd: maybe-all-stage2-intl
38292 all-stage3-bfd: maybe-all-stage3-intl
38293 all-stage4-bfd: maybe-all-stage4-intl
38294 all-stageprofile-bfd: maybe-all-stageprofile-intl
38295 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
38296 all-binutils: maybe-all-libiberty
38298 all-stage1-binutils: maybe-all-stage1-libiberty
38299 all-stage2-binutils: maybe-all-stage2-libiberty
38300 all-stage3-binutils: maybe-all-stage3-libiberty
38301 all-stage4-binutils: maybe-all-stage4-libiberty
38302 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
38303 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
38304 all-binutils: maybe-all-opcodes
38306 all-stage1-binutils: maybe-all-stage1-opcodes
38307 all-stage2-binutils: maybe-all-stage2-opcodes
38308 all-stage3-binutils: maybe-all-stage3-opcodes
38309 all-stage4-binutils: maybe-all-stage4-opcodes
38310 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
38311 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
38312 all-binutils: maybe-all-bfd
38314 all-stage1-binutils: maybe-all-stage1-bfd
38315 all-stage2-binutils: maybe-all-stage2-bfd
38316 all-stage3-binutils: maybe-all-stage3-bfd
38317 all-stage4-binutils: maybe-all-stage4-bfd
38318 all-stageprofile-binutils: maybe-all-stageprofile-bfd
38319 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
38320 all-binutils: maybe-all-build-flex
38322 all-stage1-binutils: maybe-all-build-flex
38323 all-stage2-binutils: maybe-all-build-flex
38324 all-stage3-binutils: maybe-all-build-flex
38325 all-stage4-binutils: maybe-all-build-flex
38326 all-stageprofile-binutils: maybe-all-build-flex
38327 all-stagefeedback-binutils: maybe-all-build-flex
38328 all-prebootstrap: maybe-all-build-flex
38329 all-binutils: maybe-all-build-bison
38331 all-stage1-binutils: maybe-all-build-bison
38332 all-stage2-binutils: maybe-all-build-bison
38333 all-stage3-binutils: maybe-all-build-bison
38334 all-stage4-binutils: maybe-all-build-bison
38335 all-stageprofile-binutils: maybe-all-build-bison
38336 all-stagefeedback-binutils: maybe-all-build-bison
38337 all-prebootstrap: maybe-all-build-bison
38338 all-binutils: maybe-all-build-byacc
38340 all-stage1-binutils: maybe-all-build-byacc
38341 all-stage2-binutils: maybe-all-build-byacc
38342 all-stage3-binutils: maybe-all-build-byacc
38343 all-stage4-binutils: maybe-all-build-byacc
38344 all-stageprofile-binutils: maybe-all-build-byacc
38345 all-stagefeedback-binutils: maybe-all-build-byacc
38346 all-prebootstrap: maybe-all-build-byacc
38347 all-binutils: maybe-all-intl
38349 all-stage1-binutils: maybe-all-stage1-intl
38350 all-stage2-binutils: maybe-all-stage2-intl
38351 all-stage3-binutils: maybe-all-stage3-intl
38352 all-stage4-binutils: maybe-all-stage4-intl
38353 all-stageprofile-binutils: maybe-all-stageprofile-intl
38354 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
38355 install-binutils: maybe-install-opcodes
38356 install-opcodes: maybe-install-bfd
38357 all-gas: maybe-all-libiberty
38359 all-stage1-gas: maybe-all-stage1-libiberty
38360 all-stage2-gas: maybe-all-stage2-libiberty
38361 all-stage3-gas: maybe-all-stage3-libiberty
38362 all-stage4-gas: maybe-all-stage4-libiberty
38363 all-stageprofile-gas: maybe-all-stageprofile-libiberty
38364 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
38365 all-gas: maybe-all-opcodes
38367 all-stage1-gas: maybe-all-stage1-opcodes
38368 all-stage2-gas: maybe-all-stage2-opcodes
38369 all-stage3-gas: maybe-all-stage3-opcodes
38370 all-stage4-gas: maybe-all-stage4-opcodes
38371 all-stageprofile-gas: maybe-all-stageprofile-opcodes
38372 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
38373 all-gas: maybe-all-bfd
38375 all-stage1-gas: maybe-all-stage1-bfd
38376 all-stage2-gas: maybe-all-stage2-bfd
38377 all-stage3-gas: maybe-all-stage3-bfd
38378 all-stage4-gas: maybe-all-stage4-bfd
38379 all-stageprofile-gas: maybe-all-stageprofile-bfd
38380 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
38381 all-gas: maybe-all-intl
38383 all-stage1-gas: maybe-all-stage1-intl
38384 all-stage2-gas: maybe-all-stage2-intl
38385 all-stage3-gas: maybe-all-stage3-intl
38386 all-stage4-gas: maybe-all-stage4-intl
38387 all-stageprofile-gas: maybe-all-stageprofile-intl
38388 all-stagefeedback-gas: maybe-all-stagefeedback-intl
38389 all-gprof: maybe-all-libiberty
38390 all-gprof: maybe-all-bfd
38391 all-gprof: maybe-all-opcodes
38392 all-gprof: maybe-all-intl
38393 all-ld: maybe-all-libiberty
38395 all-stage1-ld: maybe-all-stage1-libiberty
38396 all-stage2-ld: maybe-all-stage2-libiberty
38397 all-stage3-ld: maybe-all-stage3-libiberty
38398 all-stage4-ld: maybe-all-stage4-libiberty
38399 all-stageprofile-ld: maybe-all-stageprofile-libiberty
38400 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
38401 all-ld: maybe-all-bfd
38403 all-stage1-ld: maybe-all-stage1-bfd
38404 all-stage2-ld: maybe-all-stage2-bfd
38405 all-stage3-ld: maybe-all-stage3-bfd
38406 all-stage4-ld: maybe-all-stage4-bfd
38407 all-stageprofile-ld: maybe-all-stageprofile-bfd
38408 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
38409 all-ld: maybe-all-opcodes
38411 all-stage1-ld: maybe-all-stage1-opcodes
38412 all-stage2-ld: maybe-all-stage2-opcodes
38413 all-stage3-ld: maybe-all-stage3-opcodes
38414 all-stage4-ld: maybe-all-stage4-opcodes
38415 all-stageprofile-ld: maybe-all-stageprofile-opcodes
38416 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
38417 all-ld: maybe-all-build-bison
38419 all-stage1-ld: maybe-all-build-bison
38420 all-stage2-ld: maybe-all-build-bison
38421 all-stage3-ld: maybe-all-build-bison
38422 all-stage4-ld: maybe-all-build-bison
38423 all-stageprofile-ld: maybe-all-build-bison
38424 all-stagefeedback-ld: maybe-all-build-bison
38425 all-prebootstrap: maybe-all-build-bison
38426 all-ld: maybe-all-build-byacc
38428 all-stage1-ld: maybe-all-build-byacc
38429 all-stage2-ld: maybe-all-build-byacc
38430 all-stage3-ld: maybe-all-build-byacc
38431 all-stage4-ld: maybe-all-build-byacc
38432 all-stageprofile-ld: maybe-all-build-byacc
38433 all-stagefeedback-ld: maybe-all-build-byacc
38434 all-prebootstrap: maybe-all-build-byacc
38435 all-ld: maybe-all-build-flex
38437 all-stage1-ld: maybe-all-build-flex
38438 all-stage2-ld: maybe-all-build-flex
38439 all-stage3-ld: maybe-all-build-flex
38440 all-stage4-ld: maybe-all-build-flex
38441 all-stageprofile-ld: maybe-all-build-flex
38442 all-stagefeedback-ld: maybe-all-build-flex
38443 all-prebootstrap: maybe-all-build-flex
38444 all-ld: maybe-all-intl
38446 all-stage1-ld: maybe-all-stage1-intl
38447 all-stage2-ld: maybe-all-stage2-intl
38448 all-stage3-ld: maybe-all-stage3-intl
38449 all-stage4-ld: maybe-all-stage4-intl
38450 all-stageprofile-ld: maybe-all-stageprofile-intl
38451 all-stagefeedback-ld: maybe-all-stagefeedback-intl
38452 all-opcodes: maybe-all-bfd
38454 all-stage1-opcodes: maybe-all-stage1-bfd
38455 all-stage2-opcodes: maybe-all-stage2-bfd
38456 all-stage3-opcodes: maybe-all-stage3-bfd
38457 all-stage4-opcodes: maybe-all-stage4-bfd
38458 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
38459 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
38460 all-opcodes: maybe-all-libiberty
38462 all-stage1-opcodes: maybe-all-stage1-libiberty
38463 all-stage2-opcodes: maybe-all-stage2-libiberty
38464 all-stage3-opcodes: maybe-all-stage3-libiberty
38465 all-stage4-opcodes: maybe-all-stage4-libiberty
38466 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
38467 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
38468 all-dejagnu: maybe-all-tcl
38469 all-dejagnu: maybe-all-expect
38470 all-dejagnu: maybe-all-tk
38471 configure-expect: maybe-configure-tcl
38472 configure-expect: maybe-configure-tk
38473 all-expect: maybe-all-tcl
38474 all-expect: maybe-all-tk
38475 configure-itcl: maybe-configure-tcl
38476 configure-itcl: maybe-configure-tk
38477 all-itcl: maybe-all-tcl
38478 all-itcl: maybe-all-tk
38479 install-itcl: maybe-install-tcl
38480 configure-tk: maybe-configure-tcl
38481 all-tk: maybe-all-tcl
38482 all-sid: maybe-all-libiberty
38483 all-sid: maybe-all-bfd
38484 all-sid: maybe-all-opcodes
38485 all-sid: maybe-all-tcl
38486 all-sid: maybe-all-tk
38487 install-sid: maybe-install-tcl
38488 install-sid: maybe-install-tk
38489 all-sim: maybe-all-libiberty
38490 all-sim: maybe-all-bfd
38491 all-sim: maybe-all-opcodes
38492 all-sim: maybe-all-readline
38493 all-sim: maybe-configure-gdb
38494 all-fastjar: maybe-all-zlib
38495 all-fastjar: maybe-all-build-texinfo
38496 all-fastjar: maybe-all-libiberty
38497 all-autoconf: maybe-all-m4
38498 all-autoconf: maybe-all-build-texinfo
38499 all-automake: maybe-all-m4
38500 all-automake: maybe-all-build-texinfo
38501 all-automake: maybe-all-autoconf
38502 all-bison: maybe-all-intl
38503 all-bison: maybe-all-build-texinfo
38504 all-diff: maybe-all-intl
38505 all-diff: maybe-all-build-texinfo
38506 all-fileutils: maybe-all-intl
38507 all-fileutils: maybe-all-build-texinfo
38508 all-flex: maybe-all-build-bison
38509 all-flex: maybe-all-build-byacc
38510 all-flex: maybe-all-intl
38511 all-flex: maybe-all-m4
38512 all-flex: maybe-all-build-texinfo
38513 all-gzip: maybe-all-intl
38514 all-gzip: maybe-all-zlib
38515 all-gzip: maybe-all-build-texinfo
38516 all-hello: maybe-all-intl
38517 all-hello: maybe-all-build-texinfo
38518 all-m4: maybe-all-intl
38519 all-m4: maybe-all-build-texinfo
38520 all-make: maybe-all-intl
38521 all-make: maybe-all-build-texinfo
38522 all-patch: maybe-all-build-texinfo
38523 all-make: maybe-all-build-texinfo
38524 all-prms: maybe-all-libiberty
38525 all-recode: maybe-all-build-texinfo
38526 all-sed: maybe-all-build-texinfo
38527 all-send-pr: maybe-all-prms
38528 all-tar: maybe-all-build-texinfo
38529 all-uudecode: maybe-all-build-texinfo
38530 configure-target-boehm-gc: maybe-configure-target-qthreads
38531 configure-target-fastjar: maybe-configure-target-zlib
38532 all-target-fastjar: maybe-all-target-zlib
38533 all-target-fastjar: maybe-all-target-libiberty
38534 configure-target-libjava: maybe-configure-target-zlib
38535 configure-target-libjava: maybe-configure-target-boehm-gc
38536 configure-target-libjava: maybe-configure-target-qthreads
38537 configure-target-libjava: maybe-configure-target-libffi
38538 all-target-libjava: maybe-all-fastjar
38539 all-target-libjava: maybe-all-target-zlib
38540 all-target-libjava: maybe-all-target-boehm-gc
38541 all-target-libjava: maybe-all-target-qthreads
38542 all-target-libjava: maybe-all-target-libffi
38543 all-target-libobjc: maybe-all-target-libiberty
38544 all-target-libstdc++-v3: maybe-all-target-libiberty
38545 all-target-libgloss: maybe-configure-target-newlib
38546 all-target-winsup: maybe-all-target-libiberty
38547 all-target-winsup: maybe-all-target-libtermcap
38550 # Non-toplevel bootstrap rules must depend on several packages, to be built
38551 # before gcc. Another wart that will go away, hopefully soon.
38552 @if gcc-no-bootstrap
38554 all-prebootstrap: maybe-all-bfd
38555 all-prebootstrap: maybe-all-opcodes
38556 all-prebootstrap: maybe-all-binutils
38557 all-prebootstrap: maybe-all-gas
38558 all-prebootstrap: maybe-all-intl
38559 all-prebootstrap: maybe-all-ld
38560 all-prebootstrap: maybe-all-libcpp
38561 all-prebootstrap: maybe-all-libdecnumber
38562 all-prebootstrap: maybe-all-libiberty
38563 all-prebootstrap: maybe-all-zlib
38564 @endif gcc-no-bootstrap
38566 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
38567 GDB_TK = @GDB_TK@
38568 INSTALL_GDB_TK = @INSTALL_GDB_TK@
38569 configure-gdb: $(CONFIGURE_GDB_TK)
38570 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
38571 install-gdb: $(INSTALL_GDB_TK)
38573 # Serialization dependencies. Host configures don't work well in parallel to
38574 # each other, due to contention over config.cache. Target configures and
38575 # build configures are similar.
38576 @serialization_dependencies@
38578 # --------------------------------
38579 # Regenerating top level configury
38580 # --------------------------------
38582 # Rebuilding Makefile.in, using autogen.
38583 AUTOGEN = autogen
38584 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
38585 cd $(srcdir) && $(AUTOGEN) Makefile.def
38587 # Rebuilding Makefile.
38588 Makefile: $(srcdir)/Makefile.in config.status
38589 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38591 config.status: configure
38592 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
38594 # Rebuilding configure.
38595 AUTOCONF = autoconf
38596 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
38597 cd $(srcdir) && $(AUTOCONF)
38599 # ------------------------------
38600 # Special directives to GNU Make
38601 # ------------------------------
38603 # Don't pass command-line variables to submakes.
38604 .NOEXPORT:
38605 MAKEOVERRIDES=
38607 # end of Makefile.in