* bucomm.c (display_target_list): Make local variable `a' to be of
[binutils.git] / Makefile.in
blob37d5510053bfc8e596967fc8568ed52a43e3d2a6
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system. We need to pass
137 # some to the GCC configure because of its hybrid host/target nature.
138 HOST_EXPORTS = \
139 $(BASE_EXPORTS) \
140 CC="$(CC)"; export CC; \
141 CFLAGS="$(CFLAGS)"; export CFLAGS; \
142 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
143 CXX="$(CXX)"; export CXX; \
144 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
145 AR="$(AR)"; export AR; \
146 AS="$(AS)"; export AS; \
147 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
148 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
149 LD="$(LD)"; export LD; \
150 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
151 NM="$(NM)"; export NM; \
152 RANLIB="$(RANLIB)"; export RANLIB; \
153 WINDRES="$(WINDRES)"; export WINDRES; \
154 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
155 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
156 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
157 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
158 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
159 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
160 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
161 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
162 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
163 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
164 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
165 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
166 @if gcc-bootstrap
167 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
168 @endif gcc-bootstrap
169 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
171 # Similar, for later GCC stages.
172 POSTSTAGE1_HOST_EXPORTS = \
173 $(HOST_EXPORTS) \
174 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
175 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
176 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
177 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
178 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
179 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
206 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
207 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
208 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
209 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
213 RAW_CXX_TARGET_EXPORTS = \
214 $(BASE_TARGET_EXPORTS) \
215 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
216 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
218 NORMAL_TARGET_EXPORTS = \
219 $(BASE_TARGET_EXPORTS) \
220 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 # Where to find GMP
223 HOST_GMPLIBS = @gmplibs@
224 HOST_GMPINC = @gmpinc@
226 # ----------------------------------------------
227 # Programs producing files for the BUILD machine
228 # ----------------------------------------------
230 SHELL = @config_shell@
232 # pwd command to use. Allow user to override default by setting PWDCMD in
233 # the environment to account for automounters. The make variable must not
234 # be called PWDCMD, otherwise the value set here is passed to make
235 # subprocesses and overrides the setting from the user's environment.
236 # Don't use PWD since it is a common shell environment variable and we
237 # don't want to corrupt it.
238 PWD_COMMAND = $${PWDCMD-pwd}
240 # compilers to use to create programs which must be run in the build
241 # environment.
242 CC_FOR_BUILD = @CC_FOR_BUILD@
243 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
245 CXX_FOR_BUILD = $(CXX)
247 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
248 # here so that they can be overridden by Makefile fragments.
249 BUILD_PREFIX = @BUILD_PREFIX@
250 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
252 # Flags to pass to stage2 and later makes. They are defined
253 # here so that they can be overridden by Makefile fragments.
254 BOOT_CFLAGS= -g -O2
255 BOOT_LDFLAGS=
257 BISON = @BISON@
258 YACC = @YACC@
259 FLEX = @FLEX@
260 LEX = @LEX@
261 M4 = @M4@
262 MAKEINFO = @MAKEINFO@
263 EXPECT = @EXPECT@
264 RUNTEST = @RUNTEST@
266 # This just becomes part of the MAKEINFO definition passed down to
267 # sub-makes. It lets flags be given on the command line while still
268 # using the makeinfo from the object tree.
269 # (Default to avoid splitting info files by setting the threshold high.)
270 MAKEINFOFLAGS = --split-size=5000000
272 # ---------------------------------------------
273 # Programs producing files for the HOST machine
274 # ---------------------------------------------
276 AS = @AS@
277 AR = @AR@
278 AR_FLAGS = rc
279 CC = @CC@
280 CXX = @CXX@
281 DLLTOOL = @DLLTOOL@
282 LD = @LD@
283 LIPO = @LIPO@
284 NM = @NM@
285 OBJDUMP = @OBJDUMP@
286 RANLIB = @RANLIB@
287 STRIP = @STRIP@
288 WINDRES = @WINDRES@
290 CFLAGS = @CFLAGS@
291 LDFLAGS =
292 LIBCFLAGS = $(CFLAGS)
293 CXXFLAGS = @CXXFLAGS@
294 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
295 PICFLAG =
297 # -----------------------------------------------
298 # Programs producing files for the TARGET machine
299 # -----------------------------------------------
301 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
303 AR_FOR_TARGET=@AR_FOR_TARGET@
304 AS_FOR_TARGET=@AS_FOR_TARGET@
305 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
307 # If GCC_FOR_TARGET is not overriden on the command line, then this
308 # variable is passed down to the gcc Makefile, where it is used to
309 # build libgcc2.a. We define it here so that it can itself be
310 # overridden on the command line.
311 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
312 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
313 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
314 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
315 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
316 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
317 LD_FOR_TARGET=@LD_FOR_TARGET@
319 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
320 NM_FOR_TARGET=@NM_FOR_TARGET@
321 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
322 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
323 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
324 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
326 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
327 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
328 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
330 # During gcc bootstrap, if we use some random cc for stage1 then
331 # CFLAGS will be just -g. We want to ensure that TARGET libraries
332 # (which we know are built with gcc) are built with optimizations so
333 # prepend -O2 when setting CFLAGS_FOR_TARGET.
334 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
335 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
336 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
337 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
338 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
339 LDFLAGS_FOR_TARGET =
340 PICFLAG_FOR_TARGET =
342 # ------------------------------------
343 # Miscellaneous targets and flag lists
344 # ------------------------------------
346 # The first rule in the file had better be this one. Don't put any above it.
347 # This lives here to allow makefile fragments to contain dependencies.
348 all:
350 #### host and target specific makefile fragments come in here.
351 @target_makefile_frag@
352 @alphaieee_frag@
353 @ospace_frag@
354 @host_makefile_frag@
357 # This is the list of directories that may be needed in RPATH_ENVVAR
358 # so that prorgams built for the target machine work.
359 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgcc-math)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
361 @if target-libstdc++-v3
362 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
363 @endif target-libstdc++-v3
365 @if target-libmudflap
366 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
367 @endif target-libmudflap
369 @if target-libssp
370 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
371 @endif target-libssp
373 @if target-libgcc-math
374 TARGET_LIB_PATH_libgcc-math = $$r/$(TARGET_SUBDIR)/libgcc-math/.libs:
375 @endif target-libgcc-math
377 @if target-libgomp
378 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
379 @endif target-libgomp
383 # This is the list of directories that may be needed in RPATH_ENVVAR
384 # so that programs built for the host machine work.
385 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
387 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
388 @if gcc
389 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
390 @endif gcc
393 @if bfd
394 HOST_LIB_PATH_bfd = \
395 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
396 @endif bfd
398 @if opcodes
399 HOST_LIB_PATH_opcodes = \
400 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
401 @endif opcodes
404 # Flags to pass down to all sub-makes.
405 BASE_FLAGS_TO_PASS = \
406 "DESTDIR=$(DESTDIR)" \
407 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
408 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
409 "bindir=$(bindir)" \
410 "datadir=$(datadir)" \
411 "exec_prefix=$(exec_prefix)" \
412 "includedir=$(includedir)" \
413 "infodir=$(infodir)" \
414 "libdir=$(libdir)" \
415 "libexecdir=$(libexecdir)" \
416 "lispdir=$(lispdir)" \
417 "localstatedir=$(localstatedir)" \
418 "mandir=$(mandir)" \
419 "oldincludedir=$(oldincludedir)" \
420 "prefix=$(prefix)" \
421 "sbindir=$(sbindir)" \
422 "sharedstatedir=$(sharedstatedir)" \
423 "sysconfdir=$(sysconfdir)" \
424 "tooldir=$(tooldir)" \
425 "build_tooldir=$(build_tooldir)" \
426 "target_alias=$(target_alias)" \
427 "BISON=$(BISON)" \
428 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
429 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
430 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
431 "EXPECT=$(EXPECT)" \
432 "FLEX=$(FLEX)" \
433 "INSTALL=$(INSTALL)" \
434 "INSTALL_DATA=$(INSTALL_DATA)" \
435 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
436 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
437 "LEX=$(LEX)" \
438 "M4=$(M4)" \
439 "MAKE=$(MAKE)" \
440 "RUNTEST=$(RUNTEST)" \
441 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
442 "SHELL=$(SHELL)" \
443 "YACC=$(YACC)" \
444 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
445 "AR_FLAGS=$(AR_FLAGS)" \
446 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
447 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
448 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
449 "CFLAGS=$(CFLAGS)" \
450 "CXXFLAGS=$(CXXFLAGS)" \
451 "LDFLAGS=$(LDFLAGS)" \
452 "LIBCFLAGS=$(LIBCFLAGS)" \
453 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
454 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
455 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
456 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
457 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
458 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
459 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
460 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
461 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
462 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
463 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
464 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
465 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
466 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
467 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
468 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
469 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
470 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
471 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
472 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
473 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
474 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
475 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
476 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
477 "LEAN=$(LEAN)" \
478 "CONFIG_SHELL=$(SHELL)" \
479 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
481 # We leave this in just in case, but it is not needed anymore.
482 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
484 # Flags to pass down to most sub-makes, in which we're building with
485 # the host environment.
486 EXTRA_HOST_FLAGS = \
487 'AR=$(AR)' \
488 'AS=$(AS)' \
489 'CC=$(CC)' \
490 'CXX=$(CXX)' \
491 'DLLTOOL=$(DLLTOOL)' \
492 'LD=$(LD)' \
493 'LIPO=$(LIPO)' \
494 'NM=$(NM)' \
495 'OBJDUMP=$(OBJDUMP)' \
496 'RANLIB=$(RANLIB)' \
497 'STRIP=$(STRIP)' \
498 'WINDRES=$(WINDRES)'
500 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
502 # Flags that are concerned with the location of the X11 include files
503 # and library files
505 # NOTE: until the top-level is getting the values via autoconf, it only
506 # causes problems to have this top-level Makefile overriding the autoconf-set
507 # values in child directories. Only variables that don't conflict with
508 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
510 X11_FLAGS_TO_PASS = \
511 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
512 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
514 # Flags to pass down to makes which are built with the target environment.
515 # The double $ decreases the length of the command line; those variables
516 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
517 # COMPILER_ prefixed variables are not passed down so we expand them here.
518 EXTRA_TARGET_FLAGS = \
519 'AR=$$(AR_FOR_TARGET)' \
520 'AS=$(COMPILER_AS_FOR_TARGET)' \
521 'CC=$$(CC_FOR_TARGET)' \
522 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
523 'CXX=$$(CXX_FOR_TARGET)' \
524 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
525 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
526 'LD=$(COMPILER_LD_FOR_TARGET)' \
527 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
528 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
529 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
530 'NM=$(COMPILER_NM_FOR_TARGET)' \
531 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
532 'RANLIB=$$(RANLIB_FOR_TARGET)' \
533 'WINDRES=$$(WINDRES_FOR_TARGET)'
535 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
537 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
538 # unfortunately needs the native compiler and the target ar and
539 # ranlib.
540 # If any variables are added here, they must be added to do-*, below.
541 # The BUILD_* variables are a special case, which are used for the gcc
542 # cross-building scheme.
543 EXTRA_GCC_FLAGS = \
544 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
545 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
546 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
547 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
548 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
549 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
551 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
553 .PHONY: configure-host
554 configure-host: \
555 maybe-configure-ash \
556 maybe-configure-autoconf \
557 maybe-configure-automake \
558 maybe-configure-bash \
559 maybe-configure-bfd \
560 maybe-configure-opcodes \
561 maybe-configure-binutils \
562 maybe-configure-bison \
563 maybe-configure-byacc \
564 maybe-configure-bzip2 \
565 maybe-configure-dejagnu \
566 maybe-configure-diff \
567 maybe-configure-dosutils \
568 maybe-configure-etc \
569 maybe-configure-fastjar \
570 maybe-configure-fileutils \
571 maybe-configure-findutils \
572 maybe-configure-find \
573 maybe-configure-fixincludes \
574 maybe-configure-flex \
575 maybe-configure-gas \
576 maybe-configure-gcc \
577 maybe-configure-gawk \
578 maybe-configure-gettext \
579 maybe-configure-gnuserv \
580 maybe-configure-gprof \
581 maybe-configure-gzip \
582 maybe-configure-hello \
583 maybe-configure-indent \
584 maybe-configure-intl \
585 maybe-configure-tcl \
586 maybe-configure-itcl \
587 maybe-configure-ld \
588 maybe-configure-libcpp \
589 maybe-configure-libdecnumber \
590 maybe-configure-libgui \
591 maybe-configure-libiberty \
592 maybe-configure-libtool \
593 maybe-configure-m4 \
594 maybe-configure-make \
595 maybe-configure-mmalloc \
596 maybe-configure-patch \
597 maybe-configure-perl \
598 maybe-configure-prms \
599 maybe-configure-rcs \
600 maybe-configure-readline \
601 maybe-configure-release \
602 maybe-configure-recode \
603 maybe-configure-sed \
604 maybe-configure-send-pr \
605 maybe-configure-shellutils \
606 maybe-configure-sid \
607 maybe-configure-sim \
608 maybe-configure-tar \
609 maybe-configure-texinfo \
610 maybe-configure-textutils \
611 maybe-configure-time \
612 maybe-configure-uudecode \
613 maybe-configure-wdiff \
614 maybe-configure-zip \
615 maybe-configure-zlib \
616 maybe-configure-gdb \
617 maybe-configure-expect \
618 maybe-configure-guile \
619 maybe-configure-tk \
620 maybe-configure-libtermcap \
621 maybe-configure-utils \
622 maybe-configure-gnattools
623 .PHONY: configure-target
624 configure-target: \
625 maybe-configure-target-libstdc++-v3 \
626 maybe-configure-target-libmudflap \
627 maybe-configure-target-libssp \
628 maybe-configure-target-libgcc-math \
629 maybe-configure-target-newlib \
630 maybe-configure-target-libgfortran \
631 maybe-configure-target-libobjc \
632 maybe-configure-target-libtermcap \
633 maybe-configure-target-winsup \
634 maybe-configure-target-libgloss \
635 maybe-configure-target-libiberty \
636 maybe-configure-target-gperf \
637 maybe-configure-target-examples \
638 maybe-configure-target-libffi \
639 maybe-configure-target-libjava \
640 maybe-configure-target-zlib \
641 maybe-configure-target-boehm-gc \
642 maybe-configure-target-qthreads \
643 maybe-configure-target-rda \
644 maybe-configure-target-libada \
645 maybe-configure-target-libgomp
647 # The target built for a native non-bootstrap build.
648 .PHONY: all
649 all:
650 @if gcc-bootstrap
651 [ -f stage_final ] || echo stage3 > stage_final
652 @r=`${PWD_COMMAND}`; export r; \
653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
654 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
655 @endif gcc-bootstrap
656 @: $(MAKE); $(unstage)
657 @r=`${PWD_COMMAND}`; export r; \
658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
659 if [ -f stage_last ]; then \
660 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
661 else \
662 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
665 .PHONY: all-build
667 all-build: maybe-all-build-libiberty
668 all-build: maybe-all-build-bison
669 all-build: maybe-all-build-byacc
670 all-build: maybe-all-build-flex
671 all-build: maybe-all-build-m4
672 all-build: maybe-all-build-texinfo
673 all-build: maybe-all-build-fixincludes
675 .PHONY: all-host
677 all-host: maybe-all-ash
678 all-host: maybe-all-autoconf
679 all-host: maybe-all-automake
680 all-host: maybe-all-bash
681 @if bfd-no-bootstrap
682 all-host: maybe-all-bfd
683 @endif bfd-no-bootstrap
684 @if opcodes-no-bootstrap
685 all-host: maybe-all-opcodes
686 @endif opcodes-no-bootstrap
687 @if binutils-no-bootstrap
688 all-host: maybe-all-binutils
689 @endif binutils-no-bootstrap
690 all-host: maybe-all-bison
691 all-host: maybe-all-byacc
692 all-host: maybe-all-bzip2
693 all-host: maybe-all-dejagnu
694 all-host: maybe-all-diff
695 all-host: maybe-all-dosutils
696 all-host: maybe-all-etc
697 all-host: maybe-all-fastjar
698 all-host: maybe-all-fileutils
699 all-host: maybe-all-findutils
700 all-host: maybe-all-find
701 all-host: maybe-all-fixincludes
702 all-host: maybe-all-flex
703 @if gas-no-bootstrap
704 all-host: maybe-all-gas
705 @endif gas-no-bootstrap
706 @if gcc-no-bootstrap
707 all-host: maybe-all-gcc
708 @endif gcc-no-bootstrap
709 all-host: maybe-all-gawk
710 all-host: maybe-all-gettext
711 all-host: maybe-all-gnuserv
712 all-host: maybe-all-gprof
713 all-host: maybe-all-gzip
714 all-host: maybe-all-hello
715 all-host: maybe-all-indent
716 @if intl-no-bootstrap
717 all-host: maybe-all-intl
718 @endif intl-no-bootstrap
719 all-host: maybe-all-tcl
720 all-host: maybe-all-itcl
721 @if ld-no-bootstrap
722 all-host: maybe-all-ld
723 @endif ld-no-bootstrap
724 @if libcpp-no-bootstrap
725 all-host: maybe-all-libcpp
726 @endif libcpp-no-bootstrap
727 @if libdecnumber-no-bootstrap
728 all-host: maybe-all-libdecnumber
729 @endif libdecnumber-no-bootstrap
730 all-host: maybe-all-libgui
731 @if libiberty-no-bootstrap
732 all-host: maybe-all-libiberty
733 @endif libiberty-no-bootstrap
734 all-host: maybe-all-libtool
735 all-host: maybe-all-m4
736 all-host: maybe-all-make
737 all-host: maybe-all-mmalloc
738 all-host: maybe-all-patch
739 all-host: maybe-all-perl
740 all-host: maybe-all-prms
741 all-host: maybe-all-rcs
742 all-host: maybe-all-readline
743 all-host: maybe-all-release
744 all-host: maybe-all-recode
745 all-host: maybe-all-sed
746 all-host: maybe-all-send-pr
747 all-host: maybe-all-shellutils
748 all-host: maybe-all-sid
749 all-host: maybe-all-sim
750 all-host: maybe-all-tar
751 all-host: maybe-all-texinfo
752 all-host: maybe-all-textutils
753 all-host: maybe-all-time
754 all-host: maybe-all-uudecode
755 all-host: maybe-all-wdiff
756 all-host: maybe-all-zip
757 @if zlib-no-bootstrap
758 all-host: maybe-all-zlib
759 @endif zlib-no-bootstrap
760 all-host: maybe-all-gdb
761 all-host: maybe-all-expect
762 all-host: maybe-all-guile
763 all-host: maybe-all-tk
764 all-host: maybe-all-libtermcap
765 all-host: maybe-all-utils
766 all-host: maybe-all-gnattools
768 .PHONY: all-target
770 all-target: maybe-all-target-libstdc++-v3
771 all-target: maybe-all-target-libmudflap
772 all-target: maybe-all-target-libssp
773 all-target: maybe-all-target-libgcc-math
774 all-target: maybe-all-target-newlib
775 all-target: maybe-all-target-libgfortran
776 all-target: maybe-all-target-libobjc
777 all-target: maybe-all-target-libtermcap
778 all-target: maybe-all-target-winsup
779 all-target: maybe-all-target-libgloss
780 all-target: maybe-all-target-libiberty
781 all-target: maybe-all-target-gperf
782 all-target: maybe-all-target-examples
783 all-target: maybe-all-target-libffi
784 all-target: maybe-all-target-libjava
785 all-target: maybe-all-target-zlib
786 all-target: maybe-all-target-boehm-gc
787 all-target: maybe-all-target-qthreads
788 all-target: maybe-all-target-rda
789 all-target: maybe-all-target-libada
790 all-target: maybe-all-target-libgomp
792 # Do a target for all the subdirectories. A ``make do-X'' will do a
793 # ``make X'' in all subdirectories (because, in general, there is a
794 # dependency (below) of X upon do-X, a ``make X'' will also do this,
795 # but it may do additional work as well).
797 .PHONY: do-info
798 do-info:
799 @: $(MAKE); $(unstage)
800 @r=`${PWD_COMMAND}`; export r; \
801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
803 info-target
806 .PHONY: info-host
808 info-host: maybe-info-ash
809 info-host: maybe-info-autoconf
810 info-host: maybe-info-automake
811 info-host: maybe-info-bash
812 info-host: maybe-info-bfd
813 info-host: maybe-info-opcodes
814 info-host: maybe-info-binutils
815 info-host: maybe-info-bison
816 info-host: maybe-info-byacc
817 info-host: maybe-info-bzip2
818 info-host: maybe-info-dejagnu
819 info-host: maybe-info-diff
820 info-host: maybe-info-dosutils
821 info-host: maybe-info-etc
822 info-host: maybe-info-fastjar
823 info-host: maybe-info-fileutils
824 info-host: maybe-info-findutils
825 info-host: maybe-info-find
826 info-host: maybe-info-fixincludes
827 info-host: maybe-info-flex
828 info-host: maybe-info-gas
829 info-host: maybe-info-gcc
830 info-host: maybe-info-gawk
831 info-host: maybe-info-gettext
832 info-host: maybe-info-gnuserv
833 info-host: maybe-info-gprof
834 info-host: maybe-info-gzip
835 info-host: maybe-info-hello
836 info-host: maybe-info-indent
837 info-host: maybe-info-intl
838 info-host: maybe-info-tcl
839 info-host: maybe-info-itcl
840 info-host: maybe-info-ld
841 info-host: maybe-info-libcpp
842 info-host: maybe-info-libdecnumber
843 info-host: maybe-info-libgui
844 info-host: maybe-info-libiberty
845 info-host: maybe-info-libtool
846 info-host: maybe-info-m4
847 info-host: maybe-info-make
848 info-host: maybe-info-mmalloc
849 info-host: maybe-info-patch
850 info-host: maybe-info-perl
851 info-host: maybe-info-prms
852 info-host: maybe-info-rcs
853 info-host: maybe-info-readline
854 info-host: maybe-info-release
855 info-host: maybe-info-recode
856 info-host: maybe-info-sed
857 info-host: maybe-info-send-pr
858 info-host: maybe-info-shellutils
859 info-host: maybe-info-sid
860 info-host: maybe-info-sim
861 info-host: maybe-info-tar
862 info-host: maybe-info-texinfo
863 info-host: maybe-info-textutils
864 info-host: maybe-info-time
865 info-host: maybe-info-uudecode
866 info-host: maybe-info-wdiff
867 info-host: maybe-info-zip
868 info-host: maybe-info-zlib
869 info-host: maybe-info-gdb
870 info-host: maybe-info-expect
871 info-host: maybe-info-guile
872 info-host: maybe-info-tk
873 info-host: maybe-info-libtermcap
874 info-host: maybe-info-utils
875 info-host: maybe-info-gnattools
877 .PHONY: info-target
879 info-target: maybe-info-target-libstdc++-v3
880 info-target: maybe-info-target-libmudflap
881 info-target: maybe-info-target-libssp
882 info-target: maybe-info-target-libgcc-math
883 info-target: maybe-info-target-newlib
884 info-target: maybe-info-target-libgfortran
885 info-target: maybe-info-target-libobjc
886 info-target: maybe-info-target-libtermcap
887 info-target: maybe-info-target-winsup
888 info-target: maybe-info-target-libgloss
889 info-target: maybe-info-target-libiberty
890 info-target: maybe-info-target-gperf
891 info-target: maybe-info-target-examples
892 info-target: maybe-info-target-libffi
893 info-target: maybe-info-target-libjava
894 info-target: maybe-info-target-zlib
895 info-target: maybe-info-target-boehm-gc
896 info-target: maybe-info-target-qthreads
897 info-target: maybe-info-target-rda
898 info-target: maybe-info-target-libada
899 info-target: maybe-info-target-libgomp
901 .PHONY: do-dvi
902 do-dvi:
903 @: $(MAKE); $(unstage)
904 @r=`${PWD_COMMAND}`; export r; \
905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
906 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
907 dvi-target
910 .PHONY: dvi-host
912 dvi-host: maybe-dvi-ash
913 dvi-host: maybe-dvi-autoconf
914 dvi-host: maybe-dvi-automake
915 dvi-host: maybe-dvi-bash
916 dvi-host: maybe-dvi-bfd
917 dvi-host: maybe-dvi-opcodes
918 dvi-host: maybe-dvi-binutils
919 dvi-host: maybe-dvi-bison
920 dvi-host: maybe-dvi-byacc
921 dvi-host: maybe-dvi-bzip2
922 dvi-host: maybe-dvi-dejagnu
923 dvi-host: maybe-dvi-diff
924 dvi-host: maybe-dvi-dosutils
925 dvi-host: maybe-dvi-etc
926 dvi-host: maybe-dvi-fastjar
927 dvi-host: maybe-dvi-fileutils
928 dvi-host: maybe-dvi-findutils
929 dvi-host: maybe-dvi-find
930 dvi-host: maybe-dvi-fixincludes
931 dvi-host: maybe-dvi-flex
932 dvi-host: maybe-dvi-gas
933 dvi-host: maybe-dvi-gcc
934 dvi-host: maybe-dvi-gawk
935 dvi-host: maybe-dvi-gettext
936 dvi-host: maybe-dvi-gnuserv
937 dvi-host: maybe-dvi-gprof
938 dvi-host: maybe-dvi-gzip
939 dvi-host: maybe-dvi-hello
940 dvi-host: maybe-dvi-indent
941 dvi-host: maybe-dvi-intl
942 dvi-host: maybe-dvi-tcl
943 dvi-host: maybe-dvi-itcl
944 dvi-host: maybe-dvi-ld
945 dvi-host: maybe-dvi-libcpp
946 dvi-host: maybe-dvi-libdecnumber
947 dvi-host: maybe-dvi-libgui
948 dvi-host: maybe-dvi-libiberty
949 dvi-host: maybe-dvi-libtool
950 dvi-host: maybe-dvi-m4
951 dvi-host: maybe-dvi-make
952 dvi-host: maybe-dvi-mmalloc
953 dvi-host: maybe-dvi-patch
954 dvi-host: maybe-dvi-perl
955 dvi-host: maybe-dvi-prms
956 dvi-host: maybe-dvi-rcs
957 dvi-host: maybe-dvi-readline
958 dvi-host: maybe-dvi-release
959 dvi-host: maybe-dvi-recode
960 dvi-host: maybe-dvi-sed
961 dvi-host: maybe-dvi-send-pr
962 dvi-host: maybe-dvi-shellutils
963 dvi-host: maybe-dvi-sid
964 dvi-host: maybe-dvi-sim
965 dvi-host: maybe-dvi-tar
966 dvi-host: maybe-dvi-texinfo
967 dvi-host: maybe-dvi-textutils
968 dvi-host: maybe-dvi-time
969 dvi-host: maybe-dvi-uudecode
970 dvi-host: maybe-dvi-wdiff
971 dvi-host: maybe-dvi-zip
972 dvi-host: maybe-dvi-zlib
973 dvi-host: maybe-dvi-gdb
974 dvi-host: maybe-dvi-expect
975 dvi-host: maybe-dvi-guile
976 dvi-host: maybe-dvi-tk
977 dvi-host: maybe-dvi-libtermcap
978 dvi-host: maybe-dvi-utils
979 dvi-host: maybe-dvi-gnattools
981 .PHONY: dvi-target
983 dvi-target: maybe-dvi-target-libstdc++-v3
984 dvi-target: maybe-dvi-target-libmudflap
985 dvi-target: maybe-dvi-target-libssp
986 dvi-target: maybe-dvi-target-libgcc-math
987 dvi-target: maybe-dvi-target-newlib
988 dvi-target: maybe-dvi-target-libgfortran
989 dvi-target: maybe-dvi-target-libobjc
990 dvi-target: maybe-dvi-target-libtermcap
991 dvi-target: maybe-dvi-target-winsup
992 dvi-target: maybe-dvi-target-libgloss
993 dvi-target: maybe-dvi-target-libiberty
994 dvi-target: maybe-dvi-target-gperf
995 dvi-target: maybe-dvi-target-examples
996 dvi-target: maybe-dvi-target-libffi
997 dvi-target: maybe-dvi-target-libjava
998 dvi-target: maybe-dvi-target-zlib
999 dvi-target: maybe-dvi-target-boehm-gc
1000 dvi-target: maybe-dvi-target-qthreads
1001 dvi-target: maybe-dvi-target-rda
1002 dvi-target: maybe-dvi-target-libada
1003 dvi-target: maybe-dvi-target-libgomp
1005 .PHONY: do-html
1006 do-html:
1007 @: $(MAKE); $(unstage)
1008 @r=`${PWD_COMMAND}`; export r; \
1009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1010 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1011 html-target
1014 .PHONY: html-host
1016 html-host: maybe-html-ash
1017 html-host: maybe-html-autoconf
1018 html-host: maybe-html-automake
1019 html-host: maybe-html-bash
1020 html-host: maybe-html-bfd
1021 html-host: maybe-html-opcodes
1022 html-host: maybe-html-binutils
1023 html-host: maybe-html-bison
1024 html-host: maybe-html-byacc
1025 html-host: maybe-html-bzip2
1026 html-host: maybe-html-dejagnu
1027 html-host: maybe-html-diff
1028 html-host: maybe-html-dosutils
1029 html-host: maybe-html-etc
1030 html-host: maybe-html-fastjar
1031 html-host: maybe-html-fileutils
1032 html-host: maybe-html-findutils
1033 html-host: maybe-html-find
1034 html-host: maybe-html-fixincludes
1035 html-host: maybe-html-flex
1036 html-host: maybe-html-gas
1037 html-host: maybe-html-gcc
1038 html-host: maybe-html-gawk
1039 html-host: maybe-html-gettext
1040 html-host: maybe-html-gnuserv
1041 html-host: maybe-html-gprof
1042 html-host: maybe-html-gzip
1043 html-host: maybe-html-hello
1044 html-host: maybe-html-indent
1045 html-host: maybe-html-intl
1046 html-host: maybe-html-tcl
1047 html-host: maybe-html-itcl
1048 html-host: maybe-html-ld
1049 html-host: maybe-html-libcpp
1050 html-host: maybe-html-libdecnumber
1051 html-host: maybe-html-libgui
1052 html-host: maybe-html-libiberty
1053 html-host: maybe-html-libtool
1054 html-host: maybe-html-m4
1055 html-host: maybe-html-make
1056 html-host: maybe-html-mmalloc
1057 html-host: maybe-html-patch
1058 html-host: maybe-html-perl
1059 html-host: maybe-html-prms
1060 html-host: maybe-html-rcs
1061 html-host: maybe-html-readline
1062 html-host: maybe-html-release
1063 html-host: maybe-html-recode
1064 html-host: maybe-html-sed
1065 html-host: maybe-html-send-pr
1066 html-host: maybe-html-shellutils
1067 html-host: maybe-html-sid
1068 html-host: maybe-html-sim
1069 html-host: maybe-html-tar
1070 html-host: maybe-html-texinfo
1071 html-host: maybe-html-textutils
1072 html-host: maybe-html-time
1073 html-host: maybe-html-uudecode
1074 html-host: maybe-html-wdiff
1075 html-host: maybe-html-zip
1076 html-host: maybe-html-zlib
1077 html-host: maybe-html-gdb
1078 html-host: maybe-html-expect
1079 html-host: maybe-html-guile
1080 html-host: maybe-html-tk
1081 html-host: maybe-html-libtermcap
1082 html-host: maybe-html-utils
1083 html-host: maybe-html-gnattools
1085 .PHONY: html-target
1087 html-target: maybe-html-target-libstdc++-v3
1088 html-target: maybe-html-target-libmudflap
1089 html-target: maybe-html-target-libssp
1090 html-target: maybe-html-target-libgcc-math
1091 html-target: maybe-html-target-newlib
1092 html-target: maybe-html-target-libgfortran
1093 html-target: maybe-html-target-libobjc
1094 html-target: maybe-html-target-libtermcap
1095 html-target: maybe-html-target-winsup
1096 html-target: maybe-html-target-libgloss
1097 html-target: maybe-html-target-libiberty
1098 html-target: maybe-html-target-gperf
1099 html-target: maybe-html-target-examples
1100 html-target: maybe-html-target-libffi
1101 html-target: maybe-html-target-libjava
1102 html-target: maybe-html-target-zlib
1103 html-target: maybe-html-target-boehm-gc
1104 html-target: maybe-html-target-qthreads
1105 html-target: maybe-html-target-rda
1106 html-target: maybe-html-target-libada
1107 html-target: maybe-html-target-libgomp
1109 .PHONY: do-TAGS
1110 do-TAGS:
1111 @: $(MAKE); $(unstage)
1112 @r=`${PWD_COMMAND}`; export r; \
1113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1114 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1115 TAGS-target
1118 .PHONY: TAGS-host
1120 TAGS-host: maybe-TAGS-ash
1121 TAGS-host: maybe-TAGS-autoconf
1122 TAGS-host: maybe-TAGS-automake
1123 TAGS-host: maybe-TAGS-bash
1124 TAGS-host: maybe-TAGS-bfd
1125 TAGS-host: maybe-TAGS-opcodes
1126 TAGS-host: maybe-TAGS-binutils
1127 TAGS-host: maybe-TAGS-bison
1128 TAGS-host: maybe-TAGS-byacc
1129 TAGS-host: maybe-TAGS-bzip2
1130 TAGS-host: maybe-TAGS-dejagnu
1131 TAGS-host: maybe-TAGS-diff
1132 TAGS-host: maybe-TAGS-dosutils
1133 TAGS-host: maybe-TAGS-etc
1134 TAGS-host: maybe-TAGS-fastjar
1135 TAGS-host: maybe-TAGS-fileutils
1136 TAGS-host: maybe-TAGS-findutils
1137 TAGS-host: maybe-TAGS-find
1138 TAGS-host: maybe-TAGS-fixincludes
1139 TAGS-host: maybe-TAGS-flex
1140 TAGS-host: maybe-TAGS-gas
1141 TAGS-host: maybe-TAGS-gcc
1142 TAGS-host: maybe-TAGS-gawk
1143 TAGS-host: maybe-TAGS-gettext
1144 TAGS-host: maybe-TAGS-gnuserv
1145 TAGS-host: maybe-TAGS-gprof
1146 TAGS-host: maybe-TAGS-gzip
1147 TAGS-host: maybe-TAGS-hello
1148 TAGS-host: maybe-TAGS-indent
1149 TAGS-host: maybe-TAGS-intl
1150 TAGS-host: maybe-TAGS-tcl
1151 TAGS-host: maybe-TAGS-itcl
1152 TAGS-host: maybe-TAGS-ld
1153 TAGS-host: maybe-TAGS-libcpp
1154 TAGS-host: maybe-TAGS-libdecnumber
1155 TAGS-host: maybe-TAGS-libgui
1156 TAGS-host: maybe-TAGS-libiberty
1157 TAGS-host: maybe-TAGS-libtool
1158 TAGS-host: maybe-TAGS-m4
1159 TAGS-host: maybe-TAGS-make
1160 TAGS-host: maybe-TAGS-mmalloc
1161 TAGS-host: maybe-TAGS-patch
1162 TAGS-host: maybe-TAGS-perl
1163 TAGS-host: maybe-TAGS-prms
1164 TAGS-host: maybe-TAGS-rcs
1165 TAGS-host: maybe-TAGS-readline
1166 TAGS-host: maybe-TAGS-release
1167 TAGS-host: maybe-TAGS-recode
1168 TAGS-host: maybe-TAGS-sed
1169 TAGS-host: maybe-TAGS-send-pr
1170 TAGS-host: maybe-TAGS-shellutils
1171 TAGS-host: maybe-TAGS-sid
1172 TAGS-host: maybe-TAGS-sim
1173 TAGS-host: maybe-TAGS-tar
1174 TAGS-host: maybe-TAGS-texinfo
1175 TAGS-host: maybe-TAGS-textutils
1176 TAGS-host: maybe-TAGS-time
1177 TAGS-host: maybe-TAGS-uudecode
1178 TAGS-host: maybe-TAGS-wdiff
1179 TAGS-host: maybe-TAGS-zip
1180 TAGS-host: maybe-TAGS-zlib
1181 TAGS-host: maybe-TAGS-gdb
1182 TAGS-host: maybe-TAGS-expect
1183 TAGS-host: maybe-TAGS-guile
1184 TAGS-host: maybe-TAGS-tk
1185 TAGS-host: maybe-TAGS-libtermcap
1186 TAGS-host: maybe-TAGS-utils
1187 TAGS-host: maybe-TAGS-gnattools
1189 .PHONY: TAGS-target
1191 TAGS-target: maybe-TAGS-target-libstdc++-v3
1192 TAGS-target: maybe-TAGS-target-libmudflap
1193 TAGS-target: maybe-TAGS-target-libssp
1194 TAGS-target: maybe-TAGS-target-libgcc-math
1195 TAGS-target: maybe-TAGS-target-newlib
1196 TAGS-target: maybe-TAGS-target-libgfortran
1197 TAGS-target: maybe-TAGS-target-libobjc
1198 TAGS-target: maybe-TAGS-target-libtermcap
1199 TAGS-target: maybe-TAGS-target-winsup
1200 TAGS-target: maybe-TAGS-target-libgloss
1201 TAGS-target: maybe-TAGS-target-libiberty
1202 TAGS-target: maybe-TAGS-target-gperf
1203 TAGS-target: maybe-TAGS-target-examples
1204 TAGS-target: maybe-TAGS-target-libffi
1205 TAGS-target: maybe-TAGS-target-libjava
1206 TAGS-target: maybe-TAGS-target-zlib
1207 TAGS-target: maybe-TAGS-target-boehm-gc
1208 TAGS-target: maybe-TAGS-target-qthreads
1209 TAGS-target: maybe-TAGS-target-rda
1210 TAGS-target: maybe-TAGS-target-libada
1211 TAGS-target: maybe-TAGS-target-libgomp
1213 .PHONY: do-install-info
1214 do-install-info:
1215 @: $(MAKE); $(unstage)
1216 @r=`${PWD_COMMAND}`; export r; \
1217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1218 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1219 install-info-target
1222 .PHONY: install-info-host
1224 install-info-host: maybe-install-info-ash
1225 install-info-host: maybe-install-info-autoconf
1226 install-info-host: maybe-install-info-automake
1227 install-info-host: maybe-install-info-bash
1228 install-info-host: maybe-install-info-bfd
1229 install-info-host: maybe-install-info-opcodes
1230 install-info-host: maybe-install-info-binutils
1231 install-info-host: maybe-install-info-bison
1232 install-info-host: maybe-install-info-byacc
1233 install-info-host: maybe-install-info-bzip2
1234 install-info-host: maybe-install-info-dejagnu
1235 install-info-host: maybe-install-info-diff
1236 install-info-host: maybe-install-info-dosutils
1237 install-info-host: maybe-install-info-etc
1238 install-info-host: maybe-install-info-fastjar
1239 install-info-host: maybe-install-info-fileutils
1240 install-info-host: maybe-install-info-findutils
1241 install-info-host: maybe-install-info-find
1242 install-info-host: maybe-install-info-fixincludes
1243 install-info-host: maybe-install-info-flex
1244 install-info-host: maybe-install-info-gas
1245 install-info-host: maybe-install-info-gcc
1246 install-info-host: maybe-install-info-gawk
1247 install-info-host: maybe-install-info-gettext
1248 install-info-host: maybe-install-info-gnuserv
1249 install-info-host: maybe-install-info-gprof
1250 install-info-host: maybe-install-info-gzip
1251 install-info-host: maybe-install-info-hello
1252 install-info-host: maybe-install-info-indent
1253 install-info-host: maybe-install-info-intl
1254 install-info-host: maybe-install-info-tcl
1255 install-info-host: maybe-install-info-itcl
1256 install-info-host: maybe-install-info-ld
1257 install-info-host: maybe-install-info-libcpp
1258 install-info-host: maybe-install-info-libdecnumber
1259 install-info-host: maybe-install-info-libgui
1260 install-info-host: maybe-install-info-libiberty
1261 install-info-host: maybe-install-info-libtool
1262 install-info-host: maybe-install-info-m4
1263 install-info-host: maybe-install-info-make
1264 install-info-host: maybe-install-info-mmalloc
1265 install-info-host: maybe-install-info-patch
1266 install-info-host: maybe-install-info-perl
1267 install-info-host: maybe-install-info-prms
1268 install-info-host: maybe-install-info-rcs
1269 install-info-host: maybe-install-info-readline
1270 install-info-host: maybe-install-info-release
1271 install-info-host: maybe-install-info-recode
1272 install-info-host: maybe-install-info-sed
1273 install-info-host: maybe-install-info-send-pr
1274 install-info-host: maybe-install-info-shellutils
1275 install-info-host: maybe-install-info-sid
1276 install-info-host: maybe-install-info-sim
1277 install-info-host: maybe-install-info-tar
1278 install-info-host: maybe-install-info-texinfo
1279 install-info-host: maybe-install-info-textutils
1280 install-info-host: maybe-install-info-time
1281 install-info-host: maybe-install-info-uudecode
1282 install-info-host: maybe-install-info-wdiff
1283 install-info-host: maybe-install-info-zip
1284 install-info-host: maybe-install-info-zlib
1285 install-info-host: maybe-install-info-gdb
1286 install-info-host: maybe-install-info-expect
1287 install-info-host: maybe-install-info-guile
1288 install-info-host: maybe-install-info-tk
1289 install-info-host: maybe-install-info-libtermcap
1290 install-info-host: maybe-install-info-utils
1291 install-info-host: maybe-install-info-gnattools
1293 .PHONY: install-info-target
1295 install-info-target: maybe-install-info-target-libstdc++-v3
1296 install-info-target: maybe-install-info-target-libmudflap
1297 install-info-target: maybe-install-info-target-libssp
1298 install-info-target: maybe-install-info-target-libgcc-math
1299 install-info-target: maybe-install-info-target-newlib
1300 install-info-target: maybe-install-info-target-libgfortran
1301 install-info-target: maybe-install-info-target-libobjc
1302 install-info-target: maybe-install-info-target-libtermcap
1303 install-info-target: maybe-install-info-target-winsup
1304 install-info-target: maybe-install-info-target-libgloss
1305 install-info-target: maybe-install-info-target-libiberty
1306 install-info-target: maybe-install-info-target-gperf
1307 install-info-target: maybe-install-info-target-examples
1308 install-info-target: maybe-install-info-target-libffi
1309 install-info-target: maybe-install-info-target-libjava
1310 install-info-target: maybe-install-info-target-zlib
1311 install-info-target: maybe-install-info-target-boehm-gc
1312 install-info-target: maybe-install-info-target-qthreads
1313 install-info-target: maybe-install-info-target-rda
1314 install-info-target: maybe-install-info-target-libada
1315 install-info-target: maybe-install-info-target-libgomp
1317 .PHONY: do-installcheck
1318 do-installcheck:
1319 @: $(MAKE); $(unstage)
1320 @r=`${PWD_COMMAND}`; export r; \
1321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1322 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1323 installcheck-target
1326 .PHONY: installcheck-host
1328 installcheck-host: maybe-installcheck-ash
1329 installcheck-host: maybe-installcheck-autoconf
1330 installcheck-host: maybe-installcheck-automake
1331 installcheck-host: maybe-installcheck-bash
1332 installcheck-host: maybe-installcheck-bfd
1333 installcheck-host: maybe-installcheck-opcodes
1334 installcheck-host: maybe-installcheck-binutils
1335 installcheck-host: maybe-installcheck-bison
1336 installcheck-host: maybe-installcheck-byacc
1337 installcheck-host: maybe-installcheck-bzip2
1338 installcheck-host: maybe-installcheck-dejagnu
1339 installcheck-host: maybe-installcheck-diff
1340 installcheck-host: maybe-installcheck-dosutils
1341 installcheck-host: maybe-installcheck-etc
1342 installcheck-host: maybe-installcheck-fastjar
1343 installcheck-host: maybe-installcheck-fileutils
1344 installcheck-host: maybe-installcheck-findutils
1345 installcheck-host: maybe-installcheck-find
1346 installcheck-host: maybe-installcheck-fixincludes
1347 installcheck-host: maybe-installcheck-flex
1348 installcheck-host: maybe-installcheck-gas
1349 installcheck-host: maybe-installcheck-gcc
1350 installcheck-host: maybe-installcheck-gawk
1351 installcheck-host: maybe-installcheck-gettext
1352 installcheck-host: maybe-installcheck-gnuserv
1353 installcheck-host: maybe-installcheck-gprof
1354 installcheck-host: maybe-installcheck-gzip
1355 installcheck-host: maybe-installcheck-hello
1356 installcheck-host: maybe-installcheck-indent
1357 installcheck-host: maybe-installcheck-intl
1358 installcheck-host: maybe-installcheck-tcl
1359 installcheck-host: maybe-installcheck-itcl
1360 installcheck-host: maybe-installcheck-ld
1361 installcheck-host: maybe-installcheck-libcpp
1362 installcheck-host: maybe-installcheck-libdecnumber
1363 installcheck-host: maybe-installcheck-libgui
1364 installcheck-host: maybe-installcheck-libiberty
1365 installcheck-host: maybe-installcheck-libtool
1366 installcheck-host: maybe-installcheck-m4
1367 installcheck-host: maybe-installcheck-make
1368 installcheck-host: maybe-installcheck-mmalloc
1369 installcheck-host: maybe-installcheck-patch
1370 installcheck-host: maybe-installcheck-perl
1371 installcheck-host: maybe-installcheck-prms
1372 installcheck-host: maybe-installcheck-rcs
1373 installcheck-host: maybe-installcheck-readline
1374 installcheck-host: maybe-installcheck-release
1375 installcheck-host: maybe-installcheck-recode
1376 installcheck-host: maybe-installcheck-sed
1377 installcheck-host: maybe-installcheck-send-pr
1378 installcheck-host: maybe-installcheck-shellutils
1379 installcheck-host: maybe-installcheck-sid
1380 installcheck-host: maybe-installcheck-sim
1381 installcheck-host: maybe-installcheck-tar
1382 installcheck-host: maybe-installcheck-texinfo
1383 installcheck-host: maybe-installcheck-textutils
1384 installcheck-host: maybe-installcheck-time
1385 installcheck-host: maybe-installcheck-uudecode
1386 installcheck-host: maybe-installcheck-wdiff
1387 installcheck-host: maybe-installcheck-zip
1388 installcheck-host: maybe-installcheck-zlib
1389 installcheck-host: maybe-installcheck-gdb
1390 installcheck-host: maybe-installcheck-expect
1391 installcheck-host: maybe-installcheck-guile
1392 installcheck-host: maybe-installcheck-tk
1393 installcheck-host: maybe-installcheck-libtermcap
1394 installcheck-host: maybe-installcheck-utils
1395 installcheck-host: maybe-installcheck-gnattools
1397 .PHONY: installcheck-target
1399 installcheck-target: maybe-installcheck-target-libstdc++-v3
1400 installcheck-target: maybe-installcheck-target-libmudflap
1401 installcheck-target: maybe-installcheck-target-libssp
1402 installcheck-target: maybe-installcheck-target-libgcc-math
1403 installcheck-target: maybe-installcheck-target-newlib
1404 installcheck-target: maybe-installcheck-target-libgfortran
1405 installcheck-target: maybe-installcheck-target-libobjc
1406 installcheck-target: maybe-installcheck-target-libtermcap
1407 installcheck-target: maybe-installcheck-target-winsup
1408 installcheck-target: maybe-installcheck-target-libgloss
1409 installcheck-target: maybe-installcheck-target-libiberty
1410 installcheck-target: maybe-installcheck-target-gperf
1411 installcheck-target: maybe-installcheck-target-examples
1412 installcheck-target: maybe-installcheck-target-libffi
1413 installcheck-target: maybe-installcheck-target-libjava
1414 installcheck-target: maybe-installcheck-target-zlib
1415 installcheck-target: maybe-installcheck-target-boehm-gc
1416 installcheck-target: maybe-installcheck-target-qthreads
1417 installcheck-target: maybe-installcheck-target-rda
1418 installcheck-target: maybe-installcheck-target-libada
1419 installcheck-target: maybe-installcheck-target-libgomp
1421 .PHONY: do-mostlyclean
1422 do-mostlyclean:
1423 @: $(MAKE); $(unstage)
1424 @r=`${PWD_COMMAND}`; export r; \
1425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1426 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1427 mostlyclean-target
1430 .PHONY: mostlyclean-host
1432 mostlyclean-host: maybe-mostlyclean-ash
1433 mostlyclean-host: maybe-mostlyclean-autoconf
1434 mostlyclean-host: maybe-mostlyclean-automake
1435 mostlyclean-host: maybe-mostlyclean-bash
1436 mostlyclean-host: maybe-mostlyclean-bfd
1437 mostlyclean-host: maybe-mostlyclean-opcodes
1438 mostlyclean-host: maybe-mostlyclean-binutils
1439 mostlyclean-host: maybe-mostlyclean-bison
1440 mostlyclean-host: maybe-mostlyclean-byacc
1441 mostlyclean-host: maybe-mostlyclean-bzip2
1442 mostlyclean-host: maybe-mostlyclean-dejagnu
1443 mostlyclean-host: maybe-mostlyclean-diff
1444 mostlyclean-host: maybe-mostlyclean-dosutils
1445 mostlyclean-host: maybe-mostlyclean-etc
1446 mostlyclean-host: maybe-mostlyclean-fastjar
1447 mostlyclean-host: maybe-mostlyclean-fileutils
1448 mostlyclean-host: maybe-mostlyclean-findutils
1449 mostlyclean-host: maybe-mostlyclean-find
1450 mostlyclean-host: maybe-mostlyclean-fixincludes
1451 mostlyclean-host: maybe-mostlyclean-flex
1452 mostlyclean-host: maybe-mostlyclean-gas
1453 mostlyclean-host: maybe-mostlyclean-gcc
1454 mostlyclean-host: maybe-mostlyclean-gawk
1455 mostlyclean-host: maybe-mostlyclean-gettext
1456 mostlyclean-host: maybe-mostlyclean-gnuserv
1457 mostlyclean-host: maybe-mostlyclean-gprof
1458 mostlyclean-host: maybe-mostlyclean-gzip
1459 mostlyclean-host: maybe-mostlyclean-hello
1460 mostlyclean-host: maybe-mostlyclean-indent
1461 mostlyclean-host: maybe-mostlyclean-intl
1462 mostlyclean-host: maybe-mostlyclean-tcl
1463 mostlyclean-host: maybe-mostlyclean-itcl
1464 mostlyclean-host: maybe-mostlyclean-ld
1465 mostlyclean-host: maybe-mostlyclean-libcpp
1466 mostlyclean-host: maybe-mostlyclean-libdecnumber
1467 mostlyclean-host: maybe-mostlyclean-libgui
1468 mostlyclean-host: maybe-mostlyclean-libiberty
1469 mostlyclean-host: maybe-mostlyclean-libtool
1470 mostlyclean-host: maybe-mostlyclean-m4
1471 mostlyclean-host: maybe-mostlyclean-make
1472 mostlyclean-host: maybe-mostlyclean-mmalloc
1473 mostlyclean-host: maybe-mostlyclean-patch
1474 mostlyclean-host: maybe-mostlyclean-perl
1475 mostlyclean-host: maybe-mostlyclean-prms
1476 mostlyclean-host: maybe-mostlyclean-rcs
1477 mostlyclean-host: maybe-mostlyclean-readline
1478 mostlyclean-host: maybe-mostlyclean-release
1479 mostlyclean-host: maybe-mostlyclean-recode
1480 mostlyclean-host: maybe-mostlyclean-sed
1481 mostlyclean-host: maybe-mostlyclean-send-pr
1482 mostlyclean-host: maybe-mostlyclean-shellutils
1483 mostlyclean-host: maybe-mostlyclean-sid
1484 mostlyclean-host: maybe-mostlyclean-sim
1485 mostlyclean-host: maybe-mostlyclean-tar
1486 mostlyclean-host: maybe-mostlyclean-texinfo
1487 mostlyclean-host: maybe-mostlyclean-textutils
1488 mostlyclean-host: maybe-mostlyclean-time
1489 mostlyclean-host: maybe-mostlyclean-uudecode
1490 mostlyclean-host: maybe-mostlyclean-wdiff
1491 mostlyclean-host: maybe-mostlyclean-zip
1492 mostlyclean-host: maybe-mostlyclean-zlib
1493 mostlyclean-host: maybe-mostlyclean-gdb
1494 mostlyclean-host: maybe-mostlyclean-expect
1495 mostlyclean-host: maybe-mostlyclean-guile
1496 mostlyclean-host: maybe-mostlyclean-tk
1497 mostlyclean-host: maybe-mostlyclean-libtermcap
1498 mostlyclean-host: maybe-mostlyclean-utils
1499 mostlyclean-host: maybe-mostlyclean-gnattools
1501 .PHONY: mostlyclean-target
1503 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1504 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1505 mostlyclean-target: maybe-mostlyclean-target-libssp
1506 mostlyclean-target: maybe-mostlyclean-target-libgcc-math
1507 mostlyclean-target: maybe-mostlyclean-target-newlib
1508 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1509 mostlyclean-target: maybe-mostlyclean-target-libobjc
1510 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1511 mostlyclean-target: maybe-mostlyclean-target-winsup
1512 mostlyclean-target: maybe-mostlyclean-target-libgloss
1513 mostlyclean-target: maybe-mostlyclean-target-libiberty
1514 mostlyclean-target: maybe-mostlyclean-target-gperf
1515 mostlyclean-target: maybe-mostlyclean-target-examples
1516 mostlyclean-target: maybe-mostlyclean-target-libffi
1517 mostlyclean-target: maybe-mostlyclean-target-libjava
1518 mostlyclean-target: maybe-mostlyclean-target-zlib
1519 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1520 mostlyclean-target: maybe-mostlyclean-target-qthreads
1521 mostlyclean-target: maybe-mostlyclean-target-rda
1522 mostlyclean-target: maybe-mostlyclean-target-libada
1523 mostlyclean-target: maybe-mostlyclean-target-libgomp
1525 .PHONY: do-clean
1526 do-clean:
1527 @: $(MAKE); $(unstage)
1528 @r=`${PWD_COMMAND}`; export r; \
1529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1530 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1531 clean-target
1534 .PHONY: clean-host
1536 clean-host: maybe-clean-ash
1537 clean-host: maybe-clean-autoconf
1538 clean-host: maybe-clean-automake
1539 clean-host: maybe-clean-bash
1540 clean-host: maybe-clean-bfd
1541 clean-host: maybe-clean-opcodes
1542 clean-host: maybe-clean-binutils
1543 clean-host: maybe-clean-bison
1544 clean-host: maybe-clean-byacc
1545 clean-host: maybe-clean-bzip2
1546 clean-host: maybe-clean-dejagnu
1547 clean-host: maybe-clean-diff
1548 clean-host: maybe-clean-dosutils
1549 clean-host: maybe-clean-etc
1550 clean-host: maybe-clean-fastjar
1551 clean-host: maybe-clean-fileutils
1552 clean-host: maybe-clean-findutils
1553 clean-host: maybe-clean-find
1554 clean-host: maybe-clean-fixincludes
1555 clean-host: maybe-clean-flex
1556 clean-host: maybe-clean-gas
1557 clean-host: maybe-clean-gcc
1558 clean-host: maybe-clean-gawk
1559 clean-host: maybe-clean-gettext
1560 clean-host: maybe-clean-gnuserv
1561 clean-host: maybe-clean-gprof
1562 clean-host: maybe-clean-gzip
1563 clean-host: maybe-clean-hello
1564 clean-host: maybe-clean-indent
1565 clean-host: maybe-clean-intl
1566 clean-host: maybe-clean-tcl
1567 clean-host: maybe-clean-itcl
1568 clean-host: maybe-clean-ld
1569 clean-host: maybe-clean-libcpp
1570 clean-host: maybe-clean-libdecnumber
1571 clean-host: maybe-clean-libgui
1572 clean-host: maybe-clean-libiberty
1573 clean-host: maybe-clean-libtool
1574 clean-host: maybe-clean-m4
1575 clean-host: maybe-clean-make
1576 clean-host: maybe-clean-mmalloc
1577 clean-host: maybe-clean-patch
1578 clean-host: maybe-clean-perl
1579 clean-host: maybe-clean-prms
1580 clean-host: maybe-clean-rcs
1581 clean-host: maybe-clean-readline
1582 clean-host: maybe-clean-release
1583 clean-host: maybe-clean-recode
1584 clean-host: maybe-clean-sed
1585 clean-host: maybe-clean-send-pr
1586 clean-host: maybe-clean-shellutils
1587 clean-host: maybe-clean-sid
1588 clean-host: maybe-clean-sim
1589 clean-host: maybe-clean-tar
1590 clean-host: maybe-clean-texinfo
1591 clean-host: maybe-clean-textutils
1592 clean-host: maybe-clean-time
1593 clean-host: maybe-clean-uudecode
1594 clean-host: maybe-clean-wdiff
1595 clean-host: maybe-clean-zip
1596 clean-host: maybe-clean-zlib
1597 clean-host: maybe-clean-gdb
1598 clean-host: maybe-clean-expect
1599 clean-host: maybe-clean-guile
1600 clean-host: maybe-clean-tk
1601 clean-host: maybe-clean-libtermcap
1602 clean-host: maybe-clean-utils
1603 clean-host: maybe-clean-gnattools
1605 .PHONY: clean-target
1607 clean-target: maybe-clean-target-libstdc++-v3
1608 clean-target: maybe-clean-target-libmudflap
1609 clean-target: maybe-clean-target-libssp
1610 clean-target: maybe-clean-target-libgcc-math
1611 clean-target: maybe-clean-target-newlib
1612 clean-target: maybe-clean-target-libgfortran
1613 clean-target: maybe-clean-target-libobjc
1614 clean-target: maybe-clean-target-libtermcap
1615 clean-target: maybe-clean-target-winsup
1616 clean-target: maybe-clean-target-libgloss
1617 clean-target: maybe-clean-target-libiberty
1618 clean-target: maybe-clean-target-gperf
1619 clean-target: maybe-clean-target-examples
1620 clean-target: maybe-clean-target-libffi
1621 clean-target: maybe-clean-target-libjava
1622 clean-target: maybe-clean-target-zlib
1623 clean-target: maybe-clean-target-boehm-gc
1624 clean-target: maybe-clean-target-qthreads
1625 clean-target: maybe-clean-target-rda
1626 clean-target: maybe-clean-target-libada
1627 clean-target: maybe-clean-target-libgomp
1629 .PHONY: do-distclean
1630 do-distclean:
1631 @: $(MAKE); $(unstage)
1632 @r=`${PWD_COMMAND}`; export r; \
1633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1634 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1635 distclean-target
1638 .PHONY: distclean-host
1640 distclean-host: maybe-distclean-ash
1641 distclean-host: maybe-distclean-autoconf
1642 distclean-host: maybe-distclean-automake
1643 distclean-host: maybe-distclean-bash
1644 distclean-host: maybe-distclean-bfd
1645 distclean-host: maybe-distclean-opcodes
1646 distclean-host: maybe-distclean-binutils
1647 distclean-host: maybe-distclean-bison
1648 distclean-host: maybe-distclean-byacc
1649 distclean-host: maybe-distclean-bzip2
1650 distclean-host: maybe-distclean-dejagnu
1651 distclean-host: maybe-distclean-diff
1652 distclean-host: maybe-distclean-dosutils
1653 distclean-host: maybe-distclean-etc
1654 distclean-host: maybe-distclean-fastjar
1655 distclean-host: maybe-distclean-fileutils
1656 distclean-host: maybe-distclean-findutils
1657 distclean-host: maybe-distclean-find
1658 distclean-host: maybe-distclean-fixincludes
1659 distclean-host: maybe-distclean-flex
1660 distclean-host: maybe-distclean-gas
1661 distclean-host: maybe-distclean-gcc
1662 distclean-host: maybe-distclean-gawk
1663 distclean-host: maybe-distclean-gettext
1664 distclean-host: maybe-distclean-gnuserv
1665 distclean-host: maybe-distclean-gprof
1666 distclean-host: maybe-distclean-gzip
1667 distclean-host: maybe-distclean-hello
1668 distclean-host: maybe-distclean-indent
1669 distclean-host: maybe-distclean-intl
1670 distclean-host: maybe-distclean-tcl
1671 distclean-host: maybe-distclean-itcl
1672 distclean-host: maybe-distclean-ld
1673 distclean-host: maybe-distclean-libcpp
1674 distclean-host: maybe-distclean-libdecnumber
1675 distclean-host: maybe-distclean-libgui
1676 distclean-host: maybe-distclean-libiberty
1677 distclean-host: maybe-distclean-libtool
1678 distclean-host: maybe-distclean-m4
1679 distclean-host: maybe-distclean-make
1680 distclean-host: maybe-distclean-mmalloc
1681 distclean-host: maybe-distclean-patch
1682 distclean-host: maybe-distclean-perl
1683 distclean-host: maybe-distclean-prms
1684 distclean-host: maybe-distclean-rcs
1685 distclean-host: maybe-distclean-readline
1686 distclean-host: maybe-distclean-release
1687 distclean-host: maybe-distclean-recode
1688 distclean-host: maybe-distclean-sed
1689 distclean-host: maybe-distclean-send-pr
1690 distclean-host: maybe-distclean-shellutils
1691 distclean-host: maybe-distclean-sid
1692 distclean-host: maybe-distclean-sim
1693 distclean-host: maybe-distclean-tar
1694 distclean-host: maybe-distclean-texinfo
1695 distclean-host: maybe-distclean-textutils
1696 distclean-host: maybe-distclean-time
1697 distclean-host: maybe-distclean-uudecode
1698 distclean-host: maybe-distclean-wdiff
1699 distclean-host: maybe-distclean-zip
1700 distclean-host: maybe-distclean-zlib
1701 distclean-host: maybe-distclean-gdb
1702 distclean-host: maybe-distclean-expect
1703 distclean-host: maybe-distclean-guile
1704 distclean-host: maybe-distclean-tk
1705 distclean-host: maybe-distclean-libtermcap
1706 distclean-host: maybe-distclean-utils
1707 distclean-host: maybe-distclean-gnattools
1709 .PHONY: distclean-target
1711 distclean-target: maybe-distclean-target-libstdc++-v3
1712 distclean-target: maybe-distclean-target-libmudflap
1713 distclean-target: maybe-distclean-target-libssp
1714 distclean-target: maybe-distclean-target-libgcc-math
1715 distclean-target: maybe-distclean-target-newlib
1716 distclean-target: maybe-distclean-target-libgfortran
1717 distclean-target: maybe-distclean-target-libobjc
1718 distclean-target: maybe-distclean-target-libtermcap
1719 distclean-target: maybe-distclean-target-winsup
1720 distclean-target: maybe-distclean-target-libgloss
1721 distclean-target: maybe-distclean-target-libiberty
1722 distclean-target: maybe-distclean-target-gperf
1723 distclean-target: maybe-distclean-target-examples
1724 distclean-target: maybe-distclean-target-libffi
1725 distclean-target: maybe-distclean-target-libjava
1726 distclean-target: maybe-distclean-target-zlib
1727 distclean-target: maybe-distclean-target-boehm-gc
1728 distclean-target: maybe-distclean-target-qthreads
1729 distclean-target: maybe-distclean-target-rda
1730 distclean-target: maybe-distclean-target-libada
1731 distclean-target: maybe-distclean-target-libgomp
1733 .PHONY: do-maintainer-clean
1734 do-maintainer-clean:
1735 @: $(MAKE); $(unstage)
1736 @r=`${PWD_COMMAND}`; export r; \
1737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1738 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1739 maintainer-clean-target
1742 .PHONY: maintainer-clean-host
1744 maintainer-clean-host: maybe-maintainer-clean-ash
1745 maintainer-clean-host: maybe-maintainer-clean-autoconf
1746 maintainer-clean-host: maybe-maintainer-clean-automake
1747 maintainer-clean-host: maybe-maintainer-clean-bash
1748 maintainer-clean-host: maybe-maintainer-clean-bfd
1749 maintainer-clean-host: maybe-maintainer-clean-opcodes
1750 maintainer-clean-host: maybe-maintainer-clean-binutils
1751 maintainer-clean-host: maybe-maintainer-clean-bison
1752 maintainer-clean-host: maybe-maintainer-clean-byacc
1753 maintainer-clean-host: maybe-maintainer-clean-bzip2
1754 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1755 maintainer-clean-host: maybe-maintainer-clean-diff
1756 maintainer-clean-host: maybe-maintainer-clean-dosutils
1757 maintainer-clean-host: maybe-maintainer-clean-etc
1758 maintainer-clean-host: maybe-maintainer-clean-fastjar
1759 maintainer-clean-host: maybe-maintainer-clean-fileutils
1760 maintainer-clean-host: maybe-maintainer-clean-findutils
1761 maintainer-clean-host: maybe-maintainer-clean-find
1762 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1763 maintainer-clean-host: maybe-maintainer-clean-flex
1764 maintainer-clean-host: maybe-maintainer-clean-gas
1765 maintainer-clean-host: maybe-maintainer-clean-gcc
1766 maintainer-clean-host: maybe-maintainer-clean-gawk
1767 maintainer-clean-host: maybe-maintainer-clean-gettext
1768 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1769 maintainer-clean-host: maybe-maintainer-clean-gprof
1770 maintainer-clean-host: maybe-maintainer-clean-gzip
1771 maintainer-clean-host: maybe-maintainer-clean-hello
1772 maintainer-clean-host: maybe-maintainer-clean-indent
1773 maintainer-clean-host: maybe-maintainer-clean-intl
1774 maintainer-clean-host: maybe-maintainer-clean-tcl
1775 maintainer-clean-host: maybe-maintainer-clean-itcl
1776 maintainer-clean-host: maybe-maintainer-clean-ld
1777 maintainer-clean-host: maybe-maintainer-clean-libcpp
1778 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1779 maintainer-clean-host: maybe-maintainer-clean-libgui
1780 maintainer-clean-host: maybe-maintainer-clean-libiberty
1781 maintainer-clean-host: maybe-maintainer-clean-libtool
1782 maintainer-clean-host: maybe-maintainer-clean-m4
1783 maintainer-clean-host: maybe-maintainer-clean-make
1784 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1785 maintainer-clean-host: maybe-maintainer-clean-patch
1786 maintainer-clean-host: maybe-maintainer-clean-perl
1787 maintainer-clean-host: maybe-maintainer-clean-prms
1788 maintainer-clean-host: maybe-maintainer-clean-rcs
1789 maintainer-clean-host: maybe-maintainer-clean-readline
1790 maintainer-clean-host: maybe-maintainer-clean-release
1791 maintainer-clean-host: maybe-maintainer-clean-recode
1792 maintainer-clean-host: maybe-maintainer-clean-sed
1793 maintainer-clean-host: maybe-maintainer-clean-send-pr
1794 maintainer-clean-host: maybe-maintainer-clean-shellutils
1795 maintainer-clean-host: maybe-maintainer-clean-sid
1796 maintainer-clean-host: maybe-maintainer-clean-sim
1797 maintainer-clean-host: maybe-maintainer-clean-tar
1798 maintainer-clean-host: maybe-maintainer-clean-texinfo
1799 maintainer-clean-host: maybe-maintainer-clean-textutils
1800 maintainer-clean-host: maybe-maintainer-clean-time
1801 maintainer-clean-host: maybe-maintainer-clean-uudecode
1802 maintainer-clean-host: maybe-maintainer-clean-wdiff
1803 maintainer-clean-host: maybe-maintainer-clean-zip
1804 maintainer-clean-host: maybe-maintainer-clean-zlib
1805 maintainer-clean-host: maybe-maintainer-clean-gdb
1806 maintainer-clean-host: maybe-maintainer-clean-expect
1807 maintainer-clean-host: maybe-maintainer-clean-guile
1808 maintainer-clean-host: maybe-maintainer-clean-tk
1809 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1810 maintainer-clean-host: maybe-maintainer-clean-utils
1811 maintainer-clean-host: maybe-maintainer-clean-gnattools
1813 .PHONY: maintainer-clean-target
1815 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1816 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1817 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1818 maintainer-clean-target: maybe-maintainer-clean-target-libgcc-math
1819 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1820 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1821 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1822 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1823 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1824 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1825 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1826 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1827 maintainer-clean-target: maybe-maintainer-clean-target-examples
1828 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1829 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1830 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1831 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1832 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1833 maintainer-clean-target: maybe-maintainer-clean-target-rda
1834 maintainer-clean-target: maybe-maintainer-clean-target-libada
1835 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1838 # Here are the targets which correspond to the do-X targets.
1840 .PHONY: info installcheck dvi html install-info
1841 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1842 .PHONY: local-clean local-distclean local-maintainer-clean
1843 info: do-info
1844 installcheck: do-installcheck
1845 dvi: do-dvi
1846 html: do-html
1848 # Make sure makeinfo is built before we do a `make info', if we're
1849 # in fact building texinfo.
1850 do-info: maybe-all-texinfo
1852 install-info: do-install-info dir.info
1853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1854 if [ -f dir.info ] ; then \
1855 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1856 else true ; fi
1858 local-clean:
1859 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1861 local-distclean:
1862 -rm -f Makefile config.status config.cache mh-frag mt-frag
1863 -rm -f maybedep.tmp serdep.tmp
1864 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1865 rm -rf $(TARGET_SUBDIR); \
1866 else true; fi
1867 -rm -rf $(BUILD_SUBDIR)
1868 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1869 rm -rf $(HOST_SUBDIR); \
1870 else true; fi
1871 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1872 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1873 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1874 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1875 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1877 local-maintainer-clean:
1878 @echo "This command is intended for maintainers to use;"
1879 @echo "it deletes files that may require special tools to rebuild."
1881 clean: do-clean local-clean
1882 mostlyclean: do-mostlyclean local-clean
1883 distclean: do-distclean local-clean local-distclean
1884 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1885 maintainer-clean: local-distclean
1886 realclean: maintainer-clean
1888 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1889 clean-target: clean-target-libgcc
1890 clean-target-libgcc:
1891 test ! -d gcc || (cd gcc && $(MAKE) $@)
1893 # Check target.
1895 .PHONY: check do-check
1896 check: do-check
1898 # Only include modules actually being configured and built.
1899 .PHONY: check-host
1900 check-host: \
1901 maybe-check-ash \
1902 maybe-check-autoconf \
1903 maybe-check-automake \
1904 maybe-check-bash \
1905 maybe-check-bfd \
1906 maybe-check-opcodes \
1907 maybe-check-binutils \
1908 maybe-check-bison \
1909 maybe-check-byacc \
1910 maybe-check-bzip2 \
1911 maybe-check-dejagnu \
1912 maybe-check-diff \
1913 maybe-check-dosutils \
1914 maybe-check-etc \
1915 maybe-check-fastjar \
1916 maybe-check-fileutils \
1917 maybe-check-findutils \
1918 maybe-check-find \
1919 maybe-check-fixincludes \
1920 maybe-check-flex \
1921 maybe-check-gas \
1922 maybe-check-gcc \
1923 maybe-check-gawk \
1924 maybe-check-gettext \
1925 maybe-check-gnuserv \
1926 maybe-check-gprof \
1927 maybe-check-gzip \
1928 maybe-check-hello \
1929 maybe-check-indent \
1930 maybe-check-intl \
1931 maybe-check-tcl \
1932 maybe-check-itcl \
1933 maybe-check-ld \
1934 maybe-check-libcpp \
1935 maybe-check-libdecnumber \
1936 maybe-check-libgui \
1937 maybe-check-libiberty \
1938 maybe-check-libtool \
1939 maybe-check-m4 \
1940 maybe-check-make \
1941 maybe-check-mmalloc \
1942 maybe-check-patch \
1943 maybe-check-perl \
1944 maybe-check-prms \
1945 maybe-check-rcs \
1946 maybe-check-readline \
1947 maybe-check-release \
1948 maybe-check-recode \
1949 maybe-check-sed \
1950 maybe-check-send-pr \
1951 maybe-check-shellutils \
1952 maybe-check-sid \
1953 maybe-check-sim \
1954 maybe-check-tar \
1955 maybe-check-texinfo \
1956 maybe-check-textutils \
1957 maybe-check-time \
1958 maybe-check-uudecode \
1959 maybe-check-wdiff \
1960 maybe-check-zip \
1961 maybe-check-zlib \
1962 maybe-check-gdb \
1963 maybe-check-expect \
1964 maybe-check-guile \
1965 maybe-check-tk \
1966 maybe-check-libtermcap \
1967 maybe-check-utils \
1968 maybe-check-gnattools
1970 .PHONY: check-target
1971 check-target: \
1972 maybe-check-target-libstdc++-v3 \
1973 maybe-check-target-libmudflap \
1974 maybe-check-target-libssp \
1975 maybe-check-target-libgcc-math \
1976 maybe-check-target-newlib \
1977 maybe-check-target-libgfortran \
1978 maybe-check-target-libobjc \
1979 maybe-check-target-libtermcap \
1980 maybe-check-target-winsup \
1981 maybe-check-target-libgloss \
1982 maybe-check-target-libiberty \
1983 maybe-check-target-gperf \
1984 maybe-check-target-examples \
1985 maybe-check-target-libffi \
1986 maybe-check-target-libjava \
1987 maybe-check-target-zlib \
1988 maybe-check-target-boehm-gc \
1989 maybe-check-target-qthreads \
1990 maybe-check-target-rda \
1991 maybe-check-target-libada \
1992 maybe-check-target-libgomp
1994 do-check:
1995 @: $(MAKE); $(unstage)
1996 @r=`${PWD_COMMAND}`; export r; \
1997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1998 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2000 # Automated reporting of test results.
2002 warning.log: build.log
2003 $(srcdir)/contrib/warn_summary build.log > $@
2005 mail-report.log:
2006 if test x'$(BOOT_CFLAGS)' != x''; then \
2007 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2008 fi; \
2009 $(srcdir)/contrib/test_summary -t >$@
2010 chmod +x $@
2011 echo If you really want to send e-mail, run ./$@ now
2013 mail-report-with-warnings.log: warning.log
2014 if test x'$(BOOT_CFLAGS)' != x''; then \
2015 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2016 fi; \
2017 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2018 chmod +x $@
2019 echo If you really want to send e-mail, run ./$@ now
2021 # Installation targets.
2023 .PHONY: install uninstall
2024 install:
2025 @: $(MAKE); $(unstage)
2026 @r=`${PWD_COMMAND}`; export r; \
2027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2028 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2030 .PHONY: install-host-nogcc
2031 install-host-nogcc: \
2032 maybe-install-ash \
2033 maybe-install-autoconf \
2034 maybe-install-automake \
2035 maybe-install-bash \
2036 maybe-install-bfd \
2037 maybe-install-opcodes \
2038 maybe-install-binutils \
2039 maybe-install-bison \
2040 maybe-install-byacc \
2041 maybe-install-bzip2 \
2042 maybe-install-dejagnu \
2043 maybe-install-diff \
2044 maybe-install-dosutils \
2045 maybe-install-etc \
2046 maybe-install-fastjar \
2047 maybe-install-fileutils \
2048 maybe-install-findutils \
2049 maybe-install-find \
2050 maybe-install-fixincludes \
2051 maybe-install-flex \
2052 maybe-install-gas \
2053 maybe-install-gawk \
2054 maybe-install-gettext \
2055 maybe-install-gnuserv \
2056 maybe-install-gprof \
2057 maybe-install-gzip \
2058 maybe-install-hello \
2059 maybe-install-indent \
2060 maybe-install-intl \
2061 maybe-install-tcl \
2062 maybe-install-itcl \
2063 maybe-install-ld \
2064 maybe-install-libcpp \
2065 maybe-install-libdecnumber \
2066 maybe-install-libgui \
2067 maybe-install-libiberty \
2068 maybe-install-libtool \
2069 maybe-install-m4 \
2070 maybe-install-make \
2071 maybe-install-mmalloc \
2072 maybe-install-patch \
2073 maybe-install-perl \
2074 maybe-install-prms \
2075 maybe-install-rcs \
2076 maybe-install-readline \
2077 maybe-install-release \
2078 maybe-install-recode \
2079 maybe-install-sed \
2080 maybe-install-send-pr \
2081 maybe-install-shellutils \
2082 maybe-install-sid \
2083 maybe-install-sim \
2084 maybe-install-tar \
2085 maybe-install-texinfo \
2086 maybe-install-textutils \
2087 maybe-install-time \
2088 maybe-install-uudecode \
2089 maybe-install-wdiff \
2090 maybe-install-zip \
2091 maybe-install-zlib \
2092 maybe-install-gdb \
2093 maybe-install-expect \
2094 maybe-install-guile \
2095 maybe-install-tk \
2096 maybe-install-libtermcap \
2097 maybe-install-utils \
2098 maybe-install-gnattools
2100 .PHONY: install-host
2101 install-host: \
2102 maybe-install-ash \
2103 maybe-install-autoconf \
2104 maybe-install-automake \
2105 maybe-install-bash \
2106 maybe-install-bfd \
2107 maybe-install-opcodes \
2108 maybe-install-binutils \
2109 maybe-install-bison \
2110 maybe-install-byacc \
2111 maybe-install-bzip2 \
2112 maybe-install-dejagnu \
2113 maybe-install-diff \
2114 maybe-install-dosutils \
2115 maybe-install-etc \
2116 maybe-install-fastjar \
2117 maybe-install-fileutils \
2118 maybe-install-findutils \
2119 maybe-install-find \
2120 maybe-install-fixincludes \
2121 maybe-install-flex \
2122 maybe-install-gas \
2123 maybe-install-gcc \
2124 maybe-install-gawk \
2125 maybe-install-gettext \
2126 maybe-install-gnuserv \
2127 maybe-install-gprof \
2128 maybe-install-gzip \
2129 maybe-install-hello \
2130 maybe-install-indent \
2131 maybe-install-intl \
2132 maybe-install-tcl \
2133 maybe-install-itcl \
2134 maybe-install-ld \
2135 maybe-install-libcpp \
2136 maybe-install-libdecnumber \
2137 maybe-install-libgui \
2138 maybe-install-libiberty \
2139 maybe-install-libtool \
2140 maybe-install-m4 \
2141 maybe-install-make \
2142 maybe-install-mmalloc \
2143 maybe-install-patch \
2144 maybe-install-perl \
2145 maybe-install-prms \
2146 maybe-install-rcs \
2147 maybe-install-readline \
2148 maybe-install-release \
2149 maybe-install-recode \
2150 maybe-install-sed \
2151 maybe-install-send-pr \
2152 maybe-install-shellutils \
2153 maybe-install-sid \
2154 maybe-install-sim \
2155 maybe-install-tar \
2156 maybe-install-texinfo \
2157 maybe-install-textutils \
2158 maybe-install-time \
2159 maybe-install-uudecode \
2160 maybe-install-wdiff \
2161 maybe-install-zip \
2162 maybe-install-zlib \
2163 maybe-install-gdb \
2164 maybe-install-expect \
2165 maybe-install-guile \
2166 maybe-install-tk \
2167 maybe-install-libtermcap \
2168 maybe-install-utils \
2169 maybe-install-gnattools
2171 .PHONY: install-target
2172 install-target: \
2173 maybe-install-target-libstdc++-v3 \
2174 maybe-install-target-libmudflap \
2175 maybe-install-target-libssp \
2176 maybe-install-target-libgcc-math \
2177 maybe-install-target-newlib \
2178 maybe-install-target-libgfortran \
2179 maybe-install-target-libobjc \
2180 maybe-install-target-libtermcap \
2181 maybe-install-target-winsup \
2182 maybe-install-target-libgloss \
2183 maybe-install-target-libiberty \
2184 maybe-install-target-gperf \
2185 maybe-install-target-examples \
2186 maybe-install-target-libffi \
2187 maybe-install-target-libjava \
2188 maybe-install-target-zlib \
2189 maybe-install-target-boehm-gc \
2190 maybe-install-target-qthreads \
2191 maybe-install-target-rda \
2192 maybe-install-target-libada \
2193 maybe-install-target-libgomp
2195 uninstall:
2196 @echo "the uninstall target is not supported in this tree"
2198 .PHONY: install.all
2199 install.all: install-no-fixedincludes
2200 @if [ -f ./gcc/Makefile ] ; then \
2201 r=`${PWD_COMMAND}` ; export r ; \
2202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2203 $(HOST_EXPORTS) \
2204 (cd ./gcc && \
2205 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2206 else \
2207 true ; \
2210 # install-no-fixedincludes is used because Cygnus can not distribute
2211 # the fixed header files.
2212 .PHONY: install-no-fixedincludes
2213 install-no-fixedincludes: installdirs install-host-nogcc \
2214 install-target gcc-no-fixedincludes
2216 ### other supporting targets
2218 MAKEDIRS= \
2219 $(DESTDIR)$(prefix) \
2220 $(DESTDIR)$(exec_prefix)
2221 .PHONY: installdirs
2222 installdirs: mkinstalldirs
2223 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2225 dir.info: do-install-info
2226 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2227 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2228 mv -f dir.info.new dir.info ; \
2229 else true ; \
2232 dist:
2233 @echo "Building a full distribution of this tree isn't done"
2234 @echo "via 'make dist'. Check out the etc/ subdirectory"
2236 etags tags: TAGS
2238 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2239 # ability to use several tags files at once, so there is probably no need
2240 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2241 # (if we felt like it) have this Makefile write a piece of elisp which
2242 # the user could load to tell emacs19 where all the TAGS files we just
2243 # built are.
2244 TAGS: do-TAGS
2246 # ------------------------------------
2247 # Macros for configure and all targets
2248 # ------------------------------------
2254 # --------------------------------------
2255 # Modules which run on the build machine
2256 # --------------------------------------
2259 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2260 maybe-configure-build-libiberty:
2261 @if build-libiberty
2262 maybe-configure-build-libiberty: configure-build-libiberty
2263 configure-build-libiberty:
2264 @: $(MAKE); $(unstage)
2265 @r=`${PWD_COMMAND}`; export r; \
2266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2267 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2268 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2269 $(BUILD_EXPORTS) \
2270 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2271 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2272 case $(srcdir) in \
2273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2274 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2276 esac; \
2277 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2278 libsrcdir="$$s/libiberty"; \
2279 rm -f no-such-file || : ; \
2280 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2281 $(BUILD_CONFIGARGS) $${srcdiroption} \
2282 || exit 1
2283 @endif build-libiberty
2289 .PHONY: all-build-libiberty maybe-all-build-libiberty
2290 maybe-all-build-libiberty:
2291 @if build-libiberty
2292 TARGET-build-libiberty=all
2293 maybe-all-build-libiberty: all-build-libiberty
2294 all-build-libiberty: configure-build-libiberty
2295 @: $(MAKE); $(unstage)
2296 @r=`${PWD_COMMAND}`; export r; \
2297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2298 $(BUILD_EXPORTS) \
2299 (cd $(BUILD_SUBDIR)/libiberty && \
2300 $(MAKE) $(TARGET-build-libiberty))
2301 @endif build-libiberty
2307 .PHONY: configure-build-bison maybe-configure-build-bison
2308 maybe-configure-build-bison:
2309 @if build-bison
2310 maybe-configure-build-bison: configure-build-bison
2311 configure-build-bison:
2312 @: $(MAKE); $(unstage)
2313 @r=`${PWD_COMMAND}`; export r; \
2314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2315 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2316 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2317 $(BUILD_EXPORTS) \
2318 echo Configuring in $(BUILD_SUBDIR)/bison; \
2319 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2320 case $(srcdir) in \
2321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2322 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2324 esac; \
2325 srcdiroption="--srcdir=$${topdir}/bison"; \
2326 libsrcdir="$$s/bison"; \
2327 rm -f no-such-file || : ; \
2328 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2329 $(BUILD_CONFIGARGS) $${srcdiroption} \
2330 || exit 1
2331 @endif build-bison
2337 .PHONY: all-build-bison maybe-all-build-bison
2338 maybe-all-build-bison:
2339 @if build-bison
2340 TARGET-build-bison=all
2341 maybe-all-build-bison: all-build-bison
2342 all-build-bison: configure-build-bison
2343 @: $(MAKE); $(unstage)
2344 @r=`${PWD_COMMAND}`; export r; \
2345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2346 $(BUILD_EXPORTS) \
2347 (cd $(BUILD_SUBDIR)/bison && \
2348 $(MAKE) $(TARGET-build-bison))
2349 @endif build-bison
2355 .PHONY: configure-build-byacc maybe-configure-build-byacc
2356 maybe-configure-build-byacc:
2357 @if build-byacc
2358 maybe-configure-build-byacc: configure-build-byacc
2359 configure-build-byacc:
2360 @: $(MAKE); $(unstage)
2361 @r=`${PWD_COMMAND}`; export r; \
2362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2363 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2364 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2365 $(BUILD_EXPORTS) \
2366 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2367 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2368 case $(srcdir) in \
2369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2370 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2372 esac; \
2373 srcdiroption="--srcdir=$${topdir}/byacc"; \
2374 libsrcdir="$$s/byacc"; \
2375 rm -f no-such-file || : ; \
2376 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2377 $(BUILD_CONFIGARGS) $${srcdiroption} \
2378 || exit 1
2379 @endif build-byacc
2385 .PHONY: all-build-byacc maybe-all-build-byacc
2386 maybe-all-build-byacc:
2387 @if build-byacc
2388 TARGET-build-byacc=all
2389 maybe-all-build-byacc: all-build-byacc
2390 all-build-byacc: configure-build-byacc
2391 @: $(MAKE); $(unstage)
2392 @r=`${PWD_COMMAND}`; export r; \
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 $(BUILD_EXPORTS) \
2395 (cd $(BUILD_SUBDIR)/byacc && \
2396 $(MAKE) $(TARGET-build-byacc))
2397 @endif build-byacc
2403 .PHONY: configure-build-flex maybe-configure-build-flex
2404 maybe-configure-build-flex:
2405 @if build-flex
2406 maybe-configure-build-flex: configure-build-flex
2407 configure-build-flex:
2408 @: $(MAKE); $(unstage)
2409 @r=`${PWD_COMMAND}`; export r; \
2410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2411 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2412 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2413 $(BUILD_EXPORTS) \
2414 echo Configuring in $(BUILD_SUBDIR)/flex; \
2415 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2416 case $(srcdir) in \
2417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2418 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2420 esac; \
2421 srcdiroption="--srcdir=$${topdir}/flex"; \
2422 libsrcdir="$$s/flex"; \
2423 rm -f no-such-file || : ; \
2424 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2425 $(BUILD_CONFIGARGS) $${srcdiroption} \
2426 || exit 1
2427 @endif build-flex
2433 .PHONY: all-build-flex maybe-all-build-flex
2434 maybe-all-build-flex:
2435 @if build-flex
2436 TARGET-build-flex=all
2437 maybe-all-build-flex: all-build-flex
2438 all-build-flex: configure-build-flex
2439 @: $(MAKE); $(unstage)
2440 @r=`${PWD_COMMAND}`; export r; \
2441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2442 $(BUILD_EXPORTS) \
2443 (cd $(BUILD_SUBDIR)/flex && \
2444 $(MAKE) $(TARGET-build-flex))
2445 @endif build-flex
2451 .PHONY: configure-build-m4 maybe-configure-build-m4
2452 maybe-configure-build-m4:
2453 @if build-m4
2454 maybe-configure-build-m4: configure-build-m4
2455 configure-build-m4:
2456 @: $(MAKE); $(unstage)
2457 @r=`${PWD_COMMAND}`; export r; \
2458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2459 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2460 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2461 $(BUILD_EXPORTS) \
2462 echo Configuring in $(BUILD_SUBDIR)/m4; \
2463 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2464 case $(srcdir) in \
2465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2466 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2468 esac; \
2469 srcdiroption="--srcdir=$${topdir}/m4"; \
2470 libsrcdir="$$s/m4"; \
2471 rm -f no-such-file || : ; \
2472 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2473 $(BUILD_CONFIGARGS) $${srcdiroption} \
2474 || exit 1
2475 @endif build-m4
2481 .PHONY: all-build-m4 maybe-all-build-m4
2482 maybe-all-build-m4:
2483 @if build-m4
2484 TARGET-build-m4=all
2485 maybe-all-build-m4: all-build-m4
2486 all-build-m4: configure-build-m4
2487 @: $(MAKE); $(unstage)
2488 @r=`${PWD_COMMAND}`; export r; \
2489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2490 $(BUILD_EXPORTS) \
2491 (cd $(BUILD_SUBDIR)/m4 && \
2492 $(MAKE) $(TARGET-build-m4))
2493 @endif build-m4
2499 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2500 maybe-configure-build-texinfo:
2501 @if build-texinfo
2502 maybe-configure-build-texinfo: configure-build-texinfo
2503 configure-build-texinfo:
2504 @: $(MAKE); $(unstage)
2505 @r=`${PWD_COMMAND}`; export r; \
2506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2507 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2508 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2509 $(BUILD_EXPORTS) \
2510 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2511 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2512 case $(srcdir) in \
2513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2514 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2516 esac; \
2517 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2518 libsrcdir="$$s/texinfo"; \
2519 rm -f no-such-file || : ; \
2520 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2521 $(BUILD_CONFIGARGS) $${srcdiroption} \
2522 || exit 1
2523 @endif build-texinfo
2529 .PHONY: all-build-texinfo maybe-all-build-texinfo
2530 maybe-all-build-texinfo:
2531 @if build-texinfo
2532 TARGET-build-texinfo=all
2533 maybe-all-build-texinfo: all-build-texinfo
2534 all-build-texinfo: configure-build-texinfo
2535 @: $(MAKE); $(unstage)
2536 @r=`${PWD_COMMAND}`; export r; \
2537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2538 $(BUILD_EXPORTS) \
2539 (cd $(BUILD_SUBDIR)/texinfo && \
2540 $(MAKE) $(TARGET-build-texinfo))
2541 @endif build-texinfo
2547 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2548 maybe-configure-build-fixincludes:
2549 @if build-fixincludes
2550 maybe-configure-build-fixincludes: configure-build-fixincludes
2551 configure-build-fixincludes:
2552 @: $(MAKE); $(unstage)
2553 @r=`${PWD_COMMAND}`; export r; \
2554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2556 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2557 $(BUILD_EXPORTS) \
2558 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2559 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2560 case $(srcdir) in \
2561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2562 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2564 esac; \
2565 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2566 libsrcdir="$$s/fixincludes"; \
2567 rm -f no-such-file || : ; \
2568 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2569 $(BUILD_CONFIGARGS) $${srcdiroption} \
2570 || exit 1
2571 @endif build-fixincludes
2577 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2578 maybe-all-build-fixincludes:
2579 @if build-fixincludes
2580 TARGET-build-fixincludes=all
2581 maybe-all-build-fixincludes: all-build-fixincludes
2582 all-build-fixincludes: configure-build-fixincludes
2583 @: $(MAKE); $(unstage)
2584 @r=`${PWD_COMMAND}`; export r; \
2585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2586 $(BUILD_EXPORTS) \
2587 (cd $(BUILD_SUBDIR)/fixincludes && \
2588 $(MAKE) $(TARGET-build-fixincludes))
2589 @endif build-fixincludes
2595 # --------------------------------------
2596 # Modules which run on the host machine
2597 # --------------------------------------
2600 .PHONY: configure-ash maybe-configure-ash
2601 maybe-configure-ash:
2602 @if ash
2603 maybe-configure-ash: configure-ash
2604 configure-ash:
2605 @: $(MAKE); $(unstage)
2606 @r=`${PWD_COMMAND}`; export r; \
2607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2608 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2609 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2610 $(HOST_EXPORTS) \
2611 echo Configuring in $(HOST_SUBDIR)/ash; \
2612 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2613 case $(srcdir) in \
2614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2615 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2617 esac; \
2618 srcdiroption="--srcdir=$${topdir}/ash"; \
2619 libsrcdir="$$s/ash"; \
2620 $(SHELL) $${libsrcdir}/configure \
2621 $(HOST_CONFIGARGS) $${srcdiroption} \
2622 || exit 1
2623 @endif ash
2629 .PHONY: all-ash maybe-all-ash
2630 maybe-all-ash:
2631 @if ash
2632 TARGET-ash=all
2633 maybe-all-ash: all-ash
2634 all-ash: configure-ash
2635 @: $(MAKE); $(unstage)
2636 @r=`${PWD_COMMAND}`; export r; \
2637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2638 $(HOST_EXPORTS) \
2639 (cd $(HOST_SUBDIR)/ash && \
2640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2641 @endif ash
2646 .PHONY: check-ash maybe-check-ash
2647 maybe-check-ash:
2648 @if ash
2649 maybe-check-ash: check-ash
2651 check-ash:
2652 @: $(MAKE); $(unstage)
2653 @r=`${PWD_COMMAND}`; export r; \
2654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2655 $(HOST_EXPORTS) \
2656 (cd $(HOST_SUBDIR)/ash && \
2657 $(MAKE) $(FLAGS_TO_PASS) check)
2659 @endif ash
2661 .PHONY: install-ash maybe-install-ash
2662 maybe-install-ash:
2663 @if ash
2664 maybe-install-ash: install-ash
2666 install-ash: installdirs
2667 @: $(MAKE); $(unstage)
2668 @r=`${PWD_COMMAND}`; export r; \
2669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2670 $(HOST_EXPORTS) \
2671 (cd $(HOST_SUBDIR)/ash && \
2672 $(MAKE) $(FLAGS_TO_PASS) install)
2674 @endif ash
2676 # Other targets (info, dvi, etc.)
2678 .PHONY: maybe-info-ash info-ash
2679 maybe-info-ash:
2680 @if ash
2681 maybe-info-ash: info-ash
2683 info-ash: \
2684 configure-ash
2685 @: $(MAKE); $(unstage)
2686 @[ -f ./ash/Makefile ] || exit 0; \
2687 r=`${PWD_COMMAND}`; export r; \
2688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2689 $(HOST_EXPORTS) \
2690 for flag in $(EXTRA_HOST_FLAGS) ; do \
2691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2692 done; \
2693 echo "Doing info in ash" ; \
2694 (cd $(HOST_SUBDIR)/ash && \
2695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2697 "RANLIB=$${RANLIB}" \
2698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2699 info) \
2700 || exit 1
2702 @endif ash
2704 .PHONY: maybe-dvi-ash dvi-ash
2705 maybe-dvi-ash:
2706 @if ash
2707 maybe-dvi-ash: dvi-ash
2709 dvi-ash: \
2710 configure-ash
2711 @: $(MAKE); $(unstage)
2712 @[ -f ./ash/Makefile ] || exit 0; \
2713 r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 $(HOST_EXPORTS) \
2716 for flag in $(EXTRA_HOST_FLAGS) ; do \
2717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2718 done; \
2719 echo "Doing dvi in ash" ; \
2720 (cd $(HOST_SUBDIR)/ash && \
2721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2723 "RANLIB=$${RANLIB}" \
2724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2725 dvi) \
2726 || exit 1
2728 @endif ash
2730 .PHONY: maybe-html-ash html-ash
2731 maybe-html-ash:
2732 @if ash
2733 maybe-html-ash: html-ash
2735 html-ash: \
2736 configure-ash
2737 @: $(MAKE); $(unstage)
2738 @[ -f ./ash/Makefile ] || exit 0; \
2739 r=`${PWD_COMMAND}`; export r; \
2740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2741 $(HOST_EXPORTS) \
2742 for flag in $(EXTRA_HOST_FLAGS) ; do \
2743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2744 done; \
2745 echo "Doing html in ash" ; \
2746 (cd $(HOST_SUBDIR)/ash && \
2747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2749 "RANLIB=$${RANLIB}" \
2750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2751 html) \
2752 || exit 1
2754 @endif ash
2756 .PHONY: maybe-TAGS-ash TAGS-ash
2757 maybe-TAGS-ash:
2758 @if ash
2759 maybe-TAGS-ash: TAGS-ash
2761 TAGS-ash: \
2762 configure-ash
2763 @: $(MAKE); $(unstage)
2764 @[ -f ./ash/Makefile ] || exit 0; \
2765 r=`${PWD_COMMAND}`; export r; \
2766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2767 $(HOST_EXPORTS) \
2768 for flag in $(EXTRA_HOST_FLAGS) ; do \
2769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2770 done; \
2771 echo "Doing TAGS in ash" ; \
2772 (cd $(HOST_SUBDIR)/ash && \
2773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2775 "RANLIB=$${RANLIB}" \
2776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2777 TAGS) \
2778 || exit 1
2780 @endif ash
2782 .PHONY: maybe-install-info-ash install-info-ash
2783 maybe-install-info-ash:
2784 @if ash
2785 maybe-install-info-ash: install-info-ash
2787 install-info-ash: \
2788 configure-ash \
2789 info-ash
2790 @: $(MAKE); $(unstage)
2791 @[ -f ./ash/Makefile ] || exit 0; \
2792 r=`${PWD_COMMAND}`; export r; \
2793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2794 $(HOST_EXPORTS) \
2795 for flag in $(EXTRA_HOST_FLAGS) ; do \
2796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2797 done; \
2798 echo "Doing install-info in ash" ; \
2799 (cd $(HOST_SUBDIR)/ash && \
2800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2802 "RANLIB=$${RANLIB}" \
2803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2804 install-info) \
2805 || exit 1
2807 @endif ash
2809 .PHONY: maybe-installcheck-ash installcheck-ash
2810 maybe-installcheck-ash:
2811 @if ash
2812 maybe-installcheck-ash: installcheck-ash
2814 installcheck-ash: \
2815 configure-ash
2816 @: $(MAKE); $(unstage)
2817 @[ -f ./ash/Makefile ] || exit 0; \
2818 r=`${PWD_COMMAND}`; export r; \
2819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2820 $(HOST_EXPORTS) \
2821 for flag in $(EXTRA_HOST_FLAGS) ; do \
2822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2823 done; \
2824 echo "Doing installcheck in ash" ; \
2825 (cd $(HOST_SUBDIR)/ash && \
2826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2828 "RANLIB=$${RANLIB}" \
2829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2830 installcheck) \
2831 || exit 1
2833 @endif ash
2835 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2836 maybe-mostlyclean-ash:
2837 @if ash
2838 maybe-mostlyclean-ash: mostlyclean-ash
2840 mostlyclean-ash:
2841 @: $(MAKE); $(unstage)
2842 @[ -f ./ash/Makefile ] || exit 0; \
2843 r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 $(HOST_EXPORTS) \
2846 for flag in $(EXTRA_HOST_FLAGS) ; do \
2847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2848 done; \
2849 echo "Doing mostlyclean in ash" ; \
2850 (cd $(HOST_SUBDIR)/ash && \
2851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2853 "RANLIB=$${RANLIB}" \
2854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2855 mostlyclean) \
2856 || exit 1
2858 @endif ash
2860 .PHONY: maybe-clean-ash clean-ash
2861 maybe-clean-ash:
2862 @if ash
2863 maybe-clean-ash: clean-ash
2865 clean-ash:
2866 @: $(MAKE); $(unstage)
2867 @[ -f ./ash/Makefile ] || exit 0; \
2868 r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 $(HOST_EXPORTS) \
2871 for flag in $(EXTRA_HOST_FLAGS) ; do \
2872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2873 done; \
2874 echo "Doing clean in ash" ; \
2875 (cd $(HOST_SUBDIR)/ash && \
2876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2878 "RANLIB=$${RANLIB}" \
2879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2880 clean) \
2881 || exit 1
2883 @endif ash
2885 .PHONY: maybe-distclean-ash distclean-ash
2886 maybe-distclean-ash:
2887 @if ash
2888 maybe-distclean-ash: distclean-ash
2890 distclean-ash:
2891 @: $(MAKE); $(unstage)
2892 @[ -f ./ash/Makefile ] || exit 0; \
2893 r=`${PWD_COMMAND}`; export r; \
2894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2895 $(HOST_EXPORTS) \
2896 for flag in $(EXTRA_HOST_FLAGS) ; do \
2897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2898 done; \
2899 echo "Doing distclean in ash" ; \
2900 (cd $(HOST_SUBDIR)/ash && \
2901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2903 "RANLIB=$${RANLIB}" \
2904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2905 distclean) \
2906 || exit 1
2908 @endif ash
2910 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2911 maybe-maintainer-clean-ash:
2912 @if ash
2913 maybe-maintainer-clean-ash: maintainer-clean-ash
2915 maintainer-clean-ash:
2916 @: $(MAKE); $(unstage)
2917 @[ -f ./ash/Makefile ] || exit 0; \
2918 r=`${PWD_COMMAND}`; export r; \
2919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2920 $(HOST_EXPORTS) \
2921 for flag in $(EXTRA_HOST_FLAGS) ; do \
2922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2923 done; \
2924 echo "Doing maintainer-clean in ash" ; \
2925 (cd $(HOST_SUBDIR)/ash && \
2926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2928 "RANLIB=$${RANLIB}" \
2929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2930 maintainer-clean) \
2931 || exit 1
2933 @endif ash
2937 .PHONY: configure-autoconf maybe-configure-autoconf
2938 maybe-configure-autoconf:
2939 @if autoconf
2940 maybe-configure-autoconf: configure-autoconf
2941 configure-autoconf:
2942 @: $(MAKE); $(unstage)
2943 @r=`${PWD_COMMAND}`; export r; \
2944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2945 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2947 $(HOST_EXPORTS) \
2948 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2949 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2950 case $(srcdir) in \
2951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2952 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2954 esac; \
2955 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2956 libsrcdir="$$s/autoconf"; \
2957 $(SHELL) $${libsrcdir}/configure \
2958 $(HOST_CONFIGARGS) $${srcdiroption} \
2959 || exit 1
2960 @endif autoconf
2966 .PHONY: all-autoconf maybe-all-autoconf
2967 maybe-all-autoconf:
2968 @if autoconf
2969 TARGET-autoconf=all
2970 maybe-all-autoconf: all-autoconf
2971 all-autoconf: configure-autoconf
2972 @: $(MAKE); $(unstage)
2973 @r=`${PWD_COMMAND}`; export r; \
2974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2975 $(HOST_EXPORTS) \
2976 (cd $(HOST_SUBDIR)/autoconf && \
2977 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2978 @endif autoconf
2983 .PHONY: check-autoconf maybe-check-autoconf
2984 maybe-check-autoconf:
2985 @if autoconf
2986 maybe-check-autoconf: check-autoconf
2988 check-autoconf:
2989 @: $(MAKE); $(unstage)
2990 @r=`${PWD_COMMAND}`; export r; \
2991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2992 $(HOST_EXPORTS) \
2993 (cd $(HOST_SUBDIR)/autoconf && \
2994 $(MAKE) $(FLAGS_TO_PASS) check)
2996 @endif autoconf
2998 .PHONY: install-autoconf maybe-install-autoconf
2999 maybe-install-autoconf:
3000 @if autoconf
3001 maybe-install-autoconf: install-autoconf
3003 install-autoconf: installdirs
3004 @: $(MAKE); $(unstage)
3005 @r=`${PWD_COMMAND}`; export r; \
3006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3007 $(HOST_EXPORTS) \
3008 (cd $(HOST_SUBDIR)/autoconf && \
3009 $(MAKE) $(FLAGS_TO_PASS) install)
3011 @endif autoconf
3013 # Other targets (info, dvi, etc.)
3015 .PHONY: maybe-info-autoconf info-autoconf
3016 maybe-info-autoconf:
3017 @if autoconf
3018 maybe-info-autoconf: info-autoconf
3020 info-autoconf: \
3021 configure-autoconf
3022 @: $(MAKE); $(unstage)
3023 @[ -f ./autoconf/Makefile ] || exit 0; \
3024 r=`${PWD_COMMAND}`; export r; \
3025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 $(HOST_EXPORTS) \
3027 for flag in $(EXTRA_HOST_FLAGS) ; do \
3028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3029 done; \
3030 echo "Doing info in autoconf" ; \
3031 (cd $(HOST_SUBDIR)/autoconf && \
3032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3034 "RANLIB=$${RANLIB}" \
3035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3036 info) \
3037 || exit 1
3039 @endif autoconf
3041 .PHONY: maybe-dvi-autoconf dvi-autoconf
3042 maybe-dvi-autoconf:
3043 @if autoconf
3044 maybe-dvi-autoconf: dvi-autoconf
3046 dvi-autoconf: \
3047 configure-autoconf
3048 @: $(MAKE); $(unstage)
3049 @[ -f ./autoconf/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3052 $(HOST_EXPORTS) \
3053 for flag in $(EXTRA_HOST_FLAGS) ; do \
3054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3055 done; \
3056 echo "Doing dvi in autoconf" ; \
3057 (cd $(HOST_SUBDIR)/autoconf && \
3058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3060 "RANLIB=$${RANLIB}" \
3061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3062 dvi) \
3063 || exit 1
3065 @endif autoconf
3067 .PHONY: maybe-html-autoconf html-autoconf
3068 maybe-html-autoconf:
3069 @if autoconf
3070 maybe-html-autoconf: html-autoconf
3072 html-autoconf: \
3073 configure-autoconf
3074 @: $(MAKE); $(unstage)
3075 @[ -f ./autoconf/Makefile ] || exit 0; \
3076 r=`${PWD_COMMAND}`; export r; \
3077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3078 $(HOST_EXPORTS) \
3079 for flag in $(EXTRA_HOST_FLAGS) ; do \
3080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3081 done; \
3082 echo "Doing html in autoconf" ; \
3083 (cd $(HOST_SUBDIR)/autoconf && \
3084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3086 "RANLIB=$${RANLIB}" \
3087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3088 html) \
3089 || exit 1
3091 @endif autoconf
3093 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3094 maybe-TAGS-autoconf:
3095 @if autoconf
3096 maybe-TAGS-autoconf: TAGS-autoconf
3098 TAGS-autoconf: \
3099 configure-autoconf
3100 @: $(MAKE); $(unstage)
3101 @[ -f ./autoconf/Makefile ] || exit 0; \
3102 r=`${PWD_COMMAND}`; export r; \
3103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 $(HOST_EXPORTS) \
3105 for flag in $(EXTRA_HOST_FLAGS) ; do \
3106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3107 done; \
3108 echo "Doing TAGS in autoconf" ; \
3109 (cd $(HOST_SUBDIR)/autoconf && \
3110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3112 "RANLIB=$${RANLIB}" \
3113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3114 TAGS) \
3115 || exit 1
3117 @endif autoconf
3119 .PHONY: maybe-install-info-autoconf install-info-autoconf
3120 maybe-install-info-autoconf:
3121 @if autoconf
3122 maybe-install-info-autoconf: install-info-autoconf
3124 install-info-autoconf: \
3125 configure-autoconf \
3126 info-autoconf
3127 @: $(MAKE); $(unstage)
3128 @[ -f ./autoconf/Makefile ] || exit 0; \
3129 r=`${PWD_COMMAND}`; export r; \
3130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3131 $(HOST_EXPORTS) \
3132 for flag in $(EXTRA_HOST_FLAGS) ; do \
3133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3134 done; \
3135 echo "Doing install-info in autoconf" ; \
3136 (cd $(HOST_SUBDIR)/autoconf && \
3137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3139 "RANLIB=$${RANLIB}" \
3140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3141 install-info) \
3142 || exit 1
3144 @endif autoconf
3146 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3147 maybe-installcheck-autoconf:
3148 @if autoconf
3149 maybe-installcheck-autoconf: installcheck-autoconf
3151 installcheck-autoconf: \
3152 configure-autoconf
3153 @: $(MAKE); $(unstage)
3154 @[ -f ./autoconf/Makefile ] || exit 0; \
3155 r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 $(HOST_EXPORTS) \
3158 for flag in $(EXTRA_HOST_FLAGS) ; do \
3159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3160 done; \
3161 echo "Doing installcheck in autoconf" ; \
3162 (cd $(HOST_SUBDIR)/autoconf && \
3163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3165 "RANLIB=$${RANLIB}" \
3166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3167 installcheck) \
3168 || exit 1
3170 @endif autoconf
3172 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3173 maybe-mostlyclean-autoconf:
3174 @if autoconf
3175 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3177 mostlyclean-autoconf:
3178 @: $(MAKE); $(unstage)
3179 @[ -f ./autoconf/Makefile ] || exit 0; \
3180 r=`${PWD_COMMAND}`; export r; \
3181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3182 $(HOST_EXPORTS) \
3183 for flag in $(EXTRA_HOST_FLAGS) ; do \
3184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3185 done; \
3186 echo "Doing mostlyclean in autoconf" ; \
3187 (cd $(HOST_SUBDIR)/autoconf && \
3188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3190 "RANLIB=$${RANLIB}" \
3191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3192 mostlyclean) \
3193 || exit 1
3195 @endif autoconf
3197 .PHONY: maybe-clean-autoconf clean-autoconf
3198 maybe-clean-autoconf:
3199 @if autoconf
3200 maybe-clean-autoconf: clean-autoconf
3202 clean-autoconf:
3203 @: $(MAKE); $(unstage)
3204 @[ -f ./autoconf/Makefile ] || exit 0; \
3205 r=`${PWD_COMMAND}`; export r; \
3206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3207 $(HOST_EXPORTS) \
3208 for flag in $(EXTRA_HOST_FLAGS) ; do \
3209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3210 done; \
3211 echo "Doing clean in autoconf" ; \
3212 (cd $(HOST_SUBDIR)/autoconf && \
3213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3215 "RANLIB=$${RANLIB}" \
3216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3217 clean) \
3218 || exit 1
3220 @endif autoconf
3222 .PHONY: maybe-distclean-autoconf distclean-autoconf
3223 maybe-distclean-autoconf:
3224 @if autoconf
3225 maybe-distclean-autoconf: distclean-autoconf
3227 distclean-autoconf:
3228 @: $(MAKE); $(unstage)
3229 @[ -f ./autoconf/Makefile ] || exit 0; \
3230 r=`${PWD_COMMAND}`; export r; \
3231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3232 $(HOST_EXPORTS) \
3233 for flag in $(EXTRA_HOST_FLAGS) ; do \
3234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3235 done; \
3236 echo "Doing distclean in autoconf" ; \
3237 (cd $(HOST_SUBDIR)/autoconf && \
3238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3240 "RANLIB=$${RANLIB}" \
3241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3242 distclean) \
3243 || exit 1
3245 @endif autoconf
3247 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3248 maybe-maintainer-clean-autoconf:
3249 @if autoconf
3250 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3252 maintainer-clean-autoconf:
3253 @: $(MAKE); $(unstage)
3254 @[ -f ./autoconf/Makefile ] || exit 0; \
3255 r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 $(HOST_EXPORTS) \
3258 for flag in $(EXTRA_HOST_FLAGS) ; do \
3259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3260 done; \
3261 echo "Doing maintainer-clean in autoconf" ; \
3262 (cd $(HOST_SUBDIR)/autoconf && \
3263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3265 "RANLIB=$${RANLIB}" \
3266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3267 maintainer-clean) \
3268 || exit 1
3270 @endif autoconf
3274 .PHONY: configure-automake maybe-configure-automake
3275 maybe-configure-automake:
3276 @if automake
3277 maybe-configure-automake: configure-automake
3278 configure-automake:
3279 @: $(MAKE); $(unstage)
3280 @r=`${PWD_COMMAND}`; export r; \
3281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3282 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3284 $(HOST_EXPORTS) \
3285 echo Configuring in $(HOST_SUBDIR)/automake; \
3286 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3287 case $(srcdir) in \
3288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3289 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3291 esac; \
3292 srcdiroption="--srcdir=$${topdir}/automake"; \
3293 libsrcdir="$$s/automake"; \
3294 $(SHELL) $${libsrcdir}/configure \
3295 $(HOST_CONFIGARGS) $${srcdiroption} \
3296 || exit 1
3297 @endif automake
3303 .PHONY: all-automake maybe-all-automake
3304 maybe-all-automake:
3305 @if automake
3306 TARGET-automake=all
3307 maybe-all-automake: all-automake
3308 all-automake: configure-automake
3309 @: $(MAKE); $(unstage)
3310 @r=`${PWD_COMMAND}`; export r; \
3311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3312 $(HOST_EXPORTS) \
3313 (cd $(HOST_SUBDIR)/automake && \
3314 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3315 @endif automake
3320 .PHONY: check-automake maybe-check-automake
3321 maybe-check-automake:
3322 @if automake
3323 maybe-check-automake: check-automake
3325 check-automake:
3326 @: $(MAKE); $(unstage)
3327 @r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 $(HOST_EXPORTS) \
3330 (cd $(HOST_SUBDIR)/automake && \
3331 $(MAKE) $(FLAGS_TO_PASS) check)
3333 @endif automake
3335 .PHONY: install-automake maybe-install-automake
3336 maybe-install-automake:
3337 @if automake
3338 maybe-install-automake: install-automake
3340 install-automake: installdirs
3341 @: $(MAKE); $(unstage)
3342 @r=`${PWD_COMMAND}`; export r; \
3343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3344 $(HOST_EXPORTS) \
3345 (cd $(HOST_SUBDIR)/automake && \
3346 $(MAKE) $(FLAGS_TO_PASS) install)
3348 @endif automake
3350 # Other targets (info, dvi, etc.)
3352 .PHONY: maybe-info-automake info-automake
3353 maybe-info-automake:
3354 @if automake
3355 maybe-info-automake: info-automake
3357 info-automake: \
3358 configure-automake
3359 @: $(MAKE); $(unstage)
3360 @[ -f ./automake/Makefile ] || exit 0; \
3361 r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3363 $(HOST_EXPORTS) \
3364 for flag in $(EXTRA_HOST_FLAGS) ; do \
3365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3366 done; \
3367 echo "Doing info in automake" ; \
3368 (cd $(HOST_SUBDIR)/automake && \
3369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3371 "RANLIB=$${RANLIB}" \
3372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3373 info) \
3374 || exit 1
3376 @endif automake
3378 .PHONY: maybe-dvi-automake dvi-automake
3379 maybe-dvi-automake:
3380 @if automake
3381 maybe-dvi-automake: dvi-automake
3383 dvi-automake: \
3384 configure-automake
3385 @: $(MAKE); $(unstage)
3386 @[ -f ./automake/Makefile ] || exit 0; \
3387 r=`${PWD_COMMAND}`; export r; \
3388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3389 $(HOST_EXPORTS) \
3390 for flag in $(EXTRA_HOST_FLAGS) ; do \
3391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3392 done; \
3393 echo "Doing dvi in automake" ; \
3394 (cd $(HOST_SUBDIR)/automake && \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3397 "RANLIB=$${RANLIB}" \
3398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3399 dvi) \
3400 || exit 1
3402 @endif automake
3404 .PHONY: maybe-html-automake html-automake
3405 maybe-html-automake:
3406 @if automake
3407 maybe-html-automake: html-automake
3409 html-automake: \
3410 configure-automake
3411 @: $(MAKE); $(unstage)
3412 @[ -f ./automake/Makefile ] || exit 0; \
3413 r=`${PWD_COMMAND}`; export r; \
3414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3415 $(HOST_EXPORTS) \
3416 for flag in $(EXTRA_HOST_FLAGS) ; do \
3417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3418 done; \
3419 echo "Doing html in automake" ; \
3420 (cd $(HOST_SUBDIR)/automake && \
3421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3423 "RANLIB=$${RANLIB}" \
3424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3425 html) \
3426 || exit 1
3428 @endif automake
3430 .PHONY: maybe-TAGS-automake TAGS-automake
3431 maybe-TAGS-automake:
3432 @if automake
3433 maybe-TAGS-automake: TAGS-automake
3435 TAGS-automake: \
3436 configure-automake
3437 @: $(MAKE); $(unstage)
3438 @[ -f ./automake/Makefile ] || exit 0; \
3439 r=`${PWD_COMMAND}`; export r; \
3440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3441 $(HOST_EXPORTS) \
3442 for flag in $(EXTRA_HOST_FLAGS) ; do \
3443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3444 done; \
3445 echo "Doing TAGS in automake" ; \
3446 (cd $(HOST_SUBDIR)/automake && \
3447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3449 "RANLIB=$${RANLIB}" \
3450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3451 TAGS) \
3452 || exit 1
3454 @endif automake
3456 .PHONY: maybe-install-info-automake install-info-automake
3457 maybe-install-info-automake:
3458 @if automake
3459 maybe-install-info-automake: install-info-automake
3461 install-info-automake: \
3462 configure-automake \
3463 info-automake
3464 @: $(MAKE); $(unstage)
3465 @[ -f ./automake/Makefile ] || exit 0; \
3466 r=`${PWD_COMMAND}`; export r; \
3467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3468 $(HOST_EXPORTS) \
3469 for flag in $(EXTRA_HOST_FLAGS) ; do \
3470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3471 done; \
3472 echo "Doing install-info in automake" ; \
3473 (cd $(HOST_SUBDIR)/automake && \
3474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3476 "RANLIB=$${RANLIB}" \
3477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3478 install-info) \
3479 || exit 1
3481 @endif automake
3483 .PHONY: maybe-installcheck-automake installcheck-automake
3484 maybe-installcheck-automake:
3485 @if automake
3486 maybe-installcheck-automake: installcheck-automake
3488 installcheck-automake: \
3489 configure-automake
3490 @: $(MAKE); $(unstage)
3491 @[ -f ./automake/Makefile ] || exit 0; \
3492 r=`${PWD_COMMAND}`; export r; \
3493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3494 $(HOST_EXPORTS) \
3495 for flag in $(EXTRA_HOST_FLAGS) ; do \
3496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3497 done; \
3498 echo "Doing installcheck in automake" ; \
3499 (cd $(HOST_SUBDIR)/automake && \
3500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3502 "RANLIB=$${RANLIB}" \
3503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3504 installcheck) \
3505 || exit 1
3507 @endif automake
3509 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3510 maybe-mostlyclean-automake:
3511 @if automake
3512 maybe-mostlyclean-automake: mostlyclean-automake
3514 mostlyclean-automake:
3515 @: $(MAKE); $(unstage)
3516 @[ -f ./automake/Makefile ] || exit 0; \
3517 r=`${PWD_COMMAND}`; export r; \
3518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3519 $(HOST_EXPORTS) \
3520 for flag in $(EXTRA_HOST_FLAGS) ; do \
3521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3522 done; \
3523 echo "Doing mostlyclean in automake" ; \
3524 (cd $(HOST_SUBDIR)/automake && \
3525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3527 "RANLIB=$${RANLIB}" \
3528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3529 mostlyclean) \
3530 || exit 1
3532 @endif automake
3534 .PHONY: maybe-clean-automake clean-automake
3535 maybe-clean-automake:
3536 @if automake
3537 maybe-clean-automake: clean-automake
3539 clean-automake:
3540 @: $(MAKE); $(unstage)
3541 @[ -f ./automake/Makefile ] || exit 0; \
3542 r=`${PWD_COMMAND}`; export r; \
3543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3544 $(HOST_EXPORTS) \
3545 for flag in $(EXTRA_HOST_FLAGS) ; do \
3546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3547 done; \
3548 echo "Doing clean in automake" ; \
3549 (cd $(HOST_SUBDIR)/automake && \
3550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3552 "RANLIB=$${RANLIB}" \
3553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3554 clean) \
3555 || exit 1
3557 @endif automake
3559 .PHONY: maybe-distclean-automake distclean-automake
3560 maybe-distclean-automake:
3561 @if automake
3562 maybe-distclean-automake: distclean-automake
3564 distclean-automake:
3565 @: $(MAKE); $(unstage)
3566 @[ -f ./automake/Makefile ] || exit 0; \
3567 r=`${PWD_COMMAND}`; export r; \
3568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3569 $(HOST_EXPORTS) \
3570 for flag in $(EXTRA_HOST_FLAGS) ; do \
3571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3572 done; \
3573 echo "Doing distclean in automake" ; \
3574 (cd $(HOST_SUBDIR)/automake && \
3575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3577 "RANLIB=$${RANLIB}" \
3578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3579 distclean) \
3580 || exit 1
3582 @endif automake
3584 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3585 maybe-maintainer-clean-automake:
3586 @if automake
3587 maybe-maintainer-clean-automake: maintainer-clean-automake
3589 maintainer-clean-automake:
3590 @: $(MAKE); $(unstage)
3591 @[ -f ./automake/Makefile ] || exit 0; \
3592 r=`${PWD_COMMAND}`; export r; \
3593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3594 $(HOST_EXPORTS) \
3595 for flag in $(EXTRA_HOST_FLAGS) ; do \
3596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3597 done; \
3598 echo "Doing maintainer-clean in automake" ; \
3599 (cd $(HOST_SUBDIR)/automake && \
3600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3602 "RANLIB=$${RANLIB}" \
3603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3604 maintainer-clean) \
3605 || exit 1
3607 @endif automake
3611 .PHONY: configure-bash maybe-configure-bash
3612 maybe-configure-bash:
3613 @if bash
3614 maybe-configure-bash: configure-bash
3615 configure-bash:
3616 @: $(MAKE); $(unstage)
3617 @r=`${PWD_COMMAND}`; export r; \
3618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3619 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3621 $(HOST_EXPORTS) \
3622 echo Configuring in $(HOST_SUBDIR)/bash; \
3623 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3624 case $(srcdir) in \
3625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3626 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3628 esac; \
3629 srcdiroption="--srcdir=$${topdir}/bash"; \
3630 libsrcdir="$$s/bash"; \
3631 $(SHELL) $${libsrcdir}/configure \
3632 $(HOST_CONFIGARGS) $${srcdiroption} \
3633 || exit 1
3634 @endif bash
3640 .PHONY: all-bash maybe-all-bash
3641 maybe-all-bash:
3642 @if bash
3643 TARGET-bash=all
3644 maybe-all-bash: all-bash
3645 all-bash: configure-bash
3646 @: $(MAKE); $(unstage)
3647 @r=`${PWD_COMMAND}`; export r; \
3648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3649 $(HOST_EXPORTS) \
3650 (cd $(HOST_SUBDIR)/bash && \
3651 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3652 @endif bash
3657 .PHONY: check-bash maybe-check-bash
3658 maybe-check-bash:
3659 @if bash
3660 maybe-check-bash: check-bash
3662 check-bash:
3663 @: $(MAKE); $(unstage)
3664 @r=`${PWD_COMMAND}`; export r; \
3665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 $(HOST_EXPORTS) \
3667 (cd $(HOST_SUBDIR)/bash && \
3668 $(MAKE) $(FLAGS_TO_PASS) check)
3670 @endif bash
3672 .PHONY: install-bash maybe-install-bash
3673 maybe-install-bash:
3674 @if bash
3675 maybe-install-bash: install-bash
3677 install-bash: installdirs
3678 @: $(MAKE); $(unstage)
3679 @r=`${PWD_COMMAND}`; export r; \
3680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3681 $(HOST_EXPORTS) \
3682 (cd $(HOST_SUBDIR)/bash && \
3683 $(MAKE) $(FLAGS_TO_PASS) install)
3685 @endif bash
3687 # Other targets (info, dvi, etc.)
3689 .PHONY: maybe-info-bash info-bash
3690 maybe-info-bash:
3691 @if bash
3692 maybe-info-bash: info-bash
3694 info-bash: \
3695 configure-bash
3696 @: $(MAKE); $(unstage)
3697 @[ -f ./bash/Makefile ] || exit 0; \
3698 r=`${PWD_COMMAND}`; export r; \
3699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3700 $(HOST_EXPORTS) \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3703 done; \
3704 echo "Doing info in bash" ; \
3705 (cd $(HOST_SUBDIR)/bash && \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3710 info) \
3711 || exit 1
3713 @endif bash
3715 .PHONY: maybe-dvi-bash dvi-bash
3716 maybe-dvi-bash:
3717 @if bash
3718 maybe-dvi-bash: dvi-bash
3720 dvi-bash: \
3721 configure-bash
3722 @: $(MAKE); $(unstage)
3723 @[ -f ./bash/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 done; \
3730 echo "Doing dvi in bash" ; \
3731 (cd $(HOST_SUBDIR)/bash && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3736 dvi) \
3737 || exit 1
3739 @endif bash
3741 .PHONY: maybe-html-bash html-bash
3742 maybe-html-bash:
3743 @if bash
3744 maybe-html-bash: html-bash
3746 html-bash: \
3747 configure-bash
3748 @: $(MAKE); $(unstage)
3749 @[ -f ./bash/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing html in bash" ; \
3757 (cd $(HOST_SUBDIR)/bash && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 html) \
3763 || exit 1
3765 @endif bash
3767 .PHONY: maybe-TAGS-bash TAGS-bash
3768 maybe-TAGS-bash:
3769 @if bash
3770 maybe-TAGS-bash: TAGS-bash
3772 TAGS-bash: \
3773 configure-bash
3774 @: $(MAKE); $(unstage)
3775 @[ -f ./bash/Makefile ] || exit 0; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 $(HOST_EXPORTS) \
3779 for flag in $(EXTRA_HOST_FLAGS) ; do \
3780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3781 done; \
3782 echo "Doing TAGS in bash" ; \
3783 (cd $(HOST_SUBDIR)/bash && \
3784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3786 "RANLIB=$${RANLIB}" \
3787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3788 TAGS) \
3789 || exit 1
3791 @endif bash
3793 .PHONY: maybe-install-info-bash install-info-bash
3794 maybe-install-info-bash:
3795 @if bash
3796 maybe-install-info-bash: install-info-bash
3798 install-info-bash: \
3799 configure-bash \
3800 info-bash
3801 @: $(MAKE); $(unstage)
3802 @[ -f ./bash/Makefile ] || exit 0; \
3803 r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3805 $(HOST_EXPORTS) \
3806 for flag in $(EXTRA_HOST_FLAGS) ; do \
3807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3808 done; \
3809 echo "Doing install-info in bash" ; \
3810 (cd $(HOST_SUBDIR)/bash && \
3811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3813 "RANLIB=$${RANLIB}" \
3814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3815 install-info) \
3816 || exit 1
3818 @endif bash
3820 .PHONY: maybe-installcheck-bash installcheck-bash
3821 maybe-installcheck-bash:
3822 @if bash
3823 maybe-installcheck-bash: installcheck-bash
3825 installcheck-bash: \
3826 configure-bash
3827 @: $(MAKE); $(unstage)
3828 @[ -f ./bash/Makefile ] || exit 0; \
3829 r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(HOST_EXPORTS) \
3832 for flag in $(EXTRA_HOST_FLAGS) ; do \
3833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3834 done; \
3835 echo "Doing installcheck in bash" ; \
3836 (cd $(HOST_SUBDIR)/bash && \
3837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3839 "RANLIB=$${RANLIB}" \
3840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3841 installcheck) \
3842 || exit 1
3844 @endif bash
3846 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3847 maybe-mostlyclean-bash:
3848 @if bash
3849 maybe-mostlyclean-bash: mostlyclean-bash
3851 mostlyclean-bash:
3852 @: $(MAKE); $(unstage)
3853 @[ -f ./bash/Makefile ] || exit 0; \
3854 r=`${PWD_COMMAND}`; export r; \
3855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3856 $(HOST_EXPORTS) \
3857 for flag in $(EXTRA_HOST_FLAGS) ; do \
3858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3859 done; \
3860 echo "Doing mostlyclean in bash" ; \
3861 (cd $(HOST_SUBDIR)/bash && \
3862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3864 "RANLIB=$${RANLIB}" \
3865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3866 mostlyclean) \
3867 || exit 1
3869 @endif bash
3871 .PHONY: maybe-clean-bash clean-bash
3872 maybe-clean-bash:
3873 @if bash
3874 maybe-clean-bash: clean-bash
3876 clean-bash:
3877 @: $(MAKE); $(unstage)
3878 @[ -f ./bash/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing clean in bash" ; \
3886 (cd $(HOST_SUBDIR)/bash && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 clean) \
3892 || exit 1
3894 @endif bash
3896 .PHONY: maybe-distclean-bash distclean-bash
3897 maybe-distclean-bash:
3898 @if bash
3899 maybe-distclean-bash: distclean-bash
3901 distclean-bash:
3902 @: $(MAKE); $(unstage)
3903 @[ -f ./bash/Makefile ] || exit 0; \
3904 r=`${PWD_COMMAND}`; export r; \
3905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3906 $(HOST_EXPORTS) \
3907 for flag in $(EXTRA_HOST_FLAGS) ; do \
3908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3909 done; \
3910 echo "Doing distclean in bash" ; \
3911 (cd $(HOST_SUBDIR)/bash && \
3912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3914 "RANLIB=$${RANLIB}" \
3915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3916 distclean) \
3917 || exit 1
3919 @endif bash
3921 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3922 maybe-maintainer-clean-bash:
3923 @if bash
3924 maybe-maintainer-clean-bash: maintainer-clean-bash
3926 maintainer-clean-bash:
3927 @: $(MAKE); $(unstage)
3928 @[ -f ./bash/Makefile ] || exit 0; \
3929 r=`${PWD_COMMAND}`; export r; \
3930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3931 $(HOST_EXPORTS) \
3932 for flag in $(EXTRA_HOST_FLAGS) ; do \
3933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3934 done; \
3935 echo "Doing maintainer-clean in bash" ; \
3936 (cd $(HOST_SUBDIR)/bash && \
3937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939 "RANLIB=$${RANLIB}" \
3940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3941 maintainer-clean) \
3942 || exit 1
3944 @endif bash
3948 .PHONY: configure-bfd maybe-configure-bfd
3949 maybe-configure-bfd:
3950 @if bfd
3951 maybe-configure-bfd: configure-bfd
3952 configure-bfd:
3953 @endif bfd
3954 @if bfd-bootstrap
3955 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
3956 @endif bfd-bootstrap
3957 @if bfd
3958 @r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3962 $(HOST_EXPORTS) \
3963 echo Configuring in $(HOST_SUBDIR)/bfd; \
3964 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3965 case $(srcdir) in \
3966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3967 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3969 esac; \
3970 srcdiroption="--srcdir=$${topdir}/bfd"; \
3971 libsrcdir="$$s/bfd"; \
3972 $(SHELL) $${libsrcdir}/configure \
3973 $(HOST_CONFIGARGS) $${srcdiroption} \
3974 || exit 1
3975 @endif bfd
3979 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3980 maybe-configure-stage1-bfd:
3981 @if bfd-bootstrap
3982 maybe-configure-stage1-bfd: configure-stage1-bfd
3983 configure-stage1-bfd:
3984 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3986 @r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3989 $(HOST_EXPORTS) \
3990 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3992 cd $(HOST_SUBDIR)/bfd || exit 1; \
3993 case $(srcdir) in \
3994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3995 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3997 esac; \
3998 srcdiroption="--srcdir=$${topdir}/bfd"; \
3999 libsrcdir="$$s/bfd"; \
4000 $(SHELL) $${libsrcdir}/configure \
4001 $(HOST_CONFIGARGS) $${srcdiroption} \
4002 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4003 @endif bfd-bootstrap
4005 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4006 maybe-configure-stage2-bfd:
4007 @if bfd-bootstrap
4008 maybe-configure-stage2-bfd: configure-stage2-bfd
4009 configure-stage2-bfd:
4010 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4011 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4012 @r=`${PWD_COMMAND}`; export r; \
4013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4014 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4015 $(HOST_EXPORTS) \
4016 $(POSTSTAGE1_HOST_EXPORTS) \
4017 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4019 cd $(HOST_SUBDIR)/bfd || exit 1; \
4020 case $(srcdir) in \
4021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4022 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4024 esac; \
4025 srcdiroption="--srcdir=$${topdir}/bfd"; \
4026 libsrcdir="$$s/bfd"; \
4027 $(SHELL) $${libsrcdir}/configure \
4028 $(HOST_CONFIGARGS) $${srcdiroption} \
4029 @stage2_werror_flag@
4030 @endif bfd-bootstrap
4032 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4033 maybe-configure-stage3-bfd:
4034 @if bfd-bootstrap
4035 maybe-configure-stage3-bfd: configure-stage3-bfd
4036 configure-stage3-bfd:
4037 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4038 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4039 @r=`${PWD_COMMAND}`; export r; \
4040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4041 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4042 $(HOST_EXPORTS) \
4043 $(POSTSTAGE1_HOST_EXPORTS) \
4044 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4046 cd $(HOST_SUBDIR)/bfd || exit 1; \
4047 case $(srcdir) in \
4048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4049 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4051 esac; \
4052 srcdiroption="--srcdir=$${topdir}/bfd"; \
4053 libsrcdir="$$s/bfd"; \
4054 $(SHELL) $${libsrcdir}/configure \
4055 $(HOST_CONFIGARGS) $${srcdiroption} \
4056 @stage2_werror_flag@
4057 @endif bfd-bootstrap
4059 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4060 maybe-configure-stage4-bfd:
4061 @if bfd-bootstrap
4062 maybe-configure-stage4-bfd: configure-stage4-bfd
4063 configure-stage4-bfd:
4064 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4069 $(HOST_EXPORTS) \
4070 $(POSTSTAGE1_HOST_EXPORTS) \
4071 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4072 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4073 cd $(HOST_SUBDIR)/bfd || exit 1; \
4074 case $(srcdir) in \
4075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4076 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4078 esac; \
4079 srcdiroption="--srcdir=$${topdir}/bfd"; \
4080 libsrcdir="$$s/bfd"; \
4081 $(SHELL) $${libsrcdir}/configure \
4082 $(HOST_CONFIGARGS) $${srcdiroption} \
4083 @stage2_werror_flag@
4084 @endif bfd-bootstrap
4086 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4087 maybe-configure-stageprofile-bfd:
4088 @if bfd-bootstrap
4089 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4090 configure-stageprofile-bfd:
4091 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4092 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4093 @r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4096 $(HOST_EXPORTS) \
4097 $(POSTSTAGE1_HOST_EXPORTS) \
4098 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4100 cd $(HOST_SUBDIR)/bfd || exit 1; \
4101 case $(srcdir) in \
4102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4103 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4105 esac; \
4106 srcdiroption="--srcdir=$${topdir}/bfd"; \
4107 libsrcdir="$$s/bfd"; \
4108 $(SHELL) $${libsrcdir}/configure \
4109 $(HOST_CONFIGARGS) $${srcdiroption} \
4110 @stage2_werror_flag@
4111 @endif bfd-bootstrap
4113 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4114 maybe-configure-stagefeedback-bfd:
4115 @if bfd-bootstrap
4116 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4117 configure-stagefeedback-bfd:
4118 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4119 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4120 @r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4123 $(HOST_EXPORTS) \
4124 $(POSTSTAGE1_HOST_EXPORTS) \
4125 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4127 cd $(HOST_SUBDIR)/bfd || exit 1; \
4128 case $(srcdir) in \
4129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4130 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4132 esac; \
4133 srcdiroption="--srcdir=$${topdir}/bfd"; \
4134 libsrcdir="$$s/bfd"; \
4135 $(SHELL) $${libsrcdir}/configure \
4136 $(HOST_CONFIGARGS) $${srcdiroption} \
4137 @stage2_werror_flag@
4138 @endif bfd-bootstrap
4144 .PHONY: all-bfd maybe-all-bfd
4145 maybe-all-bfd:
4146 @if bfd
4147 TARGET-bfd=all
4148 maybe-all-bfd: all-bfd
4149 all-bfd: configure-bfd
4150 @endif bfd
4151 @if bfd-bootstrap
4152 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4153 @endif bfd-bootstrap
4154 @if bfd
4155 @r=`${PWD_COMMAND}`; export r; \
4156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4157 $(HOST_EXPORTS) \
4158 (cd $(HOST_SUBDIR)/bfd && \
4159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4160 @endif bfd
4164 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4165 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4166 maybe-all-stage1-bfd:
4167 maybe-clean-stage1-bfd:
4168 @if bfd-bootstrap
4169 maybe-all-stage1-bfd: all-stage1-bfd
4170 all-stage1: all-stage1-bfd
4171 TARGET-stage1-bfd = $(TARGET-bfd)
4172 all-stage1-bfd: configure-stage1-bfd
4173 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4174 @r=`${PWD_COMMAND}`; export r; \
4175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4176 $(HOST_EXPORTS) \
4177 cd $(HOST_SUBDIR)/bfd && \
4178 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4179 $(TARGET-stage1-bfd)
4181 maybe-clean-stage1-bfd: clean-stage1-bfd
4182 clean-stage1: clean-stage1-bfd
4183 clean-stage1-bfd:
4184 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4185 || exit 0 ; \
4186 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4187 cd $(HOST_SUBDIR)/bfd && \
4188 $(MAKE) $(FLAGS_TO_PASS) \
4189 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4190 @endif bfd-bootstrap
4193 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4194 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4195 maybe-all-stage2-bfd:
4196 maybe-clean-stage2-bfd:
4197 @if bfd-bootstrap
4198 maybe-all-stage2-bfd: all-stage2-bfd
4199 all-stage2: all-stage2-bfd
4200 TARGET-stage2-bfd = $(TARGET-bfd)
4201 all-stage2-bfd: configure-stage2-bfd
4202 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4203 @r=`${PWD_COMMAND}`; export r; \
4204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4205 $(HOST_EXPORTS) \
4206 $(POSTSTAGE1_HOST_EXPORTS) \
4207 cd $(HOST_SUBDIR)/bfd && \
4208 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4209 $(TARGET-stage2-bfd)
4211 maybe-clean-stage2-bfd: clean-stage2-bfd
4212 clean-stage2: clean-stage2-bfd
4213 clean-stage2-bfd:
4214 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4215 || exit 0 ; \
4216 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4217 cd $(HOST_SUBDIR)/bfd && \
4218 $(MAKE) $(FLAGS_TO_PASS) \
4219 $(POSTSTAGE1_FLAGS_TO_PASS) \
4220 clean
4221 @endif bfd-bootstrap
4224 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4225 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4226 maybe-all-stage3-bfd:
4227 maybe-clean-stage3-bfd:
4228 @if bfd-bootstrap
4229 maybe-all-stage3-bfd: all-stage3-bfd
4230 all-stage3: all-stage3-bfd
4231 TARGET-stage3-bfd = $(TARGET-bfd)
4232 all-stage3-bfd: configure-stage3-bfd
4233 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4234 @r=`${PWD_COMMAND}`; export r; \
4235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4236 $(HOST_EXPORTS) \
4237 $(POSTSTAGE1_HOST_EXPORTS) \
4238 cd $(HOST_SUBDIR)/bfd && \
4239 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4240 $(TARGET-stage3-bfd)
4242 maybe-clean-stage3-bfd: clean-stage3-bfd
4243 clean-stage3: clean-stage3-bfd
4244 clean-stage3-bfd:
4245 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4246 || exit 0 ; \
4247 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4248 cd $(HOST_SUBDIR)/bfd && \
4249 $(MAKE) $(FLAGS_TO_PASS) \
4250 $(POSTSTAGE1_FLAGS_TO_PASS) \
4251 clean
4252 @endif bfd-bootstrap
4255 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4256 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4257 maybe-all-stage4-bfd:
4258 maybe-clean-stage4-bfd:
4259 @if bfd-bootstrap
4260 maybe-all-stage4-bfd: all-stage4-bfd
4261 all-stage4: all-stage4-bfd
4262 TARGET-stage4-bfd = $(TARGET-bfd)
4263 all-stage4-bfd: configure-stage4-bfd
4264 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4265 @r=`${PWD_COMMAND}`; export r; \
4266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4267 $(HOST_EXPORTS) \
4268 $(POSTSTAGE1_HOST_EXPORTS) \
4269 cd $(HOST_SUBDIR)/bfd && \
4270 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4271 $(TARGET-stage4-bfd)
4273 maybe-clean-stage4-bfd: clean-stage4-bfd
4274 clean-stage4: clean-stage4-bfd
4275 clean-stage4-bfd:
4276 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4277 || exit 0 ; \
4278 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4279 cd $(HOST_SUBDIR)/bfd && \
4280 $(MAKE) $(FLAGS_TO_PASS) \
4281 $(POSTSTAGE1_FLAGS_TO_PASS) \
4282 clean
4283 @endif bfd-bootstrap
4286 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4287 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4288 maybe-all-stageprofile-bfd:
4289 maybe-clean-stageprofile-bfd:
4290 @if bfd-bootstrap
4291 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4292 all-stageprofile: all-stageprofile-bfd
4293 TARGET-stageprofile-bfd = $(TARGET-bfd)
4294 all-stageprofile-bfd: configure-stageprofile-bfd
4295 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4296 @r=`${PWD_COMMAND}`; export r; \
4297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4298 $(HOST_EXPORTS) \
4299 $(POSTSTAGE1_HOST_EXPORTS) \
4300 cd $(HOST_SUBDIR)/bfd && \
4301 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4302 $(TARGET-stageprofile-bfd)
4304 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4305 clean-stageprofile: clean-stageprofile-bfd
4306 clean-stageprofile-bfd:
4307 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4308 || exit 0 ; \
4309 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4310 cd $(HOST_SUBDIR)/bfd && \
4311 $(MAKE) $(FLAGS_TO_PASS) \
4312 $(POSTSTAGE1_FLAGS_TO_PASS) \
4313 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4314 @endif bfd-bootstrap
4317 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4318 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4319 maybe-all-stagefeedback-bfd:
4320 maybe-clean-stagefeedback-bfd:
4321 @if bfd-bootstrap
4322 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4323 all-stagefeedback: all-stagefeedback-bfd
4324 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4325 all-stagefeedback-bfd: configure-stagefeedback-bfd
4326 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4327 @r=`${PWD_COMMAND}`; export r; \
4328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4329 $(HOST_EXPORTS) \
4330 $(POSTSTAGE1_HOST_EXPORTS) \
4331 cd $(HOST_SUBDIR)/bfd && \
4332 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4333 $(TARGET-stagefeedback-bfd)
4335 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4336 clean-stagefeedback: clean-stagefeedback-bfd
4337 clean-stagefeedback-bfd:
4338 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4339 || exit 0 ; \
4340 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4341 cd $(HOST_SUBDIR)/bfd && \
4342 $(MAKE) $(FLAGS_TO_PASS) \
4343 $(POSTSTAGE1_FLAGS_TO_PASS) \
4344 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4345 @endif bfd-bootstrap
4351 .PHONY: check-bfd maybe-check-bfd
4352 maybe-check-bfd:
4353 @if bfd
4354 maybe-check-bfd: check-bfd
4356 check-bfd:
4357 @: $(MAKE); $(unstage)
4358 @r=`${PWD_COMMAND}`; export r; \
4359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4360 $(HOST_EXPORTS) \
4361 (cd $(HOST_SUBDIR)/bfd && \
4362 $(MAKE) $(FLAGS_TO_PASS) check)
4364 @endif bfd
4366 .PHONY: install-bfd maybe-install-bfd
4367 maybe-install-bfd:
4368 @if bfd
4369 maybe-install-bfd: install-bfd
4371 install-bfd: installdirs
4372 @: $(MAKE); $(unstage)
4373 @r=`${PWD_COMMAND}`; export r; \
4374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 $(HOST_EXPORTS) \
4376 (cd $(HOST_SUBDIR)/bfd && \
4377 $(MAKE) $(FLAGS_TO_PASS) install)
4379 @endif bfd
4381 # Other targets (info, dvi, etc.)
4383 .PHONY: maybe-info-bfd info-bfd
4384 maybe-info-bfd:
4385 @if bfd
4386 maybe-info-bfd: info-bfd
4388 info-bfd: \
4389 configure-bfd
4390 @[ -f ./bfd/Makefile ] || exit 0; \
4391 r=`${PWD_COMMAND}`; export r; \
4392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4393 $(HOST_EXPORTS) \
4394 for flag in $(EXTRA_HOST_FLAGS) ; do \
4395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4396 done; \
4397 echo "Doing info in bfd" ; \
4398 (cd $(HOST_SUBDIR)/bfd && \
4399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4401 "RANLIB=$${RANLIB}" \
4402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4403 info) \
4404 || exit 1
4406 @endif bfd
4408 .PHONY: maybe-dvi-bfd dvi-bfd
4409 maybe-dvi-bfd:
4410 @if bfd
4411 maybe-dvi-bfd: dvi-bfd
4413 dvi-bfd: \
4414 configure-bfd
4415 @[ -f ./bfd/Makefile ] || exit 0; \
4416 r=`${PWD_COMMAND}`; export r; \
4417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4418 $(HOST_EXPORTS) \
4419 for flag in $(EXTRA_HOST_FLAGS) ; do \
4420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4421 done; \
4422 echo "Doing dvi in bfd" ; \
4423 (cd $(HOST_SUBDIR)/bfd && \
4424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4426 "RANLIB=$${RANLIB}" \
4427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4428 dvi) \
4429 || exit 1
4431 @endif bfd
4433 .PHONY: maybe-html-bfd html-bfd
4434 maybe-html-bfd:
4435 @if bfd
4436 maybe-html-bfd: html-bfd
4438 html-bfd: \
4439 configure-bfd
4440 @[ -f ./bfd/Makefile ] || exit 0; \
4441 r=`${PWD_COMMAND}`; export r; \
4442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4443 $(HOST_EXPORTS) \
4444 for flag in $(EXTRA_HOST_FLAGS) ; do \
4445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4446 done; \
4447 echo "Doing html in bfd" ; \
4448 (cd $(HOST_SUBDIR)/bfd && \
4449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4451 "RANLIB=$${RANLIB}" \
4452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4453 html) \
4454 || exit 1
4456 @endif bfd
4458 .PHONY: maybe-TAGS-bfd TAGS-bfd
4459 maybe-TAGS-bfd:
4460 @if bfd
4461 maybe-TAGS-bfd: TAGS-bfd
4463 TAGS-bfd: \
4464 configure-bfd
4465 @[ -f ./bfd/Makefile ] || exit 0; \
4466 r=`${PWD_COMMAND}`; export r; \
4467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468 $(HOST_EXPORTS) \
4469 for flag in $(EXTRA_HOST_FLAGS) ; do \
4470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4471 done; \
4472 echo "Doing TAGS in bfd" ; \
4473 (cd $(HOST_SUBDIR)/bfd && \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4478 TAGS) \
4479 || exit 1
4481 @endif bfd
4483 .PHONY: maybe-install-info-bfd install-info-bfd
4484 maybe-install-info-bfd:
4485 @if bfd
4486 maybe-install-info-bfd: install-info-bfd
4488 install-info-bfd: \
4489 configure-bfd \
4490 info-bfd
4491 @[ -f ./bfd/Makefile ] || exit 0; \
4492 r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(HOST_EXPORTS) \
4495 for flag in $(EXTRA_HOST_FLAGS) ; do \
4496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4497 done; \
4498 echo "Doing install-info in bfd" ; \
4499 (cd $(HOST_SUBDIR)/bfd && \
4500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4502 "RANLIB=$${RANLIB}" \
4503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4504 install-info) \
4505 || exit 1
4507 @endif bfd
4509 .PHONY: maybe-installcheck-bfd installcheck-bfd
4510 maybe-installcheck-bfd:
4511 @if bfd
4512 maybe-installcheck-bfd: installcheck-bfd
4514 installcheck-bfd: \
4515 configure-bfd
4516 @[ -f ./bfd/Makefile ] || exit 0; \
4517 r=`${PWD_COMMAND}`; export r; \
4518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 $(HOST_EXPORTS) \
4520 for flag in $(EXTRA_HOST_FLAGS) ; do \
4521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4522 done; \
4523 echo "Doing installcheck in bfd" ; \
4524 (cd $(HOST_SUBDIR)/bfd && \
4525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4527 "RANLIB=$${RANLIB}" \
4528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4529 installcheck) \
4530 || exit 1
4532 @endif bfd
4534 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4535 maybe-mostlyclean-bfd:
4536 @if bfd
4537 maybe-mostlyclean-bfd: mostlyclean-bfd
4539 mostlyclean-bfd:
4540 @[ -f ./bfd/Makefile ] || exit 0; \
4541 r=`${PWD_COMMAND}`; export r; \
4542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 $(HOST_EXPORTS) \
4544 for flag in $(EXTRA_HOST_FLAGS) ; do \
4545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4546 done; \
4547 echo "Doing mostlyclean in bfd" ; \
4548 (cd $(HOST_SUBDIR)/bfd && \
4549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4551 "RANLIB=$${RANLIB}" \
4552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4553 mostlyclean) \
4554 || exit 1
4556 @endif bfd
4558 .PHONY: maybe-clean-bfd clean-bfd
4559 maybe-clean-bfd:
4560 @if bfd
4561 maybe-clean-bfd: clean-bfd
4563 clean-bfd:
4564 @[ -f ./bfd/Makefile ] || exit 0; \
4565 r=`${PWD_COMMAND}`; export r; \
4566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4567 $(HOST_EXPORTS) \
4568 for flag in $(EXTRA_HOST_FLAGS) ; do \
4569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4570 done; \
4571 echo "Doing clean in bfd" ; \
4572 (cd $(HOST_SUBDIR)/bfd && \
4573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4575 "RANLIB=$${RANLIB}" \
4576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4577 clean) \
4578 || exit 1
4580 @endif bfd
4582 .PHONY: maybe-distclean-bfd distclean-bfd
4583 maybe-distclean-bfd:
4584 @if bfd
4585 maybe-distclean-bfd: distclean-bfd
4587 distclean-bfd:
4588 @[ -f ./bfd/Makefile ] || exit 0; \
4589 r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4591 $(HOST_EXPORTS) \
4592 for flag in $(EXTRA_HOST_FLAGS) ; do \
4593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4594 done; \
4595 echo "Doing distclean in bfd" ; \
4596 (cd $(HOST_SUBDIR)/bfd && \
4597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4599 "RANLIB=$${RANLIB}" \
4600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4601 distclean) \
4602 || exit 1
4604 @endif bfd
4606 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4607 maybe-maintainer-clean-bfd:
4608 @if bfd
4609 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4611 maintainer-clean-bfd:
4612 @[ -f ./bfd/Makefile ] || exit 0; \
4613 r=`${PWD_COMMAND}`; export r; \
4614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4615 $(HOST_EXPORTS) \
4616 for flag in $(EXTRA_HOST_FLAGS) ; do \
4617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4618 done; \
4619 echo "Doing maintainer-clean in bfd" ; \
4620 (cd $(HOST_SUBDIR)/bfd && \
4621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4623 "RANLIB=$${RANLIB}" \
4624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4625 maintainer-clean) \
4626 || exit 1
4628 @endif bfd
4632 .PHONY: configure-opcodes maybe-configure-opcodes
4633 maybe-configure-opcodes:
4634 @if opcodes
4635 maybe-configure-opcodes: configure-opcodes
4636 configure-opcodes:
4637 @endif opcodes
4638 @if opcodes-bootstrap
4639 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4640 @endif opcodes-bootstrap
4641 @if opcodes
4642 @r=`${PWD_COMMAND}`; export r; \
4643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4644 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4645 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4646 $(HOST_EXPORTS) \
4647 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4648 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4649 case $(srcdir) in \
4650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4651 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4653 esac; \
4654 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4655 libsrcdir="$$s/opcodes"; \
4656 $(SHELL) $${libsrcdir}/configure \
4657 $(HOST_CONFIGARGS) $${srcdiroption} \
4658 || exit 1
4659 @endif opcodes
4663 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4664 maybe-configure-stage1-opcodes:
4665 @if opcodes-bootstrap
4666 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4667 configure-stage1-opcodes:
4668 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4669 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4670 @r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4672 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4673 $(HOST_EXPORTS) \
4674 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4676 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4677 case $(srcdir) in \
4678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4679 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4681 esac; \
4682 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4683 libsrcdir="$$s/opcodes"; \
4684 $(SHELL) $${libsrcdir}/configure \
4685 $(HOST_CONFIGARGS) $${srcdiroption} \
4686 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4687 @endif opcodes-bootstrap
4689 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4690 maybe-configure-stage2-opcodes:
4691 @if opcodes-bootstrap
4692 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4693 configure-stage2-opcodes:
4694 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4696 @r=`${PWD_COMMAND}`; export r; \
4697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4698 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4699 $(HOST_EXPORTS) \
4700 $(POSTSTAGE1_HOST_EXPORTS) \
4701 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4703 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4704 case $(srcdir) in \
4705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4706 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4708 esac; \
4709 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4710 libsrcdir="$$s/opcodes"; \
4711 $(SHELL) $${libsrcdir}/configure \
4712 $(HOST_CONFIGARGS) $${srcdiroption} \
4713 @stage2_werror_flag@
4714 @endif opcodes-bootstrap
4716 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4717 maybe-configure-stage3-opcodes:
4718 @if opcodes-bootstrap
4719 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4720 configure-stage3-opcodes:
4721 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4722 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4723 @r=`${PWD_COMMAND}`; export r; \
4724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4725 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4726 $(HOST_EXPORTS) \
4727 $(POSTSTAGE1_HOST_EXPORTS) \
4728 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4729 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4730 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4731 case $(srcdir) in \
4732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4733 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4735 esac; \
4736 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4737 libsrcdir="$$s/opcodes"; \
4738 $(SHELL) $${libsrcdir}/configure \
4739 $(HOST_CONFIGARGS) $${srcdiroption} \
4740 @stage2_werror_flag@
4741 @endif opcodes-bootstrap
4743 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4744 maybe-configure-stage4-opcodes:
4745 @if opcodes-bootstrap
4746 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4747 configure-stage4-opcodes:
4748 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4749 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4750 @r=`${PWD_COMMAND}`; export r; \
4751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4752 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4753 $(HOST_EXPORTS) \
4754 $(POSTSTAGE1_HOST_EXPORTS) \
4755 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4757 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4758 case $(srcdir) in \
4759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4760 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4762 esac; \
4763 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4764 libsrcdir="$$s/opcodes"; \
4765 $(SHELL) $${libsrcdir}/configure \
4766 $(HOST_CONFIGARGS) $${srcdiroption} \
4767 @stage2_werror_flag@
4768 @endif opcodes-bootstrap
4770 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4771 maybe-configure-stageprofile-opcodes:
4772 @if opcodes-bootstrap
4773 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4774 configure-stageprofile-opcodes:
4775 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4777 @r=`${PWD_COMMAND}`; export r; \
4778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4779 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4780 $(HOST_EXPORTS) \
4781 $(POSTSTAGE1_HOST_EXPORTS) \
4782 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4784 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4785 case $(srcdir) in \
4786 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4787 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4788 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4789 esac; \
4790 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4791 libsrcdir="$$s/opcodes"; \
4792 $(SHELL) $${libsrcdir}/configure \
4793 $(HOST_CONFIGARGS) $${srcdiroption} \
4794 @stage2_werror_flag@
4795 @endif opcodes-bootstrap
4797 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4798 maybe-configure-stagefeedback-opcodes:
4799 @if opcodes-bootstrap
4800 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4801 configure-stagefeedback-opcodes:
4802 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4804 @r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4806 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4807 $(HOST_EXPORTS) \
4808 $(POSTSTAGE1_HOST_EXPORTS) \
4809 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4811 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4812 case $(srcdir) in \
4813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4814 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4816 esac; \
4817 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4818 libsrcdir="$$s/opcodes"; \
4819 $(SHELL) $${libsrcdir}/configure \
4820 $(HOST_CONFIGARGS) $${srcdiroption} \
4821 @stage2_werror_flag@
4822 @endif opcodes-bootstrap
4828 .PHONY: all-opcodes maybe-all-opcodes
4829 maybe-all-opcodes:
4830 @if opcodes
4831 TARGET-opcodes=all
4832 maybe-all-opcodes: all-opcodes
4833 all-opcodes: configure-opcodes
4834 @endif opcodes
4835 @if opcodes-bootstrap
4836 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4837 @endif opcodes-bootstrap
4838 @if opcodes
4839 @r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 $(HOST_EXPORTS) \
4842 (cd $(HOST_SUBDIR)/opcodes && \
4843 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4844 @endif opcodes
4848 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4849 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4850 maybe-all-stage1-opcodes:
4851 maybe-clean-stage1-opcodes:
4852 @if opcodes-bootstrap
4853 maybe-all-stage1-opcodes: all-stage1-opcodes
4854 all-stage1: all-stage1-opcodes
4855 TARGET-stage1-opcodes = $(TARGET-opcodes)
4856 all-stage1-opcodes: configure-stage1-opcodes
4857 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4858 @r=`${PWD_COMMAND}`; export r; \
4859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4860 $(HOST_EXPORTS) \
4861 cd $(HOST_SUBDIR)/opcodes && \
4862 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4863 $(TARGET-stage1-opcodes)
4865 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4866 clean-stage1: clean-stage1-opcodes
4867 clean-stage1-opcodes:
4868 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4869 || exit 0 ; \
4870 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4871 cd $(HOST_SUBDIR)/opcodes && \
4872 $(MAKE) $(FLAGS_TO_PASS) \
4873 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4874 @endif opcodes-bootstrap
4877 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4878 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4879 maybe-all-stage2-opcodes:
4880 maybe-clean-stage2-opcodes:
4881 @if opcodes-bootstrap
4882 maybe-all-stage2-opcodes: all-stage2-opcodes
4883 all-stage2: all-stage2-opcodes
4884 TARGET-stage2-opcodes = $(TARGET-opcodes)
4885 all-stage2-opcodes: configure-stage2-opcodes
4886 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4887 @r=`${PWD_COMMAND}`; export r; \
4888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4889 $(HOST_EXPORTS) \
4890 $(POSTSTAGE1_HOST_EXPORTS) \
4891 cd $(HOST_SUBDIR)/opcodes && \
4892 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4893 $(TARGET-stage2-opcodes)
4895 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4896 clean-stage2: clean-stage2-opcodes
4897 clean-stage2-opcodes:
4898 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4899 || exit 0 ; \
4900 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4901 cd $(HOST_SUBDIR)/opcodes && \
4902 $(MAKE) $(FLAGS_TO_PASS) \
4903 $(POSTSTAGE1_FLAGS_TO_PASS) \
4904 clean
4905 @endif opcodes-bootstrap
4908 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4909 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4910 maybe-all-stage3-opcodes:
4911 maybe-clean-stage3-opcodes:
4912 @if opcodes-bootstrap
4913 maybe-all-stage3-opcodes: all-stage3-opcodes
4914 all-stage3: all-stage3-opcodes
4915 TARGET-stage3-opcodes = $(TARGET-opcodes)
4916 all-stage3-opcodes: configure-stage3-opcodes
4917 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4918 @r=`${PWD_COMMAND}`; export r; \
4919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4920 $(HOST_EXPORTS) \
4921 $(POSTSTAGE1_HOST_EXPORTS) \
4922 cd $(HOST_SUBDIR)/opcodes && \
4923 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4924 $(TARGET-stage3-opcodes)
4926 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4927 clean-stage3: clean-stage3-opcodes
4928 clean-stage3-opcodes:
4929 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4930 || exit 0 ; \
4931 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4932 cd $(HOST_SUBDIR)/opcodes && \
4933 $(MAKE) $(FLAGS_TO_PASS) \
4934 $(POSTSTAGE1_FLAGS_TO_PASS) \
4935 clean
4936 @endif opcodes-bootstrap
4939 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4940 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4941 maybe-all-stage4-opcodes:
4942 maybe-clean-stage4-opcodes:
4943 @if opcodes-bootstrap
4944 maybe-all-stage4-opcodes: all-stage4-opcodes
4945 all-stage4: all-stage4-opcodes
4946 TARGET-stage4-opcodes = $(TARGET-opcodes)
4947 all-stage4-opcodes: configure-stage4-opcodes
4948 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4949 @r=`${PWD_COMMAND}`; export r; \
4950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4951 $(HOST_EXPORTS) \
4952 $(POSTSTAGE1_HOST_EXPORTS) \
4953 cd $(HOST_SUBDIR)/opcodes && \
4954 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4955 $(TARGET-stage4-opcodes)
4957 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4958 clean-stage4: clean-stage4-opcodes
4959 clean-stage4-opcodes:
4960 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4961 || exit 0 ; \
4962 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4963 cd $(HOST_SUBDIR)/opcodes && \
4964 $(MAKE) $(FLAGS_TO_PASS) \
4965 $(POSTSTAGE1_FLAGS_TO_PASS) \
4966 clean
4967 @endif opcodes-bootstrap
4970 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4971 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4972 maybe-all-stageprofile-opcodes:
4973 maybe-clean-stageprofile-opcodes:
4974 @if opcodes-bootstrap
4975 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4976 all-stageprofile: all-stageprofile-opcodes
4977 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4978 all-stageprofile-opcodes: configure-stageprofile-opcodes
4979 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4980 @r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 $(HOST_EXPORTS) \
4983 $(POSTSTAGE1_HOST_EXPORTS) \
4984 cd $(HOST_SUBDIR)/opcodes && \
4985 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4986 $(TARGET-stageprofile-opcodes)
4988 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4989 clean-stageprofile: clean-stageprofile-opcodes
4990 clean-stageprofile-opcodes:
4991 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4992 || exit 0 ; \
4993 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4994 cd $(HOST_SUBDIR)/opcodes && \
4995 $(MAKE) $(FLAGS_TO_PASS) \
4996 $(POSTSTAGE1_FLAGS_TO_PASS) \
4997 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4998 @endif opcodes-bootstrap
5001 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5002 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5003 maybe-all-stagefeedback-opcodes:
5004 maybe-clean-stagefeedback-opcodes:
5005 @if opcodes-bootstrap
5006 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5007 all-stagefeedback: all-stagefeedback-opcodes
5008 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5009 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5010 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5011 @r=`${PWD_COMMAND}`; export r; \
5012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5013 $(HOST_EXPORTS) \
5014 $(POSTSTAGE1_HOST_EXPORTS) \
5015 cd $(HOST_SUBDIR)/opcodes && \
5016 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5017 $(TARGET-stagefeedback-opcodes)
5019 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5020 clean-stagefeedback: clean-stagefeedback-opcodes
5021 clean-stagefeedback-opcodes:
5022 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5023 || exit 0 ; \
5024 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5025 cd $(HOST_SUBDIR)/opcodes && \
5026 $(MAKE) $(FLAGS_TO_PASS) \
5027 $(POSTSTAGE1_FLAGS_TO_PASS) \
5028 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5029 @endif opcodes-bootstrap
5035 .PHONY: check-opcodes maybe-check-opcodes
5036 maybe-check-opcodes:
5037 @if opcodes
5038 maybe-check-opcodes: check-opcodes
5040 check-opcodes:
5041 @: $(MAKE); $(unstage)
5042 @r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 $(HOST_EXPORTS) \
5045 (cd $(HOST_SUBDIR)/opcodes && \
5046 $(MAKE) $(FLAGS_TO_PASS) check)
5048 @endif opcodes
5050 .PHONY: install-opcodes maybe-install-opcodes
5051 maybe-install-opcodes:
5052 @if opcodes
5053 maybe-install-opcodes: install-opcodes
5055 install-opcodes: installdirs
5056 @: $(MAKE); $(unstage)
5057 @r=`${PWD_COMMAND}`; export r; \
5058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5059 $(HOST_EXPORTS) \
5060 (cd $(HOST_SUBDIR)/opcodes && \
5061 $(MAKE) $(FLAGS_TO_PASS) install)
5063 @endif opcodes
5065 # Other targets (info, dvi, etc.)
5067 .PHONY: maybe-info-opcodes info-opcodes
5068 maybe-info-opcodes:
5069 @if opcodes
5070 maybe-info-opcodes: info-opcodes
5072 info-opcodes: \
5073 configure-opcodes
5074 @[ -f ./opcodes/Makefile ] || exit 0; \
5075 r=`${PWD_COMMAND}`; export r; \
5076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5077 $(HOST_EXPORTS) \
5078 for flag in $(EXTRA_HOST_FLAGS) ; do \
5079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5080 done; \
5081 echo "Doing info in opcodes" ; \
5082 (cd $(HOST_SUBDIR)/opcodes && \
5083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5085 "RANLIB=$${RANLIB}" \
5086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5087 info) \
5088 || exit 1
5090 @endif opcodes
5092 .PHONY: maybe-dvi-opcodes dvi-opcodes
5093 maybe-dvi-opcodes:
5094 @if opcodes
5095 maybe-dvi-opcodes: dvi-opcodes
5097 dvi-opcodes: \
5098 configure-opcodes
5099 @[ -f ./opcodes/Makefile ] || exit 0; \
5100 r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 $(HOST_EXPORTS) \
5103 for flag in $(EXTRA_HOST_FLAGS) ; do \
5104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5105 done; \
5106 echo "Doing dvi in opcodes" ; \
5107 (cd $(HOST_SUBDIR)/opcodes && \
5108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5110 "RANLIB=$${RANLIB}" \
5111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5112 dvi) \
5113 || exit 1
5115 @endif opcodes
5117 .PHONY: maybe-html-opcodes html-opcodes
5118 maybe-html-opcodes:
5119 @if opcodes
5120 maybe-html-opcodes: html-opcodes
5122 html-opcodes: \
5123 configure-opcodes
5124 @[ -f ./opcodes/Makefile ] || exit 0; \
5125 r=`${PWD_COMMAND}`; export r; \
5126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5127 $(HOST_EXPORTS) \
5128 for flag in $(EXTRA_HOST_FLAGS) ; do \
5129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5130 done; \
5131 echo "Doing html in opcodes" ; \
5132 (cd $(HOST_SUBDIR)/opcodes && \
5133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5135 "RANLIB=$${RANLIB}" \
5136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5137 html) \
5138 || exit 1
5140 @endif opcodes
5142 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5143 maybe-TAGS-opcodes:
5144 @if opcodes
5145 maybe-TAGS-opcodes: TAGS-opcodes
5147 TAGS-opcodes: \
5148 configure-opcodes
5149 @[ -f ./opcodes/Makefile ] || exit 0; \
5150 r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(HOST_EXPORTS) \
5153 for flag in $(EXTRA_HOST_FLAGS) ; do \
5154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5155 done; \
5156 echo "Doing TAGS in opcodes" ; \
5157 (cd $(HOST_SUBDIR)/opcodes && \
5158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5160 "RANLIB=$${RANLIB}" \
5161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5162 TAGS) \
5163 || exit 1
5165 @endif opcodes
5167 .PHONY: maybe-install-info-opcodes install-info-opcodes
5168 maybe-install-info-opcodes:
5169 @if opcodes
5170 maybe-install-info-opcodes: install-info-opcodes
5172 install-info-opcodes: \
5173 configure-opcodes \
5174 info-opcodes
5175 @[ -f ./opcodes/Makefile ] || exit 0; \
5176 r=`${PWD_COMMAND}`; export r; \
5177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5178 $(HOST_EXPORTS) \
5179 for flag in $(EXTRA_HOST_FLAGS) ; do \
5180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5181 done; \
5182 echo "Doing install-info in opcodes" ; \
5183 (cd $(HOST_SUBDIR)/opcodes && \
5184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5186 "RANLIB=$${RANLIB}" \
5187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5188 install-info) \
5189 || exit 1
5191 @endif opcodes
5193 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5194 maybe-installcheck-opcodes:
5195 @if opcodes
5196 maybe-installcheck-opcodes: installcheck-opcodes
5198 installcheck-opcodes: \
5199 configure-opcodes
5200 @[ -f ./opcodes/Makefile ] || exit 0; \
5201 r=`${PWD_COMMAND}`; export r; \
5202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5203 $(HOST_EXPORTS) \
5204 for flag in $(EXTRA_HOST_FLAGS) ; do \
5205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5206 done; \
5207 echo "Doing installcheck in opcodes" ; \
5208 (cd $(HOST_SUBDIR)/opcodes && \
5209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5211 "RANLIB=$${RANLIB}" \
5212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5213 installcheck) \
5214 || exit 1
5216 @endif opcodes
5218 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5219 maybe-mostlyclean-opcodes:
5220 @if opcodes
5221 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5223 mostlyclean-opcodes:
5224 @[ -f ./opcodes/Makefile ] || exit 0; \
5225 r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5227 $(HOST_EXPORTS) \
5228 for flag in $(EXTRA_HOST_FLAGS) ; do \
5229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5230 done; \
5231 echo "Doing mostlyclean in opcodes" ; \
5232 (cd $(HOST_SUBDIR)/opcodes && \
5233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5235 "RANLIB=$${RANLIB}" \
5236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5237 mostlyclean) \
5238 || exit 1
5240 @endif opcodes
5242 .PHONY: maybe-clean-opcodes clean-opcodes
5243 maybe-clean-opcodes:
5244 @if opcodes
5245 maybe-clean-opcodes: clean-opcodes
5247 clean-opcodes:
5248 @[ -f ./opcodes/Makefile ] || exit 0; \
5249 r=`${PWD_COMMAND}`; export r; \
5250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5251 $(HOST_EXPORTS) \
5252 for flag in $(EXTRA_HOST_FLAGS) ; do \
5253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5254 done; \
5255 echo "Doing clean in opcodes" ; \
5256 (cd $(HOST_SUBDIR)/opcodes && \
5257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5259 "RANLIB=$${RANLIB}" \
5260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5261 clean) \
5262 || exit 1
5264 @endif opcodes
5266 .PHONY: maybe-distclean-opcodes distclean-opcodes
5267 maybe-distclean-opcodes:
5268 @if opcodes
5269 maybe-distclean-opcodes: distclean-opcodes
5271 distclean-opcodes:
5272 @[ -f ./opcodes/Makefile ] || exit 0; \
5273 r=`${PWD_COMMAND}`; export r; \
5274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5275 $(HOST_EXPORTS) \
5276 for flag in $(EXTRA_HOST_FLAGS) ; do \
5277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5278 done; \
5279 echo "Doing distclean in opcodes" ; \
5280 (cd $(HOST_SUBDIR)/opcodes && \
5281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5283 "RANLIB=$${RANLIB}" \
5284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5285 distclean) \
5286 || exit 1
5288 @endif opcodes
5290 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5291 maybe-maintainer-clean-opcodes:
5292 @if opcodes
5293 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5295 maintainer-clean-opcodes:
5296 @[ -f ./opcodes/Makefile ] || exit 0; \
5297 r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 $(HOST_EXPORTS) \
5300 for flag in $(EXTRA_HOST_FLAGS) ; do \
5301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5302 done; \
5303 echo "Doing maintainer-clean in opcodes" ; \
5304 (cd $(HOST_SUBDIR)/opcodes && \
5305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5307 "RANLIB=$${RANLIB}" \
5308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5309 maintainer-clean) \
5310 || exit 1
5312 @endif opcodes
5316 .PHONY: configure-binutils maybe-configure-binutils
5317 maybe-configure-binutils:
5318 @if binutils
5319 maybe-configure-binutils: configure-binutils
5320 configure-binutils:
5321 @endif binutils
5322 @if binutils-bootstrap
5323 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5324 @endif binutils-bootstrap
5325 @if binutils
5326 @r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5330 $(HOST_EXPORTS) \
5331 echo Configuring in $(HOST_SUBDIR)/binutils; \
5332 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5333 case $(srcdir) in \
5334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5335 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5337 esac; \
5338 srcdiroption="--srcdir=$${topdir}/binutils"; \
5339 libsrcdir="$$s/binutils"; \
5340 $(SHELL) $${libsrcdir}/configure \
5341 $(HOST_CONFIGARGS) $${srcdiroption} \
5342 || exit 1
5343 @endif binutils
5347 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5348 maybe-configure-stage1-binutils:
5349 @if binutils-bootstrap
5350 maybe-configure-stage1-binutils: configure-stage1-binutils
5351 configure-stage1-binutils:
5352 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5353 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5354 @r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5356 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5357 $(HOST_EXPORTS) \
5358 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5360 cd $(HOST_SUBDIR)/binutils || exit 1; \
5361 case $(srcdir) in \
5362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5363 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5365 esac; \
5366 srcdiroption="--srcdir=$${topdir}/binutils"; \
5367 libsrcdir="$$s/binutils"; \
5368 $(SHELL) $${libsrcdir}/configure \
5369 $(HOST_CONFIGARGS) $${srcdiroption} \
5370 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5371 @endif binutils-bootstrap
5373 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5374 maybe-configure-stage2-binutils:
5375 @if binutils-bootstrap
5376 maybe-configure-stage2-binutils: configure-stage2-binutils
5377 configure-stage2-binutils:
5378 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5380 @r=`${PWD_COMMAND}`; export r; \
5381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5382 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5383 $(HOST_EXPORTS) \
5384 $(POSTSTAGE1_HOST_EXPORTS) \
5385 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5387 cd $(HOST_SUBDIR)/binutils || exit 1; \
5388 case $(srcdir) in \
5389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5390 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5392 esac; \
5393 srcdiroption="--srcdir=$${topdir}/binutils"; \
5394 libsrcdir="$$s/binutils"; \
5395 $(SHELL) $${libsrcdir}/configure \
5396 $(HOST_CONFIGARGS) $${srcdiroption} \
5397 @stage2_werror_flag@
5398 @endif binutils-bootstrap
5400 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5401 maybe-configure-stage3-binutils:
5402 @if binutils-bootstrap
5403 maybe-configure-stage3-binutils: configure-stage3-binutils
5404 configure-stage3-binutils:
5405 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5407 @r=`${PWD_COMMAND}`; export r; \
5408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5410 $(HOST_EXPORTS) \
5411 $(POSTSTAGE1_HOST_EXPORTS) \
5412 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5414 cd $(HOST_SUBDIR)/binutils || exit 1; \
5415 case $(srcdir) in \
5416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5417 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5419 esac; \
5420 srcdiroption="--srcdir=$${topdir}/binutils"; \
5421 libsrcdir="$$s/binutils"; \
5422 $(SHELL) $${libsrcdir}/configure \
5423 $(HOST_CONFIGARGS) $${srcdiroption} \
5424 @stage2_werror_flag@
5425 @endif binutils-bootstrap
5427 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5428 maybe-configure-stage4-binutils:
5429 @if binutils-bootstrap
5430 maybe-configure-stage4-binutils: configure-stage4-binutils
5431 configure-stage4-binutils:
5432 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5433 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5434 @r=`${PWD_COMMAND}`; export r; \
5435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5436 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5437 $(HOST_EXPORTS) \
5438 $(POSTSTAGE1_HOST_EXPORTS) \
5439 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5441 cd $(HOST_SUBDIR)/binutils || exit 1; \
5442 case $(srcdir) in \
5443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5444 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5446 esac; \
5447 srcdiroption="--srcdir=$${topdir}/binutils"; \
5448 libsrcdir="$$s/binutils"; \
5449 $(SHELL) $${libsrcdir}/configure \
5450 $(HOST_CONFIGARGS) $${srcdiroption} \
5451 @stage2_werror_flag@
5452 @endif binutils-bootstrap
5454 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5455 maybe-configure-stageprofile-binutils:
5456 @if binutils-bootstrap
5457 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5458 configure-stageprofile-binutils:
5459 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5460 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5461 @r=`${PWD_COMMAND}`; export r; \
5462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5463 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5464 $(HOST_EXPORTS) \
5465 $(POSTSTAGE1_HOST_EXPORTS) \
5466 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5468 cd $(HOST_SUBDIR)/binutils || exit 1; \
5469 case $(srcdir) in \
5470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5471 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5473 esac; \
5474 srcdiroption="--srcdir=$${topdir}/binutils"; \
5475 libsrcdir="$$s/binutils"; \
5476 $(SHELL) $${libsrcdir}/configure \
5477 $(HOST_CONFIGARGS) $${srcdiroption} \
5478 @stage2_werror_flag@
5479 @endif binutils-bootstrap
5481 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5482 maybe-configure-stagefeedback-binutils:
5483 @if binutils-bootstrap
5484 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5485 configure-stagefeedback-binutils:
5486 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5487 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5488 @r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5491 $(HOST_EXPORTS) \
5492 $(POSTSTAGE1_HOST_EXPORTS) \
5493 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5495 cd $(HOST_SUBDIR)/binutils || exit 1; \
5496 case $(srcdir) in \
5497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5498 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5500 esac; \
5501 srcdiroption="--srcdir=$${topdir}/binutils"; \
5502 libsrcdir="$$s/binutils"; \
5503 $(SHELL) $${libsrcdir}/configure \
5504 $(HOST_CONFIGARGS) $${srcdiroption} \
5505 @stage2_werror_flag@
5506 @endif binutils-bootstrap
5512 .PHONY: all-binutils maybe-all-binutils
5513 maybe-all-binutils:
5514 @if binutils
5515 TARGET-binutils=all
5516 maybe-all-binutils: all-binutils
5517 all-binutils: configure-binutils
5518 @endif binutils
5519 @if binutils-bootstrap
5520 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5521 @endif binutils-bootstrap
5522 @if binutils
5523 @r=`${PWD_COMMAND}`; export r; \
5524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5525 $(HOST_EXPORTS) \
5526 (cd $(HOST_SUBDIR)/binutils && \
5527 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5528 @endif binutils
5532 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5533 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5534 maybe-all-stage1-binutils:
5535 maybe-clean-stage1-binutils:
5536 @if binutils-bootstrap
5537 maybe-all-stage1-binutils: all-stage1-binutils
5538 all-stage1: all-stage1-binutils
5539 TARGET-stage1-binutils = $(TARGET-binutils)
5540 all-stage1-binutils: configure-stage1-binutils
5541 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5542 @r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 cd $(HOST_SUBDIR)/binutils && \
5546 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5547 $(TARGET-stage1-binutils)
5549 maybe-clean-stage1-binutils: clean-stage1-binutils
5550 clean-stage1: clean-stage1-binutils
5551 clean-stage1-binutils:
5552 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5553 || exit 0 ; \
5554 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5555 cd $(HOST_SUBDIR)/binutils && \
5556 $(MAKE) $(FLAGS_TO_PASS) \
5557 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5558 @endif binutils-bootstrap
5561 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5562 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5563 maybe-all-stage2-binutils:
5564 maybe-clean-stage2-binutils:
5565 @if binutils-bootstrap
5566 maybe-all-stage2-binutils: all-stage2-binutils
5567 all-stage2: all-stage2-binutils
5568 TARGET-stage2-binutils = $(TARGET-binutils)
5569 all-stage2-binutils: configure-stage2-binutils
5570 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5571 @r=`${PWD_COMMAND}`; export r; \
5572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 $(HOST_EXPORTS) \
5574 $(POSTSTAGE1_HOST_EXPORTS) \
5575 cd $(HOST_SUBDIR)/binutils && \
5576 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5577 $(TARGET-stage2-binutils)
5579 maybe-clean-stage2-binutils: clean-stage2-binutils
5580 clean-stage2: clean-stage2-binutils
5581 clean-stage2-binutils:
5582 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5583 || exit 0 ; \
5584 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5585 cd $(HOST_SUBDIR)/binutils && \
5586 $(MAKE) $(FLAGS_TO_PASS) \
5587 $(POSTSTAGE1_FLAGS_TO_PASS) \
5588 clean
5589 @endif binutils-bootstrap
5592 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5593 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5594 maybe-all-stage3-binutils:
5595 maybe-clean-stage3-binutils:
5596 @if binutils-bootstrap
5597 maybe-all-stage3-binutils: all-stage3-binutils
5598 all-stage3: all-stage3-binutils
5599 TARGET-stage3-binutils = $(TARGET-binutils)
5600 all-stage3-binutils: configure-stage3-binutils
5601 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5602 @r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 $(HOST_EXPORTS) \
5605 $(POSTSTAGE1_HOST_EXPORTS) \
5606 cd $(HOST_SUBDIR)/binutils && \
5607 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5608 $(TARGET-stage3-binutils)
5610 maybe-clean-stage3-binutils: clean-stage3-binutils
5611 clean-stage3: clean-stage3-binutils
5612 clean-stage3-binutils:
5613 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5614 || exit 0 ; \
5615 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5616 cd $(HOST_SUBDIR)/binutils && \
5617 $(MAKE) $(FLAGS_TO_PASS) \
5618 $(POSTSTAGE1_FLAGS_TO_PASS) \
5619 clean
5620 @endif binutils-bootstrap
5623 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5624 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5625 maybe-all-stage4-binutils:
5626 maybe-clean-stage4-binutils:
5627 @if binutils-bootstrap
5628 maybe-all-stage4-binutils: all-stage4-binutils
5629 all-stage4: all-stage4-binutils
5630 TARGET-stage4-binutils = $(TARGET-binutils)
5631 all-stage4-binutils: configure-stage4-binutils
5632 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5633 @r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5635 $(HOST_EXPORTS) \
5636 $(POSTSTAGE1_HOST_EXPORTS) \
5637 cd $(HOST_SUBDIR)/binutils && \
5638 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5639 $(TARGET-stage4-binutils)
5641 maybe-clean-stage4-binutils: clean-stage4-binutils
5642 clean-stage4: clean-stage4-binutils
5643 clean-stage4-binutils:
5644 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5645 || exit 0 ; \
5646 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5647 cd $(HOST_SUBDIR)/binutils && \
5648 $(MAKE) $(FLAGS_TO_PASS) \
5649 $(POSTSTAGE1_FLAGS_TO_PASS) \
5650 clean
5651 @endif binutils-bootstrap
5654 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5655 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5656 maybe-all-stageprofile-binutils:
5657 maybe-clean-stageprofile-binutils:
5658 @if binutils-bootstrap
5659 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5660 all-stageprofile: all-stageprofile-binutils
5661 TARGET-stageprofile-binutils = $(TARGET-binutils)
5662 all-stageprofile-binutils: configure-stageprofile-binutils
5663 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5664 @r=`${PWD_COMMAND}`; export r; \
5665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5666 $(HOST_EXPORTS) \
5667 $(POSTSTAGE1_HOST_EXPORTS) \
5668 cd $(HOST_SUBDIR)/binutils && \
5669 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5670 $(TARGET-stageprofile-binutils)
5672 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5673 clean-stageprofile: clean-stageprofile-binutils
5674 clean-stageprofile-binutils:
5675 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5676 || exit 0 ; \
5677 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5678 cd $(HOST_SUBDIR)/binutils && \
5679 $(MAKE) $(FLAGS_TO_PASS) \
5680 $(POSTSTAGE1_FLAGS_TO_PASS) \
5681 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5682 @endif binutils-bootstrap
5685 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5686 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5687 maybe-all-stagefeedback-binutils:
5688 maybe-clean-stagefeedback-binutils:
5689 @if binutils-bootstrap
5690 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5691 all-stagefeedback: all-stagefeedback-binutils
5692 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5693 all-stagefeedback-binutils: configure-stagefeedback-binutils
5694 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5695 @r=`${PWD_COMMAND}`; export r; \
5696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5697 $(HOST_EXPORTS) \
5698 $(POSTSTAGE1_HOST_EXPORTS) \
5699 cd $(HOST_SUBDIR)/binutils && \
5700 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5701 $(TARGET-stagefeedback-binutils)
5703 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5704 clean-stagefeedback: clean-stagefeedback-binutils
5705 clean-stagefeedback-binutils:
5706 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5707 || exit 0 ; \
5708 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5709 cd $(HOST_SUBDIR)/binutils && \
5710 $(MAKE) $(FLAGS_TO_PASS) \
5711 $(POSTSTAGE1_FLAGS_TO_PASS) \
5712 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5713 @endif binutils-bootstrap
5719 .PHONY: check-binutils maybe-check-binutils
5720 maybe-check-binutils:
5721 @if binutils
5722 maybe-check-binutils: check-binutils
5724 check-binutils:
5725 @: $(MAKE); $(unstage)
5726 @r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 $(HOST_EXPORTS) \
5729 (cd $(HOST_SUBDIR)/binutils && \
5730 $(MAKE) $(FLAGS_TO_PASS) check)
5732 @endif binutils
5734 .PHONY: install-binutils maybe-install-binutils
5735 maybe-install-binutils:
5736 @if binutils
5737 maybe-install-binutils: install-binutils
5739 install-binutils: installdirs
5740 @: $(MAKE); $(unstage)
5741 @r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(HOST_EXPORTS) \
5744 (cd $(HOST_SUBDIR)/binutils && \
5745 $(MAKE) $(FLAGS_TO_PASS) install)
5747 @endif binutils
5749 # Other targets (info, dvi, etc.)
5751 .PHONY: maybe-info-binutils info-binutils
5752 maybe-info-binutils:
5753 @if binutils
5754 maybe-info-binutils: info-binutils
5756 info-binutils: \
5757 configure-binutils
5758 @[ -f ./binutils/Makefile ] || exit 0; \
5759 r=`${PWD_COMMAND}`; export r; \
5760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5761 $(HOST_EXPORTS) \
5762 for flag in $(EXTRA_HOST_FLAGS) ; do \
5763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5764 done; \
5765 echo "Doing info in binutils" ; \
5766 (cd $(HOST_SUBDIR)/binutils && \
5767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5769 "RANLIB=$${RANLIB}" \
5770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5771 info) \
5772 || exit 1
5774 @endif binutils
5776 .PHONY: maybe-dvi-binutils dvi-binutils
5777 maybe-dvi-binutils:
5778 @if binutils
5779 maybe-dvi-binutils: dvi-binutils
5781 dvi-binutils: \
5782 configure-binutils
5783 @[ -f ./binutils/Makefile ] || exit 0; \
5784 r=`${PWD_COMMAND}`; export r; \
5785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5786 $(HOST_EXPORTS) \
5787 for flag in $(EXTRA_HOST_FLAGS) ; do \
5788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5789 done; \
5790 echo "Doing dvi in binutils" ; \
5791 (cd $(HOST_SUBDIR)/binutils && \
5792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5794 "RANLIB=$${RANLIB}" \
5795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5796 dvi) \
5797 || exit 1
5799 @endif binutils
5801 .PHONY: maybe-html-binutils html-binutils
5802 maybe-html-binutils:
5803 @if binutils
5804 maybe-html-binutils: html-binutils
5806 html-binutils: \
5807 configure-binutils
5808 @[ -f ./binutils/Makefile ] || exit 0; \
5809 r=`${PWD_COMMAND}`; export r; \
5810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 $(HOST_EXPORTS) \
5812 for flag in $(EXTRA_HOST_FLAGS) ; do \
5813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5814 done; \
5815 echo "Doing html in binutils" ; \
5816 (cd $(HOST_SUBDIR)/binutils && \
5817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5819 "RANLIB=$${RANLIB}" \
5820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5821 html) \
5822 || exit 1
5824 @endif binutils
5826 .PHONY: maybe-TAGS-binutils TAGS-binutils
5827 maybe-TAGS-binutils:
5828 @if binutils
5829 maybe-TAGS-binutils: TAGS-binutils
5831 TAGS-binutils: \
5832 configure-binutils
5833 @[ -f ./binutils/Makefile ] || exit 0; \
5834 r=`${PWD_COMMAND}`; export r; \
5835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 $(HOST_EXPORTS) \
5837 for flag in $(EXTRA_HOST_FLAGS) ; do \
5838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5839 done; \
5840 echo "Doing TAGS in binutils" ; \
5841 (cd $(HOST_SUBDIR)/binutils && \
5842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5844 "RANLIB=$${RANLIB}" \
5845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5846 TAGS) \
5847 || exit 1
5849 @endif binutils
5851 .PHONY: maybe-install-info-binutils install-info-binutils
5852 maybe-install-info-binutils:
5853 @if binutils
5854 maybe-install-info-binutils: install-info-binutils
5856 install-info-binutils: \
5857 configure-binutils \
5858 info-binutils
5859 @[ -f ./binutils/Makefile ] || exit 0; \
5860 r=`${PWD_COMMAND}`; export r; \
5861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5862 $(HOST_EXPORTS) \
5863 for flag in $(EXTRA_HOST_FLAGS) ; do \
5864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5865 done; \
5866 echo "Doing install-info in binutils" ; \
5867 (cd $(HOST_SUBDIR)/binutils && \
5868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5870 "RANLIB=$${RANLIB}" \
5871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5872 install-info) \
5873 || exit 1
5875 @endif binutils
5877 .PHONY: maybe-installcheck-binutils installcheck-binutils
5878 maybe-installcheck-binutils:
5879 @if binutils
5880 maybe-installcheck-binutils: installcheck-binutils
5882 installcheck-binutils: \
5883 configure-binutils
5884 @[ -f ./binutils/Makefile ] || exit 0; \
5885 r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5887 $(HOST_EXPORTS) \
5888 for flag in $(EXTRA_HOST_FLAGS) ; do \
5889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5890 done; \
5891 echo "Doing installcheck in binutils" ; \
5892 (cd $(HOST_SUBDIR)/binutils && \
5893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5895 "RANLIB=$${RANLIB}" \
5896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5897 installcheck) \
5898 || exit 1
5900 @endif binutils
5902 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5903 maybe-mostlyclean-binutils:
5904 @if binutils
5905 maybe-mostlyclean-binutils: mostlyclean-binutils
5907 mostlyclean-binutils:
5908 @[ -f ./binutils/Makefile ] || exit 0; \
5909 r=`${PWD_COMMAND}`; export r; \
5910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5911 $(HOST_EXPORTS) \
5912 for flag in $(EXTRA_HOST_FLAGS) ; do \
5913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5914 done; \
5915 echo "Doing mostlyclean in binutils" ; \
5916 (cd $(HOST_SUBDIR)/binutils && \
5917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5919 "RANLIB=$${RANLIB}" \
5920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5921 mostlyclean) \
5922 || exit 1
5924 @endif binutils
5926 .PHONY: maybe-clean-binutils clean-binutils
5927 maybe-clean-binutils:
5928 @if binutils
5929 maybe-clean-binutils: clean-binutils
5931 clean-binutils:
5932 @[ -f ./binutils/Makefile ] || exit 0; \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 $(HOST_EXPORTS) \
5936 for flag in $(EXTRA_HOST_FLAGS) ; do \
5937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5938 done; \
5939 echo "Doing clean in binutils" ; \
5940 (cd $(HOST_SUBDIR)/binutils && \
5941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5943 "RANLIB=$${RANLIB}" \
5944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5945 clean) \
5946 || exit 1
5948 @endif binutils
5950 .PHONY: maybe-distclean-binutils distclean-binutils
5951 maybe-distclean-binutils:
5952 @if binutils
5953 maybe-distclean-binutils: distclean-binutils
5955 distclean-binutils:
5956 @[ -f ./binutils/Makefile ] || exit 0; \
5957 r=`${PWD_COMMAND}`; export r; \
5958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5959 $(HOST_EXPORTS) \
5960 for flag in $(EXTRA_HOST_FLAGS) ; do \
5961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5962 done; \
5963 echo "Doing distclean in binutils" ; \
5964 (cd $(HOST_SUBDIR)/binutils && \
5965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5967 "RANLIB=$${RANLIB}" \
5968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5969 distclean) \
5970 || exit 1
5972 @endif binutils
5974 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5975 maybe-maintainer-clean-binutils:
5976 @if binutils
5977 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5979 maintainer-clean-binutils:
5980 @[ -f ./binutils/Makefile ] || exit 0; \
5981 r=`${PWD_COMMAND}`; export r; \
5982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5983 $(HOST_EXPORTS) \
5984 for flag in $(EXTRA_HOST_FLAGS) ; do \
5985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5986 done; \
5987 echo "Doing maintainer-clean in binutils" ; \
5988 (cd $(HOST_SUBDIR)/binutils && \
5989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5991 "RANLIB=$${RANLIB}" \
5992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5993 maintainer-clean) \
5994 || exit 1
5996 @endif binutils
6000 .PHONY: configure-bison maybe-configure-bison
6001 maybe-configure-bison:
6002 @if bison
6003 maybe-configure-bison: configure-bison
6004 configure-bison:
6005 @: $(MAKE); $(unstage)
6006 @r=`${PWD_COMMAND}`; export r; \
6007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6008 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6010 $(HOST_EXPORTS) \
6011 echo Configuring in $(HOST_SUBDIR)/bison; \
6012 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6013 case $(srcdir) in \
6014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6015 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6017 esac; \
6018 srcdiroption="--srcdir=$${topdir}/bison"; \
6019 libsrcdir="$$s/bison"; \
6020 $(SHELL) $${libsrcdir}/configure \
6021 $(HOST_CONFIGARGS) $${srcdiroption} \
6022 || exit 1
6023 @endif bison
6029 .PHONY: all-bison maybe-all-bison
6030 maybe-all-bison:
6031 @if bison
6032 TARGET-bison=all
6033 maybe-all-bison: all-bison
6034 all-bison: configure-bison
6035 @: $(MAKE); $(unstage)
6036 @r=`${PWD_COMMAND}`; export r; \
6037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6038 $(HOST_EXPORTS) \
6039 (cd $(HOST_SUBDIR)/bison && \
6040 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6041 @endif bison
6046 .PHONY: check-bison maybe-check-bison
6047 maybe-check-bison:
6048 @if bison
6049 maybe-check-bison: check-bison
6051 # This module is only tested in a native toolchain.
6052 check-bison:
6053 @: $(MAKE); $(unstage)
6054 @if [ '$(host)' = '$(target)' ] ; then \
6055 r=`${PWD_COMMAND}`; export r; \
6056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6057 $(HOST_EXPORTS) \
6058 (cd $(HOST_SUBDIR)/bison && \
6059 $(MAKE) $(FLAGS_TO_PASS) check); \
6062 @endif bison
6064 .PHONY: install-bison maybe-install-bison
6065 maybe-install-bison:
6066 @if bison
6067 maybe-install-bison: install-bison
6069 install-bison: installdirs
6070 @: $(MAKE); $(unstage)
6071 @r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 $(HOST_EXPORTS) \
6074 (cd $(HOST_SUBDIR)/bison && \
6075 $(MAKE) $(FLAGS_TO_PASS) install)
6077 @endif bison
6079 # Other targets (info, dvi, etc.)
6081 .PHONY: maybe-info-bison info-bison
6082 maybe-info-bison:
6083 @if bison
6084 maybe-info-bison: info-bison
6086 info-bison: \
6087 configure-bison
6088 @: $(MAKE); $(unstage)
6089 @[ -f ./bison/Makefile ] || exit 0; \
6090 r=`${PWD_COMMAND}`; export r; \
6091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6092 $(HOST_EXPORTS) \
6093 for flag in $(EXTRA_HOST_FLAGS) ; do \
6094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6095 done; \
6096 echo "Doing info in bison" ; \
6097 (cd $(HOST_SUBDIR)/bison && \
6098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6100 "RANLIB=$${RANLIB}" \
6101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6102 info) \
6103 || exit 1
6105 @endif bison
6107 .PHONY: maybe-dvi-bison dvi-bison
6108 maybe-dvi-bison:
6109 @if bison
6110 maybe-dvi-bison: dvi-bison
6112 dvi-bison: \
6113 configure-bison
6114 @: $(MAKE); $(unstage)
6115 @[ -f ./bison/Makefile ] || exit 0; \
6116 r=`${PWD_COMMAND}`; export r; \
6117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6118 $(HOST_EXPORTS) \
6119 for flag in $(EXTRA_HOST_FLAGS) ; do \
6120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6121 done; \
6122 echo "Doing dvi in bison" ; \
6123 (cd $(HOST_SUBDIR)/bison && \
6124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6126 "RANLIB=$${RANLIB}" \
6127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6128 dvi) \
6129 || exit 1
6131 @endif bison
6133 .PHONY: maybe-html-bison html-bison
6134 maybe-html-bison:
6135 @if bison
6136 maybe-html-bison: html-bison
6138 html-bison: \
6139 configure-bison
6140 @: $(MAKE); $(unstage)
6141 @[ -f ./bison/Makefile ] || exit 0; \
6142 r=`${PWD_COMMAND}`; export r; \
6143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144 $(HOST_EXPORTS) \
6145 for flag in $(EXTRA_HOST_FLAGS) ; do \
6146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6147 done; \
6148 echo "Doing html in bison" ; \
6149 (cd $(HOST_SUBDIR)/bison && \
6150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6152 "RANLIB=$${RANLIB}" \
6153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6154 html) \
6155 || exit 1
6157 @endif bison
6159 .PHONY: maybe-TAGS-bison TAGS-bison
6160 maybe-TAGS-bison:
6161 @if bison
6162 maybe-TAGS-bison: TAGS-bison
6164 TAGS-bison: \
6165 configure-bison
6166 @: $(MAKE); $(unstage)
6167 @[ -f ./bison/Makefile ] || exit 0; \
6168 r=`${PWD_COMMAND}`; export r; \
6169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6170 $(HOST_EXPORTS) \
6171 for flag in $(EXTRA_HOST_FLAGS) ; do \
6172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6173 done; \
6174 echo "Doing TAGS in bison" ; \
6175 (cd $(HOST_SUBDIR)/bison && \
6176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6178 "RANLIB=$${RANLIB}" \
6179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6180 TAGS) \
6181 || exit 1
6183 @endif bison
6185 .PHONY: maybe-install-info-bison install-info-bison
6186 maybe-install-info-bison:
6187 @if bison
6188 maybe-install-info-bison: install-info-bison
6190 install-info-bison: \
6191 configure-bison \
6192 info-bison
6193 @: $(MAKE); $(unstage)
6194 @[ -f ./bison/Makefile ] || exit 0; \
6195 r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 $(HOST_EXPORTS) \
6198 for flag in $(EXTRA_HOST_FLAGS) ; do \
6199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6200 done; \
6201 echo "Doing install-info in bison" ; \
6202 (cd $(HOST_SUBDIR)/bison && \
6203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6205 "RANLIB=$${RANLIB}" \
6206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6207 install-info) \
6208 || exit 1
6210 @endif bison
6212 .PHONY: maybe-installcheck-bison installcheck-bison
6213 maybe-installcheck-bison:
6214 @if bison
6215 maybe-installcheck-bison: installcheck-bison
6217 installcheck-bison: \
6218 configure-bison
6219 @: $(MAKE); $(unstage)
6220 @[ -f ./bison/Makefile ] || exit 0; \
6221 r=`${PWD_COMMAND}`; export r; \
6222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6223 $(HOST_EXPORTS) \
6224 for flag in $(EXTRA_HOST_FLAGS) ; do \
6225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6226 done; \
6227 echo "Doing installcheck in bison" ; \
6228 (cd $(HOST_SUBDIR)/bison && \
6229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6231 "RANLIB=$${RANLIB}" \
6232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6233 installcheck) \
6234 || exit 1
6236 @endif bison
6238 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6239 maybe-mostlyclean-bison:
6240 @if bison
6241 maybe-mostlyclean-bison: mostlyclean-bison
6243 mostlyclean-bison:
6244 @: $(MAKE); $(unstage)
6245 @[ -f ./bison/Makefile ] || exit 0; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(HOST_EXPORTS) \
6249 for flag in $(EXTRA_HOST_FLAGS) ; do \
6250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6251 done; \
6252 echo "Doing mostlyclean in bison" ; \
6253 (cd $(HOST_SUBDIR)/bison && \
6254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6256 "RANLIB=$${RANLIB}" \
6257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6258 mostlyclean) \
6259 || exit 1
6261 @endif bison
6263 .PHONY: maybe-clean-bison clean-bison
6264 maybe-clean-bison:
6265 @if bison
6266 maybe-clean-bison: clean-bison
6268 clean-bison:
6269 @: $(MAKE); $(unstage)
6270 @[ -f ./bison/Makefile ] || exit 0; \
6271 r=`${PWD_COMMAND}`; export r; \
6272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6273 $(HOST_EXPORTS) \
6274 for flag in $(EXTRA_HOST_FLAGS) ; do \
6275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6276 done; \
6277 echo "Doing clean in bison" ; \
6278 (cd $(HOST_SUBDIR)/bison && \
6279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6281 "RANLIB=$${RANLIB}" \
6282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6283 clean) \
6284 || exit 1
6286 @endif bison
6288 .PHONY: maybe-distclean-bison distclean-bison
6289 maybe-distclean-bison:
6290 @if bison
6291 maybe-distclean-bison: distclean-bison
6293 distclean-bison:
6294 @: $(MAKE); $(unstage)
6295 @[ -f ./bison/Makefile ] || exit 0; \
6296 r=`${PWD_COMMAND}`; export r; \
6297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6298 $(HOST_EXPORTS) \
6299 for flag in $(EXTRA_HOST_FLAGS) ; do \
6300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6301 done; \
6302 echo "Doing distclean in bison" ; \
6303 (cd $(HOST_SUBDIR)/bison && \
6304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6306 "RANLIB=$${RANLIB}" \
6307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6308 distclean) \
6309 || exit 1
6311 @endif bison
6313 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6314 maybe-maintainer-clean-bison:
6315 @if bison
6316 maybe-maintainer-clean-bison: maintainer-clean-bison
6318 maintainer-clean-bison:
6319 @: $(MAKE); $(unstage)
6320 @[ -f ./bison/Makefile ] || exit 0; \
6321 r=`${PWD_COMMAND}`; export r; \
6322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6323 $(HOST_EXPORTS) \
6324 for flag in $(EXTRA_HOST_FLAGS) ; do \
6325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6326 done; \
6327 echo "Doing maintainer-clean in bison" ; \
6328 (cd $(HOST_SUBDIR)/bison && \
6329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6331 "RANLIB=$${RANLIB}" \
6332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6333 maintainer-clean) \
6334 || exit 1
6336 @endif bison
6340 .PHONY: configure-byacc maybe-configure-byacc
6341 maybe-configure-byacc:
6342 @if byacc
6343 maybe-configure-byacc: configure-byacc
6344 configure-byacc:
6345 @: $(MAKE); $(unstage)
6346 @r=`${PWD_COMMAND}`; export r; \
6347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6348 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6350 $(HOST_EXPORTS) \
6351 echo Configuring in $(HOST_SUBDIR)/byacc; \
6352 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6353 case $(srcdir) in \
6354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6355 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6357 esac; \
6358 srcdiroption="--srcdir=$${topdir}/byacc"; \
6359 libsrcdir="$$s/byacc"; \
6360 $(SHELL) $${libsrcdir}/configure \
6361 $(HOST_CONFIGARGS) $${srcdiroption} \
6362 || exit 1
6363 @endif byacc
6369 .PHONY: all-byacc maybe-all-byacc
6370 maybe-all-byacc:
6371 @if byacc
6372 TARGET-byacc=all
6373 maybe-all-byacc: all-byacc
6374 all-byacc: configure-byacc
6375 @: $(MAKE); $(unstage)
6376 @r=`${PWD_COMMAND}`; export r; \
6377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 $(HOST_EXPORTS) \
6379 (cd $(HOST_SUBDIR)/byacc && \
6380 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6381 @endif byacc
6386 .PHONY: check-byacc maybe-check-byacc
6387 maybe-check-byacc:
6388 @if byacc
6389 maybe-check-byacc: check-byacc
6391 # This module is only tested in a native toolchain.
6392 check-byacc:
6393 @: $(MAKE); $(unstage)
6394 @if [ '$(host)' = '$(target)' ] ; then \
6395 r=`${PWD_COMMAND}`; export r; \
6396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6397 $(HOST_EXPORTS) \
6398 (cd $(HOST_SUBDIR)/byacc && \
6399 $(MAKE) $(FLAGS_TO_PASS) check); \
6402 @endif byacc
6404 .PHONY: install-byacc maybe-install-byacc
6405 maybe-install-byacc:
6406 @if byacc
6407 maybe-install-byacc: install-byacc
6409 install-byacc: installdirs
6410 @: $(MAKE); $(unstage)
6411 @r=`${PWD_COMMAND}`; export r; \
6412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6413 $(HOST_EXPORTS) \
6414 (cd $(HOST_SUBDIR)/byacc && \
6415 $(MAKE) $(FLAGS_TO_PASS) install)
6417 @endif byacc
6419 # Other targets (info, dvi, etc.)
6421 .PHONY: maybe-info-byacc info-byacc
6422 maybe-info-byacc:
6423 @if byacc
6424 maybe-info-byacc: info-byacc
6426 info-byacc: \
6427 configure-byacc
6428 @: $(MAKE); $(unstage)
6429 @[ -f ./byacc/Makefile ] || exit 0; \
6430 r=`${PWD_COMMAND}`; export r; \
6431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6432 $(HOST_EXPORTS) \
6433 for flag in $(EXTRA_HOST_FLAGS) ; do \
6434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6435 done; \
6436 echo "Doing info in byacc" ; \
6437 (cd $(HOST_SUBDIR)/byacc && \
6438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6440 "RANLIB=$${RANLIB}" \
6441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6442 info) \
6443 || exit 1
6445 @endif byacc
6447 .PHONY: maybe-dvi-byacc dvi-byacc
6448 maybe-dvi-byacc:
6449 @if byacc
6450 maybe-dvi-byacc: dvi-byacc
6452 dvi-byacc: \
6453 configure-byacc
6454 @: $(MAKE); $(unstage)
6455 @[ -f ./byacc/Makefile ] || exit 0; \
6456 r=`${PWD_COMMAND}`; export r; \
6457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6458 $(HOST_EXPORTS) \
6459 for flag in $(EXTRA_HOST_FLAGS) ; do \
6460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6461 done; \
6462 echo "Doing dvi in byacc" ; \
6463 (cd $(HOST_SUBDIR)/byacc && \
6464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6466 "RANLIB=$${RANLIB}" \
6467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6468 dvi) \
6469 || exit 1
6471 @endif byacc
6473 .PHONY: maybe-html-byacc html-byacc
6474 maybe-html-byacc:
6475 @if byacc
6476 maybe-html-byacc: html-byacc
6478 html-byacc: \
6479 configure-byacc
6480 @: $(MAKE); $(unstage)
6481 @[ -f ./byacc/Makefile ] || exit 0; \
6482 r=`${PWD_COMMAND}`; export r; \
6483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6484 $(HOST_EXPORTS) \
6485 for flag in $(EXTRA_HOST_FLAGS) ; do \
6486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6487 done; \
6488 echo "Doing html in byacc" ; \
6489 (cd $(HOST_SUBDIR)/byacc && \
6490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6492 "RANLIB=$${RANLIB}" \
6493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6494 html) \
6495 || exit 1
6497 @endif byacc
6499 .PHONY: maybe-TAGS-byacc TAGS-byacc
6500 maybe-TAGS-byacc:
6501 @if byacc
6502 maybe-TAGS-byacc: TAGS-byacc
6504 TAGS-byacc: \
6505 configure-byacc
6506 @: $(MAKE); $(unstage)
6507 @[ -f ./byacc/Makefile ] || exit 0; \
6508 r=`${PWD_COMMAND}`; export r; \
6509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6510 $(HOST_EXPORTS) \
6511 for flag in $(EXTRA_HOST_FLAGS) ; do \
6512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6513 done; \
6514 echo "Doing TAGS in byacc" ; \
6515 (cd $(HOST_SUBDIR)/byacc && \
6516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6518 "RANLIB=$${RANLIB}" \
6519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6520 TAGS) \
6521 || exit 1
6523 @endif byacc
6525 .PHONY: maybe-install-info-byacc install-info-byacc
6526 maybe-install-info-byacc:
6527 @if byacc
6528 maybe-install-info-byacc: install-info-byacc
6530 install-info-byacc: \
6531 configure-byacc \
6532 info-byacc
6533 @: $(MAKE); $(unstage)
6534 @[ -f ./byacc/Makefile ] || exit 0; \
6535 r=`${PWD_COMMAND}`; export r; \
6536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6537 $(HOST_EXPORTS) \
6538 for flag in $(EXTRA_HOST_FLAGS) ; do \
6539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6540 done; \
6541 echo "Doing install-info in byacc" ; \
6542 (cd $(HOST_SUBDIR)/byacc && \
6543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6545 "RANLIB=$${RANLIB}" \
6546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6547 install-info) \
6548 || exit 1
6550 @endif byacc
6552 .PHONY: maybe-installcheck-byacc installcheck-byacc
6553 maybe-installcheck-byacc:
6554 @if byacc
6555 maybe-installcheck-byacc: installcheck-byacc
6557 installcheck-byacc: \
6558 configure-byacc
6559 @: $(MAKE); $(unstage)
6560 @[ -f ./byacc/Makefile ] || exit 0; \
6561 r=`${PWD_COMMAND}`; export r; \
6562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6563 $(HOST_EXPORTS) \
6564 for flag in $(EXTRA_HOST_FLAGS) ; do \
6565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6566 done; \
6567 echo "Doing installcheck in byacc" ; \
6568 (cd $(HOST_SUBDIR)/byacc && \
6569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6571 "RANLIB=$${RANLIB}" \
6572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6573 installcheck) \
6574 || exit 1
6576 @endif byacc
6578 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6579 maybe-mostlyclean-byacc:
6580 @if byacc
6581 maybe-mostlyclean-byacc: mostlyclean-byacc
6583 mostlyclean-byacc:
6584 @: $(MAKE); $(unstage)
6585 @[ -f ./byacc/Makefile ] || exit 0; \
6586 r=`${PWD_COMMAND}`; export r; \
6587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6588 $(HOST_EXPORTS) \
6589 for flag in $(EXTRA_HOST_FLAGS) ; do \
6590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6591 done; \
6592 echo "Doing mostlyclean in byacc" ; \
6593 (cd $(HOST_SUBDIR)/byacc && \
6594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6596 "RANLIB=$${RANLIB}" \
6597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6598 mostlyclean) \
6599 || exit 1
6601 @endif byacc
6603 .PHONY: maybe-clean-byacc clean-byacc
6604 maybe-clean-byacc:
6605 @if byacc
6606 maybe-clean-byacc: clean-byacc
6608 clean-byacc:
6609 @: $(MAKE); $(unstage)
6610 @[ -f ./byacc/Makefile ] || exit 0; \
6611 r=`${PWD_COMMAND}`; export r; \
6612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6613 $(HOST_EXPORTS) \
6614 for flag in $(EXTRA_HOST_FLAGS) ; do \
6615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6616 done; \
6617 echo "Doing clean in byacc" ; \
6618 (cd $(HOST_SUBDIR)/byacc && \
6619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6621 "RANLIB=$${RANLIB}" \
6622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6623 clean) \
6624 || exit 1
6626 @endif byacc
6628 .PHONY: maybe-distclean-byacc distclean-byacc
6629 maybe-distclean-byacc:
6630 @if byacc
6631 maybe-distclean-byacc: distclean-byacc
6633 distclean-byacc:
6634 @: $(MAKE); $(unstage)
6635 @[ -f ./byacc/Makefile ] || exit 0; \
6636 r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 $(HOST_EXPORTS) \
6639 for flag in $(EXTRA_HOST_FLAGS) ; do \
6640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6641 done; \
6642 echo "Doing distclean in byacc" ; \
6643 (cd $(HOST_SUBDIR)/byacc && \
6644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6646 "RANLIB=$${RANLIB}" \
6647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6648 distclean) \
6649 || exit 1
6651 @endif byacc
6653 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6654 maybe-maintainer-clean-byacc:
6655 @if byacc
6656 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6658 maintainer-clean-byacc:
6659 @: $(MAKE); $(unstage)
6660 @[ -f ./byacc/Makefile ] || exit 0; \
6661 r=`${PWD_COMMAND}`; export r; \
6662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6663 $(HOST_EXPORTS) \
6664 for flag in $(EXTRA_HOST_FLAGS) ; do \
6665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6666 done; \
6667 echo "Doing maintainer-clean in byacc" ; \
6668 (cd $(HOST_SUBDIR)/byacc && \
6669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6671 "RANLIB=$${RANLIB}" \
6672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6673 maintainer-clean) \
6674 || exit 1
6676 @endif byacc
6680 .PHONY: configure-bzip2 maybe-configure-bzip2
6681 maybe-configure-bzip2:
6682 @if bzip2
6683 maybe-configure-bzip2: configure-bzip2
6684 configure-bzip2:
6685 @: $(MAKE); $(unstage)
6686 @r=`${PWD_COMMAND}`; export r; \
6687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6690 $(HOST_EXPORTS) \
6691 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6692 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6693 case $(srcdir) in \
6694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6695 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6697 esac; \
6698 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6699 libsrcdir="$$s/bzip2"; \
6700 $(SHELL) $${libsrcdir}/configure \
6701 $(HOST_CONFIGARGS) $${srcdiroption} \
6702 || exit 1
6703 @endif bzip2
6709 .PHONY: all-bzip2 maybe-all-bzip2
6710 maybe-all-bzip2:
6711 @if bzip2
6712 TARGET-bzip2=all
6713 maybe-all-bzip2: all-bzip2
6714 all-bzip2: configure-bzip2
6715 @: $(MAKE); $(unstage)
6716 @r=`${PWD_COMMAND}`; export r; \
6717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6718 $(HOST_EXPORTS) \
6719 (cd $(HOST_SUBDIR)/bzip2 && \
6720 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6721 @endif bzip2
6726 .PHONY: check-bzip2 maybe-check-bzip2
6727 maybe-check-bzip2:
6728 @if bzip2
6729 maybe-check-bzip2: check-bzip2
6731 check-bzip2:
6732 @: $(MAKE); $(unstage)
6733 @r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 (cd $(HOST_SUBDIR)/bzip2 && \
6737 $(MAKE) $(FLAGS_TO_PASS) check)
6739 @endif bzip2
6741 .PHONY: install-bzip2 maybe-install-bzip2
6742 maybe-install-bzip2:
6743 @if bzip2
6744 maybe-install-bzip2: install-bzip2
6746 install-bzip2: installdirs
6747 @: $(MAKE); $(unstage)
6748 @r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 $(HOST_EXPORTS) \
6751 (cd $(HOST_SUBDIR)/bzip2 && \
6752 $(MAKE) $(FLAGS_TO_PASS) install)
6754 @endif bzip2
6756 # Other targets (info, dvi, etc.)
6758 .PHONY: maybe-info-bzip2 info-bzip2
6759 maybe-info-bzip2:
6760 @if bzip2
6761 maybe-info-bzip2: info-bzip2
6763 info-bzip2: \
6764 configure-bzip2
6765 @: $(MAKE); $(unstage)
6766 @[ -f ./bzip2/Makefile ] || exit 0; \
6767 r=`${PWD_COMMAND}`; export r; \
6768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6769 $(HOST_EXPORTS) \
6770 for flag in $(EXTRA_HOST_FLAGS) ; do \
6771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6772 done; \
6773 echo "Doing info in bzip2" ; \
6774 (cd $(HOST_SUBDIR)/bzip2 && \
6775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6777 "RANLIB=$${RANLIB}" \
6778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6779 info) \
6780 || exit 1
6782 @endif bzip2
6784 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6785 maybe-dvi-bzip2:
6786 @if bzip2
6787 maybe-dvi-bzip2: dvi-bzip2
6789 dvi-bzip2: \
6790 configure-bzip2
6791 @: $(MAKE); $(unstage)
6792 @[ -f ./bzip2/Makefile ] || exit 0; \
6793 r=`${PWD_COMMAND}`; export r; \
6794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6795 $(HOST_EXPORTS) \
6796 for flag in $(EXTRA_HOST_FLAGS) ; do \
6797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6798 done; \
6799 echo "Doing dvi in bzip2" ; \
6800 (cd $(HOST_SUBDIR)/bzip2 && \
6801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6803 "RANLIB=$${RANLIB}" \
6804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6805 dvi) \
6806 || exit 1
6808 @endif bzip2
6810 .PHONY: maybe-html-bzip2 html-bzip2
6811 maybe-html-bzip2:
6812 @if bzip2
6813 maybe-html-bzip2: html-bzip2
6815 html-bzip2: \
6816 configure-bzip2
6817 @: $(MAKE); $(unstage)
6818 @[ -f ./bzip2/Makefile ] || exit 0; \
6819 r=`${PWD_COMMAND}`; export r; \
6820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6821 $(HOST_EXPORTS) \
6822 for flag in $(EXTRA_HOST_FLAGS) ; do \
6823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6824 done; \
6825 echo "Doing html in bzip2" ; \
6826 (cd $(HOST_SUBDIR)/bzip2 && \
6827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6829 "RANLIB=$${RANLIB}" \
6830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6831 html) \
6832 || exit 1
6834 @endif bzip2
6836 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6837 maybe-TAGS-bzip2:
6838 @if bzip2
6839 maybe-TAGS-bzip2: TAGS-bzip2
6841 TAGS-bzip2: \
6842 configure-bzip2
6843 @: $(MAKE); $(unstage)
6844 @[ -f ./bzip2/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 $(HOST_EXPORTS) \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850 done; \
6851 echo "Doing TAGS in bzip2" ; \
6852 (cd $(HOST_SUBDIR)/bzip2 && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6857 TAGS) \
6858 || exit 1
6860 @endif bzip2
6862 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6863 maybe-install-info-bzip2:
6864 @if bzip2
6865 maybe-install-info-bzip2: install-info-bzip2
6867 install-info-bzip2: \
6868 configure-bzip2 \
6869 info-bzip2
6870 @: $(MAKE); $(unstage)
6871 @[ -f ./bzip2/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(HOST_EXPORTS) \
6875 for flag in $(EXTRA_HOST_FLAGS) ; do \
6876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6877 done; \
6878 echo "Doing install-info in bzip2" ; \
6879 (cd $(HOST_SUBDIR)/bzip2 && \
6880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6882 "RANLIB=$${RANLIB}" \
6883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6884 install-info) \
6885 || exit 1
6887 @endif bzip2
6889 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6890 maybe-installcheck-bzip2:
6891 @if bzip2
6892 maybe-installcheck-bzip2: installcheck-bzip2
6894 installcheck-bzip2: \
6895 configure-bzip2
6896 @: $(MAKE); $(unstage)
6897 @[ -f ./bzip2/Makefile ] || exit 0; \
6898 r=`${PWD_COMMAND}`; export r; \
6899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6900 $(HOST_EXPORTS) \
6901 for flag in $(EXTRA_HOST_FLAGS) ; do \
6902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6903 done; \
6904 echo "Doing installcheck in bzip2" ; \
6905 (cd $(HOST_SUBDIR)/bzip2 && \
6906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6908 "RANLIB=$${RANLIB}" \
6909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6910 installcheck) \
6911 || exit 1
6913 @endif bzip2
6915 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6916 maybe-mostlyclean-bzip2:
6917 @if bzip2
6918 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6920 mostlyclean-bzip2:
6921 @: $(MAKE); $(unstage)
6922 @[ -f ./bzip2/Makefile ] || exit 0; \
6923 r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 $(HOST_EXPORTS) \
6926 for flag in $(EXTRA_HOST_FLAGS) ; do \
6927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6928 done; \
6929 echo "Doing mostlyclean in bzip2" ; \
6930 (cd $(HOST_SUBDIR)/bzip2 && \
6931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6933 "RANLIB=$${RANLIB}" \
6934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6935 mostlyclean) \
6936 || exit 1
6938 @endif bzip2
6940 .PHONY: maybe-clean-bzip2 clean-bzip2
6941 maybe-clean-bzip2:
6942 @if bzip2
6943 maybe-clean-bzip2: clean-bzip2
6945 clean-bzip2:
6946 @: $(MAKE); $(unstage)
6947 @[ -f ./bzip2/Makefile ] || exit 0; \
6948 r=`${PWD_COMMAND}`; export r; \
6949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6950 $(HOST_EXPORTS) \
6951 for flag in $(EXTRA_HOST_FLAGS) ; do \
6952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6953 done; \
6954 echo "Doing clean in bzip2" ; \
6955 (cd $(HOST_SUBDIR)/bzip2 && \
6956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6958 "RANLIB=$${RANLIB}" \
6959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6960 clean) \
6961 || exit 1
6963 @endif bzip2
6965 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6966 maybe-distclean-bzip2:
6967 @if bzip2
6968 maybe-distclean-bzip2: distclean-bzip2
6970 distclean-bzip2:
6971 @: $(MAKE); $(unstage)
6972 @[ -f ./bzip2/Makefile ] || exit 0; \
6973 r=`${PWD_COMMAND}`; export r; \
6974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6975 $(HOST_EXPORTS) \
6976 for flag in $(EXTRA_HOST_FLAGS) ; do \
6977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6978 done; \
6979 echo "Doing distclean in bzip2" ; \
6980 (cd $(HOST_SUBDIR)/bzip2 && \
6981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6983 "RANLIB=$${RANLIB}" \
6984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6985 distclean) \
6986 || exit 1
6988 @endif bzip2
6990 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6991 maybe-maintainer-clean-bzip2:
6992 @if bzip2
6993 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6995 maintainer-clean-bzip2:
6996 @: $(MAKE); $(unstage)
6997 @[ -f ./bzip2/Makefile ] || exit 0; \
6998 r=`${PWD_COMMAND}`; export r; \
6999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7000 $(HOST_EXPORTS) \
7001 for flag in $(EXTRA_HOST_FLAGS) ; do \
7002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7003 done; \
7004 echo "Doing maintainer-clean in bzip2" ; \
7005 (cd $(HOST_SUBDIR)/bzip2 && \
7006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7008 "RANLIB=$${RANLIB}" \
7009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7010 maintainer-clean) \
7011 || exit 1
7013 @endif bzip2
7017 .PHONY: configure-dejagnu maybe-configure-dejagnu
7018 maybe-configure-dejagnu:
7019 @if dejagnu
7020 maybe-configure-dejagnu: configure-dejagnu
7021 configure-dejagnu:
7022 @: $(MAKE); $(unstage)
7023 @r=`${PWD_COMMAND}`; export r; \
7024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7025 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7027 $(HOST_EXPORTS) \
7028 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7029 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7030 case $(srcdir) in \
7031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7032 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7034 esac; \
7035 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7036 libsrcdir="$$s/dejagnu"; \
7037 $(SHELL) $${libsrcdir}/configure \
7038 $(HOST_CONFIGARGS) $${srcdiroption} \
7039 || exit 1
7040 @endif dejagnu
7046 .PHONY: all-dejagnu maybe-all-dejagnu
7047 maybe-all-dejagnu:
7048 @if dejagnu
7049 TARGET-dejagnu=all
7050 maybe-all-dejagnu: all-dejagnu
7051 all-dejagnu: configure-dejagnu
7052 @: $(MAKE); $(unstage)
7053 @r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(HOST_EXPORTS) \
7056 (cd $(HOST_SUBDIR)/dejagnu && \
7057 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7058 @endif dejagnu
7063 .PHONY: check-dejagnu maybe-check-dejagnu
7064 maybe-check-dejagnu:
7065 @if dejagnu
7066 maybe-check-dejagnu: check-dejagnu
7068 check-dejagnu:
7069 @: $(MAKE); $(unstage)
7070 @r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 (cd $(HOST_SUBDIR)/dejagnu && \
7074 $(MAKE) $(FLAGS_TO_PASS) check)
7076 @endif dejagnu
7078 .PHONY: install-dejagnu maybe-install-dejagnu
7079 maybe-install-dejagnu:
7080 @if dejagnu
7081 maybe-install-dejagnu: install-dejagnu
7083 install-dejagnu: installdirs
7084 @: $(MAKE); $(unstage)
7085 @r=`${PWD_COMMAND}`; export r; \
7086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087 $(HOST_EXPORTS) \
7088 (cd $(HOST_SUBDIR)/dejagnu && \
7089 $(MAKE) $(FLAGS_TO_PASS) install)
7091 @endif dejagnu
7093 # Other targets (info, dvi, etc.)
7095 .PHONY: maybe-info-dejagnu info-dejagnu
7096 maybe-info-dejagnu:
7097 @if dejagnu
7098 maybe-info-dejagnu: info-dejagnu
7100 info-dejagnu: \
7101 configure-dejagnu
7102 @: $(MAKE); $(unstage)
7103 @[ -f ./dejagnu/Makefile ] || exit 0; \
7104 r=`${PWD_COMMAND}`; export r; \
7105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7106 $(HOST_EXPORTS) \
7107 for flag in $(EXTRA_HOST_FLAGS) ; do \
7108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7109 done; \
7110 echo "Doing info in dejagnu" ; \
7111 (cd $(HOST_SUBDIR)/dejagnu && \
7112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7114 "RANLIB=$${RANLIB}" \
7115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7116 info) \
7117 || exit 1
7119 @endif dejagnu
7121 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7122 maybe-dvi-dejagnu:
7123 @if dejagnu
7124 maybe-dvi-dejagnu: dvi-dejagnu
7126 dvi-dejagnu: \
7127 configure-dejagnu
7128 @: $(MAKE); $(unstage)
7129 @[ -f ./dejagnu/Makefile ] || exit 0; \
7130 r=`${PWD_COMMAND}`; export r; \
7131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 $(HOST_EXPORTS) \
7133 for flag in $(EXTRA_HOST_FLAGS) ; do \
7134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7135 done; \
7136 echo "Doing dvi in dejagnu" ; \
7137 (cd $(HOST_SUBDIR)/dejagnu && \
7138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7140 "RANLIB=$${RANLIB}" \
7141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7142 dvi) \
7143 || exit 1
7145 @endif dejagnu
7147 .PHONY: maybe-html-dejagnu html-dejagnu
7148 maybe-html-dejagnu:
7149 @if dejagnu
7150 maybe-html-dejagnu: html-dejagnu
7152 html-dejagnu: \
7153 configure-dejagnu
7154 @: $(MAKE); $(unstage)
7155 @[ -f ./dejagnu/Makefile ] || exit 0; \
7156 r=`${PWD_COMMAND}`; export r; \
7157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 $(HOST_EXPORTS) \
7159 for flag in $(EXTRA_HOST_FLAGS) ; do \
7160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 done; \
7162 echo "Doing html in dejagnu" ; \
7163 (cd $(HOST_SUBDIR)/dejagnu && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7166 "RANLIB=$${RANLIB}" \
7167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7168 html) \
7169 || exit 1
7171 @endif dejagnu
7173 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7174 maybe-TAGS-dejagnu:
7175 @if dejagnu
7176 maybe-TAGS-dejagnu: TAGS-dejagnu
7178 TAGS-dejagnu: \
7179 configure-dejagnu
7180 @: $(MAKE); $(unstage)
7181 @[ -f ./dejagnu/Makefile ] || exit 0; \
7182 r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 $(HOST_EXPORTS) \
7185 for flag in $(EXTRA_HOST_FLAGS) ; do \
7186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7187 done; \
7188 echo "Doing TAGS in dejagnu" ; \
7189 (cd $(HOST_SUBDIR)/dejagnu && \
7190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7192 "RANLIB=$${RANLIB}" \
7193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7194 TAGS) \
7195 || exit 1
7197 @endif dejagnu
7199 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7200 maybe-install-info-dejagnu:
7201 @if dejagnu
7202 maybe-install-info-dejagnu: install-info-dejagnu
7204 install-info-dejagnu: \
7205 configure-dejagnu \
7206 info-dejagnu
7207 @: $(MAKE); $(unstage)
7208 @[ -f ./dejagnu/Makefile ] || exit 0; \
7209 r=`${PWD_COMMAND}`; export r; \
7210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 $(HOST_EXPORTS) \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 done; \
7215 echo "Doing install-info in dejagnu" ; \
7216 (cd $(HOST_SUBDIR)/dejagnu && \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7221 install-info) \
7222 || exit 1
7224 @endif dejagnu
7226 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7227 maybe-installcheck-dejagnu:
7228 @if dejagnu
7229 maybe-installcheck-dejagnu: installcheck-dejagnu
7231 installcheck-dejagnu: \
7232 configure-dejagnu
7233 @: $(MAKE); $(unstage)
7234 @[ -f ./dejagnu/Makefile ] || exit 0; \
7235 r=`${PWD_COMMAND}`; export r; \
7236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237 $(HOST_EXPORTS) \
7238 for flag in $(EXTRA_HOST_FLAGS) ; do \
7239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7240 done; \
7241 echo "Doing installcheck in dejagnu" ; \
7242 (cd $(HOST_SUBDIR)/dejagnu && \
7243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7245 "RANLIB=$${RANLIB}" \
7246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7247 installcheck) \
7248 || exit 1
7250 @endif dejagnu
7252 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7253 maybe-mostlyclean-dejagnu:
7254 @if dejagnu
7255 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7257 mostlyclean-dejagnu:
7258 @: $(MAKE); $(unstage)
7259 @[ -f ./dejagnu/Makefile ] || exit 0; \
7260 r=`${PWD_COMMAND}`; export r; \
7261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7262 $(HOST_EXPORTS) \
7263 for flag in $(EXTRA_HOST_FLAGS) ; do \
7264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7265 done; \
7266 echo "Doing mostlyclean in dejagnu" ; \
7267 (cd $(HOST_SUBDIR)/dejagnu && \
7268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7270 "RANLIB=$${RANLIB}" \
7271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7272 mostlyclean) \
7273 || exit 1
7275 @endif dejagnu
7277 .PHONY: maybe-clean-dejagnu clean-dejagnu
7278 maybe-clean-dejagnu:
7279 @if dejagnu
7280 maybe-clean-dejagnu: clean-dejagnu
7282 clean-dejagnu:
7283 @: $(MAKE); $(unstage)
7284 @[ -f ./dejagnu/Makefile ] || exit 0; \
7285 r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing clean in dejagnu" ; \
7292 (cd $(HOST_SUBDIR)/dejagnu && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7297 clean) \
7298 || exit 1
7300 @endif dejagnu
7302 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7303 maybe-distclean-dejagnu:
7304 @if dejagnu
7305 maybe-distclean-dejagnu: distclean-dejagnu
7307 distclean-dejagnu:
7308 @: $(MAKE); $(unstage)
7309 @[ -f ./dejagnu/Makefile ] || exit 0; \
7310 r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing distclean in dejagnu" ; \
7317 (cd $(HOST_SUBDIR)/dejagnu && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7322 distclean) \
7323 || exit 1
7325 @endif dejagnu
7327 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7328 maybe-maintainer-clean-dejagnu:
7329 @if dejagnu
7330 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7332 maintainer-clean-dejagnu:
7333 @: $(MAKE); $(unstage)
7334 @[ -f ./dejagnu/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing maintainer-clean in dejagnu" ; \
7342 (cd $(HOST_SUBDIR)/dejagnu && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 maintainer-clean) \
7348 || exit 1
7350 @endif dejagnu
7354 .PHONY: configure-diff maybe-configure-diff
7355 maybe-configure-diff:
7356 @if diff
7357 maybe-configure-diff: configure-diff
7358 configure-diff:
7359 @: $(MAKE); $(unstage)
7360 @r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7364 $(HOST_EXPORTS) \
7365 echo Configuring in $(HOST_SUBDIR)/diff; \
7366 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7367 case $(srcdir) in \
7368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7369 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7371 esac; \
7372 srcdiroption="--srcdir=$${topdir}/diff"; \
7373 libsrcdir="$$s/diff"; \
7374 $(SHELL) $${libsrcdir}/configure \
7375 $(HOST_CONFIGARGS) $${srcdiroption} \
7376 || exit 1
7377 @endif diff
7383 .PHONY: all-diff maybe-all-diff
7384 maybe-all-diff:
7385 @if diff
7386 TARGET-diff=all
7387 maybe-all-diff: all-diff
7388 all-diff: configure-diff
7389 @: $(MAKE); $(unstage)
7390 @r=`${PWD_COMMAND}`; export r; \
7391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7392 $(HOST_EXPORTS) \
7393 (cd $(HOST_SUBDIR)/diff && \
7394 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7395 @endif diff
7400 .PHONY: check-diff maybe-check-diff
7401 maybe-check-diff:
7402 @if diff
7403 maybe-check-diff: check-diff
7405 check-diff:
7406 @: $(MAKE); $(unstage)
7407 @r=`${PWD_COMMAND}`; export r; \
7408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7409 $(HOST_EXPORTS) \
7410 (cd $(HOST_SUBDIR)/diff && \
7411 $(MAKE) $(FLAGS_TO_PASS) check)
7413 @endif diff
7415 .PHONY: install-diff maybe-install-diff
7416 maybe-install-diff:
7417 @if diff
7418 maybe-install-diff: install-diff
7420 install-diff: installdirs
7421 @: $(MAKE); $(unstage)
7422 @r=`${PWD_COMMAND}`; export r; \
7423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7424 $(HOST_EXPORTS) \
7425 (cd $(HOST_SUBDIR)/diff && \
7426 $(MAKE) $(FLAGS_TO_PASS) install)
7428 @endif diff
7430 # Other targets (info, dvi, etc.)
7432 .PHONY: maybe-info-diff info-diff
7433 maybe-info-diff:
7434 @if diff
7435 maybe-info-diff: info-diff
7437 info-diff: \
7438 configure-diff
7439 @: $(MAKE); $(unstage)
7440 @[ -f ./diff/Makefile ] || exit 0; \
7441 r=`${PWD_COMMAND}`; export r; \
7442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 $(HOST_EXPORTS) \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 done; \
7447 echo "Doing info in diff" ; \
7448 (cd $(HOST_SUBDIR)/diff && \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7453 info) \
7454 || exit 1
7456 @endif diff
7458 .PHONY: maybe-dvi-diff dvi-diff
7459 maybe-dvi-diff:
7460 @if diff
7461 maybe-dvi-diff: dvi-diff
7463 dvi-diff: \
7464 configure-diff
7465 @: $(MAKE); $(unstage)
7466 @[ -f ./diff/Makefile ] || exit 0; \
7467 r=`${PWD_COMMAND}`; export r; \
7468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7469 $(HOST_EXPORTS) \
7470 for flag in $(EXTRA_HOST_FLAGS) ; do \
7471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7472 done; \
7473 echo "Doing dvi in diff" ; \
7474 (cd $(HOST_SUBDIR)/diff && \
7475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7477 "RANLIB=$${RANLIB}" \
7478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7479 dvi) \
7480 || exit 1
7482 @endif diff
7484 .PHONY: maybe-html-diff html-diff
7485 maybe-html-diff:
7486 @if diff
7487 maybe-html-diff: html-diff
7489 html-diff: \
7490 configure-diff
7491 @: $(MAKE); $(unstage)
7492 @[ -f ./diff/Makefile ] || exit 0; \
7493 r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 $(HOST_EXPORTS) \
7496 for flag in $(EXTRA_HOST_FLAGS) ; do \
7497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7498 done; \
7499 echo "Doing html in diff" ; \
7500 (cd $(HOST_SUBDIR)/diff && \
7501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7503 "RANLIB=$${RANLIB}" \
7504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7505 html) \
7506 || exit 1
7508 @endif diff
7510 .PHONY: maybe-TAGS-diff TAGS-diff
7511 maybe-TAGS-diff:
7512 @if diff
7513 maybe-TAGS-diff: TAGS-diff
7515 TAGS-diff: \
7516 configure-diff
7517 @: $(MAKE); $(unstage)
7518 @[ -f ./diff/Makefile ] || exit 0; \
7519 r=`${PWD_COMMAND}`; export r; \
7520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7521 $(HOST_EXPORTS) \
7522 for flag in $(EXTRA_HOST_FLAGS) ; do \
7523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7524 done; \
7525 echo "Doing TAGS in diff" ; \
7526 (cd $(HOST_SUBDIR)/diff && \
7527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7529 "RANLIB=$${RANLIB}" \
7530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7531 TAGS) \
7532 || exit 1
7534 @endif diff
7536 .PHONY: maybe-install-info-diff install-info-diff
7537 maybe-install-info-diff:
7538 @if diff
7539 maybe-install-info-diff: install-info-diff
7541 install-info-diff: \
7542 configure-diff \
7543 info-diff
7544 @: $(MAKE); $(unstage)
7545 @[ -f ./diff/Makefile ] || exit 0; \
7546 r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 $(HOST_EXPORTS) \
7549 for flag in $(EXTRA_HOST_FLAGS) ; do \
7550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7551 done; \
7552 echo "Doing install-info in diff" ; \
7553 (cd $(HOST_SUBDIR)/diff && \
7554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7556 "RANLIB=$${RANLIB}" \
7557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7558 install-info) \
7559 || exit 1
7561 @endif diff
7563 .PHONY: maybe-installcheck-diff installcheck-diff
7564 maybe-installcheck-diff:
7565 @if diff
7566 maybe-installcheck-diff: installcheck-diff
7568 installcheck-diff: \
7569 configure-diff
7570 @: $(MAKE); $(unstage)
7571 @[ -f ./diff/Makefile ] || exit 0; \
7572 r=`${PWD_COMMAND}`; export r; \
7573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7574 $(HOST_EXPORTS) \
7575 for flag in $(EXTRA_HOST_FLAGS) ; do \
7576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7577 done; \
7578 echo "Doing installcheck in diff" ; \
7579 (cd $(HOST_SUBDIR)/diff && \
7580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7582 "RANLIB=$${RANLIB}" \
7583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7584 installcheck) \
7585 || exit 1
7587 @endif diff
7589 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7590 maybe-mostlyclean-diff:
7591 @if diff
7592 maybe-mostlyclean-diff: mostlyclean-diff
7594 mostlyclean-diff:
7595 @: $(MAKE); $(unstage)
7596 @[ -f ./diff/Makefile ] || exit 0; \
7597 r=`${PWD_COMMAND}`; export r; \
7598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7599 $(HOST_EXPORTS) \
7600 for flag in $(EXTRA_HOST_FLAGS) ; do \
7601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7602 done; \
7603 echo "Doing mostlyclean in diff" ; \
7604 (cd $(HOST_SUBDIR)/diff && \
7605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7607 "RANLIB=$${RANLIB}" \
7608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7609 mostlyclean) \
7610 || exit 1
7612 @endif diff
7614 .PHONY: maybe-clean-diff clean-diff
7615 maybe-clean-diff:
7616 @if diff
7617 maybe-clean-diff: clean-diff
7619 clean-diff:
7620 @: $(MAKE); $(unstage)
7621 @[ -f ./diff/Makefile ] || exit 0; \
7622 r=`${PWD_COMMAND}`; export r; \
7623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7624 $(HOST_EXPORTS) \
7625 for flag in $(EXTRA_HOST_FLAGS) ; do \
7626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7627 done; \
7628 echo "Doing clean in diff" ; \
7629 (cd $(HOST_SUBDIR)/diff && \
7630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7632 "RANLIB=$${RANLIB}" \
7633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7634 clean) \
7635 || exit 1
7637 @endif diff
7639 .PHONY: maybe-distclean-diff distclean-diff
7640 maybe-distclean-diff:
7641 @if diff
7642 maybe-distclean-diff: distclean-diff
7644 distclean-diff:
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./diff/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing distclean in diff" ; \
7654 (cd $(HOST_SUBDIR)/diff && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7659 distclean) \
7660 || exit 1
7662 @endif diff
7664 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7665 maybe-maintainer-clean-diff:
7666 @if diff
7667 maybe-maintainer-clean-diff: maintainer-clean-diff
7669 maintainer-clean-diff:
7670 @: $(MAKE); $(unstage)
7671 @[ -f ./diff/Makefile ] || exit 0; \
7672 r=`${PWD_COMMAND}`; export r; \
7673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7674 $(HOST_EXPORTS) \
7675 for flag in $(EXTRA_HOST_FLAGS) ; do \
7676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7677 done; \
7678 echo "Doing maintainer-clean in diff" ; \
7679 (cd $(HOST_SUBDIR)/diff && \
7680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7682 "RANLIB=$${RANLIB}" \
7683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7684 maintainer-clean) \
7685 || exit 1
7687 @endif diff
7691 .PHONY: configure-dosutils maybe-configure-dosutils
7692 maybe-configure-dosutils:
7693 @if dosutils
7694 maybe-configure-dosutils: configure-dosutils
7695 configure-dosutils:
7696 @: $(MAKE); $(unstage)
7697 @r=`${PWD_COMMAND}`; export r; \
7698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7699 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7700 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7701 $(HOST_EXPORTS) \
7702 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7703 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7704 case $(srcdir) in \
7705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7706 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7708 esac; \
7709 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7710 libsrcdir="$$s/dosutils"; \
7711 $(SHELL) $${libsrcdir}/configure \
7712 $(HOST_CONFIGARGS) $${srcdiroption} \
7713 || exit 1
7714 @endif dosutils
7720 .PHONY: all-dosutils maybe-all-dosutils
7721 maybe-all-dosutils:
7722 @if dosutils
7723 TARGET-dosutils=all
7724 maybe-all-dosutils: all-dosutils
7725 all-dosutils: configure-dosutils
7726 @: $(MAKE); $(unstage)
7727 @r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 $(HOST_EXPORTS) \
7730 (cd $(HOST_SUBDIR)/dosutils && \
7731 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7732 @endif dosutils
7737 .PHONY: check-dosutils maybe-check-dosutils
7738 maybe-check-dosutils:
7739 @if dosutils
7740 maybe-check-dosutils: check-dosutils
7742 check-dosutils:
7744 @endif dosutils
7746 .PHONY: install-dosutils maybe-install-dosutils
7747 maybe-install-dosutils:
7748 @if dosutils
7749 maybe-install-dosutils: install-dosutils
7751 install-dosutils: installdirs
7752 @: $(MAKE); $(unstage)
7753 @r=`${PWD_COMMAND}`; export r; \
7754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7755 $(HOST_EXPORTS) \
7756 (cd $(HOST_SUBDIR)/dosutils && \
7757 $(MAKE) $(FLAGS_TO_PASS) install)
7759 @endif dosutils
7761 # Other targets (info, dvi, etc.)
7763 .PHONY: maybe-info-dosutils info-dosutils
7764 maybe-info-dosutils:
7765 @if dosutils
7766 maybe-info-dosutils: info-dosutils
7768 info-dosutils: \
7769 configure-dosutils
7770 @: $(MAKE); $(unstage)
7771 @[ -f ./dosutils/Makefile ] || exit 0; \
7772 r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(HOST_EXPORTS) \
7775 for flag in $(EXTRA_HOST_FLAGS) ; do \
7776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7777 done; \
7778 echo "Doing info in dosutils" ; \
7779 (cd $(HOST_SUBDIR)/dosutils && \
7780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7782 "RANLIB=$${RANLIB}" \
7783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7784 info) \
7785 || exit 1
7787 @endif dosutils
7789 .PHONY: maybe-dvi-dosutils dvi-dosutils
7790 maybe-dvi-dosutils:
7791 @if dosutils
7792 maybe-dvi-dosutils: dvi-dosutils
7794 dvi-dosutils: \
7795 configure-dosutils
7796 @: $(MAKE); $(unstage)
7797 @[ -f ./dosutils/Makefile ] || exit 0; \
7798 r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 $(HOST_EXPORTS) \
7801 for flag in $(EXTRA_HOST_FLAGS) ; do \
7802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7803 done; \
7804 echo "Doing dvi in dosutils" ; \
7805 (cd $(HOST_SUBDIR)/dosutils && \
7806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7808 "RANLIB=$${RANLIB}" \
7809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7810 dvi) \
7811 || exit 1
7813 @endif dosutils
7815 .PHONY: maybe-html-dosutils html-dosutils
7816 maybe-html-dosutils:
7817 @if dosutils
7818 maybe-html-dosutils: html-dosutils
7820 html-dosutils: \
7821 configure-dosutils
7822 @: $(MAKE); $(unstage)
7823 @[ -f ./dosutils/Makefile ] || exit 0; \
7824 r=`${PWD_COMMAND}`; export r; \
7825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7826 $(HOST_EXPORTS) \
7827 for flag in $(EXTRA_HOST_FLAGS) ; do \
7828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7829 done; \
7830 echo "Doing html in dosutils" ; \
7831 (cd $(HOST_SUBDIR)/dosutils && \
7832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7834 "RANLIB=$${RANLIB}" \
7835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7836 html) \
7837 || exit 1
7839 @endif dosutils
7841 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7842 maybe-TAGS-dosutils:
7843 @if dosutils
7844 maybe-TAGS-dosutils: TAGS-dosutils
7846 TAGS-dosutils: \
7847 configure-dosutils
7848 @: $(MAKE); $(unstage)
7849 @[ -f ./dosutils/Makefile ] || exit 0; \
7850 r=`${PWD_COMMAND}`; export r; \
7851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7852 $(HOST_EXPORTS) \
7853 for flag in $(EXTRA_HOST_FLAGS) ; do \
7854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7855 done; \
7856 echo "Doing TAGS in dosutils" ; \
7857 (cd $(HOST_SUBDIR)/dosutils && \
7858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7860 "RANLIB=$${RANLIB}" \
7861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7862 TAGS) \
7863 || exit 1
7865 @endif dosutils
7867 .PHONY: maybe-install-info-dosutils install-info-dosutils
7868 maybe-install-info-dosutils:
7869 @if dosutils
7870 maybe-install-info-dosutils: install-info-dosutils
7872 install-info-dosutils: \
7873 configure-dosutils \
7874 info-dosutils
7875 @: $(MAKE); $(unstage)
7876 @[ -f ./dosutils/Makefile ] || exit 0; \
7877 r=`${PWD_COMMAND}`; export r; \
7878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7879 $(HOST_EXPORTS) \
7880 for flag in $(EXTRA_HOST_FLAGS) ; do \
7881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7882 done; \
7883 echo "Doing install-info in dosutils" ; \
7884 (cd $(HOST_SUBDIR)/dosutils && \
7885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7887 "RANLIB=$${RANLIB}" \
7888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7889 install-info) \
7890 || exit 1
7892 @endif dosutils
7894 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7895 maybe-installcheck-dosutils:
7896 @if dosutils
7897 maybe-installcheck-dosutils: installcheck-dosutils
7899 installcheck-dosutils: \
7900 configure-dosutils
7901 @: $(MAKE); $(unstage)
7902 @[ -f ./dosutils/Makefile ] || exit 0; \
7903 r=`${PWD_COMMAND}`; export r; \
7904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7905 $(HOST_EXPORTS) \
7906 for flag in $(EXTRA_HOST_FLAGS) ; do \
7907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7908 done; \
7909 echo "Doing installcheck in dosutils" ; \
7910 (cd $(HOST_SUBDIR)/dosutils && \
7911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7913 "RANLIB=$${RANLIB}" \
7914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7915 installcheck) \
7916 || exit 1
7918 @endif dosutils
7920 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7921 maybe-mostlyclean-dosutils:
7922 @if dosutils
7923 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7925 mostlyclean-dosutils:
7926 @: $(MAKE); $(unstage)
7927 @[ -f ./dosutils/Makefile ] || exit 0; \
7928 r=`${PWD_COMMAND}`; export r; \
7929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930 $(HOST_EXPORTS) \
7931 for flag in $(EXTRA_HOST_FLAGS) ; do \
7932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933 done; \
7934 echo "Doing mostlyclean in dosutils" ; \
7935 (cd $(HOST_SUBDIR)/dosutils && \
7936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7938 "RANLIB=$${RANLIB}" \
7939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7940 mostlyclean) \
7941 || exit 1
7943 @endif dosutils
7945 .PHONY: maybe-clean-dosutils clean-dosutils
7946 maybe-clean-dosutils:
7947 @if dosutils
7948 maybe-clean-dosutils: clean-dosutils
7950 clean-dosutils:
7951 @: $(MAKE); $(unstage)
7952 @[ -f ./dosutils/Makefile ] || exit 0; \
7953 r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 $(HOST_EXPORTS) \
7956 for flag in $(EXTRA_HOST_FLAGS) ; do \
7957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7958 done; \
7959 echo "Doing clean in dosutils" ; \
7960 (cd $(HOST_SUBDIR)/dosutils && \
7961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7963 "RANLIB=$${RANLIB}" \
7964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7965 clean) \
7966 || exit 1
7968 @endif dosutils
7970 .PHONY: maybe-distclean-dosutils distclean-dosutils
7971 maybe-distclean-dosutils:
7972 @if dosutils
7973 maybe-distclean-dosutils: distclean-dosutils
7975 distclean-dosutils:
7976 @: $(MAKE); $(unstage)
7977 @[ -f ./dosutils/Makefile ] || exit 0; \
7978 r=`${PWD_COMMAND}`; export r; \
7979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980 $(HOST_EXPORTS) \
7981 for flag in $(EXTRA_HOST_FLAGS) ; do \
7982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7983 done; \
7984 echo "Doing distclean in dosutils" ; \
7985 (cd $(HOST_SUBDIR)/dosutils && \
7986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7988 "RANLIB=$${RANLIB}" \
7989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7990 distclean) \
7991 || exit 1
7993 @endif dosutils
7995 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7996 maybe-maintainer-clean-dosutils:
7997 @if dosutils
7998 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8000 maintainer-clean-dosutils:
8001 @: $(MAKE); $(unstage)
8002 @[ -f ./dosutils/Makefile ] || exit 0; \
8003 r=`${PWD_COMMAND}`; export r; \
8004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8005 $(HOST_EXPORTS) \
8006 for flag in $(EXTRA_HOST_FLAGS) ; do \
8007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8008 done; \
8009 echo "Doing maintainer-clean in dosutils" ; \
8010 (cd $(HOST_SUBDIR)/dosutils && \
8011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8013 "RANLIB=$${RANLIB}" \
8014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8015 maintainer-clean) \
8016 || exit 1
8018 @endif dosutils
8022 .PHONY: configure-etc maybe-configure-etc
8023 maybe-configure-etc:
8024 @if etc
8025 maybe-configure-etc: configure-etc
8026 configure-etc:
8027 @: $(MAKE); $(unstage)
8028 @r=`${PWD_COMMAND}`; export r; \
8029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8030 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8032 $(HOST_EXPORTS) \
8033 echo Configuring in $(HOST_SUBDIR)/etc; \
8034 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8035 case $(srcdir) in \
8036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8037 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8039 esac; \
8040 srcdiroption="--srcdir=$${topdir}/etc"; \
8041 libsrcdir="$$s/etc"; \
8042 $(SHELL) $${libsrcdir}/configure \
8043 $(HOST_CONFIGARGS) $${srcdiroption} \
8044 || exit 1
8045 @endif etc
8051 .PHONY: all-etc maybe-all-etc
8052 maybe-all-etc:
8053 @if etc
8054 TARGET-etc=all
8055 maybe-all-etc: all-etc
8056 all-etc: configure-etc
8057 @: $(MAKE); $(unstage)
8058 @r=`${PWD_COMMAND}`; export r; \
8059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8060 $(HOST_EXPORTS) \
8061 (cd $(HOST_SUBDIR)/etc && \
8062 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8063 @endif etc
8068 .PHONY: check-etc maybe-check-etc
8069 maybe-check-etc:
8070 @if etc
8071 maybe-check-etc: check-etc
8073 check-etc:
8074 @: $(MAKE); $(unstage)
8075 @r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(HOST_EXPORTS) \
8078 (cd $(HOST_SUBDIR)/etc && \
8079 $(MAKE) $(FLAGS_TO_PASS) check)
8081 @endif etc
8083 .PHONY: install-etc maybe-install-etc
8084 maybe-install-etc:
8085 @if etc
8086 maybe-install-etc: install-etc
8088 install-etc: installdirs
8089 @: $(MAKE); $(unstage)
8090 @r=`${PWD_COMMAND}`; export r; \
8091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8092 $(HOST_EXPORTS) \
8093 (cd $(HOST_SUBDIR)/etc && \
8094 $(MAKE) $(FLAGS_TO_PASS) install)
8096 @endif etc
8098 # Other targets (info, dvi, etc.)
8100 .PHONY: maybe-info-etc info-etc
8101 maybe-info-etc:
8102 @if etc
8103 maybe-info-etc: info-etc
8105 info-etc: \
8106 configure-etc
8107 @: $(MAKE); $(unstage)
8108 @[ -f ./etc/Makefile ] || exit 0; \
8109 r=`${PWD_COMMAND}`; export r; \
8110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8111 $(HOST_EXPORTS) \
8112 for flag in $(EXTRA_HOST_FLAGS) ; do \
8113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8114 done; \
8115 echo "Doing info in etc" ; \
8116 (cd $(HOST_SUBDIR)/etc && \
8117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8119 "RANLIB=$${RANLIB}" \
8120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8121 info) \
8122 || exit 1
8124 @endif etc
8126 .PHONY: maybe-dvi-etc dvi-etc
8127 maybe-dvi-etc:
8128 @if etc
8129 maybe-dvi-etc: dvi-etc
8131 dvi-etc: \
8132 configure-etc
8133 @: $(MAKE); $(unstage)
8134 @[ -f ./etc/Makefile ] || exit 0; \
8135 r=`${PWD_COMMAND}`; export r; \
8136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8137 $(HOST_EXPORTS) \
8138 for flag in $(EXTRA_HOST_FLAGS) ; do \
8139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8140 done; \
8141 echo "Doing dvi in etc" ; \
8142 (cd $(HOST_SUBDIR)/etc && \
8143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8145 "RANLIB=$${RANLIB}" \
8146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8147 dvi) \
8148 || exit 1
8150 @endif etc
8152 .PHONY: maybe-html-etc html-etc
8153 maybe-html-etc:
8154 @if etc
8155 maybe-html-etc: html-etc
8157 html-etc: \
8158 configure-etc
8159 @: $(MAKE); $(unstage)
8160 @[ -f ./etc/Makefile ] || exit 0; \
8161 r=`${PWD_COMMAND}`; export r; \
8162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8163 $(HOST_EXPORTS) \
8164 for flag in $(EXTRA_HOST_FLAGS) ; do \
8165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8166 done; \
8167 echo "Doing html in etc" ; \
8168 (cd $(HOST_SUBDIR)/etc && \
8169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8171 "RANLIB=$${RANLIB}" \
8172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8173 html) \
8174 || exit 1
8176 @endif etc
8178 .PHONY: maybe-TAGS-etc TAGS-etc
8179 maybe-TAGS-etc:
8180 @if etc
8181 maybe-TAGS-etc: TAGS-etc
8183 TAGS-etc: \
8184 configure-etc
8185 @: $(MAKE); $(unstage)
8186 @[ -f ./etc/Makefile ] || exit 0; \
8187 r=`${PWD_COMMAND}`; export r; \
8188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8189 $(HOST_EXPORTS) \
8190 for flag in $(EXTRA_HOST_FLAGS) ; do \
8191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8192 done; \
8193 echo "Doing TAGS in etc" ; \
8194 (cd $(HOST_SUBDIR)/etc && \
8195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8197 "RANLIB=$${RANLIB}" \
8198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8199 TAGS) \
8200 || exit 1
8202 @endif etc
8204 .PHONY: maybe-install-info-etc install-info-etc
8205 maybe-install-info-etc:
8206 @if etc
8207 maybe-install-info-etc: install-info-etc
8209 install-info-etc: \
8210 configure-etc \
8211 info-etc
8212 @: $(MAKE); $(unstage)
8213 @[ -f ./etc/Makefile ] || exit 0; \
8214 r=`${PWD_COMMAND}`; export r; \
8215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8216 $(HOST_EXPORTS) \
8217 for flag in $(EXTRA_HOST_FLAGS) ; do \
8218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8219 done; \
8220 echo "Doing install-info in etc" ; \
8221 (cd $(HOST_SUBDIR)/etc && \
8222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8224 "RANLIB=$${RANLIB}" \
8225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8226 install-info) \
8227 || exit 1
8229 @endif etc
8231 .PHONY: maybe-installcheck-etc installcheck-etc
8232 maybe-installcheck-etc:
8233 @if etc
8234 maybe-installcheck-etc: installcheck-etc
8236 installcheck-etc: \
8237 configure-etc
8238 @: $(MAKE); $(unstage)
8239 @[ -f ./etc/Makefile ] || exit 0; \
8240 r=`${PWD_COMMAND}`; export r; \
8241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8242 $(HOST_EXPORTS) \
8243 for flag in $(EXTRA_HOST_FLAGS) ; do \
8244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8245 done; \
8246 echo "Doing installcheck in etc" ; \
8247 (cd $(HOST_SUBDIR)/etc && \
8248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8250 "RANLIB=$${RANLIB}" \
8251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8252 installcheck) \
8253 || exit 1
8255 @endif etc
8257 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8258 maybe-mostlyclean-etc:
8259 @if etc
8260 maybe-mostlyclean-etc: mostlyclean-etc
8262 mostlyclean-etc:
8263 @: $(MAKE); $(unstage)
8264 @[ -f ./etc/Makefile ] || exit 0; \
8265 r=`${PWD_COMMAND}`; export r; \
8266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8267 $(HOST_EXPORTS) \
8268 for flag in $(EXTRA_HOST_FLAGS) ; do \
8269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8270 done; \
8271 echo "Doing mostlyclean in etc" ; \
8272 (cd $(HOST_SUBDIR)/etc && \
8273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8275 "RANLIB=$${RANLIB}" \
8276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8277 mostlyclean) \
8278 || exit 1
8280 @endif etc
8282 .PHONY: maybe-clean-etc clean-etc
8283 maybe-clean-etc:
8284 @if etc
8285 maybe-clean-etc: clean-etc
8287 clean-etc:
8288 @: $(MAKE); $(unstage)
8289 @[ -f ./etc/Makefile ] || exit 0; \
8290 r=`${PWD_COMMAND}`; export r; \
8291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8292 $(HOST_EXPORTS) \
8293 for flag in $(EXTRA_HOST_FLAGS) ; do \
8294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8295 done; \
8296 echo "Doing clean in etc" ; \
8297 (cd $(HOST_SUBDIR)/etc && \
8298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8300 "RANLIB=$${RANLIB}" \
8301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8302 clean) \
8303 || exit 1
8305 @endif etc
8307 .PHONY: maybe-distclean-etc distclean-etc
8308 maybe-distclean-etc:
8309 @if etc
8310 maybe-distclean-etc: distclean-etc
8312 distclean-etc:
8313 @: $(MAKE); $(unstage)
8314 @[ -f ./etc/Makefile ] || exit 0; \
8315 r=`${PWD_COMMAND}`; export r; \
8316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8317 $(HOST_EXPORTS) \
8318 for flag in $(EXTRA_HOST_FLAGS) ; do \
8319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8320 done; \
8321 echo "Doing distclean in etc" ; \
8322 (cd $(HOST_SUBDIR)/etc && \
8323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8325 "RANLIB=$${RANLIB}" \
8326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8327 distclean) \
8328 || exit 1
8330 @endif etc
8332 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8333 maybe-maintainer-clean-etc:
8334 @if etc
8335 maybe-maintainer-clean-etc: maintainer-clean-etc
8337 maintainer-clean-etc:
8338 @: $(MAKE); $(unstage)
8339 @[ -f ./etc/Makefile ] || exit 0; \
8340 r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 $(HOST_EXPORTS) \
8343 for flag in $(EXTRA_HOST_FLAGS) ; do \
8344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8345 done; \
8346 echo "Doing maintainer-clean in etc" ; \
8347 (cd $(HOST_SUBDIR)/etc && \
8348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8350 "RANLIB=$${RANLIB}" \
8351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8352 maintainer-clean) \
8353 || exit 1
8355 @endif etc
8359 .PHONY: configure-fastjar maybe-configure-fastjar
8360 maybe-configure-fastjar:
8361 @if fastjar
8362 maybe-configure-fastjar: configure-fastjar
8363 configure-fastjar:
8364 @: $(MAKE); $(unstage)
8365 @r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8369 $(HOST_EXPORTS) \
8370 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8371 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8372 case $(srcdir) in \
8373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8374 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8376 esac; \
8377 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8378 libsrcdir="$$s/fastjar"; \
8379 $(SHELL) $${libsrcdir}/configure \
8380 $(HOST_CONFIGARGS) $${srcdiroption} \
8381 || exit 1
8382 @endif fastjar
8388 .PHONY: all-fastjar maybe-all-fastjar
8389 maybe-all-fastjar:
8390 @if fastjar
8391 TARGET-fastjar=all
8392 maybe-all-fastjar: all-fastjar
8393 all-fastjar: configure-fastjar
8394 @: $(MAKE); $(unstage)
8395 @r=`${PWD_COMMAND}`; export r; \
8396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8397 $(HOST_EXPORTS) \
8398 (cd $(HOST_SUBDIR)/fastjar && \
8399 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8400 @endif fastjar
8405 .PHONY: check-fastjar maybe-check-fastjar
8406 maybe-check-fastjar:
8407 @if fastjar
8408 maybe-check-fastjar: check-fastjar
8410 # This module is only tested in a native toolchain.
8411 check-fastjar:
8412 @: $(MAKE); $(unstage)
8413 @if [ '$(host)' = '$(target)' ] ; then \
8414 r=`${PWD_COMMAND}`; export r; \
8415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 $(HOST_EXPORTS) \
8417 (cd $(HOST_SUBDIR)/fastjar && \
8418 $(MAKE) $(FLAGS_TO_PASS) check); \
8421 @endif fastjar
8423 .PHONY: install-fastjar maybe-install-fastjar
8424 maybe-install-fastjar:
8425 @if fastjar
8426 maybe-install-fastjar: install-fastjar
8428 install-fastjar: installdirs
8429 @: $(MAKE); $(unstage)
8430 @r=`${PWD_COMMAND}`; export r; \
8431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8432 $(HOST_EXPORTS) \
8433 (cd $(HOST_SUBDIR)/fastjar && \
8434 $(MAKE) $(FLAGS_TO_PASS) install)
8436 @endif fastjar
8438 # Other targets (info, dvi, etc.)
8440 .PHONY: maybe-info-fastjar info-fastjar
8441 maybe-info-fastjar:
8442 @if fastjar
8443 maybe-info-fastjar: info-fastjar
8445 info-fastjar: \
8446 configure-fastjar
8447 @: $(MAKE); $(unstage)
8448 @[ -f ./fastjar/Makefile ] || exit 0; \
8449 r=`${PWD_COMMAND}`; export r; \
8450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing info in fastjar" ; \
8456 (cd $(HOST_SUBDIR)/fastjar && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8461 info) \
8462 || exit 1
8464 @endif fastjar
8466 .PHONY: maybe-dvi-fastjar dvi-fastjar
8467 maybe-dvi-fastjar:
8468 @if fastjar
8469 maybe-dvi-fastjar: dvi-fastjar
8471 dvi-fastjar: \
8472 configure-fastjar
8473 @: $(MAKE); $(unstage)
8474 @[ -f ./fastjar/Makefile ] || exit 0; \
8475 r=`${PWD_COMMAND}`; export r; \
8476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8477 $(HOST_EXPORTS) \
8478 for flag in $(EXTRA_HOST_FLAGS) ; do \
8479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8480 done; \
8481 echo "Doing dvi in fastjar" ; \
8482 (cd $(HOST_SUBDIR)/fastjar && \
8483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8485 "RANLIB=$${RANLIB}" \
8486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8487 dvi) \
8488 || exit 1
8490 @endif fastjar
8492 .PHONY: maybe-html-fastjar html-fastjar
8493 maybe-html-fastjar:
8494 @if fastjar
8495 maybe-html-fastjar: html-fastjar
8497 html-fastjar: \
8498 configure-fastjar
8499 @: $(MAKE); $(unstage)
8500 @[ -f ./fastjar/Makefile ] || exit 0; \
8501 r=`${PWD_COMMAND}`; export r; \
8502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8503 $(HOST_EXPORTS) \
8504 for flag in $(EXTRA_HOST_FLAGS) ; do \
8505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8506 done; \
8507 echo "Doing html in fastjar" ; \
8508 (cd $(HOST_SUBDIR)/fastjar && \
8509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8511 "RANLIB=$${RANLIB}" \
8512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8513 html) \
8514 || exit 1
8516 @endif fastjar
8518 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8519 maybe-TAGS-fastjar:
8520 @if fastjar
8521 maybe-TAGS-fastjar: TAGS-fastjar
8523 TAGS-fastjar: \
8524 configure-fastjar
8525 @: $(MAKE); $(unstage)
8526 @[ -f ./fastjar/Makefile ] || exit 0; \
8527 r=`${PWD_COMMAND}`; export r; \
8528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8529 $(HOST_EXPORTS) \
8530 for flag in $(EXTRA_HOST_FLAGS) ; do \
8531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8532 done; \
8533 echo "Doing TAGS in fastjar" ; \
8534 (cd $(HOST_SUBDIR)/fastjar && \
8535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8537 "RANLIB=$${RANLIB}" \
8538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8539 TAGS) \
8540 || exit 1
8542 @endif fastjar
8544 .PHONY: maybe-install-info-fastjar install-info-fastjar
8545 maybe-install-info-fastjar:
8546 @if fastjar
8547 maybe-install-info-fastjar: install-info-fastjar
8549 install-info-fastjar: \
8550 configure-fastjar \
8551 info-fastjar
8552 @: $(MAKE); $(unstage)
8553 @[ -f ./fastjar/Makefile ] || exit 0; \
8554 r=`${PWD_COMMAND}`; export r; \
8555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8556 $(HOST_EXPORTS) \
8557 for flag in $(EXTRA_HOST_FLAGS) ; do \
8558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8559 done; \
8560 echo "Doing install-info in fastjar" ; \
8561 (cd $(HOST_SUBDIR)/fastjar && \
8562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8564 "RANLIB=$${RANLIB}" \
8565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8566 install-info) \
8567 || exit 1
8569 @endif fastjar
8571 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8572 maybe-installcheck-fastjar:
8573 @if fastjar
8574 maybe-installcheck-fastjar: installcheck-fastjar
8576 installcheck-fastjar: \
8577 configure-fastjar
8578 @: $(MAKE); $(unstage)
8579 @[ -f ./fastjar/Makefile ] || exit 0; \
8580 r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(HOST_EXPORTS) \
8583 for flag in $(EXTRA_HOST_FLAGS) ; do \
8584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 done; \
8586 echo "Doing installcheck in fastjar" ; \
8587 (cd $(HOST_SUBDIR)/fastjar && \
8588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8590 "RANLIB=$${RANLIB}" \
8591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8592 installcheck) \
8593 || exit 1
8595 @endif fastjar
8597 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8598 maybe-mostlyclean-fastjar:
8599 @if fastjar
8600 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8602 mostlyclean-fastjar:
8603 @: $(MAKE); $(unstage)
8604 @[ -f ./fastjar/Makefile ] || exit 0; \
8605 r=`${PWD_COMMAND}`; export r; \
8606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 $(HOST_EXPORTS) \
8608 for flag in $(EXTRA_HOST_FLAGS) ; do \
8609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8610 done; \
8611 echo "Doing mostlyclean in fastjar" ; \
8612 (cd $(HOST_SUBDIR)/fastjar && \
8613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8615 "RANLIB=$${RANLIB}" \
8616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8617 mostlyclean) \
8618 || exit 1
8620 @endif fastjar
8622 .PHONY: maybe-clean-fastjar clean-fastjar
8623 maybe-clean-fastjar:
8624 @if fastjar
8625 maybe-clean-fastjar: clean-fastjar
8627 clean-fastjar:
8628 @: $(MAKE); $(unstage)
8629 @[ -f ./fastjar/Makefile ] || exit 0; \
8630 r=`${PWD_COMMAND}`; export r; \
8631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8632 $(HOST_EXPORTS) \
8633 for flag in $(EXTRA_HOST_FLAGS) ; do \
8634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8635 done; \
8636 echo "Doing clean in fastjar" ; \
8637 (cd $(HOST_SUBDIR)/fastjar && \
8638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8640 "RANLIB=$${RANLIB}" \
8641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8642 clean) \
8643 || exit 1
8645 @endif fastjar
8647 .PHONY: maybe-distclean-fastjar distclean-fastjar
8648 maybe-distclean-fastjar:
8649 @if fastjar
8650 maybe-distclean-fastjar: distclean-fastjar
8652 distclean-fastjar:
8653 @: $(MAKE); $(unstage)
8654 @[ -f ./fastjar/Makefile ] || exit 0; \
8655 r=`${PWD_COMMAND}`; export r; \
8656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8657 $(HOST_EXPORTS) \
8658 for flag in $(EXTRA_HOST_FLAGS) ; do \
8659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8660 done; \
8661 echo "Doing distclean in fastjar" ; \
8662 (cd $(HOST_SUBDIR)/fastjar && \
8663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8665 "RANLIB=$${RANLIB}" \
8666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8667 distclean) \
8668 || exit 1
8670 @endif fastjar
8672 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8673 maybe-maintainer-clean-fastjar:
8674 @if fastjar
8675 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8677 maintainer-clean-fastjar:
8678 @: $(MAKE); $(unstage)
8679 @[ -f ./fastjar/Makefile ] || exit 0; \
8680 r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 $(HOST_EXPORTS) \
8683 for flag in $(EXTRA_HOST_FLAGS) ; do \
8684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8685 done; \
8686 echo "Doing maintainer-clean in fastjar" ; \
8687 (cd $(HOST_SUBDIR)/fastjar && \
8688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8690 "RANLIB=$${RANLIB}" \
8691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8692 maintainer-clean) \
8693 || exit 1
8695 @endif fastjar
8699 .PHONY: configure-fileutils maybe-configure-fileutils
8700 maybe-configure-fileutils:
8701 @if fileutils
8702 maybe-configure-fileutils: configure-fileutils
8703 configure-fileutils:
8704 @: $(MAKE); $(unstage)
8705 @r=`${PWD_COMMAND}`; export r; \
8706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8707 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8709 $(HOST_EXPORTS) \
8710 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8711 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8712 case $(srcdir) in \
8713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8714 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8716 esac; \
8717 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8718 libsrcdir="$$s/fileutils"; \
8719 $(SHELL) $${libsrcdir}/configure \
8720 $(HOST_CONFIGARGS) $${srcdiroption} \
8721 || exit 1
8722 @endif fileutils
8728 .PHONY: all-fileutils maybe-all-fileutils
8729 maybe-all-fileutils:
8730 @if fileutils
8731 TARGET-fileutils=all
8732 maybe-all-fileutils: all-fileutils
8733 all-fileutils: configure-fileutils
8734 @: $(MAKE); $(unstage)
8735 @r=`${PWD_COMMAND}`; export r; \
8736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8737 $(HOST_EXPORTS) \
8738 (cd $(HOST_SUBDIR)/fileutils && \
8739 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8740 @endif fileutils
8745 .PHONY: check-fileutils maybe-check-fileutils
8746 maybe-check-fileutils:
8747 @if fileutils
8748 maybe-check-fileutils: check-fileutils
8750 check-fileutils:
8751 @: $(MAKE); $(unstage)
8752 @r=`${PWD_COMMAND}`; export r; \
8753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8754 $(HOST_EXPORTS) \
8755 (cd $(HOST_SUBDIR)/fileutils && \
8756 $(MAKE) $(FLAGS_TO_PASS) check)
8758 @endif fileutils
8760 .PHONY: install-fileutils maybe-install-fileutils
8761 maybe-install-fileutils:
8762 @if fileutils
8763 maybe-install-fileutils: install-fileutils
8765 install-fileutils: installdirs
8766 @: $(MAKE); $(unstage)
8767 @r=`${PWD_COMMAND}`; export r; \
8768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8769 $(HOST_EXPORTS) \
8770 (cd $(HOST_SUBDIR)/fileutils && \
8771 $(MAKE) $(FLAGS_TO_PASS) install)
8773 @endif fileutils
8775 # Other targets (info, dvi, etc.)
8777 .PHONY: maybe-info-fileutils info-fileutils
8778 maybe-info-fileutils:
8779 @if fileutils
8780 maybe-info-fileutils: info-fileutils
8782 info-fileutils: \
8783 configure-fileutils
8784 @: $(MAKE); $(unstage)
8785 @[ -f ./fileutils/Makefile ] || exit 0; \
8786 r=`${PWD_COMMAND}`; export r; \
8787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8788 $(HOST_EXPORTS) \
8789 for flag in $(EXTRA_HOST_FLAGS) ; do \
8790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8791 done; \
8792 echo "Doing info in fileutils" ; \
8793 (cd $(HOST_SUBDIR)/fileutils && \
8794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8796 "RANLIB=$${RANLIB}" \
8797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8798 info) \
8799 || exit 1
8801 @endif fileutils
8803 .PHONY: maybe-dvi-fileutils dvi-fileutils
8804 maybe-dvi-fileutils:
8805 @if fileutils
8806 maybe-dvi-fileutils: dvi-fileutils
8808 dvi-fileutils: \
8809 configure-fileutils
8810 @: $(MAKE); $(unstage)
8811 @[ -f ./fileutils/Makefile ] || exit 0; \
8812 r=`${PWD_COMMAND}`; export r; \
8813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8814 $(HOST_EXPORTS) \
8815 for flag in $(EXTRA_HOST_FLAGS) ; do \
8816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8817 done; \
8818 echo "Doing dvi in fileutils" ; \
8819 (cd $(HOST_SUBDIR)/fileutils && \
8820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8822 "RANLIB=$${RANLIB}" \
8823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8824 dvi) \
8825 || exit 1
8827 @endif fileutils
8829 .PHONY: maybe-html-fileutils html-fileutils
8830 maybe-html-fileutils:
8831 @if fileutils
8832 maybe-html-fileutils: html-fileutils
8834 html-fileutils: \
8835 configure-fileutils
8836 @: $(MAKE); $(unstage)
8837 @[ -f ./fileutils/Makefile ] || exit 0; \
8838 r=`${PWD_COMMAND}`; export r; \
8839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8840 $(HOST_EXPORTS) \
8841 for flag in $(EXTRA_HOST_FLAGS) ; do \
8842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8843 done; \
8844 echo "Doing html in fileutils" ; \
8845 (cd $(HOST_SUBDIR)/fileutils && \
8846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8848 "RANLIB=$${RANLIB}" \
8849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8850 html) \
8851 || exit 1
8853 @endif fileutils
8855 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8856 maybe-TAGS-fileutils:
8857 @if fileutils
8858 maybe-TAGS-fileutils: TAGS-fileutils
8860 TAGS-fileutils: \
8861 configure-fileutils
8862 @: $(MAKE); $(unstage)
8863 @[ -f ./fileutils/Makefile ] || exit 0; \
8864 r=`${PWD_COMMAND}`; export r; \
8865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8866 $(HOST_EXPORTS) \
8867 for flag in $(EXTRA_HOST_FLAGS) ; do \
8868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8869 done; \
8870 echo "Doing TAGS in fileutils" ; \
8871 (cd $(HOST_SUBDIR)/fileutils && \
8872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8874 "RANLIB=$${RANLIB}" \
8875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8876 TAGS) \
8877 || exit 1
8879 @endif fileutils
8881 .PHONY: maybe-install-info-fileutils install-info-fileutils
8882 maybe-install-info-fileutils:
8883 @if fileutils
8884 maybe-install-info-fileutils: install-info-fileutils
8886 install-info-fileutils: \
8887 configure-fileutils \
8888 info-fileutils
8889 @: $(MAKE); $(unstage)
8890 @[ -f ./fileutils/Makefile ] || exit 0; \
8891 r=`${PWD_COMMAND}`; export r; \
8892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8893 $(HOST_EXPORTS) \
8894 for flag in $(EXTRA_HOST_FLAGS) ; do \
8895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8896 done; \
8897 echo "Doing install-info in fileutils" ; \
8898 (cd $(HOST_SUBDIR)/fileutils && \
8899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8901 "RANLIB=$${RANLIB}" \
8902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8903 install-info) \
8904 || exit 1
8906 @endif fileutils
8908 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8909 maybe-installcheck-fileutils:
8910 @if fileutils
8911 maybe-installcheck-fileutils: installcheck-fileutils
8913 installcheck-fileutils: \
8914 configure-fileutils
8915 @: $(MAKE); $(unstage)
8916 @[ -f ./fileutils/Makefile ] || exit 0; \
8917 r=`${PWD_COMMAND}`; export r; \
8918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8919 $(HOST_EXPORTS) \
8920 for flag in $(EXTRA_HOST_FLAGS) ; do \
8921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8922 done; \
8923 echo "Doing installcheck in fileutils" ; \
8924 (cd $(HOST_SUBDIR)/fileutils && \
8925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8927 "RANLIB=$${RANLIB}" \
8928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8929 installcheck) \
8930 || exit 1
8932 @endif fileutils
8934 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8935 maybe-mostlyclean-fileutils:
8936 @if fileutils
8937 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8939 mostlyclean-fileutils:
8940 @: $(MAKE); $(unstage)
8941 @[ -f ./fileutils/Makefile ] || exit 0; \
8942 r=`${PWD_COMMAND}`; export r; \
8943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8944 $(HOST_EXPORTS) \
8945 for flag in $(EXTRA_HOST_FLAGS) ; do \
8946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8947 done; \
8948 echo "Doing mostlyclean in fileutils" ; \
8949 (cd $(HOST_SUBDIR)/fileutils && \
8950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8952 "RANLIB=$${RANLIB}" \
8953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8954 mostlyclean) \
8955 || exit 1
8957 @endif fileutils
8959 .PHONY: maybe-clean-fileutils clean-fileutils
8960 maybe-clean-fileutils:
8961 @if fileutils
8962 maybe-clean-fileutils: clean-fileutils
8964 clean-fileutils:
8965 @: $(MAKE); $(unstage)
8966 @[ -f ./fileutils/Makefile ] || exit 0; \
8967 r=`${PWD_COMMAND}`; export r; \
8968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8969 $(HOST_EXPORTS) \
8970 for flag in $(EXTRA_HOST_FLAGS) ; do \
8971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8972 done; \
8973 echo "Doing clean in fileutils" ; \
8974 (cd $(HOST_SUBDIR)/fileutils && \
8975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8977 "RANLIB=$${RANLIB}" \
8978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8979 clean) \
8980 || exit 1
8982 @endif fileutils
8984 .PHONY: maybe-distclean-fileutils distclean-fileutils
8985 maybe-distclean-fileutils:
8986 @if fileutils
8987 maybe-distclean-fileutils: distclean-fileutils
8989 distclean-fileutils:
8990 @: $(MAKE); $(unstage)
8991 @[ -f ./fileutils/Makefile ] || exit 0; \
8992 r=`${PWD_COMMAND}`; export r; \
8993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8994 $(HOST_EXPORTS) \
8995 for flag in $(EXTRA_HOST_FLAGS) ; do \
8996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8997 done; \
8998 echo "Doing distclean in fileutils" ; \
8999 (cd $(HOST_SUBDIR)/fileutils && \
9000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9002 "RANLIB=$${RANLIB}" \
9003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9004 distclean) \
9005 || exit 1
9007 @endif fileutils
9009 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9010 maybe-maintainer-clean-fileutils:
9011 @if fileutils
9012 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9014 maintainer-clean-fileutils:
9015 @: $(MAKE); $(unstage)
9016 @[ -f ./fileutils/Makefile ] || exit 0; \
9017 r=`${PWD_COMMAND}`; export r; \
9018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9019 $(HOST_EXPORTS) \
9020 for flag in $(EXTRA_HOST_FLAGS) ; do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing maintainer-clean in fileutils" ; \
9024 (cd $(HOST_SUBDIR)/fileutils && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9029 maintainer-clean) \
9030 || exit 1
9032 @endif fileutils
9036 .PHONY: configure-findutils maybe-configure-findutils
9037 maybe-configure-findutils:
9038 @if findutils
9039 maybe-configure-findutils: configure-findutils
9040 configure-findutils:
9041 @: $(MAKE); $(unstage)
9042 @r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9044 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9046 $(HOST_EXPORTS) \
9047 echo Configuring in $(HOST_SUBDIR)/findutils; \
9048 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9049 case $(srcdir) in \
9050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9051 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9053 esac; \
9054 srcdiroption="--srcdir=$${topdir}/findutils"; \
9055 libsrcdir="$$s/findutils"; \
9056 $(SHELL) $${libsrcdir}/configure \
9057 $(HOST_CONFIGARGS) $${srcdiroption} \
9058 || exit 1
9059 @endif findutils
9065 .PHONY: all-findutils maybe-all-findutils
9066 maybe-all-findutils:
9067 @if findutils
9068 TARGET-findutils=all
9069 maybe-all-findutils: all-findutils
9070 all-findutils: configure-findutils
9071 @: $(MAKE); $(unstage)
9072 @r=`${PWD_COMMAND}`; export r; \
9073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9074 $(HOST_EXPORTS) \
9075 (cd $(HOST_SUBDIR)/findutils && \
9076 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9077 @endif findutils
9082 .PHONY: check-findutils maybe-check-findutils
9083 maybe-check-findutils:
9084 @if findutils
9085 maybe-check-findutils: check-findutils
9087 check-findutils:
9088 @: $(MAKE); $(unstage)
9089 @r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 $(HOST_EXPORTS) \
9092 (cd $(HOST_SUBDIR)/findutils && \
9093 $(MAKE) $(FLAGS_TO_PASS) check)
9095 @endif findutils
9097 .PHONY: install-findutils maybe-install-findutils
9098 maybe-install-findutils:
9099 @if findutils
9100 maybe-install-findutils: install-findutils
9102 install-findutils: installdirs
9103 @: $(MAKE); $(unstage)
9104 @r=`${PWD_COMMAND}`; export r; \
9105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9106 $(HOST_EXPORTS) \
9107 (cd $(HOST_SUBDIR)/findutils && \
9108 $(MAKE) $(FLAGS_TO_PASS) install)
9110 @endif findutils
9112 # Other targets (info, dvi, etc.)
9114 .PHONY: maybe-info-findutils info-findutils
9115 maybe-info-findutils:
9116 @if findutils
9117 maybe-info-findutils: info-findutils
9119 info-findutils: \
9120 configure-findutils
9121 @: $(MAKE); $(unstage)
9122 @[ -f ./findutils/Makefile ] || exit 0; \
9123 r=`${PWD_COMMAND}`; export r; \
9124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9125 $(HOST_EXPORTS) \
9126 for flag in $(EXTRA_HOST_FLAGS) ; do \
9127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9128 done; \
9129 echo "Doing info in findutils" ; \
9130 (cd $(HOST_SUBDIR)/findutils && \
9131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9133 "RANLIB=$${RANLIB}" \
9134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9135 info) \
9136 || exit 1
9138 @endif findutils
9140 .PHONY: maybe-dvi-findutils dvi-findutils
9141 maybe-dvi-findutils:
9142 @if findutils
9143 maybe-dvi-findutils: dvi-findutils
9145 dvi-findutils: \
9146 configure-findutils
9147 @: $(MAKE); $(unstage)
9148 @[ -f ./findutils/Makefile ] || exit 0; \
9149 r=`${PWD_COMMAND}`; export r; \
9150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9151 $(HOST_EXPORTS) \
9152 for flag in $(EXTRA_HOST_FLAGS) ; do \
9153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9154 done; \
9155 echo "Doing dvi in findutils" ; \
9156 (cd $(HOST_SUBDIR)/findutils && \
9157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9159 "RANLIB=$${RANLIB}" \
9160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9161 dvi) \
9162 || exit 1
9164 @endif findutils
9166 .PHONY: maybe-html-findutils html-findutils
9167 maybe-html-findutils:
9168 @if findutils
9169 maybe-html-findutils: html-findutils
9171 html-findutils: \
9172 configure-findutils
9173 @: $(MAKE); $(unstage)
9174 @[ -f ./findutils/Makefile ] || exit 0; \
9175 r=`${PWD_COMMAND}`; export r; \
9176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9177 $(HOST_EXPORTS) \
9178 for flag in $(EXTRA_HOST_FLAGS) ; do \
9179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9180 done; \
9181 echo "Doing html in findutils" ; \
9182 (cd $(HOST_SUBDIR)/findutils && \
9183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9185 "RANLIB=$${RANLIB}" \
9186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9187 html) \
9188 || exit 1
9190 @endif findutils
9192 .PHONY: maybe-TAGS-findutils TAGS-findutils
9193 maybe-TAGS-findutils:
9194 @if findutils
9195 maybe-TAGS-findutils: TAGS-findutils
9197 TAGS-findutils: \
9198 configure-findutils
9199 @: $(MAKE); $(unstage)
9200 @[ -f ./findutils/Makefile ] || exit 0; \
9201 r=`${PWD_COMMAND}`; export r; \
9202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9203 $(HOST_EXPORTS) \
9204 for flag in $(EXTRA_HOST_FLAGS) ; do \
9205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9206 done; \
9207 echo "Doing TAGS in findutils" ; \
9208 (cd $(HOST_SUBDIR)/findutils && \
9209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9211 "RANLIB=$${RANLIB}" \
9212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9213 TAGS) \
9214 || exit 1
9216 @endif findutils
9218 .PHONY: maybe-install-info-findutils install-info-findutils
9219 maybe-install-info-findutils:
9220 @if findutils
9221 maybe-install-info-findutils: install-info-findutils
9223 install-info-findutils: \
9224 configure-findutils \
9225 info-findutils
9226 @: $(MAKE); $(unstage)
9227 @[ -f ./findutils/Makefile ] || exit 0; \
9228 r=`${PWD_COMMAND}`; export r; \
9229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 $(HOST_EXPORTS) \
9231 for flag in $(EXTRA_HOST_FLAGS) ; do \
9232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9233 done; \
9234 echo "Doing install-info in findutils" ; \
9235 (cd $(HOST_SUBDIR)/findutils && \
9236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9238 "RANLIB=$${RANLIB}" \
9239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9240 install-info) \
9241 || exit 1
9243 @endif findutils
9245 .PHONY: maybe-installcheck-findutils installcheck-findutils
9246 maybe-installcheck-findutils:
9247 @if findutils
9248 maybe-installcheck-findutils: installcheck-findutils
9250 installcheck-findutils: \
9251 configure-findutils
9252 @: $(MAKE); $(unstage)
9253 @[ -f ./findutils/Makefile ] || exit 0; \
9254 r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 $(HOST_EXPORTS) \
9257 for flag in $(EXTRA_HOST_FLAGS) ; do \
9258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9259 done; \
9260 echo "Doing installcheck in findutils" ; \
9261 (cd $(HOST_SUBDIR)/findutils && \
9262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9264 "RANLIB=$${RANLIB}" \
9265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9266 installcheck) \
9267 || exit 1
9269 @endif findutils
9271 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9272 maybe-mostlyclean-findutils:
9273 @if findutils
9274 maybe-mostlyclean-findutils: mostlyclean-findutils
9276 mostlyclean-findutils:
9277 @: $(MAKE); $(unstage)
9278 @[ -f ./findutils/Makefile ] || exit 0; \
9279 r=`${PWD_COMMAND}`; export r; \
9280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9281 $(HOST_EXPORTS) \
9282 for flag in $(EXTRA_HOST_FLAGS) ; do \
9283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9284 done; \
9285 echo "Doing mostlyclean in findutils" ; \
9286 (cd $(HOST_SUBDIR)/findutils && \
9287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9289 "RANLIB=$${RANLIB}" \
9290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9291 mostlyclean) \
9292 || exit 1
9294 @endif findutils
9296 .PHONY: maybe-clean-findutils clean-findutils
9297 maybe-clean-findutils:
9298 @if findutils
9299 maybe-clean-findutils: clean-findutils
9301 clean-findutils:
9302 @: $(MAKE); $(unstage)
9303 @[ -f ./findutils/Makefile ] || exit 0; \
9304 r=`${PWD_COMMAND}`; export r; \
9305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9306 $(HOST_EXPORTS) \
9307 for flag in $(EXTRA_HOST_FLAGS) ; do \
9308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9309 done; \
9310 echo "Doing clean in findutils" ; \
9311 (cd $(HOST_SUBDIR)/findutils && \
9312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9314 "RANLIB=$${RANLIB}" \
9315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9316 clean) \
9317 || exit 1
9319 @endif findutils
9321 .PHONY: maybe-distclean-findutils distclean-findutils
9322 maybe-distclean-findutils:
9323 @if findutils
9324 maybe-distclean-findutils: distclean-findutils
9326 distclean-findutils:
9327 @: $(MAKE); $(unstage)
9328 @[ -f ./findutils/Makefile ] || exit 0; \
9329 r=`${PWD_COMMAND}`; export r; \
9330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331 $(HOST_EXPORTS) \
9332 for flag in $(EXTRA_HOST_FLAGS) ; do \
9333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9334 done; \
9335 echo "Doing distclean in findutils" ; \
9336 (cd $(HOST_SUBDIR)/findutils && \
9337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9339 "RANLIB=$${RANLIB}" \
9340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9341 distclean) \
9342 || exit 1
9344 @endif findutils
9346 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9347 maybe-maintainer-clean-findutils:
9348 @if findutils
9349 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9351 maintainer-clean-findutils:
9352 @: $(MAKE); $(unstage)
9353 @[ -f ./findutils/Makefile ] || exit 0; \
9354 r=`${PWD_COMMAND}`; export r; \
9355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9356 $(HOST_EXPORTS) \
9357 for flag in $(EXTRA_HOST_FLAGS) ; do \
9358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9359 done; \
9360 echo "Doing maintainer-clean in findutils" ; \
9361 (cd $(HOST_SUBDIR)/findutils && \
9362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9364 "RANLIB=$${RANLIB}" \
9365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9366 maintainer-clean) \
9367 || exit 1
9369 @endif findutils
9373 .PHONY: configure-find maybe-configure-find
9374 maybe-configure-find:
9375 @if find
9376 maybe-configure-find: configure-find
9377 configure-find:
9378 @: $(MAKE); $(unstage)
9379 @r=`${PWD_COMMAND}`; export r; \
9380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9381 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9383 $(HOST_EXPORTS) \
9384 echo Configuring in $(HOST_SUBDIR)/find; \
9385 cd "$(HOST_SUBDIR)/find" || exit 1; \
9386 case $(srcdir) in \
9387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9388 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9390 esac; \
9391 srcdiroption="--srcdir=$${topdir}/find"; \
9392 libsrcdir="$$s/find"; \
9393 $(SHELL) $${libsrcdir}/configure \
9394 $(HOST_CONFIGARGS) $${srcdiroption} \
9395 || exit 1
9396 @endif find
9402 .PHONY: all-find maybe-all-find
9403 maybe-all-find:
9404 @if find
9405 TARGET-find=all
9406 maybe-all-find: all-find
9407 all-find: configure-find
9408 @: $(MAKE); $(unstage)
9409 @r=`${PWD_COMMAND}`; export r; \
9410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9411 $(HOST_EXPORTS) \
9412 (cd $(HOST_SUBDIR)/find && \
9413 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9414 @endif find
9419 .PHONY: check-find maybe-check-find
9420 maybe-check-find:
9421 @if find
9422 maybe-check-find: check-find
9424 check-find:
9425 @: $(MAKE); $(unstage)
9426 @r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 $(HOST_EXPORTS) \
9429 (cd $(HOST_SUBDIR)/find && \
9430 $(MAKE) $(FLAGS_TO_PASS) check)
9432 @endif find
9434 .PHONY: install-find maybe-install-find
9435 maybe-install-find:
9436 @if find
9437 maybe-install-find: install-find
9439 install-find: installdirs
9440 @: $(MAKE); $(unstage)
9441 @r=`${PWD_COMMAND}`; export r; \
9442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443 $(HOST_EXPORTS) \
9444 (cd $(HOST_SUBDIR)/find && \
9445 $(MAKE) $(FLAGS_TO_PASS) install)
9447 @endif find
9449 # Other targets (info, dvi, etc.)
9451 .PHONY: maybe-info-find info-find
9452 maybe-info-find:
9453 @if find
9454 maybe-info-find: info-find
9456 info-find: \
9457 configure-find
9458 @: $(MAKE); $(unstage)
9459 @[ -f ./find/Makefile ] || exit 0; \
9460 r=`${PWD_COMMAND}`; export r; \
9461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9462 $(HOST_EXPORTS) \
9463 for flag in $(EXTRA_HOST_FLAGS) ; do \
9464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9465 done; \
9466 echo "Doing info in find" ; \
9467 (cd $(HOST_SUBDIR)/find && \
9468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9470 "RANLIB=$${RANLIB}" \
9471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9472 info) \
9473 || exit 1
9475 @endif find
9477 .PHONY: maybe-dvi-find dvi-find
9478 maybe-dvi-find:
9479 @if find
9480 maybe-dvi-find: dvi-find
9482 dvi-find: \
9483 configure-find
9484 @: $(MAKE); $(unstage)
9485 @[ -f ./find/Makefile ] || exit 0; \
9486 r=`${PWD_COMMAND}`; export r; \
9487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9488 $(HOST_EXPORTS) \
9489 for flag in $(EXTRA_HOST_FLAGS) ; do \
9490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9491 done; \
9492 echo "Doing dvi in find" ; \
9493 (cd $(HOST_SUBDIR)/find && \
9494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9496 "RANLIB=$${RANLIB}" \
9497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9498 dvi) \
9499 || exit 1
9501 @endif find
9503 .PHONY: maybe-html-find html-find
9504 maybe-html-find:
9505 @if find
9506 maybe-html-find: html-find
9508 html-find: \
9509 configure-find
9510 @: $(MAKE); $(unstage)
9511 @[ -f ./find/Makefile ] || exit 0; \
9512 r=`${PWD_COMMAND}`; export r; \
9513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9514 $(HOST_EXPORTS) \
9515 for flag in $(EXTRA_HOST_FLAGS) ; do \
9516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9517 done; \
9518 echo "Doing html in find" ; \
9519 (cd $(HOST_SUBDIR)/find && \
9520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9522 "RANLIB=$${RANLIB}" \
9523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9524 html) \
9525 || exit 1
9527 @endif find
9529 .PHONY: maybe-TAGS-find TAGS-find
9530 maybe-TAGS-find:
9531 @if find
9532 maybe-TAGS-find: TAGS-find
9534 TAGS-find: \
9535 configure-find
9536 @: $(MAKE); $(unstage)
9537 @[ -f ./find/Makefile ] || exit 0; \
9538 r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9540 $(HOST_EXPORTS) \
9541 for flag in $(EXTRA_HOST_FLAGS) ; do \
9542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9543 done; \
9544 echo "Doing TAGS in find" ; \
9545 (cd $(HOST_SUBDIR)/find && \
9546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9548 "RANLIB=$${RANLIB}" \
9549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9550 TAGS) \
9551 || exit 1
9553 @endif find
9555 .PHONY: maybe-install-info-find install-info-find
9556 maybe-install-info-find:
9557 @if find
9558 maybe-install-info-find: install-info-find
9560 install-info-find: \
9561 configure-find \
9562 info-find
9563 @: $(MAKE); $(unstage)
9564 @[ -f ./find/Makefile ] || exit 0; \
9565 r=`${PWD_COMMAND}`; export r; \
9566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 $(HOST_EXPORTS) \
9568 for flag in $(EXTRA_HOST_FLAGS) ; do \
9569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9570 done; \
9571 echo "Doing install-info in find" ; \
9572 (cd $(HOST_SUBDIR)/find && \
9573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9575 "RANLIB=$${RANLIB}" \
9576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9577 install-info) \
9578 || exit 1
9580 @endif find
9582 .PHONY: maybe-installcheck-find installcheck-find
9583 maybe-installcheck-find:
9584 @if find
9585 maybe-installcheck-find: installcheck-find
9587 installcheck-find: \
9588 configure-find
9589 @: $(MAKE); $(unstage)
9590 @[ -f ./find/Makefile ] || exit 0; \
9591 r=`${PWD_COMMAND}`; export r; \
9592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9593 $(HOST_EXPORTS) \
9594 for flag in $(EXTRA_HOST_FLAGS) ; do \
9595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9596 done; \
9597 echo "Doing installcheck in find" ; \
9598 (cd $(HOST_SUBDIR)/find && \
9599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9601 "RANLIB=$${RANLIB}" \
9602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9603 installcheck) \
9604 || exit 1
9606 @endif find
9608 .PHONY: maybe-mostlyclean-find mostlyclean-find
9609 maybe-mostlyclean-find:
9610 @if find
9611 maybe-mostlyclean-find: mostlyclean-find
9613 mostlyclean-find:
9614 @: $(MAKE); $(unstage)
9615 @[ -f ./find/Makefile ] || exit 0; \
9616 r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 $(HOST_EXPORTS) \
9619 for flag in $(EXTRA_HOST_FLAGS) ; do \
9620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621 done; \
9622 echo "Doing mostlyclean in find" ; \
9623 (cd $(HOST_SUBDIR)/find && \
9624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626 "RANLIB=$${RANLIB}" \
9627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9628 mostlyclean) \
9629 || exit 1
9631 @endif find
9633 .PHONY: maybe-clean-find clean-find
9634 maybe-clean-find:
9635 @if find
9636 maybe-clean-find: clean-find
9638 clean-find:
9639 @: $(MAKE); $(unstage)
9640 @[ -f ./find/Makefile ] || exit 0; \
9641 r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 $(HOST_EXPORTS) \
9644 for flag in $(EXTRA_HOST_FLAGS) ; do \
9645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9646 done; \
9647 echo "Doing clean in find" ; \
9648 (cd $(HOST_SUBDIR)/find && \
9649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9651 "RANLIB=$${RANLIB}" \
9652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9653 clean) \
9654 || exit 1
9656 @endif find
9658 .PHONY: maybe-distclean-find distclean-find
9659 maybe-distclean-find:
9660 @if find
9661 maybe-distclean-find: distclean-find
9663 distclean-find:
9664 @: $(MAKE); $(unstage)
9665 @[ -f ./find/Makefile ] || exit 0; \
9666 r=`${PWD_COMMAND}`; export r; \
9667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9668 $(HOST_EXPORTS) \
9669 for flag in $(EXTRA_HOST_FLAGS) ; do \
9670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9671 done; \
9672 echo "Doing distclean in find" ; \
9673 (cd $(HOST_SUBDIR)/find && \
9674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9676 "RANLIB=$${RANLIB}" \
9677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9678 distclean) \
9679 || exit 1
9681 @endif find
9683 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9684 maybe-maintainer-clean-find:
9685 @if find
9686 maybe-maintainer-clean-find: maintainer-clean-find
9688 maintainer-clean-find:
9689 @: $(MAKE); $(unstage)
9690 @[ -f ./find/Makefile ] || exit 0; \
9691 r=`${PWD_COMMAND}`; export r; \
9692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9693 $(HOST_EXPORTS) \
9694 for flag in $(EXTRA_HOST_FLAGS) ; do \
9695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9696 done; \
9697 echo "Doing maintainer-clean in find" ; \
9698 (cd $(HOST_SUBDIR)/find && \
9699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9701 "RANLIB=$${RANLIB}" \
9702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9703 maintainer-clean) \
9704 || exit 1
9706 @endif find
9710 .PHONY: configure-fixincludes maybe-configure-fixincludes
9711 maybe-configure-fixincludes:
9712 @if fixincludes
9713 maybe-configure-fixincludes: configure-fixincludes
9714 configure-fixincludes:
9715 @: $(MAKE); $(unstage)
9716 @r=`${PWD_COMMAND}`; export r; \
9717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9718 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9720 $(HOST_EXPORTS) \
9721 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9722 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9723 case $(srcdir) in \
9724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9725 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9727 esac; \
9728 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9729 libsrcdir="$$s/fixincludes"; \
9730 $(SHELL) $${libsrcdir}/configure \
9731 $(HOST_CONFIGARGS) $${srcdiroption} \
9732 || exit 1
9733 @endif fixincludes
9739 .PHONY: all-fixincludes maybe-all-fixincludes
9740 maybe-all-fixincludes:
9741 @if fixincludes
9742 TARGET-fixincludes=all
9743 maybe-all-fixincludes: all-fixincludes
9744 all-fixincludes: configure-fixincludes
9745 @: $(MAKE); $(unstage)
9746 @r=`${PWD_COMMAND}`; export r; \
9747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9748 $(HOST_EXPORTS) \
9749 (cd $(HOST_SUBDIR)/fixincludes && \
9750 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9751 @endif fixincludes
9756 .PHONY: check-fixincludes maybe-check-fixincludes
9757 maybe-check-fixincludes:
9758 @if fixincludes
9759 maybe-check-fixincludes: check-fixincludes
9761 check-fixincludes:
9762 @: $(MAKE); $(unstage)
9763 @r=`${PWD_COMMAND}`; export r; \
9764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9765 $(HOST_EXPORTS) \
9766 (cd $(HOST_SUBDIR)/fixincludes && \
9767 $(MAKE) $(FLAGS_TO_PASS) check)
9769 @endif fixincludes
9771 .PHONY: install-fixincludes maybe-install-fixincludes
9772 maybe-install-fixincludes:
9773 @if fixincludes
9774 maybe-install-fixincludes: install-fixincludes
9776 install-fixincludes: installdirs
9777 @: $(MAKE); $(unstage)
9778 @r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 $(HOST_EXPORTS) \
9781 (cd $(HOST_SUBDIR)/fixincludes && \
9782 $(MAKE) $(FLAGS_TO_PASS) install)
9784 @endif fixincludes
9786 # Other targets (info, dvi, etc.)
9788 .PHONY: maybe-info-fixincludes info-fixincludes
9789 maybe-info-fixincludes:
9790 @if fixincludes
9791 maybe-info-fixincludes: info-fixincludes
9793 # fixincludes doesn't support info.
9794 info-fixincludes:
9796 @endif fixincludes
9798 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9799 maybe-dvi-fixincludes:
9800 @if fixincludes
9801 maybe-dvi-fixincludes: dvi-fixincludes
9803 # fixincludes doesn't support dvi.
9804 dvi-fixincludes:
9806 @endif fixincludes
9808 .PHONY: maybe-html-fixincludes html-fixincludes
9809 maybe-html-fixincludes:
9810 @if fixincludes
9811 maybe-html-fixincludes: html-fixincludes
9813 html-fixincludes: \
9814 configure-fixincludes
9815 @: $(MAKE); $(unstage)
9816 @[ -f ./fixincludes/Makefile ] || exit 0; \
9817 r=`${PWD_COMMAND}`; export r; \
9818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9819 $(HOST_EXPORTS) \
9820 for flag in $(EXTRA_HOST_FLAGS) ; do \
9821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9822 done; \
9823 echo "Doing html in fixincludes" ; \
9824 (cd $(HOST_SUBDIR)/fixincludes && \
9825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9827 "RANLIB=$${RANLIB}" \
9828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9829 html) \
9830 || exit 1
9832 @endif fixincludes
9834 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9835 maybe-TAGS-fixincludes:
9836 @if fixincludes
9837 maybe-TAGS-fixincludes: TAGS-fixincludes
9839 # fixincludes doesn't support TAGS.
9840 TAGS-fixincludes:
9842 @endif fixincludes
9844 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9845 maybe-install-info-fixincludes:
9846 @if fixincludes
9847 maybe-install-info-fixincludes: install-info-fixincludes
9849 # fixincludes doesn't support install-info.
9850 install-info-fixincludes:
9852 @endif fixincludes
9854 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9855 maybe-installcheck-fixincludes:
9856 @if fixincludes
9857 maybe-installcheck-fixincludes: installcheck-fixincludes
9859 # fixincludes doesn't support installcheck.
9860 installcheck-fixincludes:
9862 @endif fixincludes
9864 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9865 maybe-mostlyclean-fixincludes:
9866 @if fixincludes
9867 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9869 mostlyclean-fixincludes:
9870 @: $(MAKE); $(unstage)
9871 @[ -f ./fixincludes/Makefile ] || exit 0; \
9872 r=`${PWD_COMMAND}`; export r; \
9873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9874 $(HOST_EXPORTS) \
9875 for flag in $(EXTRA_HOST_FLAGS) ; do \
9876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9877 done; \
9878 echo "Doing mostlyclean in fixincludes" ; \
9879 (cd $(HOST_SUBDIR)/fixincludes && \
9880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9882 "RANLIB=$${RANLIB}" \
9883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9884 mostlyclean) \
9885 || exit 1
9887 @endif fixincludes
9889 .PHONY: maybe-clean-fixincludes clean-fixincludes
9890 maybe-clean-fixincludes:
9891 @if fixincludes
9892 maybe-clean-fixincludes: clean-fixincludes
9894 clean-fixincludes:
9895 @: $(MAKE); $(unstage)
9896 @[ -f ./fixincludes/Makefile ] || exit 0; \
9897 r=`${PWD_COMMAND}`; export r; \
9898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9899 $(HOST_EXPORTS) \
9900 for flag in $(EXTRA_HOST_FLAGS) ; do \
9901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9902 done; \
9903 echo "Doing clean in fixincludes" ; \
9904 (cd $(HOST_SUBDIR)/fixincludes && \
9905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9907 "RANLIB=$${RANLIB}" \
9908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9909 clean) \
9910 || exit 1
9912 @endif fixincludes
9914 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9915 maybe-distclean-fixincludes:
9916 @if fixincludes
9917 maybe-distclean-fixincludes: distclean-fixincludes
9919 distclean-fixincludes:
9920 @: $(MAKE); $(unstage)
9921 @[ -f ./fixincludes/Makefile ] || exit 0; \
9922 r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9924 $(HOST_EXPORTS) \
9925 for flag in $(EXTRA_HOST_FLAGS) ; do \
9926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9927 done; \
9928 echo "Doing distclean in fixincludes" ; \
9929 (cd $(HOST_SUBDIR)/fixincludes && \
9930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9932 "RANLIB=$${RANLIB}" \
9933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9934 distclean) \
9935 || exit 1
9937 @endif fixincludes
9939 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9940 maybe-maintainer-clean-fixincludes:
9941 @if fixincludes
9942 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9944 maintainer-clean-fixincludes:
9945 @: $(MAKE); $(unstage)
9946 @[ -f ./fixincludes/Makefile ] || exit 0; \
9947 r=`${PWD_COMMAND}`; export r; \
9948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9949 $(HOST_EXPORTS) \
9950 for flag in $(EXTRA_HOST_FLAGS) ; do \
9951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9952 done; \
9953 echo "Doing maintainer-clean in fixincludes" ; \
9954 (cd $(HOST_SUBDIR)/fixincludes && \
9955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9957 "RANLIB=$${RANLIB}" \
9958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9959 maintainer-clean) \
9960 || exit 1
9962 @endif fixincludes
9966 .PHONY: configure-flex maybe-configure-flex
9967 maybe-configure-flex:
9968 @if flex
9969 maybe-configure-flex: configure-flex
9970 configure-flex:
9971 @: $(MAKE); $(unstage)
9972 @r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9976 $(HOST_EXPORTS) \
9977 echo Configuring in $(HOST_SUBDIR)/flex; \
9978 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9979 case $(srcdir) in \
9980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9981 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9983 esac; \
9984 srcdiroption="--srcdir=$${topdir}/flex"; \
9985 libsrcdir="$$s/flex"; \
9986 $(SHELL) $${libsrcdir}/configure \
9987 $(HOST_CONFIGARGS) $${srcdiroption} \
9988 || exit 1
9989 @endif flex
9995 .PHONY: all-flex maybe-all-flex
9996 maybe-all-flex:
9997 @if flex
9998 TARGET-flex=all
9999 maybe-all-flex: all-flex
10000 all-flex: configure-flex
10001 @: $(MAKE); $(unstage)
10002 @r=`${PWD_COMMAND}`; export r; \
10003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10004 $(HOST_EXPORTS) \
10005 (cd $(HOST_SUBDIR)/flex && \
10006 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10007 @endif flex
10012 .PHONY: check-flex maybe-check-flex
10013 maybe-check-flex:
10014 @if flex
10015 maybe-check-flex: check-flex
10017 # This module is only tested in a native toolchain.
10018 check-flex:
10019 @: $(MAKE); $(unstage)
10020 @if [ '$(host)' = '$(target)' ] ; then \
10021 r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 $(HOST_EXPORTS) \
10024 (cd $(HOST_SUBDIR)/flex && \
10025 $(MAKE) $(FLAGS_TO_PASS) check); \
10028 @endif flex
10030 .PHONY: install-flex maybe-install-flex
10031 maybe-install-flex:
10032 @if flex
10033 maybe-install-flex: install-flex
10035 install-flex: installdirs
10036 @: $(MAKE); $(unstage)
10037 @r=`${PWD_COMMAND}`; export r; \
10038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10039 $(HOST_EXPORTS) \
10040 (cd $(HOST_SUBDIR)/flex && \
10041 $(MAKE) $(FLAGS_TO_PASS) install)
10043 @endif flex
10045 # Other targets (info, dvi, etc.)
10047 .PHONY: maybe-info-flex info-flex
10048 maybe-info-flex:
10049 @if flex
10050 maybe-info-flex: info-flex
10052 info-flex: \
10053 configure-flex
10054 @: $(MAKE); $(unstage)
10055 @[ -f ./flex/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(HOST_EXPORTS) \
10059 for flag in $(EXTRA_HOST_FLAGS) ; do \
10060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10061 done; \
10062 echo "Doing info in flex" ; \
10063 (cd $(HOST_SUBDIR)/flex && \
10064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10066 "RANLIB=$${RANLIB}" \
10067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10068 info) \
10069 || exit 1
10071 @endif flex
10073 .PHONY: maybe-dvi-flex dvi-flex
10074 maybe-dvi-flex:
10075 @if flex
10076 maybe-dvi-flex: dvi-flex
10078 dvi-flex: \
10079 configure-flex
10080 @: $(MAKE); $(unstage)
10081 @[ -f ./flex/Makefile ] || exit 0; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084 $(HOST_EXPORTS) \
10085 for flag in $(EXTRA_HOST_FLAGS) ; do \
10086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10087 done; \
10088 echo "Doing dvi in flex" ; \
10089 (cd $(HOST_SUBDIR)/flex && \
10090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10092 "RANLIB=$${RANLIB}" \
10093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10094 dvi) \
10095 || exit 1
10097 @endif flex
10099 .PHONY: maybe-html-flex html-flex
10100 maybe-html-flex:
10101 @if flex
10102 maybe-html-flex: html-flex
10104 html-flex: \
10105 configure-flex
10106 @: $(MAKE); $(unstage)
10107 @[ -f ./flex/Makefile ] || exit 0; \
10108 r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(HOST_EXPORTS) \
10111 for flag in $(EXTRA_HOST_FLAGS) ; do \
10112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10113 done; \
10114 echo "Doing html in flex" ; \
10115 (cd $(HOST_SUBDIR)/flex && \
10116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10118 "RANLIB=$${RANLIB}" \
10119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10120 html) \
10121 || exit 1
10123 @endif flex
10125 .PHONY: maybe-TAGS-flex TAGS-flex
10126 maybe-TAGS-flex:
10127 @if flex
10128 maybe-TAGS-flex: TAGS-flex
10130 TAGS-flex: \
10131 configure-flex
10132 @: $(MAKE); $(unstage)
10133 @[ -f ./flex/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(HOST_EXPORTS) \
10137 for flag in $(EXTRA_HOST_FLAGS) ; do \
10138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10139 done; \
10140 echo "Doing TAGS in flex" ; \
10141 (cd $(HOST_SUBDIR)/flex && \
10142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10144 "RANLIB=$${RANLIB}" \
10145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10146 TAGS) \
10147 || exit 1
10149 @endif flex
10151 .PHONY: maybe-install-info-flex install-info-flex
10152 maybe-install-info-flex:
10153 @if flex
10154 maybe-install-info-flex: install-info-flex
10156 install-info-flex: \
10157 configure-flex \
10158 info-flex
10159 @: $(MAKE); $(unstage)
10160 @[ -f ./flex/Makefile ] || exit 0; \
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163 $(HOST_EXPORTS) \
10164 for flag in $(EXTRA_HOST_FLAGS) ; do \
10165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10166 done; \
10167 echo "Doing install-info in flex" ; \
10168 (cd $(HOST_SUBDIR)/flex && \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173 install-info) \
10174 || exit 1
10176 @endif flex
10178 .PHONY: maybe-installcheck-flex installcheck-flex
10179 maybe-installcheck-flex:
10180 @if flex
10181 maybe-installcheck-flex: installcheck-flex
10183 installcheck-flex: \
10184 configure-flex
10185 @: $(MAKE); $(unstage)
10186 @[ -f ./flex/Makefile ] || exit 0; \
10187 r=`${PWD_COMMAND}`; export r; \
10188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 $(HOST_EXPORTS) \
10190 for flag in $(EXTRA_HOST_FLAGS) ; do \
10191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10192 done; \
10193 echo "Doing installcheck in flex" ; \
10194 (cd $(HOST_SUBDIR)/flex && \
10195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10197 "RANLIB=$${RANLIB}" \
10198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10199 installcheck) \
10200 || exit 1
10202 @endif flex
10204 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10205 maybe-mostlyclean-flex:
10206 @if flex
10207 maybe-mostlyclean-flex: mostlyclean-flex
10209 mostlyclean-flex:
10210 @: $(MAKE); $(unstage)
10211 @[ -f ./flex/Makefile ] || exit 0; \
10212 r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10214 $(HOST_EXPORTS) \
10215 for flag in $(EXTRA_HOST_FLAGS) ; do \
10216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10217 done; \
10218 echo "Doing mostlyclean in flex" ; \
10219 (cd $(HOST_SUBDIR)/flex && \
10220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10222 "RANLIB=$${RANLIB}" \
10223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10224 mostlyclean) \
10225 || exit 1
10227 @endif flex
10229 .PHONY: maybe-clean-flex clean-flex
10230 maybe-clean-flex:
10231 @if flex
10232 maybe-clean-flex: clean-flex
10234 clean-flex:
10235 @: $(MAKE); $(unstage)
10236 @[ -f ./flex/Makefile ] || exit 0; \
10237 r=`${PWD_COMMAND}`; export r; \
10238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10239 $(HOST_EXPORTS) \
10240 for flag in $(EXTRA_HOST_FLAGS) ; do \
10241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10242 done; \
10243 echo "Doing clean in flex" ; \
10244 (cd $(HOST_SUBDIR)/flex && \
10245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10247 "RANLIB=$${RANLIB}" \
10248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10249 clean) \
10250 || exit 1
10252 @endif flex
10254 .PHONY: maybe-distclean-flex distclean-flex
10255 maybe-distclean-flex:
10256 @if flex
10257 maybe-distclean-flex: distclean-flex
10259 distclean-flex:
10260 @: $(MAKE); $(unstage)
10261 @[ -f ./flex/Makefile ] || exit 0; \
10262 r=`${PWD_COMMAND}`; export r; \
10263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10264 $(HOST_EXPORTS) \
10265 for flag in $(EXTRA_HOST_FLAGS) ; do \
10266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10267 done; \
10268 echo "Doing distclean in flex" ; \
10269 (cd $(HOST_SUBDIR)/flex && \
10270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10272 "RANLIB=$${RANLIB}" \
10273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10274 distclean) \
10275 || exit 1
10277 @endif flex
10279 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10280 maybe-maintainer-clean-flex:
10281 @if flex
10282 maybe-maintainer-clean-flex: maintainer-clean-flex
10284 maintainer-clean-flex:
10285 @: $(MAKE); $(unstage)
10286 @[ -f ./flex/Makefile ] || exit 0; \
10287 r=`${PWD_COMMAND}`; export r; \
10288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10289 $(HOST_EXPORTS) \
10290 for flag in $(EXTRA_HOST_FLAGS) ; do \
10291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10292 done; \
10293 echo "Doing maintainer-clean in flex" ; \
10294 (cd $(HOST_SUBDIR)/flex && \
10295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10297 "RANLIB=$${RANLIB}" \
10298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10299 maintainer-clean) \
10300 || exit 1
10302 @endif flex
10306 .PHONY: configure-gas maybe-configure-gas
10307 maybe-configure-gas:
10308 @if gas
10309 maybe-configure-gas: configure-gas
10310 configure-gas:
10311 @endif gas
10312 @if gas-bootstrap
10313 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10314 @endif gas-bootstrap
10315 @if gas
10316 @r=`${PWD_COMMAND}`; export r; \
10317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10318 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10320 $(HOST_EXPORTS) \
10321 echo Configuring in $(HOST_SUBDIR)/gas; \
10322 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10323 case $(srcdir) in \
10324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10325 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10327 esac; \
10328 srcdiroption="--srcdir=$${topdir}/gas"; \
10329 libsrcdir="$$s/gas"; \
10330 $(SHELL) $${libsrcdir}/configure \
10331 $(HOST_CONFIGARGS) $${srcdiroption} \
10332 || exit 1
10333 @endif gas
10337 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10338 maybe-configure-stage1-gas:
10339 @if gas-bootstrap
10340 maybe-configure-stage1-gas: configure-stage1-gas
10341 configure-stage1-gas:
10342 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10344 @r=`${PWD_COMMAND}`; export r; \
10345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10346 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10347 $(HOST_EXPORTS) \
10348 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10350 cd $(HOST_SUBDIR)/gas || exit 1; \
10351 case $(srcdir) in \
10352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10353 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10355 esac; \
10356 srcdiroption="--srcdir=$${topdir}/gas"; \
10357 libsrcdir="$$s/gas"; \
10358 $(SHELL) $${libsrcdir}/configure \
10359 $(HOST_CONFIGARGS) $${srcdiroption} \
10360 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10361 @endif gas-bootstrap
10363 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10364 maybe-configure-stage2-gas:
10365 @if gas-bootstrap
10366 maybe-configure-stage2-gas: configure-stage2-gas
10367 configure-stage2-gas:
10368 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10370 @r=`${PWD_COMMAND}`; export r; \
10371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10372 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10373 $(HOST_EXPORTS) \
10374 $(POSTSTAGE1_HOST_EXPORTS) \
10375 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10376 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10377 cd $(HOST_SUBDIR)/gas || exit 1; \
10378 case $(srcdir) in \
10379 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10380 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10381 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10382 esac; \
10383 srcdiroption="--srcdir=$${topdir}/gas"; \
10384 libsrcdir="$$s/gas"; \
10385 $(SHELL) $${libsrcdir}/configure \
10386 $(HOST_CONFIGARGS) $${srcdiroption} \
10387 @stage2_werror_flag@
10388 @endif gas-bootstrap
10390 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10391 maybe-configure-stage3-gas:
10392 @if gas-bootstrap
10393 maybe-configure-stage3-gas: configure-stage3-gas
10394 configure-stage3-gas:
10395 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10396 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10397 @r=`${PWD_COMMAND}`; export r; \
10398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10399 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10400 $(HOST_EXPORTS) \
10401 $(POSTSTAGE1_HOST_EXPORTS) \
10402 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10403 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10404 cd $(HOST_SUBDIR)/gas || exit 1; \
10405 case $(srcdir) in \
10406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10407 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10409 esac; \
10410 srcdiroption="--srcdir=$${topdir}/gas"; \
10411 libsrcdir="$$s/gas"; \
10412 $(SHELL) $${libsrcdir}/configure \
10413 $(HOST_CONFIGARGS) $${srcdiroption} \
10414 @stage2_werror_flag@
10415 @endif gas-bootstrap
10417 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10418 maybe-configure-stage4-gas:
10419 @if gas-bootstrap
10420 maybe-configure-stage4-gas: configure-stage4-gas
10421 configure-stage4-gas:
10422 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10424 @r=`${PWD_COMMAND}`; export r; \
10425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10426 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10427 $(HOST_EXPORTS) \
10428 $(POSTSTAGE1_HOST_EXPORTS) \
10429 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10431 cd $(HOST_SUBDIR)/gas || exit 1; \
10432 case $(srcdir) in \
10433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10434 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10436 esac; \
10437 srcdiroption="--srcdir=$${topdir}/gas"; \
10438 libsrcdir="$$s/gas"; \
10439 $(SHELL) $${libsrcdir}/configure \
10440 $(HOST_CONFIGARGS) $${srcdiroption} \
10441 @stage2_werror_flag@
10442 @endif gas-bootstrap
10444 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10445 maybe-configure-stageprofile-gas:
10446 @if gas-bootstrap
10447 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10448 configure-stageprofile-gas:
10449 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10450 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10451 @r=`${PWD_COMMAND}`; export r; \
10452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10453 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10454 $(HOST_EXPORTS) \
10455 $(POSTSTAGE1_HOST_EXPORTS) \
10456 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10458 cd $(HOST_SUBDIR)/gas || exit 1; \
10459 case $(srcdir) in \
10460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10461 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10463 esac; \
10464 srcdiroption="--srcdir=$${topdir}/gas"; \
10465 libsrcdir="$$s/gas"; \
10466 $(SHELL) $${libsrcdir}/configure \
10467 $(HOST_CONFIGARGS) $${srcdiroption} \
10468 @stage2_werror_flag@
10469 @endif gas-bootstrap
10471 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10472 maybe-configure-stagefeedback-gas:
10473 @if gas-bootstrap
10474 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10475 configure-stagefeedback-gas:
10476 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10477 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10478 @r=`${PWD_COMMAND}`; export r; \
10479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10480 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10481 $(HOST_EXPORTS) \
10482 $(POSTSTAGE1_HOST_EXPORTS) \
10483 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10485 cd $(HOST_SUBDIR)/gas || exit 1; \
10486 case $(srcdir) in \
10487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10488 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10490 esac; \
10491 srcdiroption="--srcdir=$${topdir}/gas"; \
10492 libsrcdir="$$s/gas"; \
10493 $(SHELL) $${libsrcdir}/configure \
10494 $(HOST_CONFIGARGS) $${srcdiroption} \
10495 @stage2_werror_flag@
10496 @endif gas-bootstrap
10502 .PHONY: all-gas maybe-all-gas
10503 maybe-all-gas:
10504 @if gas
10505 TARGET-gas=all
10506 maybe-all-gas: all-gas
10507 all-gas: configure-gas
10508 @endif gas
10509 @if gas-bootstrap
10510 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10511 @endif gas-bootstrap
10512 @if gas
10513 @r=`${PWD_COMMAND}`; export r; \
10514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10515 $(HOST_EXPORTS) \
10516 (cd $(HOST_SUBDIR)/gas && \
10517 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10518 @endif gas
10522 .PHONY: all-stage1-gas maybe-all-stage1-gas
10523 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10524 maybe-all-stage1-gas:
10525 maybe-clean-stage1-gas:
10526 @if gas-bootstrap
10527 maybe-all-stage1-gas: all-stage1-gas
10528 all-stage1: all-stage1-gas
10529 TARGET-stage1-gas = $(TARGET-gas)
10530 all-stage1-gas: configure-stage1-gas
10531 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10532 @r=`${PWD_COMMAND}`; export r; \
10533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10534 $(HOST_EXPORTS) \
10535 cd $(HOST_SUBDIR)/gas && \
10536 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
10537 $(TARGET-stage1-gas)
10539 maybe-clean-stage1-gas: clean-stage1-gas
10540 clean-stage1: clean-stage1-gas
10541 clean-stage1-gas:
10542 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10543 || exit 0 ; \
10544 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
10545 cd $(HOST_SUBDIR)/gas && \
10546 $(MAKE) $(FLAGS_TO_PASS) \
10547 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
10548 @endif gas-bootstrap
10551 .PHONY: all-stage2-gas maybe-all-stage2-gas
10552 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10553 maybe-all-stage2-gas:
10554 maybe-clean-stage2-gas:
10555 @if gas-bootstrap
10556 maybe-all-stage2-gas: all-stage2-gas
10557 all-stage2: all-stage2-gas
10558 TARGET-stage2-gas = $(TARGET-gas)
10559 all-stage2-gas: configure-stage2-gas
10560 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10561 @r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(HOST_EXPORTS) \
10564 $(POSTSTAGE1_HOST_EXPORTS) \
10565 cd $(HOST_SUBDIR)/gas && \
10566 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10567 $(TARGET-stage2-gas)
10569 maybe-clean-stage2-gas: clean-stage2-gas
10570 clean-stage2: clean-stage2-gas
10571 clean-stage2-gas:
10572 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10573 || exit 0 ; \
10574 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
10575 cd $(HOST_SUBDIR)/gas && \
10576 $(MAKE) $(FLAGS_TO_PASS) \
10577 $(POSTSTAGE1_FLAGS_TO_PASS) \
10578 clean
10579 @endif gas-bootstrap
10582 .PHONY: all-stage3-gas maybe-all-stage3-gas
10583 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10584 maybe-all-stage3-gas:
10585 maybe-clean-stage3-gas:
10586 @if gas-bootstrap
10587 maybe-all-stage3-gas: all-stage3-gas
10588 all-stage3: all-stage3-gas
10589 TARGET-stage3-gas = $(TARGET-gas)
10590 all-stage3-gas: configure-stage3-gas
10591 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10592 @r=`${PWD_COMMAND}`; export r; \
10593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10594 $(HOST_EXPORTS) \
10595 $(POSTSTAGE1_HOST_EXPORTS) \
10596 cd $(HOST_SUBDIR)/gas && \
10597 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10598 $(TARGET-stage3-gas)
10600 maybe-clean-stage3-gas: clean-stage3-gas
10601 clean-stage3: clean-stage3-gas
10602 clean-stage3-gas:
10603 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10604 || exit 0 ; \
10605 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
10606 cd $(HOST_SUBDIR)/gas && \
10607 $(MAKE) $(FLAGS_TO_PASS) \
10608 $(POSTSTAGE1_FLAGS_TO_PASS) \
10609 clean
10610 @endif gas-bootstrap
10613 .PHONY: all-stage4-gas maybe-all-stage4-gas
10614 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10615 maybe-all-stage4-gas:
10616 maybe-clean-stage4-gas:
10617 @if gas-bootstrap
10618 maybe-all-stage4-gas: all-stage4-gas
10619 all-stage4: all-stage4-gas
10620 TARGET-stage4-gas = $(TARGET-gas)
10621 all-stage4-gas: configure-stage4-gas
10622 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10623 @r=`${PWD_COMMAND}`; export r; \
10624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10625 $(HOST_EXPORTS) \
10626 $(POSTSTAGE1_HOST_EXPORTS) \
10627 cd $(HOST_SUBDIR)/gas && \
10628 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10629 $(TARGET-stage4-gas)
10631 maybe-clean-stage4-gas: clean-stage4-gas
10632 clean-stage4: clean-stage4-gas
10633 clean-stage4-gas:
10634 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10635 || exit 0 ; \
10636 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
10637 cd $(HOST_SUBDIR)/gas && \
10638 $(MAKE) $(FLAGS_TO_PASS) \
10639 $(POSTSTAGE1_FLAGS_TO_PASS) \
10640 clean
10641 @endif gas-bootstrap
10644 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10645 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10646 maybe-all-stageprofile-gas:
10647 maybe-clean-stageprofile-gas:
10648 @if gas-bootstrap
10649 maybe-all-stageprofile-gas: all-stageprofile-gas
10650 all-stageprofile: all-stageprofile-gas
10651 TARGET-stageprofile-gas = $(TARGET-gas)
10652 all-stageprofile-gas: configure-stageprofile-gas
10653 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10654 @r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 $(POSTSTAGE1_HOST_EXPORTS) \
10658 cd $(HOST_SUBDIR)/gas && \
10659 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10660 $(TARGET-stageprofile-gas)
10662 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10663 clean-stageprofile: clean-stageprofile-gas
10664 clean-stageprofile-gas:
10665 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10666 || exit 0 ; \
10667 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
10668 cd $(HOST_SUBDIR)/gas && \
10669 $(MAKE) $(FLAGS_TO_PASS) \
10670 $(POSTSTAGE1_FLAGS_TO_PASS) \
10671 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10672 @endif gas-bootstrap
10675 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10676 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10677 maybe-all-stagefeedback-gas:
10678 maybe-clean-stagefeedback-gas:
10679 @if gas-bootstrap
10680 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10681 all-stagefeedback: all-stagefeedback-gas
10682 TARGET-stagefeedback-gas = $(TARGET-gas)
10683 all-stagefeedback-gas: configure-stagefeedback-gas
10684 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10685 @r=`${PWD_COMMAND}`; export r; \
10686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10687 $(HOST_EXPORTS) \
10688 $(POSTSTAGE1_HOST_EXPORTS) \
10689 cd $(HOST_SUBDIR)/gas && \
10690 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10691 $(TARGET-stagefeedback-gas)
10693 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10694 clean-stagefeedback: clean-stagefeedback-gas
10695 clean-stagefeedback-gas:
10696 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10697 || exit 0 ; \
10698 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
10699 cd $(HOST_SUBDIR)/gas && \
10700 $(MAKE) $(FLAGS_TO_PASS) \
10701 $(POSTSTAGE1_FLAGS_TO_PASS) \
10702 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10703 @endif gas-bootstrap
10709 .PHONY: check-gas maybe-check-gas
10710 maybe-check-gas:
10711 @if gas
10712 maybe-check-gas: check-gas
10714 check-gas:
10715 @: $(MAKE); $(unstage)
10716 @r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10718 $(HOST_EXPORTS) \
10719 (cd $(HOST_SUBDIR)/gas && \
10720 $(MAKE) $(FLAGS_TO_PASS) check)
10722 @endif gas
10724 .PHONY: install-gas maybe-install-gas
10725 maybe-install-gas:
10726 @if gas
10727 maybe-install-gas: install-gas
10729 install-gas: installdirs
10730 @: $(MAKE); $(unstage)
10731 @r=`${PWD_COMMAND}`; export r; \
10732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10733 $(HOST_EXPORTS) \
10734 (cd $(HOST_SUBDIR)/gas && \
10735 $(MAKE) $(FLAGS_TO_PASS) install)
10737 @endif gas
10739 # Other targets (info, dvi, etc.)
10741 .PHONY: maybe-info-gas info-gas
10742 maybe-info-gas:
10743 @if gas
10744 maybe-info-gas: info-gas
10746 info-gas: \
10747 configure-gas
10748 @[ -f ./gas/Makefile ] || exit 0; \
10749 r=`${PWD_COMMAND}`; export r; \
10750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10751 $(HOST_EXPORTS) \
10752 for flag in $(EXTRA_HOST_FLAGS) ; do \
10753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10754 done; \
10755 echo "Doing info in gas" ; \
10756 (cd $(HOST_SUBDIR)/gas && \
10757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10759 "RANLIB=$${RANLIB}" \
10760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10761 info) \
10762 || exit 1
10764 @endif gas
10766 .PHONY: maybe-dvi-gas dvi-gas
10767 maybe-dvi-gas:
10768 @if gas
10769 maybe-dvi-gas: dvi-gas
10771 dvi-gas: \
10772 configure-gas
10773 @[ -f ./gas/Makefile ] || exit 0; \
10774 r=`${PWD_COMMAND}`; export r; \
10775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10776 $(HOST_EXPORTS) \
10777 for flag in $(EXTRA_HOST_FLAGS) ; do \
10778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10779 done; \
10780 echo "Doing dvi in gas" ; \
10781 (cd $(HOST_SUBDIR)/gas && \
10782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10784 "RANLIB=$${RANLIB}" \
10785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10786 dvi) \
10787 || exit 1
10789 @endif gas
10791 .PHONY: maybe-html-gas html-gas
10792 maybe-html-gas:
10793 @if gas
10794 maybe-html-gas: html-gas
10796 html-gas: \
10797 configure-gas
10798 @[ -f ./gas/Makefile ] || exit 0; \
10799 r=`${PWD_COMMAND}`; export r; \
10800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10801 $(HOST_EXPORTS) \
10802 for flag in $(EXTRA_HOST_FLAGS) ; do \
10803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10804 done; \
10805 echo "Doing html in gas" ; \
10806 (cd $(HOST_SUBDIR)/gas && \
10807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10809 "RANLIB=$${RANLIB}" \
10810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10811 html) \
10812 || exit 1
10814 @endif gas
10816 .PHONY: maybe-TAGS-gas TAGS-gas
10817 maybe-TAGS-gas:
10818 @if gas
10819 maybe-TAGS-gas: TAGS-gas
10821 TAGS-gas: \
10822 configure-gas
10823 @[ -f ./gas/Makefile ] || exit 0; \
10824 r=`${PWD_COMMAND}`; export r; \
10825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10826 $(HOST_EXPORTS) \
10827 for flag in $(EXTRA_HOST_FLAGS) ; do \
10828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10829 done; \
10830 echo "Doing TAGS in gas" ; \
10831 (cd $(HOST_SUBDIR)/gas && \
10832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10834 "RANLIB=$${RANLIB}" \
10835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10836 TAGS) \
10837 || exit 1
10839 @endif gas
10841 .PHONY: maybe-install-info-gas install-info-gas
10842 maybe-install-info-gas:
10843 @if gas
10844 maybe-install-info-gas: install-info-gas
10846 install-info-gas: \
10847 configure-gas \
10848 info-gas
10849 @[ -f ./gas/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10852 $(HOST_EXPORTS) \
10853 for flag in $(EXTRA_HOST_FLAGS) ; do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855 done; \
10856 echo "Doing install-info in gas" ; \
10857 (cd $(HOST_SUBDIR)/gas && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10862 install-info) \
10863 || exit 1
10865 @endif gas
10867 .PHONY: maybe-installcheck-gas installcheck-gas
10868 maybe-installcheck-gas:
10869 @if gas
10870 maybe-installcheck-gas: installcheck-gas
10872 installcheck-gas: \
10873 configure-gas
10874 @[ -f ./gas/Makefile ] || exit 0; \
10875 r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 $(HOST_EXPORTS) \
10878 for flag in $(EXTRA_HOST_FLAGS) ; do \
10879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10880 done; \
10881 echo "Doing installcheck in gas" ; \
10882 (cd $(HOST_SUBDIR)/gas && \
10883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10885 "RANLIB=$${RANLIB}" \
10886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10887 installcheck) \
10888 || exit 1
10890 @endif gas
10892 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10893 maybe-mostlyclean-gas:
10894 @if gas
10895 maybe-mostlyclean-gas: mostlyclean-gas
10897 mostlyclean-gas:
10898 @[ -f ./gas/Makefile ] || exit 0; \
10899 r=`${PWD_COMMAND}`; export r; \
10900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10901 $(HOST_EXPORTS) \
10902 for flag in $(EXTRA_HOST_FLAGS) ; do \
10903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10904 done; \
10905 echo "Doing mostlyclean in gas" ; \
10906 (cd $(HOST_SUBDIR)/gas && \
10907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10909 "RANLIB=$${RANLIB}" \
10910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10911 mostlyclean) \
10912 || exit 1
10914 @endif gas
10916 .PHONY: maybe-clean-gas clean-gas
10917 maybe-clean-gas:
10918 @if gas
10919 maybe-clean-gas: clean-gas
10921 clean-gas:
10922 @[ -f ./gas/Makefile ] || exit 0; \
10923 r=`${PWD_COMMAND}`; export r; \
10924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10925 $(HOST_EXPORTS) \
10926 for flag in $(EXTRA_HOST_FLAGS) ; do \
10927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10928 done; \
10929 echo "Doing clean in gas" ; \
10930 (cd $(HOST_SUBDIR)/gas && \
10931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10933 "RANLIB=$${RANLIB}" \
10934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10935 clean) \
10936 || exit 1
10938 @endif gas
10940 .PHONY: maybe-distclean-gas distclean-gas
10941 maybe-distclean-gas:
10942 @if gas
10943 maybe-distclean-gas: distclean-gas
10945 distclean-gas:
10946 @[ -f ./gas/Makefile ] || exit 0; \
10947 r=`${PWD_COMMAND}`; export r; \
10948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10949 $(HOST_EXPORTS) \
10950 for flag in $(EXTRA_HOST_FLAGS) ; do \
10951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10952 done; \
10953 echo "Doing distclean in gas" ; \
10954 (cd $(HOST_SUBDIR)/gas && \
10955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10957 "RANLIB=$${RANLIB}" \
10958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10959 distclean) \
10960 || exit 1
10962 @endif gas
10964 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10965 maybe-maintainer-clean-gas:
10966 @if gas
10967 maybe-maintainer-clean-gas: maintainer-clean-gas
10969 maintainer-clean-gas:
10970 @[ -f ./gas/Makefile ] || exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(HOST_EXPORTS) \
10974 for flag in $(EXTRA_HOST_FLAGS) ; do \
10975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 done; \
10977 echo "Doing maintainer-clean in gas" ; \
10978 (cd $(HOST_SUBDIR)/gas && \
10979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10981 "RANLIB=$${RANLIB}" \
10982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10983 maintainer-clean) \
10984 || exit 1
10986 @endif gas
10990 .PHONY: configure-gcc maybe-configure-gcc
10991 maybe-configure-gcc:
10992 @if gcc
10993 maybe-configure-gcc: configure-gcc
10994 configure-gcc:
10995 @endif gcc
10996 @if gcc-bootstrap
10997 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10998 @endif gcc-bootstrap
10999 @if gcc
11000 @r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11003 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11004 $(HOST_EXPORTS) \
11005 echo Configuring in $(HOST_SUBDIR)/gcc; \
11006 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11007 case $(srcdir) in \
11008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11009 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11011 esac; \
11012 srcdiroption="--srcdir=$${topdir}/gcc"; \
11013 libsrcdir="$$s/gcc"; \
11014 $(SHELL) $${libsrcdir}/configure \
11015 $(HOST_CONFIGARGS) $${srcdiroption} \
11016 || exit 1
11017 @endif gcc
11021 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11022 maybe-configure-stage1-gcc:
11023 @if gcc-bootstrap
11024 maybe-configure-stage1-gcc: configure-stage1-gcc
11025 configure-stage1-gcc:
11026 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11028 @r=`${PWD_COMMAND}`; export r; \
11029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11030 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11031 $(HOST_EXPORTS) \
11032 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11034 cd $(HOST_SUBDIR)/gcc || exit 1; \
11035 case $(srcdir) in \
11036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11037 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11039 esac; \
11040 srcdiroption="--srcdir=$${topdir}/gcc"; \
11041 libsrcdir="$$s/gcc"; \
11042 $(SHELL) $${libsrcdir}/configure \
11043 $(HOST_CONFIGARGS) $${srcdiroption} \
11044 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11045 @endif gcc-bootstrap
11047 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11048 maybe-configure-stage2-gcc:
11049 @if gcc-bootstrap
11050 maybe-configure-stage2-gcc: configure-stage2-gcc
11051 configure-stage2-gcc:
11052 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11054 @r=`${PWD_COMMAND}`; export r; \
11055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11056 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11057 $(HOST_EXPORTS) \
11058 $(POSTSTAGE1_HOST_EXPORTS) \
11059 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11061 cd $(HOST_SUBDIR)/gcc || exit 1; \
11062 case $(srcdir) in \
11063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11064 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11066 esac; \
11067 srcdiroption="--srcdir=$${topdir}/gcc"; \
11068 libsrcdir="$$s/gcc"; \
11069 $(SHELL) $${libsrcdir}/configure \
11070 $(HOST_CONFIGARGS) $${srcdiroption} \
11071 @stage2_werror_flag@
11072 @endif gcc-bootstrap
11074 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11075 maybe-configure-stage3-gcc:
11076 @if gcc-bootstrap
11077 maybe-configure-stage3-gcc: configure-stage3-gcc
11078 configure-stage3-gcc:
11079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11081 @r=`${PWD_COMMAND}`; export r; \
11082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11083 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11084 $(HOST_EXPORTS) \
11085 $(POSTSTAGE1_HOST_EXPORTS) \
11086 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11088 cd $(HOST_SUBDIR)/gcc || exit 1; \
11089 case $(srcdir) in \
11090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11091 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11093 esac; \
11094 srcdiroption="--srcdir=$${topdir}/gcc"; \
11095 libsrcdir="$$s/gcc"; \
11096 $(SHELL) $${libsrcdir}/configure \
11097 $(HOST_CONFIGARGS) $${srcdiroption} \
11098 @stage2_werror_flag@
11099 @endif gcc-bootstrap
11101 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11102 maybe-configure-stage4-gcc:
11103 @if gcc-bootstrap
11104 maybe-configure-stage4-gcc: configure-stage4-gcc
11105 configure-stage4-gcc:
11106 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11108 @r=`${PWD_COMMAND}`; export r; \
11109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11111 $(HOST_EXPORTS) \
11112 $(POSTSTAGE1_HOST_EXPORTS) \
11113 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11115 cd $(HOST_SUBDIR)/gcc || exit 1; \
11116 case $(srcdir) in \
11117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11118 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11120 esac; \
11121 srcdiroption="--srcdir=$${topdir}/gcc"; \
11122 libsrcdir="$$s/gcc"; \
11123 $(SHELL) $${libsrcdir}/configure \
11124 $(HOST_CONFIGARGS) $${srcdiroption} \
11125 @stage2_werror_flag@
11126 @endif gcc-bootstrap
11128 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11129 maybe-configure-stageprofile-gcc:
11130 @if gcc-bootstrap
11131 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11132 configure-stageprofile-gcc:
11133 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11135 @r=`${PWD_COMMAND}`; export r; \
11136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11137 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11138 $(HOST_EXPORTS) \
11139 $(POSTSTAGE1_HOST_EXPORTS) \
11140 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11142 cd $(HOST_SUBDIR)/gcc || exit 1; \
11143 case $(srcdir) in \
11144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11145 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11147 esac; \
11148 srcdiroption="--srcdir=$${topdir}/gcc"; \
11149 libsrcdir="$$s/gcc"; \
11150 $(SHELL) $${libsrcdir}/configure \
11151 $(HOST_CONFIGARGS) $${srcdiroption} \
11152 @stage2_werror_flag@
11153 @endif gcc-bootstrap
11155 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11156 maybe-configure-stagefeedback-gcc:
11157 @if gcc-bootstrap
11158 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11159 configure-stagefeedback-gcc:
11160 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11161 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11162 @r=`${PWD_COMMAND}`; export r; \
11163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11164 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11165 $(HOST_EXPORTS) \
11166 $(POSTSTAGE1_HOST_EXPORTS) \
11167 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11169 cd $(HOST_SUBDIR)/gcc || exit 1; \
11170 case $(srcdir) in \
11171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11172 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11174 esac; \
11175 srcdiroption="--srcdir=$${topdir}/gcc"; \
11176 libsrcdir="$$s/gcc"; \
11177 $(SHELL) $${libsrcdir}/configure \
11178 $(HOST_CONFIGARGS) $${srcdiroption} \
11179 @stage2_werror_flag@
11180 @endif gcc-bootstrap
11186 .PHONY: all-gcc maybe-all-gcc
11187 maybe-all-gcc:
11188 @if gcc
11189 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11190 maybe-all-gcc: all-gcc
11191 all-gcc: configure-gcc
11192 @endif gcc
11193 @if gcc-bootstrap
11194 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11195 @endif gcc-bootstrap
11196 @if gcc
11197 @r=`${PWD_COMMAND}`; export r; \
11198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11199 $(HOST_EXPORTS) \
11200 (cd $(HOST_SUBDIR)/gcc && \
11201 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11202 @endif gcc
11206 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11207 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11208 maybe-all-stage1-gcc:
11209 maybe-clean-stage1-gcc:
11210 @if gcc-bootstrap
11211 maybe-all-stage1-gcc: all-stage1-gcc
11212 all-stage1: all-stage1-gcc
11213 TARGET-stage1-gcc = $(TARGET-gcc)
11214 all-stage1-gcc: configure-stage1-gcc
11215 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11216 @r=`${PWD_COMMAND}`; export r; \
11217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11218 $(HOST_EXPORTS) \
11219 cd $(HOST_SUBDIR)/gcc && \
11220 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11221 $(TARGET-stage1-gcc)
11223 maybe-clean-stage1-gcc: clean-stage1-gcc
11224 clean-stage1: clean-stage1-gcc
11225 clean-stage1-gcc:
11226 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11227 || exit 0 ; \
11228 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11229 cd $(HOST_SUBDIR)/gcc && \
11230 $(MAKE) $(FLAGS_TO_PASS) \
11231 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11232 @endif gcc-bootstrap
11235 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11236 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11237 maybe-all-stage2-gcc:
11238 maybe-clean-stage2-gcc:
11239 @if gcc-bootstrap
11240 maybe-all-stage2-gcc: all-stage2-gcc
11241 all-stage2: all-stage2-gcc
11242 TARGET-stage2-gcc = $(TARGET-gcc)
11243 all-stage2-gcc: configure-stage2-gcc
11244 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11245 @r=`${PWD_COMMAND}`; export r; \
11246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11247 $(HOST_EXPORTS) \
11248 $(POSTSTAGE1_HOST_EXPORTS) \
11249 cd $(HOST_SUBDIR)/gcc && \
11250 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11251 $(TARGET-stage2-gcc)
11253 maybe-clean-stage2-gcc: clean-stage2-gcc
11254 clean-stage2: clean-stage2-gcc
11255 clean-stage2-gcc:
11256 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11257 || exit 0 ; \
11258 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11259 cd $(HOST_SUBDIR)/gcc && \
11260 $(MAKE) $(FLAGS_TO_PASS) \
11261 $(POSTSTAGE1_FLAGS_TO_PASS) \
11262 $(EXTRA_GCC_FLAGS) clean
11263 @endif gcc-bootstrap
11266 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11267 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11268 maybe-all-stage3-gcc:
11269 maybe-clean-stage3-gcc:
11270 @if gcc-bootstrap
11271 maybe-all-stage3-gcc: all-stage3-gcc
11272 all-stage3: all-stage3-gcc
11273 TARGET-stage3-gcc = $(TARGET-gcc)
11274 all-stage3-gcc: configure-stage3-gcc
11275 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11276 @r=`${PWD_COMMAND}`; export r; \
11277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11278 $(HOST_EXPORTS) \
11279 $(POSTSTAGE1_HOST_EXPORTS) \
11280 cd $(HOST_SUBDIR)/gcc && \
11281 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11282 $(TARGET-stage3-gcc)
11284 maybe-clean-stage3-gcc: clean-stage3-gcc
11285 clean-stage3: clean-stage3-gcc
11286 clean-stage3-gcc:
11287 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11288 || exit 0 ; \
11289 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11290 cd $(HOST_SUBDIR)/gcc && \
11291 $(MAKE) $(FLAGS_TO_PASS) \
11292 $(POSTSTAGE1_FLAGS_TO_PASS) \
11293 $(EXTRA_GCC_FLAGS) clean
11294 @endif gcc-bootstrap
11297 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11298 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11299 maybe-all-stage4-gcc:
11300 maybe-clean-stage4-gcc:
11301 @if gcc-bootstrap
11302 maybe-all-stage4-gcc: all-stage4-gcc
11303 all-stage4: all-stage4-gcc
11304 TARGET-stage4-gcc = $(TARGET-gcc)
11305 all-stage4-gcc: configure-stage4-gcc
11306 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11307 @r=`${PWD_COMMAND}`; export r; \
11308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11309 $(HOST_EXPORTS) \
11310 $(POSTSTAGE1_HOST_EXPORTS) \
11311 cd $(HOST_SUBDIR)/gcc && \
11312 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11313 $(TARGET-stage4-gcc)
11315 maybe-clean-stage4-gcc: clean-stage4-gcc
11316 clean-stage4: clean-stage4-gcc
11317 clean-stage4-gcc:
11318 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11319 || exit 0 ; \
11320 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11321 cd $(HOST_SUBDIR)/gcc && \
11322 $(MAKE) $(FLAGS_TO_PASS) \
11323 $(POSTSTAGE1_FLAGS_TO_PASS) \
11324 $(EXTRA_GCC_FLAGS) clean
11325 @endif gcc-bootstrap
11328 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11329 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11330 maybe-all-stageprofile-gcc:
11331 maybe-clean-stageprofile-gcc:
11332 @if gcc-bootstrap
11333 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11334 all-stageprofile: all-stageprofile-gcc
11335 TARGET-stageprofile-gcc = $(TARGET-gcc)
11336 all-stageprofile-gcc: configure-stageprofile-gcc
11337 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11338 @r=`${PWD_COMMAND}`; export r; \
11339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11340 $(HOST_EXPORTS) \
11341 $(POSTSTAGE1_HOST_EXPORTS) \
11342 cd $(HOST_SUBDIR)/gcc && \
11343 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11344 $(TARGET-stageprofile-gcc)
11346 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11347 clean-stageprofile: clean-stageprofile-gcc
11348 clean-stageprofile-gcc:
11349 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11350 || exit 0 ; \
11351 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11352 cd $(HOST_SUBDIR)/gcc && \
11353 $(MAKE) $(FLAGS_TO_PASS) \
11354 $(POSTSTAGE1_FLAGS_TO_PASS) \
11355 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11356 @endif gcc-bootstrap
11359 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11360 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11361 maybe-all-stagefeedback-gcc:
11362 maybe-clean-stagefeedback-gcc:
11363 @if gcc-bootstrap
11364 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11365 all-stagefeedback: all-stagefeedback-gcc
11366 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11367 all-stagefeedback-gcc: configure-stagefeedback-gcc
11368 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11369 @r=`${PWD_COMMAND}`; export r; \
11370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11371 $(HOST_EXPORTS) \
11372 $(POSTSTAGE1_HOST_EXPORTS) \
11373 cd $(HOST_SUBDIR)/gcc && \
11374 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11375 $(TARGET-stagefeedback-gcc)
11377 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11378 clean-stagefeedback: clean-stagefeedback-gcc
11379 clean-stagefeedback-gcc:
11380 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11381 || exit 0 ; \
11382 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11383 cd $(HOST_SUBDIR)/gcc && \
11384 $(MAKE) $(FLAGS_TO_PASS) \
11385 $(POSTSTAGE1_FLAGS_TO_PASS) \
11386 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11387 @endif gcc-bootstrap
11393 .PHONY: check-gcc maybe-check-gcc
11394 maybe-check-gcc:
11395 @if gcc
11396 maybe-check-gcc: check-gcc
11398 check-gcc:
11399 @: $(MAKE); $(unstage)
11400 @r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 $(HOST_EXPORTS) \
11403 (cd $(HOST_SUBDIR)/gcc && \
11404 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11406 @endif gcc
11408 .PHONY: install-gcc maybe-install-gcc
11409 maybe-install-gcc:
11410 @if gcc
11411 maybe-install-gcc: install-gcc
11413 install-gcc: installdirs
11414 @: $(MAKE); $(unstage)
11415 @r=`${PWD_COMMAND}`; export r; \
11416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11417 $(HOST_EXPORTS) \
11418 (cd $(HOST_SUBDIR)/gcc && \
11419 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11421 @endif gcc
11423 # Other targets (info, dvi, etc.)
11425 .PHONY: maybe-info-gcc info-gcc
11426 maybe-info-gcc:
11427 @if gcc
11428 maybe-info-gcc: info-gcc
11430 info-gcc: \
11431 configure-gcc
11432 @[ -f ./gcc/Makefile ] || exit 0; \
11433 r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 $(HOST_EXPORTS) \
11436 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11438 done; \
11439 echo "Doing info in gcc" ; \
11440 (cd $(HOST_SUBDIR)/gcc && \
11441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11443 "RANLIB=$${RANLIB}" \
11444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11445 info) \
11446 || exit 1
11448 @endif gcc
11450 .PHONY: maybe-dvi-gcc dvi-gcc
11451 maybe-dvi-gcc:
11452 @if gcc
11453 maybe-dvi-gcc: dvi-gcc
11455 dvi-gcc: \
11456 configure-gcc
11457 @[ -f ./gcc/Makefile ] || exit 0; \
11458 r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 $(HOST_EXPORTS) \
11461 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11463 done; \
11464 echo "Doing dvi in gcc" ; \
11465 (cd $(HOST_SUBDIR)/gcc && \
11466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11468 "RANLIB=$${RANLIB}" \
11469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11470 dvi) \
11471 || exit 1
11473 @endif gcc
11475 .PHONY: maybe-html-gcc html-gcc
11476 maybe-html-gcc:
11477 @if gcc
11478 maybe-html-gcc: html-gcc
11480 html-gcc: \
11481 configure-gcc
11482 @[ -f ./gcc/Makefile ] || exit 0; \
11483 r=`${PWD_COMMAND}`; export r; \
11484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11485 $(HOST_EXPORTS) \
11486 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11488 done; \
11489 echo "Doing html in gcc" ; \
11490 (cd $(HOST_SUBDIR)/gcc && \
11491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11493 "RANLIB=$${RANLIB}" \
11494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11495 html) \
11496 || exit 1
11498 @endif gcc
11500 .PHONY: maybe-TAGS-gcc TAGS-gcc
11501 maybe-TAGS-gcc:
11502 @if gcc
11503 maybe-TAGS-gcc: TAGS-gcc
11505 TAGS-gcc: \
11506 configure-gcc
11507 @[ -f ./gcc/Makefile ] || exit 0; \
11508 r=`${PWD_COMMAND}`; export r; \
11509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11510 $(HOST_EXPORTS) \
11511 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11513 done; \
11514 echo "Doing TAGS in gcc" ; \
11515 (cd $(HOST_SUBDIR)/gcc && \
11516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11518 "RANLIB=$${RANLIB}" \
11519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11520 TAGS) \
11521 || exit 1
11523 @endif gcc
11525 .PHONY: maybe-install-info-gcc install-info-gcc
11526 maybe-install-info-gcc:
11527 @if gcc
11528 maybe-install-info-gcc: install-info-gcc
11530 install-info-gcc: \
11531 configure-gcc \
11532 info-gcc
11533 @[ -f ./gcc/Makefile ] || exit 0; \
11534 r=`${PWD_COMMAND}`; export r; \
11535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11536 $(HOST_EXPORTS) \
11537 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11539 done; \
11540 echo "Doing install-info in gcc" ; \
11541 (cd $(HOST_SUBDIR)/gcc && \
11542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11544 "RANLIB=$${RANLIB}" \
11545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11546 install-info) \
11547 || exit 1
11549 @endif gcc
11551 .PHONY: maybe-installcheck-gcc installcheck-gcc
11552 maybe-installcheck-gcc:
11553 @if gcc
11554 maybe-installcheck-gcc: installcheck-gcc
11556 installcheck-gcc: \
11557 configure-gcc
11558 @[ -f ./gcc/Makefile ] || exit 0; \
11559 r=`${PWD_COMMAND}`; export r; \
11560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11561 $(HOST_EXPORTS) \
11562 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11564 done; \
11565 echo "Doing installcheck in gcc" ; \
11566 (cd $(HOST_SUBDIR)/gcc && \
11567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11569 "RANLIB=$${RANLIB}" \
11570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11571 installcheck) \
11572 || exit 1
11574 @endif gcc
11576 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11577 maybe-mostlyclean-gcc:
11578 @if gcc
11579 maybe-mostlyclean-gcc: mostlyclean-gcc
11581 mostlyclean-gcc:
11582 @[ -f ./gcc/Makefile ] || exit 0; \
11583 r=`${PWD_COMMAND}`; export r; \
11584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11585 $(HOST_EXPORTS) \
11586 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11588 done; \
11589 echo "Doing mostlyclean in gcc" ; \
11590 (cd $(HOST_SUBDIR)/gcc && \
11591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11593 "RANLIB=$${RANLIB}" \
11594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11595 mostlyclean) \
11596 || exit 1
11598 @endif gcc
11600 .PHONY: maybe-clean-gcc clean-gcc
11601 maybe-clean-gcc:
11602 @if gcc
11603 maybe-clean-gcc: clean-gcc
11605 clean-gcc:
11606 @[ -f ./gcc/Makefile ] || exit 0; \
11607 r=`${PWD_COMMAND}`; export r; \
11608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11609 $(HOST_EXPORTS) \
11610 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11612 done; \
11613 echo "Doing clean in gcc" ; \
11614 (cd $(HOST_SUBDIR)/gcc && \
11615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11617 "RANLIB=$${RANLIB}" \
11618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11619 clean) \
11620 || exit 1
11622 @endif gcc
11624 .PHONY: maybe-distclean-gcc distclean-gcc
11625 maybe-distclean-gcc:
11626 @if gcc
11627 maybe-distclean-gcc: distclean-gcc
11629 distclean-gcc:
11630 @[ -f ./gcc/Makefile ] || exit 0; \
11631 r=`${PWD_COMMAND}`; export r; \
11632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 $(HOST_EXPORTS) \
11634 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11636 done; \
11637 echo "Doing distclean in gcc" ; \
11638 (cd $(HOST_SUBDIR)/gcc && \
11639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11641 "RANLIB=$${RANLIB}" \
11642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11643 distclean) \
11644 || exit 1
11646 @endif gcc
11648 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11649 maybe-maintainer-clean-gcc:
11650 @if gcc
11651 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11653 maintainer-clean-gcc:
11654 @[ -f ./gcc/Makefile ] || exit 0; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 $(HOST_EXPORTS) \
11658 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11660 done; \
11661 echo "Doing maintainer-clean in gcc" ; \
11662 (cd $(HOST_SUBDIR)/gcc && \
11663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11665 "RANLIB=$${RANLIB}" \
11666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11667 maintainer-clean) \
11668 || exit 1
11670 @endif gcc
11674 .PHONY: configure-gawk maybe-configure-gawk
11675 maybe-configure-gawk:
11676 @if gawk
11677 maybe-configure-gawk: configure-gawk
11678 configure-gawk:
11679 @: $(MAKE); $(unstage)
11680 @r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11684 $(HOST_EXPORTS) \
11685 echo Configuring in $(HOST_SUBDIR)/gawk; \
11686 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11687 case $(srcdir) in \
11688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11689 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11691 esac; \
11692 srcdiroption="--srcdir=$${topdir}/gawk"; \
11693 libsrcdir="$$s/gawk"; \
11694 $(SHELL) $${libsrcdir}/configure \
11695 $(HOST_CONFIGARGS) $${srcdiroption} \
11696 || exit 1
11697 @endif gawk
11703 .PHONY: all-gawk maybe-all-gawk
11704 maybe-all-gawk:
11705 @if gawk
11706 TARGET-gawk=all
11707 maybe-all-gawk: all-gawk
11708 all-gawk: configure-gawk
11709 @: $(MAKE); $(unstage)
11710 @r=`${PWD_COMMAND}`; export r; \
11711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11712 $(HOST_EXPORTS) \
11713 (cd $(HOST_SUBDIR)/gawk && \
11714 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11715 @endif gawk
11720 .PHONY: check-gawk maybe-check-gawk
11721 maybe-check-gawk:
11722 @if gawk
11723 maybe-check-gawk: check-gawk
11725 check-gawk:
11726 @: $(MAKE); $(unstage)
11727 @r=`${PWD_COMMAND}`; export r; \
11728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 $(HOST_EXPORTS) \
11730 (cd $(HOST_SUBDIR)/gawk && \
11731 $(MAKE) $(FLAGS_TO_PASS) check)
11733 @endif gawk
11735 .PHONY: install-gawk maybe-install-gawk
11736 maybe-install-gawk:
11737 @if gawk
11738 maybe-install-gawk: install-gawk
11740 install-gawk: installdirs
11741 @: $(MAKE); $(unstage)
11742 @r=`${PWD_COMMAND}`; export r; \
11743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11744 $(HOST_EXPORTS) \
11745 (cd $(HOST_SUBDIR)/gawk && \
11746 $(MAKE) $(FLAGS_TO_PASS) install)
11748 @endif gawk
11750 # Other targets (info, dvi, etc.)
11752 .PHONY: maybe-info-gawk info-gawk
11753 maybe-info-gawk:
11754 @if gawk
11755 maybe-info-gawk: info-gawk
11757 info-gawk: \
11758 configure-gawk
11759 @: $(MAKE); $(unstage)
11760 @[ -f ./gawk/Makefile ] || exit 0; \
11761 r=`${PWD_COMMAND}`; export r; \
11762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11763 $(HOST_EXPORTS) \
11764 for flag in $(EXTRA_HOST_FLAGS) ; do \
11765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11766 done; \
11767 echo "Doing info in gawk" ; \
11768 (cd $(HOST_SUBDIR)/gawk && \
11769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11771 "RANLIB=$${RANLIB}" \
11772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11773 info) \
11774 || exit 1
11776 @endif gawk
11778 .PHONY: maybe-dvi-gawk dvi-gawk
11779 maybe-dvi-gawk:
11780 @if gawk
11781 maybe-dvi-gawk: dvi-gawk
11783 dvi-gawk: \
11784 configure-gawk
11785 @: $(MAKE); $(unstage)
11786 @[ -f ./gawk/Makefile ] || exit 0; \
11787 r=`${PWD_COMMAND}`; export r; \
11788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11789 $(HOST_EXPORTS) \
11790 for flag in $(EXTRA_HOST_FLAGS) ; do \
11791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11792 done; \
11793 echo "Doing dvi in gawk" ; \
11794 (cd $(HOST_SUBDIR)/gawk && \
11795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11797 "RANLIB=$${RANLIB}" \
11798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11799 dvi) \
11800 || exit 1
11802 @endif gawk
11804 .PHONY: maybe-html-gawk html-gawk
11805 maybe-html-gawk:
11806 @if gawk
11807 maybe-html-gawk: html-gawk
11809 html-gawk: \
11810 configure-gawk
11811 @: $(MAKE); $(unstage)
11812 @[ -f ./gawk/Makefile ] || exit 0; \
11813 r=`${PWD_COMMAND}`; export r; \
11814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11815 $(HOST_EXPORTS) \
11816 for flag in $(EXTRA_HOST_FLAGS) ; do \
11817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11818 done; \
11819 echo "Doing html in gawk" ; \
11820 (cd $(HOST_SUBDIR)/gawk && \
11821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11823 "RANLIB=$${RANLIB}" \
11824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11825 html) \
11826 || exit 1
11828 @endif gawk
11830 .PHONY: maybe-TAGS-gawk TAGS-gawk
11831 maybe-TAGS-gawk:
11832 @if gawk
11833 maybe-TAGS-gawk: TAGS-gawk
11835 TAGS-gawk: \
11836 configure-gawk
11837 @: $(MAKE); $(unstage)
11838 @[ -f ./gawk/Makefile ] || exit 0; \
11839 r=`${PWD_COMMAND}`; export r; \
11840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11841 $(HOST_EXPORTS) \
11842 for flag in $(EXTRA_HOST_FLAGS) ; do \
11843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11844 done; \
11845 echo "Doing TAGS in gawk" ; \
11846 (cd $(HOST_SUBDIR)/gawk && \
11847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11849 "RANLIB=$${RANLIB}" \
11850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11851 TAGS) \
11852 || exit 1
11854 @endif gawk
11856 .PHONY: maybe-install-info-gawk install-info-gawk
11857 maybe-install-info-gawk:
11858 @if gawk
11859 maybe-install-info-gawk: install-info-gawk
11861 install-info-gawk: \
11862 configure-gawk \
11863 info-gawk
11864 @: $(MAKE); $(unstage)
11865 @[ -f ./gawk/Makefile ] || exit 0; \
11866 r=`${PWD_COMMAND}`; export r; \
11867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11868 $(HOST_EXPORTS) \
11869 for flag in $(EXTRA_HOST_FLAGS) ; do \
11870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11871 done; \
11872 echo "Doing install-info in gawk" ; \
11873 (cd $(HOST_SUBDIR)/gawk && \
11874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11876 "RANLIB=$${RANLIB}" \
11877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11878 install-info) \
11879 || exit 1
11881 @endif gawk
11883 .PHONY: maybe-installcheck-gawk installcheck-gawk
11884 maybe-installcheck-gawk:
11885 @if gawk
11886 maybe-installcheck-gawk: installcheck-gawk
11888 installcheck-gawk: \
11889 configure-gawk
11890 @: $(MAKE); $(unstage)
11891 @[ -f ./gawk/Makefile ] || exit 0; \
11892 r=`${PWD_COMMAND}`; export r; \
11893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11894 $(HOST_EXPORTS) \
11895 for flag in $(EXTRA_HOST_FLAGS) ; do \
11896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11897 done; \
11898 echo "Doing installcheck in gawk" ; \
11899 (cd $(HOST_SUBDIR)/gawk && \
11900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11902 "RANLIB=$${RANLIB}" \
11903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11904 installcheck) \
11905 || exit 1
11907 @endif gawk
11909 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11910 maybe-mostlyclean-gawk:
11911 @if gawk
11912 maybe-mostlyclean-gawk: mostlyclean-gawk
11914 mostlyclean-gawk:
11915 @: $(MAKE); $(unstage)
11916 @[ -f ./gawk/Makefile ] || exit 0; \
11917 r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 $(HOST_EXPORTS) \
11920 for flag in $(EXTRA_HOST_FLAGS) ; do \
11921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11922 done; \
11923 echo "Doing mostlyclean in gawk" ; \
11924 (cd $(HOST_SUBDIR)/gawk && \
11925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11927 "RANLIB=$${RANLIB}" \
11928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11929 mostlyclean) \
11930 || exit 1
11932 @endif gawk
11934 .PHONY: maybe-clean-gawk clean-gawk
11935 maybe-clean-gawk:
11936 @if gawk
11937 maybe-clean-gawk: clean-gawk
11939 clean-gawk:
11940 @: $(MAKE); $(unstage)
11941 @[ -f ./gawk/Makefile ] || exit 0; \
11942 r=`${PWD_COMMAND}`; export r; \
11943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11944 $(HOST_EXPORTS) \
11945 for flag in $(EXTRA_HOST_FLAGS) ; do \
11946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11947 done; \
11948 echo "Doing clean in gawk" ; \
11949 (cd $(HOST_SUBDIR)/gawk && \
11950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11952 "RANLIB=$${RANLIB}" \
11953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11954 clean) \
11955 || exit 1
11957 @endif gawk
11959 .PHONY: maybe-distclean-gawk distclean-gawk
11960 maybe-distclean-gawk:
11961 @if gawk
11962 maybe-distclean-gawk: distclean-gawk
11964 distclean-gawk:
11965 @: $(MAKE); $(unstage)
11966 @[ -f ./gawk/Makefile ] || exit 0; \
11967 r=`${PWD_COMMAND}`; export r; \
11968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11969 $(HOST_EXPORTS) \
11970 for flag in $(EXTRA_HOST_FLAGS) ; do \
11971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11972 done; \
11973 echo "Doing distclean in gawk" ; \
11974 (cd $(HOST_SUBDIR)/gawk && \
11975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11977 "RANLIB=$${RANLIB}" \
11978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11979 distclean) \
11980 || exit 1
11982 @endif gawk
11984 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11985 maybe-maintainer-clean-gawk:
11986 @if gawk
11987 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11989 maintainer-clean-gawk:
11990 @: $(MAKE); $(unstage)
11991 @[ -f ./gawk/Makefile ] || exit 0; \
11992 r=`${PWD_COMMAND}`; export r; \
11993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11994 $(HOST_EXPORTS) \
11995 for flag in $(EXTRA_HOST_FLAGS) ; do \
11996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11997 done; \
11998 echo "Doing maintainer-clean in gawk" ; \
11999 (cd $(HOST_SUBDIR)/gawk && \
12000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12002 "RANLIB=$${RANLIB}" \
12003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12004 maintainer-clean) \
12005 || exit 1
12007 @endif gawk
12011 .PHONY: configure-gettext maybe-configure-gettext
12012 maybe-configure-gettext:
12013 @if gettext
12014 maybe-configure-gettext: configure-gettext
12015 configure-gettext:
12016 @: $(MAKE); $(unstage)
12017 @r=`${PWD_COMMAND}`; export r; \
12018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12019 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12021 $(HOST_EXPORTS) \
12022 echo Configuring in $(HOST_SUBDIR)/gettext; \
12023 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12024 case $(srcdir) in \
12025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12026 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12028 esac; \
12029 srcdiroption="--srcdir=$${topdir}/gettext"; \
12030 libsrcdir="$$s/gettext"; \
12031 $(SHELL) $${libsrcdir}/configure \
12032 $(HOST_CONFIGARGS) $${srcdiroption} \
12033 || exit 1
12034 @endif gettext
12040 .PHONY: all-gettext maybe-all-gettext
12041 maybe-all-gettext:
12042 @if gettext
12043 TARGET-gettext=all
12044 maybe-all-gettext: all-gettext
12045 all-gettext: configure-gettext
12046 @: $(MAKE); $(unstage)
12047 @r=`${PWD_COMMAND}`; export r; \
12048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12049 $(HOST_EXPORTS) \
12050 (cd $(HOST_SUBDIR)/gettext && \
12051 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12052 @endif gettext
12057 .PHONY: check-gettext maybe-check-gettext
12058 maybe-check-gettext:
12059 @if gettext
12060 maybe-check-gettext: check-gettext
12062 check-gettext:
12063 @: $(MAKE); $(unstage)
12064 @r=`${PWD_COMMAND}`; export r; \
12065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 $(HOST_EXPORTS) \
12067 (cd $(HOST_SUBDIR)/gettext && \
12068 $(MAKE) $(FLAGS_TO_PASS) check)
12070 @endif gettext
12072 .PHONY: install-gettext maybe-install-gettext
12073 maybe-install-gettext:
12074 @if gettext
12075 maybe-install-gettext: install-gettext
12077 install-gettext: installdirs
12078 @: $(MAKE); $(unstage)
12079 @r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 $(HOST_EXPORTS) \
12082 (cd $(HOST_SUBDIR)/gettext && \
12083 $(MAKE) $(FLAGS_TO_PASS) install)
12085 @endif gettext
12087 # Other targets (info, dvi, etc.)
12089 .PHONY: maybe-info-gettext info-gettext
12090 maybe-info-gettext:
12091 @if gettext
12092 maybe-info-gettext: info-gettext
12094 info-gettext: \
12095 configure-gettext
12096 @: $(MAKE); $(unstage)
12097 @[ -f ./gettext/Makefile ] || exit 0; \
12098 r=`${PWD_COMMAND}`; export r; \
12099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12100 $(HOST_EXPORTS) \
12101 for flag in $(EXTRA_HOST_FLAGS) ; do \
12102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12103 done; \
12104 echo "Doing info in gettext" ; \
12105 (cd $(HOST_SUBDIR)/gettext && \
12106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108 "RANLIB=$${RANLIB}" \
12109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12110 info) \
12111 || exit 1
12113 @endif gettext
12115 .PHONY: maybe-dvi-gettext dvi-gettext
12116 maybe-dvi-gettext:
12117 @if gettext
12118 maybe-dvi-gettext: dvi-gettext
12120 dvi-gettext: \
12121 configure-gettext
12122 @: $(MAKE); $(unstage)
12123 @[ -f ./gettext/Makefile ] || exit 0; \
12124 r=`${PWD_COMMAND}`; export r; \
12125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12126 $(HOST_EXPORTS) \
12127 for flag in $(EXTRA_HOST_FLAGS) ; do \
12128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12129 done; \
12130 echo "Doing dvi in gettext" ; \
12131 (cd $(HOST_SUBDIR)/gettext && \
12132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12134 "RANLIB=$${RANLIB}" \
12135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12136 dvi) \
12137 || exit 1
12139 @endif gettext
12141 .PHONY: maybe-html-gettext html-gettext
12142 maybe-html-gettext:
12143 @if gettext
12144 maybe-html-gettext: html-gettext
12146 html-gettext: \
12147 configure-gettext
12148 @: $(MAKE); $(unstage)
12149 @[ -f ./gettext/Makefile ] || exit 0; \
12150 r=`${PWD_COMMAND}`; export r; \
12151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12152 $(HOST_EXPORTS) \
12153 for flag in $(EXTRA_HOST_FLAGS) ; do \
12154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12155 done; \
12156 echo "Doing html in gettext" ; \
12157 (cd $(HOST_SUBDIR)/gettext && \
12158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12160 "RANLIB=$${RANLIB}" \
12161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12162 html) \
12163 || exit 1
12165 @endif gettext
12167 .PHONY: maybe-TAGS-gettext TAGS-gettext
12168 maybe-TAGS-gettext:
12169 @if gettext
12170 maybe-TAGS-gettext: TAGS-gettext
12172 TAGS-gettext: \
12173 configure-gettext
12174 @: $(MAKE); $(unstage)
12175 @[ -f ./gettext/Makefile ] || exit 0; \
12176 r=`${PWD_COMMAND}`; export r; \
12177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12178 $(HOST_EXPORTS) \
12179 for flag in $(EXTRA_HOST_FLAGS) ; do \
12180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12181 done; \
12182 echo "Doing TAGS in gettext" ; \
12183 (cd $(HOST_SUBDIR)/gettext && \
12184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12186 "RANLIB=$${RANLIB}" \
12187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12188 TAGS) \
12189 || exit 1
12191 @endif gettext
12193 .PHONY: maybe-install-info-gettext install-info-gettext
12194 maybe-install-info-gettext:
12195 @if gettext
12196 maybe-install-info-gettext: install-info-gettext
12198 install-info-gettext: \
12199 configure-gettext \
12200 info-gettext
12201 @: $(MAKE); $(unstage)
12202 @[ -f ./gettext/Makefile ] || exit 0; \
12203 r=`${PWD_COMMAND}`; export r; \
12204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12205 $(HOST_EXPORTS) \
12206 for flag in $(EXTRA_HOST_FLAGS) ; do \
12207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12208 done; \
12209 echo "Doing install-info in gettext" ; \
12210 (cd $(HOST_SUBDIR)/gettext && \
12211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12213 "RANLIB=$${RANLIB}" \
12214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12215 install-info) \
12216 || exit 1
12218 @endif gettext
12220 .PHONY: maybe-installcheck-gettext installcheck-gettext
12221 maybe-installcheck-gettext:
12222 @if gettext
12223 maybe-installcheck-gettext: installcheck-gettext
12225 installcheck-gettext: \
12226 configure-gettext
12227 @: $(MAKE); $(unstage)
12228 @[ -f ./gettext/Makefile ] || exit 0; \
12229 r=`${PWD_COMMAND}`; export r; \
12230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12231 $(HOST_EXPORTS) \
12232 for flag in $(EXTRA_HOST_FLAGS) ; do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing installcheck in gettext" ; \
12236 (cd $(HOST_SUBDIR)/gettext && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 installcheck) \
12242 || exit 1
12244 @endif gettext
12246 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12247 maybe-mostlyclean-gettext:
12248 @if gettext
12249 maybe-mostlyclean-gettext: mostlyclean-gettext
12251 mostlyclean-gettext:
12252 @: $(MAKE); $(unstage)
12253 @[ -f ./gettext/Makefile ] || exit 0; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) \
12257 for flag in $(EXTRA_HOST_FLAGS) ; do \
12258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12259 done; \
12260 echo "Doing mostlyclean in gettext" ; \
12261 (cd $(HOST_SUBDIR)/gettext && \
12262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12264 "RANLIB=$${RANLIB}" \
12265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12266 mostlyclean) \
12267 || exit 1
12269 @endif gettext
12271 .PHONY: maybe-clean-gettext clean-gettext
12272 maybe-clean-gettext:
12273 @if gettext
12274 maybe-clean-gettext: clean-gettext
12276 clean-gettext:
12277 @: $(MAKE); $(unstage)
12278 @[ -f ./gettext/Makefile ] || exit 0; \
12279 r=`${PWD_COMMAND}`; export r; \
12280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12281 $(HOST_EXPORTS) \
12282 for flag in $(EXTRA_HOST_FLAGS) ; do \
12283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12284 done; \
12285 echo "Doing clean in gettext" ; \
12286 (cd $(HOST_SUBDIR)/gettext && \
12287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12289 "RANLIB=$${RANLIB}" \
12290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12291 clean) \
12292 || exit 1
12294 @endif gettext
12296 .PHONY: maybe-distclean-gettext distclean-gettext
12297 maybe-distclean-gettext:
12298 @if gettext
12299 maybe-distclean-gettext: distclean-gettext
12301 distclean-gettext:
12302 @: $(MAKE); $(unstage)
12303 @[ -f ./gettext/Makefile ] || exit 0; \
12304 r=`${PWD_COMMAND}`; export r; \
12305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12306 $(HOST_EXPORTS) \
12307 for flag in $(EXTRA_HOST_FLAGS) ; do \
12308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12309 done; \
12310 echo "Doing distclean in gettext" ; \
12311 (cd $(HOST_SUBDIR)/gettext && \
12312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12314 "RANLIB=$${RANLIB}" \
12315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12316 distclean) \
12317 || exit 1
12319 @endif gettext
12321 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12322 maybe-maintainer-clean-gettext:
12323 @if gettext
12324 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12326 maintainer-clean-gettext:
12327 @: $(MAKE); $(unstage)
12328 @[ -f ./gettext/Makefile ] || exit 0; \
12329 r=`${PWD_COMMAND}`; export r; \
12330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12331 $(HOST_EXPORTS) \
12332 for flag in $(EXTRA_HOST_FLAGS) ; do \
12333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12334 done; \
12335 echo "Doing maintainer-clean in gettext" ; \
12336 (cd $(HOST_SUBDIR)/gettext && \
12337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12339 "RANLIB=$${RANLIB}" \
12340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12341 maintainer-clean) \
12342 || exit 1
12344 @endif gettext
12348 .PHONY: configure-gnuserv maybe-configure-gnuserv
12349 maybe-configure-gnuserv:
12350 @if gnuserv
12351 maybe-configure-gnuserv: configure-gnuserv
12352 configure-gnuserv:
12353 @: $(MAKE); $(unstage)
12354 @r=`${PWD_COMMAND}`; export r; \
12355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12356 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12358 $(HOST_EXPORTS) \
12359 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12360 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12361 case $(srcdir) in \
12362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12363 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12365 esac; \
12366 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12367 libsrcdir="$$s/gnuserv"; \
12368 $(SHELL) $${libsrcdir}/configure \
12369 $(HOST_CONFIGARGS) $${srcdiroption} \
12370 || exit 1
12371 @endif gnuserv
12377 .PHONY: all-gnuserv maybe-all-gnuserv
12378 maybe-all-gnuserv:
12379 @if gnuserv
12380 TARGET-gnuserv=all
12381 maybe-all-gnuserv: all-gnuserv
12382 all-gnuserv: configure-gnuserv
12383 @: $(MAKE); $(unstage)
12384 @r=`${PWD_COMMAND}`; export r; \
12385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12386 $(HOST_EXPORTS) \
12387 (cd $(HOST_SUBDIR)/gnuserv && \
12388 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12389 @endif gnuserv
12394 .PHONY: check-gnuserv maybe-check-gnuserv
12395 maybe-check-gnuserv:
12396 @if gnuserv
12397 maybe-check-gnuserv: check-gnuserv
12399 check-gnuserv:
12400 @: $(MAKE); $(unstage)
12401 @r=`${PWD_COMMAND}`; export r; \
12402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12403 $(HOST_EXPORTS) \
12404 (cd $(HOST_SUBDIR)/gnuserv && \
12405 $(MAKE) $(FLAGS_TO_PASS) check)
12407 @endif gnuserv
12409 .PHONY: install-gnuserv maybe-install-gnuserv
12410 maybe-install-gnuserv:
12411 @if gnuserv
12412 maybe-install-gnuserv: install-gnuserv
12414 install-gnuserv: installdirs
12415 @: $(MAKE); $(unstage)
12416 @r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12418 $(HOST_EXPORTS) \
12419 (cd $(HOST_SUBDIR)/gnuserv && \
12420 $(MAKE) $(FLAGS_TO_PASS) install)
12422 @endif gnuserv
12424 # Other targets (info, dvi, etc.)
12426 .PHONY: maybe-info-gnuserv info-gnuserv
12427 maybe-info-gnuserv:
12428 @if gnuserv
12429 maybe-info-gnuserv: info-gnuserv
12431 info-gnuserv: \
12432 configure-gnuserv
12433 @: $(MAKE); $(unstage)
12434 @[ -f ./gnuserv/Makefile ] || exit 0; \
12435 r=`${PWD_COMMAND}`; export r; \
12436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12437 $(HOST_EXPORTS) \
12438 for flag in $(EXTRA_HOST_FLAGS) ; do \
12439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12440 done; \
12441 echo "Doing info in gnuserv" ; \
12442 (cd $(HOST_SUBDIR)/gnuserv && \
12443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12445 "RANLIB=$${RANLIB}" \
12446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12447 info) \
12448 || exit 1
12450 @endif gnuserv
12452 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12453 maybe-dvi-gnuserv:
12454 @if gnuserv
12455 maybe-dvi-gnuserv: dvi-gnuserv
12457 dvi-gnuserv: \
12458 configure-gnuserv
12459 @: $(MAKE); $(unstage)
12460 @[ -f ./gnuserv/Makefile ] || exit 0; \
12461 r=`${PWD_COMMAND}`; export r; \
12462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12463 $(HOST_EXPORTS) \
12464 for flag in $(EXTRA_HOST_FLAGS) ; do \
12465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12466 done; \
12467 echo "Doing dvi in gnuserv" ; \
12468 (cd $(HOST_SUBDIR)/gnuserv && \
12469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12471 "RANLIB=$${RANLIB}" \
12472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12473 dvi) \
12474 || exit 1
12476 @endif gnuserv
12478 .PHONY: maybe-html-gnuserv html-gnuserv
12479 maybe-html-gnuserv:
12480 @if gnuserv
12481 maybe-html-gnuserv: html-gnuserv
12483 html-gnuserv: \
12484 configure-gnuserv
12485 @: $(MAKE); $(unstage)
12486 @[ -f ./gnuserv/Makefile ] || exit 0; \
12487 r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12489 $(HOST_EXPORTS) \
12490 for flag in $(EXTRA_HOST_FLAGS) ; do \
12491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12492 done; \
12493 echo "Doing html in gnuserv" ; \
12494 (cd $(HOST_SUBDIR)/gnuserv && \
12495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12497 "RANLIB=$${RANLIB}" \
12498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12499 html) \
12500 || exit 1
12502 @endif gnuserv
12504 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12505 maybe-TAGS-gnuserv:
12506 @if gnuserv
12507 maybe-TAGS-gnuserv: TAGS-gnuserv
12509 TAGS-gnuserv: \
12510 configure-gnuserv
12511 @: $(MAKE); $(unstage)
12512 @[ -f ./gnuserv/Makefile ] || exit 0; \
12513 r=`${PWD_COMMAND}`; export r; \
12514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12515 $(HOST_EXPORTS) \
12516 for flag in $(EXTRA_HOST_FLAGS) ; do \
12517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12518 done; \
12519 echo "Doing TAGS in gnuserv" ; \
12520 (cd $(HOST_SUBDIR)/gnuserv && \
12521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12523 "RANLIB=$${RANLIB}" \
12524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12525 TAGS) \
12526 || exit 1
12528 @endif gnuserv
12530 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12531 maybe-install-info-gnuserv:
12532 @if gnuserv
12533 maybe-install-info-gnuserv: install-info-gnuserv
12535 install-info-gnuserv: \
12536 configure-gnuserv \
12537 info-gnuserv
12538 @: $(MAKE); $(unstage)
12539 @[ -f ./gnuserv/Makefile ] || exit 0; \
12540 r=`${PWD_COMMAND}`; export r; \
12541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12542 $(HOST_EXPORTS) \
12543 for flag in $(EXTRA_HOST_FLAGS) ; do \
12544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12545 done; \
12546 echo "Doing install-info in gnuserv" ; \
12547 (cd $(HOST_SUBDIR)/gnuserv && \
12548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12550 "RANLIB=$${RANLIB}" \
12551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12552 install-info) \
12553 || exit 1
12555 @endif gnuserv
12557 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12558 maybe-installcheck-gnuserv:
12559 @if gnuserv
12560 maybe-installcheck-gnuserv: installcheck-gnuserv
12562 installcheck-gnuserv: \
12563 configure-gnuserv
12564 @: $(MAKE); $(unstage)
12565 @[ -f ./gnuserv/Makefile ] || exit 0; \
12566 r=`${PWD_COMMAND}`; export r; \
12567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12568 $(HOST_EXPORTS) \
12569 for flag in $(EXTRA_HOST_FLAGS) ; do \
12570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12571 done; \
12572 echo "Doing installcheck in gnuserv" ; \
12573 (cd $(HOST_SUBDIR)/gnuserv && \
12574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12576 "RANLIB=$${RANLIB}" \
12577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12578 installcheck) \
12579 || exit 1
12581 @endif gnuserv
12583 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12584 maybe-mostlyclean-gnuserv:
12585 @if gnuserv
12586 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12588 mostlyclean-gnuserv:
12589 @: $(MAKE); $(unstage)
12590 @[ -f ./gnuserv/Makefile ] || exit 0; \
12591 r=`${PWD_COMMAND}`; export r; \
12592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 $(HOST_EXPORTS) \
12594 for flag in $(EXTRA_HOST_FLAGS) ; do \
12595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12596 done; \
12597 echo "Doing mostlyclean in gnuserv" ; \
12598 (cd $(HOST_SUBDIR)/gnuserv && \
12599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12601 "RANLIB=$${RANLIB}" \
12602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12603 mostlyclean) \
12604 || exit 1
12606 @endif gnuserv
12608 .PHONY: maybe-clean-gnuserv clean-gnuserv
12609 maybe-clean-gnuserv:
12610 @if gnuserv
12611 maybe-clean-gnuserv: clean-gnuserv
12613 clean-gnuserv:
12614 @: $(MAKE); $(unstage)
12615 @[ -f ./gnuserv/Makefile ] || exit 0; \
12616 r=`${PWD_COMMAND}`; export r; \
12617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12618 $(HOST_EXPORTS) \
12619 for flag in $(EXTRA_HOST_FLAGS) ; do \
12620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12621 done; \
12622 echo "Doing clean in gnuserv" ; \
12623 (cd $(HOST_SUBDIR)/gnuserv && \
12624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12626 "RANLIB=$${RANLIB}" \
12627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12628 clean) \
12629 || exit 1
12631 @endif gnuserv
12633 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12634 maybe-distclean-gnuserv:
12635 @if gnuserv
12636 maybe-distclean-gnuserv: distclean-gnuserv
12638 distclean-gnuserv:
12639 @: $(MAKE); $(unstage)
12640 @[ -f ./gnuserv/Makefile ] || exit 0; \
12641 r=`${PWD_COMMAND}`; export r; \
12642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12643 $(HOST_EXPORTS) \
12644 for flag in $(EXTRA_HOST_FLAGS) ; do \
12645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12646 done; \
12647 echo "Doing distclean in gnuserv" ; \
12648 (cd $(HOST_SUBDIR)/gnuserv && \
12649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12651 "RANLIB=$${RANLIB}" \
12652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12653 distclean) \
12654 || exit 1
12656 @endif gnuserv
12658 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12659 maybe-maintainer-clean-gnuserv:
12660 @if gnuserv
12661 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12663 maintainer-clean-gnuserv:
12664 @: $(MAKE); $(unstage)
12665 @[ -f ./gnuserv/Makefile ] || exit 0; \
12666 r=`${PWD_COMMAND}`; export r; \
12667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12668 $(HOST_EXPORTS) \
12669 for flag in $(EXTRA_HOST_FLAGS) ; do \
12670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12671 done; \
12672 echo "Doing maintainer-clean in gnuserv" ; \
12673 (cd $(HOST_SUBDIR)/gnuserv && \
12674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12676 "RANLIB=$${RANLIB}" \
12677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12678 maintainer-clean) \
12679 || exit 1
12681 @endif gnuserv
12685 .PHONY: configure-gprof maybe-configure-gprof
12686 maybe-configure-gprof:
12687 @if gprof
12688 maybe-configure-gprof: configure-gprof
12689 configure-gprof:
12690 @: $(MAKE); $(unstage)
12691 @r=`${PWD_COMMAND}`; export r; \
12692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12693 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12695 $(HOST_EXPORTS) \
12696 echo Configuring in $(HOST_SUBDIR)/gprof; \
12697 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12698 case $(srcdir) in \
12699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12700 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12702 esac; \
12703 srcdiroption="--srcdir=$${topdir}/gprof"; \
12704 libsrcdir="$$s/gprof"; \
12705 $(SHELL) $${libsrcdir}/configure \
12706 $(HOST_CONFIGARGS) $${srcdiroption} \
12707 || exit 1
12708 @endif gprof
12714 .PHONY: all-gprof maybe-all-gprof
12715 maybe-all-gprof:
12716 @if gprof
12717 TARGET-gprof=all
12718 maybe-all-gprof: all-gprof
12719 all-gprof: configure-gprof
12720 @: $(MAKE); $(unstage)
12721 @r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 $(HOST_EXPORTS) \
12724 (cd $(HOST_SUBDIR)/gprof && \
12725 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12726 @endif gprof
12731 .PHONY: check-gprof maybe-check-gprof
12732 maybe-check-gprof:
12733 @if gprof
12734 maybe-check-gprof: check-gprof
12736 check-gprof:
12737 @: $(MAKE); $(unstage)
12738 @r=`${PWD_COMMAND}`; export r; \
12739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12740 $(HOST_EXPORTS) \
12741 (cd $(HOST_SUBDIR)/gprof && \
12742 $(MAKE) $(FLAGS_TO_PASS) check)
12744 @endif gprof
12746 .PHONY: install-gprof maybe-install-gprof
12747 maybe-install-gprof:
12748 @if gprof
12749 maybe-install-gprof: install-gprof
12751 install-gprof: installdirs
12752 @: $(MAKE); $(unstage)
12753 @r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 $(HOST_EXPORTS) \
12756 (cd $(HOST_SUBDIR)/gprof && \
12757 $(MAKE) $(FLAGS_TO_PASS) install)
12759 @endif gprof
12761 # Other targets (info, dvi, etc.)
12763 .PHONY: maybe-info-gprof info-gprof
12764 maybe-info-gprof:
12765 @if gprof
12766 maybe-info-gprof: info-gprof
12768 info-gprof: \
12769 configure-gprof
12770 @: $(MAKE); $(unstage)
12771 @[ -f ./gprof/Makefile ] || exit 0; \
12772 r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774 $(HOST_EXPORTS) \
12775 for flag in $(EXTRA_HOST_FLAGS) ; do \
12776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12777 done; \
12778 echo "Doing info in gprof" ; \
12779 (cd $(HOST_SUBDIR)/gprof && \
12780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12782 "RANLIB=$${RANLIB}" \
12783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12784 info) \
12785 || exit 1
12787 @endif gprof
12789 .PHONY: maybe-dvi-gprof dvi-gprof
12790 maybe-dvi-gprof:
12791 @if gprof
12792 maybe-dvi-gprof: dvi-gprof
12794 dvi-gprof: \
12795 configure-gprof
12796 @: $(MAKE); $(unstage)
12797 @[ -f ./gprof/Makefile ] || exit 0; \
12798 r=`${PWD_COMMAND}`; export r; \
12799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12800 $(HOST_EXPORTS) \
12801 for flag in $(EXTRA_HOST_FLAGS) ; do \
12802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12803 done; \
12804 echo "Doing dvi in gprof" ; \
12805 (cd $(HOST_SUBDIR)/gprof && \
12806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12808 "RANLIB=$${RANLIB}" \
12809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12810 dvi) \
12811 || exit 1
12813 @endif gprof
12815 .PHONY: maybe-html-gprof html-gprof
12816 maybe-html-gprof:
12817 @if gprof
12818 maybe-html-gprof: html-gprof
12820 html-gprof: \
12821 configure-gprof
12822 @: $(MAKE); $(unstage)
12823 @[ -f ./gprof/Makefile ] || exit 0; \
12824 r=`${PWD_COMMAND}`; export r; \
12825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12826 $(HOST_EXPORTS) \
12827 for flag in $(EXTRA_HOST_FLAGS) ; do \
12828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12829 done; \
12830 echo "Doing html in gprof" ; \
12831 (cd $(HOST_SUBDIR)/gprof && \
12832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12834 "RANLIB=$${RANLIB}" \
12835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12836 html) \
12837 || exit 1
12839 @endif gprof
12841 .PHONY: maybe-TAGS-gprof TAGS-gprof
12842 maybe-TAGS-gprof:
12843 @if gprof
12844 maybe-TAGS-gprof: TAGS-gprof
12846 TAGS-gprof: \
12847 configure-gprof
12848 @: $(MAKE); $(unstage)
12849 @[ -f ./gprof/Makefile ] || exit 0; \
12850 r=`${PWD_COMMAND}`; export r; \
12851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12852 $(HOST_EXPORTS) \
12853 for flag in $(EXTRA_HOST_FLAGS) ; do \
12854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12855 done; \
12856 echo "Doing TAGS in gprof" ; \
12857 (cd $(HOST_SUBDIR)/gprof && \
12858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12860 "RANLIB=$${RANLIB}" \
12861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12862 TAGS) \
12863 || exit 1
12865 @endif gprof
12867 .PHONY: maybe-install-info-gprof install-info-gprof
12868 maybe-install-info-gprof:
12869 @if gprof
12870 maybe-install-info-gprof: install-info-gprof
12872 install-info-gprof: \
12873 configure-gprof \
12874 info-gprof
12875 @: $(MAKE); $(unstage)
12876 @[ -f ./gprof/Makefile ] || exit 0; \
12877 r=`${PWD_COMMAND}`; export r; \
12878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12879 $(HOST_EXPORTS) \
12880 for flag in $(EXTRA_HOST_FLAGS) ; do \
12881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12882 done; \
12883 echo "Doing install-info in gprof" ; \
12884 (cd $(HOST_SUBDIR)/gprof && \
12885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12887 "RANLIB=$${RANLIB}" \
12888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12889 install-info) \
12890 || exit 1
12892 @endif gprof
12894 .PHONY: maybe-installcheck-gprof installcheck-gprof
12895 maybe-installcheck-gprof:
12896 @if gprof
12897 maybe-installcheck-gprof: installcheck-gprof
12899 installcheck-gprof: \
12900 configure-gprof
12901 @: $(MAKE); $(unstage)
12902 @[ -f ./gprof/Makefile ] || exit 0; \
12903 r=`${PWD_COMMAND}`; export r; \
12904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12905 $(HOST_EXPORTS) \
12906 for flag in $(EXTRA_HOST_FLAGS) ; do \
12907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12908 done; \
12909 echo "Doing installcheck in gprof" ; \
12910 (cd $(HOST_SUBDIR)/gprof && \
12911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12913 "RANLIB=$${RANLIB}" \
12914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12915 installcheck) \
12916 || exit 1
12918 @endif gprof
12920 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12921 maybe-mostlyclean-gprof:
12922 @if gprof
12923 maybe-mostlyclean-gprof: mostlyclean-gprof
12925 mostlyclean-gprof:
12926 @: $(MAKE); $(unstage)
12927 @[ -f ./gprof/Makefile ] || exit 0; \
12928 r=`${PWD_COMMAND}`; export r; \
12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930 $(HOST_EXPORTS) \
12931 for flag in $(EXTRA_HOST_FLAGS) ; do \
12932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12933 done; \
12934 echo "Doing mostlyclean in gprof" ; \
12935 (cd $(HOST_SUBDIR)/gprof && \
12936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12938 "RANLIB=$${RANLIB}" \
12939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12940 mostlyclean) \
12941 || exit 1
12943 @endif gprof
12945 .PHONY: maybe-clean-gprof clean-gprof
12946 maybe-clean-gprof:
12947 @if gprof
12948 maybe-clean-gprof: clean-gprof
12950 clean-gprof:
12951 @: $(MAKE); $(unstage)
12952 @[ -f ./gprof/Makefile ] || exit 0; \
12953 r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 $(HOST_EXPORTS) \
12956 for flag in $(EXTRA_HOST_FLAGS) ; do \
12957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 done; \
12959 echo "Doing clean in gprof" ; \
12960 (cd $(HOST_SUBDIR)/gprof && \
12961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12963 "RANLIB=$${RANLIB}" \
12964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12965 clean) \
12966 || exit 1
12968 @endif gprof
12970 .PHONY: maybe-distclean-gprof distclean-gprof
12971 maybe-distclean-gprof:
12972 @if gprof
12973 maybe-distclean-gprof: distclean-gprof
12975 distclean-gprof:
12976 @: $(MAKE); $(unstage)
12977 @[ -f ./gprof/Makefile ] || exit 0; \
12978 r=`${PWD_COMMAND}`; export r; \
12979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12980 $(HOST_EXPORTS) \
12981 for flag in $(EXTRA_HOST_FLAGS) ; do \
12982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12983 done; \
12984 echo "Doing distclean in gprof" ; \
12985 (cd $(HOST_SUBDIR)/gprof && \
12986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12988 "RANLIB=$${RANLIB}" \
12989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12990 distclean) \
12991 || exit 1
12993 @endif gprof
12995 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12996 maybe-maintainer-clean-gprof:
12997 @if gprof
12998 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13000 maintainer-clean-gprof:
13001 @: $(MAKE); $(unstage)
13002 @[ -f ./gprof/Makefile ] || exit 0; \
13003 r=`${PWD_COMMAND}`; export r; \
13004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13005 $(HOST_EXPORTS) \
13006 for flag in $(EXTRA_HOST_FLAGS) ; do \
13007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13008 done; \
13009 echo "Doing maintainer-clean in gprof" ; \
13010 (cd $(HOST_SUBDIR)/gprof && \
13011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13013 "RANLIB=$${RANLIB}" \
13014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13015 maintainer-clean) \
13016 || exit 1
13018 @endif gprof
13022 .PHONY: configure-gzip maybe-configure-gzip
13023 maybe-configure-gzip:
13024 @if gzip
13025 maybe-configure-gzip: configure-gzip
13026 configure-gzip:
13027 @: $(MAKE); $(unstage)
13028 @r=`${PWD_COMMAND}`; export r; \
13029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13030 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13032 $(HOST_EXPORTS) \
13033 echo Configuring in $(HOST_SUBDIR)/gzip; \
13034 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13035 case $(srcdir) in \
13036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13037 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13039 esac; \
13040 srcdiroption="--srcdir=$${topdir}/gzip"; \
13041 libsrcdir="$$s/gzip"; \
13042 $(SHELL) $${libsrcdir}/configure \
13043 $(HOST_CONFIGARGS) $${srcdiroption} \
13044 || exit 1
13045 @endif gzip
13051 .PHONY: all-gzip maybe-all-gzip
13052 maybe-all-gzip:
13053 @if gzip
13054 TARGET-gzip=all
13055 maybe-all-gzip: all-gzip
13056 all-gzip: configure-gzip
13057 @: $(MAKE); $(unstage)
13058 @r=`${PWD_COMMAND}`; export r; \
13059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13060 $(HOST_EXPORTS) \
13061 (cd $(HOST_SUBDIR)/gzip && \
13062 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13063 @endif gzip
13068 .PHONY: check-gzip maybe-check-gzip
13069 maybe-check-gzip:
13070 @if gzip
13071 maybe-check-gzip: check-gzip
13073 check-gzip:
13074 @: $(MAKE); $(unstage)
13075 @r=`${PWD_COMMAND}`; export r; \
13076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13077 $(HOST_EXPORTS) \
13078 (cd $(HOST_SUBDIR)/gzip && \
13079 $(MAKE) $(FLAGS_TO_PASS) check)
13081 @endif gzip
13083 .PHONY: install-gzip maybe-install-gzip
13084 maybe-install-gzip:
13085 @if gzip
13086 maybe-install-gzip: install-gzip
13088 install-gzip: installdirs
13089 @: $(MAKE); $(unstage)
13090 @r=`${PWD_COMMAND}`; export r; \
13091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13092 $(HOST_EXPORTS) \
13093 (cd $(HOST_SUBDIR)/gzip && \
13094 $(MAKE) $(FLAGS_TO_PASS) install)
13096 @endif gzip
13098 # Other targets (info, dvi, etc.)
13100 .PHONY: maybe-info-gzip info-gzip
13101 maybe-info-gzip:
13102 @if gzip
13103 maybe-info-gzip: info-gzip
13105 info-gzip: \
13106 configure-gzip
13107 @: $(MAKE); $(unstage)
13108 @[ -f ./gzip/Makefile ] || exit 0; \
13109 r=`${PWD_COMMAND}`; export r; \
13110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13111 $(HOST_EXPORTS) \
13112 for flag in $(EXTRA_HOST_FLAGS) ; do \
13113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13114 done; \
13115 echo "Doing info in gzip" ; \
13116 (cd $(HOST_SUBDIR)/gzip && \
13117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13119 "RANLIB=$${RANLIB}" \
13120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13121 info) \
13122 || exit 1
13124 @endif gzip
13126 .PHONY: maybe-dvi-gzip dvi-gzip
13127 maybe-dvi-gzip:
13128 @if gzip
13129 maybe-dvi-gzip: dvi-gzip
13131 dvi-gzip: \
13132 configure-gzip
13133 @: $(MAKE); $(unstage)
13134 @[ -f ./gzip/Makefile ] || exit 0; \
13135 r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 $(HOST_EXPORTS) \
13138 for flag in $(EXTRA_HOST_FLAGS) ; do \
13139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13140 done; \
13141 echo "Doing dvi in gzip" ; \
13142 (cd $(HOST_SUBDIR)/gzip && \
13143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13145 "RANLIB=$${RANLIB}" \
13146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13147 dvi) \
13148 || exit 1
13150 @endif gzip
13152 .PHONY: maybe-html-gzip html-gzip
13153 maybe-html-gzip:
13154 @if gzip
13155 maybe-html-gzip: html-gzip
13157 html-gzip: \
13158 configure-gzip
13159 @: $(MAKE); $(unstage)
13160 @[ -f ./gzip/Makefile ] || exit 0; \
13161 r=`${PWD_COMMAND}`; export r; \
13162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13163 $(HOST_EXPORTS) \
13164 for flag in $(EXTRA_HOST_FLAGS) ; do \
13165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13166 done; \
13167 echo "Doing html in gzip" ; \
13168 (cd $(HOST_SUBDIR)/gzip && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13171 "RANLIB=$${RANLIB}" \
13172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13173 html) \
13174 || exit 1
13176 @endif gzip
13178 .PHONY: maybe-TAGS-gzip TAGS-gzip
13179 maybe-TAGS-gzip:
13180 @if gzip
13181 maybe-TAGS-gzip: TAGS-gzip
13183 TAGS-gzip: \
13184 configure-gzip
13185 @: $(MAKE); $(unstage)
13186 @[ -f ./gzip/Makefile ] || exit 0; \
13187 r=`${PWD_COMMAND}`; export r; \
13188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13189 $(HOST_EXPORTS) \
13190 for flag in $(EXTRA_HOST_FLAGS) ; do \
13191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13192 done; \
13193 echo "Doing TAGS in gzip" ; \
13194 (cd $(HOST_SUBDIR)/gzip && \
13195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13197 "RANLIB=$${RANLIB}" \
13198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13199 TAGS) \
13200 || exit 1
13202 @endif gzip
13204 .PHONY: maybe-install-info-gzip install-info-gzip
13205 maybe-install-info-gzip:
13206 @if gzip
13207 maybe-install-info-gzip: install-info-gzip
13209 install-info-gzip: \
13210 configure-gzip \
13211 info-gzip
13212 @: $(MAKE); $(unstage)
13213 @[ -f ./gzip/Makefile ] || exit 0; \
13214 r=`${PWD_COMMAND}`; export r; \
13215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13216 $(HOST_EXPORTS) \
13217 for flag in $(EXTRA_HOST_FLAGS) ; do \
13218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13219 done; \
13220 echo "Doing install-info in gzip" ; \
13221 (cd $(HOST_SUBDIR)/gzip && \
13222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13224 "RANLIB=$${RANLIB}" \
13225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13226 install-info) \
13227 || exit 1
13229 @endif gzip
13231 .PHONY: maybe-installcheck-gzip installcheck-gzip
13232 maybe-installcheck-gzip:
13233 @if gzip
13234 maybe-installcheck-gzip: installcheck-gzip
13236 installcheck-gzip: \
13237 configure-gzip
13238 @: $(MAKE); $(unstage)
13239 @[ -f ./gzip/Makefile ] || exit 0; \
13240 r=`${PWD_COMMAND}`; export r; \
13241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13242 $(HOST_EXPORTS) \
13243 for flag in $(EXTRA_HOST_FLAGS) ; do \
13244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13245 done; \
13246 echo "Doing installcheck in gzip" ; \
13247 (cd $(HOST_SUBDIR)/gzip && \
13248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13250 "RANLIB=$${RANLIB}" \
13251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13252 installcheck) \
13253 || exit 1
13255 @endif gzip
13257 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13258 maybe-mostlyclean-gzip:
13259 @if gzip
13260 maybe-mostlyclean-gzip: mostlyclean-gzip
13262 mostlyclean-gzip:
13263 @: $(MAKE); $(unstage)
13264 @[ -f ./gzip/Makefile ] || exit 0; \
13265 r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13267 $(HOST_EXPORTS) \
13268 for flag in $(EXTRA_HOST_FLAGS) ; do \
13269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13270 done; \
13271 echo "Doing mostlyclean in gzip" ; \
13272 (cd $(HOST_SUBDIR)/gzip && \
13273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13275 "RANLIB=$${RANLIB}" \
13276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13277 mostlyclean) \
13278 || exit 1
13280 @endif gzip
13282 .PHONY: maybe-clean-gzip clean-gzip
13283 maybe-clean-gzip:
13284 @if gzip
13285 maybe-clean-gzip: clean-gzip
13287 clean-gzip:
13288 @: $(MAKE); $(unstage)
13289 @[ -f ./gzip/Makefile ] || exit 0; \
13290 r=`${PWD_COMMAND}`; export r; \
13291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13292 $(HOST_EXPORTS) \
13293 for flag in $(EXTRA_HOST_FLAGS) ; do \
13294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13295 done; \
13296 echo "Doing clean in gzip" ; \
13297 (cd $(HOST_SUBDIR)/gzip && \
13298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13300 "RANLIB=$${RANLIB}" \
13301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13302 clean) \
13303 || exit 1
13305 @endif gzip
13307 .PHONY: maybe-distclean-gzip distclean-gzip
13308 maybe-distclean-gzip:
13309 @if gzip
13310 maybe-distclean-gzip: distclean-gzip
13312 distclean-gzip:
13313 @: $(MAKE); $(unstage)
13314 @[ -f ./gzip/Makefile ] || exit 0; \
13315 r=`${PWD_COMMAND}`; export r; \
13316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13317 $(HOST_EXPORTS) \
13318 for flag in $(EXTRA_HOST_FLAGS) ; do \
13319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13320 done; \
13321 echo "Doing distclean in gzip" ; \
13322 (cd $(HOST_SUBDIR)/gzip && \
13323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13325 "RANLIB=$${RANLIB}" \
13326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13327 distclean) \
13328 || exit 1
13330 @endif gzip
13332 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13333 maybe-maintainer-clean-gzip:
13334 @if gzip
13335 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13337 maintainer-clean-gzip:
13338 @: $(MAKE); $(unstage)
13339 @[ -f ./gzip/Makefile ] || exit 0; \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342 $(HOST_EXPORTS) \
13343 for flag in $(EXTRA_HOST_FLAGS) ; do \
13344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13345 done; \
13346 echo "Doing maintainer-clean in gzip" ; \
13347 (cd $(HOST_SUBDIR)/gzip && \
13348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350 "RANLIB=$${RANLIB}" \
13351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13352 maintainer-clean) \
13353 || exit 1
13355 @endif gzip
13359 .PHONY: configure-hello maybe-configure-hello
13360 maybe-configure-hello:
13361 @if hello
13362 maybe-configure-hello: configure-hello
13363 configure-hello:
13364 @: $(MAKE); $(unstage)
13365 @r=`${PWD_COMMAND}`; export r; \
13366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13367 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13368 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13369 $(HOST_EXPORTS) \
13370 echo Configuring in $(HOST_SUBDIR)/hello; \
13371 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13372 case $(srcdir) in \
13373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13374 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13376 esac; \
13377 srcdiroption="--srcdir=$${topdir}/hello"; \
13378 libsrcdir="$$s/hello"; \
13379 $(SHELL) $${libsrcdir}/configure \
13380 $(HOST_CONFIGARGS) $${srcdiroption} \
13381 || exit 1
13382 @endif hello
13388 .PHONY: all-hello maybe-all-hello
13389 maybe-all-hello:
13390 @if hello
13391 TARGET-hello=all
13392 maybe-all-hello: all-hello
13393 all-hello: configure-hello
13394 @: $(MAKE); $(unstage)
13395 @r=`${PWD_COMMAND}`; export r; \
13396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13397 $(HOST_EXPORTS) \
13398 (cd $(HOST_SUBDIR)/hello && \
13399 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13400 @endif hello
13405 .PHONY: check-hello maybe-check-hello
13406 maybe-check-hello:
13407 @if hello
13408 maybe-check-hello: check-hello
13410 check-hello:
13411 @: $(MAKE); $(unstage)
13412 @r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 $(HOST_EXPORTS) \
13415 (cd $(HOST_SUBDIR)/hello && \
13416 $(MAKE) $(FLAGS_TO_PASS) check)
13418 @endif hello
13420 .PHONY: install-hello maybe-install-hello
13421 maybe-install-hello:
13422 @if hello
13423 maybe-install-hello: install-hello
13425 install-hello: installdirs
13426 @: $(MAKE); $(unstage)
13427 @r=`${PWD_COMMAND}`; export r; \
13428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13429 $(HOST_EXPORTS) \
13430 (cd $(HOST_SUBDIR)/hello && \
13431 $(MAKE) $(FLAGS_TO_PASS) install)
13433 @endif hello
13435 # Other targets (info, dvi, etc.)
13437 .PHONY: maybe-info-hello info-hello
13438 maybe-info-hello:
13439 @if hello
13440 maybe-info-hello: info-hello
13442 info-hello: \
13443 configure-hello
13444 @: $(MAKE); $(unstage)
13445 @[ -f ./hello/Makefile ] || exit 0; \
13446 r=`${PWD_COMMAND}`; export r; \
13447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 $(HOST_EXPORTS) \
13449 for flag in $(EXTRA_HOST_FLAGS) ; do \
13450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13451 done; \
13452 echo "Doing info in hello" ; \
13453 (cd $(HOST_SUBDIR)/hello && \
13454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13456 "RANLIB=$${RANLIB}" \
13457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13458 info) \
13459 || exit 1
13461 @endif hello
13463 .PHONY: maybe-dvi-hello dvi-hello
13464 maybe-dvi-hello:
13465 @if hello
13466 maybe-dvi-hello: dvi-hello
13468 dvi-hello: \
13469 configure-hello
13470 @: $(MAKE); $(unstage)
13471 @[ -f ./hello/Makefile ] || exit 0; \
13472 r=`${PWD_COMMAND}`; export r; \
13473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13474 $(HOST_EXPORTS) \
13475 for flag in $(EXTRA_HOST_FLAGS) ; do \
13476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13477 done; \
13478 echo "Doing dvi in hello" ; \
13479 (cd $(HOST_SUBDIR)/hello && \
13480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13482 "RANLIB=$${RANLIB}" \
13483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13484 dvi) \
13485 || exit 1
13487 @endif hello
13489 .PHONY: maybe-html-hello html-hello
13490 maybe-html-hello:
13491 @if hello
13492 maybe-html-hello: html-hello
13494 html-hello: \
13495 configure-hello
13496 @: $(MAKE); $(unstage)
13497 @[ -f ./hello/Makefile ] || exit 0; \
13498 r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 $(HOST_EXPORTS) \
13501 for flag in $(EXTRA_HOST_FLAGS) ; do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13503 done; \
13504 echo "Doing html in hello" ; \
13505 (cd $(HOST_SUBDIR)/hello && \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13510 html) \
13511 || exit 1
13513 @endif hello
13515 .PHONY: maybe-TAGS-hello TAGS-hello
13516 maybe-TAGS-hello:
13517 @if hello
13518 maybe-TAGS-hello: TAGS-hello
13520 TAGS-hello: \
13521 configure-hello
13522 @: $(MAKE); $(unstage)
13523 @[ -f ./hello/Makefile ] || exit 0; \
13524 r=`${PWD_COMMAND}`; export r; \
13525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13526 $(HOST_EXPORTS) \
13527 for flag in $(EXTRA_HOST_FLAGS) ; do \
13528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13529 done; \
13530 echo "Doing TAGS in hello" ; \
13531 (cd $(HOST_SUBDIR)/hello && \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13534 "RANLIB=$${RANLIB}" \
13535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13536 TAGS) \
13537 || exit 1
13539 @endif hello
13541 .PHONY: maybe-install-info-hello install-info-hello
13542 maybe-install-info-hello:
13543 @if hello
13544 maybe-install-info-hello: install-info-hello
13546 install-info-hello: \
13547 configure-hello \
13548 info-hello
13549 @: $(MAKE); $(unstage)
13550 @[ -f ./hello/Makefile ] || exit 0; \
13551 r=`${PWD_COMMAND}`; export r; \
13552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13553 $(HOST_EXPORTS) \
13554 for flag in $(EXTRA_HOST_FLAGS) ; do \
13555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556 done; \
13557 echo "Doing install-info in hello" ; \
13558 (cd $(HOST_SUBDIR)/hello && \
13559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561 "RANLIB=$${RANLIB}" \
13562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13563 install-info) \
13564 || exit 1
13566 @endif hello
13568 .PHONY: maybe-installcheck-hello installcheck-hello
13569 maybe-installcheck-hello:
13570 @if hello
13571 maybe-installcheck-hello: installcheck-hello
13573 installcheck-hello: \
13574 configure-hello
13575 @: $(MAKE); $(unstage)
13576 @[ -f ./hello/Makefile ] || exit 0; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 $(HOST_EXPORTS) \
13580 for flag in $(EXTRA_HOST_FLAGS) ; do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 done; \
13583 echo "Doing installcheck in hello" ; \
13584 (cd $(HOST_SUBDIR)/hello && \
13585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587 "RANLIB=$${RANLIB}" \
13588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13589 installcheck) \
13590 || exit 1
13592 @endif hello
13594 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13595 maybe-mostlyclean-hello:
13596 @if hello
13597 maybe-mostlyclean-hello: mostlyclean-hello
13599 mostlyclean-hello:
13600 @: $(MAKE); $(unstage)
13601 @[ -f ./hello/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(HOST_EXPORTS) \
13605 for flag in $(EXTRA_HOST_FLAGS) ; do \
13606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13607 done; \
13608 echo "Doing mostlyclean in hello" ; \
13609 (cd $(HOST_SUBDIR)/hello && \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13614 mostlyclean) \
13615 || exit 1
13617 @endif hello
13619 .PHONY: maybe-clean-hello clean-hello
13620 maybe-clean-hello:
13621 @if hello
13622 maybe-clean-hello: clean-hello
13624 clean-hello:
13625 @: $(MAKE); $(unstage)
13626 @[ -f ./hello/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(HOST_EXPORTS) \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632 done; \
13633 echo "Doing clean in hello" ; \
13634 (cd $(HOST_SUBDIR)/hello && \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13639 clean) \
13640 || exit 1
13642 @endif hello
13644 .PHONY: maybe-distclean-hello distclean-hello
13645 maybe-distclean-hello:
13646 @if hello
13647 maybe-distclean-hello: distclean-hello
13649 distclean-hello:
13650 @: $(MAKE); $(unstage)
13651 @[ -f ./hello/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13654 $(HOST_EXPORTS) \
13655 for flag in $(EXTRA_HOST_FLAGS) ; do \
13656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13657 done; \
13658 echo "Doing distclean in hello" ; \
13659 (cd $(HOST_SUBDIR)/hello && \
13660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13662 "RANLIB=$${RANLIB}" \
13663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13664 distclean) \
13665 || exit 1
13667 @endif hello
13669 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13670 maybe-maintainer-clean-hello:
13671 @if hello
13672 maybe-maintainer-clean-hello: maintainer-clean-hello
13674 maintainer-clean-hello:
13675 @: $(MAKE); $(unstage)
13676 @[ -f ./hello/Makefile ] || exit 0; \
13677 r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 $(HOST_EXPORTS) \
13680 for flag in $(EXTRA_HOST_FLAGS) ; do \
13681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13682 done; \
13683 echo "Doing maintainer-clean in hello" ; \
13684 (cd $(HOST_SUBDIR)/hello && \
13685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13687 "RANLIB=$${RANLIB}" \
13688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13689 maintainer-clean) \
13690 || exit 1
13692 @endif hello
13696 .PHONY: configure-indent maybe-configure-indent
13697 maybe-configure-indent:
13698 @if indent
13699 maybe-configure-indent: configure-indent
13700 configure-indent:
13701 @: $(MAKE); $(unstage)
13702 @r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13704 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13706 $(HOST_EXPORTS) \
13707 echo Configuring in $(HOST_SUBDIR)/indent; \
13708 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13709 case $(srcdir) in \
13710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13711 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13713 esac; \
13714 srcdiroption="--srcdir=$${topdir}/indent"; \
13715 libsrcdir="$$s/indent"; \
13716 $(SHELL) $${libsrcdir}/configure \
13717 $(HOST_CONFIGARGS) $${srcdiroption} \
13718 || exit 1
13719 @endif indent
13725 .PHONY: all-indent maybe-all-indent
13726 maybe-all-indent:
13727 @if indent
13728 TARGET-indent=all
13729 maybe-all-indent: all-indent
13730 all-indent: configure-indent
13731 @: $(MAKE); $(unstage)
13732 @r=`${PWD_COMMAND}`; export r; \
13733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13734 $(HOST_EXPORTS) \
13735 (cd $(HOST_SUBDIR)/indent && \
13736 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13737 @endif indent
13742 .PHONY: check-indent maybe-check-indent
13743 maybe-check-indent:
13744 @if indent
13745 maybe-check-indent: check-indent
13747 check-indent:
13748 @: $(MAKE); $(unstage)
13749 @r=`${PWD_COMMAND}`; export r; \
13750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13751 $(HOST_EXPORTS) \
13752 (cd $(HOST_SUBDIR)/indent && \
13753 $(MAKE) $(FLAGS_TO_PASS) check)
13755 @endif indent
13757 .PHONY: install-indent maybe-install-indent
13758 maybe-install-indent:
13759 @if indent
13760 maybe-install-indent: install-indent
13762 install-indent: installdirs
13763 @: $(MAKE); $(unstage)
13764 @r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766 $(HOST_EXPORTS) \
13767 (cd $(HOST_SUBDIR)/indent && \
13768 $(MAKE) $(FLAGS_TO_PASS) install)
13770 @endif indent
13772 # Other targets (info, dvi, etc.)
13774 .PHONY: maybe-info-indent info-indent
13775 maybe-info-indent:
13776 @if indent
13777 maybe-info-indent: info-indent
13779 info-indent: \
13780 configure-indent
13781 @: $(MAKE); $(unstage)
13782 @[ -f ./indent/Makefile ] || exit 0; \
13783 r=`${PWD_COMMAND}`; export r; \
13784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13785 $(HOST_EXPORTS) \
13786 for flag in $(EXTRA_HOST_FLAGS) ; do \
13787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13788 done; \
13789 echo "Doing info in indent" ; \
13790 (cd $(HOST_SUBDIR)/indent && \
13791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13793 "RANLIB=$${RANLIB}" \
13794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13795 info) \
13796 || exit 1
13798 @endif indent
13800 .PHONY: maybe-dvi-indent dvi-indent
13801 maybe-dvi-indent:
13802 @if indent
13803 maybe-dvi-indent: dvi-indent
13805 dvi-indent: \
13806 configure-indent
13807 @: $(MAKE); $(unstage)
13808 @[ -f ./indent/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(HOST_EXPORTS) \
13812 for flag in $(EXTRA_HOST_FLAGS) ; do \
13813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814 done; \
13815 echo "Doing dvi in indent" ; \
13816 (cd $(HOST_SUBDIR)/indent && \
13817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819 "RANLIB=$${RANLIB}" \
13820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13821 dvi) \
13822 || exit 1
13824 @endif indent
13826 .PHONY: maybe-html-indent html-indent
13827 maybe-html-indent:
13828 @if indent
13829 maybe-html-indent: html-indent
13831 html-indent: \
13832 configure-indent
13833 @: $(MAKE); $(unstage)
13834 @[ -f ./indent/Makefile ] || exit 0; \
13835 r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 $(HOST_EXPORTS) \
13838 for flag in $(EXTRA_HOST_FLAGS) ; do \
13839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13840 done; \
13841 echo "Doing html in indent" ; \
13842 (cd $(HOST_SUBDIR)/indent && \
13843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13845 "RANLIB=$${RANLIB}" \
13846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13847 html) \
13848 || exit 1
13850 @endif indent
13852 .PHONY: maybe-TAGS-indent TAGS-indent
13853 maybe-TAGS-indent:
13854 @if indent
13855 maybe-TAGS-indent: TAGS-indent
13857 TAGS-indent: \
13858 configure-indent
13859 @: $(MAKE); $(unstage)
13860 @[ -f ./indent/Makefile ] || exit 0; \
13861 r=`${PWD_COMMAND}`; export r; \
13862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13863 $(HOST_EXPORTS) \
13864 for flag in $(EXTRA_HOST_FLAGS) ; do \
13865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13866 done; \
13867 echo "Doing TAGS in indent" ; \
13868 (cd $(HOST_SUBDIR)/indent && \
13869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13871 "RANLIB=$${RANLIB}" \
13872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13873 TAGS) \
13874 || exit 1
13876 @endif indent
13878 .PHONY: maybe-install-info-indent install-info-indent
13879 maybe-install-info-indent:
13880 @if indent
13881 maybe-install-info-indent: install-info-indent
13883 install-info-indent: \
13884 configure-indent \
13885 info-indent
13886 @: $(MAKE); $(unstage)
13887 @[ -f ./indent/Makefile ] || exit 0; \
13888 r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 $(HOST_EXPORTS) \
13891 for flag in $(EXTRA_HOST_FLAGS) ; do \
13892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 done; \
13894 echo "Doing install-info in indent" ; \
13895 (cd $(HOST_SUBDIR)/indent && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13898 "RANLIB=$${RANLIB}" \
13899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13900 install-info) \
13901 || exit 1
13903 @endif indent
13905 .PHONY: maybe-installcheck-indent installcheck-indent
13906 maybe-installcheck-indent:
13907 @if indent
13908 maybe-installcheck-indent: installcheck-indent
13910 installcheck-indent: \
13911 configure-indent
13912 @: $(MAKE); $(unstage)
13913 @[ -f ./indent/Makefile ] || exit 0; \
13914 r=`${PWD_COMMAND}`; export r; \
13915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13916 $(HOST_EXPORTS) \
13917 for flag in $(EXTRA_HOST_FLAGS) ; do \
13918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13919 done; \
13920 echo "Doing installcheck in indent" ; \
13921 (cd $(HOST_SUBDIR)/indent && \
13922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13924 "RANLIB=$${RANLIB}" \
13925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13926 installcheck) \
13927 || exit 1
13929 @endif indent
13931 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13932 maybe-mostlyclean-indent:
13933 @if indent
13934 maybe-mostlyclean-indent: mostlyclean-indent
13936 mostlyclean-indent:
13937 @: $(MAKE); $(unstage)
13938 @[ -f ./indent/Makefile ] || exit 0; \
13939 r=`${PWD_COMMAND}`; export r; \
13940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13941 $(HOST_EXPORTS) \
13942 for flag in $(EXTRA_HOST_FLAGS) ; do \
13943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13944 done; \
13945 echo "Doing mostlyclean in indent" ; \
13946 (cd $(HOST_SUBDIR)/indent && \
13947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13949 "RANLIB=$${RANLIB}" \
13950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13951 mostlyclean) \
13952 || exit 1
13954 @endif indent
13956 .PHONY: maybe-clean-indent clean-indent
13957 maybe-clean-indent:
13958 @if indent
13959 maybe-clean-indent: clean-indent
13961 clean-indent:
13962 @: $(MAKE); $(unstage)
13963 @[ -f ./indent/Makefile ] || exit 0; \
13964 r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 $(HOST_EXPORTS) \
13967 for flag in $(EXTRA_HOST_FLAGS) ; do \
13968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13969 done; \
13970 echo "Doing clean in indent" ; \
13971 (cd $(HOST_SUBDIR)/indent && \
13972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13974 "RANLIB=$${RANLIB}" \
13975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13976 clean) \
13977 || exit 1
13979 @endif indent
13981 .PHONY: maybe-distclean-indent distclean-indent
13982 maybe-distclean-indent:
13983 @if indent
13984 maybe-distclean-indent: distclean-indent
13986 distclean-indent:
13987 @: $(MAKE); $(unstage)
13988 @[ -f ./indent/Makefile ] || exit 0; \
13989 r=`${PWD_COMMAND}`; export r; \
13990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13991 $(HOST_EXPORTS) \
13992 for flag in $(EXTRA_HOST_FLAGS) ; do \
13993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13994 done; \
13995 echo "Doing distclean in indent" ; \
13996 (cd $(HOST_SUBDIR)/indent && \
13997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13999 "RANLIB=$${RANLIB}" \
14000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14001 distclean) \
14002 || exit 1
14004 @endif indent
14006 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14007 maybe-maintainer-clean-indent:
14008 @if indent
14009 maybe-maintainer-clean-indent: maintainer-clean-indent
14011 maintainer-clean-indent:
14012 @: $(MAKE); $(unstage)
14013 @[ -f ./indent/Makefile ] || exit 0; \
14014 r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 $(HOST_EXPORTS) \
14017 for flag in $(EXTRA_HOST_FLAGS) ; do \
14018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14019 done; \
14020 echo "Doing maintainer-clean in indent" ; \
14021 (cd $(HOST_SUBDIR)/indent && \
14022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14024 "RANLIB=$${RANLIB}" \
14025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14026 maintainer-clean) \
14027 || exit 1
14029 @endif indent
14033 .PHONY: configure-intl maybe-configure-intl
14034 maybe-configure-intl:
14035 @if intl
14036 maybe-configure-intl: configure-intl
14037 configure-intl:
14038 @endif intl
14039 @if intl-bootstrap
14040 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14041 @endif intl-bootstrap
14042 @if intl
14043 @r=`${PWD_COMMAND}`; export r; \
14044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14045 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14047 $(HOST_EXPORTS) \
14048 echo Configuring in $(HOST_SUBDIR)/intl; \
14049 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14050 case $(srcdir) in \
14051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14052 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14054 esac; \
14055 srcdiroption="--srcdir=$${topdir}/intl"; \
14056 libsrcdir="$$s/intl"; \
14057 $(SHELL) $${libsrcdir}/configure \
14058 $(HOST_CONFIGARGS) $${srcdiroption} \
14059 || exit 1
14060 @endif intl
14064 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14065 maybe-configure-stage1-intl:
14066 @if intl-bootstrap
14067 maybe-configure-stage1-intl: configure-stage1-intl
14068 configure-stage1-intl:
14069 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14070 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14071 @r=`${PWD_COMMAND}`; export r; \
14072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14073 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14074 $(HOST_EXPORTS) \
14075 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14077 cd $(HOST_SUBDIR)/intl || exit 1; \
14078 case $(srcdir) in \
14079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14080 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14082 esac; \
14083 srcdiroption="--srcdir=$${topdir}/intl"; \
14084 libsrcdir="$$s/intl"; \
14085 $(SHELL) $${libsrcdir}/configure \
14086 $(HOST_CONFIGARGS) $${srcdiroption} \
14087 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14088 @endif intl-bootstrap
14090 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14091 maybe-configure-stage2-intl:
14092 @if intl-bootstrap
14093 maybe-configure-stage2-intl: configure-stage2-intl
14094 configure-stage2-intl:
14095 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14097 @r=`${PWD_COMMAND}`; export r; \
14098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14099 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14100 $(HOST_EXPORTS) \
14101 $(POSTSTAGE1_HOST_EXPORTS) \
14102 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14104 cd $(HOST_SUBDIR)/intl || exit 1; \
14105 case $(srcdir) in \
14106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14107 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14109 esac; \
14110 srcdiroption="--srcdir=$${topdir}/intl"; \
14111 libsrcdir="$$s/intl"; \
14112 $(SHELL) $${libsrcdir}/configure \
14113 $(HOST_CONFIGARGS) $${srcdiroption} \
14114 @stage2_werror_flag@
14115 @endif intl-bootstrap
14117 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14118 maybe-configure-stage3-intl:
14119 @if intl-bootstrap
14120 maybe-configure-stage3-intl: configure-stage3-intl
14121 configure-stage3-intl:
14122 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14124 @r=`${PWD_COMMAND}`; export r; \
14125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14126 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14127 $(HOST_EXPORTS) \
14128 $(POSTSTAGE1_HOST_EXPORTS) \
14129 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14131 cd $(HOST_SUBDIR)/intl || exit 1; \
14132 case $(srcdir) in \
14133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14134 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14136 esac; \
14137 srcdiroption="--srcdir=$${topdir}/intl"; \
14138 libsrcdir="$$s/intl"; \
14139 $(SHELL) $${libsrcdir}/configure \
14140 $(HOST_CONFIGARGS) $${srcdiroption} \
14141 @stage2_werror_flag@
14142 @endif intl-bootstrap
14144 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14145 maybe-configure-stage4-intl:
14146 @if intl-bootstrap
14147 maybe-configure-stage4-intl: configure-stage4-intl
14148 configure-stage4-intl:
14149 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14151 @r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14153 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14154 $(HOST_EXPORTS) \
14155 $(POSTSTAGE1_HOST_EXPORTS) \
14156 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14158 cd $(HOST_SUBDIR)/intl || exit 1; \
14159 case $(srcdir) in \
14160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14161 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14163 esac; \
14164 srcdiroption="--srcdir=$${topdir}/intl"; \
14165 libsrcdir="$$s/intl"; \
14166 $(SHELL) $${libsrcdir}/configure \
14167 $(HOST_CONFIGARGS) $${srcdiroption} \
14168 @stage2_werror_flag@
14169 @endif intl-bootstrap
14171 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14172 maybe-configure-stageprofile-intl:
14173 @if intl-bootstrap
14174 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14175 configure-stageprofile-intl:
14176 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14178 @r=`${PWD_COMMAND}`; export r; \
14179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14180 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14181 $(HOST_EXPORTS) \
14182 $(POSTSTAGE1_HOST_EXPORTS) \
14183 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14185 cd $(HOST_SUBDIR)/intl || exit 1; \
14186 case $(srcdir) in \
14187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14188 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14190 esac; \
14191 srcdiroption="--srcdir=$${topdir}/intl"; \
14192 libsrcdir="$$s/intl"; \
14193 $(SHELL) $${libsrcdir}/configure \
14194 $(HOST_CONFIGARGS) $${srcdiroption} \
14195 @stage2_werror_flag@
14196 @endif intl-bootstrap
14198 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14199 maybe-configure-stagefeedback-intl:
14200 @if intl-bootstrap
14201 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14202 configure-stagefeedback-intl:
14203 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14205 @r=`${PWD_COMMAND}`; export r; \
14206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14207 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14208 $(HOST_EXPORTS) \
14209 $(POSTSTAGE1_HOST_EXPORTS) \
14210 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14212 cd $(HOST_SUBDIR)/intl || exit 1; \
14213 case $(srcdir) in \
14214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14215 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14217 esac; \
14218 srcdiroption="--srcdir=$${topdir}/intl"; \
14219 libsrcdir="$$s/intl"; \
14220 $(SHELL) $${libsrcdir}/configure \
14221 $(HOST_CONFIGARGS) $${srcdiroption} \
14222 @stage2_werror_flag@
14223 @endif intl-bootstrap
14229 .PHONY: all-intl maybe-all-intl
14230 maybe-all-intl:
14231 @if intl
14232 TARGET-intl=all
14233 maybe-all-intl: all-intl
14234 all-intl: configure-intl
14235 @endif intl
14236 @if intl-bootstrap
14237 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14238 @endif intl-bootstrap
14239 @if intl
14240 @r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 $(HOST_EXPORTS) \
14243 (cd $(HOST_SUBDIR)/intl && \
14244 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14245 @endif intl
14249 .PHONY: all-stage1-intl maybe-all-stage1-intl
14250 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14251 maybe-all-stage1-intl:
14252 maybe-clean-stage1-intl:
14253 @if intl-bootstrap
14254 maybe-all-stage1-intl: all-stage1-intl
14255 all-stage1: all-stage1-intl
14256 TARGET-stage1-intl = $(TARGET-intl)
14257 all-stage1-intl: configure-stage1-intl
14258 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14259 @r=`${PWD_COMMAND}`; export r; \
14260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14261 $(HOST_EXPORTS) \
14262 cd $(HOST_SUBDIR)/intl && \
14263 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
14264 $(TARGET-stage1-intl)
14266 maybe-clean-stage1-intl: clean-stage1-intl
14267 clean-stage1: clean-stage1-intl
14268 clean-stage1-intl:
14269 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14270 || exit 0 ; \
14271 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
14272 cd $(HOST_SUBDIR)/intl && \
14273 $(MAKE) $(FLAGS_TO_PASS) \
14274 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
14275 @endif intl-bootstrap
14278 .PHONY: all-stage2-intl maybe-all-stage2-intl
14279 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14280 maybe-all-stage2-intl:
14281 maybe-clean-stage2-intl:
14282 @if intl-bootstrap
14283 maybe-all-stage2-intl: all-stage2-intl
14284 all-stage2: all-stage2-intl
14285 TARGET-stage2-intl = $(TARGET-intl)
14286 all-stage2-intl: configure-stage2-intl
14287 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14288 @r=`${PWD_COMMAND}`; export r; \
14289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14290 $(HOST_EXPORTS) \
14291 $(POSTSTAGE1_HOST_EXPORTS) \
14292 cd $(HOST_SUBDIR)/intl && \
14293 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14294 $(TARGET-stage2-intl)
14296 maybe-clean-stage2-intl: clean-stage2-intl
14297 clean-stage2: clean-stage2-intl
14298 clean-stage2-intl:
14299 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14300 || exit 0 ; \
14301 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
14302 cd $(HOST_SUBDIR)/intl && \
14303 $(MAKE) $(FLAGS_TO_PASS) \
14304 $(POSTSTAGE1_FLAGS_TO_PASS) \
14305 clean
14306 @endif intl-bootstrap
14309 .PHONY: all-stage3-intl maybe-all-stage3-intl
14310 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14311 maybe-all-stage3-intl:
14312 maybe-clean-stage3-intl:
14313 @if intl-bootstrap
14314 maybe-all-stage3-intl: all-stage3-intl
14315 all-stage3: all-stage3-intl
14316 TARGET-stage3-intl = $(TARGET-intl)
14317 all-stage3-intl: configure-stage3-intl
14318 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14319 @r=`${PWD_COMMAND}`; export r; \
14320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14321 $(HOST_EXPORTS) \
14322 $(POSTSTAGE1_HOST_EXPORTS) \
14323 cd $(HOST_SUBDIR)/intl && \
14324 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14325 $(TARGET-stage3-intl)
14327 maybe-clean-stage3-intl: clean-stage3-intl
14328 clean-stage3: clean-stage3-intl
14329 clean-stage3-intl:
14330 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14331 || exit 0 ; \
14332 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
14333 cd $(HOST_SUBDIR)/intl && \
14334 $(MAKE) $(FLAGS_TO_PASS) \
14335 $(POSTSTAGE1_FLAGS_TO_PASS) \
14336 clean
14337 @endif intl-bootstrap
14340 .PHONY: all-stage4-intl maybe-all-stage4-intl
14341 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14342 maybe-all-stage4-intl:
14343 maybe-clean-stage4-intl:
14344 @if intl-bootstrap
14345 maybe-all-stage4-intl: all-stage4-intl
14346 all-stage4: all-stage4-intl
14347 TARGET-stage4-intl = $(TARGET-intl)
14348 all-stage4-intl: configure-stage4-intl
14349 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14350 @r=`${PWD_COMMAND}`; export r; \
14351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14352 $(HOST_EXPORTS) \
14353 $(POSTSTAGE1_HOST_EXPORTS) \
14354 cd $(HOST_SUBDIR)/intl && \
14355 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14356 $(TARGET-stage4-intl)
14358 maybe-clean-stage4-intl: clean-stage4-intl
14359 clean-stage4: clean-stage4-intl
14360 clean-stage4-intl:
14361 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14362 || exit 0 ; \
14363 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
14364 cd $(HOST_SUBDIR)/intl && \
14365 $(MAKE) $(FLAGS_TO_PASS) \
14366 $(POSTSTAGE1_FLAGS_TO_PASS) \
14367 clean
14368 @endif intl-bootstrap
14371 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14372 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14373 maybe-all-stageprofile-intl:
14374 maybe-clean-stageprofile-intl:
14375 @if intl-bootstrap
14376 maybe-all-stageprofile-intl: all-stageprofile-intl
14377 all-stageprofile: all-stageprofile-intl
14378 TARGET-stageprofile-intl = $(TARGET-intl)
14379 all-stageprofile-intl: configure-stageprofile-intl
14380 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14381 @r=`${PWD_COMMAND}`; export r; \
14382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14383 $(HOST_EXPORTS) \
14384 $(POSTSTAGE1_HOST_EXPORTS) \
14385 cd $(HOST_SUBDIR)/intl && \
14386 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14387 $(TARGET-stageprofile-intl)
14389 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14390 clean-stageprofile: clean-stageprofile-intl
14391 clean-stageprofile-intl:
14392 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14393 || exit 0 ; \
14394 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
14395 cd $(HOST_SUBDIR)/intl && \
14396 $(MAKE) $(FLAGS_TO_PASS) \
14397 $(POSTSTAGE1_FLAGS_TO_PASS) \
14398 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14399 @endif intl-bootstrap
14402 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14403 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14404 maybe-all-stagefeedback-intl:
14405 maybe-clean-stagefeedback-intl:
14406 @if intl-bootstrap
14407 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14408 all-stagefeedback: all-stagefeedback-intl
14409 TARGET-stagefeedback-intl = $(TARGET-intl)
14410 all-stagefeedback-intl: configure-stagefeedback-intl
14411 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14412 @r=`${PWD_COMMAND}`; export r; \
14413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14414 $(HOST_EXPORTS) \
14415 $(POSTSTAGE1_HOST_EXPORTS) \
14416 cd $(HOST_SUBDIR)/intl && \
14417 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14418 $(TARGET-stagefeedback-intl)
14420 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14421 clean-stagefeedback: clean-stagefeedback-intl
14422 clean-stagefeedback-intl:
14423 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14424 || exit 0 ; \
14425 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
14426 cd $(HOST_SUBDIR)/intl && \
14427 $(MAKE) $(FLAGS_TO_PASS) \
14428 $(POSTSTAGE1_FLAGS_TO_PASS) \
14429 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14430 @endif intl-bootstrap
14436 .PHONY: check-intl maybe-check-intl
14437 maybe-check-intl:
14438 @if intl
14439 maybe-check-intl: check-intl
14441 check-intl:
14442 @: $(MAKE); $(unstage)
14443 @r=`${PWD_COMMAND}`; export r; \
14444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14445 $(HOST_EXPORTS) \
14446 (cd $(HOST_SUBDIR)/intl && \
14447 $(MAKE) $(FLAGS_TO_PASS) check)
14449 @endif intl
14451 .PHONY: install-intl maybe-install-intl
14452 maybe-install-intl:
14453 @if intl
14454 maybe-install-intl: install-intl
14456 install-intl: installdirs
14457 @: $(MAKE); $(unstage)
14458 @r=`${PWD_COMMAND}`; export r; \
14459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14460 $(HOST_EXPORTS) \
14461 (cd $(HOST_SUBDIR)/intl && \
14462 $(MAKE) $(FLAGS_TO_PASS) install)
14464 @endif intl
14466 # Other targets (info, dvi, etc.)
14468 .PHONY: maybe-info-intl info-intl
14469 maybe-info-intl:
14470 @if intl
14471 maybe-info-intl: info-intl
14473 info-intl: \
14474 configure-intl
14475 @[ -f ./intl/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 $(HOST_EXPORTS) \
14479 for flag in $(EXTRA_HOST_FLAGS) ; do \
14480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14481 done; \
14482 echo "Doing info in intl" ; \
14483 (cd $(HOST_SUBDIR)/intl && \
14484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14486 "RANLIB=$${RANLIB}" \
14487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14488 info) \
14489 || exit 1
14491 @endif intl
14493 .PHONY: maybe-dvi-intl dvi-intl
14494 maybe-dvi-intl:
14495 @if intl
14496 maybe-dvi-intl: dvi-intl
14498 dvi-intl: \
14499 configure-intl
14500 @[ -f ./intl/Makefile ] || exit 0; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14503 $(HOST_EXPORTS) \
14504 for flag in $(EXTRA_HOST_FLAGS) ; do \
14505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14506 done; \
14507 echo "Doing dvi in intl" ; \
14508 (cd $(HOST_SUBDIR)/intl && \
14509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14511 "RANLIB=$${RANLIB}" \
14512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14513 dvi) \
14514 || exit 1
14516 @endif intl
14518 .PHONY: maybe-html-intl html-intl
14519 maybe-html-intl:
14520 @if intl
14521 maybe-html-intl: html-intl
14523 html-intl: \
14524 configure-intl
14525 @[ -f ./intl/Makefile ] || exit 0; \
14526 r=`${PWD_COMMAND}`; export r; \
14527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528 $(HOST_EXPORTS) \
14529 for flag in $(EXTRA_HOST_FLAGS) ; do \
14530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14531 done; \
14532 echo "Doing html in intl" ; \
14533 (cd $(HOST_SUBDIR)/intl && \
14534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14536 "RANLIB=$${RANLIB}" \
14537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14538 html) \
14539 || exit 1
14541 @endif intl
14543 .PHONY: maybe-TAGS-intl TAGS-intl
14544 maybe-TAGS-intl:
14545 @if intl
14546 maybe-TAGS-intl: TAGS-intl
14548 TAGS-intl: \
14549 configure-intl
14550 @[ -f ./intl/Makefile ] || exit 0; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 $(HOST_EXPORTS) \
14554 for flag in $(EXTRA_HOST_FLAGS) ; do \
14555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14556 done; \
14557 echo "Doing TAGS in intl" ; \
14558 (cd $(HOST_SUBDIR)/intl && \
14559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14561 "RANLIB=$${RANLIB}" \
14562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14563 TAGS) \
14564 || exit 1
14566 @endif intl
14568 .PHONY: maybe-install-info-intl install-info-intl
14569 maybe-install-info-intl:
14570 @if intl
14571 maybe-install-info-intl: install-info-intl
14573 install-info-intl: \
14574 configure-intl \
14575 info-intl
14576 @[ -f ./intl/Makefile ] || exit 0; \
14577 r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 $(HOST_EXPORTS) \
14580 for flag in $(EXTRA_HOST_FLAGS) ; do \
14581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 done; \
14583 echo "Doing install-info in intl" ; \
14584 (cd $(HOST_SUBDIR)/intl && \
14585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14587 "RANLIB=$${RANLIB}" \
14588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14589 install-info) \
14590 || exit 1
14592 @endif intl
14594 .PHONY: maybe-installcheck-intl installcheck-intl
14595 maybe-installcheck-intl:
14596 @if intl
14597 maybe-installcheck-intl: installcheck-intl
14599 installcheck-intl: \
14600 configure-intl
14601 @[ -f ./intl/Makefile ] || exit 0; \
14602 r=`${PWD_COMMAND}`; export r; \
14603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14604 $(HOST_EXPORTS) \
14605 for flag in $(EXTRA_HOST_FLAGS) ; do \
14606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14607 done; \
14608 echo "Doing installcheck in intl" ; \
14609 (cd $(HOST_SUBDIR)/intl && \
14610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14612 "RANLIB=$${RANLIB}" \
14613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14614 installcheck) \
14615 || exit 1
14617 @endif intl
14619 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14620 maybe-mostlyclean-intl:
14621 @if intl
14622 maybe-mostlyclean-intl: mostlyclean-intl
14624 mostlyclean-intl:
14625 @[ -f ./intl/Makefile ] || exit 0; \
14626 r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628 $(HOST_EXPORTS) \
14629 for flag in $(EXTRA_HOST_FLAGS) ; do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14631 done; \
14632 echo "Doing mostlyclean in intl" ; \
14633 (cd $(HOST_SUBDIR)/intl && \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14638 mostlyclean) \
14639 || exit 1
14641 @endif intl
14643 .PHONY: maybe-clean-intl clean-intl
14644 maybe-clean-intl:
14645 @if intl
14646 maybe-clean-intl: clean-intl
14648 clean-intl:
14649 @[ -f ./intl/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(HOST_EXPORTS) \
14653 for flag in $(EXTRA_HOST_FLAGS) ; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655 done; \
14656 echo "Doing clean in intl" ; \
14657 (cd $(HOST_SUBDIR)/intl && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14662 clean) \
14663 || exit 1
14665 @endif intl
14667 .PHONY: maybe-distclean-intl distclean-intl
14668 maybe-distclean-intl:
14669 @if intl
14670 maybe-distclean-intl: distclean-intl
14672 distclean-intl:
14673 @[ -f ./intl/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) ; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing distclean in intl" ; \
14681 (cd $(HOST_SUBDIR)/intl && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14686 distclean) \
14687 || exit 1
14689 @endif intl
14691 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14692 maybe-maintainer-clean-intl:
14693 @if intl
14694 maybe-maintainer-clean-intl: maintainer-clean-intl
14696 maintainer-clean-intl:
14697 @[ -f ./intl/Makefile ] || exit 0; \
14698 r=`${PWD_COMMAND}`; export r; \
14699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14700 $(HOST_EXPORTS) \
14701 for flag in $(EXTRA_HOST_FLAGS) ; do \
14702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14703 done; \
14704 echo "Doing maintainer-clean in intl" ; \
14705 (cd $(HOST_SUBDIR)/intl && \
14706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14708 "RANLIB=$${RANLIB}" \
14709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14710 maintainer-clean) \
14711 || exit 1
14713 @endif intl
14717 .PHONY: configure-tcl maybe-configure-tcl
14718 maybe-configure-tcl:
14719 @if tcl
14720 maybe-configure-tcl: configure-tcl
14721 configure-tcl:
14722 @: $(MAKE); $(unstage)
14723 @r=`${PWD_COMMAND}`; export r; \
14724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14725 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14726 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14727 $(HOST_EXPORTS) \
14728 echo Configuring in $(HOST_SUBDIR)/tcl; \
14729 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14730 case $(srcdir) in \
14731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14732 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14734 esac; \
14735 srcdiroption="--srcdir=$${topdir}/tcl"; \
14736 libsrcdir="$$s/tcl"; \
14737 $(SHELL) $${libsrcdir}/configure \
14738 $(HOST_CONFIGARGS) $${srcdiroption} \
14739 || exit 1
14740 @endif tcl
14746 .PHONY: all-tcl maybe-all-tcl
14747 maybe-all-tcl:
14748 @if tcl
14749 TARGET-tcl=all
14750 maybe-all-tcl: all-tcl
14751 all-tcl: configure-tcl
14752 @: $(MAKE); $(unstage)
14753 @r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755 $(HOST_EXPORTS) \
14756 (cd $(HOST_SUBDIR)/tcl && \
14757 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14758 @endif tcl
14763 .PHONY: check-tcl maybe-check-tcl
14764 maybe-check-tcl:
14765 @if tcl
14766 maybe-check-tcl: check-tcl
14768 check-tcl:
14769 @: $(MAKE); $(unstage)
14770 @r=`${PWD_COMMAND}`; export r; \
14771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14772 $(HOST_EXPORTS) \
14773 (cd $(HOST_SUBDIR)/tcl && \
14774 $(MAKE) $(FLAGS_TO_PASS) check)
14776 @endif tcl
14778 .PHONY: install-tcl maybe-install-tcl
14779 maybe-install-tcl:
14780 @if tcl
14781 maybe-install-tcl: install-tcl
14783 install-tcl: installdirs
14784 @: $(MAKE); $(unstage)
14785 @r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787 $(HOST_EXPORTS) \
14788 (cd $(HOST_SUBDIR)/tcl && \
14789 $(MAKE) $(FLAGS_TO_PASS) install)
14791 @endif tcl
14793 # Other targets (info, dvi, etc.)
14795 .PHONY: maybe-info-tcl info-tcl
14796 maybe-info-tcl:
14797 @if tcl
14798 maybe-info-tcl: info-tcl
14800 info-tcl: \
14801 configure-tcl
14802 @: $(MAKE); $(unstage)
14803 @[ -f ./tcl/Makefile ] || exit 0; \
14804 r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14806 $(HOST_EXPORTS) \
14807 for flag in $(EXTRA_HOST_FLAGS) ; do \
14808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14809 done; \
14810 echo "Doing info in tcl" ; \
14811 (cd $(HOST_SUBDIR)/tcl && \
14812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14814 "RANLIB=$${RANLIB}" \
14815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14816 info) \
14817 || exit 1
14819 @endif tcl
14821 .PHONY: maybe-dvi-tcl dvi-tcl
14822 maybe-dvi-tcl:
14823 @if tcl
14824 maybe-dvi-tcl: dvi-tcl
14826 dvi-tcl: \
14827 configure-tcl
14828 @: $(MAKE); $(unstage)
14829 @[ -f ./tcl/Makefile ] || exit 0; \
14830 r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 $(HOST_EXPORTS) \
14833 for flag in $(EXTRA_HOST_FLAGS) ; do \
14834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14835 done; \
14836 echo "Doing dvi in tcl" ; \
14837 (cd $(HOST_SUBDIR)/tcl && \
14838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840 "RANLIB=$${RANLIB}" \
14841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14842 dvi) \
14843 || exit 1
14845 @endif tcl
14847 .PHONY: maybe-html-tcl html-tcl
14848 maybe-html-tcl:
14849 @if tcl
14850 maybe-html-tcl: html-tcl
14852 html-tcl: \
14853 configure-tcl
14854 @: $(MAKE); $(unstage)
14855 @[ -f ./tcl/Makefile ] || exit 0; \
14856 r=`${PWD_COMMAND}`; export r; \
14857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14858 $(HOST_EXPORTS) \
14859 for flag in $(EXTRA_HOST_FLAGS) ; do \
14860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14861 done; \
14862 echo "Doing html in tcl" ; \
14863 (cd $(HOST_SUBDIR)/tcl && \
14864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14866 "RANLIB=$${RANLIB}" \
14867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14868 html) \
14869 || exit 1
14871 @endif tcl
14873 .PHONY: maybe-TAGS-tcl TAGS-tcl
14874 maybe-TAGS-tcl:
14875 @if tcl
14876 maybe-TAGS-tcl: TAGS-tcl
14878 TAGS-tcl: \
14879 configure-tcl
14880 @: $(MAKE); $(unstage)
14881 @[ -f ./tcl/Makefile ] || exit 0; \
14882 r=`${PWD_COMMAND}`; export r; \
14883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14884 $(HOST_EXPORTS) \
14885 for flag in $(EXTRA_HOST_FLAGS) ; do \
14886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14887 done; \
14888 echo "Doing TAGS in tcl" ; \
14889 (cd $(HOST_SUBDIR)/tcl && \
14890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14892 "RANLIB=$${RANLIB}" \
14893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14894 TAGS) \
14895 || exit 1
14897 @endif tcl
14899 .PHONY: maybe-install-info-tcl install-info-tcl
14900 maybe-install-info-tcl:
14901 @if tcl
14902 maybe-install-info-tcl: install-info-tcl
14904 install-info-tcl: \
14905 configure-tcl \
14906 info-tcl
14907 @: $(MAKE); $(unstage)
14908 @[ -f ./tcl/Makefile ] || exit 0; \
14909 r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 $(HOST_EXPORTS) \
14912 for flag in $(EXTRA_HOST_FLAGS) ; do \
14913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14914 done; \
14915 echo "Doing install-info in tcl" ; \
14916 (cd $(HOST_SUBDIR)/tcl && \
14917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14919 "RANLIB=$${RANLIB}" \
14920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14921 install-info) \
14922 || exit 1
14924 @endif tcl
14926 .PHONY: maybe-installcheck-tcl installcheck-tcl
14927 maybe-installcheck-tcl:
14928 @if tcl
14929 maybe-installcheck-tcl: installcheck-tcl
14931 installcheck-tcl: \
14932 configure-tcl
14933 @: $(MAKE); $(unstage)
14934 @[ -f ./tcl/Makefile ] || exit 0; \
14935 r=`${PWD_COMMAND}`; export r; \
14936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14937 $(HOST_EXPORTS) \
14938 for flag in $(EXTRA_HOST_FLAGS) ; do \
14939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14940 done; \
14941 echo "Doing installcheck in tcl" ; \
14942 (cd $(HOST_SUBDIR)/tcl && \
14943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14945 "RANLIB=$${RANLIB}" \
14946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14947 installcheck) \
14948 || exit 1
14950 @endif tcl
14952 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14953 maybe-mostlyclean-tcl:
14954 @if tcl
14955 maybe-mostlyclean-tcl: mostlyclean-tcl
14957 # tcl doesn't support mostlyclean.
14958 mostlyclean-tcl:
14960 @endif tcl
14962 .PHONY: maybe-clean-tcl clean-tcl
14963 maybe-clean-tcl:
14964 @if tcl
14965 maybe-clean-tcl: clean-tcl
14967 clean-tcl:
14968 @: $(MAKE); $(unstage)
14969 @[ -f ./tcl/Makefile ] || exit 0; \
14970 r=`${PWD_COMMAND}`; export r; \
14971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14972 $(HOST_EXPORTS) \
14973 for flag in $(EXTRA_HOST_FLAGS) ; do \
14974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14975 done; \
14976 echo "Doing clean in tcl" ; \
14977 (cd $(HOST_SUBDIR)/tcl && \
14978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14980 "RANLIB=$${RANLIB}" \
14981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14982 clean) \
14983 || exit 1
14985 @endif tcl
14987 .PHONY: maybe-distclean-tcl distclean-tcl
14988 maybe-distclean-tcl:
14989 @if tcl
14990 maybe-distclean-tcl: distclean-tcl
14992 distclean-tcl:
14993 @: $(MAKE); $(unstage)
14994 @[ -f ./tcl/Makefile ] || exit 0; \
14995 r=`${PWD_COMMAND}`; export r; \
14996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14997 $(HOST_EXPORTS) \
14998 for flag in $(EXTRA_HOST_FLAGS) ; do \
14999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15000 done; \
15001 echo "Doing distclean in tcl" ; \
15002 (cd $(HOST_SUBDIR)/tcl && \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15005 "RANLIB=$${RANLIB}" \
15006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15007 distclean) \
15008 || exit 1
15010 @endif tcl
15012 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15013 maybe-maintainer-clean-tcl:
15014 @if tcl
15015 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15017 maintainer-clean-tcl:
15018 @: $(MAKE); $(unstage)
15019 @[ -f ./tcl/Makefile ] || exit 0; \
15020 r=`${PWD_COMMAND}`; export r; \
15021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15022 $(HOST_EXPORTS) \
15023 for flag in $(EXTRA_HOST_FLAGS) ; do \
15024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15025 done; \
15026 echo "Doing maintainer-clean in tcl" ; \
15027 (cd $(HOST_SUBDIR)/tcl && \
15028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15030 "RANLIB=$${RANLIB}" \
15031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15032 maintainer-clean) \
15033 || exit 1
15035 @endif tcl
15039 .PHONY: configure-itcl maybe-configure-itcl
15040 maybe-configure-itcl:
15041 @if itcl
15042 maybe-configure-itcl: configure-itcl
15043 configure-itcl:
15044 @: $(MAKE); $(unstage)
15045 @r=`${PWD_COMMAND}`; export r; \
15046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15049 $(HOST_EXPORTS) \
15050 echo Configuring in $(HOST_SUBDIR)/itcl; \
15051 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15052 case $(srcdir) in \
15053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15054 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15056 esac; \
15057 srcdiroption="--srcdir=$${topdir}/itcl"; \
15058 libsrcdir="$$s/itcl"; \
15059 $(SHELL) $${libsrcdir}/configure \
15060 $(HOST_CONFIGARGS) $${srcdiroption} \
15061 || exit 1
15062 @endif itcl
15068 .PHONY: all-itcl maybe-all-itcl
15069 maybe-all-itcl:
15070 @if itcl
15071 TARGET-itcl=all
15072 maybe-all-itcl: all-itcl
15073 all-itcl: configure-itcl
15074 @: $(MAKE); $(unstage)
15075 @r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 $(HOST_EXPORTS) \
15078 (cd $(HOST_SUBDIR)/itcl && \
15079 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15080 @endif itcl
15085 .PHONY: check-itcl maybe-check-itcl
15086 maybe-check-itcl:
15087 @if itcl
15088 maybe-check-itcl: check-itcl
15090 check-itcl:
15091 @: $(MAKE); $(unstage)
15092 @r=`${PWD_COMMAND}`; export r; \
15093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15094 $(HOST_EXPORTS) \
15095 (cd $(HOST_SUBDIR)/itcl && \
15096 $(MAKE) $(FLAGS_TO_PASS) check)
15098 @endif itcl
15100 .PHONY: install-itcl maybe-install-itcl
15101 maybe-install-itcl:
15102 @if itcl
15103 maybe-install-itcl: install-itcl
15105 install-itcl: installdirs
15106 @: $(MAKE); $(unstage)
15107 @r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15109 $(HOST_EXPORTS) \
15110 (cd $(HOST_SUBDIR)/itcl && \
15111 $(MAKE) $(FLAGS_TO_PASS) install)
15113 @endif itcl
15115 # Other targets (info, dvi, etc.)
15117 .PHONY: maybe-info-itcl info-itcl
15118 maybe-info-itcl:
15119 @if itcl
15120 maybe-info-itcl: info-itcl
15122 info-itcl: \
15123 configure-itcl
15124 @: $(MAKE); $(unstage)
15125 @[ -f ./itcl/Makefile ] || exit 0; \
15126 r=`${PWD_COMMAND}`; export r; \
15127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15128 $(HOST_EXPORTS) \
15129 for flag in $(EXTRA_HOST_FLAGS) ; do \
15130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15131 done; \
15132 echo "Doing info in itcl" ; \
15133 (cd $(HOST_SUBDIR)/itcl && \
15134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15136 "RANLIB=$${RANLIB}" \
15137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15138 info) \
15139 || exit 1
15141 @endif itcl
15143 .PHONY: maybe-dvi-itcl dvi-itcl
15144 maybe-dvi-itcl:
15145 @if itcl
15146 maybe-dvi-itcl: dvi-itcl
15148 dvi-itcl: \
15149 configure-itcl
15150 @: $(MAKE); $(unstage)
15151 @[ -f ./itcl/Makefile ] || exit 0; \
15152 r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 $(HOST_EXPORTS) \
15155 for flag in $(EXTRA_HOST_FLAGS) ; do \
15156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15157 done; \
15158 echo "Doing dvi in itcl" ; \
15159 (cd $(HOST_SUBDIR)/itcl && \
15160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15162 "RANLIB=$${RANLIB}" \
15163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15164 dvi) \
15165 || exit 1
15167 @endif itcl
15169 .PHONY: maybe-html-itcl html-itcl
15170 maybe-html-itcl:
15171 @if itcl
15172 maybe-html-itcl: html-itcl
15174 html-itcl: \
15175 configure-itcl
15176 @: $(MAKE); $(unstage)
15177 @[ -f ./itcl/Makefile ] || exit 0; \
15178 r=`${PWD_COMMAND}`; export r; \
15179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15180 $(HOST_EXPORTS) \
15181 for flag in $(EXTRA_HOST_FLAGS) ; do \
15182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15183 done; \
15184 echo "Doing html in itcl" ; \
15185 (cd $(HOST_SUBDIR)/itcl && \
15186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15188 "RANLIB=$${RANLIB}" \
15189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15190 html) \
15191 || exit 1
15193 @endif itcl
15195 .PHONY: maybe-TAGS-itcl TAGS-itcl
15196 maybe-TAGS-itcl:
15197 @if itcl
15198 maybe-TAGS-itcl: TAGS-itcl
15200 TAGS-itcl: \
15201 configure-itcl
15202 @: $(MAKE); $(unstage)
15203 @[ -f ./itcl/Makefile ] || exit 0; \
15204 r=`${PWD_COMMAND}`; export r; \
15205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206 $(HOST_EXPORTS) \
15207 for flag in $(EXTRA_HOST_FLAGS) ; do \
15208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15209 done; \
15210 echo "Doing TAGS in itcl" ; \
15211 (cd $(HOST_SUBDIR)/itcl && \
15212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15214 "RANLIB=$${RANLIB}" \
15215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15216 TAGS) \
15217 || exit 1
15219 @endif itcl
15221 .PHONY: maybe-install-info-itcl install-info-itcl
15222 maybe-install-info-itcl:
15223 @if itcl
15224 maybe-install-info-itcl: install-info-itcl
15226 install-info-itcl: \
15227 configure-itcl \
15228 info-itcl
15229 @: $(MAKE); $(unstage)
15230 @[ -f ./itcl/Makefile ] || exit 0; \
15231 r=`${PWD_COMMAND}`; export r; \
15232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15233 $(HOST_EXPORTS) \
15234 for flag in $(EXTRA_HOST_FLAGS) ; do \
15235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15236 done; \
15237 echo "Doing install-info in itcl" ; \
15238 (cd $(HOST_SUBDIR)/itcl && \
15239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15241 "RANLIB=$${RANLIB}" \
15242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15243 install-info) \
15244 || exit 1
15246 @endif itcl
15248 .PHONY: maybe-installcheck-itcl installcheck-itcl
15249 maybe-installcheck-itcl:
15250 @if itcl
15251 maybe-installcheck-itcl: installcheck-itcl
15253 installcheck-itcl: \
15254 configure-itcl
15255 @: $(MAKE); $(unstage)
15256 @[ -f ./itcl/Makefile ] || exit 0; \
15257 r=`${PWD_COMMAND}`; export r; \
15258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15259 $(HOST_EXPORTS) \
15260 for flag in $(EXTRA_HOST_FLAGS) ; do \
15261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15262 done; \
15263 echo "Doing installcheck in itcl" ; \
15264 (cd $(HOST_SUBDIR)/itcl && \
15265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15267 "RANLIB=$${RANLIB}" \
15268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15269 installcheck) \
15270 || exit 1
15272 @endif itcl
15274 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15275 maybe-mostlyclean-itcl:
15276 @if itcl
15277 maybe-mostlyclean-itcl: mostlyclean-itcl
15279 mostlyclean-itcl:
15280 @: $(MAKE); $(unstage)
15281 @[ -f ./itcl/Makefile ] || exit 0; \
15282 r=`${PWD_COMMAND}`; export r; \
15283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15284 $(HOST_EXPORTS) \
15285 for flag in $(EXTRA_HOST_FLAGS) ; do \
15286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15287 done; \
15288 echo "Doing mostlyclean in itcl" ; \
15289 (cd $(HOST_SUBDIR)/itcl && \
15290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15292 "RANLIB=$${RANLIB}" \
15293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15294 mostlyclean) \
15295 || exit 1
15297 @endif itcl
15299 .PHONY: maybe-clean-itcl clean-itcl
15300 maybe-clean-itcl:
15301 @if itcl
15302 maybe-clean-itcl: clean-itcl
15304 clean-itcl:
15305 @: $(MAKE); $(unstage)
15306 @[ -f ./itcl/Makefile ] || exit 0; \
15307 r=`${PWD_COMMAND}`; export r; \
15308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15309 $(HOST_EXPORTS) \
15310 for flag in $(EXTRA_HOST_FLAGS) ; do \
15311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15312 done; \
15313 echo "Doing clean in itcl" ; \
15314 (cd $(HOST_SUBDIR)/itcl && \
15315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15317 "RANLIB=$${RANLIB}" \
15318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15319 clean) \
15320 || exit 1
15322 @endif itcl
15324 .PHONY: maybe-distclean-itcl distclean-itcl
15325 maybe-distclean-itcl:
15326 @if itcl
15327 maybe-distclean-itcl: distclean-itcl
15329 distclean-itcl:
15330 @: $(MAKE); $(unstage)
15331 @[ -f ./itcl/Makefile ] || exit 0; \
15332 r=`${PWD_COMMAND}`; export r; \
15333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15334 $(HOST_EXPORTS) \
15335 for flag in $(EXTRA_HOST_FLAGS) ; do \
15336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15337 done; \
15338 echo "Doing distclean in itcl" ; \
15339 (cd $(HOST_SUBDIR)/itcl && \
15340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15342 "RANLIB=$${RANLIB}" \
15343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15344 distclean) \
15345 || exit 1
15347 @endif itcl
15349 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15350 maybe-maintainer-clean-itcl:
15351 @if itcl
15352 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15354 maintainer-clean-itcl:
15355 @: $(MAKE); $(unstage)
15356 @[ -f ./itcl/Makefile ] || exit 0; \
15357 r=`${PWD_COMMAND}`; export r; \
15358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15359 $(HOST_EXPORTS) \
15360 for flag in $(EXTRA_HOST_FLAGS) ; do \
15361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15362 done; \
15363 echo "Doing maintainer-clean in itcl" ; \
15364 (cd $(HOST_SUBDIR)/itcl && \
15365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15367 "RANLIB=$${RANLIB}" \
15368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15369 maintainer-clean) \
15370 || exit 1
15372 @endif itcl
15376 .PHONY: configure-ld maybe-configure-ld
15377 maybe-configure-ld:
15378 @if ld
15379 maybe-configure-ld: configure-ld
15380 configure-ld:
15381 @endif ld
15382 @if ld-bootstrap
15383 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15384 @endif ld-bootstrap
15385 @if ld
15386 @r=`${PWD_COMMAND}`; export r; \
15387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15390 $(HOST_EXPORTS) \
15391 echo Configuring in $(HOST_SUBDIR)/ld; \
15392 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15393 case $(srcdir) in \
15394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15395 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15397 esac; \
15398 srcdiroption="--srcdir=$${topdir}/ld"; \
15399 libsrcdir="$$s/ld"; \
15400 $(SHELL) $${libsrcdir}/configure \
15401 $(HOST_CONFIGARGS) $${srcdiroption} \
15402 || exit 1
15403 @endif ld
15407 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15408 maybe-configure-stage1-ld:
15409 @if ld-bootstrap
15410 maybe-configure-stage1-ld: configure-stage1-ld
15411 configure-stage1-ld:
15412 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15414 @r=`${PWD_COMMAND}`; export r; \
15415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15416 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15417 $(HOST_EXPORTS) \
15418 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15420 cd $(HOST_SUBDIR)/ld || exit 1; \
15421 case $(srcdir) in \
15422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15423 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15425 esac; \
15426 srcdiroption="--srcdir=$${topdir}/ld"; \
15427 libsrcdir="$$s/ld"; \
15428 $(SHELL) $${libsrcdir}/configure \
15429 $(HOST_CONFIGARGS) $${srcdiroption} \
15430 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15431 @endif ld-bootstrap
15433 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15434 maybe-configure-stage2-ld:
15435 @if ld-bootstrap
15436 maybe-configure-stage2-ld: configure-stage2-ld
15437 configure-stage2-ld:
15438 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15440 @r=`${PWD_COMMAND}`; export r; \
15441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15442 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15443 $(HOST_EXPORTS) \
15444 $(POSTSTAGE1_HOST_EXPORTS) \
15445 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15447 cd $(HOST_SUBDIR)/ld || exit 1; \
15448 case $(srcdir) in \
15449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15450 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15452 esac; \
15453 srcdiroption="--srcdir=$${topdir}/ld"; \
15454 libsrcdir="$$s/ld"; \
15455 $(SHELL) $${libsrcdir}/configure \
15456 $(HOST_CONFIGARGS) $${srcdiroption} \
15457 @stage2_werror_flag@
15458 @endif ld-bootstrap
15460 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15461 maybe-configure-stage3-ld:
15462 @if ld-bootstrap
15463 maybe-configure-stage3-ld: configure-stage3-ld
15464 configure-stage3-ld:
15465 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15466 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15467 @r=`${PWD_COMMAND}`; export r; \
15468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15469 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15470 $(HOST_EXPORTS) \
15471 $(POSTSTAGE1_HOST_EXPORTS) \
15472 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15474 cd $(HOST_SUBDIR)/ld || exit 1; \
15475 case $(srcdir) in \
15476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15477 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15479 esac; \
15480 srcdiroption="--srcdir=$${topdir}/ld"; \
15481 libsrcdir="$$s/ld"; \
15482 $(SHELL) $${libsrcdir}/configure \
15483 $(HOST_CONFIGARGS) $${srcdiroption} \
15484 @stage2_werror_flag@
15485 @endif ld-bootstrap
15487 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15488 maybe-configure-stage4-ld:
15489 @if ld-bootstrap
15490 maybe-configure-stage4-ld: configure-stage4-ld
15491 configure-stage4-ld:
15492 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15493 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15494 @r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15497 $(HOST_EXPORTS) \
15498 $(POSTSTAGE1_HOST_EXPORTS) \
15499 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15501 cd $(HOST_SUBDIR)/ld || exit 1; \
15502 case $(srcdir) in \
15503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15504 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15506 esac; \
15507 srcdiroption="--srcdir=$${topdir}/ld"; \
15508 libsrcdir="$$s/ld"; \
15509 $(SHELL) $${libsrcdir}/configure \
15510 $(HOST_CONFIGARGS) $${srcdiroption} \
15511 @stage2_werror_flag@
15512 @endif ld-bootstrap
15514 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15515 maybe-configure-stageprofile-ld:
15516 @if ld-bootstrap
15517 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15518 configure-stageprofile-ld:
15519 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15520 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15521 @r=`${PWD_COMMAND}`; export r; \
15522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15523 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15524 $(HOST_EXPORTS) \
15525 $(POSTSTAGE1_HOST_EXPORTS) \
15526 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15527 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15528 cd $(HOST_SUBDIR)/ld || exit 1; \
15529 case $(srcdir) in \
15530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15531 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15533 esac; \
15534 srcdiroption="--srcdir=$${topdir}/ld"; \
15535 libsrcdir="$$s/ld"; \
15536 $(SHELL) $${libsrcdir}/configure \
15537 $(HOST_CONFIGARGS) $${srcdiroption} \
15538 @stage2_werror_flag@
15539 @endif ld-bootstrap
15541 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15542 maybe-configure-stagefeedback-ld:
15543 @if ld-bootstrap
15544 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15545 configure-stagefeedback-ld:
15546 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15547 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15548 @r=`${PWD_COMMAND}`; export r; \
15549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15550 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15551 $(HOST_EXPORTS) \
15552 $(POSTSTAGE1_HOST_EXPORTS) \
15553 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15555 cd $(HOST_SUBDIR)/ld || exit 1; \
15556 case $(srcdir) in \
15557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15558 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15560 esac; \
15561 srcdiroption="--srcdir=$${topdir}/ld"; \
15562 libsrcdir="$$s/ld"; \
15563 $(SHELL) $${libsrcdir}/configure \
15564 $(HOST_CONFIGARGS) $${srcdiroption} \
15565 @stage2_werror_flag@
15566 @endif ld-bootstrap
15572 .PHONY: all-ld maybe-all-ld
15573 maybe-all-ld:
15574 @if ld
15575 TARGET-ld=all
15576 maybe-all-ld: all-ld
15577 all-ld: configure-ld
15578 @endif ld
15579 @if ld-bootstrap
15580 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15581 @endif ld-bootstrap
15582 @if ld
15583 @r=`${PWD_COMMAND}`; export r; \
15584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15585 $(HOST_EXPORTS) \
15586 (cd $(HOST_SUBDIR)/ld && \
15587 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15588 @endif ld
15592 .PHONY: all-stage1-ld maybe-all-stage1-ld
15593 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15594 maybe-all-stage1-ld:
15595 maybe-clean-stage1-ld:
15596 @if ld-bootstrap
15597 maybe-all-stage1-ld: all-stage1-ld
15598 all-stage1: all-stage1-ld
15599 TARGET-stage1-ld = $(TARGET-ld)
15600 all-stage1-ld: configure-stage1-ld
15601 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15602 @r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15604 $(HOST_EXPORTS) \
15605 cd $(HOST_SUBDIR)/ld && \
15606 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15607 $(TARGET-stage1-ld)
15609 maybe-clean-stage1-ld: clean-stage1-ld
15610 clean-stage1: clean-stage1-ld
15611 clean-stage1-ld:
15612 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15613 || exit 0 ; \
15614 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15615 cd $(HOST_SUBDIR)/ld && \
15616 $(MAKE) $(FLAGS_TO_PASS) \
15617 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15618 @endif ld-bootstrap
15621 .PHONY: all-stage2-ld maybe-all-stage2-ld
15622 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15623 maybe-all-stage2-ld:
15624 maybe-clean-stage2-ld:
15625 @if ld-bootstrap
15626 maybe-all-stage2-ld: all-stage2-ld
15627 all-stage2: all-stage2-ld
15628 TARGET-stage2-ld = $(TARGET-ld)
15629 all-stage2-ld: configure-stage2-ld
15630 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15631 @r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 $(HOST_EXPORTS) \
15634 $(POSTSTAGE1_HOST_EXPORTS) \
15635 cd $(HOST_SUBDIR)/ld && \
15636 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15637 $(TARGET-stage2-ld)
15639 maybe-clean-stage2-ld: clean-stage2-ld
15640 clean-stage2: clean-stage2-ld
15641 clean-stage2-ld:
15642 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15643 || exit 0 ; \
15644 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15645 cd $(HOST_SUBDIR)/ld && \
15646 $(MAKE) $(FLAGS_TO_PASS) \
15647 $(POSTSTAGE1_FLAGS_TO_PASS) \
15648 clean
15649 @endif ld-bootstrap
15652 .PHONY: all-stage3-ld maybe-all-stage3-ld
15653 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15654 maybe-all-stage3-ld:
15655 maybe-clean-stage3-ld:
15656 @if ld-bootstrap
15657 maybe-all-stage3-ld: all-stage3-ld
15658 all-stage3: all-stage3-ld
15659 TARGET-stage3-ld = $(TARGET-ld)
15660 all-stage3-ld: configure-stage3-ld
15661 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15662 @r=`${PWD_COMMAND}`; export r; \
15663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15664 $(HOST_EXPORTS) \
15665 $(POSTSTAGE1_HOST_EXPORTS) \
15666 cd $(HOST_SUBDIR)/ld && \
15667 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15668 $(TARGET-stage3-ld)
15670 maybe-clean-stage3-ld: clean-stage3-ld
15671 clean-stage3: clean-stage3-ld
15672 clean-stage3-ld:
15673 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15674 || exit 0 ; \
15675 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
15676 cd $(HOST_SUBDIR)/ld && \
15677 $(MAKE) $(FLAGS_TO_PASS) \
15678 $(POSTSTAGE1_FLAGS_TO_PASS) \
15679 clean
15680 @endif ld-bootstrap
15683 .PHONY: all-stage4-ld maybe-all-stage4-ld
15684 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15685 maybe-all-stage4-ld:
15686 maybe-clean-stage4-ld:
15687 @if ld-bootstrap
15688 maybe-all-stage4-ld: all-stage4-ld
15689 all-stage4: all-stage4-ld
15690 TARGET-stage4-ld = $(TARGET-ld)
15691 all-stage4-ld: configure-stage4-ld
15692 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15693 @r=`${PWD_COMMAND}`; export r; \
15694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15695 $(HOST_EXPORTS) \
15696 $(POSTSTAGE1_HOST_EXPORTS) \
15697 cd $(HOST_SUBDIR)/ld && \
15698 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15699 $(TARGET-stage4-ld)
15701 maybe-clean-stage4-ld: clean-stage4-ld
15702 clean-stage4: clean-stage4-ld
15703 clean-stage4-ld:
15704 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15705 || exit 0 ; \
15706 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
15707 cd $(HOST_SUBDIR)/ld && \
15708 $(MAKE) $(FLAGS_TO_PASS) \
15709 $(POSTSTAGE1_FLAGS_TO_PASS) \
15710 clean
15711 @endif ld-bootstrap
15714 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15715 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15716 maybe-all-stageprofile-ld:
15717 maybe-clean-stageprofile-ld:
15718 @if ld-bootstrap
15719 maybe-all-stageprofile-ld: all-stageprofile-ld
15720 all-stageprofile: all-stageprofile-ld
15721 TARGET-stageprofile-ld = $(TARGET-ld)
15722 all-stageprofile-ld: configure-stageprofile-ld
15723 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15724 @r=`${PWD_COMMAND}`; export r; \
15725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15726 $(HOST_EXPORTS) \
15727 $(POSTSTAGE1_HOST_EXPORTS) \
15728 cd $(HOST_SUBDIR)/ld && \
15729 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15730 $(TARGET-stageprofile-ld)
15732 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15733 clean-stageprofile: clean-stageprofile-ld
15734 clean-stageprofile-ld:
15735 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15736 || exit 0 ; \
15737 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
15738 cd $(HOST_SUBDIR)/ld && \
15739 $(MAKE) $(FLAGS_TO_PASS) \
15740 $(POSTSTAGE1_FLAGS_TO_PASS) \
15741 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15742 @endif ld-bootstrap
15745 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15746 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15747 maybe-all-stagefeedback-ld:
15748 maybe-clean-stagefeedback-ld:
15749 @if ld-bootstrap
15750 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15751 all-stagefeedback: all-stagefeedback-ld
15752 TARGET-stagefeedback-ld = $(TARGET-ld)
15753 all-stagefeedback-ld: configure-stagefeedback-ld
15754 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15755 @r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15757 $(HOST_EXPORTS) \
15758 $(POSTSTAGE1_HOST_EXPORTS) \
15759 cd $(HOST_SUBDIR)/ld && \
15760 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15761 $(TARGET-stagefeedback-ld)
15763 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15764 clean-stagefeedback: clean-stagefeedback-ld
15765 clean-stagefeedback-ld:
15766 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15767 || exit 0 ; \
15768 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
15769 cd $(HOST_SUBDIR)/ld && \
15770 $(MAKE) $(FLAGS_TO_PASS) \
15771 $(POSTSTAGE1_FLAGS_TO_PASS) \
15772 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15773 @endif ld-bootstrap
15779 .PHONY: check-ld maybe-check-ld
15780 maybe-check-ld:
15781 @if ld
15782 maybe-check-ld: check-ld
15784 check-ld:
15785 @: $(MAKE); $(unstage)
15786 @r=`${PWD_COMMAND}`; export r; \
15787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15788 $(HOST_EXPORTS) \
15789 (cd $(HOST_SUBDIR)/ld && \
15790 $(MAKE) $(FLAGS_TO_PASS) check)
15792 @endif ld
15794 .PHONY: install-ld maybe-install-ld
15795 maybe-install-ld:
15796 @if ld
15797 maybe-install-ld: install-ld
15799 install-ld: installdirs
15800 @: $(MAKE); $(unstage)
15801 @r=`${PWD_COMMAND}`; export r; \
15802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15803 $(HOST_EXPORTS) \
15804 (cd $(HOST_SUBDIR)/ld && \
15805 $(MAKE) $(FLAGS_TO_PASS) install)
15807 @endif ld
15809 # Other targets (info, dvi, etc.)
15811 .PHONY: maybe-info-ld info-ld
15812 maybe-info-ld:
15813 @if ld
15814 maybe-info-ld: info-ld
15816 info-ld: \
15817 configure-ld
15818 @[ -f ./ld/Makefile ] || exit 0; \
15819 r=`${PWD_COMMAND}`; export r; \
15820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15821 $(HOST_EXPORTS) \
15822 for flag in $(EXTRA_HOST_FLAGS) ; do \
15823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15824 done; \
15825 echo "Doing info in ld" ; \
15826 (cd $(HOST_SUBDIR)/ld && \
15827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15829 "RANLIB=$${RANLIB}" \
15830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15831 info) \
15832 || exit 1
15834 @endif ld
15836 .PHONY: maybe-dvi-ld dvi-ld
15837 maybe-dvi-ld:
15838 @if ld
15839 maybe-dvi-ld: dvi-ld
15841 dvi-ld: \
15842 configure-ld
15843 @[ -f ./ld/Makefile ] || exit 0; \
15844 r=`${PWD_COMMAND}`; export r; \
15845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15846 $(HOST_EXPORTS) \
15847 for flag in $(EXTRA_HOST_FLAGS) ; do \
15848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15849 done; \
15850 echo "Doing dvi in ld" ; \
15851 (cd $(HOST_SUBDIR)/ld && \
15852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15854 "RANLIB=$${RANLIB}" \
15855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15856 dvi) \
15857 || exit 1
15859 @endif ld
15861 .PHONY: maybe-html-ld html-ld
15862 maybe-html-ld:
15863 @if ld
15864 maybe-html-ld: html-ld
15866 html-ld: \
15867 configure-ld
15868 @[ -f ./ld/Makefile ] || exit 0; \
15869 r=`${PWD_COMMAND}`; export r; \
15870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15871 $(HOST_EXPORTS) \
15872 for flag in $(EXTRA_HOST_FLAGS) ; do \
15873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15874 done; \
15875 echo "Doing html in ld" ; \
15876 (cd $(HOST_SUBDIR)/ld && \
15877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15879 "RANLIB=$${RANLIB}" \
15880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15881 html) \
15882 || exit 1
15884 @endif ld
15886 .PHONY: maybe-TAGS-ld TAGS-ld
15887 maybe-TAGS-ld:
15888 @if ld
15889 maybe-TAGS-ld: TAGS-ld
15891 TAGS-ld: \
15892 configure-ld
15893 @[ -f ./ld/Makefile ] || exit 0; \
15894 r=`${PWD_COMMAND}`; export r; \
15895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15896 $(HOST_EXPORTS) \
15897 for flag in $(EXTRA_HOST_FLAGS) ; do \
15898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15899 done; \
15900 echo "Doing TAGS in ld" ; \
15901 (cd $(HOST_SUBDIR)/ld && \
15902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15904 "RANLIB=$${RANLIB}" \
15905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15906 TAGS) \
15907 || exit 1
15909 @endif ld
15911 .PHONY: maybe-install-info-ld install-info-ld
15912 maybe-install-info-ld:
15913 @if ld
15914 maybe-install-info-ld: install-info-ld
15916 install-info-ld: \
15917 configure-ld \
15918 info-ld
15919 @[ -f ./ld/Makefile ] || exit 0; \
15920 r=`${PWD_COMMAND}`; export r; \
15921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15922 $(HOST_EXPORTS) \
15923 for flag in $(EXTRA_HOST_FLAGS) ; do \
15924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15925 done; \
15926 echo "Doing install-info in ld" ; \
15927 (cd $(HOST_SUBDIR)/ld && \
15928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15930 "RANLIB=$${RANLIB}" \
15931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15932 install-info) \
15933 || exit 1
15935 @endif ld
15937 .PHONY: maybe-installcheck-ld installcheck-ld
15938 maybe-installcheck-ld:
15939 @if ld
15940 maybe-installcheck-ld: installcheck-ld
15942 installcheck-ld: \
15943 configure-ld
15944 @[ -f ./ld/Makefile ] || exit 0; \
15945 r=`${PWD_COMMAND}`; export r; \
15946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15947 $(HOST_EXPORTS) \
15948 for flag in $(EXTRA_HOST_FLAGS) ; do \
15949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15950 done; \
15951 echo "Doing installcheck in ld" ; \
15952 (cd $(HOST_SUBDIR)/ld && \
15953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15955 "RANLIB=$${RANLIB}" \
15956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15957 installcheck) \
15958 || exit 1
15960 @endif ld
15962 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15963 maybe-mostlyclean-ld:
15964 @if ld
15965 maybe-mostlyclean-ld: mostlyclean-ld
15967 mostlyclean-ld:
15968 @[ -f ./ld/Makefile ] || exit 0; \
15969 r=`${PWD_COMMAND}`; export r; \
15970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15971 $(HOST_EXPORTS) \
15972 for flag in $(EXTRA_HOST_FLAGS) ; do \
15973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15974 done; \
15975 echo "Doing mostlyclean in ld" ; \
15976 (cd $(HOST_SUBDIR)/ld && \
15977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15979 "RANLIB=$${RANLIB}" \
15980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15981 mostlyclean) \
15982 || exit 1
15984 @endif ld
15986 .PHONY: maybe-clean-ld clean-ld
15987 maybe-clean-ld:
15988 @if ld
15989 maybe-clean-ld: clean-ld
15991 clean-ld:
15992 @[ -f ./ld/Makefile ] || exit 0; \
15993 r=`${PWD_COMMAND}`; export r; \
15994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15995 $(HOST_EXPORTS) \
15996 for flag in $(EXTRA_HOST_FLAGS) ; do \
15997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15998 done; \
15999 echo "Doing clean in ld" ; \
16000 (cd $(HOST_SUBDIR)/ld && \
16001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16003 "RANLIB=$${RANLIB}" \
16004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16005 clean) \
16006 || exit 1
16008 @endif ld
16010 .PHONY: maybe-distclean-ld distclean-ld
16011 maybe-distclean-ld:
16012 @if ld
16013 maybe-distclean-ld: distclean-ld
16015 distclean-ld:
16016 @[ -f ./ld/Makefile ] || exit 0; \
16017 r=`${PWD_COMMAND}`; export r; \
16018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16019 $(HOST_EXPORTS) \
16020 for flag in $(EXTRA_HOST_FLAGS) ; do \
16021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16022 done; \
16023 echo "Doing distclean in ld" ; \
16024 (cd $(HOST_SUBDIR)/ld && \
16025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16027 "RANLIB=$${RANLIB}" \
16028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16029 distclean) \
16030 || exit 1
16032 @endif ld
16034 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16035 maybe-maintainer-clean-ld:
16036 @if ld
16037 maybe-maintainer-clean-ld: maintainer-clean-ld
16039 maintainer-clean-ld:
16040 @[ -f ./ld/Makefile ] || exit 0; \
16041 r=`${PWD_COMMAND}`; export r; \
16042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16043 $(HOST_EXPORTS) \
16044 for flag in $(EXTRA_HOST_FLAGS) ; do \
16045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16046 done; \
16047 echo "Doing maintainer-clean in ld" ; \
16048 (cd $(HOST_SUBDIR)/ld && \
16049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16051 "RANLIB=$${RANLIB}" \
16052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16053 maintainer-clean) \
16054 || exit 1
16056 @endif ld
16060 .PHONY: configure-libcpp maybe-configure-libcpp
16061 maybe-configure-libcpp:
16062 @if libcpp
16063 maybe-configure-libcpp: configure-libcpp
16064 configure-libcpp:
16065 @endif libcpp
16066 @if libcpp-bootstrap
16067 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16068 @endif libcpp-bootstrap
16069 @if libcpp
16070 @r=`${PWD_COMMAND}`; export r; \
16071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16072 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16074 $(HOST_EXPORTS) \
16075 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16076 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16077 case $(srcdir) in \
16078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16079 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16081 esac; \
16082 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16083 libsrcdir="$$s/libcpp"; \
16084 $(SHELL) $${libsrcdir}/configure \
16085 $(HOST_CONFIGARGS) $${srcdiroption} \
16086 || exit 1
16087 @endif libcpp
16091 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16092 maybe-configure-stage1-libcpp:
16093 @if libcpp-bootstrap
16094 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16095 configure-stage1-libcpp:
16096 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16098 @r=`${PWD_COMMAND}`; export r; \
16099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16100 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16101 $(HOST_EXPORTS) \
16102 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16104 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16105 case $(srcdir) in \
16106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16107 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16109 esac; \
16110 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16111 libsrcdir="$$s/libcpp"; \
16112 $(SHELL) $${libsrcdir}/configure \
16113 $(HOST_CONFIGARGS) $${srcdiroption} \
16114 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16115 @endif libcpp-bootstrap
16117 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16118 maybe-configure-stage2-libcpp:
16119 @if libcpp-bootstrap
16120 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16121 configure-stage2-libcpp:
16122 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16124 @r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16127 $(HOST_EXPORTS) \
16128 $(POSTSTAGE1_HOST_EXPORTS) \
16129 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16131 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16132 case $(srcdir) in \
16133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16134 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16136 esac; \
16137 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16138 libsrcdir="$$s/libcpp"; \
16139 $(SHELL) $${libsrcdir}/configure \
16140 $(HOST_CONFIGARGS) $${srcdiroption} \
16141 @stage2_werror_flag@
16142 @endif libcpp-bootstrap
16144 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16145 maybe-configure-stage3-libcpp:
16146 @if libcpp-bootstrap
16147 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16148 configure-stage3-libcpp:
16149 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16151 @r=`${PWD_COMMAND}`; export r; \
16152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16153 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16154 $(HOST_EXPORTS) \
16155 $(POSTSTAGE1_HOST_EXPORTS) \
16156 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16158 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16159 case $(srcdir) in \
16160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16161 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16163 esac; \
16164 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16165 libsrcdir="$$s/libcpp"; \
16166 $(SHELL) $${libsrcdir}/configure \
16167 $(HOST_CONFIGARGS) $${srcdiroption} \
16168 @stage2_werror_flag@
16169 @endif libcpp-bootstrap
16171 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16172 maybe-configure-stage4-libcpp:
16173 @if libcpp-bootstrap
16174 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16175 configure-stage4-libcpp:
16176 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16178 @r=`${PWD_COMMAND}`; export r; \
16179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16180 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16181 $(HOST_EXPORTS) \
16182 $(POSTSTAGE1_HOST_EXPORTS) \
16183 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16185 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16186 case $(srcdir) in \
16187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16188 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16190 esac; \
16191 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16192 libsrcdir="$$s/libcpp"; \
16193 $(SHELL) $${libsrcdir}/configure \
16194 $(HOST_CONFIGARGS) $${srcdiroption} \
16195 @stage2_werror_flag@
16196 @endif libcpp-bootstrap
16198 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16199 maybe-configure-stageprofile-libcpp:
16200 @if libcpp-bootstrap
16201 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16202 configure-stageprofile-libcpp:
16203 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16205 @r=`${PWD_COMMAND}`; export r; \
16206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16207 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16208 $(HOST_EXPORTS) \
16209 $(POSTSTAGE1_HOST_EXPORTS) \
16210 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16212 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16213 case $(srcdir) in \
16214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16215 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16217 esac; \
16218 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16219 libsrcdir="$$s/libcpp"; \
16220 $(SHELL) $${libsrcdir}/configure \
16221 $(HOST_CONFIGARGS) $${srcdiroption} \
16222 @stage2_werror_flag@
16223 @endif libcpp-bootstrap
16225 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16226 maybe-configure-stagefeedback-libcpp:
16227 @if libcpp-bootstrap
16228 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16229 configure-stagefeedback-libcpp:
16230 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16231 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16232 @r=`${PWD_COMMAND}`; export r; \
16233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16234 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16235 $(HOST_EXPORTS) \
16236 $(POSTSTAGE1_HOST_EXPORTS) \
16237 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16239 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16240 case $(srcdir) in \
16241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16242 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16244 esac; \
16245 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16246 libsrcdir="$$s/libcpp"; \
16247 $(SHELL) $${libsrcdir}/configure \
16248 $(HOST_CONFIGARGS) $${srcdiroption} \
16249 @stage2_werror_flag@
16250 @endif libcpp-bootstrap
16256 .PHONY: all-libcpp maybe-all-libcpp
16257 maybe-all-libcpp:
16258 @if libcpp
16259 TARGET-libcpp=all
16260 maybe-all-libcpp: all-libcpp
16261 all-libcpp: configure-libcpp
16262 @endif libcpp
16263 @if libcpp-bootstrap
16264 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16265 @endif libcpp-bootstrap
16266 @if libcpp
16267 @r=`${PWD_COMMAND}`; export r; \
16268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16269 $(HOST_EXPORTS) \
16270 (cd $(HOST_SUBDIR)/libcpp && \
16271 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16272 @endif libcpp
16276 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16277 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16278 maybe-all-stage1-libcpp:
16279 maybe-clean-stage1-libcpp:
16280 @if libcpp-bootstrap
16281 maybe-all-stage1-libcpp: all-stage1-libcpp
16282 all-stage1: all-stage1-libcpp
16283 TARGET-stage1-libcpp = $(TARGET-libcpp)
16284 all-stage1-libcpp: configure-stage1-libcpp
16285 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16286 @r=`${PWD_COMMAND}`; export r; \
16287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 $(HOST_EXPORTS) \
16289 cd $(HOST_SUBDIR)/libcpp && \
16290 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16291 $(TARGET-stage1-libcpp)
16293 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16294 clean-stage1: clean-stage1-libcpp
16295 clean-stage1-libcpp:
16296 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16297 || exit 0 ; \
16298 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16299 cd $(HOST_SUBDIR)/libcpp && \
16300 $(MAKE) $(FLAGS_TO_PASS) \
16301 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16302 @endif libcpp-bootstrap
16305 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16306 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16307 maybe-all-stage2-libcpp:
16308 maybe-clean-stage2-libcpp:
16309 @if libcpp-bootstrap
16310 maybe-all-stage2-libcpp: all-stage2-libcpp
16311 all-stage2: all-stage2-libcpp
16312 TARGET-stage2-libcpp = $(TARGET-libcpp)
16313 all-stage2-libcpp: configure-stage2-libcpp
16314 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16315 @r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(HOST_EXPORTS) \
16318 $(POSTSTAGE1_HOST_EXPORTS) \
16319 cd $(HOST_SUBDIR)/libcpp && \
16320 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16321 $(TARGET-stage2-libcpp)
16323 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16324 clean-stage2: clean-stage2-libcpp
16325 clean-stage2-libcpp:
16326 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16327 || exit 0 ; \
16328 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16329 cd $(HOST_SUBDIR)/libcpp && \
16330 $(MAKE) $(FLAGS_TO_PASS) \
16331 $(POSTSTAGE1_FLAGS_TO_PASS) \
16332 clean
16333 @endif libcpp-bootstrap
16336 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16337 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16338 maybe-all-stage3-libcpp:
16339 maybe-clean-stage3-libcpp:
16340 @if libcpp-bootstrap
16341 maybe-all-stage3-libcpp: all-stage3-libcpp
16342 all-stage3: all-stage3-libcpp
16343 TARGET-stage3-libcpp = $(TARGET-libcpp)
16344 all-stage3-libcpp: configure-stage3-libcpp
16345 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16346 @r=`${PWD_COMMAND}`; export r; \
16347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16348 $(HOST_EXPORTS) \
16349 $(POSTSTAGE1_HOST_EXPORTS) \
16350 cd $(HOST_SUBDIR)/libcpp && \
16351 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16352 $(TARGET-stage3-libcpp)
16354 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16355 clean-stage3: clean-stage3-libcpp
16356 clean-stage3-libcpp:
16357 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16358 || exit 0 ; \
16359 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16360 cd $(HOST_SUBDIR)/libcpp && \
16361 $(MAKE) $(FLAGS_TO_PASS) \
16362 $(POSTSTAGE1_FLAGS_TO_PASS) \
16363 clean
16364 @endif libcpp-bootstrap
16367 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16368 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16369 maybe-all-stage4-libcpp:
16370 maybe-clean-stage4-libcpp:
16371 @if libcpp-bootstrap
16372 maybe-all-stage4-libcpp: all-stage4-libcpp
16373 all-stage4: all-stage4-libcpp
16374 TARGET-stage4-libcpp = $(TARGET-libcpp)
16375 all-stage4-libcpp: configure-stage4-libcpp
16376 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16377 @r=`${PWD_COMMAND}`; export r; \
16378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 $(HOST_EXPORTS) \
16380 $(POSTSTAGE1_HOST_EXPORTS) \
16381 cd $(HOST_SUBDIR)/libcpp && \
16382 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16383 $(TARGET-stage4-libcpp)
16385 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16386 clean-stage4: clean-stage4-libcpp
16387 clean-stage4-libcpp:
16388 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16389 || exit 0 ; \
16390 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16391 cd $(HOST_SUBDIR)/libcpp && \
16392 $(MAKE) $(FLAGS_TO_PASS) \
16393 $(POSTSTAGE1_FLAGS_TO_PASS) \
16394 clean
16395 @endif libcpp-bootstrap
16398 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16399 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16400 maybe-all-stageprofile-libcpp:
16401 maybe-clean-stageprofile-libcpp:
16402 @if libcpp-bootstrap
16403 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16404 all-stageprofile: all-stageprofile-libcpp
16405 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16406 all-stageprofile-libcpp: configure-stageprofile-libcpp
16407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16408 @r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(HOST_EXPORTS) \
16411 $(POSTSTAGE1_HOST_EXPORTS) \
16412 cd $(HOST_SUBDIR)/libcpp && \
16413 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16414 $(TARGET-stageprofile-libcpp)
16416 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16417 clean-stageprofile: clean-stageprofile-libcpp
16418 clean-stageprofile-libcpp:
16419 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16420 || exit 0 ; \
16421 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16422 cd $(HOST_SUBDIR)/libcpp && \
16423 $(MAKE) $(FLAGS_TO_PASS) \
16424 $(POSTSTAGE1_FLAGS_TO_PASS) \
16425 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16426 @endif libcpp-bootstrap
16429 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16430 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16431 maybe-all-stagefeedback-libcpp:
16432 maybe-clean-stagefeedback-libcpp:
16433 @if libcpp-bootstrap
16434 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16435 all-stagefeedback: all-stagefeedback-libcpp
16436 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16437 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16438 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16439 @r=`${PWD_COMMAND}`; export r; \
16440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16441 $(HOST_EXPORTS) \
16442 $(POSTSTAGE1_HOST_EXPORTS) \
16443 cd $(HOST_SUBDIR)/libcpp && \
16444 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16445 $(TARGET-stagefeedback-libcpp)
16447 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16448 clean-stagefeedback: clean-stagefeedback-libcpp
16449 clean-stagefeedback-libcpp:
16450 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16451 || exit 0 ; \
16452 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16453 cd $(HOST_SUBDIR)/libcpp && \
16454 $(MAKE) $(FLAGS_TO_PASS) \
16455 $(POSTSTAGE1_FLAGS_TO_PASS) \
16456 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16457 @endif libcpp-bootstrap
16463 .PHONY: check-libcpp maybe-check-libcpp
16464 maybe-check-libcpp:
16465 @if libcpp
16466 maybe-check-libcpp: check-libcpp
16468 check-libcpp:
16469 @: $(MAKE); $(unstage)
16470 @r=`${PWD_COMMAND}`; export r; \
16471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16472 $(HOST_EXPORTS) \
16473 (cd $(HOST_SUBDIR)/libcpp && \
16474 $(MAKE) $(FLAGS_TO_PASS) check)
16476 @endif libcpp
16478 .PHONY: install-libcpp maybe-install-libcpp
16479 maybe-install-libcpp:
16480 @if libcpp
16481 maybe-install-libcpp: install-libcpp
16483 install-libcpp: installdirs
16484 @: $(MAKE); $(unstage)
16485 @r=`${PWD_COMMAND}`; export r; \
16486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16487 $(HOST_EXPORTS) \
16488 (cd $(HOST_SUBDIR)/libcpp && \
16489 $(MAKE) $(FLAGS_TO_PASS) install)
16491 @endif libcpp
16493 # Other targets (info, dvi, etc.)
16495 .PHONY: maybe-info-libcpp info-libcpp
16496 maybe-info-libcpp:
16497 @if libcpp
16498 maybe-info-libcpp: info-libcpp
16500 info-libcpp: \
16501 configure-libcpp
16502 @[ -f ./libcpp/Makefile ] || exit 0; \
16503 r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 $(HOST_EXPORTS) \
16506 for flag in $(EXTRA_HOST_FLAGS) ; do \
16507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16508 done; \
16509 echo "Doing info in libcpp" ; \
16510 (cd $(HOST_SUBDIR)/libcpp && \
16511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16513 "RANLIB=$${RANLIB}" \
16514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16515 info) \
16516 || exit 1
16518 @endif libcpp
16520 .PHONY: maybe-dvi-libcpp dvi-libcpp
16521 maybe-dvi-libcpp:
16522 @if libcpp
16523 maybe-dvi-libcpp: dvi-libcpp
16525 dvi-libcpp: \
16526 configure-libcpp
16527 @[ -f ./libcpp/Makefile ] || exit 0; \
16528 r=`${PWD_COMMAND}`; export r; \
16529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16530 $(HOST_EXPORTS) \
16531 for flag in $(EXTRA_HOST_FLAGS) ; do \
16532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16533 done; \
16534 echo "Doing dvi in libcpp" ; \
16535 (cd $(HOST_SUBDIR)/libcpp && \
16536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16538 "RANLIB=$${RANLIB}" \
16539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16540 dvi) \
16541 || exit 1
16543 @endif libcpp
16545 .PHONY: maybe-html-libcpp html-libcpp
16546 maybe-html-libcpp:
16547 @if libcpp
16548 maybe-html-libcpp: html-libcpp
16550 html-libcpp: \
16551 configure-libcpp
16552 @[ -f ./libcpp/Makefile ] || exit 0; \
16553 r=`${PWD_COMMAND}`; export r; \
16554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16555 $(HOST_EXPORTS) \
16556 for flag in $(EXTRA_HOST_FLAGS) ; do \
16557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16558 done; \
16559 echo "Doing html in libcpp" ; \
16560 (cd $(HOST_SUBDIR)/libcpp && \
16561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16563 "RANLIB=$${RANLIB}" \
16564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16565 html) \
16566 || exit 1
16568 @endif libcpp
16570 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16571 maybe-TAGS-libcpp:
16572 @if libcpp
16573 maybe-TAGS-libcpp: TAGS-libcpp
16575 TAGS-libcpp: \
16576 configure-libcpp
16577 @[ -f ./libcpp/Makefile ] || exit 0; \
16578 r=`${PWD_COMMAND}`; export r; \
16579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16580 $(HOST_EXPORTS) \
16581 for flag in $(EXTRA_HOST_FLAGS) ; do \
16582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16583 done; \
16584 echo "Doing TAGS in libcpp" ; \
16585 (cd $(HOST_SUBDIR)/libcpp && \
16586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16588 "RANLIB=$${RANLIB}" \
16589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16590 TAGS) \
16591 || exit 1
16593 @endif libcpp
16595 .PHONY: maybe-install-info-libcpp install-info-libcpp
16596 maybe-install-info-libcpp:
16597 @if libcpp
16598 maybe-install-info-libcpp: install-info-libcpp
16600 install-info-libcpp: \
16601 configure-libcpp \
16602 info-libcpp
16603 @[ -f ./libcpp/Makefile ] || exit 0; \
16604 r=`${PWD_COMMAND}`; export r; \
16605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16606 $(HOST_EXPORTS) \
16607 for flag in $(EXTRA_HOST_FLAGS) ; do \
16608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16609 done; \
16610 echo "Doing install-info in libcpp" ; \
16611 (cd $(HOST_SUBDIR)/libcpp && \
16612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16614 "RANLIB=$${RANLIB}" \
16615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16616 install-info) \
16617 || exit 1
16619 @endif libcpp
16621 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16622 maybe-installcheck-libcpp:
16623 @if libcpp
16624 maybe-installcheck-libcpp: installcheck-libcpp
16626 installcheck-libcpp: \
16627 configure-libcpp
16628 @[ -f ./libcpp/Makefile ] || exit 0; \
16629 r=`${PWD_COMMAND}`; export r; \
16630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16631 $(HOST_EXPORTS) \
16632 for flag in $(EXTRA_HOST_FLAGS) ; do \
16633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16634 done; \
16635 echo "Doing installcheck in libcpp" ; \
16636 (cd $(HOST_SUBDIR)/libcpp && \
16637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16639 "RANLIB=$${RANLIB}" \
16640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16641 installcheck) \
16642 || exit 1
16644 @endif libcpp
16646 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16647 maybe-mostlyclean-libcpp:
16648 @if libcpp
16649 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16651 mostlyclean-libcpp:
16652 @[ -f ./libcpp/Makefile ] || exit 0; \
16653 r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16655 $(HOST_EXPORTS) \
16656 for flag in $(EXTRA_HOST_FLAGS) ; do \
16657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16658 done; \
16659 echo "Doing mostlyclean in libcpp" ; \
16660 (cd $(HOST_SUBDIR)/libcpp && \
16661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16663 "RANLIB=$${RANLIB}" \
16664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16665 mostlyclean) \
16666 || exit 1
16668 @endif libcpp
16670 .PHONY: maybe-clean-libcpp clean-libcpp
16671 maybe-clean-libcpp:
16672 @if libcpp
16673 maybe-clean-libcpp: clean-libcpp
16675 clean-libcpp:
16676 @[ -f ./libcpp/Makefile ] || exit 0; \
16677 r=`${PWD_COMMAND}`; export r; \
16678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16679 $(HOST_EXPORTS) \
16680 for flag in $(EXTRA_HOST_FLAGS) ; do \
16681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16682 done; \
16683 echo "Doing clean in libcpp" ; \
16684 (cd $(HOST_SUBDIR)/libcpp && \
16685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16687 "RANLIB=$${RANLIB}" \
16688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16689 clean) \
16690 || exit 1
16692 @endif libcpp
16694 .PHONY: maybe-distclean-libcpp distclean-libcpp
16695 maybe-distclean-libcpp:
16696 @if libcpp
16697 maybe-distclean-libcpp: distclean-libcpp
16699 distclean-libcpp:
16700 @[ -f ./libcpp/Makefile ] || exit 0; \
16701 r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 $(HOST_EXPORTS) \
16704 for flag in $(EXTRA_HOST_FLAGS) ; do \
16705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16706 done; \
16707 echo "Doing distclean in libcpp" ; \
16708 (cd $(HOST_SUBDIR)/libcpp && \
16709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16711 "RANLIB=$${RANLIB}" \
16712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16713 distclean) \
16714 || exit 1
16716 @endif libcpp
16718 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16719 maybe-maintainer-clean-libcpp:
16720 @if libcpp
16721 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16723 maintainer-clean-libcpp:
16724 @[ -f ./libcpp/Makefile ] || exit 0; \
16725 r=`${PWD_COMMAND}`; export r; \
16726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16727 $(HOST_EXPORTS) \
16728 for flag in $(EXTRA_HOST_FLAGS) ; do \
16729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16730 done; \
16731 echo "Doing maintainer-clean in libcpp" ; \
16732 (cd $(HOST_SUBDIR)/libcpp && \
16733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16735 "RANLIB=$${RANLIB}" \
16736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16737 maintainer-clean) \
16738 || exit 1
16740 @endif libcpp
16744 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16745 maybe-configure-libdecnumber:
16746 @if libdecnumber
16747 maybe-configure-libdecnumber: configure-libdecnumber
16748 configure-libdecnumber:
16749 @endif libdecnumber
16750 @if libdecnumber-bootstrap
16751 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16752 @endif libdecnumber-bootstrap
16753 @if libdecnumber
16754 @r=`${PWD_COMMAND}`; export r; \
16755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16756 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16758 $(HOST_EXPORTS) \
16759 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16760 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16761 case $(srcdir) in \
16762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16763 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16765 esac; \
16766 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16767 libsrcdir="$$s/libdecnumber"; \
16768 $(SHELL) $${libsrcdir}/configure \
16769 $(HOST_CONFIGARGS) $${srcdiroption} \
16770 || exit 1
16771 @endif libdecnumber
16775 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16776 maybe-configure-stage1-libdecnumber:
16777 @if libdecnumber-bootstrap
16778 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16779 configure-stage1-libdecnumber:
16780 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16781 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16782 @r=`${PWD_COMMAND}`; export r; \
16783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16784 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16785 $(HOST_EXPORTS) \
16786 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16788 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16789 case $(srcdir) in \
16790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16791 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16793 esac; \
16794 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16795 libsrcdir="$$s/libdecnumber"; \
16796 $(SHELL) $${libsrcdir}/configure \
16797 $(HOST_CONFIGARGS) $${srcdiroption} \
16798 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16799 @endif libdecnumber-bootstrap
16801 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16802 maybe-configure-stage2-libdecnumber:
16803 @if libdecnumber-bootstrap
16804 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16805 configure-stage2-libdecnumber:
16806 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16807 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16808 @r=`${PWD_COMMAND}`; export r; \
16809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16810 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16811 $(HOST_EXPORTS) \
16812 $(POSTSTAGE1_HOST_EXPORTS) \
16813 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16815 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16816 case $(srcdir) in \
16817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16818 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16820 esac; \
16821 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16822 libsrcdir="$$s/libdecnumber"; \
16823 $(SHELL) $${libsrcdir}/configure \
16824 $(HOST_CONFIGARGS) $${srcdiroption} \
16825 @stage2_werror_flag@
16826 @endif libdecnumber-bootstrap
16828 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16829 maybe-configure-stage3-libdecnumber:
16830 @if libdecnumber-bootstrap
16831 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16832 configure-stage3-libdecnumber:
16833 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16834 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16835 @r=`${PWD_COMMAND}`; export r; \
16836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16838 $(HOST_EXPORTS) \
16839 $(POSTSTAGE1_HOST_EXPORTS) \
16840 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16841 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16842 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16843 case $(srcdir) in \
16844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16845 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16847 esac; \
16848 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16849 libsrcdir="$$s/libdecnumber"; \
16850 $(SHELL) $${libsrcdir}/configure \
16851 $(HOST_CONFIGARGS) $${srcdiroption} \
16852 @stage2_werror_flag@
16853 @endif libdecnumber-bootstrap
16855 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16856 maybe-configure-stage4-libdecnumber:
16857 @if libdecnumber-bootstrap
16858 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16859 configure-stage4-libdecnumber:
16860 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16862 @r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16865 $(HOST_EXPORTS) \
16866 $(POSTSTAGE1_HOST_EXPORTS) \
16867 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16869 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16870 case $(srcdir) in \
16871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16872 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16874 esac; \
16875 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16876 libsrcdir="$$s/libdecnumber"; \
16877 $(SHELL) $${libsrcdir}/configure \
16878 $(HOST_CONFIGARGS) $${srcdiroption} \
16879 @stage2_werror_flag@
16880 @endif libdecnumber-bootstrap
16882 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16883 maybe-configure-stageprofile-libdecnumber:
16884 @if libdecnumber-bootstrap
16885 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16886 configure-stageprofile-libdecnumber:
16887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16889 @r=`${PWD_COMMAND}`; export r; \
16890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16891 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16892 $(HOST_EXPORTS) \
16893 $(POSTSTAGE1_HOST_EXPORTS) \
16894 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16896 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16897 case $(srcdir) in \
16898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16899 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16901 esac; \
16902 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16903 libsrcdir="$$s/libdecnumber"; \
16904 $(SHELL) $${libsrcdir}/configure \
16905 $(HOST_CONFIGARGS) $${srcdiroption} \
16906 @stage2_werror_flag@
16907 @endif libdecnumber-bootstrap
16909 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16910 maybe-configure-stagefeedback-libdecnumber:
16911 @if libdecnumber-bootstrap
16912 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16913 configure-stagefeedback-libdecnumber:
16914 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16915 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
16916 @r=`${PWD_COMMAND}`; export r; \
16917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16918 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16919 $(HOST_EXPORTS) \
16920 $(POSTSTAGE1_HOST_EXPORTS) \
16921 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16922 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16923 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16924 case $(srcdir) in \
16925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16926 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16928 esac; \
16929 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16930 libsrcdir="$$s/libdecnumber"; \
16931 $(SHELL) $${libsrcdir}/configure \
16932 $(HOST_CONFIGARGS) $${srcdiroption} \
16933 @stage2_werror_flag@
16934 @endif libdecnumber-bootstrap
16940 .PHONY: all-libdecnumber maybe-all-libdecnumber
16941 maybe-all-libdecnumber:
16942 @if libdecnumber
16943 TARGET-libdecnumber=all
16944 maybe-all-libdecnumber: all-libdecnumber
16945 all-libdecnumber: configure-libdecnumber
16946 @endif libdecnumber
16947 @if libdecnumber-bootstrap
16948 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16949 @endif libdecnumber-bootstrap
16950 @if libdecnumber
16951 @r=`${PWD_COMMAND}`; export r; \
16952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16953 $(HOST_EXPORTS) \
16954 (cd $(HOST_SUBDIR)/libdecnumber && \
16955 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16956 @endif libdecnumber
16960 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16961 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16962 maybe-all-stage1-libdecnumber:
16963 maybe-clean-stage1-libdecnumber:
16964 @if libdecnumber-bootstrap
16965 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16966 all-stage1: all-stage1-libdecnumber
16967 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16968 all-stage1-libdecnumber: configure-stage1-libdecnumber
16969 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16970 @r=`${PWD_COMMAND}`; export r; \
16971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16972 $(HOST_EXPORTS) \
16973 cd $(HOST_SUBDIR)/libdecnumber && \
16974 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16975 $(TARGET-stage1-libdecnumber)
16977 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16978 clean-stage1: clean-stage1-libdecnumber
16979 clean-stage1-libdecnumber:
16980 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16981 || exit 0 ; \
16982 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16983 cd $(HOST_SUBDIR)/libdecnumber && \
16984 $(MAKE) $(FLAGS_TO_PASS) \
16985 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16986 @endif libdecnumber-bootstrap
16989 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
16990 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
16991 maybe-all-stage2-libdecnumber:
16992 maybe-clean-stage2-libdecnumber:
16993 @if libdecnumber-bootstrap
16994 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
16995 all-stage2: all-stage2-libdecnumber
16996 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
16997 all-stage2-libdecnumber: configure-stage2-libdecnumber
16998 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16999 @r=`${PWD_COMMAND}`; export r; \
17000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17001 $(HOST_EXPORTS) \
17002 $(POSTSTAGE1_HOST_EXPORTS) \
17003 cd $(HOST_SUBDIR)/libdecnumber && \
17004 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17005 $(TARGET-stage2-libdecnumber)
17007 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
17008 clean-stage2: clean-stage2-libdecnumber
17009 clean-stage2-libdecnumber:
17010 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
17011 || exit 0 ; \
17012 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17013 cd $(HOST_SUBDIR)/libdecnumber && \
17014 $(MAKE) $(FLAGS_TO_PASS) \
17015 $(POSTSTAGE1_FLAGS_TO_PASS) \
17016 clean
17017 @endif libdecnumber-bootstrap
17020 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
17021 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
17022 maybe-all-stage3-libdecnumber:
17023 maybe-clean-stage3-libdecnumber:
17024 @if libdecnumber-bootstrap
17025 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
17026 all-stage3: all-stage3-libdecnumber
17027 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
17028 all-stage3-libdecnumber: configure-stage3-libdecnumber
17029 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17030 @r=`${PWD_COMMAND}`; export r; \
17031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17032 $(HOST_EXPORTS) \
17033 $(POSTSTAGE1_HOST_EXPORTS) \
17034 cd $(HOST_SUBDIR)/libdecnumber && \
17035 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17036 $(TARGET-stage3-libdecnumber)
17038 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
17039 clean-stage3: clean-stage3-libdecnumber
17040 clean-stage3-libdecnumber:
17041 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
17042 || exit 0 ; \
17043 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17044 cd $(HOST_SUBDIR)/libdecnumber && \
17045 $(MAKE) $(FLAGS_TO_PASS) \
17046 $(POSTSTAGE1_FLAGS_TO_PASS) \
17047 clean
17048 @endif libdecnumber-bootstrap
17051 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
17052 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
17053 maybe-all-stage4-libdecnumber:
17054 maybe-clean-stage4-libdecnumber:
17055 @if libdecnumber-bootstrap
17056 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
17057 all-stage4: all-stage4-libdecnumber
17058 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
17059 all-stage4-libdecnumber: configure-stage4-libdecnumber
17060 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17061 @r=`${PWD_COMMAND}`; export r; \
17062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17063 $(HOST_EXPORTS) \
17064 $(POSTSTAGE1_HOST_EXPORTS) \
17065 cd $(HOST_SUBDIR)/libdecnumber && \
17066 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17067 $(TARGET-stage4-libdecnumber)
17069 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
17070 clean-stage4: clean-stage4-libdecnumber
17071 clean-stage4-libdecnumber:
17072 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
17073 || exit 0 ; \
17074 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17075 cd $(HOST_SUBDIR)/libdecnumber && \
17076 $(MAKE) $(FLAGS_TO_PASS) \
17077 $(POSTSTAGE1_FLAGS_TO_PASS) \
17078 clean
17079 @endif libdecnumber-bootstrap
17082 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
17083 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
17084 maybe-all-stageprofile-libdecnumber:
17085 maybe-clean-stageprofile-libdecnumber:
17086 @if libdecnumber-bootstrap
17087 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
17088 all-stageprofile: all-stageprofile-libdecnumber
17089 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
17090 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17091 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17092 @r=`${PWD_COMMAND}`; export r; \
17093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17094 $(HOST_EXPORTS) \
17095 $(POSTSTAGE1_HOST_EXPORTS) \
17096 cd $(HOST_SUBDIR)/libdecnumber && \
17097 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17098 $(TARGET-stageprofile-libdecnumber)
17100 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
17101 clean-stageprofile: clean-stageprofile-libdecnumber
17102 clean-stageprofile-libdecnumber:
17103 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
17104 || exit 0 ; \
17105 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17106 cd $(HOST_SUBDIR)/libdecnumber && \
17107 $(MAKE) $(FLAGS_TO_PASS) \
17108 $(POSTSTAGE1_FLAGS_TO_PASS) \
17109 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17110 @endif libdecnumber-bootstrap
17113 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
17114 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
17115 maybe-all-stagefeedback-libdecnumber:
17116 maybe-clean-stagefeedback-libdecnumber:
17117 @if libdecnumber-bootstrap
17118 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
17119 all-stagefeedback: all-stagefeedback-libdecnumber
17120 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
17121 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17122 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17123 @r=`${PWD_COMMAND}`; export r; \
17124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17125 $(HOST_EXPORTS) \
17126 $(POSTSTAGE1_HOST_EXPORTS) \
17127 cd $(HOST_SUBDIR)/libdecnumber && \
17128 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17129 $(TARGET-stagefeedback-libdecnumber)
17131 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
17132 clean-stagefeedback: clean-stagefeedback-libdecnumber
17133 clean-stagefeedback-libdecnumber:
17134 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
17135 || exit 0 ; \
17136 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17137 cd $(HOST_SUBDIR)/libdecnumber && \
17138 $(MAKE) $(FLAGS_TO_PASS) \
17139 $(POSTSTAGE1_FLAGS_TO_PASS) \
17140 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17141 @endif libdecnumber-bootstrap
17147 .PHONY: check-libdecnumber maybe-check-libdecnumber
17148 maybe-check-libdecnumber:
17149 @if libdecnumber
17150 maybe-check-libdecnumber: check-libdecnumber
17152 check-libdecnumber:
17153 @: $(MAKE); $(unstage)
17154 @r=`${PWD_COMMAND}`; export r; \
17155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 $(HOST_EXPORTS) \
17157 (cd $(HOST_SUBDIR)/libdecnumber && \
17158 $(MAKE) $(FLAGS_TO_PASS) check)
17160 @endif libdecnumber
17162 .PHONY: install-libdecnumber maybe-install-libdecnumber
17163 maybe-install-libdecnumber:
17164 @if libdecnumber
17165 maybe-install-libdecnumber: install-libdecnumber
17167 install-libdecnumber: installdirs
17168 @: $(MAKE); $(unstage)
17169 @r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 $(HOST_EXPORTS) \
17172 (cd $(HOST_SUBDIR)/libdecnumber && \
17173 $(MAKE) $(FLAGS_TO_PASS) install)
17175 @endif libdecnumber
17177 # Other targets (info, dvi, etc.)
17179 .PHONY: maybe-info-libdecnumber info-libdecnumber
17180 maybe-info-libdecnumber:
17181 @if libdecnumber
17182 maybe-info-libdecnumber: info-libdecnumber
17184 info-libdecnumber: \
17185 configure-libdecnumber
17186 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17187 r=`${PWD_COMMAND}`; export r; \
17188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17189 $(HOST_EXPORTS) \
17190 for flag in $(EXTRA_HOST_FLAGS) ; do \
17191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17192 done; \
17193 echo "Doing info in libdecnumber" ; \
17194 (cd $(HOST_SUBDIR)/libdecnumber && \
17195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17197 "RANLIB=$${RANLIB}" \
17198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17199 info) \
17200 || exit 1
17202 @endif libdecnumber
17204 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
17205 maybe-dvi-libdecnumber:
17206 @if libdecnumber
17207 maybe-dvi-libdecnumber: dvi-libdecnumber
17209 dvi-libdecnumber: \
17210 configure-libdecnumber
17211 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17212 r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 $(HOST_EXPORTS) \
17215 for flag in $(EXTRA_HOST_FLAGS) ; do \
17216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17217 done; \
17218 echo "Doing dvi in libdecnumber" ; \
17219 (cd $(HOST_SUBDIR)/libdecnumber && \
17220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17222 "RANLIB=$${RANLIB}" \
17223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17224 dvi) \
17225 || exit 1
17227 @endif libdecnumber
17229 .PHONY: maybe-html-libdecnumber html-libdecnumber
17230 maybe-html-libdecnumber:
17231 @if libdecnumber
17232 maybe-html-libdecnumber: html-libdecnumber
17234 html-libdecnumber: \
17235 configure-libdecnumber
17236 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17237 r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 $(HOST_EXPORTS) \
17240 for flag in $(EXTRA_HOST_FLAGS) ; do \
17241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17242 done; \
17243 echo "Doing html in libdecnumber" ; \
17244 (cd $(HOST_SUBDIR)/libdecnumber && \
17245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17247 "RANLIB=$${RANLIB}" \
17248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17249 html) \
17250 || exit 1
17252 @endif libdecnumber
17254 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17255 maybe-TAGS-libdecnumber:
17256 @if libdecnumber
17257 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17259 TAGS-libdecnumber: \
17260 configure-libdecnumber
17261 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17262 r=`${PWD_COMMAND}`; export r; \
17263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17264 $(HOST_EXPORTS) \
17265 for flag in $(EXTRA_HOST_FLAGS) ; do \
17266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17267 done; \
17268 echo "Doing TAGS in libdecnumber" ; \
17269 (cd $(HOST_SUBDIR)/libdecnumber && \
17270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17272 "RANLIB=$${RANLIB}" \
17273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17274 TAGS) \
17275 || exit 1
17277 @endif libdecnumber
17279 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17280 maybe-install-info-libdecnumber:
17281 @if libdecnumber
17282 maybe-install-info-libdecnumber: install-info-libdecnumber
17284 install-info-libdecnumber: \
17285 configure-libdecnumber \
17286 info-libdecnumber
17287 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17288 r=`${PWD_COMMAND}`; export r; \
17289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17290 $(HOST_EXPORTS) \
17291 for flag in $(EXTRA_HOST_FLAGS) ; do \
17292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17293 done; \
17294 echo "Doing install-info in libdecnumber" ; \
17295 (cd $(HOST_SUBDIR)/libdecnumber && \
17296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17298 "RANLIB=$${RANLIB}" \
17299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17300 install-info) \
17301 || exit 1
17303 @endif libdecnumber
17305 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17306 maybe-installcheck-libdecnumber:
17307 @if libdecnumber
17308 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17310 installcheck-libdecnumber: \
17311 configure-libdecnumber
17312 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17313 r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17315 $(HOST_EXPORTS) \
17316 for flag in $(EXTRA_HOST_FLAGS) ; do \
17317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17318 done; \
17319 echo "Doing installcheck in libdecnumber" ; \
17320 (cd $(HOST_SUBDIR)/libdecnumber && \
17321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323 "RANLIB=$${RANLIB}" \
17324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17325 installcheck) \
17326 || exit 1
17328 @endif libdecnumber
17330 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17331 maybe-mostlyclean-libdecnumber:
17332 @if libdecnumber
17333 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17335 mostlyclean-libdecnumber:
17336 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17337 r=`${PWD_COMMAND}`; export r; \
17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339 $(HOST_EXPORTS) \
17340 for flag in $(EXTRA_HOST_FLAGS) ; do \
17341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17342 done; \
17343 echo "Doing mostlyclean in libdecnumber" ; \
17344 (cd $(HOST_SUBDIR)/libdecnumber && \
17345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17347 "RANLIB=$${RANLIB}" \
17348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17349 mostlyclean) \
17350 || exit 1
17352 @endif libdecnumber
17354 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17355 maybe-clean-libdecnumber:
17356 @if libdecnumber
17357 maybe-clean-libdecnumber: clean-libdecnumber
17359 clean-libdecnumber:
17360 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17361 r=`${PWD_COMMAND}`; export r; \
17362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17363 $(HOST_EXPORTS) \
17364 for flag in $(EXTRA_HOST_FLAGS) ; do \
17365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17366 done; \
17367 echo "Doing clean in libdecnumber" ; \
17368 (cd $(HOST_SUBDIR)/libdecnumber && \
17369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17371 "RANLIB=$${RANLIB}" \
17372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17373 clean) \
17374 || exit 1
17376 @endif libdecnumber
17378 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17379 maybe-distclean-libdecnumber:
17380 @if libdecnumber
17381 maybe-distclean-libdecnumber: distclean-libdecnumber
17383 distclean-libdecnumber:
17384 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17385 r=`${PWD_COMMAND}`; export r; \
17386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17387 $(HOST_EXPORTS) \
17388 for flag in $(EXTRA_HOST_FLAGS) ; do \
17389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17390 done; \
17391 echo "Doing distclean in libdecnumber" ; \
17392 (cd $(HOST_SUBDIR)/libdecnumber && \
17393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17395 "RANLIB=$${RANLIB}" \
17396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17397 distclean) \
17398 || exit 1
17400 @endif libdecnumber
17402 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17403 maybe-maintainer-clean-libdecnumber:
17404 @if libdecnumber
17405 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17407 maintainer-clean-libdecnumber:
17408 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17409 r=`${PWD_COMMAND}`; export r; \
17410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17411 $(HOST_EXPORTS) \
17412 for flag in $(EXTRA_HOST_FLAGS) ; do \
17413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17414 done; \
17415 echo "Doing maintainer-clean in libdecnumber" ; \
17416 (cd $(HOST_SUBDIR)/libdecnumber && \
17417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17419 "RANLIB=$${RANLIB}" \
17420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17421 maintainer-clean) \
17422 || exit 1
17424 @endif libdecnumber
17428 .PHONY: configure-libgui maybe-configure-libgui
17429 maybe-configure-libgui:
17430 @if libgui
17431 maybe-configure-libgui: configure-libgui
17432 configure-libgui:
17433 @: $(MAKE); $(unstage)
17434 @r=`${PWD_COMMAND}`; export r; \
17435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17436 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17438 $(HOST_EXPORTS) \
17439 echo Configuring in $(HOST_SUBDIR)/libgui; \
17440 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17441 case $(srcdir) in \
17442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17443 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17445 esac; \
17446 srcdiroption="--srcdir=$${topdir}/libgui"; \
17447 libsrcdir="$$s/libgui"; \
17448 $(SHELL) $${libsrcdir}/configure \
17449 $(HOST_CONFIGARGS) $${srcdiroption} \
17450 || exit 1
17451 @endif libgui
17457 .PHONY: all-libgui maybe-all-libgui
17458 maybe-all-libgui:
17459 @if libgui
17460 TARGET-libgui=all
17461 maybe-all-libgui: all-libgui
17462 all-libgui: configure-libgui
17463 @: $(MAKE); $(unstage)
17464 @r=`${PWD_COMMAND}`; export r; \
17465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17466 $(HOST_EXPORTS) \
17467 (cd $(HOST_SUBDIR)/libgui && \
17468 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17469 @endif libgui
17474 .PHONY: check-libgui maybe-check-libgui
17475 maybe-check-libgui:
17476 @if libgui
17477 maybe-check-libgui: check-libgui
17479 check-libgui:
17480 @: $(MAKE); $(unstage)
17481 @r=`${PWD_COMMAND}`; export r; \
17482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17483 $(HOST_EXPORTS) \
17484 (cd $(HOST_SUBDIR)/libgui && \
17485 $(MAKE) $(FLAGS_TO_PASS) check)
17487 @endif libgui
17489 .PHONY: install-libgui maybe-install-libgui
17490 maybe-install-libgui:
17491 @if libgui
17492 maybe-install-libgui: install-libgui
17494 install-libgui: installdirs
17495 @: $(MAKE); $(unstage)
17496 @r=`${PWD_COMMAND}`; export r; \
17497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17498 $(HOST_EXPORTS) \
17499 (cd $(HOST_SUBDIR)/libgui && \
17500 $(MAKE) $(FLAGS_TO_PASS) install)
17502 @endif libgui
17504 # Other targets (info, dvi, etc.)
17506 .PHONY: maybe-info-libgui info-libgui
17507 maybe-info-libgui:
17508 @if libgui
17509 maybe-info-libgui: info-libgui
17511 info-libgui: \
17512 configure-libgui
17513 @: $(MAKE); $(unstage)
17514 @[ -f ./libgui/Makefile ] || exit 0; \
17515 r=`${PWD_COMMAND}`; export r; \
17516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517 $(HOST_EXPORTS) \
17518 for flag in $(EXTRA_HOST_FLAGS) ; do \
17519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17520 done; \
17521 echo "Doing info in libgui" ; \
17522 (cd $(HOST_SUBDIR)/libgui && \
17523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17525 "RANLIB=$${RANLIB}" \
17526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17527 info) \
17528 || exit 1
17530 @endif libgui
17532 .PHONY: maybe-dvi-libgui dvi-libgui
17533 maybe-dvi-libgui:
17534 @if libgui
17535 maybe-dvi-libgui: dvi-libgui
17537 dvi-libgui: \
17538 configure-libgui
17539 @: $(MAKE); $(unstage)
17540 @[ -f ./libgui/Makefile ] || exit 0; \
17541 r=`${PWD_COMMAND}`; export r; \
17542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17543 $(HOST_EXPORTS) \
17544 for flag in $(EXTRA_HOST_FLAGS) ; do \
17545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17546 done; \
17547 echo "Doing dvi in libgui" ; \
17548 (cd $(HOST_SUBDIR)/libgui && \
17549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17551 "RANLIB=$${RANLIB}" \
17552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17553 dvi) \
17554 || exit 1
17556 @endif libgui
17558 .PHONY: maybe-html-libgui html-libgui
17559 maybe-html-libgui:
17560 @if libgui
17561 maybe-html-libgui: html-libgui
17563 html-libgui: \
17564 configure-libgui
17565 @: $(MAKE); $(unstage)
17566 @[ -f ./libgui/Makefile ] || exit 0; \
17567 r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17569 $(HOST_EXPORTS) \
17570 for flag in $(EXTRA_HOST_FLAGS) ; do \
17571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17572 done; \
17573 echo "Doing html in libgui" ; \
17574 (cd $(HOST_SUBDIR)/libgui && \
17575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17577 "RANLIB=$${RANLIB}" \
17578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17579 html) \
17580 || exit 1
17582 @endif libgui
17584 .PHONY: maybe-TAGS-libgui TAGS-libgui
17585 maybe-TAGS-libgui:
17586 @if libgui
17587 maybe-TAGS-libgui: TAGS-libgui
17589 TAGS-libgui: \
17590 configure-libgui
17591 @: $(MAKE); $(unstage)
17592 @[ -f ./libgui/Makefile ] || exit 0; \
17593 r=`${PWD_COMMAND}`; export r; \
17594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17595 $(HOST_EXPORTS) \
17596 for flag in $(EXTRA_HOST_FLAGS) ; do \
17597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17598 done; \
17599 echo "Doing TAGS in libgui" ; \
17600 (cd $(HOST_SUBDIR)/libgui && \
17601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17603 "RANLIB=$${RANLIB}" \
17604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17605 TAGS) \
17606 || exit 1
17608 @endif libgui
17610 .PHONY: maybe-install-info-libgui install-info-libgui
17611 maybe-install-info-libgui:
17612 @if libgui
17613 maybe-install-info-libgui: install-info-libgui
17615 install-info-libgui: \
17616 configure-libgui \
17617 info-libgui
17618 @: $(MAKE); $(unstage)
17619 @[ -f ./libgui/Makefile ] || exit 0; \
17620 r=`${PWD_COMMAND}`; export r; \
17621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17622 $(HOST_EXPORTS) \
17623 for flag in $(EXTRA_HOST_FLAGS) ; do \
17624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17625 done; \
17626 echo "Doing install-info in libgui" ; \
17627 (cd $(HOST_SUBDIR)/libgui && \
17628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17630 "RANLIB=$${RANLIB}" \
17631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17632 install-info) \
17633 || exit 1
17635 @endif libgui
17637 .PHONY: maybe-installcheck-libgui installcheck-libgui
17638 maybe-installcheck-libgui:
17639 @if libgui
17640 maybe-installcheck-libgui: installcheck-libgui
17642 installcheck-libgui: \
17643 configure-libgui
17644 @: $(MAKE); $(unstage)
17645 @[ -f ./libgui/Makefile ] || exit 0; \
17646 r=`${PWD_COMMAND}`; export r; \
17647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17648 $(HOST_EXPORTS) \
17649 for flag in $(EXTRA_HOST_FLAGS) ; do \
17650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17651 done; \
17652 echo "Doing installcheck in libgui" ; \
17653 (cd $(HOST_SUBDIR)/libgui && \
17654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17656 "RANLIB=$${RANLIB}" \
17657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17658 installcheck) \
17659 || exit 1
17661 @endif libgui
17663 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17664 maybe-mostlyclean-libgui:
17665 @if libgui
17666 maybe-mostlyclean-libgui: mostlyclean-libgui
17668 mostlyclean-libgui:
17669 @: $(MAKE); $(unstage)
17670 @[ -f ./libgui/Makefile ] || exit 0; \
17671 r=`${PWD_COMMAND}`; export r; \
17672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17673 $(HOST_EXPORTS) \
17674 for flag in $(EXTRA_HOST_FLAGS) ; do \
17675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17676 done; \
17677 echo "Doing mostlyclean in libgui" ; \
17678 (cd $(HOST_SUBDIR)/libgui && \
17679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17681 "RANLIB=$${RANLIB}" \
17682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17683 mostlyclean) \
17684 || exit 1
17686 @endif libgui
17688 .PHONY: maybe-clean-libgui clean-libgui
17689 maybe-clean-libgui:
17690 @if libgui
17691 maybe-clean-libgui: clean-libgui
17693 clean-libgui:
17694 @: $(MAKE); $(unstage)
17695 @[ -f ./libgui/Makefile ] || exit 0; \
17696 r=`${PWD_COMMAND}`; export r; \
17697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17698 $(HOST_EXPORTS) \
17699 for flag in $(EXTRA_HOST_FLAGS) ; do \
17700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17701 done; \
17702 echo "Doing clean in libgui" ; \
17703 (cd $(HOST_SUBDIR)/libgui && \
17704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17706 "RANLIB=$${RANLIB}" \
17707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17708 clean) \
17709 || exit 1
17711 @endif libgui
17713 .PHONY: maybe-distclean-libgui distclean-libgui
17714 maybe-distclean-libgui:
17715 @if libgui
17716 maybe-distclean-libgui: distclean-libgui
17718 distclean-libgui:
17719 @: $(MAKE); $(unstage)
17720 @[ -f ./libgui/Makefile ] || exit 0; \
17721 r=`${PWD_COMMAND}`; export r; \
17722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17723 $(HOST_EXPORTS) \
17724 for flag in $(EXTRA_HOST_FLAGS) ; do \
17725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17726 done; \
17727 echo "Doing distclean in libgui" ; \
17728 (cd $(HOST_SUBDIR)/libgui && \
17729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17731 "RANLIB=$${RANLIB}" \
17732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17733 distclean) \
17734 || exit 1
17736 @endif libgui
17738 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17739 maybe-maintainer-clean-libgui:
17740 @if libgui
17741 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17743 maintainer-clean-libgui:
17744 @: $(MAKE); $(unstage)
17745 @[ -f ./libgui/Makefile ] || exit 0; \
17746 r=`${PWD_COMMAND}`; export r; \
17747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17748 $(HOST_EXPORTS) \
17749 for flag in $(EXTRA_HOST_FLAGS) ; do \
17750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17751 done; \
17752 echo "Doing maintainer-clean in libgui" ; \
17753 (cd $(HOST_SUBDIR)/libgui && \
17754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17756 "RANLIB=$${RANLIB}" \
17757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17758 maintainer-clean) \
17759 || exit 1
17761 @endif libgui
17765 .PHONY: configure-libiberty maybe-configure-libiberty
17766 maybe-configure-libiberty:
17767 @if libiberty
17768 maybe-configure-libiberty: configure-libiberty
17769 configure-libiberty:
17770 @endif libiberty
17771 @if libiberty-bootstrap
17772 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17773 @endif libiberty-bootstrap
17774 @if libiberty
17775 @r=`${PWD_COMMAND}`; export r; \
17776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17777 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17779 $(HOST_EXPORTS) \
17780 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17781 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17782 case $(srcdir) in \
17783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17784 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17786 esac; \
17787 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17788 libsrcdir="$$s/libiberty"; \
17789 $(SHELL) $${libsrcdir}/configure \
17790 $(HOST_CONFIGARGS) $${srcdiroption} \
17791 || exit 1
17792 @endif libiberty
17796 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17797 maybe-configure-stage1-libiberty:
17798 @if libiberty-bootstrap
17799 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17800 configure-stage1-libiberty:
17801 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17803 @r=`${PWD_COMMAND}`; export r; \
17804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17805 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17806 $(HOST_EXPORTS) \
17807 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17809 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17810 case $(srcdir) in \
17811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17812 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17814 esac; \
17815 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17816 libsrcdir="$$s/libiberty"; \
17817 $(SHELL) $${libsrcdir}/configure \
17818 $(HOST_CONFIGARGS) $${srcdiroption} \
17819 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17820 @endif libiberty-bootstrap
17822 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17823 maybe-configure-stage2-libiberty:
17824 @if libiberty-bootstrap
17825 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17826 configure-stage2-libiberty:
17827 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17828 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17829 @r=`${PWD_COMMAND}`; export r; \
17830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17831 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17832 $(HOST_EXPORTS) \
17833 $(POSTSTAGE1_HOST_EXPORTS) \
17834 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17836 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17837 case $(srcdir) in \
17838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17839 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17841 esac; \
17842 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17843 libsrcdir="$$s/libiberty"; \
17844 $(SHELL) $${libsrcdir}/configure \
17845 $(HOST_CONFIGARGS) $${srcdiroption} \
17846 @stage2_werror_flag@
17847 @endif libiberty-bootstrap
17849 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17850 maybe-configure-stage3-libiberty:
17851 @if libiberty-bootstrap
17852 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17853 configure-stage3-libiberty:
17854 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17856 @r=`${PWD_COMMAND}`; export r; \
17857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17858 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17859 $(HOST_EXPORTS) \
17860 $(POSTSTAGE1_HOST_EXPORTS) \
17861 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17862 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17863 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17864 case $(srcdir) in \
17865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17866 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17868 esac; \
17869 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17870 libsrcdir="$$s/libiberty"; \
17871 $(SHELL) $${libsrcdir}/configure \
17872 $(HOST_CONFIGARGS) $${srcdiroption} \
17873 @stage2_werror_flag@
17874 @endif libiberty-bootstrap
17876 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17877 maybe-configure-stage4-libiberty:
17878 @if libiberty-bootstrap
17879 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17880 configure-stage4-libiberty:
17881 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17883 @r=`${PWD_COMMAND}`; export r; \
17884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17885 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17886 $(HOST_EXPORTS) \
17887 $(POSTSTAGE1_HOST_EXPORTS) \
17888 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17890 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17891 case $(srcdir) in \
17892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17893 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17895 esac; \
17896 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17897 libsrcdir="$$s/libiberty"; \
17898 $(SHELL) $${libsrcdir}/configure \
17899 $(HOST_CONFIGARGS) $${srcdiroption} \
17900 @stage2_werror_flag@
17901 @endif libiberty-bootstrap
17903 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17904 maybe-configure-stageprofile-libiberty:
17905 @if libiberty-bootstrap
17906 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17907 configure-stageprofile-libiberty:
17908 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17910 @r=`${PWD_COMMAND}`; export r; \
17911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17912 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17913 $(HOST_EXPORTS) \
17914 $(POSTSTAGE1_HOST_EXPORTS) \
17915 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17917 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17918 case $(srcdir) in \
17919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17920 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17922 esac; \
17923 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17924 libsrcdir="$$s/libiberty"; \
17925 $(SHELL) $${libsrcdir}/configure \
17926 $(HOST_CONFIGARGS) $${srcdiroption} \
17927 @stage2_werror_flag@
17928 @endif libiberty-bootstrap
17930 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17931 maybe-configure-stagefeedback-libiberty:
17932 @if libiberty-bootstrap
17933 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17934 configure-stagefeedback-libiberty:
17935 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
17937 @r=`${PWD_COMMAND}`; export r; \
17938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17939 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17940 $(HOST_EXPORTS) \
17941 $(POSTSTAGE1_HOST_EXPORTS) \
17942 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17944 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17945 case $(srcdir) in \
17946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17947 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17949 esac; \
17950 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17951 libsrcdir="$$s/libiberty"; \
17952 $(SHELL) $${libsrcdir}/configure \
17953 $(HOST_CONFIGARGS) $${srcdiroption} \
17954 @stage2_werror_flag@
17955 @endif libiberty-bootstrap
17961 .PHONY: all-libiberty maybe-all-libiberty
17962 maybe-all-libiberty:
17963 @if libiberty
17964 TARGET-libiberty=all
17965 maybe-all-libiberty: all-libiberty
17966 all-libiberty: configure-libiberty
17967 @endif libiberty
17968 @if libiberty-bootstrap
17969 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17970 @endif libiberty-bootstrap
17971 @if libiberty
17972 @r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 $(HOST_EXPORTS) \
17975 (cd $(HOST_SUBDIR)/libiberty && \
17976 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17977 @endif libiberty
17981 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17982 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17983 maybe-all-stage1-libiberty:
17984 maybe-clean-stage1-libiberty:
17985 @if libiberty-bootstrap
17986 maybe-all-stage1-libiberty: all-stage1-libiberty
17987 all-stage1: all-stage1-libiberty
17988 TARGET-stage1-libiberty = $(TARGET-libiberty)
17989 all-stage1-libiberty: configure-stage1-libiberty
17990 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17991 @r=`${PWD_COMMAND}`; export r; \
17992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17993 $(HOST_EXPORTS) \
17994 cd $(HOST_SUBDIR)/libiberty && \
17995 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17996 $(TARGET-stage1-libiberty)
17998 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17999 clean-stage1: clean-stage1-libiberty
18000 clean-stage1-libiberty:
18001 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
18002 || exit 0 ; \
18003 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18004 cd $(HOST_SUBDIR)/libiberty && \
18005 $(MAKE) $(FLAGS_TO_PASS) \
18006 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18007 @endif libiberty-bootstrap
18010 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
18011 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
18012 maybe-all-stage2-libiberty:
18013 maybe-clean-stage2-libiberty:
18014 @if libiberty-bootstrap
18015 maybe-all-stage2-libiberty: all-stage2-libiberty
18016 all-stage2: all-stage2-libiberty
18017 TARGET-stage2-libiberty = $(TARGET-libiberty)
18018 all-stage2-libiberty: configure-stage2-libiberty
18019 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18020 @r=`${PWD_COMMAND}`; export r; \
18021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18022 $(HOST_EXPORTS) \
18023 $(POSTSTAGE1_HOST_EXPORTS) \
18024 cd $(HOST_SUBDIR)/libiberty && \
18025 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18026 $(TARGET-stage2-libiberty)
18028 maybe-clean-stage2-libiberty: clean-stage2-libiberty
18029 clean-stage2: clean-stage2-libiberty
18030 clean-stage2-libiberty:
18031 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
18032 || exit 0 ; \
18033 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18034 cd $(HOST_SUBDIR)/libiberty && \
18035 $(MAKE) $(FLAGS_TO_PASS) \
18036 $(POSTSTAGE1_FLAGS_TO_PASS) \
18037 clean
18038 @endif libiberty-bootstrap
18041 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
18042 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
18043 maybe-all-stage3-libiberty:
18044 maybe-clean-stage3-libiberty:
18045 @if libiberty-bootstrap
18046 maybe-all-stage3-libiberty: all-stage3-libiberty
18047 all-stage3: all-stage3-libiberty
18048 TARGET-stage3-libiberty = $(TARGET-libiberty)
18049 all-stage3-libiberty: configure-stage3-libiberty
18050 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18051 @r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 $(HOST_EXPORTS) \
18054 $(POSTSTAGE1_HOST_EXPORTS) \
18055 cd $(HOST_SUBDIR)/libiberty && \
18056 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18057 $(TARGET-stage3-libiberty)
18059 maybe-clean-stage3-libiberty: clean-stage3-libiberty
18060 clean-stage3: clean-stage3-libiberty
18061 clean-stage3-libiberty:
18062 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
18063 || exit 0 ; \
18064 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18065 cd $(HOST_SUBDIR)/libiberty && \
18066 $(MAKE) $(FLAGS_TO_PASS) \
18067 $(POSTSTAGE1_FLAGS_TO_PASS) \
18068 clean
18069 @endif libiberty-bootstrap
18072 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
18073 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
18074 maybe-all-stage4-libiberty:
18075 maybe-clean-stage4-libiberty:
18076 @if libiberty-bootstrap
18077 maybe-all-stage4-libiberty: all-stage4-libiberty
18078 all-stage4: all-stage4-libiberty
18079 TARGET-stage4-libiberty = $(TARGET-libiberty)
18080 all-stage4-libiberty: configure-stage4-libiberty
18081 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18082 @r=`${PWD_COMMAND}`; export r; \
18083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18084 $(HOST_EXPORTS) \
18085 $(POSTSTAGE1_HOST_EXPORTS) \
18086 cd $(HOST_SUBDIR)/libiberty && \
18087 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18088 $(TARGET-stage4-libiberty)
18090 maybe-clean-stage4-libiberty: clean-stage4-libiberty
18091 clean-stage4: clean-stage4-libiberty
18092 clean-stage4-libiberty:
18093 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
18094 || exit 0 ; \
18095 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18096 cd $(HOST_SUBDIR)/libiberty && \
18097 $(MAKE) $(FLAGS_TO_PASS) \
18098 $(POSTSTAGE1_FLAGS_TO_PASS) \
18099 clean
18100 @endif libiberty-bootstrap
18103 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
18104 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
18105 maybe-all-stageprofile-libiberty:
18106 maybe-clean-stageprofile-libiberty:
18107 @if libiberty-bootstrap
18108 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
18109 all-stageprofile: all-stageprofile-libiberty
18110 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
18111 all-stageprofile-libiberty: configure-stageprofile-libiberty
18112 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18113 @r=`${PWD_COMMAND}`; export r; \
18114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18115 $(HOST_EXPORTS) \
18116 $(POSTSTAGE1_HOST_EXPORTS) \
18117 cd $(HOST_SUBDIR)/libiberty && \
18118 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18119 $(TARGET-stageprofile-libiberty)
18121 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
18122 clean-stageprofile: clean-stageprofile-libiberty
18123 clean-stageprofile-libiberty:
18124 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
18125 || exit 0 ; \
18126 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18127 cd $(HOST_SUBDIR)/libiberty && \
18128 $(MAKE) $(FLAGS_TO_PASS) \
18129 $(POSTSTAGE1_FLAGS_TO_PASS) \
18130 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18131 @endif libiberty-bootstrap
18134 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
18135 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
18136 maybe-all-stagefeedback-libiberty:
18137 maybe-clean-stagefeedback-libiberty:
18138 @if libiberty-bootstrap
18139 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
18140 all-stagefeedback: all-stagefeedback-libiberty
18141 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
18142 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
18143 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18144 @r=`${PWD_COMMAND}`; export r; \
18145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 $(HOST_EXPORTS) \
18147 $(POSTSTAGE1_HOST_EXPORTS) \
18148 cd $(HOST_SUBDIR)/libiberty && \
18149 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18150 $(TARGET-stagefeedback-libiberty)
18152 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
18153 clean-stagefeedback: clean-stagefeedback-libiberty
18154 clean-stagefeedback-libiberty:
18155 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
18156 || exit 0 ; \
18157 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18158 cd $(HOST_SUBDIR)/libiberty && \
18159 $(MAKE) $(FLAGS_TO_PASS) \
18160 $(POSTSTAGE1_FLAGS_TO_PASS) \
18161 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18162 @endif libiberty-bootstrap
18168 .PHONY: check-libiberty maybe-check-libiberty
18169 maybe-check-libiberty:
18170 @if libiberty
18171 maybe-check-libiberty: check-libiberty
18173 check-libiberty:
18174 @: $(MAKE); $(unstage)
18175 @r=`${PWD_COMMAND}`; export r; \
18176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18177 $(HOST_EXPORTS) \
18178 (cd $(HOST_SUBDIR)/libiberty && \
18179 $(MAKE) $(FLAGS_TO_PASS) check)
18181 @endif libiberty
18183 .PHONY: install-libiberty maybe-install-libiberty
18184 maybe-install-libiberty:
18185 @if libiberty
18186 maybe-install-libiberty: install-libiberty
18188 install-libiberty: installdirs
18189 @: $(MAKE); $(unstage)
18190 @r=`${PWD_COMMAND}`; export r; \
18191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 $(HOST_EXPORTS) \
18193 (cd $(HOST_SUBDIR)/libiberty && \
18194 $(MAKE) $(FLAGS_TO_PASS) install)
18196 @endif libiberty
18198 # Other targets (info, dvi, etc.)
18200 .PHONY: maybe-info-libiberty info-libiberty
18201 maybe-info-libiberty:
18202 @if libiberty
18203 maybe-info-libiberty: info-libiberty
18205 info-libiberty: \
18206 configure-libiberty
18207 @[ -f ./libiberty/Makefile ] || exit 0; \
18208 r=`${PWD_COMMAND}`; export r; \
18209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18210 $(HOST_EXPORTS) \
18211 for flag in $(EXTRA_HOST_FLAGS) ; do \
18212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18213 done; \
18214 echo "Doing info in libiberty" ; \
18215 (cd $(HOST_SUBDIR)/libiberty && \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18218 "RANLIB=$${RANLIB}" \
18219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18220 info) \
18221 || exit 1
18223 @endif libiberty
18225 .PHONY: maybe-dvi-libiberty dvi-libiberty
18226 maybe-dvi-libiberty:
18227 @if libiberty
18228 maybe-dvi-libiberty: dvi-libiberty
18230 dvi-libiberty: \
18231 configure-libiberty
18232 @[ -f ./libiberty/Makefile ] || exit 0; \
18233 r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 $(HOST_EXPORTS) \
18236 for flag in $(EXTRA_HOST_FLAGS) ; do \
18237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18238 done; \
18239 echo "Doing dvi in libiberty" ; \
18240 (cd $(HOST_SUBDIR)/libiberty && \
18241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18243 "RANLIB=$${RANLIB}" \
18244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18245 dvi) \
18246 || exit 1
18248 @endif libiberty
18250 .PHONY: maybe-html-libiberty html-libiberty
18251 maybe-html-libiberty:
18252 @if libiberty
18253 maybe-html-libiberty: html-libiberty
18255 html-libiberty: \
18256 configure-libiberty
18257 @[ -f ./libiberty/Makefile ] || exit 0; \
18258 r=`${PWD_COMMAND}`; export r; \
18259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 $(HOST_EXPORTS) \
18261 for flag in $(EXTRA_HOST_FLAGS) ; do \
18262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18263 done; \
18264 echo "Doing html in libiberty" ; \
18265 (cd $(HOST_SUBDIR)/libiberty && \
18266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18268 "RANLIB=$${RANLIB}" \
18269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18270 html) \
18271 || exit 1
18273 @endif libiberty
18275 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18276 maybe-TAGS-libiberty:
18277 @if libiberty
18278 maybe-TAGS-libiberty: TAGS-libiberty
18280 TAGS-libiberty: \
18281 configure-libiberty
18282 @[ -f ./libiberty/Makefile ] || exit 0; \
18283 r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 $(HOST_EXPORTS) \
18286 for flag in $(EXTRA_HOST_FLAGS) ; do \
18287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18288 done; \
18289 echo "Doing TAGS in libiberty" ; \
18290 (cd $(HOST_SUBDIR)/libiberty && \
18291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18293 "RANLIB=$${RANLIB}" \
18294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18295 TAGS) \
18296 || exit 1
18298 @endif libiberty
18300 .PHONY: maybe-install-info-libiberty install-info-libiberty
18301 maybe-install-info-libiberty:
18302 @if libiberty
18303 maybe-install-info-libiberty: install-info-libiberty
18305 install-info-libiberty: \
18306 configure-libiberty \
18307 info-libiberty
18308 @[ -f ./libiberty/Makefile ] || exit 0; \
18309 r=`${PWD_COMMAND}`; export r; \
18310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18311 $(HOST_EXPORTS) \
18312 for flag in $(EXTRA_HOST_FLAGS) ; do \
18313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18314 done; \
18315 echo "Doing install-info in libiberty" ; \
18316 (cd $(HOST_SUBDIR)/libiberty && \
18317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18319 "RANLIB=$${RANLIB}" \
18320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18321 install-info) \
18322 || exit 1
18324 @endif libiberty
18326 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18327 maybe-installcheck-libiberty:
18328 @if libiberty
18329 maybe-installcheck-libiberty: installcheck-libiberty
18331 installcheck-libiberty: \
18332 configure-libiberty
18333 @[ -f ./libiberty/Makefile ] || exit 0; \
18334 r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(HOST_EXPORTS) \
18337 for flag in $(EXTRA_HOST_FLAGS) ; do \
18338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18339 done; \
18340 echo "Doing installcheck in libiberty" ; \
18341 (cd $(HOST_SUBDIR)/libiberty && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18344 "RANLIB=$${RANLIB}" \
18345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18346 installcheck) \
18347 || exit 1
18349 @endif libiberty
18351 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18352 maybe-mostlyclean-libiberty:
18353 @if libiberty
18354 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18356 mostlyclean-libiberty:
18357 @[ -f ./libiberty/Makefile ] || exit 0; \
18358 r=`${PWD_COMMAND}`; export r; \
18359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18360 $(HOST_EXPORTS) \
18361 for flag in $(EXTRA_HOST_FLAGS) ; do \
18362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18363 done; \
18364 echo "Doing mostlyclean in libiberty" ; \
18365 (cd $(HOST_SUBDIR)/libiberty && \
18366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18368 "RANLIB=$${RANLIB}" \
18369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18370 mostlyclean) \
18371 || exit 1
18373 @endif libiberty
18375 .PHONY: maybe-clean-libiberty clean-libiberty
18376 maybe-clean-libiberty:
18377 @if libiberty
18378 maybe-clean-libiberty: clean-libiberty
18380 clean-libiberty:
18381 @[ -f ./libiberty/Makefile ] || exit 0; \
18382 r=`${PWD_COMMAND}`; export r; \
18383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18384 $(HOST_EXPORTS) \
18385 for flag in $(EXTRA_HOST_FLAGS) ; do \
18386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18387 done; \
18388 echo "Doing clean in libiberty" ; \
18389 (cd $(HOST_SUBDIR)/libiberty && \
18390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18392 "RANLIB=$${RANLIB}" \
18393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18394 clean) \
18395 || exit 1
18397 @endif libiberty
18399 .PHONY: maybe-distclean-libiberty distclean-libiberty
18400 maybe-distclean-libiberty:
18401 @if libiberty
18402 maybe-distclean-libiberty: distclean-libiberty
18404 distclean-libiberty:
18405 @[ -f ./libiberty/Makefile ] || exit 0; \
18406 r=`${PWD_COMMAND}`; export r; \
18407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18408 $(HOST_EXPORTS) \
18409 for flag in $(EXTRA_HOST_FLAGS) ; do \
18410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18411 done; \
18412 echo "Doing distclean in libiberty" ; \
18413 (cd $(HOST_SUBDIR)/libiberty && \
18414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18416 "RANLIB=$${RANLIB}" \
18417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18418 distclean) \
18419 || exit 1
18421 @endif libiberty
18423 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18424 maybe-maintainer-clean-libiberty:
18425 @if libiberty
18426 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18428 maintainer-clean-libiberty:
18429 @[ -f ./libiberty/Makefile ] || exit 0; \
18430 r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 $(HOST_EXPORTS) \
18433 for flag in $(EXTRA_HOST_FLAGS) ; do \
18434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18435 done; \
18436 echo "Doing maintainer-clean in libiberty" ; \
18437 (cd $(HOST_SUBDIR)/libiberty && \
18438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18440 "RANLIB=$${RANLIB}" \
18441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18442 maintainer-clean) \
18443 || exit 1
18445 @endif libiberty
18449 .PHONY: configure-libtool maybe-configure-libtool
18450 maybe-configure-libtool:
18451 @if libtool
18452 maybe-configure-libtool: configure-libtool
18453 configure-libtool:
18454 @: $(MAKE); $(unstage)
18455 @r=`${PWD_COMMAND}`; export r; \
18456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18459 $(HOST_EXPORTS) \
18460 echo Configuring in $(HOST_SUBDIR)/libtool; \
18461 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18462 case $(srcdir) in \
18463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18464 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18466 esac; \
18467 srcdiroption="--srcdir=$${topdir}/libtool"; \
18468 libsrcdir="$$s/libtool"; \
18469 $(SHELL) $${libsrcdir}/configure \
18470 $(HOST_CONFIGARGS) $${srcdiroption} \
18471 || exit 1
18472 @endif libtool
18478 .PHONY: all-libtool maybe-all-libtool
18479 maybe-all-libtool:
18480 @if libtool
18481 TARGET-libtool=all
18482 maybe-all-libtool: all-libtool
18483 all-libtool: configure-libtool
18484 @: $(MAKE); $(unstage)
18485 @r=`${PWD_COMMAND}`; export r; \
18486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18487 $(HOST_EXPORTS) \
18488 (cd $(HOST_SUBDIR)/libtool && \
18489 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18490 @endif libtool
18495 .PHONY: check-libtool maybe-check-libtool
18496 maybe-check-libtool:
18497 @if libtool
18498 maybe-check-libtool: check-libtool
18500 check-libtool:
18501 @: $(MAKE); $(unstage)
18502 @r=`${PWD_COMMAND}`; export r; \
18503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18504 $(HOST_EXPORTS) \
18505 (cd $(HOST_SUBDIR)/libtool && \
18506 $(MAKE) $(FLAGS_TO_PASS) check)
18508 @endif libtool
18510 .PHONY: install-libtool maybe-install-libtool
18511 maybe-install-libtool:
18512 @if libtool
18513 maybe-install-libtool: install-libtool
18515 install-libtool: installdirs
18516 @: $(MAKE); $(unstage)
18517 @r=`${PWD_COMMAND}`; export r; \
18518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18519 $(HOST_EXPORTS) \
18520 (cd $(HOST_SUBDIR)/libtool && \
18521 $(MAKE) $(FLAGS_TO_PASS) install)
18523 @endif libtool
18525 # Other targets (info, dvi, etc.)
18527 .PHONY: maybe-info-libtool info-libtool
18528 maybe-info-libtool:
18529 @if libtool
18530 maybe-info-libtool: info-libtool
18532 info-libtool: \
18533 configure-libtool
18534 @: $(MAKE); $(unstage)
18535 @[ -f ./libtool/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 $(HOST_EXPORTS) \
18539 for flag in $(EXTRA_HOST_FLAGS) ; do \
18540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18541 done; \
18542 echo "Doing info in libtool" ; \
18543 (cd $(HOST_SUBDIR)/libtool && \
18544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18546 "RANLIB=$${RANLIB}" \
18547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18548 info) \
18549 || exit 1
18551 @endif libtool
18553 .PHONY: maybe-dvi-libtool dvi-libtool
18554 maybe-dvi-libtool:
18555 @if libtool
18556 maybe-dvi-libtool: dvi-libtool
18558 dvi-libtool: \
18559 configure-libtool
18560 @: $(MAKE); $(unstage)
18561 @[ -f ./libtool/Makefile ] || exit 0; \
18562 r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 $(HOST_EXPORTS) \
18565 for flag in $(EXTRA_HOST_FLAGS) ; do \
18566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18567 done; \
18568 echo "Doing dvi in libtool" ; \
18569 (cd $(HOST_SUBDIR)/libtool && \
18570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18572 "RANLIB=$${RANLIB}" \
18573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18574 dvi) \
18575 || exit 1
18577 @endif libtool
18579 .PHONY: maybe-html-libtool html-libtool
18580 maybe-html-libtool:
18581 @if libtool
18582 maybe-html-libtool: html-libtool
18584 html-libtool: \
18585 configure-libtool
18586 @: $(MAKE); $(unstage)
18587 @[ -f ./libtool/Makefile ] || exit 0; \
18588 r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18590 $(HOST_EXPORTS) \
18591 for flag in $(EXTRA_HOST_FLAGS) ; do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18593 done; \
18594 echo "Doing html in libtool" ; \
18595 (cd $(HOST_SUBDIR)/libtool && \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18600 html) \
18601 || exit 1
18603 @endif libtool
18605 .PHONY: maybe-TAGS-libtool TAGS-libtool
18606 maybe-TAGS-libtool:
18607 @if libtool
18608 maybe-TAGS-libtool: TAGS-libtool
18610 TAGS-libtool: \
18611 configure-libtool
18612 @: $(MAKE); $(unstage)
18613 @[ -f ./libtool/Makefile ] || exit 0; \
18614 r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS) ; do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing TAGS in libtool" ; \
18621 (cd $(HOST_SUBDIR)/libtool && \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18626 TAGS) \
18627 || exit 1
18629 @endif libtool
18631 .PHONY: maybe-install-info-libtool install-info-libtool
18632 maybe-install-info-libtool:
18633 @if libtool
18634 maybe-install-info-libtool: install-info-libtool
18636 install-info-libtool: \
18637 configure-libtool \
18638 info-libtool
18639 @: $(MAKE); $(unstage)
18640 @[ -f ./libtool/Makefile ] || exit 0; \
18641 r=`${PWD_COMMAND}`; export r; \
18642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18643 $(HOST_EXPORTS) \
18644 for flag in $(EXTRA_HOST_FLAGS) ; do \
18645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18646 done; \
18647 echo "Doing install-info in libtool" ; \
18648 (cd $(HOST_SUBDIR)/libtool && \
18649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18651 "RANLIB=$${RANLIB}" \
18652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18653 install-info) \
18654 || exit 1
18656 @endif libtool
18658 .PHONY: maybe-installcheck-libtool installcheck-libtool
18659 maybe-installcheck-libtool:
18660 @if libtool
18661 maybe-installcheck-libtool: installcheck-libtool
18663 installcheck-libtool: \
18664 configure-libtool
18665 @: $(MAKE); $(unstage)
18666 @[ -f ./libtool/Makefile ] || exit 0; \
18667 r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 $(HOST_EXPORTS) \
18670 for flag in $(EXTRA_HOST_FLAGS) ; do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 done; \
18673 echo "Doing installcheck in libtool" ; \
18674 (cd $(HOST_SUBDIR)/libtool && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18679 installcheck) \
18680 || exit 1
18682 @endif libtool
18684 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18685 maybe-mostlyclean-libtool:
18686 @if libtool
18687 maybe-mostlyclean-libtool: mostlyclean-libtool
18689 mostlyclean-libtool:
18690 @: $(MAKE); $(unstage)
18691 @[ -f ./libtool/Makefile ] || exit 0; \
18692 r=`${PWD_COMMAND}`; export r; \
18693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 $(HOST_EXPORTS) \
18695 for flag in $(EXTRA_HOST_FLAGS) ; do \
18696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18697 done; \
18698 echo "Doing mostlyclean in libtool" ; \
18699 (cd $(HOST_SUBDIR)/libtool && \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18702 "RANLIB=$${RANLIB}" \
18703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18704 mostlyclean) \
18705 || exit 1
18707 @endif libtool
18709 .PHONY: maybe-clean-libtool clean-libtool
18710 maybe-clean-libtool:
18711 @if libtool
18712 maybe-clean-libtool: clean-libtool
18714 clean-libtool:
18715 @: $(MAKE); $(unstage)
18716 @[ -f ./libtool/Makefile ] || exit 0; \
18717 r=`${PWD_COMMAND}`; export r; \
18718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18719 $(HOST_EXPORTS) \
18720 for flag in $(EXTRA_HOST_FLAGS) ; do \
18721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18722 done; \
18723 echo "Doing clean in libtool" ; \
18724 (cd $(HOST_SUBDIR)/libtool && \
18725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18727 "RANLIB=$${RANLIB}" \
18728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18729 clean) \
18730 || exit 1
18732 @endif libtool
18734 .PHONY: maybe-distclean-libtool distclean-libtool
18735 maybe-distclean-libtool:
18736 @if libtool
18737 maybe-distclean-libtool: distclean-libtool
18739 distclean-libtool:
18740 @: $(MAKE); $(unstage)
18741 @[ -f ./libtool/Makefile ] || exit 0; \
18742 r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 $(HOST_EXPORTS) \
18745 for flag in $(EXTRA_HOST_FLAGS) ; do \
18746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18747 done; \
18748 echo "Doing distclean in libtool" ; \
18749 (cd $(HOST_SUBDIR)/libtool && \
18750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18752 "RANLIB=$${RANLIB}" \
18753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18754 distclean) \
18755 || exit 1
18757 @endif libtool
18759 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18760 maybe-maintainer-clean-libtool:
18761 @if libtool
18762 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18764 maintainer-clean-libtool:
18765 @: $(MAKE); $(unstage)
18766 @[ -f ./libtool/Makefile ] || exit 0; \
18767 r=`${PWD_COMMAND}`; export r; \
18768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18769 $(HOST_EXPORTS) \
18770 for flag in $(EXTRA_HOST_FLAGS) ; do \
18771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18772 done; \
18773 echo "Doing maintainer-clean in libtool" ; \
18774 (cd $(HOST_SUBDIR)/libtool && \
18775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777 "RANLIB=$${RANLIB}" \
18778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18779 maintainer-clean) \
18780 || exit 1
18782 @endif libtool
18786 .PHONY: configure-m4 maybe-configure-m4
18787 maybe-configure-m4:
18788 @if m4
18789 maybe-configure-m4: configure-m4
18790 configure-m4:
18791 @: $(MAKE); $(unstage)
18792 @r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18796 $(HOST_EXPORTS) \
18797 echo Configuring in $(HOST_SUBDIR)/m4; \
18798 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18799 case $(srcdir) in \
18800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18801 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18803 esac; \
18804 srcdiroption="--srcdir=$${topdir}/m4"; \
18805 libsrcdir="$$s/m4"; \
18806 $(SHELL) $${libsrcdir}/configure \
18807 $(HOST_CONFIGARGS) $${srcdiroption} \
18808 || exit 1
18809 @endif m4
18815 .PHONY: all-m4 maybe-all-m4
18816 maybe-all-m4:
18817 @if m4
18818 TARGET-m4=all
18819 maybe-all-m4: all-m4
18820 all-m4: configure-m4
18821 @: $(MAKE); $(unstage)
18822 @r=`${PWD_COMMAND}`; export r; \
18823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18824 $(HOST_EXPORTS) \
18825 (cd $(HOST_SUBDIR)/m4 && \
18826 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18827 @endif m4
18832 .PHONY: check-m4 maybe-check-m4
18833 maybe-check-m4:
18834 @if m4
18835 maybe-check-m4: check-m4
18837 check-m4:
18838 @: $(MAKE); $(unstage)
18839 @r=`${PWD_COMMAND}`; export r; \
18840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18841 $(HOST_EXPORTS) \
18842 (cd $(HOST_SUBDIR)/m4 && \
18843 $(MAKE) $(FLAGS_TO_PASS) check)
18845 @endif m4
18847 .PHONY: install-m4 maybe-install-m4
18848 maybe-install-m4:
18849 @if m4
18850 maybe-install-m4: install-m4
18852 install-m4: installdirs
18853 @: $(MAKE); $(unstage)
18854 @r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856 $(HOST_EXPORTS) \
18857 (cd $(HOST_SUBDIR)/m4 && \
18858 $(MAKE) $(FLAGS_TO_PASS) install)
18860 @endif m4
18862 # Other targets (info, dvi, etc.)
18864 .PHONY: maybe-info-m4 info-m4
18865 maybe-info-m4:
18866 @if m4
18867 maybe-info-m4: info-m4
18869 info-m4: \
18870 configure-m4
18871 @: $(MAKE); $(unstage)
18872 @[ -f ./m4/Makefile ] || exit 0; \
18873 r=`${PWD_COMMAND}`; export r; \
18874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18875 $(HOST_EXPORTS) \
18876 for flag in $(EXTRA_HOST_FLAGS) ; do \
18877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18878 done; \
18879 echo "Doing info in m4" ; \
18880 (cd $(HOST_SUBDIR)/m4 && \
18881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18883 "RANLIB=$${RANLIB}" \
18884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18885 info) \
18886 || exit 1
18888 @endif m4
18890 .PHONY: maybe-dvi-m4 dvi-m4
18891 maybe-dvi-m4:
18892 @if m4
18893 maybe-dvi-m4: dvi-m4
18895 dvi-m4: \
18896 configure-m4
18897 @: $(MAKE); $(unstage)
18898 @[ -f ./m4/Makefile ] || exit 0; \
18899 r=`${PWD_COMMAND}`; export r; \
18900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18901 $(HOST_EXPORTS) \
18902 for flag in $(EXTRA_HOST_FLAGS) ; do \
18903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18904 done; \
18905 echo "Doing dvi in m4" ; \
18906 (cd $(HOST_SUBDIR)/m4 && \
18907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18909 "RANLIB=$${RANLIB}" \
18910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18911 dvi) \
18912 || exit 1
18914 @endif m4
18916 .PHONY: maybe-html-m4 html-m4
18917 maybe-html-m4:
18918 @if m4
18919 maybe-html-m4: html-m4
18921 html-m4: \
18922 configure-m4
18923 @: $(MAKE); $(unstage)
18924 @[ -f ./m4/Makefile ] || exit 0; \
18925 r=`${PWD_COMMAND}`; export r; \
18926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18927 $(HOST_EXPORTS) \
18928 for flag in $(EXTRA_HOST_FLAGS) ; do \
18929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18930 done; \
18931 echo "Doing html in m4" ; \
18932 (cd $(HOST_SUBDIR)/m4 && \
18933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18935 "RANLIB=$${RANLIB}" \
18936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18937 html) \
18938 || exit 1
18940 @endif m4
18942 .PHONY: maybe-TAGS-m4 TAGS-m4
18943 maybe-TAGS-m4:
18944 @if m4
18945 maybe-TAGS-m4: TAGS-m4
18947 TAGS-m4: \
18948 configure-m4
18949 @: $(MAKE); $(unstage)
18950 @[ -f ./m4/Makefile ] || exit 0; \
18951 r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 $(HOST_EXPORTS) \
18954 for flag in $(EXTRA_HOST_FLAGS) ; do \
18955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 done; \
18957 echo "Doing TAGS in m4" ; \
18958 (cd $(HOST_SUBDIR)/m4 && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18961 "RANLIB=$${RANLIB}" \
18962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 TAGS) \
18964 || exit 1
18966 @endif m4
18968 .PHONY: maybe-install-info-m4 install-info-m4
18969 maybe-install-info-m4:
18970 @if m4
18971 maybe-install-info-m4: install-info-m4
18973 install-info-m4: \
18974 configure-m4 \
18975 info-m4
18976 @: $(MAKE); $(unstage)
18977 @[ -f ./m4/Makefile ] || exit 0; \
18978 r=`${PWD_COMMAND}`; export r; \
18979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS) ; do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing install-info in m4" ; \
18985 (cd $(HOST_SUBDIR)/m4 && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18990 install-info) \
18991 || exit 1
18993 @endif m4
18995 .PHONY: maybe-installcheck-m4 installcheck-m4
18996 maybe-installcheck-m4:
18997 @if m4
18998 maybe-installcheck-m4: installcheck-m4
19000 installcheck-m4: \
19001 configure-m4
19002 @: $(MAKE); $(unstage)
19003 @[ -f ./m4/Makefile ] || exit 0; \
19004 r=`${PWD_COMMAND}`; export r; \
19005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19006 $(HOST_EXPORTS) \
19007 for flag in $(EXTRA_HOST_FLAGS) ; do \
19008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19009 done; \
19010 echo "Doing installcheck in m4" ; \
19011 (cd $(HOST_SUBDIR)/m4 && \
19012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19014 "RANLIB=$${RANLIB}" \
19015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19016 installcheck) \
19017 || exit 1
19019 @endif m4
19021 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
19022 maybe-mostlyclean-m4:
19023 @if m4
19024 maybe-mostlyclean-m4: mostlyclean-m4
19026 mostlyclean-m4:
19027 @: $(MAKE); $(unstage)
19028 @[ -f ./m4/Makefile ] || exit 0; \
19029 r=`${PWD_COMMAND}`; export r; \
19030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19031 $(HOST_EXPORTS) \
19032 for flag in $(EXTRA_HOST_FLAGS) ; do \
19033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19034 done; \
19035 echo "Doing mostlyclean in m4" ; \
19036 (cd $(HOST_SUBDIR)/m4 && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039 "RANLIB=$${RANLIB}" \
19040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19041 mostlyclean) \
19042 || exit 1
19044 @endif m4
19046 .PHONY: maybe-clean-m4 clean-m4
19047 maybe-clean-m4:
19048 @if m4
19049 maybe-clean-m4: clean-m4
19051 clean-m4:
19052 @: $(MAKE); $(unstage)
19053 @[ -f ./m4/Makefile ] || exit 0; \
19054 r=`${PWD_COMMAND}`; export r; \
19055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 $(HOST_EXPORTS) \
19057 for flag in $(EXTRA_HOST_FLAGS) ; do \
19058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19059 done; \
19060 echo "Doing clean in m4" ; \
19061 (cd $(HOST_SUBDIR)/m4 && \
19062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19064 "RANLIB=$${RANLIB}" \
19065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19066 clean) \
19067 || exit 1
19069 @endif m4
19071 .PHONY: maybe-distclean-m4 distclean-m4
19072 maybe-distclean-m4:
19073 @if m4
19074 maybe-distclean-m4: distclean-m4
19076 distclean-m4:
19077 @: $(MAKE); $(unstage)
19078 @[ -f ./m4/Makefile ] || exit 0; \
19079 r=`${PWD_COMMAND}`; export r; \
19080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19081 $(HOST_EXPORTS) \
19082 for flag in $(EXTRA_HOST_FLAGS) ; do \
19083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19084 done; \
19085 echo "Doing distclean in m4" ; \
19086 (cd $(HOST_SUBDIR)/m4 && \
19087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19089 "RANLIB=$${RANLIB}" \
19090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19091 distclean) \
19092 || exit 1
19094 @endif m4
19096 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
19097 maybe-maintainer-clean-m4:
19098 @if m4
19099 maybe-maintainer-clean-m4: maintainer-clean-m4
19101 maintainer-clean-m4:
19102 @: $(MAKE); $(unstage)
19103 @[ -f ./m4/Makefile ] || exit 0; \
19104 r=`${PWD_COMMAND}`; export r; \
19105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19106 $(HOST_EXPORTS) \
19107 for flag in $(EXTRA_HOST_FLAGS) ; do \
19108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19109 done; \
19110 echo "Doing maintainer-clean in m4" ; \
19111 (cd $(HOST_SUBDIR)/m4 && \
19112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19114 "RANLIB=$${RANLIB}" \
19115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19116 maintainer-clean) \
19117 || exit 1
19119 @endif m4
19123 .PHONY: configure-make maybe-configure-make
19124 maybe-configure-make:
19125 @if make
19126 maybe-configure-make: configure-make
19127 configure-make:
19128 @: $(MAKE); $(unstage)
19129 @r=`${PWD_COMMAND}`; export r; \
19130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19131 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
19132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
19133 $(HOST_EXPORTS) \
19134 echo Configuring in $(HOST_SUBDIR)/make; \
19135 cd "$(HOST_SUBDIR)/make" || exit 1; \
19136 case $(srcdir) in \
19137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19138 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
19139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19140 esac; \
19141 srcdiroption="--srcdir=$${topdir}/make"; \
19142 libsrcdir="$$s/make"; \
19143 $(SHELL) $${libsrcdir}/configure \
19144 $(HOST_CONFIGARGS) $${srcdiroption} \
19145 || exit 1
19146 @endif make
19152 .PHONY: all-make maybe-all-make
19153 maybe-all-make:
19154 @if make
19155 TARGET-make=all
19156 maybe-all-make: all-make
19157 all-make: configure-make
19158 @: $(MAKE); $(unstage)
19159 @r=`${PWD_COMMAND}`; export r; \
19160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19161 $(HOST_EXPORTS) \
19162 (cd $(HOST_SUBDIR)/make && \
19163 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
19164 @endif make
19169 .PHONY: check-make maybe-check-make
19170 maybe-check-make:
19171 @if make
19172 maybe-check-make: check-make
19174 check-make:
19175 @: $(MAKE); $(unstage)
19176 @r=`${PWD_COMMAND}`; export r; \
19177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19178 $(HOST_EXPORTS) \
19179 (cd $(HOST_SUBDIR)/make && \
19180 $(MAKE) $(FLAGS_TO_PASS) check)
19182 @endif make
19184 .PHONY: install-make maybe-install-make
19185 maybe-install-make:
19186 @if make
19187 maybe-install-make: install-make
19189 install-make: installdirs
19190 @: $(MAKE); $(unstage)
19191 @r=`${PWD_COMMAND}`; export r; \
19192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19193 $(HOST_EXPORTS) \
19194 (cd $(HOST_SUBDIR)/make && \
19195 $(MAKE) $(FLAGS_TO_PASS) install)
19197 @endif make
19199 # Other targets (info, dvi, etc.)
19201 .PHONY: maybe-info-make info-make
19202 maybe-info-make:
19203 @if make
19204 maybe-info-make: info-make
19206 info-make: \
19207 configure-make
19208 @: $(MAKE); $(unstage)
19209 @[ -f ./make/Makefile ] || exit 0; \
19210 r=`${PWD_COMMAND}`; export r; \
19211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19212 $(HOST_EXPORTS) \
19213 for flag in $(EXTRA_HOST_FLAGS) ; do \
19214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19215 done; \
19216 echo "Doing info in make" ; \
19217 (cd $(HOST_SUBDIR)/make && \
19218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19220 "RANLIB=$${RANLIB}" \
19221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19222 info) \
19223 || exit 1
19225 @endif make
19227 .PHONY: maybe-dvi-make dvi-make
19228 maybe-dvi-make:
19229 @if make
19230 maybe-dvi-make: dvi-make
19232 dvi-make: \
19233 configure-make
19234 @: $(MAKE); $(unstage)
19235 @[ -f ./make/Makefile ] || exit 0; \
19236 r=`${PWD_COMMAND}`; export r; \
19237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19238 $(HOST_EXPORTS) \
19239 for flag in $(EXTRA_HOST_FLAGS) ; do \
19240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19241 done; \
19242 echo "Doing dvi in make" ; \
19243 (cd $(HOST_SUBDIR)/make && \
19244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19246 "RANLIB=$${RANLIB}" \
19247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19248 dvi) \
19249 || exit 1
19251 @endif make
19253 .PHONY: maybe-html-make html-make
19254 maybe-html-make:
19255 @if make
19256 maybe-html-make: html-make
19258 html-make: \
19259 configure-make
19260 @: $(MAKE); $(unstage)
19261 @[ -f ./make/Makefile ] || exit 0; \
19262 r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19264 $(HOST_EXPORTS) \
19265 for flag in $(EXTRA_HOST_FLAGS) ; do \
19266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19267 done; \
19268 echo "Doing html in make" ; \
19269 (cd $(HOST_SUBDIR)/make && \
19270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19272 "RANLIB=$${RANLIB}" \
19273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19274 html) \
19275 || exit 1
19277 @endif make
19279 .PHONY: maybe-TAGS-make TAGS-make
19280 maybe-TAGS-make:
19281 @if make
19282 maybe-TAGS-make: TAGS-make
19284 TAGS-make: \
19285 configure-make
19286 @: $(MAKE); $(unstage)
19287 @[ -f ./make/Makefile ] || exit 0; \
19288 r=`${PWD_COMMAND}`; export r; \
19289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19290 $(HOST_EXPORTS) \
19291 for flag in $(EXTRA_HOST_FLAGS) ; do \
19292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19293 done; \
19294 echo "Doing TAGS in make" ; \
19295 (cd $(HOST_SUBDIR)/make && \
19296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19298 "RANLIB=$${RANLIB}" \
19299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19300 TAGS) \
19301 || exit 1
19303 @endif make
19305 .PHONY: maybe-install-info-make install-info-make
19306 maybe-install-info-make:
19307 @if make
19308 maybe-install-info-make: install-info-make
19310 install-info-make: \
19311 configure-make \
19312 info-make
19313 @: $(MAKE); $(unstage)
19314 @[ -f ./make/Makefile ] || exit 0; \
19315 r=`${PWD_COMMAND}`; export r; \
19316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19317 $(HOST_EXPORTS) \
19318 for flag in $(EXTRA_HOST_FLAGS) ; do \
19319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19320 done; \
19321 echo "Doing install-info in make" ; \
19322 (cd $(HOST_SUBDIR)/make && \
19323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19325 "RANLIB=$${RANLIB}" \
19326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19327 install-info) \
19328 || exit 1
19330 @endif make
19332 .PHONY: maybe-installcheck-make installcheck-make
19333 maybe-installcheck-make:
19334 @if make
19335 maybe-installcheck-make: installcheck-make
19337 installcheck-make: \
19338 configure-make
19339 @: $(MAKE); $(unstage)
19340 @[ -f ./make/Makefile ] || exit 0; \
19341 r=`${PWD_COMMAND}`; export r; \
19342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19343 $(HOST_EXPORTS) \
19344 for flag in $(EXTRA_HOST_FLAGS) ; do \
19345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19346 done; \
19347 echo "Doing installcheck in make" ; \
19348 (cd $(HOST_SUBDIR)/make && \
19349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19351 "RANLIB=$${RANLIB}" \
19352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19353 installcheck) \
19354 || exit 1
19356 @endif make
19358 .PHONY: maybe-mostlyclean-make mostlyclean-make
19359 maybe-mostlyclean-make:
19360 @if make
19361 maybe-mostlyclean-make: mostlyclean-make
19363 mostlyclean-make:
19364 @: $(MAKE); $(unstage)
19365 @[ -f ./make/Makefile ] || exit 0; \
19366 r=`${PWD_COMMAND}`; export r; \
19367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19368 $(HOST_EXPORTS) \
19369 for flag in $(EXTRA_HOST_FLAGS) ; do \
19370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19371 done; \
19372 echo "Doing mostlyclean in make" ; \
19373 (cd $(HOST_SUBDIR)/make && \
19374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19376 "RANLIB=$${RANLIB}" \
19377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19378 mostlyclean) \
19379 || exit 1
19381 @endif make
19383 .PHONY: maybe-clean-make clean-make
19384 maybe-clean-make:
19385 @if make
19386 maybe-clean-make: clean-make
19388 clean-make:
19389 @: $(MAKE); $(unstage)
19390 @[ -f ./make/Makefile ] || exit 0; \
19391 r=`${PWD_COMMAND}`; export r; \
19392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19393 $(HOST_EXPORTS) \
19394 for flag in $(EXTRA_HOST_FLAGS) ; do \
19395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19396 done; \
19397 echo "Doing clean in make" ; \
19398 (cd $(HOST_SUBDIR)/make && \
19399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19401 "RANLIB=$${RANLIB}" \
19402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19403 clean) \
19404 || exit 1
19406 @endif make
19408 .PHONY: maybe-distclean-make distclean-make
19409 maybe-distclean-make:
19410 @if make
19411 maybe-distclean-make: distclean-make
19413 distclean-make:
19414 @: $(MAKE); $(unstage)
19415 @[ -f ./make/Makefile ] || exit 0; \
19416 r=`${PWD_COMMAND}`; export r; \
19417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19418 $(HOST_EXPORTS) \
19419 for flag in $(EXTRA_HOST_FLAGS) ; do \
19420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19421 done; \
19422 echo "Doing distclean in make" ; \
19423 (cd $(HOST_SUBDIR)/make && \
19424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19426 "RANLIB=$${RANLIB}" \
19427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19428 distclean) \
19429 || exit 1
19431 @endif make
19433 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19434 maybe-maintainer-clean-make:
19435 @if make
19436 maybe-maintainer-clean-make: maintainer-clean-make
19438 maintainer-clean-make:
19439 @: $(MAKE); $(unstage)
19440 @[ -f ./make/Makefile ] || exit 0; \
19441 r=`${PWD_COMMAND}`; export r; \
19442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19443 $(HOST_EXPORTS) \
19444 for flag in $(EXTRA_HOST_FLAGS) ; do \
19445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19446 done; \
19447 echo "Doing maintainer-clean in make" ; \
19448 (cd $(HOST_SUBDIR)/make && \
19449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19451 "RANLIB=$${RANLIB}" \
19452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19453 maintainer-clean) \
19454 || exit 1
19456 @endif make
19460 .PHONY: configure-mmalloc maybe-configure-mmalloc
19461 maybe-configure-mmalloc:
19462 @if mmalloc
19463 maybe-configure-mmalloc: configure-mmalloc
19464 configure-mmalloc:
19465 @: $(MAKE); $(unstage)
19466 @r=`${PWD_COMMAND}`; export r; \
19467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19468 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19470 $(HOST_EXPORTS) \
19471 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19472 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19473 case $(srcdir) in \
19474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19475 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19477 esac; \
19478 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19479 libsrcdir="$$s/mmalloc"; \
19480 $(SHELL) $${libsrcdir}/configure \
19481 $(HOST_CONFIGARGS) $${srcdiroption} \
19482 || exit 1
19483 @endif mmalloc
19489 .PHONY: all-mmalloc maybe-all-mmalloc
19490 maybe-all-mmalloc:
19491 @if mmalloc
19492 TARGET-mmalloc=all
19493 maybe-all-mmalloc: all-mmalloc
19494 all-mmalloc: configure-mmalloc
19495 @: $(MAKE); $(unstage)
19496 @r=`${PWD_COMMAND}`; export r; \
19497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19498 $(HOST_EXPORTS) \
19499 (cd $(HOST_SUBDIR)/mmalloc && \
19500 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19501 @endif mmalloc
19506 .PHONY: check-mmalloc maybe-check-mmalloc
19507 maybe-check-mmalloc:
19508 @if mmalloc
19509 maybe-check-mmalloc: check-mmalloc
19511 check-mmalloc:
19513 @endif mmalloc
19515 .PHONY: install-mmalloc maybe-install-mmalloc
19516 maybe-install-mmalloc:
19517 @if mmalloc
19518 maybe-install-mmalloc: install-mmalloc
19520 install-mmalloc: installdirs
19521 @: $(MAKE); $(unstage)
19522 @r=`${PWD_COMMAND}`; export r; \
19523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19524 $(HOST_EXPORTS) \
19525 (cd $(HOST_SUBDIR)/mmalloc && \
19526 $(MAKE) $(FLAGS_TO_PASS) install)
19528 @endif mmalloc
19530 # Other targets (info, dvi, etc.)
19532 .PHONY: maybe-info-mmalloc info-mmalloc
19533 maybe-info-mmalloc:
19534 @if mmalloc
19535 maybe-info-mmalloc: info-mmalloc
19537 info-mmalloc: \
19538 configure-mmalloc
19539 @: $(MAKE); $(unstage)
19540 @[ -f ./mmalloc/Makefile ] || exit 0; \
19541 r=`${PWD_COMMAND}`; export r; \
19542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19543 $(HOST_EXPORTS) \
19544 for flag in $(EXTRA_HOST_FLAGS) ; do \
19545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19546 done; \
19547 echo "Doing info in mmalloc" ; \
19548 (cd $(HOST_SUBDIR)/mmalloc && \
19549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19551 "RANLIB=$${RANLIB}" \
19552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19553 info) \
19554 || exit 1
19556 @endif mmalloc
19558 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19559 maybe-dvi-mmalloc:
19560 @if mmalloc
19561 maybe-dvi-mmalloc: dvi-mmalloc
19563 dvi-mmalloc: \
19564 configure-mmalloc
19565 @: $(MAKE); $(unstage)
19566 @[ -f ./mmalloc/Makefile ] || exit 0; \
19567 r=`${PWD_COMMAND}`; export r; \
19568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19569 $(HOST_EXPORTS) \
19570 for flag in $(EXTRA_HOST_FLAGS) ; do \
19571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19572 done; \
19573 echo "Doing dvi in mmalloc" ; \
19574 (cd $(HOST_SUBDIR)/mmalloc && \
19575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19577 "RANLIB=$${RANLIB}" \
19578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19579 dvi) \
19580 || exit 1
19582 @endif mmalloc
19584 .PHONY: maybe-html-mmalloc html-mmalloc
19585 maybe-html-mmalloc:
19586 @if mmalloc
19587 maybe-html-mmalloc: html-mmalloc
19589 html-mmalloc: \
19590 configure-mmalloc
19591 @: $(MAKE); $(unstage)
19592 @[ -f ./mmalloc/Makefile ] || exit 0; \
19593 r=`${PWD_COMMAND}`; export r; \
19594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19595 $(HOST_EXPORTS) \
19596 for flag in $(EXTRA_HOST_FLAGS) ; do \
19597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19598 done; \
19599 echo "Doing html in mmalloc" ; \
19600 (cd $(HOST_SUBDIR)/mmalloc && \
19601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19603 "RANLIB=$${RANLIB}" \
19604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19605 html) \
19606 || exit 1
19608 @endif mmalloc
19610 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19611 maybe-TAGS-mmalloc:
19612 @if mmalloc
19613 maybe-TAGS-mmalloc: TAGS-mmalloc
19615 TAGS-mmalloc: \
19616 configure-mmalloc
19617 @: $(MAKE); $(unstage)
19618 @[ -f ./mmalloc/Makefile ] || exit 0; \
19619 r=`${PWD_COMMAND}`; export r; \
19620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19621 $(HOST_EXPORTS) \
19622 for flag in $(EXTRA_HOST_FLAGS) ; do \
19623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19624 done; \
19625 echo "Doing TAGS in mmalloc" ; \
19626 (cd $(HOST_SUBDIR)/mmalloc && \
19627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19629 "RANLIB=$${RANLIB}" \
19630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19631 TAGS) \
19632 || exit 1
19634 @endif mmalloc
19636 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19637 maybe-install-info-mmalloc:
19638 @if mmalloc
19639 maybe-install-info-mmalloc: install-info-mmalloc
19641 install-info-mmalloc: \
19642 configure-mmalloc \
19643 info-mmalloc
19644 @: $(MAKE); $(unstage)
19645 @[ -f ./mmalloc/Makefile ] || exit 0; \
19646 r=`${PWD_COMMAND}`; export r; \
19647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19648 $(HOST_EXPORTS) \
19649 for flag in $(EXTRA_HOST_FLAGS) ; do \
19650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19651 done; \
19652 echo "Doing install-info in mmalloc" ; \
19653 (cd $(HOST_SUBDIR)/mmalloc && \
19654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19656 "RANLIB=$${RANLIB}" \
19657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19658 install-info) \
19659 || exit 1
19661 @endif mmalloc
19663 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19664 maybe-installcheck-mmalloc:
19665 @if mmalloc
19666 maybe-installcheck-mmalloc: installcheck-mmalloc
19668 installcheck-mmalloc: \
19669 configure-mmalloc
19670 @: $(MAKE); $(unstage)
19671 @[ -f ./mmalloc/Makefile ] || exit 0; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 $(HOST_EXPORTS) \
19675 for flag in $(EXTRA_HOST_FLAGS) ; do \
19676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19677 done; \
19678 echo "Doing installcheck in mmalloc" ; \
19679 (cd $(HOST_SUBDIR)/mmalloc && \
19680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19682 "RANLIB=$${RANLIB}" \
19683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19684 installcheck) \
19685 || exit 1
19687 @endif mmalloc
19689 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19690 maybe-mostlyclean-mmalloc:
19691 @if mmalloc
19692 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19694 mostlyclean-mmalloc:
19695 @: $(MAKE); $(unstage)
19696 @[ -f ./mmalloc/Makefile ] || exit 0; \
19697 r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 $(HOST_EXPORTS) \
19700 for flag in $(EXTRA_HOST_FLAGS) ; do \
19701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19702 done; \
19703 echo "Doing mostlyclean in mmalloc" ; \
19704 (cd $(HOST_SUBDIR)/mmalloc && \
19705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19707 "RANLIB=$${RANLIB}" \
19708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19709 mostlyclean) \
19710 || exit 1
19712 @endif mmalloc
19714 .PHONY: maybe-clean-mmalloc clean-mmalloc
19715 maybe-clean-mmalloc:
19716 @if mmalloc
19717 maybe-clean-mmalloc: clean-mmalloc
19719 clean-mmalloc:
19720 @: $(MAKE); $(unstage)
19721 @[ -f ./mmalloc/Makefile ] || exit 0; \
19722 r=`${PWD_COMMAND}`; export r; \
19723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19724 $(HOST_EXPORTS) \
19725 for flag in $(EXTRA_HOST_FLAGS) ; do \
19726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19727 done; \
19728 echo "Doing clean in mmalloc" ; \
19729 (cd $(HOST_SUBDIR)/mmalloc && \
19730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19732 "RANLIB=$${RANLIB}" \
19733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19734 clean) \
19735 || exit 1
19737 @endif mmalloc
19739 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19740 maybe-distclean-mmalloc:
19741 @if mmalloc
19742 maybe-distclean-mmalloc: distclean-mmalloc
19744 distclean-mmalloc:
19745 @: $(MAKE); $(unstage)
19746 @[ -f ./mmalloc/Makefile ] || exit 0; \
19747 r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(HOST_EXPORTS) \
19750 for flag in $(EXTRA_HOST_FLAGS) ; do \
19751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19752 done; \
19753 echo "Doing distclean in mmalloc" ; \
19754 (cd $(HOST_SUBDIR)/mmalloc && \
19755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19757 "RANLIB=$${RANLIB}" \
19758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19759 distclean) \
19760 || exit 1
19762 @endif mmalloc
19764 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19765 maybe-maintainer-clean-mmalloc:
19766 @if mmalloc
19767 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19769 maintainer-clean-mmalloc:
19770 @: $(MAKE); $(unstage)
19771 @[ -f ./mmalloc/Makefile ] || exit 0; \
19772 r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19774 $(HOST_EXPORTS) \
19775 for flag in $(EXTRA_HOST_FLAGS) ; do \
19776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19777 done; \
19778 echo "Doing maintainer-clean in mmalloc" ; \
19779 (cd $(HOST_SUBDIR)/mmalloc && \
19780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19782 "RANLIB=$${RANLIB}" \
19783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19784 maintainer-clean) \
19785 || exit 1
19787 @endif mmalloc
19791 .PHONY: configure-patch maybe-configure-patch
19792 maybe-configure-patch:
19793 @if patch
19794 maybe-configure-patch: configure-patch
19795 configure-patch:
19796 @: $(MAKE); $(unstage)
19797 @r=`${PWD_COMMAND}`; export r; \
19798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19799 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19801 $(HOST_EXPORTS) \
19802 echo Configuring in $(HOST_SUBDIR)/patch; \
19803 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19804 case $(srcdir) in \
19805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19806 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19808 esac; \
19809 srcdiroption="--srcdir=$${topdir}/patch"; \
19810 libsrcdir="$$s/patch"; \
19811 $(SHELL) $${libsrcdir}/configure \
19812 $(HOST_CONFIGARGS) $${srcdiroption} \
19813 || exit 1
19814 @endif patch
19820 .PHONY: all-patch maybe-all-patch
19821 maybe-all-patch:
19822 @if patch
19823 TARGET-patch=all
19824 maybe-all-patch: all-patch
19825 all-patch: configure-patch
19826 @: $(MAKE); $(unstage)
19827 @r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(HOST_EXPORTS) \
19830 (cd $(HOST_SUBDIR)/patch && \
19831 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19832 @endif patch
19837 .PHONY: check-patch maybe-check-patch
19838 maybe-check-patch:
19839 @if patch
19840 maybe-check-patch: check-patch
19842 check-patch:
19843 @: $(MAKE); $(unstage)
19844 @r=`${PWD_COMMAND}`; export r; \
19845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19846 $(HOST_EXPORTS) \
19847 (cd $(HOST_SUBDIR)/patch && \
19848 $(MAKE) $(FLAGS_TO_PASS) check)
19850 @endif patch
19852 .PHONY: install-patch maybe-install-patch
19853 maybe-install-patch:
19854 @if patch
19855 maybe-install-patch: install-patch
19857 install-patch: installdirs
19858 @: $(MAKE); $(unstage)
19859 @r=`${PWD_COMMAND}`; export r; \
19860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19861 $(HOST_EXPORTS) \
19862 (cd $(HOST_SUBDIR)/patch && \
19863 $(MAKE) $(FLAGS_TO_PASS) install)
19865 @endif patch
19867 # Other targets (info, dvi, etc.)
19869 .PHONY: maybe-info-patch info-patch
19870 maybe-info-patch:
19871 @if patch
19872 maybe-info-patch: info-patch
19874 info-patch: \
19875 configure-patch
19876 @: $(MAKE); $(unstage)
19877 @[ -f ./patch/Makefile ] || exit 0; \
19878 r=`${PWD_COMMAND}`; export r; \
19879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19880 $(HOST_EXPORTS) \
19881 for flag in $(EXTRA_HOST_FLAGS) ; do \
19882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19883 done; \
19884 echo "Doing info in patch" ; \
19885 (cd $(HOST_SUBDIR)/patch && \
19886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19888 "RANLIB=$${RANLIB}" \
19889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19890 info) \
19891 || exit 1
19893 @endif patch
19895 .PHONY: maybe-dvi-patch dvi-patch
19896 maybe-dvi-patch:
19897 @if patch
19898 maybe-dvi-patch: dvi-patch
19900 dvi-patch: \
19901 configure-patch
19902 @: $(MAKE); $(unstage)
19903 @[ -f ./patch/Makefile ] || exit 0; \
19904 r=`${PWD_COMMAND}`; export r; \
19905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19906 $(HOST_EXPORTS) \
19907 for flag in $(EXTRA_HOST_FLAGS) ; do \
19908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19909 done; \
19910 echo "Doing dvi in patch" ; \
19911 (cd $(HOST_SUBDIR)/patch && \
19912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19914 "RANLIB=$${RANLIB}" \
19915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19916 dvi) \
19917 || exit 1
19919 @endif patch
19921 .PHONY: maybe-html-patch html-patch
19922 maybe-html-patch:
19923 @if patch
19924 maybe-html-patch: html-patch
19926 html-patch: \
19927 configure-patch
19928 @: $(MAKE); $(unstage)
19929 @[ -f ./patch/Makefile ] || exit 0; \
19930 r=`${PWD_COMMAND}`; export r; \
19931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19932 $(HOST_EXPORTS) \
19933 for flag in $(EXTRA_HOST_FLAGS) ; do \
19934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19935 done; \
19936 echo "Doing html in patch" ; \
19937 (cd $(HOST_SUBDIR)/patch && \
19938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19940 "RANLIB=$${RANLIB}" \
19941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19942 html) \
19943 || exit 1
19945 @endif patch
19947 .PHONY: maybe-TAGS-patch TAGS-patch
19948 maybe-TAGS-patch:
19949 @if patch
19950 maybe-TAGS-patch: TAGS-patch
19952 TAGS-patch: \
19953 configure-patch
19954 @: $(MAKE); $(unstage)
19955 @[ -f ./patch/Makefile ] || exit 0; \
19956 r=`${PWD_COMMAND}`; export r; \
19957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19958 $(HOST_EXPORTS) \
19959 for flag in $(EXTRA_HOST_FLAGS) ; do \
19960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19961 done; \
19962 echo "Doing TAGS in patch" ; \
19963 (cd $(HOST_SUBDIR)/patch && \
19964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19966 "RANLIB=$${RANLIB}" \
19967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19968 TAGS) \
19969 || exit 1
19971 @endif patch
19973 .PHONY: maybe-install-info-patch install-info-patch
19974 maybe-install-info-patch:
19975 @if patch
19976 maybe-install-info-patch: install-info-patch
19978 install-info-patch: \
19979 configure-patch \
19980 info-patch
19981 @: $(MAKE); $(unstage)
19982 @[ -f ./patch/Makefile ] || exit 0; \
19983 r=`${PWD_COMMAND}`; export r; \
19984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19985 $(HOST_EXPORTS) \
19986 for flag in $(EXTRA_HOST_FLAGS) ; do \
19987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19988 done; \
19989 echo "Doing install-info in patch" ; \
19990 (cd $(HOST_SUBDIR)/patch && \
19991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19993 "RANLIB=$${RANLIB}" \
19994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19995 install-info) \
19996 || exit 1
19998 @endif patch
20000 .PHONY: maybe-installcheck-patch installcheck-patch
20001 maybe-installcheck-patch:
20002 @if patch
20003 maybe-installcheck-patch: installcheck-patch
20005 installcheck-patch: \
20006 configure-patch
20007 @: $(MAKE); $(unstage)
20008 @[ -f ./patch/Makefile ] || exit 0; \
20009 r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20011 $(HOST_EXPORTS) \
20012 for flag in $(EXTRA_HOST_FLAGS) ; do \
20013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20014 done; \
20015 echo "Doing installcheck in patch" ; \
20016 (cd $(HOST_SUBDIR)/patch && \
20017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20019 "RANLIB=$${RANLIB}" \
20020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20021 installcheck) \
20022 || exit 1
20024 @endif patch
20026 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
20027 maybe-mostlyclean-patch:
20028 @if patch
20029 maybe-mostlyclean-patch: mostlyclean-patch
20031 mostlyclean-patch:
20032 @: $(MAKE); $(unstage)
20033 @[ -f ./patch/Makefile ] || exit 0; \
20034 r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 $(HOST_EXPORTS) \
20037 for flag in $(EXTRA_HOST_FLAGS) ; do \
20038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20039 done; \
20040 echo "Doing mostlyclean in patch" ; \
20041 (cd $(HOST_SUBDIR)/patch && \
20042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20044 "RANLIB=$${RANLIB}" \
20045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20046 mostlyclean) \
20047 || exit 1
20049 @endif patch
20051 .PHONY: maybe-clean-patch clean-patch
20052 maybe-clean-patch:
20053 @if patch
20054 maybe-clean-patch: clean-patch
20056 clean-patch:
20057 @: $(MAKE); $(unstage)
20058 @[ -f ./patch/Makefile ] || exit 0; \
20059 r=`${PWD_COMMAND}`; export r; \
20060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20061 $(HOST_EXPORTS) \
20062 for flag in $(EXTRA_HOST_FLAGS) ; do \
20063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20064 done; \
20065 echo "Doing clean in patch" ; \
20066 (cd $(HOST_SUBDIR)/patch && \
20067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20069 "RANLIB=$${RANLIB}" \
20070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20071 clean) \
20072 || exit 1
20074 @endif patch
20076 .PHONY: maybe-distclean-patch distclean-patch
20077 maybe-distclean-patch:
20078 @if patch
20079 maybe-distclean-patch: distclean-patch
20081 distclean-patch:
20082 @: $(MAKE); $(unstage)
20083 @[ -f ./patch/Makefile ] || exit 0; \
20084 r=`${PWD_COMMAND}`; export r; \
20085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20086 $(HOST_EXPORTS) \
20087 for flag in $(EXTRA_HOST_FLAGS) ; do \
20088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20089 done; \
20090 echo "Doing distclean in patch" ; \
20091 (cd $(HOST_SUBDIR)/patch && \
20092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20094 "RANLIB=$${RANLIB}" \
20095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20096 distclean) \
20097 || exit 1
20099 @endif patch
20101 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
20102 maybe-maintainer-clean-patch:
20103 @if patch
20104 maybe-maintainer-clean-patch: maintainer-clean-patch
20106 maintainer-clean-patch:
20107 @: $(MAKE); $(unstage)
20108 @[ -f ./patch/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing maintainer-clean in patch" ; \
20116 (cd $(HOST_SUBDIR)/patch && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 maintainer-clean) \
20122 || exit 1
20124 @endif patch
20128 .PHONY: configure-perl maybe-configure-perl
20129 maybe-configure-perl:
20130 @if perl
20131 maybe-configure-perl: configure-perl
20132 configure-perl:
20133 @: $(MAKE); $(unstage)
20134 @r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
20137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
20138 $(HOST_EXPORTS) \
20139 echo Configuring in $(HOST_SUBDIR)/perl; \
20140 cd "$(HOST_SUBDIR)/perl" || exit 1; \
20141 case $(srcdir) in \
20142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20143 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
20144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20145 esac; \
20146 srcdiroption="--srcdir=$${topdir}/perl"; \
20147 libsrcdir="$$s/perl"; \
20148 $(SHELL) $${libsrcdir}/configure \
20149 $(HOST_CONFIGARGS) $${srcdiroption} \
20150 || exit 1
20151 @endif perl
20157 .PHONY: all-perl maybe-all-perl
20158 maybe-all-perl:
20159 @if perl
20160 TARGET-perl=all
20161 maybe-all-perl: all-perl
20162 all-perl: configure-perl
20163 @: $(MAKE); $(unstage)
20164 @r=`${PWD_COMMAND}`; export r; \
20165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20166 $(HOST_EXPORTS) \
20167 (cd $(HOST_SUBDIR)/perl && \
20168 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
20169 @endif perl
20174 .PHONY: check-perl maybe-check-perl
20175 maybe-check-perl:
20176 @if perl
20177 maybe-check-perl: check-perl
20179 check-perl:
20180 @: $(MAKE); $(unstage)
20181 @r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20183 $(HOST_EXPORTS) \
20184 (cd $(HOST_SUBDIR)/perl && \
20185 $(MAKE) $(FLAGS_TO_PASS) check)
20187 @endif perl
20189 .PHONY: install-perl maybe-install-perl
20190 maybe-install-perl:
20191 @if perl
20192 maybe-install-perl: install-perl
20194 install-perl: installdirs
20195 @: $(MAKE); $(unstage)
20196 @r=`${PWD_COMMAND}`; export r; \
20197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20198 $(HOST_EXPORTS) \
20199 (cd $(HOST_SUBDIR)/perl && \
20200 $(MAKE) $(FLAGS_TO_PASS) install)
20202 @endif perl
20204 # Other targets (info, dvi, etc.)
20206 .PHONY: maybe-info-perl info-perl
20207 maybe-info-perl:
20208 @if perl
20209 maybe-info-perl: info-perl
20211 info-perl: \
20212 configure-perl
20213 @: $(MAKE); $(unstage)
20214 @[ -f ./perl/Makefile ] || exit 0; \
20215 r=`${PWD_COMMAND}`; export r; \
20216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20217 $(HOST_EXPORTS) \
20218 for flag in $(EXTRA_HOST_FLAGS) ; do \
20219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20220 done; \
20221 echo "Doing info in perl" ; \
20222 (cd $(HOST_SUBDIR)/perl && \
20223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20225 "RANLIB=$${RANLIB}" \
20226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20227 info) \
20228 || exit 1
20230 @endif perl
20232 .PHONY: maybe-dvi-perl dvi-perl
20233 maybe-dvi-perl:
20234 @if perl
20235 maybe-dvi-perl: dvi-perl
20237 dvi-perl: \
20238 configure-perl
20239 @: $(MAKE); $(unstage)
20240 @[ -f ./perl/Makefile ] || exit 0; \
20241 r=`${PWD_COMMAND}`; export r; \
20242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20243 $(HOST_EXPORTS) \
20244 for flag in $(EXTRA_HOST_FLAGS) ; do \
20245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20246 done; \
20247 echo "Doing dvi in perl" ; \
20248 (cd $(HOST_SUBDIR)/perl && \
20249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20251 "RANLIB=$${RANLIB}" \
20252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20253 dvi) \
20254 || exit 1
20256 @endif perl
20258 .PHONY: maybe-html-perl html-perl
20259 maybe-html-perl:
20260 @if perl
20261 maybe-html-perl: html-perl
20263 html-perl: \
20264 configure-perl
20265 @: $(MAKE); $(unstage)
20266 @[ -f ./perl/Makefile ] || exit 0; \
20267 r=`${PWD_COMMAND}`; export r; \
20268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20269 $(HOST_EXPORTS) \
20270 for flag in $(EXTRA_HOST_FLAGS) ; do \
20271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20272 done; \
20273 echo "Doing html in perl" ; \
20274 (cd $(HOST_SUBDIR)/perl && \
20275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20277 "RANLIB=$${RANLIB}" \
20278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20279 html) \
20280 || exit 1
20282 @endif perl
20284 .PHONY: maybe-TAGS-perl TAGS-perl
20285 maybe-TAGS-perl:
20286 @if perl
20287 maybe-TAGS-perl: TAGS-perl
20289 TAGS-perl: \
20290 configure-perl
20291 @: $(MAKE); $(unstage)
20292 @[ -f ./perl/Makefile ] || exit 0; \
20293 r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 $(HOST_EXPORTS) \
20296 for flag in $(EXTRA_HOST_FLAGS) ; do \
20297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20298 done; \
20299 echo "Doing TAGS in perl" ; \
20300 (cd $(HOST_SUBDIR)/perl && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20303 "RANLIB=$${RANLIB}" \
20304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20305 TAGS) \
20306 || exit 1
20308 @endif perl
20310 .PHONY: maybe-install-info-perl install-info-perl
20311 maybe-install-info-perl:
20312 @if perl
20313 maybe-install-info-perl: install-info-perl
20315 install-info-perl: \
20316 configure-perl \
20317 info-perl
20318 @: $(MAKE); $(unstage)
20319 @[ -f ./perl/Makefile ] || exit 0; \
20320 r=`${PWD_COMMAND}`; export r; \
20321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20322 $(HOST_EXPORTS) \
20323 for flag in $(EXTRA_HOST_FLAGS) ; do \
20324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20325 done; \
20326 echo "Doing install-info in perl" ; \
20327 (cd $(HOST_SUBDIR)/perl && \
20328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20330 "RANLIB=$${RANLIB}" \
20331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20332 install-info) \
20333 || exit 1
20335 @endif perl
20337 .PHONY: maybe-installcheck-perl installcheck-perl
20338 maybe-installcheck-perl:
20339 @if perl
20340 maybe-installcheck-perl: installcheck-perl
20342 installcheck-perl: \
20343 configure-perl
20344 @: $(MAKE); $(unstage)
20345 @[ -f ./perl/Makefile ] || exit 0; \
20346 r=`${PWD_COMMAND}`; export r; \
20347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20348 $(HOST_EXPORTS) \
20349 for flag in $(EXTRA_HOST_FLAGS) ; do \
20350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20351 done; \
20352 echo "Doing installcheck in perl" ; \
20353 (cd $(HOST_SUBDIR)/perl && \
20354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20356 "RANLIB=$${RANLIB}" \
20357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20358 installcheck) \
20359 || exit 1
20361 @endif perl
20363 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20364 maybe-mostlyclean-perl:
20365 @if perl
20366 maybe-mostlyclean-perl: mostlyclean-perl
20368 mostlyclean-perl:
20369 @: $(MAKE); $(unstage)
20370 @[ -f ./perl/Makefile ] || exit 0; \
20371 r=`${PWD_COMMAND}`; export r; \
20372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20373 $(HOST_EXPORTS) \
20374 for flag in $(EXTRA_HOST_FLAGS) ; do \
20375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20376 done; \
20377 echo "Doing mostlyclean in perl" ; \
20378 (cd $(HOST_SUBDIR)/perl && \
20379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20381 "RANLIB=$${RANLIB}" \
20382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20383 mostlyclean) \
20384 || exit 1
20386 @endif perl
20388 .PHONY: maybe-clean-perl clean-perl
20389 maybe-clean-perl:
20390 @if perl
20391 maybe-clean-perl: clean-perl
20393 clean-perl:
20394 @: $(MAKE); $(unstage)
20395 @[ -f ./perl/Makefile ] || exit 0; \
20396 r=`${PWD_COMMAND}`; export r; \
20397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20398 $(HOST_EXPORTS) \
20399 for flag in $(EXTRA_HOST_FLAGS) ; do \
20400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20401 done; \
20402 echo "Doing clean in perl" ; \
20403 (cd $(HOST_SUBDIR)/perl && \
20404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20406 "RANLIB=$${RANLIB}" \
20407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20408 clean) \
20409 || exit 1
20411 @endif perl
20413 .PHONY: maybe-distclean-perl distclean-perl
20414 maybe-distclean-perl:
20415 @if perl
20416 maybe-distclean-perl: distclean-perl
20418 distclean-perl:
20419 @: $(MAKE); $(unstage)
20420 @[ -f ./perl/Makefile ] || exit 0; \
20421 r=`${PWD_COMMAND}`; export r; \
20422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20423 $(HOST_EXPORTS) \
20424 for flag in $(EXTRA_HOST_FLAGS) ; do \
20425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20426 done; \
20427 echo "Doing distclean in perl" ; \
20428 (cd $(HOST_SUBDIR)/perl && \
20429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20431 "RANLIB=$${RANLIB}" \
20432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20433 distclean) \
20434 || exit 1
20436 @endif perl
20438 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20439 maybe-maintainer-clean-perl:
20440 @if perl
20441 maybe-maintainer-clean-perl: maintainer-clean-perl
20443 maintainer-clean-perl:
20444 @: $(MAKE); $(unstage)
20445 @[ -f ./perl/Makefile ] || exit 0; \
20446 r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 $(HOST_EXPORTS) \
20449 for flag in $(EXTRA_HOST_FLAGS) ; do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 done; \
20452 echo "Doing maintainer-clean in perl" ; \
20453 (cd $(HOST_SUBDIR)/perl && \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20458 maintainer-clean) \
20459 || exit 1
20461 @endif perl
20465 .PHONY: configure-prms maybe-configure-prms
20466 maybe-configure-prms:
20467 @if prms
20468 maybe-configure-prms: configure-prms
20469 configure-prms:
20470 @: $(MAKE); $(unstage)
20471 @r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20475 $(HOST_EXPORTS) \
20476 echo Configuring in $(HOST_SUBDIR)/prms; \
20477 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20478 case $(srcdir) in \
20479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20480 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20482 esac; \
20483 srcdiroption="--srcdir=$${topdir}/prms"; \
20484 libsrcdir="$$s/prms"; \
20485 $(SHELL) $${libsrcdir}/configure \
20486 $(HOST_CONFIGARGS) $${srcdiroption} \
20487 || exit 1
20488 @endif prms
20494 .PHONY: all-prms maybe-all-prms
20495 maybe-all-prms:
20496 @if prms
20497 TARGET-prms=all
20498 maybe-all-prms: all-prms
20499 all-prms: configure-prms
20500 @: $(MAKE); $(unstage)
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 $(HOST_EXPORTS) \
20504 (cd $(HOST_SUBDIR)/prms && \
20505 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20506 @endif prms
20511 .PHONY: check-prms maybe-check-prms
20512 maybe-check-prms:
20513 @if prms
20514 maybe-check-prms: check-prms
20516 check-prms:
20517 @: $(MAKE); $(unstage)
20518 @r=`${PWD_COMMAND}`; export r; \
20519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 $(HOST_EXPORTS) \
20521 (cd $(HOST_SUBDIR)/prms && \
20522 $(MAKE) $(FLAGS_TO_PASS) check)
20524 @endif prms
20526 .PHONY: install-prms maybe-install-prms
20527 maybe-install-prms:
20528 @if prms
20529 maybe-install-prms: install-prms
20531 install-prms: installdirs
20532 @: $(MAKE); $(unstage)
20533 @r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 $(HOST_EXPORTS) \
20536 (cd $(HOST_SUBDIR)/prms && \
20537 $(MAKE) $(FLAGS_TO_PASS) install)
20539 @endif prms
20541 # Other targets (info, dvi, etc.)
20543 .PHONY: maybe-info-prms info-prms
20544 maybe-info-prms:
20545 @if prms
20546 maybe-info-prms: info-prms
20548 info-prms: \
20549 configure-prms
20550 @: $(MAKE); $(unstage)
20551 @[ -f ./prms/Makefile ] || exit 0; \
20552 r=`${PWD_COMMAND}`; export r; \
20553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20554 $(HOST_EXPORTS) \
20555 for flag in $(EXTRA_HOST_FLAGS) ; do \
20556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20557 done; \
20558 echo "Doing info in prms" ; \
20559 (cd $(HOST_SUBDIR)/prms && \
20560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20562 "RANLIB=$${RANLIB}" \
20563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20564 info) \
20565 || exit 1
20567 @endif prms
20569 .PHONY: maybe-dvi-prms dvi-prms
20570 maybe-dvi-prms:
20571 @if prms
20572 maybe-dvi-prms: dvi-prms
20574 dvi-prms: \
20575 configure-prms
20576 @: $(MAKE); $(unstage)
20577 @[ -f ./prms/Makefile ] || exit 0; \
20578 r=`${PWD_COMMAND}`; export r; \
20579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20580 $(HOST_EXPORTS) \
20581 for flag in $(EXTRA_HOST_FLAGS) ; do \
20582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20583 done; \
20584 echo "Doing dvi in prms" ; \
20585 (cd $(HOST_SUBDIR)/prms && \
20586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20588 "RANLIB=$${RANLIB}" \
20589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20590 dvi) \
20591 || exit 1
20593 @endif prms
20595 .PHONY: maybe-html-prms html-prms
20596 maybe-html-prms:
20597 @if prms
20598 maybe-html-prms: html-prms
20600 html-prms: \
20601 configure-prms
20602 @: $(MAKE); $(unstage)
20603 @[ -f ./prms/Makefile ] || exit 0; \
20604 r=`${PWD_COMMAND}`; export r; \
20605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20606 $(HOST_EXPORTS) \
20607 for flag in $(EXTRA_HOST_FLAGS) ; do \
20608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20609 done; \
20610 echo "Doing html in prms" ; \
20611 (cd $(HOST_SUBDIR)/prms && \
20612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20614 "RANLIB=$${RANLIB}" \
20615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20616 html) \
20617 || exit 1
20619 @endif prms
20621 .PHONY: maybe-TAGS-prms TAGS-prms
20622 maybe-TAGS-prms:
20623 @if prms
20624 maybe-TAGS-prms: TAGS-prms
20626 TAGS-prms: \
20627 configure-prms
20628 @: $(MAKE); $(unstage)
20629 @[ -f ./prms/Makefile ] || exit 0; \
20630 r=`${PWD_COMMAND}`; export r; \
20631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20632 $(HOST_EXPORTS) \
20633 for flag in $(EXTRA_HOST_FLAGS) ; do \
20634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20635 done; \
20636 echo "Doing TAGS in prms" ; \
20637 (cd $(HOST_SUBDIR)/prms && \
20638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20640 "RANLIB=$${RANLIB}" \
20641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20642 TAGS) \
20643 || exit 1
20645 @endif prms
20647 .PHONY: maybe-install-info-prms install-info-prms
20648 maybe-install-info-prms:
20649 @if prms
20650 maybe-install-info-prms: install-info-prms
20652 install-info-prms: \
20653 configure-prms \
20654 info-prms
20655 @: $(MAKE); $(unstage)
20656 @[ -f ./prms/Makefile ] || exit 0; \
20657 r=`${PWD_COMMAND}`; export r; \
20658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20659 $(HOST_EXPORTS) \
20660 for flag in $(EXTRA_HOST_FLAGS) ; do \
20661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20662 done; \
20663 echo "Doing install-info in prms" ; \
20664 (cd $(HOST_SUBDIR)/prms && \
20665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20667 "RANLIB=$${RANLIB}" \
20668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20669 install-info) \
20670 || exit 1
20672 @endif prms
20674 .PHONY: maybe-installcheck-prms installcheck-prms
20675 maybe-installcheck-prms:
20676 @if prms
20677 maybe-installcheck-prms: installcheck-prms
20679 installcheck-prms: \
20680 configure-prms
20681 @: $(MAKE); $(unstage)
20682 @[ -f ./prms/Makefile ] || exit 0; \
20683 r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(HOST_EXPORTS) \
20686 for flag in $(EXTRA_HOST_FLAGS) ; do \
20687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20688 done; \
20689 echo "Doing installcheck in prms" ; \
20690 (cd $(HOST_SUBDIR)/prms && \
20691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20693 "RANLIB=$${RANLIB}" \
20694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20695 installcheck) \
20696 || exit 1
20698 @endif prms
20700 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20701 maybe-mostlyclean-prms:
20702 @if prms
20703 maybe-mostlyclean-prms: mostlyclean-prms
20705 mostlyclean-prms:
20706 @: $(MAKE); $(unstage)
20707 @[ -f ./prms/Makefile ] || exit 0; \
20708 r=`${PWD_COMMAND}`; export r; \
20709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20710 $(HOST_EXPORTS) \
20711 for flag in $(EXTRA_HOST_FLAGS) ; do \
20712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20713 done; \
20714 echo "Doing mostlyclean in prms" ; \
20715 (cd $(HOST_SUBDIR)/prms && \
20716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20718 "RANLIB=$${RANLIB}" \
20719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20720 mostlyclean) \
20721 || exit 1
20723 @endif prms
20725 .PHONY: maybe-clean-prms clean-prms
20726 maybe-clean-prms:
20727 @if prms
20728 maybe-clean-prms: clean-prms
20730 clean-prms:
20731 @: $(MAKE); $(unstage)
20732 @[ -f ./prms/Makefile ] || exit 0; \
20733 r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 $(HOST_EXPORTS) \
20736 for flag in $(EXTRA_HOST_FLAGS) ; do \
20737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20738 done; \
20739 echo "Doing clean in prms" ; \
20740 (cd $(HOST_SUBDIR)/prms && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743 "RANLIB=$${RANLIB}" \
20744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20745 clean) \
20746 || exit 1
20748 @endif prms
20750 .PHONY: maybe-distclean-prms distclean-prms
20751 maybe-distclean-prms:
20752 @if prms
20753 maybe-distclean-prms: distclean-prms
20755 distclean-prms:
20756 @: $(MAKE); $(unstage)
20757 @[ -f ./prms/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS) ; do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing distclean in prms" ; \
20765 (cd $(HOST_SUBDIR)/prms && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 distclean) \
20771 || exit 1
20773 @endif prms
20775 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20776 maybe-maintainer-clean-prms:
20777 @if prms
20778 maybe-maintainer-clean-prms: maintainer-clean-prms
20780 maintainer-clean-prms:
20781 @: $(MAKE); $(unstage)
20782 @[ -f ./prms/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing maintainer-clean in prms" ; \
20790 (cd $(HOST_SUBDIR)/prms && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 maintainer-clean) \
20796 || exit 1
20798 @endif prms
20802 .PHONY: configure-rcs maybe-configure-rcs
20803 maybe-configure-rcs:
20804 @if rcs
20805 maybe-configure-rcs: configure-rcs
20806 configure-rcs:
20807 @: $(MAKE); $(unstage)
20808 @r=`${PWD_COMMAND}`; export r; \
20809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20810 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20812 $(HOST_EXPORTS) \
20813 echo Configuring in $(HOST_SUBDIR)/rcs; \
20814 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20815 case $(srcdir) in \
20816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20817 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20819 esac; \
20820 srcdiroption="--srcdir=$${topdir}/rcs"; \
20821 libsrcdir="$$s/rcs"; \
20822 $(SHELL) $${libsrcdir}/configure \
20823 $(HOST_CONFIGARGS) $${srcdiroption} \
20824 || exit 1
20825 @endif rcs
20831 .PHONY: all-rcs maybe-all-rcs
20832 maybe-all-rcs:
20833 @if rcs
20834 TARGET-rcs=all
20835 maybe-all-rcs: all-rcs
20836 all-rcs: configure-rcs
20837 @: $(MAKE); $(unstage)
20838 @r=`${PWD_COMMAND}`; export r; \
20839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20840 $(HOST_EXPORTS) \
20841 (cd $(HOST_SUBDIR)/rcs && \
20842 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20843 @endif rcs
20848 .PHONY: check-rcs maybe-check-rcs
20849 maybe-check-rcs:
20850 @if rcs
20851 maybe-check-rcs: check-rcs
20853 check-rcs:
20854 @: $(MAKE); $(unstage)
20855 @r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 $(HOST_EXPORTS) \
20858 (cd $(HOST_SUBDIR)/rcs && \
20859 $(MAKE) $(FLAGS_TO_PASS) check)
20861 @endif rcs
20863 .PHONY: install-rcs maybe-install-rcs
20864 maybe-install-rcs:
20865 @if rcs
20866 maybe-install-rcs: install-rcs
20868 install-rcs: installdirs
20869 @: $(MAKE); $(unstage)
20870 @r=`${PWD_COMMAND}`; export r; \
20871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 $(HOST_EXPORTS) \
20873 (cd $(HOST_SUBDIR)/rcs && \
20874 $(MAKE) $(FLAGS_TO_PASS) install)
20876 @endif rcs
20878 # Other targets (info, dvi, etc.)
20880 .PHONY: maybe-info-rcs info-rcs
20881 maybe-info-rcs:
20882 @if rcs
20883 maybe-info-rcs: info-rcs
20885 info-rcs: \
20886 configure-rcs
20887 @: $(MAKE); $(unstage)
20888 @[ -f ./rcs/Makefile ] || exit 0; \
20889 r=`${PWD_COMMAND}`; export r; \
20890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20891 $(HOST_EXPORTS) \
20892 for flag in $(EXTRA_HOST_FLAGS) ; do \
20893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20894 done; \
20895 echo "Doing info in rcs" ; \
20896 (cd $(HOST_SUBDIR)/rcs && \
20897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20899 "RANLIB=$${RANLIB}" \
20900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20901 info) \
20902 || exit 1
20904 @endif rcs
20906 .PHONY: maybe-dvi-rcs dvi-rcs
20907 maybe-dvi-rcs:
20908 @if rcs
20909 maybe-dvi-rcs: dvi-rcs
20911 dvi-rcs: \
20912 configure-rcs
20913 @: $(MAKE); $(unstage)
20914 @[ -f ./rcs/Makefile ] || exit 0; \
20915 r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 $(HOST_EXPORTS) \
20918 for flag in $(EXTRA_HOST_FLAGS) ; do \
20919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20920 done; \
20921 echo "Doing dvi in rcs" ; \
20922 (cd $(HOST_SUBDIR)/rcs && \
20923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20925 "RANLIB=$${RANLIB}" \
20926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20927 dvi) \
20928 || exit 1
20930 @endif rcs
20932 .PHONY: maybe-html-rcs html-rcs
20933 maybe-html-rcs:
20934 @if rcs
20935 maybe-html-rcs: html-rcs
20937 html-rcs: \
20938 configure-rcs
20939 @: $(MAKE); $(unstage)
20940 @[ -f ./rcs/Makefile ] || exit 0; \
20941 r=`${PWD_COMMAND}`; export r; \
20942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 $(HOST_EXPORTS) \
20944 for flag in $(EXTRA_HOST_FLAGS) ; do \
20945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20946 done; \
20947 echo "Doing html in rcs" ; \
20948 (cd $(HOST_SUBDIR)/rcs && \
20949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20951 "RANLIB=$${RANLIB}" \
20952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20953 html) \
20954 || exit 1
20956 @endif rcs
20958 .PHONY: maybe-TAGS-rcs TAGS-rcs
20959 maybe-TAGS-rcs:
20960 @if rcs
20961 maybe-TAGS-rcs: TAGS-rcs
20963 TAGS-rcs: \
20964 configure-rcs
20965 @: $(MAKE); $(unstage)
20966 @[ -f ./rcs/Makefile ] || exit 0; \
20967 r=`${PWD_COMMAND}`; export r; \
20968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20969 $(HOST_EXPORTS) \
20970 for flag in $(EXTRA_HOST_FLAGS) ; do \
20971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20972 done; \
20973 echo "Doing TAGS in rcs" ; \
20974 (cd $(HOST_SUBDIR)/rcs && \
20975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20977 "RANLIB=$${RANLIB}" \
20978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20979 TAGS) \
20980 || exit 1
20982 @endif rcs
20984 .PHONY: maybe-install-info-rcs install-info-rcs
20985 maybe-install-info-rcs:
20986 @if rcs
20987 maybe-install-info-rcs: install-info-rcs
20989 install-info-rcs: \
20990 configure-rcs \
20991 info-rcs
20992 @: $(MAKE); $(unstage)
20993 @[ -f ./rcs/Makefile ] || exit 0; \
20994 r=`${PWD_COMMAND}`; export r; \
20995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20996 $(HOST_EXPORTS) \
20997 for flag in $(EXTRA_HOST_FLAGS) ; do \
20998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20999 done; \
21000 echo "Doing install-info in rcs" ; \
21001 (cd $(HOST_SUBDIR)/rcs && \
21002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21004 "RANLIB=$${RANLIB}" \
21005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21006 install-info) \
21007 || exit 1
21009 @endif rcs
21011 .PHONY: maybe-installcheck-rcs installcheck-rcs
21012 maybe-installcheck-rcs:
21013 @if rcs
21014 maybe-installcheck-rcs: installcheck-rcs
21016 installcheck-rcs: \
21017 configure-rcs
21018 @: $(MAKE); $(unstage)
21019 @[ -f ./rcs/Makefile ] || exit 0; \
21020 r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21022 $(HOST_EXPORTS) \
21023 for flag in $(EXTRA_HOST_FLAGS) ; do \
21024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21025 done; \
21026 echo "Doing installcheck in rcs" ; \
21027 (cd $(HOST_SUBDIR)/rcs && \
21028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21030 "RANLIB=$${RANLIB}" \
21031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21032 installcheck) \
21033 || exit 1
21035 @endif rcs
21037 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
21038 maybe-mostlyclean-rcs:
21039 @if rcs
21040 maybe-mostlyclean-rcs: mostlyclean-rcs
21042 mostlyclean-rcs:
21043 @: $(MAKE); $(unstage)
21044 @[ -f ./rcs/Makefile ] || exit 0; \
21045 r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 $(HOST_EXPORTS) \
21048 for flag in $(EXTRA_HOST_FLAGS) ; do \
21049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21050 done; \
21051 echo "Doing mostlyclean in rcs" ; \
21052 (cd $(HOST_SUBDIR)/rcs && \
21053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21055 "RANLIB=$${RANLIB}" \
21056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21057 mostlyclean) \
21058 || exit 1
21060 @endif rcs
21062 .PHONY: maybe-clean-rcs clean-rcs
21063 maybe-clean-rcs:
21064 @if rcs
21065 maybe-clean-rcs: clean-rcs
21067 clean-rcs:
21068 @: $(MAKE); $(unstage)
21069 @[ -f ./rcs/Makefile ] || exit 0; \
21070 r=`${PWD_COMMAND}`; export r; \
21071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21072 $(HOST_EXPORTS) \
21073 for flag in $(EXTRA_HOST_FLAGS) ; do \
21074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21075 done; \
21076 echo "Doing clean in rcs" ; \
21077 (cd $(HOST_SUBDIR)/rcs && \
21078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21080 "RANLIB=$${RANLIB}" \
21081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21082 clean) \
21083 || exit 1
21085 @endif rcs
21087 .PHONY: maybe-distclean-rcs distclean-rcs
21088 maybe-distclean-rcs:
21089 @if rcs
21090 maybe-distclean-rcs: distclean-rcs
21092 distclean-rcs:
21093 @: $(MAKE); $(unstage)
21094 @[ -f ./rcs/Makefile ] || exit 0; \
21095 r=`${PWD_COMMAND}`; export r; \
21096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21097 $(HOST_EXPORTS) \
21098 for flag in $(EXTRA_HOST_FLAGS) ; do \
21099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21100 done; \
21101 echo "Doing distclean in rcs" ; \
21102 (cd $(HOST_SUBDIR)/rcs && \
21103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21105 "RANLIB=$${RANLIB}" \
21106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21107 distclean) \
21108 || exit 1
21110 @endif rcs
21112 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
21113 maybe-maintainer-clean-rcs:
21114 @if rcs
21115 maybe-maintainer-clean-rcs: maintainer-clean-rcs
21117 maintainer-clean-rcs:
21118 @: $(MAKE); $(unstage)
21119 @[ -f ./rcs/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122 $(HOST_EXPORTS) \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21125 done; \
21126 echo "Doing maintainer-clean in rcs" ; \
21127 (cd $(HOST_SUBDIR)/rcs && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 maintainer-clean) \
21133 || exit 1
21135 @endif rcs
21139 .PHONY: configure-readline maybe-configure-readline
21140 maybe-configure-readline:
21141 @if readline
21142 maybe-configure-readline: configure-readline
21143 configure-readline:
21144 @: $(MAKE); $(unstage)
21145 @r=`${PWD_COMMAND}`; export r; \
21146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21147 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
21148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
21149 $(HOST_EXPORTS) \
21150 echo Configuring in $(HOST_SUBDIR)/readline; \
21151 cd "$(HOST_SUBDIR)/readline" || exit 1; \
21152 case $(srcdir) in \
21153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21154 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
21155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21156 esac; \
21157 srcdiroption="--srcdir=$${topdir}/readline"; \
21158 libsrcdir="$$s/readline"; \
21159 $(SHELL) $${libsrcdir}/configure \
21160 $(HOST_CONFIGARGS) $${srcdiroption} \
21161 || exit 1
21162 @endif readline
21168 .PHONY: all-readline maybe-all-readline
21169 maybe-all-readline:
21170 @if readline
21171 TARGET-readline=all
21172 maybe-all-readline: all-readline
21173 all-readline: configure-readline
21174 @: $(MAKE); $(unstage)
21175 @r=`${PWD_COMMAND}`; export r; \
21176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21177 $(HOST_EXPORTS) \
21178 (cd $(HOST_SUBDIR)/readline && \
21179 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
21180 @endif readline
21185 .PHONY: check-readline maybe-check-readline
21186 maybe-check-readline:
21187 @if readline
21188 maybe-check-readline: check-readline
21190 check-readline:
21191 @: $(MAKE); $(unstage)
21192 @r=`${PWD_COMMAND}`; export r; \
21193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21194 $(HOST_EXPORTS) \
21195 (cd $(HOST_SUBDIR)/readline && \
21196 $(MAKE) $(FLAGS_TO_PASS) check)
21198 @endif readline
21200 .PHONY: install-readline maybe-install-readline
21201 maybe-install-readline:
21202 @if readline
21203 maybe-install-readline: install-readline
21205 install-readline: installdirs
21206 @: $(MAKE); $(unstage)
21207 @r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 (cd $(HOST_SUBDIR)/readline && \
21211 $(MAKE) $(FLAGS_TO_PASS) install)
21213 @endif readline
21215 # Other targets (info, dvi, etc.)
21217 .PHONY: maybe-info-readline info-readline
21218 maybe-info-readline:
21219 @if readline
21220 maybe-info-readline: info-readline
21222 info-readline: \
21223 configure-readline
21224 @: $(MAKE); $(unstage)
21225 @[ -f ./readline/Makefile ] || exit 0; \
21226 r=`${PWD_COMMAND}`; export r; \
21227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21228 $(HOST_EXPORTS) \
21229 for flag in $(EXTRA_HOST_FLAGS) ; do \
21230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21231 done; \
21232 echo "Doing info in readline" ; \
21233 (cd $(HOST_SUBDIR)/readline && \
21234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21236 "RANLIB=$${RANLIB}" \
21237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21238 info) \
21239 || exit 1
21241 @endif readline
21243 .PHONY: maybe-dvi-readline dvi-readline
21244 maybe-dvi-readline:
21245 @if readline
21246 maybe-dvi-readline: dvi-readline
21248 dvi-readline: \
21249 configure-readline
21250 @: $(MAKE); $(unstage)
21251 @[ -f ./readline/Makefile ] || exit 0; \
21252 r=`${PWD_COMMAND}`; export r; \
21253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21254 $(HOST_EXPORTS) \
21255 for flag in $(EXTRA_HOST_FLAGS) ; do \
21256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21257 done; \
21258 echo "Doing dvi in readline" ; \
21259 (cd $(HOST_SUBDIR)/readline && \
21260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21262 "RANLIB=$${RANLIB}" \
21263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21264 dvi) \
21265 || exit 1
21267 @endif readline
21269 .PHONY: maybe-html-readline html-readline
21270 maybe-html-readline:
21271 @if readline
21272 maybe-html-readline: html-readline
21274 html-readline: \
21275 configure-readline
21276 @: $(MAKE); $(unstage)
21277 @[ -f ./readline/Makefile ] || exit 0; \
21278 r=`${PWD_COMMAND}`; export r; \
21279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21280 $(HOST_EXPORTS) \
21281 for flag in $(EXTRA_HOST_FLAGS) ; do \
21282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21283 done; \
21284 echo "Doing html in readline" ; \
21285 (cd $(HOST_SUBDIR)/readline && \
21286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21288 "RANLIB=$${RANLIB}" \
21289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21290 html) \
21291 || exit 1
21293 @endif readline
21295 .PHONY: maybe-TAGS-readline TAGS-readline
21296 maybe-TAGS-readline:
21297 @if readline
21298 maybe-TAGS-readline: TAGS-readline
21300 TAGS-readline: \
21301 configure-readline
21302 @: $(MAKE); $(unstage)
21303 @[ -f ./readline/Makefile ] || exit 0; \
21304 r=`${PWD_COMMAND}`; export r; \
21305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21306 $(HOST_EXPORTS) \
21307 for flag in $(EXTRA_HOST_FLAGS) ; do \
21308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21309 done; \
21310 echo "Doing TAGS in readline" ; \
21311 (cd $(HOST_SUBDIR)/readline && \
21312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21314 "RANLIB=$${RANLIB}" \
21315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21316 TAGS) \
21317 || exit 1
21319 @endif readline
21321 .PHONY: maybe-install-info-readline install-info-readline
21322 maybe-install-info-readline:
21323 @if readline
21324 maybe-install-info-readline: install-info-readline
21326 install-info-readline: \
21327 configure-readline \
21328 info-readline
21329 @: $(MAKE); $(unstage)
21330 @[ -f ./readline/Makefile ] || exit 0; \
21331 r=`${PWD_COMMAND}`; export r; \
21332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21333 $(HOST_EXPORTS) \
21334 for flag in $(EXTRA_HOST_FLAGS) ; do \
21335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21336 done; \
21337 echo "Doing install-info in readline" ; \
21338 (cd $(HOST_SUBDIR)/readline && \
21339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21341 "RANLIB=$${RANLIB}" \
21342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21343 install-info) \
21344 || exit 1
21346 @endif readline
21348 .PHONY: maybe-installcheck-readline installcheck-readline
21349 maybe-installcheck-readline:
21350 @if readline
21351 maybe-installcheck-readline: installcheck-readline
21353 installcheck-readline: \
21354 configure-readline
21355 @: $(MAKE); $(unstage)
21356 @[ -f ./readline/Makefile ] || exit 0; \
21357 r=`${PWD_COMMAND}`; export r; \
21358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21359 $(HOST_EXPORTS) \
21360 for flag in $(EXTRA_HOST_FLAGS) ; do \
21361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21362 done; \
21363 echo "Doing installcheck in readline" ; \
21364 (cd $(HOST_SUBDIR)/readline && \
21365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21367 "RANLIB=$${RANLIB}" \
21368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21369 installcheck) \
21370 || exit 1
21372 @endif readline
21374 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21375 maybe-mostlyclean-readline:
21376 @if readline
21377 maybe-mostlyclean-readline: mostlyclean-readline
21379 mostlyclean-readline:
21380 @: $(MAKE); $(unstage)
21381 @[ -f ./readline/Makefile ] || exit 0; \
21382 r=`${PWD_COMMAND}`; export r; \
21383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21384 $(HOST_EXPORTS) \
21385 for flag in $(EXTRA_HOST_FLAGS) ; do \
21386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21387 done; \
21388 echo "Doing mostlyclean in readline" ; \
21389 (cd $(HOST_SUBDIR)/readline && \
21390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21392 "RANLIB=$${RANLIB}" \
21393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21394 mostlyclean) \
21395 || exit 1
21397 @endif readline
21399 .PHONY: maybe-clean-readline clean-readline
21400 maybe-clean-readline:
21401 @if readline
21402 maybe-clean-readline: clean-readline
21404 clean-readline:
21405 @: $(MAKE); $(unstage)
21406 @[ -f ./readline/Makefile ] || exit 0; \
21407 r=`${PWD_COMMAND}`; export r; \
21408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21409 $(HOST_EXPORTS) \
21410 for flag in $(EXTRA_HOST_FLAGS) ; do \
21411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21412 done; \
21413 echo "Doing clean in readline" ; \
21414 (cd $(HOST_SUBDIR)/readline && \
21415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21417 "RANLIB=$${RANLIB}" \
21418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21419 clean) \
21420 || exit 1
21422 @endif readline
21424 .PHONY: maybe-distclean-readline distclean-readline
21425 maybe-distclean-readline:
21426 @if readline
21427 maybe-distclean-readline: distclean-readline
21429 distclean-readline:
21430 @: $(MAKE); $(unstage)
21431 @[ -f ./readline/Makefile ] || exit 0; \
21432 r=`${PWD_COMMAND}`; export r; \
21433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 $(HOST_EXPORTS) \
21435 for flag in $(EXTRA_HOST_FLAGS) ; do \
21436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21437 done; \
21438 echo "Doing distclean in readline" ; \
21439 (cd $(HOST_SUBDIR)/readline && \
21440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21442 "RANLIB=$${RANLIB}" \
21443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21444 distclean) \
21445 || exit 1
21447 @endif readline
21449 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21450 maybe-maintainer-clean-readline:
21451 @if readline
21452 maybe-maintainer-clean-readline: maintainer-clean-readline
21454 maintainer-clean-readline:
21455 @: $(MAKE); $(unstage)
21456 @[ -f ./readline/Makefile ] || exit 0; \
21457 r=`${PWD_COMMAND}`; export r; \
21458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21459 $(HOST_EXPORTS) \
21460 for flag in $(EXTRA_HOST_FLAGS) ; do \
21461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21462 done; \
21463 echo "Doing maintainer-clean in readline" ; \
21464 (cd $(HOST_SUBDIR)/readline && \
21465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21467 "RANLIB=$${RANLIB}" \
21468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21469 maintainer-clean) \
21470 || exit 1
21472 @endif readline
21476 .PHONY: configure-release maybe-configure-release
21477 maybe-configure-release:
21478 @if release
21479 maybe-configure-release: configure-release
21480 configure-release:
21481 @: $(MAKE); $(unstage)
21482 @r=`${PWD_COMMAND}`; export r; \
21483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21486 $(HOST_EXPORTS) \
21487 echo Configuring in $(HOST_SUBDIR)/release; \
21488 cd "$(HOST_SUBDIR)/release" || exit 1; \
21489 case $(srcdir) in \
21490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21491 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21493 esac; \
21494 srcdiroption="--srcdir=$${topdir}/release"; \
21495 libsrcdir="$$s/release"; \
21496 $(SHELL) $${libsrcdir}/configure \
21497 $(HOST_CONFIGARGS) $${srcdiroption} \
21498 || exit 1
21499 @endif release
21505 .PHONY: all-release maybe-all-release
21506 maybe-all-release:
21507 @if release
21508 TARGET-release=all
21509 maybe-all-release: all-release
21510 all-release: configure-release
21511 @: $(MAKE); $(unstage)
21512 @r=`${PWD_COMMAND}`; export r; \
21513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21514 $(HOST_EXPORTS) \
21515 (cd $(HOST_SUBDIR)/release && \
21516 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21517 @endif release
21522 .PHONY: check-release maybe-check-release
21523 maybe-check-release:
21524 @if release
21525 maybe-check-release: check-release
21527 check-release:
21529 @endif release
21531 .PHONY: install-release maybe-install-release
21532 maybe-install-release:
21533 @if release
21534 maybe-install-release: install-release
21536 install-release:
21538 @endif release
21540 # Other targets (info, dvi, etc.)
21542 .PHONY: maybe-info-release info-release
21543 maybe-info-release:
21544 @if release
21545 maybe-info-release: info-release
21547 info-release: \
21548 configure-release
21549 @: $(MAKE); $(unstage)
21550 @[ -f ./release/Makefile ] || exit 0; \
21551 r=`${PWD_COMMAND}`; export r; \
21552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21553 $(HOST_EXPORTS) \
21554 for flag in $(EXTRA_HOST_FLAGS) ; do \
21555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21556 done; \
21557 echo "Doing info in release" ; \
21558 (cd $(HOST_SUBDIR)/release && \
21559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21561 "RANLIB=$${RANLIB}" \
21562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21563 info) \
21564 || exit 1
21566 @endif release
21568 .PHONY: maybe-dvi-release dvi-release
21569 maybe-dvi-release:
21570 @if release
21571 maybe-dvi-release: dvi-release
21573 dvi-release: \
21574 configure-release
21575 @: $(MAKE); $(unstage)
21576 @[ -f ./release/Makefile ] || exit 0; \
21577 r=`${PWD_COMMAND}`; export r; \
21578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21579 $(HOST_EXPORTS) \
21580 for flag in $(EXTRA_HOST_FLAGS) ; do \
21581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21582 done; \
21583 echo "Doing dvi in release" ; \
21584 (cd $(HOST_SUBDIR)/release && \
21585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21587 "RANLIB=$${RANLIB}" \
21588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21589 dvi) \
21590 || exit 1
21592 @endif release
21594 .PHONY: maybe-html-release html-release
21595 maybe-html-release:
21596 @if release
21597 maybe-html-release: html-release
21599 html-release: \
21600 configure-release
21601 @: $(MAKE); $(unstage)
21602 @[ -f ./release/Makefile ] || exit 0; \
21603 r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 $(HOST_EXPORTS) \
21606 for flag in $(EXTRA_HOST_FLAGS) ; do \
21607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21608 done; \
21609 echo "Doing html in release" ; \
21610 (cd $(HOST_SUBDIR)/release && \
21611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21613 "RANLIB=$${RANLIB}" \
21614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21615 html) \
21616 || exit 1
21618 @endif release
21620 .PHONY: maybe-TAGS-release TAGS-release
21621 maybe-TAGS-release:
21622 @if release
21623 maybe-TAGS-release: TAGS-release
21625 TAGS-release: \
21626 configure-release
21627 @: $(MAKE); $(unstage)
21628 @[ -f ./release/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) ; do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing TAGS in release" ; \
21636 (cd $(HOST_SUBDIR)/release && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21641 TAGS) \
21642 || exit 1
21644 @endif release
21646 .PHONY: maybe-install-info-release install-info-release
21647 maybe-install-info-release:
21648 @if release
21649 maybe-install-info-release: install-info-release
21651 install-info-release: \
21652 configure-release \
21653 info-release
21654 @: $(MAKE); $(unstage)
21655 @[ -f ./release/Makefile ] || exit 0; \
21656 r=`${PWD_COMMAND}`; export r; \
21657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21658 $(HOST_EXPORTS) \
21659 for flag in $(EXTRA_HOST_FLAGS) ; do \
21660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21661 done; \
21662 echo "Doing install-info in release" ; \
21663 (cd $(HOST_SUBDIR)/release && \
21664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21666 "RANLIB=$${RANLIB}" \
21667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21668 install-info) \
21669 || exit 1
21671 @endif release
21673 .PHONY: maybe-installcheck-release installcheck-release
21674 maybe-installcheck-release:
21675 @if release
21676 maybe-installcheck-release: installcheck-release
21678 installcheck-release: \
21679 configure-release
21680 @: $(MAKE); $(unstage)
21681 @[ -f ./release/Makefile ] || exit 0; \
21682 r=`${PWD_COMMAND}`; export r; \
21683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21684 $(HOST_EXPORTS) \
21685 for flag in $(EXTRA_HOST_FLAGS) ; do \
21686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21687 done; \
21688 echo "Doing installcheck in release" ; \
21689 (cd $(HOST_SUBDIR)/release && \
21690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21692 "RANLIB=$${RANLIB}" \
21693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21694 installcheck) \
21695 || exit 1
21697 @endif release
21699 .PHONY: maybe-mostlyclean-release mostlyclean-release
21700 maybe-mostlyclean-release:
21701 @if release
21702 maybe-mostlyclean-release: mostlyclean-release
21704 mostlyclean-release:
21705 @: $(MAKE); $(unstage)
21706 @[ -f ./release/Makefile ] || exit 0; \
21707 r=`${PWD_COMMAND}`; export r; \
21708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21709 $(HOST_EXPORTS) \
21710 for flag in $(EXTRA_HOST_FLAGS) ; do \
21711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21712 done; \
21713 echo "Doing mostlyclean in release" ; \
21714 (cd $(HOST_SUBDIR)/release && \
21715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21717 "RANLIB=$${RANLIB}" \
21718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21719 mostlyclean) \
21720 || exit 1
21722 @endif release
21724 .PHONY: maybe-clean-release clean-release
21725 maybe-clean-release:
21726 @if release
21727 maybe-clean-release: clean-release
21729 clean-release:
21730 @: $(MAKE); $(unstage)
21731 @[ -f ./release/Makefile ] || exit 0; \
21732 r=`${PWD_COMMAND}`; export r; \
21733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21734 $(HOST_EXPORTS) \
21735 for flag in $(EXTRA_HOST_FLAGS) ; do \
21736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21737 done; \
21738 echo "Doing clean in release" ; \
21739 (cd $(HOST_SUBDIR)/release && \
21740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21742 "RANLIB=$${RANLIB}" \
21743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21744 clean) \
21745 || exit 1
21747 @endif release
21749 .PHONY: maybe-distclean-release distclean-release
21750 maybe-distclean-release:
21751 @if release
21752 maybe-distclean-release: distclean-release
21754 distclean-release:
21755 @: $(MAKE); $(unstage)
21756 @[ -f ./release/Makefile ] || exit 0; \
21757 r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 $(HOST_EXPORTS) \
21760 for flag in $(EXTRA_HOST_FLAGS) ; do \
21761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21762 done; \
21763 echo "Doing distclean in release" ; \
21764 (cd $(HOST_SUBDIR)/release && \
21765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21767 "RANLIB=$${RANLIB}" \
21768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21769 distclean) \
21770 || exit 1
21772 @endif release
21774 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21775 maybe-maintainer-clean-release:
21776 @if release
21777 maybe-maintainer-clean-release: maintainer-clean-release
21779 maintainer-clean-release:
21780 @: $(MAKE); $(unstage)
21781 @[ -f ./release/Makefile ] || exit 0; \
21782 r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 $(HOST_EXPORTS) \
21785 for flag in $(EXTRA_HOST_FLAGS) ; do \
21786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21787 done; \
21788 echo "Doing maintainer-clean in release" ; \
21789 (cd $(HOST_SUBDIR)/release && \
21790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21792 "RANLIB=$${RANLIB}" \
21793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21794 maintainer-clean) \
21795 || exit 1
21797 @endif release
21801 .PHONY: configure-recode maybe-configure-recode
21802 maybe-configure-recode:
21803 @if recode
21804 maybe-configure-recode: configure-recode
21805 configure-recode:
21806 @: $(MAKE); $(unstage)
21807 @r=`${PWD_COMMAND}`; export r; \
21808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21809 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21811 $(HOST_EXPORTS) \
21812 echo Configuring in $(HOST_SUBDIR)/recode; \
21813 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21814 case $(srcdir) in \
21815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21816 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21818 esac; \
21819 srcdiroption="--srcdir=$${topdir}/recode"; \
21820 libsrcdir="$$s/recode"; \
21821 $(SHELL) $${libsrcdir}/configure \
21822 $(HOST_CONFIGARGS) $${srcdiroption} \
21823 || exit 1
21824 @endif recode
21830 .PHONY: all-recode maybe-all-recode
21831 maybe-all-recode:
21832 @if recode
21833 TARGET-recode=all
21834 maybe-all-recode: all-recode
21835 all-recode: configure-recode
21836 @: $(MAKE); $(unstage)
21837 @r=`${PWD_COMMAND}`; export r; \
21838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 $(HOST_EXPORTS) \
21840 (cd $(HOST_SUBDIR)/recode && \
21841 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21842 @endif recode
21847 .PHONY: check-recode maybe-check-recode
21848 maybe-check-recode:
21849 @if recode
21850 maybe-check-recode: check-recode
21852 check-recode:
21853 @: $(MAKE); $(unstage)
21854 @r=`${PWD_COMMAND}`; export r; \
21855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21856 $(HOST_EXPORTS) \
21857 (cd $(HOST_SUBDIR)/recode && \
21858 $(MAKE) $(FLAGS_TO_PASS) check)
21860 @endif recode
21862 .PHONY: install-recode maybe-install-recode
21863 maybe-install-recode:
21864 @if recode
21865 maybe-install-recode: install-recode
21867 install-recode: installdirs
21868 @: $(MAKE); $(unstage)
21869 @r=`${PWD_COMMAND}`; export r; \
21870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21871 $(HOST_EXPORTS) \
21872 (cd $(HOST_SUBDIR)/recode && \
21873 $(MAKE) $(FLAGS_TO_PASS) install)
21875 @endif recode
21877 # Other targets (info, dvi, etc.)
21879 .PHONY: maybe-info-recode info-recode
21880 maybe-info-recode:
21881 @if recode
21882 maybe-info-recode: info-recode
21884 info-recode: \
21885 configure-recode
21886 @: $(MAKE); $(unstage)
21887 @[ -f ./recode/Makefile ] || exit 0; \
21888 r=`${PWD_COMMAND}`; export r; \
21889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21890 $(HOST_EXPORTS) \
21891 for flag in $(EXTRA_HOST_FLAGS) ; do \
21892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21893 done; \
21894 echo "Doing info in recode" ; \
21895 (cd $(HOST_SUBDIR)/recode && \
21896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21898 "RANLIB=$${RANLIB}" \
21899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21900 info) \
21901 || exit 1
21903 @endif recode
21905 .PHONY: maybe-dvi-recode dvi-recode
21906 maybe-dvi-recode:
21907 @if recode
21908 maybe-dvi-recode: dvi-recode
21910 dvi-recode: \
21911 configure-recode
21912 @: $(MAKE); $(unstage)
21913 @[ -f ./recode/Makefile ] || exit 0; \
21914 r=`${PWD_COMMAND}`; export r; \
21915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21916 $(HOST_EXPORTS) \
21917 for flag in $(EXTRA_HOST_FLAGS) ; do \
21918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21919 done; \
21920 echo "Doing dvi in recode" ; \
21921 (cd $(HOST_SUBDIR)/recode && \
21922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21924 "RANLIB=$${RANLIB}" \
21925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21926 dvi) \
21927 || exit 1
21929 @endif recode
21931 .PHONY: maybe-html-recode html-recode
21932 maybe-html-recode:
21933 @if recode
21934 maybe-html-recode: html-recode
21936 html-recode: \
21937 configure-recode
21938 @: $(MAKE); $(unstage)
21939 @[ -f ./recode/Makefile ] || exit 0; \
21940 r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 $(HOST_EXPORTS) \
21943 for flag in $(EXTRA_HOST_FLAGS) ; do \
21944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21945 done; \
21946 echo "Doing html in recode" ; \
21947 (cd $(HOST_SUBDIR)/recode && \
21948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21950 "RANLIB=$${RANLIB}" \
21951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21952 html) \
21953 || exit 1
21955 @endif recode
21957 .PHONY: maybe-TAGS-recode TAGS-recode
21958 maybe-TAGS-recode:
21959 @if recode
21960 maybe-TAGS-recode: TAGS-recode
21962 TAGS-recode: \
21963 configure-recode
21964 @: $(MAKE); $(unstage)
21965 @[ -f ./recode/Makefile ] || exit 0; \
21966 r=`${PWD_COMMAND}`; export r; \
21967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21968 $(HOST_EXPORTS) \
21969 for flag in $(EXTRA_HOST_FLAGS) ; do \
21970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21971 done; \
21972 echo "Doing TAGS in recode" ; \
21973 (cd $(HOST_SUBDIR)/recode && \
21974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21976 "RANLIB=$${RANLIB}" \
21977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21978 TAGS) \
21979 || exit 1
21981 @endif recode
21983 .PHONY: maybe-install-info-recode install-info-recode
21984 maybe-install-info-recode:
21985 @if recode
21986 maybe-install-info-recode: install-info-recode
21988 install-info-recode: \
21989 configure-recode \
21990 info-recode
21991 @: $(MAKE); $(unstage)
21992 @[ -f ./recode/Makefile ] || exit 0; \
21993 r=`${PWD_COMMAND}`; export r; \
21994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21995 $(HOST_EXPORTS) \
21996 for flag in $(EXTRA_HOST_FLAGS) ; do \
21997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21998 done; \
21999 echo "Doing install-info in recode" ; \
22000 (cd $(HOST_SUBDIR)/recode && \
22001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22003 "RANLIB=$${RANLIB}" \
22004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22005 install-info) \
22006 || exit 1
22008 @endif recode
22010 .PHONY: maybe-installcheck-recode installcheck-recode
22011 maybe-installcheck-recode:
22012 @if recode
22013 maybe-installcheck-recode: installcheck-recode
22015 installcheck-recode: \
22016 configure-recode
22017 @: $(MAKE); $(unstage)
22018 @[ -f ./recode/Makefile ] || exit 0; \
22019 r=`${PWD_COMMAND}`; export r; \
22020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22021 $(HOST_EXPORTS) \
22022 for flag in $(EXTRA_HOST_FLAGS) ; do \
22023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22024 done; \
22025 echo "Doing installcheck in recode" ; \
22026 (cd $(HOST_SUBDIR)/recode && \
22027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22029 "RANLIB=$${RANLIB}" \
22030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22031 installcheck) \
22032 || exit 1
22034 @endif recode
22036 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
22037 maybe-mostlyclean-recode:
22038 @if recode
22039 maybe-mostlyclean-recode: mostlyclean-recode
22041 mostlyclean-recode:
22042 @: $(MAKE); $(unstage)
22043 @[ -f ./recode/Makefile ] || exit 0; \
22044 r=`${PWD_COMMAND}`; export r; \
22045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 $(HOST_EXPORTS) \
22047 for flag in $(EXTRA_HOST_FLAGS) ; do \
22048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22049 done; \
22050 echo "Doing mostlyclean in recode" ; \
22051 (cd $(HOST_SUBDIR)/recode && \
22052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22054 "RANLIB=$${RANLIB}" \
22055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22056 mostlyclean) \
22057 || exit 1
22059 @endif recode
22061 .PHONY: maybe-clean-recode clean-recode
22062 maybe-clean-recode:
22063 @if recode
22064 maybe-clean-recode: clean-recode
22066 clean-recode:
22067 @: $(MAKE); $(unstage)
22068 @[ -f ./recode/Makefile ] || exit 0; \
22069 r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 $(HOST_EXPORTS) \
22072 for flag in $(EXTRA_HOST_FLAGS) ; do \
22073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22074 done; \
22075 echo "Doing clean in recode" ; \
22076 (cd $(HOST_SUBDIR)/recode && \
22077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22079 "RANLIB=$${RANLIB}" \
22080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22081 clean) \
22082 || exit 1
22084 @endif recode
22086 .PHONY: maybe-distclean-recode distclean-recode
22087 maybe-distclean-recode:
22088 @if recode
22089 maybe-distclean-recode: distclean-recode
22091 distclean-recode:
22092 @: $(MAKE); $(unstage)
22093 @[ -f ./recode/Makefile ] || exit 0; \
22094 r=`${PWD_COMMAND}`; export r; \
22095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22096 $(HOST_EXPORTS) \
22097 for flag in $(EXTRA_HOST_FLAGS) ; do \
22098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22099 done; \
22100 echo "Doing distclean in recode" ; \
22101 (cd $(HOST_SUBDIR)/recode && \
22102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22104 "RANLIB=$${RANLIB}" \
22105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22106 distclean) \
22107 || exit 1
22109 @endif recode
22111 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
22112 maybe-maintainer-clean-recode:
22113 @if recode
22114 maybe-maintainer-clean-recode: maintainer-clean-recode
22116 maintainer-clean-recode:
22117 @: $(MAKE); $(unstage)
22118 @[ -f ./recode/Makefile ] || exit 0; \
22119 r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22121 $(HOST_EXPORTS) \
22122 for flag in $(EXTRA_HOST_FLAGS) ; do \
22123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22124 done; \
22125 echo "Doing maintainer-clean in recode" ; \
22126 (cd $(HOST_SUBDIR)/recode && \
22127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22129 "RANLIB=$${RANLIB}" \
22130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22131 maintainer-clean) \
22132 || exit 1
22134 @endif recode
22138 .PHONY: configure-sed maybe-configure-sed
22139 maybe-configure-sed:
22140 @if sed
22141 maybe-configure-sed: configure-sed
22142 configure-sed:
22143 @: $(MAKE); $(unstage)
22144 @r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
22147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
22148 $(HOST_EXPORTS) \
22149 echo Configuring in $(HOST_SUBDIR)/sed; \
22150 cd "$(HOST_SUBDIR)/sed" || exit 1; \
22151 case $(srcdir) in \
22152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22153 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
22154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22155 esac; \
22156 srcdiroption="--srcdir=$${topdir}/sed"; \
22157 libsrcdir="$$s/sed"; \
22158 $(SHELL) $${libsrcdir}/configure \
22159 $(HOST_CONFIGARGS) $${srcdiroption} \
22160 || exit 1
22161 @endif sed
22167 .PHONY: all-sed maybe-all-sed
22168 maybe-all-sed:
22169 @if sed
22170 TARGET-sed=all
22171 maybe-all-sed: all-sed
22172 all-sed: configure-sed
22173 @: $(MAKE); $(unstage)
22174 @r=`${PWD_COMMAND}`; export r; \
22175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22176 $(HOST_EXPORTS) \
22177 (cd $(HOST_SUBDIR)/sed && \
22178 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
22179 @endif sed
22184 .PHONY: check-sed maybe-check-sed
22185 maybe-check-sed:
22186 @if sed
22187 maybe-check-sed: check-sed
22189 check-sed:
22190 @: $(MAKE); $(unstage)
22191 @r=`${PWD_COMMAND}`; export r; \
22192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22193 $(HOST_EXPORTS) \
22194 (cd $(HOST_SUBDIR)/sed && \
22195 $(MAKE) $(FLAGS_TO_PASS) check)
22197 @endif sed
22199 .PHONY: install-sed maybe-install-sed
22200 maybe-install-sed:
22201 @if sed
22202 maybe-install-sed: install-sed
22204 install-sed: installdirs
22205 @: $(MAKE); $(unstage)
22206 @r=`${PWD_COMMAND}`; export r; \
22207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22208 $(HOST_EXPORTS) \
22209 (cd $(HOST_SUBDIR)/sed && \
22210 $(MAKE) $(FLAGS_TO_PASS) install)
22212 @endif sed
22214 # Other targets (info, dvi, etc.)
22216 .PHONY: maybe-info-sed info-sed
22217 maybe-info-sed:
22218 @if sed
22219 maybe-info-sed: info-sed
22221 info-sed: \
22222 configure-sed
22223 @: $(MAKE); $(unstage)
22224 @[ -f ./sed/Makefile ] || exit 0; \
22225 r=`${PWD_COMMAND}`; export r; \
22226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22227 $(HOST_EXPORTS) \
22228 for flag in $(EXTRA_HOST_FLAGS) ; do \
22229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22230 done; \
22231 echo "Doing info in sed" ; \
22232 (cd $(HOST_SUBDIR)/sed && \
22233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22235 "RANLIB=$${RANLIB}" \
22236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22237 info) \
22238 || exit 1
22240 @endif sed
22242 .PHONY: maybe-dvi-sed dvi-sed
22243 maybe-dvi-sed:
22244 @if sed
22245 maybe-dvi-sed: dvi-sed
22247 dvi-sed: \
22248 configure-sed
22249 @: $(MAKE); $(unstage)
22250 @[ -f ./sed/Makefile ] || exit 0; \
22251 r=`${PWD_COMMAND}`; export r; \
22252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22253 $(HOST_EXPORTS) \
22254 for flag in $(EXTRA_HOST_FLAGS) ; do \
22255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22256 done; \
22257 echo "Doing dvi in sed" ; \
22258 (cd $(HOST_SUBDIR)/sed && \
22259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22261 "RANLIB=$${RANLIB}" \
22262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22263 dvi) \
22264 || exit 1
22266 @endif sed
22268 .PHONY: maybe-html-sed html-sed
22269 maybe-html-sed:
22270 @if sed
22271 maybe-html-sed: html-sed
22273 html-sed: \
22274 configure-sed
22275 @: $(MAKE); $(unstage)
22276 @[ -f ./sed/Makefile ] || exit 0; \
22277 r=`${PWD_COMMAND}`; export r; \
22278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22279 $(HOST_EXPORTS) \
22280 for flag in $(EXTRA_HOST_FLAGS) ; do \
22281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22282 done; \
22283 echo "Doing html in sed" ; \
22284 (cd $(HOST_SUBDIR)/sed && \
22285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22287 "RANLIB=$${RANLIB}" \
22288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22289 html) \
22290 || exit 1
22292 @endif sed
22294 .PHONY: maybe-TAGS-sed TAGS-sed
22295 maybe-TAGS-sed:
22296 @if sed
22297 maybe-TAGS-sed: TAGS-sed
22299 TAGS-sed: \
22300 configure-sed
22301 @: $(MAKE); $(unstage)
22302 @[ -f ./sed/Makefile ] || exit 0; \
22303 r=`${PWD_COMMAND}`; export r; \
22304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22305 $(HOST_EXPORTS) \
22306 for flag in $(EXTRA_HOST_FLAGS) ; do \
22307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22308 done; \
22309 echo "Doing TAGS in sed" ; \
22310 (cd $(HOST_SUBDIR)/sed && \
22311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22313 "RANLIB=$${RANLIB}" \
22314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22315 TAGS) \
22316 || exit 1
22318 @endif sed
22320 .PHONY: maybe-install-info-sed install-info-sed
22321 maybe-install-info-sed:
22322 @if sed
22323 maybe-install-info-sed: install-info-sed
22325 install-info-sed: \
22326 configure-sed \
22327 info-sed
22328 @: $(MAKE); $(unstage)
22329 @[ -f ./sed/Makefile ] || exit 0; \
22330 r=`${PWD_COMMAND}`; export r; \
22331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22332 $(HOST_EXPORTS) \
22333 for flag in $(EXTRA_HOST_FLAGS) ; do \
22334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22335 done; \
22336 echo "Doing install-info in sed" ; \
22337 (cd $(HOST_SUBDIR)/sed && \
22338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22340 "RANLIB=$${RANLIB}" \
22341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22342 install-info) \
22343 || exit 1
22345 @endif sed
22347 .PHONY: maybe-installcheck-sed installcheck-sed
22348 maybe-installcheck-sed:
22349 @if sed
22350 maybe-installcheck-sed: installcheck-sed
22352 installcheck-sed: \
22353 configure-sed
22354 @: $(MAKE); $(unstage)
22355 @[ -f ./sed/Makefile ] || exit 0; \
22356 r=`${PWD_COMMAND}`; export r; \
22357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22358 $(HOST_EXPORTS) \
22359 for flag in $(EXTRA_HOST_FLAGS) ; do \
22360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22361 done; \
22362 echo "Doing installcheck in sed" ; \
22363 (cd $(HOST_SUBDIR)/sed && \
22364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22366 "RANLIB=$${RANLIB}" \
22367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22368 installcheck) \
22369 || exit 1
22371 @endif sed
22373 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22374 maybe-mostlyclean-sed:
22375 @if sed
22376 maybe-mostlyclean-sed: mostlyclean-sed
22378 mostlyclean-sed:
22379 @: $(MAKE); $(unstage)
22380 @[ -f ./sed/Makefile ] || exit 0; \
22381 r=`${PWD_COMMAND}`; export r; \
22382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22383 $(HOST_EXPORTS) \
22384 for flag in $(EXTRA_HOST_FLAGS) ; do \
22385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22386 done; \
22387 echo "Doing mostlyclean in sed" ; \
22388 (cd $(HOST_SUBDIR)/sed && \
22389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22391 "RANLIB=$${RANLIB}" \
22392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22393 mostlyclean) \
22394 || exit 1
22396 @endif sed
22398 .PHONY: maybe-clean-sed clean-sed
22399 maybe-clean-sed:
22400 @if sed
22401 maybe-clean-sed: clean-sed
22403 clean-sed:
22404 @: $(MAKE); $(unstage)
22405 @[ -f ./sed/Makefile ] || exit 0; \
22406 r=`${PWD_COMMAND}`; export r; \
22407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22408 $(HOST_EXPORTS) \
22409 for flag in $(EXTRA_HOST_FLAGS) ; do \
22410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22411 done; \
22412 echo "Doing clean in sed" ; \
22413 (cd $(HOST_SUBDIR)/sed && \
22414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22416 "RANLIB=$${RANLIB}" \
22417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22418 clean) \
22419 || exit 1
22421 @endif sed
22423 .PHONY: maybe-distclean-sed distclean-sed
22424 maybe-distclean-sed:
22425 @if sed
22426 maybe-distclean-sed: distclean-sed
22428 distclean-sed:
22429 @: $(MAKE); $(unstage)
22430 @[ -f ./sed/Makefile ] || exit 0; \
22431 r=`${PWD_COMMAND}`; export r; \
22432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22433 $(HOST_EXPORTS) \
22434 for flag in $(EXTRA_HOST_FLAGS) ; do \
22435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22436 done; \
22437 echo "Doing distclean in sed" ; \
22438 (cd $(HOST_SUBDIR)/sed && \
22439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22441 "RANLIB=$${RANLIB}" \
22442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22443 distclean) \
22444 || exit 1
22446 @endif sed
22448 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22449 maybe-maintainer-clean-sed:
22450 @if sed
22451 maybe-maintainer-clean-sed: maintainer-clean-sed
22453 maintainer-clean-sed:
22454 @: $(MAKE); $(unstage)
22455 @[ -f ./sed/Makefile ] || exit 0; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(HOST_EXPORTS) \
22459 for flag in $(EXTRA_HOST_FLAGS) ; do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22461 done; \
22462 echo "Doing maintainer-clean in sed" ; \
22463 (cd $(HOST_SUBDIR)/sed && \
22464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22466 "RANLIB=$${RANLIB}" \
22467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22468 maintainer-clean) \
22469 || exit 1
22471 @endif sed
22475 .PHONY: configure-send-pr maybe-configure-send-pr
22476 maybe-configure-send-pr:
22477 @if send-pr
22478 maybe-configure-send-pr: configure-send-pr
22479 configure-send-pr:
22480 @: $(MAKE); $(unstage)
22481 @r=`${PWD_COMMAND}`; export r; \
22482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22485 $(HOST_EXPORTS) \
22486 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22487 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22488 case $(srcdir) in \
22489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22490 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22492 esac; \
22493 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22494 libsrcdir="$$s/send-pr"; \
22495 $(SHELL) $${libsrcdir}/configure \
22496 $(HOST_CONFIGARGS) $${srcdiroption} \
22497 || exit 1
22498 @endif send-pr
22504 .PHONY: all-send-pr maybe-all-send-pr
22505 maybe-all-send-pr:
22506 @if send-pr
22507 TARGET-send-pr=all
22508 maybe-all-send-pr: all-send-pr
22509 all-send-pr: configure-send-pr
22510 @: $(MAKE); $(unstage)
22511 @r=`${PWD_COMMAND}`; export r; \
22512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22513 $(HOST_EXPORTS) \
22514 (cd $(HOST_SUBDIR)/send-pr && \
22515 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22516 @endif send-pr
22521 .PHONY: check-send-pr maybe-check-send-pr
22522 maybe-check-send-pr:
22523 @if send-pr
22524 maybe-check-send-pr: check-send-pr
22526 check-send-pr:
22527 @: $(MAKE); $(unstage)
22528 @r=`${PWD_COMMAND}`; export r; \
22529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22530 $(HOST_EXPORTS) \
22531 (cd $(HOST_SUBDIR)/send-pr && \
22532 $(MAKE) $(FLAGS_TO_PASS) check)
22534 @endif send-pr
22536 .PHONY: install-send-pr maybe-install-send-pr
22537 maybe-install-send-pr:
22538 @if send-pr
22539 maybe-install-send-pr: install-send-pr
22541 install-send-pr: installdirs
22542 @: $(MAKE); $(unstage)
22543 @r=`${PWD_COMMAND}`; export r; \
22544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22545 $(HOST_EXPORTS) \
22546 (cd $(HOST_SUBDIR)/send-pr && \
22547 $(MAKE) $(FLAGS_TO_PASS) install)
22549 @endif send-pr
22551 # Other targets (info, dvi, etc.)
22553 .PHONY: maybe-info-send-pr info-send-pr
22554 maybe-info-send-pr:
22555 @if send-pr
22556 maybe-info-send-pr: info-send-pr
22558 info-send-pr: \
22559 configure-send-pr
22560 @: $(MAKE); $(unstage)
22561 @[ -f ./send-pr/Makefile ] || exit 0; \
22562 r=`${PWD_COMMAND}`; export r; \
22563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22564 $(HOST_EXPORTS) \
22565 for flag in $(EXTRA_HOST_FLAGS) ; do \
22566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22567 done; \
22568 echo "Doing info in send-pr" ; \
22569 (cd $(HOST_SUBDIR)/send-pr && \
22570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22572 "RANLIB=$${RANLIB}" \
22573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22574 info) \
22575 || exit 1
22577 @endif send-pr
22579 .PHONY: maybe-dvi-send-pr dvi-send-pr
22580 maybe-dvi-send-pr:
22581 @if send-pr
22582 maybe-dvi-send-pr: dvi-send-pr
22584 dvi-send-pr: \
22585 configure-send-pr
22586 @: $(MAKE); $(unstage)
22587 @[ -f ./send-pr/Makefile ] || exit 0; \
22588 r=`${PWD_COMMAND}`; export r; \
22589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22590 $(HOST_EXPORTS) \
22591 for flag in $(EXTRA_HOST_FLAGS) ; do \
22592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22593 done; \
22594 echo "Doing dvi in send-pr" ; \
22595 (cd $(HOST_SUBDIR)/send-pr && \
22596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22598 "RANLIB=$${RANLIB}" \
22599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22600 dvi) \
22601 || exit 1
22603 @endif send-pr
22605 .PHONY: maybe-html-send-pr html-send-pr
22606 maybe-html-send-pr:
22607 @if send-pr
22608 maybe-html-send-pr: html-send-pr
22610 html-send-pr: \
22611 configure-send-pr
22612 @: $(MAKE); $(unstage)
22613 @[ -f ./send-pr/Makefile ] || exit 0; \
22614 r=`${PWD_COMMAND}`; export r; \
22615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22616 $(HOST_EXPORTS) \
22617 for flag in $(EXTRA_HOST_FLAGS) ; do \
22618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22619 done; \
22620 echo "Doing html in send-pr" ; \
22621 (cd $(HOST_SUBDIR)/send-pr && \
22622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22624 "RANLIB=$${RANLIB}" \
22625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22626 html) \
22627 || exit 1
22629 @endif send-pr
22631 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22632 maybe-TAGS-send-pr:
22633 @if send-pr
22634 maybe-TAGS-send-pr: TAGS-send-pr
22636 TAGS-send-pr: \
22637 configure-send-pr
22638 @: $(MAKE); $(unstage)
22639 @[ -f ./send-pr/Makefile ] || exit 0; \
22640 r=`${PWD_COMMAND}`; export r; \
22641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22642 $(HOST_EXPORTS) \
22643 for flag in $(EXTRA_HOST_FLAGS) ; do \
22644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22645 done; \
22646 echo "Doing TAGS in send-pr" ; \
22647 (cd $(HOST_SUBDIR)/send-pr && \
22648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22650 "RANLIB=$${RANLIB}" \
22651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22652 TAGS) \
22653 || exit 1
22655 @endif send-pr
22657 .PHONY: maybe-install-info-send-pr install-info-send-pr
22658 maybe-install-info-send-pr:
22659 @if send-pr
22660 maybe-install-info-send-pr: install-info-send-pr
22662 install-info-send-pr: \
22663 configure-send-pr \
22664 info-send-pr
22665 @: $(MAKE); $(unstage)
22666 @[ -f ./send-pr/Makefile ] || exit 0; \
22667 r=`${PWD_COMMAND}`; export r; \
22668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22669 $(HOST_EXPORTS) \
22670 for flag in $(EXTRA_HOST_FLAGS) ; do \
22671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22672 done; \
22673 echo "Doing install-info in send-pr" ; \
22674 (cd $(HOST_SUBDIR)/send-pr && \
22675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22677 "RANLIB=$${RANLIB}" \
22678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22679 install-info) \
22680 || exit 1
22682 @endif send-pr
22684 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22685 maybe-installcheck-send-pr:
22686 @if send-pr
22687 maybe-installcheck-send-pr: installcheck-send-pr
22689 installcheck-send-pr: \
22690 configure-send-pr
22691 @: $(MAKE); $(unstage)
22692 @[ -f ./send-pr/Makefile ] || exit 0; \
22693 r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 $(HOST_EXPORTS) \
22696 for flag in $(EXTRA_HOST_FLAGS) ; do \
22697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22698 done; \
22699 echo "Doing installcheck in send-pr" ; \
22700 (cd $(HOST_SUBDIR)/send-pr && \
22701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22703 "RANLIB=$${RANLIB}" \
22704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22705 installcheck) \
22706 || exit 1
22708 @endif send-pr
22710 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22711 maybe-mostlyclean-send-pr:
22712 @if send-pr
22713 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22715 mostlyclean-send-pr:
22716 @: $(MAKE); $(unstage)
22717 @[ -f ./send-pr/Makefile ] || exit 0; \
22718 r=`${PWD_COMMAND}`; export r; \
22719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 $(HOST_EXPORTS) \
22721 for flag in $(EXTRA_HOST_FLAGS) ; do \
22722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22723 done; \
22724 echo "Doing mostlyclean in send-pr" ; \
22725 (cd $(HOST_SUBDIR)/send-pr && \
22726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22728 "RANLIB=$${RANLIB}" \
22729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22730 mostlyclean) \
22731 || exit 1
22733 @endif send-pr
22735 .PHONY: maybe-clean-send-pr clean-send-pr
22736 maybe-clean-send-pr:
22737 @if send-pr
22738 maybe-clean-send-pr: clean-send-pr
22740 clean-send-pr:
22741 @: $(MAKE); $(unstage)
22742 @[ -f ./send-pr/Makefile ] || exit 0; \
22743 r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22745 $(HOST_EXPORTS) \
22746 for flag in $(EXTRA_HOST_FLAGS) ; do \
22747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22748 done; \
22749 echo "Doing clean in send-pr" ; \
22750 (cd $(HOST_SUBDIR)/send-pr && \
22751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22753 "RANLIB=$${RANLIB}" \
22754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22755 clean) \
22756 || exit 1
22758 @endif send-pr
22760 .PHONY: maybe-distclean-send-pr distclean-send-pr
22761 maybe-distclean-send-pr:
22762 @if send-pr
22763 maybe-distclean-send-pr: distclean-send-pr
22765 distclean-send-pr:
22766 @: $(MAKE); $(unstage)
22767 @[ -f ./send-pr/Makefile ] || exit 0; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) ; do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing distclean in send-pr" ; \
22775 (cd $(HOST_SUBDIR)/send-pr && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 distclean) \
22781 || exit 1
22783 @endif send-pr
22785 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22786 maybe-maintainer-clean-send-pr:
22787 @if send-pr
22788 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22790 maintainer-clean-send-pr:
22791 @: $(MAKE); $(unstage)
22792 @[ -f ./send-pr/Makefile ] || exit 0; \
22793 r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 $(HOST_EXPORTS) \
22796 for flag in $(EXTRA_HOST_FLAGS) ; do \
22797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22798 done; \
22799 echo "Doing maintainer-clean in send-pr" ; \
22800 (cd $(HOST_SUBDIR)/send-pr && \
22801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22803 "RANLIB=$${RANLIB}" \
22804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22805 maintainer-clean) \
22806 || exit 1
22808 @endif send-pr
22812 .PHONY: configure-shellutils maybe-configure-shellutils
22813 maybe-configure-shellutils:
22814 @if shellutils
22815 maybe-configure-shellutils: configure-shellutils
22816 configure-shellutils:
22817 @: $(MAKE); $(unstage)
22818 @r=`${PWD_COMMAND}`; export r; \
22819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22820 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22822 $(HOST_EXPORTS) \
22823 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22824 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22825 case $(srcdir) in \
22826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22827 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22829 esac; \
22830 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22831 libsrcdir="$$s/shellutils"; \
22832 $(SHELL) $${libsrcdir}/configure \
22833 $(HOST_CONFIGARGS) $${srcdiroption} \
22834 || exit 1
22835 @endif shellutils
22841 .PHONY: all-shellutils maybe-all-shellutils
22842 maybe-all-shellutils:
22843 @if shellutils
22844 TARGET-shellutils=all
22845 maybe-all-shellutils: all-shellutils
22846 all-shellutils: configure-shellutils
22847 @: $(MAKE); $(unstage)
22848 @r=`${PWD_COMMAND}`; export r; \
22849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22850 $(HOST_EXPORTS) \
22851 (cd $(HOST_SUBDIR)/shellutils && \
22852 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22853 @endif shellutils
22858 .PHONY: check-shellutils maybe-check-shellutils
22859 maybe-check-shellutils:
22860 @if shellutils
22861 maybe-check-shellutils: check-shellutils
22863 check-shellutils:
22864 @: $(MAKE); $(unstage)
22865 @r=`${PWD_COMMAND}`; export r; \
22866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 $(HOST_EXPORTS) \
22868 (cd $(HOST_SUBDIR)/shellutils && \
22869 $(MAKE) $(FLAGS_TO_PASS) check)
22871 @endif shellutils
22873 .PHONY: install-shellutils maybe-install-shellutils
22874 maybe-install-shellutils:
22875 @if shellutils
22876 maybe-install-shellutils: install-shellutils
22878 install-shellutils: installdirs
22879 @: $(MAKE); $(unstage)
22880 @r=`${PWD_COMMAND}`; export r; \
22881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22882 $(HOST_EXPORTS) \
22883 (cd $(HOST_SUBDIR)/shellutils && \
22884 $(MAKE) $(FLAGS_TO_PASS) install)
22886 @endif shellutils
22888 # Other targets (info, dvi, etc.)
22890 .PHONY: maybe-info-shellutils info-shellutils
22891 maybe-info-shellutils:
22892 @if shellutils
22893 maybe-info-shellutils: info-shellutils
22895 info-shellutils: \
22896 configure-shellutils
22897 @: $(MAKE); $(unstage)
22898 @[ -f ./shellutils/Makefile ] || exit 0; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) ; do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing info in shellutils" ; \
22906 (cd $(HOST_SUBDIR)/shellutils && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22911 info) \
22912 || exit 1
22914 @endif shellutils
22916 .PHONY: maybe-dvi-shellutils dvi-shellutils
22917 maybe-dvi-shellutils:
22918 @if shellutils
22919 maybe-dvi-shellutils: dvi-shellutils
22921 dvi-shellutils: \
22922 configure-shellutils
22923 @: $(MAKE); $(unstage)
22924 @[ -f ./shellutils/Makefile ] || exit 0; \
22925 r=`${PWD_COMMAND}`; export r; \
22926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22927 $(HOST_EXPORTS) \
22928 for flag in $(EXTRA_HOST_FLAGS) ; do \
22929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22930 done; \
22931 echo "Doing dvi in shellutils" ; \
22932 (cd $(HOST_SUBDIR)/shellutils && \
22933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22935 "RANLIB=$${RANLIB}" \
22936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22937 dvi) \
22938 || exit 1
22940 @endif shellutils
22942 .PHONY: maybe-html-shellutils html-shellutils
22943 maybe-html-shellutils:
22944 @if shellutils
22945 maybe-html-shellutils: html-shellutils
22947 html-shellutils: \
22948 configure-shellutils
22949 @: $(MAKE); $(unstage)
22950 @[ -f ./shellutils/Makefile ] || exit 0; \
22951 r=`${PWD_COMMAND}`; export r; \
22952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22953 $(HOST_EXPORTS) \
22954 for flag in $(EXTRA_HOST_FLAGS) ; do \
22955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22956 done; \
22957 echo "Doing html in shellutils" ; \
22958 (cd $(HOST_SUBDIR)/shellutils && \
22959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22961 "RANLIB=$${RANLIB}" \
22962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22963 html) \
22964 || exit 1
22966 @endif shellutils
22968 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22969 maybe-TAGS-shellutils:
22970 @if shellutils
22971 maybe-TAGS-shellutils: TAGS-shellutils
22973 TAGS-shellutils: \
22974 configure-shellutils
22975 @: $(MAKE); $(unstage)
22976 @[ -f ./shellutils/Makefile ] || exit 0; \
22977 r=`${PWD_COMMAND}`; export r; \
22978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22979 $(HOST_EXPORTS) \
22980 for flag in $(EXTRA_HOST_FLAGS) ; do \
22981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22982 done; \
22983 echo "Doing TAGS in shellutils" ; \
22984 (cd $(HOST_SUBDIR)/shellutils && \
22985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22987 "RANLIB=$${RANLIB}" \
22988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22989 TAGS) \
22990 || exit 1
22992 @endif shellutils
22994 .PHONY: maybe-install-info-shellutils install-info-shellutils
22995 maybe-install-info-shellutils:
22996 @if shellutils
22997 maybe-install-info-shellutils: install-info-shellutils
22999 install-info-shellutils: \
23000 configure-shellutils \
23001 info-shellutils
23002 @: $(MAKE); $(unstage)
23003 @[ -f ./shellutils/Makefile ] || exit 0; \
23004 r=`${PWD_COMMAND}`; export r; \
23005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23006 $(HOST_EXPORTS) \
23007 for flag in $(EXTRA_HOST_FLAGS) ; do \
23008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23009 done; \
23010 echo "Doing install-info in shellutils" ; \
23011 (cd $(HOST_SUBDIR)/shellutils && \
23012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23014 "RANLIB=$${RANLIB}" \
23015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23016 install-info) \
23017 || exit 1
23019 @endif shellutils
23021 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
23022 maybe-installcheck-shellutils:
23023 @if shellutils
23024 maybe-installcheck-shellutils: installcheck-shellutils
23026 installcheck-shellutils: \
23027 configure-shellutils
23028 @: $(MAKE); $(unstage)
23029 @[ -f ./shellutils/Makefile ] || exit 0; \
23030 r=`${PWD_COMMAND}`; export r; \
23031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23032 $(HOST_EXPORTS) \
23033 for flag in $(EXTRA_HOST_FLAGS) ; do \
23034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23035 done; \
23036 echo "Doing installcheck in shellutils" ; \
23037 (cd $(HOST_SUBDIR)/shellutils && \
23038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23040 "RANLIB=$${RANLIB}" \
23041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23042 installcheck) \
23043 || exit 1
23045 @endif shellutils
23047 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
23048 maybe-mostlyclean-shellutils:
23049 @if shellutils
23050 maybe-mostlyclean-shellutils: mostlyclean-shellutils
23052 mostlyclean-shellutils:
23053 @: $(MAKE); $(unstage)
23054 @[ -f ./shellutils/Makefile ] || exit 0; \
23055 r=`${PWD_COMMAND}`; export r; \
23056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23057 $(HOST_EXPORTS) \
23058 for flag in $(EXTRA_HOST_FLAGS) ; do \
23059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23060 done; \
23061 echo "Doing mostlyclean in shellutils" ; \
23062 (cd $(HOST_SUBDIR)/shellutils && \
23063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23065 "RANLIB=$${RANLIB}" \
23066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23067 mostlyclean) \
23068 || exit 1
23070 @endif shellutils
23072 .PHONY: maybe-clean-shellutils clean-shellutils
23073 maybe-clean-shellutils:
23074 @if shellutils
23075 maybe-clean-shellutils: clean-shellutils
23077 clean-shellutils:
23078 @: $(MAKE); $(unstage)
23079 @[ -f ./shellutils/Makefile ] || exit 0; \
23080 r=`${PWD_COMMAND}`; export r; \
23081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23082 $(HOST_EXPORTS) \
23083 for flag in $(EXTRA_HOST_FLAGS) ; do \
23084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23085 done; \
23086 echo "Doing clean in shellutils" ; \
23087 (cd $(HOST_SUBDIR)/shellutils && \
23088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23090 "RANLIB=$${RANLIB}" \
23091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23092 clean) \
23093 || exit 1
23095 @endif shellutils
23097 .PHONY: maybe-distclean-shellutils distclean-shellutils
23098 maybe-distclean-shellutils:
23099 @if shellutils
23100 maybe-distclean-shellutils: distclean-shellutils
23102 distclean-shellutils:
23103 @: $(MAKE); $(unstage)
23104 @[ -f ./shellutils/Makefile ] || exit 0; \
23105 r=`${PWD_COMMAND}`; export r; \
23106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23107 $(HOST_EXPORTS) \
23108 for flag in $(EXTRA_HOST_FLAGS) ; do \
23109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23110 done; \
23111 echo "Doing distclean in shellutils" ; \
23112 (cd $(HOST_SUBDIR)/shellutils && \
23113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23115 "RANLIB=$${RANLIB}" \
23116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23117 distclean) \
23118 || exit 1
23120 @endif shellutils
23122 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
23123 maybe-maintainer-clean-shellutils:
23124 @if shellutils
23125 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
23127 maintainer-clean-shellutils:
23128 @: $(MAKE); $(unstage)
23129 @[ -f ./shellutils/Makefile ] || exit 0; \
23130 r=`${PWD_COMMAND}`; export r; \
23131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23132 $(HOST_EXPORTS) \
23133 for flag in $(EXTRA_HOST_FLAGS) ; do \
23134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23135 done; \
23136 echo "Doing maintainer-clean in shellutils" ; \
23137 (cd $(HOST_SUBDIR)/shellutils && \
23138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23140 "RANLIB=$${RANLIB}" \
23141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23142 maintainer-clean) \
23143 || exit 1
23145 @endif shellutils
23149 .PHONY: configure-sid maybe-configure-sid
23150 maybe-configure-sid:
23151 @if sid
23152 maybe-configure-sid: configure-sid
23153 configure-sid:
23154 @: $(MAKE); $(unstage)
23155 @r=`${PWD_COMMAND}`; export r; \
23156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23157 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23159 $(HOST_EXPORTS) \
23160 echo Configuring in $(HOST_SUBDIR)/sid; \
23161 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23162 case $(srcdir) in \
23163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23164 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23166 esac; \
23167 srcdiroption="--srcdir=$${topdir}/sid"; \
23168 libsrcdir="$$s/sid"; \
23169 $(SHELL) $${libsrcdir}/configure \
23170 $(HOST_CONFIGARGS) $${srcdiroption} \
23171 || exit 1
23172 @endif sid
23178 .PHONY: all-sid maybe-all-sid
23179 maybe-all-sid:
23180 @if sid
23181 TARGET-sid=all
23182 maybe-all-sid: all-sid
23183 all-sid: configure-sid
23184 @: $(MAKE); $(unstage)
23185 @r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 $(HOST_EXPORTS) \
23188 (cd $(HOST_SUBDIR)/sid && \
23189 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
23190 @endif sid
23195 .PHONY: check-sid maybe-check-sid
23196 maybe-check-sid:
23197 @if sid
23198 maybe-check-sid: check-sid
23200 check-sid:
23201 @: $(MAKE); $(unstage)
23202 @r=`${PWD_COMMAND}`; export r; \
23203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23204 $(HOST_EXPORTS) \
23205 (cd $(HOST_SUBDIR)/sid && \
23206 $(MAKE) $(FLAGS_TO_PASS) check)
23208 @endif sid
23210 .PHONY: install-sid maybe-install-sid
23211 maybe-install-sid:
23212 @if sid
23213 maybe-install-sid: install-sid
23215 install-sid: installdirs
23216 @: $(MAKE); $(unstage)
23217 @r=`${PWD_COMMAND}`; export r; \
23218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219 $(HOST_EXPORTS) \
23220 (cd $(HOST_SUBDIR)/sid && \
23221 $(MAKE) $(FLAGS_TO_PASS) install)
23223 @endif sid
23225 # Other targets (info, dvi, etc.)
23227 .PHONY: maybe-info-sid info-sid
23228 maybe-info-sid:
23229 @if sid
23230 maybe-info-sid: info-sid
23232 info-sid: \
23233 configure-sid
23234 @: $(MAKE); $(unstage)
23235 @[ -f ./sid/Makefile ] || exit 0; \
23236 r=`${PWD_COMMAND}`; export r; \
23237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(HOST_EXPORTS) \
23239 for flag in $(EXTRA_HOST_FLAGS) ; do \
23240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23241 done; \
23242 echo "Doing info in sid" ; \
23243 (cd $(HOST_SUBDIR)/sid && \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246 "RANLIB=$${RANLIB}" \
23247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23248 info) \
23249 || exit 1
23251 @endif sid
23253 .PHONY: maybe-dvi-sid dvi-sid
23254 maybe-dvi-sid:
23255 @if sid
23256 maybe-dvi-sid: dvi-sid
23258 dvi-sid: \
23259 configure-sid
23260 @: $(MAKE); $(unstage)
23261 @[ -f ./sid/Makefile ] || exit 0; \
23262 r=`${PWD_COMMAND}`; export r; \
23263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23264 $(HOST_EXPORTS) \
23265 for flag in $(EXTRA_HOST_FLAGS) ; do \
23266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23267 done; \
23268 echo "Doing dvi in sid" ; \
23269 (cd $(HOST_SUBDIR)/sid && \
23270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23272 "RANLIB=$${RANLIB}" \
23273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23274 dvi) \
23275 || exit 1
23277 @endif sid
23279 .PHONY: maybe-html-sid html-sid
23280 maybe-html-sid:
23281 @if sid
23282 maybe-html-sid: html-sid
23284 html-sid: \
23285 configure-sid
23286 @: $(MAKE); $(unstage)
23287 @[ -f ./sid/Makefile ] || exit 0; \
23288 r=`${PWD_COMMAND}`; export r; \
23289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23290 $(HOST_EXPORTS) \
23291 for flag in $(EXTRA_HOST_FLAGS) ; do \
23292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23293 done; \
23294 echo "Doing html in sid" ; \
23295 (cd $(HOST_SUBDIR)/sid && \
23296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23298 "RANLIB=$${RANLIB}" \
23299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23300 html) \
23301 || exit 1
23303 @endif sid
23305 .PHONY: maybe-TAGS-sid TAGS-sid
23306 maybe-TAGS-sid:
23307 @if sid
23308 maybe-TAGS-sid: TAGS-sid
23310 TAGS-sid: \
23311 configure-sid
23312 @: $(MAKE); $(unstage)
23313 @[ -f ./sid/Makefile ] || exit 0; \
23314 r=`${PWD_COMMAND}`; export r; \
23315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23316 $(HOST_EXPORTS) \
23317 for flag in $(EXTRA_HOST_FLAGS) ; do \
23318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23319 done; \
23320 echo "Doing TAGS in sid" ; \
23321 (cd $(HOST_SUBDIR)/sid && \
23322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23324 "RANLIB=$${RANLIB}" \
23325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23326 TAGS) \
23327 || exit 1
23329 @endif sid
23331 .PHONY: maybe-install-info-sid install-info-sid
23332 maybe-install-info-sid:
23333 @if sid
23334 maybe-install-info-sid: install-info-sid
23336 install-info-sid: \
23337 configure-sid \
23338 info-sid
23339 @: $(MAKE); $(unstage)
23340 @[ -f ./sid/Makefile ] || exit 0; \
23341 r=`${PWD_COMMAND}`; export r; \
23342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23343 $(HOST_EXPORTS) \
23344 for flag in $(EXTRA_HOST_FLAGS) ; do \
23345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23346 done; \
23347 echo "Doing install-info in sid" ; \
23348 (cd $(HOST_SUBDIR)/sid && \
23349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23351 "RANLIB=$${RANLIB}" \
23352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23353 install-info) \
23354 || exit 1
23356 @endif sid
23358 .PHONY: maybe-installcheck-sid installcheck-sid
23359 maybe-installcheck-sid:
23360 @if sid
23361 maybe-installcheck-sid: installcheck-sid
23363 installcheck-sid: \
23364 configure-sid
23365 @: $(MAKE); $(unstage)
23366 @[ -f ./sid/Makefile ] || exit 0; \
23367 r=`${PWD_COMMAND}`; export r; \
23368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23369 $(HOST_EXPORTS) \
23370 for flag in $(EXTRA_HOST_FLAGS) ; do \
23371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23372 done; \
23373 echo "Doing installcheck in sid" ; \
23374 (cd $(HOST_SUBDIR)/sid && \
23375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23377 "RANLIB=$${RANLIB}" \
23378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23379 installcheck) \
23380 || exit 1
23382 @endif sid
23384 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23385 maybe-mostlyclean-sid:
23386 @if sid
23387 maybe-mostlyclean-sid: mostlyclean-sid
23389 mostlyclean-sid:
23390 @: $(MAKE); $(unstage)
23391 @[ -f ./sid/Makefile ] || exit 0; \
23392 r=`${PWD_COMMAND}`; export r; \
23393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23394 $(HOST_EXPORTS) \
23395 for flag in $(EXTRA_HOST_FLAGS) ; do \
23396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23397 done; \
23398 echo "Doing mostlyclean in sid" ; \
23399 (cd $(HOST_SUBDIR)/sid && \
23400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23402 "RANLIB=$${RANLIB}" \
23403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23404 mostlyclean) \
23405 || exit 1
23407 @endif sid
23409 .PHONY: maybe-clean-sid clean-sid
23410 maybe-clean-sid:
23411 @if sid
23412 maybe-clean-sid: clean-sid
23414 clean-sid:
23415 @: $(MAKE); $(unstage)
23416 @[ -f ./sid/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419 $(HOST_EXPORTS) \
23420 for flag in $(EXTRA_HOST_FLAGS) ; do \
23421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23422 done; \
23423 echo "Doing clean in sid" ; \
23424 (cd $(HOST_SUBDIR)/sid && \
23425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23427 "RANLIB=$${RANLIB}" \
23428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23429 clean) \
23430 || exit 1
23432 @endif sid
23434 .PHONY: maybe-distclean-sid distclean-sid
23435 maybe-distclean-sid:
23436 @if sid
23437 maybe-distclean-sid: distclean-sid
23439 distclean-sid:
23440 @: $(MAKE); $(unstage)
23441 @[ -f ./sid/Makefile ] || exit 0; \
23442 r=`${PWD_COMMAND}`; export r; \
23443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23444 $(HOST_EXPORTS) \
23445 for flag in $(EXTRA_HOST_FLAGS) ; do \
23446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23447 done; \
23448 echo "Doing distclean in sid" ; \
23449 (cd $(HOST_SUBDIR)/sid && \
23450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23452 "RANLIB=$${RANLIB}" \
23453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23454 distclean) \
23455 || exit 1
23457 @endif sid
23459 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23460 maybe-maintainer-clean-sid:
23461 @if sid
23462 maybe-maintainer-clean-sid: maintainer-clean-sid
23464 maintainer-clean-sid:
23465 @: $(MAKE); $(unstage)
23466 @[ -f ./sid/Makefile ] || exit 0; \
23467 r=`${PWD_COMMAND}`; export r; \
23468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23469 $(HOST_EXPORTS) \
23470 for flag in $(EXTRA_HOST_FLAGS) ; do \
23471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23472 done; \
23473 echo "Doing maintainer-clean in sid" ; \
23474 (cd $(HOST_SUBDIR)/sid && \
23475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23477 "RANLIB=$${RANLIB}" \
23478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23479 maintainer-clean) \
23480 || exit 1
23482 @endif sid
23486 .PHONY: configure-sim maybe-configure-sim
23487 maybe-configure-sim:
23488 @if sim
23489 maybe-configure-sim: configure-sim
23490 configure-sim:
23491 @: $(MAKE); $(unstage)
23492 @r=`${PWD_COMMAND}`; export r; \
23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23494 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23496 $(HOST_EXPORTS) \
23497 echo Configuring in $(HOST_SUBDIR)/sim; \
23498 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23499 case $(srcdir) in \
23500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23501 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23503 esac; \
23504 srcdiroption="--srcdir=$${topdir}/sim"; \
23505 libsrcdir="$$s/sim"; \
23506 $(SHELL) $${libsrcdir}/configure \
23507 $(HOST_CONFIGARGS) $${srcdiroption} \
23508 || exit 1
23509 @endif sim
23515 .PHONY: all-sim maybe-all-sim
23516 maybe-all-sim:
23517 @if sim
23518 TARGET-sim=all
23519 maybe-all-sim: all-sim
23520 all-sim: configure-sim
23521 @: $(MAKE); $(unstage)
23522 @r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23524 $(HOST_EXPORTS) \
23525 (cd $(HOST_SUBDIR)/sim && \
23526 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23527 @endif sim
23532 .PHONY: check-sim maybe-check-sim
23533 maybe-check-sim:
23534 @if sim
23535 maybe-check-sim: check-sim
23537 check-sim:
23538 @: $(MAKE); $(unstage)
23539 @r=`${PWD_COMMAND}`; export r; \
23540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 $(HOST_EXPORTS) \
23542 (cd $(HOST_SUBDIR)/sim && \
23543 $(MAKE) $(FLAGS_TO_PASS) check)
23545 @endif sim
23547 .PHONY: install-sim maybe-install-sim
23548 maybe-install-sim:
23549 @if sim
23550 maybe-install-sim: install-sim
23552 install-sim: installdirs
23553 @: $(MAKE); $(unstage)
23554 @r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(HOST_EXPORTS) \
23557 (cd $(HOST_SUBDIR)/sim && \
23558 $(MAKE) $(FLAGS_TO_PASS) install)
23560 @endif sim
23562 # Other targets (info, dvi, etc.)
23564 .PHONY: maybe-info-sim info-sim
23565 maybe-info-sim:
23566 @if sim
23567 maybe-info-sim: info-sim
23569 info-sim: \
23570 configure-sim
23571 @: $(MAKE); $(unstage)
23572 @[ -f ./sim/Makefile ] || exit 0; \
23573 r=`${PWD_COMMAND}`; export r; \
23574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23575 $(HOST_EXPORTS) \
23576 for flag in $(EXTRA_HOST_FLAGS) ; do \
23577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23578 done; \
23579 echo "Doing info in sim" ; \
23580 (cd $(HOST_SUBDIR)/sim && \
23581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23583 "RANLIB=$${RANLIB}" \
23584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23585 info) \
23586 || exit 1
23588 @endif sim
23590 .PHONY: maybe-dvi-sim dvi-sim
23591 maybe-dvi-sim:
23592 @if sim
23593 maybe-dvi-sim: dvi-sim
23595 dvi-sim: \
23596 configure-sim
23597 @: $(MAKE); $(unstage)
23598 @[ -f ./sim/Makefile ] || exit 0; \
23599 r=`${PWD_COMMAND}`; export r; \
23600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23601 $(HOST_EXPORTS) \
23602 for flag in $(EXTRA_HOST_FLAGS) ; do \
23603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23604 done; \
23605 echo "Doing dvi in sim" ; \
23606 (cd $(HOST_SUBDIR)/sim && \
23607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23609 "RANLIB=$${RANLIB}" \
23610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23611 dvi) \
23612 || exit 1
23614 @endif sim
23616 .PHONY: maybe-html-sim html-sim
23617 maybe-html-sim:
23618 @if sim
23619 maybe-html-sim: html-sim
23621 html-sim: \
23622 configure-sim
23623 @: $(MAKE); $(unstage)
23624 @[ -f ./sim/Makefile ] || exit 0; \
23625 r=`${PWD_COMMAND}`; export r; \
23626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23627 $(HOST_EXPORTS) \
23628 for flag in $(EXTRA_HOST_FLAGS) ; do \
23629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23630 done; \
23631 echo "Doing html in sim" ; \
23632 (cd $(HOST_SUBDIR)/sim && \
23633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23635 "RANLIB=$${RANLIB}" \
23636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23637 html) \
23638 || exit 1
23640 @endif sim
23642 .PHONY: maybe-TAGS-sim TAGS-sim
23643 maybe-TAGS-sim:
23644 @if sim
23645 maybe-TAGS-sim: TAGS-sim
23647 TAGS-sim: \
23648 configure-sim
23649 @: $(MAKE); $(unstage)
23650 @[ -f ./sim/Makefile ] || exit 0; \
23651 r=`${PWD_COMMAND}`; export r; \
23652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23653 $(HOST_EXPORTS) \
23654 for flag in $(EXTRA_HOST_FLAGS) ; do \
23655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23656 done; \
23657 echo "Doing TAGS in sim" ; \
23658 (cd $(HOST_SUBDIR)/sim && \
23659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23661 "RANLIB=$${RANLIB}" \
23662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23663 TAGS) \
23664 || exit 1
23666 @endif sim
23668 .PHONY: maybe-install-info-sim install-info-sim
23669 maybe-install-info-sim:
23670 @if sim
23671 maybe-install-info-sim: install-info-sim
23673 install-info-sim: \
23674 configure-sim \
23675 info-sim
23676 @: $(MAKE); $(unstage)
23677 @[ -f ./sim/Makefile ] || exit 0; \
23678 r=`${PWD_COMMAND}`; export r; \
23679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23680 $(HOST_EXPORTS) \
23681 for flag in $(EXTRA_HOST_FLAGS) ; do \
23682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23683 done; \
23684 echo "Doing install-info in sim" ; \
23685 (cd $(HOST_SUBDIR)/sim && \
23686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23688 "RANLIB=$${RANLIB}" \
23689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23690 install-info) \
23691 || exit 1
23693 @endif sim
23695 .PHONY: maybe-installcheck-sim installcheck-sim
23696 maybe-installcheck-sim:
23697 @if sim
23698 maybe-installcheck-sim: installcheck-sim
23700 installcheck-sim: \
23701 configure-sim
23702 @: $(MAKE); $(unstage)
23703 @[ -f ./sim/Makefile ] || exit 0; \
23704 r=`${PWD_COMMAND}`; export r; \
23705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23706 $(HOST_EXPORTS) \
23707 for flag in $(EXTRA_HOST_FLAGS) ; do \
23708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23709 done; \
23710 echo "Doing installcheck in sim" ; \
23711 (cd $(HOST_SUBDIR)/sim && \
23712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23714 "RANLIB=$${RANLIB}" \
23715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23716 installcheck) \
23717 || exit 1
23719 @endif sim
23721 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23722 maybe-mostlyclean-sim:
23723 @if sim
23724 maybe-mostlyclean-sim: mostlyclean-sim
23726 mostlyclean-sim:
23727 @: $(MAKE); $(unstage)
23728 @[ -f ./sim/Makefile ] || exit 0; \
23729 r=`${PWD_COMMAND}`; export r; \
23730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23731 $(HOST_EXPORTS) \
23732 for flag in $(EXTRA_HOST_FLAGS) ; do \
23733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23734 done; \
23735 echo "Doing mostlyclean in sim" ; \
23736 (cd $(HOST_SUBDIR)/sim && \
23737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23739 "RANLIB=$${RANLIB}" \
23740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23741 mostlyclean) \
23742 || exit 1
23744 @endif sim
23746 .PHONY: maybe-clean-sim clean-sim
23747 maybe-clean-sim:
23748 @if sim
23749 maybe-clean-sim: clean-sim
23751 clean-sim:
23752 @: $(MAKE); $(unstage)
23753 @[ -f ./sim/Makefile ] || exit 0; \
23754 r=`${PWD_COMMAND}`; export r; \
23755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23756 $(HOST_EXPORTS) \
23757 for flag in $(EXTRA_HOST_FLAGS) ; do \
23758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23759 done; \
23760 echo "Doing clean in sim" ; \
23761 (cd $(HOST_SUBDIR)/sim && \
23762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23764 "RANLIB=$${RANLIB}" \
23765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23766 clean) \
23767 || exit 1
23769 @endif sim
23771 .PHONY: maybe-distclean-sim distclean-sim
23772 maybe-distclean-sim:
23773 @if sim
23774 maybe-distclean-sim: distclean-sim
23776 distclean-sim:
23777 @: $(MAKE); $(unstage)
23778 @[ -f ./sim/Makefile ] || exit 0; \
23779 r=`${PWD_COMMAND}`; export r; \
23780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23781 $(HOST_EXPORTS) \
23782 for flag in $(EXTRA_HOST_FLAGS) ; do \
23783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23784 done; \
23785 echo "Doing distclean in sim" ; \
23786 (cd $(HOST_SUBDIR)/sim && \
23787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23789 "RANLIB=$${RANLIB}" \
23790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23791 distclean) \
23792 || exit 1
23794 @endif sim
23796 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23797 maybe-maintainer-clean-sim:
23798 @if sim
23799 maybe-maintainer-clean-sim: maintainer-clean-sim
23801 maintainer-clean-sim:
23802 @: $(MAKE); $(unstage)
23803 @[ -f ./sim/Makefile ] || exit 0; \
23804 r=`${PWD_COMMAND}`; export r; \
23805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 $(HOST_EXPORTS) \
23807 for flag in $(EXTRA_HOST_FLAGS) ; do \
23808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23809 done; \
23810 echo "Doing maintainer-clean in sim" ; \
23811 (cd $(HOST_SUBDIR)/sim && \
23812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23814 "RANLIB=$${RANLIB}" \
23815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23816 maintainer-clean) \
23817 || exit 1
23819 @endif sim
23823 .PHONY: configure-tar maybe-configure-tar
23824 maybe-configure-tar:
23825 @if tar
23826 maybe-configure-tar: configure-tar
23827 configure-tar:
23828 @: $(MAKE); $(unstage)
23829 @r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23833 $(HOST_EXPORTS) \
23834 echo Configuring in $(HOST_SUBDIR)/tar; \
23835 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23836 case $(srcdir) in \
23837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23838 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23840 esac; \
23841 srcdiroption="--srcdir=$${topdir}/tar"; \
23842 libsrcdir="$$s/tar"; \
23843 $(SHELL) $${libsrcdir}/configure \
23844 $(HOST_CONFIGARGS) $${srcdiroption} \
23845 || exit 1
23846 @endif tar
23852 .PHONY: all-tar maybe-all-tar
23853 maybe-all-tar:
23854 @if tar
23855 TARGET-tar=all
23856 maybe-all-tar: all-tar
23857 all-tar: configure-tar
23858 @: $(MAKE); $(unstage)
23859 @r=`${PWD_COMMAND}`; export r; \
23860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23861 $(HOST_EXPORTS) \
23862 (cd $(HOST_SUBDIR)/tar && \
23863 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23864 @endif tar
23869 .PHONY: check-tar maybe-check-tar
23870 maybe-check-tar:
23871 @if tar
23872 maybe-check-tar: check-tar
23874 check-tar:
23875 @: $(MAKE); $(unstage)
23876 @r=`${PWD_COMMAND}`; export r; \
23877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23878 $(HOST_EXPORTS) \
23879 (cd $(HOST_SUBDIR)/tar && \
23880 $(MAKE) $(FLAGS_TO_PASS) check)
23882 @endif tar
23884 .PHONY: install-tar maybe-install-tar
23885 maybe-install-tar:
23886 @if tar
23887 maybe-install-tar: install-tar
23889 install-tar: installdirs
23890 @: $(MAKE); $(unstage)
23891 @r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23893 $(HOST_EXPORTS) \
23894 (cd $(HOST_SUBDIR)/tar && \
23895 $(MAKE) $(FLAGS_TO_PASS) install)
23897 @endif tar
23899 # Other targets (info, dvi, etc.)
23901 .PHONY: maybe-info-tar info-tar
23902 maybe-info-tar:
23903 @if tar
23904 maybe-info-tar: info-tar
23906 info-tar: \
23907 configure-tar
23908 @: $(MAKE); $(unstage)
23909 @[ -f ./tar/Makefile ] || exit 0; \
23910 r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23912 $(HOST_EXPORTS) \
23913 for flag in $(EXTRA_HOST_FLAGS) ; do \
23914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23915 done; \
23916 echo "Doing info in tar" ; \
23917 (cd $(HOST_SUBDIR)/tar && \
23918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23920 "RANLIB=$${RANLIB}" \
23921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23922 info) \
23923 || exit 1
23925 @endif tar
23927 .PHONY: maybe-dvi-tar dvi-tar
23928 maybe-dvi-tar:
23929 @if tar
23930 maybe-dvi-tar: dvi-tar
23932 dvi-tar: \
23933 configure-tar
23934 @: $(MAKE); $(unstage)
23935 @[ -f ./tar/Makefile ] || exit 0; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938 $(HOST_EXPORTS) \
23939 for flag in $(EXTRA_HOST_FLAGS) ; do \
23940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23941 done; \
23942 echo "Doing dvi in tar" ; \
23943 (cd $(HOST_SUBDIR)/tar && \
23944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23946 "RANLIB=$${RANLIB}" \
23947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23948 dvi) \
23949 || exit 1
23951 @endif tar
23953 .PHONY: maybe-html-tar html-tar
23954 maybe-html-tar:
23955 @if tar
23956 maybe-html-tar: html-tar
23958 html-tar: \
23959 configure-tar
23960 @: $(MAKE); $(unstage)
23961 @[ -f ./tar/Makefile ] || exit 0; \
23962 r=`${PWD_COMMAND}`; export r; \
23963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23964 $(HOST_EXPORTS) \
23965 for flag in $(EXTRA_HOST_FLAGS) ; do \
23966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23967 done; \
23968 echo "Doing html in tar" ; \
23969 (cd $(HOST_SUBDIR)/tar && \
23970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23972 "RANLIB=$${RANLIB}" \
23973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23974 html) \
23975 || exit 1
23977 @endif tar
23979 .PHONY: maybe-TAGS-tar TAGS-tar
23980 maybe-TAGS-tar:
23981 @if tar
23982 maybe-TAGS-tar: TAGS-tar
23984 TAGS-tar: \
23985 configure-tar
23986 @: $(MAKE); $(unstage)
23987 @[ -f ./tar/Makefile ] || exit 0; \
23988 r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23990 $(HOST_EXPORTS) \
23991 for flag in $(EXTRA_HOST_FLAGS) ; do \
23992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23993 done; \
23994 echo "Doing TAGS in tar" ; \
23995 (cd $(HOST_SUBDIR)/tar && \
23996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23998 "RANLIB=$${RANLIB}" \
23999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24000 TAGS) \
24001 || exit 1
24003 @endif tar
24005 .PHONY: maybe-install-info-tar install-info-tar
24006 maybe-install-info-tar:
24007 @if tar
24008 maybe-install-info-tar: install-info-tar
24010 install-info-tar: \
24011 configure-tar \
24012 info-tar
24013 @: $(MAKE); $(unstage)
24014 @[ -f ./tar/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(HOST_EXPORTS) \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 echo "Doing install-info in tar" ; \
24022 (cd $(HOST_SUBDIR)/tar && \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24027 install-info) \
24028 || exit 1
24030 @endif tar
24032 .PHONY: maybe-installcheck-tar installcheck-tar
24033 maybe-installcheck-tar:
24034 @if tar
24035 maybe-installcheck-tar: installcheck-tar
24037 installcheck-tar: \
24038 configure-tar
24039 @: $(MAKE); $(unstage)
24040 @[ -f ./tar/Makefile ] || exit 0; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24043 $(HOST_EXPORTS) \
24044 for flag in $(EXTRA_HOST_FLAGS) ; do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24046 done; \
24047 echo "Doing installcheck in tar" ; \
24048 (cd $(HOST_SUBDIR)/tar && \
24049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24051 "RANLIB=$${RANLIB}" \
24052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24053 installcheck) \
24054 || exit 1
24056 @endif tar
24058 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
24059 maybe-mostlyclean-tar:
24060 @if tar
24061 maybe-mostlyclean-tar: mostlyclean-tar
24063 mostlyclean-tar:
24064 @: $(MAKE); $(unstage)
24065 @[ -f ./tar/Makefile ] || exit 0; \
24066 r=`${PWD_COMMAND}`; export r; \
24067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24068 $(HOST_EXPORTS) \
24069 for flag in $(EXTRA_HOST_FLAGS) ; do \
24070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24071 done; \
24072 echo "Doing mostlyclean in tar" ; \
24073 (cd $(HOST_SUBDIR)/tar && \
24074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24076 "RANLIB=$${RANLIB}" \
24077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24078 mostlyclean) \
24079 || exit 1
24081 @endif tar
24083 .PHONY: maybe-clean-tar clean-tar
24084 maybe-clean-tar:
24085 @if tar
24086 maybe-clean-tar: clean-tar
24088 clean-tar:
24089 @: $(MAKE); $(unstage)
24090 @[ -f ./tar/Makefile ] || exit 0; \
24091 r=`${PWD_COMMAND}`; export r; \
24092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24093 $(HOST_EXPORTS) \
24094 for flag in $(EXTRA_HOST_FLAGS) ; do \
24095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24096 done; \
24097 echo "Doing clean in tar" ; \
24098 (cd $(HOST_SUBDIR)/tar && \
24099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24101 "RANLIB=$${RANLIB}" \
24102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24103 clean) \
24104 || exit 1
24106 @endif tar
24108 .PHONY: maybe-distclean-tar distclean-tar
24109 maybe-distclean-tar:
24110 @if tar
24111 maybe-distclean-tar: distclean-tar
24113 distclean-tar:
24114 @: $(MAKE); $(unstage)
24115 @[ -f ./tar/Makefile ] || exit 0; \
24116 r=`${PWD_COMMAND}`; export r; \
24117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24118 $(HOST_EXPORTS) \
24119 for flag in $(EXTRA_HOST_FLAGS) ; do \
24120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24121 done; \
24122 echo "Doing distclean in tar" ; \
24123 (cd $(HOST_SUBDIR)/tar && \
24124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24126 "RANLIB=$${RANLIB}" \
24127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24128 distclean) \
24129 || exit 1
24131 @endif tar
24133 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
24134 maybe-maintainer-clean-tar:
24135 @if tar
24136 maybe-maintainer-clean-tar: maintainer-clean-tar
24138 maintainer-clean-tar:
24139 @: $(MAKE); $(unstage)
24140 @[ -f ./tar/Makefile ] || exit 0; \
24141 r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(HOST_EXPORTS) \
24144 for flag in $(EXTRA_HOST_FLAGS) ; do \
24145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24146 done; \
24147 echo "Doing maintainer-clean in tar" ; \
24148 (cd $(HOST_SUBDIR)/tar && \
24149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24151 "RANLIB=$${RANLIB}" \
24152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24153 maintainer-clean) \
24154 || exit 1
24156 @endif tar
24160 .PHONY: configure-texinfo maybe-configure-texinfo
24161 maybe-configure-texinfo:
24162 @if texinfo
24163 maybe-configure-texinfo: configure-texinfo
24164 configure-texinfo:
24165 @: $(MAKE); $(unstage)
24166 @r=`${PWD_COMMAND}`; export r; \
24167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24168 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24169 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24170 $(HOST_EXPORTS) \
24171 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24172 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24173 case $(srcdir) in \
24174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24175 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24177 esac; \
24178 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24179 libsrcdir="$$s/texinfo"; \
24180 $(SHELL) $${libsrcdir}/configure \
24181 $(HOST_CONFIGARGS) $${srcdiroption} \
24182 || exit 1
24183 @endif texinfo
24189 .PHONY: all-texinfo maybe-all-texinfo
24190 maybe-all-texinfo:
24191 @if texinfo
24192 TARGET-texinfo=all
24193 maybe-all-texinfo: all-texinfo
24194 all-texinfo: configure-texinfo
24195 @: $(MAKE); $(unstage)
24196 @r=`${PWD_COMMAND}`; export r; \
24197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 $(HOST_EXPORTS) \
24199 (cd $(HOST_SUBDIR)/texinfo && \
24200 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
24201 @endif texinfo
24206 .PHONY: check-texinfo maybe-check-texinfo
24207 maybe-check-texinfo:
24208 @if texinfo
24209 maybe-check-texinfo: check-texinfo
24211 check-texinfo:
24212 @: $(MAKE); $(unstage)
24213 @r=`${PWD_COMMAND}`; export r; \
24214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24215 $(HOST_EXPORTS) \
24216 (cd $(HOST_SUBDIR)/texinfo && \
24217 $(MAKE) $(FLAGS_TO_PASS) check)
24219 @endif texinfo
24221 .PHONY: install-texinfo maybe-install-texinfo
24222 maybe-install-texinfo:
24223 @if texinfo
24224 maybe-install-texinfo: install-texinfo
24226 install-texinfo:
24228 @endif texinfo
24230 # Other targets (info, dvi, etc.)
24232 .PHONY: maybe-info-texinfo info-texinfo
24233 maybe-info-texinfo:
24234 @if texinfo
24235 maybe-info-texinfo: info-texinfo
24237 info-texinfo: \
24238 configure-texinfo
24239 @: $(MAKE); $(unstage)
24240 @[ -f ./texinfo/Makefile ] || exit 0; \
24241 r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24243 $(HOST_EXPORTS) \
24244 for flag in $(EXTRA_HOST_FLAGS) ; do \
24245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24246 done; \
24247 echo "Doing info in texinfo" ; \
24248 (cd $(HOST_SUBDIR)/texinfo && \
24249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24251 "RANLIB=$${RANLIB}" \
24252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24253 info) \
24254 || exit 1
24256 @endif texinfo
24258 .PHONY: maybe-dvi-texinfo dvi-texinfo
24259 maybe-dvi-texinfo:
24260 @if texinfo
24261 maybe-dvi-texinfo: dvi-texinfo
24263 dvi-texinfo: \
24264 configure-texinfo
24265 @: $(MAKE); $(unstage)
24266 @[ -f ./texinfo/Makefile ] || exit 0; \
24267 r=`${PWD_COMMAND}`; export r; \
24268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24269 $(HOST_EXPORTS) \
24270 for flag in $(EXTRA_HOST_FLAGS) ; do \
24271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24272 done; \
24273 echo "Doing dvi in texinfo" ; \
24274 (cd $(HOST_SUBDIR)/texinfo && \
24275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24277 "RANLIB=$${RANLIB}" \
24278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24279 dvi) \
24280 || exit 1
24282 @endif texinfo
24284 .PHONY: maybe-html-texinfo html-texinfo
24285 maybe-html-texinfo:
24286 @if texinfo
24287 maybe-html-texinfo: html-texinfo
24289 html-texinfo: \
24290 configure-texinfo
24291 @: $(MAKE); $(unstage)
24292 @[ -f ./texinfo/Makefile ] || exit 0; \
24293 r=`${PWD_COMMAND}`; export r; \
24294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 $(HOST_EXPORTS) \
24296 for flag in $(EXTRA_HOST_FLAGS) ; do \
24297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24298 done; \
24299 echo "Doing html in texinfo" ; \
24300 (cd $(HOST_SUBDIR)/texinfo && \
24301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24303 "RANLIB=$${RANLIB}" \
24304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24305 html) \
24306 || exit 1
24308 @endif texinfo
24310 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24311 maybe-TAGS-texinfo:
24312 @if texinfo
24313 maybe-TAGS-texinfo: TAGS-texinfo
24315 TAGS-texinfo: \
24316 configure-texinfo
24317 @: $(MAKE); $(unstage)
24318 @[ -f ./texinfo/Makefile ] || exit 0; \
24319 r=`${PWD_COMMAND}`; export r; \
24320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24321 $(HOST_EXPORTS) \
24322 for flag in $(EXTRA_HOST_FLAGS) ; do \
24323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24324 done; \
24325 echo "Doing TAGS in texinfo" ; \
24326 (cd $(HOST_SUBDIR)/texinfo && \
24327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24329 "RANLIB=$${RANLIB}" \
24330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24331 TAGS) \
24332 || exit 1
24334 @endif texinfo
24336 .PHONY: maybe-install-info-texinfo install-info-texinfo
24337 maybe-install-info-texinfo:
24338 @if texinfo
24339 maybe-install-info-texinfo: install-info-texinfo
24341 install-info-texinfo: \
24342 configure-texinfo \
24343 info-texinfo
24344 @: $(MAKE); $(unstage)
24345 @[ -f ./texinfo/Makefile ] || exit 0; \
24346 r=`${PWD_COMMAND}`; export r; \
24347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24348 $(HOST_EXPORTS) \
24349 for flag in $(EXTRA_HOST_FLAGS) ; do \
24350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24351 done; \
24352 echo "Doing install-info in texinfo" ; \
24353 (cd $(HOST_SUBDIR)/texinfo && \
24354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24356 "RANLIB=$${RANLIB}" \
24357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24358 install-info) \
24359 || exit 1
24361 @endif texinfo
24363 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24364 maybe-installcheck-texinfo:
24365 @if texinfo
24366 maybe-installcheck-texinfo: installcheck-texinfo
24368 installcheck-texinfo: \
24369 configure-texinfo
24370 @: $(MAKE); $(unstage)
24371 @[ -f ./texinfo/Makefile ] || exit 0; \
24372 r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(HOST_EXPORTS) \
24375 for flag in $(EXTRA_HOST_FLAGS) ; do \
24376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24377 done; \
24378 echo "Doing installcheck in texinfo" ; \
24379 (cd $(HOST_SUBDIR)/texinfo && \
24380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24382 "RANLIB=$${RANLIB}" \
24383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24384 installcheck) \
24385 || exit 1
24387 @endif texinfo
24389 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24390 maybe-mostlyclean-texinfo:
24391 @if texinfo
24392 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24394 mostlyclean-texinfo:
24395 @: $(MAKE); $(unstage)
24396 @[ -f ./texinfo/Makefile ] || exit 0; \
24397 r=`${PWD_COMMAND}`; export r; \
24398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24399 $(HOST_EXPORTS) \
24400 for flag in $(EXTRA_HOST_FLAGS) ; do \
24401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24402 done; \
24403 echo "Doing mostlyclean in texinfo" ; \
24404 (cd $(HOST_SUBDIR)/texinfo && \
24405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24407 "RANLIB=$${RANLIB}" \
24408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24409 mostlyclean) \
24410 || exit 1
24412 @endif texinfo
24414 .PHONY: maybe-clean-texinfo clean-texinfo
24415 maybe-clean-texinfo:
24416 @if texinfo
24417 maybe-clean-texinfo: clean-texinfo
24419 clean-texinfo:
24420 @: $(MAKE); $(unstage)
24421 @[ -f ./texinfo/Makefile ] || exit 0; \
24422 r=`${PWD_COMMAND}`; export r; \
24423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24424 $(HOST_EXPORTS) \
24425 for flag in $(EXTRA_HOST_FLAGS) ; do \
24426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24427 done; \
24428 echo "Doing clean in texinfo" ; \
24429 (cd $(HOST_SUBDIR)/texinfo && \
24430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24432 "RANLIB=$${RANLIB}" \
24433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24434 clean) \
24435 || exit 1
24437 @endif texinfo
24439 .PHONY: maybe-distclean-texinfo distclean-texinfo
24440 maybe-distclean-texinfo:
24441 @if texinfo
24442 maybe-distclean-texinfo: distclean-texinfo
24444 distclean-texinfo:
24445 @: $(MAKE); $(unstage)
24446 @[ -f ./texinfo/Makefile ] || exit 0; \
24447 r=`${PWD_COMMAND}`; export r; \
24448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449 $(HOST_EXPORTS) \
24450 for flag in $(EXTRA_HOST_FLAGS) ; do \
24451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24452 done; \
24453 echo "Doing distclean in texinfo" ; \
24454 (cd $(HOST_SUBDIR)/texinfo && \
24455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24457 "RANLIB=$${RANLIB}" \
24458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24459 distclean) \
24460 || exit 1
24462 @endif texinfo
24464 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24465 maybe-maintainer-clean-texinfo:
24466 @if texinfo
24467 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24469 maintainer-clean-texinfo:
24470 @: $(MAKE); $(unstage)
24471 @[ -f ./texinfo/Makefile ] || exit 0; \
24472 r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24474 $(HOST_EXPORTS) \
24475 for flag in $(EXTRA_HOST_FLAGS) ; do \
24476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24477 done; \
24478 echo "Doing maintainer-clean in texinfo" ; \
24479 (cd $(HOST_SUBDIR)/texinfo && \
24480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24482 "RANLIB=$${RANLIB}" \
24483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24484 maintainer-clean) \
24485 || exit 1
24487 @endif texinfo
24491 .PHONY: configure-textutils maybe-configure-textutils
24492 maybe-configure-textutils:
24493 @if textutils
24494 maybe-configure-textutils: configure-textutils
24495 configure-textutils:
24496 @: $(MAKE); $(unstage)
24497 @r=`${PWD_COMMAND}`; export r; \
24498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24501 $(HOST_EXPORTS) \
24502 echo Configuring in $(HOST_SUBDIR)/textutils; \
24503 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24504 case $(srcdir) in \
24505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24506 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24508 esac; \
24509 srcdiroption="--srcdir=$${topdir}/textutils"; \
24510 libsrcdir="$$s/textutils"; \
24511 $(SHELL) $${libsrcdir}/configure \
24512 $(HOST_CONFIGARGS) $${srcdiroption} \
24513 || exit 1
24514 @endif textutils
24520 .PHONY: all-textutils maybe-all-textutils
24521 maybe-all-textutils:
24522 @if textutils
24523 TARGET-textutils=all
24524 maybe-all-textutils: all-textutils
24525 all-textutils: configure-textutils
24526 @: $(MAKE); $(unstage)
24527 @r=`${PWD_COMMAND}`; export r; \
24528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 $(HOST_EXPORTS) \
24530 (cd $(HOST_SUBDIR)/textutils && \
24531 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24532 @endif textutils
24537 .PHONY: check-textutils maybe-check-textutils
24538 maybe-check-textutils:
24539 @if textutils
24540 maybe-check-textutils: check-textutils
24542 check-textutils:
24543 @: $(MAKE); $(unstage)
24544 @r=`${PWD_COMMAND}`; export r; \
24545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24546 $(HOST_EXPORTS) \
24547 (cd $(HOST_SUBDIR)/textutils && \
24548 $(MAKE) $(FLAGS_TO_PASS) check)
24550 @endif textutils
24552 .PHONY: install-textutils maybe-install-textutils
24553 maybe-install-textutils:
24554 @if textutils
24555 maybe-install-textutils: install-textutils
24557 install-textutils: installdirs
24558 @: $(MAKE); $(unstage)
24559 @r=`${PWD_COMMAND}`; export r; \
24560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24561 $(HOST_EXPORTS) \
24562 (cd $(HOST_SUBDIR)/textutils && \
24563 $(MAKE) $(FLAGS_TO_PASS) install)
24565 @endif textutils
24567 # Other targets (info, dvi, etc.)
24569 .PHONY: maybe-info-textutils info-textutils
24570 maybe-info-textutils:
24571 @if textutils
24572 maybe-info-textutils: info-textutils
24574 info-textutils: \
24575 configure-textutils
24576 @: $(MAKE); $(unstage)
24577 @[ -f ./textutils/Makefile ] || exit 0; \
24578 r=`${PWD_COMMAND}`; export r; \
24579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24580 $(HOST_EXPORTS) \
24581 for flag in $(EXTRA_HOST_FLAGS) ; do \
24582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24583 done; \
24584 echo "Doing info in textutils" ; \
24585 (cd $(HOST_SUBDIR)/textutils && \
24586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24588 "RANLIB=$${RANLIB}" \
24589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24590 info) \
24591 || exit 1
24593 @endif textutils
24595 .PHONY: maybe-dvi-textutils dvi-textutils
24596 maybe-dvi-textutils:
24597 @if textutils
24598 maybe-dvi-textutils: dvi-textutils
24600 dvi-textutils: \
24601 configure-textutils
24602 @: $(MAKE); $(unstage)
24603 @[ -f ./textutils/Makefile ] || exit 0; \
24604 r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(HOST_EXPORTS) \
24607 for flag in $(EXTRA_HOST_FLAGS) ; do \
24608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24609 done; \
24610 echo "Doing dvi in textutils" ; \
24611 (cd $(HOST_SUBDIR)/textutils && \
24612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24614 "RANLIB=$${RANLIB}" \
24615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24616 dvi) \
24617 || exit 1
24619 @endif textutils
24621 .PHONY: maybe-html-textutils html-textutils
24622 maybe-html-textutils:
24623 @if textutils
24624 maybe-html-textutils: html-textutils
24626 html-textutils: \
24627 configure-textutils
24628 @: $(MAKE); $(unstage)
24629 @[ -f ./textutils/Makefile ] || exit 0; \
24630 r=`${PWD_COMMAND}`; export r; \
24631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24632 $(HOST_EXPORTS) \
24633 for flag in $(EXTRA_HOST_FLAGS) ; do \
24634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24635 done; \
24636 echo "Doing html in textutils" ; \
24637 (cd $(HOST_SUBDIR)/textutils && \
24638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24640 "RANLIB=$${RANLIB}" \
24641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24642 html) \
24643 || exit 1
24645 @endif textutils
24647 .PHONY: maybe-TAGS-textutils TAGS-textutils
24648 maybe-TAGS-textutils:
24649 @if textutils
24650 maybe-TAGS-textutils: TAGS-textutils
24652 TAGS-textutils: \
24653 configure-textutils
24654 @: $(MAKE); $(unstage)
24655 @[ -f ./textutils/Makefile ] || exit 0; \
24656 r=`${PWD_COMMAND}`; export r; \
24657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24658 $(HOST_EXPORTS) \
24659 for flag in $(EXTRA_HOST_FLAGS) ; do \
24660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24661 done; \
24662 echo "Doing TAGS in textutils" ; \
24663 (cd $(HOST_SUBDIR)/textutils && \
24664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24666 "RANLIB=$${RANLIB}" \
24667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24668 TAGS) \
24669 || exit 1
24671 @endif textutils
24673 .PHONY: maybe-install-info-textutils install-info-textutils
24674 maybe-install-info-textutils:
24675 @if textutils
24676 maybe-install-info-textutils: install-info-textutils
24678 install-info-textutils: \
24679 configure-textutils \
24680 info-textutils
24681 @: $(MAKE); $(unstage)
24682 @[ -f ./textutils/Makefile ] || exit 0; \
24683 r=`${PWD_COMMAND}`; export r; \
24684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24685 $(HOST_EXPORTS) \
24686 for flag in $(EXTRA_HOST_FLAGS) ; do \
24687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24688 done; \
24689 echo "Doing install-info in textutils" ; \
24690 (cd $(HOST_SUBDIR)/textutils && \
24691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24693 "RANLIB=$${RANLIB}" \
24694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24695 install-info) \
24696 || exit 1
24698 @endif textutils
24700 .PHONY: maybe-installcheck-textutils installcheck-textutils
24701 maybe-installcheck-textutils:
24702 @if textutils
24703 maybe-installcheck-textutils: installcheck-textutils
24705 installcheck-textutils: \
24706 configure-textutils
24707 @: $(MAKE); $(unstage)
24708 @[ -f ./textutils/Makefile ] || exit 0; \
24709 r=`${PWD_COMMAND}`; export r; \
24710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24711 $(HOST_EXPORTS) \
24712 for flag in $(EXTRA_HOST_FLAGS) ; do \
24713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24714 done; \
24715 echo "Doing installcheck in textutils" ; \
24716 (cd $(HOST_SUBDIR)/textutils && \
24717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24719 "RANLIB=$${RANLIB}" \
24720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24721 installcheck) \
24722 || exit 1
24724 @endif textutils
24726 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24727 maybe-mostlyclean-textutils:
24728 @if textutils
24729 maybe-mostlyclean-textutils: mostlyclean-textutils
24731 mostlyclean-textutils:
24732 @: $(MAKE); $(unstage)
24733 @[ -f ./textutils/Makefile ] || exit 0; \
24734 r=`${PWD_COMMAND}`; export r; \
24735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(HOST_EXPORTS) \
24737 for flag in $(EXTRA_HOST_FLAGS) ; do \
24738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24739 done; \
24740 echo "Doing mostlyclean in textutils" ; \
24741 (cd $(HOST_SUBDIR)/textutils && \
24742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24744 "RANLIB=$${RANLIB}" \
24745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24746 mostlyclean) \
24747 || exit 1
24749 @endif textutils
24751 .PHONY: maybe-clean-textutils clean-textutils
24752 maybe-clean-textutils:
24753 @if textutils
24754 maybe-clean-textutils: clean-textutils
24756 clean-textutils:
24757 @: $(MAKE); $(unstage)
24758 @[ -f ./textutils/Makefile ] || exit 0; \
24759 r=`${PWD_COMMAND}`; export r; \
24760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24761 $(HOST_EXPORTS) \
24762 for flag in $(EXTRA_HOST_FLAGS) ; do \
24763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24764 done; \
24765 echo "Doing clean in textutils" ; \
24766 (cd $(HOST_SUBDIR)/textutils && \
24767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24769 "RANLIB=$${RANLIB}" \
24770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24771 clean) \
24772 || exit 1
24774 @endif textutils
24776 .PHONY: maybe-distclean-textutils distclean-textutils
24777 maybe-distclean-textutils:
24778 @if textutils
24779 maybe-distclean-textutils: distclean-textutils
24781 distclean-textutils:
24782 @: $(MAKE); $(unstage)
24783 @[ -f ./textutils/Makefile ] || exit 0; \
24784 r=`${PWD_COMMAND}`; export r; \
24785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24786 $(HOST_EXPORTS) \
24787 for flag in $(EXTRA_HOST_FLAGS) ; do \
24788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24789 done; \
24790 echo "Doing distclean in textutils" ; \
24791 (cd $(HOST_SUBDIR)/textutils && \
24792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24794 "RANLIB=$${RANLIB}" \
24795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24796 distclean) \
24797 || exit 1
24799 @endif textutils
24801 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24802 maybe-maintainer-clean-textutils:
24803 @if textutils
24804 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24806 maintainer-clean-textutils:
24807 @: $(MAKE); $(unstage)
24808 @[ -f ./textutils/Makefile ] || exit 0; \
24809 r=`${PWD_COMMAND}`; export r; \
24810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24811 $(HOST_EXPORTS) \
24812 for flag in $(EXTRA_HOST_FLAGS) ; do \
24813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24814 done; \
24815 echo "Doing maintainer-clean in textutils" ; \
24816 (cd $(HOST_SUBDIR)/textutils && \
24817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24819 "RANLIB=$${RANLIB}" \
24820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24821 maintainer-clean) \
24822 || exit 1
24824 @endif textutils
24828 .PHONY: configure-time maybe-configure-time
24829 maybe-configure-time:
24830 @if time
24831 maybe-configure-time: configure-time
24832 configure-time:
24833 @: $(MAKE); $(unstage)
24834 @r=`${PWD_COMMAND}`; export r; \
24835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24836 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24838 $(HOST_EXPORTS) \
24839 echo Configuring in $(HOST_SUBDIR)/time; \
24840 cd "$(HOST_SUBDIR)/time" || exit 1; \
24841 case $(srcdir) in \
24842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24843 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24845 esac; \
24846 srcdiroption="--srcdir=$${topdir}/time"; \
24847 libsrcdir="$$s/time"; \
24848 $(SHELL) $${libsrcdir}/configure \
24849 $(HOST_CONFIGARGS) $${srcdiroption} \
24850 || exit 1
24851 @endif time
24857 .PHONY: all-time maybe-all-time
24858 maybe-all-time:
24859 @if time
24860 TARGET-time=all
24861 maybe-all-time: all-time
24862 all-time: configure-time
24863 @: $(MAKE); $(unstage)
24864 @r=`${PWD_COMMAND}`; export r; \
24865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24866 $(HOST_EXPORTS) \
24867 (cd $(HOST_SUBDIR)/time && \
24868 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24869 @endif time
24874 .PHONY: check-time maybe-check-time
24875 maybe-check-time:
24876 @if time
24877 maybe-check-time: check-time
24879 check-time:
24880 @: $(MAKE); $(unstage)
24881 @r=`${PWD_COMMAND}`; export r; \
24882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24883 $(HOST_EXPORTS) \
24884 (cd $(HOST_SUBDIR)/time && \
24885 $(MAKE) $(FLAGS_TO_PASS) check)
24887 @endif time
24889 .PHONY: install-time maybe-install-time
24890 maybe-install-time:
24891 @if time
24892 maybe-install-time: install-time
24894 install-time: installdirs
24895 @: $(MAKE); $(unstage)
24896 @r=`${PWD_COMMAND}`; export r; \
24897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24898 $(HOST_EXPORTS) \
24899 (cd $(HOST_SUBDIR)/time && \
24900 $(MAKE) $(FLAGS_TO_PASS) install)
24902 @endif time
24904 # Other targets (info, dvi, etc.)
24906 .PHONY: maybe-info-time info-time
24907 maybe-info-time:
24908 @if time
24909 maybe-info-time: info-time
24911 info-time: \
24912 configure-time
24913 @: $(MAKE); $(unstage)
24914 @[ -f ./time/Makefile ] || exit 0; \
24915 r=`${PWD_COMMAND}`; export r; \
24916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24917 $(HOST_EXPORTS) \
24918 for flag in $(EXTRA_HOST_FLAGS) ; do \
24919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24920 done; \
24921 echo "Doing info in time" ; \
24922 (cd $(HOST_SUBDIR)/time && \
24923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24925 "RANLIB=$${RANLIB}" \
24926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24927 info) \
24928 || exit 1
24930 @endif time
24932 .PHONY: maybe-dvi-time dvi-time
24933 maybe-dvi-time:
24934 @if time
24935 maybe-dvi-time: dvi-time
24937 dvi-time: \
24938 configure-time
24939 @: $(MAKE); $(unstage)
24940 @[ -f ./time/Makefile ] || exit 0; \
24941 r=`${PWD_COMMAND}`; export r; \
24942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24943 $(HOST_EXPORTS) \
24944 for flag in $(EXTRA_HOST_FLAGS) ; do \
24945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24946 done; \
24947 echo "Doing dvi in time" ; \
24948 (cd $(HOST_SUBDIR)/time && \
24949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24951 "RANLIB=$${RANLIB}" \
24952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24953 dvi) \
24954 || exit 1
24956 @endif time
24958 .PHONY: maybe-html-time html-time
24959 maybe-html-time:
24960 @if time
24961 maybe-html-time: html-time
24963 html-time: \
24964 configure-time
24965 @: $(MAKE); $(unstage)
24966 @[ -f ./time/Makefile ] || exit 0; \
24967 r=`${PWD_COMMAND}`; export r; \
24968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24969 $(HOST_EXPORTS) \
24970 for flag in $(EXTRA_HOST_FLAGS) ; do \
24971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24972 done; \
24973 echo "Doing html in time" ; \
24974 (cd $(HOST_SUBDIR)/time && \
24975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24977 "RANLIB=$${RANLIB}" \
24978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24979 html) \
24980 || exit 1
24982 @endif time
24984 .PHONY: maybe-TAGS-time TAGS-time
24985 maybe-TAGS-time:
24986 @if time
24987 maybe-TAGS-time: TAGS-time
24989 TAGS-time: \
24990 configure-time
24991 @: $(MAKE); $(unstage)
24992 @[ -f ./time/Makefile ] || exit 0; \
24993 r=`${PWD_COMMAND}`; export r; \
24994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 $(HOST_EXPORTS) \
24996 for flag in $(EXTRA_HOST_FLAGS) ; do \
24997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24998 done; \
24999 echo "Doing TAGS in time" ; \
25000 (cd $(HOST_SUBDIR)/time && \
25001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25003 "RANLIB=$${RANLIB}" \
25004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25005 TAGS) \
25006 || exit 1
25008 @endif time
25010 .PHONY: maybe-install-info-time install-info-time
25011 maybe-install-info-time:
25012 @if time
25013 maybe-install-info-time: install-info-time
25015 install-info-time: \
25016 configure-time \
25017 info-time
25018 @: $(MAKE); $(unstage)
25019 @[ -f ./time/Makefile ] || exit 0; \
25020 r=`${PWD_COMMAND}`; export r; \
25021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25022 $(HOST_EXPORTS) \
25023 for flag in $(EXTRA_HOST_FLAGS) ; do \
25024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25025 done; \
25026 echo "Doing install-info in time" ; \
25027 (cd $(HOST_SUBDIR)/time && \
25028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25030 "RANLIB=$${RANLIB}" \
25031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25032 install-info) \
25033 || exit 1
25035 @endif time
25037 .PHONY: maybe-installcheck-time installcheck-time
25038 maybe-installcheck-time:
25039 @if time
25040 maybe-installcheck-time: installcheck-time
25042 installcheck-time: \
25043 configure-time
25044 @: $(MAKE); $(unstage)
25045 @[ -f ./time/Makefile ] || exit 0; \
25046 r=`${PWD_COMMAND}`; export r; \
25047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25048 $(HOST_EXPORTS) \
25049 for flag in $(EXTRA_HOST_FLAGS) ; do \
25050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25051 done; \
25052 echo "Doing installcheck in time" ; \
25053 (cd $(HOST_SUBDIR)/time && \
25054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25056 "RANLIB=$${RANLIB}" \
25057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25058 installcheck) \
25059 || exit 1
25061 @endif time
25063 .PHONY: maybe-mostlyclean-time mostlyclean-time
25064 maybe-mostlyclean-time:
25065 @if time
25066 maybe-mostlyclean-time: mostlyclean-time
25068 mostlyclean-time:
25069 @: $(MAKE); $(unstage)
25070 @[ -f ./time/Makefile ] || exit 0; \
25071 r=`${PWD_COMMAND}`; export r; \
25072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25073 $(HOST_EXPORTS) \
25074 for flag in $(EXTRA_HOST_FLAGS) ; do \
25075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25076 done; \
25077 echo "Doing mostlyclean in time" ; \
25078 (cd $(HOST_SUBDIR)/time && \
25079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25081 "RANLIB=$${RANLIB}" \
25082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25083 mostlyclean) \
25084 || exit 1
25086 @endif time
25088 .PHONY: maybe-clean-time clean-time
25089 maybe-clean-time:
25090 @if time
25091 maybe-clean-time: clean-time
25093 clean-time:
25094 @: $(MAKE); $(unstage)
25095 @[ -f ./time/Makefile ] || exit 0; \
25096 r=`${PWD_COMMAND}`; export r; \
25097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25098 $(HOST_EXPORTS) \
25099 for flag in $(EXTRA_HOST_FLAGS) ; do \
25100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25101 done; \
25102 echo "Doing clean in time" ; \
25103 (cd $(HOST_SUBDIR)/time && \
25104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25106 "RANLIB=$${RANLIB}" \
25107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25108 clean) \
25109 || exit 1
25111 @endif time
25113 .PHONY: maybe-distclean-time distclean-time
25114 maybe-distclean-time:
25115 @if time
25116 maybe-distclean-time: distclean-time
25118 distclean-time:
25119 @: $(MAKE); $(unstage)
25120 @[ -f ./time/Makefile ] || exit 0; \
25121 r=`${PWD_COMMAND}`; export r; \
25122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25123 $(HOST_EXPORTS) \
25124 for flag in $(EXTRA_HOST_FLAGS) ; do \
25125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25126 done; \
25127 echo "Doing distclean in time" ; \
25128 (cd $(HOST_SUBDIR)/time && \
25129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25131 "RANLIB=$${RANLIB}" \
25132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25133 distclean) \
25134 || exit 1
25136 @endif time
25138 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
25139 maybe-maintainer-clean-time:
25140 @if time
25141 maybe-maintainer-clean-time: maintainer-clean-time
25143 maintainer-clean-time:
25144 @: $(MAKE); $(unstage)
25145 @[ -f ./time/Makefile ] || exit 0; \
25146 r=`${PWD_COMMAND}`; export r; \
25147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25148 $(HOST_EXPORTS) \
25149 for flag in $(EXTRA_HOST_FLAGS) ; do \
25150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25151 done; \
25152 echo "Doing maintainer-clean in time" ; \
25153 (cd $(HOST_SUBDIR)/time && \
25154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25156 "RANLIB=$${RANLIB}" \
25157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25158 maintainer-clean) \
25159 || exit 1
25161 @endif time
25165 .PHONY: configure-uudecode maybe-configure-uudecode
25166 maybe-configure-uudecode:
25167 @if uudecode
25168 maybe-configure-uudecode: configure-uudecode
25169 configure-uudecode:
25170 @: $(MAKE); $(unstage)
25171 @r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
25174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
25175 $(HOST_EXPORTS) \
25176 echo Configuring in $(HOST_SUBDIR)/uudecode; \
25177 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
25178 case $(srcdir) in \
25179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25180 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
25181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25182 esac; \
25183 srcdiroption="--srcdir=$${topdir}/uudecode"; \
25184 libsrcdir="$$s/uudecode"; \
25185 $(SHELL) $${libsrcdir}/configure \
25186 $(HOST_CONFIGARGS) $${srcdiroption} \
25187 || exit 1
25188 @endif uudecode
25194 .PHONY: all-uudecode maybe-all-uudecode
25195 maybe-all-uudecode:
25196 @if uudecode
25197 TARGET-uudecode=all
25198 maybe-all-uudecode: all-uudecode
25199 all-uudecode: configure-uudecode
25200 @: $(MAKE); $(unstage)
25201 @r=`${PWD_COMMAND}`; export r; \
25202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25203 $(HOST_EXPORTS) \
25204 (cd $(HOST_SUBDIR)/uudecode && \
25205 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
25206 @endif uudecode
25211 .PHONY: check-uudecode maybe-check-uudecode
25212 maybe-check-uudecode:
25213 @if uudecode
25214 maybe-check-uudecode: check-uudecode
25216 check-uudecode:
25217 @: $(MAKE); $(unstage)
25218 @r=`${PWD_COMMAND}`; export r; \
25219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25220 $(HOST_EXPORTS) \
25221 (cd $(HOST_SUBDIR)/uudecode && \
25222 $(MAKE) $(FLAGS_TO_PASS) check)
25224 @endif uudecode
25226 .PHONY: install-uudecode maybe-install-uudecode
25227 maybe-install-uudecode:
25228 @if uudecode
25229 maybe-install-uudecode: install-uudecode
25231 install-uudecode: installdirs
25232 @: $(MAKE); $(unstage)
25233 @r=`${PWD_COMMAND}`; export r; \
25234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25235 $(HOST_EXPORTS) \
25236 (cd $(HOST_SUBDIR)/uudecode && \
25237 $(MAKE) $(FLAGS_TO_PASS) install)
25239 @endif uudecode
25241 # Other targets (info, dvi, etc.)
25243 .PHONY: maybe-info-uudecode info-uudecode
25244 maybe-info-uudecode:
25245 @if uudecode
25246 maybe-info-uudecode: info-uudecode
25248 info-uudecode: \
25249 configure-uudecode
25250 @: $(MAKE); $(unstage)
25251 @[ -f ./uudecode/Makefile ] || exit 0; \
25252 r=`${PWD_COMMAND}`; export r; \
25253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25254 $(HOST_EXPORTS) \
25255 for flag in $(EXTRA_HOST_FLAGS) ; do \
25256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25257 done; \
25258 echo "Doing info in uudecode" ; \
25259 (cd $(HOST_SUBDIR)/uudecode && \
25260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25262 "RANLIB=$${RANLIB}" \
25263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25264 info) \
25265 || exit 1
25267 @endif uudecode
25269 .PHONY: maybe-dvi-uudecode dvi-uudecode
25270 maybe-dvi-uudecode:
25271 @if uudecode
25272 maybe-dvi-uudecode: dvi-uudecode
25274 dvi-uudecode: \
25275 configure-uudecode
25276 @: $(MAKE); $(unstage)
25277 @[ -f ./uudecode/Makefile ] || exit 0; \
25278 r=`${PWD_COMMAND}`; export r; \
25279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25280 $(HOST_EXPORTS) \
25281 for flag in $(EXTRA_HOST_FLAGS) ; do \
25282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25283 done; \
25284 echo "Doing dvi in uudecode" ; \
25285 (cd $(HOST_SUBDIR)/uudecode && \
25286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25288 "RANLIB=$${RANLIB}" \
25289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25290 dvi) \
25291 || exit 1
25293 @endif uudecode
25295 .PHONY: maybe-html-uudecode html-uudecode
25296 maybe-html-uudecode:
25297 @if uudecode
25298 maybe-html-uudecode: html-uudecode
25300 html-uudecode: \
25301 configure-uudecode
25302 @: $(MAKE); $(unstage)
25303 @[ -f ./uudecode/Makefile ] || exit 0; \
25304 r=`${PWD_COMMAND}`; export r; \
25305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25306 $(HOST_EXPORTS) \
25307 for flag in $(EXTRA_HOST_FLAGS) ; do \
25308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25309 done; \
25310 echo "Doing html in uudecode" ; \
25311 (cd $(HOST_SUBDIR)/uudecode && \
25312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25314 "RANLIB=$${RANLIB}" \
25315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25316 html) \
25317 || exit 1
25319 @endif uudecode
25321 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25322 maybe-TAGS-uudecode:
25323 @if uudecode
25324 maybe-TAGS-uudecode: TAGS-uudecode
25326 TAGS-uudecode: \
25327 configure-uudecode
25328 @: $(MAKE); $(unstage)
25329 @[ -f ./uudecode/Makefile ] || exit 0; \
25330 r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(HOST_EXPORTS) \
25333 for flag in $(EXTRA_HOST_FLAGS) ; do \
25334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25335 done; \
25336 echo "Doing TAGS in uudecode" ; \
25337 (cd $(HOST_SUBDIR)/uudecode && \
25338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25340 "RANLIB=$${RANLIB}" \
25341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25342 TAGS) \
25343 || exit 1
25345 @endif uudecode
25347 .PHONY: maybe-install-info-uudecode install-info-uudecode
25348 maybe-install-info-uudecode:
25349 @if uudecode
25350 maybe-install-info-uudecode: install-info-uudecode
25352 install-info-uudecode: \
25353 configure-uudecode \
25354 info-uudecode
25355 @: $(MAKE); $(unstage)
25356 @[ -f ./uudecode/Makefile ] || exit 0; \
25357 r=`${PWD_COMMAND}`; export r; \
25358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25359 $(HOST_EXPORTS) \
25360 for flag in $(EXTRA_HOST_FLAGS) ; do \
25361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25362 done; \
25363 echo "Doing install-info in uudecode" ; \
25364 (cd $(HOST_SUBDIR)/uudecode && \
25365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25367 "RANLIB=$${RANLIB}" \
25368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25369 install-info) \
25370 || exit 1
25372 @endif uudecode
25374 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25375 maybe-installcheck-uudecode:
25376 @if uudecode
25377 maybe-installcheck-uudecode: installcheck-uudecode
25379 installcheck-uudecode: \
25380 configure-uudecode
25381 @: $(MAKE); $(unstage)
25382 @[ -f ./uudecode/Makefile ] || exit 0; \
25383 r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 $(HOST_EXPORTS) \
25386 for flag in $(EXTRA_HOST_FLAGS) ; do \
25387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25388 done; \
25389 echo "Doing installcheck in uudecode" ; \
25390 (cd $(HOST_SUBDIR)/uudecode && \
25391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25393 "RANLIB=$${RANLIB}" \
25394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25395 installcheck) \
25396 || exit 1
25398 @endif uudecode
25400 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25401 maybe-mostlyclean-uudecode:
25402 @if uudecode
25403 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25405 mostlyclean-uudecode:
25406 @: $(MAKE); $(unstage)
25407 @[ -f ./uudecode/Makefile ] || exit 0; \
25408 r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410 $(HOST_EXPORTS) \
25411 for flag in $(EXTRA_HOST_FLAGS) ; do \
25412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25413 done; \
25414 echo "Doing mostlyclean in uudecode" ; \
25415 (cd $(HOST_SUBDIR)/uudecode && \
25416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25418 "RANLIB=$${RANLIB}" \
25419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25420 mostlyclean) \
25421 || exit 1
25423 @endif uudecode
25425 .PHONY: maybe-clean-uudecode clean-uudecode
25426 maybe-clean-uudecode:
25427 @if uudecode
25428 maybe-clean-uudecode: clean-uudecode
25430 clean-uudecode:
25431 @: $(MAKE); $(unstage)
25432 @[ -f ./uudecode/Makefile ] || exit 0; \
25433 r=`${PWD_COMMAND}`; export r; \
25434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25435 $(HOST_EXPORTS) \
25436 for flag in $(EXTRA_HOST_FLAGS) ; do \
25437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25438 done; \
25439 echo "Doing clean in uudecode" ; \
25440 (cd $(HOST_SUBDIR)/uudecode && \
25441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25443 "RANLIB=$${RANLIB}" \
25444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25445 clean) \
25446 || exit 1
25448 @endif uudecode
25450 .PHONY: maybe-distclean-uudecode distclean-uudecode
25451 maybe-distclean-uudecode:
25452 @if uudecode
25453 maybe-distclean-uudecode: distclean-uudecode
25455 distclean-uudecode:
25456 @: $(MAKE); $(unstage)
25457 @[ -f ./uudecode/Makefile ] || exit 0; \
25458 r=`${PWD_COMMAND}`; export r; \
25459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 $(HOST_EXPORTS) \
25461 for flag in $(EXTRA_HOST_FLAGS) ; do \
25462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25463 done; \
25464 echo "Doing distclean in uudecode" ; \
25465 (cd $(HOST_SUBDIR)/uudecode && \
25466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25468 "RANLIB=$${RANLIB}" \
25469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25470 distclean) \
25471 || exit 1
25473 @endif uudecode
25475 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25476 maybe-maintainer-clean-uudecode:
25477 @if uudecode
25478 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25480 maintainer-clean-uudecode:
25481 @: $(MAKE); $(unstage)
25482 @[ -f ./uudecode/Makefile ] || exit 0; \
25483 r=`${PWD_COMMAND}`; export r; \
25484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25485 $(HOST_EXPORTS) \
25486 for flag in $(EXTRA_HOST_FLAGS) ; do \
25487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25488 done; \
25489 echo "Doing maintainer-clean in uudecode" ; \
25490 (cd $(HOST_SUBDIR)/uudecode && \
25491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25493 "RANLIB=$${RANLIB}" \
25494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25495 maintainer-clean) \
25496 || exit 1
25498 @endif uudecode
25502 .PHONY: configure-wdiff maybe-configure-wdiff
25503 maybe-configure-wdiff:
25504 @if wdiff
25505 maybe-configure-wdiff: configure-wdiff
25506 configure-wdiff:
25507 @: $(MAKE); $(unstage)
25508 @r=`${PWD_COMMAND}`; export r; \
25509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25510 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25511 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25512 $(HOST_EXPORTS) \
25513 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25514 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25515 case $(srcdir) in \
25516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25517 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25519 esac; \
25520 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25521 libsrcdir="$$s/wdiff"; \
25522 $(SHELL) $${libsrcdir}/configure \
25523 $(HOST_CONFIGARGS) $${srcdiroption} \
25524 || exit 1
25525 @endif wdiff
25531 .PHONY: all-wdiff maybe-all-wdiff
25532 maybe-all-wdiff:
25533 @if wdiff
25534 TARGET-wdiff=all
25535 maybe-all-wdiff: all-wdiff
25536 all-wdiff: configure-wdiff
25537 @: $(MAKE); $(unstage)
25538 @r=`${PWD_COMMAND}`; export r; \
25539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25540 $(HOST_EXPORTS) \
25541 (cd $(HOST_SUBDIR)/wdiff && \
25542 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25543 @endif wdiff
25548 .PHONY: check-wdiff maybe-check-wdiff
25549 maybe-check-wdiff:
25550 @if wdiff
25551 maybe-check-wdiff: check-wdiff
25553 check-wdiff:
25554 @: $(MAKE); $(unstage)
25555 @r=`${PWD_COMMAND}`; export r; \
25556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25557 $(HOST_EXPORTS) \
25558 (cd $(HOST_SUBDIR)/wdiff && \
25559 $(MAKE) $(FLAGS_TO_PASS) check)
25561 @endif wdiff
25563 .PHONY: install-wdiff maybe-install-wdiff
25564 maybe-install-wdiff:
25565 @if wdiff
25566 maybe-install-wdiff: install-wdiff
25568 install-wdiff: installdirs
25569 @: $(MAKE); $(unstage)
25570 @r=`${PWD_COMMAND}`; export r; \
25571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25572 $(HOST_EXPORTS) \
25573 (cd $(HOST_SUBDIR)/wdiff && \
25574 $(MAKE) $(FLAGS_TO_PASS) install)
25576 @endif wdiff
25578 # Other targets (info, dvi, etc.)
25580 .PHONY: maybe-info-wdiff info-wdiff
25581 maybe-info-wdiff:
25582 @if wdiff
25583 maybe-info-wdiff: info-wdiff
25585 info-wdiff: \
25586 configure-wdiff
25587 @: $(MAKE); $(unstage)
25588 @[ -f ./wdiff/Makefile ] || exit 0; \
25589 r=`${PWD_COMMAND}`; export r; \
25590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25591 $(HOST_EXPORTS) \
25592 for flag in $(EXTRA_HOST_FLAGS) ; do \
25593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25594 done; \
25595 echo "Doing info in wdiff" ; \
25596 (cd $(HOST_SUBDIR)/wdiff && \
25597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25599 "RANLIB=$${RANLIB}" \
25600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25601 info) \
25602 || exit 1
25604 @endif wdiff
25606 .PHONY: maybe-dvi-wdiff dvi-wdiff
25607 maybe-dvi-wdiff:
25608 @if wdiff
25609 maybe-dvi-wdiff: dvi-wdiff
25611 dvi-wdiff: \
25612 configure-wdiff
25613 @: $(MAKE); $(unstage)
25614 @[ -f ./wdiff/Makefile ] || exit 0; \
25615 r=`${PWD_COMMAND}`; export r; \
25616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25617 $(HOST_EXPORTS) \
25618 for flag in $(EXTRA_HOST_FLAGS) ; do \
25619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25620 done; \
25621 echo "Doing dvi in wdiff" ; \
25622 (cd $(HOST_SUBDIR)/wdiff && \
25623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25625 "RANLIB=$${RANLIB}" \
25626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25627 dvi) \
25628 || exit 1
25630 @endif wdiff
25632 .PHONY: maybe-html-wdiff html-wdiff
25633 maybe-html-wdiff:
25634 @if wdiff
25635 maybe-html-wdiff: html-wdiff
25637 html-wdiff: \
25638 configure-wdiff
25639 @: $(MAKE); $(unstage)
25640 @[ -f ./wdiff/Makefile ] || exit 0; \
25641 r=`${PWD_COMMAND}`; export r; \
25642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25643 $(HOST_EXPORTS) \
25644 for flag in $(EXTRA_HOST_FLAGS) ; do \
25645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25646 done; \
25647 echo "Doing html in wdiff" ; \
25648 (cd $(HOST_SUBDIR)/wdiff && \
25649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25651 "RANLIB=$${RANLIB}" \
25652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25653 html) \
25654 || exit 1
25656 @endif wdiff
25658 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25659 maybe-TAGS-wdiff:
25660 @if wdiff
25661 maybe-TAGS-wdiff: TAGS-wdiff
25663 TAGS-wdiff: \
25664 configure-wdiff
25665 @: $(MAKE); $(unstage)
25666 @[ -f ./wdiff/Makefile ] || exit 0; \
25667 r=`${PWD_COMMAND}`; export r; \
25668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25669 $(HOST_EXPORTS) \
25670 for flag in $(EXTRA_HOST_FLAGS) ; do \
25671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25672 done; \
25673 echo "Doing TAGS in wdiff" ; \
25674 (cd $(HOST_SUBDIR)/wdiff && \
25675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25677 "RANLIB=$${RANLIB}" \
25678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25679 TAGS) \
25680 || exit 1
25682 @endif wdiff
25684 .PHONY: maybe-install-info-wdiff install-info-wdiff
25685 maybe-install-info-wdiff:
25686 @if wdiff
25687 maybe-install-info-wdiff: install-info-wdiff
25689 install-info-wdiff: \
25690 configure-wdiff \
25691 info-wdiff
25692 @: $(MAKE); $(unstage)
25693 @[ -f ./wdiff/Makefile ] || exit 0; \
25694 r=`${PWD_COMMAND}`; export r; \
25695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25696 $(HOST_EXPORTS) \
25697 for flag in $(EXTRA_HOST_FLAGS) ; do \
25698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25699 done; \
25700 echo "Doing install-info in wdiff" ; \
25701 (cd $(HOST_SUBDIR)/wdiff && \
25702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25704 "RANLIB=$${RANLIB}" \
25705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25706 install-info) \
25707 || exit 1
25709 @endif wdiff
25711 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25712 maybe-installcheck-wdiff:
25713 @if wdiff
25714 maybe-installcheck-wdiff: installcheck-wdiff
25716 installcheck-wdiff: \
25717 configure-wdiff
25718 @: $(MAKE); $(unstage)
25719 @[ -f ./wdiff/Makefile ] || exit 0; \
25720 r=`${PWD_COMMAND}`; export r; \
25721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25722 $(HOST_EXPORTS) \
25723 for flag in $(EXTRA_HOST_FLAGS) ; do \
25724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25725 done; \
25726 echo "Doing installcheck in wdiff" ; \
25727 (cd $(HOST_SUBDIR)/wdiff && \
25728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25730 "RANLIB=$${RANLIB}" \
25731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25732 installcheck) \
25733 || exit 1
25735 @endif wdiff
25737 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25738 maybe-mostlyclean-wdiff:
25739 @if wdiff
25740 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25742 mostlyclean-wdiff:
25743 @: $(MAKE); $(unstage)
25744 @[ -f ./wdiff/Makefile ] || exit 0; \
25745 r=`${PWD_COMMAND}`; export r; \
25746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25747 $(HOST_EXPORTS) \
25748 for flag in $(EXTRA_HOST_FLAGS) ; do \
25749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25750 done; \
25751 echo "Doing mostlyclean in wdiff" ; \
25752 (cd $(HOST_SUBDIR)/wdiff && \
25753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25755 "RANLIB=$${RANLIB}" \
25756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25757 mostlyclean) \
25758 || exit 1
25760 @endif wdiff
25762 .PHONY: maybe-clean-wdiff clean-wdiff
25763 maybe-clean-wdiff:
25764 @if wdiff
25765 maybe-clean-wdiff: clean-wdiff
25767 clean-wdiff:
25768 @: $(MAKE); $(unstage)
25769 @[ -f ./wdiff/Makefile ] || exit 0; \
25770 r=`${PWD_COMMAND}`; export r; \
25771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25772 $(HOST_EXPORTS) \
25773 for flag in $(EXTRA_HOST_FLAGS) ; do \
25774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25775 done; \
25776 echo "Doing clean in wdiff" ; \
25777 (cd $(HOST_SUBDIR)/wdiff && \
25778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25780 "RANLIB=$${RANLIB}" \
25781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25782 clean) \
25783 || exit 1
25785 @endif wdiff
25787 .PHONY: maybe-distclean-wdiff distclean-wdiff
25788 maybe-distclean-wdiff:
25789 @if wdiff
25790 maybe-distclean-wdiff: distclean-wdiff
25792 distclean-wdiff:
25793 @: $(MAKE); $(unstage)
25794 @[ -f ./wdiff/Makefile ] || exit 0; \
25795 r=`${PWD_COMMAND}`; export r; \
25796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25797 $(HOST_EXPORTS) \
25798 for flag in $(EXTRA_HOST_FLAGS) ; do \
25799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25800 done; \
25801 echo "Doing distclean in wdiff" ; \
25802 (cd $(HOST_SUBDIR)/wdiff && \
25803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25805 "RANLIB=$${RANLIB}" \
25806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25807 distclean) \
25808 || exit 1
25810 @endif wdiff
25812 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25813 maybe-maintainer-clean-wdiff:
25814 @if wdiff
25815 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25817 maintainer-clean-wdiff:
25818 @: $(MAKE); $(unstage)
25819 @[ -f ./wdiff/Makefile ] || exit 0; \
25820 r=`${PWD_COMMAND}`; export r; \
25821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25822 $(HOST_EXPORTS) \
25823 for flag in $(EXTRA_HOST_FLAGS) ; do \
25824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25825 done; \
25826 echo "Doing maintainer-clean in wdiff" ; \
25827 (cd $(HOST_SUBDIR)/wdiff && \
25828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25830 "RANLIB=$${RANLIB}" \
25831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25832 maintainer-clean) \
25833 || exit 1
25835 @endif wdiff
25839 .PHONY: configure-zip maybe-configure-zip
25840 maybe-configure-zip:
25841 @if zip
25842 maybe-configure-zip: configure-zip
25843 configure-zip:
25844 @: $(MAKE); $(unstage)
25845 @r=`${PWD_COMMAND}`; export r; \
25846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25847 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25849 $(HOST_EXPORTS) \
25850 echo Configuring in $(HOST_SUBDIR)/zip; \
25851 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25852 case $(srcdir) in \
25853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25854 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25856 esac; \
25857 srcdiroption="--srcdir=$${topdir}/zip"; \
25858 libsrcdir="$$s/zip"; \
25859 $(SHELL) $${libsrcdir}/configure \
25860 $(HOST_CONFIGARGS) $${srcdiroption} \
25861 || exit 1
25862 @endif zip
25868 .PHONY: all-zip maybe-all-zip
25869 maybe-all-zip:
25870 @if zip
25871 TARGET-zip=all
25872 maybe-all-zip: all-zip
25873 all-zip: configure-zip
25874 @: $(MAKE); $(unstage)
25875 @r=`${PWD_COMMAND}`; export r; \
25876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25877 $(HOST_EXPORTS) \
25878 (cd $(HOST_SUBDIR)/zip && \
25879 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25880 @endif zip
25885 .PHONY: check-zip maybe-check-zip
25886 maybe-check-zip:
25887 @if zip
25888 maybe-check-zip: check-zip
25890 # This module is only tested in a native toolchain.
25891 check-zip:
25892 @: $(MAKE); $(unstage)
25893 @if [ '$(host)' = '$(target)' ] ; then \
25894 r=`${PWD_COMMAND}`; export r; \
25895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25896 $(HOST_EXPORTS) \
25897 (cd $(HOST_SUBDIR)/zip && \
25898 $(MAKE) $(FLAGS_TO_PASS) check); \
25901 @endif zip
25903 .PHONY: install-zip maybe-install-zip
25904 maybe-install-zip:
25905 @if zip
25906 maybe-install-zip: install-zip
25908 install-zip: installdirs
25909 @: $(MAKE); $(unstage)
25910 @r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(HOST_EXPORTS) \
25913 (cd $(HOST_SUBDIR)/zip && \
25914 $(MAKE) $(FLAGS_TO_PASS) install)
25916 @endif zip
25918 # Other targets (info, dvi, etc.)
25920 .PHONY: maybe-info-zip info-zip
25921 maybe-info-zip:
25922 @if zip
25923 maybe-info-zip: info-zip
25925 info-zip: \
25926 configure-zip
25927 @: $(MAKE); $(unstage)
25928 @[ -f ./zip/Makefile ] || exit 0; \
25929 r=`${PWD_COMMAND}`; export r; \
25930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25931 $(HOST_EXPORTS) \
25932 for flag in $(EXTRA_HOST_FLAGS) ; do \
25933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25934 done; \
25935 echo "Doing info in zip" ; \
25936 (cd $(HOST_SUBDIR)/zip && \
25937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25939 "RANLIB=$${RANLIB}" \
25940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25941 info) \
25942 || exit 1
25944 @endif zip
25946 .PHONY: maybe-dvi-zip dvi-zip
25947 maybe-dvi-zip:
25948 @if zip
25949 maybe-dvi-zip: dvi-zip
25951 dvi-zip: \
25952 configure-zip
25953 @: $(MAKE); $(unstage)
25954 @[ -f ./zip/Makefile ] || exit 0; \
25955 r=`${PWD_COMMAND}`; export r; \
25956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25957 $(HOST_EXPORTS) \
25958 for flag in $(EXTRA_HOST_FLAGS) ; do \
25959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25960 done; \
25961 echo "Doing dvi in zip" ; \
25962 (cd $(HOST_SUBDIR)/zip && \
25963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25965 "RANLIB=$${RANLIB}" \
25966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25967 dvi) \
25968 || exit 1
25970 @endif zip
25972 .PHONY: maybe-html-zip html-zip
25973 maybe-html-zip:
25974 @if zip
25975 maybe-html-zip: html-zip
25977 html-zip: \
25978 configure-zip
25979 @: $(MAKE); $(unstage)
25980 @[ -f ./zip/Makefile ] || exit 0; \
25981 r=`${PWD_COMMAND}`; export r; \
25982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25983 $(HOST_EXPORTS) \
25984 for flag in $(EXTRA_HOST_FLAGS) ; do \
25985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25986 done; \
25987 echo "Doing html in zip" ; \
25988 (cd $(HOST_SUBDIR)/zip && \
25989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25991 "RANLIB=$${RANLIB}" \
25992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25993 html) \
25994 || exit 1
25996 @endif zip
25998 .PHONY: maybe-TAGS-zip TAGS-zip
25999 maybe-TAGS-zip:
26000 @if zip
26001 maybe-TAGS-zip: TAGS-zip
26003 TAGS-zip: \
26004 configure-zip
26005 @: $(MAKE); $(unstage)
26006 @[ -f ./zip/Makefile ] || exit 0; \
26007 r=`${PWD_COMMAND}`; export r; \
26008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26009 $(HOST_EXPORTS) \
26010 for flag in $(EXTRA_HOST_FLAGS) ; do \
26011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26012 done; \
26013 echo "Doing TAGS in zip" ; \
26014 (cd $(HOST_SUBDIR)/zip && \
26015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26017 "RANLIB=$${RANLIB}" \
26018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26019 TAGS) \
26020 || exit 1
26022 @endif zip
26024 .PHONY: maybe-install-info-zip install-info-zip
26025 maybe-install-info-zip:
26026 @if zip
26027 maybe-install-info-zip: install-info-zip
26029 install-info-zip: \
26030 configure-zip \
26031 info-zip
26032 @: $(MAKE); $(unstage)
26033 @[ -f ./zip/Makefile ] || exit 0; \
26034 r=`${PWD_COMMAND}`; export r; \
26035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26036 $(HOST_EXPORTS) \
26037 for flag in $(EXTRA_HOST_FLAGS) ; do \
26038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26039 done; \
26040 echo "Doing install-info in zip" ; \
26041 (cd $(HOST_SUBDIR)/zip && \
26042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26044 "RANLIB=$${RANLIB}" \
26045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26046 install-info) \
26047 || exit 1
26049 @endif zip
26051 .PHONY: maybe-installcheck-zip installcheck-zip
26052 maybe-installcheck-zip:
26053 @if zip
26054 maybe-installcheck-zip: installcheck-zip
26056 installcheck-zip: \
26057 configure-zip
26058 @: $(MAKE); $(unstage)
26059 @[ -f ./zip/Makefile ] || exit 0; \
26060 r=`${PWD_COMMAND}`; export r; \
26061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26062 $(HOST_EXPORTS) \
26063 for flag in $(EXTRA_HOST_FLAGS) ; do \
26064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26065 done; \
26066 echo "Doing installcheck in zip" ; \
26067 (cd $(HOST_SUBDIR)/zip && \
26068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26070 "RANLIB=$${RANLIB}" \
26071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26072 installcheck) \
26073 || exit 1
26075 @endif zip
26077 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
26078 maybe-mostlyclean-zip:
26079 @if zip
26080 maybe-mostlyclean-zip: mostlyclean-zip
26082 mostlyclean-zip:
26083 @: $(MAKE); $(unstage)
26084 @[ -f ./zip/Makefile ] || exit 0; \
26085 r=`${PWD_COMMAND}`; export r; \
26086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26087 $(HOST_EXPORTS) \
26088 for flag in $(EXTRA_HOST_FLAGS) ; do \
26089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26090 done; \
26091 echo "Doing mostlyclean in zip" ; \
26092 (cd $(HOST_SUBDIR)/zip && \
26093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26095 "RANLIB=$${RANLIB}" \
26096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26097 mostlyclean) \
26098 || exit 1
26100 @endif zip
26102 .PHONY: maybe-clean-zip clean-zip
26103 maybe-clean-zip:
26104 @if zip
26105 maybe-clean-zip: clean-zip
26107 clean-zip:
26108 @: $(MAKE); $(unstage)
26109 @[ -f ./zip/Makefile ] || exit 0; \
26110 r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(HOST_EXPORTS) \
26113 for flag in $(EXTRA_HOST_FLAGS) ; do \
26114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26115 done; \
26116 echo "Doing clean in zip" ; \
26117 (cd $(HOST_SUBDIR)/zip && \
26118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26120 "RANLIB=$${RANLIB}" \
26121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26122 clean) \
26123 || exit 1
26125 @endif zip
26127 .PHONY: maybe-distclean-zip distclean-zip
26128 maybe-distclean-zip:
26129 @if zip
26130 maybe-distclean-zip: distclean-zip
26132 distclean-zip:
26133 @: $(MAKE); $(unstage)
26134 @[ -f ./zip/Makefile ] || exit 0; \
26135 r=`${PWD_COMMAND}`; export r; \
26136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26137 $(HOST_EXPORTS) \
26138 for flag in $(EXTRA_HOST_FLAGS) ; do \
26139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26140 done; \
26141 echo "Doing distclean in zip" ; \
26142 (cd $(HOST_SUBDIR)/zip && \
26143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26145 "RANLIB=$${RANLIB}" \
26146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26147 distclean) \
26148 || exit 1
26150 @endif zip
26152 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
26153 maybe-maintainer-clean-zip:
26154 @if zip
26155 maybe-maintainer-clean-zip: maintainer-clean-zip
26157 maintainer-clean-zip:
26158 @: $(MAKE); $(unstage)
26159 @[ -f ./zip/Makefile ] || exit 0; \
26160 r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 $(HOST_EXPORTS) \
26163 for flag in $(EXTRA_HOST_FLAGS) ; do \
26164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26165 done; \
26166 echo "Doing maintainer-clean in zip" ; \
26167 (cd $(HOST_SUBDIR)/zip && \
26168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26170 "RANLIB=$${RANLIB}" \
26171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26172 maintainer-clean) \
26173 || exit 1
26175 @endif zip
26179 .PHONY: configure-zlib maybe-configure-zlib
26180 maybe-configure-zlib:
26181 @if zlib
26182 maybe-configure-zlib: configure-zlib
26183 configure-zlib:
26184 @endif zlib
26185 @if zlib-bootstrap
26186 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
26187 @endif zlib-bootstrap
26188 @if zlib
26189 @r=`${PWD_COMMAND}`; export r; \
26190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26191 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26193 $(HOST_EXPORTS) \
26194 echo Configuring in $(HOST_SUBDIR)/zlib; \
26195 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26196 case $(srcdir) in \
26197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26198 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26200 esac; \
26201 srcdiroption="--srcdir=$${topdir}/zlib"; \
26202 libsrcdir="$$s/zlib"; \
26203 $(SHELL) $${libsrcdir}/configure \
26204 $(HOST_CONFIGARGS) $${srcdiroption} \
26205 || exit 1
26206 @endif zlib
26210 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26211 maybe-configure-stage1-zlib:
26212 @if zlib-bootstrap
26213 maybe-configure-stage1-zlib: configure-stage1-zlib
26214 configure-stage1-zlib:
26215 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26216 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26217 @r=`${PWD_COMMAND}`; export r; \
26218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26219 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26220 $(HOST_EXPORTS) \
26221 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26222 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26223 cd $(HOST_SUBDIR)/zlib || exit 1; \
26224 case $(srcdir) in \
26225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26226 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26228 esac; \
26229 srcdiroption="--srcdir=$${topdir}/zlib"; \
26230 libsrcdir="$$s/zlib"; \
26231 $(SHELL) $${libsrcdir}/configure \
26232 $(HOST_CONFIGARGS) $${srcdiroption} \
26233 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26234 @endif zlib-bootstrap
26236 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26237 maybe-configure-stage2-zlib:
26238 @if zlib-bootstrap
26239 maybe-configure-stage2-zlib: configure-stage2-zlib
26240 configure-stage2-zlib:
26241 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26242 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26243 @r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26246 $(HOST_EXPORTS) \
26247 $(POSTSTAGE1_HOST_EXPORTS) \
26248 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26250 cd $(HOST_SUBDIR)/zlib || exit 1; \
26251 case $(srcdir) in \
26252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26253 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26255 esac; \
26256 srcdiroption="--srcdir=$${topdir}/zlib"; \
26257 libsrcdir="$$s/zlib"; \
26258 $(SHELL) $${libsrcdir}/configure \
26259 $(HOST_CONFIGARGS) $${srcdiroption} \
26260 @stage2_werror_flag@
26261 @endif zlib-bootstrap
26263 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26264 maybe-configure-stage3-zlib:
26265 @if zlib-bootstrap
26266 maybe-configure-stage3-zlib: configure-stage3-zlib
26267 configure-stage3-zlib:
26268 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26269 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26270 @r=`${PWD_COMMAND}`; export r; \
26271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26272 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26273 $(HOST_EXPORTS) \
26274 $(POSTSTAGE1_HOST_EXPORTS) \
26275 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26277 cd $(HOST_SUBDIR)/zlib || exit 1; \
26278 case $(srcdir) in \
26279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26280 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26282 esac; \
26283 srcdiroption="--srcdir=$${topdir}/zlib"; \
26284 libsrcdir="$$s/zlib"; \
26285 $(SHELL) $${libsrcdir}/configure \
26286 $(HOST_CONFIGARGS) $${srcdiroption} \
26287 @stage2_werror_flag@
26288 @endif zlib-bootstrap
26290 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26291 maybe-configure-stage4-zlib:
26292 @if zlib-bootstrap
26293 maybe-configure-stage4-zlib: configure-stage4-zlib
26294 configure-stage4-zlib:
26295 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26296 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26297 @r=`${PWD_COMMAND}`; export r; \
26298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26299 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26300 $(HOST_EXPORTS) \
26301 $(POSTSTAGE1_HOST_EXPORTS) \
26302 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26304 cd $(HOST_SUBDIR)/zlib || exit 1; \
26305 case $(srcdir) in \
26306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26307 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26309 esac; \
26310 srcdiroption="--srcdir=$${topdir}/zlib"; \
26311 libsrcdir="$$s/zlib"; \
26312 $(SHELL) $${libsrcdir}/configure \
26313 $(HOST_CONFIGARGS) $${srcdiroption} \
26314 @stage2_werror_flag@
26315 @endif zlib-bootstrap
26317 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26318 maybe-configure-stageprofile-zlib:
26319 @if zlib-bootstrap
26320 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26321 configure-stageprofile-zlib:
26322 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26323 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26324 @r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26327 $(HOST_EXPORTS) \
26328 $(POSTSTAGE1_HOST_EXPORTS) \
26329 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26331 cd $(HOST_SUBDIR)/zlib || exit 1; \
26332 case $(srcdir) in \
26333 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26334 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26335 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26336 esac; \
26337 srcdiroption="--srcdir=$${topdir}/zlib"; \
26338 libsrcdir="$$s/zlib"; \
26339 $(SHELL) $${libsrcdir}/configure \
26340 $(HOST_CONFIGARGS) $${srcdiroption} \
26341 @stage2_werror_flag@
26342 @endif zlib-bootstrap
26344 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26345 maybe-configure-stagefeedback-zlib:
26346 @if zlib-bootstrap
26347 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26348 configure-stagefeedback-zlib:
26349 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26350 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26351 @r=`${PWD_COMMAND}`; export r; \
26352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26353 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26354 $(HOST_EXPORTS) \
26355 $(POSTSTAGE1_HOST_EXPORTS) \
26356 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26357 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26358 cd $(HOST_SUBDIR)/zlib || exit 1; \
26359 case $(srcdir) in \
26360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26361 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26363 esac; \
26364 srcdiroption="--srcdir=$${topdir}/zlib"; \
26365 libsrcdir="$$s/zlib"; \
26366 $(SHELL) $${libsrcdir}/configure \
26367 $(HOST_CONFIGARGS) $${srcdiroption} \
26368 @stage2_werror_flag@
26369 @endif zlib-bootstrap
26375 .PHONY: all-zlib maybe-all-zlib
26376 maybe-all-zlib:
26377 @if zlib
26378 TARGET-zlib=all
26379 maybe-all-zlib: all-zlib
26380 all-zlib: configure-zlib
26381 @endif zlib
26382 @if zlib-bootstrap
26383 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
26384 @endif zlib-bootstrap
26385 @if zlib
26386 @r=`${PWD_COMMAND}`; export r; \
26387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 $(HOST_EXPORTS) \
26389 (cd $(HOST_SUBDIR)/zlib && \
26390 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26391 @endif zlib
26395 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26396 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26397 maybe-all-stage1-zlib:
26398 maybe-clean-stage1-zlib:
26399 @if zlib-bootstrap
26400 maybe-all-stage1-zlib: all-stage1-zlib
26401 all-stage1: all-stage1-zlib
26402 TARGET-stage1-zlib = $(TARGET-zlib)
26403 all-stage1-zlib: configure-stage1-zlib
26404 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26405 @r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407 $(HOST_EXPORTS) \
26408 cd $(HOST_SUBDIR)/zlib && \
26409 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
26410 $(TARGET-stage1-zlib)
26412 maybe-clean-stage1-zlib: clean-stage1-zlib
26413 clean-stage1: clean-stage1-zlib
26414 clean-stage1-zlib:
26415 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26416 || exit 0 ; \
26417 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
26418 cd $(HOST_SUBDIR)/zlib && \
26419 $(MAKE) $(FLAGS_TO_PASS) \
26420 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
26421 @endif zlib-bootstrap
26424 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26425 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26426 maybe-all-stage2-zlib:
26427 maybe-clean-stage2-zlib:
26428 @if zlib-bootstrap
26429 maybe-all-stage2-zlib: all-stage2-zlib
26430 all-stage2: all-stage2-zlib
26431 TARGET-stage2-zlib = $(TARGET-zlib)
26432 all-stage2-zlib: configure-stage2-zlib
26433 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26434 @r=`${PWD_COMMAND}`; export r; \
26435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26436 $(HOST_EXPORTS) \
26437 $(POSTSTAGE1_HOST_EXPORTS) \
26438 cd $(HOST_SUBDIR)/zlib && \
26439 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26440 $(TARGET-stage2-zlib)
26442 maybe-clean-stage2-zlib: clean-stage2-zlib
26443 clean-stage2: clean-stage2-zlib
26444 clean-stage2-zlib:
26445 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26446 || exit 0 ; \
26447 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
26448 cd $(HOST_SUBDIR)/zlib && \
26449 $(MAKE) $(FLAGS_TO_PASS) \
26450 $(POSTSTAGE1_FLAGS_TO_PASS) \
26451 clean
26452 @endif zlib-bootstrap
26455 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26456 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26457 maybe-all-stage3-zlib:
26458 maybe-clean-stage3-zlib:
26459 @if zlib-bootstrap
26460 maybe-all-stage3-zlib: all-stage3-zlib
26461 all-stage3: all-stage3-zlib
26462 TARGET-stage3-zlib = $(TARGET-zlib)
26463 all-stage3-zlib: configure-stage3-zlib
26464 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26465 @r=`${PWD_COMMAND}`; export r; \
26466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26467 $(HOST_EXPORTS) \
26468 $(POSTSTAGE1_HOST_EXPORTS) \
26469 cd $(HOST_SUBDIR)/zlib && \
26470 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26471 $(TARGET-stage3-zlib)
26473 maybe-clean-stage3-zlib: clean-stage3-zlib
26474 clean-stage3: clean-stage3-zlib
26475 clean-stage3-zlib:
26476 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26477 || exit 0 ; \
26478 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
26479 cd $(HOST_SUBDIR)/zlib && \
26480 $(MAKE) $(FLAGS_TO_PASS) \
26481 $(POSTSTAGE1_FLAGS_TO_PASS) \
26482 clean
26483 @endif zlib-bootstrap
26486 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26487 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26488 maybe-all-stage4-zlib:
26489 maybe-clean-stage4-zlib:
26490 @if zlib-bootstrap
26491 maybe-all-stage4-zlib: all-stage4-zlib
26492 all-stage4: all-stage4-zlib
26493 TARGET-stage4-zlib = $(TARGET-zlib)
26494 all-stage4-zlib: configure-stage4-zlib
26495 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26496 @r=`${PWD_COMMAND}`; export r; \
26497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26498 $(HOST_EXPORTS) \
26499 $(POSTSTAGE1_HOST_EXPORTS) \
26500 cd $(HOST_SUBDIR)/zlib && \
26501 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26502 $(TARGET-stage4-zlib)
26504 maybe-clean-stage4-zlib: clean-stage4-zlib
26505 clean-stage4: clean-stage4-zlib
26506 clean-stage4-zlib:
26507 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26508 || exit 0 ; \
26509 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
26510 cd $(HOST_SUBDIR)/zlib && \
26511 $(MAKE) $(FLAGS_TO_PASS) \
26512 $(POSTSTAGE1_FLAGS_TO_PASS) \
26513 clean
26514 @endif zlib-bootstrap
26517 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26518 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26519 maybe-all-stageprofile-zlib:
26520 maybe-clean-stageprofile-zlib:
26521 @if zlib-bootstrap
26522 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26523 all-stageprofile: all-stageprofile-zlib
26524 TARGET-stageprofile-zlib = $(TARGET-zlib)
26525 all-stageprofile-zlib: configure-stageprofile-zlib
26526 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26527 @r=`${PWD_COMMAND}`; export r; \
26528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 $(HOST_EXPORTS) \
26530 $(POSTSTAGE1_HOST_EXPORTS) \
26531 cd $(HOST_SUBDIR)/zlib && \
26532 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26533 $(TARGET-stageprofile-zlib)
26535 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26536 clean-stageprofile: clean-stageprofile-zlib
26537 clean-stageprofile-zlib:
26538 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26539 || exit 0 ; \
26540 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
26541 cd $(HOST_SUBDIR)/zlib && \
26542 $(MAKE) $(FLAGS_TO_PASS) \
26543 $(POSTSTAGE1_FLAGS_TO_PASS) \
26544 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26545 @endif zlib-bootstrap
26548 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26549 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26550 maybe-all-stagefeedback-zlib:
26551 maybe-clean-stagefeedback-zlib:
26552 @if zlib-bootstrap
26553 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26554 all-stagefeedback: all-stagefeedback-zlib
26555 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26556 all-stagefeedback-zlib: configure-stagefeedback-zlib
26557 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26558 @r=`${PWD_COMMAND}`; export r; \
26559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 $(HOST_EXPORTS) \
26561 $(POSTSTAGE1_HOST_EXPORTS) \
26562 cd $(HOST_SUBDIR)/zlib && \
26563 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26564 $(TARGET-stagefeedback-zlib)
26566 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26567 clean-stagefeedback: clean-stagefeedback-zlib
26568 clean-stagefeedback-zlib:
26569 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26570 || exit 0 ; \
26571 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
26572 cd $(HOST_SUBDIR)/zlib && \
26573 $(MAKE) $(FLAGS_TO_PASS) \
26574 $(POSTSTAGE1_FLAGS_TO_PASS) \
26575 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26576 @endif zlib-bootstrap
26582 .PHONY: check-zlib maybe-check-zlib
26583 maybe-check-zlib:
26584 @if zlib
26585 maybe-check-zlib: check-zlib
26587 check-zlib:
26589 @endif zlib
26591 .PHONY: install-zlib maybe-install-zlib
26592 maybe-install-zlib:
26593 @if zlib
26594 maybe-install-zlib: install-zlib
26596 install-zlib:
26598 @endif zlib
26600 # Other targets (info, dvi, etc.)
26602 .PHONY: maybe-info-zlib info-zlib
26603 maybe-info-zlib:
26604 @if zlib
26605 maybe-info-zlib: info-zlib
26607 info-zlib: \
26608 configure-zlib
26609 @[ -f ./zlib/Makefile ] || exit 0; \
26610 r=`${PWD_COMMAND}`; export r; \
26611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26612 $(HOST_EXPORTS) \
26613 for flag in $(EXTRA_HOST_FLAGS) ; do \
26614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26615 done; \
26616 echo "Doing info in zlib" ; \
26617 (cd $(HOST_SUBDIR)/zlib && \
26618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26620 "RANLIB=$${RANLIB}" \
26621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26622 info) \
26623 || exit 1
26625 @endif zlib
26627 .PHONY: maybe-dvi-zlib dvi-zlib
26628 maybe-dvi-zlib:
26629 @if zlib
26630 maybe-dvi-zlib: dvi-zlib
26632 dvi-zlib: \
26633 configure-zlib
26634 @[ -f ./zlib/Makefile ] || exit 0; \
26635 r=`${PWD_COMMAND}`; export r; \
26636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26637 $(HOST_EXPORTS) \
26638 for flag in $(EXTRA_HOST_FLAGS) ; do \
26639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26640 done; \
26641 echo "Doing dvi in zlib" ; \
26642 (cd $(HOST_SUBDIR)/zlib && \
26643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26645 "RANLIB=$${RANLIB}" \
26646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26647 dvi) \
26648 || exit 1
26650 @endif zlib
26652 .PHONY: maybe-html-zlib html-zlib
26653 maybe-html-zlib:
26654 @if zlib
26655 maybe-html-zlib: html-zlib
26657 html-zlib: \
26658 configure-zlib
26659 @[ -f ./zlib/Makefile ] || exit 0; \
26660 r=`${PWD_COMMAND}`; export r; \
26661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26662 $(HOST_EXPORTS) \
26663 for flag in $(EXTRA_HOST_FLAGS) ; do \
26664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26665 done; \
26666 echo "Doing html in zlib" ; \
26667 (cd $(HOST_SUBDIR)/zlib && \
26668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26670 "RANLIB=$${RANLIB}" \
26671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26672 html) \
26673 || exit 1
26675 @endif zlib
26677 .PHONY: maybe-TAGS-zlib TAGS-zlib
26678 maybe-TAGS-zlib:
26679 @if zlib
26680 maybe-TAGS-zlib: TAGS-zlib
26682 TAGS-zlib: \
26683 configure-zlib
26684 @[ -f ./zlib/Makefile ] || exit 0; \
26685 r=`${PWD_COMMAND}`; export r; \
26686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26687 $(HOST_EXPORTS) \
26688 for flag in $(EXTRA_HOST_FLAGS) ; do \
26689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26690 done; \
26691 echo "Doing TAGS in zlib" ; \
26692 (cd $(HOST_SUBDIR)/zlib && \
26693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26695 "RANLIB=$${RANLIB}" \
26696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26697 TAGS) \
26698 || exit 1
26700 @endif zlib
26702 .PHONY: maybe-install-info-zlib install-info-zlib
26703 maybe-install-info-zlib:
26704 @if zlib
26705 maybe-install-info-zlib: install-info-zlib
26707 install-info-zlib: \
26708 configure-zlib \
26709 info-zlib
26710 @[ -f ./zlib/Makefile ] || exit 0; \
26711 r=`${PWD_COMMAND}`; export r; \
26712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26713 $(HOST_EXPORTS) \
26714 for flag in $(EXTRA_HOST_FLAGS) ; do \
26715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26716 done; \
26717 echo "Doing install-info in zlib" ; \
26718 (cd $(HOST_SUBDIR)/zlib && \
26719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26721 "RANLIB=$${RANLIB}" \
26722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26723 install-info) \
26724 || exit 1
26726 @endif zlib
26728 .PHONY: maybe-installcheck-zlib installcheck-zlib
26729 maybe-installcheck-zlib:
26730 @if zlib
26731 maybe-installcheck-zlib: installcheck-zlib
26733 installcheck-zlib: \
26734 configure-zlib
26735 @[ -f ./zlib/Makefile ] || exit 0; \
26736 r=`${PWD_COMMAND}`; export r; \
26737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26738 $(HOST_EXPORTS) \
26739 for flag in $(EXTRA_HOST_FLAGS) ; do \
26740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26741 done; \
26742 echo "Doing installcheck in zlib" ; \
26743 (cd $(HOST_SUBDIR)/zlib && \
26744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26746 "RANLIB=$${RANLIB}" \
26747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26748 installcheck) \
26749 || exit 1
26751 @endif zlib
26753 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26754 maybe-mostlyclean-zlib:
26755 @if zlib
26756 maybe-mostlyclean-zlib: mostlyclean-zlib
26758 mostlyclean-zlib:
26759 @[ -f ./zlib/Makefile ] || exit 0; \
26760 r=`${PWD_COMMAND}`; export r; \
26761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26762 $(HOST_EXPORTS) \
26763 for flag in $(EXTRA_HOST_FLAGS) ; do \
26764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26765 done; \
26766 echo "Doing mostlyclean in zlib" ; \
26767 (cd $(HOST_SUBDIR)/zlib && \
26768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26770 "RANLIB=$${RANLIB}" \
26771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26772 mostlyclean) \
26773 || exit 1
26775 @endif zlib
26777 .PHONY: maybe-clean-zlib clean-zlib
26778 maybe-clean-zlib:
26779 @if zlib
26780 maybe-clean-zlib: clean-zlib
26782 clean-zlib:
26783 @[ -f ./zlib/Makefile ] || exit 0; \
26784 r=`${PWD_COMMAND}`; export r; \
26785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26786 $(HOST_EXPORTS) \
26787 for flag in $(EXTRA_HOST_FLAGS) ; do \
26788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26789 done; \
26790 echo "Doing clean in zlib" ; \
26791 (cd $(HOST_SUBDIR)/zlib && \
26792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26794 "RANLIB=$${RANLIB}" \
26795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26796 clean) \
26797 || exit 1
26799 @endif zlib
26801 .PHONY: maybe-distclean-zlib distclean-zlib
26802 maybe-distclean-zlib:
26803 @if zlib
26804 maybe-distclean-zlib: distclean-zlib
26806 distclean-zlib:
26807 @[ -f ./zlib/Makefile ] || exit 0; \
26808 r=`${PWD_COMMAND}`; export r; \
26809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26810 $(HOST_EXPORTS) \
26811 for flag in $(EXTRA_HOST_FLAGS) ; do \
26812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26813 done; \
26814 echo "Doing distclean in zlib" ; \
26815 (cd $(HOST_SUBDIR)/zlib && \
26816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26818 "RANLIB=$${RANLIB}" \
26819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26820 distclean) \
26821 || exit 1
26823 @endif zlib
26825 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26826 maybe-maintainer-clean-zlib:
26827 @if zlib
26828 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26830 maintainer-clean-zlib:
26831 @[ -f ./zlib/Makefile ] || exit 0; \
26832 r=`${PWD_COMMAND}`; export r; \
26833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26834 $(HOST_EXPORTS) \
26835 for flag in $(EXTRA_HOST_FLAGS) ; do \
26836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26837 done; \
26838 echo "Doing maintainer-clean in zlib" ; \
26839 (cd $(HOST_SUBDIR)/zlib && \
26840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26842 "RANLIB=$${RANLIB}" \
26843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26844 maintainer-clean) \
26845 || exit 1
26847 @endif zlib
26851 .PHONY: configure-gdb maybe-configure-gdb
26852 maybe-configure-gdb:
26853 @if gdb
26854 maybe-configure-gdb: configure-gdb
26855 configure-gdb:
26856 @: $(MAKE); $(unstage)
26857 @r=`${PWD_COMMAND}`; export r; \
26858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26859 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26861 $(HOST_EXPORTS) \
26862 echo Configuring in $(HOST_SUBDIR)/gdb; \
26863 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26864 case $(srcdir) in \
26865 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26866 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26867 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26868 esac; \
26869 srcdiroption="--srcdir=$${topdir}/gdb"; \
26870 libsrcdir="$$s/gdb"; \
26871 $(SHELL) $${libsrcdir}/configure \
26872 $(HOST_CONFIGARGS) $${srcdiroption} \
26873 || exit 1
26874 @endif gdb
26880 .PHONY: all-gdb maybe-all-gdb
26881 maybe-all-gdb:
26882 @if gdb
26883 TARGET-gdb=all
26884 maybe-all-gdb: all-gdb
26885 all-gdb: configure-gdb
26886 @: $(MAKE); $(unstage)
26887 @r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26889 $(HOST_EXPORTS) \
26890 (cd $(HOST_SUBDIR)/gdb && \
26891 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26892 @endif gdb
26897 .PHONY: check-gdb maybe-check-gdb
26898 maybe-check-gdb:
26899 @if gdb
26900 maybe-check-gdb: check-gdb
26902 check-gdb:
26903 @: $(MAKE); $(unstage)
26904 @r=`${PWD_COMMAND}`; export r; \
26905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26906 $(HOST_EXPORTS) \
26907 (cd $(HOST_SUBDIR)/gdb && \
26908 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26910 @endif gdb
26912 .PHONY: install-gdb maybe-install-gdb
26913 maybe-install-gdb:
26914 @if gdb
26915 maybe-install-gdb: install-gdb
26917 install-gdb: installdirs
26918 @: $(MAKE); $(unstage)
26919 @r=`${PWD_COMMAND}`; export r; \
26920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26921 $(HOST_EXPORTS) \
26922 (cd $(HOST_SUBDIR)/gdb && \
26923 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26925 @endif gdb
26927 # Other targets (info, dvi, etc.)
26929 .PHONY: maybe-info-gdb info-gdb
26930 maybe-info-gdb:
26931 @if gdb
26932 maybe-info-gdb: info-gdb
26934 info-gdb: \
26935 configure-gdb
26936 @: $(MAKE); $(unstage)
26937 @[ -f ./gdb/Makefile ] || exit 0; \
26938 r=`${PWD_COMMAND}`; export r; \
26939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26940 $(HOST_EXPORTS) \
26941 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26943 done; \
26944 echo "Doing info in gdb" ; \
26945 (cd $(HOST_SUBDIR)/gdb && \
26946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26948 "RANLIB=$${RANLIB}" \
26949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26950 info) \
26951 || exit 1
26953 @endif gdb
26955 .PHONY: maybe-dvi-gdb dvi-gdb
26956 maybe-dvi-gdb:
26957 @if gdb
26958 maybe-dvi-gdb: dvi-gdb
26960 dvi-gdb: \
26961 configure-gdb
26962 @: $(MAKE); $(unstage)
26963 @[ -f ./gdb/Makefile ] || exit 0; \
26964 r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(HOST_EXPORTS) \
26967 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26969 done; \
26970 echo "Doing dvi in gdb" ; \
26971 (cd $(HOST_SUBDIR)/gdb && \
26972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26974 "RANLIB=$${RANLIB}" \
26975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26976 dvi) \
26977 || exit 1
26979 @endif gdb
26981 .PHONY: maybe-html-gdb html-gdb
26982 maybe-html-gdb:
26983 @if gdb
26984 maybe-html-gdb: html-gdb
26986 html-gdb: \
26987 configure-gdb
26988 @: $(MAKE); $(unstage)
26989 @[ -f ./gdb/Makefile ] || exit 0; \
26990 r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(HOST_EXPORTS) \
26993 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26995 done; \
26996 echo "Doing html in gdb" ; \
26997 (cd $(HOST_SUBDIR)/gdb && \
26998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27000 "RANLIB=$${RANLIB}" \
27001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27002 html) \
27003 || exit 1
27005 @endif gdb
27007 .PHONY: maybe-TAGS-gdb TAGS-gdb
27008 maybe-TAGS-gdb:
27009 @if gdb
27010 maybe-TAGS-gdb: TAGS-gdb
27012 TAGS-gdb: \
27013 configure-gdb
27014 @: $(MAKE); $(unstage)
27015 @[ -f ./gdb/Makefile ] || exit 0; \
27016 r=`${PWD_COMMAND}`; export r; \
27017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27018 $(HOST_EXPORTS) \
27019 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27021 done; \
27022 echo "Doing TAGS in gdb" ; \
27023 (cd $(HOST_SUBDIR)/gdb && \
27024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27026 "RANLIB=$${RANLIB}" \
27027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27028 TAGS) \
27029 || exit 1
27031 @endif gdb
27033 .PHONY: maybe-install-info-gdb install-info-gdb
27034 maybe-install-info-gdb:
27035 @if gdb
27036 maybe-install-info-gdb: install-info-gdb
27038 install-info-gdb: \
27039 configure-gdb \
27040 info-gdb
27041 @: $(MAKE); $(unstage)
27042 @[ -f ./gdb/Makefile ] || exit 0; \
27043 r=`${PWD_COMMAND}`; export r; \
27044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045 $(HOST_EXPORTS) \
27046 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27048 done; \
27049 echo "Doing install-info in gdb" ; \
27050 (cd $(HOST_SUBDIR)/gdb && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27053 "RANLIB=$${RANLIB}" \
27054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27055 install-info) \
27056 || exit 1
27058 @endif gdb
27060 .PHONY: maybe-installcheck-gdb installcheck-gdb
27061 maybe-installcheck-gdb:
27062 @if gdb
27063 maybe-installcheck-gdb: installcheck-gdb
27065 installcheck-gdb: \
27066 configure-gdb
27067 @: $(MAKE); $(unstage)
27068 @[ -f ./gdb/Makefile ] || exit 0; \
27069 r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(HOST_EXPORTS) \
27072 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27074 done; \
27075 echo "Doing installcheck in gdb" ; \
27076 (cd $(HOST_SUBDIR)/gdb && \
27077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27079 "RANLIB=$${RANLIB}" \
27080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27081 installcheck) \
27082 || exit 1
27084 @endif gdb
27086 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27087 maybe-mostlyclean-gdb:
27088 @if gdb
27089 maybe-mostlyclean-gdb: mostlyclean-gdb
27091 mostlyclean-gdb:
27092 @: $(MAKE); $(unstage)
27093 @[ -f ./gdb/Makefile ] || exit 0; \
27094 r=`${PWD_COMMAND}`; export r; \
27095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27096 $(HOST_EXPORTS) \
27097 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27099 done; \
27100 echo "Doing mostlyclean in gdb" ; \
27101 (cd $(HOST_SUBDIR)/gdb && \
27102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27104 "RANLIB=$${RANLIB}" \
27105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27106 mostlyclean) \
27107 || exit 1
27109 @endif gdb
27111 .PHONY: maybe-clean-gdb clean-gdb
27112 maybe-clean-gdb:
27113 @if gdb
27114 maybe-clean-gdb: clean-gdb
27116 clean-gdb:
27117 @: $(MAKE); $(unstage)
27118 @[ -f ./gdb/Makefile ] || exit 0; \
27119 r=`${PWD_COMMAND}`; export r; \
27120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27121 $(HOST_EXPORTS) \
27122 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27124 done; \
27125 echo "Doing clean in gdb" ; \
27126 (cd $(HOST_SUBDIR)/gdb && \
27127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27129 "RANLIB=$${RANLIB}" \
27130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27131 clean) \
27132 || exit 1
27134 @endif gdb
27136 .PHONY: maybe-distclean-gdb distclean-gdb
27137 maybe-distclean-gdb:
27138 @if gdb
27139 maybe-distclean-gdb: distclean-gdb
27141 distclean-gdb:
27142 @: $(MAKE); $(unstage)
27143 @[ -f ./gdb/Makefile ] || exit 0; \
27144 r=`${PWD_COMMAND}`; export r; \
27145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27146 $(HOST_EXPORTS) \
27147 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27149 done; \
27150 echo "Doing distclean in gdb" ; \
27151 (cd $(HOST_SUBDIR)/gdb && \
27152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27154 "RANLIB=$${RANLIB}" \
27155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27156 distclean) \
27157 || exit 1
27159 @endif gdb
27161 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27162 maybe-maintainer-clean-gdb:
27163 @if gdb
27164 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27166 maintainer-clean-gdb:
27167 @: $(MAKE); $(unstage)
27168 @[ -f ./gdb/Makefile ] || exit 0; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(HOST_EXPORTS) \
27172 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27174 done; \
27175 echo "Doing maintainer-clean in gdb" ; \
27176 (cd $(HOST_SUBDIR)/gdb && \
27177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27179 "RANLIB=$${RANLIB}" \
27180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27181 maintainer-clean) \
27182 || exit 1
27184 @endif gdb
27188 .PHONY: configure-expect maybe-configure-expect
27189 maybe-configure-expect:
27190 @if expect
27191 maybe-configure-expect: configure-expect
27192 configure-expect:
27193 @: $(MAKE); $(unstage)
27194 @r=`${PWD_COMMAND}`; export r; \
27195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27196 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27198 $(HOST_EXPORTS) \
27199 echo Configuring in $(HOST_SUBDIR)/expect; \
27200 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27201 case $(srcdir) in \
27202 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27203 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27204 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27205 esac; \
27206 srcdiroption="--srcdir=$${topdir}/expect"; \
27207 libsrcdir="$$s/expect"; \
27208 $(SHELL) $${libsrcdir}/configure \
27209 $(HOST_CONFIGARGS) $${srcdiroption} \
27210 || exit 1
27211 @endif expect
27217 .PHONY: all-expect maybe-all-expect
27218 maybe-all-expect:
27219 @if expect
27220 TARGET-expect=all
27221 maybe-all-expect: all-expect
27222 all-expect: configure-expect
27223 @: $(MAKE); $(unstage)
27224 @r=`${PWD_COMMAND}`; export r; \
27225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27226 $(HOST_EXPORTS) \
27227 (cd $(HOST_SUBDIR)/expect && \
27228 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
27229 @endif expect
27234 .PHONY: check-expect maybe-check-expect
27235 maybe-check-expect:
27236 @if expect
27237 maybe-check-expect: check-expect
27239 check-expect:
27240 @: $(MAKE); $(unstage)
27241 @r=`${PWD_COMMAND}`; export r; \
27242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27243 $(HOST_EXPORTS) \
27244 (cd $(HOST_SUBDIR)/expect && \
27245 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27247 @endif expect
27249 .PHONY: install-expect maybe-install-expect
27250 maybe-install-expect:
27251 @if expect
27252 maybe-install-expect: install-expect
27254 install-expect: installdirs
27255 @: $(MAKE); $(unstage)
27256 @r=`${PWD_COMMAND}`; export r; \
27257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258 $(HOST_EXPORTS) \
27259 (cd $(HOST_SUBDIR)/expect && \
27260 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27262 @endif expect
27264 # Other targets (info, dvi, etc.)
27266 .PHONY: maybe-info-expect info-expect
27267 maybe-info-expect:
27268 @if expect
27269 maybe-info-expect: info-expect
27271 info-expect: \
27272 configure-expect
27273 @: $(MAKE); $(unstage)
27274 @[ -f ./expect/Makefile ] || exit 0; \
27275 r=`${PWD_COMMAND}`; export r; \
27276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27277 $(HOST_EXPORTS) \
27278 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27280 done; \
27281 echo "Doing info in expect" ; \
27282 (cd $(HOST_SUBDIR)/expect && \
27283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27285 "RANLIB=$${RANLIB}" \
27286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27287 info) \
27288 || exit 1
27290 @endif expect
27292 .PHONY: maybe-dvi-expect dvi-expect
27293 maybe-dvi-expect:
27294 @if expect
27295 maybe-dvi-expect: dvi-expect
27297 dvi-expect: \
27298 configure-expect
27299 @: $(MAKE); $(unstage)
27300 @[ -f ./expect/Makefile ] || exit 0; \
27301 r=`${PWD_COMMAND}`; export r; \
27302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27303 $(HOST_EXPORTS) \
27304 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27306 done; \
27307 echo "Doing dvi in expect" ; \
27308 (cd $(HOST_SUBDIR)/expect && \
27309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27311 "RANLIB=$${RANLIB}" \
27312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27313 dvi) \
27314 || exit 1
27316 @endif expect
27318 .PHONY: maybe-html-expect html-expect
27319 maybe-html-expect:
27320 @if expect
27321 maybe-html-expect: html-expect
27323 html-expect: \
27324 configure-expect
27325 @: $(MAKE); $(unstage)
27326 @[ -f ./expect/Makefile ] || exit 0; \
27327 r=`${PWD_COMMAND}`; export r; \
27328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27329 $(HOST_EXPORTS) \
27330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27332 done; \
27333 echo "Doing html in expect" ; \
27334 (cd $(HOST_SUBDIR)/expect && \
27335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27337 "RANLIB=$${RANLIB}" \
27338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27339 html) \
27340 || exit 1
27342 @endif expect
27344 .PHONY: maybe-TAGS-expect TAGS-expect
27345 maybe-TAGS-expect:
27346 @if expect
27347 maybe-TAGS-expect: TAGS-expect
27349 TAGS-expect: \
27350 configure-expect
27351 @: $(MAKE); $(unstage)
27352 @[ -f ./expect/Makefile ] || exit 0; \
27353 r=`${PWD_COMMAND}`; export r; \
27354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27355 $(HOST_EXPORTS) \
27356 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27358 done; \
27359 echo "Doing TAGS in expect" ; \
27360 (cd $(HOST_SUBDIR)/expect && \
27361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27363 "RANLIB=$${RANLIB}" \
27364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27365 TAGS) \
27366 || exit 1
27368 @endif expect
27370 .PHONY: maybe-install-info-expect install-info-expect
27371 maybe-install-info-expect:
27372 @if expect
27373 maybe-install-info-expect: install-info-expect
27375 install-info-expect: \
27376 configure-expect \
27377 info-expect
27378 @: $(MAKE); $(unstage)
27379 @[ -f ./expect/Makefile ] || exit 0; \
27380 r=`${PWD_COMMAND}`; export r; \
27381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27382 $(HOST_EXPORTS) \
27383 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27385 done; \
27386 echo "Doing install-info in expect" ; \
27387 (cd $(HOST_SUBDIR)/expect && \
27388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27390 "RANLIB=$${RANLIB}" \
27391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27392 install-info) \
27393 || exit 1
27395 @endif expect
27397 .PHONY: maybe-installcheck-expect installcheck-expect
27398 maybe-installcheck-expect:
27399 @if expect
27400 maybe-installcheck-expect: installcheck-expect
27402 installcheck-expect: \
27403 configure-expect
27404 @: $(MAKE); $(unstage)
27405 @[ -f ./expect/Makefile ] || exit 0; \
27406 r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 $(HOST_EXPORTS) \
27409 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27411 done; \
27412 echo "Doing installcheck in expect" ; \
27413 (cd $(HOST_SUBDIR)/expect && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27416 "RANLIB=$${RANLIB}" \
27417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27418 installcheck) \
27419 || exit 1
27421 @endif expect
27423 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27424 maybe-mostlyclean-expect:
27425 @if expect
27426 maybe-mostlyclean-expect: mostlyclean-expect
27428 mostlyclean-expect:
27429 @: $(MAKE); $(unstage)
27430 @[ -f ./expect/Makefile ] || exit 0; \
27431 r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(HOST_EXPORTS) \
27434 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27436 done; \
27437 echo "Doing mostlyclean in expect" ; \
27438 (cd $(HOST_SUBDIR)/expect && \
27439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27441 "RANLIB=$${RANLIB}" \
27442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27443 mostlyclean) \
27444 || exit 1
27446 @endif expect
27448 .PHONY: maybe-clean-expect clean-expect
27449 maybe-clean-expect:
27450 @if expect
27451 maybe-clean-expect: clean-expect
27453 clean-expect:
27454 @: $(MAKE); $(unstage)
27455 @[ -f ./expect/Makefile ] || exit 0; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(HOST_EXPORTS) \
27459 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27461 done; \
27462 echo "Doing clean in expect" ; \
27463 (cd $(HOST_SUBDIR)/expect && \
27464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27466 "RANLIB=$${RANLIB}" \
27467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27468 clean) \
27469 || exit 1
27471 @endif expect
27473 .PHONY: maybe-distclean-expect distclean-expect
27474 maybe-distclean-expect:
27475 @if expect
27476 maybe-distclean-expect: distclean-expect
27478 distclean-expect:
27479 @: $(MAKE); $(unstage)
27480 @[ -f ./expect/Makefile ] || exit 0; \
27481 r=`${PWD_COMMAND}`; export r; \
27482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27483 $(HOST_EXPORTS) \
27484 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27486 done; \
27487 echo "Doing distclean in expect" ; \
27488 (cd $(HOST_SUBDIR)/expect && \
27489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27491 "RANLIB=$${RANLIB}" \
27492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27493 distclean) \
27494 || exit 1
27496 @endif expect
27498 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27499 maybe-maintainer-clean-expect:
27500 @if expect
27501 maybe-maintainer-clean-expect: maintainer-clean-expect
27503 maintainer-clean-expect:
27504 @: $(MAKE); $(unstage)
27505 @[ -f ./expect/Makefile ] || exit 0; \
27506 r=`${PWD_COMMAND}`; export r; \
27507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27508 $(HOST_EXPORTS) \
27509 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27511 done; \
27512 echo "Doing maintainer-clean in expect" ; \
27513 (cd $(HOST_SUBDIR)/expect && \
27514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27516 "RANLIB=$${RANLIB}" \
27517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27518 maintainer-clean) \
27519 || exit 1
27521 @endif expect
27525 .PHONY: configure-guile maybe-configure-guile
27526 maybe-configure-guile:
27527 @if guile
27528 maybe-configure-guile: configure-guile
27529 configure-guile:
27530 @: $(MAKE); $(unstage)
27531 @r=`${PWD_COMMAND}`; export r; \
27532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27533 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27534 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27535 $(HOST_EXPORTS) \
27536 echo Configuring in $(HOST_SUBDIR)/guile; \
27537 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27538 case $(srcdir) in \
27539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27540 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27542 esac; \
27543 srcdiroption="--srcdir=$${topdir}/guile"; \
27544 libsrcdir="$$s/guile"; \
27545 $(SHELL) $${libsrcdir}/configure \
27546 $(HOST_CONFIGARGS) $${srcdiroption} \
27547 || exit 1
27548 @endif guile
27554 .PHONY: all-guile maybe-all-guile
27555 maybe-all-guile:
27556 @if guile
27557 TARGET-guile=all
27558 maybe-all-guile: all-guile
27559 all-guile: configure-guile
27560 @: $(MAKE); $(unstage)
27561 @r=`${PWD_COMMAND}`; export r; \
27562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27563 $(HOST_EXPORTS) \
27564 (cd $(HOST_SUBDIR)/guile && \
27565 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27566 @endif guile
27571 .PHONY: check-guile maybe-check-guile
27572 maybe-check-guile:
27573 @if guile
27574 maybe-check-guile: check-guile
27576 check-guile:
27577 @: $(MAKE); $(unstage)
27578 @r=`${PWD_COMMAND}`; export r; \
27579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(HOST_EXPORTS) \
27581 (cd $(HOST_SUBDIR)/guile && \
27582 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27584 @endif guile
27586 .PHONY: install-guile maybe-install-guile
27587 maybe-install-guile:
27588 @if guile
27589 maybe-install-guile: install-guile
27591 install-guile: installdirs
27592 @: $(MAKE); $(unstage)
27593 @r=`${PWD_COMMAND}`; export r; \
27594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27595 $(HOST_EXPORTS) \
27596 (cd $(HOST_SUBDIR)/guile && \
27597 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27599 @endif guile
27601 # Other targets (info, dvi, etc.)
27603 .PHONY: maybe-info-guile info-guile
27604 maybe-info-guile:
27605 @if guile
27606 maybe-info-guile: info-guile
27608 info-guile: \
27609 configure-guile
27610 @: $(MAKE); $(unstage)
27611 @[ -f ./guile/Makefile ] || exit 0; \
27612 r=`${PWD_COMMAND}`; export r; \
27613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27614 $(HOST_EXPORTS) \
27615 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27617 done; \
27618 echo "Doing info in guile" ; \
27619 (cd $(HOST_SUBDIR)/guile && \
27620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27622 "RANLIB=$${RANLIB}" \
27623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27624 info) \
27625 || exit 1
27627 @endif guile
27629 .PHONY: maybe-dvi-guile dvi-guile
27630 maybe-dvi-guile:
27631 @if guile
27632 maybe-dvi-guile: dvi-guile
27634 dvi-guile: \
27635 configure-guile
27636 @: $(MAKE); $(unstage)
27637 @[ -f ./guile/Makefile ] || exit 0; \
27638 r=`${PWD_COMMAND}`; export r; \
27639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27640 $(HOST_EXPORTS) \
27641 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27643 done; \
27644 echo "Doing dvi in guile" ; \
27645 (cd $(HOST_SUBDIR)/guile && \
27646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27648 "RANLIB=$${RANLIB}" \
27649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27650 dvi) \
27651 || exit 1
27653 @endif guile
27655 .PHONY: maybe-html-guile html-guile
27656 maybe-html-guile:
27657 @if guile
27658 maybe-html-guile: html-guile
27660 html-guile: \
27661 configure-guile
27662 @: $(MAKE); $(unstage)
27663 @[ -f ./guile/Makefile ] || exit 0; \
27664 r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 $(HOST_EXPORTS) \
27667 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27669 done; \
27670 echo "Doing html in guile" ; \
27671 (cd $(HOST_SUBDIR)/guile && \
27672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27674 "RANLIB=$${RANLIB}" \
27675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27676 html) \
27677 || exit 1
27679 @endif guile
27681 .PHONY: maybe-TAGS-guile TAGS-guile
27682 maybe-TAGS-guile:
27683 @if guile
27684 maybe-TAGS-guile: TAGS-guile
27686 TAGS-guile: \
27687 configure-guile
27688 @: $(MAKE); $(unstage)
27689 @[ -f ./guile/Makefile ] || exit 0; \
27690 r=`${PWD_COMMAND}`; export r; \
27691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27692 $(HOST_EXPORTS) \
27693 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27695 done; \
27696 echo "Doing TAGS in guile" ; \
27697 (cd $(HOST_SUBDIR)/guile && \
27698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27700 "RANLIB=$${RANLIB}" \
27701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27702 TAGS) \
27703 || exit 1
27705 @endif guile
27707 .PHONY: maybe-install-info-guile install-info-guile
27708 maybe-install-info-guile:
27709 @if guile
27710 maybe-install-info-guile: install-info-guile
27712 install-info-guile: \
27713 configure-guile \
27714 info-guile
27715 @: $(MAKE); $(unstage)
27716 @[ -f ./guile/Makefile ] || exit 0; \
27717 r=`${PWD_COMMAND}`; export r; \
27718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27719 $(HOST_EXPORTS) \
27720 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27722 done; \
27723 echo "Doing install-info in guile" ; \
27724 (cd $(HOST_SUBDIR)/guile && \
27725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27727 "RANLIB=$${RANLIB}" \
27728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27729 install-info) \
27730 || exit 1
27732 @endif guile
27734 .PHONY: maybe-installcheck-guile installcheck-guile
27735 maybe-installcheck-guile:
27736 @if guile
27737 maybe-installcheck-guile: installcheck-guile
27739 installcheck-guile: \
27740 configure-guile
27741 @: $(MAKE); $(unstage)
27742 @[ -f ./guile/Makefile ] || exit 0; \
27743 r=`${PWD_COMMAND}`; export r; \
27744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27745 $(HOST_EXPORTS) \
27746 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27748 done; \
27749 echo "Doing installcheck in guile" ; \
27750 (cd $(HOST_SUBDIR)/guile && \
27751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27753 "RANLIB=$${RANLIB}" \
27754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27755 installcheck) \
27756 || exit 1
27758 @endif guile
27760 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27761 maybe-mostlyclean-guile:
27762 @if guile
27763 maybe-mostlyclean-guile: mostlyclean-guile
27765 mostlyclean-guile:
27766 @: $(MAKE); $(unstage)
27767 @[ -f ./guile/Makefile ] || exit 0; \
27768 r=`${PWD_COMMAND}`; export r; \
27769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27770 $(HOST_EXPORTS) \
27771 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27773 done; \
27774 echo "Doing mostlyclean in guile" ; \
27775 (cd $(HOST_SUBDIR)/guile && \
27776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27778 "RANLIB=$${RANLIB}" \
27779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27780 mostlyclean) \
27781 || exit 1
27783 @endif guile
27785 .PHONY: maybe-clean-guile clean-guile
27786 maybe-clean-guile:
27787 @if guile
27788 maybe-clean-guile: clean-guile
27790 clean-guile:
27791 @: $(MAKE); $(unstage)
27792 @[ -f ./guile/Makefile ] || exit 0; \
27793 r=`${PWD_COMMAND}`; export r; \
27794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27795 $(HOST_EXPORTS) \
27796 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27798 done; \
27799 echo "Doing clean in guile" ; \
27800 (cd $(HOST_SUBDIR)/guile && \
27801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27803 "RANLIB=$${RANLIB}" \
27804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27805 clean) \
27806 || exit 1
27808 @endif guile
27810 .PHONY: maybe-distclean-guile distclean-guile
27811 maybe-distclean-guile:
27812 @if guile
27813 maybe-distclean-guile: distclean-guile
27815 distclean-guile:
27816 @: $(MAKE); $(unstage)
27817 @[ -f ./guile/Makefile ] || exit 0; \
27818 r=`${PWD_COMMAND}`; export r; \
27819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27820 $(HOST_EXPORTS) \
27821 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27823 done; \
27824 echo "Doing distclean in guile" ; \
27825 (cd $(HOST_SUBDIR)/guile && \
27826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27828 "RANLIB=$${RANLIB}" \
27829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27830 distclean) \
27831 || exit 1
27833 @endif guile
27835 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27836 maybe-maintainer-clean-guile:
27837 @if guile
27838 maybe-maintainer-clean-guile: maintainer-clean-guile
27840 maintainer-clean-guile:
27841 @: $(MAKE); $(unstage)
27842 @[ -f ./guile/Makefile ] || exit 0; \
27843 r=`${PWD_COMMAND}`; export r; \
27844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27845 $(HOST_EXPORTS) \
27846 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27848 done; \
27849 echo "Doing maintainer-clean in guile" ; \
27850 (cd $(HOST_SUBDIR)/guile && \
27851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27853 "RANLIB=$${RANLIB}" \
27854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27855 maintainer-clean) \
27856 || exit 1
27858 @endif guile
27862 .PHONY: configure-tk maybe-configure-tk
27863 maybe-configure-tk:
27864 @if tk
27865 maybe-configure-tk: configure-tk
27866 configure-tk:
27867 @: $(MAKE); $(unstage)
27868 @r=`${PWD_COMMAND}`; export r; \
27869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27870 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27872 $(HOST_EXPORTS) \
27873 echo Configuring in $(HOST_SUBDIR)/tk; \
27874 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27875 case $(srcdir) in \
27876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27877 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27879 esac; \
27880 srcdiroption="--srcdir=$${topdir}/tk"; \
27881 libsrcdir="$$s/tk"; \
27882 $(SHELL) $${libsrcdir}/configure \
27883 $(HOST_CONFIGARGS) $${srcdiroption} \
27884 || exit 1
27885 @endif tk
27891 .PHONY: all-tk maybe-all-tk
27892 maybe-all-tk:
27893 @if tk
27894 TARGET-tk=all
27895 maybe-all-tk: all-tk
27896 all-tk: configure-tk
27897 @: $(MAKE); $(unstage)
27898 @r=`${PWD_COMMAND}`; export r; \
27899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27900 $(HOST_EXPORTS) \
27901 (cd $(HOST_SUBDIR)/tk && \
27902 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27903 @endif tk
27908 .PHONY: check-tk maybe-check-tk
27909 maybe-check-tk:
27910 @if tk
27911 maybe-check-tk: check-tk
27913 check-tk:
27914 @: $(MAKE); $(unstage)
27915 @r=`${PWD_COMMAND}`; export r; \
27916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 $(HOST_EXPORTS) \
27918 (cd $(HOST_SUBDIR)/tk && \
27919 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27921 @endif tk
27923 .PHONY: install-tk maybe-install-tk
27924 maybe-install-tk:
27925 @if tk
27926 maybe-install-tk: install-tk
27928 install-tk: installdirs
27929 @: $(MAKE); $(unstage)
27930 @r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 $(HOST_EXPORTS) \
27933 (cd $(HOST_SUBDIR)/tk && \
27934 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27936 @endif tk
27938 # Other targets (info, dvi, etc.)
27940 .PHONY: maybe-info-tk info-tk
27941 maybe-info-tk:
27942 @if tk
27943 maybe-info-tk: info-tk
27945 info-tk: \
27946 configure-tk
27947 @: $(MAKE); $(unstage)
27948 @[ -f ./tk/Makefile ] || exit 0; \
27949 r=`${PWD_COMMAND}`; export r; \
27950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27951 $(HOST_EXPORTS) \
27952 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27954 done; \
27955 echo "Doing info in tk" ; \
27956 (cd $(HOST_SUBDIR)/tk && \
27957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27959 "RANLIB=$${RANLIB}" \
27960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27961 info) \
27962 || exit 1
27964 @endif tk
27966 .PHONY: maybe-dvi-tk dvi-tk
27967 maybe-dvi-tk:
27968 @if tk
27969 maybe-dvi-tk: dvi-tk
27971 dvi-tk: \
27972 configure-tk
27973 @: $(MAKE); $(unstage)
27974 @[ -f ./tk/Makefile ] || exit 0; \
27975 r=`${PWD_COMMAND}`; export r; \
27976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27977 $(HOST_EXPORTS) \
27978 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27980 done; \
27981 echo "Doing dvi in tk" ; \
27982 (cd $(HOST_SUBDIR)/tk && \
27983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27985 "RANLIB=$${RANLIB}" \
27986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27987 dvi) \
27988 || exit 1
27990 @endif tk
27992 .PHONY: maybe-html-tk html-tk
27993 maybe-html-tk:
27994 @if tk
27995 maybe-html-tk: html-tk
27997 html-tk: \
27998 configure-tk
27999 @: $(MAKE); $(unstage)
28000 @[ -f ./tk/Makefile ] || exit 0; \
28001 r=`${PWD_COMMAND}`; export r; \
28002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28003 $(HOST_EXPORTS) \
28004 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28006 done; \
28007 echo "Doing html in tk" ; \
28008 (cd $(HOST_SUBDIR)/tk && \
28009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28011 "RANLIB=$${RANLIB}" \
28012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28013 html) \
28014 || exit 1
28016 @endif tk
28018 .PHONY: maybe-TAGS-tk TAGS-tk
28019 maybe-TAGS-tk:
28020 @if tk
28021 maybe-TAGS-tk: TAGS-tk
28023 TAGS-tk: \
28024 configure-tk
28025 @: $(MAKE); $(unstage)
28026 @[ -f ./tk/Makefile ] || exit 0; \
28027 r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 $(HOST_EXPORTS) \
28030 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28032 done; \
28033 echo "Doing TAGS in tk" ; \
28034 (cd $(HOST_SUBDIR)/tk && \
28035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28037 "RANLIB=$${RANLIB}" \
28038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28039 TAGS) \
28040 || exit 1
28042 @endif tk
28044 .PHONY: maybe-install-info-tk install-info-tk
28045 maybe-install-info-tk:
28046 @if tk
28047 maybe-install-info-tk: install-info-tk
28049 install-info-tk: \
28050 configure-tk \
28051 info-tk
28052 @: $(MAKE); $(unstage)
28053 @[ -f ./tk/Makefile ] || exit 0; \
28054 r=`${PWD_COMMAND}`; export r; \
28055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28056 $(HOST_EXPORTS) \
28057 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28059 done; \
28060 echo "Doing install-info in tk" ; \
28061 (cd $(HOST_SUBDIR)/tk && \
28062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28064 "RANLIB=$${RANLIB}" \
28065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28066 install-info) \
28067 || exit 1
28069 @endif tk
28071 .PHONY: maybe-installcheck-tk installcheck-tk
28072 maybe-installcheck-tk:
28073 @if tk
28074 maybe-installcheck-tk: installcheck-tk
28076 installcheck-tk: \
28077 configure-tk
28078 @: $(MAKE); $(unstage)
28079 @[ -f ./tk/Makefile ] || exit 0; \
28080 r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(HOST_EXPORTS) \
28083 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28085 done; \
28086 echo "Doing installcheck in tk" ; \
28087 (cd $(HOST_SUBDIR)/tk && \
28088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28090 "RANLIB=$${RANLIB}" \
28091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28092 installcheck) \
28093 || exit 1
28095 @endif tk
28097 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28098 maybe-mostlyclean-tk:
28099 @if tk
28100 maybe-mostlyclean-tk: mostlyclean-tk
28102 mostlyclean-tk:
28103 @: $(MAKE); $(unstage)
28104 @[ -f ./tk/Makefile ] || exit 0; \
28105 r=`${PWD_COMMAND}`; export r; \
28106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28107 $(HOST_EXPORTS) \
28108 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28110 done; \
28111 echo "Doing mostlyclean in tk" ; \
28112 (cd $(HOST_SUBDIR)/tk && \
28113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28115 "RANLIB=$${RANLIB}" \
28116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28117 mostlyclean) \
28118 || exit 1
28120 @endif tk
28122 .PHONY: maybe-clean-tk clean-tk
28123 maybe-clean-tk:
28124 @if tk
28125 maybe-clean-tk: clean-tk
28127 clean-tk:
28128 @: $(MAKE); $(unstage)
28129 @[ -f ./tk/Makefile ] || exit 0; \
28130 r=`${PWD_COMMAND}`; export r; \
28131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28132 $(HOST_EXPORTS) \
28133 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28135 done; \
28136 echo "Doing clean in tk" ; \
28137 (cd $(HOST_SUBDIR)/tk && \
28138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28140 "RANLIB=$${RANLIB}" \
28141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28142 clean) \
28143 || exit 1
28145 @endif tk
28147 .PHONY: maybe-distclean-tk distclean-tk
28148 maybe-distclean-tk:
28149 @if tk
28150 maybe-distclean-tk: distclean-tk
28152 distclean-tk:
28153 @: $(MAKE); $(unstage)
28154 @[ -f ./tk/Makefile ] || exit 0; \
28155 r=`${PWD_COMMAND}`; export r; \
28156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28157 $(HOST_EXPORTS) \
28158 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28160 done; \
28161 echo "Doing distclean in tk" ; \
28162 (cd $(HOST_SUBDIR)/tk && \
28163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28165 "RANLIB=$${RANLIB}" \
28166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28167 distclean) \
28168 || exit 1
28170 @endif tk
28172 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28173 maybe-maintainer-clean-tk:
28174 @if tk
28175 maybe-maintainer-clean-tk: maintainer-clean-tk
28177 maintainer-clean-tk:
28178 @: $(MAKE); $(unstage)
28179 @[ -f ./tk/Makefile ] || exit 0; \
28180 r=`${PWD_COMMAND}`; export r; \
28181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28182 $(HOST_EXPORTS) \
28183 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28185 done; \
28186 echo "Doing maintainer-clean in tk" ; \
28187 (cd $(HOST_SUBDIR)/tk && \
28188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28190 "RANLIB=$${RANLIB}" \
28191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28192 maintainer-clean) \
28193 || exit 1
28195 @endif tk
28199 .PHONY: configure-libtermcap maybe-configure-libtermcap
28200 maybe-configure-libtermcap:
28201 @if libtermcap
28202 maybe-configure-libtermcap: configure-libtermcap
28203 configure-libtermcap:
28204 @: $(MAKE); $(unstage)
28205 @r=`${PWD_COMMAND}`; export r; \
28206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28207 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28208 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28209 $(HOST_EXPORTS) \
28210 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28211 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28212 case $(srcdir) in \
28213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28214 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28216 esac; \
28217 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28218 libsrcdir="$$s/libtermcap"; \
28219 $(SHELL) $${libsrcdir}/configure \
28220 $(HOST_CONFIGARGS) $${srcdiroption} \
28221 || exit 1
28222 @endif libtermcap
28228 .PHONY: all-libtermcap maybe-all-libtermcap
28229 maybe-all-libtermcap:
28230 @if libtermcap
28231 TARGET-libtermcap=all
28232 maybe-all-libtermcap: all-libtermcap
28233 all-libtermcap: configure-libtermcap
28234 @: $(MAKE); $(unstage)
28235 @r=`${PWD_COMMAND}`; export r; \
28236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28237 $(HOST_EXPORTS) \
28238 (cd $(HOST_SUBDIR)/libtermcap && \
28239 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
28240 @endif libtermcap
28245 .PHONY: check-libtermcap maybe-check-libtermcap
28246 maybe-check-libtermcap:
28247 @if libtermcap
28248 maybe-check-libtermcap: check-libtermcap
28250 check-libtermcap:
28252 @endif libtermcap
28254 .PHONY: install-libtermcap maybe-install-libtermcap
28255 maybe-install-libtermcap:
28256 @if libtermcap
28257 maybe-install-libtermcap: install-libtermcap
28259 install-libtermcap: installdirs
28260 @: $(MAKE); $(unstage)
28261 @r=`${PWD_COMMAND}`; export r; \
28262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28263 $(HOST_EXPORTS) \
28264 (cd $(HOST_SUBDIR)/libtermcap && \
28265 $(MAKE) $(FLAGS_TO_PASS) install)
28267 @endif libtermcap
28269 # Other targets (info, dvi, etc.)
28271 .PHONY: maybe-info-libtermcap info-libtermcap
28272 maybe-info-libtermcap:
28273 @if libtermcap
28274 maybe-info-libtermcap: info-libtermcap
28276 info-libtermcap: \
28277 configure-libtermcap
28278 @: $(MAKE); $(unstage)
28279 @[ -f ./libtermcap/Makefile ] || exit 0; \
28280 r=`${PWD_COMMAND}`; export r; \
28281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28282 $(HOST_EXPORTS) \
28283 for flag in $(EXTRA_HOST_FLAGS) ; do \
28284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28285 done; \
28286 echo "Doing info in libtermcap" ; \
28287 (cd $(HOST_SUBDIR)/libtermcap && \
28288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28290 "RANLIB=$${RANLIB}" \
28291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28292 info) \
28293 || exit 1
28295 @endif libtermcap
28297 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28298 maybe-dvi-libtermcap:
28299 @if libtermcap
28300 maybe-dvi-libtermcap: dvi-libtermcap
28302 dvi-libtermcap: \
28303 configure-libtermcap
28304 @: $(MAKE); $(unstage)
28305 @[ -f ./libtermcap/Makefile ] || exit 0; \
28306 r=`${PWD_COMMAND}`; export r; \
28307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28308 $(HOST_EXPORTS) \
28309 for flag in $(EXTRA_HOST_FLAGS) ; do \
28310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28311 done; \
28312 echo "Doing dvi in libtermcap" ; \
28313 (cd $(HOST_SUBDIR)/libtermcap && \
28314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28316 "RANLIB=$${RANLIB}" \
28317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28318 dvi) \
28319 || exit 1
28321 @endif libtermcap
28323 .PHONY: maybe-html-libtermcap html-libtermcap
28324 maybe-html-libtermcap:
28325 @if libtermcap
28326 maybe-html-libtermcap: html-libtermcap
28328 html-libtermcap: \
28329 configure-libtermcap
28330 @: $(MAKE); $(unstage)
28331 @[ -f ./libtermcap/Makefile ] || exit 0; \
28332 r=`${PWD_COMMAND}`; export r; \
28333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28334 $(HOST_EXPORTS) \
28335 for flag in $(EXTRA_HOST_FLAGS) ; do \
28336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28337 done; \
28338 echo "Doing html in libtermcap" ; \
28339 (cd $(HOST_SUBDIR)/libtermcap && \
28340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28342 "RANLIB=$${RANLIB}" \
28343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28344 html) \
28345 || exit 1
28347 @endif libtermcap
28349 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28350 maybe-TAGS-libtermcap:
28351 @if libtermcap
28352 maybe-TAGS-libtermcap: TAGS-libtermcap
28354 TAGS-libtermcap: \
28355 configure-libtermcap
28356 @: $(MAKE); $(unstage)
28357 @[ -f ./libtermcap/Makefile ] || exit 0; \
28358 r=`${PWD_COMMAND}`; export r; \
28359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28360 $(HOST_EXPORTS) \
28361 for flag in $(EXTRA_HOST_FLAGS) ; do \
28362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28363 done; \
28364 echo "Doing TAGS in libtermcap" ; \
28365 (cd $(HOST_SUBDIR)/libtermcap && \
28366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28368 "RANLIB=$${RANLIB}" \
28369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28370 TAGS) \
28371 || exit 1
28373 @endif libtermcap
28375 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28376 maybe-install-info-libtermcap:
28377 @if libtermcap
28378 maybe-install-info-libtermcap: install-info-libtermcap
28380 install-info-libtermcap: \
28381 configure-libtermcap \
28382 info-libtermcap
28383 @: $(MAKE); $(unstage)
28384 @[ -f ./libtermcap/Makefile ] || exit 0; \
28385 r=`${PWD_COMMAND}`; export r; \
28386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28387 $(HOST_EXPORTS) \
28388 for flag in $(EXTRA_HOST_FLAGS) ; do \
28389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28390 done; \
28391 echo "Doing install-info in libtermcap" ; \
28392 (cd $(HOST_SUBDIR)/libtermcap && \
28393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28395 "RANLIB=$${RANLIB}" \
28396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28397 install-info) \
28398 || exit 1
28400 @endif libtermcap
28402 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28403 maybe-installcheck-libtermcap:
28404 @if libtermcap
28405 maybe-installcheck-libtermcap: installcheck-libtermcap
28407 installcheck-libtermcap: \
28408 configure-libtermcap
28409 @: $(MAKE); $(unstage)
28410 @[ -f ./libtermcap/Makefile ] || exit 0; \
28411 r=`${PWD_COMMAND}`; export r; \
28412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28413 $(HOST_EXPORTS) \
28414 for flag in $(EXTRA_HOST_FLAGS) ; do \
28415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28416 done; \
28417 echo "Doing installcheck in libtermcap" ; \
28418 (cd $(HOST_SUBDIR)/libtermcap && \
28419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28421 "RANLIB=$${RANLIB}" \
28422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28423 installcheck) \
28424 || exit 1
28426 @endif libtermcap
28428 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28429 maybe-mostlyclean-libtermcap:
28430 @if libtermcap
28431 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28433 # libtermcap doesn't support mostlyclean.
28434 mostlyclean-libtermcap:
28436 @endif libtermcap
28438 .PHONY: maybe-clean-libtermcap clean-libtermcap
28439 maybe-clean-libtermcap:
28440 @if libtermcap
28441 maybe-clean-libtermcap: clean-libtermcap
28443 # libtermcap doesn't support clean.
28444 clean-libtermcap:
28446 @endif libtermcap
28448 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28449 maybe-distclean-libtermcap:
28450 @if libtermcap
28451 maybe-distclean-libtermcap: distclean-libtermcap
28453 # libtermcap doesn't support distclean.
28454 distclean-libtermcap:
28456 @endif libtermcap
28458 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28459 maybe-maintainer-clean-libtermcap:
28460 @if libtermcap
28461 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28463 # libtermcap doesn't support maintainer-clean.
28464 maintainer-clean-libtermcap:
28466 @endif libtermcap
28470 .PHONY: configure-utils maybe-configure-utils
28471 maybe-configure-utils:
28472 @if utils
28473 maybe-configure-utils: configure-utils
28474 configure-utils:
28475 @: $(MAKE); $(unstage)
28476 @r=`${PWD_COMMAND}`; export r; \
28477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28478 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28480 $(HOST_EXPORTS) \
28481 echo Configuring in $(HOST_SUBDIR)/utils; \
28482 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28483 case $(srcdir) in \
28484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28485 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28487 esac; \
28488 srcdiroption="--srcdir=$${topdir}/utils"; \
28489 libsrcdir="$$s/utils"; \
28490 $(SHELL) $${libsrcdir}/configure \
28491 $(HOST_CONFIGARGS) $${srcdiroption} \
28492 || exit 1
28493 @endif utils
28499 .PHONY: all-utils maybe-all-utils
28500 maybe-all-utils:
28501 @if utils
28502 TARGET-utils=all
28503 maybe-all-utils: all-utils
28504 all-utils: configure-utils
28505 @: $(MAKE); $(unstage)
28506 @r=`${PWD_COMMAND}`; export r; \
28507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28508 $(HOST_EXPORTS) \
28509 (cd $(HOST_SUBDIR)/utils && \
28510 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28511 @endif utils
28516 .PHONY: check-utils maybe-check-utils
28517 maybe-check-utils:
28518 @if utils
28519 maybe-check-utils: check-utils
28521 check-utils:
28523 @endif utils
28525 .PHONY: install-utils maybe-install-utils
28526 maybe-install-utils:
28527 @if utils
28528 maybe-install-utils: install-utils
28530 install-utils: installdirs
28531 @: $(MAKE); $(unstage)
28532 @r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28534 $(HOST_EXPORTS) \
28535 (cd $(HOST_SUBDIR)/utils && \
28536 $(MAKE) $(FLAGS_TO_PASS) install)
28538 @endif utils
28540 # Other targets (info, dvi, etc.)
28542 .PHONY: maybe-info-utils info-utils
28543 maybe-info-utils:
28544 @if utils
28545 maybe-info-utils: info-utils
28547 info-utils: \
28548 configure-utils
28549 @: $(MAKE); $(unstage)
28550 @[ -f ./utils/Makefile ] || exit 0; \
28551 r=`${PWD_COMMAND}`; export r; \
28552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28553 $(HOST_EXPORTS) \
28554 for flag in $(EXTRA_HOST_FLAGS) ; do \
28555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28556 done; \
28557 echo "Doing info in utils" ; \
28558 (cd $(HOST_SUBDIR)/utils && \
28559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28561 "RANLIB=$${RANLIB}" \
28562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28563 info) \
28564 || exit 1
28566 @endif utils
28568 .PHONY: maybe-dvi-utils dvi-utils
28569 maybe-dvi-utils:
28570 @if utils
28571 maybe-dvi-utils: dvi-utils
28573 dvi-utils: \
28574 configure-utils
28575 @: $(MAKE); $(unstage)
28576 @[ -f ./utils/Makefile ] || exit 0; \
28577 r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(HOST_EXPORTS) \
28580 for flag in $(EXTRA_HOST_FLAGS) ; do \
28581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28582 done; \
28583 echo "Doing dvi in utils" ; \
28584 (cd $(HOST_SUBDIR)/utils && \
28585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28587 "RANLIB=$${RANLIB}" \
28588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28589 dvi) \
28590 || exit 1
28592 @endif utils
28594 .PHONY: maybe-html-utils html-utils
28595 maybe-html-utils:
28596 @if utils
28597 maybe-html-utils: html-utils
28599 html-utils: \
28600 configure-utils
28601 @: $(MAKE); $(unstage)
28602 @[ -f ./utils/Makefile ] || exit 0; \
28603 r=`${PWD_COMMAND}`; export r; \
28604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28605 $(HOST_EXPORTS) \
28606 for flag in $(EXTRA_HOST_FLAGS) ; do \
28607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28608 done; \
28609 echo "Doing html in utils" ; \
28610 (cd $(HOST_SUBDIR)/utils && \
28611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28613 "RANLIB=$${RANLIB}" \
28614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28615 html) \
28616 || exit 1
28618 @endif utils
28620 .PHONY: maybe-TAGS-utils TAGS-utils
28621 maybe-TAGS-utils:
28622 @if utils
28623 maybe-TAGS-utils: TAGS-utils
28625 TAGS-utils: \
28626 configure-utils
28627 @: $(MAKE); $(unstage)
28628 @[ -f ./utils/Makefile ] || exit 0; \
28629 r=`${PWD_COMMAND}`; export r; \
28630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28631 $(HOST_EXPORTS) \
28632 for flag in $(EXTRA_HOST_FLAGS) ; do \
28633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28634 done; \
28635 echo "Doing TAGS in utils" ; \
28636 (cd $(HOST_SUBDIR)/utils && \
28637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28639 "RANLIB=$${RANLIB}" \
28640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28641 TAGS) \
28642 || exit 1
28644 @endif utils
28646 .PHONY: maybe-install-info-utils install-info-utils
28647 maybe-install-info-utils:
28648 @if utils
28649 maybe-install-info-utils: install-info-utils
28651 install-info-utils: \
28652 configure-utils \
28653 info-utils
28654 @: $(MAKE); $(unstage)
28655 @[ -f ./utils/Makefile ] || exit 0; \
28656 r=`${PWD_COMMAND}`; export r; \
28657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28658 $(HOST_EXPORTS) \
28659 for flag in $(EXTRA_HOST_FLAGS) ; do \
28660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28661 done; \
28662 echo "Doing install-info in utils" ; \
28663 (cd $(HOST_SUBDIR)/utils && \
28664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28666 "RANLIB=$${RANLIB}" \
28667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28668 install-info) \
28669 || exit 1
28671 @endif utils
28673 .PHONY: maybe-installcheck-utils installcheck-utils
28674 maybe-installcheck-utils:
28675 @if utils
28676 maybe-installcheck-utils: installcheck-utils
28678 installcheck-utils: \
28679 configure-utils
28680 @: $(MAKE); $(unstage)
28681 @[ -f ./utils/Makefile ] || exit 0; \
28682 r=`${PWD_COMMAND}`; export r; \
28683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28684 $(HOST_EXPORTS) \
28685 for flag in $(EXTRA_HOST_FLAGS) ; do \
28686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28687 done; \
28688 echo "Doing installcheck in utils" ; \
28689 (cd $(HOST_SUBDIR)/utils && \
28690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28692 "RANLIB=$${RANLIB}" \
28693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28694 installcheck) \
28695 || exit 1
28697 @endif utils
28699 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28700 maybe-mostlyclean-utils:
28701 @if utils
28702 maybe-mostlyclean-utils: mostlyclean-utils
28704 mostlyclean-utils:
28705 @: $(MAKE); $(unstage)
28706 @[ -f ./utils/Makefile ] || exit 0; \
28707 r=`${PWD_COMMAND}`; export r; \
28708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 $(HOST_EXPORTS) \
28710 for flag in $(EXTRA_HOST_FLAGS) ; do \
28711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28712 done; \
28713 echo "Doing mostlyclean in utils" ; \
28714 (cd $(HOST_SUBDIR)/utils && \
28715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28717 "RANLIB=$${RANLIB}" \
28718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28719 mostlyclean) \
28720 || exit 1
28722 @endif utils
28724 .PHONY: maybe-clean-utils clean-utils
28725 maybe-clean-utils:
28726 @if utils
28727 maybe-clean-utils: clean-utils
28729 clean-utils:
28730 @: $(MAKE); $(unstage)
28731 @[ -f ./utils/Makefile ] || exit 0; \
28732 r=`${PWD_COMMAND}`; export r; \
28733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28734 $(HOST_EXPORTS) \
28735 for flag in $(EXTRA_HOST_FLAGS) ; do \
28736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28737 done; \
28738 echo "Doing clean in utils" ; \
28739 (cd $(HOST_SUBDIR)/utils && \
28740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28742 "RANLIB=$${RANLIB}" \
28743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28744 clean) \
28745 || exit 1
28747 @endif utils
28749 .PHONY: maybe-distclean-utils distclean-utils
28750 maybe-distclean-utils:
28751 @if utils
28752 maybe-distclean-utils: distclean-utils
28754 distclean-utils:
28755 @: $(MAKE); $(unstage)
28756 @[ -f ./utils/Makefile ] || exit 0; \
28757 r=`${PWD_COMMAND}`; export r; \
28758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28759 $(HOST_EXPORTS) \
28760 for flag in $(EXTRA_HOST_FLAGS) ; do \
28761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28762 done; \
28763 echo "Doing distclean in utils" ; \
28764 (cd $(HOST_SUBDIR)/utils && \
28765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28767 "RANLIB=$${RANLIB}" \
28768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28769 distclean) \
28770 || exit 1
28772 @endif utils
28774 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28775 maybe-maintainer-clean-utils:
28776 @if utils
28777 maybe-maintainer-clean-utils: maintainer-clean-utils
28779 maintainer-clean-utils:
28780 @: $(MAKE); $(unstage)
28781 @[ -f ./utils/Makefile ] || exit 0; \
28782 r=`${PWD_COMMAND}`; export r; \
28783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28784 $(HOST_EXPORTS) \
28785 for flag in $(EXTRA_HOST_FLAGS) ; do \
28786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28787 done; \
28788 echo "Doing maintainer-clean in utils" ; \
28789 (cd $(HOST_SUBDIR)/utils && \
28790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28792 "RANLIB=$${RANLIB}" \
28793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28794 maintainer-clean) \
28795 || exit 1
28797 @endif utils
28801 .PHONY: configure-gnattools maybe-configure-gnattools
28802 maybe-configure-gnattools:
28803 @if gnattools
28804 maybe-configure-gnattools: configure-gnattools
28805 configure-gnattools:
28806 @: $(MAKE); $(unstage)
28807 @r=`${PWD_COMMAND}`; export r; \
28808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28809 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28811 $(HOST_EXPORTS) \
28812 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28813 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28814 case $(srcdir) in \
28815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28816 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28818 esac; \
28819 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28820 libsrcdir="$$s/gnattools"; \
28821 $(SHELL) $${libsrcdir}/configure \
28822 $(HOST_CONFIGARGS) $${srcdiroption} \
28823 || exit 1
28824 @endif gnattools
28830 .PHONY: all-gnattools maybe-all-gnattools
28831 maybe-all-gnattools:
28832 @if gnattools
28833 TARGET-gnattools=all
28834 maybe-all-gnattools: all-gnattools
28835 all-gnattools: configure-gnattools
28836 @: $(MAKE); $(unstage)
28837 @r=`${PWD_COMMAND}`; export r; \
28838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28839 $(HOST_EXPORTS) \
28840 (cd $(HOST_SUBDIR)/gnattools && \
28841 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28842 @endif gnattools
28847 .PHONY: check-gnattools maybe-check-gnattools
28848 maybe-check-gnattools:
28849 @if gnattools
28850 maybe-check-gnattools: check-gnattools
28852 check-gnattools:
28853 @: $(MAKE); $(unstage)
28854 @r=`${PWD_COMMAND}`; export r; \
28855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28856 $(HOST_EXPORTS) \
28857 (cd $(HOST_SUBDIR)/gnattools && \
28858 $(MAKE) $(FLAGS_TO_PASS) check)
28860 @endif gnattools
28862 .PHONY: install-gnattools maybe-install-gnattools
28863 maybe-install-gnattools:
28864 @if gnattools
28865 maybe-install-gnattools: install-gnattools
28867 install-gnattools: installdirs
28868 @: $(MAKE); $(unstage)
28869 @r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 $(HOST_EXPORTS) \
28872 (cd $(HOST_SUBDIR)/gnattools && \
28873 $(MAKE) $(FLAGS_TO_PASS) install)
28875 @endif gnattools
28877 # Other targets (info, dvi, etc.)
28879 .PHONY: maybe-info-gnattools info-gnattools
28880 maybe-info-gnattools:
28881 @if gnattools
28882 maybe-info-gnattools: info-gnattools
28884 info-gnattools: \
28885 configure-gnattools
28886 @: $(MAKE); $(unstage)
28887 @[ -f ./gnattools/Makefile ] || exit 0; \
28888 r=`${PWD_COMMAND}`; export r; \
28889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28890 $(HOST_EXPORTS) \
28891 for flag in $(EXTRA_HOST_FLAGS) ; do \
28892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28893 done; \
28894 echo "Doing info in gnattools" ; \
28895 (cd $(HOST_SUBDIR)/gnattools && \
28896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28898 "RANLIB=$${RANLIB}" \
28899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28900 info) \
28901 || exit 1
28903 @endif gnattools
28905 .PHONY: maybe-dvi-gnattools dvi-gnattools
28906 maybe-dvi-gnattools:
28907 @if gnattools
28908 maybe-dvi-gnattools: dvi-gnattools
28910 dvi-gnattools: \
28911 configure-gnattools
28912 @: $(MAKE); $(unstage)
28913 @[ -f ./gnattools/Makefile ] || exit 0; \
28914 r=`${PWD_COMMAND}`; export r; \
28915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28916 $(HOST_EXPORTS) \
28917 for flag in $(EXTRA_HOST_FLAGS) ; do \
28918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28919 done; \
28920 echo "Doing dvi in gnattools" ; \
28921 (cd $(HOST_SUBDIR)/gnattools && \
28922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28924 "RANLIB=$${RANLIB}" \
28925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28926 dvi) \
28927 || exit 1
28929 @endif gnattools
28931 .PHONY: maybe-html-gnattools html-gnattools
28932 maybe-html-gnattools:
28933 @if gnattools
28934 maybe-html-gnattools: html-gnattools
28936 html-gnattools: \
28937 configure-gnattools
28938 @: $(MAKE); $(unstage)
28939 @[ -f ./gnattools/Makefile ] || exit 0; \
28940 r=`${PWD_COMMAND}`; export r; \
28941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28942 $(HOST_EXPORTS) \
28943 for flag in $(EXTRA_HOST_FLAGS) ; do \
28944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28945 done; \
28946 echo "Doing html in gnattools" ; \
28947 (cd $(HOST_SUBDIR)/gnattools && \
28948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28950 "RANLIB=$${RANLIB}" \
28951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28952 html) \
28953 || exit 1
28955 @endif gnattools
28957 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28958 maybe-TAGS-gnattools:
28959 @if gnattools
28960 maybe-TAGS-gnattools: TAGS-gnattools
28962 TAGS-gnattools: \
28963 configure-gnattools
28964 @: $(MAKE); $(unstage)
28965 @[ -f ./gnattools/Makefile ] || exit 0; \
28966 r=`${PWD_COMMAND}`; export r; \
28967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28968 $(HOST_EXPORTS) \
28969 for flag in $(EXTRA_HOST_FLAGS) ; do \
28970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28971 done; \
28972 echo "Doing TAGS in gnattools" ; \
28973 (cd $(HOST_SUBDIR)/gnattools && \
28974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28976 "RANLIB=$${RANLIB}" \
28977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28978 TAGS) \
28979 || exit 1
28981 @endif gnattools
28983 .PHONY: maybe-install-info-gnattools install-info-gnattools
28984 maybe-install-info-gnattools:
28985 @if gnattools
28986 maybe-install-info-gnattools: install-info-gnattools
28988 install-info-gnattools: \
28989 configure-gnattools \
28990 info-gnattools
28991 @: $(MAKE); $(unstage)
28992 @[ -f ./gnattools/Makefile ] || exit 0; \
28993 r=`${PWD_COMMAND}`; export r; \
28994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28995 $(HOST_EXPORTS) \
28996 for flag in $(EXTRA_HOST_FLAGS) ; do \
28997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28998 done; \
28999 echo "Doing install-info in gnattools" ; \
29000 (cd $(HOST_SUBDIR)/gnattools && \
29001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29003 "RANLIB=$${RANLIB}" \
29004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29005 install-info) \
29006 || exit 1
29008 @endif gnattools
29010 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29011 maybe-installcheck-gnattools:
29012 @if gnattools
29013 maybe-installcheck-gnattools: installcheck-gnattools
29015 installcheck-gnattools: \
29016 configure-gnattools
29017 @: $(MAKE); $(unstage)
29018 @[ -f ./gnattools/Makefile ] || exit 0; \
29019 r=`${PWD_COMMAND}`; export r; \
29020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29021 $(HOST_EXPORTS) \
29022 for flag in $(EXTRA_HOST_FLAGS) ; do \
29023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29024 done; \
29025 echo "Doing installcheck in gnattools" ; \
29026 (cd $(HOST_SUBDIR)/gnattools && \
29027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29029 "RANLIB=$${RANLIB}" \
29030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29031 installcheck) \
29032 || exit 1
29034 @endif gnattools
29036 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29037 maybe-mostlyclean-gnattools:
29038 @if gnattools
29039 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29041 mostlyclean-gnattools:
29042 @: $(MAKE); $(unstage)
29043 @[ -f ./gnattools/Makefile ] || exit 0; \
29044 r=`${PWD_COMMAND}`; export r; \
29045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29046 $(HOST_EXPORTS) \
29047 for flag in $(EXTRA_HOST_FLAGS) ; do \
29048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29049 done; \
29050 echo "Doing mostlyclean in gnattools" ; \
29051 (cd $(HOST_SUBDIR)/gnattools && \
29052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29054 "RANLIB=$${RANLIB}" \
29055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29056 mostlyclean) \
29057 || exit 1
29059 @endif gnattools
29061 .PHONY: maybe-clean-gnattools clean-gnattools
29062 maybe-clean-gnattools:
29063 @if gnattools
29064 maybe-clean-gnattools: clean-gnattools
29066 clean-gnattools:
29067 @: $(MAKE); $(unstage)
29068 @[ -f ./gnattools/Makefile ] || exit 0; \
29069 r=`${PWD_COMMAND}`; export r; \
29070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29071 $(HOST_EXPORTS) \
29072 for flag in $(EXTRA_HOST_FLAGS) ; do \
29073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29074 done; \
29075 echo "Doing clean in gnattools" ; \
29076 (cd $(HOST_SUBDIR)/gnattools && \
29077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29079 "RANLIB=$${RANLIB}" \
29080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29081 clean) \
29082 || exit 1
29084 @endif gnattools
29086 .PHONY: maybe-distclean-gnattools distclean-gnattools
29087 maybe-distclean-gnattools:
29088 @if gnattools
29089 maybe-distclean-gnattools: distclean-gnattools
29091 distclean-gnattools:
29092 @: $(MAKE); $(unstage)
29093 @[ -f ./gnattools/Makefile ] || exit 0; \
29094 r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 $(HOST_EXPORTS) \
29097 for flag in $(EXTRA_HOST_FLAGS) ; do \
29098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29099 done; \
29100 echo "Doing distclean in gnattools" ; \
29101 (cd $(HOST_SUBDIR)/gnattools && \
29102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29104 "RANLIB=$${RANLIB}" \
29105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29106 distclean) \
29107 || exit 1
29109 @endif gnattools
29111 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29112 maybe-maintainer-clean-gnattools:
29113 @if gnattools
29114 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29116 maintainer-clean-gnattools:
29117 @: $(MAKE); $(unstage)
29118 @[ -f ./gnattools/Makefile ] || exit 0; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(HOST_EXPORTS) \
29122 for flag in $(EXTRA_HOST_FLAGS) ; do \
29123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29124 done; \
29125 echo "Doing maintainer-clean in gnattools" ; \
29126 (cd $(HOST_SUBDIR)/gnattools && \
29127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29129 "RANLIB=$${RANLIB}" \
29130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29131 maintainer-clean) \
29132 || exit 1
29134 @endif gnattools
29138 # ---------------------------------------
29139 # Modules which run on the target machine
29140 # ---------------------------------------
29145 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29146 maybe-configure-target-libstdc++-v3:
29147 @if target-libstdc++-v3
29148 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29149 configure-target-libstdc++-v3:
29150 @: $(MAKE); $(unstage)
29151 @r=`${PWD_COMMAND}`; export r; \
29152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29153 echo "Checking multilib configuration for libstdc++-v3..."; \
29154 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29155 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29156 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29157 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29158 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29159 else \
29160 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29161 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29162 fi; \
29163 else \
29164 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29165 fi; \
29166 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29167 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29168 $(RAW_CXX_TARGET_EXPORTS) \
29169 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29170 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29171 case $(srcdir) in \
29172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29173 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29175 esac; \
29176 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29177 libsrcdir="$$s/libstdc++-v3"; \
29178 rm -f no-such-file || : ; \
29179 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29180 $(TARGET_CONFIGARGS) $${srcdiroption} \
29181 || exit 1
29182 @endif target-libstdc++-v3
29188 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
29189 maybe-all-target-libstdc++-v3:
29190 @if target-libstdc++-v3
29191 TARGET-target-libstdc++-v3=all
29192 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
29193 all-target-libstdc++-v3: configure-target-libstdc++-v3
29194 @: $(MAKE); $(unstage)
29195 @r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(RAW_CXX_TARGET_EXPORTS) \
29198 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29199 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
29200 @endif target-libstdc++-v3
29206 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
29207 maybe-check-target-libstdc++-v3:
29208 @if target-libstdc++-v3
29209 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
29211 check-target-libstdc++-v3:
29212 @: $(MAKE); $(unstage)
29213 @r=`${PWD_COMMAND}`; export r; \
29214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29215 $(RAW_CXX_TARGET_EXPORTS) \
29216 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29217 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
29219 @endif target-libstdc++-v3
29221 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
29222 maybe-install-target-libstdc++-v3:
29223 @if target-libstdc++-v3
29224 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
29226 install-target-libstdc++-v3: installdirs
29227 @: $(MAKE); $(unstage)
29228 @r=`${PWD_COMMAND}`; export r; \
29229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29230 $(RAW_CXX_TARGET_EXPORTS) \
29231 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29232 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29234 @endif target-libstdc++-v3
29236 # Other targets (info, dvi, etc.)
29238 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
29239 maybe-info-target-libstdc++-v3:
29240 @if target-libstdc++-v3
29241 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
29243 info-target-libstdc++-v3: \
29244 configure-target-libstdc++-v3
29245 @: $(MAKE); $(unstage)
29246 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29247 r=`${PWD_COMMAND}`; export r; \
29248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29249 $(RAW_CXX_TARGET_EXPORTS) \
29250 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29251 for flag in $(EXTRA_TARGET_FLAGS); do \
29252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29253 done; \
29254 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29257 "RANLIB=$${RANLIB}" \
29258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29259 info) \
29260 || exit 1
29262 @endif target-libstdc++-v3
29264 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
29265 maybe-dvi-target-libstdc++-v3:
29266 @if target-libstdc++-v3
29267 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
29269 dvi-target-libstdc++-v3: \
29270 configure-target-libstdc++-v3
29271 @: $(MAKE); $(unstage)
29272 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29273 r=`${PWD_COMMAND}`; export r; \
29274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29275 $(RAW_CXX_TARGET_EXPORTS) \
29276 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29277 for flag in $(EXTRA_TARGET_FLAGS); do \
29278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29279 done; \
29280 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29283 "RANLIB=$${RANLIB}" \
29284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29285 dvi) \
29286 || exit 1
29288 @endif target-libstdc++-v3
29290 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29291 maybe-html-target-libstdc++-v3:
29292 @if target-libstdc++-v3
29293 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29295 html-target-libstdc++-v3: \
29296 configure-target-libstdc++-v3
29297 @: $(MAKE); $(unstage)
29298 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29299 r=`${PWD_COMMAND}`; export r; \
29300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29301 $(RAW_CXX_TARGET_EXPORTS) \
29302 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29303 for flag in $(EXTRA_TARGET_FLAGS); do \
29304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29305 done; \
29306 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29309 "RANLIB=$${RANLIB}" \
29310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29311 html) \
29312 || exit 1
29314 @endif target-libstdc++-v3
29316 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29317 maybe-TAGS-target-libstdc++-v3:
29318 @if target-libstdc++-v3
29319 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29321 TAGS-target-libstdc++-v3: \
29322 configure-target-libstdc++-v3
29323 @: $(MAKE); $(unstage)
29324 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29325 r=`${PWD_COMMAND}`; export r; \
29326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29327 $(RAW_CXX_TARGET_EXPORTS) \
29328 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29329 for flag in $(EXTRA_TARGET_FLAGS); do \
29330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29331 done; \
29332 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29335 "RANLIB=$${RANLIB}" \
29336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29337 TAGS) \
29338 || exit 1
29340 @endif target-libstdc++-v3
29342 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29343 maybe-install-info-target-libstdc++-v3:
29344 @if target-libstdc++-v3
29345 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29347 install-info-target-libstdc++-v3: \
29348 configure-target-libstdc++-v3 \
29349 info-target-libstdc++-v3
29350 @: $(MAKE); $(unstage)
29351 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29352 r=`${PWD_COMMAND}`; export r; \
29353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29354 $(RAW_CXX_TARGET_EXPORTS) \
29355 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29356 for flag in $(EXTRA_TARGET_FLAGS); do \
29357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29358 done; \
29359 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29362 "RANLIB=$${RANLIB}" \
29363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29364 install-info) \
29365 || exit 1
29367 @endif target-libstdc++-v3
29369 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29370 maybe-installcheck-target-libstdc++-v3:
29371 @if target-libstdc++-v3
29372 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29374 installcheck-target-libstdc++-v3: \
29375 configure-target-libstdc++-v3
29376 @: $(MAKE); $(unstage)
29377 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29378 r=`${PWD_COMMAND}`; export r; \
29379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29380 $(RAW_CXX_TARGET_EXPORTS) \
29381 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29382 for flag in $(EXTRA_TARGET_FLAGS); do \
29383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29384 done; \
29385 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29388 "RANLIB=$${RANLIB}" \
29389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29390 installcheck) \
29391 || exit 1
29393 @endif target-libstdc++-v3
29395 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29396 maybe-mostlyclean-target-libstdc++-v3:
29397 @if target-libstdc++-v3
29398 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29400 mostlyclean-target-libstdc++-v3:
29401 @: $(MAKE); $(unstage)
29402 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29403 r=`${PWD_COMMAND}`; export r; \
29404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29405 $(RAW_CXX_TARGET_EXPORTS) \
29406 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29407 for flag in $(EXTRA_TARGET_FLAGS); do \
29408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29409 done; \
29410 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29413 "RANLIB=$${RANLIB}" \
29414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29415 mostlyclean) \
29416 || exit 1
29418 @endif target-libstdc++-v3
29420 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29421 maybe-clean-target-libstdc++-v3:
29422 @if target-libstdc++-v3
29423 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29425 clean-target-libstdc++-v3:
29426 @: $(MAKE); $(unstage)
29427 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29428 r=`${PWD_COMMAND}`; export r; \
29429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29430 $(RAW_CXX_TARGET_EXPORTS) \
29431 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29432 for flag in $(EXTRA_TARGET_FLAGS); do \
29433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29434 done; \
29435 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29438 "RANLIB=$${RANLIB}" \
29439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29440 clean) \
29441 || exit 1
29443 @endif target-libstdc++-v3
29445 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29446 maybe-distclean-target-libstdc++-v3:
29447 @if target-libstdc++-v3
29448 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29450 distclean-target-libstdc++-v3:
29451 @: $(MAKE); $(unstage)
29452 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29453 r=`${PWD_COMMAND}`; export r; \
29454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29455 $(RAW_CXX_TARGET_EXPORTS) \
29456 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29457 for flag in $(EXTRA_TARGET_FLAGS); do \
29458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29459 done; \
29460 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29463 "RANLIB=$${RANLIB}" \
29464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29465 distclean) \
29466 || exit 1
29468 @endif target-libstdc++-v3
29470 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29471 maybe-maintainer-clean-target-libstdc++-v3:
29472 @if target-libstdc++-v3
29473 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29475 maintainer-clean-target-libstdc++-v3:
29476 @: $(MAKE); $(unstage)
29477 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29478 r=`${PWD_COMMAND}`; export r; \
29479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29480 $(RAW_CXX_TARGET_EXPORTS) \
29481 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29482 for flag in $(EXTRA_TARGET_FLAGS); do \
29483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29484 done; \
29485 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29488 "RANLIB=$${RANLIB}" \
29489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29490 maintainer-clean) \
29491 || exit 1
29493 @endif target-libstdc++-v3
29499 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29500 maybe-configure-target-libmudflap:
29501 @if target-libmudflap
29502 maybe-configure-target-libmudflap: configure-target-libmudflap
29503 configure-target-libmudflap:
29504 @: $(MAKE); $(unstage)
29505 @r=`${PWD_COMMAND}`; export r; \
29506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29507 echo "Checking multilib configuration for libmudflap..."; \
29508 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29509 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29510 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29511 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29512 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29513 else \
29514 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29515 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29516 fi; \
29517 else \
29518 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29519 fi; \
29520 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29521 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29522 $(NORMAL_TARGET_EXPORTS) \
29523 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29524 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29525 case $(srcdir) in \
29526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29527 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29529 esac; \
29530 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29531 libsrcdir="$$s/libmudflap"; \
29532 rm -f no-such-file || : ; \
29533 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29534 $(TARGET_CONFIGARGS) $${srcdiroption} \
29535 || exit 1
29536 @endif target-libmudflap
29542 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29543 maybe-all-target-libmudflap:
29544 @if target-libmudflap
29545 TARGET-target-libmudflap=all
29546 maybe-all-target-libmudflap: all-target-libmudflap
29547 all-target-libmudflap: configure-target-libmudflap
29548 @: $(MAKE); $(unstage)
29549 @r=`${PWD_COMMAND}`; export r; \
29550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29551 $(NORMAL_TARGET_EXPORTS) \
29552 (cd $(TARGET_SUBDIR)/libmudflap && \
29553 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29554 @endif target-libmudflap
29560 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29561 maybe-check-target-libmudflap:
29562 @if target-libmudflap
29563 maybe-check-target-libmudflap: check-target-libmudflap
29565 check-target-libmudflap:
29566 @: $(MAKE); $(unstage)
29567 @r=`${PWD_COMMAND}`; export r; \
29568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29569 $(NORMAL_TARGET_EXPORTS) \
29570 (cd $(TARGET_SUBDIR)/libmudflap && \
29571 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29573 @endif target-libmudflap
29575 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29576 maybe-install-target-libmudflap:
29577 @if target-libmudflap
29578 maybe-install-target-libmudflap: install-target-libmudflap
29580 install-target-libmudflap: installdirs
29581 @: $(MAKE); $(unstage)
29582 @r=`${PWD_COMMAND}`; export r; \
29583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29584 $(NORMAL_TARGET_EXPORTS) \
29585 (cd $(TARGET_SUBDIR)/libmudflap && \
29586 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29588 @endif target-libmudflap
29590 # Other targets (info, dvi, etc.)
29592 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29593 maybe-info-target-libmudflap:
29594 @if target-libmudflap
29595 maybe-info-target-libmudflap: info-target-libmudflap
29597 info-target-libmudflap: \
29598 configure-target-libmudflap
29599 @: $(MAKE); $(unstage)
29600 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29601 r=`${PWD_COMMAND}`; export r; \
29602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29603 $(NORMAL_TARGET_EXPORTS) \
29604 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29605 for flag in $(EXTRA_TARGET_FLAGS); do \
29606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29607 done; \
29608 (cd $(TARGET_SUBDIR)/libmudflap && \
29609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29611 "RANLIB=$${RANLIB}" \
29612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29613 info) \
29614 || exit 1
29616 @endif target-libmudflap
29618 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29619 maybe-dvi-target-libmudflap:
29620 @if target-libmudflap
29621 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29623 dvi-target-libmudflap: \
29624 configure-target-libmudflap
29625 @: $(MAKE); $(unstage)
29626 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29627 r=`${PWD_COMMAND}`; export r; \
29628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29629 $(NORMAL_TARGET_EXPORTS) \
29630 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29631 for flag in $(EXTRA_TARGET_FLAGS); do \
29632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29633 done; \
29634 (cd $(TARGET_SUBDIR)/libmudflap && \
29635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29637 "RANLIB=$${RANLIB}" \
29638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29639 dvi) \
29640 || exit 1
29642 @endif target-libmudflap
29644 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29645 maybe-html-target-libmudflap:
29646 @if target-libmudflap
29647 maybe-html-target-libmudflap: html-target-libmudflap
29649 html-target-libmudflap: \
29650 configure-target-libmudflap
29651 @: $(MAKE); $(unstage)
29652 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29653 r=`${PWD_COMMAND}`; export r; \
29654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29655 $(NORMAL_TARGET_EXPORTS) \
29656 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29657 for flag in $(EXTRA_TARGET_FLAGS); do \
29658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29659 done; \
29660 (cd $(TARGET_SUBDIR)/libmudflap && \
29661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29663 "RANLIB=$${RANLIB}" \
29664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29665 html) \
29666 || exit 1
29668 @endif target-libmudflap
29670 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29671 maybe-TAGS-target-libmudflap:
29672 @if target-libmudflap
29673 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29675 TAGS-target-libmudflap: \
29676 configure-target-libmudflap
29677 @: $(MAKE); $(unstage)
29678 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29679 r=`${PWD_COMMAND}`; export r; \
29680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29681 $(NORMAL_TARGET_EXPORTS) \
29682 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29683 for flag in $(EXTRA_TARGET_FLAGS); do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29685 done; \
29686 (cd $(TARGET_SUBDIR)/libmudflap && \
29687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29689 "RANLIB=$${RANLIB}" \
29690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29691 TAGS) \
29692 || exit 1
29694 @endif target-libmudflap
29696 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29697 maybe-install-info-target-libmudflap:
29698 @if target-libmudflap
29699 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29701 install-info-target-libmudflap: \
29702 configure-target-libmudflap \
29703 info-target-libmudflap
29704 @: $(MAKE); $(unstage)
29705 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29706 r=`${PWD_COMMAND}`; export r; \
29707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29708 $(NORMAL_TARGET_EXPORTS) \
29709 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29710 for flag in $(EXTRA_TARGET_FLAGS); do \
29711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29712 done; \
29713 (cd $(TARGET_SUBDIR)/libmudflap && \
29714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29716 "RANLIB=$${RANLIB}" \
29717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29718 install-info) \
29719 || exit 1
29721 @endif target-libmudflap
29723 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29724 maybe-installcheck-target-libmudflap:
29725 @if target-libmudflap
29726 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29728 installcheck-target-libmudflap: \
29729 configure-target-libmudflap
29730 @: $(MAKE); $(unstage)
29731 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29732 r=`${PWD_COMMAND}`; export r; \
29733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29734 $(NORMAL_TARGET_EXPORTS) \
29735 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29736 for flag in $(EXTRA_TARGET_FLAGS); do \
29737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29738 done; \
29739 (cd $(TARGET_SUBDIR)/libmudflap && \
29740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29742 "RANLIB=$${RANLIB}" \
29743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29744 installcheck) \
29745 || exit 1
29747 @endif target-libmudflap
29749 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29750 maybe-mostlyclean-target-libmudflap:
29751 @if target-libmudflap
29752 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29754 mostlyclean-target-libmudflap:
29755 @: $(MAKE); $(unstage)
29756 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29757 r=`${PWD_COMMAND}`; export r; \
29758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(NORMAL_TARGET_EXPORTS) \
29760 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29761 for flag in $(EXTRA_TARGET_FLAGS); do \
29762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29763 done; \
29764 (cd $(TARGET_SUBDIR)/libmudflap && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29769 mostlyclean) \
29770 || exit 1
29772 @endif target-libmudflap
29774 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29775 maybe-clean-target-libmudflap:
29776 @if target-libmudflap
29777 maybe-clean-target-libmudflap: clean-target-libmudflap
29779 clean-target-libmudflap:
29780 @: $(MAKE); $(unstage)
29781 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29784 $(NORMAL_TARGET_EXPORTS) \
29785 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29786 for flag in $(EXTRA_TARGET_FLAGS); do \
29787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29788 done; \
29789 (cd $(TARGET_SUBDIR)/libmudflap && \
29790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29792 "RANLIB=$${RANLIB}" \
29793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29794 clean) \
29795 || exit 1
29797 @endif target-libmudflap
29799 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29800 maybe-distclean-target-libmudflap:
29801 @if target-libmudflap
29802 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29804 distclean-target-libmudflap:
29805 @: $(MAKE); $(unstage)
29806 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29807 r=`${PWD_COMMAND}`; export r; \
29808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29809 $(NORMAL_TARGET_EXPORTS) \
29810 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29811 for flag in $(EXTRA_TARGET_FLAGS); do \
29812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29813 done; \
29814 (cd $(TARGET_SUBDIR)/libmudflap && \
29815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29817 "RANLIB=$${RANLIB}" \
29818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29819 distclean) \
29820 || exit 1
29822 @endif target-libmudflap
29824 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29825 maybe-maintainer-clean-target-libmudflap:
29826 @if target-libmudflap
29827 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29829 maintainer-clean-target-libmudflap:
29830 @: $(MAKE); $(unstage)
29831 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29832 r=`${PWD_COMMAND}`; export r; \
29833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29834 $(NORMAL_TARGET_EXPORTS) \
29835 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29836 for flag in $(EXTRA_TARGET_FLAGS); do \
29837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29838 done; \
29839 (cd $(TARGET_SUBDIR)/libmudflap && \
29840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29842 "RANLIB=$${RANLIB}" \
29843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29844 maintainer-clean) \
29845 || exit 1
29847 @endif target-libmudflap
29853 .PHONY: configure-target-libssp maybe-configure-target-libssp
29854 maybe-configure-target-libssp:
29855 @if target-libssp
29856 maybe-configure-target-libssp: configure-target-libssp
29857 configure-target-libssp:
29858 @: $(MAKE); $(unstage)
29859 @r=`${PWD_COMMAND}`; export r; \
29860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29861 echo "Checking multilib configuration for libssp..."; \
29862 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29863 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
29864 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
29865 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
29866 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
29867 else \
29868 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
29869 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29870 fi; \
29871 else \
29872 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
29873 fi; \
29874 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29875 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29876 $(NORMAL_TARGET_EXPORTS) \
29877 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29878 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29879 case $(srcdir) in \
29880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29881 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29883 esac; \
29884 srcdiroption="--srcdir=$${topdir}/libssp"; \
29885 libsrcdir="$$s/libssp"; \
29886 rm -f no-such-file || : ; \
29887 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29888 $(TARGET_CONFIGARGS) $${srcdiroption} \
29889 || exit 1
29890 @endif target-libssp
29896 .PHONY: all-target-libssp maybe-all-target-libssp
29897 maybe-all-target-libssp:
29898 @if target-libssp
29899 TARGET-target-libssp=all
29900 maybe-all-target-libssp: all-target-libssp
29901 all-target-libssp: configure-target-libssp
29902 @: $(MAKE); $(unstage)
29903 @r=`${PWD_COMMAND}`; export r; \
29904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29905 $(NORMAL_TARGET_EXPORTS) \
29906 (cd $(TARGET_SUBDIR)/libssp && \
29907 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29908 @endif target-libssp
29914 .PHONY: check-target-libssp maybe-check-target-libssp
29915 maybe-check-target-libssp:
29916 @if target-libssp
29917 maybe-check-target-libssp: check-target-libssp
29919 check-target-libssp:
29920 @: $(MAKE); $(unstage)
29921 @r=`${PWD_COMMAND}`; export r; \
29922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29923 $(NORMAL_TARGET_EXPORTS) \
29924 (cd $(TARGET_SUBDIR)/libssp && \
29925 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29927 @endif target-libssp
29929 .PHONY: install-target-libssp maybe-install-target-libssp
29930 maybe-install-target-libssp:
29931 @if target-libssp
29932 maybe-install-target-libssp: install-target-libssp
29934 install-target-libssp: installdirs
29935 @: $(MAKE); $(unstage)
29936 @r=`${PWD_COMMAND}`; export r; \
29937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29938 $(NORMAL_TARGET_EXPORTS) \
29939 (cd $(TARGET_SUBDIR)/libssp && \
29940 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29942 @endif target-libssp
29944 # Other targets (info, dvi, etc.)
29946 .PHONY: maybe-info-target-libssp info-target-libssp
29947 maybe-info-target-libssp:
29948 @if target-libssp
29949 maybe-info-target-libssp: info-target-libssp
29951 info-target-libssp: \
29952 configure-target-libssp
29953 @: $(MAKE); $(unstage)
29954 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29955 r=`${PWD_COMMAND}`; export r; \
29956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29957 $(NORMAL_TARGET_EXPORTS) \
29958 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29959 for flag in $(EXTRA_TARGET_FLAGS); do \
29960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29961 done; \
29962 (cd $(TARGET_SUBDIR)/libssp && \
29963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29965 "RANLIB=$${RANLIB}" \
29966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29967 info) \
29968 || exit 1
29970 @endif target-libssp
29972 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29973 maybe-dvi-target-libssp:
29974 @if target-libssp
29975 maybe-dvi-target-libssp: dvi-target-libssp
29977 dvi-target-libssp: \
29978 configure-target-libssp
29979 @: $(MAKE); $(unstage)
29980 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29981 r=`${PWD_COMMAND}`; export r; \
29982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29983 $(NORMAL_TARGET_EXPORTS) \
29984 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29985 for flag in $(EXTRA_TARGET_FLAGS); do \
29986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29987 done; \
29988 (cd $(TARGET_SUBDIR)/libssp && \
29989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29991 "RANLIB=$${RANLIB}" \
29992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29993 dvi) \
29994 || exit 1
29996 @endif target-libssp
29998 .PHONY: maybe-html-target-libssp html-target-libssp
29999 maybe-html-target-libssp:
30000 @if target-libssp
30001 maybe-html-target-libssp: html-target-libssp
30003 html-target-libssp: \
30004 configure-target-libssp
30005 @: $(MAKE); $(unstage)
30006 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30007 r=`${PWD_COMMAND}`; export r; \
30008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30009 $(NORMAL_TARGET_EXPORTS) \
30010 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
30011 for flag in $(EXTRA_TARGET_FLAGS); do \
30012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30013 done; \
30014 (cd $(TARGET_SUBDIR)/libssp && \
30015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30017 "RANLIB=$${RANLIB}" \
30018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30019 html) \
30020 || exit 1
30022 @endif target-libssp
30024 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
30025 maybe-TAGS-target-libssp:
30026 @if target-libssp
30027 maybe-TAGS-target-libssp: TAGS-target-libssp
30029 TAGS-target-libssp: \
30030 configure-target-libssp
30031 @: $(MAKE); $(unstage)
30032 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30033 r=`${PWD_COMMAND}`; export r; \
30034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30035 $(NORMAL_TARGET_EXPORTS) \
30036 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
30037 for flag in $(EXTRA_TARGET_FLAGS); do \
30038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30039 done; \
30040 (cd $(TARGET_SUBDIR)/libssp && \
30041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30043 "RANLIB=$${RANLIB}" \
30044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30045 TAGS) \
30046 || exit 1
30048 @endif target-libssp
30050 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
30051 maybe-install-info-target-libssp:
30052 @if target-libssp
30053 maybe-install-info-target-libssp: install-info-target-libssp
30055 install-info-target-libssp: \
30056 configure-target-libssp \
30057 info-target-libssp
30058 @: $(MAKE); $(unstage)
30059 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30060 r=`${PWD_COMMAND}`; export r; \
30061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30062 $(NORMAL_TARGET_EXPORTS) \
30063 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
30064 for flag in $(EXTRA_TARGET_FLAGS); do \
30065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30066 done; \
30067 (cd $(TARGET_SUBDIR)/libssp && \
30068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30070 "RANLIB=$${RANLIB}" \
30071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30072 install-info) \
30073 || exit 1
30075 @endif target-libssp
30077 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
30078 maybe-installcheck-target-libssp:
30079 @if target-libssp
30080 maybe-installcheck-target-libssp: installcheck-target-libssp
30082 installcheck-target-libssp: \
30083 configure-target-libssp
30084 @: $(MAKE); $(unstage)
30085 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30086 r=`${PWD_COMMAND}`; export r; \
30087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30088 $(NORMAL_TARGET_EXPORTS) \
30089 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
30090 for flag in $(EXTRA_TARGET_FLAGS); do \
30091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30092 done; \
30093 (cd $(TARGET_SUBDIR)/libssp && \
30094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30096 "RANLIB=$${RANLIB}" \
30097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30098 installcheck) \
30099 || exit 1
30101 @endif target-libssp
30103 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
30104 maybe-mostlyclean-target-libssp:
30105 @if target-libssp
30106 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
30108 mostlyclean-target-libssp:
30109 @: $(MAKE); $(unstage)
30110 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30111 r=`${PWD_COMMAND}`; export r; \
30112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30113 $(NORMAL_TARGET_EXPORTS) \
30114 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
30115 for flag in $(EXTRA_TARGET_FLAGS); do \
30116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30117 done; \
30118 (cd $(TARGET_SUBDIR)/libssp && \
30119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30121 "RANLIB=$${RANLIB}" \
30122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30123 mostlyclean) \
30124 || exit 1
30126 @endif target-libssp
30128 .PHONY: maybe-clean-target-libssp clean-target-libssp
30129 maybe-clean-target-libssp:
30130 @if target-libssp
30131 maybe-clean-target-libssp: clean-target-libssp
30133 clean-target-libssp:
30134 @: $(MAKE); $(unstage)
30135 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30136 r=`${PWD_COMMAND}`; export r; \
30137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30138 $(NORMAL_TARGET_EXPORTS) \
30139 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
30140 for flag in $(EXTRA_TARGET_FLAGS); do \
30141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30142 done; \
30143 (cd $(TARGET_SUBDIR)/libssp && \
30144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30146 "RANLIB=$${RANLIB}" \
30147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30148 clean) \
30149 || exit 1
30151 @endif target-libssp
30153 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
30154 maybe-distclean-target-libssp:
30155 @if target-libssp
30156 maybe-distclean-target-libssp: distclean-target-libssp
30158 distclean-target-libssp:
30159 @: $(MAKE); $(unstage)
30160 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30161 r=`${PWD_COMMAND}`; export r; \
30162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30163 $(NORMAL_TARGET_EXPORTS) \
30164 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
30165 for flag in $(EXTRA_TARGET_FLAGS); do \
30166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30167 done; \
30168 (cd $(TARGET_SUBDIR)/libssp && \
30169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30171 "RANLIB=$${RANLIB}" \
30172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30173 distclean) \
30174 || exit 1
30176 @endif target-libssp
30178 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
30179 maybe-maintainer-clean-target-libssp:
30180 @if target-libssp
30181 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
30183 maintainer-clean-target-libssp:
30184 @: $(MAKE); $(unstage)
30185 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30186 r=`${PWD_COMMAND}`; export r; \
30187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30188 $(NORMAL_TARGET_EXPORTS) \
30189 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
30190 for flag in $(EXTRA_TARGET_FLAGS); do \
30191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30192 done; \
30193 (cd $(TARGET_SUBDIR)/libssp && \
30194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30196 "RANLIB=$${RANLIB}" \
30197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30198 maintainer-clean) \
30199 || exit 1
30201 @endif target-libssp
30207 .PHONY: configure-target-libgcc-math maybe-configure-target-libgcc-math
30208 maybe-configure-target-libgcc-math:
30209 @if target-libgcc-math
30210 maybe-configure-target-libgcc-math: configure-target-libgcc-math
30211 configure-target-libgcc-math:
30212 @: $(MAKE); $(unstage)
30213 @r=`${PWD_COMMAND}`; export r; \
30214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30215 echo "Checking multilib configuration for libgcc-math..."; \
30216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
30217 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc-math/multilib.tmp 2> /dev/null ; \
30218 if test -r $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
30219 if cmp -s $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
30220 rm -f $(TARGET_SUBDIR)/libgcc-math/multilib.tmp; \
30221 else \
30222 rm -f $(TARGET_SUBDIR)/libgcc-math/Makefile; \
30223 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
30224 fi; \
30225 else \
30226 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
30227 fi; \
30228 test ! -f $(TARGET_SUBDIR)/libgcc-math/Makefile || exit 0; \
30229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
30230 $(NORMAL_TARGET_EXPORTS) \
30231 echo Configuring in $(TARGET_SUBDIR)/libgcc-math; \
30232 cd "$(TARGET_SUBDIR)/libgcc-math" || exit 1; \
30233 case $(srcdir) in \
30234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30235 *) topdir=`echo $(TARGET_SUBDIR)/libgcc-math/ | \
30236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30237 esac; \
30238 srcdiroption="--srcdir=$${topdir}/libgcc-math"; \
30239 libsrcdir="$$s/libgcc-math"; \
30240 rm -f no-such-file || : ; \
30241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30242 $(TARGET_CONFIGARGS) $${srcdiroption} \
30243 || exit 1
30244 @endif target-libgcc-math
30250 .PHONY: all-target-libgcc-math maybe-all-target-libgcc-math
30251 maybe-all-target-libgcc-math:
30252 @if target-libgcc-math
30253 TARGET-target-libgcc-math=all
30254 maybe-all-target-libgcc-math: all-target-libgcc-math
30255 all-target-libgcc-math: configure-target-libgcc-math
30256 @: $(MAKE); $(unstage)
30257 @r=`${PWD_COMMAND}`; export r; \
30258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30259 $(NORMAL_TARGET_EXPORTS) \
30260 (cd $(TARGET_SUBDIR)/libgcc-math && \
30261 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc-math))
30262 @endif target-libgcc-math
30268 .PHONY: check-target-libgcc-math maybe-check-target-libgcc-math
30269 maybe-check-target-libgcc-math:
30270 @if target-libgcc-math
30271 maybe-check-target-libgcc-math: check-target-libgcc-math
30273 check-target-libgcc-math:
30274 @: $(MAKE); $(unstage)
30275 @r=`${PWD_COMMAND}`; export r; \
30276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30277 $(NORMAL_TARGET_EXPORTS) \
30278 (cd $(TARGET_SUBDIR)/libgcc-math && \
30279 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30281 @endif target-libgcc-math
30283 .PHONY: install-target-libgcc-math maybe-install-target-libgcc-math
30284 maybe-install-target-libgcc-math:
30285 @if target-libgcc-math
30286 maybe-install-target-libgcc-math: install-target-libgcc-math
30288 install-target-libgcc-math: installdirs
30289 @: $(MAKE); $(unstage)
30290 @r=`${PWD_COMMAND}`; export r; \
30291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30292 $(NORMAL_TARGET_EXPORTS) \
30293 (cd $(TARGET_SUBDIR)/libgcc-math && \
30294 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30296 @endif target-libgcc-math
30298 # Other targets (info, dvi, etc.)
30300 .PHONY: maybe-info-target-libgcc-math info-target-libgcc-math
30301 maybe-info-target-libgcc-math:
30302 @if target-libgcc-math
30303 maybe-info-target-libgcc-math: info-target-libgcc-math
30305 info-target-libgcc-math: \
30306 configure-target-libgcc-math
30307 @: $(MAKE); $(unstage)
30308 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30309 r=`${PWD_COMMAND}`; export r; \
30310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30311 $(NORMAL_TARGET_EXPORTS) \
30312 echo "Doing info in $(TARGET_SUBDIR)/libgcc-math" ; \
30313 for flag in $(EXTRA_TARGET_FLAGS); do \
30314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30315 done; \
30316 (cd $(TARGET_SUBDIR)/libgcc-math && \
30317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30319 "RANLIB=$${RANLIB}" \
30320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30321 info) \
30322 || exit 1
30324 @endif target-libgcc-math
30326 .PHONY: maybe-dvi-target-libgcc-math dvi-target-libgcc-math
30327 maybe-dvi-target-libgcc-math:
30328 @if target-libgcc-math
30329 maybe-dvi-target-libgcc-math: dvi-target-libgcc-math
30331 dvi-target-libgcc-math: \
30332 configure-target-libgcc-math
30333 @: $(MAKE); $(unstage)
30334 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30335 r=`${PWD_COMMAND}`; export r; \
30336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30337 $(NORMAL_TARGET_EXPORTS) \
30338 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc-math" ; \
30339 for flag in $(EXTRA_TARGET_FLAGS); do \
30340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30341 done; \
30342 (cd $(TARGET_SUBDIR)/libgcc-math && \
30343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30345 "RANLIB=$${RANLIB}" \
30346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30347 dvi) \
30348 || exit 1
30350 @endif target-libgcc-math
30352 .PHONY: maybe-html-target-libgcc-math html-target-libgcc-math
30353 maybe-html-target-libgcc-math:
30354 @if target-libgcc-math
30355 maybe-html-target-libgcc-math: html-target-libgcc-math
30357 html-target-libgcc-math: \
30358 configure-target-libgcc-math
30359 @: $(MAKE); $(unstage)
30360 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30361 r=`${PWD_COMMAND}`; export r; \
30362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30363 $(NORMAL_TARGET_EXPORTS) \
30364 echo "Doing html in $(TARGET_SUBDIR)/libgcc-math" ; \
30365 for flag in $(EXTRA_TARGET_FLAGS); do \
30366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30367 done; \
30368 (cd $(TARGET_SUBDIR)/libgcc-math && \
30369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30371 "RANLIB=$${RANLIB}" \
30372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30373 html) \
30374 || exit 1
30376 @endif target-libgcc-math
30378 .PHONY: maybe-TAGS-target-libgcc-math TAGS-target-libgcc-math
30379 maybe-TAGS-target-libgcc-math:
30380 @if target-libgcc-math
30381 maybe-TAGS-target-libgcc-math: TAGS-target-libgcc-math
30383 TAGS-target-libgcc-math: \
30384 configure-target-libgcc-math
30385 @: $(MAKE); $(unstage)
30386 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30387 r=`${PWD_COMMAND}`; export r; \
30388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30389 $(NORMAL_TARGET_EXPORTS) \
30390 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc-math" ; \
30391 for flag in $(EXTRA_TARGET_FLAGS); do \
30392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30393 done; \
30394 (cd $(TARGET_SUBDIR)/libgcc-math && \
30395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30397 "RANLIB=$${RANLIB}" \
30398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30399 TAGS) \
30400 || exit 1
30402 @endif target-libgcc-math
30404 .PHONY: maybe-install-info-target-libgcc-math install-info-target-libgcc-math
30405 maybe-install-info-target-libgcc-math:
30406 @if target-libgcc-math
30407 maybe-install-info-target-libgcc-math: install-info-target-libgcc-math
30409 install-info-target-libgcc-math: \
30410 configure-target-libgcc-math \
30411 info-target-libgcc-math
30412 @: $(MAKE); $(unstage)
30413 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30414 r=`${PWD_COMMAND}`; export r; \
30415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30416 $(NORMAL_TARGET_EXPORTS) \
30417 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc-math" ; \
30418 for flag in $(EXTRA_TARGET_FLAGS); do \
30419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30420 done; \
30421 (cd $(TARGET_SUBDIR)/libgcc-math && \
30422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30424 "RANLIB=$${RANLIB}" \
30425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30426 install-info) \
30427 || exit 1
30429 @endif target-libgcc-math
30431 .PHONY: maybe-installcheck-target-libgcc-math installcheck-target-libgcc-math
30432 maybe-installcheck-target-libgcc-math:
30433 @if target-libgcc-math
30434 maybe-installcheck-target-libgcc-math: installcheck-target-libgcc-math
30436 installcheck-target-libgcc-math: \
30437 configure-target-libgcc-math
30438 @: $(MAKE); $(unstage)
30439 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30440 r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(NORMAL_TARGET_EXPORTS) \
30443 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc-math" ; \
30444 for flag in $(EXTRA_TARGET_FLAGS); do \
30445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30446 done; \
30447 (cd $(TARGET_SUBDIR)/libgcc-math && \
30448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30450 "RANLIB=$${RANLIB}" \
30451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30452 installcheck) \
30453 || exit 1
30455 @endif target-libgcc-math
30457 .PHONY: maybe-mostlyclean-target-libgcc-math mostlyclean-target-libgcc-math
30458 maybe-mostlyclean-target-libgcc-math:
30459 @if target-libgcc-math
30460 maybe-mostlyclean-target-libgcc-math: mostlyclean-target-libgcc-math
30462 mostlyclean-target-libgcc-math:
30463 @: $(MAKE); $(unstage)
30464 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30465 r=`${PWD_COMMAND}`; export r; \
30466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30467 $(NORMAL_TARGET_EXPORTS) \
30468 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30469 for flag in $(EXTRA_TARGET_FLAGS); do \
30470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30471 done; \
30472 (cd $(TARGET_SUBDIR)/libgcc-math && \
30473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30475 "RANLIB=$${RANLIB}" \
30476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30477 mostlyclean) \
30478 || exit 1
30480 @endif target-libgcc-math
30482 .PHONY: maybe-clean-target-libgcc-math clean-target-libgcc-math
30483 maybe-clean-target-libgcc-math:
30484 @if target-libgcc-math
30485 maybe-clean-target-libgcc-math: clean-target-libgcc-math
30487 clean-target-libgcc-math:
30488 @: $(MAKE); $(unstage)
30489 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30490 r=`${PWD_COMMAND}`; export r; \
30491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30492 $(NORMAL_TARGET_EXPORTS) \
30493 echo "Doing clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30494 for flag in $(EXTRA_TARGET_FLAGS); do \
30495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30496 done; \
30497 (cd $(TARGET_SUBDIR)/libgcc-math && \
30498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30500 "RANLIB=$${RANLIB}" \
30501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30502 clean) \
30503 || exit 1
30505 @endif target-libgcc-math
30507 .PHONY: maybe-distclean-target-libgcc-math distclean-target-libgcc-math
30508 maybe-distclean-target-libgcc-math:
30509 @if target-libgcc-math
30510 maybe-distclean-target-libgcc-math: distclean-target-libgcc-math
30512 distclean-target-libgcc-math:
30513 @: $(MAKE); $(unstage)
30514 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30515 r=`${PWD_COMMAND}`; export r; \
30516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30517 $(NORMAL_TARGET_EXPORTS) \
30518 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30519 for flag in $(EXTRA_TARGET_FLAGS); do \
30520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30521 done; \
30522 (cd $(TARGET_SUBDIR)/libgcc-math && \
30523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30525 "RANLIB=$${RANLIB}" \
30526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30527 distclean) \
30528 || exit 1
30530 @endif target-libgcc-math
30532 .PHONY: maybe-maintainer-clean-target-libgcc-math maintainer-clean-target-libgcc-math
30533 maybe-maintainer-clean-target-libgcc-math:
30534 @if target-libgcc-math
30535 maybe-maintainer-clean-target-libgcc-math: maintainer-clean-target-libgcc-math
30537 maintainer-clean-target-libgcc-math:
30538 @: $(MAKE); $(unstage)
30539 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30540 r=`${PWD_COMMAND}`; export r; \
30541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30542 $(NORMAL_TARGET_EXPORTS) \
30543 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30544 for flag in $(EXTRA_TARGET_FLAGS); do \
30545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30546 done; \
30547 (cd $(TARGET_SUBDIR)/libgcc-math && \
30548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30550 "RANLIB=$${RANLIB}" \
30551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30552 maintainer-clean) \
30553 || exit 1
30555 @endif target-libgcc-math
30561 .PHONY: configure-target-newlib maybe-configure-target-newlib
30562 maybe-configure-target-newlib:
30563 @if target-newlib
30564 maybe-configure-target-newlib: configure-target-newlib
30565 configure-target-newlib:
30566 @: $(MAKE); $(unstage)
30567 @r=`${PWD_COMMAND}`; export r; \
30568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30569 echo "Checking multilib configuration for newlib..."; \
30570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30571 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
30572 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
30573 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
30574 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
30575 else \
30576 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
30577 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30578 fi; \
30579 else \
30580 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30581 fi; \
30582 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
30583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30584 $(NORMAL_TARGET_EXPORTS) \
30585 echo Configuring in $(TARGET_SUBDIR)/newlib; \
30586 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
30587 case $(srcdir) in \
30588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30589 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
30590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30591 esac; \
30592 srcdiroption="--srcdir=$${topdir}/newlib"; \
30593 libsrcdir="$$s/newlib"; \
30594 rm -f no-such-file || : ; \
30595 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30596 $(TARGET_CONFIGARGS) $${srcdiroption} \
30597 || exit 1
30598 @endif target-newlib
30604 .PHONY: all-target-newlib maybe-all-target-newlib
30605 maybe-all-target-newlib:
30606 @if target-newlib
30607 TARGET-target-newlib=all
30608 maybe-all-target-newlib: all-target-newlib
30609 all-target-newlib: configure-target-newlib
30610 @: $(MAKE); $(unstage)
30611 @r=`${PWD_COMMAND}`; export r; \
30612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30613 $(NORMAL_TARGET_EXPORTS) \
30614 (cd $(TARGET_SUBDIR)/newlib && \
30615 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
30616 @endif target-newlib
30622 .PHONY: check-target-newlib maybe-check-target-newlib
30623 maybe-check-target-newlib:
30624 @if target-newlib
30625 maybe-check-target-newlib: check-target-newlib
30627 check-target-newlib:
30628 @: $(MAKE); $(unstage)
30629 @r=`${PWD_COMMAND}`; export r; \
30630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 $(NORMAL_TARGET_EXPORTS) \
30632 (cd $(TARGET_SUBDIR)/newlib && \
30633 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30635 @endif target-newlib
30637 .PHONY: install-target-newlib maybe-install-target-newlib
30638 maybe-install-target-newlib:
30639 @if target-newlib
30640 maybe-install-target-newlib: install-target-newlib
30642 install-target-newlib: installdirs
30643 @: $(MAKE); $(unstage)
30644 @r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(NORMAL_TARGET_EXPORTS) \
30647 (cd $(TARGET_SUBDIR)/newlib && \
30648 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30650 @endif target-newlib
30652 # Other targets (info, dvi, etc.)
30654 .PHONY: maybe-info-target-newlib info-target-newlib
30655 maybe-info-target-newlib:
30656 @if target-newlib
30657 maybe-info-target-newlib: info-target-newlib
30659 info-target-newlib: \
30660 configure-target-newlib
30661 @: $(MAKE); $(unstage)
30662 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30663 r=`${PWD_COMMAND}`; export r; \
30664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30665 $(NORMAL_TARGET_EXPORTS) \
30666 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30667 for flag in $(EXTRA_TARGET_FLAGS); do \
30668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30669 done; \
30670 (cd $(TARGET_SUBDIR)/newlib && \
30671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30673 "RANLIB=$${RANLIB}" \
30674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30675 info) \
30676 || exit 1
30678 @endif target-newlib
30680 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30681 maybe-dvi-target-newlib:
30682 @if target-newlib
30683 maybe-dvi-target-newlib: dvi-target-newlib
30685 dvi-target-newlib: \
30686 configure-target-newlib
30687 @: $(MAKE); $(unstage)
30688 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30689 r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 $(NORMAL_TARGET_EXPORTS) \
30692 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30693 for flag in $(EXTRA_TARGET_FLAGS); do \
30694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30695 done; \
30696 (cd $(TARGET_SUBDIR)/newlib && \
30697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30699 "RANLIB=$${RANLIB}" \
30700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30701 dvi) \
30702 || exit 1
30704 @endif target-newlib
30706 .PHONY: maybe-html-target-newlib html-target-newlib
30707 maybe-html-target-newlib:
30708 @if target-newlib
30709 maybe-html-target-newlib: html-target-newlib
30711 html-target-newlib: \
30712 configure-target-newlib
30713 @: $(MAKE); $(unstage)
30714 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(NORMAL_TARGET_EXPORTS) \
30718 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30719 for flag in $(EXTRA_TARGET_FLAGS); do \
30720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30721 done; \
30722 (cd $(TARGET_SUBDIR)/newlib && \
30723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30725 "RANLIB=$${RANLIB}" \
30726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30727 html) \
30728 || exit 1
30730 @endif target-newlib
30732 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30733 maybe-TAGS-target-newlib:
30734 @if target-newlib
30735 maybe-TAGS-target-newlib: TAGS-target-newlib
30737 TAGS-target-newlib: \
30738 configure-target-newlib
30739 @: $(MAKE); $(unstage)
30740 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(NORMAL_TARGET_EXPORTS) \
30744 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30745 for flag in $(EXTRA_TARGET_FLAGS); do \
30746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30747 done; \
30748 (cd $(TARGET_SUBDIR)/newlib && \
30749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30751 "RANLIB=$${RANLIB}" \
30752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30753 TAGS) \
30754 || exit 1
30756 @endif target-newlib
30758 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30759 maybe-install-info-target-newlib:
30760 @if target-newlib
30761 maybe-install-info-target-newlib: install-info-target-newlib
30763 install-info-target-newlib: \
30764 configure-target-newlib \
30765 info-target-newlib
30766 @: $(MAKE); $(unstage)
30767 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30768 r=`${PWD_COMMAND}`; export r; \
30769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30770 $(NORMAL_TARGET_EXPORTS) \
30771 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30772 for flag in $(EXTRA_TARGET_FLAGS); do \
30773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30774 done; \
30775 (cd $(TARGET_SUBDIR)/newlib && \
30776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30778 "RANLIB=$${RANLIB}" \
30779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30780 install-info) \
30781 || exit 1
30783 @endif target-newlib
30785 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30786 maybe-installcheck-target-newlib:
30787 @if target-newlib
30788 maybe-installcheck-target-newlib: installcheck-target-newlib
30790 installcheck-target-newlib: \
30791 configure-target-newlib
30792 @: $(MAKE); $(unstage)
30793 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30794 r=`${PWD_COMMAND}`; export r; \
30795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30796 $(NORMAL_TARGET_EXPORTS) \
30797 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30798 for flag in $(EXTRA_TARGET_FLAGS); do \
30799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30800 done; \
30801 (cd $(TARGET_SUBDIR)/newlib && \
30802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30804 "RANLIB=$${RANLIB}" \
30805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30806 installcheck) \
30807 || exit 1
30809 @endif target-newlib
30811 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30812 maybe-mostlyclean-target-newlib:
30813 @if target-newlib
30814 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30816 mostlyclean-target-newlib:
30817 @: $(MAKE); $(unstage)
30818 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30819 r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30821 $(NORMAL_TARGET_EXPORTS) \
30822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30823 for flag in $(EXTRA_TARGET_FLAGS); do \
30824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30825 done; \
30826 (cd $(TARGET_SUBDIR)/newlib && \
30827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30829 "RANLIB=$${RANLIB}" \
30830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30831 mostlyclean) \
30832 || exit 1
30834 @endif target-newlib
30836 .PHONY: maybe-clean-target-newlib clean-target-newlib
30837 maybe-clean-target-newlib:
30838 @if target-newlib
30839 maybe-clean-target-newlib: clean-target-newlib
30841 clean-target-newlib:
30842 @: $(MAKE); $(unstage)
30843 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30844 r=`${PWD_COMMAND}`; export r; \
30845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30846 $(NORMAL_TARGET_EXPORTS) \
30847 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30848 for flag in $(EXTRA_TARGET_FLAGS); do \
30849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30850 done; \
30851 (cd $(TARGET_SUBDIR)/newlib && \
30852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30854 "RANLIB=$${RANLIB}" \
30855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30856 clean) \
30857 || exit 1
30859 @endif target-newlib
30861 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30862 maybe-distclean-target-newlib:
30863 @if target-newlib
30864 maybe-distclean-target-newlib: distclean-target-newlib
30866 distclean-target-newlib:
30867 @: $(MAKE); $(unstage)
30868 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30869 r=`${PWD_COMMAND}`; export r; \
30870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30871 $(NORMAL_TARGET_EXPORTS) \
30872 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30873 for flag in $(EXTRA_TARGET_FLAGS); do \
30874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30875 done; \
30876 (cd $(TARGET_SUBDIR)/newlib && \
30877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30879 "RANLIB=$${RANLIB}" \
30880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30881 distclean) \
30882 || exit 1
30884 @endif target-newlib
30886 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30887 maybe-maintainer-clean-target-newlib:
30888 @if target-newlib
30889 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30891 maintainer-clean-target-newlib:
30892 @: $(MAKE); $(unstage)
30893 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30894 r=`${PWD_COMMAND}`; export r; \
30895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30896 $(NORMAL_TARGET_EXPORTS) \
30897 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30898 for flag in $(EXTRA_TARGET_FLAGS); do \
30899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30900 done; \
30901 (cd $(TARGET_SUBDIR)/newlib && \
30902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30904 "RANLIB=$${RANLIB}" \
30905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30906 maintainer-clean) \
30907 || exit 1
30909 @endif target-newlib
30915 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30916 maybe-configure-target-libgfortran:
30917 @if target-libgfortran
30918 maybe-configure-target-libgfortran: configure-target-libgfortran
30919 configure-target-libgfortran:
30920 @: $(MAKE); $(unstage)
30921 @r=`${PWD_COMMAND}`; export r; \
30922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30923 echo "Checking multilib configuration for libgfortran..."; \
30924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30925 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
30926 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30927 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
30928 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
30929 else \
30930 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
30931 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30932 fi; \
30933 else \
30934 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
30935 fi; \
30936 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30938 $(NORMAL_TARGET_EXPORTS) \
30939 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30940 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30941 case $(srcdir) in \
30942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30943 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30945 esac; \
30946 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30947 libsrcdir="$$s/libgfortran"; \
30948 rm -f no-such-file || : ; \
30949 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30950 $(TARGET_CONFIGARGS) $${srcdiroption} \
30951 || exit 1
30952 @endif target-libgfortran
30958 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30959 maybe-all-target-libgfortran:
30960 @if target-libgfortran
30961 TARGET-target-libgfortran=all
30962 maybe-all-target-libgfortran: all-target-libgfortran
30963 all-target-libgfortran: configure-target-libgfortran
30964 @: $(MAKE); $(unstage)
30965 @r=`${PWD_COMMAND}`; export r; \
30966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30967 $(NORMAL_TARGET_EXPORTS) \
30968 (cd $(TARGET_SUBDIR)/libgfortran && \
30969 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30970 @endif target-libgfortran
30976 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30977 maybe-check-target-libgfortran:
30978 @if target-libgfortran
30979 maybe-check-target-libgfortran: check-target-libgfortran
30981 check-target-libgfortran:
30982 @: $(MAKE); $(unstage)
30983 @r=`${PWD_COMMAND}`; export r; \
30984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30985 $(NORMAL_TARGET_EXPORTS) \
30986 (cd $(TARGET_SUBDIR)/libgfortran && \
30987 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30989 @endif target-libgfortran
30991 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30992 maybe-install-target-libgfortran:
30993 @if target-libgfortran
30994 maybe-install-target-libgfortran: install-target-libgfortran
30996 install-target-libgfortran: installdirs
30997 @: $(MAKE); $(unstage)
30998 @r=`${PWD_COMMAND}`; export r; \
30999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31000 $(NORMAL_TARGET_EXPORTS) \
31001 (cd $(TARGET_SUBDIR)/libgfortran && \
31002 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31004 @endif target-libgfortran
31006 # Other targets (info, dvi, etc.)
31008 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
31009 maybe-info-target-libgfortran:
31010 @if target-libgfortran
31011 maybe-info-target-libgfortran: info-target-libgfortran
31013 info-target-libgfortran: \
31014 configure-target-libgfortran
31015 @: $(MAKE); $(unstage)
31016 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31017 r=`${PWD_COMMAND}`; export r; \
31018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31019 $(NORMAL_TARGET_EXPORTS) \
31020 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
31021 for flag in $(EXTRA_TARGET_FLAGS); do \
31022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31023 done; \
31024 (cd $(TARGET_SUBDIR)/libgfortran && \
31025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31027 "RANLIB=$${RANLIB}" \
31028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31029 info) \
31030 || exit 1
31032 @endif target-libgfortran
31034 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
31035 maybe-dvi-target-libgfortran:
31036 @if target-libgfortran
31037 maybe-dvi-target-libgfortran: dvi-target-libgfortran
31039 dvi-target-libgfortran: \
31040 configure-target-libgfortran
31041 @: $(MAKE); $(unstage)
31042 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31043 r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(NORMAL_TARGET_EXPORTS) \
31046 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
31047 for flag in $(EXTRA_TARGET_FLAGS); do \
31048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31049 done; \
31050 (cd $(TARGET_SUBDIR)/libgfortran && \
31051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31053 "RANLIB=$${RANLIB}" \
31054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31055 dvi) \
31056 || exit 1
31058 @endif target-libgfortran
31060 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
31061 maybe-html-target-libgfortran:
31062 @if target-libgfortran
31063 maybe-html-target-libgfortran: html-target-libgfortran
31065 html-target-libgfortran: \
31066 configure-target-libgfortran
31067 @: $(MAKE); $(unstage)
31068 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31069 r=`${PWD_COMMAND}`; export r; \
31070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31071 $(NORMAL_TARGET_EXPORTS) \
31072 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
31073 for flag in $(EXTRA_TARGET_FLAGS); do \
31074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31075 done; \
31076 (cd $(TARGET_SUBDIR)/libgfortran && \
31077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31079 "RANLIB=$${RANLIB}" \
31080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31081 html) \
31082 || exit 1
31084 @endif target-libgfortran
31086 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
31087 maybe-TAGS-target-libgfortran:
31088 @if target-libgfortran
31089 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
31091 TAGS-target-libgfortran: \
31092 configure-target-libgfortran
31093 @: $(MAKE); $(unstage)
31094 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31095 r=`${PWD_COMMAND}`; export r; \
31096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31097 $(NORMAL_TARGET_EXPORTS) \
31098 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
31099 for flag in $(EXTRA_TARGET_FLAGS); do \
31100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31101 done; \
31102 (cd $(TARGET_SUBDIR)/libgfortran && \
31103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31105 "RANLIB=$${RANLIB}" \
31106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31107 TAGS) \
31108 || exit 1
31110 @endif target-libgfortran
31112 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
31113 maybe-install-info-target-libgfortran:
31114 @if target-libgfortran
31115 maybe-install-info-target-libgfortran: install-info-target-libgfortran
31117 install-info-target-libgfortran: \
31118 configure-target-libgfortran \
31119 info-target-libgfortran
31120 @: $(MAKE); $(unstage)
31121 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31122 r=`${PWD_COMMAND}`; export r; \
31123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31124 $(NORMAL_TARGET_EXPORTS) \
31125 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
31126 for flag in $(EXTRA_TARGET_FLAGS); do \
31127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31128 done; \
31129 (cd $(TARGET_SUBDIR)/libgfortran && \
31130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31132 "RANLIB=$${RANLIB}" \
31133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31134 install-info) \
31135 || exit 1
31137 @endif target-libgfortran
31139 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
31140 maybe-installcheck-target-libgfortran:
31141 @if target-libgfortran
31142 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
31144 installcheck-target-libgfortran: \
31145 configure-target-libgfortran
31146 @: $(MAKE); $(unstage)
31147 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31148 r=`${PWD_COMMAND}`; export r; \
31149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31150 $(NORMAL_TARGET_EXPORTS) \
31151 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
31152 for flag in $(EXTRA_TARGET_FLAGS); do \
31153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31154 done; \
31155 (cd $(TARGET_SUBDIR)/libgfortran && \
31156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31158 "RANLIB=$${RANLIB}" \
31159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31160 installcheck) \
31161 || exit 1
31163 @endif target-libgfortran
31165 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
31166 maybe-mostlyclean-target-libgfortran:
31167 @if target-libgfortran
31168 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
31170 mostlyclean-target-libgfortran:
31171 @: $(MAKE); $(unstage)
31172 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31173 r=`${PWD_COMMAND}`; export r; \
31174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31175 $(NORMAL_TARGET_EXPORTS) \
31176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
31177 for flag in $(EXTRA_TARGET_FLAGS); do \
31178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31179 done; \
31180 (cd $(TARGET_SUBDIR)/libgfortran && \
31181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31183 "RANLIB=$${RANLIB}" \
31184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31185 mostlyclean) \
31186 || exit 1
31188 @endif target-libgfortran
31190 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
31191 maybe-clean-target-libgfortran:
31192 @if target-libgfortran
31193 maybe-clean-target-libgfortran: clean-target-libgfortran
31195 clean-target-libgfortran:
31196 @: $(MAKE); $(unstage)
31197 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31198 r=`${PWD_COMMAND}`; export r; \
31199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31200 $(NORMAL_TARGET_EXPORTS) \
31201 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
31202 for flag in $(EXTRA_TARGET_FLAGS); do \
31203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31204 done; \
31205 (cd $(TARGET_SUBDIR)/libgfortran && \
31206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31208 "RANLIB=$${RANLIB}" \
31209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31210 clean) \
31211 || exit 1
31213 @endif target-libgfortran
31215 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
31216 maybe-distclean-target-libgfortran:
31217 @if target-libgfortran
31218 maybe-distclean-target-libgfortran: distclean-target-libgfortran
31220 distclean-target-libgfortran:
31221 @: $(MAKE); $(unstage)
31222 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31223 r=`${PWD_COMMAND}`; export r; \
31224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31225 $(NORMAL_TARGET_EXPORTS) \
31226 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
31227 for flag in $(EXTRA_TARGET_FLAGS); do \
31228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31229 done; \
31230 (cd $(TARGET_SUBDIR)/libgfortran && \
31231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31233 "RANLIB=$${RANLIB}" \
31234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31235 distclean) \
31236 || exit 1
31238 @endif target-libgfortran
31240 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
31241 maybe-maintainer-clean-target-libgfortran:
31242 @if target-libgfortran
31243 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
31245 maintainer-clean-target-libgfortran:
31246 @: $(MAKE); $(unstage)
31247 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31248 r=`${PWD_COMMAND}`; export r; \
31249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31250 $(NORMAL_TARGET_EXPORTS) \
31251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
31252 for flag in $(EXTRA_TARGET_FLAGS); do \
31253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31254 done; \
31255 (cd $(TARGET_SUBDIR)/libgfortran && \
31256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31258 "RANLIB=$${RANLIB}" \
31259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31260 maintainer-clean) \
31261 || exit 1
31263 @endif target-libgfortran
31269 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
31270 maybe-configure-target-libobjc:
31271 @if target-libobjc
31272 maybe-configure-target-libobjc: configure-target-libobjc
31273 configure-target-libobjc:
31274 @: $(MAKE); $(unstage)
31275 @r=`${PWD_COMMAND}`; export r; \
31276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31277 echo "Checking multilib configuration for libobjc..."; \
31278 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31279 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
31280 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31281 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31282 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
31283 else \
31284 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
31285 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31286 fi; \
31287 else \
31288 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31289 fi; \
31290 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
31291 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31292 $(NORMAL_TARGET_EXPORTS) \
31293 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
31294 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
31295 case $(srcdir) in \
31296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31297 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
31298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31299 esac; \
31300 srcdiroption="--srcdir=$${topdir}/libobjc"; \
31301 libsrcdir="$$s/libobjc"; \
31302 rm -f no-such-file || : ; \
31303 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31304 $(TARGET_CONFIGARGS) $${srcdiroption} \
31305 || exit 1
31306 @endif target-libobjc
31312 .PHONY: all-target-libobjc maybe-all-target-libobjc
31313 maybe-all-target-libobjc:
31314 @if target-libobjc
31315 TARGET-target-libobjc=all
31316 maybe-all-target-libobjc: all-target-libobjc
31317 all-target-libobjc: configure-target-libobjc
31318 @: $(MAKE); $(unstage)
31319 @r=`${PWD_COMMAND}`; export r; \
31320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31321 $(NORMAL_TARGET_EXPORTS) \
31322 (cd $(TARGET_SUBDIR)/libobjc && \
31323 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
31324 @endif target-libobjc
31330 .PHONY: check-target-libobjc maybe-check-target-libobjc
31331 maybe-check-target-libobjc:
31332 @if target-libobjc
31333 maybe-check-target-libobjc: check-target-libobjc
31335 check-target-libobjc:
31336 @: $(MAKE); $(unstage)
31337 @r=`${PWD_COMMAND}`; export r; \
31338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31339 $(NORMAL_TARGET_EXPORTS) \
31340 (cd $(TARGET_SUBDIR)/libobjc && \
31341 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31343 @endif target-libobjc
31345 .PHONY: install-target-libobjc maybe-install-target-libobjc
31346 maybe-install-target-libobjc:
31347 @if target-libobjc
31348 maybe-install-target-libobjc: install-target-libobjc
31350 install-target-libobjc: installdirs
31351 @: $(MAKE); $(unstage)
31352 @r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(NORMAL_TARGET_EXPORTS) \
31355 (cd $(TARGET_SUBDIR)/libobjc && \
31356 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31358 @endif target-libobjc
31360 # Other targets (info, dvi, etc.)
31362 .PHONY: maybe-info-target-libobjc info-target-libobjc
31363 maybe-info-target-libobjc:
31364 @if target-libobjc
31365 maybe-info-target-libobjc: info-target-libobjc
31367 info-target-libobjc: \
31368 configure-target-libobjc
31369 @: $(MAKE); $(unstage)
31370 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31371 r=`${PWD_COMMAND}`; export r; \
31372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31373 $(NORMAL_TARGET_EXPORTS) \
31374 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
31375 for flag in $(EXTRA_TARGET_FLAGS); do \
31376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31377 done; \
31378 (cd $(TARGET_SUBDIR)/libobjc && \
31379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31381 "RANLIB=$${RANLIB}" \
31382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31383 info) \
31384 || exit 1
31386 @endif target-libobjc
31388 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
31389 maybe-dvi-target-libobjc:
31390 @if target-libobjc
31391 maybe-dvi-target-libobjc: dvi-target-libobjc
31393 dvi-target-libobjc: \
31394 configure-target-libobjc
31395 @: $(MAKE); $(unstage)
31396 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31397 r=`${PWD_COMMAND}`; export r; \
31398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31399 $(NORMAL_TARGET_EXPORTS) \
31400 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
31401 for flag in $(EXTRA_TARGET_FLAGS); do \
31402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31403 done; \
31404 (cd $(TARGET_SUBDIR)/libobjc && \
31405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31407 "RANLIB=$${RANLIB}" \
31408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31409 dvi) \
31410 || exit 1
31412 @endif target-libobjc
31414 .PHONY: maybe-html-target-libobjc html-target-libobjc
31415 maybe-html-target-libobjc:
31416 @if target-libobjc
31417 maybe-html-target-libobjc: html-target-libobjc
31419 html-target-libobjc: \
31420 configure-target-libobjc
31421 @: $(MAKE); $(unstage)
31422 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31423 r=`${PWD_COMMAND}`; export r; \
31424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31425 $(NORMAL_TARGET_EXPORTS) \
31426 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
31427 for flag in $(EXTRA_TARGET_FLAGS); do \
31428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31429 done; \
31430 (cd $(TARGET_SUBDIR)/libobjc && \
31431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31433 "RANLIB=$${RANLIB}" \
31434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31435 html) \
31436 || exit 1
31438 @endif target-libobjc
31440 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
31441 maybe-TAGS-target-libobjc:
31442 @if target-libobjc
31443 maybe-TAGS-target-libobjc: TAGS-target-libobjc
31445 TAGS-target-libobjc: \
31446 configure-target-libobjc
31447 @: $(MAKE); $(unstage)
31448 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31449 r=`${PWD_COMMAND}`; export r; \
31450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31451 $(NORMAL_TARGET_EXPORTS) \
31452 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
31453 for flag in $(EXTRA_TARGET_FLAGS); do \
31454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31455 done; \
31456 (cd $(TARGET_SUBDIR)/libobjc && \
31457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31459 "RANLIB=$${RANLIB}" \
31460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31461 TAGS) \
31462 || exit 1
31464 @endif target-libobjc
31466 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
31467 maybe-install-info-target-libobjc:
31468 @if target-libobjc
31469 maybe-install-info-target-libobjc: install-info-target-libobjc
31471 install-info-target-libobjc: \
31472 configure-target-libobjc \
31473 info-target-libobjc
31474 @: $(MAKE); $(unstage)
31475 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31476 r=`${PWD_COMMAND}`; export r; \
31477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31478 $(NORMAL_TARGET_EXPORTS) \
31479 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
31480 for flag in $(EXTRA_TARGET_FLAGS); do \
31481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31482 done; \
31483 (cd $(TARGET_SUBDIR)/libobjc && \
31484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31486 "RANLIB=$${RANLIB}" \
31487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31488 install-info) \
31489 || exit 1
31491 @endif target-libobjc
31493 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
31494 maybe-installcheck-target-libobjc:
31495 @if target-libobjc
31496 maybe-installcheck-target-libobjc: installcheck-target-libobjc
31498 installcheck-target-libobjc: \
31499 configure-target-libobjc
31500 @: $(MAKE); $(unstage)
31501 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(NORMAL_TARGET_EXPORTS) \
31505 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
31506 for flag in $(EXTRA_TARGET_FLAGS); do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 (cd $(TARGET_SUBDIR)/libobjc && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31514 installcheck) \
31515 || exit 1
31517 @endif target-libobjc
31519 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
31520 maybe-mostlyclean-target-libobjc:
31521 @if target-libobjc
31522 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
31524 mostlyclean-target-libobjc:
31525 @: $(MAKE); $(unstage)
31526 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31527 r=`${PWD_COMMAND}`; export r; \
31528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31529 $(NORMAL_TARGET_EXPORTS) \
31530 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
31531 for flag in $(EXTRA_TARGET_FLAGS); do \
31532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31533 done; \
31534 (cd $(TARGET_SUBDIR)/libobjc && \
31535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31537 "RANLIB=$${RANLIB}" \
31538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31539 mostlyclean) \
31540 || exit 1
31542 @endif target-libobjc
31544 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
31545 maybe-clean-target-libobjc:
31546 @if target-libobjc
31547 maybe-clean-target-libobjc: clean-target-libobjc
31549 clean-target-libobjc:
31550 @: $(MAKE); $(unstage)
31551 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31552 r=`${PWD_COMMAND}`; export r; \
31553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31554 $(NORMAL_TARGET_EXPORTS) \
31555 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
31556 for flag in $(EXTRA_TARGET_FLAGS); do \
31557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31558 done; \
31559 (cd $(TARGET_SUBDIR)/libobjc && \
31560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31562 "RANLIB=$${RANLIB}" \
31563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31564 clean) \
31565 || exit 1
31567 @endif target-libobjc
31569 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
31570 maybe-distclean-target-libobjc:
31571 @if target-libobjc
31572 maybe-distclean-target-libobjc: distclean-target-libobjc
31574 distclean-target-libobjc:
31575 @: $(MAKE); $(unstage)
31576 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31577 r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(NORMAL_TARGET_EXPORTS) \
31580 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
31581 for flag in $(EXTRA_TARGET_FLAGS); do \
31582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31583 done; \
31584 (cd $(TARGET_SUBDIR)/libobjc && \
31585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31587 "RANLIB=$${RANLIB}" \
31588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31589 distclean) \
31590 || exit 1
31592 @endif target-libobjc
31594 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
31595 maybe-maintainer-clean-target-libobjc:
31596 @if target-libobjc
31597 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
31599 maintainer-clean-target-libobjc:
31600 @: $(MAKE); $(unstage)
31601 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31602 r=`${PWD_COMMAND}`; export r; \
31603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31604 $(NORMAL_TARGET_EXPORTS) \
31605 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
31606 for flag in $(EXTRA_TARGET_FLAGS); do \
31607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31608 done; \
31609 (cd $(TARGET_SUBDIR)/libobjc && \
31610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31612 "RANLIB=$${RANLIB}" \
31613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31614 maintainer-clean) \
31615 || exit 1
31617 @endif target-libobjc
31623 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31624 maybe-configure-target-libtermcap:
31625 @if target-libtermcap
31626 maybe-configure-target-libtermcap: configure-target-libtermcap
31627 configure-target-libtermcap:
31628 @: $(MAKE); $(unstage)
31629 @r=`${PWD_COMMAND}`; export r; \
31630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31631 echo "Checking multilib configuration for libtermcap..."; \
31632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31633 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31634 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31635 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31636 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31637 else \
31638 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31639 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31640 fi; \
31641 else \
31642 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31643 fi; \
31644 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31646 $(NORMAL_TARGET_EXPORTS) \
31647 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31648 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31649 case $(srcdir) in \
31650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31651 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31653 esac; \
31654 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31655 libsrcdir="$$s/libtermcap"; \
31656 rm -f no-such-file || : ; \
31657 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31658 $(TARGET_CONFIGARGS) $${srcdiroption} \
31659 || exit 1
31660 @endif target-libtermcap
31666 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31667 maybe-all-target-libtermcap:
31668 @if target-libtermcap
31669 TARGET-target-libtermcap=all
31670 maybe-all-target-libtermcap: all-target-libtermcap
31671 all-target-libtermcap: configure-target-libtermcap
31672 @: $(MAKE); $(unstage)
31673 @r=`${PWD_COMMAND}`; export r; \
31674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31675 $(NORMAL_TARGET_EXPORTS) \
31676 (cd $(TARGET_SUBDIR)/libtermcap && \
31677 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31678 @endif target-libtermcap
31684 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31685 maybe-check-target-libtermcap:
31686 @if target-libtermcap
31687 maybe-check-target-libtermcap: check-target-libtermcap
31689 # Dummy target for uncheckable module.
31690 check-target-libtermcap:
31692 @endif target-libtermcap
31694 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31695 maybe-install-target-libtermcap:
31696 @if target-libtermcap
31697 maybe-install-target-libtermcap: install-target-libtermcap
31699 install-target-libtermcap: installdirs
31700 @: $(MAKE); $(unstage)
31701 @r=`${PWD_COMMAND}`; export r; \
31702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31703 $(NORMAL_TARGET_EXPORTS) \
31704 (cd $(TARGET_SUBDIR)/libtermcap && \
31705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31707 @endif target-libtermcap
31709 # Other targets (info, dvi, etc.)
31711 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31712 maybe-info-target-libtermcap:
31713 @if target-libtermcap
31714 maybe-info-target-libtermcap: info-target-libtermcap
31716 info-target-libtermcap: \
31717 configure-target-libtermcap
31718 @: $(MAKE); $(unstage)
31719 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31720 r=`${PWD_COMMAND}`; export r; \
31721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31722 $(NORMAL_TARGET_EXPORTS) \
31723 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31724 for flag in $(EXTRA_TARGET_FLAGS); do \
31725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31726 done; \
31727 (cd $(TARGET_SUBDIR)/libtermcap && \
31728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31730 "RANLIB=$${RANLIB}" \
31731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31732 info) \
31733 || exit 1
31735 @endif target-libtermcap
31737 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31738 maybe-dvi-target-libtermcap:
31739 @if target-libtermcap
31740 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31742 dvi-target-libtermcap: \
31743 configure-target-libtermcap
31744 @: $(MAKE); $(unstage)
31745 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31746 r=`${PWD_COMMAND}`; export r; \
31747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31748 $(NORMAL_TARGET_EXPORTS) \
31749 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31750 for flag in $(EXTRA_TARGET_FLAGS); do \
31751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31752 done; \
31753 (cd $(TARGET_SUBDIR)/libtermcap && \
31754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31756 "RANLIB=$${RANLIB}" \
31757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31758 dvi) \
31759 || exit 1
31761 @endif target-libtermcap
31763 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31764 maybe-html-target-libtermcap:
31765 @if target-libtermcap
31766 maybe-html-target-libtermcap: html-target-libtermcap
31768 html-target-libtermcap: \
31769 configure-target-libtermcap
31770 @: $(MAKE); $(unstage)
31771 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31772 r=`${PWD_COMMAND}`; export r; \
31773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31774 $(NORMAL_TARGET_EXPORTS) \
31775 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31776 for flag in $(EXTRA_TARGET_FLAGS); do \
31777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31778 done; \
31779 (cd $(TARGET_SUBDIR)/libtermcap && \
31780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31782 "RANLIB=$${RANLIB}" \
31783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31784 html) \
31785 || exit 1
31787 @endif target-libtermcap
31789 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31790 maybe-TAGS-target-libtermcap:
31791 @if target-libtermcap
31792 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31794 TAGS-target-libtermcap: \
31795 configure-target-libtermcap
31796 @: $(MAKE); $(unstage)
31797 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31798 r=`${PWD_COMMAND}`; export r; \
31799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31800 $(NORMAL_TARGET_EXPORTS) \
31801 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31802 for flag in $(EXTRA_TARGET_FLAGS); do \
31803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31804 done; \
31805 (cd $(TARGET_SUBDIR)/libtermcap && \
31806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31808 "RANLIB=$${RANLIB}" \
31809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31810 TAGS) \
31811 || exit 1
31813 @endif target-libtermcap
31815 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31816 maybe-install-info-target-libtermcap:
31817 @if target-libtermcap
31818 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31820 install-info-target-libtermcap: \
31821 configure-target-libtermcap \
31822 info-target-libtermcap
31823 @: $(MAKE); $(unstage)
31824 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31825 r=`${PWD_COMMAND}`; export r; \
31826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31827 $(NORMAL_TARGET_EXPORTS) \
31828 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31829 for flag in $(EXTRA_TARGET_FLAGS); do \
31830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31831 done; \
31832 (cd $(TARGET_SUBDIR)/libtermcap && \
31833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31835 "RANLIB=$${RANLIB}" \
31836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31837 install-info) \
31838 || exit 1
31840 @endif target-libtermcap
31842 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31843 maybe-installcheck-target-libtermcap:
31844 @if target-libtermcap
31845 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31847 installcheck-target-libtermcap: \
31848 configure-target-libtermcap
31849 @: $(MAKE); $(unstage)
31850 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31851 r=`${PWD_COMMAND}`; export r; \
31852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31853 $(NORMAL_TARGET_EXPORTS) \
31854 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31855 for flag in $(EXTRA_TARGET_FLAGS); do \
31856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31857 done; \
31858 (cd $(TARGET_SUBDIR)/libtermcap && \
31859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31861 "RANLIB=$${RANLIB}" \
31862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31863 installcheck) \
31864 || exit 1
31866 @endif target-libtermcap
31868 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31869 maybe-mostlyclean-target-libtermcap:
31870 @if target-libtermcap
31871 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31873 # libtermcap doesn't support mostlyclean.
31874 mostlyclean-target-libtermcap:
31876 @endif target-libtermcap
31878 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31879 maybe-clean-target-libtermcap:
31880 @if target-libtermcap
31881 maybe-clean-target-libtermcap: clean-target-libtermcap
31883 # libtermcap doesn't support clean.
31884 clean-target-libtermcap:
31886 @endif target-libtermcap
31888 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31889 maybe-distclean-target-libtermcap:
31890 @if target-libtermcap
31891 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31893 # libtermcap doesn't support distclean.
31894 distclean-target-libtermcap:
31896 @endif target-libtermcap
31898 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31899 maybe-maintainer-clean-target-libtermcap:
31900 @if target-libtermcap
31901 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31903 # libtermcap doesn't support maintainer-clean.
31904 maintainer-clean-target-libtermcap:
31906 @endif target-libtermcap
31912 .PHONY: configure-target-winsup maybe-configure-target-winsup
31913 maybe-configure-target-winsup:
31914 @if target-winsup
31915 maybe-configure-target-winsup: configure-target-winsup
31916 configure-target-winsup:
31917 @: $(MAKE); $(unstage)
31918 @r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 echo "Checking multilib configuration for winsup..."; \
31921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31922 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
31923 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
31924 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
31925 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
31926 else \
31927 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
31928 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31929 fi; \
31930 else \
31931 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
31932 fi; \
31933 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31935 $(NORMAL_TARGET_EXPORTS) \
31936 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31937 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31938 case $(srcdir) in \
31939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31940 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31942 esac; \
31943 srcdiroption="--srcdir=$${topdir}/winsup"; \
31944 libsrcdir="$$s/winsup"; \
31945 rm -f no-such-file || : ; \
31946 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31947 $(TARGET_CONFIGARGS) $${srcdiroption} \
31948 || exit 1
31949 @endif target-winsup
31955 .PHONY: all-target-winsup maybe-all-target-winsup
31956 maybe-all-target-winsup:
31957 @if target-winsup
31958 TARGET-target-winsup=all
31959 maybe-all-target-winsup: all-target-winsup
31960 all-target-winsup: configure-target-winsup
31961 @: $(MAKE); $(unstage)
31962 @r=`${PWD_COMMAND}`; export r; \
31963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31964 $(NORMAL_TARGET_EXPORTS) \
31965 (cd $(TARGET_SUBDIR)/winsup && \
31966 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31967 @endif target-winsup
31973 .PHONY: check-target-winsup maybe-check-target-winsup
31974 maybe-check-target-winsup:
31975 @if target-winsup
31976 maybe-check-target-winsup: check-target-winsup
31978 check-target-winsup:
31979 @: $(MAKE); $(unstage)
31980 @r=`${PWD_COMMAND}`; export r; \
31981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31982 $(NORMAL_TARGET_EXPORTS) \
31983 (cd $(TARGET_SUBDIR)/winsup && \
31984 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31986 @endif target-winsup
31988 .PHONY: install-target-winsup maybe-install-target-winsup
31989 maybe-install-target-winsup:
31990 @if target-winsup
31991 maybe-install-target-winsup: install-target-winsup
31993 install-target-winsup: installdirs
31994 @: $(MAKE); $(unstage)
31995 @r=`${PWD_COMMAND}`; export r; \
31996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31997 $(NORMAL_TARGET_EXPORTS) \
31998 (cd $(TARGET_SUBDIR)/winsup && \
31999 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32001 @endif target-winsup
32003 # Other targets (info, dvi, etc.)
32005 .PHONY: maybe-info-target-winsup info-target-winsup
32006 maybe-info-target-winsup:
32007 @if target-winsup
32008 maybe-info-target-winsup: info-target-winsup
32010 info-target-winsup: \
32011 configure-target-winsup
32012 @: $(MAKE); $(unstage)
32013 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32014 r=`${PWD_COMMAND}`; export r; \
32015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32016 $(NORMAL_TARGET_EXPORTS) \
32017 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
32018 for flag in $(EXTRA_TARGET_FLAGS); do \
32019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32020 done; \
32021 (cd $(TARGET_SUBDIR)/winsup && \
32022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32024 "RANLIB=$${RANLIB}" \
32025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32026 info) \
32027 || exit 1
32029 @endif target-winsup
32031 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
32032 maybe-dvi-target-winsup:
32033 @if target-winsup
32034 maybe-dvi-target-winsup: dvi-target-winsup
32036 dvi-target-winsup: \
32037 configure-target-winsup
32038 @: $(MAKE); $(unstage)
32039 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32040 r=`${PWD_COMMAND}`; export r; \
32041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32042 $(NORMAL_TARGET_EXPORTS) \
32043 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
32044 for flag in $(EXTRA_TARGET_FLAGS); do \
32045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32046 done; \
32047 (cd $(TARGET_SUBDIR)/winsup && \
32048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32050 "RANLIB=$${RANLIB}" \
32051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32052 dvi) \
32053 || exit 1
32055 @endif target-winsup
32057 .PHONY: maybe-html-target-winsup html-target-winsup
32058 maybe-html-target-winsup:
32059 @if target-winsup
32060 maybe-html-target-winsup: html-target-winsup
32062 html-target-winsup: \
32063 configure-target-winsup
32064 @: $(MAKE); $(unstage)
32065 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32066 r=`${PWD_COMMAND}`; export r; \
32067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32068 $(NORMAL_TARGET_EXPORTS) \
32069 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
32070 for flag in $(EXTRA_TARGET_FLAGS); do \
32071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32072 done; \
32073 (cd $(TARGET_SUBDIR)/winsup && \
32074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32076 "RANLIB=$${RANLIB}" \
32077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32078 html) \
32079 || exit 1
32081 @endif target-winsup
32083 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
32084 maybe-TAGS-target-winsup:
32085 @if target-winsup
32086 maybe-TAGS-target-winsup: TAGS-target-winsup
32088 TAGS-target-winsup: \
32089 configure-target-winsup
32090 @: $(MAKE); $(unstage)
32091 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32092 r=`${PWD_COMMAND}`; export r; \
32093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32094 $(NORMAL_TARGET_EXPORTS) \
32095 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
32096 for flag in $(EXTRA_TARGET_FLAGS); do \
32097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32098 done; \
32099 (cd $(TARGET_SUBDIR)/winsup && \
32100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32102 "RANLIB=$${RANLIB}" \
32103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32104 TAGS) \
32105 || exit 1
32107 @endif target-winsup
32109 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
32110 maybe-install-info-target-winsup:
32111 @if target-winsup
32112 maybe-install-info-target-winsup: install-info-target-winsup
32114 install-info-target-winsup: \
32115 configure-target-winsup \
32116 info-target-winsup
32117 @: $(MAKE); $(unstage)
32118 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32119 r=`${PWD_COMMAND}`; export r; \
32120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32121 $(NORMAL_TARGET_EXPORTS) \
32122 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
32123 for flag in $(EXTRA_TARGET_FLAGS); do \
32124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32125 done; \
32126 (cd $(TARGET_SUBDIR)/winsup && \
32127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32129 "RANLIB=$${RANLIB}" \
32130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32131 install-info) \
32132 || exit 1
32134 @endif target-winsup
32136 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
32137 maybe-installcheck-target-winsup:
32138 @if target-winsup
32139 maybe-installcheck-target-winsup: installcheck-target-winsup
32141 installcheck-target-winsup: \
32142 configure-target-winsup
32143 @: $(MAKE); $(unstage)
32144 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32145 r=`${PWD_COMMAND}`; export r; \
32146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32147 $(NORMAL_TARGET_EXPORTS) \
32148 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
32149 for flag in $(EXTRA_TARGET_FLAGS); do \
32150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32151 done; \
32152 (cd $(TARGET_SUBDIR)/winsup && \
32153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32155 "RANLIB=$${RANLIB}" \
32156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32157 installcheck) \
32158 || exit 1
32160 @endif target-winsup
32162 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
32163 maybe-mostlyclean-target-winsup:
32164 @if target-winsup
32165 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
32167 mostlyclean-target-winsup:
32168 @: $(MAKE); $(unstage)
32169 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32170 r=`${PWD_COMMAND}`; export r; \
32171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32172 $(NORMAL_TARGET_EXPORTS) \
32173 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
32174 for flag in $(EXTRA_TARGET_FLAGS); do \
32175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32176 done; \
32177 (cd $(TARGET_SUBDIR)/winsup && \
32178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32180 "RANLIB=$${RANLIB}" \
32181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32182 mostlyclean) \
32183 || exit 1
32185 @endif target-winsup
32187 .PHONY: maybe-clean-target-winsup clean-target-winsup
32188 maybe-clean-target-winsup:
32189 @if target-winsup
32190 maybe-clean-target-winsup: clean-target-winsup
32192 clean-target-winsup:
32193 @: $(MAKE); $(unstage)
32194 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32195 r=`${PWD_COMMAND}`; export r; \
32196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32197 $(NORMAL_TARGET_EXPORTS) \
32198 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
32199 for flag in $(EXTRA_TARGET_FLAGS); do \
32200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32201 done; \
32202 (cd $(TARGET_SUBDIR)/winsup && \
32203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32205 "RANLIB=$${RANLIB}" \
32206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32207 clean) \
32208 || exit 1
32210 @endif target-winsup
32212 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
32213 maybe-distclean-target-winsup:
32214 @if target-winsup
32215 maybe-distclean-target-winsup: distclean-target-winsup
32217 distclean-target-winsup:
32218 @: $(MAKE); $(unstage)
32219 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32220 r=`${PWD_COMMAND}`; export r; \
32221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32222 $(NORMAL_TARGET_EXPORTS) \
32223 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
32224 for flag in $(EXTRA_TARGET_FLAGS); do \
32225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32226 done; \
32227 (cd $(TARGET_SUBDIR)/winsup && \
32228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32230 "RANLIB=$${RANLIB}" \
32231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32232 distclean) \
32233 || exit 1
32235 @endif target-winsup
32237 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
32238 maybe-maintainer-clean-target-winsup:
32239 @if target-winsup
32240 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
32242 maintainer-clean-target-winsup:
32243 @: $(MAKE); $(unstage)
32244 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32245 r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(NORMAL_TARGET_EXPORTS) \
32248 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
32249 for flag in $(EXTRA_TARGET_FLAGS); do \
32250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32251 done; \
32252 (cd $(TARGET_SUBDIR)/winsup && \
32253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32255 "RANLIB=$${RANLIB}" \
32256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32257 maintainer-clean) \
32258 || exit 1
32260 @endif target-winsup
32266 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
32267 maybe-configure-target-libgloss:
32268 @if target-libgloss
32269 maybe-configure-target-libgloss: configure-target-libgloss
32270 configure-target-libgloss:
32271 @: $(MAKE); $(unstage)
32272 @r=`${PWD_COMMAND}`; export r; \
32273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32274 echo "Checking multilib configuration for libgloss..."; \
32275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32276 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
32277 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32278 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32279 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
32280 else \
32281 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
32282 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32283 fi; \
32284 else \
32285 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32286 fi; \
32287 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
32288 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32289 $(NORMAL_TARGET_EXPORTS) \
32290 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
32291 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
32292 case $(srcdir) in \
32293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32294 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
32295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32296 esac; \
32297 srcdiroption="--srcdir=$${topdir}/libgloss"; \
32298 libsrcdir="$$s/libgloss"; \
32299 rm -f no-such-file || : ; \
32300 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32301 $(TARGET_CONFIGARGS) $${srcdiroption} \
32302 || exit 1
32303 @endif target-libgloss
32309 .PHONY: all-target-libgloss maybe-all-target-libgloss
32310 maybe-all-target-libgloss:
32311 @if target-libgloss
32312 TARGET-target-libgloss=all
32313 maybe-all-target-libgloss: all-target-libgloss
32314 all-target-libgloss: configure-target-libgloss
32315 @: $(MAKE); $(unstage)
32316 @r=`${PWD_COMMAND}`; export r; \
32317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32318 $(NORMAL_TARGET_EXPORTS) \
32319 (cd $(TARGET_SUBDIR)/libgloss && \
32320 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
32321 @endif target-libgloss
32327 .PHONY: check-target-libgloss maybe-check-target-libgloss
32328 maybe-check-target-libgloss:
32329 @if target-libgloss
32330 maybe-check-target-libgloss: check-target-libgloss
32332 # Dummy target for uncheckable module.
32333 check-target-libgloss:
32335 @endif target-libgloss
32337 .PHONY: install-target-libgloss maybe-install-target-libgloss
32338 maybe-install-target-libgloss:
32339 @if target-libgloss
32340 maybe-install-target-libgloss: install-target-libgloss
32342 install-target-libgloss: installdirs
32343 @: $(MAKE); $(unstage)
32344 @r=`${PWD_COMMAND}`; export r; \
32345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32346 $(NORMAL_TARGET_EXPORTS) \
32347 (cd $(TARGET_SUBDIR)/libgloss && \
32348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32350 @endif target-libgloss
32352 # Other targets (info, dvi, etc.)
32354 .PHONY: maybe-info-target-libgloss info-target-libgloss
32355 maybe-info-target-libgloss:
32356 @if target-libgloss
32357 maybe-info-target-libgloss: info-target-libgloss
32359 info-target-libgloss: \
32360 configure-target-libgloss
32361 @: $(MAKE); $(unstage)
32362 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32363 r=`${PWD_COMMAND}`; export r; \
32364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32365 $(NORMAL_TARGET_EXPORTS) \
32366 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
32367 for flag in $(EXTRA_TARGET_FLAGS); do \
32368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32369 done; \
32370 (cd $(TARGET_SUBDIR)/libgloss && \
32371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32373 "RANLIB=$${RANLIB}" \
32374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32375 info) \
32376 || exit 1
32378 @endif target-libgloss
32380 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
32381 maybe-dvi-target-libgloss:
32382 @if target-libgloss
32383 maybe-dvi-target-libgloss: dvi-target-libgloss
32385 dvi-target-libgloss: \
32386 configure-target-libgloss
32387 @: $(MAKE); $(unstage)
32388 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32389 r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32391 $(NORMAL_TARGET_EXPORTS) \
32392 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
32393 for flag in $(EXTRA_TARGET_FLAGS); do \
32394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32395 done; \
32396 (cd $(TARGET_SUBDIR)/libgloss && \
32397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32399 "RANLIB=$${RANLIB}" \
32400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32401 dvi) \
32402 || exit 1
32404 @endif target-libgloss
32406 .PHONY: maybe-html-target-libgloss html-target-libgloss
32407 maybe-html-target-libgloss:
32408 @if target-libgloss
32409 maybe-html-target-libgloss: html-target-libgloss
32411 html-target-libgloss: \
32412 configure-target-libgloss
32413 @: $(MAKE); $(unstage)
32414 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32415 r=`${PWD_COMMAND}`; export r; \
32416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32417 $(NORMAL_TARGET_EXPORTS) \
32418 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
32419 for flag in $(EXTRA_TARGET_FLAGS); do \
32420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32421 done; \
32422 (cd $(TARGET_SUBDIR)/libgloss && \
32423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32425 "RANLIB=$${RANLIB}" \
32426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32427 html) \
32428 || exit 1
32430 @endif target-libgloss
32432 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
32433 maybe-TAGS-target-libgloss:
32434 @if target-libgloss
32435 maybe-TAGS-target-libgloss: TAGS-target-libgloss
32437 TAGS-target-libgloss: \
32438 configure-target-libgloss
32439 @: $(MAKE); $(unstage)
32440 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32441 r=`${PWD_COMMAND}`; export r; \
32442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32443 $(NORMAL_TARGET_EXPORTS) \
32444 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
32445 for flag in $(EXTRA_TARGET_FLAGS); do \
32446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32447 done; \
32448 (cd $(TARGET_SUBDIR)/libgloss && \
32449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32451 "RANLIB=$${RANLIB}" \
32452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32453 TAGS) \
32454 || exit 1
32456 @endif target-libgloss
32458 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
32459 maybe-install-info-target-libgloss:
32460 @if target-libgloss
32461 maybe-install-info-target-libgloss: install-info-target-libgloss
32463 install-info-target-libgloss: \
32464 configure-target-libgloss \
32465 info-target-libgloss
32466 @: $(MAKE); $(unstage)
32467 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32468 r=`${PWD_COMMAND}`; export r; \
32469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32470 $(NORMAL_TARGET_EXPORTS) \
32471 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
32472 for flag in $(EXTRA_TARGET_FLAGS); do \
32473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32474 done; \
32475 (cd $(TARGET_SUBDIR)/libgloss && \
32476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32478 "RANLIB=$${RANLIB}" \
32479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32480 install-info) \
32481 || exit 1
32483 @endif target-libgloss
32485 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
32486 maybe-installcheck-target-libgloss:
32487 @if target-libgloss
32488 maybe-installcheck-target-libgloss: installcheck-target-libgloss
32490 installcheck-target-libgloss: \
32491 configure-target-libgloss
32492 @: $(MAKE); $(unstage)
32493 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32494 r=`${PWD_COMMAND}`; export r; \
32495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32496 $(NORMAL_TARGET_EXPORTS) \
32497 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
32498 for flag in $(EXTRA_TARGET_FLAGS); do \
32499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32500 done; \
32501 (cd $(TARGET_SUBDIR)/libgloss && \
32502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32504 "RANLIB=$${RANLIB}" \
32505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32506 installcheck) \
32507 || exit 1
32509 @endif target-libgloss
32511 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
32512 maybe-mostlyclean-target-libgloss:
32513 @if target-libgloss
32514 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
32516 mostlyclean-target-libgloss:
32517 @: $(MAKE); $(unstage)
32518 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32519 r=`${PWD_COMMAND}`; export r; \
32520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32521 $(NORMAL_TARGET_EXPORTS) \
32522 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
32523 for flag in $(EXTRA_TARGET_FLAGS); do \
32524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 done; \
32526 (cd $(TARGET_SUBDIR)/libgloss && \
32527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32529 "RANLIB=$${RANLIB}" \
32530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32531 mostlyclean) \
32532 || exit 1
32534 @endif target-libgloss
32536 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
32537 maybe-clean-target-libgloss:
32538 @if target-libgloss
32539 maybe-clean-target-libgloss: clean-target-libgloss
32541 clean-target-libgloss:
32542 @: $(MAKE); $(unstage)
32543 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32544 r=`${PWD_COMMAND}`; export r; \
32545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32546 $(NORMAL_TARGET_EXPORTS) \
32547 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
32548 for flag in $(EXTRA_TARGET_FLAGS); do \
32549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32550 done; \
32551 (cd $(TARGET_SUBDIR)/libgloss && \
32552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32554 "RANLIB=$${RANLIB}" \
32555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32556 clean) \
32557 || exit 1
32559 @endif target-libgloss
32561 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
32562 maybe-distclean-target-libgloss:
32563 @if target-libgloss
32564 maybe-distclean-target-libgloss: distclean-target-libgloss
32566 distclean-target-libgloss:
32567 @: $(MAKE); $(unstage)
32568 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32569 r=`${PWD_COMMAND}`; export r; \
32570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32571 $(NORMAL_TARGET_EXPORTS) \
32572 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
32573 for flag in $(EXTRA_TARGET_FLAGS); do \
32574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32575 done; \
32576 (cd $(TARGET_SUBDIR)/libgloss && \
32577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32579 "RANLIB=$${RANLIB}" \
32580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32581 distclean) \
32582 || exit 1
32584 @endif target-libgloss
32586 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
32587 maybe-maintainer-clean-target-libgloss:
32588 @if target-libgloss
32589 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
32591 maintainer-clean-target-libgloss:
32592 @: $(MAKE); $(unstage)
32593 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32594 r=`${PWD_COMMAND}`; export r; \
32595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32596 $(NORMAL_TARGET_EXPORTS) \
32597 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
32598 for flag in $(EXTRA_TARGET_FLAGS); do \
32599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32600 done; \
32601 (cd $(TARGET_SUBDIR)/libgloss && \
32602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32604 "RANLIB=$${RANLIB}" \
32605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32606 maintainer-clean) \
32607 || exit 1
32609 @endif target-libgloss
32615 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32616 maybe-configure-target-libiberty:
32617 @if target-libiberty
32618 maybe-configure-target-libiberty: configure-target-libiberty
32619 configure-target-libiberty:
32620 @: $(MAKE); $(unstage)
32621 @r=`${PWD_COMMAND}`; export r; \
32622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32623 echo "Checking multilib configuration for libiberty..."; \
32624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32625 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32626 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32627 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32628 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32629 else \
32630 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32631 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32632 fi; \
32633 else \
32634 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32635 fi; \
32636 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32638 $(NORMAL_TARGET_EXPORTS) \
32639 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32640 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32641 case $(srcdir) in \
32642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32643 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32645 esac; \
32646 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32647 libsrcdir="$$s/libiberty"; \
32648 rm -f no-such-file || : ; \
32649 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32650 $(TARGET_CONFIGARGS) $${srcdiroption} \
32651 || exit 1
32652 @endif target-libiberty
32658 .PHONY: all-target-libiberty maybe-all-target-libiberty
32659 maybe-all-target-libiberty:
32660 @if target-libiberty
32661 TARGET-target-libiberty=all
32662 maybe-all-target-libiberty: all-target-libiberty
32663 all-target-libiberty: configure-target-libiberty
32664 @: $(MAKE); $(unstage)
32665 @r=`${PWD_COMMAND}`; export r; \
32666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32667 $(NORMAL_TARGET_EXPORTS) \
32668 (cd $(TARGET_SUBDIR)/libiberty && \
32669 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32670 @endif target-libiberty
32676 .PHONY: check-target-libiberty maybe-check-target-libiberty
32677 maybe-check-target-libiberty:
32678 @if target-libiberty
32679 maybe-check-target-libiberty: check-target-libiberty
32681 check-target-libiberty:
32682 @: $(MAKE); $(unstage)
32683 @r=`${PWD_COMMAND}`; export r; \
32684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32685 $(NORMAL_TARGET_EXPORTS) \
32686 (cd $(TARGET_SUBDIR)/libiberty && \
32687 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32689 @endif target-libiberty
32691 .PHONY: install-target-libiberty maybe-install-target-libiberty
32692 maybe-install-target-libiberty:
32693 @if target-libiberty
32694 maybe-install-target-libiberty: install-target-libiberty
32696 install-target-libiberty: installdirs
32697 @: $(MAKE); $(unstage)
32698 @r=`${PWD_COMMAND}`; export r; \
32699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32700 $(NORMAL_TARGET_EXPORTS) \
32701 (cd $(TARGET_SUBDIR)/libiberty && \
32702 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32704 @endif target-libiberty
32706 # Other targets (info, dvi, etc.)
32708 .PHONY: maybe-info-target-libiberty info-target-libiberty
32709 maybe-info-target-libiberty:
32710 @if target-libiberty
32711 maybe-info-target-libiberty: info-target-libiberty
32713 info-target-libiberty: \
32714 configure-target-libiberty
32715 @: $(MAKE); $(unstage)
32716 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32717 r=`${PWD_COMMAND}`; export r; \
32718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32719 $(NORMAL_TARGET_EXPORTS) \
32720 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32721 for flag in $(EXTRA_TARGET_FLAGS); do \
32722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32723 done; \
32724 (cd $(TARGET_SUBDIR)/libiberty && \
32725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32727 "RANLIB=$${RANLIB}" \
32728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32729 info) \
32730 || exit 1
32732 @endif target-libiberty
32734 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32735 maybe-dvi-target-libiberty:
32736 @if target-libiberty
32737 maybe-dvi-target-libiberty: dvi-target-libiberty
32739 dvi-target-libiberty: \
32740 configure-target-libiberty
32741 @: $(MAKE); $(unstage)
32742 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32743 r=`${PWD_COMMAND}`; export r; \
32744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32745 $(NORMAL_TARGET_EXPORTS) \
32746 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32747 for flag in $(EXTRA_TARGET_FLAGS); do \
32748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32749 done; \
32750 (cd $(TARGET_SUBDIR)/libiberty && \
32751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32753 "RANLIB=$${RANLIB}" \
32754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32755 dvi) \
32756 || exit 1
32758 @endif target-libiberty
32760 .PHONY: maybe-html-target-libiberty html-target-libiberty
32761 maybe-html-target-libiberty:
32762 @if target-libiberty
32763 maybe-html-target-libiberty: html-target-libiberty
32765 html-target-libiberty: \
32766 configure-target-libiberty
32767 @: $(MAKE); $(unstage)
32768 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32769 r=`${PWD_COMMAND}`; export r; \
32770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32771 $(NORMAL_TARGET_EXPORTS) \
32772 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32773 for flag in $(EXTRA_TARGET_FLAGS); do \
32774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32775 done; \
32776 (cd $(TARGET_SUBDIR)/libiberty && \
32777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32779 "RANLIB=$${RANLIB}" \
32780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32781 html) \
32782 || exit 1
32784 @endif target-libiberty
32786 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32787 maybe-TAGS-target-libiberty:
32788 @if target-libiberty
32789 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32791 TAGS-target-libiberty: \
32792 configure-target-libiberty
32793 @: $(MAKE); $(unstage)
32794 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32795 r=`${PWD_COMMAND}`; export r; \
32796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32797 $(NORMAL_TARGET_EXPORTS) \
32798 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32799 for flag in $(EXTRA_TARGET_FLAGS); do \
32800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32801 done; \
32802 (cd $(TARGET_SUBDIR)/libiberty && \
32803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32805 "RANLIB=$${RANLIB}" \
32806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32807 TAGS) \
32808 || exit 1
32810 @endif target-libiberty
32812 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32813 maybe-install-info-target-libiberty:
32814 @if target-libiberty
32815 maybe-install-info-target-libiberty: install-info-target-libiberty
32817 install-info-target-libiberty: \
32818 configure-target-libiberty \
32819 info-target-libiberty
32820 @: $(MAKE); $(unstage)
32821 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32822 r=`${PWD_COMMAND}`; export r; \
32823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32824 $(NORMAL_TARGET_EXPORTS) \
32825 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32826 for flag in $(EXTRA_TARGET_FLAGS); do \
32827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32828 done; \
32829 (cd $(TARGET_SUBDIR)/libiberty && \
32830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32832 "RANLIB=$${RANLIB}" \
32833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32834 install-info) \
32835 || exit 1
32837 @endif target-libiberty
32839 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32840 maybe-installcheck-target-libiberty:
32841 @if target-libiberty
32842 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32844 installcheck-target-libiberty: \
32845 configure-target-libiberty
32846 @: $(MAKE); $(unstage)
32847 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32848 r=`${PWD_COMMAND}`; export r; \
32849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32850 $(NORMAL_TARGET_EXPORTS) \
32851 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32852 for flag in $(EXTRA_TARGET_FLAGS); do \
32853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32854 done; \
32855 (cd $(TARGET_SUBDIR)/libiberty && \
32856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32858 "RANLIB=$${RANLIB}" \
32859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32860 installcheck) \
32861 || exit 1
32863 @endif target-libiberty
32865 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32866 maybe-mostlyclean-target-libiberty:
32867 @if target-libiberty
32868 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32870 mostlyclean-target-libiberty:
32871 @: $(MAKE); $(unstage)
32872 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32873 r=`${PWD_COMMAND}`; export r; \
32874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32875 $(NORMAL_TARGET_EXPORTS) \
32876 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32877 for flag in $(EXTRA_TARGET_FLAGS); do \
32878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32879 done; \
32880 (cd $(TARGET_SUBDIR)/libiberty && \
32881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32883 "RANLIB=$${RANLIB}" \
32884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32885 mostlyclean) \
32886 || exit 1
32888 @endif target-libiberty
32890 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32891 maybe-clean-target-libiberty:
32892 @if target-libiberty
32893 maybe-clean-target-libiberty: clean-target-libiberty
32895 clean-target-libiberty:
32896 @: $(MAKE); $(unstage)
32897 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32898 r=`${PWD_COMMAND}`; export r; \
32899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32900 $(NORMAL_TARGET_EXPORTS) \
32901 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32902 for flag in $(EXTRA_TARGET_FLAGS); do \
32903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32904 done; \
32905 (cd $(TARGET_SUBDIR)/libiberty && \
32906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32908 "RANLIB=$${RANLIB}" \
32909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32910 clean) \
32911 || exit 1
32913 @endif target-libiberty
32915 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32916 maybe-distclean-target-libiberty:
32917 @if target-libiberty
32918 maybe-distclean-target-libiberty: distclean-target-libiberty
32920 distclean-target-libiberty:
32921 @: $(MAKE); $(unstage)
32922 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32923 r=`${PWD_COMMAND}`; export r; \
32924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32925 $(NORMAL_TARGET_EXPORTS) \
32926 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32927 for flag in $(EXTRA_TARGET_FLAGS); do \
32928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32929 done; \
32930 (cd $(TARGET_SUBDIR)/libiberty && \
32931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32933 "RANLIB=$${RANLIB}" \
32934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32935 distclean) \
32936 || exit 1
32938 @endif target-libiberty
32940 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32941 maybe-maintainer-clean-target-libiberty:
32942 @if target-libiberty
32943 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32945 maintainer-clean-target-libiberty:
32946 @: $(MAKE); $(unstage)
32947 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32948 r=`${PWD_COMMAND}`; export r; \
32949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32950 $(NORMAL_TARGET_EXPORTS) \
32951 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32952 for flag in $(EXTRA_TARGET_FLAGS); do \
32953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32954 done; \
32955 (cd $(TARGET_SUBDIR)/libiberty && \
32956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32958 "RANLIB=$${RANLIB}" \
32959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32960 maintainer-clean) \
32961 || exit 1
32963 @endif target-libiberty
32969 .PHONY: configure-target-gperf maybe-configure-target-gperf
32970 maybe-configure-target-gperf:
32971 @if target-gperf
32972 maybe-configure-target-gperf: configure-target-gperf
32973 configure-target-gperf:
32974 @: $(MAKE); $(unstage)
32975 @r=`${PWD_COMMAND}`; export r; \
32976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32977 echo "Checking multilib configuration for gperf..."; \
32978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32979 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
32980 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
32981 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
32982 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
32983 else \
32984 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
32985 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32986 fi; \
32987 else \
32988 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
32989 fi; \
32990 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32992 $(NORMAL_TARGET_EXPORTS) \
32993 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32994 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32995 case $(srcdir) in \
32996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32997 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32999 esac; \
33000 srcdiroption="--srcdir=$${topdir}/gperf"; \
33001 libsrcdir="$$s/gperf"; \
33002 rm -f no-such-file || : ; \
33003 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33004 $(TARGET_CONFIGARGS) $${srcdiroption} \
33005 || exit 1
33006 @endif target-gperf
33012 .PHONY: all-target-gperf maybe-all-target-gperf
33013 maybe-all-target-gperf:
33014 @if target-gperf
33015 TARGET-target-gperf=all
33016 maybe-all-target-gperf: all-target-gperf
33017 all-target-gperf: configure-target-gperf
33018 @: $(MAKE); $(unstage)
33019 @r=`${PWD_COMMAND}`; export r; \
33020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33021 $(NORMAL_TARGET_EXPORTS) \
33022 (cd $(TARGET_SUBDIR)/gperf && \
33023 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
33024 @endif target-gperf
33030 .PHONY: check-target-gperf maybe-check-target-gperf
33031 maybe-check-target-gperf:
33032 @if target-gperf
33033 maybe-check-target-gperf: check-target-gperf
33035 check-target-gperf:
33036 @: $(MAKE); $(unstage)
33037 @r=`${PWD_COMMAND}`; export r; \
33038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33039 $(NORMAL_TARGET_EXPORTS) \
33040 (cd $(TARGET_SUBDIR)/gperf && \
33041 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33043 @endif target-gperf
33045 .PHONY: install-target-gperf maybe-install-target-gperf
33046 maybe-install-target-gperf:
33047 @if target-gperf
33048 maybe-install-target-gperf: install-target-gperf
33050 install-target-gperf: installdirs
33051 @: $(MAKE); $(unstage)
33052 @r=`${PWD_COMMAND}`; export r; \
33053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33054 $(NORMAL_TARGET_EXPORTS) \
33055 (cd $(TARGET_SUBDIR)/gperf && \
33056 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33058 @endif target-gperf
33060 # Other targets (info, dvi, etc.)
33062 .PHONY: maybe-info-target-gperf info-target-gperf
33063 maybe-info-target-gperf:
33064 @if target-gperf
33065 maybe-info-target-gperf: info-target-gperf
33067 info-target-gperf: \
33068 configure-target-gperf
33069 @: $(MAKE); $(unstage)
33070 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33071 r=`${PWD_COMMAND}`; export r; \
33072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33073 $(NORMAL_TARGET_EXPORTS) \
33074 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
33075 for flag in $(EXTRA_TARGET_FLAGS); do \
33076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33077 done; \
33078 (cd $(TARGET_SUBDIR)/gperf && \
33079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33081 "RANLIB=$${RANLIB}" \
33082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33083 info) \
33084 || exit 1
33086 @endif target-gperf
33088 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
33089 maybe-dvi-target-gperf:
33090 @if target-gperf
33091 maybe-dvi-target-gperf: dvi-target-gperf
33093 dvi-target-gperf: \
33094 configure-target-gperf
33095 @: $(MAKE); $(unstage)
33096 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33097 r=`${PWD_COMMAND}`; export r; \
33098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33099 $(NORMAL_TARGET_EXPORTS) \
33100 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
33101 for flag in $(EXTRA_TARGET_FLAGS); do \
33102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33103 done; \
33104 (cd $(TARGET_SUBDIR)/gperf && \
33105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33107 "RANLIB=$${RANLIB}" \
33108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33109 dvi) \
33110 || exit 1
33112 @endif target-gperf
33114 .PHONY: maybe-html-target-gperf html-target-gperf
33115 maybe-html-target-gperf:
33116 @if target-gperf
33117 maybe-html-target-gperf: html-target-gperf
33119 html-target-gperf: \
33120 configure-target-gperf
33121 @: $(MAKE); $(unstage)
33122 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33123 r=`${PWD_COMMAND}`; export r; \
33124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33125 $(NORMAL_TARGET_EXPORTS) \
33126 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
33127 for flag in $(EXTRA_TARGET_FLAGS); do \
33128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33129 done; \
33130 (cd $(TARGET_SUBDIR)/gperf && \
33131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33133 "RANLIB=$${RANLIB}" \
33134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33135 html) \
33136 || exit 1
33138 @endif target-gperf
33140 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
33141 maybe-TAGS-target-gperf:
33142 @if target-gperf
33143 maybe-TAGS-target-gperf: TAGS-target-gperf
33145 TAGS-target-gperf: \
33146 configure-target-gperf
33147 @: $(MAKE); $(unstage)
33148 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33149 r=`${PWD_COMMAND}`; export r; \
33150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33151 $(NORMAL_TARGET_EXPORTS) \
33152 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
33153 for flag in $(EXTRA_TARGET_FLAGS); do \
33154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33155 done; \
33156 (cd $(TARGET_SUBDIR)/gperf && \
33157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33159 "RANLIB=$${RANLIB}" \
33160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33161 TAGS) \
33162 || exit 1
33164 @endif target-gperf
33166 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
33167 maybe-install-info-target-gperf:
33168 @if target-gperf
33169 maybe-install-info-target-gperf: install-info-target-gperf
33171 install-info-target-gperf: \
33172 configure-target-gperf \
33173 info-target-gperf
33174 @: $(MAKE); $(unstage)
33175 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33176 r=`${PWD_COMMAND}`; export r; \
33177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33178 $(NORMAL_TARGET_EXPORTS) \
33179 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
33180 for flag in $(EXTRA_TARGET_FLAGS); do \
33181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33182 done; \
33183 (cd $(TARGET_SUBDIR)/gperf && \
33184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33186 "RANLIB=$${RANLIB}" \
33187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33188 install-info) \
33189 || exit 1
33191 @endif target-gperf
33193 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
33194 maybe-installcheck-target-gperf:
33195 @if target-gperf
33196 maybe-installcheck-target-gperf: installcheck-target-gperf
33198 installcheck-target-gperf: \
33199 configure-target-gperf
33200 @: $(MAKE); $(unstage)
33201 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33202 r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(NORMAL_TARGET_EXPORTS) \
33205 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
33206 for flag in $(EXTRA_TARGET_FLAGS); do \
33207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33208 done; \
33209 (cd $(TARGET_SUBDIR)/gperf && \
33210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33212 "RANLIB=$${RANLIB}" \
33213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33214 installcheck) \
33215 || exit 1
33217 @endif target-gperf
33219 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
33220 maybe-mostlyclean-target-gperf:
33221 @if target-gperf
33222 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
33224 mostlyclean-target-gperf:
33225 @: $(MAKE); $(unstage)
33226 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33227 r=`${PWD_COMMAND}`; export r; \
33228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33229 $(NORMAL_TARGET_EXPORTS) \
33230 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
33231 for flag in $(EXTRA_TARGET_FLAGS); do \
33232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33233 done; \
33234 (cd $(TARGET_SUBDIR)/gperf && \
33235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33237 "RANLIB=$${RANLIB}" \
33238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33239 mostlyclean) \
33240 || exit 1
33242 @endif target-gperf
33244 .PHONY: maybe-clean-target-gperf clean-target-gperf
33245 maybe-clean-target-gperf:
33246 @if target-gperf
33247 maybe-clean-target-gperf: clean-target-gperf
33249 clean-target-gperf:
33250 @: $(MAKE); $(unstage)
33251 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33252 r=`${PWD_COMMAND}`; export r; \
33253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33254 $(NORMAL_TARGET_EXPORTS) \
33255 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
33256 for flag in $(EXTRA_TARGET_FLAGS); do \
33257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33258 done; \
33259 (cd $(TARGET_SUBDIR)/gperf && \
33260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33262 "RANLIB=$${RANLIB}" \
33263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33264 clean) \
33265 || exit 1
33267 @endif target-gperf
33269 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
33270 maybe-distclean-target-gperf:
33271 @if target-gperf
33272 maybe-distclean-target-gperf: distclean-target-gperf
33274 distclean-target-gperf:
33275 @: $(MAKE); $(unstage)
33276 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33277 r=`${PWD_COMMAND}`; export r; \
33278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33279 $(NORMAL_TARGET_EXPORTS) \
33280 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
33281 for flag in $(EXTRA_TARGET_FLAGS); do \
33282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33283 done; \
33284 (cd $(TARGET_SUBDIR)/gperf && \
33285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33287 "RANLIB=$${RANLIB}" \
33288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33289 distclean) \
33290 || exit 1
33292 @endif target-gperf
33294 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
33295 maybe-maintainer-clean-target-gperf:
33296 @if target-gperf
33297 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
33299 maintainer-clean-target-gperf:
33300 @: $(MAKE); $(unstage)
33301 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33302 r=`${PWD_COMMAND}`; export r; \
33303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33304 $(NORMAL_TARGET_EXPORTS) \
33305 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
33306 for flag in $(EXTRA_TARGET_FLAGS); do \
33307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33308 done; \
33309 (cd $(TARGET_SUBDIR)/gperf && \
33310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33312 "RANLIB=$${RANLIB}" \
33313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33314 maintainer-clean) \
33315 || exit 1
33317 @endif target-gperf
33323 .PHONY: configure-target-examples maybe-configure-target-examples
33324 maybe-configure-target-examples:
33325 @if target-examples
33326 maybe-configure-target-examples: configure-target-examples
33327 configure-target-examples:
33328 @: $(MAKE); $(unstage)
33329 @r=`${PWD_COMMAND}`; export r; \
33330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33331 echo "Checking multilib configuration for examples..."; \
33332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33333 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
33334 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
33335 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
33336 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
33337 else \
33338 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
33339 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33340 fi; \
33341 else \
33342 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33343 fi; \
33344 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
33345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33346 $(NORMAL_TARGET_EXPORTS) \
33347 echo Configuring in $(TARGET_SUBDIR)/examples; \
33348 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
33349 case $(srcdir) in \
33350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33351 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
33352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33353 esac; \
33354 srcdiroption="--srcdir=$${topdir}/examples"; \
33355 libsrcdir="$$s/examples"; \
33356 rm -f no-such-file || : ; \
33357 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33358 $(TARGET_CONFIGARGS) $${srcdiroption} \
33359 || exit 1
33360 @endif target-examples
33366 .PHONY: all-target-examples maybe-all-target-examples
33367 maybe-all-target-examples:
33368 @if target-examples
33369 TARGET-target-examples=all
33370 maybe-all-target-examples: all-target-examples
33371 all-target-examples: configure-target-examples
33372 @: $(MAKE); $(unstage)
33373 @r=`${PWD_COMMAND}`; export r; \
33374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33375 $(NORMAL_TARGET_EXPORTS) \
33376 (cd $(TARGET_SUBDIR)/examples && \
33377 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
33378 @endif target-examples
33384 .PHONY: check-target-examples maybe-check-target-examples
33385 maybe-check-target-examples:
33386 @if target-examples
33387 maybe-check-target-examples: check-target-examples
33389 # Dummy target for uncheckable module.
33390 check-target-examples:
33392 @endif target-examples
33394 .PHONY: install-target-examples maybe-install-target-examples
33395 maybe-install-target-examples:
33396 @if target-examples
33397 maybe-install-target-examples: install-target-examples
33399 # Dummy target for uninstallable.
33400 install-target-examples:
33402 @endif target-examples
33404 # Other targets (info, dvi, etc.)
33406 .PHONY: maybe-info-target-examples info-target-examples
33407 maybe-info-target-examples:
33408 @if target-examples
33409 maybe-info-target-examples: info-target-examples
33411 info-target-examples: \
33412 configure-target-examples
33413 @: $(MAKE); $(unstage)
33414 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33415 r=`${PWD_COMMAND}`; export r; \
33416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33417 $(NORMAL_TARGET_EXPORTS) \
33418 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
33419 for flag in $(EXTRA_TARGET_FLAGS); do \
33420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33421 done; \
33422 (cd $(TARGET_SUBDIR)/examples && \
33423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33425 "RANLIB=$${RANLIB}" \
33426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33427 info) \
33428 || exit 1
33430 @endif target-examples
33432 .PHONY: maybe-dvi-target-examples dvi-target-examples
33433 maybe-dvi-target-examples:
33434 @if target-examples
33435 maybe-dvi-target-examples: dvi-target-examples
33437 dvi-target-examples: \
33438 configure-target-examples
33439 @: $(MAKE); $(unstage)
33440 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33441 r=`${PWD_COMMAND}`; export r; \
33442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33443 $(NORMAL_TARGET_EXPORTS) \
33444 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
33445 for flag in $(EXTRA_TARGET_FLAGS); do \
33446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33447 done; \
33448 (cd $(TARGET_SUBDIR)/examples && \
33449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33451 "RANLIB=$${RANLIB}" \
33452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33453 dvi) \
33454 || exit 1
33456 @endif target-examples
33458 .PHONY: maybe-html-target-examples html-target-examples
33459 maybe-html-target-examples:
33460 @if target-examples
33461 maybe-html-target-examples: html-target-examples
33463 html-target-examples: \
33464 configure-target-examples
33465 @: $(MAKE); $(unstage)
33466 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33467 r=`${PWD_COMMAND}`; export r; \
33468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33469 $(NORMAL_TARGET_EXPORTS) \
33470 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
33471 for flag in $(EXTRA_TARGET_FLAGS); do \
33472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33473 done; \
33474 (cd $(TARGET_SUBDIR)/examples && \
33475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33477 "RANLIB=$${RANLIB}" \
33478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33479 html) \
33480 || exit 1
33482 @endif target-examples
33484 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
33485 maybe-TAGS-target-examples:
33486 @if target-examples
33487 maybe-TAGS-target-examples: TAGS-target-examples
33489 TAGS-target-examples: \
33490 configure-target-examples
33491 @: $(MAKE); $(unstage)
33492 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33493 r=`${PWD_COMMAND}`; export r; \
33494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33495 $(NORMAL_TARGET_EXPORTS) \
33496 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
33497 for flag in $(EXTRA_TARGET_FLAGS); do \
33498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33499 done; \
33500 (cd $(TARGET_SUBDIR)/examples && \
33501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33503 "RANLIB=$${RANLIB}" \
33504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33505 TAGS) \
33506 || exit 1
33508 @endif target-examples
33510 .PHONY: maybe-install-info-target-examples install-info-target-examples
33511 maybe-install-info-target-examples:
33512 @if target-examples
33513 maybe-install-info-target-examples: install-info-target-examples
33515 install-info-target-examples: \
33516 configure-target-examples \
33517 info-target-examples
33518 @: $(MAKE); $(unstage)
33519 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(NORMAL_TARGET_EXPORTS) \
33523 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
33524 for flag in $(EXTRA_TARGET_FLAGS); do \
33525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33526 done; \
33527 (cd $(TARGET_SUBDIR)/examples && \
33528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33530 "RANLIB=$${RANLIB}" \
33531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33532 install-info) \
33533 || exit 1
33535 @endif target-examples
33537 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
33538 maybe-installcheck-target-examples:
33539 @if target-examples
33540 maybe-installcheck-target-examples: installcheck-target-examples
33542 installcheck-target-examples: \
33543 configure-target-examples
33544 @: $(MAKE); $(unstage)
33545 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33546 r=`${PWD_COMMAND}`; export r; \
33547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33548 $(NORMAL_TARGET_EXPORTS) \
33549 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
33550 for flag in $(EXTRA_TARGET_FLAGS); do \
33551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33552 done; \
33553 (cd $(TARGET_SUBDIR)/examples && \
33554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33556 "RANLIB=$${RANLIB}" \
33557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33558 installcheck) \
33559 || exit 1
33561 @endif target-examples
33563 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
33564 maybe-mostlyclean-target-examples:
33565 @if target-examples
33566 maybe-mostlyclean-target-examples: mostlyclean-target-examples
33568 mostlyclean-target-examples:
33569 @: $(MAKE); $(unstage)
33570 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33571 r=`${PWD_COMMAND}`; export r; \
33572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33573 $(NORMAL_TARGET_EXPORTS) \
33574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
33575 for flag in $(EXTRA_TARGET_FLAGS); do \
33576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33577 done; \
33578 (cd $(TARGET_SUBDIR)/examples && \
33579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33581 "RANLIB=$${RANLIB}" \
33582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33583 mostlyclean) \
33584 || exit 1
33586 @endif target-examples
33588 .PHONY: maybe-clean-target-examples clean-target-examples
33589 maybe-clean-target-examples:
33590 @if target-examples
33591 maybe-clean-target-examples: clean-target-examples
33593 clean-target-examples:
33594 @: $(MAKE); $(unstage)
33595 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33596 r=`${PWD_COMMAND}`; export r; \
33597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33598 $(NORMAL_TARGET_EXPORTS) \
33599 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
33600 for flag in $(EXTRA_TARGET_FLAGS); do \
33601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33602 done; \
33603 (cd $(TARGET_SUBDIR)/examples && \
33604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33606 "RANLIB=$${RANLIB}" \
33607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33608 clean) \
33609 || exit 1
33611 @endif target-examples
33613 .PHONY: maybe-distclean-target-examples distclean-target-examples
33614 maybe-distclean-target-examples:
33615 @if target-examples
33616 maybe-distclean-target-examples: distclean-target-examples
33618 distclean-target-examples:
33619 @: $(MAKE); $(unstage)
33620 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33621 r=`${PWD_COMMAND}`; export r; \
33622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33623 $(NORMAL_TARGET_EXPORTS) \
33624 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33625 for flag in $(EXTRA_TARGET_FLAGS); do \
33626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33627 done; \
33628 (cd $(TARGET_SUBDIR)/examples && \
33629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33631 "RANLIB=$${RANLIB}" \
33632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33633 distclean) \
33634 || exit 1
33636 @endif target-examples
33638 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33639 maybe-maintainer-clean-target-examples:
33640 @if target-examples
33641 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33643 maintainer-clean-target-examples:
33644 @: $(MAKE); $(unstage)
33645 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33646 r=`${PWD_COMMAND}`; export r; \
33647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33648 $(NORMAL_TARGET_EXPORTS) \
33649 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33650 for flag in $(EXTRA_TARGET_FLAGS); do \
33651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33652 done; \
33653 (cd $(TARGET_SUBDIR)/examples && \
33654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33656 "RANLIB=$${RANLIB}" \
33657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33658 maintainer-clean) \
33659 || exit 1
33661 @endif target-examples
33667 .PHONY: configure-target-libffi maybe-configure-target-libffi
33668 maybe-configure-target-libffi:
33669 @if target-libffi
33670 maybe-configure-target-libffi: configure-target-libffi
33671 configure-target-libffi:
33672 @: $(MAKE); $(unstage)
33673 @r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 echo "Checking multilib configuration for libffi..."; \
33676 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33677 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
33678 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
33679 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
33680 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
33681 else \
33682 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
33683 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33684 fi; \
33685 else \
33686 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
33687 fi; \
33688 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33690 $(NORMAL_TARGET_EXPORTS) \
33691 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33692 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33693 case $(srcdir) in \
33694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33695 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33697 esac; \
33698 srcdiroption="--srcdir=$${topdir}/libffi"; \
33699 libsrcdir="$$s/libffi"; \
33700 rm -f no-such-file || : ; \
33701 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33702 $(TARGET_CONFIGARGS) $${srcdiroption} \
33703 || exit 1
33704 @endif target-libffi
33710 .PHONY: all-target-libffi maybe-all-target-libffi
33711 maybe-all-target-libffi:
33712 @if target-libffi
33713 TARGET-target-libffi=all
33714 maybe-all-target-libffi: all-target-libffi
33715 all-target-libffi: configure-target-libffi
33716 @: $(MAKE); $(unstage)
33717 @r=`${PWD_COMMAND}`; export r; \
33718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33719 $(NORMAL_TARGET_EXPORTS) \
33720 (cd $(TARGET_SUBDIR)/libffi && \
33721 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33722 @endif target-libffi
33728 .PHONY: check-target-libffi maybe-check-target-libffi
33729 maybe-check-target-libffi:
33730 @if target-libffi
33731 maybe-check-target-libffi: check-target-libffi
33733 check-target-libffi:
33734 @: $(MAKE); $(unstage)
33735 @r=`${PWD_COMMAND}`; export r; \
33736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33737 $(NORMAL_TARGET_EXPORTS) \
33738 (cd $(TARGET_SUBDIR)/libffi && \
33739 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33741 @endif target-libffi
33743 .PHONY: install-target-libffi maybe-install-target-libffi
33744 maybe-install-target-libffi:
33745 @if target-libffi
33746 maybe-install-target-libffi: install-target-libffi
33748 install-target-libffi: installdirs
33749 @: $(MAKE); $(unstage)
33750 @r=`${PWD_COMMAND}`; export r; \
33751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33752 $(NORMAL_TARGET_EXPORTS) \
33753 (cd $(TARGET_SUBDIR)/libffi && \
33754 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33756 @endif target-libffi
33758 # Other targets (info, dvi, etc.)
33760 .PHONY: maybe-info-target-libffi info-target-libffi
33761 maybe-info-target-libffi:
33762 @if target-libffi
33763 maybe-info-target-libffi: info-target-libffi
33765 info-target-libffi: \
33766 configure-target-libffi
33767 @: $(MAKE); $(unstage)
33768 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33769 r=`${PWD_COMMAND}`; export r; \
33770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33771 $(NORMAL_TARGET_EXPORTS) \
33772 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33773 for flag in $(EXTRA_TARGET_FLAGS); do \
33774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33775 done; \
33776 (cd $(TARGET_SUBDIR)/libffi && \
33777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33779 "RANLIB=$${RANLIB}" \
33780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33781 info) \
33782 || exit 1
33784 @endif target-libffi
33786 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33787 maybe-dvi-target-libffi:
33788 @if target-libffi
33789 maybe-dvi-target-libffi: dvi-target-libffi
33791 dvi-target-libffi: \
33792 configure-target-libffi
33793 @: $(MAKE); $(unstage)
33794 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33795 r=`${PWD_COMMAND}`; export r; \
33796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33797 $(NORMAL_TARGET_EXPORTS) \
33798 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33799 for flag in $(EXTRA_TARGET_FLAGS); do \
33800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33801 done; \
33802 (cd $(TARGET_SUBDIR)/libffi && \
33803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33805 "RANLIB=$${RANLIB}" \
33806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33807 dvi) \
33808 || exit 1
33810 @endif target-libffi
33812 .PHONY: maybe-html-target-libffi html-target-libffi
33813 maybe-html-target-libffi:
33814 @if target-libffi
33815 maybe-html-target-libffi: html-target-libffi
33817 html-target-libffi: \
33818 configure-target-libffi
33819 @: $(MAKE); $(unstage)
33820 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33821 r=`${PWD_COMMAND}`; export r; \
33822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33823 $(NORMAL_TARGET_EXPORTS) \
33824 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33825 for flag in $(EXTRA_TARGET_FLAGS); do \
33826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33827 done; \
33828 (cd $(TARGET_SUBDIR)/libffi && \
33829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33831 "RANLIB=$${RANLIB}" \
33832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33833 html) \
33834 || exit 1
33836 @endif target-libffi
33838 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33839 maybe-TAGS-target-libffi:
33840 @if target-libffi
33841 maybe-TAGS-target-libffi: TAGS-target-libffi
33843 TAGS-target-libffi: \
33844 configure-target-libffi
33845 @: $(MAKE); $(unstage)
33846 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33847 r=`${PWD_COMMAND}`; export r; \
33848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33849 $(NORMAL_TARGET_EXPORTS) \
33850 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33851 for flag in $(EXTRA_TARGET_FLAGS); do \
33852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33853 done; \
33854 (cd $(TARGET_SUBDIR)/libffi && \
33855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33857 "RANLIB=$${RANLIB}" \
33858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33859 TAGS) \
33860 || exit 1
33862 @endif target-libffi
33864 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33865 maybe-install-info-target-libffi:
33866 @if target-libffi
33867 maybe-install-info-target-libffi: install-info-target-libffi
33869 install-info-target-libffi: \
33870 configure-target-libffi \
33871 info-target-libffi
33872 @: $(MAKE); $(unstage)
33873 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33874 r=`${PWD_COMMAND}`; export r; \
33875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33876 $(NORMAL_TARGET_EXPORTS) \
33877 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33878 for flag in $(EXTRA_TARGET_FLAGS); do \
33879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33880 done; \
33881 (cd $(TARGET_SUBDIR)/libffi && \
33882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33884 "RANLIB=$${RANLIB}" \
33885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33886 install-info) \
33887 || exit 1
33889 @endif target-libffi
33891 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33892 maybe-installcheck-target-libffi:
33893 @if target-libffi
33894 maybe-installcheck-target-libffi: installcheck-target-libffi
33896 installcheck-target-libffi: \
33897 configure-target-libffi
33898 @: $(MAKE); $(unstage)
33899 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33900 r=`${PWD_COMMAND}`; export r; \
33901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33902 $(NORMAL_TARGET_EXPORTS) \
33903 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33904 for flag in $(EXTRA_TARGET_FLAGS); do \
33905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33906 done; \
33907 (cd $(TARGET_SUBDIR)/libffi && \
33908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33910 "RANLIB=$${RANLIB}" \
33911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33912 installcheck) \
33913 || exit 1
33915 @endif target-libffi
33917 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33918 maybe-mostlyclean-target-libffi:
33919 @if target-libffi
33920 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33922 mostlyclean-target-libffi:
33923 @: $(MAKE); $(unstage)
33924 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33925 r=`${PWD_COMMAND}`; export r; \
33926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33927 $(NORMAL_TARGET_EXPORTS) \
33928 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33929 for flag in $(EXTRA_TARGET_FLAGS); do \
33930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33931 done; \
33932 (cd $(TARGET_SUBDIR)/libffi && \
33933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33935 "RANLIB=$${RANLIB}" \
33936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33937 mostlyclean) \
33938 || exit 1
33940 @endif target-libffi
33942 .PHONY: maybe-clean-target-libffi clean-target-libffi
33943 maybe-clean-target-libffi:
33944 @if target-libffi
33945 maybe-clean-target-libffi: clean-target-libffi
33947 clean-target-libffi:
33948 @: $(MAKE); $(unstage)
33949 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33950 r=`${PWD_COMMAND}`; export r; \
33951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33952 $(NORMAL_TARGET_EXPORTS) \
33953 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33954 for flag in $(EXTRA_TARGET_FLAGS); do \
33955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33956 done; \
33957 (cd $(TARGET_SUBDIR)/libffi && \
33958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33960 "RANLIB=$${RANLIB}" \
33961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33962 clean) \
33963 || exit 1
33965 @endif target-libffi
33967 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33968 maybe-distclean-target-libffi:
33969 @if target-libffi
33970 maybe-distclean-target-libffi: distclean-target-libffi
33972 distclean-target-libffi:
33973 @: $(MAKE); $(unstage)
33974 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33975 r=`${PWD_COMMAND}`; export r; \
33976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33977 $(NORMAL_TARGET_EXPORTS) \
33978 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33979 for flag in $(EXTRA_TARGET_FLAGS); do \
33980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33981 done; \
33982 (cd $(TARGET_SUBDIR)/libffi && \
33983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33985 "RANLIB=$${RANLIB}" \
33986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33987 distclean) \
33988 || exit 1
33990 @endif target-libffi
33992 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33993 maybe-maintainer-clean-target-libffi:
33994 @if target-libffi
33995 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33997 maintainer-clean-target-libffi:
33998 @: $(MAKE); $(unstage)
33999 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34000 r=`${PWD_COMMAND}`; export r; \
34001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34002 $(NORMAL_TARGET_EXPORTS) \
34003 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
34004 for flag in $(EXTRA_TARGET_FLAGS); do \
34005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34006 done; \
34007 (cd $(TARGET_SUBDIR)/libffi && \
34008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34010 "RANLIB=$${RANLIB}" \
34011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34012 maintainer-clean) \
34013 || exit 1
34015 @endif target-libffi
34021 .PHONY: configure-target-libjava maybe-configure-target-libjava
34022 maybe-configure-target-libjava:
34023 @if target-libjava
34024 maybe-configure-target-libjava: configure-target-libjava
34025 configure-target-libjava:
34026 @: $(MAKE); $(unstage)
34027 @r=`${PWD_COMMAND}`; export r; \
34028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34029 echo "Checking multilib configuration for libjava..."; \
34030 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
34031 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
34032 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
34033 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
34034 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
34035 else \
34036 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
34037 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
34038 fi; \
34039 else \
34040 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
34041 fi; \
34042 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
34043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
34044 $(RAW_CXX_TARGET_EXPORTS) \
34045 echo Configuring in $(TARGET_SUBDIR)/libjava; \
34046 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
34047 case $(srcdir) in \
34048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34049 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
34050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34051 esac; \
34052 srcdiroption="--srcdir=$${topdir}/libjava"; \
34053 libsrcdir="$$s/libjava"; \
34054 rm -f no-such-file || : ; \
34055 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34056 $(TARGET_CONFIGARGS) $${srcdiroption} \
34057 || exit 1
34058 @endif target-libjava
34064 .PHONY: all-target-libjava maybe-all-target-libjava
34065 maybe-all-target-libjava:
34066 @if target-libjava
34067 TARGET-target-libjava=all
34068 maybe-all-target-libjava: all-target-libjava
34069 all-target-libjava: configure-target-libjava
34070 @: $(MAKE); $(unstage)
34071 @r=`${PWD_COMMAND}`; export r; \
34072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34073 $(RAW_CXX_TARGET_EXPORTS) \
34074 (cd $(TARGET_SUBDIR)/libjava && \
34075 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
34076 @endif target-libjava
34082 .PHONY: check-target-libjava maybe-check-target-libjava
34083 maybe-check-target-libjava:
34084 @if target-libjava
34085 maybe-check-target-libjava: check-target-libjava
34087 check-target-libjava:
34088 @: $(MAKE); $(unstage)
34089 @r=`${PWD_COMMAND}`; export r; \
34090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34091 $(RAW_CXX_TARGET_EXPORTS) \
34092 (cd $(TARGET_SUBDIR)/libjava && \
34093 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34095 @endif target-libjava
34097 .PHONY: install-target-libjava maybe-install-target-libjava
34098 maybe-install-target-libjava:
34099 @if target-libjava
34100 maybe-install-target-libjava: install-target-libjava
34102 install-target-libjava: installdirs
34103 @: $(MAKE); $(unstage)
34104 @r=`${PWD_COMMAND}`; export r; \
34105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34106 $(RAW_CXX_TARGET_EXPORTS) \
34107 (cd $(TARGET_SUBDIR)/libjava && \
34108 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34110 @endif target-libjava
34112 # Other targets (info, dvi, etc.)
34114 .PHONY: maybe-info-target-libjava info-target-libjava
34115 maybe-info-target-libjava:
34116 @if target-libjava
34117 maybe-info-target-libjava: info-target-libjava
34119 info-target-libjava: \
34120 configure-target-libjava
34121 @: $(MAKE); $(unstage)
34122 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34123 r=`${PWD_COMMAND}`; export r; \
34124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34125 $(RAW_CXX_TARGET_EXPORTS) \
34126 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
34127 for flag in $(EXTRA_TARGET_FLAGS); do \
34128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34129 done; \
34130 (cd $(TARGET_SUBDIR)/libjava && \
34131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34133 "RANLIB=$${RANLIB}" \
34134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34135 info) \
34136 || exit 1
34138 @endif target-libjava
34140 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
34141 maybe-dvi-target-libjava:
34142 @if target-libjava
34143 maybe-dvi-target-libjava: dvi-target-libjava
34145 dvi-target-libjava: \
34146 configure-target-libjava
34147 @: $(MAKE); $(unstage)
34148 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34149 r=`${PWD_COMMAND}`; export r; \
34150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34151 $(RAW_CXX_TARGET_EXPORTS) \
34152 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
34153 for flag in $(EXTRA_TARGET_FLAGS); do \
34154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34155 done; \
34156 (cd $(TARGET_SUBDIR)/libjava && \
34157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34159 "RANLIB=$${RANLIB}" \
34160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34161 dvi) \
34162 || exit 1
34164 @endif target-libjava
34166 .PHONY: maybe-html-target-libjava html-target-libjava
34167 maybe-html-target-libjava:
34168 @if target-libjava
34169 maybe-html-target-libjava: html-target-libjava
34171 html-target-libjava: \
34172 configure-target-libjava
34173 @: $(MAKE); $(unstage)
34174 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34175 r=`${PWD_COMMAND}`; export r; \
34176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34177 $(RAW_CXX_TARGET_EXPORTS) \
34178 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
34179 for flag in $(EXTRA_TARGET_FLAGS); do \
34180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34181 done; \
34182 (cd $(TARGET_SUBDIR)/libjava && \
34183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34185 "RANLIB=$${RANLIB}" \
34186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34187 html) \
34188 || exit 1
34190 @endif target-libjava
34192 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
34193 maybe-TAGS-target-libjava:
34194 @if target-libjava
34195 maybe-TAGS-target-libjava: TAGS-target-libjava
34197 TAGS-target-libjava: \
34198 configure-target-libjava
34199 @: $(MAKE); $(unstage)
34200 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34201 r=`${PWD_COMMAND}`; export r; \
34202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34203 $(RAW_CXX_TARGET_EXPORTS) \
34204 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
34205 for flag in $(EXTRA_TARGET_FLAGS); do \
34206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34207 done; \
34208 (cd $(TARGET_SUBDIR)/libjava && \
34209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34211 "RANLIB=$${RANLIB}" \
34212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34213 TAGS) \
34214 || exit 1
34216 @endif target-libjava
34218 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
34219 maybe-install-info-target-libjava:
34220 @if target-libjava
34221 maybe-install-info-target-libjava: install-info-target-libjava
34223 install-info-target-libjava: \
34224 configure-target-libjava \
34225 info-target-libjava
34226 @: $(MAKE); $(unstage)
34227 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34228 r=`${PWD_COMMAND}`; export r; \
34229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34230 $(RAW_CXX_TARGET_EXPORTS) \
34231 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
34232 for flag in $(EXTRA_TARGET_FLAGS); do \
34233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34234 done; \
34235 (cd $(TARGET_SUBDIR)/libjava && \
34236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34238 "RANLIB=$${RANLIB}" \
34239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34240 install-info) \
34241 || exit 1
34243 @endif target-libjava
34245 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
34246 maybe-installcheck-target-libjava:
34247 @if target-libjava
34248 maybe-installcheck-target-libjava: installcheck-target-libjava
34250 installcheck-target-libjava: \
34251 configure-target-libjava
34252 @: $(MAKE); $(unstage)
34253 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34254 r=`${PWD_COMMAND}`; export r; \
34255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34256 $(RAW_CXX_TARGET_EXPORTS) \
34257 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
34258 for flag in $(EXTRA_TARGET_FLAGS); do \
34259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34260 done; \
34261 (cd $(TARGET_SUBDIR)/libjava && \
34262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34264 "RANLIB=$${RANLIB}" \
34265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34266 installcheck) \
34267 || exit 1
34269 @endif target-libjava
34271 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
34272 maybe-mostlyclean-target-libjava:
34273 @if target-libjava
34274 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
34276 mostlyclean-target-libjava:
34277 @: $(MAKE); $(unstage)
34278 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34279 r=`${PWD_COMMAND}`; export r; \
34280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34281 $(RAW_CXX_TARGET_EXPORTS) \
34282 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
34283 for flag in $(EXTRA_TARGET_FLAGS); do \
34284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34285 done; \
34286 (cd $(TARGET_SUBDIR)/libjava && \
34287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34289 "RANLIB=$${RANLIB}" \
34290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34291 mostlyclean) \
34292 || exit 1
34294 @endif target-libjava
34296 .PHONY: maybe-clean-target-libjava clean-target-libjava
34297 maybe-clean-target-libjava:
34298 @if target-libjava
34299 maybe-clean-target-libjava: clean-target-libjava
34301 clean-target-libjava:
34302 @: $(MAKE); $(unstage)
34303 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34304 r=`${PWD_COMMAND}`; export r; \
34305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34306 $(RAW_CXX_TARGET_EXPORTS) \
34307 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
34308 for flag in $(EXTRA_TARGET_FLAGS); do \
34309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34310 done; \
34311 (cd $(TARGET_SUBDIR)/libjava && \
34312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34314 "RANLIB=$${RANLIB}" \
34315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34316 clean) \
34317 || exit 1
34319 @endif target-libjava
34321 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
34322 maybe-distclean-target-libjava:
34323 @if target-libjava
34324 maybe-distclean-target-libjava: distclean-target-libjava
34326 distclean-target-libjava:
34327 @: $(MAKE); $(unstage)
34328 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34329 r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 $(RAW_CXX_TARGET_EXPORTS) \
34332 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
34333 for flag in $(EXTRA_TARGET_FLAGS); do \
34334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34335 done; \
34336 (cd $(TARGET_SUBDIR)/libjava && \
34337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34339 "RANLIB=$${RANLIB}" \
34340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34341 distclean) \
34342 || exit 1
34344 @endif target-libjava
34346 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
34347 maybe-maintainer-clean-target-libjava:
34348 @if target-libjava
34349 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
34351 maintainer-clean-target-libjava:
34352 @: $(MAKE); $(unstage)
34353 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34354 r=`${PWD_COMMAND}`; export r; \
34355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34356 $(RAW_CXX_TARGET_EXPORTS) \
34357 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
34358 for flag in $(EXTRA_TARGET_FLAGS); do \
34359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34360 done; \
34361 (cd $(TARGET_SUBDIR)/libjava && \
34362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34364 "RANLIB=$${RANLIB}" \
34365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34366 maintainer-clean) \
34367 || exit 1
34369 @endif target-libjava
34375 .PHONY: configure-target-zlib maybe-configure-target-zlib
34376 maybe-configure-target-zlib:
34377 @if target-zlib
34378 maybe-configure-target-zlib: configure-target-zlib
34379 configure-target-zlib:
34380 @: $(MAKE); $(unstage)
34381 @r=`${PWD_COMMAND}`; export r; \
34382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34383 echo "Checking multilib configuration for zlib..."; \
34384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34385 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
34386 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
34387 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
34388 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
34389 else \
34390 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
34391 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34392 fi; \
34393 else \
34394 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34395 fi; \
34396 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
34397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34398 $(NORMAL_TARGET_EXPORTS) \
34399 echo Configuring in $(TARGET_SUBDIR)/zlib; \
34400 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
34401 case $(srcdir) in \
34402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34403 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
34404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34405 esac; \
34406 srcdiroption="--srcdir=$${topdir}/zlib"; \
34407 libsrcdir="$$s/zlib"; \
34408 rm -f no-such-file || : ; \
34409 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34410 $(TARGET_CONFIGARGS) $${srcdiroption} \
34411 || exit 1
34412 @endif target-zlib
34418 .PHONY: all-target-zlib maybe-all-target-zlib
34419 maybe-all-target-zlib:
34420 @if target-zlib
34421 TARGET-target-zlib=all
34422 maybe-all-target-zlib: all-target-zlib
34423 all-target-zlib: configure-target-zlib
34424 @: $(MAKE); $(unstage)
34425 @r=`${PWD_COMMAND}`; export r; \
34426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34427 $(NORMAL_TARGET_EXPORTS) \
34428 (cd $(TARGET_SUBDIR)/zlib && \
34429 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
34430 @endif target-zlib
34436 .PHONY: check-target-zlib maybe-check-target-zlib
34437 maybe-check-target-zlib:
34438 @if target-zlib
34439 maybe-check-target-zlib: check-target-zlib
34441 check-target-zlib:
34442 @: $(MAKE); $(unstage)
34443 @r=`${PWD_COMMAND}`; export r; \
34444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34445 $(NORMAL_TARGET_EXPORTS) \
34446 (cd $(TARGET_SUBDIR)/zlib && \
34447 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34449 @endif target-zlib
34451 .PHONY: install-target-zlib maybe-install-target-zlib
34452 maybe-install-target-zlib:
34453 @if target-zlib
34454 maybe-install-target-zlib: install-target-zlib
34456 install-target-zlib: installdirs
34457 @: $(MAKE); $(unstage)
34458 @r=`${PWD_COMMAND}`; export r; \
34459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34460 $(NORMAL_TARGET_EXPORTS) \
34461 (cd $(TARGET_SUBDIR)/zlib && \
34462 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34464 @endif target-zlib
34466 # Other targets (info, dvi, etc.)
34468 .PHONY: maybe-info-target-zlib info-target-zlib
34469 maybe-info-target-zlib:
34470 @if target-zlib
34471 maybe-info-target-zlib: info-target-zlib
34473 info-target-zlib: \
34474 configure-target-zlib
34475 @: $(MAKE); $(unstage)
34476 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34477 r=`${PWD_COMMAND}`; export r; \
34478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34479 $(NORMAL_TARGET_EXPORTS) \
34480 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
34481 for flag in $(EXTRA_TARGET_FLAGS); do \
34482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34483 done; \
34484 (cd $(TARGET_SUBDIR)/zlib && \
34485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34487 "RANLIB=$${RANLIB}" \
34488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34489 info) \
34490 || exit 1
34492 @endif target-zlib
34494 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
34495 maybe-dvi-target-zlib:
34496 @if target-zlib
34497 maybe-dvi-target-zlib: dvi-target-zlib
34499 dvi-target-zlib: \
34500 configure-target-zlib
34501 @: $(MAKE); $(unstage)
34502 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34503 r=`${PWD_COMMAND}`; export r; \
34504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34505 $(NORMAL_TARGET_EXPORTS) \
34506 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
34507 for flag in $(EXTRA_TARGET_FLAGS); do \
34508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34509 done; \
34510 (cd $(TARGET_SUBDIR)/zlib && \
34511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34513 "RANLIB=$${RANLIB}" \
34514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34515 dvi) \
34516 || exit 1
34518 @endif target-zlib
34520 .PHONY: maybe-html-target-zlib html-target-zlib
34521 maybe-html-target-zlib:
34522 @if target-zlib
34523 maybe-html-target-zlib: html-target-zlib
34525 html-target-zlib: \
34526 configure-target-zlib
34527 @: $(MAKE); $(unstage)
34528 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34529 r=`${PWD_COMMAND}`; export r; \
34530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34531 $(NORMAL_TARGET_EXPORTS) \
34532 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
34533 for flag in $(EXTRA_TARGET_FLAGS); do \
34534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34535 done; \
34536 (cd $(TARGET_SUBDIR)/zlib && \
34537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34539 "RANLIB=$${RANLIB}" \
34540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34541 html) \
34542 || exit 1
34544 @endif target-zlib
34546 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
34547 maybe-TAGS-target-zlib:
34548 @if target-zlib
34549 maybe-TAGS-target-zlib: TAGS-target-zlib
34551 TAGS-target-zlib: \
34552 configure-target-zlib
34553 @: $(MAKE); $(unstage)
34554 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34555 r=`${PWD_COMMAND}`; export r; \
34556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34557 $(NORMAL_TARGET_EXPORTS) \
34558 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
34559 for flag in $(EXTRA_TARGET_FLAGS); do \
34560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34561 done; \
34562 (cd $(TARGET_SUBDIR)/zlib && \
34563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34565 "RANLIB=$${RANLIB}" \
34566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34567 TAGS) \
34568 || exit 1
34570 @endif target-zlib
34572 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
34573 maybe-install-info-target-zlib:
34574 @if target-zlib
34575 maybe-install-info-target-zlib: install-info-target-zlib
34577 install-info-target-zlib: \
34578 configure-target-zlib \
34579 info-target-zlib
34580 @: $(MAKE); $(unstage)
34581 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34582 r=`${PWD_COMMAND}`; export r; \
34583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34584 $(NORMAL_TARGET_EXPORTS) \
34585 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
34586 for flag in $(EXTRA_TARGET_FLAGS); do \
34587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34588 done; \
34589 (cd $(TARGET_SUBDIR)/zlib && \
34590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34592 "RANLIB=$${RANLIB}" \
34593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34594 install-info) \
34595 || exit 1
34597 @endif target-zlib
34599 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34600 maybe-installcheck-target-zlib:
34601 @if target-zlib
34602 maybe-installcheck-target-zlib: installcheck-target-zlib
34604 installcheck-target-zlib: \
34605 configure-target-zlib
34606 @: $(MAKE); $(unstage)
34607 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34608 r=`${PWD_COMMAND}`; export r; \
34609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34610 $(NORMAL_TARGET_EXPORTS) \
34611 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34612 for flag in $(EXTRA_TARGET_FLAGS); do \
34613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34614 done; \
34615 (cd $(TARGET_SUBDIR)/zlib && \
34616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34618 "RANLIB=$${RANLIB}" \
34619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34620 installcheck) \
34621 || exit 1
34623 @endif target-zlib
34625 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34626 maybe-mostlyclean-target-zlib:
34627 @if target-zlib
34628 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34630 mostlyclean-target-zlib:
34631 @: $(MAKE); $(unstage)
34632 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34633 r=`${PWD_COMMAND}`; export r; \
34634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34635 $(NORMAL_TARGET_EXPORTS) \
34636 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34637 for flag in $(EXTRA_TARGET_FLAGS); do \
34638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34639 done; \
34640 (cd $(TARGET_SUBDIR)/zlib && \
34641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34643 "RANLIB=$${RANLIB}" \
34644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34645 mostlyclean) \
34646 || exit 1
34648 @endif target-zlib
34650 .PHONY: maybe-clean-target-zlib clean-target-zlib
34651 maybe-clean-target-zlib:
34652 @if target-zlib
34653 maybe-clean-target-zlib: clean-target-zlib
34655 clean-target-zlib:
34656 @: $(MAKE); $(unstage)
34657 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34658 r=`${PWD_COMMAND}`; export r; \
34659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34660 $(NORMAL_TARGET_EXPORTS) \
34661 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34662 for flag in $(EXTRA_TARGET_FLAGS); do \
34663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34664 done; \
34665 (cd $(TARGET_SUBDIR)/zlib && \
34666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34668 "RANLIB=$${RANLIB}" \
34669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34670 clean) \
34671 || exit 1
34673 @endif target-zlib
34675 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34676 maybe-distclean-target-zlib:
34677 @if target-zlib
34678 maybe-distclean-target-zlib: distclean-target-zlib
34680 distclean-target-zlib:
34681 @: $(MAKE); $(unstage)
34682 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34683 r=`${PWD_COMMAND}`; export r; \
34684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34685 $(NORMAL_TARGET_EXPORTS) \
34686 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34687 for flag in $(EXTRA_TARGET_FLAGS); do \
34688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34689 done; \
34690 (cd $(TARGET_SUBDIR)/zlib && \
34691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34693 "RANLIB=$${RANLIB}" \
34694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34695 distclean) \
34696 || exit 1
34698 @endif target-zlib
34700 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34701 maybe-maintainer-clean-target-zlib:
34702 @if target-zlib
34703 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34705 maintainer-clean-target-zlib:
34706 @: $(MAKE); $(unstage)
34707 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34708 r=`${PWD_COMMAND}`; export r; \
34709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34710 $(NORMAL_TARGET_EXPORTS) \
34711 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34712 for flag in $(EXTRA_TARGET_FLAGS); do \
34713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34714 done; \
34715 (cd $(TARGET_SUBDIR)/zlib && \
34716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34718 "RANLIB=$${RANLIB}" \
34719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34720 maintainer-clean) \
34721 || exit 1
34723 @endif target-zlib
34729 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34730 maybe-configure-target-boehm-gc:
34731 @if target-boehm-gc
34732 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34733 configure-target-boehm-gc:
34734 @: $(MAKE); $(unstage)
34735 @r=`${PWD_COMMAND}`; export r; \
34736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34737 echo "Checking multilib configuration for boehm-gc..."; \
34738 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
34740 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34741 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
34742 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
34743 else \
34744 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
34745 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34746 fi; \
34747 else \
34748 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
34749 fi; \
34750 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34752 $(NORMAL_TARGET_EXPORTS) \
34753 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34754 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34755 case $(srcdir) in \
34756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34757 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34759 esac; \
34760 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34761 libsrcdir="$$s/boehm-gc"; \
34762 rm -f no-such-file || : ; \
34763 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34764 $(TARGET_CONFIGARGS) $${srcdiroption} \
34765 || exit 1
34766 @endif target-boehm-gc
34772 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34773 maybe-all-target-boehm-gc:
34774 @if target-boehm-gc
34775 TARGET-target-boehm-gc=all
34776 maybe-all-target-boehm-gc: all-target-boehm-gc
34777 all-target-boehm-gc: configure-target-boehm-gc
34778 @: $(MAKE); $(unstage)
34779 @r=`${PWD_COMMAND}`; export r; \
34780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34781 $(NORMAL_TARGET_EXPORTS) \
34782 (cd $(TARGET_SUBDIR)/boehm-gc && \
34783 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34784 @endif target-boehm-gc
34790 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34791 maybe-check-target-boehm-gc:
34792 @if target-boehm-gc
34793 maybe-check-target-boehm-gc: check-target-boehm-gc
34795 check-target-boehm-gc:
34796 @: $(MAKE); $(unstage)
34797 @r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(NORMAL_TARGET_EXPORTS) \
34800 (cd $(TARGET_SUBDIR)/boehm-gc && \
34801 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34803 @endif target-boehm-gc
34805 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34806 maybe-install-target-boehm-gc:
34807 @if target-boehm-gc
34808 maybe-install-target-boehm-gc: install-target-boehm-gc
34810 install-target-boehm-gc: installdirs
34811 @: $(MAKE); $(unstage)
34812 @r=`${PWD_COMMAND}`; export r; \
34813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34814 $(NORMAL_TARGET_EXPORTS) \
34815 (cd $(TARGET_SUBDIR)/boehm-gc && \
34816 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34818 @endif target-boehm-gc
34820 # Other targets (info, dvi, etc.)
34822 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34823 maybe-info-target-boehm-gc:
34824 @if target-boehm-gc
34825 maybe-info-target-boehm-gc: info-target-boehm-gc
34827 info-target-boehm-gc: \
34828 configure-target-boehm-gc
34829 @: $(MAKE); $(unstage)
34830 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34831 r=`${PWD_COMMAND}`; export r; \
34832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34833 $(NORMAL_TARGET_EXPORTS) \
34834 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34835 for flag in $(EXTRA_TARGET_FLAGS); do \
34836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34837 done; \
34838 (cd $(TARGET_SUBDIR)/boehm-gc && \
34839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34841 "RANLIB=$${RANLIB}" \
34842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34843 info) \
34844 || exit 1
34846 @endif target-boehm-gc
34848 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34849 maybe-dvi-target-boehm-gc:
34850 @if target-boehm-gc
34851 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34853 dvi-target-boehm-gc: \
34854 configure-target-boehm-gc
34855 @: $(MAKE); $(unstage)
34856 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34857 r=`${PWD_COMMAND}`; export r; \
34858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34859 $(NORMAL_TARGET_EXPORTS) \
34860 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34861 for flag in $(EXTRA_TARGET_FLAGS); do \
34862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34863 done; \
34864 (cd $(TARGET_SUBDIR)/boehm-gc && \
34865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34867 "RANLIB=$${RANLIB}" \
34868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34869 dvi) \
34870 || exit 1
34872 @endif target-boehm-gc
34874 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34875 maybe-html-target-boehm-gc:
34876 @if target-boehm-gc
34877 maybe-html-target-boehm-gc: html-target-boehm-gc
34879 html-target-boehm-gc: \
34880 configure-target-boehm-gc
34881 @: $(MAKE); $(unstage)
34882 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34883 r=`${PWD_COMMAND}`; export r; \
34884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34885 $(NORMAL_TARGET_EXPORTS) \
34886 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34887 for flag in $(EXTRA_TARGET_FLAGS); do \
34888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34889 done; \
34890 (cd $(TARGET_SUBDIR)/boehm-gc && \
34891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34893 "RANLIB=$${RANLIB}" \
34894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34895 html) \
34896 || exit 1
34898 @endif target-boehm-gc
34900 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34901 maybe-TAGS-target-boehm-gc:
34902 @if target-boehm-gc
34903 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34905 TAGS-target-boehm-gc: \
34906 configure-target-boehm-gc
34907 @: $(MAKE); $(unstage)
34908 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34909 r=`${PWD_COMMAND}`; export r; \
34910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34911 $(NORMAL_TARGET_EXPORTS) \
34912 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34913 for flag in $(EXTRA_TARGET_FLAGS); do \
34914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34915 done; \
34916 (cd $(TARGET_SUBDIR)/boehm-gc && \
34917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34919 "RANLIB=$${RANLIB}" \
34920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34921 TAGS) \
34922 || exit 1
34924 @endif target-boehm-gc
34926 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34927 maybe-install-info-target-boehm-gc:
34928 @if target-boehm-gc
34929 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34931 install-info-target-boehm-gc: \
34932 configure-target-boehm-gc \
34933 info-target-boehm-gc
34934 @: $(MAKE); $(unstage)
34935 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34936 r=`${PWD_COMMAND}`; export r; \
34937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34938 $(NORMAL_TARGET_EXPORTS) \
34939 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34940 for flag in $(EXTRA_TARGET_FLAGS); do \
34941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34942 done; \
34943 (cd $(TARGET_SUBDIR)/boehm-gc && \
34944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34946 "RANLIB=$${RANLIB}" \
34947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34948 install-info) \
34949 || exit 1
34951 @endif target-boehm-gc
34953 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34954 maybe-installcheck-target-boehm-gc:
34955 @if target-boehm-gc
34956 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34958 installcheck-target-boehm-gc: \
34959 configure-target-boehm-gc
34960 @: $(MAKE); $(unstage)
34961 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34962 r=`${PWD_COMMAND}`; export r; \
34963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34964 $(NORMAL_TARGET_EXPORTS) \
34965 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34966 for flag in $(EXTRA_TARGET_FLAGS); do \
34967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34968 done; \
34969 (cd $(TARGET_SUBDIR)/boehm-gc && \
34970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34972 "RANLIB=$${RANLIB}" \
34973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34974 installcheck) \
34975 || exit 1
34977 @endif target-boehm-gc
34979 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34980 maybe-mostlyclean-target-boehm-gc:
34981 @if target-boehm-gc
34982 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34984 mostlyclean-target-boehm-gc:
34985 @: $(MAKE); $(unstage)
34986 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34987 r=`${PWD_COMMAND}`; export r; \
34988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34989 $(NORMAL_TARGET_EXPORTS) \
34990 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34991 for flag in $(EXTRA_TARGET_FLAGS); do \
34992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34993 done; \
34994 (cd $(TARGET_SUBDIR)/boehm-gc && \
34995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34997 "RANLIB=$${RANLIB}" \
34998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34999 mostlyclean) \
35000 || exit 1
35002 @endif target-boehm-gc
35004 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
35005 maybe-clean-target-boehm-gc:
35006 @if target-boehm-gc
35007 maybe-clean-target-boehm-gc: clean-target-boehm-gc
35009 clean-target-boehm-gc:
35010 @: $(MAKE); $(unstage)
35011 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35012 r=`${PWD_COMMAND}`; export r; \
35013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35014 $(NORMAL_TARGET_EXPORTS) \
35015 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
35016 for flag in $(EXTRA_TARGET_FLAGS); do \
35017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35018 done; \
35019 (cd $(TARGET_SUBDIR)/boehm-gc && \
35020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35022 "RANLIB=$${RANLIB}" \
35023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35024 clean) \
35025 || exit 1
35027 @endif target-boehm-gc
35029 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
35030 maybe-distclean-target-boehm-gc:
35031 @if target-boehm-gc
35032 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
35034 distclean-target-boehm-gc:
35035 @: $(MAKE); $(unstage)
35036 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35037 r=`${PWD_COMMAND}`; export r; \
35038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35039 $(NORMAL_TARGET_EXPORTS) \
35040 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
35041 for flag in $(EXTRA_TARGET_FLAGS); do \
35042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35043 done; \
35044 (cd $(TARGET_SUBDIR)/boehm-gc && \
35045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35047 "RANLIB=$${RANLIB}" \
35048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35049 distclean) \
35050 || exit 1
35052 @endif target-boehm-gc
35054 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
35055 maybe-maintainer-clean-target-boehm-gc:
35056 @if target-boehm-gc
35057 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
35059 maintainer-clean-target-boehm-gc:
35060 @: $(MAKE); $(unstage)
35061 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35062 r=`${PWD_COMMAND}`; export r; \
35063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35064 $(NORMAL_TARGET_EXPORTS) \
35065 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
35066 for flag in $(EXTRA_TARGET_FLAGS); do \
35067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35068 done; \
35069 (cd $(TARGET_SUBDIR)/boehm-gc && \
35070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35072 "RANLIB=$${RANLIB}" \
35073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35074 maintainer-clean) \
35075 || exit 1
35077 @endif target-boehm-gc
35083 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
35084 maybe-configure-target-qthreads:
35085 @if target-qthreads
35086 maybe-configure-target-qthreads: configure-target-qthreads
35087 configure-target-qthreads:
35088 @: $(MAKE); $(unstage)
35089 @r=`${PWD_COMMAND}`; export r; \
35090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35091 echo "Checking multilib configuration for qthreads..."; \
35092 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
35093 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
35094 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
35095 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
35096 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
35097 else \
35098 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
35099 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
35100 fi; \
35101 else \
35102 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
35103 fi; \
35104 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
35105 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
35106 $(NORMAL_TARGET_EXPORTS) \
35107 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
35108 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
35109 case $(srcdir) in \
35110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35111 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
35112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35113 esac; \
35114 srcdiroption="--srcdir=$${topdir}/qthreads"; \
35115 libsrcdir="$$s/qthreads"; \
35116 rm -f no-such-file || : ; \
35117 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35118 $(TARGET_CONFIGARGS) $${srcdiroption} \
35119 || exit 1
35120 @endif target-qthreads
35126 .PHONY: all-target-qthreads maybe-all-target-qthreads
35127 maybe-all-target-qthreads:
35128 @if target-qthreads
35129 TARGET-target-qthreads=all
35130 maybe-all-target-qthreads: all-target-qthreads
35131 all-target-qthreads: configure-target-qthreads
35132 @: $(MAKE); $(unstage)
35133 @r=`${PWD_COMMAND}`; export r; \
35134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35135 $(NORMAL_TARGET_EXPORTS) \
35136 (cd $(TARGET_SUBDIR)/qthreads && \
35137 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
35138 @endif target-qthreads
35144 .PHONY: check-target-qthreads maybe-check-target-qthreads
35145 maybe-check-target-qthreads:
35146 @if target-qthreads
35147 maybe-check-target-qthreads: check-target-qthreads
35149 check-target-qthreads:
35150 @: $(MAKE); $(unstage)
35151 @r=`${PWD_COMMAND}`; export r; \
35152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35153 $(NORMAL_TARGET_EXPORTS) \
35154 (cd $(TARGET_SUBDIR)/qthreads && \
35155 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35157 @endif target-qthreads
35159 .PHONY: install-target-qthreads maybe-install-target-qthreads
35160 maybe-install-target-qthreads:
35161 @if target-qthreads
35162 maybe-install-target-qthreads: install-target-qthreads
35164 install-target-qthreads: installdirs
35165 @: $(MAKE); $(unstage)
35166 @r=`${PWD_COMMAND}`; export r; \
35167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35168 $(NORMAL_TARGET_EXPORTS) \
35169 (cd $(TARGET_SUBDIR)/qthreads && \
35170 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35172 @endif target-qthreads
35174 # Other targets (info, dvi, etc.)
35176 .PHONY: maybe-info-target-qthreads info-target-qthreads
35177 maybe-info-target-qthreads:
35178 @if target-qthreads
35179 maybe-info-target-qthreads: info-target-qthreads
35181 info-target-qthreads: \
35182 configure-target-qthreads
35183 @: $(MAKE); $(unstage)
35184 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35185 r=`${PWD_COMMAND}`; export r; \
35186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35187 $(NORMAL_TARGET_EXPORTS) \
35188 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
35189 for flag in $(EXTRA_TARGET_FLAGS); do \
35190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35191 done; \
35192 (cd $(TARGET_SUBDIR)/qthreads && \
35193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35195 "RANLIB=$${RANLIB}" \
35196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35197 info) \
35198 || exit 1
35200 @endif target-qthreads
35202 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
35203 maybe-dvi-target-qthreads:
35204 @if target-qthreads
35205 maybe-dvi-target-qthreads: dvi-target-qthreads
35207 dvi-target-qthreads: \
35208 configure-target-qthreads
35209 @: $(MAKE); $(unstage)
35210 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35211 r=`${PWD_COMMAND}`; export r; \
35212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35213 $(NORMAL_TARGET_EXPORTS) \
35214 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
35215 for flag in $(EXTRA_TARGET_FLAGS); do \
35216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35217 done; \
35218 (cd $(TARGET_SUBDIR)/qthreads && \
35219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35221 "RANLIB=$${RANLIB}" \
35222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35223 dvi) \
35224 || exit 1
35226 @endif target-qthreads
35228 .PHONY: maybe-html-target-qthreads html-target-qthreads
35229 maybe-html-target-qthreads:
35230 @if target-qthreads
35231 maybe-html-target-qthreads: html-target-qthreads
35233 html-target-qthreads: \
35234 configure-target-qthreads
35235 @: $(MAKE); $(unstage)
35236 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35237 r=`${PWD_COMMAND}`; export r; \
35238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35239 $(NORMAL_TARGET_EXPORTS) \
35240 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
35241 for flag in $(EXTRA_TARGET_FLAGS); do \
35242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35243 done; \
35244 (cd $(TARGET_SUBDIR)/qthreads && \
35245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35247 "RANLIB=$${RANLIB}" \
35248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35249 html) \
35250 || exit 1
35252 @endif target-qthreads
35254 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
35255 maybe-TAGS-target-qthreads:
35256 @if target-qthreads
35257 maybe-TAGS-target-qthreads: TAGS-target-qthreads
35259 TAGS-target-qthreads: \
35260 configure-target-qthreads
35261 @: $(MAKE); $(unstage)
35262 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35263 r=`${PWD_COMMAND}`; export r; \
35264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35265 $(NORMAL_TARGET_EXPORTS) \
35266 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
35267 for flag in $(EXTRA_TARGET_FLAGS); do \
35268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35269 done; \
35270 (cd $(TARGET_SUBDIR)/qthreads && \
35271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35273 "RANLIB=$${RANLIB}" \
35274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35275 TAGS) \
35276 || exit 1
35278 @endif target-qthreads
35280 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
35281 maybe-install-info-target-qthreads:
35282 @if target-qthreads
35283 maybe-install-info-target-qthreads: install-info-target-qthreads
35285 install-info-target-qthreads: \
35286 configure-target-qthreads \
35287 info-target-qthreads
35288 @: $(MAKE); $(unstage)
35289 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35290 r=`${PWD_COMMAND}`; export r; \
35291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35292 $(NORMAL_TARGET_EXPORTS) \
35293 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
35294 for flag in $(EXTRA_TARGET_FLAGS); do \
35295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35296 done; \
35297 (cd $(TARGET_SUBDIR)/qthreads && \
35298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35300 "RANLIB=$${RANLIB}" \
35301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35302 install-info) \
35303 || exit 1
35305 @endif target-qthreads
35307 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
35308 maybe-installcheck-target-qthreads:
35309 @if target-qthreads
35310 maybe-installcheck-target-qthreads: installcheck-target-qthreads
35312 installcheck-target-qthreads: \
35313 configure-target-qthreads
35314 @: $(MAKE); $(unstage)
35315 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35316 r=`${PWD_COMMAND}`; export r; \
35317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35318 $(NORMAL_TARGET_EXPORTS) \
35319 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
35320 for flag in $(EXTRA_TARGET_FLAGS); do \
35321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35322 done; \
35323 (cd $(TARGET_SUBDIR)/qthreads && \
35324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35326 "RANLIB=$${RANLIB}" \
35327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35328 installcheck) \
35329 || exit 1
35331 @endif target-qthreads
35333 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
35334 maybe-mostlyclean-target-qthreads:
35335 @if target-qthreads
35336 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
35338 mostlyclean-target-qthreads:
35339 @: $(MAKE); $(unstage)
35340 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35341 r=`${PWD_COMMAND}`; export r; \
35342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35343 $(NORMAL_TARGET_EXPORTS) \
35344 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
35345 for flag in $(EXTRA_TARGET_FLAGS); do \
35346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35347 done; \
35348 (cd $(TARGET_SUBDIR)/qthreads && \
35349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35351 "RANLIB=$${RANLIB}" \
35352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35353 mostlyclean) \
35354 || exit 1
35356 @endif target-qthreads
35358 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
35359 maybe-clean-target-qthreads:
35360 @if target-qthreads
35361 maybe-clean-target-qthreads: clean-target-qthreads
35363 clean-target-qthreads:
35364 @: $(MAKE); $(unstage)
35365 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35366 r=`${PWD_COMMAND}`; export r; \
35367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35368 $(NORMAL_TARGET_EXPORTS) \
35369 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
35370 for flag in $(EXTRA_TARGET_FLAGS); do \
35371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35372 done; \
35373 (cd $(TARGET_SUBDIR)/qthreads && \
35374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35376 "RANLIB=$${RANLIB}" \
35377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35378 clean) \
35379 || exit 1
35381 @endif target-qthreads
35383 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
35384 maybe-distclean-target-qthreads:
35385 @if target-qthreads
35386 maybe-distclean-target-qthreads: distclean-target-qthreads
35388 distclean-target-qthreads:
35389 @: $(MAKE); $(unstage)
35390 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35391 r=`${PWD_COMMAND}`; export r; \
35392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35393 $(NORMAL_TARGET_EXPORTS) \
35394 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
35395 for flag in $(EXTRA_TARGET_FLAGS); do \
35396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35397 done; \
35398 (cd $(TARGET_SUBDIR)/qthreads && \
35399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35401 "RANLIB=$${RANLIB}" \
35402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35403 distclean) \
35404 || exit 1
35406 @endif target-qthreads
35408 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
35409 maybe-maintainer-clean-target-qthreads:
35410 @if target-qthreads
35411 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
35413 maintainer-clean-target-qthreads:
35414 @: $(MAKE); $(unstage)
35415 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35416 r=`${PWD_COMMAND}`; export r; \
35417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35418 $(NORMAL_TARGET_EXPORTS) \
35419 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
35420 for flag in $(EXTRA_TARGET_FLAGS); do \
35421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35422 done; \
35423 (cd $(TARGET_SUBDIR)/qthreads && \
35424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35426 "RANLIB=$${RANLIB}" \
35427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35428 maintainer-clean) \
35429 || exit 1
35431 @endif target-qthreads
35437 .PHONY: configure-target-rda maybe-configure-target-rda
35438 maybe-configure-target-rda:
35439 @if target-rda
35440 maybe-configure-target-rda: configure-target-rda
35441 configure-target-rda:
35442 @: $(MAKE); $(unstage)
35443 @r=`${PWD_COMMAND}`; export r; \
35444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35445 echo "Checking multilib configuration for rda..."; \
35446 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35447 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
35448 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
35449 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
35450 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
35451 else \
35452 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
35453 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35454 fi; \
35455 else \
35456 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35457 fi; \
35458 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
35459 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35460 $(NORMAL_TARGET_EXPORTS) \
35461 echo Configuring in $(TARGET_SUBDIR)/rda; \
35462 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
35463 case $(srcdir) in \
35464 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35465 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
35466 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35467 esac; \
35468 srcdiroption="--srcdir=$${topdir}/rda"; \
35469 libsrcdir="$$s/rda"; \
35470 rm -f no-such-file || : ; \
35471 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35472 $(TARGET_CONFIGARGS) $${srcdiroption} \
35473 || exit 1
35474 @endif target-rda
35480 .PHONY: all-target-rda maybe-all-target-rda
35481 maybe-all-target-rda:
35482 @if target-rda
35483 TARGET-target-rda=all
35484 maybe-all-target-rda: all-target-rda
35485 all-target-rda: configure-target-rda
35486 @: $(MAKE); $(unstage)
35487 @r=`${PWD_COMMAND}`; export r; \
35488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35489 $(NORMAL_TARGET_EXPORTS) \
35490 (cd $(TARGET_SUBDIR)/rda && \
35491 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
35492 @endif target-rda
35498 .PHONY: check-target-rda maybe-check-target-rda
35499 maybe-check-target-rda:
35500 @if target-rda
35501 maybe-check-target-rda: check-target-rda
35503 check-target-rda:
35504 @: $(MAKE); $(unstage)
35505 @r=`${PWD_COMMAND}`; export r; \
35506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35507 $(NORMAL_TARGET_EXPORTS) \
35508 (cd $(TARGET_SUBDIR)/rda && \
35509 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35511 @endif target-rda
35513 .PHONY: install-target-rda maybe-install-target-rda
35514 maybe-install-target-rda:
35515 @if target-rda
35516 maybe-install-target-rda: install-target-rda
35518 install-target-rda: installdirs
35519 @: $(MAKE); $(unstage)
35520 @r=`${PWD_COMMAND}`; export r; \
35521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35522 $(NORMAL_TARGET_EXPORTS) \
35523 (cd $(TARGET_SUBDIR)/rda && \
35524 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35526 @endif target-rda
35528 # Other targets (info, dvi, etc.)
35530 .PHONY: maybe-info-target-rda info-target-rda
35531 maybe-info-target-rda:
35532 @if target-rda
35533 maybe-info-target-rda: info-target-rda
35535 info-target-rda: \
35536 configure-target-rda
35537 @: $(MAKE); $(unstage)
35538 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35539 r=`${PWD_COMMAND}`; export r; \
35540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35541 $(NORMAL_TARGET_EXPORTS) \
35542 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
35543 for flag in $(EXTRA_TARGET_FLAGS); do \
35544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35545 done; \
35546 (cd $(TARGET_SUBDIR)/rda && \
35547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35549 "RANLIB=$${RANLIB}" \
35550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35551 info) \
35552 || exit 1
35554 @endif target-rda
35556 .PHONY: maybe-dvi-target-rda dvi-target-rda
35557 maybe-dvi-target-rda:
35558 @if target-rda
35559 maybe-dvi-target-rda: dvi-target-rda
35561 dvi-target-rda: \
35562 configure-target-rda
35563 @: $(MAKE); $(unstage)
35564 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35565 r=`${PWD_COMMAND}`; export r; \
35566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35567 $(NORMAL_TARGET_EXPORTS) \
35568 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
35569 for flag in $(EXTRA_TARGET_FLAGS); do \
35570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35571 done; \
35572 (cd $(TARGET_SUBDIR)/rda && \
35573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35575 "RANLIB=$${RANLIB}" \
35576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35577 dvi) \
35578 || exit 1
35580 @endif target-rda
35582 .PHONY: maybe-html-target-rda html-target-rda
35583 maybe-html-target-rda:
35584 @if target-rda
35585 maybe-html-target-rda: html-target-rda
35587 html-target-rda: \
35588 configure-target-rda
35589 @: $(MAKE); $(unstage)
35590 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35591 r=`${PWD_COMMAND}`; export r; \
35592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35593 $(NORMAL_TARGET_EXPORTS) \
35594 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35595 for flag in $(EXTRA_TARGET_FLAGS); do \
35596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35597 done; \
35598 (cd $(TARGET_SUBDIR)/rda && \
35599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35601 "RANLIB=$${RANLIB}" \
35602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35603 html) \
35604 || exit 1
35606 @endif target-rda
35608 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35609 maybe-TAGS-target-rda:
35610 @if target-rda
35611 maybe-TAGS-target-rda: TAGS-target-rda
35613 TAGS-target-rda: \
35614 configure-target-rda
35615 @: $(MAKE); $(unstage)
35616 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35617 r=`${PWD_COMMAND}`; export r; \
35618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35619 $(NORMAL_TARGET_EXPORTS) \
35620 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35621 for flag in $(EXTRA_TARGET_FLAGS); do \
35622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35623 done; \
35624 (cd $(TARGET_SUBDIR)/rda && \
35625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35627 "RANLIB=$${RANLIB}" \
35628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35629 TAGS) \
35630 || exit 1
35632 @endif target-rda
35634 .PHONY: maybe-install-info-target-rda install-info-target-rda
35635 maybe-install-info-target-rda:
35636 @if target-rda
35637 maybe-install-info-target-rda: install-info-target-rda
35639 install-info-target-rda: \
35640 configure-target-rda \
35641 info-target-rda
35642 @: $(MAKE); $(unstage)
35643 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35644 r=`${PWD_COMMAND}`; export r; \
35645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35646 $(NORMAL_TARGET_EXPORTS) \
35647 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35648 for flag in $(EXTRA_TARGET_FLAGS); do \
35649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35650 done; \
35651 (cd $(TARGET_SUBDIR)/rda && \
35652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35654 "RANLIB=$${RANLIB}" \
35655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35656 install-info) \
35657 || exit 1
35659 @endif target-rda
35661 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35662 maybe-installcheck-target-rda:
35663 @if target-rda
35664 maybe-installcheck-target-rda: installcheck-target-rda
35666 installcheck-target-rda: \
35667 configure-target-rda
35668 @: $(MAKE); $(unstage)
35669 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35670 r=`${PWD_COMMAND}`; export r; \
35671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35672 $(NORMAL_TARGET_EXPORTS) \
35673 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35674 for flag in $(EXTRA_TARGET_FLAGS); do \
35675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35676 done; \
35677 (cd $(TARGET_SUBDIR)/rda && \
35678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35680 "RANLIB=$${RANLIB}" \
35681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35682 installcheck) \
35683 || exit 1
35685 @endif target-rda
35687 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35688 maybe-mostlyclean-target-rda:
35689 @if target-rda
35690 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35692 mostlyclean-target-rda:
35693 @: $(MAKE); $(unstage)
35694 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35695 r=`${PWD_COMMAND}`; export r; \
35696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35697 $(NORMAL_TARGET_EXPORTS) \
35698 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35699 for flag in $(EXTRA_TARGET_FLAGS); do \
35700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35701 done; \
35702 (cd $(TARGET_SUBDIR)/rda && \
35703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35705 "RANLIB=$${RANLIB}" \
35706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35707 mostlyclean) \
35708 || exit 1
35710 @endif target-rda
35712 .PHONY: maybe-clean-target-rda clean-target-rda
35713 maybe-clean-target-rda:
35714 @if target-rda
35715 maybe-clean-target-rda: clean-target-rda
35717 clean-target-rda:
35718 @: $(MAKE); $(unstage)
35719 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35720 r=`${PWD_COMMAND}`; export r; \
35721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35722 $(NORMAL_TARGET_EXPORTS) \
35723 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35724 for flag in $(EXTRA_TARGET_FLAGS); do \
35725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35726 done; \
35727 (cd $(TARGET_SUBDIR)/rda && \
35728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35730 "RANLIB=$${RANLIB}" \
35731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35732 clean) \
35733 || exit 1
35735 @endif target-rda
35737 .PHONY: maybe-distclean-target-rda distclean-target-rda
35738 maybe-distclean-target-rda:
35739 @if target-rda
35740 maybe-distclean-target-rda: distclean-target-rda
35742 distclean-target-rda:
35743 @: $(MAKE); $(unstage)
35744 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35745 r=`${PWD_COMMAND}`; export r; \
35746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35747 $(NORMAL_TARGET_EXPORTS) \
35748 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35749 for flag in $(EXTRA_TARGET_FLAGS); do \
35750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35751 done; \
35752 (cd $(TARGET_SUBDIR)/rda && \
35753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35755 "RANLIB=$${RANLIB}" \
35756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35757 distclean) \
35758 || exit 1
35760 @endif target-rda
35762 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35763 maybe-maintainer-clean-target-rda:
35764 @if target-rda
35765 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35767 maintainer-clean-target-rda:
35768 @: $(MAKE); $(unstage)
35769 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35770 r=`${PWD_COMMAND}`; export r; \
35771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35772 $(NORMAL_TARGET_EXPORTS) \
35773 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35774 for flag in $(EXTRA_TARGET_FLAGS); do \
35775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35776 done; \
35777 (cd $(TARGET_SUBDIR)/rda && \
35778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35780 "RANLIB=$${RANLIB}" \
35781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35782 maintainer-clean) \
35783 || exit 1
35785 @endif target-rda
35791 .PHONY: configure-target-libada maybe-configure-target-libada
35792 maybe-configure-target-libada:
35793 @if target-libada
35794 maybe-configure-target-libada: configure-target-libada
35795 configure-target-libada:
35796 @: $(MAKE); $(unstage)
35797 @r=`${PWD_COMMAND}`; export r; \
35798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35799 echo "Checking multilib configuration for libada..."; \
35800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35801 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
35802 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
35803 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
35804 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
35805 else \
35806 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
35807 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35808 fi; \
35809 else \
35810 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
35811 fi; \
35812 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35813 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35814 $(NORMAL_TARGET_EXPORTS) \
35815 echo Configuring in $(TARGET_SUBDIR)/libada; \
35816 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35817 case $(srcdir) in \
35818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35819 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35821 esac; \
35822 srcdiroption="--srcdir=$${topdir}/libada"; \
35823 libsrcdir="$$s/libada"; \
35824 rm -f no-such-file || : ; \
35825 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35826 $(TARGET_CONFIGARGS) $${srcdiroption} \
35827 || exit 1
35828 @endif target-libada
35834 .PHONY: all-target-libada maybe-all-target-libada
35835 maybe-all-target-libada:
35836 @if target-libada
35837 TARGET-target-libada=all
35838 maybe-all-target-libada: all-target-libada
35839 all-target-libada: configure-target-libada
35840 @: $(MAKE); $(unstage)
35841 @r=`${PWD_COMMAND}`; export r; \
35842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35843 $(NORMAL_TARGET_EXPORTS) \
35844 (cd $(TARGET_SUBDIR)/libada && \
35845 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35846 @endif target-libada
35852 .PHONY: check-target-libada maybe-check-target-libada
35853 maybe-check-target-libada:
35854 @if target-libada
35855 maybe-check-target-libada: check-target-libada
35857 check-target-libada:
35858 @: $(MAKE); $(unstage)
35859 @r=`${PWD_COMMAND}`; export r; \
35860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35861 $(NORMAL_TARGET_EXPORTS) \
35862 (cd $(TARGET_SUBDIR)/libada && \
35863 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35865 @endif target-libada
35867 .PHONY: install-target-libada maybe-install-target-libada
35868 maybe-install-target-libada:
35869 @if target-libada
35870 maybe-install-target-libada: install-target-libada
35872 install-target-libada: installdirs
35873 @: $(MAKE); $(unstage)
35874 @r=`${PWD_COMMAND}`; export r; \
35875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35876 $(NORMAL_TARGET_EXPORTS) \
35877 (cd $(TARGET_SUBDIR)/libada && \
35878 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35880 @endif target-libada
35882 # Other targets (info, dvi, etc.)
35884 .PHONY: maybe-info-target-libada info-target-libada
35885 maybe-info-target-libada:
35886 @if target-libada
35887 maybe-info-target-libada: info-target-libada
35889 info-target-libada: \
35890 configure-target-libada
35891 @: $(MAKE); $(unstage)
35892 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35893 r=`${PWD_COMMAND}`; export r; \
35894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35895 $(NORMAL_TARGET_EXPORTS) \
35896 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35897 for flag in $(EXTRA_TARGET_FLAGS); do \
35898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35899 done; \
35900 (cd $(TARGET_SUBDIR)/libada && \
35901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35903 "RANLIB=$${RANLIB}" \
35904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35905 info) \
35906 || exit 1
35908 @endif target-libada
35910 .PHONY: maybe-dvi-target-libada dvi-target-libada
35911 maybe-dvi-target-libada:
35912 @if target-libada
35913 maybe-dvi-target-libada: dvi-target-libada
35915 dvi-target-libada: \
35916 configure-target-libada
35917 @: $(MAKE); $(unstage)
35918 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35919 r=`${PWD_COMMAND}`; export r; \
35920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35921 $(NORMAL_TARGET_EXPORTS) \
35922 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35923 for flag in $(EXTRA_TARGET_FLAGS); do \
35924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35925 done; \
35926 (cd $(TARGET_SUBDIR)/libada && \
35927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35929 "RANLIB=$${RANLIB}" \
35930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35931 dvi) \
35932 || exit 1
35934 @endif target-libada
35936 .PHONY: maybe-html-target-libada html-target-libada
35937 maybe-html-target-libada:
35938 @if target-libada
35939 maybe-html-target-libada: html-target-libada
35941 html-target-libada: \
35942 configure-target-libada
35943 @: $(MAKE); $(unstage)
35944 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35945 r=`${PWD_COMMAND}`; export r; \
35946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35947 $(NORMAL_TARGET_EXPORTS) \
35948 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35949 for flag in $(EXTRA_TARGET_FLAGS); do \
35950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35951 done; \
35952 (cd $(TARGET_SUBDIR)/libada && \
35953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35955 "RANLIB=$${RANLIB}" \
35956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35957 html) \
35958 || exit 1
35960 @endif target-libada
35962 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35963 maybe-TAGS-target-libada:
35964 @if target-libada
35965 maybe-TAGS-target-libada: TAGS-target-libada
35967 TAGS-target-libada: \
35968 configure-target-libada
35969 @: $(MAKE); $(unstage)
35970 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35971 r=`${PWD_COMMAND}`; export r; \
35972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35973 $(NORMAL_TARGET_EXPORTS) \
35974 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35975 for flag in $(EXTRA_TARGET_FLAGS); do \
35976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35977 done; \
35978 (cd $(TARGET_SUBDIR)/libada && \
35979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35981 "RANLIB=$${RANLIB}" \
35982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35983 TAGS) \
35984 || exit 1
35986 @endif target-libada
35988 .PHONY: maybe-install-info-target-libada install-info-target-libada
35989 maybe-install-info-target-libada:
35990 @if target-libada
35991 maybe-install-info-target-libada: install-info-target-libada
35993 install-info-target-libada: \
35994 configure-target-libada \
35995 info-target-libada
35996 @: $(MAKE); $(unstage)
35997 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35998 r=`${PWD_COMMAND}`; export r; \
35999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36000 $(NORMAL_TARGET_EXPORTS) \
36001 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
36002 for flag in $(EXTRA_TARGET_FLAGS); do \
36003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36004 done; \
36005 (cd $(TARGET_SUBDIR)/libada && \
36006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36008 "RANLIB=$${RANLIB}" \
36009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36010 install-info) \
36011 || exit 1
36013 @endif target-libada
36015 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
36016 maybe-installcheck-target-libada:
36017 @if target-libada
36018 maybe-installcheck-target-libada: installcheck-target-libada
36020 installcheck-target-libada: \
36021 configure-target-libada
36022 @: $(MAKE); $(unstage)
36023 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36024 r=`${PWD_COMMAND}`; export r; \
36025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36026 $(NORMAL_TARGET_EXPORTS) \
36027 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
36028 for flag in $(EXTRA_TARGET_FLAGS); do \
36029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36030 done; \
36031 (cd $(TARGET_SUBDIR)/libada && \
36032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36034 "RANLIB=$${RANLIB}" \
36035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36036 installcheck) \
36037 || exit 1
36039 @endif target-libada
36041 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
36042 maybe-mostlyclean-target-libada:
36043 @if target-libada
36044 maybe-mostlyclean-target-libada: mostlyclean-target-libada
36046 mostlyclean-target-libada:
36047 @: $(MAKE); $(unstage)
36048 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36049 r=`${PWD_COMMAND}`; export r; \
36050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36051 $(NORMAL_TARGET_EXPORTS) \
36052 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
36053 for flag in $(EXTRA_TARGET_FLAGS); do \
36054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36055 done; \
36056 (cd $(TARGET_SUBDIR)/libada && \
36057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36059 "RANLIB=$${RANLIB}" \
36060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36061 mostlyclean) \
36062 || exit 1
36064 @endif target-libada
36066 .PHONY: maybe-clean-target-libada clean-target-libada
36067 maybe-clean-target-libada:
36068 @if target-libada
36069 maybe-clean-target-libada: clean-target-libada
36071 clean-target-libada:
36072 @: $(MAKE); $(unstage)
36073 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36074 r=`${PWD_COMMAND}`; export r; \
36075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36076 $(NORMAL_TARGET_EXPORTS) \
36077 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
36078 for flag in $(EXTRA_TARGET_FLAGS); do \
36079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36080 done; \
36081 (cd $(TARGET_SUBDIR)/libada && \
36082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36084 "RANLIB=$${RANLIB}" \
36085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36086 clean) \
36087 || exit 1
36089 @endif target-libada
36091 .PHONY: maybe-distclean-target-libada distclean-target-libada
36092 maybe-distclean-target-libada:
36093 @if target-libada
36094 maybe-distclean-target-libada: distclean-target-libada
36096 distclean-target-libada:
36097 @: $(MAKE); $(unstage)
36098 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36099 r=`${PWD_COMMAND}`; export r; \
36100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36101 $(NORMAL_TARGET_EXPORTS) \
36102 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
36103 for flag in $(EXTRA_TARGET_FLAGS); do \
36104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36105 done; \
36106 (cd $(TARGET_SUBDIR)/libada && \
36107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36109 "RANLIB=$${RANLIB}" \
36110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36111 distclean) \
36112 || exit 1
36114 @endif target-libada
36116 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
36117 maybe-maintainer-clean-target-libada:
36118 @if target-libada
36119 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
36121 maintainer-clean-target-libada:
36122 @: $(MAKE); $(unstage)
36123 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36124 r=`${PWD_COMMAND}`; export r; \
36125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36126 $(NORMAL_TARGET_EXPORTS) \
36127 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
36128 for flag in $(EXTRA_TARGET_FLAGS); do \
36129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36130 done; \
36131 (cd $(TARGET_SUBDIR)/libada && \
36132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36134 "RANLIB=$${RANLIB}" \
36135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36136 maintainer-clean) \
36137 || exit 1
36139 @endif target-libada
36145 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
36146 maybe-configure-target-libgomp:
36147 @if target-libgomp
36148 maybe-configure-target-libgomp: configure-target-libgomp
36149 configure-target-libgomp:
36150 @: $(MAKE); $(unstage)
36151 @r=`${PWD_COMMAND}`; export r; \
36152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36153 echo "Checking multilib configuration for libgomp..."; \
36154 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
36155 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
36156 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
36157 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
36158 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
36159 else \
36160 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
36161 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
36162 fi; \
36163 else \
36164 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
36165 fi; \
36166 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
36167 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
36168 $(NORMAL_TARGET_EXPORTS) \
36169 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
36170 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
36171 case $(srcdir) in \
36172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36173 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
36174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36175 esac; \
36176 srcdiroption="--srcdir=$${topdir}/libgomp"; \
36177 libsrcdir="$$s/libgomp"; \
36178 rm -f no-such-file || : ; \
36179 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36180 $(TARGET_CONFIGARGS) $${srcdiroption} \
36181 || exit 1
36182 @endif target-libgomp
36188 .PHONY: all-target-libgomp maybe-all-target-libgomp
36189 maybe-all-target-libgomp:
36190 @if target-libgomp
36191 TARGET-target-libgomp=all
36192 maybe-all-target-libgomp: all-target-libgomp
36193 all-target-libgomp: configure-target-libgomp
36194 @: $(MAKE); $(unstage)
36195 @r=`${PWD_COMMAND}`; export r; \
36196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36197 $(NORMAL_TARGET_EXPORTS) \
36198 (cd $(TARGET_SUBDIR)/libgomp && \
36199 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
36200 @endif target-libgomp
36206 .PHONY: check-target-libgomp maybe-check-target-libgomp
36207 maybe-check-target-libgomp:
36208 @if target-libgomp
36209 maybe-check-target-libgomp: check-target-libgomp
36211 check-target-libgomp:
36212 @: $(MAKE); $(unstage)
36213 @r=`${PWD_COMMAND}`; export r; \
36214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36215 $(NORMAL_TARGET_EXPORTS) \
36216 (cd $(TARGET_SUBDIR)/libgomp && \
36217 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36219 @endif target-libgomp
36221 .PHONY: install-target-libgomp maybe-install-target-libgomp
36222 maybe-install-target-libgomp:
36223 @if target-libgomp
36224 maybe-install-target-libgomp: install-target-libgomp
36226 install-target-libgomp: installdirs
36227 @: $(MAKE); $(unstage)
36228 @r=`${PWD_COMMAND}`; export r; \
36229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36230 $(NORMAL_TARGET_EXPORTS) \
36231 (cd $(TARGET_SUBDIR)/libgomp && \
36232 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36234 @endif target-libgomp
36236 # Other targets (info, dvi, etc.)
36238 .PHONY: maybe-info-target-libgomp info-target-libgomp
36239 maybe-info-target-libgomp:
36240 @if target-libgomp
36241 maybe-info-target-libgomp: info-target-libgomp
36243 info-target-libgomp: \
36244 configure-target-libgomp
36245 @: $(MAKE); $(unstage)
36246 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36247 r=`${PWD_COMMAND}`; export r; \
36248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36249 $(NORMAL_TARGET_EXPORTS) \
36250 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
36251 for flag in $(EXTRA_TARGET_FLAGS); do \
36252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36253 done; \
36254 (cd $(TARGET_SUBDIR)/libgomp && \
36255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36257 "RANLIB=$${RANLIB}" \
36258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36259 info) \
36260 || exit 1
36262 @endif target-libgomp
36264 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
36265 maybe-dvi-target-libgomp:
36266 @if target-libgomp
36267 maybe-dvi-target-libgomp: dvi-target-libgomp
36269 dvi-target-libgomp: \
36270 configure-target-libgomp
36271 @: $(MAKE); $(unstage)
36272 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36273 r=`${PWD_COMMAND}`; export r; \
36274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36275 $(NORMAL_TARGET_EXPORTS) \
36276 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
36277 for flag in $(EXTRA_TARGET_FLAGS); do \
36278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36279 done; \
36280 (cd $(TARGET_SUBDIR)/libgomp && \
36281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36283 "RANLIB=$${RANLIB}" \
36284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36285 dvi) \
36286 || exit 1
36288 @endif target-libgomp
36290 .PHONY: maybe-html-target-libgomp html-target-libgomp
36291 maybe-html-target-libgomp:
36292 @if target-libgomp
36293 maybe-html-target-libgomp: html-target-libgomp
36295 html-target-libgomp: \
36296 configure-target-libgomp
36297 @: $(MAKE); $(unstage)
36298 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36299 r=`${PWD_COMMAND}`; export r; \
36300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36301 $(NORMAL_TARGET_EXPORTS) \
36302 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
36303 for flag in $(EXTRA_TARGET_FLAGS); do \
36304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36305 done; \
36306 (cd $(TARGET_SUBDIR)/libgomp && \
36307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36309 "RANLIB=$${RANLIB}" \
36310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36311 html) \
36312 || exit 1
36314 @endif target-libgomp
36316 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
36317 maybe-TAGS-target-libgomp:
36318 @if target-libgomp
36319 maybe-TAGS-target-libgomp: TAGS-target-libgomp
36321 TAGS-target-libgomp: \
36322 configure-target-libgomp
36323 @: $(MAKE); $(unstage)
36324 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36325 r=`${PWD_COMMAND}`; export r; \
36326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36327 $(NORMAL_TARGET_EXPORTS) \
36328 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
36329 for flag in $(EXTRA_TARGET_FLAGS); do \
36330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36331 done; \
36332 (cd $(TARGET_SUBDIR)/libgomp && \
36333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36335 "RANLIB=$${RANLIB}" \
36336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36337 TAGS) \
36338 || exit 1
36340 @endif target-libgomp
36342 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
36343 maybe-install-info-target-libgomp:
36344 @if target-libgomp
36345 maybe-install-info-target-libgomp: install-info-target-libgomp
36347 install-info-target-libgomp: \
36348 configure-target-libgomp \
36349 info-target-libgomp
36350 @: $(MAKE); $(unstage)
36351 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36352 r=`${PWD_COMMAND}`; export r; \
36353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36354 $(NORMAL_TARGET_EXPORTS) \
36355 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
36356 for flag in $(EXTRA_TARGET_FLAGS); do \
36357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36358 done; \
36359 (cd $(TARGET_SUBDIR)/libgomp && \
36360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36362 "RANLIB=$${RANLIB}" \
36363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36364 install-info) \
36365 || exit 1
36367 @endif target-libgomp
36369 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
36370 maybe-installcheck-target-libgomp:
36371 @if target-libgomp
36372 maybe-installcheck-target-libgomp: installcheck-target-libgomp
36374 installcheck-target-libgomp: \
36375 configure-target-libgomp
36376 @: $(MAKE); $(unstage)
36377 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36378 r=`${PWD_COMMAND}`; export r; \
36379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36380 $(NORMAL_TARGET_EXPORTS) \
36381 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
36382 for flag in $(EXTRA_TARGET_FLAGS); do \
36383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36384 done; \
36385 (cd $(TARGET_SUBDIR)/libgomp && \
36386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36388 "RANLIB=$${RANLIB}" \
36389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36390 installcheck) \
36391 || exit 1
36393 @endif target-libgomp
36395 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
36396 maybe-mostlyclean-target-libgomp:
36397 @if target-libgomp
36398 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
36400 mostlyclean-target-libgomp:
36401 @: $(MAKE); $(unstage)
36402 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36403 r=`${PWD_COMMAND}`; export r; \
36404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36405 $(NORMAL_TARGET_EXPORTS) \
36406 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
36407 for flag in $(EXTRA_TARGET_FLAGS); do \
36408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36409 done; \
36410 (cd $(TARGET_SUBDIR)/libgomp && \
36411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36413 "RANLIB=$${RANLIB}" \
36414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36415 mostlyclean) \
36416 || exit 1
36418 @endif target-libgomp
36420 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
36421 maybe-clean-target-libgomp:
36422 @if target-libgomp
36423 maybe-clean-target-libgomp: clean-target-libgomp
36425 clean-target-libgomp:
36426 @: $(MAKE); $(unstage)
36427 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36428 r=`${PWD_COMMAND}`; export r; \
36429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36430 $(NORMAL_TARGET_EXPORTS) \
36431 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
36432 for flag in $(EXTRA_TARGET_FLAGS); do \
36433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36434 done; \
36435 (cd $(TARGET_SUBDIR)/libgomp && \
36436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36438 "RANLIB=$${RANLIB}" \
36439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36440 clean) \
36441 || exit 1
36443 @endif target-libgomp
36445 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
36446 maybe-distclean-target-libgomp:
36447 @if target-libgomp
36448 maybe-distclean-target-libgomp: distclean-target-libgomp
36450 distclean-target-libgomp:
36451 @: $(MAKE); $(unstage)
36452 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36453 r=`${PWD_COMMAND}`; export r; \
36454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36455 $(NORMAL_TARGET_EXPORTS) \
36456 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
36457 for flag in $(EXTRA_TARGET_FLAGS); do \
36458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36459 done; \
36460 (cd $(TARGET_SUBDIR)/libgomp && \
36461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36463 "RANLIB=$${RANLIB}" \
36464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36465 distclean) \
36466 || exit 1
36468 @endif target-libgomp
36470 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
36471 maybe-maintainer-clean-target-libgomp:
36472 @if target-libgomp
36473 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
36475 maintainer-clean-target-libgomp:
36476 @: $(MAKE); $(unstage)
36477 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36478 r=`${PWD_COMMAND}`; export r; \
36479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36480 $(NORMAL_TARGET_EXPORTS) \
36481 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
36482 for flag in $(EXTRA_TARGET_FLAGS); do \
36483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36484 done; \
36485 (cd $(TARGET_SUBDIR)/libgomp && \
36486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36488 "RANLIB=$${RANLIB}" \
36489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36490 maintainer-clean) \
36491 || exit 1
36493 @endif target-libgomp
36497 # ----------
36498 # GCC module
36499 # ----------
36501 @if gcc-no-bootstrap
36502 # GCC has some more recursive targets, which trigger the old
36503 # (but still current, until the toplevel bootstrap project
36504 # is finished) compiler bootstrapping rules.
36506 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
36507 .PHONY: $(GCC_STRAP_TARGETS)
36508 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
36509 @r=`${PWD_COMMAND}`; export r; \
36510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36511 $(HOST_EXPORTS) \
36512 echo "Bootstrapping the compiler"; \
36513 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36514 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
36515 @r=`${PWD_COMMAND}`; export r; \
36516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36517 case "$@" in \
36518 *bootstrap4-lean ) \
36519 msg="Comparing stage3 and stage4 of the compiler"; \
36520 compare=compare3-lean ;; \
36521 *bootstrap4 ) \
36522 msg="Comparing stage3 and stage4 of the compiler"; \
36523 compare=compare3 ;; \
36524 *-lean ) \
36525 msg="Comparing stage2 and stage3 of the compiler"; \
36526 compare=compare-lean ;; \
36527 * ) \
36528 msg="Comparing stage2 and stage3 of the compiler"; \
36529 compare=compare ;; \
36530 esac; \
36531 $(HOST_EXPORTS) \
36532 echo "$$msg"; \
36533 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
36534 @r=`${PWD_COMMAND}`; export r; \
36535 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36536 echo "Building runtime libraries"; \
36537 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36539 profiledbootstrap: all-prebootstrap configure-gcc
36540 @r=`${PWD_COMMAND}`; export r; \
36541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36542 $(HOST_EXPORTS) \
36543 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36544 echo "Bootstrapping training compiler"; \
36545 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
36546 @r=`${PWD_COMMAND}`; export r; \
36547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36548 $(HOST_EXPORTS) \
36549 echo "Building feedback based compiler"; \
36550 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
36551 @r=`${PWD_COMMAND}`; export r; \
36552 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36553 echo "Building runtime libraries"; \
36554 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36556 .PHONY: cross
36557 cross: all-build all-gas all-ld
36558 @r=`${PWD_COMMAND}`; export r; \
36559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36560 $(HOST_EXPORTS) \
36561 echo "Building the C and C++ compiler"; \
36562 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
36563 @r=`${PWD_COMMAND}`; export r; \
36564 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36565 echo "Building runtime libraries"; \
36566 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
36567 @endif gcc-no-bootstrap
36569 @if gcc
36570 .PHONY: check-gcc-c++
36571 check-gcc-c++:
36572 @if [ -f ./gcc/Makefile ] ; then \
36573 r=`${PWD_COMMAND}`; export r; \
36574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36575 $(HOST_EXPORTS) \
36576 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
36577 else \
36578 true; \
36581 .PHONY: check-c++
36582 check-c++: check-target-libstdc++-v3 check-gcc-c++
36584 # Install the gcc headers files, but not the fixed include files,
36585 # which Cygnus is not allowed to distribute. This rule is very
36586 # dependent on the workings of the gcc Makefile.in.
36587 .PHONY: gcc-no-fixedincludes
36588 gcc-no-fixedincludes:
36589 @if [ -f ./gcc/Makefile ]; then \
36590 rm -rf gcc/tmp-include; \
36591 mv gcc/include gcc/tmp-include 2>/dev/null; \
36592 mkdir gcc/include; \
36593 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
36594 touch gcc/stmp-fixinc gcc/include/fixed; \
36595 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
36596 r=`${PWD_COMMAND}`; export r; \
36597 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36598 $(HOST_EXPORTS) \
36599 (cd ./gcc && \
36600 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
36601 rm -rf gcc/include; \
36602 mv gcc/tmp-include gcc/include 2>/dev/null; \
36603 else true; fi
36604 @endif gcc
36606 # ---------------------
36607 # GCC bootstrap support
36608 # ---------------------
36610 # We track the current stage (the one in 'gcc') in the stage_current file.
36611 # stage_last instead tracks the stage that was built last. These targets
36612 # are dummy when toplevel bootstrap is not active.
36614 # While making host and target tools, symlinks to the final stage must be
36615 # there, so $(unstage) should be run at various points. To avoid excessive
36616 # recursive invocations of make, we "inline" them using a variable. These
36617 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
36618 # to avoid warnings from the GNU Make job server.
36620 unstage = :
36621 stage = :
36622 current_stage = ""
36624 @if gcc-bootstrap
36625 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
36626 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
36627 current_stage = "`cat stage_current 2> /dev/null`"
36628 @endif gcc-bootstrap
36630 .PHONY: unstage stage
36631 unstage:
36632 @: $(MAKE); $(unstage)
36633 stage:
36634 @: $(MAKE); $(stage)
36636 # Disable commands for lean bootstrap.
36637 LEAN = false
36639 # We name the build directories for the various stages "stage1-gcc",
36640 # "stage2-gcc","stage3-gcc", etc.
36642 # Since the 'compare' process will fail (on debugging information) if any
36643 # directory names are different, we need to link the gcc directory for
36644 # the previous stage to a constant name ('prev-gcc'), and to make the name of
36645 # the build directories constant as well. For the latter, we use naked names
36646 # like 'gcc', because the scripts in that directory assume it. We use
36647 # mv on platforms where symlinks to directories do not work or are not
36648 # reliable.
36650 # 'touch' doesn't work right on some platforms.
36651 STAMP = echo timestamp >
36653 # Only build the C compiler for stage1, because that is the only one that
36654 # we can guarantee will build with the native compiler, and also it is the
36655 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
36656 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
36657 # overrideable (for a bootstrap build stage1 also builds gcc.info).
36659 STAGE1_CFLAGS=@stage1_cflags@
36660 STAGE1_LANGUAGES=@stage1_languages@
36662 # We only want to compare .o files, so set this!
36663 objext = .o
36665 # Flags to pass to stage2 and later makes.
36666 POSTSTAGE1_FLAGS_TO_PASS = \
36667 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
36668 STAGE_PREFIX=$$r/prev-gcc/ \
36669 CFLAGS="$(BOOT_CFLAGS)" \
36670 LIBCFLAGS="$(BOOT_CFLAGS)" \
36671 LDFLAGS="$(BOOT_LDFLAGS)" \
36672 ADAC="\$$(CC)"
36674 # For stage 1:
36675 # * We force-disable intermodule optimizations, even if
36676 # --enable-intermodule was passed, since the installed compiler probably
36677 # can't handle them. Luckily, autoconf always respects
36678 # the last argument when conflicting --enable arguments are passed.
36679 # * Likewise, we force-disable coverage flags, since the installed compiler
36680 # probably has never heard of them.
36681 # * We build only C (and possibly Ada).
36684 .PHONY: stage1-start stage1-end
36686 stage1-start::
36687 @: $(MAKE); $(stage); \
36688 echo stage1 > stage_current ; \
36689 echo stage1 > stage_last; \
36690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36691 @if bfd
36692 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
36693 mkdir stage1-bfd; \
36694 mv stage1-bfd bfd
36695 @endif bfd
36696 @if opcodes
36697 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
36698 mkdir stage1-opcodes; \
36699 mv stage1-opcodes opcodes
36700 @endif opcodes
36701 @if binutils
36702 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
36703 mkdir stage1-binutils; \
36704 mv stage1-binutils binutils
36705 @endif binutils
36706 @if gas
36707 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
36708 mkdir stage1-gas; \
36709 mv stage1-gas gas
36710 @endif gas
36711 @if gcc
36712 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
36713 mkdir stage1-gcc; \
36714 mv stage1-gcc gcc
36715 @endif gcc
36716 @if intl
36717 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
36718 mkdir stage1-intl; \
36719 mv stage1-intl intl
36720 @endif intl
36721 @if ld
36722 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
36723 mkdir stage1-ld; \
36724 mv stage1-ld ld
36725 @endif ld
36726 @if libcpp
36727 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
36728 mkdir stage1-libcpp; \
36729 mv stage1-libcpp libcpp
36730 @endif libcpp
36731 @if libdecnumber
36732 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
36733 mkdir stage1-libdecnumber; \
36734 mv stage1-libdecnumber libdecnumber
36735 @endif libdecnumber
36736 @if libiberty
36737 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
36738 mkdir stage1-libiberty; \
36739 mv stage1-libiberty libiberty
36740 @endif libiberty
36741 @if zlib
36742 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
36743 mkdir stage1-zlib; \
36744 mv stage1-zlib zlib
36745 @endif zlib
36746 @[ -d stage1-$(TARGET_SUBDIR) ] || \
36747 mkdir stage1-$(TARGET_SUBDIR); \
36748 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
36750 stage1-end::
36751 @if bfd
36752 @if test -d $(HOST_SUBDIR)/bfd ; then \
36753 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
36755 @endif bfd
36756 @if opcodes
36757 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36758 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
36760 @endif opcodes
36761 @if binutils
36762 @if test -d $(HOST_SUBDIR)/binutils ; then \
36763 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
36765 @endif binutils
36766 @if gas
36767 @if test -d $(HOST_SUBDIR)/gas ; then \
36768 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
36770 @endif gas
36771 @if gcc
36772 @if test -d $(HOST_SUBDIR)/gcc ; then \
36773 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
36775 @endif gcc
36776 @if intl
36777 @if test -d $(HOST_SUBDIR)/intl ; then \
36778 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
36780 @endif intl
36781 @if ld
36782 @if test -d $(HOST_SUBDIR)/ld ; then \
36783 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
36785 @endif ld
36786 @if libcpp
36787 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36788 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
36790 @endif libcpp
36791 @if libdecnumber
36792 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36793 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
36795 @endif libdecnumber
36796 @if libiberty
36797 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36798 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
36800 @endif libiberty
36801 @if zlib
36802 @if test -d $(HOST_SUBDIR)/zlib ; then \
36803 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
36805 @endif zlib
36806 @if test -d $(TARGET_SUBDIR) ; then \
36807 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
36809 rm -f stage_current
36811 # Bubble a bugfix through all the stages up to stage 1. They are
36812 # remade, but not reconfigured. The next stage (if any) will not be
36813 # reconfigured as well.
36814 .PHONY: stage1-bubble
36815 stage1-bubble::
36816 @r=`${PWD_COMMAND}`; export r; \
36817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36818 if test -f stage1-lean ; then \
36819 echo Skipping rebuild of stage1 ; \
36820 else \
36821 $(MAKE) stage1-start; \
36822 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
36825 .PHONY: all-stage1 clean-stage1
36826 do-clean: clean-stage1
36828 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36829 # only possibility, but now it conflicts with no-bootstrap rules
36830 @if gcc-bootstrap
36835 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36837 .PHONY: distclean-stage1
36838 distclean-stage1::
36839 @: $(MAKE); $(stage)
36840 rm -rf stage1-*
36843 @endif gcc-bootstrap
36846 .PHONY: stage2-start stage2-end
36848 stage2-start::
36849 @: $(MAKE); $(stage); \
36850 echo stage2 > stage_current ; \
36851 echo stage2 > stage_last; \
36852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
36853 @if bfd
36854 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
36855 mkdir stage2-bfd; \
36856 mv stage2-bfd bfd ; \
36857 mv stage1-bfd prev-bfd || test -f stage1-lean
36858 @endif bfd
36859 @if opcodes
36860 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
36861 mkdir stage2-opcodes; \
36862 mv stage2-opcodes opcodes ; \
36863 mv stage1-opcodes prev-opcodes || test -f stage1-lean
36864 @endif opcodes
36865 @if binutils
36866 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
36867 mkdir stage2-binutils; \
36868 mv stage2-binutils binutils ; \
36869 mv stage1-binutils prev-binutils || test -f stage1-lean
36870 @endif binutils
36871 @if gas
36872 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
36873 mkdir stage2-gas; \
36874 mv stage2-gas gas ; \
36875 mv stage1-gas prev-gas || test -f stage1-lean
36876 @endif gas
36877 @if gcc
36878 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
36879 mkdir stage2-gcc; \
36880 mv stage2-gcc gcc ; \
36881 mv stage1-gcc prev-gcc || test -f stage1-lean
36882 @endif gcc
36883 @if intl
36884 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
36885 mkdir stage2-intl; \
36886 mv stage2-intl intl ; \
36887 mv stage1-intl prev-intl || test -f stage1-lean
36888 @endif intl
36889 @if ld
36890 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
36891 mkdir stage2-ld; \
36892 mv stage2-ld ld ; \
36893 mv stage1-ld prev-ld || test -f stage1-lean
36894 @endif ld
36895 @if libcpp
36896 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
36897 mkdir stage2-libcpp; \
36898 mv stage2-libcpp libcpp ; \
36899 mv stage1-libcpp prev-libcpp || test -f stage1-lean
36900 @endif libcpp
36901 @if libdecnumber
36902 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
36903 mkdir stage2-libdecnumber; \
36904 mv stage2-libdecnumber libdecnumber ; \
36905 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
36906 @endif libdecnumber
36907 @if libiberty
36908 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
36909 mkdir stage2-libiberty; \
36910 mv stage2-libiberty libiberty ; \
36911 mv stage1-libiberty prev-libiberty || test -f stage1-lean
36912 @endif libiberty
36913 @if zlib
36914 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36915 mkdir stage2-zlib; \
36916 mv stage2-zlib zlib ; \
36917 mv stage1-zlib prev-zlib || test -f stage1-lean
36918 @endif zlib
36919 @[ -d stage2-$(TARGET_SUBDIR) ] || \
36920 mkdir stage2-$(TARGET_SUBDIR); \
36921 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
36922 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
36924 stage2-end::
36925 @if bfd
36926 @if test -d $(HOST_SUBDIR)/bfd ; then \
36927 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
36928 mv prev-bfd stage1-bfd ; : ; \
36930 @endif bfd
36931 @if opcodes
36932 @if test -d $(HOST_SUBDIR)/opcodes ; then \
36933 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
36934 mv prev-opcodes stage1-opcodes ; : ; \
36936 @endif opcodes
36937 @if binutils
36938 @if test -d $(HOST_SUBDIR)/binutils ; then \
36939 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
36940 mv prev-binutils stage1-binutils ; : ; \
36942 @endif binutils
36943 @if gas
36944 @if test -d $(HOST_SUBDIR)/gas ; then \
36945 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
36946 mv prev-gas stage1-gas ; : ; \
36948 @endif gas
36949 @if gcc
36950 @if test -d $(HOST_SUBDIR)/gcc ; then \
36951 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
36952 mv prev-gcc stage1-gcc ; : ; \
36954 @endif gcc
36955 @if intl
36956 @if test -d $(HOST_SUBDIR)/intl ; then \
36957 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
36958 mv prev-intl stage1-intl ; : ; \
36960 @endif intl
36961 @if ld
36962 @if test -d $(HOST_SUBDIR)/ld ; then \
36963 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
36964 mv prev-ld stage1-ld ; : ; \
36966 @endif ld
36967 @if libcpp
36968 @if test -d $(HOST_SUBDIR)/libcpp ; then \
36969 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
36970 mv prev-libcpp stage1-libcpp ; : ; \
36972 @endif libcpp
36973 @if libdecnumber
36974 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
36975 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
36976 mv prev-libdecnumber stage1-libdecnumber ; : ; \
36978 @endif libdecnumber
36979 @if libiberty
36980 @if test -d $(HOST_SUBDIR)/libiberty ; then \
36981 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
36982 mv prev-libiberty stage1-libiberty ; : ; \
36984 @endif libiberty
36985 @if zlib
36986 @if test -d $(HOST_SUBDIR)/zlib ; then \
36987 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
36988 mv prev-zlib stage1-zlib ; : ; \
36990 @endif zlib
36991 @if test -d $(TARGET_SUBDIR) ; then \
36992 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
36993 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
36995 rm -f stage_current
36997 # Bubble a bugfix through all the stages up to stage 2. They are
36998 # remade, but not reconfigured. The next stage (if any) will not be
36999 # reconfigured as well.
37000 .PHONY: stage2-bubble
37001 stage2-bubble:: stage1-bubble
37002 @r=`${PWD_COMMAND}`; export r; \
37003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37004 if test -f stage2-lean || test -f stage1-lean ; then \
37005 echo Skipping rebuild of stage2 ; \
37006 else \
37007 $(MAKE) stage2-start; \
37008 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
37011 .PHONY: all-stage2 clean-stage2
37012 do-clean: clean-stage2
37014 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37015 # only possibility, but now it conflicts with no-bootstrap rules
37016 @if gcc-bootstrap
37020 .PHONY: bootstrap2 bootstrap2-lean
37021 bootstrap2:
37022 echo stage2 > stage_final
37023 @r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
37026 @: $(MAKE); $(unstage)
37027 @r=`${PWD_COMMAND}`; export r; \
37028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37029 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37031 bootstrap2-lean:
37032 echo stage2 > stage_final
37033 @r=`${PWD_COMMAND}`; export r; \
37034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37035 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
37036 @: $(MAKE); $(unstage)
37037 @r=`${PWD_COMMAND}`; export r; \
37038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37039 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37042 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37043 distclean-stage1:: distclean-stage2
37044 .PHONY: distclean-stage2
37045 distclean-stage2::
37046 @: $(MAKE); $(stage)
37047 rm -rf stage2-*
37050 @endif gcc-bootstrap
37053 .PHONY: stage3-start stage3-end
37055 stage3-start::
37056 @: $(MAKE); $(stage); \
37057 echo stage3 > stage_current ; \
37058 echo stage3 > stage_last; \
37059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37060 @if bfd
37061 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
37062 mkdir stage3-bfd; \
37063 mv stage3-bfd bfd ; \
37064 mv stage2-bfd prev-bfd || test -f stage2-lean
37065 @endif bfd
37066 @if opcodes
37067 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
37068 mkdir stage3-opcodes; \
37069 mv stage3-opcodes opcodes ; \
37070 mv stage2-opcodes prev-opcodes || test -f stage2-lean
37071 @endif opcodes
37072 @if binutils
37073 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
37074 mkdir stage3-binutils; \
37075 mv stage3-binutils binutils ; \
37076 mv stage2-binutils prev-binutils || test -f stage2-lean
37077 @endif binutils
37078 @if gas
37079 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
37080 mkdir stage3-gas; \
37081 mv stage3-gas gas ; \
37082 mv stage2-gas prev-gas || test -f stage2-lean
37083 @endif gas
37084 @if gcc
37085 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
37086 mkdir stage3-gcc; \
37087 mv stage3-gcc gcc ; \
37088 mv stage2-gcc prev-gcc || test -f stage2-lean
37089 @endif gcc
37090 @if intl
37091 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
37092 mkdir stage3-intl; \
37093 mv stage3-intl intl ; \
37094 mv stage2-intl prev-intl || test -f stage2-lean
37095 @endif intl
37096 @if ld
37097 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
37098 mkdir stage3-ld; \
37099 mv stage3-ld ld ; \
37100 mv stage2-ld prev-ld || test -f stage2-lean
37101 @endif ld
37102 @if libcpp
37103 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
37104 mkdir stage3-libcpp; \
37105 mv stage3-libcpp libcpp ; \
37106 mv stage2-libcpp prev-libcpp || test -f stage2-lean
37107 @endif libcpp
37108 @if libdecnumber
37109 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
37110 mkdir stage3-libdecnumber; \
37111 mv stage3-libdecnumber libdecnumber ; \
37112 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
37113 @endif libdecnumber
37114 @if libiberty
37115 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
37116 mkdir stage3-libiberty; \
37117 mv stage3-libiberty libiberty ; \
37118 mv stage2-libiberty prev-libiberty || test -f stage2-lean
37119 @endif libiberty
37120 @if zlib
37121 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
37122 mkdir stage3-zlib; \
37123 mv stage3-zlib zlib ; \
37124 mv stage2-zlib prev-zlib || test -f stage2-lean
37125 @endif zlib
37126 @[ -d stage3-$(TARGET_SUBDIR) ] || \
37127 mkdir stage3-$(TARGET_SUBDIR); \
37128 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37129 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
37131 stage3-end::
37132 @if bfd
37133 @if test -d $(HOST_SUBDIR)/bfd ; then \
37134 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
37135 mv prev-bfd stage2-bfd ; : ; \
37137 @endif bfd
37138 @if opcodes
37139 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37140 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
37141 mv prev-opcodes stage2-opcodes ; : ; \
37143 @endif opcodes
37144 @if binutils
37145 @if test -d $(HOST_SUBDIR)/binutils ; then \
37146 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
37147 mv prev-binutils stage2-binutils ; : ; \
37149 @endif binutils
37150 @if gas
37151 @if test -d $(HOST_SUBDIR)/gas ; then \
37152 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
37153 mv prev-gas stage2-gas ; : ; \
37155 @endif gas
37156 @if gcc
37157 @if test -d $(HOST_SUBDIR)/gcc ; then \
37158 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
37159 mv prev-gcc stage2-gcc ; : ; \
37161 @endif gcc
37162 @if intl
37163 @if test -d $(HOST_SUBDIR)/intl ; then \
37164 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
37165 mv prev-intl stage2-intl ; : ; \
37167 @endif intl
37168 @if ld
37169 @if test -d $(HOST_SUBDIR)/ld ; then \
37170 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
37171 mv prev-ld stage2-ld ; : ; \
37173 @endif ld
37174 @if libcpp
37175 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37176 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
37177 mv prev-libcpp stage2-libcpp ; : ; \
37179 @endif libcpp
37180 @if libdecnumber
37181 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37182 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
37183 mv prev-libdecnumber stage2-libdecnumber ; : ; \
37185 @endif libdecnumber
37186 @if libiberty
37187 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37188 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
37189 mv prev-libiberty stage2-libiberty ; : ; \
37191 @endif libiberty
37192 @if zlib
37193 @if test -d $(HOST_SUBDIR)/zlib ; then \
37194 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
37195 mv prev-zlib stage2-zlib ; : ; \
37197 @endif zlib
37198 @if test -d $(TARGET_SUBDIR) ; then \
37199 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
37200 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
37202 rm -f stage_current
37204 # Bubble a bugfix through all the stages up to stage 3. They are
37205 # remade, but not reconfigured. The next stage (if any) will not be
37206 # reconfigured as well.
37207 .PHONY: stage3-bubble
37208 stage3-bubble:: stage2-bubble
37209 @r=`${PWD_COMMAND}`; export r; \
37210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37211 if test -f stage3-lean || test -f stage2-lean ; then \
37212 echo Skipping rebuild of stage3 ; \
37213 else \
37214 $(MAKE) stage3-start; \
37215 if $(LEAN); then \
37216 rm -rf stage1-* ; \
37217 $(STAMP) stage1-lean ; \
37218 fi; \
37219 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
37221 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
37223 .PHONY: all-stage3 clean-stage3
37224 do-clean: clean-stage3
37226 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37227 # only possibility, but now it conflicts with no-bootstrap rules
37228 @if gcc-bootstrap
37230 compare:
37231 @r=`${PWD_COMMAND}`; export r; \
37232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37233 if test -f stage2-lean; then \
37234 echo Cannot compare object files as stage 2 was deleted. ; \
37235 exit 0 ; \
37236 fi; \
37237 : $(MAKE); $(stage); \
37238 rm -f .bad_compare ; \
37239 echo Comparing stages 2 and 3 ; \
37240 cd stage3-gcc; \
37241 files=`find . -name "*$(objext)" -print` ; \
37242 cd .. ; \
37243 for file in $${files} ; do \
37244 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
37245 @do_compare@ > /dev/null 2>&1; \
37246 if test $$? -eq 1; then \
37247 case $$file in \
37248 ./cc*-checksum$(objext) | ./libgcc/* ) \
37249 echo warning: $$file differs ;; \
37250 *) \
37251 echo $$file differs >> .bad_compare ;; \
37252 esac ; \
37253 fi ; \
37254 done ; \
37255 if [ -f .bad_compare ]; then \
37256 echo "Bootstrap comparison failure!"; \
37257 cat .bad_compare; \
37258 exit 1; \
37259 else \
37260 echo Comparison successful.; \
37261 fi ; \
37262 $(STAMP) compare
37263 if $(LEAN); then \
37264 rm -rf stage2-*; \
37265 $(STAMP) stage2-lean; \
37270 .PHONY: bootstrap bootstrap-lean
37271 bootstrap:
37272 echo stage3 > stage_final
37273 @r=`${PWD_COMMAND}`; export r; \
37274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37275 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
37276 @: $(MAKE); $(unstage)
37277 @r=`${PWD_COMMAND}`; export r; \
37278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37279 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37281 bootstrap-lean:
37282 echo stage3 > stage_final
37283 @r=`${PWD_COMMAND}`; export r; \
37284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37285 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
37286 @: $(MAKE); $(unstage)
37287 @r=`${PWD_COMMAND}`; export r; \
37288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37289 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37292 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37293 distclean-stage2:: distclean-stage3
37294 .PHONY: distclean-stage3
37295 distclean-stage3::
37296 @: $(MAKE); $(stage)
37297 rm -rf stage3-* compare
37300 .PHONY: cleanstrap
37301 cleanstrap: distclean bootstrap
37303 @endif gcc-bootstrap
37306 .PHONY: stage4-start stage4-end
37308 stage4-start::
37309 @: $(MAKE); $(stage); \
37310 echo stage4 > stage_current ; \
37311 echo stage4 > stage_last; \
37312 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37313 @if bfd
37314 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
37315 mkdir stage4-bfd; \
37316 mv stage4-bfd bfd ; \
37317 mv stage3-bfd prev-bfd || test -f stage3-lean
37318 @endif bfd
37319 @if opcodes
37320 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
37321 mkdir stage4-opcodes; \
37322 mv stage4-opcodes opcodes ; \
37323 mv stage3-opcodes prev-opcodes || test -f stage3-lean
37324 @endif opcodes
37325 @if binutils
37326 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
37327 mkdir stage4-binutils; \
37328 mv stage4-binutils binutils ; \
37329 mv stage3-binutils prev-binutils || test -f stage3-lean
37330 @endif binutils
37331 @if gas
37332 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
37333 mkdir stage4-gas; \
37334 mv stage4-gas gas ; \
37335 mv stage3-gas prev-gas || test -f stage3-lean
37336 @endif gas
37337 @if gcc
37338 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
37339 mkdir stage4-gcc; \
37340 mv stage4-gcc gcc ; \
37341 mv stage3-gcc prev-gcc || test -f stage3-lean
37342 @endif gcc
37343 @if intl
37344 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
37345 mkdir stage4-intl; \
37346 mv stage4-intl intl ; \
37347 mv stage3-intl prev-intl || test -f stage3-lean
37348 @endif intl
37349 @if ld
37350 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
37351 mkdir stage4-ld; \
37352 mv stage4-ld ld ; \
37353 mv stage3-ld prev-ld || test -f stage3-lean
37354 @endif ld
37355 @if libcpp
37356 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
37357 mkdir stage4-libcpp; \
37358 mv stage4-libcpp libcpp ; \
37359 mv stage3-libcpp prev-libcpp || test -f stage3-lean
37360 @endif libcpp
37361 @if libdecnumber
37362 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
37363 mkdir stage4-libdecnumber; \
37364 mv stage4-libdecnumber libdecnumber ; \
37365 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
37366 @endif libdecnumber
37367 @if libiberty
37368 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
37369 mkdir stage4-libiberty; \
37370 mv stage4-libiberty libiberty ; \
37371 mv stage3-libiberty prev-libiberty || test -f stage3-lean
37372 @endif libiberty
37373 @if zlib
37374 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
37375 mkdir stage4-zlib; \
37376 mv stage4-zlib zlib ; \
37377 mv stage3-zlib prev-zlib || test -f stage3-lean
37378 @endif zlib
37379 @[ -d stage4-$(TARGET_SUBDIR) ] || \
37380 mkdir stage4-$(TARGET_SUBDIR); \
37381 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37382 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
37384 stage4-end::
37385 @if bfd
37386 @if test -d $(HOST_SUBDIR)/bfd ; then \
37387 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
37388 mv prev-bfd stage3-bfd ; : ; \
37390 @endif bfd
37391 @if opcodes
37392 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37393 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
37394 mv prev-opcodes stage3-opcodes ; : ; \
37396 @endif opcodes
37397 @if binutils
37398 @if test -d $(HOST_SUBDIR)/binutils ; then \
37399 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
37400 mv prev-binutils stage3-binutils ; : ; \
37402 @endif binutils
37403 @if gas
37404 @if test -d $(HOST_SUBDIR)/gas ; then \
37405 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
37406 mv prev-gas stage3-gas ; : ; \
37408 @endif gas
37409 @if gcc
37410 @if test -d $(HOST_SUBDIR)/gcc ; then \
37411 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
37412 mv prev-gcc stage3-gcc ; : ; \
37414 @endif gcc
37415 @if intl
37416 @if test -d $(HOST_SUBDIR)/intl ; then \
37417 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
37418 mv prev-intl stage3-intl ; : ; \
37420 @endif intl
37421 @if ld
37422 @if test -d $(HOST_SUBDIR)/ld ; then \
37423 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
37424 mv prev-ld stage3-ld ; : ; \
37426 @endif ld
37427 @if libcpp
37428 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37429 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
37430 mv prev-libcpp stage3-libcpp ; : ; \
37432 @endif libcpp
37433 @if libdecnumber
37434 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37435 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
37436 mv prev-libdecnumber stage3-libdecnumber ; : ; \
37438 @endif libdecnumber
37439 @if libiberty
37440 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37441 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
37442 mv prev-libiberty stage3-libiberty ; : ; \
37444 @endif libiberty
37445 @if zlib
37446 @if test -d $(HOST_SUBDIR)/zlib ; then \
37447 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
37448 mv prev-zlib stage3-zlib ; : ; \
37450 @endif zlib
37451 @if test -d $(TARGET_SUBDIR) ; then \
37452 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
37453 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
37455 rm -f stage_current
37457 # Bubble a bugfix through all the stages up to stage 4. They are
37458 # remade, but not reconfigured. The next stage (if any) will not be
37459 # reconfigured as well.
37460 .PHONY: stage4-bubble
37461 stage4-bubble:: stage3-bubble
37462 @r=`${PWD_COMMAND}`; export r; \
37463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37464 if test -f stage4-lean || test -f stage3-lean ; then \
37465 echo Skipping rebuild of stage4 ; \
37466 else \
37467 $(MAKE) stage4-start; \
37468 if $(LEAN); then \
37469 rm -rf stage2-* ; \
37470 $(STAMP) stage2-lean ; \
37471 fi; \
37472 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
37474 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
37476 .PHONY: all-stage4 clean-stage4
37477 do-clean: clean-stage4
37479 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37480 # only possibility, but now it conflicts with no-bootstrap rules
37481 @if gcc-bootstrap
37483 compare3:
37484 @r=`${PWD_COMMAND}`; export r; \
37485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37486 if test -f stage3-lean; then \
37487 echo Cannot compare object files as stage 3 was deleted. ; \
37488 exit 0 ; \
37489 fi; \
37490 : $(MAKE); $(stage); \
37491 rm -f .bad_compare ; \
37492 echo Comparing stages 3 and 4 ; \
37493 cd stage4-gcc; \
37494 files=`find . -name "*$(objext)" -print` ; \
37495 cd .. ; \
37496 for file in $${files} ; do \
37497 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
37498 @do_compare@ > /dev/null 2>&1; \
37499 if test $$? -eq 1; then \
37500 case $$file in \
37501 ./cc*-checksum$(objext) | ./libgcc/* ) \
37502 echo warning: $$file differs ;; \
37503 *) \
37504 echo $$file differs >> .bad_compare ;; \
37505 esac ; \
37506 fi ; \
37507 done ; \
37508 if [ -f .bad_compare ]; then \
37509 echo "Bootstrap comparison failure!"; \
37510 cat .bad_compare; \
37511 exit 1; \
37512 else \
37513 echo Comparison successful.; \
37514 fi ; \
37515 $(STAMP) compare3
37516 if $(LEAN); then \
37517 rm -rf stage3-*; \
37518 $(STAMP) stage3-lean; \
37523 .PHONY: bootstrap4 bootstrap4-lean
37524 bootstrap4:
37525 echo stage4 > stage_final
37526 @r=`${PWD_COMMAND}`; export r; \
37527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37528 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
37529 @: $(MAKE); $(unstage)
37530 @r=`${PWD_COMMAND}`; export r; \
37531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37532 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37534 bootstrap4-lean:
37535 echo stage4 > stage_final
37536 @r=`${PWD_COMMAND}`; export r; \
37537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37538 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
37539 @: $(MAKE); $(unstage)
37540 @r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37545 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37546 distclean-stage3:: distclean-stage4
37547 .PHONY: distclean-stage4
37548 distclean-stage4::
37549 @: $(MAKE); $(stage)
37550 rm -rf stage4-* compare3
37553 @endif gcc-bootstrap
37556 .PHONY: stageprofile-start stageprofile-end
37558 stageprofile-start::
37559 @: $(MAKE); $(stage); \
37560 echo stageprofile > stage_current ; \
37561 echo stageprofile > stage_last; \
37562 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37563 @if bfd
37564 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
37565 mkdir stageprofile-bfd; \
37566 mv stageprofile-bfd bfd ; \
37567 mv stage1-bfd prev-bfd || test -f stage1-lean
37568 @endif bfd
37569 @if opcodes
37570 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
37571 mkdir stageprofile-opcodes; \
37572 mv stageprofile-opcodes opcodes ; \
37573 mv stage1-opcodes prev-opcodes || test -f stage1-lean
37574 @endif opcodes
37575 @if binutils
37576 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
37577 mkdir stageprofile-binutils; \
37578 mv stageprofile-binutils binutils ; \
37579 mv stage1-binutils prev-binutils || test -f stage1-lean
37580 @endif binutils
37581 @if gas
37582 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
37583 mkdir stageprofile-gas; \
37584 mv stageprofile-gas gas ; \
37585 mv stage1-gas prev-gas || test -f stage1-lean
37586 @endif gas
37587 @if gcc
37588 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
37589 mkdir stageprofile-gcc; \
37590 mv stageprofile-gcc gcc ; \
37591 mv stage1-gcc prev-gcc || test -f stage1-lean
37592 @endif gcc
37593 @if intl
37594 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
37595 mkdir stageprofile-intl; \
37596 mv stageprofile-intl intl ; \
37597 mv stage1-intl prev-intl || test -f stage1-lean
37598 @endif intl
37599 @if ld
37600 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
37601 mkdir stageprofile-ld; \
37602 mv stageprofile-ld ld ; \
37603 mv stage1-ld prev-ld || test -f stage1-lean
37604 @endif ld
37605 @if libcpp
37606 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
37607 mkdir stageprofile-libcpp; \
37608 mv stageprofile-libcpp libcpp ; \
37609 mv stage1-libcpp prev-libcpp || test -f stage1-lean
37610 @endif libcpp
37611 @if libdecnumber
37612 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
37613 mkdir stageprofile-libdecnumber; \
37614 mv stageprofile-libdecnumber libdecnumber ; \
37615 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
37616 @endif libdecnumber
37617 @if libiberty
37618 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
37619 mkdir stageprofile-libiberty; \
37620 mv stageprofile-libiberty libiberty ; \
37621 mv stage1-libiberty prev-libiberty || test -f stage1-lean
37622 @endif libiberty
37623 @if zlib
37624 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
37625 mkdir stageprofile-zlib; \
37626 mv stageprofile-zlib zlib ; \
37627 mv stage1-zlib prev-zlib || test -f stage1-lean
37628 @endif zlib
37629 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
37630 mkdir stageprofile-$(TARGET_SUBDIR); \
37631 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37632 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
37634 stageprofile-end::
37635 @if bfd
37636 @if test -d $(HOST_SUBDIR)/bfd ; then \
37637 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
37638 mv prev-bfd stage1-bfd ; : ; \
37640 @endif bfd
37641 @if opcodes
37642 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37643 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
37644 mv prev-opcodes stage1-opcodes ; : ; \
37646 @endif opcodes
37647 @if binutils
37648 @if test -d $(HOST_SUBDIR)/binutils ; then \
37649 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
37650 mv prev-binutils stage1-binutils ; : ; \
37652 @endif binutils
37653 @if gas
37654 @if test -d $(HOST_SUBDIR)/gas ; then \
37655 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
37656 mv prev-gas stage1-gas ; : ; \
37658 @endif gas
37659 @if gcc
37660 @if test -d $(HOST_SUBDIR)/gcc ; then \
37661 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
37662 mv prev-gcc stage1-gcc ; : ; \
37664 @endif gcc
37665 @if intl
37666 @if test -d $(HOST_SUBDIR)/intl ; then \
37667 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
37668 mv prev-intl stage1-intl ; : ; \
37670 @endif intl
37671 @if ld
37672 @if test -d $(HOST_SUBDIR)/ld ; then \
37673 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
37674 mv prev-ld stage1-ld ; : ; \
37676 @endif ld
37677 @if libcpp
37678 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37679 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
37680 mv prev-libcpp stage1-libcpp ; : ; \
37682 @endif libcpp
37683 @if libdecnumber
37684 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37685 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
37686 mv prev-libdecnumber stage1-libdecnumber ; : ; \
37688 @endif libdecnumber
37689 @if libiberty
37690 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37691 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
37692 mv prev-libiberty stage1-libiberty ; : ; \
37694 @endif libiberty
37695 @if zlib
37696 @if test -d $(HOST_SUBDIR)/zlib ; then \
37697 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
37698 mv prev-zlib stage1-zlib ; : ; \
37700 @endif zlib
37701 @if test -d $(TARGET_SUBDIR) ; then \
37702 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
37703 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
37705 rm -f stage_current
37707 # Bubble a bugfix through all the stages up to stage profile. They are
37708 # remade, but not reconfigured. The next stage (if any) will not be
37709 # reconfigured as well.
37710 .PHONY: stageprofile-bubble
37711 stageprofile-bubble:: stage1-bubble
37712 @r=`${PWD_COMMAND}`; export r; \
37713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37714 if test -f stageprofile-lean || test -f stage1-lean ; then \
37715 echo Skipping rebuild of stageprofile ; \
37716 else \
37717 $(MAKE) stageprofile-start; \
37718 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
37721 .PHONY: all-stageprofile clean-stageprofile
37722 do-clean: clean-stageprofile
37724 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37725 # only possibility, but now it conflicts with no-bootstrap rules
37726 @if gcc-bootstrap
37731 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37732 distclean-stage1:: distclean-stageprofile
37733 .PHONY: distclean-stageprofile
37734 distclean-stageprofile::
37735 @: $(MAKE); $(stage)
37736 rm -rf stageprofile-*
37739 @endif gcc-bootstrap
37742 .PHONY: stagefeedback-start stagefeedback-end
37744 stagefeedback-start::
37745 @: $(MAKE); $(stage); \
37746 echo stagefeedback > stage_current ; \
37747 echo stagefeedback > stage_last; \
37748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37749 @if bfd
37750 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
37751 mkdir stagefeedback-bfd; \
37752 mv stagefeedback-bfd bfd ; \
37753 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
37754 @endif bfd
37755 @if opcodes
37756 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
37757 mkdir stagefeedback-opcodes; \
37758 mv stagefeedback-opcodes opcodes ; \
37759 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
37760 @endif opcodes
37761 @if binutils
37762 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
37763 mkdir stagefeedback-binutils; \
37764 mv stagefeedback-binutils binutils ; \
37765 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
37766 @endif binutils
37767 @if gas
37768 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
37769 mkdir stagefeedback-gas; \
37770 mv stagefeedback-gas gas ; \
37771 mv stageprofile-gas prev-gas || test -f stageprofile-lean
37772 @endif gas
37773 @if gcc
37774 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
37775 mkdir stagefeedback-gcc; \
37776 mv stagefeedback-gcc gcc ; \
37777 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
37778 @endif gcc
37779 @if intl
37780 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
37781 mkdir stagefeedback-intl; \
37782 mv stagefeedback-intl intl ; \
37783 mv stageprofile-intl prev-intl || test -f stageprofile-lean
37784 @endif intl
37785 @if ld
37786 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
37787 mkdir stagefeedback-ld; \
37788 mv stagefeedback-ld ld ; \
37789 mv stageprofile-ld prev-ld || test -f stageprofile-lean
37790 @endif ld
37791 @if libcpp
37792 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
37793 mkdir stagefeedback-libcpp; \
37794 mv stagefeedback-libcpp libcpp ; \
37795 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
37796 @endif libcpp
37797 @if libdecnumber
37798 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
37799 mkdir stagefeedback-libdecnumber; \
37800 mv stagefeedback-libdecnumber libdecnumber ; \
37801 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
37802 @endif libdecnumber
37803 @if libiberty
37804 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
37805 mkdir stagefeedback-libiberty; \
37806 mv stagefeedback-libiberty libiberty ; \
37807 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
37808 @endif libiberty
37809 @if zlib
37810 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
37811 mkdir stagefeedback-zlib; \
37812 mv stagefeedback-zlib zlib ; \
37813 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
37814 @endif zlib
37815 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
37816 mkdir stagefeedback-$(TARGET_SUBDIR); \
37817 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37818 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
37820 stagefeedback-end::
37821 @if bfd
37822 @if test -d $(HOST_SUBDIR)/bfd ; then \
37823 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
37824 mv prev-bfd stageprofile-bfd ; : ; \
37826 @endif bfd
37827 @if opcodes
37828 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37829 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
37830 mv prev-opcodes stageprofile-opcodes ; : ; \
37832 @endif opcodes
37833 @if binutils
37834 @if test -d $(HOST_SUBDIR)/binutils ; then \
37835 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
37836 mv prev-binutils stageprofile-binutils ; : ; \
37838 @endif binutils
37839 @if gas
37840 @if test -d $(HOST_SUBDIR)/gas ; then \
37841 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
37842 mv prev-gas stageprofile-gas ; : ; \
37844 @endif gas
37845 @if gcc
37846 @if test -d $(HOST_SUBDIR)/gcc ; then \
37847 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
37848 mv prev-gcc stageprofile-gcc ; : ; \
37850 @endif gcc
37851 @if intl
37852 @if test -d $(HOST_SUBDIR)/intl ; then \
37853 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
37854 mv prev-intl stageprofile-intl ; : ; \
37856 @endif intl
37857 @if ld
37858 @if test -d $(HOST_SUBDIR)/ld ; then \
37859 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
37860 mv prev-ld stageprofile-ld ; : ; \
37862 @endif ld
37863 @if libcpp
37864 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37865 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
37866 mv prev-libcpp stageprofile-libcpp ; : ; \
37868 @endif libcpp
37869 @if libdecnumber
37870 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37871 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
37872 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
37874 @endif libdecnumber
37875 @if libiberty
37876 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37877 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
37878 mv prev-libiberty stageprofile-libiberty ; : ; \
37880 @endif libiberty
37881 @if zlib
37882 @if test -d $(HOST_SUBDIR)/zlib ; then \
37883 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
37884 mv prev-zlib stageprofile-zlib ; : ; \
37886 @endif zlib
37887 @if test -d $(TARGET_SUBDIR) ; then \
37888 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
37889 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
37891 rm -f stage_current
37893 # Bubble a bugfix through all the stages up to stage feedback. They are
37894 # remade, but not reconfigured. The next stage (if any) will not be
37895 # reconfigured as well.
37896 .PHONY: stagefeedback-bubble
37897 stagefeedback-bubble:: stageprofile-bubble
37898 @r=`${PWD_COMMAND}`; export r; \
37899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37900 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37901 echo Skipping rebuild of stagefeedback ; \
37902 else \
37903 $(MAKE) stagefeedback-start; \
37904 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37907 .PHONY: all-stagefeedback clean-stagefeedback
37908 do-clean: clean-stagefeedback
37910 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37911 # only possibility, but now it conflicts with no-bootstrap rules
37912 @if gcc-bootstrap
37916 .PHONY: profiledbootstrap profiledbootstrap-lean
37917 profiledbootstrap:
37918 echo stagefeedback > stage_final
37919 @r=`${PWD_COMMAND}`; export r; \
37920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37921 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
37922 @: $(MAKE); $(unstage)
37923 @r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37927 profiledbootstrap-lean:
37928 echo stagefeedback > stage_final
37929 @r=`${PWD_COMMAND}`; export r; \
37930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37931 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
37932 @: $(MAKE); $(unstage)
37933 @r=`${PWD_COMMAND}`; export r; \
37934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37935 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37938 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37939 distclean-stageprofile:: distclean-stagefeedback
37940 .PHONY: distclean-stagefeedback
37941 distclean-stagefeedback::
37942 @: $(MAKE); $(stage)
37943 rm -rf stagefeedback-*
37946 @endif gcc-bootstrap
37950 stageprofile-end::
37951 $(MAKE) distclean-stagefeedback
37953 stagefeedback-start::
37954 @r=`${PWD_COMMAND}`; export r; \
37955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37956 for i in prev-*; do \
37957 j=`echo $$i | sed s/^prev-//` ; \
37958 cd $$r/$$i && \
37959 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37960 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37961 done
37963 @if gcc-bootstrap
37964 do-distclean: distclean-stage1
37966 # Provide a GCC build when we're building target libraries. This does
37967 # not work as a dependency, just as the minimum necessary to avoid errors.
37968 stage_last:
37969 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
37970 @endif gcc-bootstrap
37972 .PHONY: restrap
37973 restrap:
37974 @: $(MAKE); $(stage)
37975 rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback
37976 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
37978 # --------------------------------------
37979 # Dependencies between different modules
37980 # --------------------------------------
37982 # Generic dependencies for target modules on host stuff, especially gcc
37983 @if gcc-bootstrap
37984 configure-target-libstdc++-v3: stage_last
37985 configure-target-libmudflap: stage_last
37986 configure-target-libssp: stage_last
37987 configure-target-libgcc-math: stage_last
37988 configure-target-newlib: stage_last
37989 configure-target-libgfortran: stage_last
37990 configure-target-libobjc: stage_last
37991 configure-target-libtermcap: stage_last
37992 configure-target-winsup: stage_last
37993 configure-target-libgloss: stage_last
37994 configure-target-libiberty: stage_last
37995 configure-target-gperf: stage_last
37996 configure-target-examples: stage_last
37997 configure-target-libffi: stage_last
37998 configure-target-libjava: stage_last
37999 configure-target-zlib: stage_last
38000 configure-target-boehm-gc: stage_last
38001 configure-target-qthreads: stage_last
38002 configure-target-rda: stage_last
38003 configure-target-libada: stage_last
38004 configure-target-libgomp: stage_last
38005 @endif gcc-bootstrap
38007 @if gcc-no-bootstrap
38008 configure-target-libstdc++-v3: maybe-all-gcc
38009 configure-target-libmudflap: maybe-all-gcc
38010 configure-target-libssp: maybe-all-gcc
38011 configure-target-libgcc-math: maybe-all-gcc
38012 configure-target-newlib: maybe-all-gcc
38013 configure-target-libgfortran: maybe-all-gcc
38014 configure-target-libobjc: maybe-all-gcc
38015 configure-target-libtermcap: maybe-all-gcc
38016 configure-target-winsup: maybe-all-gcc
38017 configure-target-libgloss: maybe-all-gcc
38018 configure-target-libiberty: maybe-all-gcc
38019 configure-target-gperf: maybe-all-gcc
38020 configure-target-examples: maybe-all-gcc
38021 configure-target-libffi: maybe-all-gcc
38022 configure-target-libjava: maybe-all-gcc
38023 configure-target-zlib: maybe-all-gcc
38024 configure-target-boehm-gc: maybe-all-gcc
38025 configure-target-qthreads: maybe-all-gcc
38026 configure-target-rda: maybe-all-gcc
38027 configure-target-libada: maybe-all-gcc
38028 configure-target-libgomp: maybe-all-gcc
38029 @endif gcc-no-bootstrap
38033 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
38035 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
38036 configure-target-gperf: maybe-all-target-libstdc++-v3
38038 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
38040 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
38042 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
38044 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
38045 configure-target-libjava: maybe-all-target-libstdc++-v3
38047 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
38049 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
38051 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
38053 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
38055 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
38057 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
38059 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
38061 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
38063 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
38065 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
38068 # There are two types of dependencies here: 'hard' dependencies, where one
38069 # module simply won't build without the other; and 'soft' dependencies, where
38070 # if the depended-on module is missing, the depending module will do without
38071 # or find a substitute somewhere (perhaps installed). Soft dependencies
38072 # are made here to depend on a 'maybe-' target. If you're not sure,
38073 # it's safer to use a soft dependency.
38080 # With all the machinery above in place, it is pretty easy to generate
38081 # dependencies. Host dependencies are a bit more complex because we have
38082 # to check for bootstrap/prebootstrap dependencies. To resolve
38083 # prebootstrap dependencies, prebootstrap modules are gathered in
38084 # a hash table.
38085 all-build-bison: maybe-all-build-texinfo
38086 all-build-byacc: maybe-all-build-texinfo
38087 all-build-flex: maybe-all-build-texinfo
38088 all-build-flex: maybe-all-build-bison
38089 all-build-flex: maybe-all-build-byacc
38090 all-build-flex: maybe-all-build-m4
38091 all-build-libiberty: maybe-all-build-texinfo
38092 all-build-m4: maybe-all-build-texinfo
38093 all-build-fixincludes: maybe-all-build-libiberty
38094 configure-gcc: maybe-configure-intl
38096 configure-stage1-gcc: maybe-configure-stage1-intl
38097 configure-stage2-gcc: maybe-configure-stage2-intl
38098 configure-stage3-gcc: maybe-configure-stage3-intl
38099 configure-stage4-gcc: maybe-configure-stage4-intl
38100 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
38101 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
38102 configure-gcc: maybe-all-binutils
38104 configure-stage1-gcc: maybe-all-stage1-binutils
38105 configure-stage2-gcc: maybe-all-stage2-binutils
38106 configure-stage3-gcc: maybe-all-stage3-binutils
38107 configure-stage4-gcc: maybe-all-stage4-binutils
38108 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
38109 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
38110 configure-gcc: maybe-all-gas
38112 configure-stage1-gcc: maybe-all-stage1-gas
38113 configure-stage2-gcc: maybe-all-stage2-gas
38114 configure-stage3-gcc: maybe-all-stage3-gas
38115 configure-stage4-gcc: maybe-all-stage4-gas
38116 configure-stageprofile-gcc: maybe-all-stageprofile-gas
38117 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
38118 configure-gcc: maybe-all-ld
38120 configure-stage1-gcc: maybe-all-stage1-ld
38121 configure-stage2-gcc: maybe-all-stage2-ld
38122 configure-stage3-gcc: maybe-all-stage3-ld
38123 configure-stage4-gcc: maybe-all-stage4-ld
38124 configure-stageprofile-gcc: maybe-all-stageprofile-ld
38125 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
38126 all-gcc: all-libiberty
38128 all-stage1-gcc: all-stage1-libiberty
38129 all-stage2-gcc: all-stage2-libiberty
38130 all-stage3-gcc: all-stage3-libiberty
38131 all-stage4-gcc: all-stage4-libiberty
38132 all-stageprofile-gcc: all-stageprofile-libiberty
38133 all-stagefeedback-gcc: all-stagefeedback-libiberty
38134 all-gcc: maybe-all-intl
38136 all-stage1-gcc: maybe-all-stage1-intl
38137 all-stage2-gcc: maybe-all-stage2-intl
38138 all-stage3-gcc: maybe-all-stage3-intl
38139 all-stage4-gcc: maybe-all-stage4-intl
38140 all-stageprofile-gcc: maybe-all-stageprofile-intl
38141 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
38142 all-gcc: maybe-all-build-texinfo
38144 all-stage1-gcc: maybe-all-build-texinfo
38145 all-stage2-gcc: maybe-all-build-texinfo
38146 all-stage3-gcc: maybe-all-build-texinfo
38147 all-stage4-gcc: maybe-all-build-texinfo
38148 all-stageprofile-gcc: maybe-all-build-texinfo
38149 all-stagefeedback-gcc: maybe-all-build-texinfo
38150 all-prebootstrap: maybe-all-build-texinfo
38151 all-gcc: maybe-all-build-bison
38153 all-stage1-gcc: maybe-all-build-bison
38154 all-stage2-gcc: maybe-all-build-bison
38155 all-stage3-gcc: maybe-all-build-bison
38156 all-stage4-gcc: maybe-all-build-bison
38157 all-stageprofile-gcc: maybe-all-build-bison
38158 all-stagefeedback-gcc: maybe-all-build-bison
38159 all-prebootstrap: maybe-all-build-bison
38160 all-gcc: maybe-all-build-byacc
38162 all-stage1-gcc: maybe-all-build-byacc
38163 all-stage2-gcc: maybe-all-build-byacc
38164 all-stage3-gcc: maybe-all-build-byacc
38165 all-stage4-gcc: maybe-all-build-byacc
38166 all-stageprofile-gcc: maybe-all-build-byacc
38167 all-stagefeedback-gcc: maybe-all-build-byacc
38168 all-prebootstrap: maybe-all-build-byacc
38169 all-gcc: maybe-all-build-flex
38171 all-stage1-gcc: maybe-all-build-flex
38172 all-stage2-gcc: maybe-all-build-flex
38173 all-stage3-gcc: maybe-all-build-flex
38174 all-stage4-gcc: maybe-all-build-flex
38175 all-stageprofile-gcc: maybe-all-build-flex
38176 all-stagefeedback-gcc: maybe-all-build-flex
38177 all-prebootstrap: maybe-all-build-flex
38178 all-gcc: maybe-all-build-libiberty
38180 all-stage1-gcc: maybe-all-build-libiberty
38181 all-stage2-gcc: maybe-all-build-libiberty
38182 all-stage3-gcc: maybe-all-build-libiberty
38183 all-stage4-gcc: maybe-all-build-libiberty
38184 all-stageprofile-gcc: maybe-all-build-libiberty
38185 all-stagefeedback-gcc: maybe-all-build-libiberty
38186 all-prebootstrap: maybe-all-build-libiberty
38187 all-gcc: maybe-all-build-fixincludes
38189 all-stage1-gcc: maybe-all-build-fixincludes
38190 all-stage2-gcc: maybe-all-build-fixincludes
38191 all-stage3-gcc: maybe-all-build-fixincludes
38192 all-stage4-gcc: maybe-all-build-fixincludes
38193 all-stageprofile-gcc: maybe-all-build-fixincludes
38194 all-stagefeedback-gcc: maybe-all-build-fixincludes
38195 all-prebootstrap: maybe-all-build-fixincludes
38196 all-gcc: maybe-all-zlib
38198 all-stage1-gcc: maybe-all-stage1-zlib
38199 all-stage2-gcc: maybe-all-stage2-zlib
38200 all-stage3-gcc: maybe-all-stage3-zlib
38201 all-stage4-gcc: maybe-all-stage4-zlib
38202 all-stageprofile-gcc: maybe-all-stageprofile-zlib
38203 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
38204 all-gcc: all-libcpp
38206 all-stage1-gcc: all-stage1-libcpp
38207 all-stage2-gcc: all-stage2-libcpp
38208 all-stage3-gcc: all-stage3-libcpp
38209 all-stage4-gcc: all-stage4-libcpp
38210 all-stageprofile-gcc: all-stageprofile-libcpp
38211 all-stagefeedback-gcc: all-stagefeedback-libcpp
38212 all-gcc: all-libdecnumber
38214 all-stage1-gcc: all-stage1-libdecnumber
38215 all-stage2-gcc: all-stage2-libdecnumber
38216 all-stage3-gcc: all-stage3-libdecnumber
38217 all-stage4-gcc: all-stage4-libdecnumber
38218 all-stageprofile-gcc: all-stageprofile-libdecnumber
38219 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
38220 all-gcc: maybe-all-libiberty
38222 all-stage1-gcc: maybe-all-stage1-libiberty
38223 all-stage2-gcc: maybe-all-stage2-libiberty
38224 all-stage3-gcc: maybe-all-stage3-libiberty
38225 all-stage4-gcc: maybe-all-stage4-libiberty
38226 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
38227 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
38228 all-gcc: maybe-all-fixincludes
38229 install-gcc: maybe-install-fixincludes
38230 configure-libcpp: configure-libiberty
38232 configure-stage1-libcpp: configure-stage1-libiberty
38233 configure-stage2-libcpp: configure-stage2-libiberty
38234 configure-stage3-libcpp: configure-stage3-libiberty
38235 configure-stage4-libcpp: configure-stage4-libiberty
38236 configure-stageprofile-libcpp: configure-stageprofile-libiberty
38237 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
38238 configure-libcpp: maybe-configure-intl
38240 configure-stage1-libcpp: maybe-configure-stage1-intl
38241 configure-stage2-libcpp: maybe-configure-stage2-intl
38242 configure-stage3-libcpp: maybe-configure-stage3-intl
38243 configure-stage4-libcpp: maybe-configure-stage4-intl
38244 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
38245 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
38246 all-libcpp: all-libiberty
38248 all-stage1-libcpp: all-stage1-libiberty
38249 all-stage2-libcpp: all-stage2-libiberty
38250 all-stage3-libcpp: all-stage3-libiberty
38251 all-stage4-libcpp: all-stage4-libiberty
38252 all-stageprofile-libcpp: all-stageprofile-libiberty
38253 all-stagefeedback-libcpp: all-stagefeedback-libiberty
38254 all-libcpp: maybe-all-intl
38256 all-stage1-libcpp: maybe-all-stage1-intl
38257 all-stage2-libcpp: maybe-all-stage2-intl
38258 all-stage3-libcpp: maybe-all-stage3-intl
38259 all-stage4-libcpp: maybe-all-stage4-intl
38260 all-stageprofile-libcpp: maybe-all-stageprofile-intl
38261 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
38262 all-fixincludes: maybe-all-libiberty
38263 all-gnattools: maybe-all-target-libada
38264 configure-gdb: maybe-configure-sim
38265 all-gdb: maybe-all-libiberty
38266 all-gdb: maybe-all-opcodes
38267 all-gdb: maybe-all-bfd
38268 all-gdb: maybe-all-readline
38269 all-gdb: maybe-all-build-bison
38270 all-gdb: maybe-all-build-byacc
38271 all-gdb: maybe-all-sim
38272 configure-libgui: maybe-configure-tcl
38273 configure-libgui: maybe-configure-tk
38274 all-libgui: maybe-all-tcl
38275 all-libgui: maybe-all-tk
38276 all-libgui: maybe-all-itcl
38277 configure-bfd: configure-libiberty
38279 configure-stage1-bfd: configure-stage1-libiberty
38280 configure-stage2-bfd: configure-stage2-libiberty
38281 configure-stage3-bfd: configure-stage3-libiberty
38282 configure-stage4-bfd: configure-stage4-libiberty
38283 configure-stageprofile-bfd: configure-stageprofile-libiberty
38284 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
38285 all-bfd: maybe-all-libiberty
38287 all-stage1-bfd: maybe-all-stage1-libiberty
38288 all-stage2-bfd: maybe-all-stage2-libiberty
38289 all-stage3-bfd: maybe-all-stage3-libiberty
38290 all-stage4-bfd: maybe-all-stage4-libiberty
38291 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
38292 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
38293 all-bfd: maybe-all-intl
38295 all-stage1-bfd: maybe-all-stage1-intl
38296 all-stage2-bfd: maybe-all-stage2-intl
38297 all-stage3-bfd: maybe-all-stage3-intl
38298 all-stage4-bfd: maybe-all-stage4-intl
38299 all-stageprofile-bfd: maybe-all-stageprofile-intl
38300 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
38301 all-binutils: maybe-all-libiberty
38303 all-stage1-binutils: maybe-all-stage1-libiberty
38304 all-stage2-binutils: maybe-all-stage2-libiberty
38305 all-stage3-binutils: maybe-all-stage3-libiberty
38306 all-stage4-binutils: maybe-all-stage4-libiberty
38307 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
38308 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
38309 all-binutils: maybe-all-opcodes
38311 all-stage1-binutils: maybe-all-stage1-opcodes
38312 all-stage2-binutils: maybe-all-stage2-opcodes
38313 all-stage3-binutils: maybe-all-stage3-opcodes
38314 all-stage4-binutils: maybe-all-stage4-opcodes
38315 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
38316 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
38317 all-binutils: maybe-all-bfd
38319 all-stage1-binutils: maybe-all-stage1-bfd
38320 all-stage2-binutils: maybe-all-stage2-bfd
38321 all-stage3-binutils: maybe-all-stage3-bfd
38322 all-stage4-binutils: maybe-all-stage4-bfd
38323 all-stageprofile-binutils: maybe-all-stageprofile-bfd
38324 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
38325 all-binutils: maybe-all-build-flex
38327 all-stage1-binutils: maybe-all-build-flex
38328 all-stage2-binutils: maybe-all-build-flex
38329 all-stage3-binutils: maybe-all-build-flex
38330 all-stage4-binutils: maybe-all-build-flex
38331 all-stageprofile-binutils: maybe-all-build-flex
38332 all-stagefeedback-binutils: maybe-all-build-flex
38333 all-prebootstrap: maybe-all-build-flex
38334 all-binutils: maybe-all-build-bison
38336 all-stage1-binutils: maybe-all-build-bison
38337 all-stage2-binutils: maybe-all-build-bison
38338 all-stage3-binutils: maybe-all-build-bison
38339 all-stage4-binutils: maybe-all-build-bison
38340 all-stageprofile-binutils: maybe-all-build-bison
38341 all-stagefeedback-binutils: maybe-all-build-bison
38342 all-prebootstrap: maybe-all-build-bison
38343 all-binutils: maybe-all-build-byacc
38345 all-stage1-binutils: maybe-all-build-byacc
38346 all-stage2-binutils: maybe-all-build-byacc
38347 all-stage3-binutils: maybe-all-build-byacc
38348 all-stage4-binutils: maybe-all-build-byacc
38349 all-stageprofile-binutils: maybe-all-build-byacc
38350 all-stagefeedback-binutils: maybe-all-build-byacc
38351 all-prebootstrap: maybe-all-build-byacc
38352 all-binutils: maybe-all-intl
38354 all-stage1-binutils: maybe-all-stage1-intl
38355 all-stage2-binutils: maybe-all-stage2-intl
38356 all-stage3-binutils: maybe-all-stage3-intl
38357 all-stage4-binutils: maybe-all-stage4-intl
38358 all-stageprofile-binutils: maybe-all-stageprofile-intl
38359 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
38360 install-binutils: maybe-install-opcodes
38361 install-opcodes: maybe-install-bfd
38362 all-gas: maybe-all-libiberty
38364 all-stage1-gas: maybe-all-stage1-libiberty
38365 all-stage2-gas: maybe-all-stage2-libiberty
38366 all-stage3-gas: maybe-all-stage3-libiberty
38367 all-stage4-gas: maybe-all-stage4-libiberty
38368 all-stageprofile-gas: maybe-all-stageprofile-libiberty
38369 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
38370 all-gas: maybe-all-opcodes
38372 all-stage1-gas: maybe-all-stage1-opcodes
38373 all-stage2-gas: maybe-all-stage2-opcodes
38374 all-stage3-gas: maybe-all-stage3-opcodes
38375 all-stage4-gas: maybe-all-stage4-opcodes
38376 all-stageprofile-gas: maybe-all-stageprofile-opcodes
38377 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
38378 all-gas: maybe-all-bfd
38380 all-stage1-gas: maybe-all-stage1-bfd
38381 all-stage2-gas: maybe-all-stage2-bfd
38382 all-stage3-gas: maybe-all-stage3-bfd
38383 all-stage4-gas: maybe-all-stage4-bfd
38384 all-stageprofile-gas: maybe-all-stageprofile-bfd
38385 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
38386 all-gas: maybe-all-intl
38388 all-stage1-gas: maybe-all-stage1-intl
38389 all-stage2-gas: maybe-all-stage2-intl
38390 all-stage3-gas: maybe-all-stage3-intl
38391 all-stage4-gas: maybe-all-stage4-intl
38392 all-stageprofile-gas: maybe-all-stageprofile-intl
38393 all-stagefeedback-gas: maybe-all-stagefeedback-intl
38394 all-gprof: maybe-all-libiberty
38395 all-gprof: maybe-all-bfd
38396 all-gprof: maybe-all-opcodes
38397 all-gprof: maybe-all-intl
38398 all-ld: maybe-all-libiberty
38400 all-stage1-ld: maybe-all-stage1-libiberty
38401 all-stage2-ld: maybe-all-stage2-libiberty
38402 all-stage3-ld: maybe-all-stage3-libiberty
38403 all-stage4-ld: maybe-all-stage4-libiberty
38404 all-stageprofile-ld: maybe-all-stageprofile-libiberty
38405 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
38406 all-ld: maybe-all-bfd
38408 all-stage1-ld: maybe-all-stage1-bfd
38409 all-stage2-ld: maybe-all-stage2-bfd
38410 all-stage3-ld: maybe-all-stage3-bfd
38411 all-stage4-ld: maybe-all-stage4-bfd
38412 all-stageprofile-ld: maybe-all-stageprofile-bfd
38413 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
38414 all-ld: maybe-all-opcodes
38416 all-stage1-ld: maybe-all-stage1-opcodes
38417 all-stage2-ld: maybe-all-stage2-opcodes
38418 all-stage3-ld: maybe-all-stage3-opcodes
38419 all-stage4-ld: maybe-all-stage4-opcodes
38420 all-stageprofile-ld: maybe-all-stageprofile-opcodes
38421 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
38422 all-ld: maybe-all-build-bison
38424 all-stage1-ld: maybe-all-build-bison
38425 all-stage2-ld: maybe-all-build-bison
38426 all-stage3-ld: maybe-all-build-bison
38427 all-stage4-ld: maybe-all-build-bison
38428 all-stageprofile-ld: maybe-all-build-bison
38429 all-stagefeedback-ld: maybe-all-build-bison
38430 all-prebootstrap: maybe-all-build-bison
38431 all-ld: maybe-all-build-byacc
38433 all-stage1-ld: maybe-all-build-byacc
38434 all-stage2-ld: maybe-all-build-byacc
38435 all-stage3-ld: maybe-all-build-byacc
38436 all-stage4-ld: maybe-all-build-byacc
38437 all-stageprofile-ld: maybe-all-build-byacc
38438 all-stagefeedback-ld: maybe-all-build-byacc
38439 all-prebootstrap: maybe-all-build-byacc
38440 all-ld: maybe-all-build-flex
38442 all-stage1-ld: maybe-all-build-flex
38443 all-stage2-ld: maybe-all-build-flex
38444 all-stage3-ld: maybe-all-build-flex
38445 all-stage4-ld: maybe-all-build-flex
38446 all-stageprofile-ld: maybe-all-build-flex
38447 all-stagefeedback-ld: maybe-all-build-flex
38448 all-prebootstrap: maybe-all-build-flex
38449 all-ld: maybe-all-intl
38451 all-stage1-ld: maybe-all-stage1-intl
38452 all-stage2-ld: maybe-all-stage2-intl
38453 all-stage3-ld: maybe-all-stage3-intl
38454 all-stage4-ld: maybe-all-stage4-intl
38455 all-stageprofile-ld: maybe-all-stageprofile-intl
38456 all-stagefeedback-ld: maybe-all-stagefeedback-intl
38457 all-opcodes: maybe-all-bfd
38459 all-stage1-opcodes: maybe-all-stage1-bfd
38460 all-stage2-opcodes: maybe-all-stage2-bfd
38461 all-stage3-opcodes: maybe-all-stage3-bfd
38462 all-stage4-opcodes: maybe-all-stage4-bfd
38463 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
38464 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
38465 all-opcodes: maybe-all-libiberty
38467 all-stage1-opcodes: maybe-all-stage1-libiberty
38468 all-stage2-opcodes: maybe-all-stage2-libiberty
38469 all-stage3-opcodes: maybe-all-stage3-libiberty
38470 all-stage4-opcodes: maybe-all-stage4-libiberty
38471 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
38472 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
38473 all-dejagnu: maybe-all-tcl
38474 all-dejagnu: maybe-all-expect
38475 all-dejagnu: maybe-all-tk
38476 configure-expect: maybe-configure-tcl
38477 configure-expect: maybe-configure-tk
38478 all-expect: maybe-all-tcl
38479 all-expect: maybe-all-tk
38480 configure-itcl: maybe-configure-tcl
38481 configure-itcl: maybe-configure-tk
38482 all-itcl: maybe-all-tcl
38483 all-itcl: maybe-all-tk
38484 install-itcl: maybe-install-tcl
38485 configure-tk: maybe-configure-tcl
38486 all-tk: maybe-all-tcl
38487 all-sid: maybe-all-libiberty
38488 all-sid: maybe-all-bfd
38489 all-sid: maybe-all-opcodes
38490 all-sid: maybe-all-tcl
38491 all-sid: maybe-all-tk
38492 install-sid: maybe-install-tcl
38493 install-sid: maybe-install-tk
38494 all-sim: maybe-all-libiberty
38495 all-sim: maybe-all-bfd
38496 all-sim: maybe-all-opcodes
38497 all-sim: maybe-all-readline
38498 all-sim: maybe-configure-gdb
38499 all-fastjar: maybe-all-zlib
38500 all-fastjar: maybe-all-build-texinfo
38501 all-fastjar: maybe-all-libiberty
38502 all-autoconf: maybe-all-m4
38503 all-autoconf: maybe-all-build-texinfo
38504 all-automake: maybe-all-m4
38505 all-automake: maybe-all-build-texinfo
38506 all-automake: maybe-all-autoconf
38507 all-bison: maybe-all-intl
38508 all-bison: maybe-all-build-texinfo
38509 all-diff: maybe-all-intl
38510 all-diff: maybe-all-build-texinfo
38511 all-fileutils: maybe-all-intl
38512 all-fileutils: maybe-all-build-texinfo
38513 all-flex: maybe-all-build-bison
38514 all-flex: maybe-all-build-byacc
38515 all-flex: maybe-all-intl
38516 all-flex: maybe-all-m4
38517 all-flex: maybe-all-build-texinfo
38518 all-gzip: maybe-all-intl
38519 all-gzip: maybe-all-zlib
38520 all-gzip: maybe-all-build-texinfo
38521 all-hello: maybe-all-intl
38522 all-hello: maybe-all-build-texinfo
38523 all-m4: maybe-all-intl
38524 all-m4: maybe-all-build-texinfo
38525 all-make: maybe-all-intl
38526 all-make: maybe-all-build-texinfo
38527 all-patch: maybe-all-build-texinfo
38528 all-make: maybe-all-build-texinfo
38529 all-prms: maybe-all-libiberty
38530 all-recode: maybe-all-build-texinfo
38531 all-sed: maybe-all-build-texinfo
38532 all-send-pr: maybe-all-prms
38533 all-tar: maybe-all-build-texinfo
38534 all-uudecode: maybe-all-build-texinfo
38535 configure-target-boehm-gc: maybe-configure-target-qthreads
38536 configure-target-fastjar: maybe-configure-target-zlib
38537 all-target-fastjar: maybe-all-target-zlib
38538 all-target-fastjar: maybe-all-target-libiberty
38539 configure-target-libjava: maybe-configure-target-zlib
38540 configure-target-libjava: maybe-configure-target-boehm-gc
38541 configure-target-libjava: maybe-configure-target-qthreads
38542 configure-target-libjava: maybe-configure-target-libffi
38543 all-target-libjava: maybe-all-fastjar
38544 all-target-libjava: maybe-all-target-zlib
38545 all-target-libjava: maybe-all-target-boehm-gc
38546 all-target-libjava: maybe-all-target-qthreads
38547 all-target-libjava: maybe-all-target-libffi
38548 all-target-libobjc: maybe-all-target-libiberty
38549 all-target-libstdc++-v3: maybe-all-target-libiberty
38550 all-target-libgloss: maybe-configure-target-newlib
38551 all-target-winsup: maybe-all-target-libiberty
38552 all-target-winsup: maybe-all-target-libtermcap
38555 # Non-toplevel bootstrap rules must depend on several packages, to be built
38556 # before gcc. Another wart that will go away, hopefully soon.
38557 @if gcc-no-bootstrap
38559 all-prebootstrap: maybe-all-bfd
38560 all-prebootstrap: maybe-all-opcodes
38561 all-prebootstrap: maybe-all-binutils
38562 all-prebootstrap: maybe-all-gas
38563 all-prebootstrap: maybe-all-intl
38564 all-prebootstrap: maybe-all-ld
38565 all-prebootstrap: maybe-all-libcpp
38566 all-prebootstrap: maybe-all-libdecnumber
38567 all-prebootstrap: maybe-all-libiberty
38568 all-prebootstrap: maybe-all-zlib
38569 @endif gcc-no-bootstrap
38571 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
38572 GDB_TK = @GDB_TK@
38573 INSTALL_GDB_TK = @INSTALL_GDB_TK@
38574 configure-gdb: $(CONFIGURE_GDB_TK)
38575 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
38576 install-gdb: $(INSTALL_GDB_TK)
38578 # Serialization dependencies. Host configures don't work well in parallel to
38579 # each other, due to contention over config.cache. Target configures and
38580 # build configures are similar.
38581 @serialization_dependencies@
38583 # --------------------------------
38584 # Regenerating top level configury
38585 # --------------------------------
38587 # Rebuilding Makefile.in, using autogen.
38588 AUTOGEN = autogen
38589 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
38590 cd $(srcdir) && $(AUTOGEN) Makefile.def
38592 # Rebuilding Makefile.
38593 Makefile: $(srcdir)/Makefile.in config.status
38594 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38596 config.status: configure
38597 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
38599 # Rebuilding configure.
38600 AUTOCONF = autoconf
38601 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
38602 cd $(srcdir) && $(AUTOCONF)
38604 # ------------------------------
38605 # Special directives to GNU Make
38606 # ------------------------------
38608 # Don't pass command-line variables to submakes.
38609 .NOEXPORT:
38610 MAKEOVERRIDES=
38612 # end of Makefile.in