* gdb/mt-tdep.c (mt_register_name): Correct out-of-range logic to
[binutils.git] / Makefile.in
blob15a98abc0b2790721ee1685054c55aecda888905
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-expat \
570 maybe-configure-fastjar \
571 maybe-configure-fileutils \
572 maybe-configure-findutils \
573 maybe-configure-find \
574 maybe-configure-fixincludes \
575 maybe-configure-flex \
576 maybe-configure-gas \
577 maybe-configure-gcc \
578 maybe-configure-gawk \
579 maybe-configure-gettext \
580 maybe-configure-gnuserv \
581 maybe-configure-gprof \
582 maybe-configure-gzip \
583 maybe-configure-hello \
584 maybe-configure-indent \
585 maybe-configure-intl \
586 maybe-configure-tcl \
587 maybe-configure-itcl \
588 maybe-configure-ld \
589 maybe-configure-libcpp \
590 maybe-configure-libdecnumber \
591 maybe-configure-libgui \
592 maybe-configure-libiberty \
593 maybe-configure-libtool \
594 maybe-configure-m4 \
595 maybe-configure-make \
596 maybe-configure-mmalloc \
597 maybe-configure-patch \
598 maybe-configure-perl \
599 maybe-configure-prms \
600 maybe-configure-rcs \
601 maybe-configure-readline \
602 maybe-configure-release \
603 maybe-configure-recode \
604 maybe-configure-sed \
605 maybe-configure-send-pr \
606 maybe-configure-shellutils \
607 maybe-configure-sid \
608 maybe-configure-sim \
609 maybe-configure-tar \
610 maybe-configure-texinfo \
611 maybe-configure-textutils \
612 maybe-configure-time \
613 maybe-configure-uudecode \
614 maybe-configure-wdiff \
615 maybe-configure-zip \
616 maybe-configure-zlib \
617 maybe-configure-gdb \
618 maybe-configure-expect \
619 maybe-configure-guile \
620 maybe-configure-tk \
621 maybe-configure-libtermcap \
622 maybe-configure-utils \
623 maybe-configure-gnattools
624 .PHONY: configure-target
625 configure-target: \
626 maybe-configure-target-libstdc++-v3 \
627 maybe-configure-target-libmudflap \
628 maybe-configure-target-libssp \
629 maybe-configure-target-libgcc-math \
630 maybe-configure-target-newlib \
631 maybe-configure-target-libgfortran \
632 maybe-configure-target-libobjc \
633 maybe-configure-target-libtermcap \
634 maybe-configure-target-winsup \
635 maybe-configure-target-libgloss \
636 maybe-configure-target-libiberty \
637 maybe-configure-target-gperf \
638 maybe-configure-target-examples \
639 maybe-configure-target-libffi \
640 maybe-configure-target-libjava \
641 maybe-configure-target-zlib \
642 maybe-configure-target-boehm-gc \
643 maybe-configure-target-qthreads \
644 maybe-configure-target-rda \
645 maybe-configure-target-libada \
646 maybe-configure-target-libgomp
648 # The target built for a native non-bootstrap build.
649 .PHONY: all
650 all:
651 @if gcc-bootstrap
652 [ -f stage_final ] || echo stage3 > stage_final
653 @r=`${PWD_COMMAND}`; export r; \
654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
655 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
656 @endif gcc-bootstrap
657 @: $(MAKE); $(unstage)
658 @r=`${PWD_COMMAND}`; export r; \
659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
660 if [ -f stage_last ]; then \
661 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
662 else \
663 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
666 .PHONY: all-build
668 all-build: maybe-all-build-libiberty
669 all-build: maybe-all-build-bison
670 all-build: maybe-all-build-byacc
671 all-build: maybe-all-build-flex
672 all-build: maybe-all-build-m4
673 all-build: maybe-all-build-texinfo
674 all-build: maybe-all-build-fixincludes
676 .PHONY: all-host
678 all-host: maybe-all-ash
679 all-host: maybe-all-autoconf
680 all-host: maybe-all-automake
681 all-host: maybe-all-bash
682 @if bfd-no-bootstrap
683 all-host: maybe-all-bfd
684 @endif bfd-no-bootstrap
685 @if opcodes-no-bootstrap
686 all-host: maybe-all-opcodes
687 @endif opcodes-no-bootstrap
688 @if binutils-no-bootstrap
689 all-host: maybe-all-binutils
690 @endif binutils-no-bootstrap
691 all-host: maybe-all-bison
692 all-host: maybe-all-byacc
693 all-host: maybe-all-bzip2
694 all-host: maybe-all-dejagnu
695 all-host: maybe-all-diff
696 all-host: maybe-all-dosutils
697 all-host: maybe-all-etc
698 all-host: maybe-all-expat
699 all-host: maybe-all-fastjar
700 all-host: maybe-all-fileutils
701 all-host: maybe-all-findutils
702 all-host: maybe-all-find
703 all-host: maybe-all-fixincludes
704 all-host: maybe-all-flex
705 @if gas-no-bootstrap
706 all-host: maybe-all-gas
707 @endif gas-no-bootstrap
708 @if gcc-no-bootstrap
709 all-host: maybe-all-gcc
710 @endif gcc-no-bootstrap
711 all-host: maybe-all-gawk
712 all-host: maybe-all-gettext
713 all-host: maybe-all-gnuserv
714 all-host: maybe-all-gprof
715 all-host: maybe-all-gzip
716 all-host: maybe-all-hello
717 all-host: maybe-all-indent
718 @if intl-no-bootstrap
719 all-host: maybe-all-intl
720 @endif intl-no-bootstrap
721 all-host: maybe-all-tcl
722 all-host: maybe-all-itcl
723 @if ld-no-bootstrap
724 all-host: maybe-all-ld
725 @endif ld-no-bootstrap
726 @if libcpp-no-bootstrap
727 all-host: maybe-all-libcpp
728 @endif libcpp-no-bootstrap
729 @if libdecnumber-no-bootstrap
730 all-host: maybe-all-libdecnumber
731 @endif libdecnumber-no-bootstrap
732 all-host: maybe-all-libgui
733 @if libiberty-no-bootstrap
734 all-host: maybe-all-libiberty
735 @endif libiberty-no-bootstrap
736 all-host: maybe-all-libtool
737 all-host: maybe-all-m4
738 all-host: maybe-all-make
739 all-host: maybe-all-mmalloc
740 all-host: maybe-all-patch
741 all-host: maybe-all-perl
742 all-host: maybe-all-prms
743 all-host: maybe-all-rcs
744 all-host: maybe-all-readline
745 all-host: maybe-all-release
746 all-host: maybe-all-recode
747 all-host: maybe-all-sed
748 all-host: maybe-all-send-pr
749 all-host: maybe-all-shellutils
750 all-host: maybe-all-sid
751 all-host: maybe-all-sim
752 all-host: maybe-all-tar
753 all-host: maybe-all-texinfo
754 all-host: maybe-all-textutils
755 all-host: maybe-all-time
756 all-host: maybe-all-uudecode
757 all-host: maybe-all-wdiff
758 all-host: maybe-all-zip
759 @if zlib-no-bootstrap
760 all-host: maybe-all-zlib
761 @endif zlib-no-bootstrap
762 all-host: maybe-all-gdb
763 all-host: maybe-all-expect
764 all-host: maybe-all-guile
765 all-host: maybe-all-tk
766 all-host: maybe-all-libtermcap
767 all-host: maybe-all-utils
768 all-host: maybe-all-gnattools
770 .PHONY: all-target
772 all-target: maybe-all-target-libstdc++-v3
773 all-target: maybe-all-target-libmudflap
774 all-target: maybe-all-target-libssp
775 all-target: maybe-all-target-libgcc-math
776 all-target: maybe-all-target-newlib
777 all-target: maybe-all-target-libgfortran
778 all-target: maybe-all-target-libobjc
779 all-target: maybe-all-target-libtermcap
780 all-target: maybe-all-target-winsup
781 all-target: maybe-all-target-libgloss
782 all-target: maybe-all-target-libiberty
783 all-target: maybe-all-target-gperf
784 all-target: maybe-all-target-examples
785 all-target: maybe-all-target-libffi
786 all-target: maybe-all-target-libjava
787 all-target: maybe-all-target-zlib
788 all-target: maybe-all-target-boehm-gc
789 all-target: maybe-all-target-qthreads
790 all-target: maybe-all-target-rda
791 all-target: maybe-all-target-libada
792 all-target: maybe-all-target-libgomp
794 # Do a target for all the subdirectories. A ``make do-X'' will do a
795 # ``make X'' in all subdirectories (because, in general, there is a
796 # dependency (below) of X upon do-X, a ``make X'' will also do this,
797 # but it may do additional work as well).
799 .PHONY: do-info
800 do-info:
801 @: $(MAKE); $(unstage)
802 @r=`${PWD_COMMAND}`; export r; \
803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
805 info-target
808 .PHONY: info-host
810 info-host: maybe-info-ash
811 info-host: maybe-info-autoconf
812 info-host: maybe-info-automake
813 info-host: maybe-info-bash
814 info-host: maybe-info-bfd
815 info-host: maybe-info-opcodes
816 info-host: maybe-info-binutils
817 info-host: maybe-info-bison
818 info-host: maybe-info-byacc
819 info-host: maybe-info-bzip2
820 info-host: maybe-info-dejagnu
821 info-host: maybe-info-diff
822 info-host: maybe-info-dosutils
823 info-host: maybe-info-etc
824 info-host: maybe-info-expat
825 info-host: maybe-info-fastjar
826 info-host: maybe-info-fileutils
827 info-host: maybe-info-findutils
828 info-host: maybe-info-find
829 info-host: maybe-info-fixincludes
830 info-host: maybe-info-flex
831 info-host: maybe-info-gas
832 info-host: maybe-info-gcc
833 info-host: maybe-info-gawk
834 info-host: maybe-info-gettext
835 info-host: maybe-info-gnuserv
836 info-host: maybe-info-gprof
837 info-host: maybe-info-gzip
838 info-host: maybe-info-hello
839 info-host: maybe-info-indent
840 info-host: maybe-info-intl
841 info-host: maybe-info-tcl
842 info-host: maybe-info-itcl
843 info-host: maybe-info-ld
844 info-host: maybe-info-libcpp
845 info-host: maybe-info-libdecnumber
846 info-host: maybe-info-libgui
847 info-host: maybe-info-libiberty
848 info-host: maybe-info-libtool
849 info-host: maybe-info-m4
850 info-host: maybe-info-make
851 info-host: maybe-info-mmalloc
852 info-host: maybe-info-patch
853 info-host: maybe-info-perl
854 info-host: maybe-info-prms
855 info-host: maybe-info-rcs
856 info-host: maybe-info-readline
857 info-host: maybe-info-release
858 info-host: maybe-info-recode
859 info-host: maybe-info-sed
860 info-host: maybe-info-send-pr
861 info-host: maybe-info-shellutils
862 info-host: maybe-info-sid
863 info-host: maybe-info-sim
864 info-host: maybe-info-tar
865 info-host: maybe-info-texinfo
866 info-host: maybe-info-textutils
867 info-host: maybe-info-time
868 info-host: maybe-info-uudecode
869 info-host: maybe-info-wdiff
870 info-host: maybe-info-zip
871 info-host: maybe-info-zlib
872 info-host: maybe-info-gdb
873 info-host: maybe-info-expect
874 info-host: maybe-info-guile
875 info-host: maybe-info-tk
876 info-host: maybe-info-libtermcap
877 info-host: maybe-info-utils
878 info-host: maybe-info-gnattools
880 .PHONY: info-target
882 info-target: maybe-info-target-libstdc++-v3
883 info-target: maybe-info-target-libmudflap
884 info-target: maybe-info-target-libssp
885 info-target: maybe-info-target-libgcc-math
886 info-target: maybe-info-target-newlib
887 info-target: maybe-info-target-libgfortran
888 info-target: maybe-info-target-libobjc
889 info-target: maybe-info-target-libtermcap
890 info-target: maybe-info-target-winsup
891 info-target: maybe-info-target-libgloss
892 info-target: maybe-info-target-libiberty
893 info-target: maybe-info-target-gperf
894 info-target: maybe-info-target-examples
895 info-target: maybe-info-target-libffi
896 info-target: maybe-info-target-libjava
897 info-target: maybe-info-target-zlib
898 info-target: maybe-info-target-boehm-gc
899 info-target: maybe-info-target-qthreads
900 info-target: maybe-info-target-rda
901 info-target: maybe-info-target-libada
902 info-target: maybe-info-target-libgomp
904 .PHONY: do-dvi
905 do-dvi:
906 @: $(MAKE); $(unstage)
907 @r=`${PWD_COMMAND}`; export r; \
908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
909 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
910 dvi-target
913 .PHONY: dvi-host
915 dvi-host: maybe-dvi-ash
916 dvi-host: maybe-dvi-autoconf
917 dvi-host: maybe-dvi-automake
918 dvi-host: maybe-dvi-bash
919 dvi-host: maybe-dvi-bfd
920 dvi-host: maybe-dvi-opcodes
921 dvi-host: maybe-dvi-binutils
922 dvi-host: maybe-dvi-bison
923 dvi-host: maybe-dvi-byacc
924 dvi-host: maybe-dvi-bzip2
925 dvi-host: maybe-dvi-dejagnu
926 dvi-host: maybe-dvi-diff
927 dvi-host: maybe-dvi-dosutils
928 dvi-host: maybe-dvi-etc
929 dvi-host: maybe-dvi-expat
930 dvi-host: maybe-dvi-fastjar
931 dvi-host: maybe-dvi-fileutils
932 dvi-host: maybe-dvi-findutils
933 dvi-host: maybe-dvi-find
934 dvi-host: maybe-dvi-fixincludes
935 dvi-host: maybe-dvi-flex
936 dvi-host: maybe-dvi-gas
937 dvi-host: maybe-dvi-gcc
938 dvi-host: maybe-dvi-gawk
939 dvi-host: maybe-dvi-gettext
940 dvi-host: maybe-dvi-gnuserv
941 dvi-host: maybe-dvi-gprof
942 dvi-host: maybe-dvi-gzip
943 dvi-host: maybe-dvi-hello
944 dvi-host: maybe-dvi-indent
945 dvi-host: maybe-dvi-intl
946 dvi-host: maybe-dvi-tcl
947 dvi-host: maybe-dvi-itcl
948 dvi-host: maybe-dvi-ld
949 dvi-host: maybe-dvi-libcpp
950 dvi-host: maybe-dvi-libdecnumber
951 dvi-host: maybe-dvi-libgui
952 dvi-host: maybe-dvi-libiberty
953 dvi-host: maybe-dvi-libtool
954 dvi-host: maybe-dvi-m4
955 dvi-host: maybe-dvi-make
956 dvi-host: maybe-dvi-mmalloc
957 dvi-host: maybe-dvi-patch
958 dvi-host: maybe-dvi-perl
959 dvi-host: maybe-dvi-prms
960 dvi-host: maybe-dvi-rcs
961 dvi-host: maybe-dvi-readline
962 dvi-host: maybe-dvi-release
963 dvi-host: maybe-dvi-recode
964 dvi-host: maybe-dvi-sed
965 dvi-host: maybe-dvi-send-pr
966 dvi-host: maybe-dvi-shellutils
967 dvi-host: maybe-dvi-sid
968 dvi-host: maybe-dvi-sim
969 dvi-host: maybe-dvi-tar
970 dvi-host: maybe-dvi-texinfo
971 dvi-host: maybe-dvi-textutils
972 dvi-host: maybe-dvi-time
973 dvi-host: maybe-dvi-uudecode
974 dvi-host: maybe-dvi-wdiff
975 dvi-host: maybe-dvi-zip
976 dvi-host: maybe-dvi-zlib
977 dvi-host: maybe-dvi-gdb
978 dvi-host: maybe-dvi-expect
979 dvi-host: maybe-dvi-guile
980 dvi-host: maybe-dvi-tk
981 dvi-host: maybe-dvi-libtermcap
982 dvi-host: maybe-dvi-utils
983 dvi-host: maybe-dvi-gnattools
985 .PHONY: dvi-target
987 dvi-target: maybe-dvi-target-libstdc++-v3
988 dvi-target: maybe-dvi-target-libmudflap
989 dvi-target: maybe-dvi-target-libssp
990 dvi-target: maybe-dvi-target-libgcc-math
991 dvi-target: maybe-dvi-target-newlib
992 dvi-target: maybe-dvi-target-libgfortran
993 dvi-target: maybe-dvi-target-libobjc
994 dvi-target: maybe-dvi-target-libtermcap
995 dvi-target: maybe-dvi-target-winsup
996 dvi-target: maybe-dvi-target-libgloss
997 dvi-target: maybe-dvi-target-libiberty
998 dvi-target: maybe-dvi-target-gperf
999 dvi-target: maybe-dvi-target-examples
1000 dvi-target: maybe-dvi-target-libffi
1001 dvi-target: maybe-dvi-target-libjava
1002 dvi-target: maybe-dvi-target-zlib
1003 dvi-target: maybe-dvi-target-boehm-gc
1004 dvi-target: maybe-dvi-target-qthreads
1005 dvi-target: maybe-dvi-target-rda
1006 dvi-target: maybe-dvi-target-libada
1007 dvi-target: maybe-dvi-target-libgomp
1009 .PHONY: do-html
1010 do-html:
1011 @: $(MAKE); $(unstage)
1012 @r=`${PWD_COMMAND}`; export r; \
1013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1014 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1015 html-target
1018 .PHONY: html-host
1020 html-host: maybe-html-ash
1021 html-host: maybe-html-autoconf
1022 html-host: maybe-html-automake
1023 html-host: maybe-html-bash
1024 html-host: maybe-html-bfd
1025 html-host: maybe-html-opcodes
1026 html-host: maybe-html-binutils
1027 html-host: maybe-html-bison
1028 html-host: maybe-html-byacc
1029 html-host: maybe-html-bzip2
1030 html-host: maybe-html-dejagnu
1031 html-host: maybe-html-diff
1032 html-host: maybe-html-dosutils
1033 html-host: maybe-html-etc
1034 html-host: maybe-html-expat
1035 html-host: maybe-html-fastjar
1036 html-host: maybe-html-fileutils
1037 html-host: maybe-html-findutils
1038 html-host: maybe-html-find
1039 html-host: maybe-html-fixincludes
1040 html-host: maybe-html-flex
1041 html-host: maybe-html-gas
1042 html-host: maybe-html-gcc
1043 html-host: maybe-html-gawk
1044 html-host: maybe-html-gettext
1045 html-host: maybe-html-gnuserv
1046 html-host: maybe-html-gprof
1047 html-host: maybe-html-gzip
1048 html-host: maybe-html-hello
1049 html-host: maybe-html-indent
1050 html-host: maybe-html-intl
1051 html-host: maybe-html-tcl
1052 html-host: maybe-html-itcl
1053 html-host: maybe-html-ld
1054 html-host: maybe-html-libcpp
1055 html-host: maybe-html-libdecnumber
1056 html-host: maybe-html-libgui
1057 html-host: maybe-html-libiberty
1058 html-host: maybe-html-libtool
1059 html-host: maybe-html-m4
1060 html-host: maybe-html-make
1061 html-host: maybe-html-mmalloc
1062 html-host: maybe-html-patch
1063 html-host: maybe-html-perl
1064 html-host: maybe-html-prms
1065 html-host: maybe-html-rcs
1066 html-host: maybe-html-readline
1067 html-host: maybe-html-release
1068 html-host: maybe-html-recode
1069 html-host: maybe-html-sed
1070 html-host: maybe-html-send-pr
1071 html-host: maybe-html-shellutils
1072 html-host: maybe-html-sid
1073 html-host: maybe-html-sim
1074 html-host: maybe-html-tar
1075 html-host: maybe-html-texinfo
1076 html-host: maybe-html-textutils
1077 html-host: maybe-html-time
1078 html-host: maybe-html-uudecode
1079 html-host: maybe-html-wdiff
1080 html-host: maybe-html-zip
1081 html-host: maybe-html-zlib
1082 html-host: maybe-html-gdb
1083 html-host: maybe-html-expect
1084 html-host: maybe-html-guile
1085 html-host: maybe-html-tk
1086 html-host: maybe-html-libtermcap
1087 html-host: maybe-html-utils
1088 html-host: maybe-html-gnattools
1090 .PHONY: html-target
1092 html-target: maybe-html-target-libstdc++-v3
1093 html-target: maybe-html-target-libmudflap
1094 html-target: maybe-html-target-libssp
1095 html-target: maybe-html-target-libgcc-math
1096 html-target: maybe-html-target-newlib
1097 html-target: maybe-html-target-libgfortran
1098 html-target: maybe-html-target-libobjc
1099 html-target: maybe-html-target-libtermcap
1100 html-target: maybe-html-target-winsup
1101 html-target: maybe-html-target-libgloss
1102 html-target: maybe-html-target-libiberty
1103 html-target: maybe-html-target-gperf
1104 html-target: maybe-html-target-examples
1105 html-target: maybe-html-target-libffi
1106 html-target: maybe-html-target-libjava
1107 html-target: maybe-html-target-zlib
1108 html-target: maybe-html-target-boehm-gc
1109 html-target: maybe-html-target-qthreads
1110 html-target: maybe-html-target-rda
1111 html-target: maybe-html-target-libada
1112 html-target: maybe-html-target-libgomp
1114 .PHONY: do-TAGS
1115 do-TAGS:
1116 @: $(MAKE); $(unstage)
1117 @r=`${PWD_COMMAND}`; export r; \
1118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1119 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1120 TAGS-target
1123 .PHONY: TAGS-host
1125 TAGS-host: maybe-TAGS-ash
1126 TAGS-host: maybe-TAGS-autoconf
1127 TAGS-host: maybe-TAGS-automake
1128 TAGS-host: maybe-TAGS-bash
1129 TAGS-host: maybe-TAGS-bfd
1130 TAGS-host: maybe-TAGS-opcodes
1131 TAGS-host: maybe-TAGS-binutils
1132 TAGS-host: maybe-TAGS-bison
1133 TAGS-host: maybe-TAGS-byacc
1134 TAGS-host: maybe-TAGS-bzip2
1135 TAGS-host: maybe-TAGS-dejagnu
1136 TAGS-host: maybe-TAGS-diff
1137 TAGS-host: maybe-TAGS-dosutils
1138 TAGS-host: maybe-TAGS-etc
1139 TAGS-host: maybe-TAGS-expat
1140 TAGS-host: maybe-TAGS-fastjar
1141 TAGS-host: maybe-TAGS-fileutils
1142 TAGS-host: maybe-TAGS-findutils
1143 TAGS-host: maybe-TAGS-find
1144 TAGS-host: maybe-TAGS-fixincludes
1145 TAGS-host: maybe-TAGS-flex
1146 TAGS-host: maybe-TAGS-gas
1147 TAGS-host: maybe-TAGS-gcc
1148 TAGS-host: maybe-TAGS-gawk
1149 TAGS-host: maybe-TAGS-gettext
1150 TAGS-host: maybe-TAGS-gnuserv
1151 TAGS-host: maybe-TAGS-gprof
1152 TAGS-host: maybe-TAGS-gzip
1153 TAGS-host: maybe-TAGS-hello
1154 TAGS-host: maybe-TAGS-indent
1155 TAGS-host: maybe-TAGS-intl
1156 TAGS-host: maybe-TAGS-tcl
1157 TAGS-host: maybe-TAGS-itcl
1158 TAGS-host: maybe-TAGS-ld
1159 TAGS-host: maybe-TAGS-libcpp
1160 TAGS-host: maybe-TAGS-libdecnumber
1161 TAGS-host: maybe-TAGS-libgui
1162 TAGS-host: maybe-TAGS-libiberty
1163 TAGS-host: maybe-TAGS-libtool
1164 TAGS-host: maybe-TAGS-m4
1165 TAGS-host: maybe-TAGS-make
1166 TAGS-host: maybe-TAGS-mmalloc
1167 TAGS-host: maybe-TAGS-patch
1168 TAGS-host: maybe-TAGS-perl
1169 TAGS-host: maybe-TAGS-prms
1170 TAGS-host: maybe-TAGS-rcs
1171 TAGS-host: maybe-TAGS-readline
1172 TAGS-host: maybe-TAGS-release
1173 TAGS-host: maybe-TAGS-recode
1174 TAGS-host: maybe-TAGS-sed
1175 TAGS-host: maybe-TAGS-send-pr
1176 TAGS-host: maybe-TAGS-shellutils
1177 TAGS-host: maybe-TAGS-sid
1178 TAGS-host: maybe-TAGS-sim
1179 TAGS-host: maybe-TAGS-tar
1180 TAGS-host: maybe-TAGS-texinfo
1181 TAGS-host: maybe-TAGS-textutils
1182 TAGS-host: maybe-TAGS-time
1183 TAGS-host: maybe-TAGS-uudecode
1184 TAGS-host: maybe-TAGS-wdiff
1185 TAGS-host: maybe-TAGS-zip
1186 TAGS-host: maybe-TAGS-zlib
1187 TAGS-host: maybe-TAGS-gdb
1188 TAGS-host: maybe-TAGS-expect
1189 TAGS-host: maybe-TAGS-guile
1190 TAGS-host: maybe-TAGS-tk
1191 TAGS-host: maybe-TAGS-libtermcap
1192 TAGS-host: maybe-TAGS-utils
1193 TAGS-host: maybe-TAGS-gnattools
1195 .PHONY: TAGS-target
1197 TAGS-target: maybe-TAGS-target-libstdc++-v3
1198 TAGS-target: maybe-TAGS-target-libmudflap
1199 TAGS-target: maybe-TAGS-target-libssp
1200 TAGS-target: maybe-TAGS-target-libgcc-math
1201 TAGS-target: maybe-TAGS-target-newlib
1202 TAGS-target: maybe-TAGS-target-libgfortran
1203 TAGS-target: maybe-TAGS-target-libobjc
1204 TAGS-target: maybe-TAGS-target-libtermcap
1205 TAGS-target: maybe-TAGS-target-winsup
1206 TAGS-target: maybe-TAGS-target-libgloss
1207 TAGS-target: maybe-TAGS-target-libiberty
1208 TAGS-target: maybe-TAGS-target-gperf
1209 TAGS-target: maybe-TAGS-target-examples
1210 TAGS-target: maybe-TAGS-target-libffi
1211 TAGS-target: maybe-TAGS-target-libjava
1212 TAGS-target: maybe-TAGS-target-zlib
1213 TAGS-target: maybe-TAGS-target-boehm-gc
1214 TAGS-target: maybe-TAGS-target-qthreads
1215 TAGS-target: maybe-TAGS-target-rda
1216 TAGS-target: maybe-TAGS-target-libada
1217 TAGS-target: maybe-TAGS-target-libgomp
1219 .PHONY: do-install-info
1220 do-install-info:
1221 @: $(MAKE); $(unstage)
1222 @r=`${PWD_COMMAND}`; export r; \
1223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1224 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1225 install-info-target
1228 .PHONY: install-info-host
1230 install-info-host: maybe-install-info-ash
1231 install-info-host: maybe-install-info-autoconf
1232 install-info-host: maybe-install-info-automake
1233 install-info-host: maybe-install-info-bash
1234 install-info-host: maybe-install-info-bfd
1235 install-info-host: maybe-install-info-opcodes
1236 install-info-host: maybe-install-info-binutils
1237 install-info-host: maybe-install-info-bison
1238 install-info-host: maybe-install-info-byacc
1239 install-info-host: maybe-install-info-bzip2
1240 install-info-host: maybe-install-info-dejagnu
1241 install-info-host: maybe-install-info-diff
1242 install-info-host: maybe-install-info-dosutils
1243 install-info-host: maybe-install-info-etc
1244 install-info-host: maybe-install-info-expat
1245 install-info-host: maybe-install-info-fastjar
1246 install-info-host: maybe-install-info-fileutils
1247 install-info-host: maybe-install-info-findutils
1248 install-info-host: maybe-install-info-find
1249 install-info-host: maybe-install-info-fixincludes
1250 install-info-host: maybe-install-info-flex
1251 install-info-host: maybe-install-info-gas
1252 install-info-host: maybe-install-info-gcc
1253 install-info-host: maybe-install-info-gawk
1254 install-info-host: maybe-install-info-gettext
1255 install-info-host: maybe-install-info-gnuserv
1256 install-info-host: maybe-install-info-gprof
1257 install-info-host: maybe-install-info-gzip
1258 install-info-host: maybe-install-info-hello
1259 install-info-host: maybe-install-info-indent
1260 install-info-host: maybe-install-info-intl
1261 install-info-host: maybe-install-info-tcl
1262 install-info-host: maybe-install-info-itcl
1263 install-info-host: maybe-install-info-ld
1264 install-info-host: maybe-install-info-libcpp
1265 install-info-host: maybe-install-info-libdecnumber
1266 install-info-host: maybe-install-info-libgui
1267 install-info-host: maybe-install-info-libiberty
1268 install-info-host: maybe-install-info-libtool
1269 install-info-host: maybe-install-info-m4
1270 install-info-host: maybe-install-info-make
1271 install-info-host: maybe-install-info-mmalloc
1272 install-info-host: maybe-install-info-patch
1273 install-info-host: maybe-install-info-perl
1274 install-info-host: maybe-install-info-prms
1275 install-info-host: maybe-install-info-rcs
1276 install-info-host: maybe-install-info-readline
1277 install-info-host: maybe-install-info-release
1278 install-info-host: maybe-install-info-recode
1279 install-info-host: maybe-install-info-sed
1280 install-info-host: maybe-install-info-send-pr
1281 install-info-host: maybe-install-info-shellutils
1282 install-info-host: maybe-install-info-sid
1283 install-info-host: maybe-install-info-sim
1284 install-info-host: maybe-install-info-tar
1285 install-info-host: maybe-install-info-texinfo
1286 install-info-host: maybe-install-info-textutils
1287 install-info-host: maybe-install-info-time
1288 install-info-host: maybe-install-info-uudecode
1289 install-info-host: maybe-install-info-wdiff
1290 install-info-host: maybe-install-info-zip
1291 install-info-host: maybe-install-info-zlib
1292 install-info-host: maybe-install-info-gdb
1293 install-info-host: maybe-install-info-expect
1294 install-info-host: maybe-install-info-guile
1295 install-info-host: maybe-install-info-tk
1296 install-info-host: maybe-install-info-libtermcap
1297 install-info-host: maybe-install-info-utils
1298 install-info-host: maybe-install-info-gnattools
1300 .PHONY: install-info-target
1302 install-info-target: maybe-install-info-target-libstdc++-v3
1303 install-info-target: maybe-install-info-target-libmudflap
1304 install-info-target: maybe-install-info-target-libssp
1305 install-info-target: maybe-install-info-target-libgcc-math
1306 install-info-target: maybe-install-info-target-newlib
1307 install-info-target: maybe-install-info-target-libgfortran
1308 install-info-target: maybe-install-info-target-libobjc
1309 install-info-target: maybe-install-info-target-libtermcap
1310 install-info-target: maybe-install-info-target-winsup
1311 install-info-target: maybe-install-info-target-libgloss
1312 install-info-target: maybe-install-info-target-libiberty
1313 install-info-target: maybe-install-info-target-gperf
1314 install-info-target: maybe-install-info-target-examples
1315 install-info-target: maybe-install-info-target-libffi
1316 install-info-target: maybe-install-info-target-libjava
1317 install-info-target: maybe-install-info-target-zlib
1318 install-info-target: maybe-install-info-target-boehm-gc
1319 install-info-target: maybe-install-info-target-qthreads
1320 install-info-target: maybe-install-info-target-rda
1321 install-info-target: maybe-install-info-target-libada
1322 install-info-target: maybe-install-info-target-libgomp
1324 .PHONY: do-installcheck
1325 do-installcheck:
1326 @: $(MAKE); $(unstage)
1327 @r=`${PWD_COMMAND}`; export r; \
1328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1329 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1330 installcheck-target
1333 .PHONY: installcheck-host
1335 installcheck-host: maybe-installcheck-ash
1336 installcheck-host: maybe-installcheck-autoconf
1337 installcheck-host: maybe-installcheck-automake
1338 installcheck-host: maybe-installcheck-bash
1339 installcheck-host: maybe-installcheck-bfd
1340 installcheck-host: maybe-installcheck-opcodes
1341 installcheck-host: maybe-installcheck-binutils
1342 installcheck-host: maybe-installcheck-bison
1343 installcheck-host: maybe-installcheck-byacc
1344 installcheck-host: maybe-installcheck-bzip2
1345 installcheck-host: maybe-installcheck-dejagnu
1346 installcheck-host: maybe-installcheck-diff
1347 installcheck-host: maybe-installcheck-dosutils
1348 installcheck-host: maybe-installcheck-etc
1349 installcheck-host: maybe-installcheck-expat
1350 installcheck-host: maybe-installcheck-fastjar
1351 installcheck-host: maybe-installcheck-fileutils
1352 installcheck-host: maybe-installcheck-findutils
1353 installcheck-host: maybe-installcheck-find
1354 installcheck-host: maybe-installcheck-fixincludes
1355 installcheck-host: maybe-installcheck-flex
1356 installcheck-host: maybe-installcheck-gas
1357 installcheck-host: maybe-installcheck-gcc
1358 installcheck-host: maybe-installcheck-gawk
1359 installcheck-host: maybe-installcheck-gettext
1360 installcheck-host: maybe-installcheck-gnuserv
1361 installcheck-host: maybe-installcheck-gprof
1362 installcheck-host: maybe-installcheck-gzip
1363 installcheck-host: maybe-installcheck-hello
1364 installcheck-host: maybe-installcheck-indent
1365 installcheck-host: maybe-installcheck-intl
1366 installcheck-host: maybe-installcheck-tcl
1367 installcheck-host: maybe-installcheck-itcl
1368 installcheck-host: maybe-installcheck-ld
1369 installcheck-host: maybe-installcheck-libcpp
1370 installcheck-host: maybe-installcheck-libdecnumber
1371 installcheck-host: maybe-installcheck-libgui
1372 installcheck-host: maybe-installcheck-libiberty
1373 installcheck-host: maybe-installcheck-libtool
1374 installcheck-host: maybe-installcheck-m4
1375 installcheck-host: maybe-installcheck-make
1376 installcheck-host: maybe-installcheck-mmalloc
1377 installcheck-host: maybe-installcheck-patch
1378 installcheck-host: maybe-installcheck-perl
1379 installcheck-host: maybe-installcheck-prms
1380 installcheck-host: maybe-installcheck-rcs
1381 installcheck-host: maybe-installcheck-readline
1382 installcheck-host: maybe-installcheck-release
1383 installcheck-host: maybe-installcheck-recode
1384 installcheck-host: maybe-installcheck-sed
1385 installcheck-host: maybe-installcheck-send-pr
1386 installcheck-host: maybe-installcheck-shellutils
1387 installcheck-host: maybe-installcheck-sid
1388 installcheck-host: maybe-installcheck-sim
1389 installcheck-host: maybe-installcheck-tar
1390 installcheck-host: maybe-installcheck-texinfo
1391 installcheck-host: maybe-installcheck-textutils
1392 installcheck-host: maybe-installcheck-time
1393 installcheck-host: maybe-installcheck-uudecode
1394 installcheck-host: maybe-installcheck-wdiff
1395 installcheck-host: maybe-installcheck-zip
1396 installcheck-host: maybe-installcheck-zlib
1397 installcheck-host: maybe-installcheck-gdb
1398 installcheck-host: maybe-installcheck-expect
1399 installcheck-host: maybe-installcheck-guile
1400 installcheck-host: maybe-installcheck-tk
1401 installcheck-host: maybe-installcheck-libtermcap
1402 installcheck-host: maybe-installcheck-utils
1403 installcheck-host: maybe-installcheck-gnattools
1405 .PHONY: installcheck-target
1407 installcheck-target: maybe-installcheck-target-libstdc++-v3
1408 installcheck-target: maybe-installcheck-target-libmudflap
1409 installcheck-target: maybe-installcheck-target-libssp
1410 installcheck-target: maybe-installcheck-target-libgcc-math
1411 installcheck-target: maybe-installcheck-target-newlib
1412 installcheck-target: maybe-installcheck-target-libgfortran
1413 installcheck-target: maybe-installcheck-target-libobjc
1414 installcheck-target: maybe-installcheck-target-libtermcap
1415 installcheck-target: maybe-installcheck-target-winsup
1416 installcheck-target: maybe-installcheck-target-libgloss
1417 installcheck-target: maybe-installcheck-target-libiberty
1418 installcheck-target: maybe-installcheck-target-gperf
1419 installcheck-target: maybe-installcheck-target-examples
1420 installcheck-target: maybe-installcheck-target-libffi
1421 installcheck-target: maybe-installcheck-target-libjava
1422 installcheck-target: maybe-installcheck-target-zlib
1423 installcheck-target: maybe-installcheck-target-boehm-gc
1424 installcheck-target: maybe-installcheck-target-qthreads
1425 installcheck-target: maybe-installcheck-target-rda
1426 installcheck-target: maybe-installcheck-target-libada
1427 installcheck-target: maybe-installcheck-target-libgomp
1429 .PHONY: do-mostlyclean
1430 do-mostlyclean:
1431 @: $(MAKE); $(unstage)
1432 @r=`${PWD_COMMAND}`; export r; \
1433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1434 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1435 mostlyclean-target
1438 .PHONY: mostlyclean-host
1440 mostlyclean-host: maybe-mostlyclean-ash
1441 mostlyclean-host: maybe-mostlyclean-autoconf
1442 mostlyclean-host: maybe-mostlyclean-automake
1443 mostlyclean-host: maybe-mostlyclean-bash
1444 mostlyclean-host: maybe-mostlyclean-bfd
1445 mostlyclean-host: maybe-mostlyclean-opcodes
1446 mostlyclean-host: maybe-mostlyclean-binutils
1447 mostlyclean-host: maybe-mostlyclean-bison
1448 mostlyclean-host: maybe-mostlyclean-byacc
1449 mostlyclean-host: maybe-mostlyclean-bzip2
1450 mostlyclean-host: maybe-mostlyclean-dejagnu
1451 mostlyclean-host: maybe-mostlyclean-diff
1452 mostlyclean-host: maybe-mostlyclean-dosutils
1453 mostlyclean-host: maybe-mostlyclean-etc
1454 mostlyclean-host: maybe-mostlyclean-expat
1455 mostlyclean-host: maybe-mostlyclean-fastjar
1456 mostlyclean-host: maybe-mostlyclean-fileutils
1457 mostlyclean-host: maybe-mostlyclean-findutils
1458 mostlyclean-host: maybe-mostlyclean-find
1459 mostlyclean-host: maybe-mostlyclean-fixincludes
1460 mostlyclean-host: maybe-mostlyclean-flex
1461 mostlyclean-host: maybe-mostlyclean-gas
1462 mostlyclean-host: maybe-mostlyclean-gcc
1463 mostlyclean-host: maybe-mostlyclean-gawk
1464 mostlyclean-host: maybe-mostlyclean-gettext
1465 mostlyclean-host: maybe-mostlyclean-gnuserv
1466 mostlyclean-host: maybe-mostlyclean-gprof
1467 mostlyclean-host: maybe-mostlyclean-gzip
1468 mostlyclean-host: maybe-mostlyclean-hello
1469 mostlyclean-host: maybe-mostlyclean-indent
1470 mostlyclean-host: maybe-mostlyclean-intl
1471 mostlyclean-host: maybe-mostlyclean-tcl
1472 mostlyclean-host: maybe-mostlyclean-itcl
1473 mostlyclean-host: maybe-mostlyclean-ld
1474 mostlyclean-host: maybe-mostlyclean-libcpp
1475 mostlyclean-host: maybe-mostlyclean-libdecnumber
1476 mostlyclean-host: maybe-mostlyclean-libgui
1477 mostlyclean-host: maybe-mostlyclean-libiberty
1478 mostlyclean-host: maybe-mostlyclean-libtool
1479 mostlyclean-host: maybe-mostlyclean-m4
1480 mostlyclean-host: maybe-mostlyclean-make
1481 mostlyclean-host: maybe-mostlyclean-mmalloc
1482 mostlyclean-host: maybe-mostlyclean-patch
1483 mostlyclean-host: maybe-mostlyclean-perl
1484 mostlyclean-host: maybe-mostlyclean-prms
1485 mostlyclean-host: maybe-mostlyclean-rcs
1486 mostlyclean-host: maybe-mostlyclean-readline
1487 mostlyclean-host: maybe-mostlyclean-release
1488 mostlyclean-host: maybe-mostlyclean-recode
1489 mostlyclean-host: maybe-mostlyclean-sed
1490 mostlyclean-host: maybe-mostlyclean-send-pr
1491 mostlyclean-host: maybe-mostlyclean-shellutils
1492 mostlyclean-host: maybe-mostlyclean-sid
1493 mostlyclean-host: maybe-mostlyclean-sim
1494 mostlyclean-host: maybe-mostlyclean-tar
1495 mostlyclean-host: maybe-mostlyclean-texinfo
1496 mostlyclean-host: maybe-mostlyclean-textutils
1497 mostlyclean-host: maybe-mostlyclean-time
1498 mostlyclean-host: maybe-mostlyclean-uudecode
1499 mostlyclean-host: maybe-mostlyclean-wdiff
1500 mostlyclean-host: maybe-mostlyclean-zip
1501 mostlyclean-host: maybe-mostlyclean-zlib
1502 mostlyclean-host: maybe-mostlyclean-gdb
1503 mostlyclean-host: maybe-mostlyclean-expect
1504 mostlyclean-host: maybe-mostlyclean-guile
1505 mostlyclean-host: maybe-mostlyclean-tk
1506 mostlyclean-host: maybe-mostlyclean-libtermcap
1507 mostlyclean-host: maybe-mostlyclean-utils
1508 mostlyclean-host: maybe-mostlyclean-gnattools
1510 .PHONY: mostlyclean-target
1512 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1513 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1514 mostlyclean-target: maybe-mostlyclean-target-libssp
1515 mostlyclean-target: maybe-mostlyclean-target-libgcc-math
1516 mostlyclean-target: maybe-mostlyclean-target-newlib
1517 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1518 mostlyclean-target: maybe-mostlyclean-target-libobjc
1519 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1520 mostlyclean-target: maybe-mostlyclean-target-winsup
1521 mostlyclean-target: maybe-mostlyclean-target-libgloss
1522 mostlyclean-target: maybe-mostlyclean-target-libiberty
1523 mostlyclean-target: maybe-mostlyclean-target-gperf
1524 mostlyclean-target: maybe-mostlyclean-target-examples
1525 mostlyclean-target: maybe-mostlyclean-target-libffi
1526 mostlyclean-target: maybe-mostlyclean-target-libjava
1527 mostlyclean-target: maybe-mostlyclean-target-zlib
1528 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1529 mostlyclean-target: maybe-mostlyclean-target-qthreads
1530 mostlyclean-target: maybe-mostlyclean-target-rda
1531 mostlyclean-target: maybe-mostlyclean-target-libada
1532 mostlyclean-target: maybe-mostlyclean-target-libgomp
1534 .PHONY: do-clean
1535 do-clean:
1536 @: $(MAKE); $(unstage)
1537 @r=`${PWD_COMMAND}`; export r; \
1538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1539 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1540 clean-target
1543 .PHONY: clean-host
1545 clean-host: maybe-clean-ash
1546 clean-host: maybe-clean-autoconf
1547 clean-host: maybe-clean-automake
1548 clean-host: maybe-clean-bash
1549 clean-host: maybe-clean-bfd
1550 clean-host: maybe-clean-opcodes
1551 clean-host: maybe-clean-binutils
1552 clean-host: maybe-clean-bison
1553 clean-host: maybe-clean-byacc
1554 clean-host: maybe-clean-bzip2
1555 clean-host: maybe-clean-dejagnu
1556 clean-host: maybe-clean-diff
1557 clean-host: maybe-clean-dosutils
1558 clean-host: maybe-clean-etc
1559 clean-host: maybe-clean-expat
1560 clean-host: maybe-clean-fastjar
1561 clean-host: maybe-clean-fileutils
1562 clean-host: maybe-clean-findutils
1563 clean-host: maybe-clean-find
1564 clean-host: maybe-clean-fixincludes
1565 clean-host: maybe-clean-flex
1566 clean-host: maybe-clean-gas
1567 clean-host: maybe-clean-gcc
1568 clean-host: maybe-clean-gawk
1569 clean-host: maybe-clean-gettext
1570 clean-host: maybe-clean-gnuserv
1571 clean-host: maybe-clean-gprof
1572 clean-host: maybe-clean-gzip
1573 clean-host: maybe-clean-hello
1574 clean-host: maybe-clean-indent
1575 clean-host: maybe-clean-intl
1576 clean-host: maybe-clean-tcl
1577 clean-host: maybe-clean-itcl
1578 clean-host: maybe-clean-ld
1579 clean-host: maybe-clean-libcpp
1580 clean-host: maybe-clean-libdecnumber
1581 clean-host: maybe-clean-libgui
1582 clean-host: maybe-clean-libiberty
1583 clean-host: maybe-clean-libtool
1584 clean-host: maybe-clean-m4
1585 clean-host: maybe-clean-make
1586 clean-host: maybe-clean-mmalloc
1587 clean-host: maybe-clean-patch
1588 clean-host: maybe-clean-perl
1589 clean-host: maybe-clean-prms
1590 clean-host: maybe-clean-rcs
1591 clean-host: maybe-clean-readline
1592 clean-host: maybe-clean-release
1593 clean-host: maybe-clean-recode
1594 clean-host: maybe-clean-sed
1595 clean-host: maybe-clean-send-pr
1596 clean-host: maybe-clean-shellutils
1597 clean-host: maybe-clean-sid
1598 clean-host: maybe-clean-sim
1599 clean-host: maybe-clean-tar
1600 clean-host: maybe-clean-texinfo
1601 clean-host: maybe-clean-textutils
1602 clean-host: maybe-clean-time
1603 clean-host: maybe-clean-uudecode
1604 clean-host: maybe-clean-wdiff
1605 clean-host: maybe-clean-zip
1606 clean-host: maybe-clean-zlib
1607 clean-host: maybe-clean-gdb
1608 clean-host: maybe-clean-expect
1609 clean-host: maybe-clean-guile
1610 clean-host: maybe-clean-tk
1611 clean-host: maybe-clean-libtermcap
1612 clean-host: maybe-clean-utils
1613 clean-host: maybe-clean-gnattools
1615 .PHONY: clean-target
1617 clean-target: maybe-clean-target-libstdc++-v3
1618 clean-target: maybe-clean-target-libmudflap
1619 clean-target: maybe-clean-target-libssp
1620 clean-target: maybe-clean-target-libgcc-math
1621 clean-target: maybe-clean-target-newlib
1622 clean-target: maybe-clean-target-libgfortran
1623 clean-target: maybe-clean-target-libobjc
1624 clean-target: maybe-clean-target-libtermcap
1625 clean-target: maybe-clean-target-winsup
1626 clean-target: maybe-clean-target-libgloss
1627 clean-target: maybe-clean-target-libiberty
1628 clean-target: maybe-clean-target-gperf
1629 clean-target: maybe-clean-target-examples
1630 clean-target: maybe-clean-target-libffi
1631 clean-target: maybe-clean-target-libjava
1632 clean-target: maybe-clean-target-zlib
1633 clean-target: maybe-clean-target-boehm-gc
1634 clean-target: maybe-clean-target-qthreads
1635 clean-target: maybe-clean-target-rda
1636 clean-target: maybe-clean-target-libada
1637 clean-target: maybe-clean-target-libgomp
1639 .PHONY: do-distclean
1640 do-distclean:
1641 @: $(MAKE); $(unstage)
1642 @r=`${PWD_COMMAND}`; export r; \
1643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1644 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1645 distclean-target
1648 .PHONY: distclean-host
1650 distclean-host: maybe-distclean-ash
1651 distclean-host: maybe-distclean-autoconf
1652 distclean-host: maybe-distclean-automake
1653 distclean-host: maybe-distclean-bash
1654 distclean-host: maybe-distclean-bfd
1655 distclean-host: maybe-distclean-opcodes
1656 distclean-host: maybe-distclean-binutils
1657 distclean-host: maybe-distclean-bison
1658 distclean-host: maybe-distclean-byacc
1659 distclean-host: maybe-distclean-bzip2
1660 distclean-host: maybe-distclean-dejagnu
1661 distclean-host: maybe-distclean-diff
1662 distclean-host: maybe-distclean-dosutils
1663 distclean-host: maybe-distclean-etc
1664 distclean-host: maybe-distclean-expat
1665 distclean-host: maybe-distclean-fastjar
1666 distclean-host: maybe-distclean-fileutils
1667 distclean-host: maybe-distclean-findutils
1668 distclean-host: maybe-distclean-find
1669 distclean-host: maybe-distclean-fixincludes
1670 distclean-host: maybe-distclean-flex
1671 distclean-host: maybe-distclean-gas
1672 distclean-host: maybe-distclean-gcc
1673 distclean-host: maybe-distclean-gawk
1674 distclean-host: maybe-distclean-gettext
1675 distclean-host: maybe-distclean-gnuserv
1676 distclean-host: maybe-distclean-gprof
1677 distclean-host: maybe-distclean-gzip
1678 distclean-host: maybe-distclean-hello
1679 distclean-host: maybe-distclean-indent
1680 distclean-host: maybe-distclean-intl
1681 distclean-host: maybe-distclean-tcl
1682 distclean-host: maybe-distclean-itcl
1683 distclean-host: maybe-distclean-ld
1684 distclean-host: maybe-distclean-libcpp
1685 distclean-host: maybe-distclean-libdecnumber
1686 distclean-host: maybe-distclean-libgui
1687 distclean-host: maybe-distclean-libiberty
1688 distclean-host: maybe-distclean-libtool
1689 distclean-host: maybe-distclean-m4
1690 distclean-host: maybe-distclean-make
1691 distclean-host: maybe-distclean-mmalloc
1692 distclean-host: maybe-distclean-patch
1693 distclean-host: maybe-distclean-perl
1694 distclean-host: maybe-distclean-prms
1695 distclean-host: maybe-distclean-rcs
1696 distclean-host: maybe-distclean-readline
1697 distclean-host: maybe-distclean-release
1698 distclean-host: maybe-distclean-recode
1699 distclean-host: maybe-distclean-sed
1700 distclean-host: maybe-distclean-send-pr
1701 distclean-host: maybe-distclean-shellutils
1702 distclean-host: maybe-distclean-sid
1703 distclean-host: maybe-distclean-sim
1704 distclean-host: maybe-distclean-tar
1705 distclean-host: maybe-distclean-texinfo
1706 distclean-host: maybe-distclean-textutils
1707 distclean-host: maybe-distclean-time
1708 distclean-host: maybe-distclean-uudecode
1709 distclean-host: maybe-distclean-wdiff
1710 distclean-host: maybe-distclean-zip
1711 distclean-host: maybe-distclean-zlib
1712 distclean-host: maybe-distclean-gdb
1713 distclean-host: maybe-distclean-expect
1714 distclean-host: maybe-distclean-guile
1715 distclean-host: maybe-distclean-tk
1716 distclean-host: maybe-distclean-libtermcap
1717 distclean-host: maybe-distclean-utils
1718 distclean-host: maybe-distclean-gnattools
1720 .PHONY: distclean-target
1722 distclean-target: maybe-distclean-target-libstdc++-v3
1723 distclean-target: maybe-distclean-target-libmudflap
1724 distclean-target: maybe-distclean-target-libssp
1725 distclean-target: maybe-distclean-target-libgcc-math
1726 distclean-target: maybe-distclean-target-newlib
1727 distclean-target: maybe-distclean-target-libgfortran
1728 distclean-target: maybe-distclean-target-libobjc
1729 distclean-target: maybe-distclean-target-libtermcap
1730 distclean-target: maybe-distclean-target-winsup
1731 distclean-target: maybe-distclean-target-libgloss
1732 distclean-target: maybe-distclean-target-libiberty
1733 distclean-target: maybe-distclean-target-gperf
1734 distclean-target: maybe-distclean-target-examples
1735 distclean-target: maybe-distclean-target-libffi
1736 distclean-target: maybe-distclean-target-libjava
1737 distclean-target: maybe-distclean-target-zlib
1738 distclean-target: maybe-distclean-target-boehm-gc
1739 distclean-target: maybe-distclean-target-qthreads
1740 distclean-target: maybe-distclean-target-rda
1741 distclean-target: maybe-distclean-target-libada
1742 distclean-target: maybe-distclean-target-libgomp
1744 .PHONY: do-maintainer-clean
1745 do-maintainer-clean:
1746 @: $(MAKE); $(unstage)
1747 @r=`${PWD_COMMAND}`; export r; \
1748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1749 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1750 maintainer-clean-target
1753 .PHONY: maintainer-clean-host
1755 maintainer-clean-host: maybe-maintainer-clean-ash
1756 maintainer-clean-host: maybe-maintainer-clean-autoconf
1757 maintainer-clean-host: maybe-maintainer-clean-automake
1758 maintainer-clean-host: maybe-maintainer-clean-bash
1759 maintainer-clean-host: maybe-maintainer-clean-bfd
1760 maintainer-clean-host: maybe-maintainer-clean-opcodes
1761 maintainer-clean-host: maybe-maintainer-clean-binutils
1762 maintainer-clean-host: maybe-maintainer-clean-bison
1763 maintainer-clean-host: maybe-maintainer-clean-byacc
1764 maintainer-clean-host: maybe-maintainer-clean-bzip2
1765 maintainer-clean-host: maybe-maintainer-clean-dejagnu
1766 maintainer-clean-host: maybe-maintainer-clean-diff
1767 maintainer-clean-host: maybe-maintainer-clean-dosutils
1768 maintainer-clean-host: maybe-maintainer-clean-etc
1769 maintainer-clean-host: maybe-maintainer-clean-expat
1770 maintainer-clean-host: maybe-maintainer-clean-fastjar
1771 maintainer-clean-host: maybe-maintainer-clean-fileutils
1772 maintainer-clean-host: maybe-maintainer-clean-findutils
1773 maintainer-clean-host: maybe-maintainer-clean-find
1774 maintainer-clean-host: maybe-maintainer-clean-fixincludes
1775 maintainer-clean-host: maybe-maintainer-clean-flex
1776 maintainer-clean-host: maybe-maintainer-clean-gas
1777 maintainer-clean-host: maybe-maintainer-clean-gcc
1778 maintainer-clean-host: maybe-maintainer-clean-gawk
1779 maintainer-clean-host: maybe-maintainer-clean-gettext
1780 maintainer-clean-host: maybe-maintainer-clean-gnuserv
1781 maintainer-clean-host: maybe-maintainer-clean-gprof
1782 maintainer-clean-host: maybe-maintainer-clean-gzip
1783 maintainer-clean-host: maybe-maintainer-clean-hello
1784 maintainer-clean-host: maybe-maintainer-clean-indent
1785 maintainer-clean-host: maybe-maintainer-clean-intl
1786 maintainer-clean-host: maybe-maintainer-clean-tcl
1787 maintainer-clean-host: maybe-maintainer-clean-itcl
1788 maintainer-clean-host: maybe-maintainer-clean-ld
1789 maintainer-clean-host: maybe-maintainer-clean-libcpp
1790 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
1791 maintainer-clean-host: maybe-maintainer-clean-libgui
1792 maintainer-clean-host: maybe-maintainer-clean-libiberty
1793 maintainer-clean-host: maybe-maintainer-clean-libtool
1794 maintainer-clean-host: maybe-maintainer-clean-m4
1795 maintainer-clean-host: maybe-maintainer-clean-make
1796 maintainer-clean-host: maybe-maintainer-clean-mmalloc
1797 maintainer-clean-host: maybe-maintainer-clean-patch
1798 maintainer-clean-host: maybe-maintainer-clean-perl
1799 maintainer-clean-host: maybe-maintainer-clean-prms
1800 maintainer-clean-host: maybe-maintainer-clean-rcs
1801 maintainer-clean-host: maybe-maintainer-clean-readline
1802 maintainer-clean-host: maybe-maintainer-clean-release
1803 maintainer-clean-host: maybe-maintainer-clean-recode
1804 maintainer-clean-host: maybe-maintainer-clean-sed
1805 maintainer-clean-host: maybe-maintainer-clean-send-pr
1806 maintainer-clean-host: maybe-maintainer-clean-shellutils
1807 maintainer-clean-host: maybe-maintainer-clean-sid
1808 maintainer-clean-host: maybe-maintainer-clean-sim
1809 maintainer-clean-host: maybe-maintainer-clean-tar
1810 maintainer-clean-host: maybe-maintainer-clean-texinfo
1811 maintainer-clean-host: maybe-maintainer-clean-textutils
1812 maintainer-clean-host: maybe-maintainer-clean-time
1813 maintainer-clean-host: maybe-maintainer-clean-uudecode
1814 maintainer-clean-host: maybe-maintainer-clean-wdiff
1815 maintainer-clean-host: maybe-maintainer-clean-zip
1816 maintainer-clean-host: maybe-maintainer-clean-zlib
1817 maintainer-clean-host: maybe-maintainer-clean-gdb
1818 maintainer-clean-host: maybe-maintainer-clean-expect
1819 maintainer-clean-host: maybe-maintainer-clean-guile
1820 maintainer-clean-host: maybe-maintainer-clean-tk
1821 maintainer-clean-host: maybe-maintainer-clean-libtermcap
1822 maintainer-clean-host: maybe-maintainer-clean-utils
1823 maintainer-clean-host: maybe-maintainer-clean-gnattools
1825 .PHONY: maintainer-clean-target
1827 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
1828 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
1829 maintainer-clean-target: maybe-maintainer-clean-target-libssp
1830 maintainer-clean-target: maybe-maintainer-clean-target-libgcc-math
1831 maintainer-clean-target: maybe-maintainer-clean-target-newlib
1832 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
1833 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
1834 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
1835 maintainer-clean-target: maybe-maintainer-clean-target-winsup
1836 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
1837 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
1838 maintainer-clean-target: maybe-maintainer-clean-target-gperf
1839 maintainer-clean-target: maybe-maintainer-clean-target-examples
1840 maintainer-clean-target: maybe-maintainer-clean-target-libffi
1841 maintainer-clean-target: maybe-maintainer-clean-target-libjava
1842 maintainer-clean-target: maybe-maintainer-clean-target-zlib
1843 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
1844 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
1845 maintainer-clean-target: maybe-maintainer-clean-target-rda
1846 maintainer-clean-target: maybe-maintainer-clean-target-libada
1847 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
1850 # Here are the targets which correspond to the do-X targets.
1852 .PHONY: info installcheck dvi html install-info
1853 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1854 .PHONY: local-clean local-distclean local-maintainer-clean
1855 info: do-info
1856 installcheck: do-installcheck
1857 dvi: do-dvi
1858 html: do-html
1860 # Make sure makeinfo is built before we do a `make info', if we're
1861 # in fact building texinfo.
1862 do-info: maybe-all-texinfo
1864 install-info: do-install-info dir.info
1865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1866 if [ -f dir.info ] ; then \
1867 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1868 else true ; fi
1870 local-clean:
1871 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1873 local-distclean:
1874 -rm -f Makefile config.status config.cache mh-frag mt-frag
1875 -rm -f maybedep.tmp serdep.tmp
1876 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1877 rm -rf $(TARGET_SUBDIR); \
1878 else true; fi
1879 -rm -rf $(BUILD_SUBDIR)
1880 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1881 rm -rf $(HOST_SUBDIR); \
1882 else true; fi
1883 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1884 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1885 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1886 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1887 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1889 local-maintainer-clean:
1890 @echo "This command is intended for maintainers to use;"
1891 @echo "it deletes files that may require special tools to rebuild."
1893 clean: do-clean local-clean
1894 mostlyclean: do-mostlyclean local-clean
1895 distclean: do-distclean local-clean local-distclean
1896 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1897 maintainer-clean: local-distclean
1898 realclean: maintainer-clean
1900 # Extra dependency for clean-target, owing to the mixed nature of gcc.
1901 clean-target: clean-target-libgcc
1902 clean-target-libgcc:
1903 test ! -d gcc || (cd gcc && $(MAKE) $@)
1905 # Check target.
1907 .PHONY: check do-check
1908 check: do-check
1910 # Only include modules actually being configured and built.
1911 .PHONY: check-host
1912 check-host: \
1913 maybe-check-ash \
1914 maybe-check-autoconf \
1915 maybe-check-automake \
1916 maybe-check-bash \
1917 maybe-check-bfd \
1918 maybe-check-opcodes \
1919 maybe-check-binutils \
1920 maybe-check-bison \
1921 maybe-check-byacc \
1922 maybe-check-bzip2 \
1923 maybe-check-dejagnu \
1924 maybe-check-diff \
1925 maybe-check-dosutils \
1926 maybe-check-etc \
1927 maybe-check-expat \
1928 maybe-check-fastjar \
1929 maybe-check-fileutils \
1930 maybe-check-findutils \
1931 maybe-check-find \
1932 maybe-check-fixincludes \
1933 maybe-check-flex \
1934 maybe-check-gas \
1935 maybe-check-gcc \
1936 maybe-check-gawk \
1937 maybe-check-gettext \
1938 maybe-check-gnuserv \
1939 maybe-check-gprof \
1940 maybe-check-gzip \
1941 maybe-check-hello \
1942 maybe-check-indent \
1943 maybe-check-intl \
1944 maybe-check-tcl \
1945 maybe-check-itcl \
1946 maybe-check-ld \
1947 maybe-check-libcpp \
1948 maybe-check-libdecnumber \
1949 maybe-check-libgui \
1950 maybe-check-libiberty \
1951 maybe-check-libtool \
1952 maybe-check-m4 \
1953 maybe-check-make \
1954 maybe-check-mmalloc \
1955 maybe-check-patch \
1956 maybe-check-perl \
1957 maybe-check-prms \
1958 maybe-check-rcs \
1959 maybe-check-readline \
1960 maybe-check-release \
1961 maybe-check-recode \
1962 maybe-check-sed \
1963 maybe-check-send-pr \
1964 maybe-check-shellutils \
1965 maybe-check-sid \
1966 maybe-check-sim \
1967 maybe-check-tar \
1968 maybe-check-texinfo \
1969 maybe-check-textutils \
1970 maybe-check-time \
1971 maybe-check-uudecode \
1972 maybe-check-wdiff \
1973 maybe-check-zip \
1974 maybe-check-zlib \
1975 maybe-check-gdb \
1976 maybe-check-expect \
1977 maybe-check-guile \
1978 maybe-check-tk \
1979 maybe-check-libtermcap \
1980 maybe-check-utils \
1981 maybe-check-gnattools
1983 .PHONY: check-target
1984 check-target: \
1985 maybe-check-target-libstdc++-v3 \
1986 maybe-check-target-libmudflap \
1987 maybe-check-target-libssp \
1988 maybe-check-target-libgcc-math \
1989 maybe-check-target-newlib \
1990 maybe-check-target-libgfortran \
1991 maybe-check-target-libobjc \
1992 maybe-check-target-libtermcap \
1993 maybe-check-target-winsup \
1994 maybe-check-target-libgloss \
1995 maybe-check-target-libiberty \
1996 maybe-check-target-gperf \
1997 maybe-check-target-examples \
1998 maybe-check-target-libffi \
1999 maybe-check-target-libjava \
2000 maybe-check-target-zlib \
2001 maybe-check-target-boehm-gc \
2002 maybe-check-target-qthreads \
2003 maybe-check-target-rda \
2004 maybe-check-target-libada \
2005 maybe-check-target-libgomp
2007 do-check:
2008 @: $(MAKE); $(unstage)
2009 @r=`${PWD_COMMAND}`; export r; \
2010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2011 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2013 # Automated reporting of test results.
2015 warning.log: build.log
2016 $(srcdir)/contrib/warn_summary build.log > $@
2018 mail-report.log:
2019 if test x'$(BOOT_CFLAGS)' != x''; then \
2020 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2021 fi; \
2022 $(srcdir)/contrib/test_summary -t >$@
2023 chmod +x $@
2024 echo If you really want to send e-mail, run ./$@ now
2026 mail-report-with-warnings.log: warning.log
2027 if test x'$(BOOT_CFLAGS)' != x''; then \
2028 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2029 fi; \
2030 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2031 chmod +x $@
2032 echo If you really want to send e-mail, run ./$@ now
2034 # Installation targets.
2036 .PHONY: install uninstall
2037 install:
2038 @: $(MAKE); $(unstage)
2039 @r=`${PWD_COMMAND}`; export r; \
2040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2041 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2043 .PHONY: install-host-nogcc
2044 install-host-nogcc: \
2045 maybe-install-ash \
2046 maybe-install-autoconf \
2047 maybe-install-automake \
2048 maybe-install-bash \
2049 maybe-install-bfd \
2050 maybe-install-opcodes \
2051 maybe-install-binutils \
2052 maybe-install-bison \
2053 maybe-install-byacc \
2054 maybe-install-bzip2 \
2055 maybe-install-dejagnu \
2056 maybe-install-diff \
2057 maybe-install-dosutils \
2058 maybe-install-etc \
2059 maybe-install-expat \
2060 maybe-install-fastjar \
2061 maybe-install-fileutils \
2062 maybe-install-findutils \
2063 maybe-install-find \
2064 maybe-install-fixincludes \
2065 maybe-install-flex \
2066 maybe-install-gas \
2067 maybe-install-gawk \
2068 maybe-install-gettext \
2069 maybe-install-gnuserv \
2070 maybe-install-gprof \
2071 maybe-install-gzip \
2072 maybe-install-hello \
2073 maybe-install-indent \
2074 maybe-install-intl \
2075 maybe-install-tcl \
2076 maybe-install-itcl \
2077 maybe-install-ld \
2078 maybe-install-libcpp \
2079 maybe-install-libdecnumber \
2080 maybe-install-libgui \
2081 maybe-install-libiberty \
2082 maybe-install-libtool \
2083 maybe-install-m4 \
2084 maybe-install-make \
2085 maybe-install-mmalloc \
2086 maybe-install-patch \
2087 maybe-install-perl \
2088 maybe-install-prms \
2089 maybe-install-rcs \
2090 maybe-install-readline \
2091 maybe-install-release \
2092 maybe-install-recode \
2093 maybe-install-sed \
2094 maybe-install-send-pr \
2095 maybe-install-shellutils \
2096 maybe-install-sid \
2097 maybe-install-sim \
2098 maybe-install-tar \
2099 maybe-install-texinfo \
2100 maybe-install-textutils \
2101 maybe-install-time \
2102 maybe-install-uudecode \
2103 maybe-install-wdiff \
2104 maybe-install-zip \
2105 maybe-install-zlib \
2106 maybe-install-gdb \
2107 maybe-install-expect \
2108 maybe-install-guile \
2109 maybe-install-tk \
2110 maybe-install-libtermcap \
2111 maybe-install-utils \
2112 maybe-install-gnattools
2114 .PHONY: install-host
2115 install-host: \
2116 maybe-install-ash \
2117 maybe-install-autoconf \
2118 maybe-install-automake \
2119 maybe-install-bash \
2120 maybe-install-bfd \
2121 maybe-install-opcodes \
2122 maybe-install-binutils \
2123 maybe-install-bison \
2124 maybe-install-byacc \
2125 maybe-install-bzip2 \
2126 maybe-install-dejagnu \
2127 maybe-install-diff \
2128 maybe-install-dosutils \
2129 maybe-install-etc \
2130 maybe-install-expat \
2131 maybe-install-fastjar \
2132 maybe-install-fileutils \
2133 maybe-install-findutils \
2134 maybe-install-find \
2135 maybe-install-fixincludes \
2136 maybe-install-flex \
2137 maybe-install-gas \
2138 maybe-install-gcc \
2139 maybe-install-gawk \
2140 maybe-install-gettext \
2141 maybe-install-gnuserv \
2142 maybe-install-gprof \
2143 maybe-install-gzip \
2144 maybe-install-hello \
2145 maybe-install-indent \
2146 maybe-install-intl \
2147 maybe-install-tcl \
2148 maybe-install-itcl \
2149 maybe-install-ld \
2150 maybe-install-libcpp \
2151 maybe-install-libdecnumber \
2152 maybe-install-libgui \
2153 maybe-install-libiberty \
2154 maybe-install-libtool \
2155 maybe-install-m4 \
2156 maybe-install-make \
2157 maybe-install-mmalloc \
2158 maybe-install-patch \
2159 maybe-install-perl \
2160 maybe-install-prms \
2161 maybe-install-rcs \
2162 maybe-install-readline \
2163 maybe-install-release \
2164 maybe-install-recode \
2165 maybe-install-sed \
2166 maybe-install-send-pr \
2167 maybe-install-shellutils \
2168 maybe-install-sid \
2169 maybe-install-sim \
2170 maybe-install-tar \
2171 maybe-install-texinfo \
2172 maybe-install-textutils \
2173 maybe-install-time \
2174 maybe-install-uudecode \
2175 maybe-install-wdiff \
2176 maybe-install-zip \
2177 maybe-install-zlib \
2178 maybe-install-gdb \
2179 maybe-install-expect \
2180 maybe-install-guile \
2181 maybe-install-tk \
2182 maybe-install-libtermcap \
2183 maybe-install-utils \
2184 maybe-install-gnattools
2186 .PHONY: install-target
2187 install-target: \
2188 maybe-install-target-libstdc++-v3 \
2189 maybe-install-target-libmudflap \
2190 maybe-install-target-libssp \
2191 maybe-install-target-libgcc-math \
2192 maybe-install-target-newlib \
2193 maybe-install-target-libgfortran \
2194 maybe-install-target-libobjc \
2195 maybe-install-target-libtermcap \
2196 maybe-install-target-winsup \
2197 maybe-install-target-libgloss \
2198 maybe-install-target-libiberty \
2199 maybe-install-target-gperf \
2200 maybe-install-target-examples \
2201 maybe-install-target-libffi \
2202 maybe-install-target-libjava \
2203 maybe-install-target-zlib \
2204 maybe-install-target-boehm-gc \
2205 maybe-install-target-qthreads \
2206 maybe-install-target-rda \
2207 maybe-install-target-libada \
2208 maybe-install-target-libgomp
2210 uninstall:
2211 @echo "the uninstall target is not supported in this tree"
2213 .PHONY: install.all
2214 install.all: install-no-fixedincludes
2215 @if [ -f ./gcc/Makefile ] ; then \
2216 r=`${PWD_COMMAND}` ; export r ; \
2217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2218 $(HOST_EXPORTS) \
2219 (cd ./gcc && \
2220 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2221 else \
2222 true ; \
2225 # install-no-fixedincludes is used because Cygnus can not distribute
2226 # the fixed header files.
2227 .PHONY: install-no-fixedincludes
2228 install-no-fixedincludes: installdirs install-host-nogcc \
2229 install-target gcc-no-fixedincludes
2231 ### other supporting targets
2233 MAKEDIRS= \
2234 $(DESTDIR)$(prefix) \
2235 $(DESTDIR)$(exec_prefix)
2236 .PHONY: installdirs
2237 installdirs: mkinstalldirs
2238 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2240 dir.info: do-install-info
2241 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2242 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2243 mv -f dir.info.new dir.info ; \
2244 else true ; \
2247 dist:
2248 @echo "Building a full distribution of this tree isn't done"
2249 @echo "via 'make dist'. Check out the etc/ subdirectory"
2251 etags tags: TAGS
2253 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2254 # ability to use several tags files at once, so there is probably no need
2255 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2256 # (if we felt like it) have this Makefile write a piece of elisp which
2257 # the user could load to tell emacs19 where all the TAGS files we just
2258 # built are.
2259 TAGS: do-TAGS
2261 # ------------------------------------
2262 # Macros for configure and all targets
2263 # ------------------------------------
2269 # --------------------------------------
2270 # Modules which run on the build machine
2271 # --------------------------------------
2274 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2275 maybe-configure-build-libiberty:
2276 @if build-libiberty
2277 maybe-configure-build-libiberty: configure-build-libiberty
2278 configure-build-libiberty:
2279 @: $(MAKE); $(unstage)
2280 @r=`${PWD_COMMAND}`; export r; \
2281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2282 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2283 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2284 $(BUILD_EXPORTS) \
2285 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2286 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2287 case $(srcdir) in \
2288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2289 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2291 esac; \
2292 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2293 libsrcdir="$$s/libiberty"; \
2294 rm -f no-such-file || : ; \
2295 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2296 $(BUILD_CONFIGARGS) $${srcdiroption} \
2297 || exit 1
2298 @endif build-libiberty
2304 .PHONY: all-build-libiberty maybe-all-build-libiberty
2305 maybe-all-build-libiberty:
2306 @if build-libiberty
2307 TARGET-build-libiberty=all
2308 maybe-all-build-libiberty: all-build-libiberty
2309 all-build-libiberty: configure-build-libiberty
2310 @: $(MAKE); $(unstage)
2311 @r=`${PWD_COMMAND}`; export r; \
2312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2313 $(BUILD_EXPORTS) \
2314 (cd $(BUILD_SUBDIR)/libiberty && \
2315 $(MAKE) $(TARGET-build-libiberty))
2316 @endif build-libiberty
2322 .PHONY: configure-build-bison maybe-configure-build-bison
2323 maybe-configure-build-bison:
2324 @if build-bison
2325 maybe-configure-build-bison: configure-build-bison
2326 configure-build-bison:
2327 @: $(MAKE); $(unstage)
2328 @r=`${PWD_COMMAND}`; export r; \
2329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2330 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2331 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2332 $(BUILD_EXPORTS) \
2333 echo Configuring in $(BUILD_SUBDIR)/bison; \
2334 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2335 case $(srcdir) in \
2336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2337 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2339 esac; \
2340 srcdiroption="--srcdir=$${topdir}/bison"; \
2341 libsrcdir="$$s/bison"; \
2342 rm -f no-such-file || : ; \
2343 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2344 $(BUILD_CONFIGARGS) $${srcdiroption} \
2345 || exit 1
2346 @endif build-bison
2352 .PHONY: all-build-bison maybe-all-build-bison
2353 maybe-all-build-bison:
2354 @if build-bison
2355 TARGET-build-bison=all
2356 maybe-all-build-bison: all-build-bison
2357 all-build-bison: configure-build-bison
2358 @: $(MAKE); $(unstage)
2359 @r=`${PWD_COMMAND}`; export r; \
2360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2361 $(BUILD_EXPORTS) \
2362 (cd $(BUILD_SUBDIR)/bison && \
2363 $(MAKE) $(TARGET-build-bison))
2364 @endif build-bison
2370 .PHONY: configure-build-byacc maybe-configure-build-byacc
2371 maybe-configure-build-byacc:
2372 @if build-byacc
2373 maybe-configure-build-byacc: configure-build-byacc
2374 configure-build-byacc:
2375 @: $(MAKE); $(unstage)
2376 @r=`${PWD_COMMAND}`; export r; \
2377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2378 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2379 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2380 $(BUILD_EXPORTS) \
2381 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2382 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2383 case $(srcdir) in \
2384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2385 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2387 esac; \
2388 srcdiroption="--srcdir=$${topdir}/byacc"; \
2389 libsrcdir="$$s/byacc"; \
2390 rm -f no-such-file || : ; \
2391 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2392 $(BUILD_CONFIGARGS) $${srcdiroption} \
2393 || exit 1
2394 @endif build-byacc
2400 .PHONY: all-build-byacc maybe-all-build-byacc
2401 maybe-all-build-byacc:
2402 @if build-byacc
2403 TARGET-build-byacc=all
2404 maybe-all-build-byacc: all-build-byacc
2405 all-build-byacc: configure-build-byacc
2406 @: $(MAKE); $(unstage)
2407 @r=`${PWD_COMMAND}`; export r; \
2408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2409 $(BUILD_EXPORTS) \
2410 (cd $(BUILD_SUBDIR)/byacc && \
2411 $(MAKE) $(TARGET-build-byacc))
2412 @endif build-byacc
2418 .PHONY: configure-build-flex maybe-configure-build-flex
2419 maybe-configure-build-flex:
2420 @if build-flex
2421 maybe-configure-build-flex: configure-build-flex
2422 configure-build-flex:
2423 @: $(MAKE); $(unstage)
2424 @r=`${PWD_COMMAND}`; export r; \
2425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2426 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2427 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2428 $(BUILD_EXPORTS) \
2429 echo Configuring in $(BUILD_SUBDIR)/flex; \
2430 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2431 case $(srcdir) in \
2432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2433 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2435 esac; \
2436 srcdiroption="--srcdir=$${topdir}/flex"; \
2437 libsrcdir="$$s/flex"; \
2438 rm -f no-such-file || : ; \
2439 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2440 $(BUILD_CONFIGARGS) $${srcdiroption} \
2441 || exit 1
2442 @endif build-flex
2448 .PHONY: all-build-flex maybe-all-build-flex
2449 maybe-all-build-flex:
2450 @if build-flex
2451 TARGET-build-flex=all
2452 maybe-all-build-flex: all-build-flex
2453 all-build-flex: configure-build-flex
2454 @: $(MAKE); $(unstage)
2455 @r=`${PWD_COMMAND}`; export r; \
2456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2457 $(BUILD_EXPORTS) \
2458 (cd $(BUILD_SUBDIR)/flex && \
2459 $(MAKE) $(TARGET-build-flex))
2460 @endif build-flex
2466 .PHONY: configure-build-m4 maybe-configure-build-m4
2467 maybe-configure-build-m4:
2468 @if build-m4
2469 maybe-configure-build-m4: configure-build-m4
2470 configure-build-m4:
2471 @: $(MAKE); $(unstage)
2472 @r=`${PWD_COMMAND}`; export r; \
2473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2474 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2475 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2476 $(BUILD_EXPORTS) \
2477 echo Configuring in $(BUILD_SUBDIR)/m4; \
2478 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2479 case $(srcdir) in \
2480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2481 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2483 esac; \
2484 srcdiroption="--srcdir=$${topdir}/m4"; \
2485 libsrcdir="$$s/m4"; \
2486 rm -f no-such-file || : ; \
2487 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2488 $(BUILD_CONFIGARGS) $${srcdiroption} \
2489 || exit 1
2490 @endif build-m4
2496 .PHONY: all-build-m4 maybe-all-build-m4
2497 maybe-all-build-m4:
2498 @if build-m4
2499 TARGET-build-m4=all
2500 maybe-all-build-m4: all-build-m4
2501 all-build-m4: configure-build-m4
2502 @: $(MAKE); $(unstage)
2503 @r=`${PWD_COMMAND}`; export r; \
2504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2505 $(BUILD_EXPORTS) \
2506 (cd $(BUILD_SUBDIR)/m4 && \
2507 $(MAKE) $(TARGET-build-m4))
2508 @endif build-m4
2514 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2515 maybe-configure-build-texinfo:
2516 @if build-texinfo
2517 maybe-configure-build-texinfo: configure-build-texinfo
2518 configure-build-texinfo:
2519 @: $(MAKE); $(unstage)
2520 @r=`${PWD_COMMAND}`; export r; \
2521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2522 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2523 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2524 $(BUILD_EXPORTS) \
2525 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2526 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2527 case $(srcdir) in \
2528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2529 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2531 esac; \
2532 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2533 libsrcdir="$$s/texinfo"; \
2534 rm -f no-such-file || : ; \
2535 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2536 $(BUILD_CONFIGARGS) $${srcdiroption} \
2537 || exit 1
2538 @endif build-texinfo
2544 .PHONY: all-build-texinfo maybe-all-build-texinfo
2545 maybe-all-build-texinfo:
2546 @if build-texinfo
2547 TARGET-build-texinfo=all
2548 maybe-all-build-texinfo: all-build-texinfo
2549 all-build-texinfo: configure-build-texinfo
2550 @: $(MAKE); $(unstage)
2551 @r=`${PWD_COMMAND}`; export r; \
2552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2553 $(BUILD_EXPORTS) \
2554 (cd $(BUILD_SUBDIR)/texinfo && \
2555 $(MAKE) $(TARGET-build-texinfo))
2556 @endif build-texinfo
2562 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2563 maybe-configure-build-fixincludes:
2564 @if build-fixincludes
2565 maybe-configure-build-fixincludes: configure-build-fixincludes
2566 configure-build-fixincludes:
2567 @: $(MAKE); $(unstage)
2568 @r=`${PWD_COMMAND}`; export r; \
2569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2570 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2571 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2572 $(BUILD_EXPORTS) \
2573 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2574 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2575 case $(srcdir) in \
2576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2577 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2579 esac; \
2580 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2581 libsrcdir="$$s/fixincludes"; \
2582 rm -f no-such-file || : ; \
2583 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2584 $(BUILD_CONFIGARGS) $${srcdiroption} \
2585 || exit 1
2586 @endif build-fixincludes
2592 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2593 maybe-all-build-fixincludes:
2594 @if build-fixincludes
2595 TARGET-build-fixincludes=all
2596 maybe-all-build-fixincludes: all-build-fixincludes
2597 all-build-fixincludes: configure-build-fixincludes
2598 @: $(MAKE); $(unstage)
2599 @r=`${PWD_COMMAND}`; export r; \
2600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2601 $(BUILD_EXPORTS) \
2602 (cd $(BUILD_SUBDIR)/fixincludes && \
2603 $(MAKE) $(TARGET-build-fixincludes))
2604 @endif build-fixincludes
2610 # --------------------------------------
2611 # Modules which run on the host machine
2612 # --------------------------------------
2615 .PHONY: configure-ash maybe-configure-ash
2616 maybe-configure-ash:
2617 @if ash
2618 maybe-configure-ash: configure-ash
2619 configure-ash:
2620 @: $(MAKE); $(unstage)
2621 @r=`${PWD_COMMAND}`; export r; \
2622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2624 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2625 $(HOST_EXPORTS) \
2626 echo Configuring in $(HOST_SUBDIR)/ash; \
2627 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2628 case $(srcdir) in \
2629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2630 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2632 esac; \
2633 srcdiroption="--srcdir=$${topdir}/ash"; \
2634 libsrcdir="$$s/ash"; \
2635 $(SHELL) $${libsrcdir}/configure \
2636 $(HOST_CONFIGARGS) $${srcdiroption} \
2637 || exit 1
2638 @endif ash
2644 .PHONY: all-ash maybe-all-ash
2645 maybe-all-ash:
2646 @if ash
2647 TARGET-ash=all
2648 maybe-all-ash: all-ash
2649 all-ash: configure-ash
2650 @: $(MAKE); $(unstage)
2651 @r=`${PWD_COMMAND}`; export r; \
2652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2653 $(HOST_EXPORTS) \
2654 (cd $(HOST_SUBDIR)/ash && \
2655 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2656 @endif ash
2661 .PHONY: check-ash maybe-check-ash
2662 maybe-check-ash:
2663 @if ash
2664 maybe-check-ash: check-ash
2666 check-ash:
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) check)
2674 @endif ash
2676 .PHONY: install-ash maybe-install-ash
2677 maybe-install-ash:
2678 @if ash
2679 maybe-install-ash: install-ash
2681 install-ash: installdirs
2682 @: $(MAKE); $(unstage)
2683 @r=`${PWD_COMMAND}`; export r; \
2684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2685 $(HOST_EXPORTS) \
2686 (cd $(HOST_SUBDIR)/ash && \
2687 $(MAKE) $(FLAGS_TO_PASS) install)
2689 @endif ash
2691 # Other targets (info, dvi, etc.)
2693 .PHONY: maybe-info-ash info-ash
2694 maybe-info-ash:
2695 @if ash
2696 maybe-info-ash: info-ash
2698 info-ash: \
2699 configure-ash
2700 @: $(MAKE); $(unstage)
2701 @[ -f ./ash/Makefile ] || exit 0; \
2702 r=`${PWD_COMMAND}`; export r; \
2703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2704 $(HOST_EXPORTS) \
2705 for flag in $(EXTRA_HOST_FLAGS) ; do \
2706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2707 done; \
2708 echo "Doing info in ash" ; \
2709 (cd $(HOST_SUBDIR)/ash && \
2710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2712 "RANLIB=$${RANLIB}" \
2713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2714 info) \
2715 || exit 1
2717 @endif ash
2719 .PHONY: maybe-dvi-ash dvi-ash
2720 maybe-dvi-ash:
2721 @if ash
2722 maybe-dvi-ash: dvi-ash
2724 dvi-ash: \
2725 configure-ash
2726 @: $(MAKE); $(unstage)
2727 @[ -f ./ash/Makefile ] || exit 0; \
2728 r=`${PWD_COMMAND}`; export r; \
2729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2730 $(HOST_EXPORTS) \
2731 for flag in $(EXTRA_HOST_FLAGS) ; do \
2732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2733 done; \
2734 echo "Doing dvi in ash" ; \
2735 (cd $(HOST_SUBDIR)/ash && \
2736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2738 "RANLIB=$${RANLIB}" \
2739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2740 dvi) \
2741 || exit 1
2743 @endif ash
2745 .PHONY: maybe-html-ash html-ash
2746 maybe-html-ash:
2747 @if ash
2748 maybe-html-ash: html-ash
2750 html-ash: \
2751 configure-ash
2752 @: $(MAKE); $(unstage)
2753 @[ -f ./ash/Makefile ] || exit 0; \
2754 r=`${PWD_COMMAND}`; export r; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756 $(HOST_EXPORTS) \
2757 for flag in $(EXTRA_HOST_FLAGS) ; do \
2758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2759 done; \
2760 echo "Doing html in ash" ; \
2761 (cd $(HOST_SUBDIR)/ash && \
2762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2764 "RANLIB=$${RANLIB}" \
2765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2766 html) \
2767 || exit 1
2769 @endif ash
2771 .PHONY: maybe-TAGS-ash TAGS-ash
2772 maybe-TAGS-ash:
2773 @if ash
2774 maybe-TAGS-ash: TAGS-ash
2776 TAGS-ash: \
2777 configure-ash
2778 @: $(MAKE); $(unstage)
2779 @[ -f ./ash/Makefile ] || exit 0; \
2780 r=`${PWD_COMMAND}`; export r; \
2781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2782 $(HOST_EXPORTS) \
2783 for flag in $(EXTRA_HOST_FLAGS) ; do \
2784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2785 done; \
2786 echo "Doing TAGS in ash" ; \
2787 (cd $(HOST_SUBDIR)/ash && \
2788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2790 "RANLIB=$${RANLIB}" \
2791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2792 TAGS) \
2793 || exit 1
2795 @endif ash
2797 .PHONY: maybe-install-info-ash install-info-ash
2798 maybe-install-info-ash:
2799 @if ash
2800 maybe-install-info-ash: install-info-ash
2802 install-info-ash: \
2803 configure-ash \
2804 info-ash
2805 @: $(MAKE); $(unstage)
2806 @[ -f ./ash/Makefile ] || exit 0; \
2807 r=`${PWD_COMMAND}`; export r; \
2808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2809 $(HOST_EXPORTS) \
2810 for flag in $(EXTRA_HOST_FLAGS) ; do \
2811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2812 done; \
2813 echo "Doing install-info in ash" ; \
2814 (cd $(HOST_SUBDIR)/ash && \
2815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2817 "RANLIB=$${RANLIB}" \
2818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2819 install-info) \
2820 || exit 1
2822 @endif ash
2824 .PHONY: maybe-installcheck-ash installcheck-ash
2825 maybe-installcheck-ash:
2826 @if ash
2827 maybe-installcheck-ash: installcheck-ash
2829 installcheck-ash: \
2830 configure-ash
2831 @: $(MAKE); $(unstage)
2832 @[ -f ./ash/Makefile ] || exit 0; \
2833 r=`${PWD_COMMAND}`; export r; \
2834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2835 $(HOST_EXPORTS) \
2836 for flag in $(EXTRA_HOST_FLAGS) ; do \
2837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2838 done; \
2839 echo "Doing installcheck in ash" ; \
2840 (cd $(HOST_SUBDIR)/ash && \
2841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2843 "RANLIB=$${RANLIB}" \
2844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2845 installcheck) \
2846 || exit 1
2848 @endif ash
2850 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2851 maybe-mostlyclean-ash:
2852 @if ash
2853 maybe-mostlyclean-ash: mostlyclean-ash
2855 mostlyclean-ash:
2856 @: $(MAKE); $(unstage)
2857 @[ -f ./ash/Makefile ] || exit 0; \
2858 r=`${PWD_COMMAND}`; export r; \
2859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2860 $(HOST_EXPORTS) \
2861 for flag in $(EXTRA_HOST_FLAGS) ; do \
2862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2863 done; \
2864 echo "Doing mostlyclean in ash" ; \
2865 (cd $(HOST_SUBDIR)/ash && \
2866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2868 "RANLIB=$${RANLIB}" \
2869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2870 mostlyclean) \
2871 || exit 1
2873 @endif ash
2875 .PHONY: maybe-clean-ash clean-ash
2876 maybe-clean-ash:
2877 @if ash
2878 maybe-clean-ash: clean-ash
2880 clean-ash:
2881 @: $(MAKE); $(unstage)
2882 @[ -f ./ash/Makefile ] || exit 0; \
2883 r=`${PWD_COMMAND}`; export r; \
2884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 $(HOST_EXPORTS) \
2886 for flag in $(EXTRA_HOST_FLAGS) ; do \
2887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2888 done; \
2889 echo "Doing clean in ash" ; \
2890 (cd $(HOST_SUBDIR)/ash && \
2891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2893 "RANLIB=$${RANLIB}" \
2894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2895 clean) \
2896 || exit 1
2898 @endif ash
2900 .PHONY: maybe-distclean-ash distclean-ash
2901 maybe-distclean-ash:
2902 @if ash
2903 maybe-distclean-ash: distclean-ash
2905 distclean-ash:
2906 @: $(MAKE); $(unstage)
2907 @[ -f ./ash/Makefile ] || exit 0; \
2908 r=`${PWD_COMMAND}`; export r; \
2909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2910 $(HOST_EXPORTS) \
2911 for flag in $(EXTRA_HOST_FLAGS) ; do \
2912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2913 done; \
2914 echo "Doing distclean in ash" ; \
2915 (cd $(HOST_SUBDIR)/ash && \
2916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2918 "RANLIB=$${RANLIB}" \
2919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2920 distclean) \
2921 || exit 1
2923 @endif ash
2925 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2926 maybe-maintainer-clean-ash:
2927 @if ash
2928 maybe-maintainer-clean-ash: maintainer-clean-ash
2930 maintainer-clean-ash:
2931 @: $(MAKE); $(unstage)
2932 @[ -f ./ash/Makefile ] || exit 0; \
2933 r=`${PWD_COMMAND}`; export r; \
2934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935 $(HOST_EXPORTS) \
2936 for flag in $(EXTRA_HOST_FLAGS) ; do \
2937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2938 done; \
2939 echo "Doing maintainer-clean in ash" ; \
2940 (cd $(HOST_SUBDIR)/ash && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2943 "RANLIB=$${RANLIB}" \
2944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2945 maintainer-clean) \
2946 || exit 1
2948 @endif ash
2952 .PHONY: configure-autoconf maybe-configure-autoconf
2953 maybe-configure-autoconf:
2954 @if autoconf
2955 maybe-configure-autoconf: configure-autoconf
2956 configure-autoconf:
2957 @: $(MAKE); $(unstage)
2958 @r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2962 $(HOST_EXPORTS) \
2963 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2964 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2965 case $(srcdir) in \
2966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2967 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2969 esac; \
2970 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2971 libsrcdir="$$s/autoconf"; \
2972 $(SHELL) $${libsrcdir}/configure \
2973 $(HOST_CONFIGARGS) $${srcdiroption} \
2974 || exit 1
2975 @endif autoconf
2981 .PHONY: all-autoconf maybe-all-autoconf
2982 maybe-all-autoconf:
2983 @if autoconf
2984 TARGET-autoconf=all
2985 maybe-all-autoconf: all-autoconf
2986 all-autoconf: configure-autoconf
2987 @: $(MAKE); $(unstage)
2988 @r=`${PWD_COMMAND}`; export r; \
2989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2990 $(HOST_EXPORTS) \
2991 (cd $(HOST_SUBDIR)/autoconf && \
2992 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2993 @endif autoconf
2998 .PHONY: check-autoconf maybe-check-autoconf
2999 maybe-check-autoconf:
3000 @if autoconf
3001 maybe-check-autoconf: check-autoconf
3003 check-autoconf:
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) check)
3011 @endif autoconf
3013 .PHONY: install-autoconf maybe-install-autoconf
3014 maybe-install-autoconf:
3015 @if autoconf
3016 maybe-install-autoconf: install-autoconf
3018 install-autoconf: installdirs
3019 @: $(MAKE); $(unstage)
3020 @r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 $(HOST_EXPORTS) \
3023 (cd $(HOST_SUBDIR)/autoconf && \
3024 $(MAKE) $(FLAGS_TO_PASS) install)
3026 @endif autoconf
3028 # Other targets (info, dvi, etc.)
3030 .PHONY: maybe-info-autoconf info-autoconf
3031 maybe-info-autoconf:
3032 @if autoconf
3033 maybe-info-autoconf: info-autoconf
3035 info-autoconf: \
3036 configure-autoconf
3037 @: $(MAKE); $(unstage)
3038 @[ -f ./autoconf/Makefile ] || exit 0; \
3039 r=`${PWD_COMMAND}`; export r; \
3040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3041 $(HOST_EXPORTS) \
3042 for flag in $(EXTRA_HOST_FLAGS) ; do \
3043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3044 done; \
3045 echo "Doing info in autoconf" ; \
3046 (cd $(HOST_SUBDIR)/autoconf && \
3047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3049 "RANLIB=$${RANLIB}" \
3050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3051 info) \
3052 || exit 1
3054 @endif autoconf
3056 .PHONY: maybe-dvi-autoconf dvi-autoconf
3057 maybe-dvi-autoconf:
3058 @if autoconf
3059 maybe-dvi-autoconf: dvi-autoconf
3061 dvi-autoconf: \
3062 configure-autoconf
3063 @: $(MAKE); $(unstage)
3064 @[ -f ./autoconf/Makefile ] || exit 0; \
3065 r=`${PWD_COMMAND}`; export r; \
3066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3067 $(HOST_EXPORTS) \
3068 for flag in $(EXTRA_HOST_FLAGS) ; do \
3069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3070 done; \
3071 echo "Doing dvi in autoconf" ; \
3072 (cd $(HOST_SUBDIR)/autoconf && \
3073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3075 "RANLIB=$${RANLIB}" \
3076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3077 dvi) \
3078 || exit 1
3080 @endif autoconf
3082 .PHONY: maybe-html-autoconf html-autoconf
3083 maybe-html-autoconf:
3084 @if autoconf
3085 maybe-html-autoconf: html-autoconf
3087 html-autoconf: \
3088 configure-autoconf
3089 @: $(MAKE); $(unstage)
3090 @[ -f ./autoconf/Makefile ] || exit 0; \
3091 r=`${PWD_COMMAND}`; export r; \
3092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3093 $(HOST_EXPORTS) \
3094 for flag in $(EXTRA_HOST_FLAGS) ; do \
3095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3096 done; \
3097 echo "Doing html in autoconf" ; \
3098 (cd $(HOST_SUBDIR)/autoconf && \
3099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3101 "RANLIB=$${RANLIB}" \
3102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3103 html) \
3104 || exit 1
3106 @endif autoconf
3108 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3109 maybe-TAGS-autoconf:
3110 @if autoconf
3111 maybe-TAGS-autoconf: TAGS-autoconf
3113 TAGS-autoconf: \
3114 configure-autoconf
3115 @: $(MAKE); $(unstage)
3116 @[ -f ./autoconf/Makefile ] || exit 0; \
3117 r=`${PWD_COMMAND}`; export r; \
3118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3119 $(HOST_EXPORTS) \
3120 for flag in $(EXTRA_HOST_FLAGS) ; do \
3121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3122 done; \
3123 echo "Doing TAGS in autoconf" ; \
3124 (cd $(HOST_SUBDIR)/autoconf && \
3125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3127 "RANLIB=$${RANLIB}" \
3128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3129 TAGS) \
3130 || exit 1
3132 @endif autoconf
3134 .PHONY: maybe-install-info-autoconf install-info-autoconf
3135 maybe-install-info-autoconf:
3136 @if autoconf
3137 maybe-install-info-autoconf: install-info-autoconf
3139 install-info-autoconf: \
3140 configure-autoconf \
3141 info-autoconf
3142 @: $(MAKE); $(unstage)
3143 @[ -f ./autoconf/Makefile ] || exit 0; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 $(HOST_EXPORTS) \
3147 for flag in $(EXTRA_HOST_FLAGS) ; do \
3148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3149 done; \
3150 echo "Doing install-info in autoconf" ; \
3151 (cd $(HOST_SUBDIR)/autoconf && \
3152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3154 "RANLIB=$${RANLIB}" \
3155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3156 install-info) \
3157 || exit 1
3159 @endif autoconf
3161 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3162 maybe-installcheck-autoconf:
3163 @if autoconf
3164 maybe-installcheck-autoconf: installcheck-autoconf
3166 installcheck-autoconf: \
3167 configure-autoconf
3168 @: $(MAKE); $(unstage)
3169 @[ -f ./autoconf/Makefile ] || exit 0; \
3170 r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 $(HOST_EXPORTS) \
3173 for flag in $(EXTRA_HOST_FLAGS) ; do \
3174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3175 done; \
3176 echo "Doing installcheck in autoconf" ; \
3177 (cd $(HOST_SUBDIR)/autoconf && \
3178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3180 "RANLIB=$${RANLIB}" \
3181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3182 installcheck) \
3183 || exit 1
3185 @endif autoconf
3187 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3188 maybe-mostlyclean-autoconf:
3189 @if autoconf
3190 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3192 mostlyclean-autoconf:
3193 @: $(MAKE); $(unstage)
3194 @[ -f ./autoconf/Makefile ] || exit 0; \
3195 r=`${PWD_COMMAND}`; export r; \
3196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3197 $(HOST_EXPORTS) \
3198 for flag in $(EXTRA_HOST_FLAGS) ; do \
3199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3200 done; \
3201 echo "Doing mostlyclean in autoconf" ; \
3202 (cd $(HOST_SUBDIR)/autoconf && \
3203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3205 "RANLIB=$${RANLIB}" \
3206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3207 mostlyclean) \
3208 || exit 1
3210 @endif autoconf
3212 .PHONY: maybe-clean-autoconf clean-autoconf
3213 maybe-clean-autoconf:
3214 @if autoconf
3215 maybe-clean-autoconf: clean-autoconf
3217 clean-autoconf:
3218 @: $(MAKE); $(unstage)
3219 @[ -f ./autoconf/Makefile ] || exit 0; \
3220 r=`${PWD_COMMAND}`; export r; \
3221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3222 $(HOST_EXPORTS) \
3223 for flag in $(EXTRA_HOST_FLAGS) ; do \
3224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3225 done; \
3226 echo "Doing clean in autoconf" ; \
3227 (cd $(HOST_SUBDIR)/autoconf && \
3228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3230 "RANLIB=$${RANLIB}" \
3231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3232 clean) \
3233 || exit 1
3235 @endif autoconf
3237 .PHONY: maybe-distclean-autoconf distclean-autoconf
3238 maybe-distclean-autoconf:
3239 @if autoconf
3240 maybe-distclean-autoconf: distclean-autoconf
3242 distclean-autoconf:
3243 @: $(MAKE); $(unstage)
3244 @[ -f ./autoconf/Makefile ] || exit 0; \
3245 r=`${PWD_COMMAND}`; export r; \
3246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3247 $(HOST_EXPORTS) \
3248 for flag in $(EXTRA_HOST_FLAGS) ; do \
3249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3250 done; \
3251 echo "Doing distclean in autoconf" ; \
3252 (cd $(HOST_SUBDIR)/autoconf && \
3253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3255 "RANLIB=$${RANLIB}" \
3256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3257 distclean) \
3258 || exit 1
3260 @endif autoconf
3262 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3263 maybe-maintainer-clean-autoconf:
3264 @if autoconf
3265 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3267 maintainer-clean-autoconf:
3268 @: $(MAKE); $(unstage)
3269 @[ -f ./autoconf/Makefile ] || exit 0; \
3270 r=`${PWD_COMMAND}`; export r; \
3271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3272 $(HOST_EXPORTS) \
3273 for flag in $(EXTRA_HOST_FLAGS) ; do \
3274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3275 done; \
3276 echo "Doing maintainer-clean in autoconf" ; \
3277 (cd $(HOST_SUBDIR)/autoconf && \
3278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3280 "RANLIB=$${RANLIB}" \
3281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3282 maintainer-clean) \
3283 || exit 1
3285 @endif autoconf
3289 .PHONY: configure-automake maybe-configure-automake
3290 maybe-configure-automake:
3291 @if automake
3292 maybe-configure-automake: configure-automake
3293 configure-automake:
3294 @: $(MAKE); $(unstage)
3295 @r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3297 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3299 $(HOST_EXPORTS) \
3300 echo Configuring in $(HOST_SUBDIR)/automake; \
3301 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3302 case $(srcdir) in \
3303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3304 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3306 esac; \
3307 srcdiroption="--srcdir=$${topdir}/automake"; \
3308 libsrcdir="$$s/automake"; \
3309 $(SHELL) $${libsrcdir}/configure \
3310 $(HOST_CONFIGARGS) $${srcdiroption} \
3311 || exit 1
3312 @endif automake
3318 .PHONY: all-automake maybe-all-automake
3319 maybe-all-automake:
3320 @if automake
3321 TARGET-automake=all
3322 maybe-all-automake: all-automake
3323 all-automake: configure-automake
3324 @: $(MAKE); $(unstage)
3325 @r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 $(HOST_EXPORTS) \
3328 (cd $(HOST_SUBDIR)/automake && \
3329 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3330 @endif automake
3335 .PHONY: check-automake maybe-check-automake
3336 maybe-check-automake:
3337 @if automake
3338 maybe-check-automake: check-automake
3340 check-automake:
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) check)
3348 @endif automake
3350 .PHONY: install-automake maybe-install-automake
3351 maybe-install-automake:
3352 @if automake
3353 maybe-install-automake: install-automake
3355 install-automake: installdirs
3356 @: $(MAKE); $(unstage)
3357 @r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 $(HOST_EXPORTS) \
3360 (cd $(HOST_SUBDIR)/automake && \
3361 $(MAKE) $(FLAGS_TO_PASS) install)
3363 @endif automake
3365 # Other targets (info, dvi, etc.)
3367 .PHONY: maybe-info-automake info-automake
3368 maybe-info-automake:
3369 @if automake
3370 maybe-info-automake: info-automake
3372 info-automake: \
3373 configure-automake
3374 @: $(MAKE); $(unstage)
3375 @[ -f ./automake/Makefile ] || exit 0; \
3376 r=`${PWD_COMMAND}`; export r; \
3377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3378 $(HOST_EXPORTS) \
3379 for flag in $(EXTRA_HOST_FLAGS) ; do \
3380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3381 done; \
3382 echo "Doing info in automake" ; \
3383 (cd $(HOST_SUBDIR)/automake && \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3386 "RANLIB=$${RANLIB}" \
3387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3388 info) \
3389 || exit 1
3391 @endif automake
3393 .PHONY: maybe-dvi-automake dvi-automake
3394 maybe-dvi-automake:
3395 @if automake
3396 maybe-dvi-automake: dvi-automake
3398 dvi-automake: \
3399 configure-automake
3400 @: $(MAKE); $(unstage)
3401 @[ -f ./automake/Makefile ] || exit 0; \
3402 r=`${PWD_COMMAND}`; export r; \
3403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3404 $(HOST_EXPORTS) \
3405 for flag in $(EXTRA_HOST_FLAGS) ; do \
3406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3407 done; \
3408 echo "Doing dvi in automake" ; \
3409 (cd $(HOST_SUBDIR)/automake && \
3410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3412 "RANLIB=$${RANLIB}" \
3413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3414 dvi) \
3415 || exit 1
3417 @endif automake
3419 .PHONY: maybe-html-automake html-automake
3420 maybe-html-automake:
3421 @if automake
3422 maybe-html-automake: html-automake
3424 html-automake: \
3425 configure-automake
3426 @: $(MAKE); $(unstage)
3427 @[ -f ./automake/Makefile ] || exit 0; \
3428 r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3430 $(HOST_EXPORTS) \
3431 for flag in $(EXTRA_HOST_FLAGS) ; do \
3432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3433 done; \
3434 echo "Doing html in automake" ; \
3435 (cd $(HOST_SUBDIR)/automake && \
3436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3438 "RANLIB=$${RANLIB}" \
3439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3440 html) \
3441 || exit 1
3443 @endif automake
3445 .PHONY: maybe-TAGS-automake TAGS-automake
3446 maybe-TAGS-automake:
3447 @if automake
3448 maybe-TAGS-automake: TAGS-automake
3450 TAGS-automake: \
3451 configure-automake
3452 @: $(MAKE); $(unstage)
3453 @[ -f ./automake/Makefile ] || exit 0; \
3454 r=`${PWD_COMMAND}`; export r; \
3455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3456 $(HOST_EXPORTS) \
3457 for flag in $(EXTRA_HOST_FLAGS) ; do \
3458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3459 done; \
3460 echo "Doing TAGS in automake" ; \
3461 (cd $(HOST_SUBDIR)/automake && \
3462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3464 "RANLIB=$${RANLIB}" \
3465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3466 TAGS) \
3467 || exit 1
3469 @endif automake
3471 .PHONY: maybe-install-info-automake install-info-automake
3472 maybe-install-info-automake:
3473 @if automake
3474 maybe-install-info-automake: install-info-automake
3476 install-info-automake: \
3477 configure-automake \
3478 info-automake
3479 @: $(MAKE); $(unstage)
3480 @[ -f ./automake/Makefile ] || exit 0; \
3481 r=`${PWD_COMMAND}`; export r; \
3482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3483 $(HOST_EXPORTS) \
3484 for flag in $(EXTRA_HOST_FLAGS) ; do \
3485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3486 done; \
3487 echo "Doing install-info in automake" ; \
3488 (cd $(HOST_SUBDIR)/automake && \
3489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3491 "RANLIB=$${RANLIB}" \
3492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3493 install-info) \
3494 || exit 1
3496 @endif automake
3498 .PHONY: maybe-installcheck-automake installcheck-automake
3499 maybe-installcheck-automake:
3500 @if automake
3501 maybe-installcheck-automake: installcheck-automake
3503 installcheck-automake: \
3504 configure-automake
3505 @: $(MAKE); $(unstage)
3506 @[ -f ./automake/Makefile ] || exit 0; \
3507 r=`${PWD_COMMAND}`; export r; \
3508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3509 $(HOST_EXPORTS) \
3510 for flag in $(EXTRA_HOST_FLAGS) ; do \
3511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3512 done; \
3513 echo "Doing installcheck in automake" ; \
3514 (cd $(HOST_SUBDIR)/automake && \
3515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517 "RANLIB=$${RANLIB}" \
3518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3519 installcheck) \
3520 || exit 1
3522 @endif automake
3524 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3525 maybe-mostlyclean-automake:
3526 @if automake
3527 maybe-mostlyclean-automake: mostlyclean-automake
3529 mostlyclean-automake:
3530 @: $(MAKE); $(unstage)
3531 @[ -f ./automake/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(HOST_EXPORTS) \
3535 for flag in $(EXTRA_HOST_FLAGS) ; do \
3536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3537 done; \
3538 echo "Doing mostlyclean in automake" ; \
3539 (cd $(HOST_SUBDIR)/automake && \
3540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3542 "RANLIB=$${RANLIB}" \
3543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3544 mostlyclean) \
3545 || exit 1
3547 @endif automake
3549 .PHONY: maybe-clean-automake clean-automake
3550 maybe-clean-automake:
3551 @if automake
3552 maybe-clean-automake: clean-automake
3554 clean-automake:
3555 @: $(MAKE); $(unstage)
3556 @[ -f ./automake/Makefile ] || exit 0; \
3557 r=`${PWD_COMMAND}`; export r; \
3558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3559 $(HOST_EXPORTS) \
3560 for flag in $(EXTRA_HOST_FLAGS) ; do \
3561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3562 done; \
3563 echo "Doing clean in automake" ; \
3564 (cd $(HOST_SUBDIR)/automake && \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3567 "RANLIB=$${RANLIB}" \
3568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3569 clean) \
3570 || exit 1
3572 @endif automake
3574 .PHONY: maybe-distclean-automake distclean-automake
3575 maybe-distclean-automake:
3576 @if automake
3577 maybe-distclean-automake: distclean-automake
3579 distclean-automake:
3580 @: $(MAKE); $(unstage)
3581 @[ -f ./automake/Makefile ] || exit 0; \
3582 r=`${PWD_COMMAND}`; export r; \
3583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3584 $(HOST_EXPORTS) \
3585 for flag in $(EXTRA_HOST_FLAGS) ; do \
3586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3587 done; \
3588 echo "Doing distclean in automake" ; \
3589 (cd $(HOST_SUBDIR)/automake && \
3590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3592 "RANLIB=$${RANLIB}" \
3593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3594 distclean) \
3595 || exit 1
3597 @endif automake
3599 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3600 maybe-maintainer-clean-automake:
3601 @if automake
3602 maybe-maintainer-clean-automake: maintainer-clean-automake
3604 maintainer-clean-automake:
3605 @: $(MAKE); $(unstage)
3606 @[ -f ./automake/Makefile ] || exit 0; \
3607 r=`${PWD_COMMAND}`; export r; \
3608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3609 $(HOST_EXPORTS) \
3610 for flag in $(EXTRA_HOST_FLAGS) ; do \
3611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3612 done; \
3613 echo "Doing maintainer-clean in automake" ; \
3614 (cd $(HOST_SUBDIR)/automake && \
3615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3617 "RANLIB=$${RANLIB}" \
3618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3619 maintainer-clean) \
3620 || exit 1
3622 @endif automake
3626 .PHONY: configure-bash maybe-configure-bash
3627 maybe-configure-bash:
3628 @if bash
3629 maybe-configure-bash: configure-bash
3630 configure-bash:
3631 @: $(MAKE); $(unstage)
3632 @r=`${PWD_COMMAND}`; export r; \
3633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3636 $(HOST_EXPORTS) \
3637 echo Configuring in $(HOST_SUBDIR)/bash; \
3638 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3639 case $(srcdir) in \
3640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3641 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3643 esac; \
3644 srcdiroption="--srcdir=$${topdir}/bash"; \
3645 libsrcdir="$$s/bash"; \
3646 $(SHELL) $${libsrcdir}/configure \
3647 $(HOST_CONFIGARGS) $${srcdiroption} \
3648 || exit 1
3649 @endif bash
3655 .PHONY: all-bash maybe-all-bash
3656 maybe-all-bash:
3657 @if bash
3658 TARGET-bash=all
3659 maybe-all-bash: all-bash
3660 all-bash: configure-bash
3661 @: $(MAKE); $(unstage)
3662 @r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 $(HOST_EXPORTS) \
3665 (cd $(HOST_SUBDIR)/bash && \
3666 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3667 @endif bash
3672 .PHONY: check-bash maybe-check-bash
3673 maybe-check-bash:
3674 @if bash
3675 maybe-check-bash: check-bash
3677 check-bash:
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) check)
3685 @endif bash
3687 .PHONY: install-bash maybe-install-bash
3688 maybe-install-bash:
3689 @if bash
3690 maybe-install-bash: install-bash
3692 install-bash: installdirs
3693 @: $(MAKE); $(unstage)
3694 @r=`${PWD_COMMAND}`; export r; \
3695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3696 $(HOST_EXPORTS) \
3697 (cd $(HOST_SUBDIR)/bash && \
3698 $(MAKE) $(FLAGS_TO_PASS) install)
3700 @endif bash
3702 # Other targets (info, dvi, etc.)
3704 .PHONY: maybe-info-bash info-bash
3705 maybe-info-bash:
3706 @if bash
3707 maybe-info-bash: info-bash
3709 info-bash: \
3710 configure-bash
3711 @: $(MAKE); $(unstage)
3712 @[ -f ./bash/Makefile ] || exit 0; \
3713 r=`${PWD_COMMAND}`; export r; \
3714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 $(HOST_EXPORTS) \
3716 for flag in $(EXTRA_HOST_FLAGS) ; do \
3717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3718 done; \
3719 echo "Doing info in bash" ; \
3720 (cd $(HOST_SUBDIR)/bash && \
3721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3723 "RANLIB=$${RANLIB}" \
3724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3725 info) \
3726 || exit 1
3728 @endif bash
3730 .PHONY: maybe-dvi-bash dvi-bash
3731 maybe-dvi-bash:
3732 @if bash
3733 maybe-dvi-bash: dvi-bash
3735 dvi-bash: \
3736 configure-bash
3737 @: $(MAKE); $(unstage)
3738 @[ -f ./bash/Makefile ] || exit 0; \
3739 r=`${PWD_COMMAND}`; export r; \
3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741 $(HOST_EXPORTS) \
3742 for flag in $(EXTRA_HOST_FLAGS) ; do \
3743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3744 done; \
3745 echo "Doing dvi in bash" ; \
3746 (cd $(HOST_SUBDIR)/bash && \
3747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3749 "RANLIB=$${RANLIB}" \
3750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3751 dvi) \
3752 || exit 1
3754 @endif bash
3756 .PHONY: maybe-html-bash html-bash
3757 maybe-html-bash:
3758 @if bash
3759 maybe-html-bash: html-bash
3761 html-bash: \
3762 configure-bash
3763 @: $(MAKE); $(unstage)
3764 @[ -f ./bash/Makefile ] || exit 0; \
3765 r=`${PWD_COMMAND}`; export r; \
3766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3767 $(HOST_EXPORTS) \
3768 for flag in $(EXTRA_HOST_FLAGS) ; do \
3769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3770 done; \
3771 echo "Doing html in bash" ; \
3772 (cd $(HOST_SUBDIR)/bash && \
3773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3775 "RANLIB=$${RANLIB}" \
3776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3777 html) \
3778 || exit 1
3780 @endif bash
3782 .PHONY: maybe-TAGS-bash TAGS-bash
3783 maybe-TAGS-bash:
3784 @if bash
3785 maybe-TAGS-bash: TAGS-bash
3787 TAGS-bash: \
3788 configure-bash
3789 @: $(MAKE); $(unstage)
3790 @[ -f ./bash/Makefile ] || exit 0; \
3791 r=`${PWD_COMMAND}`; export r; \
3792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3793 $(HOST_EXPORTS) \
3794 for flag in $(EXTRA_HOST_FLAGS) ; do \
3795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3796 done; \
3797 echo "Doing TAGS in bash" ; \
3798 (cd $(HOST_SUBDIR)/bash && \
3799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3801 "RANLIB=$${RANLIB}" \
3802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3803 TAGS) \
3804 || exit 1
3806 @endif bash
3808 .PHONY: maybe-install-info-bash install-info-bash
3809 maybe-install-info-bash:
3810 @if bash
3811 maybe-install-info-bash: install-info-bash
3813 install-info-bash: \
3814 configure-bash \
3815 info-bash
3816 @: $(MAKE); $(unstage)
3817 @[ -f ./bash/Makefile ] || exit 0; \
3818 r=`${PWD_COMMAND}`; export r; \
3819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3820 $(HOST_EXPORTS) \
3821 for flag in $(EXTRA_HOST_FLAGS) ; do \
3822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3823 done; \
3824 echo "Doing install-info in bash" ; \
3825 (cd $(HOST_SUBDIR)/bash && \
3826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3828 "RANLIB=$${RANLIB}" \
3829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3830 install-info) \
3831 || exit 1
3833 @endif bash
3835 .PHONY: maybe-installcheck-bash installcheck-bash
3836 maybe-installcheck-bash:
3837 @if bash
3838 maybe-installcheck-bash: installcheck-bash
3840 installcheck-bash: \
3841 configure-bash
3842 @: $(MAKE); $(unstage)
3843 @[ -f ./bash/Makefile ] || exit 0; \
3844 r=`${PWD_COMMAND}`; export r; \
3845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3846 $(HOST_EXPORTS) \
3847 for flag in $(EXTRA_HOST_FLAGS) ; do \
3848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3849 done; \
3850 echo "Doing installcheck in bash" ; \
3851 (cd $(HOST_SUBDIR)/bash && \
3852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3854 "RANLIB=$${RANLIB}" \
3855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3856 installcheck) \
3857 || exit 1
3859 @endif bash
3861 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3862 maybe-mostlyclean-bash:
3863 @if bash
3864 maybe-mostlyclean-bash: mostlyclean-bash
3866 mostlyclean-bash:
3867 @: $(MAKE); $(unstage)
3868 @[ -f ./bash/Makefile ] || exit 0; \
3869 r=`${PWD_COMMAND}`; export r; \
3870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3871 $(HOST_EXPORTS) \
3872 for flag in $(EXTRA_HOST_FLAGS) ; do \
3873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3874 done; \
3875 echo "Doing mostlyclean in bash" ; \
3876 (cd $(HOST_SUBDIR)/bash && \
3877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3879 "RANLIB=$${RANLIB}" \
3880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3881 mostlyclean) \
3882 || exit 1
3884 @endif bash
3886 .PHONY: maybe-clean-bash clean-bash
3887 maybe-clean-bash:
3888 @if bash
3889 maybe-clean-bash: clean-bash
3891 clean-bash:
3892 @: $(MAKE); $(unstage)
3893 @[ -f ./bash/Makefile ] || exit 0; \
3894 r=`${PWD_COMMAND}`; export r; \
3895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3896 $(HOST_EXPORTS) \
3897 for flag in $(EXTRA_HOST_FLAGS) ; do \
3898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3899 done; \
3900 echo "Doing clean in bash" ; \
3901 (cd $(HOST_SUBDIR)/bash && \
3902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3904 "RANLIB=$${RANLIB}" \
3905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3906 clean) \
3907 || exit 1
3909 @endif bash
3911 .PHONY: maybe-distclean-bash distclean-bash
3912 maybe-distclean-bash:
3913 @if bash
3914 maybe-distclean-bash: distclean-bash
3916 distclean-bash:
3917 @: $(MAKE); $(unstage)
3918 @[ -f ./bash/Makefile ] || exit 0; \
3919 r=`${PWD_COMMAND}`; export r; \
3920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3921 $(HOST_EXPORTS) \
3922 for flag in $(EXTRA_HOST_FLAGS) ; do \
3923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3924 done; \
3925 echo "Doing distclean in bash" ; \
3926 (cd $(HOST_SUBDIR)/bash && \
3927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3929 "RANLIB=$${RANLIB}" \
3930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3931 distclean) \
3932 || exit 1
3934 @endif bash
3936 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3937 maybe-maintainer-clean-bash:
3938 @if bash
3939 maybe-maintainer-clean-bash: maintainer-clean-bash
3941 maintainer-clean-bash:
3942 @: $(MAKE); $(unstage)
3943 @[ -f ./bash/Makefile ] || exit 0; \
3944 r=`${PWD_COMMAND}`; export r; \
3945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3946 $(HOST_EXPORTS) \
3947 for flag in $(EXTRA_HOST_FLAGS) ; do \
3948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3949 done; \
3950 echo "Doing maintainer-clean in bash" ; \
3951 (cd $(HOST_SUBDIR)/bash && \
3952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3954 "RANLIB=$${RANLIB}" \
3955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3956 maintainer-clean) \
3957 || exit 1
3959 @endif bash
3963 .PHONY: configure-bfd maybe-configure-bfd
3964 maybe-configure-bfd:
3965 @if bfd
3966 maybe-configure-bfd: configure-bfd
3967 configure-bfd:
3968 @endif bfd
3969 @if bfd-bootstrap
3970 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
3971 @endif bfd-bootstrap
3972 @if bfd
3973 @r=`${PWD_COMMAND}`; export r; \
3974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3975 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3977 $(HOST_EXPORTS) \
3978 echo Configuring in $(HOST_SUBDIR)/bfd; \
3979 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3980 case $(srcdir) in \
3981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3982 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3984 esac; \
3985 srcdiroption="--srcdir=$${topdir}/bfd"; \
3986 libsrcdir="$$s/bfd"; \
3987 $(SHELL) $${libsrcdir}/configure \
3988 $(HOST_CONFIGARGS) $${srcdiroption} \
3989 || exit 1
3990 @endif bfd
3994 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3995 maybe-configure-stage1-bfd:
3996 @if bfd-bootstrap
3997 maybe-configure-stage1-bfd: configure-stage1-bfd
3998 configure-stage1-bfd:
3999 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4001 @r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4004 $(HOST_EXPORTS) \
4005 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4007 cd $(HOST_SUBDIR)/bfd || exit 1; \
4008 case $(srcdir) in \
4009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4010 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4012 esac; \
4013 srcdiroption="--srcdir=$${topdir}/bfd"; \
4014 libsrcdir="$$s/bfd"; \
4015 $(SHELL) $${libsrcdir}/configure \
4016 $(HOST_CONFIGARGS) $${srcdiroption} \
4017 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4018 @endif bfd-bootstrap
4020 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4021 maybe-configure-stage2-bfd:
4022 @if bfd-bootstrap
4023 maybe-configure-stage2-bfd: configure-stage2-bfd
4024 configure-stage2-bfd:
4025 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4026 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4027 @r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4029 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4030 $(HOST_EXPORTS) \
4031 $(POSTSTAGE1_HOST_EXPORTS) \
4032 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4034 cd $(HOST_SUBDIR)/bfd || exit 1; \
4035 case $(srcdir) in \
4036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4037 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4039 esac; \
4040 srcdiroption="--srcdir=$${topdir}/bfd"; \
4041 libsrcdir="$$s/bfd"; \
4042 $(SHELL) $${libsrcdir}/configure \
4043 $(HOST_CONFIGARGS) $${srcdiroption} \
4044 @stage2_werror_flag@
4045 @endif bfd-bootstrap
4047 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4048 maybe-configure-stage3-bfd:
4049 @if bfd-bootstrap
4050 maybe-configure-stage3-bfd: configure-stage3-bfd
4051 configure-stage3-bfd:
4052 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4054 @r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4057 $(HOST_EXPORTS) \
4058 $(POSTSTAGE1_HOST_EXPORTS) \
4059 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4061 cd $(HOST_SUBDIR)/bfd || exit 1; \
4062 case $(srcdir) in \
4063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4064 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4066 esac; \
4067 srcdiroption="--srcdir=$${topdir}/bfd"; \
4068 libsrcdir="$$s/bfd"; \
4069 $(SHELL) $${libsrcdir}/configure \
4070 $(HOST_CONFIGARGS) $${srcdiroption} \
4071 @stage2_werror_flag@
4072 @endif bfd-bootstrap
4074 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4075 maybe-configure-stage4-bfd:
4076 @if bfd-bootstrap
4077 maybe-configure-stage4-bfd: configure-stage4-bfd
4078 configure-stage4-bfd:
4079 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4081 @r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4084 $(HOST_EXPORTS) \
4085 $(POSTSTAGE1_HOST_EXPORTS) \
4086 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4088 cd $(HOST_SUBDIR)/bfd || exit 1; \
4089 case $(srcdir) in \
4090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4091 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4093 esac; \
4094 srcdiroption="--srcdir=$${topdir}/bfd"; \
4095 libsrcdir="$$s/bfd"; \
4096 $(SHELL) $${libsrcdir}/configure \
4097 $(HOST_CONFIGARGS) $${srcdiroption} \
4098 @stage2_werror_flag@
4099 @endif bfd-bootstrap
4101 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4102 maybe-configure-stageprofile-bfd:
4103 @if bfd-bootstrap
4104 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4105 configure-stageprofile-bfd:
4106 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4107 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4108 @r=`${PWD_COMMAND}`; export r; \
4109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4110 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4111 $(HOST_EXPORTS) \
4112 $(POSTSTAGE1_HOST_EXPORTS) \
4113 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4115 cd $(HOST_SUBDIR)/bfd || exit 1; \
4116 case $(srcdir) in \
4117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4118 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4120 esac; \
4121 srcdiroption="--srcdir=$${topdir}/bfd"; \
4122 libsrcdir="$$s/bfd"; \
4123 $(SHELL) $${libsrcdir}/configure \
4124 $(HOST_CONFIGARGS) $${srcdiroption} \
4125 @stage2_werror_flag@
4126 @endif bfd-bootstrap
4128 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4129 maybe-configure-stagefeedback-bfd:
4130 @if bfd-bootstrap
4131 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4132 configure-stagefeedback-bfd:
4133 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4134 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4135 @r=`${PWD_COMMAND}`; export r; \
4136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4137 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4138 $(HOST_EXPORTS) \
4139 $(POSTSTAGE1_HOST_EXPORTS) \
4140 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4142 cd $(HOST_SUBDIR)/bfd || exit 1; \
4143 case $(srcdir) in \
4144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4145 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4147 esac; \
4148 srcdiroption="--srcdir=$${topdir}/bfd"; \
4149 libsrcdir="$$s/bfd"; \
4150 $(SHELL) $${libsrcdir}/configure \
4151 $(HOST_CONFIGARGS) $${srcdiroption} \
4152 @stage2_werror_flag@
4153 @endif bfd-bootstrap
4159 .PHONY: all-bfd maybe-all-bfd
4160 maybe-all-bfd:
4161 @if bfd
4162 TARGET-bfd=all
4163 maybe-all-bfd: all-bfd
4164 all-bfd: configure-bfd
4165 @endif bfd
4166 @if bfd-bootstrap
4167 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4168 @endif bfd-bootstrap
4169 @if bfd
4170 @r=`${PWD_COMMAND}`; export r; \
4171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4172 $(HOST_EXPORTS) \
4173 (cd $(HOST_SUBDIR)/bfd && \
4174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4175 @endif bfd
4179 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4180 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4181 maybe-all-stage1-bfd:
4182 maybe-clean-stage1-bfd:
4183 @if bfd-bootstrap
4184 maybe-all-stage1-bfd: all-stage1-bfd
4185 all-stage1: all-stage1-bfd
4186 TARGET-stage1-bfd = $(TARGET-bfd)
4187 all-stage1-bfd: configure-stage1-bfd
4188 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4189 @r=`${PWD_COMMAND}`; export r; \
4190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191 $(HOST_EXPORTS) \
4192 cd $(HOST_SUBDIR)/bfd && \
4193 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4194 $(TARGET-stage1-bfd)
4196 maybe-clean-stage1-bfd: clean-stage1-bfd
4197 clean-stage1: clean-stage1-bfd
4198 clean-stage1-bfd:
4199 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4200 || exit 0 ; \
4201 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4202 cd $(HOST_SUBDIR)/bfd && \
4203 $(MAKE) $(FLAGS_TO_PASS) \
4204 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4205 @endif bfd-bootstrap
4208 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4209 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4210 maybe-all-stage2-bfd:
4211 maybe-clean-stage2-bfd:
4212 @if bfd-bootstrap
4213 maybe-all-stage2-bfd: all-stage2-bfd
4214 all-stage2: all-stage2-bfd
4215 TARGET-stage2-bfd = $(TARGET-bfd)
4216 all-stage2-bfd: configure-stage2-bfd
4217 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4218 @r=`${PWD_COMMAND}`; export r; \
4219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4220 $(HOST_EXPORTS) \
4221 $(POSTSTAGE1_HOST_EXPORTS) \
4222 cd $(HOST_SUBDIR)/bfd && \
4223 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4224 $(TARGET-stage2-bfd)
4226 maybe-clean-stage2-bfd: clean-stage2-bfd
4227 clean-stage2: clean-stage2-bfd
4228 clean-stage2-bfd:
4229 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4230 || exit 0 ; \
4231 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4232 cd $(HOST_SUBDIR)/bfd && \
4233 $(MAKE) $(FLAGS_TO_PASS) \
4234 $(POSTSTAGE1_FLAGS_TO_PASS) \
4235 clean
4236 @endif bfd-bootstrap
4239 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4240 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4241 maybe-all-stage3-bfd:
4242 maybe-clean-stage3-bfd:
4243 @if bfd-bootstrap
4244 maybe-all-stage3-bfd: all-stage3-bfd
4245 all-stage3: all-stage3-bfd
4246 TARGET-stage3-bfd = $(TARGET-bfd)
4247 all-stage3-bfd: configure-stage3-bfd
4248 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4249 @r=`${PWD_COMMAND}`; export r; \
4250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4251 $(HOST_EXPORTS) \
4252 $(POSTSTAGE1_HOST_EXPORTS) \
4253 cd $(HOST_SUBDIR)/bfd && \
4254 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4255 $(TARGET-stage3-bfd)
4257 maybe-clean-stage3-bfd: clean-stage3-bfd
4258 clean-stage3: clean-stage3-bfd
4259 clean-stage3-bfd:
4260 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4261 || exit 0 ; \
4262 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4263 cd $(HOST_SUBDIR)/bfd && \
4264 $(MAKE) $(FLAGS_TO_PASS) \
4265 $(POSTSTAGE1_FLAGS_TO_PASS) \
4266 clean
4267 @endif bfd-bootstrap
4270 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4271 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4272 maybe-all-stage4-bfd:
4273 maybe-clean-stage4-bfd:
4274 @if bfd-bootstrap
4275 maybe-all-stage4-bfd: all-stage4-bfd
4276 all-stage4: all-stage4-bfd
4277 TARGET-stage4-bfd = $(TARGET-bfd)
4278 all-stage4-bfd: configure-stage4-bfd
4279 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4280 @r=`${PWD_COMMAND}`; export r; \
4281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282 $(HOST_EXPORTS) \
4283 $(POSTSTAGE1_HOST_EXPORTS) \
4284 cd $(HOST_SUBDIR)/bfd && \
4285 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4286 $(TARGET-stage4-bfd)
4288 maybe-clean-stage4-bfd: clean-stage4-bfd
4289 clean-stage4: clean-stage4-bfd
4290 clean-stage4-bfd:
4291 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4292 || exit 0 ; \
4293 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4294 cd $(HOST_SUBDIR)/bfd && \
4295 $(MAKE) $(FLAGS_TO_PASS) \
4296 $(POSTSTAGE1_FLAGS_TO_PASS) \
4297 clean
4298 @endif bfd-bootstrap
4301 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4302 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4303 maybe-all-stageprofile-bfd:
4304 maybe-clean-stageprofile-bfd:
4305 @if bfd-bootstrap
4306 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4307 all-stageprofile: all-stageprofile-bfd
4308 TARGET-stageprofile-bfd = $(TARGET-bfd)
4309 all-stageprofile-bfd: configure-stageprofile-bfd
4310 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4311 @r=`${PWD_COMMAND}`; export r; \
4312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4313 $(HOST_EXPORTS) \
4314 $(POSTSTAGE1_HOST_EXPORTS) \
4315 cd $(HOST_SUBDIR)/bfd && \
4316 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4317 $(TARGET-stageprofile-bfd)
4319 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4320 clean-stageprofile: clean-stageprofile-bfd
4321 clean-stageprofile-bfd:
4322 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4323 || exit 0 ; \
4324 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
4325 cd $(HOST_SUBDIR)/bfd && \
4326 $(MAKE) $(FLAGS_TO_PASS) \
4327 $(POSTSTAGE1_FLAGS_TO_PASS) \
4328 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4329 @endif bfd-bootstrap
4332 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4333 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4334 maybe-all-stagefeedback-bfd:
4335 maybe-clean-stagefeedback-bfd:
4336 @if bfd-bootstrap
4337 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4338 all-stagefeedback: all-stagefeedback-bfd
4339 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4340 all-stagefeedback-bfd: configure-stagefeedback-bfd
4341 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4342 @r=`${PWD_COMMAND}`; export r; \
4343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4344 $(HOST_EXPORTS) \
4345 $(POSTSTAGE1_HOST_EXPORTS) \
4346 cd $(HOST_SUBDIR)/bfd && \
4347 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4348 $(TARGET-stagefeedback-bfd)
4350 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4351 clean-stagefeedback: clean-stagefeedback-bfd
4352 clean-stagefeedback-bfd:
4353 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4354 || exit 0 ; \
4355 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
4356 cd $(HOST_SUBDIR)/bfd && \
4357 $(MAKE) $(FLAGS_TO_PASS) \
4358 $(POSTSTAGE1_FLAGS_TO_PASS) \
4359 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4360 @endif bfd-bootstrap
4366 .PHONY: check-bfd maybe-check-bfd
4367 maybe-check-bfd:
4368 @if bfd
4369 maybe-check-bfd: check-bfd
4371 check-bfd:
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) check)
4379 @endif bfd
4381 .PHONY: install-bfd maybe-install-bfd
4382 maybe-install-bfd:
4383 @if bfd
4384 maybe-install-bfd: install-bfd
4386 install-bfd: installdirs
4387 @: $(MAKE); $(unstage)
4388 @r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(HOST_EXPORTS) \
4391 (cd $(HOST_SUBDIR)/bfd && \
4392 $(MAKE) $(FLAGS_TO_PASS) install)
4394 @endif bfd
4396 # Other targets (info, dvi, etc.)
4398 .PHONY: maybe-info-bfd info-bfd
4399 maybe-info-bfd:
4400 @if bfd
4401 maybe-info-bfd: info-bfd
4403 info-bfd: \
4404 configure-bfd
4405 @[ -f ./bfd/Makefile ] || exit 0; \
4406 r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4408 $(HOST_EXPORTS) \
4409 for flag in $(EXTRA_HOST_FLAGS) ; do \
4410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4411 done; \
4412 echo "Doing info in bfd" ; \
4413 (cd $(HOST_SUBDIR)/bfd && \
4414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4416 "RANLIB=$${RANLIB}" \
4417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4418 info) \
4419 || exit 1
4421 @endif bfd
4423 .PHONY: maybe-dvi-bfd dvi-bfd
4424 maybe-dvi-bfd:
4425 @if bfd
4426 maybe-dvi-bfd: dvi-bfd
4428 dvi-bfd: \
4429 configure-bfd
4430 @[ -f ./bfd/Makefile ] || exit 0; \
4431 r=`${PWD_COMMAND}`; export r; \
4432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4433 $(HOST_EXPORTS) \
4434 for flag in $(EXTRA_HOST_FLAGS) ; do \
4435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4436 done; \
4437 echo "Doing dvi in bfd" ; \
4438 (cd $(HOST_SUBDIR)/bfd && \
4439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4441 "RANLIB=$${RANLIB}" \
4442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4443 dvi) \
4444 || exit 1
4446 @endif bfd
4448 .PHONY: maybe-html-bfd html-bfd
4449 maybe-html-bfd:
4450 @if bfd
4451 maybe-html-bfd: html-bfd
4453 html-bfd: \
4454 configure-bfd
4455 @[ -f ./bfd/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(HOST_EXPORTS) \
4459 for flag in $(EXTRA_HOST_FLAGS) ; do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4461 done; \
4462 echo "Doing html in bfd" ; \
4463 (cd $(HOST_SUBDIR)/bfd && \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4468 html) \
4469 || exit 1
4471 @endif bfd
4473 .PHONY: maybe-TAGS-bfd TAGS-bfd
4474 maybe-TAGS-bfd:
4475 @if bfd
4476 maybe-TAGS-bfd: TAGS-bfd
4478 TAGS-bfd: \
4479 configure-bfd
4480 @[ -f ./bfd/Makefile ] || exit 0; \
4481 r=`${PWD_COMMAND}`; export r; \
4482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4483 $(HOST_EXPORTS) \
4484 for flag in $(EXTRA_HOST_FLAGS) ; do \
4485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4486 done; \
4487 echo "Doing TAGS in bfd" ; \
4488 (cd $(HOST_SUBDIR)/bfd && \
4489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4491 "RANLIB=$${RANLIB}" \
4492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4493 TAGS) \
4494 || exit 1
4496 @endif bfd
4498 .PHONY: maybe-install-info-bfd install-info-bfd
4499 maybe-install-info-bfd:
4500 @if bfd
4501 maybe-install-info-bfd: install-info-bfd
4503 install-info-bfd: \
4504 configure-bfd \
4505 info-bfd
4506 @[ -f ./bfd/Makefile ] || exit 0; \
4507 r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 $(HOST_EXPORTS) \
4510 for flag in $(EXTRA_HOST_FLAGS) ; do \
4511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4512 done; \
4513 echo "Doing install-info in bfd" ; \
4514 (cd $(HOST_SUBDIR)/bfd && \
4515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4517 "RANLIB=$${RANLIB}" \
4518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4519 install-info) \
4520 || exit 1
4522 @endif bfd
4524 .PHONY: maybe-installcheck-bfd installcheck-bfd
4525 maybe-installcheck-bfd:
4526 @if bfd
4527 maybe-installcheck-bfd: installcheck-bfd
4529 installcheck-bfd: \
4530 configure-bfd
4531 @[ -f ./bfd/Makefile ] || exit 0; \
4532 r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 $(HOST_EXPORTS) \
4535 for flag in $(EXTRA_HOST_FLAGS) ; do \
4536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4537 done; \
4538 echo "Doing installcheck in bfd" ; \
4539 (cd $(HOST_SUBDIR)/bfd && \
4540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4542 "RANLIB=$${RANLIB}" \
4543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4544 installcheck) \
4545 || exit 1
4547 @endif bfd
4549 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4550 maybe-mostlyclean-bfd:
4551 @if bfd
4552 maybe-mostlyclean-bfd: mostlyclean-bfd
4554 mostlyclean-bfd:
4555 @[ -f ./bfd/Makefile ] || exit 0; \
4556 r=`${PWD_COMMAND}`; export r; \
4557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4558 $(HOST_EXPORTS) \
4559 for flag in $(EXTRA_HOST_FLAGS) ; do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4561 done; \
4562 echo "Doing mostlyclean in bfd" ; \
4563 (cd $(HOST_SUBDIR)/bfd && \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4568 mostlyclean) \
4569 || exit 1
4571 @endif bfd
4573 .PHONY: maybe-clean-bfd clean-bfd
4574 maybe-clean-bfd:
4575 @if bfd
4576 maybe-clean-bfd: clean-bfd
4578 clean-bfd:
4579 @[ -f ./bfd/Makefile ] || exit 0; \
4580 r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582 $(HOST_EXPORTS) \
4583 for flag in $(EXTRA_HOST_FLAGS) ; do \
4584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4585 done; \
4586 echo "Doing clean in bfd" ; \
4587 (cd $(HOST_SUBDIR)/bfd && \
4588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4590 "RANLIB=$${RANLIB}" \
4591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4592 clean) \
4593 || exit 1
4595 @endif bfd
4597 .PHONY: maybe-distclean-bfd distclean-bfd
4598 maybe-distclean-bfd:
4599 @if bfd
4600 maybe-distclean-bfd: distclean-bfd
4602 distclean-bfd:
4603 @[ -f ./bfd/Makefile ] || exit 0; \
4604 r=`${PWD_COMMAND}`; export r; \
4605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4606 $(HOST_EXPORTS) \
4607 for flag in $(EXTRA_HOST_FLAGS) ; do \
4608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4609 done; \
4610 echo "Doing distclean in bfd" ; \
4611 (cd $(HOST_SUBDIR)/bfd && \
4612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4614 "RANLIB=$${RANLIB}" \
4615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4616 distclean) \
4617 || exit 1
4619 @endif bfd
4621 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4622 maybe-maintainer-clean-bfd:
4623 @if bfd
4624 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4626 maintainer-clean-bfd:
4627 @[ -f ./bfd/Makefile ] || exit 0; \
4628 r=`${PWD_COMMAND}`; export r; \
4629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4630 $(HOST_EXPORTS) \
4631 for flag in $(EXTRA_HOST_FLAGS) ; do \
4632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4633 done; \
4634 echo "Doing maintainer-clean in bfd" ; \
4635 (cd $(HOST_SUBDIR)/bfd && \
4636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4638 "RANLIB=$${RANLIB}" \
4639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4640 maintainer-clean) \
4641 || exit 1
4643 @endif bfd
4647 .PHONY: configure-opcodes maybe-configure-opcodes
4648 maybe-configure-opcodes:
4649 @if opcodes
4650 maybe-configure-opcodes: configure-opcodes
4651 configure-opcodes:
4652 @endif opcodes
4653 @if opcodes-bootstrap
4654 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4655 @endif opcodes-bootstrap
4656 @if opcodes
4657 @r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4660 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4661 $(HOST_EXPORTS) \
4662 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4663 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4664 case $(srcdir) in \
4665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4666 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4668 esac; \
4669 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4670 libsrcdir="$$s/opcodes"; \
4671 $(SHELL) $${libsrcdir}/configure \
4672 $(HOST_CONFIGARGS) $${srcdiroption} \
4673 || exit 1
4674 @endif opcodes
4678 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4679 maybe-configure-stage1-opcodes:
4680 @if opcodes-bootstrap
4681 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4682 configure-stage1-opcodes:
4683 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4684 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4685 @r=`${PWD_COMMAND}`; export r; \
4686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4687 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4688 $(HOST_EXPORTS) \
4689 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4691 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4692 case $(srcdir) in \
4693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4694 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4696 esac; \
4697 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4698 libsrcdir="$$s/opcodes"; \
4699 $(SHELL) $${libsrcdir}/configure \
4700 $(HOST_CONFIGARGS) $${srcdiroption} \
4701 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4702 @endif opcodes-bootstrap
4704 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4705 maybe-configure-stage2-opcodes:
4706 @if opcodes-bootstrap
4707 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4708 configure-stage2-opcodes:
4709 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4710 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4711 @r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4713 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4714 $(HOST_EXPORTS) \
4715 $(POSTSTAGE1_HOST_EXPORTS) \
4716 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4717 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4718 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4719 case $(srcdir) in \
4720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4721 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4723 esac; \
4724 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4725 libsrcdir="$$s/opcodes"; \
4726 $(SHELL) $${libsrcdir}/configure \
4727 $(HOST_CONFIGARGS) $${srcdiroption} \
4728 @stage2_werror_flag@
4729 @endif opcodes-bootstrap
4731 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4732 maybe-configure-stage3-opcodes:
4733 @if opcodes-bootstrap
4734 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4735 configure-stage3-opcodes:
4736 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4738 @r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4741 $(HOST_EXPORTS) \
4742 $(POSTSTAGE1_HOST_EXPORTS) \
4743 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4744 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4745 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4746 case $(srcdir) in \
4747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4748 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4750 esac; \
4751 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4752 libsrcdir="$$s/opcodes"; \
4753 $(SHELL) $${libsrcdir}/configure \
4754 $(HOST_CONFIGARGS) $${srcdiroption} \
4755 @stage2_werror_flag@
4756 @endif opcodes-bootstrap
4758 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4759 maybe-configure-stage4-opcodes:
4760 @if opcodes-bootstrap
4761 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4762 configure-stage4-opcodes:
4763 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4764 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4765 @r=`${PWD_COMMAND}`; export r; \
4766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4767 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4768 $(HOST_EXPORTS) \
4769 $(POSTSTAGE1_HOST_EXPORTS) \
4770 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4772 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4773 case $(srcdir) in \
4774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4775 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4777 esac; \
4778 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4779 libsrcdir="$$s/opcodes"; \
4780 $(SHELL) $${libsrcdir}/configure \
4781 $(HOST_CONFIGARGS) $${srcdiroption} \
4782 @stage2_werror_flag@
4783 @endif opcodes-bootstrap
4785 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4786 maybe-configure-stageprofile-opcodes:
4787 @if opcodes-bootstrap
4788 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4789 configure-stageprofile-opcodes:
4790 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4792 @r=`${PWD_COMMAND}`; export r; \
4793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4794 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4795 $(HOST_EXPORTS) \
4796 $(POSTSTAGE1_HOST_EXPORTS) \
4797 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4799 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4800 case $(srcdir) in \
4801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4802 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4804 esac; \
4805 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4806 libsrcdir="$$s/opcodes"; \
4807 $(SHELL) $${libsrcdir}/configure \
4808 $(HOST_CONFIGARGS) $${srcdiroption} \
4809 @stage2_werror_flag@
4810 @endif opcodes-bootstrap
4812 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4813 maybe-configure-stagefeedback-opcodes:
4814 @if opcodes-bootstrap
4815 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4816 configure-stagefeedback-opcodes:
4817 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4818 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4819 @r=`${PWD_COMMAND}`; export r; \
4820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4821 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4822 $(HOST_EXPORTS) \
4823 $(POSTSTAGE1_HOST_EXPORTS) \
4824 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4826 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4827 case $(srcdir) in \
4828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4829 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4831 esac; \
4832 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4833 libsrcdir="$$s/opcodes"; \
4834 $(SHELL) $${libsrcdir}/configure \
4835 $(HOST_CONFIGARGS) $${srcdiroption} \
4836 @stage2_werror_flag@
4837 @endif opcodes-bootstrap
4843 .PHONY: all-opcodes maybe-all-opcodes
4844 maybe-all-opcodes:
4845 @if opcodes
4846 TARGET-opcodes=all
4847 maybe-all-opcodes: all-opcodes
4848 all-opcodes: configure-opcodes
4849 @endif opcodes
4850 @if opcodes-bootstrap
4851 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
4852 @endif opcodes-bootstrap
4853 @if opcodes
4854 @r=`${PWD_COMMAND}`; export r; \
4855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4856 $(HOST_EXPORTS) \
4857 (cd $(HOST_SUBDIR)/opcodes && \
4858 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4859 @endif opcodes
4863 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4864 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4865 maybe-all-stage1-opcodes:
4866 maybe-clean-stage1-opcodes:
4867 @if opcodes-bootstrap
4868 maybe-all-stage1-opcodes: all-stage1-opcodes
4869 all-stage1: all-stage1-opcodes
4870 TARGET-stage1-opcodes = $(TARGET-opcodes)
4871 all-stage1-opcodes: configure-stage1-opcodes
4872 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4873 @r=`${PWD_COMMAND}`; export r; \
4874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4875 $(HOST_EXPORTS) \
4876 cd $(HOST_SUBDIR)/opcodes && \
4877 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4878 $(TARGET-stage1-opcodes)
4880 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4881 clean-stage1: clean-stage1-opcodes
4882 clean-stage1-opcodes:
4883 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4884 || exit 0 ; \
4885 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
4886 cd $(HOST_SUBDIR)/opcodes && \
4887 $(MAKE) $(FLAGS_TO_PASS) \
4888 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4889 @endif opcodes-bootstrap
4892 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4893 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4894 maybe-all-stage2-opcodes:
4895 maybe-clean-stage2-opcodes:
4896 @if opcodes-bootstrap
4897 maybe-all-stage2-opcodes: all-stage2-opcodes
4898 all-stage2: all-stage2-opcodes
4899 TARGET-stage2-opcodes = $(TARGET-opcodes)
4900 all-stage2-opcodes: configure-stage2-opcodes
4901 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4902 @r=`${PWD_COMMAND}`; export r; \
4903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4904 $(HOST_EXPORTS) \
4905 $(POSTSTAGE1_HOST_EXPORTS) \
4906 cd $(HOST_SUBDIR)/opcodes && \
4907 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4908 $(TARGET-stage2-opcodes)
4910 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4911 clean-stage2: clean-stage2-opcodes
4912 clean-stage2-opcodes:
4913 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4914 || exit 0 ; \
4915 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
4916 cd $(HOST_SUBDIR)/opcodes && \
4917 $(MAKE) $(FLAGS_TO_PASS) \
4918 $(POSTSTAGE1_FLAGS_TO_PASS) \
4919 clean
4920 @endif opcodes-bootstrap
4923 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4924 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4925 maybe-all-stage3-opcodes:
4926 maybe-clean-stage3-opcodes:
4927 @if opcodes-bootstrap
4928 maybe-all-stage3-opcodes: all-stage3-opcodes
4929 all-stage3: all-stage3-opcodes
4930 TARGET-stage3-opcodes = $(TARGET-opcodes)
4931 all-stage3-opcodes: configure-stage3-opcodes
4932 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4933 @r=`${PWD_COMMAND}`; export r; \
4934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4935 $(HOST_EXPORTS) \
4936 $(POSTSTAGE1_HOST_EXPORTS) \
4937 cd $(HOST_SUBDIR)/opcodes && \
4938 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4939 $(TARGET-stage3-opcodes)
4941 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4942 clean-stage3: clean-stage3-opcodes
4943 clean-stage3-opcodes:
4944 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4945 || exit 0 ; \
4946 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
4947 cd $(HOST_SUBDIR)/opcodes && \
4948 $(MAKE) $(FLAGS_TO_PASS) \
4949 $(POSTSTAGE1_FLAGS_TO_PASS) \
4950 clean
4951 @endif opcodes-bootstrap
4954 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4955 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4956 maybe-all-stage4-opcodes:
4957 maybe-clean-stage4-opcodes:
4958 @if opcodes-bootstrap
4959 maybe-all-stage4-opcodes: all-stage4-opcodes
4960 all-stage4: all-stage4-opcodes
4961 TARGET-stage4-opcodes = $(TARGET-opcodes)
4962 all-stage4-opcodes: configure-stage4-opcodes
4963 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4964 @r=`${PWD_COMMAND}`; export r; \
4965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966 $(HOST_EXPORTS) \
4967 $(POSTSTAGE1_HOST_EXPORTS) \
4968 cd $(HOST_SUBDIR)/opcodes && \
4969 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4970 $(TARGET-stage4-opcodes)
4972 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4973 clean-stage4: clean-stage4-opcodes
4974 clean-stage4-opcodes:
4975 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4976 || exit 0 ; \
4977 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
4978 cd $(HOST_SUBDIR)/opcodes && \
4979 $(MAKE) $(FLAGS_TO_PASS) \
4980 $(POSTSTAGE1_FLAGS_TO_PASS) \
4981 clean
4982 @endif opcodes-bootstrap
4985 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4986 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4987 maybe-all-stageprofile-opcodes:
4988 maybe-clean-stageprofile-opcodes:
4989 @if opcodes-bootstrap
4990 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4991 all-stageprofile: all-stageprofile-opcodes
4992 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4993 all-stageprofile-opcodes: configure-stageprofile-opcodes
4994 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4995 @r=`${PWD_COMMAND}`; export r; \
4996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4997 $(HOST_EXPORTS) \
4998 $(POSTSTAGE1_HOST_EXPORTS) \
4999 cd $(HOST_SUBDIR)/opcodes && \
5000 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5001 $(TARGET-stageprofile-opcodes)
5003 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5004 clean-stageprofile: clean-stageprofile-opcodes
5005 clean-stageprofile-opcodes:
5006 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5007 || exit 0 ; \
5008 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5009 cd $(HOST_SUBDIR)/opcodes && \
5010 $(MAKE) $(FLAGS_TO_PASS) \
5011 $(POSTSTAGE1_FLAGS_TO_PASS) \
5012 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5013 @endif opcodes-bootstrap
5016 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5017 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5018 maybe-all-stagefeedback-opcodes:
5019 maybe-clean-stagefeedback-opcodes:
5020 @if opcodes-bootstrap
5021 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5022 all-stagefeedback: all-stagefeedback-opcodes
5023 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5024 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5025 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5026 @r=`${PWD_COMMAND}`; export r; \
5027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5028 $(HOST_EXPORTS) \
5029 $(POSTSTAGE1_HOST_EXPORTS) \
5030 cd $(HOST_SUBDIR)/opcodes && \
5031 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5032 $(TARGET-stagefeedback-opcodes)
5034 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5035 clean-stagefeedback: clean-stagefeedback-opcodes
5036 clean-stagefeedback-opcodes:
5037 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5038 || exit 0 ; \
5039 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5040 cd $(HOST_SUBDIR)/opcodes && \
5041 $(MAKE) $(FLAGS_TO_PASS) \
5042 $(POSTSTAGE1_FLAGS_TO_PASS) \
5043 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5044 @endif opcodes-bootstrap
5050 .PHONY: check-opcodes maybe-check-opcodes
5051 maybe-check-opcodes:
5052 @if opcodes
5053 maybe-check-opcodes: check-opcodes
5055 check-opcodes:
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) check)
5063 @endif opcodes
5065 .PHONY: install-opcodes maybe-install-opcodes
5066 maybe-install-opcodes:
5067 @if opcodes
5068 maybe-install-opcodes: install-opcodes
5070 install-opcodes: installdirs
5071 @: $(MAKE); $(unstage)
5072 @r=`${PWD_COMMAND}`; export r; \
5073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5074 $(HOST_EXPORTS) \
5075 (cd $(HOST_SUBDIR)/opcodes && \
5076 $(MAKE) $(FLAGS_TO_PASS) install)
5078 @endif opcodes
5080 # Other targets (info, dvi, etc.)
5082 .PHONY: maybe-info-opcodes info-opcodes
5083 maybe-info-opcodes:
5084 @if opcodes
5085 maybe-info-opcodes: info-opcodes
5087 info-opcodes: \
5088 configure-opcodes
5089 @[ -f ./opcodes/Makefile ] || exit 0; \
5090 r=`${PWD_COMMAND}`; export r; \
5091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5092 $(HOST_EXPORTS) \
5093 for flag in $(EXTRA_HOST_FLAGS) ; do \
5094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5095 done; \
5096 echo "Doing info in opcodes" ; \
5097 (cd $(HOST_SUBDIR)/opcodes && \
5098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5100 "RANLIB=$${RANLIB}" \
5101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5102 info) \
5103 || exit 1
5105 @endif opcodes
5107 .PHONY: maybe-dvi-opcodes dvi-opcodes
5108 maybe-dvi-opcodes:
5109 @if opcodes
5110 maybe-dvi-opcodes: dvi-opcodes
5112 dvi-opcodes: \
5113 configure-opcodes
5114 @[ -f ./opcodes/Makefile ] || exit 0; \
5115 r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5117 $(HOST_EXPORTS) \
5118 for flag in $(EXTRA_HOST_FLAGS) ; do \
5119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5120 done; \
5121 echo "Doing dvi in opcodes" ; \
5122 (cd $(HOST_SUBDIR)/opcodes && \
5123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5125 "RANLIB=$${RANLIB}" \
5126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5127 dvi) \
5128 || exit 1
5130 @endif opcodes
5132 .PHONY: maybe-html-opcodes html-opcodes
5133 maybe-html-opcodes:
5134 @if opcodes
5135 maybe-html-opcodes: html-opcodes
5137 html-opcodes: \
5138 configure-opcodes
5139 @[ -f ./opcodes/Makefile ] || exit 0; \
5140 r=`${PWD_COMMAND}`; export r; \
5141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5142 $(HOST_EXPORTS) \
5143 for flag in $(EXTRA_HOST_FLAGS) ; do \
5144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5145 done; \
5146 echo "Doing html in opcodes" ; \
5147 (cd $(HOST_SUBDIR)/opcodes && \
5148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5150 "RANLIB=$${RANLIB}" \
5151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5152 html) \
5153 || exit 1
5155 @endif opcodes
5157 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5158 maybe-TAGS-opcodes:
5159 @if opcodes
5160 maybe-TAGS-opcodes: TAGS-opcodes
5162 TAGS-opcodes: \
5163 configure-opcodes
5164 @[ -f ./opcodes/Makefile ] || exit 0; \
5165 r=`${PWD_COMMAND}`; export r; \
5166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5167 $(HOST_EXPORTS) \
5168 for flag in $(EXTRA_HOST_FLAGS) ; do \
5169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5170 done; \
5171 echo "Doing TAGS in opcodes" ; \
5172 (cd $(HOST_SUBDIR)/opcodes && \
5173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5175 "RANLIB=$${RANLIB}" \
5176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5177 TAGS) \
5178 || exit 1
5180 @endif opcodes
5182 .PHONY: maybe-install-info-opcodes install-info-opcodes
5183 maybe-install-info-opcodes:
5184 @if opcodes
5185 maybe-install-info-opcodes: install-info-opcodes
5187 install-info-opcodes: \
5188 configure-opcodes \
5189 info-opcodes
5190 @[ -f ./opcodes/Makefile ] || exit 0; \
5191 r=`${PWD_COMMAND}`; export r; \
5192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5193 $(HOST_EXPORTS) \
5194 for flag in $(EXTRA_HOST_FLAGS) ; do \
5195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5196 done; \
5197 echo "Doing install-info in opcodes" ; \
5198 (cd $(HOST_SUBDIR)/opcodes && \
5199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5201 "RANLIB=$${RANLIB}" \
5202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5203 install-info) \
5204 || exit 1
5206 @endif opcodes
5208 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5209 maybe-installcheck-opcodes:
5210 @if opcodes
5211 maybe-installcheck-opcodes: installcheck-opcodes
5213 installcheck-opcodes: \
5214 configure-opcodes
5215 @[ -f ./opcodes/Makefile ] || exit 0; \
5216 r=`${PWD_COMMAND}`; export r; \
5217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5218 $(HOST_EXPORTS) \
5219 for flag in $(EXTRA_HOST_FLAGS) ; do \
5220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5221 done; \
5222 echo "Doing installcheck in opcodes" ; \
5223 (cd $(HOST_SUBDIR)/opcodes && \
5224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5226 "RANLIB=$${RANLIB}" \
5227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5228 installcheck) \
5229 || exit 1
5231 @endif opcodes
5233 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5234 maybe-mostlyclean-opcodes:
5235 @if opcodes
5236 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5238 mostlyclean-opcodes:
5239 @[ -f ./opcodes/Makefile ] || exit 0; \
5240 r=`${PWD_COMMAND}`; export r; \
5241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5242 $(HOST_EXPORTS) \
5243 for flag in $(EXTRA_HOST_FLAGS) ; do \
5244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5245 done; \
5246 echo "Doing mostlyclean in opcodes" ; \
5247 (cd $(HOST_SUBDIR)/opcodes && \
5248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5250 "RANLIB=$${RANLIB}" \
5251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5252 mostlyclean) \
5253 || exit 1
5255 @endif opcodes
5257 .PHONY: maybe-clean-opcodes clean-opcodes
5258 maybe-clean-opcodes:
5259 @if opcodes
5260 maybe-clean-opcodes: clean-opcodes
5262 clean-opcodes:
5263 @[ -f ./opcodes/Makefile ] || exit 0; \
5264 r=`${PWD_COMMAND}`; export r; \
5265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5266 $(HOST_EXPORTS) \
5267 for flag in $(EXTRA_HOST_FLAGS) ; do \
5268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5269 done; \
5270 echo "Doing clean in opcodes" ; \
5271 (cd $(HOST_SUBDIR)/opcodes && \
5272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5274 "RANLIB=$${RANLIB}" \
5275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5276 clean) \
5277 || exit 1
5279 @endif opcodes
5281 .PHONY: maybe-distclean-opcodes distclean-opcodes
5282 maybe-distclean-opcodes:
5283 @if opcodes
5284 maybe-distclean-opcodes: distclean-opcodes
5286 distclean-opcodes:
5287 @[ -f ./opcodes/Makefile ] || exit 0; \
5288 r=`${PWD_COMMAND}`; export r; \
5289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5290 $(HOST_EXPORTS) \
5291 for flag in $(EXTRA_HOST_FLAGS) ; do \
5292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5293 done; \
5294 echo "Doing distclean in opcodes" ; \
5295 (cd $(HOST_SUBDIR)/opcodes && \
5296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5298 "RANLIB=$${RANLIB}" \
5299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5300 distclean) \
5301 || exit 1
5303 @endif opcodes
5305 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5306 maybe-maintainer-clean-opcodes:
5307 @if opcodes
5308 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5310 maintainer-clean-opcodes:
5311 @[ -f ./opcodes/Makefile ] || exit 0; \
5312 r=`${PWD_COMMAND}`; export r; \
5313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5314 $(HOST_EXPORTS) \
5315 for flag in $(EXTRA_HOST_FLAGS) ; do \
5316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5317 done; \
5318 echo "Doing maintainer-clean in opcodes" ; \
5319 (cd $(HOST_SUBDIR)/opcodes && \
5320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5322 "RANLIB=$${RANLIB}" \
5323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5324 maintainer-clean) \
5325 || exit 1
5327 @endif opcodes
5331 .PHONY: configure-binutils maybe-configure-binutils
5332 maybe-configure-binutils:
5333 @if binutils
5334 maybe-configure-binutils: configure-binutils
5335 configure-binutils:
5336 @endif binutils
5337 @if binutils-bootstrap
5338 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5339 @endif binutils-bootstrap
5340 @if binutils
5341 @r=`${PWD_COMMAND}`; export r; \
5342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5345 $(HOST_EXPORTS) \
5346 echo Configuring in $(HOST_SUBDIR)/binutils; \
5347 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5348 case $(srcdir) in \
5349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5350 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5352 esac; \
5353 srcdiroption="--srcdir=$${topdir}/binutils"; \
5354 libsrcdir="$$s/binutils"; \
5355 $(SHELL) $${libsrcdir}/configure \
5356 $(HOST_CONFIGARGS) $${srcdiroption} \
5357 || exit 1
5358 @endif binutils
5362 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5363 maybe-configure-stage1-binutils:
5364 @if binutils-bootstrap
5365 maybe-configure-stage1-binutils: configure-stage1-binutils
5366 configure-stage1-binutils:
5367 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5368 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5369 @r=`${PWD_COMMAND}`; export r; \
5370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5372 $(HOST_EXPORTS) \
5373 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5375 cd $(HOST_SUBDIR)/binutils || exit 1; \
5376 case $(srcdir) in \
5377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5378 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5380 esac; \
5381 srcdiroption="--srcdir=$${topdir}/binutils"; \
5382 libsrcdir="$$s/binutils"; \
5383 $(SHELL) $${libsrcdir}/configure \
5384 $(HOST_CONFIGARGS) $${srcdiroption} \
5385 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5386 @endif binutils-bootstrap
5388 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5389 maybe-configure-stage2-binutils:
5390 @if binutils-bootstrap
5391 maybe-configure-stage2-binutils: configure-stage2-binutils
5392 configure-stage2-binutils:
5393 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5394 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5395 @r=`${PWD_COMMAND}`; export r; \
5396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5397 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5398 $(HOST_EXPORTS) \
5399 $(POSTSTAGE1_HOST_EXPORTS) \
5400 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5402 cd $(HOST_SUBDIR)/binutils || exit 1; \
5403 case $(srcdir) in \
5404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5405 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5407 esac; \
5408 srcdiroption="--srcdir=$${topdir}/binutils"; \
5409 libsrcdir="$$s/binutils"; \
5410 $(SHELL) $${libsrcdir}/configure \
5411 $(HOST_CONFIGARGS) $${srcdiroption} \
5412 @stage2_werror_flag@
5413 @endif binutils-bootstrap
5415 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5416 maybe-configure-stage3-binutils:
5417 @if binutils-bootstrap
5418 maybe-configure-stage3-binutils: configure-stage3-binutils
5419 configure-stage3-binutils:
5420 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5421 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5422 @r=`${PWD_COMMAND}`; export r; \
5423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5424 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5425 $(HOST_EXPORTS) \
5426 $(POSTSTAGE1_HOST_EXPORTS) \
5427 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5429 cd $(HOST_SUBDIR)/binutils || exit 1; \
5430 case $(srcdir) in \
5431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5432 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5434 esac; \
5435 srcdiroption="--srcdir=$${topdir}/binutils"; \
5436 libsrcdir="$$s/binutils"; \
5437 $(SHELL) $${libsrcdir}/configure \
5438 $(HOST_CONFIGARGS) $${srcdiroption} \
5439 @stage2_werror_flag@
5440 @endif binutils-bootstrap
5442 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5443 maybe-configure-stage4-binutils:
5444 @if binutils-bootstrap
5445 maybe-configure-stage4-binutils: configure-stage4-binutils
5446 configure-stage4-binutils:
5447 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5449 @r=`${PWD_COMMAND}`; export r; \
5450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5451 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5452 $(HOST_EXPORTS) \
5453 $(POSTSTAGE1_HOST_EXPORTS) \
5454 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5456 cd $(HOST_SUBDIR)/binutils || exit 1; \
5457 case $(srcdir) in \
5458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5459 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5461 esac; \
5462 srcdiroption="--srcdir=$${topdir}/binutils"; \
5463 libsrcdir="$$s/binutils"; \
5464 $(SHELL) $${libsrcdir}/configure \
5465 $(HOST_CONFIGARGS) $${srcdiroption} \
5466 @stage2_werror_flag@
5467 @endif binutils-bootstrap
5469 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5470 maybe-configure-stageprofile-binutils:
5471 @if binutils-bootstrap
5472 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5473 configure-stageprofile-binutils:
5474 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5476 @r=`${PWD_COMMAND}`; export r; \
5477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5478 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5479 $(HOST_EXPORTS) \
5480 $(POSTSTAGE1_HOST_EXPORTS) \
5481 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5483 cd $(HOST_SUBDIR)/binutils || exit 1; \
5484 case $(srcdir) in \
5485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5486 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5488 esac; \
5489 srcdiroption="--srcdir=$${topdir}/binutils"; \
5490 libsrcdir="$$s/binutils"; \
5491 $(SHELL) $${libsrcdir}/configure \
5492 $(HOST_CONFIGARGS) $${srcdiroption} \
5493 @stage2_werror_flag@
5494 @endif binutils-bootstrap
5496 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5497 maybe-configure-stagefeedback-binutils:
5498 @if binutils-bootstrap
5499 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5500 configure-stagefeedback-binutils:
5501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5503 @r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5506 $(HOST_EXPORTS) \
5507 $(POSTSTAGE1_HOST_EXPORTS) \
5508 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5510 cd $(HOST_SUBDIR)/binutils || exit 1; \
5511 case $(srcdir) in \
5512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5513 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5515 esac; \
5516 srcdiroption="--srcdir=$${topdir}/binutils"; \
5517 libsrcdir="$$s/binutils"; \
5518 $(SHELL) $${libsrcdir}/configure \
5519 $(HOST_CONFIGARGS) $${srcdiroption} \
5520 @stage2_werror_flag@
5521 @endif binutils-bootstrap
5527 .PHONY: all-binutils maybe-all-binutils
5528 maybe-all-binutils:
5529 @if binutils
5530 TARGET-binutils=all
5531 maybe-all-binutils: all-binutils
5532 all-binutils: configure-binutils
5533 @endif binutils
5534 @if binutils-bootstrap
5535 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
5536 @endif binutils-bootstrap
5537 @if binutils
5538 @r=`${PWD_COMMAND}`; export r; \
5539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5540 $(HOST_EXPORTS) \
5541 (cd $(HOST_SUBDIR)/binutils && \
5542 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5543 @endif binutils
5547 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5548 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5549 maybe-all-stage1-binutils:
5550 maybe-clean-stage1-binutils:
5551 @if binutils-bootstrap
5552 maybe-all-stage1-binutils: all-stage1-binutils
5553 all-stage1: all-stage1-binutils
5554 TARGET-stage1-binutils = $(TARGET-binutils)
5555 all-stage1-binutils: configure-stage1-binutils
5556 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5557 @r=`${PWD_COMMAND}`; export r; \
5558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5559 $(HOST_EXPORTS) \
5560 cd $(HOST_SUBDIR)/binutils && \
5561 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5562 $(TARGET-stage1-binutils)
5564 maybe-clean-stage1-binutils: clean-stage1-binutils
5565 clean-stage1: clean-stage1-binutils
5566 clean-stage1-binutils:
5567 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5568 || exit 0 ; \
5569 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
5570 cd $(HOST_SUBDIR)/binutils && \
5571 $(MAKE) $(FLAGS_TO_PASS) \
5572 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5573 @endif binutils-bootstrap
5576 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5577 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5578 maybe-all-stage2-binutils:
5579 maybe-clean-stage2-binutils:
5580 @if binutils-bootstrap
5581 maybe-all-stage2-binutils: all-stage2-binutils
5582 all-stage2: all-stage2-binutils
5583 TARGET-stage2-binutils = $(TARGET-binutils)
5584 all-stage2-binutils: configure-stage2-binutils
5585 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5586 @r=`${PWD_COMMAND}`; export r; \
5587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5588 $(HOST_EXPORTS) \
5589 $(POSTSTAGE1_HOST_EXPORTS) \
5590 cd $(HOST_SUBDIR)/binutils && \
5591 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5592 $(TARGET-stage2-binutils)
5594 maybe-clean-stage2-binutils: clean-stage2-binutils
5595 clean-stage2: clean-stage2-binutils
5596 clean-stage2-binutils:
5597 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5598 || exit 0 ; \
5599 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
5600 cd $(HOST_SUBDIR)/binutils && \
5601 $(MAKE) $(FLAGS_TO_PASS) \
5602 $(POSTSTAGE1_FLAGS_TO_PASS) \
5603 clean
5604 @endif binutils-bootstrap
5607 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5608 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5609 maybe-all-stage3-binutils:
5610 maybe-clean-stage3-binutils:
5611 @if binutils-bootstrap
5612 maybe-all-stage3-binutils: all-stage3-binutils
5613 all-stage3: all-stage3-binutils
5614 TARGET-stage3-binutils = $(TARGET-binutils)
5615 all-stage3-binutils: configure-stage3-binutils
5616 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5617 @r=`${PWD_COMMAND}`; export r; \
5618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619 $(HOST_EXPORTS) \
5620 $(POSTSTAGE1_HOST_EXPORTS) \
5621 cd $(HOST_SUBDIR)/binutils && \
5622 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5623 $(TARGET-stage3-binutils)
5625 maybe-clean-stage3-binutils: clean-stage3-binutils
5626 clean-stage3: clean-stage3-binutils
5627 clean-stage3-binutils:
5628 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5629 || exit 0 ; \
5630 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
5631 cd $(HOST_SUBDIR)/binutils && \
5632 $(MAKE) $(FLAGS_TO_PASS) \
5633 $(POSTSTAGE1_FLAGS_TO_PASS) \
5634 clean
5635 @endif binutils-bootstrap
5638 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5639 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5640 maybe-all-stage4-binutils:
5641 maybe-clean-stage4-binutils:
5642 @if binutils-bootstrap
5643 maybe-all-stage4-binutils: all-stage4-binutils
5644 all-stage4: all-stage4-binutils
5645 TARGET-stage4-binutils = $(TARGET-binutils)
5646 all-stage4-binutils: configure-stage4-binutils
5647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5648 @r=`${PWD_COMMAND}`; export r; \
5649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5650 $(HOST_EXPORTS) \
5651 $(POSTSTAGE1_HOST_EXPORTS) \
5652 cd $(HOST_SUBDIR)/binutils && \
5653 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5654 $(TARGET-stage4-binutils)
5656 maybe-clean-stage4-binutils: clean-stage4-binutils
5657 clean-stage4: clean-stage4-binutils
5658 clean-stage4-binutils:
5659 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5660 || exit 0 ; \
5661 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
5662 cd $(HOST_SUBDIR)/binutils && \
5663 $(MAKE) $(FLAGS_TO_PASS) \
5664 $(POSTSTAGE1_FLAGS_TO_PASS) \
5665 clean
5666 @endif binutils-bootstrap
5669 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5670 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5671 maybe-all-stageprofile-binutils:
5672 maybe-clean-stageprofile-binutils:
5673 @if binutils-bootstrap
5674 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5675 all-stageprofile: all-stageprofile-binutils
5676 TARGET-stageprofile-binutils = $(TARGET-binutils)
5677 all-stageprofile-binutils: configure-stageprofile-binutils
5678 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5679 @r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(HOST_EXPORTS) \
5682 $(POSTSTAGE1_HOST_EXPORTS) \
5683 cd $(HOST_SUBDIR)/binutils && \
5684 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5685 $(TARGET-stageprofile-binutils)
5687 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5688 clean-stageprofile: clean-stageprofile-binutils
5689 clean-stageprofile-binutils:
5690 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5691 || exit 0 ; \
5692 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
5693 cd $(HOST_SUBDIR)/binutils && \
5694 $(MAKE) $(FLAGS_TO_PASS) \
5695 $(POSTSTAGE1_FLAGS_TO_PASS) \
5696 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5697 @endif binutils-bootstrap
5700 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5701 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5702 maybe-all-stagefeedback-binutils:
5703 maybe-clean-stagefeedback-binutils:
5704 @if binutils-bootstrap
5705 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5706 all-stagefeedback: all-stagefeedback-binutils
5707 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5708 all-stagefeedback-binutils: configure-stagefeedback-binutils
5709 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5710 @r=`${PWD_COMMAND}`; export r; \
5711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5712 $(HOST_EXPORTS) \
5713 $(POSTSTAGE1_HOST_EXPORTS) \
5714 cd $(HOST_SUBDIR)/binutils && \
5715 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5716 $(TARGET-stagefeedback-binutils)
5718 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5719 clean-stagefeedback: clean-stagefeedback-binutils
5720 clean-stagefeedback-binutils:
5721 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5722 || exit 0 ; \
5723 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
5724 cd $(HOST_SUBDIR)/binutils && \
5725 $(MAKE) $(FLAGS_TO_PASS) \
5726 $(POSTSTAGE1_FLAGS_TO_PASS) \
5727 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5728 @endif binutils-bootstrap
5734 .PHONY: check-binutils maybe-check-binutils
5735 maybe-check-binutils:
5736 @if binutils
5737 maybe-check-binutils: check-binutils
5739 check-binutils:
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) check)
5747 @endif binutils
5749 .PHONY: install-binutils maybe-install-binutils
5750 maybe-install-binutils:
5751 @if binutils
5752 maybe-install-binutils: install-binutils
5754 install-binutils: installdirs
5755 @: $(MAKE); $(unstage)
5756 @r=`${PWD_COMMAND}`; export r; \
5757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5758 $(HOST_EXPORTS) \
5759 (cd $(HOST_SUBDIR)/binutils && \
5760 $(MAKE) $(FLAGS_TO_PASS) install)
5762 @endif binutils
5764 # Other targets (info, dvi, etc.)
5766 .PHONY: maybe-info-binutils info-binutils
5767 maybe-info-binutils:
5768 @if binutils
5769 maybe-info-binutils: info-binutils
5771 info-binutils: \
5772 configure-binutils
5773 @[ -f ./binutils/Makefile ] || exit 0; \
5774 r=`${PWD_COMMAND}`; export r; \
5775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5776 $(HOST_EXPORTS) \
5777 for flag in $(EXTRA_HOST_FLAGS) ; do \
5778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5779 done; \
5780 echo "Doing info in binutils" ; \
5781 (cd $(HOST_SUBDIR)/binutils && \
5782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5784 "RANLIB=$${RANLIB}" \
5785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5786 info) \
5787 || exit 1
5789 @endif binutils
5791 .PHONY: maybe-dvi-binutils dvi-binutils
5792 maybe-dvi-binutils:
5793 @if binutils
5794 maybe-dvi-binutils: dvi-binutils
5796 dvi-binutils: \
5797 configure-binutils
5798 @[ -f ./binutils/Makefile ] || exit 0; \
5799 r=`${PWD_COMMAND}`; export r; \
5800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5801 $(HOST_EXPORTS) \
5802 for flag in $(EXTRA_HOST_FLAGS) ; do \
5803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5804 done; \
5805 echo "Doing dvi in binutils" ; \
5806 (cd $(HOST_SUBDIR)/binutils && \
5807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5809 "RANLIB=$${RANLIB}" \
5810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5811 dvi) \
5812 || exit 1
5814 @endif binutils
5816 .PHONY: maybe-html-binutils html-binutils
5817 maybe-html-binutils:
5818 @if binutils
5819 maybe-html-binutils: html-binutils
5821 html-binutils: \
5822 configure-binutils
5823 @[ -f ./binutils/Makefile ] || exit 0; \
5824 r=`${PWD_COMMAND}`; export r; \
5825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5826 $(HOST_EXPORTS) \
5827 for flag in $(EXTRA_HOST_FLAGS) ; do \
5828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5829 done; \
5830 echo "Doing html in binutils" ; \
5831 (cd $(HOST_SUBDIR)/binutils && \
5832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5834 "RANLIB=$${RANLIB}" \
5835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5836 html) \
5837 || exit 1
5839 @endif binutils
5841 .PHONY: maybe-TAGS-binutils TAGS-binutils
5842 maybe-TAGS-binutils:
5843 @if binutils
5844 maybe-TAGS-binutils: TAGS-binutils
5846 TAGS-binutils: \
5847 configure-binutils
5848 @[ -f ./binutils/Makefile ] || exit 0; \
5849 r=`${PWD_COMMAND}`; export r; \
5850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5851 $(HOST_EXPORTS) \
5852 for flag in $(EXTRA_HOST_FLAGS) ; do \
5853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5854 done; \
5855 echo "Doing TAGS in binutils" ; \
5856 (cd $(HOST_SUBDIR)/binutils && \
5857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5859 "RANLIB=$${RANLIB}" \
5860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5861 TAGS) \
5862 || exit 1
5864 @endif binutils
5866 .PHONY: maybe-install-info-binutils install-info-binutils
5867 maybe-install-info-binutils:
5868 @if binutils
5869 maybe-install-info-binutils: install-info-binutils
5871 install-info-binutils: \
5872 configure-binutils \
5873 info-binutils
5874 @[ -f ./binutils/Makefile ] || exit 0; \
5875 r=`${PWD_COMMAND}`; export r; \
5876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5877 $(HOST_EXPORTS) \
5878 for flag in $(EXTRA_HOST_FLAGS) ; do \
5879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5880 done; \
5881 echo "Doing install-info in binutils" ; \
5882 (cd $(HOST_SUBDIR)/binutils && \
5883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5885 "RANLIB=$${RANLIB}" \
5886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5887 install-info) \
5888 || exit 1
5890 @endif binutils
5892 .PHONY: maybe-installcheck-binutils installcheck-binutils
5893 maybe-installcheck-binutils:
5894 @if binutils
5895 maybe-installcheck-binutils: installcheck-binutils
5897 installcheck-binutils: \
5898 configure-binutils
5899 @[ -f ./binutils/Makefile ] || exit 0; \
5900 r=`${PWD_COMMAND}`; export r; \
5901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 $(HOST_EXPORTS) \
5903 for flag in $(EXTRA_HOST_FLAGS) ; do \
5904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5905 done; \
5906 echo "Doing installcheck in binutils" ; \
5907 (cd $(HOST_SUBDIR)/binutils && \
5908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5910 "RANLIB=$${RANLIB}" \
5911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5912 installcheck) \
5913 || exit 1
5915 @endif binutils
5917 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5918 maybe-mostlyclean-binutils:
5919 @if binutils
5920 maybe-mostlyclean-binutils: mostlyclean-binutils
5922 mostlyclean-binutils:
5923 @[ -f ./binutils/Makefile ] || exit 0; \
5924 r=`${PWD_COMMAND}`; export r; \
5925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926 $(HOST_EXPORTS) \
5927 for flag in $(EXTRA_HOST_FLAGS) ; do \
5928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5929 done; \
5930 echo "Doing mostlyclean in binutils" ; \
5931 (cd $(HOST_SUBDIR)/binutils && \
5932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5934 "RANLIB=$${RANLIB}" \
5935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5936 mostlyclean) \
5937 || exit 1
5939 @endif binutils
5941 .PHONY: maybe-clean-binutils clean-binutils
5942 maybe-clean-binutils:
5943 @if binutils
5944 maybe-clean-binutils: clean-binutils
5946 clean-binutils:
5947 @[ -f ./binutils/Makefile ] || exit 0; \
5948 r=`${PWD_COMMAND}`; export r; \
5949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5950 $(HOST_EXPORTS) \
5951 for flag in $(EXTRA_HOST_FLAGS) ; do \
5952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5953 done; \
5954 echo "Doing clean in binutils" ; \
5955 (cd $(HOST_SUBDIR)/binutils && \
5956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5958 "RANLIB=$${RANLIB}" \
5959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5960 clean) \
5961 || exit 1
5963 @endif binutils
5965 .PHONY: maybe-distclean-binutils distclean-binutils
5966 maybe-distclean-binutils:
5967 @if binutils
5968 maybe-distclean-binutils: distclean-binutils
5970 distclean-binutils:
5971 @[ -f ./binutils/Makefile ] || exit 0; \
5972 r=`${PWD_COMMAND}`; export r; \
5973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5974 $(HOST_EXPORTS) \
5975 for flag in $(EXTRA_HOST_FLAGS) ; do \
5976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5977 done; \
5978 echo "Doing distclean in binutils" ; \
5979 (cd $(HOST_SUBDIR)/binutils && \
5980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5982 "RANLIB=$${RANLIB}" \
5983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5984 distclean) \
5985 || exit 1
5987 @endif binutils
5989 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5990 maybe-maintainer-clean-binutils:
5991 @if binutils
5992 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5994 maintainer-clean-binutils:
5995 @[ -f ./binutils/Makefile ] || exit 0; \
5996 r=`${PWD_COMMAND}`; export r; \
5997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5998 $(HOST_EXPORTS) \
5999 for flag in $(EXTRA_HOST_FLAGS) ; do \
6000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6001 done; \
6002 echo "Doing maintainer-clean in binutils" ; \
6003 (cd $(HOST_SUBDIR)/binutils && \
6004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6006 "RANLIB=$${RANLIB}" \
6007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6008 maintainer-clean) \
6009 || exit 1
6011 @endif binutils
6015 .PHONY: configure-bison maybe-configure-bison
6016 maybe-configure-bison:
6017 @if bison
6018 maybe-configure-bison: configure-bison
6019 configure-bison:
6020 @: $(MAKE); $(unstage)
6021 @r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6025 $(HOST_EXPORTS) \
6026 echo Configuring in $(HOST_SUBDIR)/bison; \
6027 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6028 case $(srcdir) in \
6029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6030 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6032 esac; \
6033 srcdiroption="--srcdir=$${topdir}/bison"; \
6034 libsrcdir="$$s/bison"; \
6035 $(SHELL) $${libsrcdir}/configure \
6036 $(HOST_CONFIGARGS) $${srcdiroption} \
6037 || exit 1
6038 @endif bison
6044 .PHONY: all-bison maybe-all-bison
6045 maybe-all-bison:
6046 @if bison
6047 TARGET-bison=all
6048 maybe-all-bison: all-bison
6049 all-bison: configure-bison
6050 @: $(MAKE); $(unstage)
6051 @r=`${PWD_COMMAND}`; export r; \
6052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053 $(HOST_EXPORTS) \
6054 (cd $(HOST_SUBDIR)/bison && \
6055 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6056 @endif bison
6061 .PHONY: check-bison maybe-check-bison
6062 maybe-check-bison:
6063 @if bison
6064 maybe-check-bison: check-bison
6066 # This module is only tested in a native toolchain.
6067 check-bison:
6068 @: $(MAKE); $(unstage)
6069 @if [ '$(host)' = '$(target)' ] ; then \
6070 r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 $(HOST_EXPORTS) \
6073 (cd $(HOST_SUBDIR)/bison && \
6074 $(MAKE) $(FLAGS_TO_PASS) check); \
6077 @endif bison
6079 .PHONY: install-bison maybe-install-bison
6080 maybe-install-bison:
6081 @if bison
6082 maybe-install-bison: install-bison
6084 install-bison: installdirs
6085 @: $(MAKE); $(unstage)
6086 @r=`${PWD_COMMAND}`; export r; \
6087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6088 $(HOST_EXPORTS) \
6089 (cd $(HOST_SUBDIR)/bison && \
6090 $(MAKE) $(FLAGS_TO_PASS) install)
6092 @endif bison
6094 # Other targets (info, dvi, etc.)
6096 .PHONY: maybe-info-bison info-bison
6097 maybe-info-bison:
6098 @if bison
6099 maybe-info-bison: info-bison
6101 info-bison: \
6102 configure-bison
6103 @: $(MAKE); $(unstage)
6104 @[ -f ./bison/Makefile ] || exit 0; \
6105 r=`${PWD_COMMAND}`; export r; \
6106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 $(HOST_EXPORTS) \
6108 for flag in $(EXTRA_HOST_FLAGS) ; do \
6109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6110 done; \
6111 echo "Doing info in bison" ; \
6112 (cd $(HOST_SUBDIR)/bison && \
6113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6115 "RANLIB=$${RANLIB}" \
6116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6117 info) \
6118 || exit 1
6120 @endif bison
6122 .PHONY: maybe-dvi-bison dvi-bison
6123 maybe-dvi-bison:
6124 @if bison
6125 maybe-dvi-bison: dvi-bison
6127 dvi-bison: \
6128 configure-bison
6129 @: $(MAKE); $(unstage)
6130 @[ -f ./bison/Makefile ] || exit 0; \
6131 r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133 $(HOST_EXPORTS) \
6134 for flag in $(EXTRA_HOST_FLAGS) ; do \
6135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6136 done; \
6137 echo "Doing dvi in bison" ; \
6138 (cd $(HOST_SUBDIR)/bison && \
6139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6141 "RANLIB=$${RANLIB}" \
6142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6143 dvi) \
6144 || exit 1
6146 @endif bison
6148 .PHONY: maybe-html-bison html-bison
6149 maybe-html-bison:
6150 @if bison
6151 maybe-html-bison: html-bison
6153 html-bison: \
6154 configure-bison
6155 @: $(MAKE); $(unstage)
6156 @[ -f ./bison/Makefile ] || exit 0; \
6157 r=`${PWD_COMMAND}`; export r; \
6158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6159 $(HOST_EXPORTS) \
6160 for flag in $(EXTRA_HOST_FLAGS) ; do \
6161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6162 done; \
6163 echo "Doing html in bison" ; \
6164 (cd $(HOST_SUBDIR)/bison && \
6165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6167 "RANLIB=$${RANLIB}" \
6168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6169 html) \
6170 || exit 1
6172 @endif bison
6174 .PHONY: maybe-TAGS-bison TAGS-bison
6175 maybe-TAGS-bison:
6176 @if bison
6177 maybe-TAGS-bison: TAGS-bison
6179 TAGS-bison: \
6180 configure-bison
6181 @: $(MAKE); $(unstage)
6182 @[ -f ./bison/Makefile ] || exit 0; \
6183 r=`${PWD_COMMAND}`; export r; \
6184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6185 $(HOST_EXPORTS) \
6186 for flag in $(EXTRA_HOST_FLAGS) ; do \
6187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6188 done; \
6189 echo "Doing TAGS in bison" ; \
6190 (cd $(HOST_SUBDIR)/bison && \
6191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6193 "RANLIB=$${RANLIB}" \
6194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6195 TAGS) \
6196 || exit 1
6198 @endif bison
6200 .PHONY: maybe-install-info-bison install-info-bison
6201 maybe-install-info-bison:
6202 @if bison
6203 maybe-install-info-bison: install-info-bison
6205 install-info-bison: \
6206 configure-bison \
6207 info-bison
6208 @: $(MAKE); $(unstage)
6209 @[ -f ./bison/Makefile ] || exit 0; \
6210 r=`${PWD_COMMAND}`; export r; \
6211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6212 $(HOST_EXPORTS) \
6213 for flag in $(EXTRA_HOST_FLAGS) ; do \
6214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6215 done; \
6216 echo "Doing install-info in bison" ; \
6217 (cd $(HOST_SUBDIR)/bison && \
6218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6220 "RANLIB=$${RANLIB}" \
6221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6222 install-info) \
6223 || exit 1
6225 @endif bison
6227 .PHONY: maybe-installcheck-bison installcheck-bison
6228 maybe-installcheck-bison:
6229 @if bison
6230 maybe-installcheck-bison: installcheck-bison
6232 installcheck-bison: \
6233 configure-bison
6234 @: $(MAKE); $(unstage)
6235 @[ -f ./bison/Makefile ] || exit 0; \
6236 r=`${PWD_COMMAND}`; export r; \
6237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6238 $(HOST_EXPORTS) \
6239 for flag in $(EXTRA_HOST_FLAGS) ; do \
6240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6241 done; \
6242 echo "Doing installcheck in bison" ; \
6243 (cd $(HOST_SUBDIR)/bison && \
6244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6246 "RANLIB=$${RANLIB}" \
6247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6248 installcheck) \
6249 || exit 1
6251 @endif bison
6253 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6254 maybe-mostlyclean-bison:
6255 @if bison
6256 maybe-mostlyclean-bison: mostlyclean-bison
6258 mostlyclean-bison:
6259 @: $(MAKE); $(unstage)
6260 @[ -f ./bison/Makefile ] || exit 0; \
6261 r=`${PWD_COMMAND}`; export r; \
6262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6263 $(HOST_EXPORTS) \
6264 for flag in $(EXTRA_HOST_FLAGS) ; do \
6265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6266 done; \
6267 echo "Doing mostlyclean in bison" ; \
6268 (cd $(HOST_SUBDIR)/bison && \
6269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6271 "RANLIB=$${RANLIB}" \
6272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6273 mostlyclean) \
6274 || exit 1
6276 @endif bison
6278 .PHONY: maybe-clean-bison clean-bison
6279 maybe-clean-bison:
6280 @if bison
6281 maybe-clean-bison: clean-bison
6283 clean-bison:
6284 @: $(MAKE); $(unstage)
6285 @[ -f ./bison/Makefile ] || exit 0; \
6286 r=`${PWD_COMMAND}`; export r; \
6287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6288 $(HOST_EXPORTS) \
6289 for flag in $(EXTRA_HOST_FLAGS) ; do \
6290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6291 done; \
6292 echo "Doing clean in bison" ; \
6293 (cd $(HOST_SUBDIR)/bison && \
6294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296 "RANLIB=$${RANLIB}" \
6297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6298 clean) \
6299 || exit 1
6301 @endif bison
6303 .PHONY: maybe-distclean-bison distclean-bison
6304 maybe-distclean-bison:
6305 @if bison
6306 maybe-distclean-bison: distclean-bison
6308 distclean-bison:
6309 @: $(MAKE); $(unstage)
6310 @[ -f ./bison/Makefile ] || exit 0; \
6311 r=`${PWD_COMMAND}`; export r; \
6312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6313 $(HOST_EXPORTS) \
6314 for flag in $(EXTRA_HOST_FLAGS) ; do \
6315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6316 done; \
6317 echo "Doing distclean in bison" ; \
6318 (cd $(HOST_SUBDIR)/bison && \
6319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6321 "RANLIB=$${RANLIB}" \
6322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6323 distclean) \
6324 || exit 1
6326 @endif bison
6328 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6329 maybe-maintainer-clean-bison:
6330 @if bison
6331 maybe-maintainer-clean-bison: maintainer-clean-bison
6333 maintainer-clean-bison:
6334 @: $(MAKE); $(unstage)
6335 @[ -f ./bison/Makefile ] || exit 0; \
6336 r=`${PWD_COMMAND}`; export r; \
6337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6338 $(HOST_EXPORTS) \
6339 for flag in $(EXTRA_HOST_FLAGS) ; do \
6340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6341 done; \
6342 echo "Doing maintainer-clean in bison" ; \
6343 (cd $(HOST_SUBDIR)/bison && \
6344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6346 "RANLIB=$${RANLIB}" \
6347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6348 maintainer-clean) \
6349 || exit 1
6351 @endif bison
6355 .PHONY: configure-byacc maybe-configure-byacc
6356 maybe-configure-byacc:
6357 @if byacc
6358 maybe-configure-byacc: configure-byacc
6359 configure-byacc:
6360 @: $(MAKE); $(unstage)
6361 @r=`${PWD_COMMAND}`; export r; \
6362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6363 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6365 $(HOST_EXPORTS) \
6366 echo Configuring in $(HOST_SUBDIR)/byacc; \
6367 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6368 case $(srcdir) in \
6369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6370 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6372 esac; \
6373 srcdiroption="--srcdir=$${topdir}/byacc"; \
6374 libsrcdir="$$s/byacc"; \
6375 $(SHELL) $${libsrcdir}/configure \
6376 $(HOST_CONFIGARGS) $${srcdiroption} \
6377 || exit 1
6378 @endif byacc
6384 .PHONY: all-byacc maybe-all-byacc
6385 maybe-all-byacc:
6386 @if byacc
6387 TARGET-byacc=all
6388 maybe-all-byacc: all-byacc
6389 all-byacc: configure-byacc
6390 @: $(MAKE); $(unstage)
6391 @r=`${PWD_COMMAND}`; export r; \
6392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6393 $(HOST_EXPORTS) \
6394 (cd $(HOST_SUBDIR)/byacc && \
6395 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6396 @endif byacc
6401 .PHONY: check-byacc maybe-check-byacc
6402 maybe-check-byacc:
6403 @if byacc
6404 maybe-check-byacc: check-byacc
6406 # This module is only tested in a native toolchain.
6407 check-byacc:
6408 @: $(MAKE); $(unstage)
6409 @if [ '$(host)' = '$(target)' ] ; then \
6410 r=`${PWD_COMMAND}`; export r; \
6411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6412 $(HOST_EXPORTS) \
6413 (cd $(HOST_SUBDIR)/byacc && \
6414 $(MAKE) $(FLAGS_TO_PASS) check); \
6417 @endif byacc
6419 .PHONY: install-byacc maybe-install-byacc
6420 maybe-install-byacc:
6421 @if byacc
6422 maybe-install-byacc: install-byacc
6424 install-byacc: installdirs
6425 @: $(MAKE); $(unstage)
6426 @r=`${PWD_COMMAND}`; export r; \
6427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 $(HOST_EXPORTS) \
6429 (cd $(HOST_SUBDIR)/byacc && \
6430 $(MAKE) $(FLAGS_TO_PASS) install)
6432 @endif byacc
6434 # Other targets (info, dvi, etc.)
6436 .PHONY: maybe-info-byacc info-byacc
6437 maybe-info-byacc:
6438 @if byacc
6439 maybe-info-byacc: info-byacc
6441 info-byacc: \
6442 configure-byacc
6443 @: $(MAKE); $(unstage)
6444 @[ -f ./byacc/Makefile ] || exit 0; \
6445 r=`${PWD_COMMAND}`; export r; \
6446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6447 $(HOST_EXPORTS) \
6448 for flag in $(EXTRA_HOST_FLAGS) ; do \
6449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6450 done; \
6451 echo "Doing info in byacc" ; \
6452 (cd $(HOST_SUBDIR)/byacc && \
6453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6455 "RANLIB=$${RANLIB}" \
6456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6457 info) \
6458 || exit 1
6460 @endif byacc
6462 .PHONY: maybe-dvi-byacc dvi-byacc
6463 maybe-dvi-byacc:
6464 @if byacc
6465 maybe-dvi-byacc: dvi-byacc
6467 dvi-byacc: \
6468 configure-byacc
6469 @: $(MAKE); $(unstage)
6470 @[ -f ./byacc/Makefile ] || exit 0; \
6471 r=`${PWD_COMMAND}`; export r; \
6472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6473 $(HOST_EXPORTS) \
6474 for flag in $(EXTRA_HOST_FLAGS) ; do \
6475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6476 done; \
6477 echo "Doing dvi in byacc" ; \
6478 (cd $(HOST_SUBDIR)/byacc && \
6479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6481 "RANLIB=$${RANLIB}" \
6482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6483 dvi) \
6484 || exit 1
6486 @endif byacc
6488 .PHONY: maybe-html-byacc html-byacc
6489 maybe-html-byacc:
6490 @if byacc
6491 maybe-html-byacc: html-byacc
6493 html-byacc: \
6494 configure-byacc
6495 @: $(MAKE); $(unstage)
6496 @[ -f ./byacc/Makefile ] || exit 0; \
6497 r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 $(HOST_EXPORTS) \
6500 for flag in $(EXTRA_HOST_FLAGS) ; do \
6501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6502 done; \
6503 echo "Doing html in byacc" ; \
6504 (cd $(HOST_SUBDIR)/byacc && \
6505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6507 "RANLIB=$${RANLIB}" \
6508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6509 html) \
6510 || exit 1
6512 @endif byacc
6514 .PHONY: maybe-TAGS-byacc TAGS-byacc
6515 maybe-TAGS-byacc:
6516 @if byacc
6517 maybe-TAGS-byacc: TAGS-byacc
6519 TAGS-byacc: \
6520 configure-byacc
6521 @: $(MAKE); $(unstage)
6522 @[ -f ./byacc/Makefile ] || exit 0; \
6523 r=`${PWD_COMMAND}`; export r; \
6524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6525 $(HOST_EXPORTS) \
6526 for flag in $(EXTRA_HOST_FLAGS) ; do \
6527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6528 done; \
6529 echo "Doing TAGS in byacc" ; \
6530 (cd $(HOST_SUBDIR)/byacc && \
6531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6533 "RANLIB=$${RANLIB}" \
6534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6535 TAGS) \
6536 || exit 1
6538 @endif byacc
6540 .PHONY: maybe-install-info-byacc install-info-byacc
6541 maybe-install-info-byacc:
6542 @if byacc
6543 maybe-install-info-byacc: install-info-byacc
6545 install-info-byacc: \
6546 configure-byacc \
6547 info-byacc
6548 @: $(MAKE); $(unstage)
6549 @[ -f ./byacc/Makefile ] || exit 0; \
6550 r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552 $(HOST_EXPORTS) \
6553 for flag in $(EXTRA_HOST_FLAGS) ; do \
6554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6555 done; \
6556 echo "Doing install-info in byacc" ; \
6557 (cd $(HOST_SUBDIR)/byacc && \
6558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6560 "RANLIB=$${RANLIB}" \
6561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6562 install-info) \
6563 || exit 1
6565 @endif byacc
6567 .PHONY: maybe-installcheck-byacc installcheck-byacc
6568 maybe-installcheck-byacc:
6569 @if byacc
6570 maybe-installcheck-byacc: installcheck-byacc
6572 installcheck-byacc: \
6573 configure-byacc
6574 @: $(MAKE); $(unstage)
6575 @[ -f ./byacc/Makefile ] || exit 0; \
6576 r=`${PWD_COMMAND}`; export r; \
6577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6578 $(HOST_EXPORTS) \
6579 for flag in $(EXTRA_HOST_FLAGS) ; do \
6580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6581 done; \
6582 echo "Doing installcheck in byacc" ; \
6583 (cd $(HOST_SUBDIR)/byacc && \
6584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6586 "RANLIB=$${RANLIB}" \
6587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6588 installcheck) \
6589 || exit 1
6591 @endif byacc
6593 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6594 maybe-mostlyclean-byacc:
6595 @if byacc
6596 maybe-mostlyclean-byacc: mostlyclean-byacc
6598 mostlyclean-byacc:
6599 @: $(MAKE); $(unstage)
6600 @[ -f ./byacc/Makefile ] || exit 0; \
6601 r=`${PWD_COMMAND}`; export r; \
6602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6603 $(HOST_EXPORTS) \
6604 for flag in $(EXTRA_HOST_FLAGS) ; do \
6605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6606 done; \
6607 echo "Doing mostlyclean in byacc" ; \
6608 (cd $(HOST_SUBDIR)/byacc && \
6609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6611 "RANLIB=$${RANLIB}" \
6612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6613 mostlyclean) \
6614 || exit 1
6616 @endif byacc
6618 .PHONY: maybe-clean-byacc clean-byacc
6619 maybe-clean-byacc:
6620 @if byacc
6621 maybe-clean-byacc: clean-byacc
6623 clean-byacc:
6624 @: $(MAKE); $(unstage)
6625 @[ -f ./byacc/Makefile ] || exit 0; \
6626 r=`${PWD_COMMAND}`; export r; \
6627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6628 $(HOST_EXPORTS) \
6629 for flag in $(EXTRA_HOST_FLAGS) ; do \
6630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6631 done; \
6632 echo "Doing clean in byacc" ; \
6633 (cd $(HOST_SUBDIR)/byacc && \
6634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6636 "RANLIB=$${RANLIB}" \
6637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6638 clean) \
6639 || exit 1
6641 @endif byacc
6643 .PHONY: maybe-distclean-byacc distclean-byacc
6644 maybe-distclean-byacc:
6645 @if byacc
6646 maybe-distclean-byacc: distclean-byacc
6648 distclean-byacc:
6649 @: $(MAKE); $(unstage)
6650 @[ -f ./byacc/Makefile ] || exit 0; \
6651 r=`${PWD_COMMAND}`; export r; \
6652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6653 $(HOST_EXPORTS) \
6654 for flag in $(EXTRA_HOST_FLAGS) ; do \
6655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6656 done; \
6657 echo "Doing distclean in byacc" ; \
6658 (cd $(HOST_SUBDIR)/byacc && \
6659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6661 "RANLIB=$${RANLIB}" \
6662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6663 distclean) \
6664 || exit 1
6666 @endif byacc
6668 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6669 maybe-maintainer-clean-byacc:
6670 @if byacc
6671 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6673 maintainer-clean-byacc:
6674 @: $(MAKE); $(unstage)
6675 @[ -f ./byacc/Makefile ] || exit 0; \
6676 r=`${PWD_COMMAND}`; export r; \
6677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6678 $(HOST_EXPORTS) \
6679 for flag in $(EXTRA_HOST_FLAGS) ; do \
6680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6681 done; \
6682 echo "Doing maintainer-clean in byacc" ; \
6683 (cd $(HOST_SUBDIR)/byacc && \
6684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6686 "RANLIB=$${RANLIB}" \
6687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6688 maintainer-clean) \
6689 || exit 1
6691 @endif byacc
6695 .PHONY: configure-bzip2 maybe-configure-bzip2
6696 maybe-configure-bzip2:
6697 @if bzip2
6698 maybe-configure-bzip2: configure-bzip2
6699 configure-bzip2:
6700 @: $(MAKE); $(unstage)
6701 @r=`${PWD_COMMAND}`; export r; \
6702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6703 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6705 $(HOST_EXPORTS) \
6706 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6707 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6708 case $(srcdir) in \
6709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6710 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6712 esac; \
6713 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6714 libsrcdir="$$s/bzip2"; \
6715 $(SHELL) $${libsrcdir}/configure \
6716 $(HOST_CONFIGARGS) $${srcdiroption} \
6717 || exit 1
6718 @endif bzip2
6724 .PHONY: all-bzip2 maybe-all-bzip2
6725 maybe-all-bzip2:
6726 @if bzip2
6727 TARGET-bzip2=all
6728 maybe-all-bzip2: all-bzip2
6729 all-bzip2: configure-bzip2
6730 @: $(MAKE); $(unstage)
6731 @r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6733 $(HOST_EXPORTS) \
6734 (cd $(HOST_SUBDIR)/bzip2 && \
6735 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6736 @endif bzip2
6741 .PHONY: check-bzip2 maybe-check-bzip2
6742 maybe-check-bzip2:
6743 @if bzip2
6744 maybe-check-bzip2: check-bzip2
6746 check-bzip2:
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) check)
6754 @endif bzip2
6756 .PHONY: install-bzip2 maybe-install-bzip2
6757 maybe-install-bzip2:
6758 @if bzip2
6759 maybe-install-bzip2: install-bzip2
6761 install-bzip2: installdirs
6762 @: $(MAKE); $(unstage)
6763 @r=`${PWD_COMMAND}`; export r; \
6764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6765 $(HOST_EXPORTS) \
6766 (cd $(HOST_SUBDIR)/bzip2 && \
6767 $(MAKE) $(FLAGS_TO_PASS) install)
6769 @endif bzip2
6771 # Other targets (info, dvi, etc.)
6773 .PHONY: maybe-info-bzip2 info-bzip2
6774 maybe-info-bzip2:
6775 @if bzip2
6776 maybe-info-bzip2: info-bzip2
6778 info-bzip2: \
6779 configure-bzip2
6780 @: $(MAKE); $(unstage)
6781 @[ -f ./bzip2/Makefile ] || exit 0; \
6782 r=`${PWD_COMMAND}`; export r; \
6783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6784 $(HOST_EXPORTS) \
6785 for flag in $(EXTRA_HOST_FLAGS) ; do \
6786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6787 done; \
6788 echo "Doing info in bzip2" ; \
6789 (cd $(HOST_SUBDIR)/bzip2 && \
6790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6792 "RANLIB=$${RANLIB}" \
6793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6794 info) \
6795 || exit 1
6797 @endif bzip2
6799 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6800 maybe-dvi-bzip2:
6801 @if bzip2
6802 maybe-dvi-bzip2: dvi-bzip2
6804 dvi-bzip2: \
6805 configure-bzip2
6806 @: $(MAKE); $(unstage)
6807 @[ -f ./bzip2/Makefile ] || exit 0; \
6808 r=`${PWD_COMMAND}`; export r; \
6809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6810 $(HOST_EXPORTS) \
6811 for flag in $(EXTRA_HOST_FLAGS) ; do \
6812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6813 done; \
6814 echo "Doing dvi in bzip2" ; \
6815 (cd $(HOST_SUBDIR)/bzip2 && \
6816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6818 "RANLIB=$${RANLIB}" \
6819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6820 dvi) \
6821 || exit 1
6823 @endif bzip2
6825 .PHONY: maybe-html-bzip2 html-bzip2
6826 maybe-html-bzip2:
6827 @if bzip2
6828 maybe-html-bzip2: html-bzip2
6830 html-bzip2: \
6831 configure-bzip2
6832 @: $(MAKE); $(unstage)
6833 @[ -f ./bzip2/Makefile ] || exit 0; \
6834 r=`${PWD_COMMAND}`; export r; \
6835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6836 $(HOST_EXPORTS) \
6837 for flag in $(EXTRA_HOST_FLAGS) ; do \
6838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6839 done; \
6840 echo "Doing html in bzip2" ; \
6841 (cd $(HOST_SUBDIR)/bzip2 && \
6842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6844 "RANLIB=$${RANLIB}" \
6845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6846 html) \
6847 || exit 1
6849 @endif bzip2
6851 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6852 maybe-TAGS-bzip2:
6853 @if bzip2
6854 maybe-TAGS-bzip2: TAGS-bzip2
6856 TAGS-bzip2: \
6857 configure-bzip2
6858 @: $(MAKE); $(unstage)
6859 @[ -f ./bzip2/Makefile ] || exit 0; \
6860 r=`${PWD_COMMAND}`; export r; \
6861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6862 $(HOST_EXPORTS) \
6863 for flag in $(EXTRA_HOST_FLAGS) ; do \
6864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6865 done; \
6866 echo "Doing TAGS in bzip2" ; \
6867 (cd $(HOST_SUBDIR)/bzip2 && \
6868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6870 "RANLIB=$${RANLIB}" \
6871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6872 TAGS) \
6873 || exit 1
6875 @endif bzip2
6877 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6878 maybe-install-info-bzip2:
6879 @if bzip2
6880 maybe-install-info-bzip2: install-info-bzip2
6882 install-info-bzip2: \
6883 configure-bzip2 \
6884 info-bzip2
6885 @: $(MAKE); $(unstage)
6886 @[ -f ./bzip2/Makefile ] || exit 0; \
6887 r=`${PWD_COMMAND}`; export r; \
6888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6889 $(HOST_EXPORTS) \
6890 for flag in $(EXTRA_HOST_FLAGS) ; do \
6891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6892 done; \
6893 echo "Doing install-info in bzip2" ; \
6894 (cd $(HOST_SUBDIR)/bzip2 && \
6895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6897 "RANLIB=$${RANLIB}" \
6898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6899 install-info) \
6900 || exit 1
6902 @endif bzip2
6904 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6905 maybe-installcheck-bzip2:
6906 @if bzip2
6907 maybe-installcheck-bzip2: installcheck-bzip2
6909 installcheck-bzip2: \
6910 configure-bzip2
6911 @: $(MAKE); $(unstage)
6912 @[ -f ./bzip2/Makefile ] || exit 0; \
6913 r=`${PWD_COMMAND}`; export r; \
6914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915 $(HOST_EXPORTS) \
6916 for flag in $(EXTRA_HOST_FLAGS) ; do \
6917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6918 done; \
6919 echo "Doing installcheck in bzip2" ; \
6920 (cd $(HOST_SUBDIR)/bzip2 && \
6921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6923 "RANLIB=$${RANLIB}" \
6924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6925 installcheck) \
6926 || exit 1
6928 @endif bzip2
6930 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6931 maybe-mostlyclean-bzip2:
6932 @if bzip2
6933 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6935 mostlyclean-bzip2:
6936 @: $(MAKE); $(unstage)
6937 @[ -f ./bzip2/Makefile ] || exit 0; \
6938 r=`${PWD_COMMAND}`; export r; \
6939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6940 $(HOST_EXPORTS) \
6941 for flag in $(EXTRA_HOST_FLAGS) ; do \
6942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6943 done; \
6944 echo "Doing mostlyclean in bzip2" ; \
6945 (cd $(HOST_SUBDIR)/bzip2 && \
6946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6948 "RANLIB=$${RANLIB}" \
6949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6950 mostlyclean) \
6951 || exit 1
6953 @endif bzip2
6955 .PHONY: maybe-clean-bzip2 clean-bzip2
6956 maybe-clean-bzip2:
6957 @if bzip2
6958 maybe-clean-bzip2: clean-bzip2
6960 clean-bzip2:
6961 @: $(MAKE); $(unstage)
6962 @[ -f ./bzip2/Makefile ] || exit 0; \
6963 r=`${PWD_COMMAND}`; export r; \
6964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965 $(HOST_EXPORTS) \
6966 for flag in $(EXTRA_HOST_FLAGS) ; do \
6967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6968 done; \
6969 echo "Doing clean in bzip2" ; \
6970 (cd $(HOST_SUBDIR)/bzip2 && \
6971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6973 "RANLIB=$${RANLIB}" \
6974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6975 clean) \
6976 || exit 1
6978 @endif bzip2
6980 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6981 maybe-distclean-bzip2:
6982 @if bzip2
6983 maybe-distclean-bzip2: distclean-bzip2
6985 distclean-bzip2:
6986 @: $(MAKE); $(unstage)
6987 @[ -f ./bzip2/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(HOST_EXPORTS) \
6991 for flag in $(EXTRA_HOST_FLAGS) ; do \
6992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6993 done; \
6994 echo "Doing distclean in bzip2" ; \
6995 (cd $(HOST_SUBDIR)/bzip2 && \
6996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6998 "RANLIB=$${RANLIB}" \
6999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7000 distclean) \
7001 || exit 1
7003 @endif bzip2
7005 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7006 maybe-maintainer-clean-bzip2:
7007 @if bzip2
7008 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7010 maintainer-clean-bzip2:
7011 @: $(MAKE); $(unstage)
7012 @[ -f ./bzip2/Makefile ] || exit 0; \
7013 r=`${PWD_COMMAND}`; export r; \
7014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7015 $(HOST_EXPORTS) \
7016 for flag in $(EXTRA_HOST_FLAGS) ; do \
7017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7018 done; \
7019 echo "Doing maintainer-clean in bzip2" ; \
7020 (cd $(HOST_SUBDIR)/bzip2 && \
7021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7023 "RANLIB=$${RANLIB}" \
7024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7025 maintainer-clean) \
7026 || exit 1
7028 @endif bzip2
7032 .PHONY: configure-dejagnu maybe-configure-dejagnu
7033 maybe-configure-dejagnu:
7034 @if dejagnu
7035 maybe-configure-dejagnu: configure-dejagnu
7036 configure-dejagnu:
7037 @: $(MAKE); $(unstage)
7038 @r=`${PWD_COMMAND}`; export r; \
7039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7040 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7042 $(HOST_EXPORTS) \
7043 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7044 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7045 case $(srcdir) in \
7046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7047 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7049 esac; \
7050 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7051 libsrcdir="$$s/dejagnu"; \
7052 $(SHELL) $${libsrcdir}/configure \
7053 $(HOST_CONFIGARGS) $${srcdiroption} \
7054 || exit 1
7055 @endif dejagnu
7061 .PHONY: all-dejagnu maybe-all-dejagnu
7062 maybe-all-dejagnu:
7063 @if dejagnu
7064 TARGET-dejagnu=all
7065 maybe-all-dejagnu: all-dejagnu
7066 all-dejagnu: configure-dejagnu
7067 @: $(MAKE); $(unstage)
7068 @r=`${PWD_COMMAND}`; export r; \
7069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7070 $(HOST_EXPORTS) \
7071 (cd $(HOST_SUBDIR)/dejagnu && \
7072 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7073 @endif dejagnu
7078 .PHONY: check-dejagnu maybe-check-dejagnu
7079 maybe-check-dejagnu:
7080 @if dejagnu
7081 maybe-check-dejagnu: check-dejagnu
7083 check-dejagnu:
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) check)
7091 @endif dejagnu
7093 .PHONY: install-dejagnu maybe-install-dejagnu
7094 maybe-install-dejagnu:
7095 @if dejagnu
7096 maybe-install-dejagnu: install-dejagnu
7098 install-dejagnu: installdirs
7099 @: $(MAKE); $(unstage)
7100 @r=`${PWD_COMMAND}`; export r; \
7101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7102 $(HOST_EXPORTS) \
7103 (cd $(HOST_SUBDIR)/dejagnu && \
7104 $(MAKE) $(FLAGS_TO_PASS) install)
7106 @endif dejagnu
7108 # Other targets (info, dvi, etc.)
7110 .PHONY: maybe-info-dejagnu info-dejagnu
7111 maybe-info-dejagnu:
7112 @if dejagnu
7113 maybe-info-dejagnu: info-dejagnu
7115 info-dejagnu: \
7116 configure-dejagnu
7117 @: $(MAKE); $(unstage)
7118 @[ -f ./dejagnu/Makefile ] || exit 0; \
7119 r=`${PWD_COMMAND}`; export r; \
7120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121 $(HOST_EXPORTS) \
7122 for flag in $(EXTRA_HOST_FLAGS) ; do \
7123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7124 done; \
7125 echo "Doing info in dejagnu" ; \
7126 (cd $(HOST_SUBDIR)/dejagnu && \
7127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7129 "RANLIB=$${RANLIB}" \
7130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7131 info) \
7132 || exit 1
7134 @endif dejagnu
7136 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7137 maybe-dvi-dejagnu:
7138 @if dejagnu
7139 maybe-dvi-dejagnu: dvi-dejagnu
7141 dvi-dejagnu: \
7142 configure-dejagnu
7143 @: $(MAKE); $(unstage)
7144 @[ -f ./dejagnu/Makefile ] || exit 0; \
7145 r=`${PWD_COMMAND}`; export r; \
7146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7147 $(HOST_EXPORTS) \
7148 for flag in $(EXTRA_HOST_FLAGS) ; do \
7149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7150 done; \
7151 echo "Doing dvi in dejagnu" ; \
7152 (cd $(HOST_SUBDIR)/dejagnu && \
7153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7155 "RANLIB=$${RANLIB}" \
7156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7157 dvi) \
7158 || exit 1
7160 @endif dejagnu
7162 .PHONY: maybe-html-dejagnu html-dejagnu
7163 maybe-html-dejagnu:
7164 @if dejagnu
7165 maybe-html-dejagnu: html-dejagnu
7167 html-dejagnu: \
7168 configure-dejagnu
7169 @: $(MAKE); $(unstage)
7170 @[ -f ./dejagnu/Makefile ] || exit 0; \
7171 r=`${PWD_COMMAND}`; export r; \
7172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7173 $(HOST_EXPORTS) \
7174 for flag in $(EXTRA_HOST_FLAGS) ; do \
7175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7176 done; \
7177 echo "Doing html in dejagnu" ; \
7178 (cd $(HOST_SUBDIR)/dejagnu && \
7179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7181 "RANLIB=$${RANLIB}" \
7182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7183 html) \
7184 || exit 1
7186 @endif dejagnu
7188 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7189 maybe-TAGS-dejagnu:
7190 @if dejagnu
7191 maybe-TAGS-dejagnu: TAGS-dejagnu
7193 TAGS-dejagnu: \
7194 configure-dejagnu
7195 @: $(MAKE); $(unstage)
7196 @[ -f ./dejagnu/Makefile ] || exit 0; \
7197 r=`${PWD_COMMAND}`; export r; \
7198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7199 $(HOST_EXPORTS) \
7200 for flag in $(EXTRA_HOST_FLAGS) ; do \
7201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7202 done; \
7203 echo "Doing TAGS in dejagnu" ; \
7204 (cd $(HOST_SUBDIR)/dejagnu && \
7205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7207 "RANLIB=$${RANLIB}" \
7208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7209 TAGS) \
7210 || exit 1
7212 @endif dejagnu
7214 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7215 maybe-install-info-dejagnu:
7216 @if dejagnu
7217 maybe-install-info-dejagnu: install-info-dejagnu
7219 install-info-dejagnu: \
7220 configure-dejagnu \
7221 info-dejagnu
7222 @: $(MAKE); $(unstage)
7223 @[ -f ./dejagnu/Makefile ] || exit 0; \
7224 r=`${PWD_COMMAND}`; export r; \
7225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7226 $(HOST_EXPORTS) \
7227 for flag in $(EXTRA_HOST_FLAGS) ; do \
7228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7229 done; \
7230 echo "Doing install-info in dejagnu" ; \
7231 (cd $(HOST_SUBDIR)/dejagnu && \
7232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7234 "RANLIB=$${RANLIB}" \
7235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7236 install-info) \
7237 || exit 1
7239 @endif dejagnu
7241 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7242 maybe-installcheck-dejagnu:
7243 @if dejagnu
7244 maybe-installcheck-dejagnu: installcheck-dejagnu
7246 installcheck-dejagnu: \
7247 configure-dejagnu
7248 @: $(MAKE); $(unstage)
7249 @[ -f ./dejagnu/Makefile ] || exit 0; \
7250 r=`${PWD_COMMAND}`; export r; \
7251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7252 $(HOST_EXPORTS) \
7253 for flag in $(EXTRA_HOST_FLAGS) ; do \
7254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7255 done; \
7256 echo "Doing installcheck in dejagnu" ; \
7257 (cd $(HOST_SUBDIR)/dejagnu && \
7258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7260 "RANLIB=$${RANLIB}" \
7261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7262 installcheck) \
7263 || exit 1
7265 @endif dejagnu
7267 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7268 maybe-mostlyclean-dejagnu:
7269 @if dejagnu
7270 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7272 mostlyclean-dejagnu:
7273 @: $(MAKE); $(unstage)
7274 @[ -f ./dejagnu/Makefile ] || exit 0; \
7275 r=`${PWD_COMMAND}`; export r; \
7276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7277 $(HOST_EXPORTS) \
7278 for flag in $(EXTRA_HOST_FLAGS) ; do \
7279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7280 done; \
7281 echo "Doing mostlyclean in dejagnu" ; \
7282 (cd $(HOST_SUBDIR)/dejagnu && \
7283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7285 "RANLIB=$${RANLIB}" \
7286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7287 mostlyclean) \
7288 || exit 1
7290 @endif dejagnu
7292 .PHONY: maybe-clean-dejagnu clean-dejagnu
7293 maybe-clean-dejagnu:
7294 @if dejagnu
7295 maybe-clean-dejagnu: clean-dejagnu
7297 clean-dejagnu:
7298 @: $(MAKE); $(unstage)
7299 @[ -f ./dejagnu/Makefile ] || exit 0; \
7300 r=`${PWD_COMMAND}`; export r; \
7301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7302 $(HOST_EXPORTS) \
7303 for flag in $(EXTRA_HOST_FLAGS) ; do \
7304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7305 done; \
7306 echo "Doing clean in dejagnu" ; \
7307 (cd $(HOST_SUBDIR)/dejagnu && \
7308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7310 "RANLIB=$${RANLIB}" \
7311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7312 clean) \
7313 || exit 1
7315 @endif dejagnu
7317 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7318 maybe-distclean-dejagnu:
7319 @if dejagnu
7320 maybe-distclean-dejagnu: distclean-dejagnu
7322 distclean-dejagnu:
7323 @: $(MAKE); $(unstage)
7324 @[ -f ./dejagnu/Makefile ] || exit 0; \
7325 r=`${PWD_COMMAND}`; export r; \
7326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7327 $(HOST_EXPORTS) \
7328 for flag in $(EXTRA_HOST_FLAGS) ; do \
7329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7330 done; \
7331 echo "Doing distclean in dejagnu" ; \
7332 (cd $(HOST_SUBDIR)/dejagnu && \
7333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7335 "RANLIB=$${RANLIB}" \
7336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7337 distclean) \
7338 || exit 1
7340 @endif dejagnu
7342 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7343 maybe-maintainer-clean-dejagnu:
7344 @if dejagnu
7345 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7347 maintainer-clean-dejagnu:
7348 @: $(MAKE); $(unstage)
7349 @[ -f ./dejagnu/Makefile ] || exit 0; \
7350 r=`${PWD_COMMAND}`; export r; \
7351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 $(HOST_EXPORTS) \
7353 for flag in $(EXTRA_HOST_FLAGS) ; do \
7354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7355 done; \
7356 echo "Doing maintainer-clean in dejagnu" ; \
7357 (cd $(HOST_SUBDIR)/dejagnu && \
7358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7360 "RANLIB=$${RANLIB}" \
7361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7362 maintainer-clean) \
7363 || exit 1
7365 @endif dejagnu
7369 .PHONY: configure-diff maybe-configure-diff
7370 maybe-configure-diff:
7371 @if diff
7372 maybe-configure-diff: configure-diff
7373 configure-diff:
7374 @: $(MAKE); $(unstage)
7375 @r=`${PWD_COMMAND}`; export r; \
7376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7379 $(HOST_EXPORTS) \
7380 echo Configuring in $(HOST_SUBDIR)/diff; \
7381 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7382 case $(srcdir) in \
7383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7384 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7386 esac; \
7387 srcdiroption="--srcdir=$${topdir}/diff"; \
7388 libsrcdir="$$s/diff"; \
7389 $(SHELL) $${libsrcdir}/configure \
7390 $(HOST_CONFIGARGS) $${srcdiroption} \
7391 || exit 1
7392 @endif diff
7398 .PHONY: all-diff maybe-all-diff
7399 maybe-all-diff:
7400 @if diff
7401 TARGET-diff=all
7402 maybe-all-diff: all-diff
7403 all-diff: configure-diff
7404 @: $(MAKE); $(unstage)
7405 @r=`${PWD_COMMAND}`; export r; \
7406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7407 $(HOST_EXPORTS) \
7408 (cd $(HOST_SUBDIR)/diff && \
7409 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7410 @endif diff
7415 .PHONY: check-diff maybe-check-diff
7416 maybe-check-diff:
7417 @if diff
7418 maybe-check-diff: check-diff
7420 check-diff:
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) check)
7428 @endif diff
7430 .PHONY: install-diff maybe-install-diff
7431 maybe-install-diff:
7432 @if diff
7433 maybe-install-diff: install-diff
7435 install-diff: installdirs
7436 @: $(MAKE); $(unstage)
7437 @r=`${PWD_COMMAND}`; export r; \
7438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7439 $(HOST_EXPORTS) \
7440 (cd $(HOST_SUBDIR)/diff && \
7441 $(MAKE) $(FLAGS_TO_PASS) install)
7443 @endif diff
7445 # Other targets (info, dvi, etc.)
7447 .PHONY: maybe-info-diff info-diff
7448 maybe-info-diff:
7449 @if diff
7450 maybe-info-diff: info-diff
7452 info-diff: \
7453 configure-diff
7454 @: $(MAKE); $(unstage)
7455 @[ -f ./diff/Makefile ] || exit 0; \
7456 r=`${PWD_COMMAND}`; export r; \
7457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458 $(HOST_EXPORTS) \
7459 for flag in $(EXTRA_HOST_FLAGS) ; do \
7460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7461 done; \
7462 echo "Doing info in diff" ; \
7463 (cd $(HOST_SUBDIR)/diff && \
7464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7466 "RANLIB=$${RANLIB}" \
7467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7468 info) \
7469 || exit 1
7471 @endif diff
7473 .PHONY: maybe-dvi-diff dvi-diff
7474 maybe-dvi-diff:
7475 @if diff
7476 maybe-dvi-diff: dvi-diff
7478 dvi-diff: \
7479 configure-diff
7480 @: $(MAKE); $(unstage)
7481 @[ -f ./diff/Makefile ] || exit 0; \
7482 r=`${PWD_COMMAND}`; export r; \
7483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7484 $(HOST_EXPORTS) \
7485 for flag in $(EXTRA_HOST_FLAGS) ; do \
7486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7487 done; \
7488 echo "Doing dvi in diff" ; \
7489 (cd $(HOST_SUBDIR)/diff && \
7490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7492 "RANLIB=$${RANLIB}" \
7493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7494 dvi) \
7495 || exit 1
7497 @endif diff
7499 .PHONY: maybe-html-diff html-diff
7500 maybe-html-diff:
7501 @if diff
7502 maybe-html-diff: html-diff
7504 html-diff: \
7505 configure-diff
7506 @: $(MAKE); $(unstage)
7507 @[ -f ./diff/Makefile ] || exit 0; \
7508 r=`${PWD_COMMAND}`; export r; \
7509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7510 $(HOST_EXPORTS) \
7511 for flag in $(EXTRA_HOST_FLAGS) ; do \
7512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7513 done; \
7514 echo "Doing html in diff" ; \
7515 (cd $(HOST_SUBDIR)/diff && \
7516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7518 "RANLIB=$${RANLIB}" \
7519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7520 html) \
7521 || exit 1
7523 @endif diff
7525 .PHONY: maybe-TAGS-diff TAGS-diff
7526 maybe-TAGS-diff:
7527 @if diff
7528 maybe-TAGS-diff: TAGS-diff
7530 TAGS-diff: \
7531 configure-diff
7532 @: $(MAKE); $(unstage)
7533 @[ -f ./diff/Makefile ] || exit 0; \
7534 r=`${PWD_COMMAND}`; export r; \
7535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7536 $(HOST_EXPORTS) \
7537 for flag in $(EXTRA_HOST_FLAGS) ; do \
7538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7539 done; \
7540 echo "Doing TAGS in diff" ; \
7541 (cd $(HOST_SUBDIR)/diff && \
7542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7544 "RANLIB=$${RANLIB}" \
7545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7546 TAGS) \
7547 || exit 1
7549 @endif diff
7551 .PHONY: maybe-install-info-diff install-info-diff
7552 maybe-install-info-diff:
7553 @if diff
7554 maybe-install-info-diff: install-info-diff
7556 install-info-diff: \
7557 configure-diff \
7558 info-diff
7559 @: $(MAKE); $(unstage)
7560 @[ -f ./diff/Makefile ] || exit 0; \
7561 r=`${PWD_COMMAND}`; export r; \
7562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7563 $(HOST_EXPORTS) \
7564 for flag in $(EXTRA_HOST_FLAGS) ; do \
7565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7566 done; \
7567 echo "Doing install-info in diff" ; \
7568 (cd $(HOST_SUBDIR)/diff && \
7569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7571 "RANLIB=$${RANLIB}" \
7572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7573 install-info) \
7574 || exit 1
7576 @endif diff
7578 .PHONY: maybe-installcheck-diff installcheck-diff
7579 maybe-installcheck-diff:
7580 @if diff
7581 maybe-installcheck-diff: installcheck-diff
7583 installcheck-diff: \
7584 configure-diff
7585 @: $(MAKE); $(unstage)
7586 @[ -f ./diff/Makefile ] || exit 0; \
7587 r=`${PWD_COMMAND}`; export r; \
7588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7589 $(HOST_EXPORTS) \
7590 for flag in $(EXTRA_HOST_FLAGS) ; do \
7591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7592 done; \
7593 echo "Doing installcheck in diff" ; \
7594 (cd $(HOST_SUBDIR)/diff && \
7595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7597 "RANLIB=$${RANLIB}" \
7598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7599 installcheck) \
7600 || exit 1
7602 @endif diff
7604 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7605 maybe-mostlyclean-diff:
7606 @if diff
7607 maybe-mostlyclean-diff: mostlyclean-diff
7609 mostlyclean-diff:
7610 @: $(MAKE); $(unstage)
7611 @[ -f ./diff/Makefile ] || exit 0; \
7612 r=`${PWD_COMMAND}`; export r; \
7613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7614 $(HOST_EXPORTS) \
7615 for flag in $(EXTRA_HOST_FLAGS) ; do \
7616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7617 done; \
7618 echo "Doing mostlyclean in diff" ; \
7619 (cd $(HOST_SUBDIR)/diff && \
7620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7622 "RANLIB=$${RANLIB}" \
7623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7624 mostlyclean) \
7625 || exit 1
7627 @endif diff
7629 .PHONY: maybe-clean-diff clean-diff
7630 maybe-clean-diff:
7631 @if diff
7632 maybe-clean-diff: clean-diff
7634 clean-diff:
7635 @: $(MAKE); $(unstage)
7636 @[ -f ./diff/Makefile ] || exit 0; \
7637 r=`${PWD_COMMAND}`; export r; \
7638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7639 $(HOST_EXPORTS) \
7640 for flag in $(EXTRA_HOST_FLAGS) ; do \
7641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7642 done; \
7643 echo "Doing clean in diff" ; \
7644 (cd $(HOST_SUBDIR)/diff && \
7645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7647 "RANLIB=$${RANLIB}" \
7648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7649 clean) \
7650 || exit 1
7652 @endif diff
7654 .PHONY: maybe-distclean-diff distclean-diff
7655 maybe-distclean-diff:
7656 @if diff
7657 maybe-distclean-diff: distclean-diff
7659 distclean-diff:
7660 @: $(MAKE); $(unstage)
7661 @[ -f ./diff/Makefile ] || exit 0; \
7662 r=`${PWD_COMMAND}`; export r; \
7663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7664 $(HOST_EXPORTS) \
7665 for flag in $(EXTRA_HOST_FLAGS) ; do \
7666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7667 done; \
7668 echo "Doing distclean in diff" ; \
7669 (cd $(HOST_SUBDIR)/diff && \
7670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7672 "RANLIB=$${RANLIB}" \
7673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7674 distclean) \
7675 || exit 1
7677 @endif diff
7679 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7680 maybe-maintainer-clean-diff:
7681 @if diff
7682 maybe-maintainer-clean-diff: maintainer-clean-diff
7684 maintainer-clean-diff:
7685 @: $(MAKE); $(unstage)
7686 @[ -f ./diff/Makefile ] || exit 0; \
7687 r=`${PWD_COMMAND}`; export r; \
7688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7689 $(HOST_EXPORTS) \
7690 for flag in $(EXTRA_HOST_FLAGS) ; do \
7691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7692 done; \
7693 echo "Doing maintainer-clean in diff" ; \
7694 (cd $(HOST_SUBDIR)/diff && \
7695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7697 "RANLIB=$${RANLIB}" \
7698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7699 maintainer-clean) \
7700 || exit 1
7702 @endif diff
7706 .PHONY: configure-dosutils maybe-configure-dosutils
7707 maybe-configure-dosutils:
7708 @if dosutils
7709 maybe-configure-dosutils: configure-dosutils
7710 configure-dosutils:
7711 @: $(MAKE); $(unstage)
7712 @r=`${PWD_COMMAND}`; export r; \
7713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7714 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7716 $(HOST_EXPORTS) \
7717 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7718 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7719 case $(srcdir) in \
7720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7721 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7723 esac; \
7724 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7725 libsrcdir="$$s/dosutils"; \
7726 $(SHELL) $${libsrcdir}/configure \
7727 $(HOST_CONFIGARGS) $${srcdiroption} \
7728 || exit 1
7729 @endif dosutils
7735 .PHONY: all-dosutils maybe-all-dosutils
7736 maybe-all-dosutils:
7737 @if dosutils
7738 TARGET-dosutils=all
7739 maybe-all-dosutils: all-dosutils
7740 all-dosutils: configure-dosutils
7741 @: $(MAKE); $(unstage)
7742 @r=`${PWD_COMMAND}`; export r; \
7743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7744 $(HOST_EXPORTS) \
7745 (cd $(HOST_SUBDIR)/dosutils && \
7746 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7747 @endif dosutils
7752 .PHONY: check-dosutils maybe-check-dosutils
7753 maybe-check-dosutils:
7754 @if dosutils
7755 maybe-check-dosutils: check-dosutils
7757 check-dosutils:
7759 @endif dosutils
7761 .PHONY: install-dosutils maybe-install-dosutils
7762 maybe-install-dosutils:
7763 @if dosutils
7764 maybe-install-dosutils: install-dosutils
7766 install-dosutils: installdirs
7767 @: $(MAKE); $(unstage)
7768 @r=`${PWD_COMMAND}`; export r; \
7769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7770 $(HOST_EXPORTS) \
7771 (cd $(HOST_SUBDIR)/dosutils && \
7772 $(MAKE) $(FLAGS_TO_PASS) install)
7774 @endif dosutils
7776 # Other targets (info, dvi, etc.)
7778 .PHONY: maybe-info-dosutils info-dosutils
7779 maybe-info-dosutils:
7780 @if dosutils
7781 maybe-info-dosutils: info-dosutils
7783 info-dosutils: \
7784 configure-dosutils
7785 @: $(MAKE); $(unstage)
7786 @[ -f ./dosutils/Makefile ] || exit 0; \
7787 r=`${PWD_COMMAND}`; export r; \
7788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7789 $(HOST_EXPORTS) \
7790 for flag in $(EXTRA_HOST_FLAGS) ; do \
7791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7792 done; \
7793 echo "Doing info in dosutils" ; \
7794 (cd $(HOST_SUBDIR)/dosutils && \
7795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7797 "RANLIB=$${RANLIB}" \
7798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7799 info) \
7800 || exit 1
7802 @endif dosutils
7804 .PHONY: maybe-dvi-dosutils dvi-dosutils
7805 maybe-dvi-dosutils:
7806 @if dosutils
7807 maybe-dvi-dosutils: dvi-dosutils
7809 dvi-dosutils: \
7810 configure-dosutils
7811 @: $(MAKE); $(unstage)
7812 @[ -f ./dosutils/Makefile ] || exit 0; \
7813 r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7815 $(HOST_EXPORTS) \
7816 for flag in $(EXTRA_HOST_FLAGS) ; do \
7817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7818 done; \
7819 echo "Doing dvi in dosutils" ; \
7820 (cd $(HOST_SUBDIR)/dosutils && \
7821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7823 "RANLIB=$${RANLIB}" \
7824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7825 dvi) \
7826 || exit 1
7828 @endif dosutils
7830 .PHONY: maybe-html-dosutils html-dosutils
7831 maybe-html-dosutils:
7832 @if dosutils
7833 maybe-html-dosutils: html-dosutils
7835 html-dosutils: \
7836 configure-dosutils
7837 @: $(MAKE); $(unstage)
7838 @[ -f ./dosutils/Makefile ] || exit 0; \
7839 r=`${PWD_COMMAND}`; export r; \
7840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7841 $(HOST_EXPORTS) \
7842 for flag in $(EXTRA_HOST_FLAGS) ; do \
7843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7844 done; \
7845 echo "Doing html in dosutils" ; \
7846 (cd $(HOST_SUBDIR)/dosutils && \
7847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7849 "RANLIB=$${RANLIB}" \
7850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7851 html) \
7852 || exit 1
7854 @endif dosutils
7856 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7857 maybe-TAGS-dosutils:
7858 @if dosutils
7859 maybe-TAGS-dosutils: TAGS-dosutils
7861 TAGS-dosutils: \
7862 configure-dosutils
7863 @: $(MAKE); $(unstage)
7864 @[ -f ./dosutils/Makefile ] || exit 0; \
7865 r=`${PWD_COMMAND}`; export r; \
7866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7867 $(HOST_EXPORTS) \
7868 for flag in $(EXTRA_HOST_FLAGS) ; do \
7869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7870 done; \
7871 echo "Doing TAGS in dosutils" ; \
7872 (cd $(HOST_SUBDIR)/dosutils && \
7873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7875 "RANLIB=$${RANLIB}" \
7876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7877 TAGS) \
7878 || exit 1
7880 @endif dosutils
7882 .PHONY: maybe-install-info-dosutils install-info-dosutils
7883 maybe-install-info-dosutils:
7884 @if dosutils
7885 maybe-install-info-dosutils: install-info-dosutils
7887 install-info-dosutils: \
7888 configure-dosutils \
7889 info-dosutils
7890 @: $(MAKE); $(unstage)
7891 @[ -f ./dosutils/Makefile ] || exit 0; \
7892 r=`${PWD_COMMAND}`; export r; \
7893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7894 $(HOST_EXPORTS) \
7895 for flag in $(EXTRA_HOST_FLAGS) ; do \
7896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7897 done; \
7898 echo "Doing install-info in dosutils" ; \
7899 (cd $(HOST_SUBDIR)/dosutils && \
7900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7902 "RANLIB=$${RANLIB}" \
7903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7904 install-info) \
7905 || exit 1
7907 @endif dosutils
7909 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7910 maybe-installcheck-dosutils:
7911 @if dosutils
7912 maybe-installcheck-dosutils: installcheck-dosutils
7914 installcheck-dosutils: \
7915 configure-dosutils
7916 @: $(MAKE); $(unstage)
7917 @[ -f ./dosutils/Makefile ] || exit 0; \
7918 r=`${PWD_COMMAND}`; export r; \
7919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7920 $(HOST_EXPORTS) \
7921 for flag in $(EXTRA_HOST_FLAGS) ; do \
7922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7923 done; \
7924 echo "Doing installcheck in dosutils" ; \
7925 (cd $(HOST_SUBDIR)/dosutils && \
7926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7928 "RANLIB=$${RANLIB}" \
7929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7930 installcheck) \
7931 || exit 1
7933 @endif dosutils
7935 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7936 maybe-mostlyclean-dosutils:
7937 @if dosutils
7938 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7940 mostlyclean-dosutils:
7941 @: $(MAKE); $(unstage)
7942 @[ -f ./dosutils/Makefile ] || exit 0; \
7943 r=`${PWD_COMMAND}`; export r; \
7944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7945 $(HOST_EXPORTS) \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7948 done; \
7949 echo "Doing mostlyclean in dosutils" ; \
7950 (cd $(HOST_SUBDIR)/dosutils && \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7955 mostlyclean) \
7956 || exit 1
7958 @endif dosutils
7960 .PHONY: maybe-clean-dosutils clean-dosutils
7961 maybe-clean-dosutils:
7962 @if dosutils
7963 maybe-clean-dosutils: clean-dosutils
7965 clean-dosutils:
7966 @: $(MAKE); $(unstage)
7967 @[ -f ./dosutils/Makefile ] || exit 0; \
7968 r=`${PWD_COMMAND}`; export r; \
7969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7970 $(HOST_EXPORTS) \
7971 for flag in $(EXTRA_HOST_FLAGS) ; do \
7972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7973 done; \
7974 echo "Doing clean in dosutils" ; \
7975 (cd $(HOST_SUBDIR)/dosutils && \
7976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7978 "RANLIB=$${RANLIB}" \
7979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7980 clean) \
7981 || exit 1
7983 @endif dosutils
7985 .PHONY: maybe-distclean-dosutils distclean-dosutils
7986 maybe-distclean-dosutils:
7987 @if dosutils
7988 maybe-distclean-dosutils: distclean-dosutils
7990 distclean-dosutils:
7991 @: $(MAKE); $(unstage)
7992 @[ -f ./dosutils/Makefile ] || exit 0; \
7993 r=`${PWD_COMMAND}`; export r; \
7994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7995 $(HOST_EXPORTS) \
7996 for flag in $(EXTRA_HOST_FLAGS) ; do \
7997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7998 done; \
7999 echo "Doing distclean in dosutils" ; \
8000 (cd $(HOST_SUBDIR)/dosutils && \
8001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8003 "RANLIB=$${RANLIB}" \
8004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8005 distclean) \
8006 || exit 1
8008 @endif dosutils
8010 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8011 maybe-maintainer-clean-dosutils:
8012 @if dosutils
8013 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8015 maintainer-clean-dosutils:
8016 @: $(MAKE); $(unstage)
8017 @[ -f ./dosutils/Makefile ] || exit 0; \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8020 $(HOST_EXPORTS) \
8021 for flag in $(EXTRA_HOST_FLAGS) ; do \
8022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8023 done; \
8024 echo "Doing maintainer-clean in dosutils" ; \
8025 (cd $(HOST_SUBDIR)/dosutils && \
8026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8028 "RANLIB=$${RANLIB}" \
8029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8030 maintainer-clean) \
8031 || exit 1
8033 @endif dosutils
8037 .PHONY: configure-etc maybe-configure-etc
8038 maybe-configure-etc:
8039 @if etc
8040 maybe-configure-etc: configure-etc
8041 configure-etc:
8042 @: $(MAKE); $(unstage)
8043 @r=`${PWD_COMMAND}`; export r; \
8044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8045 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8047 $(HOST_EXPORTS) \
8048 echo Configuring in $(HOST_SUBDIR)/etc; \
8049 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8050 case $(srcdir) in \
8051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8052 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8054 esac; \
8055 srcdiroption="--srcdir=$${topdir}/etc"; \
8056 libsrcdir="$$s/etc"; \
8057 $(SHELL) $${libsrcdir}/configure \
8058 $(HOST_CONFIGARGS) $${srcdiroption} \
8059 || exit 1
8060 @endif etc
8066 .PHONY: all-etc maybe-all-etc
8067 maybe-all-etc:
8068 @if etc
8069 TARGET-etc=all
8070 maybe-all-etc: all-etc
8071 all-etc: configure-etc
8072 @: $(MAKE); $(unstage)
8073 @r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(HOST_EXPORTS) \
8076 (cd $(HOST_SUBDIR)/etc && \
8077 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8078 @endif etc
8083 .PHONY: check-etc maybe-check-etc
8084 maybe-check-etc:
8085 @if etc
8086 maybe-check-etc: check-etc
8088 check-etc:
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) check)
8096 @endif etc
8098 .PHONY: install-etc maybe-install-etc
8099 maybe-install-etc:
8100 @if etc
8101 maybe-install-etc: install-etc
8103 install-etc: installdirs
8104 @: $(MAKE); $(unstage)
8105 @r=`${PWD_COMMAND}`; export r; \
8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8107 $(HOST_EXPORTS) \
8108 (cd $(HOST_SUBDIR)/etc && \
8109 $(MAKE) $(FLAGS_TO_PASS) install)
8111 @endif etc
8113 # Other targets (info, dvi, etc.)
8115 .PHONY: maybe-info-etc info-etc
8116 maybe-info-etc:
8117 @if etc
8118 maybe-info-etc: info-etc
8120 info-etc: \
8121 configure-etc
8122 @: $(MAKE); $(unstage)
8123 @[ -f ./etc/Makefile ] || exit 0; \
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 $(HOST_EXPORTS) \
8127 for flag in $(EXTRA_HOST_FLAGS) ; do \
8128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8129 done; \
8130 echo "Doing info in etc" ; \
8131 (cd $(HOST_SUBDIR)/etc && \
8132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8134 "RANLIB=$${RANLIB}" \
8135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8136 info) \
8137 || exit 1
8139 @endif etc
8141 .PHONY: maybe-dvi-etc dvi-etc
8142 maybe-dvi-etc:
8143 @if etc
8144 maybe-dvi-etc: dvi-etc
8146 dvi-etc: \
8147 configure-etc
8148 @: $(MAKE); $(unstage)
8149 @[ -f ./etc/Makefile ] || exit 0; \
8150 r=`${PWD_COMMAND}`; export r; \
8151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8152 $(HOST_EXPORTS) \
8153 for flag in $(EXTRA_HOST_FLAGS) ; do \
8154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8155 done; \
8156 echo "Doing dvi in etc" ; \
8157 (cd $(HOST_SUBDIR)/etc && \
8158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8160 "RANLIB=$${RANLIB}" \
8161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8162 dvi) \
8163 || exit 1
8165 @endif etc
8167 .PHONY: maybe-html-etc html-etc
8168 maybe-html-etc:
8169 @if etc
8170 maybe-html-etc: html-etc
8172 html-etc: \
8173 configure-etc
8174 @: $(MAKE); $(unstage)
8175 @[ -f ./etc/Makefile ] || exit 0; \
8176 r=`${PWD_COMMAND}`; export r; \
8177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8178 $(HOST_EXPORTS) \
8179 for flag in $(EXTRA_HOST_FLAGS) ; do \
8180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8181 done; \
8182 echo "Doing html in etc" ; \
8183 (cd $(HOST_SUBDIR)/etc && \
8184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8186 "RANLIB=$${RANLIB}" \
8187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8188 html) \
8189 || exit 1
8191 @endif etc
8193 .PHONY: maybe-TAGS-etc TAGS-etc
8194 maybe-TAGS-etc:
8195 @if etc
8196 maybe-TAGS-etc: TAGS-etc
8198 TAGS-etc: \
8199 configure-etc
8200 @: $(MAKE); $(unstage)
8201 @[ -f ./etc/Makefile ] || exit 0; \
8202 r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 $(HOST_EXPORTS) \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 done; \
8208 echo "Doing TAGS in etc" ; \
8209 (cd $(HOST_SUBDIR)/etc && \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8214 TAGS) \
8215 || exit 1
8217 @endif etc
8219 .PHONY: maybe-install-info-etc install-info-etc
8220 maybe-install-info-etc:
8221 @if etc
8222 maybe-install-info-etc: install-info-etc
8224 install-info-etc: \
8225 configure-etc \
8226 info-etc
8227 @: $(MAKE); $(unstage)
8228 @[ -f ./etc/Makefile ] || exit 0; \
8229 r=`${PWD_COMMAND}`; export r; \
8230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8231 $(HOST_EXPORTS) \
8232 for flag in $(EXTRA_HOST_FLAGS) ; do \
8233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8234 done; \
8235 echo "Doing install-info in etc" ; \
8236 (cd $(HOST_SUBDIR)/etc && \
8237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8239 "RANLIB=$${RANLIB}" \
8240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8241 install-info) \
8242 || exit 1
8244 @endif etc
8246 .PHONY: maybe-installcheck-etc installcheck-etc
8247 maybe-installcheck-etc:
8248 @if etc
8249 maybe-installcheck-etc: installcheck-etc
8251 installcheck-etc: \
8252 configure-etc
8253 @: $(MAKE); $(unstage)
8254 @[ -f ./etc/Makefile ] || exit 0; \
8255 r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8257 $(HOST_EXPORTS) \
8258 for flag in $(EXTRA_HOST_FLAGS) ; do \
8259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8260 done; \
8261 echo "Doing installcheck in etc" ; \
8262 (cd $(HOST_SUBDIR)/etc && \
8263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8265 "RANLIB=$${RANLIB}" \
8266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8267 installcheck) \
8268 || exit 1
8270 @endif etc
8272 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8273 maybe-mostlyclean-etc:
8274 @if etc
8275 maybe-mostlyclean-etc: mostlyclean-etc
8277 mostlyclean-etc:
8278 @: $(MAKE); $(unstage)
8279 @[ -f ./etc/Makefile ] || exit 0; \
8280 r=`${PWD_COMMAND}`; export r; \
8281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 $(HOST_EXPORTS) \
8283 for flag in $(EXTRA_HOST_FLAGS) ; do \
8284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8285 done; \
8286 echo "Doing mostlyclean in etc" ; \
8287 (cd $(HOST_SUBDIR)/etc && \
8288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8290 "RANLIB=$${RANLIB}" \
8291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8292 mostlyclean) \
8293 || exit 1
8295 @endif etc
8297 .PHONY: maybe-clean-etc clean-etc
8298 maybe-clean-etc:
8299 @if etc
8300 maybe-clean-etc: clean-etc
8302 clean-etc:
8303 @: $(MAKE); $(unstage)
8304 @[ -f ./etc/Makefile ] || exit 0; \
8305 r=`${PWD_COMMAND}`; export r; \
8306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8307 $(HOST_EXPORTS) \
8308 for flag in $(EXTRA_HOST_FLAGS) ; do \
8309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8310 done; \
8311 echo "Doing clean in etc" ; \
8312 (cd $(HOST_SUBDIR)/etc && \
8313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8315 "RANLIB=$${RANLIB}" \
8316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8317 clean) \
8318 || exit 1
8320 @endif etc
8322 .PHONY: maybe-distclean-etc distclean-etc
8323 maybe-distclean-etc:
8324 @if etc
8325 maybe-distclean-etc: distclean-etc
8327 distclean-etc:
8328 @: $(MAKE); $(unstage)
8329 @[ -f ./etc/Makefile ] || exit 0; \
8330 r=`${PWD_COMMAND}`; export r; \
8331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8332 $(HOST_EXPORTS) \
8333 for flag in $(EXTRA_HOST_FLAGS) ; do \
8334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8335 done; \
8336 echo "Doing distclean in etc" ; \
8337 (cd $(HOST_SUBDIR)/etc && \
8338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8340 "RANLIB=$${RANLIB}" \
8341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8342 distclean) \
8343 || exit 1
8345 @endif etc
8347 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8348 maybe-maintainer-clean-etc:
8349 @if etc
8350 maybe-maintainer-clean-etc: maintainer-clean-etc
8352 maintainer-clean-etc:
8353 @: $(MAKE); $(unstage)
8354 @[ -f ./etc/Makefile ] || exit 0; \
8355 r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(HOST_EXPORTS) \
8358 for flag in $(EXTRA_HOST_FLAGS) ; do \
8359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8360 done; \
8361 echo "Doing maintainer-clean in etc" ; \
8362 (cd $(HOST_SUBDIR)/etc && \
8363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8365 "RANLIB=$${RANLIB}" \
8366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8367 maintainer-clean) \
8368 || exit 1
8370 @endif etc
8374 .PHONY: configure-expat maybe-configure-expat
8375 maybe-configure-expat:
8376 @if expat
8377 maybe-configure-expat: configure-expat
8378 configure-expat:
8379 @: $(MAKE); $(unstage)
8380 @r=`${PWD_COMMAND}`; export r; \
8381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8382 test ! -f $(HOST_SUBDIR)/expat/Makefile || exit 0; \
8383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expat ; \
8384 $(HOST_EXPORTS) \
8385 echo Configuring in $(HOST_SUBDIR)/expat; \
8386 cd "$(HOST_SUBDIR)/expat" || exit 1; \
8387 case $(srcdir) in \
8388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8389 *) topdir=`echo $(HOST_SUBDIR)/expat/ | \
8390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8391 esac; \
8392 srcdiroption="--srcdir=$${topdir}/expat"; \
8393 libsrcdir="$$s/expat"; \
8394 $(SHELL) $${libsrcdir}/configure \
8395 $(HOST_CONFIGARGS) $${srcdiroption} \
8396 || exit 1
8397 @endif expat
8403 .PHONY: all-expat maybe-all-expat
8404 maybe-all-expat:
8405 @if expat
8406 TARGET-expat=all
8407 maybe-all-expat: all-expat
8408 all-expat: configure-expat
8409 @: $(MAKE); $(unstage)
8410 @r=`${PWD_COMMAND}`; export r; \
8411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8412 $(HOST_EXPORTS) \
8413 (cd $(HOST_SUBDIR)/expat && \
8414 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-expat))
8415 @endif expat
8420 .PHONY: check-expat maybe-check-expat
8421 maybe-check-expat:
8422 @if expat
8423 maybe-check-expat: check-expat
8425 check-expat:
8426 @: $(MAKE); $(unstage)
8427 @r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 $(HOST_EXPORTS) \
8430 (cd $(HOST_SUBDIR)/expat && \
8431 $(MAKE) $(FLAGS_TO_PASS) check)
8433 @endif expat
8435 .PHONY: install-expat maybe-install-expat
8436 maybe-install-expat:
8437 @if expat
8438 maybe-install-expat: install-expat
8440 install-expat: installdirs
8441 @: $(MAKE); $(unstage)
8442 @r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(HOST_EXPORTS) \
8445 (cd $(HOST_SUBDIR)/expat && \
8446 $(MAKE) $(FLAGS_TO_PASS) install)
8448 @endif expat
8450 # Other targets (info, dvi, etc.)
8452 .PHONY: maybe-info-expat info-expat
8453 maybe-info-expat:
8454 @if expat
8455 maybe-info-expat: info-expat
8457 info-expat: \
8458 configure-expat
8459 @: $(MAKE); $(unstage)
8460 @[ -f ./expat/Makefile ] || exit 0; \
8461 r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing info in expat" ; \
8468 (cd $(HOST_SUBDIR)/expat && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8473 info) \
8474 || exit 1
8476 @endif expat
8478 .PHONY: maybe-dvi-expat dvi-expat
8479 maybe-dvi-expat:
8480 @if expat
8481 maybe-dvi-expat: dvi-expat
8483 dvi-expat: \
8484 configure-expat
8485 @: $(MAKE); $(unstage)
8486 @[ -f ./expat/Makefile ] || exit 0; \
8487 r=`${PWD_COMMAND}`; export r; \
8488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8489 $(HOST_EXPORTS) \
8490 for flag in $(EXTRA_HOST_FLAGS) ; do \
8491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8492 done; \
8493 echo "Doing dvi in expat" ; \
8494 (cd $(HOST_SUBDIR)/expat && \
8495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8497 "RANLIB=$${RANLIB}" \
8498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8499 dvi) \
8500 || exit 1
8502 @endif expat
8504 .PHONY: maybe-html-expat html-expat
8505 maybe-html-expat:
8506 @if expat
8507 maybe-html-expat: html-expat
8509 html-expat: \
8510 configure-expat
8511 @: $(MAKE); $(unstage)
8512 @[ -f ./expat/Makefile ] || exit 0; \
8513 r=`${PWD_COMMAND}`; export r; \
8514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8515 $(HOST_EXPORTS) \
8516 for flag in $(EXTRA_HOST_FLAGS) ; do \
8517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8518 done; \
8519 echo "Doing html in expat" ; \
8520 (cd $(HOST_SUBDIR)/expat && \
8521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8523 "RANLIB=$${RANLIB}" \
8524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8525 html) \
8526 || exit 1
8528 @endif expat
8530 .PHONY: maybe-TAGS-expat TAGS-expat
8531 maybe-TAGS-expat:
8532 @if expat
8533 maybe-TAGS-expat: TAGS-expat
8535 TAGS-expat: \
8536 configure-expat
8537 @: $(MAKE); $(unstage)
8538 @[ -f ./expat/Makefile ] || exit 0; \
8539 r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS) ; do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing TAGS in expat" ; \
8546 (cd $(HOST_SUBDIR)/expat && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8551 TAGS) \
8552 || exit 1
8554 @endif expat
8556 .PHONY: maybe-install-info-expat install-info-expat
8557 maybe-install-info-expat:
8558 @if expat
8559 maybe-install-info-expat: install-info-expat
8561 install-info-expat: \
8562 configure-expat \
8563 info-expat
8564 @: $(MAKE); $(unstage)
8565 @[ -f ./expat/Makefile ] || exit 0; \
8566 r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(HOST_EXPORTS) \
8569 for flag in $(EXTRA_HOST_FLAGS) ; do \
8570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8571 done; \
8572 echo "Doing install-info in expat" ; \
8573 (cd $(HOST_SUBDIR)/expat && \
8574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8576 "RANLIB=$${RANLIB}" \
8577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8578 install-info) \
8579 || exit 1
8581 @endif expat
8583 .PHONY: maybe-installcheck-expat installcheck-expat
8584 maybe-installcheck-expat:
8585 @if expat
8586 maybe-installcheck-expat: installcheck-expat
8588 installcheck-expat: \
8589 configure-expat
8590 @: $(MAKE); $(unstage)
8591 @[ -f ./expat/Makefile ] || exit 0; \
8592 r=`${PWD_COMMAND}`; export r; \
8593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8594 $(HOST_EXPORTS) \
8595 for flag in $(EXTRA_HOST_FLAGS) ; do \
8596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8597 done; \
8598 echo "Doing installcheck in expat" ; \
8599 (cd $(HOST_SUBDIR)/expat && \
8600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8602 "RANLIB=$${RANLIB}" \
8603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8604 installcheck) \
8605 || exit 1
8607 @endif expat
8609 .PHONY: maybe-mostlyclean-expat mostlyclean-expat
8610 maybe-mostlyclean-expat:
8611 @if expat
8612 maybe-mostlyclean-expat: mostlyclean-expat
8614 mostlyclean-expat:
8615 @: $(MAKE); $(unstage)
8616 @[ -f ./expat/Makefile ] || exit 0; \
8617 r=`${PWD_COMMAND}`; export r; \
8618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8619 $(HOST_EXPORTS) \
8620 for flag in $(EXTRA_HOST_FLAGS) ; do \
8621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8622 done; \
8623 echo "Doing mostlyclean in expat" ; \
8624 (cd $(HOST_SUBDIR)/expat && \
8625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8627 "RANLIB=$${RANLIB}" \
8628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8629 mostlyclean) \
8630 || exit 1
8632 @endif expat
8634 .PHONY: maybe-clean-expat clean-expat
8635 maybe-clean-expat:
8636 @if expat
8637 maybe-clean-expat: clean-expat
8639 clean-expat:
8640 @: $(MAKE); $(unstage)
8641 @[ -f ./expat/Makefile ] || exit 0; \
8642 r=`${PWD_COMMAND}`; export r; \
8643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 $(HOST_EXPORTS) \
8645 for flag in $(EXTRA_HOST_FLAGS) ; do \
8646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8647 done; \
8648 echo "Doing clean in expat" ; \
8649 (cd $(HOST_SUBDIR)/expat && \
8650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8652 "RANLIB=$${RANLIB}" \
8653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8654 clean) \
8655 || exit 1
8657 @endif expat
8659 .PHONY: maybe-distclean-expat distclean-expat
8660 maybe-distclean-expat:
8661 @if expat
8662 maybe-distclean-expat: distclean-expat
8664 distclean-expat:
8665 @: $(MAKE); $(unstage)
8666 @[ -f ./expat/Makefile ] || exit 0; \
8667 r=`${PWD_COMMAND}`; export r; \
8668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8669 $(HOST_EXPORTS) \
8670 for flag in $(EXTRA_HOST_FLAGS) ; do \
8671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8672 done; \
8673 echo "Doing distclean in expat" ; \
8674 (cd $(HOST_SUBDIR)/expat && \
8675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8677 "RANLIB=$${RANLIB}" \
8678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8679 distclean) \
8680 || exit 1
8682 @endif expat
8684 .PHONY: maybe-maintainer-clean-expat maintainer-clean-expat
8685 maybe-maintainer-clean-expat:
8686 @if expat
8687 maybe-maintainer-clean-expat: maintainer-clean-expat
8689 maintainer-clean-expat:
8690 @: $(MAKE); $(unstage)
8691 @[ -f ./expat/Makefile ] || exit 0; \
8692 r=`${PWD_COMMAND}`; export r; \
8693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8694 $(HOST_EXPORTS) \
8695 for flag in $(EXTRA_HOST_FLAGS) ; do \
8696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8697 done; \
8698 echo "Doing maintainer-clean in expat" ; \
8699 (cd $(HOST_SUBDIR)/expat && \
8700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8702 "RANLIB=$${RANLIB}" \
8703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8704 maintainer-clean) \
8705 || exit 1
8707 @endif expat
8711 .PHONY: configure-fastjar maybe-configure-fastjar
8712 maybe-configure-fastjar:
8713 @if fastjar
8714 maybe-configure-fastjar: configure-fastjar
8715 configure-fastjar:
8716 @: $(MAKE); $(unstage)
8717 @r=`${PWD_COMMAND}`; export r; \
8718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8719 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8721 $(HOST_EXPORTS) \
8722 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8723 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8724 case $(srcdir) in \
8725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8726 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8728 esac; \
8729 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8730 libsrcdir="$$s/fastjar"; \
8731 $(SHELL) $${libsrcdir}/configure \
8732 $(HOST_CONFIGARGS) $${srcdiroption} \
8733 || exit 1
8734 @endif fastjar
8740 .PHONY: all-fastjar maybe-all-fastjar
8741 maybe-all-fastjar:
8742 @if fastjar
8743 TARGET-fastjar=all
8744 maybe-all-fastjar: all-fastjar
8745 all-fastjar: configure-fastjar
8746 @: $(MAKE); $(unstage)
8747 @r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 $(HOST_EXPORTS) \
8750 (cd $(HOST_SUBDIR)/fastjar && \
8751 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8752 @endif fastjar
8757 .PHONY: check-fastjar maybe-check-fastjar
8758 maybe-check-fastjar:
8759 @if fastjar
8760 maybe-check-fastjar: check-fastjar
8762 # This module is only tested in a native toolchain.
8763 check-fastjar:
8764 @: $(MAKE); $(unstage)
8765 @if [ '$(host)' = '$(target)' ] ; then \
8766 r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768 $(HOST_EXPORTS) \
8769 (cd $(HOST_SUBDIR)/fastjar && \
8770 $(MAKE) $(FLAGS_TO_PASS) check); \
8773 @endif fastjar
8775 .PHONY: install-fastjar maybe-install-fastjar
8776 maybe-install-fastjar:
8777 @if fastjar
8778 maybe-install-fastjar: install-fastjar
8780 install-fastjar: installdirs
8781 @: $(MAKE); $(unstage)
8782 @r=`${PWD_COMMAND}`; export r; \
8783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8784 $(HOST_EXPORTS) \
8785 (cd $(HOST_SUBDIR)/fastjar && \
8786 $(MAKE) $(FLAGS_TO_PASS) install)
8788 @endif fastjar
8790 # Other targets (info, dvi, etc.)
8792 .PHONY: maybe-info-fastjar info-fastjar
8793 maybe-info-fastjar:
8794 @if fastjar
8795 maybe-info-fastjar: info-fastjar
8797 info-fastjar: \
8798 configure-fastjar
8799 @: $(MAKE); $(unstage)
8800 @[ -f ./fastjar/Makefile ] || exit 0; \
8801 r=`${PWD_COMMAND}`; export r; \
8802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8803 $(HOST_EXPORTS) \
8804 for flag in $(EXTRA_HOST_FLAGS) ; do \
8805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8806 done; \
8807 echo "Doing info in fastjar" ; \
8808 (cd $(HOST_SUBDIR)/fastjar && \
8809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8811 "RANLIB=$${RANLIB}" \
8812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8813 info) \
8814 || exit 1
8816 @endif fastjar
8818 .PHONY: maybe-dvi-fastjar dvi-fastjar
8819 maybe-dvi-fastjar:
8820 @if fastjar
8821 maybe-dvi-fastjar: dvi-fastjar
8823 dvi-fastjar: \
8824 configure-fastjar
8825 @: $(MAKE); $(unstage)
8826 @[ -f ./fastjar/Makefile ] || exit 0; \
8827 r=`${PWD_COMMAND}`; export r; \
8828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8829 $(HOST_EXPORTS) \
8830 for flag in $(EXTRA_HOST_FLAGS) ; do \
8831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8832 done; \
8833 echo "Doing dvi in fastjar" ; \
8834 (cd $(HOST_SUBDIR)/fastjar && \
8835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8837 "RANLIB=$${RANLIB}" \
8838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8839 dvi) \
8840 || exit 1
8842 @endif fastjar
8844 .PHONY: maybe-html-fastjar html-fastjar
8845 maybe-html-fastjar:
8846 @if fastjar
8847 maybe-html-fastjar: html-fastjar
8849 html-fastjar: \
8850 configure-fastjar
8851 @: $(MAKE); $(unstage)
8852 @[ -f ./fastjar/Makefile ] || exit 0; \
8853 r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 $(HOST_EXPORTS) \
8856 for flag in $(EXTRA_HOST_FLAGS) ; do \
8857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8858 done; \
8859 echo "Doing html in fastjar" ; \
8860 (cd $(HOST_SUBDIR)/fastjar && \
8861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8863 "RANLIB=$${RANLIB}" \
8864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8865 html) \
8866 || exit 1
8868 @endif fastjar
8870 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8871 maybe-TAGS-fastjar:
8872 @if fastjar
8873 maybe-TAGS-fastjar: TAGS-fastjar
8875 TAGS-fastjar: \
8876 configure-fastjar
8877 @: $(MAKE); $(unstage)
8878 @[ -f ./fastjar/Makefile ] || exit 0; \
8879 r=`${PWD_COMMAND}`; export r; \
8880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8881 $(HOST_EXPORTS) \
8882 for flag in $(EXTRA_HOST_FLAGS) ; do \
8883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8884 done; \
8885 echo "Doing TAGS in fastjar" ; \
8886 (cd $(HOST_SUBDIR)/fastjar && \
8887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8889 "RANLIB=$${RANLIB}" \
8890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8891 TAGS) \
8892 || exit 1
8894 @endif fastjar
8896 .PHONY: maybe-install-info-fastjar install-info-fastjar
8897 maybe-install-info-fastjar:
8898 @if fastjar
8899 maybe-install-info-fastjar: install-info-fastjar
8901 install-info-fastjar: \
8902 configure-fastjar \
8903 info-fastjar
8904 @: $(MAKE); $(unstage)
8905 @[ -f ./fastjar/Makefile ] || exit 0; \
8906 r=`${PWD_COMMAND}`; export r; \
8907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8908 $(HOST_EXPORTS) \
8909 for flag in $(EXTRA_HOST_FLAGS) ; do \
8910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8911 done; \
8912 echo "Doing install-info in fastjar" ; \
8913 (cd $(HOST_SUBDIR)/fastjar && \
8914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8916 "RANLIB=$${RANLIB}" \
8917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8918 install-info) \
8919 || exit 1
8921 @endif fastjar
8923 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8924 maybe-installcheck-fastjar:
8925 @if fastjar
8926 maybe-installcheck-fastjar: installcheck-fastjar
8928 installcheck-fastjar: \
8929 configure-fastjar
8930 @: $(MAKE); $(unstage)
8931 @[ -f ./fastjar/Makefile ] || exit 0; \
8932 r=`${PWD_COMMAND}`; export r; \
8933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8934 $(HOST_EXPORTS) \
8935 for flag in $(EXTRA_HOST_FLAGS) ; do \
8936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8937 done; \
8938 echo "Doing installcheck in fastjar" ; \
8939 (cd $(HOST_SUBDIR)/fastjar && \
8940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8942 "RANLIB=$${RANLIB}" \
8943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8944 installcheck) \
8945 || exit 1
8947 @endif fastjar
8949 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8950 maybe-mostlyclean-fastjar:
8951 @if fastjar
8952 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8954 mostlyclean-fastjar:
8955 @: $(MAKE); $(unstage)
8956 @[ -f ./fastjar/Makefile ] || exit 0; \
8957 r=`${PWD_COMMAND}`; export r; \
8958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8959 $(HOST_EXPORTS) \
8960 for flag in $(EXTRA_HOST_FLAGS) ; do \
8961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8962 done; \
8963 echo "Doing mostlyclean in fastjar" ; \
8964 (cd $(HOST_SUBDIR)/fastjar && \
8965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8967 "RANLIB=$${RANLIB}" \
8968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8969 mostlyclean) \
8970 || exit 1
8972 @endif fastjar
8974 .PHONY: maybe-clean-fastjar clean-fastjar
8975 maybe-clean-fastjar:
8976 @if fastjar
8977 maybe-clean-fastjar: clean-fastjar
8979 clean-fastjar:
8980 @: $(MAKE); $(unstage)
8981 @[ -f ./fastjar/Makefile ] || exit 0; \
8982 r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984 $(HOST_EXPORTS) \
8985 for flag in $(EXTRA_HOST_FLAGS) ; do \
8986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8987 done; \
8988 echo "Doing clean in fastjar" ; \
8989 (cd $(HOST_SUBDIR)/fastjar && \
8990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8992 "RANLIB=$${RANLIB}" \
8993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8994 clean) \
8995 || exit 1
8997 @endif fastjar
8999 .PHONY: maybe-distclean-fastjar distclean-fastjar
9000 maybe-distclean-fastjar:
9001 @if fastjar
9002 maybe-distclean-fastjar: distclean-fastjar
9004 distclean-fastjar:
9005 @: $(MAKE); $(unstage)
9006 @[ -f ./fastjar/Makefile ] || exit 0; \
9007 r=`${PWD_COMMAND}`; export r; \
9008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9009 $(HOST_EXPORTS) \
9010 for flag in $(EXTRA_HOST_FLAGS) ; do \
9011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9012 done; \
9013 echo "Doing distclean in fastjar" ; \
9014 (cd $(HOST_SUBDIR)/fastjar && \
9015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9017 "RANLIB=$${RANLIB}" \
9018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9019 distclean) \
9020 || exit 1
9022 @endif fastjar
9024 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9025 maybe-maintainer-clean-fastjar:
9026 @if fastjar
9027 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9029 maintainer-clean-fastjar:
9030 @: $(MAKE); $(unstage)
9031 @[ -f ./fastjar/Makefile ] || exit 0; \
9032 r=`${PWD_COMMAND}`; export r; \
9033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9034 $(HOST_EXPORTS) \
9035 for flag in $(EXTRA_HOST_FLAGS) ; do \
9036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9037 done; \
9038 echo "Doing maintainer-clean in fastjar" ; \
9039 (cd $(HOST_SUBDIR)/fastjar && \
9040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9042 "RANLIB=$${RANLIB}" \
9043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9044 maintainer-clean) \
9045 || exit 1
9047 @endif fastjar
9051 .PHONY: configure-fileutils maybe-configure-fileutils
9052 maybe-configure-fileutils:
9053 @if fileutils
9054 maybe-configure-fileutils: configure-fileutils
9055 configure-fileutils:
9056 @: $(MAKE); $(unstage)
9057 @r=`${PWD_COMMAND}`; export r; \
9058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
9061 $(HOST_EXPORTS) \
9062 echo Configuring in $(HOST_SUBDIR)/fileutils; \
9063 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
9064 case $(srcdir) in \
9065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9066 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
9067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9068 esac; \
9069 srcdiroption="--srcdir=$${topdir}/fileutils"; \
9070 libsrcdir="$$s/fileutils"; \
9071 $(SHELL) $${libsrcdir}/configure \
9072 $(HOST_CONFIGARGS) $${srcdiroption} \
9073 || exit 1
9074 @endif fileutils
9080 .PHONY: all-fileutils maybe-all-fileutils
9081 maybe-all-fileutils:
9082 @if fileutils
9083 TARGET-fileutils=all
9084 maybe-all-fileutils: all-fileutils
9085 all-fileutils: configure-fileutils
9086 @: $(MAKE); $(unstage)
9087 @r=`${PWD_COMMAND}`; export r; \
9088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9089 $(HOST_EXPORTS) \
9090 (cd $(HOST_SUBDIR)/fileutils && \
9091 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
9092 @endif fileutils
9097 .PHONY: check-fileutils maybe-check-fileutils
9098 maybe-check-fileutils:
9099 @if fileutils
9100 maybe-check-fileutils: check-fileutils
9102 check-fileutils:
9103 @: $(MAKE); $(unstage)
9104 @r=`${PWD_COMMAND}`; export r; \
9105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9106 $(HOST_EXPORTS) \
9107 (cd $(HOST_SUBDIR)/fileutils && \
9108 $(MAKE) $(FLAGS_TO_PASS) check)
9110 @endif fileutils
9112 .PHONY: install-fileutils maybe-install-fileutils
9113 maybe-install-fileutils:
9114 @if fileutils
9115 maybe-install-fileutils: install-fileutils
9117 install-fileutils: installdirs
9118 @: $(MAKE); $(unstage)
9119 @r=`${PWD_COMMAND}`; export r; \
9120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9121 $(HOST_EXPORTS) \
9122 (cd $(HOST_SUBDIR)/fileutils && \
9123 $(MAKE) $(FLAGS_TO_PASS) install)
9125 @endif fileutils
9127 # Other targets (info, dvi, etc.)
9129 .PHONY: maybe-info-fileutils info-fileutils
9130 maybe-info-fileutils:
9131 @if fileutils
9132 maybe-info-fileutils: info-fileutils
9134 info-fileutils: \
9135 configure-fileutils
9136 @: $(MAKE); $(unstage)
9137 @[ -f ./fileutils/Makefile ] || exit 0; \
9138 r=`${PWD_COMMAND}`; export r; \
9139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9140 $(HOST_EXPORTS) \
9141 for flag in $(EXTRA_HOST_FLAGS) ; do \
9142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9143 done; \
9144 echo "Doing info in fileutils" ; \
9145 (cd $(HOST_SUBDIR)/fileutils && \
9146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9148 "RANLIB=$${RANLIB}" \
9149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9150 info) \
9151 || exit 1
9153 @endif fileutils
9155 .PHONY: maybe-dvi-fileutils dvi-fileutils
9156 maybe-dvi-fileutils:
9157 @if fileutils
9158 maybe-dvi-fileutils: dvi-fileutils
9160 dvi-fileutils: \
9161 configure-fileutils
9162 @: $(MAKE); $(unstage)
9163 @[ -f ./fileutils/Makefile ] || exit 0; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9166 $(HOST_EXPORTS) \
9167 for flag in $(EXTRA_HOST_FLAGS) ; do \
9168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9169 done; \
9170 echo "Doing dvi in fileutils" ; \
9171 (cd $(HOST_SUBDIR)/fileutils && \
9172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9174 "RANLIB=$${RANLIB}" \
9175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9176 dvi) \
9177 || exit 1
9179 @endif fileutils
9181 .PHONY: maybe-html-fileutils html-fileutils
9182 maybe-html-fileutils:
9183 @if fileutils
9184 maybe-html-fileutils: html-fileutils
9186 html-fileutils: \
9187 configure-fileutils
9188 @: $(MAKE); $(unstage)
9189 @[ -f ./fileutils/Makefile ] || exit 0; \
9190 r=`${PWD_COMMAND}`; export r; \
9191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9192 $(HOST_EXPORTS) \
9193 for flag in $(EXTRA_HOST_FLAGS) ; do \
9194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9195 done; \
9196 echo "Doing html in fileutils" ; \
9197 (cd $(HOST_SUBDIR)/fileutils && \
9198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9200 "RANLIB=$${RANLIB}" \
9201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9202 html) \
9203 || exit 1
9205 @endif fileutils
9207 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
9208 maybe-TAGS-fileutils:
9209 @if fileutils
9210 maybe-TAGS-fileutils: TAGS-fileutils
9212 TAGS-fileutils: \
9213 configure-fileutils
9214 @: $(MAKE); $(unstage)
9215 @[ -f ./fileutils/Makefile ] || exit 0; \
9216 r=`${PWD_COMMAND}`; export r; \
9217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9218 $(HOST_EXPORTS) \
9219 for flag in $(EXTRA_HOST_FLAGS) ; do \
9220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9221 done; \
9222 echo "Doing TAGS in fileutils" ; \
9223 (cd $(HOST_SUBDIR)/fileutils && \
9224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9226 "RANLIB=$${RANLIB}" \
9227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9228 TAGS) \
9229 || exit 1
9231 @endif fileutils
9233 .PHONY: maybe-install-info-fileutils install-info-fileutils
9234 maybe-install-info-fileutils:
9235 @if fileutils
9236 maybe-install-info-fileutils: install-info-fileutils
9238 install-info-fileutils: \
9239 configure-fileutils \
9240 info-fileutils
9241 @: $(MAKE); $(unstage)
9242 @[ -f ./fileutils/Makefile ] || exit 0; \
9243 r=`${PWD_COMMAND}`; export r; \
9244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9245 $(HOST_EXPORTS) \
9246 for flag in $(EXTRA_HOST_FLAGS) ; do \
9247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9248 done; \
9249 echo "Doing install-info in fileutils" ; \
9250 (cd $(HOST_SUBDIR)/fileutils && \
9251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9253 "RANLIB=$${RANLIB}" \
9254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9255 install-info) \
9256 || exit 1
9258 @endif fileutils
9260 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9261 maybe-installcheck-fileutils:
9262 @if fileutils
9263 maybe-installcheck-fileutils: installcheck-fileutils
9265 installcheck-fileutils: \
9266 configure-fileutils
9267 @: $(MAKE); $(unstage)
9268 @[ -f ./fileutils/Makefile ] || exit 0; \
9269 r=`${PWD_COMMAND}`; export r; \
9270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9271 $(HOST_EXPORTS) \
9272 for flag in $(EXTRA_HOST_FLAGS) ; do \
9273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9274 done; \
9275 echo "Doing installcheck in fileutils" ; \
9276 (cd $(HOST_SUBDIR)/fileutils && \
9277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9279 "RANLIB=$${RANLIB}" \
9280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9281 installcheck) \
9282 || exit 1
9284 @endif fileutils
9286 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9287 maybe-mostlyclean-fileutils:
9288 @if fileutils
9289 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9291 mostlyclean-fileutils:
9292 @: $(MAKE); $(unstage)
9293 @[ -f ./fileutils/Makefile ] || exit 0; \
9294 r=`${PWD_COMMAND}`; export r; \
9295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9296 $(HOST_EXPORTS) \
9297 for flag in $(EXTRA_HOST_FLAGS) ; do \
9298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9299 done; \
9300 echo "Doing mostlyclean in fileutils" ; \
9301 (cd $(HOST_SUBDIR)/fileutils && \
9302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9304 "RANLIB=$${RANLIB}" \
9305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9306 mostlyclean) \
9307 || exit 1
9309 @endif fileutils
9311 .PHONY: maybe-clean-fileutils clean-fileutils
9312 maybe-clean-fileutils:
9313 @if fileutils
9314 maybe-clean-fileutils: clean-fileutils
9316 clean-fileutils:
9317 @: $(MAKE); $(unstage)
9318 @[ -f ./fileutils/Makefile ] || exit 0; \
9319 r=`${PWD_COMMAND}`; export r; \
9320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 $(HOST_EXPORTS) \
9322 for flag in $(EXTRA_HOST_FLAGS) ; do \
9323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9324 done; \
9325 echo "Doing clean in fileutils" ; \
9326 (cd $(HOST_SUBDIR)/fileutils && \
9327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9329 "RANLIB=$${RANLIB}" \
9330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9331 clean) \
9332 || exit 1
9334 @endif fileutils
9336 .PHONY: maybe-distclean-fileutils distclean-fileutils
9337 maybe-distclean-fileutils:
9338 @if fileutils
9339 maybe-distclean-fileutils: distclean-fileutils
9341 distclean-fileutils:
9342 @: $(MAKE); $(unstage)
9343 @[ -f ./fileutils/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9346 $(HOST_EXPORTS) \
9347 for flag in $(EXTRA_HOST_FLAGS) ; do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9349 done; \
9350 echo "Doing distclean in fileutils" ; \
9351 (cd $(HOST_SUBDIR)/fileutils && \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9356 distclean) \
9357 || exit 1
9359 @endif fileutils
9361 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9362 maybe-maintainer-clean-fileutils:
9363 @if fileutils
9364 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9366 maintainer-clean-fileutils:
9367 @: $(MAKE); $(unstage)
9368 @[ -f ./fileutils/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9371 $(HOST_EXPORTS) \
9372 for flag in $(EXTRA_HOST_FLAGS) ; do \
9373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9374 done; \
9375 echo "Doing maintainer-clean in fileutils" ; \
9376 (cd $(HOST_SUBDIR)/fileutils && \
9377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9379 "RANLIB=$${RANLIB}" \
9380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9381 maintainer-clean) \
9382 || exit 1
9384 @endif fileutils
9388 .PHONY: configure-findutils maybe-configure-findutils
9389 maybe-configure-findutils:
9390 @if findutils
9391 maybe-configure-findutils: configure-findutils
9392 configure-findutils:
9393 @: $(MAKE); $(unstage)
9394 @r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9396 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9397 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9398 $(HOST_EXPORTS) \
9399 echo Configuring in $(HOST_SUBDIR)/findutils; \
9400 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9401 case $(srcdir) in \
9402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9403 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9405 esac; \
9406 srcdiroption="--srcdir=$${topdir}/findutils"; \
9407 libsrcdir="$$s/findutils"; \
9408 $(SHELL) $${libsrcdir}/configure \
9409 $(HOST_CONFIGARGS) $${srcdiroption} \
9410 || exit 1
9411 @endif findutils
9417 .PHONY: all-findutils maybe-all-findutils
9418 maybe-all-findutils:
9419 @if findutils
9420 TARGET-findutils=all
9421 maybe-all-findutils: all-findutils
9422 all-findutils: configure-findutils
9423 @: $(MAKE); $(unstage)
9424 @r=`${PWD_COMMAND}`; export r; \
9425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9426 $(HOST_EXPORTS) \
9427 (cd $(HOST_SUBDIR)/findutils && \
9428 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9429 @endif findutils
9434 .PHONY: check-findutils maybe-check-findutils
9435 maybe-check-findutils:
9436 @if findutils
9437 maybe-check-findutils: check-findutils
9439 check-findutils:
9440 @: $(MAKE); $(unstage)
9441 @r=`${PWD_COMMAND}`; export r; \
9442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443 $(HOST_EXPORTS) \
9444 (cd $(HOST_SUBDIR)/findutils && \
9445 $(MAKE) $(FLAGS_TO_PASS) check)
9447 @endif findutils
9449 .PHONY: install-findutils maybe-install-findutils
9450 maybe-install-findutils:
9451 @if findutils
9452 maybe-install-findutils: install-findutils
9454 install-findutils: installdirs
9455 @: $(MAKE); $(unstage)
9456 @r=`${PWD_COMMAND}`; export r; \
9457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9458 $(HOST_EXPORTS) \
9459 (cd $(HOST_SUBDIR)/findutils && \
9460 $(MAKE) $(FLAGS_TO_PASS) install)
9462 @endif findutils
9464 # Other targets (info, dvi, etc.)
9466 .PHONY: maybe-info-findutils info-findutils
9467 maybe-info-findutils:
9468 @if findutils
9469 maybe-info-findutils: info-findutils
9471 info-findutils: \
9472 configure-findutils
9473 @: $(MAKE); $(unstage)
9474 @[ -f ./findutils/Makefile ] || exit 0; \
9475 r=`${PWD_COMMAND}`; export r; \
9476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9477 $(HOST_EXPORTS) \
9478 for flag in $(EXTRA_HOST_FLAGS) ; do \
9479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9480 done; \
9481 echo "Doing info in findutils" ; \
9482 (cd $(HOST_SUBDIR)/findutils && \
9483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9485 "RANLIB=$${RANLIB}" \
9486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9487 info) \
9488 || exit 1
9490 @endif findutils
9492 .PHONY: maybe-dvi-findutils dvi-findutils
9493 maybe-dvi-findutils:
9494 @if findutils
9495 maybe-dvi-findutils: dvi-findutils
9497 dvi-findutils: \
9498 configure-findutils
9499 @: $(MAKE); $(unstage)
9500 @[ -f ./findutils/Makefile ] || exit 0; \
9501 r=`${PWD_COMMAND}`; export r; \
9502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9503 $(HOST_EXPORTS) \
9504 for flag in $(EXTRA_HOST_FLAGS) ; do \
9505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9506 done; \
9507 echo "Doing dvi in findutils" ; \
9508 (cd $(HOST_SUBDIR)/findutils && \
9509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9511 "RANLIB=$${RANLIB}" \
9512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9513 dvi) \
9514 || exit 1
9516 @endif findutils
9518 .PHONY: maybe-html-findutils html-findutils
9519 maybe-html-findutils:
9520 @if findutils
9521 maybe-html-findutils: html-findutils
9523 html-findutils: \
9524 configure-findutils
9525 @: $(MAKE); $(unstage)
9526 @[ -f ./findutils/Makefile ] || exit 0; \
9527 r=`${PWD_COMMAND}`; export r; \
9528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9529 $(HOST_EXPORTS) \
9530 for flag in $(EXTRA_HOST_FLAGS) ; do \
9531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9532 done; \
9533 echo "Doing html in findutils" ; \
9534 (cd $(HOST_SUBDIR)/findutils && \
9535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9537 "RANLIB=$${RANLIB}" \
9538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9539 html) \
9540 || exit 1
9542 @endif findutils
9544 .PHONY: maybe-TAGS-findutils TAGS-findutils
9545 maybe-TAGS-findutils:
9546 @if findutils
9547 maybe-TAGS-findutils: TAGS-findutils
9549 TAGS-findutils: \
9550 configure-findutils
9551 @: $(MAKE); $(unstage)
9552 @[ -f ./findutils/Makefile ] || exit 0; \
9553 r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9555 $(HOST_EXPORTS) \
9556 for flag in $(EXTRA_HOST_FLAGS) ; do \
9557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9558 done; \
9559 echo "Doing TAGS in findutils" ; \
9560 (cd $(HOST_SUBDIR)/findutils && \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563 "RANLIB=$${RANLIB}" \
9564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9565 TAGS) \
9566 || exit 1
9568 @endif findutils
9570 .PHONY: maybe-install-info-findutils install-info-findutils
9571 maybe-install-info-findutils:
9572 @if findutils
9573 maybe-install-info-findutils: install-info-findutils
9575 install-info-findutils: \
9576 configure-findutils \
9577 info-findutils
9578 @: $(MAKE); $(unstage)
9579 @[ -f ./findutils/Makefile ] || exit 0; \
9580 r=`${PWD_COMMAND}`; export r; \
9581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9582 $(HOST_EXPORTS) \
9583 for flag in $(EXTRA_HOST_FLAGS) ; do \
9584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9585 done; \
9586 echo "Doing install-info in findutils" ; \
9587 (cd $(HOST_SUBDIR)/findutils && \
9588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9590 "RANLIB=$${RANLIB}" \
9591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9592 install-info) \
9593 || exit 1
9595 @endif findutils
9597 .PHONY: maybe-installcheck-findutils installcheck-findutils
9598 maybe-installcheck-findutils:
9599 @if findutils
9600 maybe-installcheck-findutils: installcheck-findutils
9602 installcheck-findutils: \
9603 configure-findutils
9604 @: $(MAKE); $(unstage)
9605 @[ -f ./findutils/Makefile ] || exit 0; \
9606 r=`${PWD_COMMAND}`; export r; \
9607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 $(HOST_EXPORTS) \
9609 for flag in $(EXTRA_HOST_FLAGS) ; do \
9610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9611 done; \
9612 echo "Doing installcheck in findutils" ; \
9613 (cd $(HOST_SUBDIR)/findutils && \
9614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9616 "RANLIB=$${RANLIB}" \
9617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9618 installcheck) \
9619 || exit 1
9621 @endif findutils
9623 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9624 maybe-mostlyclean-findutils:
9625 @if findutils
9626 maybe-mostlyclean-findutils: mostlyclean-findutils
9628 mostlyclean-findutils:
9629 @: $(MAKE); $(unstage)
9630 @[ -f ./findutils/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 $(HOST_EXPORTS) \
9634 for flag in $(EXTRA_HOST_FLAGS) ; do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636 done; \
9637 echo "Doing mostlyclean in findutils" ; \
9638 (cd $(HOST_SUBDIR)/findutils && \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9643 mostlyclean) \
9644 || exit 1
9646 @endif findutils
9648 .PHONY: maybe-clean-findutils clean-findutils
9649 maybe-clean-findutils:
9650 @if findutils
9651 maybe-clean-findutils: clean-findutils
9653 clean-findutils:
9654 @: $(MAKE); $(unstage)
9655 @[ -f ./findutils/Makefile ] || exit 0; \
9656 r=`${PWD_COMMAND}`; export r; \
9657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9658 $(HOST_EXPORTS) \
9659 for flag in $(EXTRA_HOST_FLAGS) ; do \
9660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9661 done; \
9662 echo "Doing clean in findutils" ; \
9663 (cd $(HOST_SUBDIR)/findutils && \
9664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9666 "RANLIB=$${RANLIB}" \
9667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9668 clean) \
9669 || exit 1
9671 @endif findutils
9673 .PHONY: maybe-distclean-findutils distclean-findutils
9674 maybe-distclean-findutils:
9675 @if findutils
9676 maybe-distclean-findutils: distclean-findutils
9678 distclean-findutils:
9679 @: $(MAKE); $(unstage)
9680 @[ -f ./findutils/Makefile ] || exit 0; \
9681 r=`${PWD_COMMAND}`; export r; \
9682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9683 $(HOST_EXPORTS) \
9684 for flag in $(EXTRA_HOST_FLAGS) ; do \
9685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9686 done; \
9687 echo "Doing distclean in findutils" ; \
9688 (cd $(HOST_SUBDIR)/findutils && \
9689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9691 "RANLIB=$${RANLIB}" \
9692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9693 distclean) \
9694 || exit 1
9696 @endif findutils
9698 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9699 maybe-maintainer-clean-findutils:
9700 @if findutils
9701 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9703 maintainer-clean-findutils:
9704 @: $(MAKE); $(unstage)
9705 @[ -f ./findutils/Makefile ] || exit 0; \
9706 r=`${PWD_COMMAND}`; export r; \
9707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9708 $(HOST_EXPORTS) \
9709 for flag in $(EXTRA_HOST_FLAGS) ; do \
9710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9711 done; \
9712 echo "Doing maintainer-clean in findutils" ; \
9713 (cd $(HOST_SUBDIR)/findutils && \
9714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9716 "RANLIB=$${RANLIB}" \
9717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9718 maintainer-clean) \
9719 || exit 1
9721 @endif findutils
9725 .PHONY: configure-find maybe-configure-find
9726 maybe-configure-find:
9727 @if find
9728 maybe-configure-find: configure-find
9729 configure-find:
9730 @: $(MAKE); $(unstage)
9731 @r=`${PWD_COMMAND}`; export r; \
9732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9735 $(HOST_EXPORTS) \
9736 echo Configuring in $(HOST_SUBDIR)/find; \
9737 cd "$(HOST_SUBDIR)/find" || exit 1; \
9738 case $(srcdir) in \
9739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9740 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9742 esac; \
9743 srcdiroption="--srcdir=$${topdir}/find"; \
9744 libsrcdir="$$s/find"; \
9745 $(SHELL) $${libsrcdir}/configure \
9746 $(HOST_CONFIGARGS) $${srcdiroption} \
9747 || exit 1
9748 @endif find
9754 .PHONY: all-find maybe-all-find
9755 maybe-all-find:
9756 @if find
9757 TARGET-find=all
9758 maybe-all-find: all-find
9759 all-find: configure-find
9760 @: $(MAKE); $(unstage)
9761 @r=`${PWD_COMMAND}`; export r; \
9762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9763 $(HOST_EXPORTS) \
9764 (cd $(HOST_SUBDIR)/find && \
9765 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9766 @endif find
9771 .PHONY: check-find maybe-check-find
9772 maybe-check-find:
9773 @if find
9774 maybe-check-find: check-find
9776 check-find:
9777 @: $(MAKE); $(unstage)
9778 @r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 $(HOST_EXPORTS) \
9781 (cd $(HOST_SUBDIR)/find && \
9782 $(MAKE) $(FLAGS_TO_PASS) check)
9784 @endif find
9786 .PHONY: install-find maybe-install-find
9787 maybe-install-find:
9788 @if find
9789 maybe-install-find: install-find
9791 install-find: installdirs
9792 @: $(MAKE); $(unstage)
9793 @r=`${PWD_COMMAND}`; export r; \
9794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9795 $(HOST_EXPORTS) \
9796 (cd $(HOST_SUBDIR)/find && \
9797 $(MAKE) $(FLAGS_TO_PASS) install)
9799 @endif find
9801 # Other targets (info, dvi, etc.)
9803 .PHONY: maybe-info-find info-find
9804 maybe-info-find:
9805 @if find
9806 maybe-info-find: info-find
9808 info-find: \
9809 configure-find
9810 @: $(MAKE); $(unstage)
9811 @[ -f ./find/Makefile ] || exit 0; \
9812 r=`${PWD_COMMAND}`; export r; \
9813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9814 $(HOST_EXPORTS) \
9815 for flag in $(EXTRA_HOST_FLAGS) ; do \
9816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9817 done; \
9818 echo "Doing info in find" ; \
9819 (cd $(HOST_SUBDIR)/find && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9822 "RANLIB=$${RANLIB}" \
9823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9824 info) \
9825 || exit 1
9827 @endif find
9829 .PHONY: maybe-dvi-find dvi-find
9830 maybe-dvi-find:
9831 @if find
9832 maybe-dvi-find: dvi-find
9834 dvi-find: \
9835 configure-find
9836 @: $(MAKE); $(unstage)
9837 @[ -f ./find/Makefile ] || exit 0; \
9838 r=`${PWD_COMMAND}`; export r; \
9839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9840 $(HOST_EXPORTS) \
9841 for flag in $(EXTRA_HOST_FLAGS) ; do \
9842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9843 done; \
9844 echo "Doing dvi in find" ; \
9845 (cd $(HOST_SUBDIR)/find && \
9846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9848 "RANLIB=$${RANLIB}" \
9849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9850 dvi) \
9851 || exit 1
9853 @endif find
9855 .PHONY: maybe-html-find html-find
9856 maybe-html-find:
9857 @if find
9858 maybe-html-find: html-find
9860 html-find: \
9861 configure-find
9862 @: $(MAKE); $(unstage)
9863 @[ -f ./find/Makefile ] || exit 0; \
9864 r=`${PWD_COMMAND}`; export r; \
9865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9866 $(HOST_EXPORTS) \
9867 for flag in $(EXTRA_HOST_FLAGS) ; do \
9868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9869 done; \
9870 echo "Doing html in find" ; \
9871 (cd $(HOST_SUBDIR)/find && \
9872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9874 "RANLIB=$${RANLIB}" \
9875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9876 html) \
9877 || exit 1
9879 @endif find
9881 .PHONY: maybe-TAGS-find TAGS-find
9882 maybe-TAGS-find:
9883 @if find
9884 maybe-TAGS-find: TAGS-find
9886 TAGS-find: \
9887 configure-find
9888 @: $(MAKE); $(unstage)
9889 @[ -f ./find/Makefile ] || exit 0; \
9890 r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9892 $(HOST_EXPORTS) \
9893 for flag in $(EXTRA_HOST_FLAGS) ; do \
9894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9895 done; \
9896 echo "Doing TAGS in find" ; \
9897 (cd $(HOST_SUBDIR)/find && \
9898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9900 "RANLIB=$${RANLIB}" \
9901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9902 TAGS) \
9903 || exit 1
9905 @endif find
9907 .PHONY: maybe-install-info-find install-info-find
9908 maybe-install-info-find:
9909 @if find
9910 maybe-install-info-find: install-info-find
9912 install-info-find: \
9913 configure-find \
9914 info-find
9915 @: $(MAKE); $(unstage)
9916 @[ -f ./find/Makefile ] || exit 0; \
9917 r=`${PWD_COMMAND}`; export r; \
9918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9919 $(HOST_EXPORTS) \
9920 for flag in $(EXTRA_HOST_FLAGS) ; do \
9921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9922 done; \
9923 echo "Doing install-info in find" ; \
9924 (cd $(HOST_SUBDIR)/find && \
9925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9927 "RANLIB=$${RANLIB}" \
9928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9929 install-info) \
9930 || exit 1
9932 @endif find
9934 .PHONY: maybe-installcheck-find installcheck-find
9935 maybe-installcheck-find:
9936 @if find
9937 maybe-installcheck-find: installcheck-find
9939 installcheck-find: \
9940 configure-find
9941 @: $(MAKE); $(unstage)
9942 @[ -f ./find/Makefile ] || exit 0; \
9943 r=`${PWD_COMMAND}`; export r; \
9944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9945 $(HOST_EXPORTS) \
9946 for flag in $(EXTRA_HOST_FLAGS) ; do \
9947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9948 done; \
9949 echo "Doing installcheck in find" ; \
9950 (cd $(HOST_SUBDIR)/find && \
9951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9953 "RANLIB=$${RANLIB}" \
9954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9955 installcheck) \
9956 || exit 1
9958 @endif find
9960 .PHONY: maybe-mostlyclean-find mostlyclean-find
9961 maybe-mostlyclean-find:
9962 @if find
9963 maybe-mostlyclean-find: mostlyclean-find
9965 mostlyclean-find:
9966 @: $(MAKE); $(unstage)
9967 @[ -f ./find/Makefile ] || exit 0; \
9968 r=`${PWD_COMMAND}`; export r; \
9969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9970 $(HOST_EXPORTS) \
9971 for flag in $(EXTRA_HOST_FLAGS) ; do \
9972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9973 done; \
9974 echo "Doing mostlyclean in find" ; \
9975 (cd $(HOST_SUBDIR)/find && \
9976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9978 "RANLIB=$${RANLIB}" \
9979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9980 mostlyclean) \
9981 || exit 1
9983 @endif find
9985 .PHONY: maybe-clean-find clean-find
9986 maybe-clean-find:
9987 @if find
9988 maybe-clean-find: clean-find
9990 clean-find:
9991 @: $(MAKE); $(unstage)
9992 @[ -f ./find/Makefile ] || exit 0; \
9993 r=`${PWD_COMMAND}`; export r; \
9994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9995 $(HOST_EXPORTS) \
9996 for flag in $(EXTRA_HOST_FLAGS) ; do \
9997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9998 done; \
9999 echo "Doing clean in find" ; \
10000 (cd $(HOST_SUBDIR)/find && \
10001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10003 "RANLIB=$${RANLIB}" \
10004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10005 clean) \
10006 || exit 1
10008 @endif find
10010 .PHONY: maybe-distclean-find distclean-find
10011 maybe-distclean-find:
10012 @if find
10013 maybe-distclean-find: distclean-find
10015 distclean-find:
10016 @: $(MAKE); $(unstage)
10017 @[ -f ./find/Makefile ] || exit 0; \
10018 r=`${PWD_COMMAND}`; export r; \
10019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10020 $(HOST_EXPORTS) \
10021 for flag in $(EXTRA_HOST_FLAGS) ; do \
10022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10023 done; \
10024 echo "Doing distclean in find" ; \
10025 (cd $(HOST_SUBDIR)/find && \
10026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10028 "RANLIB=$${RANLIB}" \
10029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10030 distclean) \
10031 || exit 1
10033 @endif find
10035 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
10036 maybe-maintainer-clean-find:
10037 @if find
10038 maybe-maintainer-clean-find: maintainer-clean-find
10040 maintainer-clean-find:
10041 @: $(MAKE); $(unstage)
10042 @[ -f ./find/Makefile ] || exit 0; \
10043 r=`${PWD_COMMAND}`; export r; \
10044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10045 $(HOST_EXPORTS) \
10046 for flag in $(EXTRA_HOST_FLAGS) ; do \
10047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10048 done; \
10049 echo "Doing maintainer-clean in find" ; \
10050 (cd $(HOST_SUBDIR)/find && \
10051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10053 "RANLIB=$${RANLIB}" \
10054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10055 maintainer-clean) \
10056 || exit 1
10058 @endif find
10062 .PHONY: configure-fixincludes maybe-configure-fixincludes
10063 maybe-configure-fixincludes:
10064 @if fixincludes
10065 maybe-configure-fixincludes: configure-fixincludes
10066 configure-fixincludes:
10067 @: $(MAKE); $(unstage)
10068 @r=`${PWD_COMMAND}`; export r; \
10069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10070 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
10071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
10072 $(HOST_EXPORTS) \
10073 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
10074 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
10075 case $(srcdir) in \
10076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10077 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
10078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10079 esac; \
10080 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
10081 libsrcdir="$$s/fixincludes"; \
10082 $(SHELL) $${libsrcdir}/configure \
10083 $(HOST_CONFIGARGS) $${srcdiroption} \
10084 || exit 1
10085 @endif fixincludes
10091 .PHONY: all-fixincludes maybe-all-fixincludes
10092 maybe-all-fixincludes:
10093 @if fixincludes
10094 TARGET-fixincludes=all
10095 maybe-all-fixincludes: all-fixincludes
10096 all-fixincludes: configure-fixincludes
10097 @: $(MAKE); $(unstage)
10098 @r=`${PWD_COMMAND}`; export r; \
10099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10100 $(HOST_EXPORTS) \
10101 (cd $(HOST_SUBDIR)/fixincludes && \
10102 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
10103 @endif fixincludes
10108 .PHONY: check-fixincludes maybe-check-fixincludes
10109 maybe-check-fixincludes:
10110 @if fixincludes
10111 maybe-check-fixincludes: check-fixincludes
10113 check-fixincludes:
10114 @: $(MAKE); $(unstage)
10115 @r=`${PWD_COMMAND}`; export r; \
10116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10117 $(HOST_EXPORTS) \
10118 (cd $(HOST_SUBDIR)/fixincludes && \
10119 $(MAKE) $(FLAGS_TO_PASS) check)
10121 @endif fixincludes
10123 .PHONY: install-fixincludes maybe-install-fixincludes
10124 maybe-install-fixincludes:
10125 @if fixincludes
10126 maybe-install-fixincludes: install-fixincludes
10128 install-fixincludes: installdirs
10129 @: $(MAKE); $(unstage)
10130 @r=`${PWD_COMMAND}`; export r; \
10131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10132 $(HOST_EXPORTS) \
10133 (cd $(HOST_SUBDIR)/fixincludes && \
10134 $(MAKE) $(FLAGS_TO_PASS) install)
10136 @endif fixincludes
10138 # Other targets (info, dvi, etc.)
10140 .PHONY: maybe-info-fixincludes info-fixincludes
10141 maybe-info-fixincludes:
10142 @if fixincludes
10143 maybe-info-fixincludes: info-fixincludes
10145 # fixincludes doesn't support info.
10146 info-fixincludes:
10148 @endif fixincludes
10150 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
10151 maybe-dvi-fixincludes:
10152 @if fixincludes
10153 maybe-dvi-fixincludes: dvi-fixincludes
10155 # fixincludes doesn't support dvi.
10156 dvi-fixincludes:
10158 @endif fixincludes
10160 .PHONY: maybe-html-fixincludes html-fixincludes
10161 maybe-html-fixincludes:
10162 @if fixincludes
10163 maybe-html-fixincludes: html-fixincludes
10165 html-fixincludes: \
10166 configure-fixincludes
10167 @: $(MAKE); $(unstage)
10168 @[ -f ./fixincludes/Makefile ] || exit 0; \
10169 r=`${PWD_COMMAND}`; export r; \
10170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10171 $(HOST_EXPORTS) \
10172 for flag in $(EXTRA_HOST_FLAGS) ; do \
10173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10174 done; \
10175 echo "Doing html in fixincludes" ; \
10176 (cd $(HOST_SUBDIR)/fixincludes && \
10177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10179 "RANLIB=$${RANLIB}" \
10180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10181 html) \
10182 || exit 1
10184 @endif fixincludes
10186 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
10187 maybe-TAGS-fixincludes:
10188 @if fixincludes
10189 maybe-TAGS-fixincludes: TAGS-fixincludes
10191 # fixincludes doesn't support TAGS.
10192 TAGS-fixincludes:
10194 @endif fixincludes
10196 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
10197 maybe-install-info-fixincludes:
10198 @if fixincludes
10199 maybe-install-info-fixincludes: install-info-fixincludes
10201 # fixincludes doesn't support install-info.
10202 install-info-fixincludes:
10204 @endif fixincludes
10206 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
10207 maybe-installcheck-fixincludes:
10208 @if fixincludes
10209 maybe-installcheck-fixincludes: installcheck-fixincludes
10211 # fixincludes doesn't support installcheck.
10212 installcheck-fixincludes:
10214 @endif fixincludes
10216 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
10217 maybe-mostlyclean-fixincludes:
10218 @if fixincludes
10219 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10221 mostlyclean-fixincludes:
10222 @: $(MAKE); $(unstage)
10223 @[ -f ./fixincludes/Makefile ] || exit 0; \
10224 r=`${PWD_COMMAND}`; export r; \
10225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 $(HOST_EXPORTS) \
10227 for flag in $(EXTRA_HOST_FLAGS) ; do \
10228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10229 done; \
10230 echo "Doing mostlyclean in fixincludes" ; \
10231 (cd $(HOST_SUBDIR)/fixincludes && \
10232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10234 "RANLIB=$${RANLIB}" \
10235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10236 mostlyclean) \
10237 || exit 1
10239 @endif fixincludes
10241 .PHONY: maybe-clean-fixincludes clean-fixincludes
10242 maybe-clean-fixincludes:
10243 @if fixincludes
10244 maybe-clean-fixincludes: clean-fixincludes
10246 clean-fixincludes:
10247 @: $(MAKE); $(unstage)
10248 @[ -f ./fixincludes/Makefile ] || exit 0; \
10249 r=`${PWD_COMMAND}`; export r; \
10250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251 $(HOST_EXPORTS) \
10252 for flag in $(EXTRA_HOST_FLAGS) ; do \
10253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10254 done; \
10255 echo "Doing clean in fixincludes" ; \
10256 (cd $(HOST_SUBDIR)/fixincludes && \
10257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10259 "RANLIB=$${RANLIB}" \
10260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10261 clean) \
10262 || exit 1
10264 @endif fixincludes
10266 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10267 maybe-distclean-fixincludes:
10268 @if fixincludes
10269 maybe-distclean-fixincludes: distclean-fixincludes
10271 distclean-fixincludes:
10272 @: $(MAKE); $(unstage)
10273 @[ -f ./fixincludes/Makefile ] || exit 0; \
10274 r=`${PWD_COMMAND}`; export r; \
10275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10276 $(HOST_EXPORTS) \
10277 for flag in $(EXTRA_HOST_FLAGS) ; do \
10278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10279 done; \
10280 echo "Doing distclean in fixincludes" ; \
10281 (cd $(HOST_SUBDIR)/fixincludes && \
10282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10284 "RANLIB=$${RANLIB}" \
10285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10286 distclean) \
10287 || exit 1
10289 @endif fixincludes
10291 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10292 maybe-maintainer-clean-fixincludes:
10293 @if fixincludes
10294 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10296 maintainer-clean-fixincludes:
10297 @: $(MAKE); $(unstage)
10298 @[ -f ./fixincludes/Makefile ] || exit 0; \
10299 r=`${PWD_COMMAND}`; export r; \
10300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10301 $(HOST_EXPORTS) \
10302 for flag in $(EXTRA_HOST_FLAGS) ; do \
10303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10304 done; \
10305 echo "Doing maintainer-clean in fixincludes" ; \
10306 (cd $(HOST_SUBDIR)/fixincludes && \
10307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10309 "RANLIB=$${RANLIB}" \
10310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10311 maintainer-clean) \
10312 || exit 1
10314 @endif fixincludes
10318 .PHONY: configure-flex maybe-configure-flex
10319 maybe-configure-flex:
10320 @if flex
10321 maybe-configure-flex: configure-flex
10322 configure-flex:
10323 @: $(MAKE); $(unstage)
10324 @r=`${PWD_COMMAND}`; export r; \
10325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10326 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10328 $(HOST_EXPORTS) \
10329 echo Configuring in $(HOST_SUBDIR)/flex; \
10330 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10331 case $(srcdir) in \
10332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10333 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10335 esac; \
10336 srcdiroption="--srcdir=$${topdir}/flex"; \
10337 libsrcdir="$$s/flex"; \
10338 $(SHELL) $${libsrcdir}/configure \
10339 $(HOST_CONFIGARGS) $${srcdiroption} \
10340 || exit 1
10341 @endif flex
10347 .PHONY: all-flex maybe-all-flex
10348 maybe-all-flex:
10349 @if flex
10350 TARGET-flex=all
10351 maybe-all-flex: all-flex
10352 all-flex: configure-flex
10353 @: $(MAKE); $(unstage)
10354 @r=`${PWD_COMMAND}`; export r; \
10355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10356 $(HOST_EXPORTS) \
10357 (cd $(HOST_SUBDIR)/flex && \
10358 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10359 @endif flex
10364 .PHONY: check-flex maybe-check-flex
10365 maybe-check-flex:
10366 @if flex
10367 maybe-check-flex: check-flex
10369 # This module is only tested in a native toolchain.
10370 check-flex:
10371 @: $(MAKE); $(unstage)
10372 @if [ '$(host)' = '$(target)' ] ; then \
10373 r=`${PWD_COMMAND}`; export r; \
10374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10375 $(HOST_EXPORTS) \
10376 (cd $(HOST_SUBDIR)/flex && \
10377 $(MAKE) $(FLAGS_TO_PASS) check); \
10380 @endif flex
10382 .PHONY: install-flex maybe-install-flex
10383 maybe-install-flex:
10384 @if flex
10385 maybe-install-flex: install-flex
10387 install-flex: installdirs
10388 @: $(MAKE); $(unstage)
10389 @r=`${PWD_COMMAND}`; export r; \
10390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 $(HOST_EXPORTS) \
10392 (cd $(HOST_SUBDIR)/flex && \
10393 $(MAKE) $(FLAGS_TO_PASS) install)
10395 @endif flex
10397 # Other targets (info, dvi, etc.)
10399 .PHONY: maybe-info-flex info-flex
10400 maybe-info-flex:
10401 @if flex
10402 maybe-info-flex: info-flex
10404 info-flex: \
10405 configure-flex
10406 @: $(MAKE); $(unstage)
10407 @[ -f ./flex/Makefile ] || exit 0; \
10408 r=`${PWD_COMMAND}`; export r; \
10409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10410 $(HOST_EXPORTS) \
10411 for flag in $(EXTRA_HOST_FLAGS) ; do \
10412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10413 done; \
10414 echo "Doing info in flex" ; \
10415 (cd $(HOST_SUBDIR)/flex && \
10416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10418 "RANLIB=$${RANLIB}" \
10419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10420 info) \
10421 || exit 1
10423 @endif flex
10425 .PHONY: maybe-dvi-flex dvi-flex
10426 maybe-dvi-flex:
10427 @if flex
10428 maybe-dvi-flex: dvi-flex
10430 dvi-flex: \
10431 configure-flex
10432 @: $(MAKE); $(unstage)
10433 @[ -f ./flex/Makefile ] || exit 0; \
10434 r=`${PWD_COMMAND}`; export r; \
10435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10436 $(HOST_EXPORTS) \
10437 for flag in $(EXTRA_HOST_FLAGS) ; do \
10438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10439 done; \
10440 echo "Doing dvi in flex" ; \
10441 (cd $(HOST_SUBDIR)/flex && \
10442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10444 "RANLIB=$${RANLIB}" \
10445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10446 dvi) \
10447 || exit 1
10449 @endif flex
10451 .PHONY: maybe-html-flex html-flex
10452 maybe-html-flex:
10453 @if flex
10454 maybe-html-flex: html-flex
10456 html-flex: \
10457 configure-flex
10458 @: $(MAKE); $(unstage)
10459 @[ -f ./flex/Makefile ] || exit 0; \
10460 r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(HOST_EXPORTS) \
10463 for flag in $(EXTRA_HOST_FLAGS) ; do \
10464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10465 done; \
10466 echo "Doing html in flex" ; \
10467 (cd $(HOST_SUBDIR)/flex && \
10468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10470 "RANLIB=$${RANLIB}" \
10471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10472 html) \
10473 || exit 1
10475 @endif flex
10477 .PHONY: maybe-TAGS-flex TAGS-flex
10478 maybe-TAGS-flex:
10479 @if flex
10480 maybe-TAGS-flex: TAGS-flex
10482 TAGS-flex: \
10483 configure-flex
10484 @: $(MAKE); $(unstage)
10485 @[ -f ./flex/Makefile ] || exit 0; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(HOST_EXPORTS) \
10489 for flag in $(EXTRA_HOST_FLAGS) ; do \
10490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 done; \
10492 echo "Doing TAGS in flex" ; \
10493 (cd $(HOST_SUBDIR)/flex && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10496 "RANLIB=$${RANLIB}" \
10497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10498 TAGS) \
10499 || exit 1
10501 @endif flex
10503 .PHONY: maybe-install-info-flex install-info-flex
10504 maybe-install-info-flex:
10505 @if flex
10506 maybe-install-info-flex: install-info-flex
10508 install-info-flex: \
10509 configure-flex \
10510 info-flex
10511 @: $(MAKE); $(unstage)
10512 @[ -f ./flex/Makefile ] || exit 0; \
10513 r=`${PWD_COMMAND}`; export r; \
10514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10515 $(HOST_EXPORTS) \
10516 for flag in $(EXTRA_HOST_FLAGS) ; do \
10517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10518 done; \
10519 echo "Doing install-info in flex" ; \
10520 (cd $(HOST_SUBDIR)/flex && \
10521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10523 "RANLIB=$${RANLIB}" \
10524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10525 install-info) \
10526 || exit 1
10528 @endif flex
10530 .PHONY: maybe-installcheck-flex installcheck-flex
10531 maybe-installcheck-flex:
10532 @if flex
10533 maybe-installcheck-flex: installcheck-flex
10535 installcheck-flex: \
10536 configure-flex
10537 @: $(MAKE); $(unstage)
10538 @[ -f ./flex/Makefile ] || exit 0; \
10539 r=`${PWD_COMMAND}`; export r; \
10540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10541 $(HOST_EXPORTS) \
10542 for flag in $(EXTRA_HOST_FLAGS) ; do \
10543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10544 done; \
10545 echo "Doing installcheck in flex" ; \
10546 (cd $(HOST_SUBDIR)/flex && \
10547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10549 "RANLIB=$${RANLIB}" \
10550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10551 installcheck) \
10552 || exit 1
10554 @endif flex
10556 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10557 maybe-mostlyclean-flex:
10558 @if flex
10559 maybe-mostlyclean-flex: mostlyclean-flex
10561 mostlyclean-flex:
10562 @: $(MAKE); $(unstage)
10563 @[ -f ./flex/Makefile ] || exit 0; \
10564 r=`${PWD_COMMAND}`; export r; \
10565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10566 $(HOST_EXPORTS) \
10567 for flag in $(EXTRA_HOST_FLAGS) ; do \
10568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10569 done; \
10570 echo "Doing mostlyclean in flex" ; \
10571 (cd $(HOST_SUBDIR)/flex && \
10572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10574 "RANLIB=$${RANLIB}" \
10575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10576 mostlyclean) \
10577 || exit 1
10579 @endif flex
10581 .PHONY: maybe-clean-flex clean-flex
10582 maybe-clean-flex:
10583 @if flex
10584 maybe-clean-flex: clean-flex
10586 clean-flex:
10587 @: $(MAKE); $(unstage)
10588 @[ -f ./flex/Makefile ] || exit 0; \
10589 r=`${PWD_COMMAND}`; export r; \
10590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10591 $(HOST_EXPORTS) \
10592 for flag in $(EXTRA_HOST_FLAGS) ; do \
10593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10594 done; \
10595 echo "Doing clean in flex" ; \
10596 (cd $(HOST_SUBDIR)/flex && \
10597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10599 "RANLIB=$${RANLIB}" \
10600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10601 clean) \
10602 || exit 1
10604 @endif flex
10606 .PHONY: maybe-distclean-flex distclean-flex
10607 maybe-distclean-flex:
10608 @if flex
10609 maybe-distclean-flex: distclean-flex
10611 distclean-flex:
10612 @: $(MAKE); $(unstage)
10613 @[ -f ./flex/Makefile ] || exit 0; \
10614 r=`${PWD_COMMAND}`; export r; \
10615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10616 $(HOST_EXPORTS) \
10617 for flag in $(EXTRA_HOST_FLAGS) ; do \
10618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10619 done; \
10620 echo "Doing distclean in flex" ; \
10621 (cd $(HOST_SUBDIR)/flex && \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624 "RANLIB=$${RANLIB}" \
10625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10626 distclean) \
10627 || exit 1
10629 @endif flex
10631 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10632 maybe-maintainer-clean-flex:
10633 @if flex
10634 maybe-maintainer-clean-flex: maintainer-clean-flex
10636 maintainer-clean-flex:
10637 @: $(MAKE); $(unstage)
10638 @[ -f ./flex/Makefile ] || exit 0; \
10639 r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 $(HOST_EXPORTS) \
10642 for flag in $(EXTRA_HOST_FLAGS) ; do \
10643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10644 done; \
10645 echo "Doing maintainer-clean in flex" ; \
10646 (cd $(HOST_SUBDIR)/flex && \
10647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10649 "RANLIB=$${RANLIB}" \
10650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10651 maintainer-clean) \
10652 || exit 1
10654 @endif flex
10658 .PHONY: configure-gas maybe-configure-gas
10659 maybe-configure-gas:
10660 @if gas
10661 maybe-configure-gas: configure-gas
10662 configure-gas:
10663 @endif gas
10664 @if gas-bootstrap
10665 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10666 @endif gas-bootstrap
10667 @if gas
10668 @r=`${PWD_COMMAND}`; export r; \
10669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10671 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10672 $(HOST_EXPORTS) \
10673 echo Configuring in $(HOST_SUBDIR)/gas; \
10674 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10675 case $(srcdir) in \
10676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10677 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10679 esac; \
10680 srcdiroption="--srcdir=$${topdir}/gas"; \
10681 libsrcdir="$$s/gas"; \
10682 $(SHELL) $${libsrcdir}/configure \
10683 $(HOST_CONFIGARGS) $${srcdiroption} \
10684 || exit 1
10685 @endif gas
10689 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10690 maybe-configure-stage1-gas:
10691 @if gas-bootstrap
10692 maybe-configure-stage1-gas: configure-stage1-gas
10693 configure-stage1-gas:
10694 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10695 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10696 @r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10699 $(HOST_EXPORTS) \
10700 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10702 cd $(HOST_SUBDIR)/gas || exit 1; \
10703 case $(srcdir) in \
10704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10705 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10707 esac; \
10708 srcdiroption="--srcdir=$${topdir}/gas"; \
10709 libsrcdir="$$s/gas"; \
10710 $(SHELL) $${libsrcdir}/configure \
10711 $(HOST_CONFIGARGS) $${srcdiroption} \
10712 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10713 @endif gas-bootstrap
10715 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10716 maybe-configure-stage2-gas:
10717 @if gas-bootstrap
10718 maybe-configure-stage2-gas: configure-stage2-gas
10719 configure-stage2-gas:
10720 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10722 @r=`${PWD_COMMAND}`; export r; \
10723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10724 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10725 $(HOST_EXPORTS) \
10726 $(POSTSTAGE1_HOST_EXPORTS) \
10727 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10729 cd $(HOST_SUBDIR)/gas || exit 1; \
10730 case $(srcdir) in \
10731 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10732 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10733 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10734 esac; \
10735 srcdiroption="--srcdir=$${topdir}/gas"; \
10736 libsrcdir="$$s/gas"; \
10737 $(SHELL) $${libsrcdir}/configure \
10738 $(HOST_CONFIGARGS) $${srcdiroption} \
10739 @stage2_werror_flag@
10740 @endif gas-bootstrap
10742 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10743 maybe-configure-stage3-gas:
10744 @if gas-bootstrap
10745 maybe-configure-stage3-gas: configure-stage3-gas
10746 configure-stage3-gas:
10747 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10748 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10749 @r=`${PWD_COMMAND}`; export r; \
10750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10751 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10752 $(HOST_EXPORTS) \
10753 $(POSTSTAGE1_HOST_EXPORTS) \
10754 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10756 cd $(HOST_SUBDIR)/gas || exit 1; \
10757 case $(srcdir) in \
10758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10759 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10761 esac; \
10762 srcdiroption="--srcdir=$${topdir}/gas"; \
10763 libsrcdir="$$s/gas"; \
10764 $(SHELL) $${libsrcdir}/configure \
10765 $(HOST_CONFIGARGS) $${srcdiroption} \
10766 @stage2_werror_flag@
10767 @endif gas-bootstrap
10769 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10770 maybe-configure-stage4-gas:
10771 @if gas-bootstrap
10772 maybe-configure-stage4-gas: configure-stage4-gas
10773 configure-stage4-gas:
10774 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10775 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10776 @r=`${PWD_COMMAND}`; export r; \
10777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10779 $(HOST_EXPORTS) \
10780 $(POSTSTAGE1_HOST_EXPORTS) \
10781 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10782 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10783 cd $(HOST_SUBDIR)/gas || exit 1; \
10784 case $(srcdir) in \
10785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10786 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10788 esac; \
10789 srcdiroption="--srcdir=$${topdir}/gas"; \
10790 libsrcdir="$$s/gas"; \
10791 $(SHELL) $${libsrcdir}/configure \
10792 $(HOST_CONFIGARGS) $${srcdiroption} \
10793 @stage2_werror_flag@
10794 @endif gas-bootstrap
10796 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10797 maybe-configure-stageprofile-gas:
10798 @if gas-bootstrap
10799 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10800 configure-stageprofile-gas:
10801 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10803 @r=`${PWD_COMMAND}`; export r; \
10804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10805 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10806 $(HOST_EXPORTS) \
10807 $(POSTSTAGE1_HOST_EXPORTS) \
10808 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10810 cd $(HOST_SUBDIR)/gas || exit 1; \
10811 case $(srcdir) in \
10812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10813 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10815 esac; \
10816 srcdiroption="--srcdir=$${topdir}/gas"; \
10817 libsrcdir="$$s/gas"; \
10818 $(SHELL) $${libsrcdir}/configure \
10819 $(HOST_CONFIGARGS) $${srcdiroption} \
10820 @stage2_werror_flag@
10821 @endif gas-bootstrap
10823 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10824 maybe-configure-stagefeedback-gas:
10825 @if gas-bootstrap
10826 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10827 configure-stagefeedback-gas:
10828 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
10830 @r=`${PWD_COMMAND}`; export r; \
10831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10832 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10833 $(HOST_EXPORTS) \
10834 $(POSTSTAGE1_HOST_EXPORTS) \
10835 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10837 cd $(HOST_SUBDIR)/gas || exit 1; \
10838 case $(srcdir) in \
10839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10840 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10842 esac; \
10843 srcdiroption="--srcdir=$${topdir}/gas"; \
10844 libsrcdir="$$s/gas"; \
10845 $(SHELL) $${libsrcdir}/configure \
10846 $(HOST_CONFIGARGS) $${srcdiroption} \
10847 @stage2_werror_flag@
10848 @endif gas-bootstrap
10854 .PHONY: all-gas maybe-all-gas
10855 maybe-all-gas:
10856 @if gas
10857 TARGET-gas=all
10858 maybe-all-gas: all-gas
10859 all-gas: configure-gas
10860 @endif gas
10861 @if gas-bootstrap
10862 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
10863 @endif gas-bootstrap
10864 @if gas
10865 @r=`${PWD_COMMAND}`; export r; \
10866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10867 $(HOST_EXPORTS) \
10868 (cd $(HOST_SUBDIR)/gas && \
10869 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10870 @endif gas
10874 .PHONY: all-stage1-gas maybe-all-stage1-gas
10875 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10876 maybe-all-stage1-gas:
10877 maybe-clean-stage1-gas:
10878 @if gas-bootstrap
10879 maybe-all-stage1-gas: all-stage1-gas
10880 all-stage1: all-stage1-gas
10881 TARGET-stage1-gas = $(TARGET-gas)
10882 all-stage1-gas: configure-stage1-gas
10883 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10884 @r=`${PWD_COMMAND}`; export r; \
10885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 $(HOST_EXPORTS) \
10887 cd $(HOST_SUBDIR)/gas && \
10888 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
10889 $(TARGET-stage1-gas)
10891 maybe-clean-stage1-gas: clean-stage1-gas
10892 clean-stage1: clean-stage1-gas
10893 clean-stage1-gas:
10894 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10895 || exit 0 ; \
10896 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
10897 cd $(HOST_SUBDIR)/gas && \
10898 $(MAKE) $(FLAGS_TO_PASS) \
10899 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
10900 @endif gas-bootstrap
10903 .PHONY: all-stage2-gas maybe-all-stage2-gas
10904 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10905 maybe-all-stage2-gas:
10906 maybe-clean-stage2-gas:
10907 @if gas-bootstrap
10908 maybe-all-stage2-gas: all-stage2-gas
10909 all-stage2: all-stage2-gas
10910 TARGET-stage2-gas = $(TARGET-gas)
10911 all-stage2-gas: configure-stage2-gas
10912 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10913 @r=`${PWD_COMMAND}`; export r; \
10914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10915 $(HOST_EXPORTS) \
10916 $(POSTSTAGE1_HOST_EXPORTS) \
10917 cd $(HOST_SUBDIR)/gas && \
10918 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10919 $(TARGET-stage2-gas)
10921 maybe-clean-stage2-gas: clean-stage2-gas
10922 clean-stage2: clean-stage2-gas
10923 clean-stage2-gas:
10924 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10925 || exit 0 ; \
10926 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
10927 cd $(HOST_SUBDIR)/gas && \
10928 $(MAKE) $(FLAGS_TO_PASS) \
10929 $(POSTSTAGE1_FLAGS_TO_PASS) \
10930 clean
10931 @endif gas-bootstrap
10934 .PHONY: all-stage3-gas maybe-all-stage3-gas
10935 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10936 maybe-all-stage3-gas:
10937 maybe-clean-stage3-gas:
10938 @if gas-bootstrap
10939 maybe-all-stage3-gas: all-stage3-gas
10940 all-stage3: all-stage3-gas
10941 TARGET-stage3-gas = $(TARGET-gas)
10942 all-stage3-gas: configure-stage3-gas
10943 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10944 @r=`${PWD_COMMAND}`; export r; \
10945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10946 $(HOST_EXPORTS) \
10947 $(POSTSTAGE1_HOST_EXPORTS) \
10948 cd $(HOST_SUBDIR)/gas && \
10949 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10950 $(TARGET-stage3-gas)
10952 maybe-clean-stage3-gas: clean-stage3-gas
10953 clean-stage3: clean-stage3-gas
10954 clean-stage3-gas:
10955 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10956 || exit 0 ; \
10957 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
10958 cd $(HOST_SUBDIR)/gas && \
10959 $(MAKE) $(FLAGS_TO_PASS) \
10960 $(POSTSTAGE1_FLAGS_TO_PASS) \
10961 clean
10962 @endif gas-bootstrap
10965 .PHONY: all-stage4-gas maybe-all-stage4-gas
10966 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10967 maybe-all-stage4-gas:
10968 maybe-clean-stage4-gas:
10969 @if gas-bootstrap
10970 maybe-all-stage4-gas: all-stage4-gas
10971 all-stage4: all-stage4-gas
10972 TARGET-stage4-gas = $(TARGET-gas)
10973 all-stage4-gas: configure-stage4-gas
10974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10975 @r=`${PWD_COMMAND}`; export r; \
10976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10977 $(HOST_EXPORTS) \
10978 $(POSTSTAGE1_HOST_EXPORTS) \
10979 cd $(HOST_SUBDIR)/gas && \
10980 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10981 $(TARGET-stage4-gas)
10983 maybe-clean-stage4-gas: clean-stage4-gas
10984 clean-stage4: clean-stage4-gas
10985 clean-stage4-gas:
10986 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10987 || exit 0 ; \
10988 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
10989 cd $(HOST_SUBDIR)/gas && \
10990 $(MAKE) $(FLAGS_TO_PASS) \
10991 $(POSTSTAGE1_FLAGS_TO_PASS) \
10992 clean
10993 @endif gas-bootstrap
10996 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10997 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10998 maybe-all-stageprofile-gas:
10999 maybe-clean-stageprofile-gas:
11000 @if gas-bootstrap
11001 maybe-all-stageprofile-gas: all-stageprofile-gas
11002 all-stageprofile: all-stageprofile-gas
11003 TARGET-stageprofile-gas = $(TARGET-gas)
11004 all-stageprofile-gas: configure-stageprofile-gas
11005 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11006 @r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11008 $(HOST_EXPORTS) \
11009 $(POSTSTAGE1_HOST_EXPORTS) \
11010 cd $(HOST_SUBDIR)/gas && \
11011 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
11012 $(TARGET-stageprofile-gas)
11014 maybe-clean-stageprofile-gas: clean-stageprofile-gas
11015 clean-stageprofile: clean-stageprofile-gas
11016 clean-stageprofile-gas:
11017 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
11018 || exit 0 ; \
11019 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11020 cd $(HOST_SUBDIR)/gas && \
11021 $(MAKE) $(FLAGS_TO_PASS) \
11022 $(POSTSTAGE1_FLAGS_TO_PASS) \
11023 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
11024 @endif gas-bootstrap
11027 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
11028 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
11029 maybe-all-stagefeedback-gas:
11030 maybe-clean-stagefeedback-gas:
11031 @if gas-bootstrap
11032 maybe-all-stagefeedback-gas: all-stagefeedback-gas
11033 all-stagefeedback: all-stagefeedback-gas
11034 TARGET-stagefeedback-gas = $(TARGET-gas)
11035 all-stagefeedback-gas: configure-stagefeedback-gas
11036 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11037 @r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(HOST_EXPORTS) \
11040 $(POSTSTAGE1_HOST_EXPORTS) \
11041 cd $(HOST_SUBDIR)/gas && \
11042 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
11043 $(TARGET-stagefeedback-gas)
11045 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
11046 clean-stagefeedback: clean-stagefeedback-gas
11047 clean-stagefeedback-gas:
11048 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
11049 || exit 0 ; \
11050 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11051 cd $(HOST_SUBDIR)/gas && \
11052 $(MAKE) $(FLAGS_TO_PASS) \
11053 $(POSTSTAGE1_FLAGS_TO_PASS) \
11054 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
11055 @endif gas-bootstrap
11061 .PHONY: check-gas maybe-check-gas
11062 maybe-check-gas:
11063 @if gas
11064 maybe-check-gas: check-gas
11066 check-gas:
11067 @: $(MAKE); $(unstage)
11068 @r=`${PWD_COMMAND}`; export r; \
11069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11070 $(HOST_EXPORTS) \
11071 (cd $(HOST_SUBDIR)/gas && \
11072 $(MAKE) $(FLAGS_TO_PASS) check)
11074 @endif gas
11076 .PHONY: install-gas maybe-install-gas
11077 maybe-install-gas:
11078 @if gas
11079 maybe-install-gas: install-gas
11081 install-gas: installdirs
11082 @: $(MAKE); $(unstage)
11083 @r=`${PWD_COMMAND}`; export r; \
11084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11085 $(HOST_EXPORTS) \
11086 (cd $(HOST_SUBDIR)/gas && \
11087 $(MAKE) $(FLAGS_TO_PASS) install)
11089 @endif gas
11091 # Other targets (info, dvi, etc.)
11093 .PHONY: maybe-info-gas info-gas
11094 maybe-info-gas:
11095 @if gas
11096 maybe-info-gas: info-gas
11098 info-gas: \
11099 configure-gas
11100 @[ -f ./gas/Makefile ] || exit 0; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(HOST_EXPORTS) \
11104 for flag in $(EXTRA_HOST_FLAGS) ; do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing info in gas" ; \
11108 (cd $(HOST_SUBDIR)/gas && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113 info) \
11114 || exit 1
11116 @endif gas
11118 .PHONY: maybe-dvi-gas dvi-gas
11119 maybe-dvi-gas:
11120 @if gas
11121 maybe-dvi-gas: dvi-gas
11123 dvi-gas: \
11124 configure-gas
11125 @[ -f ./gas/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(HOST_EXPORTS) \
11129 for flag in $(EXTRA_HOST_FLAGS) ; do \
11130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11131 done; \
11132 echo "Doing dvi in gas" ; \
11133 (cd $(HOST_SUBDIR)/gas && \
11134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136 "RANLIB=$${RANLIB}" \
11137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11138 dvi) \
11139 || exit 1
11141 @endif gas
11143 .PHONY: maybe-html-gas html-gas
11144 maybe-html-gas:
11145 @if gas
11146 maybe-html-gas: html-gas
11148 html-gas: \
11149 configure-gas
11150 @[ -f ./gas/Makefile ] || exit 0; \
11151 r=`${PWD_COMMAND}`; export r; \
11152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 $(HOST_EXPORTS) \
11154 for flag in $(EXTRA_HOST_FLAGS) ; do \
11155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11156 done; \
11157 echo "Doing html in gas" ; \
11158 (cd $(HOST_SUBDIR)/gas && \
11159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11161 "RANLIB=$${RANLIB}" \
11162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11163 html) \
11164 || exit 1
11166 @endif gas
11168 .PHONY: maybe-TAGS-gas TAGS-gas
11169 maybe-TAGS-gas:
11170 @if gas
11171 maybe-TAGS-gas: TAGS-gas
11173 TAGS-gas: \
11174 configure-gas
11175 @[ -f ./gas/Makefile ] || exit 0; \
11176 r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 for flag in $(EXTRA_HOST_FLAGS) ; do \
11180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11181 done; \
11182 echo "Doing TAGS in gas" ; \
11183 (cd $(HOST_SUBDIR)/gas && \
11184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11186 "RANLIB=$${RANLIB}" \
11187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11188 TAGS) \
11189 || exit 1
11191 @endif gas
11193 .PHONY: maybe-install-info-gas install-info-gas
11194 maybe-install-info-gas:
11195 @if gas
11196 maybe-install-info-gas: install-info-gas
11198 install-info-gas: \
11199 configure-gas \
11200 info-gas
11201 @[ -f ./gas/Makefile ] || exit 0; \
11202 r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11204 $(HOST_EXPORTS) \
11205 for flag in $(EXTRA_HOST_FLAGS) ; do \
11206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11207 done; \
11208 echo "Doing install-info in gas" ; \
11209 (cd $(HOST_SUBDIR)/gas && \
11210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11212 "RANLIB=$${RANLIB}" \
11213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11214 install-info) \
11215 || exit 1
11217 @endif gas
11219 .PHONY: maybe-installcheck-gas installcheck-gas
11220 maybe-installcheck-gas:
11221 @if gas
11222 maybe-installcheck-gas: installcheck-gas
11224 installcheck-gas: \
11225 configure-gas
11226 @[ -f ./gas/Makefile ] || exit 0; \
11227 r=`${PWD_COMMAND}`; export r; \
11228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11229 $(HOST_EXPORTS) \
11230 for flag in $(EXTRA_HOST_FLAGS) ; do \
11231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11232 done; \
11233 echo "Doing installcheck in gas" ; \
11234 (cd $(HOST_SUBDIR)/gas && \
11235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11237 "RANLIB=$${RANLIB}" \
11238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11239 installcheck) \
11240 || exit 1
11242 @endif gas
11244 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11245 maybe-mostlyclean-gas:
11246 @if gas
11247 maybe-mostlyclean-gas: mostlyclean-gas
11249 mostlyclean-gas:
11250 @[ -f ./gas/Makefile ] || exit 0; \
11251 r=`${PWD_COMMAND}`; export r; \
11252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11253 $(HOST_EXPORTS) \
11254 for flag in $(EXTRA_HOST_FLAGS) ; do \
11255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11256 done; \
11257 echo "Doing mostlyclean in gas" ; \
11258 (cd $(HOST_SUBDIR)/gas && \
11259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11261 "RANLIB=$${RANLIB}" \
11262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11263 mostlyclean) \
11264 || exit 1
11266 @endif gas
11268 .PHONY: maybe-clean-gas clean-gas
11269 maybe-clean-gas:
11270 @if gas
11271 maybe-clean-gas: clean-gas
11273 clean-gas:
11274 @[ -f ./gas/Makefile ] || exit 0; \
11275 r=`${PWD_COMMAND}`; export r; \
11276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11277 $(HOST_EXPORTS) \
11278 for flag in $(EXTRA_HOST_FLAGS) ; do \
11279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11280 done; \
11281 echo "Doing clean in gas" ; \
11282 (cd $(HOST_SUBDIR)/gas && \
11283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11285 "RANLIB=$${RANLIB}" \
11286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11287 clean) \
11288 || exit 1
11290 @endif gas
11292 .PHONY: maybe-distclean-gas distclean-gas
11293 maybe-distclean-gas:
11294 @if gas
11295 maybe-distclean-gas: distclean-gas
11297 distclean-gas:
11298 @[ -f ./gas/Makefile ] || exit 0; \
11299 r=`${PWD_COMMAND}`; export r; \
11300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11301 $(HOST_EXPORTS) \
11302 for flag in $(EXTRA_HOST_FLAGS) ; do \
11303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11304 done; \
11305 echo "Doing distclean in gas" ; \
11306 (cd $(HOST_SUBDIR)/gas && \
11307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11309 "RANLIB=$${RANLIB}" \
11310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11311 distclean) \
11312 || exit 1
11314 @endif gas
11316 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11317 maybe-maintainer-clean-gas:
11318 @if gas
11319 maybe-maintainer-clean-gas: maintainer-clean-gas
11321 maintainer-clean-gas:
11322 @[ -f ./gas/Makefile ] || exit 0; \
11323 r=`${PWD_COMMAND}`; export r; \
11324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11325 $(HOST_EXPORTS) \
11326 for flag in $(EXTRA_HOST_FLAGS) ; do \
11327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11328 done; \
11329 echo "Doing maintainer-clean in gas" ; \
11330 (cd $(HOST_SUBDIR)/gas && \
11331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11333 "RANLIB=$${RANLIB}" \
11334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11335 maintainer-clean) \
11336 || exit 1
11338 @endif gas
11342 .PHONY: configure-gcc maybe-configure-gcc
11343 maybe-configure-gcc:
11344 @if gcc
11345 maybe-configure-gcc: configure-gcc
11346 configure-gcc:
11347 @endif gcc
11348 @if gcc-bootstrap
11349 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11350 @endif gcc-bootstrap
11351 @if gcc
11352 @r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11354 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11356 $(HOST_EXPORTS) \
11357 echo Configuring in $(HOST_SUBDIR)/gcc; \
11358 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11359 case $(srcdir) in \
11360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11361 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11363 esac; \
11364 srcdiroption="--srcdir=$${topdir}/gcc"; \
11365 libsrcdir="$$s/gcc"; \
11366 $(SHELL) $${libsrcdir}/configure \
11367 $(HOST_CONFIGARGS) $${srcdiroption} \
11368 || exit 1
11369 @endif gcc
11373 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11374 maybe-configure-stage1-gcc:
11375 @if gcc-bootstrap
11376 maybe-configure-stage1-gcc: configure-stage1-gcc
11377 configure-stage1-gcc:
11378 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11379 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11380 @r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11383 $(HOST_EXPORTS) \
11384 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11386 cd $(HOST_SUBDIR)/gcc || exit 1; \
11387 case $(srcdir) in \
11388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11389 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11391 esac; \
11392 srcdiroption="--srcdir=$${topdir}/gcc"; \
11393 libsrcdir="$$s/gcc"; \
11394 $(SHELL) $${libsrcdir}/configure \
11395 $(HOST_CONFIGARGS) $${srcdiroption} \
11396 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11397 @endif gcc-bootstrap
11399 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11400 maybe-configure-stage2-gcc:
11401 @if gcc-bootstrap
11402 maybe-configure-stage2-gcc: configure-stage2-gcc
11403 configure-stage2-gcc:
11404 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11405 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11406 @r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11409 $(HOST_EXPORTS) \
11410 $(POSTSTAGE1_HOST_EXPORTS) \
11411 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11413 cd $(HOST_SUBDIR)/gcc || exit 1; \
11414 case $(srcdir) in \
11415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11416 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11418 esac; \
11419 srcdiroption="--srcdir=$${topdir}/gcc"; \
11420 libsrcdir="$$s/gcc"; \
11421 $(SHELL) $${libsrcdir}/configure \
11422 $(HOST_CONFIGARGS) $${srcdiroption} \
11423 @stage2_werror_flag@
11424 @endif gcc-bootstrap
11426 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11427 maybe-configure-stage3-gcc:
11428 @if gcc-bootstrap
11429 maybe-configure-stage3-gcc: configure-stage3-gcc
11430 configure-stage3-gcc:
11431 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11432 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11433 @r=`${PWD_COMMAND}`; export r; \
11434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11435 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11436 $(HOST_EXPORTS) \
11437 $(POSTSTAGE1_HOST_EXPORTS) \
11438 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11440 cd $(HOST_SUBDIR)/gcc || exit 1; \
11441 case $(srcdir) in \
11442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11443 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11445 esac; \
11446 srcdiroption="--srcdir=$${topdir}/gcc"; \
11447 libsrcdir="$$s/gcc"; \
11448 $(SHELL) $${libsrcdir}/configure \
11449 $(HOST_CONFIGARGS) $${srcdiroption} \
11450 @stage2_werror_flag@
11451 @endif gcc-bootstrap
11453 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11454 maybe-configure-stage4-gcc:
11455 @if gcc-bootstrap
11456 maybe-configure-stage4-gcc: configure-stage4-gcc
11457 configure-stage4-gcc:
11458 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11459 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11460 @r=`${PWD_COMMAND}`; export r; \
11461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11462 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11463 $(HOST_EXPORTS) \
11464 $(POSTSTAGE1_HOST_EXPORTS) \
11465 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11467 cd $(HOST_SUBDIR)/gcc || exit 1; \
11468 case $(srcdir) in \
11469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11470 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11472 esac; \
11473 srcdiroption="--srcdir=$${topdir}/gcc"; \
11474 libsrcdir="$$s/gcc"; \
11475 $(SHELL) $${libsrcdir}/configure \
11476 $(HOST_CONFIGARGS) $${srcdiroption} \
11477 @stage2_werror_flag@
11478 @endif gcc-bootstrap
11480 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11481 maybe-configure-stageprofile-gcc:
11482 @if gcc-bootstrap
11483 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11484 configure-stageprofile-gcc:
11485 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11486 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11487 @r=`${PWD_COMMAND}`; export r; \
11488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11489 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11490 $(HOST_EXPORTS) \
11491 $(POSTSTAGE1_HOST_EXPORTS) \
11492 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11494 cd $(HOST_SUBDIR)/gcc || exit 1; \
11495 case $(srcdir) in \
11496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11497 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11499 esac; \
11500 srcdiroption="--srcdir=$${topdir}/gcc"; \
11501 libsrcdir="$$s/gcc"; \
11502 $(SHELL) $${libsrcdir}/configure \
11503 $(HOST_CONFIGARGS) $${srcdiroption} \
11504 @stage2_werror_flag@
11505 @endif gcc-bootstrap
11507 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11508 maybe-configure-stagefeedback-gcc:
11509 @if gcc-bootstrap
11510 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11511 configure-stagefeedback-gcc:
11512 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11513 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
11514 @r=`${PWD_COMMAND}`; export r; \
11515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11516 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11517 $(HOST_EXPORTS) \
11518 $(POSTSTAGE1_HOST_EXPORTS) \
11519 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11521 cd $(HOST_SUBDIR)/gcc || exit 1; \
11522 case $(srcdir) in \
11523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11524 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11526 esac; \
11527 srcdiroption="--srcdir=$${topdir}/gcc"; \
11528 libsrcdir="$$s/gcc"; \
11529 $(SHELL) $${libsrcdir}/configure \
11530 $(HOST_CONFIGARGS) $${srcdiroption} \
11531 @stage2_werror_flag@
11532 @endif gcc-bootstrap
11538 .PHONY: all-gcc maybe-all-gcc
11539 maybe-all-gcc:
11540 @if gcc
11541 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11542 maybe-all-gcc: all-gcc
11543 all-gcc: configure-gcc
11544 @endif gcc
11545 @if gcc-bootstrap
11546 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
11547 @endif gcc-bootstrap
11548 @if gcc
11549 @r=`${PWD_COMMAND}`; export r; \
11550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11551 $(HOST_EXPORTS) \
11552 (cd $(HOST_SUBDIR)/gcc && \
11553 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11554 @endif gcc
11558 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11559 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11560 maybe-all-stage1-gcc:
11561 maybe-clean-stage1-gcc:
11562 @if gcc-bootstrap
11563 maybe-all-stage1-gcc: all-stage1-gcc
11564 all-stage1: all-stage1-gcc
11565 TARGET-stage1-gcc = $(TARGET-gcc)
11566 all-stage1-gcc: configure-stage1-gcc
11567 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11568 @r=`${PWD_COMMAND}`; export r; \
11569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11570 $(HOST_EXPORTS) \
11571 cd $(HOST_SUBDIR)/gcc && \
11572 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11573 $(TARGET-stage1-gcc)
11575 maybe-clean-stage1-gcc: clean-stage1-gcc
11576 clean-stage1: clean-stage1-gcc
11577 clean-stage1-gcc:
11578 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11579 || exit 0 ; \
11580 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
11581 cd $(HOST_SUBDIR)/gcc && \
11582 $(MAKE) $(FLAGS_TO_PASS) \
11583 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11584 @endif gcc-bootstrap
11587 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11588 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11589 maybe-all-stage2-gcc:
11590 maybe-clean-stage2-gcc:
11591 @if gcc-bootstrap
11592 maybe-all-stage2-gcc: all-stage2-gcc
11593 all-stage2: all-stage2-gcc
11594 TARGET-stage2-gcc = $(TARGET-gcc)
11595 all-stage2-gcc: configure-stage2-gcc
11596 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11597 @r=`${PWD_COMMAND}`; export r; \
11598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 $(HOST_EXPORTS) \
11600 $(POSTSTAGE1_HOST_EXPORTS) \
11601 cd $(HOST_SUBDIR)/gcc && \
11602 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11603 $(TARGET-stage2-gcc)
11605 maybe-clean-stage2-gcc: clean-stage2-gcc
11606 clean-stage2: clean-stage2-gcc
11607 clean-stage2-gcc:
11608 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11609 || exit 0 ; \
11610 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
11611 cd $(HOST_SUBDIR)/gcc && \
11612 $(MAKE) $(FLAGS_TO_PASS) \
11613 $(POSTSTAGE1_FLAGS_TO_PASS) \
11614 $(EXTRA_GCC_FLAGS) clean
11615 @endif gcc-bootstrap
11618 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11619 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11620 maybe-all-stage3-gcc:
11621 maybe-clean-stage3-gcc:
11622 @if gcc-bootstrap
11623 maybe-all-stage3-gcc: all-stage3-gcc
11624 all-stage3: all-stage3-gcc
11625 TARGET-stage3-gcc = $(TARGET-gcc)
11626 all-stage3-gcc: configure-stage3-gcc
11627 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11628 @r=`${PWD_COMMAND}`; export r; \
11629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11630 $(HOST_EXPORTS) \
11631 $(POSTSTAGE1_HOST_EXPORTS) \
11632 cd $(HOST_SUBDIR)/gcc && \
11633 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11634 $(TARGET-stage3-gcc)
11636 maybe-clean-stage3-gcc: clean-stage3-gcc
11637 clean-stage3: clean-stage3-gcc
11638 clean-stage3-gcc:
11639 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11640 || exit 0 ; \
11641 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
11642 cd $(HOST_SUBDIR)/gcc && \
11643 $(MAKE) $(FLAGS_TO_PASS) \
11644 $(POSTSTAGE1_FLAGS_TO_PASS) \
11645 $(EXTRA_GCC_FLAGS) clean
11646 @endif gcc-bootstrap
11649 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11650 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11651 maybe-all-stage4-gcc:
11652 maybe-clean-stage4-gcc:
11653 @if gcc-bootstrap
11654 maybe-all-stage4-gcc: all-stage4-gcc
11655 all-stage4: all-stage4-gcc
11656 TARGET-stage4-gcc = $(TARGET-gcc)
11657 all-stage4-gcc: configure-stage4-gcc
11658 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11659 @r=`${PWD_COMMAND}`; export r; \
11660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11661 $(HOST_EXPORTS) \
11662 $(POSTSTAGE1_HOST_EXPORTS) \
11663 cd $(HOST_SUBDIR)/gcc && \
11664 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11665 $(TARGET-stage4-gcc)
11667 maybe-clean-stage4-gcc: clean-stage4-gcc
11668 clean-stage4: clean-stage4-gcc
11669 clean-stage4-gcc:
11670 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11671 || exit 0 ; \
11672 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
11673 cd $(HOST_SUBDIR)/gcc && \
11674 $(MAKE) $(FLAGS_TO_PASS) \
11675 $(POSTSTAGE1_FLAGS_TO_PASS) \
11676 $(EXTRA_GCC_FLAGS) clean
11677 @endif gcc-bootstrap
11680 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11681 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11682 maybe-all-stageprofile-gcc:
11683 maybe-clean-stageprofile-gcc:
11684 @if gcc-bootstrap
11685 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11686 all-stageprofile: all-stageprofile-gcc
11687 TARGET-stageprofile-gcc = $(TARGET-gcc)
11688 all-stageprofile-gcc: configure-stageprofile-gcc
11689 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11690 @r=`${PWD_COMMAND}`; export r; \
11691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11692 $(HOST_EXPORTS) \
11693 $(POSTSTAGE1_HOST_EXPORTS) \
11694 cd $(HOST_SUBDIR)/gcc && \
11695 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11696 $(TARGET-stageprofile-gcc)
11698 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11699 clean-stageprofile: clean-stageprofile-gcc
11700 clean-stageprofile-gcc:
11701 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11702 || exit 0 ; \
11703 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
11704 cd $(HOST_SUBDIR)/gcc && \
11705 $(MAKE) $(FLAGS_TO_PASS) \
11706 $(POSTSTAGE1_FLAGS_TO_PASS) \
11707 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11708 @endif gcc-bootstrap
11711 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11712 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11713 maybe-all-stagefeedback-gcc:
11714 maybe-clean-stagefeedback-gcc:
11715 @if gcc-bootstrap
11716 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11717 all-stagefeedback: all-stagefeedback-gcc
11718 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11719 all-stagefeedback-gcc: configure-stagefeedback-gcc
11720 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11721 @r=`${PWD_COMMAND}`; export r; \
11722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11723 $(HOST_EXPORTS) \
11724 $(POSTSTAGE1_HOST_EXPORTS) \
11725 cd $(HOST_SUBDIR)/gcc && \
11726 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11727 $(TARGET-stagefeedback-gcc)
11729 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11730 clean-stagefeedback: clean-stagefeedback-gcc
11731 clean-stagefeedback-gcc:
11732 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11733 || exit 0 ; \
11734 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
11735 cd $(HOST_SUBDIR)/gcc && \
11736 $(MAKE) $(FLAGS_TO_PASS) \
11737 $(POSTSTAGE1_FLAGS_TO_PASS) \
11738 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11739 @endif gcc-bootstrap
11745 .PHONY: check-gcc maybe-check-gcc
11746 maybe-check-gcc:
11747 @if gcc
11748 maybe-check-gcc: check-gcc
11750 check-gcc:
11751 @: $(MAKE); $(unstage)
11752 @r=`${PWD_COMMAND}`; export r; \
11753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11754 $(HOST_EXPORTS) \
11755 (cd $(HOST_SUBDIR)/gcc && \
11756 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11758 @endif gcc
11760 .PHONY: install-gcc maybe-install-gcc
11761 maybe-install-gcc:
11762 @if gcc
11763 maybe-install-gcc: install-gcc
11765 install-gcc: installdirs
11766 @: $(MAKE); $(unstage)
11767 @r=`${PWD_COMMAND}`; export r; \
11768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11769 $(HOST_EXPORTS) \
11770 (cd $(HOST_SUBDIR)/gcc && \
11771 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11773 @endif gcc
11775 # Other targets (info, dvi, etc.)
11777 .PHONY: maybe-info-gcc info-gcc
11778 maybe-info-gcc:
11779 @if gcc
11780 maybe-info-gcc: info-gcc
11782 info-gcc: \
11783 configure-gcc
11784 @[ -f ./gcc/Makefile ] || exit 0; \
11785 r=`${PWD_COMMAND}`; export r; \
11786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11787 $(HOST_EXPORTS) \
11788 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11790 done; \
11791 echo "Doing info in gcc" ; \
11792 (cd $(HOST_SUBDIR)/gcc && \
11793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11795 "RANLIB=$${RANLIB}" \
11796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11797 info) \
11798 || exit 1
11800 @endif gcc
11802 .PHONY: maybe-dvi-gcc dvi-gcc
11803 maybe-dvi-gcc:
11804 @if gcc
11805 maybe-dvi-gcc: dvi-gcc
11807 dvi-gcc: \
11808 configure-gcc
11809 @[ -f ./gcc/Makefile ] || exit 0; \
11810 r=`${PWD_COMMAND}`; export r; \
11811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11812 $(HOST_EXPORTS) \
11813 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11815 done; \
11816 echo "Doing dvi in gcc" ; \
11817 (cd $(HOST_SUBDIR)/gcc && \
11818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11820 "RANLIB=$${RANLIB}" \
11821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11822 dvi) \
11823 || exit 1
11825 @endif gcc
11827 .PHONY: maybe-html-gcc html-gcc
11828 maybe-html-gcc:
11829 @if gcc
11830 maybe-html-gcc: html-gcc
11832 html-gcc: \
11833 configure-gcc
11834 @[ -f ./gcc/Makefile ] || exit 0; \
11835 r=`${PWD_COMMAND}`; export r; \
11836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11837 $(HOST_EXPORTS) \
11838 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11840 done; \
11841 echo "Doing html in gcc" ; \
11842 (cd $(HOST_SUBDIR)/gcc && \
11843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11845 "RANLIB=$${RANLIB}" \
11846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11847 html) \
11848 || exit 1
11850 @endif gcc
11852 .PHONY: maybe-TAGS-gcc TAGS-gcc
11853 maybe-TAGS-gcc:
11854 @if gcc
11855 maybe-TAGS-gcc: TAGS-gcc
11857 TAGS-gcc: \
11858 configure-gcc
11859 @[ -f ./gcc/Makefile ] || exit 0; \
11860 r=`${PWD_COMMAND}`; export r; \
11861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11862 $(HOST_EXPORTS) \
11863 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11865 done; \
11866 echo "Doing TAGS in gcc" ; \
11867 (cd $(HOST_SUBDIR)/gcc && \
11868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11870 "RANLIB=$${RANLIB}" \
11871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11872 TAGS) \
11873 || exit 1
11875 @endif gcc
11877 .PHONY: maybe-install-info-gcc install-info-gcc
11878 maybe-install-info-gcc:
11879 @if gcc
11880 maybe-install-info-gcc: install-info-gcc
11882 install-info-gcc: \
11883 configure-gcc \
11884 info-gcc
11885 @[ -f ./gcc/Makefile ] || exit 0; \
11886 r=`${PWD_COMMAND}`; export r; \
11887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 $(HOST_EXPORTS) \
11889 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11891 done; \
11892 echo "Doing install-info in gcc" ; \
11893 (cd $(HOST_SUBDIR)/gcc && \
11894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11896 "RANLIB=$${RANLIB}" \
11897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11898 install-info) \
11899 || exit 1
11901 @endif gcc
11903 .PHONY: maybe-installcheck-gcc installcheck-gcc
11904 maybe-installcheck-gcc:
11905 @if gcc
11906 maybe-installcheck-gcc: installcheck-gcc
11908 installcheck-gcc: \
11909 configure-gcc
11910 @[ -f ./gcc/Makefile ] || exit 0; \
11911 r=`${PWD_COMMAND}`; export r; \
11912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11913 $(HOST_EXPORTS) \
11914 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11916 done; \
11917 echo "Doing installcheck in gcc" ; \
11918 (cd $(HOST_SUBDIR)/gcc && \
11919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11921 "RANLIB=$${RANLIB}" \
11922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11923 installcheck) \
11924 || exit 1
11926 @endif gcc
11928 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11929 maybe-mostlyclean-gcc:
11930 @if gcc
11931 maybe-mostlyclean-gcc: mostlyclean-gcc
11933 mostlyclean-gcc:
11934 @[ -f ./gcc/Makefile ] || exit 0; \
11935 r=`${PWD_COMMAND}`; export r; \
11936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11937 $(HOST_EXPORTS) \
11938 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11940 done; \
11941 echo "Doing mostlyclean in gcc" ; \
11942 (cd $(HOST_SUBDIR)/gcc && \
11943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11945 "RANLIB=$${RANLIB}" \
11946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11947 mostlyclean) \
11948 || exit 1
11950 @endif gcc
11952 .PHONY: maybe-clean-gcc clean-gcc
11953 maybe-clean-gcc:
11954 @if gcc
11955 maybe-clean-gcc: clean-gcc
11957 clean-gcc:
11958 @[ -f ./gcc/Makefile ] || exit 0; \
11959 r=`${PWD_COMMAND}`; export r; \
11960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11961 $(HOST_EXPORTS) \
11962 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11964 done; \
11965 echo "Doing clean in gcc" ; \
11966 (cd $(HOST_SUBDIR)/gcc && \
11967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11969 "RANLIB=$${RANLIB}" \
11970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11971 clean) \
11972 || exit 1
11974 @endif gcc
11976 .PHONY: maybe-distclean-gcc distclean-gcc
11977 maybe-distclean-gcc:
11978 @if gcc
11979 maybe-distclean-gcc: distclean-gcc
11981 distclean-gcc:
11982 @[ -f ./gcc/Makefile ] || exit 0; \
11983 r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11985 $(HOST_EXPORTS) \
11986 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11988 done; \
11989 echo "Doing distclean in gcc" ; \
11990 (cd $(HOST_SUBDIR)/gcc && \
11991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11993 "RANLIB=$${RANLIB}" \
11994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11995 distclean) \
11996 || exit 1
11998 @endif gcc
12000 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
12001 maybe-maintainer-clean-gcc:
12002 @if gcc
12003 maybe-maintainer-clean-gcc: maintainer-clean-gcc
12005 maintainer-clean-gcc:
12006 @[ -f ./gcc/Makefile ] || exit 0; \
12007 r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 $(HOST_EXPORTS) \
12010 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
12011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12012 done; \
12013 echo "Doing maintainer-clean in gcc" ; \
12014 (cd $(HOST_SUBDIR)/gcc && \
12015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12017 "RANLIB=$${RANLIB}" \
12018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12019 maintainer-clean) \
12020 || exit 1
12022 @endif gcc
12026 .PHONY: configure-gawk maybe-configure-gawk
12027 maybe-configure-gawk:
12028 @if gawk
12029 maybe-configure-gawk: configure-gawk
12030 configure-gawk:
12031 @: $(MAKE); $(unstage)
12032 @r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
12035 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
12036 $(HOST_EXPORTS) \
12037 echo Configuring in $(HOST_SUBDIR)/gawk; \
12038 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
12039 case $(srcdir) in \
12040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12041 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
12042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12043 esac; \
12044 srcdiroption="--srcdir=$${topdir}/gawk"; \
12045 libsrcdir="$$s/gawk"; \
12046 $(SHELL) $${libsrcdir}/configure \
12047 $(HOST_CONFIGARGS) $${srcdiroption} \
12048 || exit 1
12049 @endif gawk
12055 .PHONY: all-gawk maybe-all-gawk
12056 maybe-all-gawk:
12057 @if gawk
12058 TARGET-gawk=all
12059 maybe-all-gawk: all-gawk
12060 all-gawk: configure-gawk
12061 @: $(MAKE); $(unstage)
12062 @r=`${PWD_COMMAND}`; export r; \
12063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12064 $(HOST_EXPORTS) \
12065 (cd $(HOST_SUBDIR)/gawk && \
12066 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
12067 @endif gawk
12072 .PHONY: check-gawk maybe-check-gawk
12073 maybe-check-gawk:
12074 @if gawk
12075 maybe-check-gawk: check-gawk
12077 check-gawk:
12078 @: $(MAKE); $(unstage)
12079 @r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 $(HOST_EXPORTS) \
12082 (cd $(HOST_SUBDIR)/gawk && \
12083 $(MAKE) $(FLAGS_TO_PASS) check)
12085 @endif gawk
12087 .PHONY: install-gawk maybe-install-gawk
12088 maybe-install-gawk:
12089 @if gawk
12090 maybe-install-gawk: install-gawk
12092 install-gawk: installdirs
12093 @: $(MAKE); $(unstage)
12094 @r=`${PWD_COMMAND}`; export r; \
12095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096 $(HOST_EXPORTS) \
12097 (cd $(HOST_SUBDIR)/gawk && \
12098 $(MAKE) $(FLAGS_TO_PASS) install)
12100 @endif gawk
12102 # Other targets (info, dvi, etc.)
12104 .PHONY: maybe-info-gawk info-gawk
12105 maybe-info-gawk:
12106 @if gawk
12107 maybe-info-gawk: info-gawk
12109 info-gawk: \
12110 configure-gawk
12111 @: $(MAKE); $(unstage)
12112 @[ -f ./gawk/Makefile ] || exit 0; \
12113 r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 $(HOST_EXPORTS) \
12116 for flag in $(EXTRA_HOST_FLAGS) ; do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118 done; \
12119 echo "Doing info in gawk" ; \
12120 (cd $(HOST_SUBDIR)/gawk && \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12125 info) \
12126 || exit 1
12128 @endif gawk
12130 .PHONY: maybe-dvi-gawk dvi-gawk
12131 maybe-dvi-gawk:
12132 @if gawk
12133 maybe-dvi-gawk: dvi-gawk
12135 dvi-gawk: \
12136 configure-gawk
12137 @: $(MAKE); $(unstage)
12138 @[ -f ./gawk/Makefile ] || exit 0; \
12139 r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 $(HOST_EXPORTS) \
12142 for flag in $(EXTRA_HOST_FLAGS) ; do \
12143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12144 done; \
12145 echo "Doing dvi in gawk" ; \
12146 (cd $(HOST_SUBDIR)/gawk && \
12147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12149 "RANLIB=$${RANLIB}" \
12150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12151 dvi) \
12152 || exit 1
12154 @endif gawk
12156 .PHONY: maybe-html-gawk html-gawk
12157 maybe-html-gawk:
12158 @if gawk
12159 maybe-html-gawk: html-gawk
12161 html-gawk: \
12162 configure-gawk
12163 @: $(MAKE); $(unstage)
12164 @[ -f ./gawk/Makefile ] || exit 0; \
12165 r=`${PWD_COMMAND}`; export r; \
12166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12167 $(HOST_EXPORTS) \
12168 for flag in $(EXTRA_HOST_FLAGS) ; do \
12169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12170 done; \
12171 echo "Doing html in gawk" ; \
12172 (cd $(HOST_SUBDIR)/gawk && \
12173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12175 "RANLIB=$${RANLIB}" \
12176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12177 html) \
12178 || exit 1
12180 @endif gawk
12182 .PHONY: maybe-TAGS-gawk TAGS-gawk
12183 maybe-TAGS-gawk:
12184 @if gawk
12185 maybe-TAGS-gawk: TAGS-gawk
12187 TAGS-gawk: \
12188 configure-gawk
12189 @: $(MAKE); $(unstage)
12190 @[ -f ./gawk/Makefile ] || exit 0; \
12191 r=`${PWD_COMMAND}`; export r; \
12192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12193 $(HOST_EXPORTS) \
12194 for flag in $(EXTRA_HOST_FLAGS) ; do \
12195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12196 done; \
12197 echo "Doing TAGS in gawk" ; \
12198 (cd $(HOST_SUBDIR)/gawk && \
12199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12201 "RANLIB=$${RANLIB}" \
12202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12203 TAGS) \
12204 || exit 1
12206 @endif gawk
12208 .PHONY: maybe-install-info-gawk install-info-gawk
12209 maybe-install-info-gawk:
12210 @if gawk
12211 maybe-install-info-gawk: install-info-gawk
12213 install-info-gawk: \
12214 configure-gawk \
12215 info-gawk
12216 @: $(MAKE); $(unstage)
12217 @[ -f ./gawk/Makefile ] || exit 0; \
12218 r=`${PWD_COMMAND}`; export r; \
12219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12220 $(HOST_EXPORTS) \
12221 for flag in $(EXTRA_HOST_FLAGS) ; do \
12222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12223 done; \
12224 echo "Doing install-info in gawk" ; \
12225 (cd $(HOST_SUBDIR)/gawk && \
12226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12228 "RANLIB=$${RANLIB}" \
12229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12230 install-info) \
12231 || exit 1
12233 @endif gawk
12235 .PHONY: maybe-installcheck-gawk installcheck-gawk
12236 maybe-installcheck-gawk:
12237 @if gawk
12238 maybe-installcheck-gawk: installcheck-gawk
12240 installcheck-gawk: \
12241 configure-gawk
12242 @: $(MAKE); $(unstage)
12243 @[ -f ./gawk/Makefile ] || exit 0; \
12244 r=`${PWD_COMMAND}`; export r; \
12245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 $(HOST_EXPORTS) \
12247 for flag in $(EXTRA_HOST_FLAGS) ; do \
12248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12249 done; \
12250 echo "Doing installcheck in gawk" ; \
12251 (cd $(HOST_SUBDIR)/gawk && \
12252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12254 "RANLIB=$${RANLIB}" \
12255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12256 installcheck) \
12257 || exit 1
12259 @endif gawk
12261 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12262 maybe-mostlyclean-gawk:
12263 @if gawk
12264 maybe-mostlyclean-gawk: mostlyclean-gawk
12266 mostlyclean-gawk:
12267 @: $(MAKE); $(unstage)
12268 @[ -f ./gawk/Makefile ] || exit 0; \
12269 r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12271 $(HOST_EXPORTS) \
12272 for flag in $(EXTRA_HOST_FLAGS) ; do \
12273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12274 done; \
12275 echo "Doing mostlyclean in gawk" ; \
12276 (cd $(HOST_SUBDIR)/gawk && \
12277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12279 "RANLIB=$${RANLIB}" \
12280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12281 mostlyclean) \
12282 || exit 1
12284 @endif gawk
12286 .PHONY: maybe-clean-gawk clean-gawk
12287 maybe-clean-gawk:
12288 @if gawk
12289 maybe-clean-gawk: clean-gawk
12291 clean-gawk:
12292 @: $(MAKE); $(unstage)
12293 @[ -f ./gawk/Makefile ] || exit 0; \
12294 r=`${PWD_COMMAND}`; export r; \
12295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12296 $(HOST_EXPORTS) \
12297 for flag in $(EXTRA_HOST_FLAGS) ; do \
12298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12299 done; \
12300 echo "Doing clean in gawk" ; \
12301 (cd $(HOST_SUBDIR)/gawk && \
12302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12304 "RANLIB=$${RANLIB}" \
12305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12306 clean) \
12307 || exit 1
12309 @endif gawk
12311 .PHONY: maybe-distclean-gawk distclean-gawk
12312 maybe-distclean-gawk:
12313 @if gawk
12314 maybe-distclean-gawk: distclean-gawk
12316 distclean-gawk:
12317 @: $(MAKE); $(unstage)
12318 @[ -f ./gawk/Makefile ] || exit 0; \
12319 r=`${PWD_COMMAND}`; export r; \
12320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12321 $(HOST_EXPORTS) \
12322 for flag in $(EXTRA_HOST_FLAGS) ; do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 done; \
12325 echo "Doing distclean in gawk" ; \
12326 (cd $(HOST_SUBDIR)/gawk && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 distclean) \
12332 || exit 1
12334 @endif gawk
12336 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12337 maybe-maintainer-clean-gawk:
12338 @if gawk
12339 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12341 maintainer-clean-gawk:
12342 @: $(MAKE); $(unstage)
12343 @[ -f ./gawk/Makefile ] || exit 0; \
12344 r=`${PWD_COMMAND}`; export r; \
12345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12346 $(HOST_EXPORTS) \
12347 for flag in $(EXTRA_HOST_FLAGS) ; do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 done; \
12350 echo "Doing maintainer-clean in gawk" ; \
12351 (cd $(HOST_SUBDIR)/gawk && \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12356 maintainer-clean) \
12357 || exit 1
12359 @endif gawk
12363 .PHONY: configure-gettext maybe-configure-gettext
12364 maybe-configure-gettext:
12365 @if gettext
12366 maybe-configure-gettext: configure-gettext
12367 configure-gettext:
12368 @: $(MAKE); $(unstage)
12369 @r=`${PWD_COMMAND}`; export r; \
12370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12371 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12373 $(HOST_EXPORTS) \
12374 echo Configuring in $(HOST_SUBDIR)/gettext; \
12375 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12376 case $(srcdir) in \
12377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12378 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12380 esac; \
12381 srcdiroption="--srcdir=$${topdir}/gettext"; \
12382 libsrcdir="$$s/gettext"; \
12383 $(SHELL) $${libsrcdir}/configure \
12384 $(HOST_CONFIGARGS) $${srcdiroption} \
12385 || exit 1
12386 @endif gettext
12392 .PHONY: all-gettext maybe-all-gettext
12393 maybe-all-gettext:
12394 @if gettext
12395 TARGET-gettext=all
12396 maybe-all-gettext: all-gettext
12397 all-gettext: configure-gettext
12398 @: $(MAKE); $(unstage)
12399 @r=`${PWD_COMMAND}`; export r; \
12400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12401 $(HOST_EXPORTS) \
12402 (cd $(HOST_SUBDIR)/gettext && \
12403 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12404 @endif gettext
12409 .PHONY: check-gettext maybe-check-gettext
12410 maybe-check-gettext:
12411 @if gettext
12412 maybe-check-gettext: check-gettext
12414 check-gettext:
12415 @: $(MAKE); $(unstage)
12416 @r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12418 $(HOST_EXPORTS) \
12419 (cd $(HOST_SUBDIR)/gettext && \
12420 $(MAKE) $(FLAGS_TO_PASS) check)
12422 @endif gettext
12424 .PHONY: install-gettext maybe-install-gettext
12425 maybe-install-gettext:
12426 @if gettext
12427 maybe-install-gettext: install-gettext
12429 install-gettext: installdirs
12430 @: $(MAKE); $(unstage)
12431 @r=`${PWD_COMMAND}`; export r; \
12432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12433 $(HOST_EXPORTS) \
12434 (cd $(HOST_SUBDIR)/gettext && \
12435 $(MAKE) $(FLAGS_TO_PASS) install)
12437 @endif gettext
12439 # Other targets (info, dvi, etc.)
12441 .PHONY: maybe-info-gettext info-gettext
12442 maybe-info-gettext:
12443 @if gettext
12444 maybe-info-gettext: info-gettext
12446 info-gettext: \
12447 configure-gettext
12448 @: $(MAKE); $(unstage)
12449 @[ -f ./gettext/Makefile ] || exit 0; \
12450 r=`${PWD_COMMAND}`; export r; \
12451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12452 $(HOST_EXPORTS) \
12453 for flag in $(EXTRA_HOST_FLAGS) ; do \
12454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12455 done; \
12456 echo "Doing info in gettext" ; \
12457 (cd $(HOST_SUBDIR)/gettext && \
12458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12460 "RANLIB=$${RANLIB}" \
12461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12462 info) \
12463 || exit 1
12465 @endif gettext
12467 .PHONY: maybe-dvi-gettext dvi-gettext
12468 maybe-dvi-gettext:
12469 @if gettext
12470 maybe-dvi-gettext: dvi-gettext
12472 dvi-gettext: \
12473 configure-gettext
12474 @: $(MAKE); $(unstage)
12475 @[ -f ./gettext/Makefile ] || exit 0; \
12476 r=`${PWD_COMMAND}`; export r; \
12477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12478 $(HOST_EXPORTS) \
12479 for flag in $(EXTRA_HOST_FLAGS) ; do \
12480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12481 done; \
12482 echo "Doing dvi in gettext" ; \
12483 (cd $(HOST_SUBDIR)/gettext && \
12484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12486 "RANLIB=$${RANLIB}" \
12487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12488 dvi) \
12489 || exit 1
12491 @endif gettext
12493 .PHONY: maybe-html-gettext html-gettext
12494 maybe-html-gettext:
12495 @if gettext
12496 maybe-html-gettext: html-gettext
12498 html-gettext: \
12499 configure-gettext
12500 @: $(MAKE); $(unstage)
12501 @[ -f ./gettext/Makefile ] || exit 0; \
12502 r=`${PWD_COMMAND}`; export r; \
12503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12504 $(HOST_EXPORTS) \
12505 for flag in $(EXTRA_HOST_FLAGS) ; do \
12506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12507 done; \
12508 echo "Doing html in gettext" ; \
12509 (cd $(HOST_SUBDIR)/gettext && \
12510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12512 "RANLIB=$${RANLIB}" \
12513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12514 html) \
12515 || exit 1
12517 @endif gettext
12519 .PHONY: maybe-TAGS-gettext TAGS-gettext
12520 maybe-TAGS-gettext:
12521 @if gettext
12522 maybe-TAGS-gettext: TAGS-gettext
12524 TAGS-gettext: \
12525 configure-gettext
12526 @: $(MAKE); $(unstage)
12527 @[ -f ./gettext/Makefile ] || exit 0; \
12528 r=`${PWD_COMMAND}`; export r; \
12529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12530 $(HOST_EXPORTS) \
12531 for flag in $(EXTRA_HOST_FLAGS) ; do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12533 done; \
12534 echo "Doing TAGS in gettext" ; \
12535 (cd $(HOST_SUBDIR)/gettext && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12540 TAGS) \
12541 || exit 1
12543 @endif gettext
12545 .PHONY: maybe-install-info-gettext install-info-gettext
12546 maybe-install-info-gettext:
12547 @if gettext
12548 maybe-install-info-gettext: install-info-gettext
12550 install-info-gettext: \
12551 configure-gettext \
12552 info-gettext
12553 @: $(MAKE); $(unstage)
12554 @[ -f ./gettext/Makefile ] || exit 0; \
12555 r=`${PWD_COMMAND}`; export r; \
12556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12557 $(HOST_EXPORTS) \
12558 for flag in $(EXTRA_HOST_FLAGS) ; do \
12559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12560 done; \
12561 echo "Doing install-info in gettext" ; \
12562 (cd $(HOST_SUBDIR)/gettext && \
12563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12565 "RANLIB=$${RANLIB}" \
12566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12567 install-info) \
12568 || exit 1
12570 @endif gettext
12572 .PHONY: maybe-installcheck-gettext installcheck-gettext
12573 maybe-installcheck-gettext:
12574 @if gettext
12575 maybe-installcheck-gettext: installcheck-gettext
12577 installcheck-gettext: \
12578 configure-gettext
12579 @: $(MAKE); $(unstage)
12580 @[ -f ./gettext/Makefile ] || exit 0; \
12581 r=`${PWD_COMMAND}`; export r; \
12582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12583 $(HOST_EXPORTS) \
12584 for flag in $(EXTRA_HOST_FLAGS) ; do \
12585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12586 done; \
12587 echo "Doing installcheck in gettext" ; \
12588 (cd $(HOST_SUBDIR)/gettext && \
12589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12591 "RANLIB=$${RANLIB}" \
12592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12593 installcheck) \
12594 || exit 1
12596 @endif gettext
12598 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12599 maybe-mostlyclean-gettext:
12600 @if gettext
12601 maybe-mostlyclean-gettext: mostlyclean-gettext
12603 mostlyclean-gettext:
12604 @: $(MAKE); $(unstage)
12605 @[ -f ./gettext/Makefile ] || exit 0; \
12606 r=`${PWD_COMMAND}`; export r; \
12607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12608 $(HOST_EXPORTS) \
12609 for flag in $(EXTRA_HOST_FLAGS) ; do \
12610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12611 done; \
12612 echo "Doing mostlyclean in gettext" ; \
12613 (cd $(HOST_SUBDIR)/gettext && \
12614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12616 "RANLIB=$${RANLIB}" \
12617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12618 mostlyclean) \
12619 || exit 1
12621 @endif gettext
12623 .PHONY: maybe-clean-gettext clean-gettext
12624 maybe-clean-gettext:
12625 @if gettext
12626 maybe-clean-gettext: clean-gettext
12628 clean-gettext:
12629 @: $(MAKE); $(unstage)
12630 @[ -f ./gettext/Makefile ] || exit 0; \
12631 r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12633 $(HOST_EXPORTS) \
12634 for flag in $(EXTRA_HOST_FLAGS) ; do \
12635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12636 done; \
12637 echo "Doing clean in gettext" ; \
12638 (cd $(HOST_SUBDIR)/gettext && \
12639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12641 "RANLIB=$${RANLIB}" \
12642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12643 clean) \
12644 || exit 1
12646 @endif gettext
12648 .PHONY: maybe-distclean-gettext distclean-gettext
12649 maybe-distclean-gettext:
12650 @if gettext
12651 maybe-distclean-gettext: distclean-gettext
12653 distclean-gettext:
12654 @: $(MAKE); $(unstage)
12655 @[ -f ./gettext/Makefile ] || exit 0; \
12656 r=`${PWD_COMMAND}`; export r; \
12657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12658 $(HOST_EXPORTS) \
12659 for flag in $(EXTRA_HOST_FLAGS) ; do \
12660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12661 done; \
12662 echo "Doing distclean in gettext" ; \
12663 (cd $(HOST_SUBDIR)/gettext && \
12664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12666 "RANLIB=$${RANLIB}" \
12667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12668 distclean) \
12669 || exit 1
12671 @endif gettext
12673 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12674 maybe-maintainer-clean-gettext:
12675 @if gettext
12676 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12678 maintainer-clean-gettext:
12679 @: $(MAKE); $(unstage)
12680 @[ -f ./gettext/Makefile ] || exit 0; \
12681 r=`${PWD_COMMAND}`; export r; \
12682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12683 $(HOST_EXPORTS) \
12684 for flag in $(EXTRA_HOST_FLAGS) ; do \
12685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12686 done; \
12687 echo "Doing maintainer-clean in gettext" ; \
12688 (cd $(HOST_SUBDIR)/gettext && \
12689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12691 "RANLIB=$${RANLIB}" \
12692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12693 maintainer-clean) \
12694 || exit 1
12696 @endif gettext
12700 .PHONY: configure-gnuserv maybe-configure-gnuserv
12701 maybe-configure-gnuserv:
12702 @if gnuserv
12703 maybe-configure-gnuserv: configure-gnuserv
12704 configure-gnuserv:
12705 @: $(MAKE); $(unstage)
12706 @r=`${PWD_COMMAND}`; export r; \
12707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12708 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12710 $(HOST_EXPORTS) \
12711 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12712 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12713 case $(srcdir) in \
12714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12715 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12717 esac; \
12718 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12719 libsrcdir="$$s/gnuserv"; \
12720 $(SHELL) $${libsrcdir}/configure \
12721 $(HOST_CONFIGARGS) $${srcdiroption} \
12722 || exit 1
12723 @endif gnuserv
12729 .PHONY: all-gnuserv maybe-all-gnuserv
12730 maybe-all-gnuserv:
12731 @if gnuserv
12732 TARGET-gnuserv=all
12733 maybe-all-gnuserv: all-gnuserv
12734 all-gnuserv: configure-gnuserv
12735 @: $(MAKE); $(unstage)
12736 @r=`${PWD_COMMAND}`; export r; \
12737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 $(HOST_EXPORTS) \
12739 (cd $(HOST_SUBDIR)/gnuserv && \
12740 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12741 @endif gnuserv
12746 .PHONY: check-gnuserv maybe-check-gnuserv
12747 maybe-check-gnuserv:
12748 @if gnuserv
12749 maybe-check-gnuserv: check-gnuserv
12751 check-gnuserv:
12752 @: $(MAKE); $(unstage)
12753 @r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12755 $(HOST_EXPORTS) \
12756 (cd $(HOST_SUBDIR)/gnuserv && \
12757 $(MAKE) $(FLAGS_TO_PASS) check)
12759 @endif gnuserv
12761 .PHONY: install-gnuserv maybe-install-gnuserv
12762 maybe-install-gnuserv:
12763 @if gnuserv
12764 maybe-install-gnuserv: install-gnuserv
12766 install-gnuserv: installdirs
12767 @: $(MAKE); $(unstage)
12768 @r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 $(HOST_EXPORTS) \
12771 (cd $(HOST_SUBDIR)/gnuserv && \
12772 $(MAKE) $(FLAGS_TO_PASS) install)
12774 @endif gnuserv
12776 # Other targets (info, dvi, etc.)
12778 .PHONY: maybe-info-gnuserv info-gnuserv
12779 maybe-info-gnuserv:
12780 @if gnuserv
12781 maybe-info-gnuserv: info-gnuserv
12783 info-gnuserv: \
12784 configure-gnuserv
12785 @: $(MAKE); $(unstage)
12786 @[ -f ./gnuserv/Makefile ] || exit 0; \
12787 r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 $(HOST_EXPORTS) \
12790 for flag in $(EXTRA_HOST_FLAGS) ; do \
12791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12792 done; \
12793 echo "Doing info in gnuserv" ; \
12794 (cd $(HOST_SUBDIR)/gnuserv && \
12795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12797 "RANLIB=$${RANLIB}" \
12798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12799 info) \
12800 || exit 1
12802 @endif gnuserv
12804 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12805 maybe-dvi-gnuserv:
12806 @if gnuserv
12807 maybe-dvi-gnuserv: dvi-gnuserv
12809 dvi-gnuserv: \
12810 configure-gnuserv
12811 @: $(MAKE); $(unstage)
12812 @[ -f ./gnuserv/Makefile ] || exit 0; \
12813 r=`${PWD_COMMAND}`; export r; \
12814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12815 $(HOST_EXPORTS) \
12816 for flag in $(EXTRA_HOST_FLAGS) ; do \
12817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12818 done; \
12819 echo "Doing dvi in gnuserv" ; \
12820 (cd $(HOST_SUBDIR)/gnuserv && \
12821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12823 "RANLIB=$${RANLIB}" \
12824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12825 dvi) \
12826 || exit 1
12828 @endif gnuserv
12830 .PHONY: maybe-html-gnuserv html-gnuserv
12831 maybe-html-gnuserv:
12832 @if gnuserv
12833 maybe-html-gnuserv: html-gnuserv
12835 html-gnuserv: \
12836 configure-gnuserv
12837 @: $(MAKE); $(unstage)
12838 @[ -f ./gnuserv/Makefile ] || exit 0; \
12839 r=`${PWD_COMMAND}`; export r; \
12840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12841 $(HOST_EXPORTS) \
12842 for flag in $(EXTRA_HOST_FLAGS) ; do \
12843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12844 done; \
12845 echo "Doing html in gnuserv" ; \
12846 (cd $(HOST_SUBDIR)/gnuserv && \
12847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12849 "RANLIB=$${RANLIB}" \
12850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12851 html) \
12852 || exit 1
12854 @endif gnuserv
12856 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12857 maybe-TAGS-gnuserv:
12858 @if gnuserv
12859 maybe-TAGS-gnuserv: TAGS-gnuserv
12861 TAGS-gnuserv: \
12862 configure-gnuserv
12863 @: $(MAKE); $(unstage)
12864 @[ -f ./gnuserv/Makefile ] || exit 0; \
12865 r=`${PWD_COMMAND}`; export r; \
12866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12867 $(HOST_EXPORTS) \
12868 for flag in $(EXTRA_HOST_FLAGS) ; do \
12869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12870 done; \
12871 echo "Doing TAGS in gnuserv" ; \
12872 (cd $(HOST_SUBDIR)/gnuserv && \
12873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12875 "RANLIB=$${RANLIB}" \
12876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12877 TAGS) \
12878 || exit 1
12880 @endif gnuserv
12882 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12883 maybe-install-info-gnuserv:
12884 @if gnuserv
12885 maybe-install-info-gnuserv: install-info-gnuserv
12887 install-info-gnuserv: \
12888 configure-gnuserv \
12889 info-gnuserv
12890 @: $(MAKE); $(unstage)
12891 @[ -f ./gnuserv/Makefile ] || exit 0; \
12892 r=`${PWD_COMMAND}`; export r; \
12893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12894 $(HOST_EXPORTS) \
12895 for flag in $(EXTRA_HOST_FLAGS) ; do \
12896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12897 done; \
12898 echo "Doing install-info in gnuserv" ; \
12899 (cd $(HOST_SUBDIR)/gnuserv && \
12900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12902 "RANLIB=$${RANLIB}" \
12903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12904 install-info) \
12905 || exit 1
12907 @endif gnuserv
12909 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12910 maybe-installcheck-gnuserv:
12911 @if gnuserv
12912 maybe-installcheck-gnuserv: installcheck-gnuserv
12914 installcheck-gnuserv: \
12915 configure-gnuserv
12916 @: $(MAKE); $(unstage)
12917 @[ -f ./gnuserv/Makefile ] || exit 0; \
12918 r=`${PWD_COMMAND}`; export r; \
12919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12920 $(HOST_EXPORTS) \
12921 for flag in $(EXTRA_HOST_FLAGS) ; do \
12922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12923 done; \
12924 echo "Doing installcheck in gnuserv" ; \
12925 (cd $(HOST_SUBDIR)/gnuserv && \
12926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12928 "RANLIB=$${RANLIB}" \
12929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12930 installcheck) \
12931 || exit 1
12933 @endif gnuserv
12935 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12936 maybe-mostlyclean-gnuserv:
12937 @if gnuserv
12938 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12940 mostlyclean-gnuserv:
12941 @: $(MAKE); $(unstage)
12942 @[ -f ./gnuserv/Makefile ] || exit 0; \
12943 r=`${PWD_COMMAND}`; export r; \
12944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 $(HOST_EXPORTS) \
12946 for flag in $(EXTRA_HOST_FLAGS) ; do \
12947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 done; \
12949 echo "Doing mostlyclean in gnuserv" ; \
12950 (cd $(HOST_SUBDIR)/gnuserv && \
12951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12953 "RANLIB=$${RANLIB}" \
12954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12955 mostlyclean) \
12956 || exit 1
12958 @endif gnuserv
12960 .PHONY: maybe-clean-gnuserv clean-gnuserv
12961 maybe-clean-gnuserv:
12962 @if gnuserv
12963 maybe-clean-gnuserv: clean-gnuserv
12965 clean-gnuserv:
12966 @: $(MAKE); $(unstage)
12967 @[ -f ./gnuserv/Makefile ] || exit 0; \
12968 r=`${PWD_COMMAND}`; export r; \
12969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12970 $(HOST_EXPORTS) \
12971 for flag in $(EXTRA_HOST_FLAGS) ; do \
12972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12973 done; \
12974 echo "Doing clean in gnuserv" ; \
12975 (cd $(HOST_SUBDIR)/gnuserv && \
12976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12978 "RANLIB=$${RANLIB}" \
12979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12980 clean) \
12981 || exit 1
12983 @endif gnuserv
12985 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12986 maybe-distclean-gnuserv:
12987 @if gnuserv
12988 maybe-distclean-gnuserv: distclean-gnuserv
12990 distclean-gnuserv:
12991 @: $(MAKE); $(unstage)
12992 @[ -f ./gnuserv/Makefile ] || exit 0; \
12993 r=`${PWD_COMMAND}`; export r; \
12994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12995 $(HOST_EXPORTS) \
12996 for flag in $(EXTRA_HOST_FLAGS) ; do \
12997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12998 done; \
12999 echo "Doing distclean in gnuserv" ; \
13000 (cd $(HOST_SUBDIR)/gnuserv && \
13001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13003 "RANLIB=$${RANLIB}" \
13004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13005 distclean) \
13006 || exit 1
13008 @endif gnuserv
13010 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
13011 maybe-maintainer-clean-gnuserv:
13012 @if gnuserv
13013 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
13015 maintainer-clean-gnuserv:
13016 @: $(MAKE); $(unstage)
13017 @[ -f ./gnuserv/Makefile ] || exit 0; \
13018 r=`${PWD_COMMAND}`; export r; \
13019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13020 $(HOST_EXPORTS) \
13021 for flag in $(EXTRA_HOST_FLAGS) ; do \
13022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13023 done; \
13024 echo "Doing maintainer-clean in gnuserv" ; \
13025 (cd $(HOST_SUBDIR)/gnuserv && \
13026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13028 "RANLIB=$${RANLIB}" \
13029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13030 maintainer-clean) \
13031 || exit 1
13033 @endif gnuserv
13037 .PHONY: configure-gprof maybe-configure-gprof
13038 maybe-configure-gprof:
13039 @if gprof
13040 maybe-configure-gprof: configure-gprof
13041 configure-gprof:
13042 @: $(MAKE); $(unstage)
13043 @r=`${PWD_COMMAND}`; export r; \
13044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13045 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
13046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
13047 $(HOST_EXPORTS) \
13048 echo Configuring in $(HOST_SUBDIR)/gprof; \
13049 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
13050 case $(srcdir) in \
13051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13052 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
13053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13054 esac; \
13055 srcdiroption="--srcdir=$${topdir}/gprof"; \
13056 libsrcdir="$$s/gprof"; \
13057 $(SHELL) $${libsrcdir}/configure \
13058 $(HOST_CONFIGARGS) $${srcdiroption} \
13059 || exit 1
13060 @endif gprof
13066 .PHONY: all-gprof maybe-all-gprof
13067 maybe-all-gprof:
13068 @if gprof
13069 TARGET-gprof=all
13070 maybe-all-gprof: all-gprof
13071 all-gprof: configure-gprof
13072 @: $(MAKE); $(unstage)
13073 @r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 $(HOST_EXPORTS) \
13076 (cd $(HOST_SUBDIR)/gprof && \
13077 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
13078 @endif gprof
13083 .PHONY: check-gprof maybe-check-gprof
13084 maybe-check-gprof:
13085 @if gprof
13086 maybe-check-gprof: check-gprof
13088 check-gprof:
13089 @: $(MAKE); $(unstage)
13090 @r=`${PWD_COMMAND}`; export r; \
13091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13092 $(HOST_EXPORTS) \
13093 (cd $(HOST_SUBDIR)/gprof && \
13094 $(MAKE) $(FLAGS_TO_PASS) check)
13096 @endif gprof
13098 .PHONY: install-gprof maybe-install-gprof
13099 maybe-install-gprof:
13100 @if gprof
13101 maybe-install-gprof: install-gprof
13103 install-gprof: installdirs
13104 @: $(MAKE); $(unstage)
13105 @r=`${PWD_COMMAND}`; export r; \
13106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13107 $(HOST_EXPORTS) \
13108 (cd $(HOST_SUBDIR)/gprof && \
13109 $(MAKE) $(FLAGS_TO_PASS) install)
13111 @endif gprof
13113 # Other targets (info, dvi, etc.)
13115 .PHONY: maybe-info-gprof info-gprof
13116 maybe-info-gprof:
13117 @if gprof
13118 maybe-info-gprof: info-gprof
13120 info-gprof: \
13121 configure-gprof
13122 @: $(MAKE); $(unstage)
13123 @[ -f ./gprof/Makefile ] || exit 0; \
13124 r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 $(HOST_EXPORTS) \
13127 for flag in $(EXTRA_HOST_FLAGS) ; do \
13128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13129 done; \
13130 echo "Doing info in gprof" ; \
13131 (cd $(HOST_SUBDIR)/gprof && \
13132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13134 "RANLIB=$${RANLIB}" \
13135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13136 info) \
13137 || exit 1
13139 @endif gprof
13141 .PHONY: maybe-dvi-gprof dvi-gprof
13142 maybe-dvi-gprof:
13143 @if gprof
13144 maybe-dvi-gprof: dvi-gprof
13146 dvi-gprof: \
13147 configure-gprof
13148 @: $(MAKE); $(unstage)
13149 @[ -f ./gprof/Makefile ] || exit 0; \
13150 r=`${PWD_COMMAND}`; export r; \
13151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13152 $(HOST_EXPORTS) \
13153 for flag in $(EXTRA_HOST_FLAGS) ; do \
13154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13155 done; \
13156 echo "Doing dvi in gprof" ; \
13157 (cd $(HOST_SUBDIR)/gprof && \
13158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13160 "RANLIB=$${RANLIB}" \
13161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13162 dvi) \
13163 || exit 1
13165 @endif gprof
13167 .PHONY: maybe-html-gprof html-gprof
13168 maybe-html-gprof:
13169 @if gprof
13170 maybe-html-gprof: html-gprof
13172 html-gprof: \
13173 configure-gprof
13174 @: $(MAKE); $(unstage)
13175 @[ -f ./gprof/Makefile ] || exit 0; \
13176 r=`${PWD_COMMAND}`; export r; \
13177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13178 $(HOST_EXPORTS) \
13179 for flag in $(EXTRA_HOST_FLAGS) ; do \
13180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13181 done; \
13182 echo "Doing html in gprof" ; \
13183 (cd $(HOST_SUBDIR)/gprof && \
13184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13186 "RANLIB=$${RANLIB}" \
13187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13188 html) \
13189 || exit 1
13191 @endif gprof
13193 .PHONY: maybe-TAGS-gprof TAGS-gprof
13194 maybe-TAGS-gprof:
13195 @if gprof
13196 maybe-TAGS-gprof: TAGS-gprof
13198 TAGS-gprof: \
13199 configure-gprof
13200 @: $(MAKE); $(unstage)
13201 @[ -f ./gprof/Makefile ] || exit 0; \
13202 r=`${PWD_COMMAND}`; export r; \
13203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13204 $(HOST_EXPORTS) \
13205 for flag in $(EXTRA_HOST_FLAGS) ; do \
13206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13207 done; \
13208 echo "Doing TAGS in gprof" ; \
13209 (cd $(HOST_SUBDIR)/gprof && \
13210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13212 "RANLIB=$${RANLIB}" \
13213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13214 TAGS) \
13215 || exit 1
13217 @endif gprof
13219 .PHONY: maybe-install-info-gprof install-info-gprof
13220 maybe-install-info-gprof:
13221 @if gprof
13222 maybe-install-info-gprof: install-info-gprof
13224 install-info-gprof: \
13225 configure-gprof \
13226 info-gprof
13227 @: $(MAKE); $(unstage)
13228 @[ -f ./gprof/Makefile ] || exit 0; \
13229 r=`${PWD_COMMAND}`; export r; \
13230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13231 $(HOST_EXPORTS) \
13232 for flag in $(EXTRA_HOST_FLAGS) ; do \
13233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13234 done; \
13235 echo "Doing install-info in gprof" ; \
13236 (cd $(HOST_SUBDIR)/gprof && \
13237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13239 "RANLIB=$${RANLIB}" \
13240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13241 install-info) \
13242 || exit 1
13244 @endif gprof
13246 .PHONY: maybe-installcheck-gprof installcheck-gprof
13247 maybe-installcheck-gprof:
13248 @if gprof
13249 maybe-installcheck-gprof: installcheck-gprof
13251 installcheck-gprof: \
13252 configure-gprof
13253 @: $(MAKE); $(unstage)
13254 @[ -f ./gprof/Makefile ] || exit 0; \
13255 r=`${PWD_COMMAND}`; export r; \
13256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13257 $(HOST_EXPORTS) \
13258 for flag in $(EXTRA_HOST_FLAGS) ; do \
13259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13260 done; \
13261 echo "Doing installcheck in gprof" ; \
13262 (cd $(HOST_SUBDIR)/gprof && \
13263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13265 "RANLIB=$${RANLIB}" \
13266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13267 installcheck) \
13268 || exit 1
13270 @endif gprof
13272 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13273 maybe-mostlyclean-gprof:
13274 @if gprof
13275 maybe-mostlyclean-gprof: mostlyclean-gprof
13277 mostlyclean-gprof:
13278 @: $(MAKE); $(unstage)
13279 @[ -f ./gprof/Makefile ] || exit 0; \
13280 r=`${PWD_COMMAND}`; export r; \
13281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13282 $(HOST_EXPORTS) \
13283 for flag in $(EXTRA_HOST_FLAGS) ; do \
13284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13285 done; \
13286 echo "Doing mostlyclean in gprof" ; \
13287 (cd $(HOST_SUBDIR)/gprof && \
13288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13290 "RANLIB=$${RANLIB}" \
13291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13292 mostlyclean) \
13293 || exit 1
13295 @endif gprof
13297 .PHONY: maybe-clean-gprof clean-gprof
13298 maybe-clean-gprof:
13299 @if gprof
13300 maybe-clean-gprof: clean-gprof
13302 clean-gprof:
13303 @: $(MAKE); $(unstage)
13304 @[ -f ./gprof/Makefile ] || exit 0; \
13305 r=`${PWD_COMMAND}`; export r; \
13306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13307 $(HOST_EXPORTS) \
13308 for flag in $(EXTRA_HOST_FLAGS) ; do \
13309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13310 done; \
13311 echo "Doing clean in gprof" ; \
13312 (cd $(HOST_SUBDIR)/gprof && \
13313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13315 "RANLIB=$${RANLIB}" \
13316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13317 clean) \
13318 || exit 1
13320 @endif gprof
13322 .PHONY: maybe-distclean-gprof distclean-gprof
13323 maybe-distclean-gprof:
13324 @if gprof
13325 maybe-distclean-gprof: distclean-gprof
13327 distclean-gprof:
13328 @: $(MAKE); $(unstage)
13329 @[ -f ./gprof/Makefile ] || exit 0; \
13330 r=`${PWD_COMMAND}`; export r; \
13331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13332 $(HOST_EXPORTS) \
13333 for flag in $(EXTRA_HOST_FLAGS) ; do \
13334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13335 done; \
13336 echo "Doing distclean in gprof" ; \
13337 (cd $(HOST_SUBDIR)/gprof && \
13338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13340 "RANLIB=$${RANLIB}" \
13341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13342 distclean) \
13343 || exit 1
13345 @endif gprof
13347 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13348 maybe-maintainer-clean-gprof:
13349 @if gprof
13350 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13352 maintainer-clean-gprof:
13353 @: $(MAKE); $(unstage)
13354 @[ -f ./gprof/Makefile ] || exit 0; \
13355 r=`${PWD_COMMAND}`; export r; \
13356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13357 $(HOST_EXPORTS) \
13358 for flag in $(EXTRA_HOST_FLAGS) ; do \
13359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13360 done; \
13361 echo "Doing maintainer-clean in gprof" ; \
13362 (cd $(HOST_SUBDIR)/gprof && \
13363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13365 "RANLIB=$${RANLIB}" \
13366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13367 maintainer-clean) \
13368 || exit 1
13370 @endif gprof
13374 .PHONY: configure-gzip maybe-configure-gzip
13375 maybe-configure-gzip:
13376 @if gzip
13377 maybe-configure-gzip: configure-gzip
13378 configure-gzip:
13379 @: $(MAKE); $(unstage)
13380 @r=`${PWD_COMMAND}`; export r; \
13381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13382 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13384 $(HOST_EXPORTS) \
13385 echo Configuring in $(HOST_SUBDIR)/gzip; \
13386 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13387 case $(srcdir) in \
13388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13389 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13391 esac; \
13392 srcdiroption="--srcdir=$${topdir}/gzip"; \
13393 libsrcdir="$$s/gzip"; \
13394 $(SHELL) $${libsrcdir}/configure \
13395 $(HOST_CONFIGARGS) $${srcdiroption} \
13396 || exit 1
13397 @endif gzip
13403 .PHONY: all-gzip maybe-all-gzip
13404 maybe-all-gzip:
13405 @if gzip
13406 TARGET-gzip=all
13407 maybe-all-gzip: all-gzip
13408 all-gzip: configure-gzip
13409 @: $(MAKE); $(unstage)
13410 @r=`${PWD_COMMAND}`; export r; \
13411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13412 $(HOST_EXPORTS) \
13413 (cd $(HOST_SUBDIR)/gzip && \
13414 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13415 @endif gzip
13420 .PHONY: check-gzip maybe-check-gzip
13421 maybe-check-gzip:
13422 @if gzip
13423 maybe-check-gzip: check-gzip
13425 check-gzip:
13426 @: $(MAKE); $(unstage)
13427 @r=`${PWD_COMMAND}`; export r; \
13428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13429 $(HOST_EXPORTS) \
13430 (cd $(HOST_SUBDIR)/gzip && \
13431 $(MAKE) $(FLAGS_TO_PASS) check)
13433 @endif gzip
13435 .PHONY: install-gzip maybe-install-gzip
13436 maybe-install-gzip:
13437 @if gzip
13438 maybe-install-gzip: install-gzip
13440 install-gzip: installdirs
13441 @: $(MAKE); $(unstage)
13442 @r=`${PWD_COMMAND}`; export r; \
13443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 $(HOST_EXPORTS) \
13445 (cd $(HOST_SUBDIR)/gzip && \
13446 $(MAKE) $(FLAGS_TO_PASS) install)
13448 @endif gzip
13450 # Other targets (info, dvi, etc.)
13452 .PHONY: maybe-info-gzip info-gzip
13453 maybe-info-gzip:
13454 @if gzip
13455 maybe-info-gzip: info-gzip
13457 info-gzip: \
13458 configure-gzip
13459 @: $(MAKE); $(unstage)
13460 @[ -f ./gzip/Makefile ] || exit 0; \
13461 r=`${PWD_COMMAND}`; export r; \
13462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13463 $(HOST_EXPORTS) \
13464 for flag in $(EXTRA_HOST_FLAGS) ; do \
13465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13466 done; \
13467 echo "Doing info in gzip" ; \
13468 (cd $(HOST_SUBDIR)/gzip && \
13469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13471 "RANLIB=$${RANLIB}" \
13472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13473 info) \
13474 || exit 1
13476 @endif gzip
13478 .PHONY: maybe-dvi-gzip dvi-gzip
13479 maybe-dvi-gzip:
13480 @if gzip
13481 maybe-dvi-gzip: dvi-gzip
13483 dvi-gzip: \
13484 configure-gzip
13485 @: $(MAKE); $(unstage)
13486 @[ -f ./gzip/Makefile ] || exit 0; \
13487 r=`${PWD_COMMAND}`; export r; \
13488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13489 $(HOST_EXPORTS) \
13490 for flag in $(EXTRA_HOST_FLAGS) ; do \
13491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13492 done; \
13493 echo "Doing dvi in gzip" ; \
13494 (cd $(HOST_SUBDIR)/gzip && \
13495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13497 "RANLIB=$${RANLIB}" \
13498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13499 dvi) \
13500 || exit 1
13502 @endif gzip
13504 .PHONY: maybe-html-gzip html-gzip
13505 maybe-html-gzip:
13506 @if gzip
13507 maybe-html-gzip: html-gzip
13509 html-gzip: \
13510 configure-gzip
13511 @: $(MAKE); $(unstage)
13512 @[ -f ./gzip/Makefile ] || exit 0; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 for flag in $(EXTRA_HOST_FLAGS) ; do \
13517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13518 done; \
13519 echo "Doing html in gzip" ; \
13520 (cd $(HOST_SUBDIR)/gzip && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13525 html) \
13526 || exit 1
13528 @endif gzip
13530 .PHONY: maybe-TAGS-gzip TAGS-gzip
13531 maybe-TAGS-gzip:
13532 @if gzip
13533 maybe-TAGS-gzip: TAGS-gzip
13535 TAGS-gzip: \
13536 configure-gzip
13537 @: $(MAKE); $(unstage)
13538 @[ -f ./gzip/Makefile ] || exit 0; \
13539 r=`${PWD_COMMAND}`; export r; \
13540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13541 $(HOST_EXPORTS) \
13542 for flag in $(EXTRA_HOST_FLAGS) ; do \
13543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13544 done; \
13545 echo "Doing TAGS in gzip" ; \
13546 (cd $(HOST_SUBDIR)/gzip && \
13547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13549 "RANLIB=$${RANLIB}" \
13550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13551 TAGS) \
13552 || exit 1
13554 @endif gzip
13556 .PHONY: maybe-install-info-gzip install-info-gzip
13557 maybe-install-info-gzip:
13558 @if gzip
13559 maybe-install-info-gzip: install-info-gzip
13561 install-info-gzip: \
13562 configure-gzip \
13563 info-gzip
13564 @: $(MAKE); $(unstage)
13565 @[ -f ./gzip/Makefile ] || exit 0; \
13566 r=`${PWD_COMMAND}`; export r; \
13567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 $(HOST_EXPORTS) \
13569 for flag in $(EXTRA_HOST_FLAGS) ; do \
13570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13571 done; \
13572 echo "Doing install-info in gzip" ; \
13573 (cd $(HOST_SUBDIR)/gzip && \
13574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13576 "RANLIB=$${RANLIB}" \
13577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13578 install-info) \
13579 || exit 1
13581 @endif gzip
13583 .PHONY: maybe-installcheck-gzip installcheck-gzip
13584 maybe-installcheck-gzip:
13585 @if gzip
13586 maybe-installcheck-gzip: installcheck-gzip
13588 installcheck-gzip: \
13589 configure-gzip
13590 @: $(MAKE); $(unstage)
13591 @[ -f ./gzip/Makefile ] || exit 0; \
13592 r=`${PWD_COMMAND}`; export r; \
13593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13594 $(HOST_EXPORTS) \
13595 for flag in $(EXTRA_HOST_FLAGS) ; do \
13596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13597 done; \
13598 echo "Doing installcheck in gzip" ; \
13599 (cd $(HOST_SUBDIR)/gzip && \
13600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13602 "RANLIB=$${RANLIB}" \
13603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13604 installcheck) \
13605 || exit 1
13607 @endif gzip
13609 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13610 maybe-mostlyclean-gzip:
13611 @if gzip
13612 maybe-mostlyclean-gzip: mostlyclean-gzip
13614 mostlyclean-gzip:
13615 @: $(MAKE); $(unstage)
13616 @[ -f ./gzip/Makefile ] || exit 0; \
13617 r=`${PWD_COMMAND}`; export r; \
13618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13619 $(HOST_EXPORTS) \
13620 for flag in $(EXTRA_HOST_FLAGS) ; do \
13621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13622 done; \
13623 echo "Doing mostlyclean in gzip" ; \
13624 (cd $(HOST_SUBDIR)/gzip && \
13625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13627 "RANLIB=$${RANLIB}" \
13628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13629 mostlyclean) \
13630 || exit 1
13632 @endif gzip
13634 .PHONY: maybe-clean-gzip clean-gzip
13635 maybe-clean-gzip:
13636 @if gzip
13637 maybe-clean-gzip: clean-gzip
13639 clean-gzip:
13640 @: $(MAKE); $(unstage)
13641 @[ -f ./gzip/Makefile ] || exit 0; \
13642 r=`${PWD_COMMAND}`; export r; \
13643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13644 $(HOST_EXPORTS) \
13645 for flag in $(EXTRA_HOST_FLAGS) ; do \
13646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13647 done; \
13648 echo "Doing clean in gzip" ; \
13649 (cd $(HOST_SUBDIR)/gzip && \
13650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13652 "RANLIB=$${RANLIB}" \
13653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13654 clean) \
13655 || exit 1
13657 @endif gzip
13659 .PHONY: maybe-distclean-gzip distclean-gzip
13660 maybe-distclean-gzip:
13661 @if gzip
13662 maybe-distclean-gzip: distclean-gzip
13664 distclean-gzip:
13665 @: $(MAKE); $(unstage)
13666 @[ -f ./gzip/Makefile ] || exit 0; \
13667 r=`${PWD_COMMAND}`; export r; \
13668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13669 $(HOST_EXPORTS) \
13670 for flag in $(EXTRA_HOST_FLAGS) ; do \
13671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13672 done; \
13673 echo "Doing distclean in gzip" ; \
13674 (cd $(HOST_SUBDIR)/gzip && \
13675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13677 "RANLIB=$${RANLIB}" \
13678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13679 distclean) \
13680 || exit 1
13682 @endif gzip
13684 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13685 maybe-maintainer-clean-gzip:
13686 @if gzip
13687 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13689 maintainer-clean-gzip:
13690 @: $(MAKE); $(unstage)
13691 @[ -f ./gzip/Makefile ] || exit 0; \
13692 r=`${PWD_COMMAND}`; export r; \
13693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13694 $(HOST_EXPORTS) \
13695 for flag in $(EXTRA_HOST_FLAGS) ; do \
13696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13697 done; \
13698 echo "Doing maintainer-clean in gzip" ; \
13699 (cd $(HOST_SUBDIR)/gzip && \
13700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13702 "RANLIB=$${RANLIB}" \
13703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13704 maintainer-clean) \
13705 || exit 1
13707 @endif gzip
13711 .PHONY: configure-hello maybe-configure-hello
13712 maybe-configure-hello:
13713 @if hello
13714 maybe-configure-hello: configure-hello
13715 configure-hello:
13716 @: $(MAKE); $(unstage)
13717 @r=`${PWD_COMMAND}`; export r; \
13718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13719 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13721 $(HOST_EXPORTS) \
13722 echo Configuring in $(HOST_SUBDIR)/hello; \
13723 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13724 case $(srcdir) in \
13725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13726 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13728 esac; \
13729 srcdiroption="--srcdir=$${topdir}/hello"; \
13730 libsrcdir="$$s/hello"; \
13731 $(SHELL) $${libsrcdir}/configure \
13732 $(HOST_CONFIGARGS) $${srcdiroption} \
13733 || exit 1
13734 @endif hello
13740 .PHONY: all-hello maybe-all-hello
13741 maybe-all-hello:
13742 @if hello
13743 TARGET-hello=all
13744 maybe-all-hello: all-hello
13745 all-hello: configure-hello
13746 @: $(MAKE); $(unstage)
13747 @r=`${PWD_COMMAND}`; export r; \
13748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13749 $(HOST_EXPORTS) \
13750 (cd $(HOST_SUBDIR)/hello && \
13751 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13752 @endif hello
13757 .PHONY: check-hello maybe-check-hello
13758 maybe-check-hello:
13759 @if hello
13760 maybe-check-hello: check-hello
13762 check-hello:
13763 @: $(MAKE); $(unstage)
13764 @r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13766 $(HOST_EXPORTS) \
13767 (cd $(HOST_SUBDIR)/hello && \
13768 $(MAKE) $(FLAGS_TO_PASS) check)
13770 @endif hello
13772 .PHONY: install-hello maybe-install-hello
13773 maybe-install-hello:
13774 @if hello
13775 maybe-install-hello: install-hello
13777 install-hello: installdirs
13778 @: $(MAKE); $(unstage)
13779 @r=`${PWD_COMMAND}`; export r; \
13780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13781 $(HOST_EXPORTS) \
13782 (cd $(HOST_SUBDIR)/hello && \
13783 $(MAKE) $(FLAGS_TO_PASS) install)
13785 @endif hello
13787 # Other targets (info, dvi, etc.)
13789 .PHONY: maybe-info-hello info-hello
13790 maybe-info-hello:
13791 @if hello
13792 maybe-info-hello: info-hello
13794 info-hello: \
13795 configure-hello
13796 @: $(MAKE); $(unstage)
13797 @[ -f ./hello/Makefile ] || exit 0; \
13798 r=`${PWD_COMMAND}`; export r; \
13799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 $(HOST_EXPORTS) \
13801 for flag in $(EXTRA_HOST_FLAGS) ; do \
13802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13803 done; \
13804 echo "Doing info in hello" ; \
13805 (cd $(HOST_SUBDIR)/hello && \
13806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13808 "RANLIB=$${RANLIB}" \
13809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13810 info) \
13811 || exit 1
13813 @endif hello
13815 .PHONY: maybe-dvi-hello dvi-hello
13816 maybe-dvi-hello:
13817 @if hello
13818 maybe-dvi-hello: dvi-hello
13820 dvi-hello: \
13821 configure-hello
13822 @: $(MAKE); $(unstage)
13823 @[ -f ./hello/Makefile ] || exit 0; \
13824 r=`${PWD_COMMAND}`; export r; \
13825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13826 $(HOST_EXPORTS) \
13827 for flag in $(EXTRA_HOST_FLAGS) ; do \
13828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13829 done; \
13830 echo "Doing dvi in hello" ; \
13831 (cd $(HOST_SUBDIR)/hello && \
13832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13834 "RANLIB=$${RANLIB}" \
13835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13836 dvi) \
13837 || exit 1
13839 @endif hello
13841 .PHONY: maybe-html-hello html-hello
13842 maybe-html-hello:
13843 @if hello
13844 maybe-html-hello: html-hello
13846 html-hello: \
13847 configure-hello
13848 @: $(MAKE); $(unstage)
13849 @[ -f ./hello/Makefile ] || exit 0; \
13850 r=`${PWD_COMMAND}`; export r; \
13851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13852 $(HOST_EXPORTS) \
13853 for flag in $(EXTRA_HOST_FLAGS) ; do \
13854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13855 done; \
13856 echo "Doing html in hello" ; \
13857 (cd $(HOST_SUBDIR)/hello && \
13858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13860 "RANLIB=$${RANLIB}" \
13861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13862 html) \
13863 || exit 1
13865 @endif hello
13867 .PHONY: maybe-TAGS-hello TAGS-hello
13868 maybe-TAGS-hello:
13869 @if hello
13870 maybe-TAGS-hello: TAGS-hello
13872 TAGS-hello: \
13873 configure-hello
13874 @: $(MAKE); $(unstage)
13875 @[ -f ./hello/Makefile ] || exit 0; \
13876 r=`${PWD_COMMAND}`; export r; \
13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878 $(HOST_EXPORTS) \
13879 for flag in $(EXTRA_HOST_FLAGS) ; do \
13880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13881 done; \
13882 echo "Doing TAGS in hello" ; \
13883 (cd $(HOST_SUBDIR)/hello && \
13884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13886 "RANLIB=$${RANLIB}" \
13887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13888 TAGS) \
13889 || exit 1
13891 @endif hello
13893 .PHONY: maybe-install-info-hello install-info-hello
13894 maybe-install-info-hello:
13895 @if hello
13896 maybe-install-info-hello: install-info-hello
13898 install-info-hello: \
13899 configure-hello \
13900 info-hello
13901 @: $(MAKE); $(unstage)
13902 @[ -f ./hello/Makefile ] || exit 0; \
13903 r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13905 $(HOST_EXPORTS) \
13906 for flag in $(EXTRA_HOST_FLAGS) ; do \
13907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13908 done; \
13909 echo "Doing install-info in hello" ; \
13910 (cd $(HOST_SUBDIR)/hello && \
13911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13913 "RANLIB=$${RANLIB}" \
13914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13915 install-info) \
13916 || exit 1
13918 @endif hello
13920 .PHONY: maybe-installcheck-hello installcheck-hello
13921 maybe-installcheck-hello:
13922 @if hello
13923 maybe-installcheck-hello: installcheck-hello
13925 installcheck-hello: \
13926 configure-hello
13927 @: $(MAKE); $(unstage)
13928 @[ -f ./hello/Makefile ] || exit 0; \
13929 r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13931 $(HOST_EXPORTS) \
13932 for flag in $(EXTRA_HOST_FLAGS) ; do \
13933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13934 done; \
13935 echo "Doing installcheck in hello" ; \
13936 (cd $(HOST_SUBDIR)/hello && \
13937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13939 "RANLIB=$${RANLIB}" \
13940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13941 installcheck) \
13942 || exit 1
13944 @endif hello
13946 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13947 maybe-mostlyclean-hello:
13948 @if hello
13949 maybe-mostlyclean-hello: mostlyclean-hello
13951 mostlyclean-hello:
13952 @: $(MAKE); $(unstage)
13953 @[ -f ./hello/Makefile ] || exit 0; \
13954 r=`${PWD_COMMAND}`; export r; \
13955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13956 $(HOST_EXPORTS) \
13957 for flag in $(EXTRA_HOST_FLAGS) ; do \
13958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13959 done; \
13960 echo "Doing mostlyclean in hello" ; \
13961 (cd $(HOST_SUBDIR)/hello && \
13962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13964 "RANLIB=$${RANLIB}" \
13965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13966 mostlyclean) \
13967 || exit 1
13969 @endif hello
13971 .PHONY: maybe-clean-hello clean-hello
13972 maybe-clean-hello:
13973 @if hello
13974 maybe-clean-hello: clean-hello
13976 clean-hello:
13977 @: $(MAKE); $(unstage)
13978 @[ -f ./hello/Makefile ] || exit 0; \
13979 r=`${PWD_COMMAND}`; export r; \
13980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13981 $(HOST_EXPORTS) \
13982 for flag in $(EXTRA_HOST_FLAGS) ; do \
13983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13984 done; \
13985 echo "Doing clean in hello" ; \
13986 (cd $(HOST_SUBDIR)/hello && \
13987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13989 "RANLIB=$${RANLIB}" \
13990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13991 clean) \
13992 || exit 1
13994 @endif hello
13996 .PHONY: maybe-distclean-hello distclean-hello
13997 maybe-distclean-hello:
13998 @if hello
13999 maybe-distclean-hello: distclean-hello
14001 distclean-hello:
14002 @: $(MAKE); $(unstage)
14003 @[ -f ./hello/Makefile ] || exit 0; \
14004 r=`${PWD_COMMAND}`; export r; \
14005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14006 $(HOST_EXPORTS) \
14007 for flag in $(EXTRA_HOST_FLAGS) ; do \
14008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14009 done; \
14010 echo "Doing distclean in hello" ; \
14011 (cd $(HOST_SUBDIR)/hello && \
14012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14014 "RANLIB=$${RANLIB}" \
14015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14016 distclean) \
14017 || exit 1
14019 @endif hello
14021 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
14022 maybe-maintainer-clean-hello:
14023 @if hello
14024 maybe-maintainer-clean-hello: maintainer-clean-hello
14026 maintainer-clean-hello:
14027 @: $(MAKE); $(unstage)
14028 @[ -f ./hello/Makefile ] || exit 0; \
14029 r=`${PWD_COMMAND}`; export r; \
14030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14031 $(HOST_EXPORTS) \
14032 for flag in $(EXTRA_HOST_FLAGS) ; do \
14033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14034 done; \
14035 echo "Doing maintainer-clean in hello" ; \
14036 (cd $(HOST_SUBDIR)/hello && \
14037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14039 "RANLIB=$${RANLIB}" \
14040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14041 maintainer-clean) \
14042 || exit 1
14044 @endif hello
14048 .PHONY: configure-indent maybe-configure-indent
14049 maybe-configure-indent:
14050 @if indent
14051 maybe-configure-indent: configure-indent
14052 configure-indent:
14053 @: $(MAKE); $(unstage)
14054 @r=`${PWD_COMMAND}`; export r; \
14055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14056 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
14057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
14058 $(HOST_EXPORTS) \
14059 echo Configuring in $(HOST_SUBDIR)/indent; \
14060 cd "$(HOST_SUBDIR)/indent" || exit 1; \
14061 case $(srcdir) in \
14062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14063 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
14064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14065 esac; \
14066 srcdiroption="--srcdir=$${topdir}/indent"; \
14067 libsrcdir="$$s/indent"; \
14068 $(SHELL) $${libsrcdir}/configure \
14069 $(HOST_CONFIGARGS) $${srcdiroption} \
14070 || exit 1
14071 @endif indent
14077 .PHONY: all-indent maybe-all-indent
14078 maybe-all-indent:
14079 @if indent
14080 TARGET-indent=all
14081 maybe-all-indent: all-indent
14082 all-indent: configure-indent
14083 @: $(MAKE); $(unstage)
14084 @r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086 $(HOST_EXPORTS) \
14087 (cd $(HOST_SUBDIR)/indent && \
14088 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
14089 @endif indent
14094 .PHONY: check-indent maybe-check-indent
14095 maybe-check-indent:
14096 @if indent
14097 maybe-check-indent: check-indent
14099 check-indent:
14100 @: $(MAKE); $(unstage)
14101 @r=`${PWD_COMMAND}`; export r; \
14102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14103 $(HOST_EXPORTS) \
14104 (cd $(HOST_SUBDIR)/indent && \
14105 $(MAKE) $(FLAGS_TO_PASS) check)
14107 @endif indent
14109 .PHONY: install-indent maybe-install-indent
14110 maybe-install-indent:
14111 @if indent
14112 maybe-install-indent: install-indent
14114 install-indent: installdirs
14115 @: $(MAKE); $(unstage)
14116 @r=`${PWD_COMMAND}`; export r; \
14117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14118 $(HOST_EXPORTS) \
14119 (cd $(HOST_SUBDIR)/indent && \
14120 $(MAKE) $(FLAGS_TO_PASS) install)
14122 @endif indent
14124 # Other targets (info, dvi, etc.)
14126 .PHONY: maybe-info-indent info-indent
14127 maybe-info-indent:
14128 @if indent
14129 maybe-info-indent: info-indent
14131 info-indent: \
14132 configure-indent
14133 @: $(MAKE); $(unstage)
14134 @[ -f ./indent/Makefile ] || exit 0; \
14135 r=`${PWD_COMMAND}`; export r; \
14136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14137 $(HOST_EXPORTS) \
14138 for flag in $(EXTRA_HOST_FLAGS) ; do \
14139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14140 done; \
14141 echo "Doing info in indent" ; \
14142 (cd $(HOST_SUBDIR)/indent && \
14143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14145 "RANLIB=$${RANLIB}" \
14146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14147 info) \
14148 || exit 1
14150 @endif indent
14152 .PHONY: maybe-dvi-indent dvi-indent
14153 maybe-dvi-indent:
14154 @if indent
14155 maybe-dvi-indent: dvi-indent
14157 dvi-indent: \
14158 configure-indent
14159 @: $(MAKE); $(unstage)
14160 @[ -f ./indent/Makefile ] || exit 0; \
14161 r=`${PWD_COMMAND}`; export r; \
14162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 $(HOST_EXPORTS) \
14164 for flag in $(EXTRA_HOST_FLAGS) ; do \
14165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 done; \
14167 echo "Doing dvi in indent" ; \
14168 (cd $(HOST_SUBDIR)/indent && \
14169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14171 "RANLIB=$${RANLIB}" \
14172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14173 dvi) \
14174 || exit 1
14176 @endif indent
14178 .PHONY: maybe-html-indent html-indent
14179 maybe-html-indent:
14180 @if indent
14181 maybe-html-indent: html-indent
14183 html-indent: \
14184 configure-indent
14185 @: $(MAKE); $(unstage)
14186 @[ -f ./indent/Makefile ] || exit 0; \
14187 r=`${PWD_COMMAND}`; export r; \
14188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14189 $(HOST_EXPORTS) \
14190 for flag in $(EXTRA_HOST_FLAGS) ; do \
14191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14192 done; \
14193 echo "Doing html in indent" ; \
14194 (cd $(HOST_SUBDIR)/indent && \
14195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14197 "RANLIB=$${RANLIB}" \
14198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14199 html) \
14200 || exit 1
14202 @endif indent
14204 .PHONY: maybe-TAGS-indent TAGS-indent
14205 maybe-TAGS-indent:
14206 @if indent
14207 maybe-TAGS-indent: TAGS-indent
14209 TAGS-indent: \
14210 configure-indent
14211 @: $(MAKE); $(unstage)
14212 @[ -f ./indent/Makefile ] || exit 0; \
14213 r=`${PWD_COMMAND}`; export r; \
14214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14215 $(HOST_EXPORTS) \
14216 for flag in $(EXTRA_HOST_FLAGS) ; do \
14217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14218 done; \
14219 echo "Doing TAGS in indent" ; \
14220 (cd $(HOST_SUBDIR)/indent && \
14221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14223 "RANLIB=$${RANLIB}" \
14224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14225 TAGS) \
14226 || exit 1
14228 @endif indent
14230 .PHONY: maybe-install-info-indent install-info-indent
14231 maybe-install-info-indent:
14232 @if indent
14233 maybe-install-info-indent: install-info-indent
14235 install-info-indent: \
14236 configure-indent \
14237 info-indent
14238 @: $(MAKE); $(unstage)
14239 @[ -f ./indent/Makefile ] || exit 0; \
14240 r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 $(HOST_EXPORTS) \
14243 for flag in $(EXTRA_HOST_FLAGS) ; do \
14244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14245 done; \
14246 echo "Doing install-info in indent" ; \
14247 (cd $(HOST_SUBDIR)/indent && \
14248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14250 "RANLIB=$${RANLIB}" \
14251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14252 install-info) \
14253 || exit 1
14255 @endif indent
14257 .PHONY: maybe-installcheck-indent installcheck-indent
14258 maybe-installcheck-indent:
14259 @if indent
14260 maybe-installcheck-indent: installcheck-indent
14262 installcheck-indent: \
14263 configure-indent
14264 @: $(MAKE); $(unstage)
14265 @[ -f ./indent/Makefile ] || exit 0; \
14266 r=`${PWD_COMMAND}`; export r; \
14267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14268 $(HOST_EXPORTS) \
14269 for flag in $(EXTRA_HOST_FLAGS) ; do \
14270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14271 done; \
14272 echo "Doing installcheck in indent" ; \
14273 (cd $(HOST_SUBDIR)/indent && \
14274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14276 "RANLIB=$${RANLIB}" \
14277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14278 installcheck) \
14279 || exit 1
14281 @endif indent
14283 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14284 maybe-mostlyclean-indent:
14285 @if indent
14286 maybe-mostlyclean-indent: mostlyclean-indent
14288 mostlyclean-indent:
14289 @: $(MAKE); $(unstage)
14290 @[ -f ./indent/Makefile ] || exit 0; \
14291 r=`${PWD_COMMAND}`; export r; \
14292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14293 $(HOST_EXPORTS) \
14294 for flag in $(EXTRA_HOST_FLAGS) ; do \
14295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14296 done; \
14297 echo "Doing mostlyclean in indent" ; \
14298 (cd $(HOST_SUBDIR)/indent && \
14299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14301 "RANLIB=$${RANLIB}" \
14302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14303 mostlyclean) \
14304 || exit 1
14306 @endif indent
14308 .PHONY: maybe-clean-indent clean-indent
14309 maybe-clean-indent:
14310 @if indent
14311 maybe-clean-indent: clean-indent
14313 clean-indent:
14314 @: $(MAKE); $(unstage)
14315 @[ -f ./indent/Makefile ] || exit 0; \
14316 r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 $(HOST_EXPORTS) \
14319 for flag in $(EXTRA_HOST_FLAGS) ; do \
14320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14321 done; \
14322 echo "Doing clean in indent" ; \
14323 (cd $(HOST_SUBDIR)/indent && \
14324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14326 "RANLIB=$${RANLIB}" \
14327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14328 clean) \
14329 || exit 1
14331 @endif indent
14333 .PHONY: maybe-distclean-indent distclean-indent
14334 maybe-distclean-indent:
14335 @if indent
14336 maybe-distclean-indent: distclean-indent
14338 distclean-indent:
14339 @: $(MAKE); $(unstage)
14340 @[ -f ./indent/Makefile ] || exit 0; \
14341 r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343 $(HOST_EXPORTS) \
14344 for flag in $(EXTRA_HOST_FLAGS) ; do \
14345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14346 done; \
14347 echo "Doing distclean in indent" ; \
14348 (cd $(HOST_SUBDIR)/indent && \
14349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351 "RANLIB=$${RANLIB}" \
14352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14353 distclean) \
14354 || exit 1
14356 @endif indent
14358 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14359 maybe-maintainer-clean-indent:
14360 @if indent
14361 maybe-maintainer-clean-indent: maintainer-clean-indent
14363 maintainer-clean-indent:
14364 @: $(MAKE); $(unstage)
14365 @[ -f ./indent/Makefile ] || exit 0; \
14366 r=`${PWD_COMMAND}`; export r; \
14367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14368 $(HOST_EXPORTS) \
14369 for flag in $(EXTRA_HOST_FLAGS) ; do \
14370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14371 done; \
14372 echo "Doing maintainer-clean in indent" ; \
14373 (cd $(HOST_SUBDIR)/indent && \
14374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14376 "RANLIB=$${RANLIB}" \
14377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14378 maintainer-clean) \
14379 || exit 1
14381 @endif indent
14385 .PHONY: configure-intl maybe-configure-intl
14386 maybe-configure-intl:
14387 @if intl
14388 maybe-configure-intl: configure-intl
14389 configure-intl:
14390 @endif intl
14391 @if intl-bootstrap
14392 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14393 @endif intl-bootstrap
14394 @if intl
14395 @r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14398 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14399 $(HOST_EXPORTS) \
14400 echo Configuring in $(HOST_SUBDIR)/intl; \
14401 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14402 case $(srcdir) in \
14403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14404 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14406 esac; \
14407 srcdiroption="--srcdir=$${topdir}/intl"; \
14408 libsrcdir="$$s/intl"; \
14409 $(SHELL) $${libsrcdir}/configure \
14410 $(HOST_CONFIGARGS) $${srcdiroption} \
14411 || exit 1
14412 @endif intl
14416 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14417 maybe-configure-stage1-intl:
14418 @if intl-bootstrap
14419 maybe-configure-stage1-intl: configure-stage1-intl
14420 configure-stage1-intl:
14421 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14422 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14423 @r=`${PWD_COMMAND}`; export r; \
14424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14425 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14426 $(HOST_EXPORTS) \
14427 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14429 cd $(HOST_SUBDIR)/intl || exit 1; \
14430 case $(srcdir) in \
14431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14432 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14434 esac; \
14435 srcdiroption="--srcdir=$${topdir}/intl"; \
14436 libsrcdir="$$s/intl"; \
14437 $(SHELL) $${libsrcdir}/configure \
14438 $(HOST_CONFIGARGS) $${srcdiroption} \
14439 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14440 @endif intl-bootstrap
14442 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14443 maybe-configure-stage2-intl:
14444 @if intl-bootstrap
14445 maybe-configure-stage2-intl: configure-stage2-intl
14446 configure-stage2-intl:
14447 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14449 @r=`${PWD_COMMAND}`; export r; \
14450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14451 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14452 $(HOST_EXPORTS) \
14453 $(POSTSTAGE1_HOST_EXPORTS) \
14454 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14456 cd $(HOST_SUBDIR)/intl || exit 1; \
14457 case $(srcdir) in \
14458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14459 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14461 esac; \
14462 srcdiroption="--srcdir=$${topdir}/intl"; \
14463 libsrcdir="$$s/intl"; \
14464 $(SHELL) $${libsrcdir}/configure \
14465 $(HOST_CONFIGARGS) $${srcdiroption} \
14466 @stage2_werror_flag@
14467 @endif intl-bootstrap
14469 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14470 maybe-configure-stage3-intl:
14471 @if intl-bootstrap
14472 maybe-configure-stage3-intl: configure-stage3-intl
14473 configure-stage3-intl:
14474 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14476 @r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14479 $(HOST_EXPORTS) \
14480 $(POSTSTAGE1_HOST_EXPORTS) \
14481 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14483 cd $(HOST_SUBDIR)/intl || exit 1; \
14484 case $(srcdir) in \
14485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14486 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14488 esac; \
14489 srcdiroption="--srcdir=$${topdir}/intl"; \
14490 libsrcdir="$$s/intl"; \
14491 $(SHELL) $${libsrcdir}/configure \
14492 $(HOST_CONFIGARGS) $${srcdiroption} \
14493 @stage2_werror_flag@
14494 @endif intl-bootstrap
14496 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14497 maybe-configure-stage4-intl:
14498 @if intl-bootstrap
14499 maybe-configure-stage4-intl: configure-stage4-intl
14500 configure-stage4-intl:
14501 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14503 @r=`${PWD_COMMAND}`; export r; \
14504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14505 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14506 $(HOST_EXPORTS) \
14507 $(POSTSTAGE1_HOST_EXPORTS) \
14508 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14510 cd $(HOST_SUBDIR)/intl || exit 1; \
14511 case $(srcdir) in \
14512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14513 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14515 esac; \
14516 srcdiroption="--srcdir=$${topdir}/intl"; \
14517 libsrcdir="$$s/intl"; \
14518 $(SHELL) $${libsrcdir}/configure \
14519 $(HOST_CONFIGARGS) $${srcdiroption} \
14520 @stage2_werror_flag@
14521 @endif intl-bootstrap
14523 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14524 maybe-configure-stageprofile-intl:
14525 @if intl-bootstrap
14526 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14527 configure-stageprofile-intl:
14528 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14530 @r=`${PWD_COMMAND}`; export r; \
14531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14532 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14533 $(HOST_EXPORTS) \
14534 $(POSTSTAGE1_HOST_EXPORTS) \
14535 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14537 cd $(HOST_SUBDIR)/intl || exit 1; \
14538 case $(srcdir) in \
14539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14540 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14542 esac; \
14543 srcdiroption="--srcdir=$${topdir}/intl"; \
14544 libsrcdir="$$s/intl"; \
14545 $(SHELL) $${libsrcdir}/configure \
14546 $(HOST_CONFIGARGS) $${srcdiroption} \
14547 @stage2_werror_flag@
14548 @endif intl-bootstrap
14550 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14551 maybe-configure-stagefeedback-intl:
14552 @if intl-bootstrap
14553 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14554 configure-stagefeedback-intl:
14555 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
14557 @r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14560 $(HOST_EXPORTS) \
14561 $(POSTSTAGE1_HOST_EXPORTS) \
14562 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14564 cd $(HOST_SUBDIR)/intl || exit 1; \
14565 case $(srcdir) in \
14566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14567 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14569 esac; \
14570 srcdiroption="--srcdir=$${topdir}/intl"; \
14571 libsrcdir="$$s/intl"; \
14572 $(SHELL) $${libsrcdir}/configure \
14573 $(HOST_CONFIGARGS) $${srcdiroption} \
14574 @stage2_werror_flag@
14575 @endif intl-bootstrap
14581 .PHONY: all-intl maybe-all-intl
14582 maybe-all-intl:
14583 @if intl
14584 TARGET-intl=all
14585 maybe-all-intl: all-intl
14586 all-intl: configure-intl
14587 @endif intl
14588 @if intl-bootstrap
14589 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
14590 @endif intl-bootstrap
14591 @if intl
14592 @r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(HOST_EXPORTS) \
14595 (cd $(HOST_SUBDIR)/intl && \
14596 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14597 @endif intl
14601 .PHONY: all-stage1-intl maybe-all-stage1-intl
14602 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14603 maybe-all-stage1-intl:
14604 maybe-clean-stage1-intl:
14605 @if intl-bootstrap
14606 maybe-all-stage1-intl: all-stage1-intl
14607 all-stage1: all-stage1-intl
14608 TARGET-stage1-intl = $(TARGET-intl)
14609 all-stage1-intl: configure-stage1-intl
14610 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14611 @r=`${PWD_COMMAND}`; export r; \
14612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14613 $(HOST_EXPORTS) \
14614 cd $(HOST_SUBDIR)/intl && \
14615 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
14616 $(TARGET-stage1-intl)
14618 maybe-clean-stage1-intl: clean-stage1-intl
14619 clean-stage1: clean-stage1-intl
14620 clean-stage1-intl:
14621 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14622 || exit 0 ; \
14623 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
14624 cd $(HOST_SUBDIR)/intl && \
14625 $(MAKE) $(FLAGS_TO_PASS) \
14626 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
14627 @endif intl-bootstrap
14630 .PHONY: all-stage2-intl maybe-all-stage2-intl
14631 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14632 maybe-all-stage2-intl:
14633 maybe-clean-stage2-intl:
14634 @if intl-bootstrap
14635 maybe-all-stage2-intl: all-stage2-intl
14636 all-stage2: all-stage2-intl
14637 TARGET-stage2-intl = $(TARGET-intl)
14638 all-stage2-intl: configure-stage2-intl
14639 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14640 @r=`${PWD_COMMAND}`; export r; \
14641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642 $(HOST_EXPORTS) \
14643 $(POSTSTAGE1_HOST_EXPORTS) \
14644 cd $(HOST_SUBDIR)/intl && \
14645 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14646 $(TARGET-stage2-intl)
14648 maybe-clean-stage2-intl: clean-stage2-intl
14649 clean-stage2: clean-stage2-intl
14650 clean-stage2-intl:
14651 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14652 || exit 0 ; \
14653 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
14654 cd $(HOST_SUBDIR)/intl && \
14655 $(MAKE) $(FLAGS_TO_PASS) \
14656 $(POSTSTAGE1_FLAGS_TO_PASS) \
14657 clean
14658 @endif intl-bootstrap
14661 .PHONY: all-stage3-intl maybe-all-stage3-intl
14662 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14663 maybe-all-stage3-intl:
14664 maybe-clean-stage3-intl:
14665 @if intl-bootstrap
14666 maybe-all-stage3-intl: all-stage3-intl
14667 all-stage3: all-stage3-intl
14668 TARGET-stage3-intl = $(TARGET-intl)
14669 all-stage3-intl: configure-stage3-intl
14670 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14671 @r=`${PWD_COMMAND}`; export r; \
14672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14673 $(HOST_EXPORTS) \
14674 $(POSTSTAGE1_HOST_EXPORTS) \
14675 cd $(HOST_SUBDIR)/intl && \
14676 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14677 $(TARGET-stage3-intl)
14679 maybe-clean-stage3-intl: clean-stage3-intl
14680 clean-stage3: clean-stage3-intl
14681 clean-stage3-intl:
14682 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14683 || exit 0 ; \
14684 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
14685 cd $(HOST_SUBDIR)/intl && \
14686 $(MAKE) $(FLAGS_TO_PASS) \
14687 $(POSTSTAGE1_FLAGS_TO_PASS) \
14688 clean
14689 @endif intl-bootstrap
14692 .PHONY: all-stage4-intl maybe-all-stage4-intl
14693 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14694 maybe-all-stage4-intl:
14695 maybe-clean-stage4-intl:
14696 @if intl-bootstrap
14697 maybe-all-stage4-intl: all-stage4-intl
14698 all-stage4: all-stage4-intl
14699 TARGET-stage4-intl = $(TARGET-intl)
14700 all-stage4-intl: configure-stage4-intl
14701 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14702 @r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 $(HOST_EXPORTS) \
14705 $(POSTSTAGE1_HOST_EXPORTS) \
14706 cd $(HOST_SUBDIR)/intl && \
14707 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14708 $(TARGET-stage4-intl)
14710 maybe-clean-stage4-intl: clean-stage4-intl
14711 clean-stage4: clean-stage4-intl
14712 clean-stage4-intl:
14713 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14714 || exit 0 ; \
14715 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
14716 cd $(HOST_SUBDIR)/intl && \
14717 $(MAKE) $(FLAGS_TO_PASS) \
14718 $(POSTSTAGE1_FLAGS_TO_PASS) \
14719 clean
14720 @endif intl-bootstrap
14723 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14724 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14725 maybe-all-stageprofile-intl:
14726 maybe-clean-stageprofile-intl:
14727 @if intl-bootstrap
14728 maybe-all-stageprofile-intl: all-stageprofile-intl
14729 all-stageprofile: all-stageprofile-intl
14730 TARGET-stageprofile-intl = $(TARGET-intl)
14731 all-stageprofile-intl: configure-stageprofile-intl
14732 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14733 @r=`${PWD_COMMAND}`; export r; \
14734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14735 $(HOST_EXPORTS) \
14736 $(POSTSTAGE1_HOST_EXPORTS) \
14737 cd $(HOST_SUBDIR)/intl && \
14738 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14739 $(TARGET-stageprofile-intl)
14741 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14742 clean-stageprofile: clean-stageprofile-intl
14743 clean-stageprofile-intl:
14744 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14745 || exit 0 ; \
14746 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
14747 cd $(HOST_SUBDIR)/intl && \
14748 $(MAKE) $(FLAGS_TO_PASS) \
14749 $(POSTSTAGE1_FLAGS_TO_PASS) \
14750 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14751 @endif intl-bootstrap
14754 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14755 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14756 maybe-all-stagefeedback-intl:
14757 maybe-clean-stagefeedback-intl:
14758 @if intl-bootstrap
14759 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14760 all-stagefeedback: all-stagefeedback-intl
14761 TARGET-stagefeedback-intl = $(TARGET-intl)
14762 all-stagefeedback-intl: configure-stagefeedback-intl
14763 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14764 @r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 $(HOST_EXPORTS) \
14767 $(POSTSTAGE1_HOST_EXPORTS) \
14768 cd $(HOST_SUBDIR)/intl && \
14769 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14770 $(TARGET-stagefeedback-intl)
14772 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14773 clean-stagefeedback: clean-stagefeedback-intl
14774 clean-stagefeedback-intl:
14775 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14776 || exit 0 ; \
14777 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
14778 cd $(HOST_SUBDIR)/intl && \
14779 $(MAKE) $(FLAGS_TO_PASS) \
14780 $(POSTSTAGE1_FLAGS_TO_PASS) \
14781 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14782 @endif intl-bootstrap
14788 .PHONY: check-intl maybe-check-intl
14789 maybe-check-intl:
14790 @if intl
14791 maybe-check-intl: check-intl
14793 check-intl:
14794 @: $(MAKE); $(unstage)
14795 @r=`${PWD_COMMAND}`; export r; \
14796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14797 $(HOST_EXPORTS) \
14798 (cd $(HOST_SUBDIR)/intl && \
14799 $(MAKE) $(FLAGS_TO_PASS) check)
14801 @endif intl
14803 .PHONY: install-intl maybe-install-intl
14804 maybe-install-intl:
14805 @if intl
14806 maybe-install-intl: install-intl
14808 install-intl: installdirs
14809 @: $(MAKE); $(unstage)
14810 @r=`${PWD_COMMAND}`; export r; \
14811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14812 $(HOST_EXPORTS) \
14813 (cd $(HOST_SUBDIR)/intl && \
14814 $(MAKE) $(FLAGS_TO_PASS) install)
14816 @endif intl
14818 # Other targets (info, dvi, etc.)
14820 .PHONY: maybe-info-intl info-intl
14821 maybe-info-intl:
14822 @if intl
14823 maybe-info-intl: info-intl
14825 info-intl: \
14826 configure-intl
14827 @[ -f ./intl/Makefile ] || exit 0; \
14828 r=`${PWD_COMMAND}`; export r; \
14829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830 $(HOST_EXPORTS) \
14831 for flag in $(EXTRA_HOST_FLAGS) ; do \
14832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14833 done; \
14834 echo "Doing info in intl" ; \
14835 (cd $(HOST_SUBDIR)/intl && \
14836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14838 "RANLIB=$${RANLIB}" \
14839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14840 info) \
14841 || exit 1
14843 @endif intl
14845 .PHONY: maybe-dvi-intl dvi-intl
14846 maybe-dvi-intl:
14847 @if intl
14848 maybe-dvi-intl: dvi-intl
14850 dvi-intl: \
14851 configure-intl
14852 @[ -f ./intl/Makefile ] || exit 0; \
14853 r=`${PWD_COMMAND}`; export r; \
14854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14855 $(HOST_EXPORTS) \
14856 for flag in $(EXTRA_HOST_FLAGS) ; do \
14857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14858 done; \
14859 echo "Doing dvi in intl" ; \
14860 (cd $(HOST_SUBDIR)/intl && \
14861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14863 "RANLIB=$${RANLIB}" \
14864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14865 dvi) \
14866 || exit 1
14868 @endif intl
14870 .PHONY: maybe-html-intl html-intl
14871 maybe-html-intl:
14872 @if intl
14873 maybe-html-intl: html-intl
14875 html-intl: \
14876 configure-intl
14877 @[ -f ./intl/Makefile ] || exit 0; \
14878 r=`${PWD_COMMAND}`; export r; \
14879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14880 $(HOST_EXPORTS) \
14881 for flag in $(EXTRA_HOST_FLAGS) ; do \
14882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14883 done; \
14884 echo "Doing html in intl" ; \
14885 (cd $(HOST_SUBDIR)/intl && \
14886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14888 "RANLIB=$${RANLIB}" \
14889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14890 html) \
14891 || exit 1
14893 @endif intl
14895 .PHONY: maybe-TAGS-intl TAGS-intl
14896 maybe-TAGS-intl:
14897 @if intl
14898 maybe-TAGS-intl: TAGS-intl
14900 TAGS-intl: \
14901 configure-intl
14902 @[ -f ./intl/Makefile ] || exit 0; \
14903 r=`${PWD_COMMAND}`; export r; \
14904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14905 $(HOST_EXPORTS) \
14906 for flag in $(EXTRA_HOST_FLAGS) ; do \
14907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14908 done; \
14909 echo "Doing TAGS in intl" ; \
14910 (cd $(HOST_SUBDIR)/intl && \
14911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14913 "RANLIB=$${RANLIB}" \
14914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14915 TAGS) \
14916 || exit 1
14918 @endif intl
14920 .PHONY: maybe-install-info-intl install-info-intl
14921 maybe-install-info-intl:
14922 @if intl
14923 maybe-install-info-intl: install-info-intl
14925 install-info-intl: \
14926 configure-intl \
14927 info-intl
14928 @[ -f ./intl/Makefile ] || exit 0; \
14929 r=`${PWD_COMMAND}`; export r; \
14930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14931 $(HOST_EXPORTS) \
14932 for flag in $(EXTRA_HOST_FLAGS) ; do \
14933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14934 done; \
14935 echo "Doing install-info in intl" ; \
14936 (cd $(HOST_SUBDIR)/intl && \
14937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14939 "RANLIB=$${RANLIB}" \
14940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14941 install-info) \
14942 || exit 1
14944 @endif intl
14946 .PHONY: maybe-installcheck-intl installcheck-intl
14947 maybe-installcheck-intl:
14948 @if intl
14949 maybe-installcheck-intl: installcheck-intl
14951 installcheck-intl: \
14952 configure-intl
14953 @[ -f ./intl/Makefile ] || exit 0; \
14954 r=`${PWD_COMMAND}`; export r; \
14955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14956 $(HOST_EXPORTS) \
14957 for flag in $(EXTRA_HOST_FLAGS) ; do \
14958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14959 done; \
14960 echo "Doing installcheck in intl" ; \
14961 (cd $(HOST_SUBDIR)/intl && \
14962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14964 "RANLIB=$${RANLIB}" \
14965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14966 installcheck) \
14967 || exit 1
14969 @endif intl
14971 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14972 maybe-mostlyclean-intl:
14973 @if intl
14974 maybe-mostlyclean-intl: mostlyclean-intl
14976 mostlyclean-intl:
14977 @[ -f ./intl/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(HOST_EXPORTS) \
14981 for flag in $(EXTRA_HOST_FLAGS) ; do \
14982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 done; \
14984 echo "Doing mostlyclean in intl" ; \
14985 (cd $(HOST_SUBDIR)/intl && \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14988 "RANLIB=$${RANLIB}" \
14989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14990 mostlyclean) \
14991 || exit 1
14993 @endif intl
14995 .PHONY: maybe-clean-intl clean-intl
14996 maybe-clean-intl:
14997 @if intl
14998 maybe-clean-intl: clean-intl
15000 clean-intl:
15001 @[ -f ./intl/Makefile ] || exit 0; \
15002 r=`${PWD_COMMAND}`; export r; \
15003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004 $(HOST_EXPORTS) \
15005 for flag in $(EXTRA_HOST_FLAGS) ; do \
15006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15007 done; \
15008 echo "Doing clean in intl" ; \
15009 (cd $(HOST_SUBDIR)/intl && \
15010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15012 "RANLIB=$${RANLIB}" \
15013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15014 clean) \
15015 || exit 1
15017 @endif intl
15019 .PHONY: maybe-distclean-intl distclean-intl
15020 maybe-distclean-intl:
15021 @if intl
15022 maybe-distclean-intl: distclean-intl
15024 distclean-intl:
15025 @[ -f ./intl/Makefile ] || exit 0; \
15026 r=`${PWD_COMMAND}`; export r; \
15027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15028 $(HOST_EXPORTS) \
15029 for flag in $(EXTRA_HOST_FLAGS) ; do \
15030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15031 done; \
15032 echo "Doing distclean in intl" ; \
15033 (cd $(HOST_SUBDIR)/intl && \
15034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15036 "RANLIB=$${RANLIB}" \
15037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15038 distclean) \
15039 || exit 1
15041 @endif intl
15043 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
15044 maybe-maintainer-clean-intl:
15045 @if intl
15046 maybe-maintainer-clean-intl: maintainer-clean-intl
15048 maintainer-clean-intl:
15049 @[ -f ./intl/Makefile ] || exit 0; \
15050 r=`${PWD_COMMAND}`; export r; \
15051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15052 $(HOST_EXPORTS) \
15053 for flag in $(EXTRA_HOST_FLAGS) ; do \
15054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15055 done; \
15056 echo "Doing maintainer-clean in intl" ; \
15057 (cd $(HOST_SUBDIR)/intl && \
15058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15060 "RANLIB=$${RANLIB}" \
15061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15062 maintainer-clean) \
15063 || exit 1
15065 @endif intl
15069 .PHONY: configure-tcl maybe-configure-tcl
15070 maybe-configure-tcl:
15071 @if tcl
15072 maybe-configure-tcl: configure-tcl
15073 configure-tcl:
15074 @: $(MAKE); $(unstage)
15075 @r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
15078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
15079 $(HOST_EXPORTS) \
15080 echo Configuring in $(HOST_SUBDIR)/tcl; \
15081 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
15082 case $(srcdir) in \
15083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15084 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
15085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15086 esac; \
15087 srcdiroption="--srcdir=$${topdir}/tcl"; \
15088 libsrcdir="$$s/tcl"; \
15089 $(SHELL) $${libsrcdir}/configure \
15090 $(HOST_CONFIGARGS) $${srcdiroption} \
15091 || exit 1
15092 @endif tcl
15098 .PHONY: all-tcl maybe-all-tcl
15099 maybe-all-tcl:
15100 @if tcl
15101 TARGET-tcl=all
15102 maybe-all-tcl: all-tcl
15103 all-tcl: configure-tcl
15104 @: $(MAKE); $(unstage)
15105 @r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15107 $(HOST_EXPORTS) \
15108 (cd $(HOST_SUBDIR)/tcl && \
15109 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
15110 @endif tcl
15115 .PHONY: check-tcl maybe-check-tcl
15116 maybe-check-tcl:
15117 @if tcl
15118 maybe-check-tcl: check-tcl
15120 check-tcl:
15121 @: $(MAKE); $(unstage)
15122 @r=`${PWD_COMMAND}`; export r; \
15123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15124 $(HOST_EXPORTS) \
15125 (cd $(HOST_SUBDIR)/tcl && \
15126 $(MAKE) $(FLAGS_TO_PASS) check)
15128 @endif tcl
15130 .PHONY: install-tcl maybe-install-tcl
15131 maybe-install-tcl:
15132 @if tcl
15133 maybe-install-tcl: install-tcl
15135 install-tcl: installdirs
15136 @: $(MAKE); $(unstage)
15137 @r=`${PWD_COMMAND}`; export r; \
15138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15139 $(HOST_EXPORTS) \
15140 (cd $(HOST_SUBDIR)/tcl && \
15141 $(MAKE) $(FLAGS_TO_PASS) install)
15143 @endif tcl
15145 # Other targets (info, dvi, etc.)
15147 .PHONY: maybe-info-tcl info-tcl
15148 maybe-info-tcl:
15149 @if tcl
15150 maybe-info-tcl: info-tcl
15152 info-tcl: \
15153 configure-tcl
15154 @: $(MAKE); $(unstage)
15155 @[ -f ./tcl/Makefile ] || exit 0; \
15156 r=`${PWD_COMMAND}`; export r; \
15157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15158 $(HOST_EXPORTS) \
15159 for flag in $(EXTRA_HOST_FLAGS) ; do \
15160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15161 done; \
15162 echo "Doing info in tcl" ; \
15163 (cd $(HOST_SUBDIR)/tcl && \
15164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15166 "RANLIB=$${RANLIB}" \
15167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15168 info) \
15169 || exit 1
15171 @endif tcl
15173 .PHONY: maybe-dvi-tcl dvi-tcl
15174 maybe-dvi-tcl:
15175 @if tcl
15176 maybe-dvi-tcl: dvi-tcl
15178 dvi-tcl: \
15179 configure-tcl
15180 @: $(MAKE); $(unstage)
15181 @[ -f ./tcl/Makefile ] || exit 0; \
15182 r=`${PWD_COMMAND}`; export r; \
15183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15184 $(HOST_EXPORTS) \
15185 for flag in $(EXTRA_HOST_FLAGS) ; do \
15186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15187 done; \
15188 echo "Doing dvi in tcl" ; \
15189 (cd $(HOST_SUBDIR)/tcl && \
15190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15192 "RANLIB=$${RANLIB}" \
15193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15194 dvi) \
15195 || exit 1
15197 @endif tcl
15199 .PHONY: maybe-html-tcl html-tcl
15200 maybe-html-tcl:
15201 @if tcl
15202 maybe-html-tcl: html-tcl
15204 html-tcl: \
15205 configure-tcl
15206 @: $(MAKE); $(unstage)
15207 @[ -f ./tcl/Makefile ] || exit 0; \
15208 r=`${PWD_COMMAND}`; export r; \
15209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 $(HOST_EXPORTS) \
15211 for flag in $(EXTRA_HOST_FLAGS) ; do \
15212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15213 done; \
15214 echo "Doing html in tcl" ; \
15215 (cd $(HOST_SUBDIR)/tcl && \
15216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15218 "RANLIB=$${RANLIB}" \
15219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15220 html) \
15221 || exit 1
15223 @endif tcl
15225 .PHONY: maybe-TAGS-tcl TAGS-tcl
15226 maybe-TAGS-tcl:
15227 @if tcl
15228 maybe-TAGS-tcl: TAGS-tcl
15230 TAGS-tcl: \
15231 configure-tcl
15232 @: $(MAKE); $(unstage)
15233 @[ -f ./tcl/Makefile ] || exit 0; \
15234 r=`${PWD_COMMAND}`; export r; \
15235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15236 $(HOST_EXPORTS) \
15237 for flag in $(EXTRA_HOST_FLAGS) ; do \
15238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15239 done; \
15240 echo "Doing TAGS in tcl" ; \
15241 (cd $(HOST_SUBDIR)/tcl && \
15242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15244 "RANLIB=$${RANLIB}" \
15245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15246 TAGS) \
15247 || exit 1
15249 @endif tcl
15251 .PHONY: maybe-install-info-tcl install-info-tcl
15252 maybe-install-info-tcl:
15253 @if tcl
15254 maybe-install-info-tcl: install-info-tcl
15256 install-info-tcl: \
15257 configure-tcl \
15258 info-tcl
15259 @: $(MAKE); $(unstage)
15260 @[ -f ./tcl/Makefile ] || exit 0; \
15261 r=`${PWD_COMMAND}`; export r; \
15262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15263 $(HOST_EXPORTS) \
15264 for flag in $(EXTRA_HOST_FLAGS) ; do \
15265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15266 done; \
15267 echo "Doing install-info in tcl" ; \
15268 (cd $(HOST_SUBDIR)/tcl && \
15269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15271 "RANLIB=$${RANLIB}" \
15272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15273 install-info) \
15274 || exit 1
15276 @endif tcl
15278 .PHONY: maybe-installcheck-tcl installcheck-tcl
15279 maybe-installcheck-tcl:
15280 @if tcl
15281 maybe-installcheck-tcl: installcheck-tcl
15283 installcheck-tcl: \
15284 configure-tcl
15285 @: $(MAKE); $(unstage)
15286 @[ -f ./tcl/Makefile ] || exit 0; \
15287 r=`${PWD_COMMAND}`; export r; \
15288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15289 $(HOST_EXPORTS) \
15290 for flag in $(EXTRA_HOST_FLAGS) ; do \
15291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15292 done; \
15293 echo "Doing installcheck in tcl" ; \
15294 (cd $(HOST_SUBDIR)/tcl && \
15295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15297 "RANLIB=$${RANLIB}" \
15298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15299 installcheck) \
15300 || exit 1
15302 @endif tcl
15304 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
15305 maybe-mostlyclean-tcl:
15306 @if tcl
15307 maybe-mostlyclean-tcl: mostlyclean-tcl
15309 # tcl doesn't support mostlyclean.
15310 mostlyclean-tcl:
15312 @endif tcl
15314 .PHONY: maybe-clean-tcl clean-tcl
15315 maybe-clean-tcl:
15316 @if tcl
15317 maybe-clean-tcl: clean-tcl
15319 clean-tcl:
15320 @: $(MAKE); $(unstage)
15321 @[ -f ./tcl/Makefile ] || exit 0; \
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324 $(HOST_EXPORTS) \
15325 for flag in $(EXTRA_HOST_FLAGS) ; do \
15326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15327 done; \
15328 echo "Doing clean in tcl" ; \
15329 (cd $(HOST_SUBDIR)/tcl && \
15330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15332 "RANLIB=$${RANLIB}" \
15333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15334 clean) \
15335 || exit 1
15337 @endif tcl
15339 .PHONY: maybe-distclean-tcl distclean-tcl
15340 maybe-distclean-tcl:
15341 @if tcl
15342 maybe-distclean-tcl: distclean-tcl
15344 distclean-tcl:
15345 @: $(MAKE); $(unstage)
15346 @[ -f ./tcl/Makefile ] || exit 0; \
15347 r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(HOST_EXPORTS) \
15350 for flag in $(EXTRA_HOST_FLAGS) ; do \
15351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15352 done; \
15353 echo "Doing distclean in tcl" ; \
15354 (cd $(HOST_SUBDIR)/tcl && \
15355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15357 "RANLIB=$${RANLIB}" \
15358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15359 distclean) \
15360 || exit 1
15362 @endif tcl
15364 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15365 maybe-maintainer-clean-tcl:
15366 @if tcl
15367 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15369 maintainer-clean-tcl:
15370 @: $(MAKE); $(unstage)
15371 @[ -f ./tcl/Makefile ] || exit 0; \
15372 r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374 $(HOST_EXPORTS) \
15375 for flag in $(EXTRA_HOST_FLAGS) ; do \
15376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15377 done; \
15378 echo "Doing maintainer-clean in tcl" ; \
15379 (cd $(HOST_SUBDIR)/tcl && \
15380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15382 "RANLIB=$${RANLIB}" \
15383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15384 maintainer-clean) \
15385 || exit 1
15387 @endif tcl
15391 .PHONY: configure-itcl maybe-configure-itcl
15392 maybe-configure-itcl:
15393 @if itcl
15394 maybe-configure-itcl: configure-itcl
15395 configure-itcl:
15396 @: $(MAKE); $(unstage)
15397 @r=`${PWD_COMMAND}`; export r; \
15398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15399 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15401 $(HOST_EXPORTS) \
15402 echo Configuring in $(HOST_SUBDIR)/itcl; \
15403 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15404 case $(srcdir) in \
15405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15406 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15408 esac; \
15409 srcdiroption="--srcdir=$${topdir}/itcl"; \
15410 libsrcdir="$$s/itcl"; \
15411 $(SHELL) $${libsrcdir}/configure \
15412 $(HOST_CONFIGARGS) $${srcdiroption} \
15413 || exit 1
15414 @endif itcl
15420 .PHONY: all-itcl maybe-all-itcl
15421 maybe-all-itcl:
15422 @if itcl
15423 TARGET-itcl=all
15424 maybe-all-itcl: all-itcl
15425 all-itcl: configure-itcl
15426 @: $(MAKE); $(unstage)
15427 @r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 $(HOST_EXPORTS) \
15430 (cd $(HOST_SUBDIR)/itcl && \
15431 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15432 @endif itcl
15437 .PHONY: check-itcl maybe-check-itcl
15438 maybe-check-itcl:
15439 @if itcl
15440 maybe-check-itcl: check-itcl
15442 check-itcl:
15443 @: $(MAKE); $(unstage)
15444 @r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446 $(HOST_EXPORTS) \
15447 (cd $(HOST_SUBDIR)/itcl && \
15448 $(MAKE) $(FLAGS_TO_PASS) check)
15450 @endif itcl
15452 .PHONY: install-itcl maybe-install-itcl
15453 maybe-install-itcl:
15454 @if itcl
15455 maybe-install-itcl: install-itcl
15457 install-itcl: installdirs
15458 @: $(MAKE); $(unstage)
15459 @r=`${PWD_COMMAND}`; export r; \
15460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15461 $(HOST_EXPORTS) \
15462 (cd $(HOST_SUBDIR)/itcl && \
15463 $(MAKE) $(FLAGS_TO_PASS) install)
15465 @endif itcl
15467 # Other targets (info, dvi, etc.)
15469 .PHONY: maybe-info-itcl info-itcl
15470 maybe-info-itcl:
15471 @if itcl
15472 maybe-info-itcl: info-itcl
15474 info-itcl: \
15475 configure-itcl
15476 @: $(MAKE); $(unstage)
15477 @[ -f ./itcl/Makefile ] || exit 0; \
15478 r=`${PWD_COMMAND}`; export r; \
15479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15480 $(HOST_EXPORTS) \
15481 for flag in $(EXTRA_HOST_FLAGS) ; do \
15482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15483 done; \
15484 echo "Doing info in itcl" ; \
15485 (cd $(HOST_SUBDIR)/itcl && \
15486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15488 "RANLIB=$${RANLIB}" \
15489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15490 info) \
15491 || exit 1
15493 @endif itcl
15495 .PHONY: maybe-dvi-itcl dvi-itcl
15496 maybe-dvi-itcl:
15497 @if itcl
15498 maybe-dvi-itcl: dvi-itcl
15500 dvi-itcl: \
15501 configure-itcl
15502 @: $(MAKE); $(unstage)
15503 @[ -f ./itcl/Makefile ] || exit 0; \
15504 r=`${PWD_COMMAND}`; export r; \
15505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15506 $(HOST_EXPORTS) \
15507 for flag in $(EXTRA_HOST_FLAGS) ; do \
15508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15509 done; \
15510 echo "Doing dvi in itcl" ; \
15511 (cd $(HOST_SUBDIR)/itcl && \
15512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15514 "RANLIB=$${RANLIB}" \
15515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15516 dvi) \
15517 || exit 1
15519 @endif itcl
15521 .PHONY: maybe-html-itcl html-itcl
15522 maybe-html-itcl:
15523 @if itcl
15524 maybe-html-itcl: html-itcl
15526 html-itcl: \
15527 configure-itcl
15528 @: $(MAKE); $(unstage)
15529 @[ -f ./itcl/Makefile ] || exit 0; \
15530 r=`${PWD_COMMAND}`; export r; \
15531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 $(HOST_EXPORTS) \
15533 for flag in $(EXTRA_HOST_FLAGS) ; do \
15534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15535 done; \
15536 echo "Doing html in itcl" ; \
15537 (cd $(HOST_SUBDIR)/itcl && \
15538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15540 "RANLIB=$${RANLIB}" \
15541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15542 html) \
15543 || exit 1
15545 @endif itcl
15547 .PHONY: maybe-TAGS-itcl TAGS-itcl
15548 maybe-TAGS-itcl:
15549 @if itcl
15550 maybe-TAGS-itcl: TAGS-itcl
15552 TAGS-itcl: \
15553 configure-itcl
15554 @: $(MAKE); $(unstage)
15555 @[ -f ./itcl/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing TAGS in itcl" ; \
15563 (cd $(HOST_SUBDIR)/itcl && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15568 TAGS) \
15569 || exit 1
15571 @endif itcl
15573 .PHONY: maybe-install-info-itcl install-info-itcl
15574 maybe-install-info-itcl:
15575 @if itcl
15576 maybe-install-info-itcl: install-info-itcl
15578 install-info-itcl: \
15579 configure-itcl \
15580 info-itcl
15581 @: $(MAKE); $(unstage)
15582 @[ -f ./itcl/Makefile ] || exit 0; \
15583 r=`${PWD_COMMAND}`; export r; \
15584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15585 $(HOST_EXPORTS) \
15586 for flag in $(EXTRA_HOST_FLAGS) ; do \
15587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15588 done; \
15589 echo "Doing install-info in itcl" ; \
15590 (cd $(HOST_SUBDIR)/itcl && \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15593 "RANLIB=$${RANLIB}" \
15594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15595 install-info) \
15596 || exit 1
15598 @endif itcl
15600 .PHONY: maybe-installcheck-itcl installcheck-itcl
15601 maybe-installcheck-itcl:
15602 @if itcl
15603 maybe-installcheck-itcl: installcheck-itcl
15605 installcheck-itcl: \
15606 configure-itcl
15607 @: $(MAKE); $(unstage)
15608 @[ -f ./itcl/Makefile ] || exit 0; \
15609 r=`${PWD_COMMAND}`; export r; \
15610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15611 $(HOST_EXPORTS) \
15612 for flag in $(EXTRA_HOST_FLAGS) ; do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15614 done; \
15615 echo "Doing installcheck in itcl" ; \
15616 (cd $(HOST_SUBDIR)/itcl && \
15617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619 "RANLIB=$${RANLIB}" \
15620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15621 installcheck) \
15622 || exit 1
15624 @endif itcl
15626 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15627 maybe-mostlyclean-itcl:
15628 @if itcl
15629 maybe-mostlyclean-itcl: mostlyclean-itcl
15631 mostlyclean-itcl:
15632 @: $(MAKE); $(unstage)
15633 @[ -f ./itcl/Makefile ] || exit 0; \
15634 r=`${PWD_COMMAND}`; export r; \
15635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636 $(HOST_EXPORTS) \
15637 for flag in $(EXTRA_HOST_FLAGS) ; do \
15638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15639 done; \
15640 echo "Doing mostlyclean in itcl" ; \
15641 (cd $(HOST_SUBDIR)/itcl && \
15642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15644 "RANLIB=$${RANLIB}" \
15645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15646 mostlyclean) \
15647 || exit 1
15649 @endif itcl
15651 .PHONY: maybe-clean-itcl clean-itcl
15652 maybe-clean-itcl:
15653 @if itcl
15654 maybe-clean-itcl: clean-itcl
15656 clean-itcl:
15657 @: $(MAKE); $(unstage)
15658 @[ -f ./itcl/Makefile ] || exit 0; \
15659 r=`${PWD_COMMAND}`; export r; \
15660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15661 $(HOST_EXPORTS) \
15662 for flag in $(EXTRA_HOST_FLAGS) ; do \
15663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15664 done; \
15665 echo "Doing clean in itcl" ; \
15666 (cd $(HOST_SUBDIR)/itcl && \
15667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15669 "RANLIB=$${RANLIB}" \
15670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15671 clean) \
15672 || exit 1
15674 @endif itcl
15676 .PHONY: maybe-distclean-itcl distclean-itcl
15677 maybe-distclean-itcl:
15678 @if itcl
15679 maybe-distclean-itcl: distclean-itcl
15681 distclean-itcl:
15682 @: $(MAKE); $(unstage)
15683 @[ -f ./itcl/Makefile ] || exit 0; \
15684 r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 $(HOST_EXPORTS) \
15687 for flag in $(EXTRA_HOST_FLAGS) ; do \
15688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15689 done; \
15690 echo "Doing distclean in itcl" ; \
15691 (cd $(HOST_SUBDIR)/itcl && \
15692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15694 "RANLIB=$${RANLIB}" \
15695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15696 distclean) \
15697 || exit 1
15699 @endif itcl
15701 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15702 maybe-maintainer-clean-itcl:
15703 @if itcl
15704 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15706 maintainer-clean-itcl:
15707 @: $(MAKE); $(unstage)
15708 @[ -f ./itcl/Makefile ] || exit 0; \
15709 r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 $(HOST_EXPORTS) \
15712 for flag in $(EXTRA_HOST_FLAGS) ; do \
15713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15714 done; \
15715 echo "Doing maintainer-clean in itcl" ; \
15716 (cd $(HOST_SUBDIR)/itcl && \
15717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15719 "RANLIB=$${RANLIB}" \
15720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15721 maintainer-clean) \
15722 || exit 1
15724 @endif itcl
15728 .PHONY: configure-ld maybe-configure-ld
15729 maybe-configure-ld:
15730 @if ld
15731 maybe-configure-ld: configure-ld
15732 configure-ld:
15733 @endif ld
15734 @if ld-bootstrap
15735 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15736 @endif ld-bootstrap
15737 @if ld
15738 @r=`${PWD_COMMAND}`; export r; \
15739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15740 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15742 $(HOST_EXPORTS) \
15743 echo Configuring in $(HOST_SUBDIR)/ld; \
15744 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15745 case $(srcdir) in \
15746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15747 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15749 esac; \
15750 srcdiroption="--srcdir=$${topdir}/ld"; \
15751 libsrcdir="$$s/ld"; \
15752 $(SHELL) $${libsrcdir}/configure \
15753 $(HOST_CONFIGARGS) $${srcdiroption} \
15754 || exit 1
15755 @endif ld
15759 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15760 maybe-configure-stage1-ld:
15761 @if ld-bootstrap
15762 maybe-configure-stage1-ld: configure-stage1-ld
15763 configure-stage1-ld:
15764 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15766 @r=`${PWD_COMMAND}`; export r; \
15767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15768 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15769 $(HOST_EXPORTS) \
15770 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15772 cd $(HOST_SUBDIR)/ld || exit 1; \
15773 case $(srcdir) in \
15774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15775 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15777 esac; \
15778 srcdiroption="--srcdir=$${topdir}/ld"; \
15779 libsrcdir="$$s/ld"; \
15780 $(SHELL) $${libsrcdir}/configure \
15781 $(HOST_CONFIGARGS) $${srcdiroption} \
15782 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15783 @endif ld-bootstrap
15785 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15786 maybe-configure-stage2-ld:
15787 @if ld-bootstrap
15788 maybe-configure-stage2-ld: configure-stage2-ld
15789 configure-stage2-ld:
15790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15792 @r=`${PWD_COMMAND}`; export r; \
15793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15794 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15795 $(HOST_EXPORTS) \
15796 $(POSTSTAGE1_HOST_EXPORTS) \
15797 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15799 cd $(HOST_SUBDIR)/ld || exit 1; \
15800 case $(srcdir) in \
15801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15802 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15804 esac; \
15805 srcdiroption="--srcdir=$${topdir}/ld"; \
15806 libsrcdir="$$s/ld"; \
15807 $(SHELL) $${libsrcdir}/configure \
15808 $(HOST_CONFIGARGS) $${srcdiroption} \
15809 @stage2_werror_flag@
15810 @endif ld-bootstrap
15812 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15813 maybe-configure-stage3-ld:
15814 @if ld-bootstrap
15815 maybe-configure-stage3-ld: configure-stage3-ld
15816 configure-stage3-ld:
15817 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15818 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15819 @r=`${PWD_COMMAND}`; export r; \
15820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15821 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15822 $(HOST_EXPORTS) \
15823 $(POSTSTAGE1_HOST_EXPORTS) \
15824 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15826 cd $(HOST_SUBDIR)/ld || exit 1; \
15827 case $(srcdir) in \
15828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15829 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15831 esac; \
15832 srcdiroption="--srcdir=$${topdir}/ld"; \
15833 libsrcdir="$$s/ld"; \
15834 $(SHELL) $${libsrcdir}/configure \
15835 $(HOST_CONFIGARGS) $${srcdiroption} \
15836 @stage2_werror_flag@
15837 @endif ld-bootstrap
15839 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15840 maybe-configure-stage4-ld:
15841 @if ld-bootstrap
15842 maybe-configure-stage4-ld: configure-stage4-ld
15843 configure-stage4-ld:
15844 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15845 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15846 @r=`${PWD_COMMAND}`; export r; \
15847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15848 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15849 $(HOST_EXPORTS) \
15850 $(POSTSTAGE1_HOST_EXPORTS) \
15851 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15853 cd $(HOST_SUBDIR)/ld || exit 1; \
15854 case $(srcdir) in \
15855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15856 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15858 esac; \
15859 srcdiroption="--srcdir=$${topdir}/ld"; \
15860 libsrcdir="$$s/ld"; \
15861 $(SHELL) $${libsrcdir}/configure \
15862 $(HOST_CONFIGARGS) $${srcdiroption} \
15863 @stage2_werror_flag@
15864 @endif ld-bootstrap
15866 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15867 maybe-configure-stageprofile-ld:
15868 @if ld-bootstrap
15869 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15870 configure-stageprofile-ld:
15871 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15872 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15873 @r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15876 $(HOST_EXPORTS) \
15877 $(POSTSTAGE1_HOST_EXPORTS) \
15878 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15880 cd $(HOST_SUBDIR)/ld || exit 1; \
15881 case $(srcdir) in \
15882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15883 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15885 esac; \
15886 srcdiroption="--srcdir=$${topdir}/ld"; \
15887 libsrcdir="$$s/ld"; \
15888 $(SHELL) $${libsrcdir}/configure \
15889 $(HOST_CONFIGARGS) $${srcdiroption} \
15890 @stage2_werror_flag@
15891 @endif ld-bootstrap
15893 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15894 maybe-configure-stagefeedback-ld:
15895 @if ld-bootstrap
15896 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15897 configure-stagefeedback-ld:
15898 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
15900 @r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15903 $(HOST_EXPORTS) \
15904 $(POSTSTAGE1_HOST_EXPORTS) \
15905 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15906 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15907 cd $(HOST_SUBDIR)/ld || exit 1; \
15908 case $(srcdir) in \
15909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15910 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15912 esac; \
15913 srcdiroption="--srcdir=$${topdir}/ld"; \
15914 libsrcdir="$$s/ld"; \
15915 $(SHELL) $${libsrcdir}/configure \
15916 $(HOST_CONFIGARGS) $${srcdiroption} \
15917 @stage2_werror_flag@
15918 @endif ld-bootstrap
15924 .PHONY: all-ld maybe-all-ld
15925 maybe-all-ld:
15926 @if ld
15927 TARGET-ld=all
15928 maybe-all-ld: all-ld
15929 all-ld: configure-ld
15930 @endif ld
15931 @if ld-bootstrap
15932 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
15933 @endif ld-bootstrap
15934 @if ld
15935 @r=`${PWD_COMMAND}`; export r; \
15936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 $(HOST_EXPORTS) \
15938 (cd $(HOST_SUBDIR)/ld && \
15939 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15940 @endif ld
15944 .PHONY: all-stage1-ld maybe-all-stage1-ld
15945 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15946 maybe-all-stage1-ld:
15947 maybe-clean-stage1-ld:
15948 @if ld-bootstrap
15949 maybe-all-stage1-ld: all-stage1-ld
15950 all-stage1: all-stage1-ld
15951 TARGET-stage1-ld = $(TARGET-ld)
15952 all-stage1-ld: configure-stage1-ld
15953 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15954 @r=`${PWD_COMMAND}`; export r; \
15955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15956 $(HOST_EXPORTS) \
15957 cd $(HOST_SUBDIR)/ld && \
15958 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15959 $(TARGET-stage1-ld)
15961 maybe-clean-stage1-ld: clean-stage1-ld
15962 clean-stage1: clean-stage1-ld
15963 clean-stage1-ld:
15964 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15965 || exit 0 ; \
15966 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
15967 cd $(HOST_SUBDIR)/ld && \
15968 $(MAKE) $(FLAGS_TO_PASS) \
15969 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15970 @endif ld-bootstrap
15973 .PHONY: all-stage2-ld maybe-all-stage2-ld
15974 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15975 maybe-all-stage2-ld:
15976 maybe-clean-stage2-ld:
15977 @if ld-bootstrap
15978 maybe-all-stage2-ld: all-stage2-ld
15979 all-stage2: all-stage2-ld
15980 TARGET-stage2-ld = $(TARGET-ld)
15981 all-stage2-ld: configure-stage2-ld
15982 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15983 @r=`${PWD_COMMAND}`; export r; \
15984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15985 $(HOST_EXPORTS) \
15986 $(POSTSTAGE1_HOST_EXPORTS) \
15987 cd $(HOST_SUBDIR)/ld && \
15988 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15989 $(TARGET-stage2-ld)
15991 maybe-clean-stage2-ld: clean-stage2-ld
15992 clean-stage2: clean-stage2-ld
15993 clean-stage2-ld:
15994 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15995 || exit 0 ; \
15996 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
15997 cd $(HOST_SUBDIR)/ld && \
15998 $(MAKE) $(FLAGS_TO_PASS) \
15999 $(POSTSTAGE1_FLAGS_TO_PASS) \
16000 clean
16001 @endif ld-bootstrap
16004 .PHONY: all-stage3-ld maybe-all-stage3-ld
16005 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
16006 maybe-all-stage3-ld:
16007 maybe-clean-stage3-ld:
16008 @if ld-bootstrap
16009 maybe-all-stage3-ld: all-stage3-ld
16010 all-stage3: all-stage3-ld
16011 TARGET-stage3-ld = $(TARGET-ld)
16012 all-stage3-ld: configure-stage3-ld
16013 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16014 @r=`${PWD_COMMAND}`; export r; \
16015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16016 $(HOST_EXPORTS) \
16017 $(POSTSTAGE1_HOST_EXPORTS) \
16018 cd $(HOST_SUBDIR)/ld && \
16019 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16020 $(TARGET-stage3-ld)
16022 maybe-clean-stage3-ld: clean-stage3-ld
16023 clean-stage3: clean-stage3-ld
16024 clean-stage3-ld:
16025 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
16026 || exit 0 ; \
16027 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16028 cd $(HOST_SUBDIR)/ld && \
16029 $(MAKE) $(FLAGS_TO_PASS) \
16030 $(POSTSTAGE1_FLAGS_TO_PASS) \
16031 clean
16032 @endif ld-bootstrap
16035 .PHONY: all-stage4-ld maybe-all-stage4-ld
16036 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
16037 maybe-all-stage4-ld:
16038 maybe-clean-stage4-ld:
16039 @if ld-bootstrap
16040 maybe-all-stage4-ld: all-stage4-ld
16041 all-stage4: all-stage4-ld
16042 TARGET-stage4-ld = $(TARGET-ld)
16043 all-stage4-ld: configure-stage4-ld
16044 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16045 @r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047 $(HOST_EXPORTS) \
16048 $(POSTSTAGE1_HOST_EXPORTS) \
16049 cd $(HOST_SUBDIR)/ld && \
16050 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16051 $(TARGET-stage4-ld)
16053 maybe-clean-stage4-ld: clean-stage4-ld
16054 clean-stage4: clean-stage4-ld
16055 clean-stage4-ld:
16056 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
16057 || exit 0 ; \
16058 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16059 cd $(HOST_SUBDIR)/ld && \
16060 $(MAKE) $(FLAGS_TO_PASS) \
16061 $(POSTSTAGE1_FLAGS_TO_PASS) \
16062 clean
16063 @endif ld-bootstrap
16066 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
16067 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
16068 maybe-all-stageprofile-ld:
16069 maybe-clean-stageprofile-ld:
16070 @if ld-bootstrap
16071 maybe-all-stageprofile-ld: all-stageprofile-ld
16072 all-stageprofile: all-stageprofile-ld
16073 TARGET-stageprofile-ld = $(TARGET-ld)
16074 all-stageprofile-ld: configure-stageprofile-ld
16075 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16076 @r=`${PWD_COMMAND}`; export r; \
16077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16078 $(HOST_EXPORTS) \
16079 $(POSTSTAGE1_HOST_EXPORTS) \
16080 cd $(HOST_SUBDIR)/ld && \
16081 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16082 $(TARGET-stageprofile-ld)
16084 maybe-clean-stageprofile-ld: clean-stageprofile-ld
16085 clean-stageprofile: clean-stageprofile-ld
16086 clean-stageprofile-ld:
16087 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
16088 || exit 0 ; \
16089 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16090 cd $(HOST_SUBDIR)/ld && \
16091 $(MAKE) $(FLAGS_TO_PASS) \
16092 $(POSTSTAGE1_FLAGS_TO_PASS) \
16093 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16094 @endif ld-bootstrap
16097 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
16098 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
16099 maybe-all-stagefeedback-ld:
16100 maybe-clean-stagefeedback-ld:
16101 @if ld-bootstrap
16102 maybe-all-stagefeedback-ld: all-stagefeedback-ld
16103 all-stagefeedback: all-stagefeedback-ld
16104 TARGET-stagefeedback-ld = $(TARGET-ld)
16105 all-stagefeedback-ld: configure-stagefeedback-ld
16106 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16107 @r=`${PWD_COMMAND}`; export r; \
16108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16109 $(HOST_EXPORTS) \
16110 $(POSTSTAGE1_HOST_EXPORTS) \
16111 cd $(HOST_SUBDIR)/ld && \
16112 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16113 $(TARGET-stagefeedback-ld)
16115 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
16116 clean-stagefeedback: clean-stagefeedback-ld
16117 clean-stagefeedback-ld:
16118 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
16119 || exit 0 ; \
16120 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16121 cd $(HOST_SUBDIR)/ld && \
16122 $(MAKE) $(FLAGS_TO_PASS) \
16123 $(POSTSTAGE1_FLAGS_TO_PASS) \
16124 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16125 @endif ld-bootstrap
16131 .PHONY: check-ld maybe-check-ld
16132 maybe-check-ld:
16133 @if ld
16134 maybe-check-ld: check-ld
16136 check-ld:
16137 @: $(MAKE); $(unstage)
16138 @r=`${PWD_COMMAND}`; export r; \
16139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16140 $(HOST_EXPORTS) \
16141 (cd $(HOST_SUBDIR)/ld && \
16142 $(MAKE) $(FLAGS_TO_PASS) check)
16144 @endif ld
16146 .PHONY: install-ld maybe-install-ld
16147 maybe-install-ld:
16148 @if ld
16149 maybe-install-ld: install-ld
16151 install-ld: installdirs
16152 @: $(MAKE); $(unstage)
16153 @r=`${PWD_COMMAND}`; export r; \
16154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 $(HOST_EXPORTS) \
16156 (cd $(HOST_SUBDIR)/ld && \
16157 $(MAKE) $(FLAGS_TO_PASS) install)
16159 @endif ld
16161 # Other targets (info, dvi, etc.)
16163 .PHONY: maybe-info-ld info-ld
16164 maybe-info-ld:
16165 @if ld
16166 maybe-info-ld: info-ld
16168 info-ld: \
16169 configure-ld
16170 @[ -f ./ld/Makefile ] || exit 0; \
16171 r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 $(HOST_EXPORTS) \
16174 for flag in $(EXTRA_HOST_FLAGS) ; do \
16175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16176 done; \
16177 echo "Doing info in ld" ; \
16178 (cd $(HOST_SUBDIR)/ld && \
16179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16181 "RANLIB=$${RANLIB}" \
16182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16183 info) \
16184 || exit 1
16186 @endif ld
16188 .PHONY: maybe-dvi-ld dvi-ld
16189 maybe-dvi-ld:
16190 @if ld
16191 maybe-dvi-ld: dvi-ld
16193 dvi-ld: \
16194 configure-ld
16195 @[ -f ./ld/Makefile ] || exit 0; \
16196 r=`${PWD_COMMAND}`; export r; \
16197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16198 $(HOST_EXPORTS) \
16199 for flag in $(EXTRA_HOST_FLAGS) ; do \
16200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16201 done; \
16202 echo "Doing dvi in ld" ; \
16203 (cd $(HOST_SUBDIR)/ld && \
16204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16206 "RANLIB=$${RANLIB}" \
16207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16208 dvi) \
16209 || exit 1
16211 @endif ld
16213 .PHONY: maybe-html-ld html-ld
16214 maybe-html-ld:
16215 @if ld
16216 maybe-html-ld: html-ld
16218 html-ld: \
16219 configure-ld
16220 @[ -f ./ld/Makefile ] || exit 0; \
16221 r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223 $(HOST_EXPORTS) \
16224 for flag in $(EXTRA_HOST_FLAGS) ; do \
16225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16226 done; \
16227 echo "Doing html in ld" ; \
16228 (cd $(HOST_SUBDIR)/ld && \
16229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16231 "RANLIB=$${RANLIB}" \
16232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16233 html) \
16234 || exit 1
16236 @endif ld
16238 .PHONY: maybe-TAGS-ld TAGS-ld
16239 maybe-TAGS-ld:
16240 @if ld
16241 maybe-TAGS-ld: TAGS-ld
16243 TAGS-ld: \
16244 configure-ld
16245 @[ -f ./ld/Makefile ] || exit 0; \
16246 r=`${PWD_COMMAND}`; export r; \
16247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16248 $(HOST_EXPORTS) \
16249 for flag in $(EXTRA_HOST_FLAGS) ; do \
16250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16251 done; \
16252 echo "Doing TAGS in ld" ; \
16253 (cd $(HOST_SUBDIR)/ld && \
16254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16256 "RANLIB=$${RANLIB}" \
16257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16258 TAGS) \
16259 || exit 1
16261 @endif ld
16263 .PHONY: maybe-install-info-ld install-info-ld
16264 maybe-install-info-ld:
16265 @if ld
16266 maybe-install-info-ld: install-info-ld
16268 install-info-ld: \
16269 configure-ld \
16270 info-ld
16271 @[ -f ./ld/Makefile ] || exit 0; \
16272 r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 $(HOST_EXPORTS) \
16275 for flag in $(EXTRA_HOST_FLAGS) ; do \
16276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16277 done; \
16278 echo "Doing install-info in ld" ; \
16279 (cd $(HOST_SUBDIR)/ld && \
16280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16282 "RANLIB=$${RANLIB}" \
16283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16284 install-info) \
16285 || exit 1
16287 @endif ld
16289 .PHONY: maybe-installcheck-ld installcheck-ld
16290 maybe-installcheck-ld:
16291 @if ld
16292 maybe-installcheck-ld: installcheck-ld
16294 installcheck-ld: \
16295 configure-ld
16296 @[ -f ./ld/Makefile ] || exit 0; \
16297 r=`${PWD_COMMAND}`; export r; \
16298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16299 $(HOST_EXPORTS) \
16300 for flag in $(EXTRA_HOST_FLAGS) ; do \
16301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16302 done; \
16303 echo "Doing installcheck in ld" ; \
16304 (cd $(HOST_SUBDIR)/ld && \
16305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16307 "RANLIB=$${RANLIB}" \
16308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16309 installcheck) \
16310 || exit 1
16312 @endif ld
16314 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
16315 maybe-mostlyclean-ld:
16316 @if ld
16317 maybe-mostlyclean-ld: mostlyclean-ld
16319 mostlyclean-ld:
16320 @[ -f ./ld/Makefile ] || exit 0; \
16321 r=`${PWD_COMMAND}`; export r; \
16322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16323 $(HOST_EXPORTS) \
16324 for flag in $(EXTRA_HOST_FLAGS) ; do \
16325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16326 done; \
16327 echo "Doing mostlyclean in ld" ; \
16328 (cd $(HOST_SUBDIR)/ld && \
16329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16331 "RANLIB=$${RANLIB}" \
16332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16333 mostlyclean) \
16334 || exit 1
16336 @endif ld
16338 .PHONY: maybe-clean-ld clean-ld
16339 maybe-clean-ld:
16340 @if ld
16341 maybe-clean-ld: clean-ld
16343 clean-ld:
16344 @[ -f ./ld/Makefile ] || exit 0; \
16345 r=`${PWD_COMMAND}`; export r; \
16346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16347 $(HOST_EXPORTS) \
16348 for flag in $(EXTRA_HOST_FLAGS) ; do \
16349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16350 done; \
16351 echo "Doing clean in ld" ; \
16352 (cd $(HOST_SUBDIR)/ld && \
16353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16355 "RANLIB=$${RANLIB}" \
16356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16357 clean) \
16358 || exit 1
16360 @endif ld
16362 .PHONY: maybe-distclean-ld distclean-ld
16363 maybe-distclean-ld:
16364 @if ld
16365 maybe-distclean-ld: distclean-ld
16367 distclean-ld:
16368 @[ -f ./ld/Makefile ] || exit 0; \
16369 r=`${PWD_COMMAND}`; export r; \
16370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16371 $(HOST_EXPORTS) \
16372 for flag in $(EXTRA_HOST_FLAGS) ; do \
16373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16374 done; \
16375 echo "Doing distclean in ld" ; \
16376 (cd $(HOST_SUBDIR)/ld && \
16377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16379 "RANLIB=$${RANLIB}" \
16380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16381 distclean) \
16382 || exit 1
16384 @endif ld
16386 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16387 maybe-maintainer-clean-ld:
16388 @if ld
16389 maybe-maintainer-clean-ld: maintainer-clean-ld
16391 maintainer-clean-ld:
16392 @[ -f ./ld/Makefile ] || exit 0; \
16393 r=`${PWD_COMMAND}`; export r; \
16394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16395 $(HOST_EXPORTS) \
16396 for flag in $(EXTRA_HOST_FLAGS) ; do \
16397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16398 done; \
16399 echo "Doing maintainer-clean in ld" ; \
16400 (cd $(HOST_SUBDIR)/ld && \
16401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16403 "RANLIB=$${RANLIB}" \
16404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16405 maintainer-clean) \
16406 || exit 1
16408 @endif ld
16412 .PHONY: configure-libcpp maybe-configure-libcpp
16413 maybe-configure-libcpp:
16414 @if libcpp
16415 maybe-configure-libcpp: configure-libcpp
16416 configure-libcpp:
16417 @endif libcpp
16418 @if libcpp-bootstrap
16419 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16420 @endif libcpp-bootstrap
16421 @if libcpp
16422 @r=`${PWD_COMMAND}`; export r; \
16423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16424 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16426 $(HOST_EXPORTS) \
16427 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16428 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16429 case $(srcdir) in \
16430 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16431 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16432 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16433 esac; \
16434 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16435 libsrcdir="$$s/libcpp"; \
16436 $(SHELL) $${libsrcdir}/configure \
16437 $(HOST_CONFIGARGS) $${srcdiroption} \
16438 || exit 1
16439 @endif libcpp
16443 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16444 maybe-configure-stage1-libcpp:
16445 @if libcpp-bootstrap
16446 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16447 configure-stage1-libcpp:
16448 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16449 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16450 @r=`${PWD_COMMAND}`; export r; \
16451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16452 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16453 $(HOST_EXPORTS) \
16454 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16455 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16456 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16457 case $(srcdir) in \
16458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16459 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16461 esac; \
16462 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16463 libsrcdir="$$s/libcpp"; \
16464 $(SHELL) $${libsrcdir}/configure \
16465 $(HOST_CONFIGARGS) $${srcdiroption} \
16466 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16467 @endif libcpp-bootstrap
16469 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16470 maybe-configure-stage2-libcpp:
16471 @if libcpp-bootstrap
16472 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16473 configure-stage2-libcpp:
16474 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16476 @r=`${PWD_COMMAND}`; export r; \
16477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16478 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16479 $(HOST_EXPORTS) \
16480 $(POSTSTAGE1_HOST_EXPORTS) \
16481 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16483 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16484 case $(srcdir) in \
16485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16486 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16488 esac; \
16489 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16490 libsrcdir="$$s/libcpp"; \
16491 $(SHELL) $${libsrcdir}/configure \
16492 $(HOST_CONFIGARGS) $${srcdiroption} \
16493 @stage2_werror_flag@
16494 @endif libcpp-bootstrap
16496 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16497 maybe-configure-stage3-libcpp:
16498 @if libcpp-bootstrap
16499 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16500 configure-stage3-libcpp:
16501 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16503 @r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16506 $(HOST_EXPORTS) \
16507 $(POSTSTAGE1_HOST_EXPORTS) \
16508 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16510 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16511 case $(srcdir) in \
16512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16513 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16515 esac; \
16516 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16517 libsrcdir="$$s/libcpp"; \
16518 $(SHELL) $${libsrcdir}/configure \
16519 $(HOST_CONFIGARGS) $${srcdiroption} \
16520 @stage2_werror_flag@
16521 @endif libcpp-bootstrap
16523 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16524 maybe-configure-stage4-libcpp:
16525 @if libcpp-bootstrap
16526 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16527 configure-stage4-libcpp:
16528 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16530 @r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16533 $(HOST_EXPORTS) \
16534 $(POSTSTAGE1_HOST_EXPORTS) \
16535 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16537 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16538 case $(srcdir) in \
16539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16540 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16542 esac; \
16543 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16544 libsrcdir="$$s/libcpp"; \
16545 $(SHELL) $${libsrcdir}/configure \
16546 $(HOST_CONFIGARGS) $${srcdiroption} \
16547 @stage2_werror_flag@
16548 @endif libcpp-bootstrap
16550 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16551 maybe-configure-stageprofile-libcpp:
16552 @if libcpp-bootstrap
16553 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16554 configure-stageprofile-libcpp:
16555 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16556 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16557 @r=`${PWD_COMMAND}`; export r; \
16558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16559 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16560 $(HOST_EXPORTS) \
16561 $(POSTSTAGE1_HOST_EXPORTS) \
16562 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16564 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16565 case $(srcdir) in \
16566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16567 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16569 esac; \
16570 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16571 libsrcdir="$$s/libcpp"; \
16572 $(SHELL) $${libsrcdir}/configure \
16573 $(HOST_CONFIGARGS) $${srcdiroption} \
16574 @stage2_werror_flag@
16575 @endif libcpp-bootstrap
16577 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16578 maybe-configure-stagefeedback-libcpp:
16579 @if libcpp-bootstrap
16580 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16581 configure-stagefeedback-libcpp:
16582 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16583 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
16584 @r=`${PWD_COMMAND}`; export r; \
16585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16586 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16587 $(HOST_EXPORTS) \
16588 $(POSTSTAGE1_HOST_EXPORTS) \
16589 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16591 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16592 case $(srcdir) in \
16593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16594 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16596 esac; \
16597 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16598 libsrcdir="$$s/libcpp"; \
16599 $(SHELL) $${libsrcdir}/configure \
16600 $(HOST_CONFIGARGS) $${srcdiroption} \
16601 @stage2_werror_flag@
16602 @endif libcpp-bootstrap
16608 .PHONY: all-libcpp maybe-all-libcpp
16609 maybe-all-libcpp:
16610 @if libcpp
16611 TARGET-libcpp=all
16612 maybe-all-libcpp: all-libcpp
16613 all-libcpp: configure-libcpp
16614 @endif libcpp
16615 @if libcpp-bootstrap
16616 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
16617 @endif libcpp-bootstrap
16618 @if libcpp
16619 @r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(HOST_EXPORTS) \
16622 (cd $(HOST_SUBDIR)/libcpp && \
16623 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16624 @endif libcpp
16628 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16629 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16630 maybe-all-stage1-libcpp:
16631 maybe-clean-stage1-libcpp:
16632 @if libcpp-bootstrap
16633 maybe-all-stage1-libcpp: all-stage1-libcpp
16634 all-stage1: all-stage1-libcpp
16635 TARGET-stage1-libcpp = $(TARGET-libcpp)
16636 all-stage1-libcpp: configure-stage1-libcpp
16637 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16638 @r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16640 $(HOST_EXPORTS) \
16641 cd $(HOST_SUBDIR)/libcpp && \
16642 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
16643 $(TARGET-stage1-libcpp)
16645 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16646 clean-stage1: clean-stage1-libcpp
16647 clean-stage1-libcpp:
16648 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16649 || exit 0 ; \
16650 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
16651 cd $(HOST_SUBDIR)/libcpp && \
16652 $(MAKE) $(FLAGS_TO_PASS) \
16653 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
16654 @endif libcpp-bootstrap
16657 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16658 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16659 maybe-all-stage2-libcpp:
16660 maybe-clean-stage2-libcpp:
16661 @if libcpp-bootstrap
16662 maybe-all-stage2-libcpp: all-stage2-libcpp
16663 all-stage2: all-stage2-libcpp
16664 TARGET-stage2-libcpp = $(TARGET-libcpp)
16665 all-stage2-libcpp: configure-stage2-libcpp
16666 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16667 @r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 $(HOST_EXPORTS) \
16670 $(POSTSTAGE1_HOST_EXPORTS) \
16671 cd $(HOST_SUBDIR)/libcpp && \
16672 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16673 $(TARGET-stage2-libcpp)
16675 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16676 clean-stage2: clean-stage2-libcpp
16677 clean-stage2-libcpp:
16678 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16679 || exit 0 ; \
16680 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
16681 cd $(HOST_SUBDIR)/libcpp && \
16682 $(MAKE) $(FLAGS_TO_PASS) \
16683 $(POSTSTAGE1_FLAGS_TO_PASS) \
16684 clean
16685 @endif libcpp-bootstrap
16688 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16689 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16690 maybe-all-stage3-libcpp:
16691 maybe-clean-stage3-libcpp:
16692 @if libcpp-bootstrap
16693 maybe-all-stage3-libcpp: all-stage3-libcpp
16694 all-stage3: all-stage3-libcpp
16695 TARGET-stage3-libcpp = $(TARGET-libcpp)
16696 all-stage3-libcpp: configure-stage3-libcpp
16697 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16698 @r=`${PWD_COMMAND}`; export r; \
16699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16700 $(HOST_EXPORTS) \
16701 $(POSTSTAGE1_HOST_EXPORTS) \
16702 cd $(HOST_SUBDIR)/libcpp && \
16703 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16704 $(TARGET-stage3-libcpp)
16706 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16707 clean-stage3: clean-stage3-libcpp
16708 clean-stage3-libcpp:
16709 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16710 || exit 0 ; \
16711 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
16712 cd $(HOST_SUBDIR)/libcpp && \
16713 $(MAKE) $(FLAGS_TO_PASS) \
16714 $(POSTSTAGE1_FLAGS_TO_PASS) \
16715 clean
16716 @endif libcpp-bootstrap
16719 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16720 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16721 maybe-all-stage4-libcpp:
16722 maybe-clean-stage4-libcpp:
16723 @if libcpp-bootstrap
16724 maybe-all-stage4-libcpp: all-stage4-libcpp
16725 all-stage4: all-stage4-libcpp
16726 TARGET-stage4-libcpp = $(TARGET-libcpp)
16727 all-stage4-libcpp: configure-stage4-libcpp
16728 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16729 @r=`${PWD_COMMAND}`; export r; \
16730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16731 $(HOST_EXPORTS) \
16732 $(POSTSTAGE1_HOST_EXPORTS) \
16733 cd $(HOST_SUBDIR)/libcpp && \
16734 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16735 $(TARGET-stage4-libcpp)
16737 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16738 clean-stage4: clean-stage4-libcpp
16739 clean-stage4-libcpp:
16740 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16741 || exit 0 ; \
16742 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
16743 cd $(HOST_SUBDIR)/libcpp && \
16744 $(MAKE) $(FLAGS_TO_PASS) \
16745 $(POSTSTAGE1_FLAGS_TO_PASS) \
16746 clean
16747 @endif libcpp-bootstrap
16750 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16751 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16752 maybe-all-stageprofile-libcpp:
16753 maybe-clean-stageprofile-libcpp:
16754 @if libcpp-bootstrap
16755 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16756 all-stageprofile: all-stageprofile-libcpp
16757 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16758 all-stageprofile-libcpp: configure-stageprofile-libcpp
16759 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16760 @r=`${PWD_COMMAND}`; export r; \
16761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16762 $(HOST_EXPORTS) \
16763 $(POSTSTAGE1_HOST_EXPORTS) \
16764 cd $(HOST_SUBDIR)/libcpp && \
16765 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16766 $(TARGET-stageprofile-libcpp)
16768 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16769 clean-stageprofile: clean-stageprofile-libcpp
16770 clean-stageprofile-libcpp:
16771 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16772 || exit 0 ; \
16773 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
16774 cd $(HOST_SUBDIR)/libcpp && \
16775 $(MAKE) $(FLAGS_TO_PASS) \
16776 $(POSTSTAGE1_FLAGS_TO_PASS) \
16777 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16778 @endif libcpp-bootstrap
16781 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16782 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16783 maybe-all-stagefeedback-libcpp:
16784 maybe-clean-stagefeedback-libcpp:
16785 @if libcpp-bootstrap
16786 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16787 all-stagefeedback: all-stagefeedback-libcpp
16788 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16789 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16790 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16791 @r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16793 $(HOST_EXPORTS) \
16794 $(POSTSTAGE1_HOST_EXPORTS) \
16795 cd $(HOST_SUBDIR)/libcpp && \
16796 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16797 $(TARGET-stagefeedback-libcpp)
16799 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16800 clean-stagefeedback: clean-stagefeedback-libcpp
16801 clean-stagefeedback-libcpp:
16802 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16803 || exit 0 ; \
16804 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
16805 cd $(HOST_SUBDIR)/libcpp && \
16806 $(MAKE) $(FLAGS_TO_PASS) \
16807 $(POSTSTAGE1_FLAGS_TO_PASS) \
16808 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16809 @endif libcpp-bootstrap
16815 .PHONY: check-libcpp maybe-check-libcpp
16816 maybe-check-libcpp:
16817 @if libcpp
16818 maybe-check-libcpp: check-libcpp
16820 check-libcpp:
16821 @: $(MAKE); $(unstage)
16822 @r=`${PWD_COMMAND}`; export r; \
16823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16824 $(HOST_EXPORTS) \
16825 (cd $(HOST_SUBDIR)/libcpp && \
16826 $(MAKE) $(FLAGS_TO_PASS) check)
16828 @endif libcpp
16830 .PHONY: install-libcpp maybe-install-libcpp
16831 maybe-install-libcpp:
16832 @if libcpp
16833 maybe-install-libcpp: install-libcpp
16835 install-libcpp: installdirs
16836 @: $(MAKE); $(unstage)
16837 @r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 $(HOST_EXPORTS) \
16840 (cd $(HOST_SUBDIR)/libcpp && \
16841 $(MAKE) $(FLAGS_TO_PASS) install)
16843 @endif libcpp
16845 # Other targets (info, dvi, etc.)
16847 .PHONY: maybe-info-libcpp info-libcpp
16848 maybe-info-libcpp:
16849 @if libcpp
16850 maybe-info-libcpp: info-libcpp
16852 info-libcpp: \
16853 configure-libcpp
16854 @[ -f ./libcpp/Makefile ] || exit 0; \
16855 r=`${PWD_COMMAND}`; export r; \
16856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16857 $(HOST_EXPORTS) \
16858 for flag in $(EXTRA_HOST_FLAGS) ; do \
16859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16860 done; \
16861 echo "Doing info in libcpp" ; \
16862 (cd $(HOST_SUBDIR)/libcpp && \
16863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16865 "RANLIB=$${RANLIB}" \
16866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16867 info) \
16868 || exit 1
16870 @endif libcpp
16872 .PHONY: maybe-dvi-libcpp dvi-libcpp
16873 maybe-dvi-libcpp:
16874 @if libcpp
16875 maybe-dvi-libcpp: dvi-libcpp
16877 dvi-libcpp: \
16878 configure-libcpp
16879 @[ -f ./libcpp/Makefile ] || exit 0; \
16880 r=`${PWD_COMMAND}`; export r; \
16881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16882 $(HOST_EXPORTS) \
16883 for flag in $(EXTRA_HOST_FLAGS) ; do \
16884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16885 done; \
16886 echo "Doing dvi in libcpp" ; \
16887 (cd $(HOST_SUBDIR)/libcpp && \
16888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16890 "RANLIB=$${RANLIB}" \
16891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16892 dvi) \
16893 || exit 1
16895 @endif libcpp
16897 .PHONY: maybe-html-libcpp html-libcpp
16898 maybe-html-libcpp:
16899 @if libcpp
16900 maybe-html-libcpp: html-libcpp
16902 html-libcpp: \
16903 configure-libcpp
16904 @[ -f ./libcpp/Makefile ] || exit 0; \
16905 r=`${PWD_COMMAND}`; export r; \
16906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16907 $(HOST_EXPORTS) \
16908 for flag in $(EXTRA_HOST_FLAGS) ; do \
16909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16910 done; \
16911 echo "Doing html in libcpp" ; \
16912 (cd $(HOST_SUBDIR)/libcpp && \
16913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16915 "RANLIB=$${RANLIB}" \
16916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16917 html) \
16918 || exit 1
16920 @endif libcpp
16922 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16923 maybe-TAGS-libcpp:
16924 @if libcpp
16925 maybe-TAGS-libcpp: TAGS-libcpp
16927 TAGS-libcpp: \
16928 configure-libcpp
16929 @[ -f ./libcpp/Makefile ] || exit 0; \
16930 r=`${PWD_COMMAND}`; export r; \
16931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16932 $(HOST_EXPORTS) \
16933 for flag in $(EXTRA_HOST_FLAGS) ; do \
16934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16935 done; \
16936 echo "Doing TAGS in libcpp" ; \
16937 (cd $(HOST_SUBDIR)/libcpp && \
16938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16940 "RANLIB=$${RANLIB}" \
16941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16942 TAGS) \
16943 || exit 1
16945 @endif libcpp
16947 .PHONY: maybe-install-info-libcpp install-info-libcpp
16948 maybe-install-info-libcpp:
16949 @if libcpp
16950 maybe-install-info-libcpp: install-info-libcpp
16952 install-info-libcpp: \
16953 configure-libcpp \
16954 info-libcpp
16955 @[ -f ./libcpp/Makefile ] || exit 0; \
16956 r=`${PWD_COMMAND}`; export r; \
16957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16958 $(HOST_EXPORTS) \
16959 for flag in $(EXTRA_HOST_FLAGS) ; do \
16960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16961 done; \
16962 echo "Doing install-info in libcpp" ; \
16963 (cd $(HOST_SUBDIR)/libcpp && \
16964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16966 "RANLIB=$${RANLIB}" \
16967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16968 install-info) \
16969 || exit 1
16971 @endif libcpp
16973 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16974 maybe-installcheck-libcpp:
16975 @if libcpp
16976 maybe-installcheck-libcpp: installcheck-libcpp
16978 installcheck-libcpp: \
16979 configure-libcpp
16980 @[ -f ./libcpp/Makefile ] || exit 0; \
16981 r=`${PWD_COMMAND}`; export r; \
16982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16983 $(HOST_EXPORTS) \
16984 for flag in $(EXTRA_HOST_FLAGS) ; do \
16985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16986 done; \
16987 echo "Doing installcheck in libcpp" ; \
16988 (cd $(HOST_SUBDIR)/libcpp && \
16989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16991 "RANLIB=$${RANLIB}" \
16992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16993 installcheck) \
16994 || exit 1
16996 @endif libcpp
16998 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16999 maybe-mostlyclean-libcpp:
17000 @if libcpp
17001 maybe-mostlyclean-libcpp: mostlyclean-libcpp
17003 mostlyclean-libcpp:
17004 @[ -f ./libcpp/Makefile ] || exit 0; \
17005 r=`${PWD_COMMAND}`; export r; \
17006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17007 $(HOST_EXPORTS) \
17008 for flag in $(EXTRA_HOST_FLAGS) ; do \
17009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17010 done; \
17011 echo "Doing mostlyclean in libcpp" ; \
17012 (cd $(HOST_SUBDIR)/libcpp && \
17013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17015 "RANLIB=$${RANLIB}" \
17016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17017 mostlyclean) \
17018 || exit 1
17020 @endif libcpp
17022 .PHONY: maybe-clean-libcpp clean-libcpp
17023 maybe-clean-libcpp:
17024 @if libcpp
17025 maybe-clean-libcpp: clean-libcpp
17027 clean-libcpp:
17028 @[ -f ./libcpp/Makefile ] || exit 0; \
17029 r=`${PWD_COMMAND}`; export r; \
17030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17031 $(HOST_EXPORTS) \
17032 for flag in $(EXTRA_HOST_FLAGS) ; do \
17033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17034 done; \
17035 echo "Doing clean in libcpp" ; \
17036 (cd $(HOST_SUBDIR)/libcpp && \
17037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17039 "RANLIB=$${RANLIB}" \
17040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17041 clean) \
17042 || exit 1
17044 @endif libcpp
17046 .PHONY: maybe-distclean-libcpp distclean-libcpp
17047 maybe-distclean-libcpp:
17048 @if libcpp
17049 maybe-distclean-libcpp: distclean-libcpp
17051 distclean-libcpp:
17052 @[ -f ./libcpp/Makefile ] || exit 0; \
17053 r=`${PWD_COMMAND}`; export r; \
17054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17055 $(HOST_EXPORTS) \
17056 for flag in $(EXTRA_HOST_FLAGS) ; do \
17057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17058 done; \
17059 echo "Doing distclean in libcpp" ; \
17060 (cd $(HOST_SUBDIR)/libcpp && \
17061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17063 "RANLIB=$${RANLIB}" \
17064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17065 distclean) \
17066 || exit 1
17068 @endif libcpp
17070 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
17071 maybe-maintainer-clean-libcpp:
17072 @if libcpp
17073 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
17075 maintainer-clean-libcpp:
17076 @[ -f ./libcpp/Makefile ] || exit 0; \
17077 r=`${PWD_COMMAND}`; export r; \
17078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17079 $(HOST_EXPORTS) \
17080 for flag in $(EXTRA_HOST_FLAGS) ; do \
17081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17082 done; \
17083 echo "Doing maintainer-clean in libcpp" ; \
17084 (cd $(HOST_SUBDIR)/libcpp && \
17085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17087 "RANLIB=$${RANLIB}" \
17088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17089 maintainer-clean) \
17090 || exit 1
17092 @endif libcpp
17096 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
17097 maybe-configure-libdecnumber:
17098 @if libdecnumber
17099 maybe-configure-libdecnumber: configure-libdecnumber
17100 configure-libdecnumber:
17101 @endif libdecnumber
17102 @if libdecnumber-bootstrap
17103 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17104 @endif libdecnumber-bootstrap
17105 @if libdecnumber
17106 @r=`${PWD_COMMAND}`; export r; \
17107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17108 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17110 $(HOST_EXPORTS) \
17111 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
17112 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
17113 case $(srcdir) in \
17114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17115 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17117 esac; \
17118 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17119 libsrcdir="$$s/libdecnumber"; \
17120 $(SHELL) $${libsrcdir}/configure \
17121 $(HOST_CONFIGARGS) $${srcdiroption} \
17122 || exit 1
17123 @endif libdecnumber
17127 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
17128 maybe-configure-stage1-libdecnumber:
17129 @if libdecnumber-bootstrap
17130 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
17131 configure-stage1-libdecnumber:
17132 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17133 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17134 @r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17137 $(HOST_EXPORTS) \
17138 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
17139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17140 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17141 case $(srcdir) in \
17142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17143 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17145 esac; \
17146 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17147 libsrcdir="$$s/libdecnumber"; \
17148 $(SHELL) $${libsrcdir}/configure \
17149 $(HOST_CONFIGARGS) $${srcdiroption} \
17150 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17151 @endif libdecnumber-bootstrap
17153 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
17154 maybe-configure-stage2-libdecnumber:
17155 @if libdecnumber-bootstrap
17156 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
17157 configure-stage2-libdecnumber:
17158 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17160 @r=`${PWD_COMMAND}`; export r; \
17161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17162 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17163 $(HOST_EXPORTS) \
17164 $(POSTSTAGE1_HOST_EXPORTS) \
17165 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
17166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17167 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17168 case $(srcdir) in \
17169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17170 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17172 esac; \
17173 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17174 libsrcdir="$$s/libdecnumber"; \
17175 $(SHELL) $${libsrcdir}/configure \
17176 $(HOST_CONFIGARGS) $${srcdiroption} \
17177 @stage2_werror_flag@
17178 @endif libdecnumber-bootstrap
17180 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
17181 maybe-configure-stage3-libdecnumber:
17182 @if libdecnumber-bootstrap
17183 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
17184 configure-stage3-libdecnumber:
17185 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17187 @r=`${PWD_COMMAND}`; export r; \
17188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17189 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17190 $(HOST_EXPORTS) \
17191 $(POSTSTAGE1_HOST_EXPORTS) \
17192 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
17193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17194 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17195 case $(srcdir) in \
17196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17197 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17199 esac; \
17200 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17201 libsrcdir="$$s/libdecnumber"; \
17202 $(SHELL) $${libsrcdir}/configure \
17203 $(HOST_CONFIGARGS) $${srcdiroption} \
17204 @stage2_werror_flag@
17205 @endif libdecnumber-bootstrap
17207 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
17208 maybe-configure-stage4-libdecnumber:
17209 @if libdecnumber-bootstrap
17210 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
17211 configure-stage4-libdecnumber:
17212 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17213 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17214 @r=`${PWD_COMMAND}`; export r; \
17215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17216 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17217 $(HOST_EXPORTS) \
17218 $(POSTSTAGE1_HOST_EXPORTS) \
17219 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
17220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17221 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17222 case $(srcdir) in \
17223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17224 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17226 esac; \
17227 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17228 libsrcdir="$$s/libdecnumber"; \
17229 $(SHELL) $${libsrcdir}/configure \
17230 $(HOST_CONFIGARGS) $${srcdiroption} \
17231 @stage2_werror_flag@
17232 @endif libdecnumber-bootstrap
17234 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
17235 maybe-configure-stageprofile-libdecnumber:
17236 @if libdecnumber-bootstrap
17237 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17238 configure-stageprofile-libdecnumber:
17239 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17241 @r=`${PWD_COMMAND}`; export r; \
17242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17243 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17244 $(HOST_EXPORTS) \
17245 $(POSTSTAGE1_HOST_EXPORTS) \
17246 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
17247 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17248 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17249 case $(srcdir) in \
17250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17251 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17253 esac; \
17254 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17255 libsrcdir="$$s/libdecnumber"; \
17256 $(SHELL) $${libsrcdir}/configure \
17257 $(HOST_CONFIGARGS) $${srcdiroption} \
17258 @stage2_werror_flag@
17259 @endif libdecnumber-bootstrap
17261 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
17262 maybe-configure-stagefeedback-libdecnumber:
17263 @if libdecnumber-bootstrap
17264 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17265 configure-stagefeedback-libdecnumber:
17266 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
17268 @r=`${PWD_COMMAND}`; export r; \
17269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17270 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
17271 $(HOST_EXPORTS) \
17272 $(POSTSTAGE1_HOST_EXPORTS) \
17273 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
17274 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
17275 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
17276 case $(srcdir) in \
17277 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17278 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
17279 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17280 esac; \
17281 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
17282 libsrcdir="$$s/libdecnumber"; \
17283 $(SHELL) $${libsrcdir}/configure \
17284 $(HOST_CONFIGARGS) $${srcdiroption} \
17285 @stage2_werror_flag@
17286 @endif libdecnumber-bootstrap
17292 .PHONY: all-libdecnumber maybe-all-libdecnumber
17293 maybe-all-libdecnumber:
17294 @if libdecnumber
17295 TARGET-libdecnumber=all
17296 maybe-all-libdecnumber: all-libdecnumber
17297 all-libdecnumber: configure-libdecnumber
17298 @endif libdecnumber
17299 @if libdecnumber-bootstrap
17300 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
17301 @endif libdecnumber-bootstrap
17302 @if libdecnumber
17303 @r=`${PWD_COMMAND}`; export r; \
17304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17305 $(HOST_EXPORTS) \
17306 (cd $(HOST_SUBDIR)/libdecnumber && \
17307 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
17308 @endif libdecnumber
17312 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
17313 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
17314 maybe-all-stage1-libdecnumber:
17315 maybe-clean-stage1-libdecnumber:
17316 @if libdecnumber-bootstrap
17317 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
17318 all-stage1: all-stage1-libdecnumber
17319 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
17320 all-stage1-libdecnumber: configure-stage1-libdecnumber
17321 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17322 @r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324 $(HOST_EXPORTS) \
17325 cd $(HOST_SUBDIR)/libdecnumber && \
17326 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17327 $(TARGET-stage1-libdecnumber)
17329 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
17330 clean-stage1: clean-stage1-libdecnumber
17331 clean-stage1-libdecnumber:
17332 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
17333 || exit 0 ; \
17334 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
17335 cd $(HOST_SUBDIR)/libdecnumber && \
17336 $(MAKE) $(FLAGS_TO_PASS) \
17337 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17338 @endif libdecnumber-bootstrap
17341 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
17342 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
17343 maybe-all-stage2-libdecnumber:
17344 maybe-clean-stage2-libdecnumber:
17345 @if libdecnumber-bootstrap
17346 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
17347 all-stage2: all-stage2-libdecnumber
17348 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
17349 all-stage2-libdecnumber: configure-stage2-libdecnumber
17350 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17351 @r=`${PWD_COMMAND}`; export r; \
17352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17353 $(HOST_EXPORTS) \
17354 $(POSTSTAGE1_HOST_EXPORTS) \
17355 cd $(HOST_SUBDIR)/libdecnumber && \
17356 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17357 $(TARGET-stage2-libdecnumber)
17359 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
17360 clean-stage2: clean-stage2-libdecnumber
17361 clean-stage2-libdecnumber:
17362 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
17363 || exit 0 ; \
17364 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
17365 cd $(HOST_SUBDIR)/libdecnumber && \
17366 $(MAKE) $(FLAGS_TO_PASS) \
17367 $(POSTSTAGE1_FLAGS_TO_PASS) \
17368 clean
17369 @endif libdecnumber-bootstrap
17372 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
17373 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
17374 maybe-all-stage3-libdecnumber:
17375 maybe-clean-stage3-libdecnumber:
17376 @if libdecnumber-bootstrap
17377 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
17378 all-stage3: all-stage3-libdecnumber
17379 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
17380 all-stage3-libdecnumber: configure-stage3-libdecnumber
17381 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17382 @r=`${PWD_COMMAND}`; export r; \
17383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17384 $(HOST_EXPORTS) \
17385 $(POSTSTAGE1_HOST_EXPORTS) \
17386 cd $(HOST_SUBDIR)/libdecnumber && \
17387 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17388 $(TARGET-stage3-libdecnumber)
17390 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
17391 clean-stage3: clean-stage3-libdecnumber
17392 clean-stage3-libdecnumber:
17393 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
17394 || exit 0 ; \
17395 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
17396 cd $(HOST_SUBDIR)/libdecnumber && \
17397 $(MAKE) $(FLAGS_TO_PASS) \
17398 $(POSTSTAGE1_FLAGS_TO_PASS) \
17399 clean
17400 @endif libdecnumber-bootstrap
17403 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
17404 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
17405 maybe-all-stage4-libdecnumber:
17406 maybe-clean-stage4-libdecnumber:
17407 @if libdecnumber-bootstrap
17408 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
17409 all-stage4: all-stage4-libdecnumber
17410 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
17411 all-stage4-libdecnumber: configure-stage4-libdecnumber
17412 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17413 @r=`${PWD_COMMAND}`; export r; \
17414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17415 $(HOST_EXPORTS) \
17416 $(POSTSTAGE1_HOST_EXPORTS) \
17417 cd $(HOST_SUBDIR)/libdecnumber && \
17418 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17419 $(TARGET-stage4-libdecnumber)
17421 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
17422 clean-stage4: clean-stage4-libdecnumber
17423 clean-stage4-libdecnumber:
17424 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
17425 || exit 0 ; \
17426 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
17427 cd $(HOST_SUBDIR)/libdecnumber && \
17428 $(MAKE) $(FLAGS_TO_PASS) \
17429 $(POSTSTAGE1_FLAGS_TO_PASS) \
17430 clean
17431 @endif libdecnumber-bootstrap
17434 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
17435 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
17436 maybe-all-stageprofile-libdecnumber:
17437 maybe-clean-stageprofile-libdecnumber:
17438 @if libdecnumber-bootstrap
17439 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
17440 all-stageprofile: all-stageprofile-libdecnumber
17441 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
17442 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17443 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17444 @r=`${PWD_COMMAND}`; export r; \
17445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17446 $(HOST_EXPORTS) \
17447 $(POSTSTAGE1_HOST_EXPORTS) \
17448 cd $(HOST_SUBDIR)/libdecnumber && \
17449 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17450 $(TARGET-stageprofile-libdecnumber)
17452 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
17453 clean-stageprofile: clean-stageprofile-libdecnumber
17454 clean-stageprofile-libdecnumber:
17455 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
17456 || exit 0 ; \
17457 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
17458 cd $(HOST_SUBDIR)/libdecnumber && \
17459 $(MAKE) $(FLAGS_TO_PASS) \
17460 $(POSTSTAGE1_FLAGS_TO_PASS) \
17461 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17462 @endif libdecnumber-bootstrap
17465 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
17466 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
17467 maybe-all-stagefeedback-libdecnumber:
17468 maybe-clean-stagefeedback-libdecnumber:
17469 @if libdecnumber-bootstrap
17470 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
17471 all-stagefeedback: all-stagefeedback-libdecnumber
17472 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
17473 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17474 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17475 @r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 $(POSTSTAGE1_HOST_EXPORTS) \
17479 cd $(HOST_SUBDIR)/libdecnumber && \
17480 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17481 $(TARGET-stagefeedback-libdecnumber)
17483 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
17484 clean-stagefeedback: clean-stagefeedback-libdecnumber
17485 clean-stagefeedback-libdecnumber:
17486 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
17487 || exit 0 ; \
17488 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
17489 cd $(HOST_SUBDIR)/libdecnumber && \
17490 $(MAKE) $(FLAGS_TO_PASS) \
17491 $(POSTSTAGE1_FLAGS_TO_PASS) \
17492 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17493 @endif libdecnumber-bootstrap
17499 .PHONY: check-libdecnumber maybe-check-libdecnumber
17500 maybe-check-libdecnumber:
17501 @if libdecnumber
17502 maybe-check-libdecnumber: check-libdecnumber
17504 check-libdecnumber:
17505 @: $(MAKE); $(unstage)
17506 @r=`${PWD_COMMAND}`; export r; \
17507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17508 $(HOST_EXPORTS) \
17509 (cd $(HOST_SUBDIR)/libdecnumber && \
17510 $(MAKE) $(FLAGS_TO_PASS) check)
17512 @endif libdecnumber
17514 .PHONY: install-libdecnumber maybe-install-libdecnumber
17515 maybe-install-libdecnumber:
17516 @if libdecnumber
17517 maybe-install-libdecnumber: install-libdecnumber
17519 install-libdecnumber: installdirs
17520 @: $(MAKE); $(unstage)
17521 @r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17523 $(HOST_EXPORTS) \
17524 (cd $(HOST_SUBDIR)/libdecnumber && \
17525 $(MAKE) $(FLAGS_TO_PASS) install)
17527 @endif libdecnumber
17529 # Other targets (info, dvi, etc.)
17531 .PHONY: maybe-info-libdecnumber info-libdecnumber
17532 maybe-info-libdecnumber:
17533 @if libdecnumber
17534 maybe-info-libdecnumber: info-libdecnumber
17536 info-libdecnumber: \
17537 configure-libdecnumber
17538 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17539 r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 $(HOST_EXPORTS) \
17542 for flag in $(EXTRA_HOST_FLAGS) ; do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544 done; \
17545 echo "Doing info in libdecnumber" ; \
17546 (cd $(HOST_SUBDIR)/libdecnumber && \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17551 info) \
17552 || exit 1
17554 @endif libdecnumber
17556 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
17557 maybe-dvi-libdecnumber:
17558 @if libdecnumber
17559 maybe-dvi-libdecnumber: dvi-libdecnumber
17561 dvi-libdecnumber: \
17562 configure-libdecnumber
17563 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17564 r=`${PWD_COMMAND}`; export r; \
17565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17566 $(HOST_EXPORTS) \
17567 for flag in $(EXTRA_HOST_FLAGS) ; do \
17568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17569 done; \
17570 echo "Doing dvi in libdecnumber" ; \
17571 (cd $(HOST_SUBDIR)/libdecnumber && \
17572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17574 "RANLIB=$${RANLIB}" \
17575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17576 dvi) \
17577 || exit 1
17579 @endif libdecnumber
17581 .PHONY: maybe-html-libdecnumber html-libdecnumber
17582 maybe-html-libdecnumber:
17583 @if libdecnumber
17584 maybe-html-libdecnumber: html-libdecnumber
17586 html-libdecnumber: \
17587 configure-libdecnumber
17588 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 $(HOST_EXPORTS) \
17592 for flag in $(EXTRA_HOST_FLAGS) ; do \
17593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17594 done; \
17595 echo "Doing html in libdecnumber" ; \
17596 (cd $(HOST_SUBDIR)/libdecnumber && \
17597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17599 "RANLIB=$${RANLIB}" \
17600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17601 html) \
17602 || exit 1
17604 @endif libdecnumber
17606 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17607 maybe-TAGS-libdecnumber:
17608 @if libdecnumber
17609 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17611 TAGS-libdecnumber: \
17612 configure-libdecnumber
17613 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17614 r=`${PWD_COMMAND}`; export r; \
17615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17616 $(HOST_EXPORTS) \
17617 for flag in $(EXTRA_HOST_FLAGS) ; do \
17618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17619 done; \
17620 echo "Doing TAGS in libdecnumber" ; \
17621 (cd $(HOST_SUBDIR)/libdecnumber && \
17622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17624 "RANLIB=$${RANLIB}" \
17625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17626 TAGS) \
17627 || exit 1
17629 @endif libdecnumber
17631 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17632 maybe-install-info-libdecnumber:
17633 @if libdecnumber
17634 maybe-install-info-libdecnumber: install-info-libdecnumber
17636 install-info-libdecnumber: \
17637 configure-libdecnumber \
17638 info-libdecnumber
17639 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17640 r=`${PWD_COMMAND}`; export r; \
17641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17642 $(HOST_EXPORTS) \
17643 for flag in $(EXTRA_HOST_FLAGS) ; do \
17644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17645 done; \
17646 echo "Doing install-info in libdecnumber" ; \
17647 (cd $(HOST_SUBDIR)/libdecnumber && \
17648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17650 "RANLIB=$${RANLIB}" \
17651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17652 install-info) \
17653 || exit 1
17655 @endif libdecnumber
17657 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17658 maybe-installcheck-libdecnumber:
17659 @if libdecnumber
17660 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17662 installcheck-libdecnumber: \
17663 configure-libdecnumber
17664 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17665 r=`${PWD_COMMAND}`; export r; \
17666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 $(HOST_EXPORTS) \
17668 for flag in $(EXTRA_HOST_FLAGS) ; do \
17669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17670 done; \
17671 echo "Doing installcheck in libdecnumber" ; \
17672 (cd $(HOST_SUBDIR)/libdecnumber && \
17673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17675 "RANLIB=$${RANLIB}" \
17676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17677 installcheck) \
17678 || exit 1
17680 @endif libdecnumber
17682 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17683 maybe-mostlyclean-libdecnumber:
17684 @if libdecnumber
17685 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17687 mostlyclean-libdecnumber:
17688 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17689 r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 $(HOST_EXPORTS) \
17692 for flag in $(EXTRA_HOST_FLAGS) ; do \
17693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17694 done; \
17695 echo "Doing mostlyclean in libdecnumber" ; \
17696 (cd $(HOST_SUBDIR)/libdecnumber && \
17697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17699 "RANLIB=$${RANLIB}" \
17700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17701 mostlyclean) \
17702 || exit 1
17704 @endif libdecnumber
17706 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17707 maybe-clean-libdecnumber:
17708 @if libdecnumber
17709 maybe-clean-libdecnumber: clean-libdecnumber
17711 clean-libdecnumber:
17712 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17713 r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17715 $(HOST_EXPORTS) \
17716 for flag in $(EXTRA_HOST_FLAGS) ; do \
17717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17718 done; \
17719 echo "Doing clean in libdecnumber" ; \
17720 (cd $(HOST_SUBDIR)/libdecnumber && \
17721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17723 "RANLIB=$${RANLIB}" \
17724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17725 clean) \
17726 || exit 1
17728 @endif libdecnumber
17730 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17731 maybe-distclean-libdecnumber:
17732 @if libdecnumber
17733 maybe-distclean-libdecnumber: distclean-libdecnumber
17735 distclean-libdecnumber:
17736 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17737 r=`${PWD_COMMAND}`; export r; \
17738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17739 $(HOST_EXPORTS) \
17740 for flag in $(EXTRA_HOST_FLAGS) ; do \
17741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17742 done; \
17743 echo "Doing distclean in libdecnumber" ; \
17744 (cd $(HOST_SUBDIR)/libdecnumber && \
17745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17747 "RANLIB=$${RANLIB}" \
17748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17749 distclean) \
17750 || exit 1
17752 @endif libdecnumber
17754 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17755 maybe-maintainer-clean-libdecnumber:
17756 @if libdecnumber
17757 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17759 maintainer-clean-libdecnumber:
17760 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17761 r=`${PWD_COMMAND}`; export r; \
17762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17763 $(HOST_EXPORTS) \
17764 for flag in $(EXTRA_HOST_FLAGS) ; do \
17765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17766 done; \
17767 echo "Doing maintainer-clean in libdecnumber" ; \
17768 (cd $(HOST_SUBDIR)/libdecnumber && \
17769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17771 "RANLIB=$${RANLIB}" \
17772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17773 maintainer-clean) \
17774 || exit 1
17776 @endif libdecnumber
17780 .PHONY: configure-libgui maybe-configure-libgui
17781 maybe-configure-libgui:
17782 @if libgui
17783 maybe-configure-libgui: configure-libgui
17784 configure-libgui:
17785 @: $(MAKE); $(unstage)
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17788 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17790 $(HOST_EXPORTS) \
17791 echo Configuring in $(HOST_SUBDIR)/libgui; \
17792 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17793 case $(srcdir) in \
17794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17795 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17797 esac; \
17798 srcdiroption="--srcdir=$${topdir}/libgui"; \
17799 libsrcdir="$$s/libgui"; \
17800 $(SHELL) $${libsrcdir}/configure \
17801 $(HOST_CONFIGARGS) $${srcdiroption} \
17802 || exit 1
17803 @endif libgui
17809 .PHONY: all-libgui maybe-all-libgui
17810 maybe-all-libgui:
17811 @if libgui
17812 TARGET-libgui=all
17813 maybe-all-libgui: all-libgui
17814 all-libgui: configure-libgui
17815 @: $(MAKE); $(unstage)
17816 @r=`${PWD_COMMAND}`; export r; \
17817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818 $(HOST_EXPORTS) \
17819 (cd $(HOST_SUBDIR)/libgui && \
17820 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17821 @endif libgui
17826 .PHONY: check-libgui maybe-check-libgui
17827 maybe-check-libgui:
17828 @if libgui
17829 maybe-check-libgui: check-libgui
17831 check-libgui:
17832 @: $(MAKE); $(unstage)
17833 @r=`${PWD_COMMAND}`; export r; \
17834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17835 $(HOST_EXPORTS) \
17836 (cd $(HOST_SUBDIR)/libgui && \
17837 $(MAKE) $(FLAGS_TO_PASS) check)
17839 @endif libgui
17841 .PHONY: install-libgui maybe-install-libgui
17842 maybe-install-libgui:
17843 @if libgui
17844 maybe-install-libgui: install-libgui
17846 install-libgui: installdirs
17847 @: $(MAKE); $(unstage)
17848 @r=`${PWD_COMMAND}`; export r; \
17849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17850 $(HOST_EXPORTS) \
17851 (cd $(HOST_SUBDIR)/libgui && \
17852 $(MAKE) $(FLAGS_TO_PASS) install)
17854 @endif libgui
17856 # Other targets (info, dvi, etc.)
17858 .PHONY: maybe-info-libgui info-libgui
17859 maybe-info-libgui:
17860 @if libgui
17861 maybe-info-libgui: info-libgui
17863 info-libgui: \
17864 configure-libgui
17865 @: $(MAKE); $(unstage)
17866 @[ -f ./libgui/Makefile ] || exit 0; \
17867 r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 $(HOST_EXPORTS) \
17870 for flag in $(EXTRA_HOST_FLAGS) ; do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 done; \
17873 echo "Doing info in libgui" ; \
17874 (cd $(HOST_SUBDIR)/libgui && \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17879 info) \
17880 || exit 1
17882 @endif libgui
17884 .PHONY: maybe-dvi-libgui dvi-libgui
17885 maybe-dvi-libgui:
17886 @if libgui
17887 maybe-dvi-libgui: dvi-libgui
17889 dvi-libgui: \
17890 configure-libgui
17891 @: $(MAKE); $(unstage)
17892 @[ -f ./libgui/Makefile ] || exit 0; \
17893 r=`${PWD_COMMAND}`; export r; \
17894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17895 $(HOST_EXPORTS) \
17896 for flag in $(EXTRA_HOST_FLAGS) ; do \
17897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17898 done; \
17899 echo "Doing dvi in libgui" ; \
17900 (cd $(HOST_SUBDIR)/libgui && \
17901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17903 "RANLIB=$${RANLIB}" \
17904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17905 dvi) \
17906 || exit 1
17908 @endif libgui
17910 .PHONY: maybe-html-libgui html-libgui
17911 maybe-html-libgui:
17912 @if libgui
17913 maybe-html-libgui: html-libgui
17915 html-libgui: \
17916 configure-libgui
17917 @: $(MAKE); $(unstage)
17918 @[ -f ./libgui/Makefile ] || exit 0; \
17919 r=`${PWD_COMMAND}`; export r; \
17920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 $(HOST_EXPORTS) \
17922 for flag in $(EXTRA_HOST_FLAGS) ; do \
17923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17924 done; \
17925 echo "Doing html in libgui" ; \
17926 (cd $(HOST_SUBDIR)/libgui && \
17927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17929 "RANLIB=$${RANLIB}" \
17930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17931 html) \
17932 || exit 1
17934 @endif libgui
17936 .PHONY: maybe-TAGS-libgui TAGS-libgui
17937 maybe-TAGS-libgui:
17938 @if libgui
17939 maybe-TAGS-libgui: TAGS-libgui
17941 TAGS-libgui: \
17942 configure-libgui
17943 @: $(MAKE); $(unstage)
17944 @[ -f ./libgui/Makefile ] || exit 0; \
17945 r=`${PWD_COMMAND}`; export r; \
17946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17947 $(HOST_EXPORTS) \
17948 for flag in $(EXTRA_HOST_FLAGS) ; do \
17949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17950 done; \
17951 echo "Doing TAGS in libgui" ; \
17952 (cd $(HOST_SUBDIR)/libgui && \
17953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17955 "RANLIB=$${RANLIB}" \
17956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17957 TAGS) \
17958 || exit 1
17960 @endif libgui
17962 .PHONY: maybe-install-info-libgui install-info-libgui
17963 maybe-install-info-libgui:
17964 @if libgui
17965 maybe-install-info-libgui: install-info-libgui
17967 install-info-libgui: \
17968 configure-libgui \
17969 info-libgui
17970 @: $(MAKE); $(unstage)
17971 @[ -f ./libgui/Makefile ] || exit 0; \
17972 r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 $(HOST_EXPORTS) \
17975 for flag in $(EXTRA_HOST_FLAGS) ; do \
17976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17977 done; \
17978 echo "Doing install-info in libgui" ; \
17979 (cd $(HOST_SUBDIR)/libgui && \
17980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17982 "RANLIB=$${RANLIB}" \
17983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17984 install-info) \
17985 || exit 1
17987 @endif libgui
17989 .PHONY: maybe-installcheck-libgui installcheck-libgui
17990 maybe-installcheck-libgui:
17991 @if libgui
17992 maybe-installcheck-libgui: installcheck-libgui
17994 installcheck-libgui: \
17995 configure-libgui
17996 @: $(MAKE); $(unstage)
17997 @[ -f ./libgui/Makefile ] || exit 0; \
17998 r=`${PWD_COMMAND}`; export r; \
17999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18000 $(HOST_EXPORTS) \
18001 for flag in $(EXTRA_HOST_FLAGS) ; do \
18002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18003 done; \
18004 echo "Doing installcheck in libgui" ; \
18005 (cd $(HOST_SUBDIR)/libgui && \
18006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18008 "RANLIB=$${RANLIB}" \
18009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18010 installcheck) \
18011 || exit 1
18013 @endif libgui
18015 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
18016 maybe-mostlyclean-libgui:
18017 @if libgui
18018 maybe-mostlyclean-libgui: mostlyclean-libgui
18020 mostlyclean-libgui:
18021 @: $(MAKE); $(unstage)
18022 @[ -f ./libgui/Makefile ] || exit 0; \
18023 r=`${PWD_COMMAND}`; export r; \
18024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18025 $(HOST_EXPORTS) \
18026 for flag in $(EXTRA_HOST_FLAGS) ; do \
18027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18028 done; \
18029 echo "Doing mostlyclean in libgui" ; \
18030 (cd $(HOST_SUBDIR)/libgui && \
18031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18033 "RANLIB=$${RANLIB}" \
18034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18035 mostlyclean) \
18036 || exit 1
18038 @endif libgui
18040 .PHONY: maybe-clean-libgui clean-libgui
18041 maybe-clean-libgui:
18042 @if libgui
18043 maybe-clean-libgui: clean-libgui
18045 clean-libgui:
18046 @: $(MAKE); $(unstage)
18047 @[ -f ./libgui/Makefile ] || exit 0; \
18048 r=`${PWD_COMMAND}`; export r; \
18049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18050 $(HOST_EXPORTS) \
18051 for flag in $(EXTRA_HOST_FLAGS) ; do \
18052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18053 done; \
18054 echo "Doing clean in libgui" ; \
18055 (cd $(HOST_SUBDIR)/libgui && \
18056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18058 "RANLIB=$${RANLIB}" \
18059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18060 clean) \
18061 || exit 1
18063 @endif libgui
18065 .PHONY: maybe-distclean-libgui distclean-libgui
18066 maybe-distclean-libgui:
18067 @if libgui
18068 maybe-distclean-libgui: distclean-libgui
18070 distclean-libgui:
18071 @: $(MAKE); $(unstage)
18072 @[ -f ./libgui/Makefile ] || exit 0; \
18073 r=`${PWD_COMMAND}`; export r; \
18074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18075 $(HOST_EXPORTS) \
18076 for flag in $(EXTRA_HOST_FLAGS) ; do \
18077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18078 done; \
18079 echo "Doing distclean in libgui" ; \
18080 (cd $(HOST_SUBDIR)/libgui && \
18081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18083 "RANLIB=$${RANLIB}" \
18084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18085 distclean) \
18086 || exit 1
18088 @endif libgui
18090 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
18091 maybe-maintainer-clean-libgui:
18092 @if libgui
18093 maybe-maintainer-clean-libgui: maintainer-clean-libgui
18095 maintainer-clean-libgui:
18096 @: $(MAKE); $(unstage)
18097 @[ -f ./libgui/Makefile ] || exit 0; \
18098 r=`${PWD_COMMAND}`; export r; \
18099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 $(HOST_EXPORTS) \
18101 for flag in $(EXTRA_HOST_FLAGS) ; do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103 done; \
18104 echo "Doing maintainer-clean in libgui" ; \
18105 (cd $(HOST_SUBDIR)/libgui && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18110 maintainer-clean) \
18111 || exit 1
18113 @endif libgui
18117 .PHONY: configure-libiberty maybe-configure-libiberty
18118 maybe-configure-libiberty:
18119 @if libiberty
18120 maybe-configure-libiberty: configure-libiberty
18121 configure-libiberty:
18122 @endif libiberty
18123 @if libiberty-bootstrap
18124 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
18125 @endif libiberty-bootstrap
18126 @if libiberty
18127 @r=`${PWD_COMMAND}`; export r; \
18128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18129 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18131 $(HOST_EXPORTS) \
18132 echo Configuring in $(HOST_SUBDIR)/libiberty; \
18133 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
18134 case $(srcdir) in \
18135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18136 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18138 esac; \
18139 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18140 libsrcdir="$$s/libiberty"; \
18141 $(SHELL) $${libsrcdir}/configure \
18142 $(HOST_CONFIGARGS) $${srcdiroption} \
18143 || exit 1
18144 @endif libiberty
18148 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
18149 maybe-configure-stage1-libiberty:
18150 @if libiberty-bootstrap
18151 maybe-configure-stage1-libiberty: configure-stage1-libiberty
18152 configure-stage1-libiberty:
18153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18155 @r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18157 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18158 $(HOST_EXPORTS) \
18159 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
18160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18161 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18162 case $(srcdir) in \
18163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18164 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18166 esac; \
18167 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18168 libsrcdir="$$s/libiberty"; \
18169 $(SHELL) $${libsrcdir}/configure \
18170 $(HOST_CONFIGARGS) $${srcdiroption} \
18171 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18172 @endif libiberty-bootstrap
18174 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
18175 maybe-configure-stage2-libiberty:
18176 @if libiberty-bootstrap
18177 maybe-configure-stage2-libiberty: configure-stage2-libiberty
18178 configure-stage2-libiberty:
18179 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18180 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18181 @r=`${PWD_COMMAND}`; export r; \
18182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18183 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18184 $(HOST_EXPORTS) \
18185 $(POSTSTAGE1_HOST_EXPORTS) \
18186 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
18187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18188 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18189 case $(srcdir) in \
18190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18191 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18193 esac; \
18194 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18195 libsrcdir="$$s/libiberty"; \
18196 $(SHELL) $${libsrcdir}/configure \
18197 $(HOST_CONFIGARGS) $${srcdiroption} \
18198 @stage2_werror_flag@
18199 @endif libiberty-bootstrap
18201 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
18202 maybe-configure-stage3-libiberty:
18203 @if libiberty-bootstrap
18204 maybe-configure-stage3-libiberty: configure-stage3-libiberty
18205 configure-stage3-libiberty:
18206 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18207 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18208 @r=`${PWD_COMMAND}`; export r; \
18209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18210 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18211 $(HOST_EXPORTS) \
18212 $(POSTSTAGE1_HOST_EXPORTS) \
18213 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
18214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18215 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18216 case $(srcdir) in \
18217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18218 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18220 esac; \
18221 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18222 libsrcdir="$$s/libiberty"; \
18223 $(SHELL) $${libsrcdir}/configure \
18224 $(HOST_CONFIGARGS) $${srcdiroption} \
18225 @stage2_werror_flag@
18226 @endif libiberty-bootstrap
18228 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
18229 maybe-configure-stage4-libiberty:
18230 @if libiberty-bootstrap
18231 maybe-configure-stage4-libiberty: configure-stage4-libiberty
18232 configure-stage4-libiberty:
18233 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18234 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18235 @r=`${PWD_COMMAND}`; export r; \
18236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18237 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18238 $(HOST_EXPORTS) \
18239 $(POSTSTAGE1_HOST_EXPORTS) \
18240 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
18241 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18242 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18243 case $(srcdir) in \
18244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18245 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18247 esac; \
18248 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18249 libsrcdir="$$s/libiberty"; \
18250 $(SHELL) $${libsrcdir}/configure \
18251 $(HOST_CONFIGARGS) $${srcdiroption} \
18252 @stage2_werror_flag@
18253 @endif libiberty-bootstrap
18255 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
18256 maybe-configure-stageprofile-libiberty:
18257 @if libiberty-bootstrap
18258 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
18259 configure-stageprofile-libiberty:
18260 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18262 @r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18265 $(HOST_EXPORTS) \
18266 $(POSTSTAGE1_HOST_EXPORTS) \
18267 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
18268 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18269 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18270 case $(srcdir) in \
18271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18272 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18274 esac; \
18275 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18276 libsrcdir="$$s/libiberty"; \
18277 $(SHELL) $${libsrcdir}/configure \
18278 $(HOST_CONFIGARGS) $${srcdiroption} \
18279 @stage2_werror_flag@
18280 @endif libiberty-bootstrap
18282 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
18283 maybe-configure-stagefeedback-libiberty:
18284 @if libiberty-bootstrap
18285 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
18286 configure-stagefeedback-libiberty:
18287 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
18289 @r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
18292 $(HOST_EXPORTS) \
18293 $(POSTSTAGE1_HOST_EXPORTS) \
18294 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
18295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
18296 cd $(HOST_SUBDIR)/libiberty || exit 1; \
18297 case $(srcdir) in \
18298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18299 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
18300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18301 esac; \
18302 srcdiroption="--srcdir=$${topdir}/libiberty"; \
18303 libsrcdir="$$s/libiberty"; \
18304 $(SHELL) $${libsrcdir}/configure \
18305 $(HOST_CONFIGARGS) $${srcdiroption} \
18306 @stage2_werror_flag@
18307 @endif libiberty-bootstrap
18313 .PHONY: all-libiberty maybe-all-libiberty
18314 maybe-all-libiberty:
18315 @if libiberty
18316 TARGET-libiberty=all
18317 maybe-all-libiberty: all-libiberty
18318 all-libiberty: configure-libiberty
18319 @endif libiberty
18320 @if libiberty-bootstrap
18321 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
18322 @endif libiberty-bootstrap
18323 @if libiberty
18324 @r=`${PWD_COMMAND}`; export r; \
18325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18326 $(HOST_EXPORTS) \
18327 (cd $(HOST_SUBDIR)/libiberty && \
18328 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
18329 @endif libiberty
18333 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
18334 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
18335 maybe-all-stage1-libiberty:
18336 maybe-clean-stage1-libiberty:
18337 @if libiberty-bootstrap
18338 maybe-all-stage1-libiberty: all-stage1-libiberty
18339 all-stage1: all-stage1-libiberty
18340 TARGET-stage1-libiberty = $(TARGET-libiberty)
18341 all-stage1-libiberty: configure-stage1-libiberty
18342 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18343 @r=`${PWD_COMMAND}`; export r; \
18344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18345 $(HOST_EXPORTS) \
18346 cd $(HOST_SUBDIR)/libiberty && \
18347 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18348 $(TARGET-stage1-libiberty)
18350 maybe-clean-stage1-libiberty: clean-stage1-libiberty
18351 clean-stage1: clean-stage1-libiberty
18352 clean-stage1-libiberty:
18353 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
18354 || exit 0 ; \
18355 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
18356 cd $(HOST_SUBDIR)/libiberty && \
18357 $(MAKE) $(FLAGS_TO_PASS) \
18358 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18359 @endif libiberty-bootstrap
18362 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
18363 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
18364 maybe-all-stage2-libiberty:
18365 maybe-clean-stage2-libiberty:
18366 @if libiberty-bootstrap
18367 maybe-all-stage2-libiberty: all-stage2-libiberty
18368 all-stage2: all-stage2-libiberty
18369 TARGET-stage2-libiberty = $(TARGET-libiberty)
18370 all-stage2-libiberty: configure-stage2-libiberty
18371 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18372 @r=`${PWD_COMMAND}`; export r; \
18373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18374 $(HOST_EXPORTS) \
18375 $(POSTSTAGE1_HOST_EXPORTS) \
18376 cd $(HOST_SUBDIR)/libiberty && \
18377 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18378 $(TARGET-stage2-libiberty)
18380 maybe-clean-stage2-libiberty: clean-stage2-libiberty
18381 clean-stage2: clean-stage2-libiberty
18382 clean-stage2-libiberty:
18383 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
18384 || exit 0 ; \
18385 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
18386 cd $(HOST_SUBDIR)/libiberty && \
18387 $(MAKE) $(FLAGS_TO_PASS) \
18388 $(POSTSTAGE1_FLAGS_TO_PASS) \
18389 clean
18390 @endif libiberty-bootstrap
18393 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
18394 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
18395 maybe-all-stage3-libiberty:
18396 maybe-clean-stage3-libiberty:
18397 @if libiberty-bootstrap
18398 maybe-all-stage3-libiberty: all-stage3-libiberty
18399 all-stage3: all-stage3-libiberty
18400 TARGET-stage3-libiberty = $(TARGET-libiberty)
18401 all-stage3-libiberty: configure-stage3-libiberty
18402 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18403 @r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 $(POSTSTAGE1_HOST_EXPORTS) \
18407 cd $(HOST_SUBDIR)/libiberty && \
18408 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18409 $(TARGET-stage3-libiberty)
18411 maybe-clean-stage3-libiberty: clean-stage3-libiberty
18412 clean-stage3: clean-stage3-libiberty
18413 clean-stage3-libiberty:
18414 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
18415 || exit 0 ; \
18416 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
18417 cd $(HOST_SUBDIR)/libiberty && \
18418 $(MAKE) $(FLAGS_TO_PASS) \
18419 $(POSTSTAGE1_FLAGS_TO_PASS) \
18420 clean
18421 @endif libiberty-bootstrap
18424 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
18425 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
18426 maybe-all-stage4-libiberty:
18427 maybe-clean-stage4-libiberty:
18428 @if libiberty-bootstrap
18429 maybe-all-stage4-libiberty: all-stage4-libiberty
18430 all-stage4: all-stage4-libiberty
18431 TARGET-stage4-libiberty = $(TARGET-libiberty)
18432 all-stage4-libiberty: configure-stage4-libiberty
18433 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18434 @r=`${PWD_COMMAND}`; export r; \
18435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18436 $(HOST_EXPORTS) \
18437 $(POSTSTAGE1_HOST_EXPORTS) \
18438 cd $(HOST_SUBDIR)/libiberty && \
18439 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18440 $(TARGET-stage4-libiberty)
18442 maybe-clean-stage4-libiberty: clean-stage4-libiberty
18443 clean-stage4: clean-stage4-libiberty
18444 clean-stage4-libiberty:
18445 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
18446 || exit 0 ; \
18447 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
18448 cd $(HOST_SUBDIR)/libiberty && \
18449 $(MAKE) $(FLAGS_TO_PASS) \
18450 $(POSTSTAGE1_FLAGS_TO_PASS) \
18451 clean
18452 @endif libiberty-bootstrap
18455 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
18456 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
18457 maybe-all-stageprofile-libiberty:
18458 maybe-clean-stageprofile-libiberty:
18459 @if libiberty-bootstrap
18460 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
18461 all-stageprofile: all-stageprofile-libiberty
18462 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
18463 all-stageprofile-libiberty: configure-stageprofile-libiberty
18464 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18465 @r=`${PWD_COMMAND}`; export r; \
18466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18467 $(HOST_EXPORTS) \
18468 $(POSTSTAGE1_HOST_EXPORTS) \
18469 cd $(HOST_SUBDIR)/libiberty && \
18470 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18471 $(TARGET-stageprofile-libiberty)
18473 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
18474 clean-stageprofile: clean-stageprofile-libiberty
18475 clean-stageprofile-libiberty:
18476 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
18477 || exit 0 ; \
18478 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
18479 cd $(HOST_SUBDIR)/libiberty && \
18480 $(MAKE) $(FLAGS_TO_PASS) \
18481 $(POSTSTAGE1_FLAGS_TO_PASS) \
18482 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18483 @endif libiberty-bootstrap
18486 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
18487 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
18488 maybe-all-stagefeedback-libiberty:
18489 maybe-clean-stagefeedback-libiberty:
18490 @if libiberty-bootstrap
18491 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
18492 all-stagefeedback: all-stagefeedback-libiberty
18493 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
18494 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
18495 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18496 @r=`${PWD_COMMAND}`; export r; \
18497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18498 $(HOST_EXPORTS) \
18499 $(POSTSTAGE1_HOST_EXPORTS) \
18500 cd $(HOST_SUBDIR)/libiberty && \
18501 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18502 $(TARGET-stagefeedback-libiberty)
18504 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
18505 clean-stagefeedback: clean-stagefeedback-libiberty
18506 clean-stagefeedback-libiberty:
18507 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
18508 || exit 0 ; \
18509 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
18510 cd $(HOST_SUBDIR)/libiberty && \
18511 $(MAKE) $(FLAGS_TO_PASS) \
18512 $(POSTSTAGE1_FLAGS_TO_PASS) \
18513 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18514 @endif libiberty-bootstrap
18520 .PHONY: check-libiberty maybe-check-libiberty
18521 maybe-check-libiberty:
18522 @if libiberty
18523 maybe-check-libiberty: check-libiberty
18525 check-libiberty:
18526 @: $(MAKE); $(unstage)
18527 @r=`${PWD_COMMAND}`; export r; \
18528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18529 $(HOST_EXPORTS) \
18530 (cd $(HOST_SUBDIR)/libiberty && \
18531 $(MAKE) $(FLAGS_TO_PASS) check)
18533 @endif libiberty
18535 .PHONY: install-libiberty maybe-install-libiberty
18536 maybe-install-libiberty:
18537 @if libiberty
18538 maybe-install-libiberty: install-libiberty
18540 install-libiberty: installdirs
18541 @: $(MAKE); $(unstage)
18542 @r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(HOST_EXPORTS) \
18545 (cd $(HOST_SUBDIR)/libiberty && \
18546 $(MAKE) $(FLAGS_TO_PASS) install)
18548 @endif libiberty
18550 # Other targets (info, dvi, etc.)
18552 .PHONY: maybe-info-libiberty info-libiberty
18553 maybe-info-libiberty:
18554 @if libiberty
18555 maybe-info-libiberty: info-libiberty
18557 info-libiberty: \
18558 configure-libiberty
18559 @[ -f ./libiberty/Makefile ] || exit 0; \
18560 r=`${PWD_COMMAND}`; export r; \
18561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18562 $(HOST_EXPORTS) \
18563 for flag in $(EXTRA_HOST_FLAGS) ; do \
18564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18565 done; \
18566 echo "Doing info in libiberty" ; \
18567 (cd $(HOST_SUBDIR)/libiberty && \
18568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18570 "RANLIB=$${RANLIB}" \
18571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18572 info) \
18573 || exit 1
18575 @endif libiberty
18577 .PHONY: maybe-dvi-libiberty dvi-libiberty
18578 maybe-dvi-libiberty:
18579 @if libiberty
18580 maybe-dvi-libiberty: dvi-libiberty
18582 dvi-libiberty: \
18583 configure-libiberty
18584 @[ -f ./libiberty/Makefile ] || exit 0; \
18585 r=`${PWD_COMMAND}`; export r; \
18586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18587 $(HOST_EXPORTS) \
18588 for flag in $(EXTRA_HOST_FLAGS) ; do \
18589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18590 done; \
18591 echo "Doing dvi in libiberty" ; \
18592 (cd $(HOST_SUBDIR)/libiberty && \
18593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18595 "RANLIB=$${RANLIB}" \
18596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18597 dvi) \
18598 || exit 1
18600 @endif libiberty
18602 .PHONY: maybe-html-libiberty html-libiberty
18603 maybe-html-libiberty:
18604 @if libiberty
18605 maybe-html-libiberty: html-libiberty
18607 html-libiberty: \
18608 configure-libiberty
18609 @[ -f ./libiberty/Makefile ] || exit 0; \
18610 r=`${PWD_COMMAND}`; export r; \
18611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18612 $(HOST_EXPORTS) \
18613 for flag in $(EXTRA_HOST_FLAGS) ; do \
18614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18615 done; \
18616 echo "Doing html in libiberty" ; \
18617 (cd $(HOST_SUBDIR)/libiberty && \
18618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18620 "RANLIB=$${RANLIB}" \
18621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18622 html) \
18623 || exit 1
18625 @endif libiberty
18627 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18628 maybe-TAGS-libiberty:
18629 @if libiberty
18630 maybe-TAGS-libiberty: TAGS-libiberty
18632 TAGS-libiberty: \
18633 configure-libiberty
18634 @[ -f ./libiberty/Makefile ] || exit 0; \
18635 r=`${PWD_COMMAND}`; export r; \
18636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18637 $(HOST_EXPORTS) \
18638 for flag in $(EXTRA_HOST_FLAGS) ; do \
18639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18640 done; \
18641 echo "Doing TAGS in libiberty" ; \
18642 (cd $(HOST_SUBDIR)/libiberty && \
18643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18645 "RANLIB=$${RANLIB}" \
18646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18647 TAGS) \
18648 || exit 1
18650 @endif libiberty
18652 .PHONY: maybe-install-info-libiberty install-info-libiberty
18653 maybe-install-info-libiberty:
18654 @if libiberty
18655 maybe-install-info-libiberty: install-info-libiberty
18657 install-info-libiberty: \
18658 configure-libiberty \
18659 info-libiberty
18660 @[ -f ./libiberty/Makefile ] || exit 0; \
18661 r=`${PWD_COMMAND}`; export r; \
18662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18663 $(HOST_EXPORTS) \
18664 for flag in $(EXTRA_HOST_FLAGS) ; do \
18665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18666 done; \
18667 echo "Doing install-info in libiberty" ; \
18668 (cd $(HOST_SUBDIR)/libiberty && \
18669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18671 "RANLIB=$${RANLIB}" \
18672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18673 install-info) \
18674 || exit 1
18676 @endif libiberty
18678 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18679 maybe-installcheck-libiberty:
18680 @if libiberty
18681 maybe-installcheck-libiberty: installcheck-libiberty
18683 installcheck-libiberty: \
18684 configure-libiberty
18685 @[ -f ./libiberty/Makefile ] || exit 0; \
18686 r=`${PWD_COMMAND}`; export r; \
18687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18688 $(HOST_EXPORTS) \
18689 for flag in $(EXTRA_HOST_FLAGS) ; do \
18690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18691 done; \
18692 echo "Doing installcheck in libiberty" ; \
18693 (cd $(HOST_SUBDIR)/libiberty && \
18694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18696 "RANLIB=$${RANLIB}" \
18697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18698 installcheck) \
18699 || exit 1
18701 @endif libiberty
18703 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18704 maybe-mostlyclean-libiberty:
18705 @if libiberty
18706 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18708 mostlyclean-libiberty:
18709 @[ -f ./libiberty/Makefile ] || exit 0; \
18710 r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) \
18713 for flag in $(EXTRA_HOST_FLAGS) ; do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18715 done; \
18716 echo "Doing mostlyclean in libiberty" ; \
18717 (cd $(HOST_SUBDIR)/libiberty && \
18718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720 "RANLIB=$${RANLIB}" \
18721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18722 mostlyclean) \
18723 || exit 1
18725 @endif libiberty
18727 .PHONY: maybe-clean-libiberty clean-libiberty
18728 maybe-clean-libiberty:
18729 @if libiberty
18730 maybe-clean-libiberty: clean-libiberty
18732 clean-libiberty:
18733 @[ -f ./libiberty/Makefile ] || exit 0; \
18734 r=`${PWD_COMMAND}`; export r; \
18735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18736 $(HOST_EXPORTS) \
18737 for flag in $(EXTRA_HOST_FLAGS) ; do \
18738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18739 done; \
18740 echo "Doing clean in libiberty" ; \
18741 (cd $(HOST_SUBDIR)/libiberty && \
18742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18744 "RANLIB=$${RANLIB}" \
18745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18746 clean) \
18747 || exit 1
18749 @endif libiberty
18751 .PHONY: maybe-distclean-libiberty distclean-libiberty
18752 maybe-distclean-libiberty:
18753 @if libiberty
18754 maybe-distclean-libiberty: distclean-libiberty
18756 distclean-libiberty:
18757 @[ -f ./libiberty/Makefile ] || exit 0; \
18758 r=`${PWD_COMMAND}`; export r; \
18759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18760 $(HOST_EXPORTS) \
18761 for flag in $(EXTRA_HOST_FLAGS) ; do \
18762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18763 done; \
18764 echo "Doing distclean in libiberty" ; \
18765 (cd $(HOST_SUBDIR)/libiberty && \
18766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18768 "RANLIB=$${RANLIB}" \
18769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18770 distclean) \
18771 || exit 1
18773 @endif libiberty
18775 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18776 maybe-maintainer-clean-libiberty:
18777 @if libiberty
18778 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18780 maintainer-clean-libiberty:
18781 @[ -f ./libiberty/Makefile ] || exit 0; \
18782 r=`${PWD_COMMAND}`; export r; \
18783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18784 $(HOST_EXPORTS) \
18785 for flag in $(EXTRA_HOST_FLAGS) ; do \
18786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18787 done; \
18788 echo "Doing maintainer-clean in libiberty" ; \
18789 (cd $(HOST_SUBDIR)/libiberty && \
18790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18792 "RANLIB=$${RANLIB}" \
18793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18794 maintainer-clean) \
18795 || exit 1
18797 @endif libiberty
18801 .PHONY: configure-libtool maybe-configure-libtool
18802 maybe-configure-libtool:
18803 @if libtool
18804 maybe-configure-libtool: configure-libtool
18805 configure-libtool:
18806 @: $(MAKE); $(unstage)
18807 @r=`${PWD_COMMAND}`; export r; \
18808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18809 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18811 $(HOST_EXPORTS) \
18812 echo Configuring in $(HOST_SUBDIR)/libtool; \
18813 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18814 case $(srcdir) in \
18815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18816 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18818 esac; \
18819 srcdiroption="--srcdir=$${topdir}/libtool"; \
18820 libsrcdir="$$s/libtool"; \
18821 $(SHELL) $${libsrcdir}/configure \
18822 $(HOST_CONFIGARGS) $${srcdiroption} \
18823 || exit 1
18824 @endif libtool
18830 .PHONY: all-libtool maybe-all-libtool
18831 maybe-all-libtool:
18832 @if libtool
18833 TARGET-libtool=all
18834 maybe-all-libtool: all-libtool
18835 all-libtool: configure-libtool
18836 @: $(MAKE); $(unstage)
18837 @r=`${PWD_COMMAND}`; export r; \
18838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18839 $(HOST_EXPORTS) \
18840 (cd $(HOST_SUBDIR)/libtool && \
18841 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18842 @endif libtool
18847 .PHONY: check-libtool maybe-check-libtool
18848 maybe-check-libtool:
18849 @if libtool
18850 maybe-check-libtool: check-libtool
18852 check-libtool:
18853 @: $(MAKE); $(unstage)
18854 @r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856 $(HOST_EXPORTS) \
18857 (cd $(HOST_SUBDIR)/libtool && \
18858 $(MAKE) $(FLAGS_TO_PASS) check)
18860 @endif libtool
18862 .PHONY: install-libtool maybe-install-libtool
18863 maybe-install-libtool:
18864 @if libtool
18865 maybe-install-libtool: install-libtool
18867 install-libtool: installdirs
18868 @: $(MAKE); $(unstage)
18869 @r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(HOST_EXPORTS) \
18872 (cd $(HOST_SUBDIR)/libtool && \
18873 $(MAKE) $(FLAGS_TO_PASS) install)
18875 @endif libtool
18877 # Other targets (info, dvi, etc.)
18879 .PHONY: maybe-info-libtool info-libtool
18880 maybe-info-libtool:
18881 @if libtool
18882 maybe-info-libtool: info-libtool
18884 info-libtool: \
18885 configure-libtool
18886 @: $(MAKE); $(unstage)
18887 @[ -f ./libtool/Makefile ] || exit 0; \
18888 r=`${PWD_COMMAND}`; export r; \
18889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18890 $(HOST_EXPORTS) \
18891 for flag in $(EXTRA_HOST_FLAGS) ; do \
18892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18893 done; \
18894 echo "Doing info in libtool" ; \
18895 (cd $(HOST_SUBDIR)/libtool && \
18896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18898 "RANLIB=$${RANLIB}" \
18899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18900 info) \
18901 || exit 1
18903 @endif libtool
18905 .PHONY: maybe-dvi-libtool dvi-libtool
18906 maybe-dvi-libtool:
18907 @if libtool
18908 maybe-dvi-libtool: dvi-libtool
18910 dvi-libtool: \
18911 configure-libtool
18912 @: $(MAKE); $(unstage)
18913 @[ -f ./libtool/Makefile ] || exit 0; \
18914 r=`${PWD_COMMAND}`; export r; \
18915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18916 $(HOST_EXPORTS) \
18917 for flag in $(EXTRA_HOST_FLAGS) ; do \
18918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18919 done; \
18920 echo "Doing dvi in libtool" ; \
18921 (cd $(HOST_SUBDIR)/libtool && \
18922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18924 "RANLIB=$${RANLIB}" \
18925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18926 dvi) \
18927 || exit 1
18929 @endif libtool
18931 .PHONY: maybe-html-libtool html-libtool
18932 maybe-html-libtool:
18933 @if libtool
18934 maybe-html-libtool: html-libtool
18936 html-libtool: \
18937 configure-libtool
18938 @: $(MAKE); $(unstage)
18939 @[ -f ./libtool/Makefile ] || exit 0; \
18940 r=`${PWD_COMMAND}`; export r; \
18941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18942 $(HOST_EXPORTS) \
18943 for flag in $(EXTRA_HOST_FLAGS) ; do \
18944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18945 done; \
18946 echo "Doing html in libtool" ; \
18947 (cd $(HOST_SUBDIR)/libtool && \
18948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18950 "RANLIB=$${RANLIB}" \
18951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18952 html) \
18953 || exit 1
18955 @endif libtool
18957 .PHONY: maybe-TAGS-libtool TAGS-libtool
18958 maybe-TAGS-libtool:
18959 @if libtool
18960 maybe-TAGS-libtool: TAGS-libtool
18962 TAGS-libtool: \
18963 configure-libtool
18964 @: $(MAKE); $(unstage)
18965 @[ -f ./libtool/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 $(HOST_EXPORTS) \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18971 done; \
18972 echo "Doing TAGS in libtool" ; \
18973 (cd $(HOST_SUBDIR)/libtool && \
18974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18976 "RANLIB=$${RANLIB}" \
18977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18978 TAGS) \
18979 || exit 1
18981 @endif libtool
18983 .PHONY: maybe-install-info-libtool install-info-libtool
18984 maybe-install-info-libtool:
18985 @if libtool
18986 maybe-install-info-libtool: install-info-libtool
18988 install-info-libtool: \
18989 configure-libtool \
18990 info-libtool
18991 @: $(MAKE); $(unstage)
18992 @[ -f ./libtool/Makefile ] || exit 0; \
18993 r=`${PWD_COMMAND}`; export r; \
18994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18995 $(HOST_EXPORTS) \
18996 for flag in $(EXTRA_HOST_FLAGS) ; do \
18997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18998 done; \
18999 echo "Doing install-info in libtool" ; \
19000 (cd $(HOST_SUBDIR)/libtool && \
19001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19003 "RANLIB=$${RANLIB}" \
19004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19005 install-info) \
19006 || exit 1
19008 @endif libtool
19010 .PHONY: maybe-installcheck-libtool installcheck-libtool
19011 maybe-installcheck-libtool:
19012 @if libtool
19013 maybe-installcheck-libtool: installcheck-libtool
19015 installcheck-libtool: \
19016 configure-libtool
19017 @: $(MAKE); $(unstage)
19018 @[ -f ./libtool/Makefile ] || exit 0; \
19019 r=`${PWD_COMMAND}`; export r; \
19020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19021 $(HOST_EXPORTS) \
19022 for flag in $(EXTRA_HOST_FLAGS) ; do \
19023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19024 done; \
19025 echo "Doing installcheck in libtool" ; \
19026 (cd $(HOST_SUBDIR)/libtool && \
19027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19029 "RANLIB=$${RANLIB}" \
19030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19031 installcheck) \
19032 || exit 1
19034 @endif libtool
19036 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
19037 maybe-mostlyclean-libtool:
19038 @if libtool
19039 maybe-mostlyclean-libtool: mostlyclean-libtool
19041 mostlyclean-libtool:
19042 @: $(MAKE); $(unstage)
19043 @[ -f ./libtool/Makefile ] || exit 0; \
19044 r=`${PWD_COMMAND}`; export r; \
19045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19046 $(HOST_EXPORTS) \
19047 for flag in $(EXTRA_HOST_FLAGS) ; do \
19048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19049 done; \
19050 echo "Doing mostlyclean in libtool" ; \
19051 (cd $(HOST_SUBDIR)/libtool && \
19052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19054 "RANLIB=$${RANLIB}" \
19055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19056 mostlyclean) \
19057 || exit 1
19059 @endif libtool
19061 .PHONY: maybe-clean-libtool clean-libtool
19062 maybe-clean-libtool:
19063 @if libtool
19064 maybe-clean-libtool: clean-libtool
19066 clean-libtool:
19067 @: $(MAKE); $(unstage)
19068 @[ -f ./libtool/Makefile ] || exit 0; \
19069 r=`${PWD_COMMAND}`; export r; \
19070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19071 $(HOST_EXPORTS) \
19072 for flag in $(EXTRA_HOST_FLAGS) ; do \
19073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19074 done; \
19075 echo "Doing clean in libtool" ; \
19076 (cd $(HOST_SUBDIR)/libtool && \
19077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19079 "RANLIB=$${RANLIB}" \
19080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19081 clean) \
19082 || exit 1
19084 @endif libtool
19086 .PHONY: maybe-distclean-libtool distclean-libtool
19087 maybe-distclean-libtool:
19088 @if libtool
19089 maybe-distclean-libtool: distclean-libtool
19091 distclean-libtool:
19092 @: $(MAKE); $(unstage)
19093 @[ -f ./libtool/Makefile ] || exit 0; \
19094 r=`${PWD_COMMAND}`; export r; \
19095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19096 $(HOST_EXPORTS) \
19097 for flag in $(EXTRA_HOST_FLAGS) ; do \
19098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19099 done; \
19100 echo "Doing distclean in libtool" ; \
19101 (cd $(HOST_SUBDIR)/libtool && \
19102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19104 "RANLIB=$${RANLIB}" \
19105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19106 distclean) \
19107 || exit 1
19109 @endif libtool
19111 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
19112 maybe-maintainer-clean-libtool:
19113 @if libtool
19114 maybe-maintainer-clean-libtool: maintainer-clean-libtool
19116 maintainer-clean-libtool:
19117 @: $(MAKE); $(unstage)
19118 @[ -f ./libtool/Makefile ] || exit 0; \
19119 r=`${PWD_COMMAND}`; export r; \
19120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19121 $(HOST_EXPORTS) \
19122 for flag in $(EXTRA_HOST_FLAGS) ; do \
19123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19124 done; \
19125 echo "Doing maintainer-clean in libtool" ; \
19126 (cd $(HOST_SUBDIR)/libtool && \
19127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19129 "RANLIB=$${RANLIB}" \
19130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19131 maintainer-clean) \
19132 || exit 1
19134 @endif libtool
19138 .PHONY: configure-m4 maybe-configure-m4
19139 maybe-configure-m4:
19140 @if m4
19141 maybe-configure-m4: configure-m4
19142 configure-m4:
19143 @: $(MAKE); $(unstage)
19144 @r=`${PWD_COMMAND}`; export r; \
19145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19146 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
19147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
19148 $(HOST_EXPORTS) \
19149 echo Configuring in $(HOST_SUBDIR)/m4; \
19150 cd "$(HOST_SUBDIR)/m4" || exit 1; \
19151 case $(srcdir) in \
19152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19153 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
19154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19155 esac; \
19156 srcdiroption="--srcdir=$${topdir}/m4"; \
19157 libsrcdir="$$s/m4"; \
19158 $(SHELL) $${libsrcdir}/configure \
19159 $(HOST_CONFIGARGS) $${srcdiroption} \
19160 || exit 1
19161 @endif m4
19167 .PHONY: all-m4 maybe-all-m4
19168 maybe-all-m4:
19169 @if m4
19170 TARGET-m4=all
19171 maybe-all-m4: all-m4
19172 all-m4: configure-m4
19173 @: $(MAKE); $(unstage)
19174 @r=`${PWD_COMMAND}`; export r; \
19175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19176 $(HOST_EXPORTS) \
19177 (cd $(HOST_SUBDIR)/m4 && \
19178 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
19179 @endif m4
19184 .PHONY: check-m4 maybe-check-m4
19185 maybe-check-m4:
19186 @if m4
19187 maybe-check-m4: check-m4
19189 check-m4:
19190 @: $(MAKE); $(unstage)
19191 @r=`${PWD_COMMAND}`; export r; \
19192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19193 $(HOST_EXPORTS) \
19194 (cd $(HOST_SUBDIR)/m4 && \
19195 $(MAKE) $(FLAGS_TO_PASS) check)
19197 @endif m4
19199 .PHONY: install-m4 maybe-install-m4
19200 maybe-install-m4:
19201 @if m4
19202 maybe-install-m4: install-m4
19204 install-m4: installdirs
19205 @: $(MAKE); $(unstage)
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 $(HOST_EXPORTS) \
19209 (cd $(HOST_SUBDIR)/m4 && \
19210 $(MAKE) $(FLAGS_TO_PASS) install)
19212 @endif m4
19214 # Other targets (info, dvi, etc.)
19216 .PHONY: maybe-info-m4 info-m4
19217 maybe-info-m4:
19218 @if m4
19219 maybe-info-m4: info-m4
19221 info-m4: \
19222 configure-m4
19223 @: $(MAKE); $(unstage)
19224 @[ -f ./m4/Makefile ] || exit 0; \
19225 r=`${PWD_COMMAND}`; export r; \
19226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19227 $(HOST_EXPORTS) \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19230 done; \
19231 echo "Doing info in m4" ; \
19232 (cd $(HOST_SUBDIR)/m4 && \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19235 "RANLIB=$${RANLIB}" \
19236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19237 info) \
19238 || exit 1
19240 @endif m4
19242 .PHONY: maybe-dvi-m4 dvi-m4
19243 maybe-dvi-m4:
19244 @if m4
19245 maybe-dvi-m4: dvi-m4
19247 dvi-m4: \
19248 configure-m4
19249 @: $(MAKE); $(unstage)
19250 @[ -f ./m4/Makefile ] || exit 0; \
19251 r=`${PWD_COMMAND}`; export r; \
19252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19253 $(HOST_EXPORTS) \
19254 for flag in $(EXTRA_HOST_FLAGS) ; do \
19255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19256 done; \
19257 echo "Doing dvi in m4" ; \
19258 (cd $(HOST_SUBDIR)/m4 && \
19259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19261 "RANLIB=$${RANLIB}" \
19262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19263 dvi) \
19264 || exit 1
19266 @endif m4
19268 .PHONY: maybe-html-m4 html-m4
19269 maybe-html-m4:
19270 @if m4
19271 maybe-html-m4: html-m4
19273 html-m4: \
19274 configure-m4
19275 @: $(MAKE); $(unstage)
19276 @[ -f ./m4/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(HOST_EXPORTS) \
19280 for flag in $(EXTRA_HOST_FLAGS) ; do \
19281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 done; \
19283 echo "Doing html in m4" ; \
19284 (cd $(HOST_SUBDIR)/m4 && \
19285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19287 "RANLIB=$${RANLIB}" \
19288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19289 html) \
19290 || exit 1
19292 @endif m4
19294 .PHONY: maybe-TAGS-m4 TAGS-m4
19295 maybe-TAGS-m4:
19296 @if m4
19297 maybe-TAGS-m4: TAGS-m4
19299 TAGS-m4: \
19300 configure-m4
19301 @: $(MAKE); $(unstage)
19302 @[ -f ./m4/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing TAGS in m4" ; \
19310 (cd $(HOST_SUBDIR)/m4 && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19315 TAGS) \
19316 || exit 1
19318 @endif m4
19320 .PHONY: maybe-install-info-m4 install-info-m4
19321 maybe-install-info-m4:
19322 @if m4
19323 maybe-install-info-m4: install-info-m4
19325 install-info-m4: \
19326 configure-m4 \
19327 info-m4
19328 @: $(MAKE); $(unstage)
19329 @[ -f ./m4/Makefile ] || exit 0; \
19330 r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 $(HOST_EXPORTS) \
19333 for flag in $(EXTRA_HOST_FLAGS) ; do \
19334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19335 done; \
19336 echo "Doing install-info in m4" ; \
19337 (cd $(HOST_SUBDIR)/m4 && \
19338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19340 "RANLIB=$${RANLIB}" \
19341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19342 install-info) \
19343 || exit 1
19345 @endif m4
19347 .PHONY: maybe-installcheck-m4 installcheck-m4
19348 maybe-installcheck-m4:
19349 @if m4
19350 maybe-installcheck-m4: installcheck-m4
19352 installcheck-m4: \
19353 configure-m4
19354 @: $(MAKE); $(unstage)
19355 @[ -f ./m4/Makefile ] || exit 0; \
19356 r=`${PWD_COMMAND}`; export r; \
19357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19358 $(HOST_EXPORTS) \
19359 for flag in $(EXTRA_HOST_FLAGS) ; do \
19360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19361 done; \
19362 echo "Doing installcheck in m4" ; \
19363 (cd $(HOST_SUBDIR)/m4 && \
19364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19366 "RANLIB=$${RANLIB}" \
19367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19368 installcheck) \
19369 || exit 1
19371 @endif m4
19373 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
19374 maybe-mostlyclean-m4:
19375 @if m4
19376 maybe-mostlyclean-m4: mostlyclean-m4
19378 mostlyclean-m4:
19379 @: $(MAKE); $(unstage)
19380 @[ -f ./m4/Makefile ] || exit 0; \
19381 r=`${PWD_COMMAND}`; export r; \
19382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19383 $(HOST_EXPORTS) \
19384 for flag in $(EXTRA_HOST_FLAGS) ; do \
19385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19386 done; \
19387 echo "Doing mostlyclean in m4" ; \
19388 (cd $(HOST_SUBDIR)/m4 && \
19389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19391 "RANLIB=$${RANLIB}" \
19392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19393 mostlyclean) \
19394 || exit 1
19396 @endif m4
19398 .PHONY: maybe-clean-m4 clean-m4
19399 maybe-clean-m4:
19400 @if m4
19401 maybe-clean-m4: clean-m4
19403 clean-m4:
19404 @: $(MAKE); $(unstage)
19405 @[ -f ./m4/Makefile ] || exit 0; \
19406 r=`${PWD_COMMAND}`; export r; \
19407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19408 $(HOST_EXPORTS) \
19409 for flag in $(EXTRA_HOST_FLAGS) ; do \
19410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19411 done; \
19412 echo "Doing clean in m4" ; \
19413 (cd $(HOST_SUBDIR)/m4 && \
19414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19416 "RANLIB=$${RANLIB}" \
19417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19418 clean) \
19419 || exit 1
19421 @endif m4
19423 .PHONY: maybe-distclean-m4 distclean-m4
19424 maybe-distclean-m4:
19425 @if m4
19426 maybe-distclean-m4: distclean-m4
19428 distclean-m4:
19429 @: $(MAKE); $(unstage)
19430 @[ -f ./m4/Makefile ] || exit 0; \
19431 r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(HOST_EXPORTS) \
19434 for flag in $(EXTRA_HOST_FLAGS) ; do \
19435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19436 done; \
19437 echo "Doing distclean in m4" ; \
19438 (cd $(HOST_SUBDIR)/m4 && \
19439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19441 "RANLIB=$${RANLIB}" \
19442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19443 distclean) \
19444 || exit 1
19446 @endif m4
19448 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
19449 maybe-maintainer-clean-m4:
19450 @if m4
19451 maybe-maintainer-clean-m4: maintainer-clean-m4
19453 maintainer-clean-m4:
19454 @: $(MAKE); $(unstage)
19455 @[ -f ./m4/Makefile ] || exit 0; \
19456 r=`${PWD_COMMAND}`; export r; \
19457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19458 $(HOST_EXPORTS) \
19459 for flag in $(EXTRA_HOST_FLAGS) ; do \
19460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19461 done; \
19462 echo "Doing maintainer-clean in m4" ; \
19463 (cd $(HOST_SUBDIR)/m4 && \
19464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19466 "RANLIB=$${RANLIB}" \
19467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19468 maintainer-clean) \
19469 || exit 1
19471 @endif m4
19475 .PHONY: configure-make maybe-configure-make
19476 maybe-configure-make:
19477 @if make
19478 maybe-configure-make: configure-make
19479 configure-make:
19480 @: $(MAKE); $(unstage)
19481 @r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19483 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
19484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
19485 $(HOST_EXPORTS) \
19486 echo Configuring in $(HOST_SUBDIR)/make; \
19487 cd "$(HOST_SUBDIR)/make" || exit 1; \
19488 case $(srcdir) in \
19489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19490 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
19491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19492 esac; \
19493 srcdiroption="--srcdir=$${topdir}/make"; \
19494 libsrcdir="$$s/make"; \
19495 $(SHELL) $${libsrcdir}/configure \
19496 $(HOST_CONFIGARGS) $${srcdiroption} \
19497 || exit 1
19498 @endif make
19504 .PHONY: all-make maybe-all-make
19505 maybe-all-make:
19506 @if make
19507 TARGET-make=all
19508 maybe-all-make: all-make
19509 all-make: configure-make
19510 @: $(MAKE); $(unstage)
19511 @r=`${PWD_COMMAND}`; export r; \
19512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19513 $(HOST_EXPORTS) \
19514 (cd $(HOST_SUBDIR)/make && \
19515 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
19516 @endif make
19521 .PHONY: check-make maybe-check-make
19522 maybe-check-make:
19523 @if make
19524 maybe-check-make: check-make
19526 check-make:
19527 @: $(MAKE); $(unstage)
19528 @r=`${PWD_COMMAND}`; export r; \
19529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 $(HOST_EXPORTS) \
19531 (cd $(HOST_SUBDIR)/make && \
19532 $(MAKE) $(FLAGS_TO_PASS) check)
19534 @endif make
19536 .PHONY: install-make maybe-install-make
19537 maybe-install-make:
19538 @if make
19539 maybe-install-make: install-make
19541 install-make: installdirs
19542 @: $(MAKE); $(unstage)
19543 @r=`${PWD_COMMAND}`; export r; \
19544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19545 $(HOST_EXPORTS) \
19546 (cd $(HOST_SUBDIR)/make && \
19547 $(MAKE) $(FLAGS_TO_PASS) install)
19549 @endif make
19551 # Other targets (info, dvi, etc.)
19553 .PHONY: maybe-info-make info-make
19554 maybe-info-make:
19555 @if make
19556 maybe-info-make: info-make
19558 info-make: \
19559 configure-make
19560 @: $(MAKE); $(unstage)
19561 @[ -f ./make/Makefile ] || exit 0; \
19562 r=`${PWD_COMMAND}`; export r; \
19563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19564 $(HOST_EXPORTS) \
19565 for flag in $(EXTRA_HOST_FLAGS) ; do \
19566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19567 done; \
19568 echo "Doing info in make" ; \
19569 (cd $(HOST_SUBDIR)/make && \
19570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19572 "RANLIB=$${RANLIB}" \
19573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19574 info) \
19575 || exit 1
19577 @endif make
19579 .PHONY: maybe-dvi-make dvi-make
19580 maybe-dvi-make:
19581 @if make
19582 maybe-dvi-make: dvi-make
19584 dvi-make: \
19585 configure-make
19586 @: $(MAKE); $(unstage)
19587 @[ -f ./make/Makefile ] || exit 0; \
19588 r=`${PWD_COMMAND}`; export r; \
19589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19590 $(HOST_EXPORTS) \
19591 for flag in $(EXTRA_HOST_FLAGS) ; do \
19592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19593 done; \
19594 echo "Doing dvi in make" ; \
19595 (cd $(HOST_SUBDIR)/make && \
19596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19598 "RANLIB=$${RANLIB}" \
19599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19600 dvi) \
19601 || exit 1
19603 @endif make
19605 .PHONY: maybe-html-make html-make
19606 maybe-html-make:
19607 @if make
19608 maybe-html-make: html-make
19610 html-make: \
19611 configure-make
19612 @: $(MAKE); $(unstage)
19613 @[ -f ./make/Makefile ] || exit 0; \
19614 r=`${PWD_COMMAND}`; export r; \
19615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19616 $(HOST_EXPORTS) \
19617 for flag in $(EXTRA_HOST_FLAGS) ; do \
19618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19619 done; \
19620 echo "Doing html in make" ; \
19621 (cd $(HOST_SUBDIR)/make && \
19622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19624 "RANLIB=$${RANLIB}" \
19625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19626 html) \
19627 || exit 1
19629 @endif make
19631 .PHONY: maybe-TAGS-make TAGS-make
19632 maybe-TAGS-make:
19633 @if make
19634 maybe-TAGS-make: TAGS-make
19636 TAGS-make: \
19637 configure-make
19638 @: $(MAKE); $(unstage)
19639 @[ -f ./make/Makefile ] || exit 0; \
19640 r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19642 $(HOST_EXPORTS) \
19643 for flag in $(EXTRA_HOST_FLAGS) ; do \
19644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19645 done; \
19646 echo "Doing TAGS in make" ; \
19647 (cd $(HOST_SUBDIR)/make && \
19648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19650 "RANLIB=$${RANLIB}" \
19651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19652 TAGS) \
19653 || exit 1
19655 @endif make
19657 .PHONY: maybe-install-info-make install-info-make
19658 maybe-install-info-make:
19659 @if make
19660 maybe-install-info-make: install-info-make
19662 install-info-make: \
19663 configure-make \
19664 info-make
19665 @: $(MAKE); $(unstage)
19666 @[ -f ./make/Makefile ] || exit 0; \
19667 r=`${PWD_COMMAND}`; export r; \
19668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19669 $(HOST_EXPORTS) \
19670 for flag in $(EXTRA_HOST_FLAGS) ; do \
19671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19672 done; \
19673 echo "Doing install-info in make" ; \
19674 (cd $(HOST_SUBDIR)/make && \
19675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19677 "RANLIB=$${RANLIB}" \
19678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19679 install-info) \
19680 || exit 1
19682 @endif make
19684 .PHONY: maybe-installcheck-make installcheck-make
19685 maybe-installcheck-make:
19686 @if make
19687 maybe-installcheck-make: installcheck-make
19689 installcheck-make: \
19690 configure-make
19691 @: $(MAKE); $(unstage)
19692 @[ -f ./make/Makefile ] || exit 0; \
19693 r=`${PWD_COMMAND}`; export r; \
19694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19695 $(HOST_EXPORTS) \
19696 for flag in $(EXTRA_HOST_FLAGS) ; do \
19697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19698 done; \
19699 echo "Doing installcheck in make" ; \
19700 (cd $(HOST_SUBDIR)/make && \
19701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19703 "RANLIB=$${RANLIB}" \
19704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19705 installcheck) \
19706 || exit 1
19708 @endif make
19710 .PHONY: maybe-mostlyclean-make mostlyclean-make
19711 maybe-mostlyclean-make:
19712 @if make
19713 maybe-mostlyclean-make: mostlyclean-make
19715 mostlyclean-make:
19716 @: $(MAKE); $(unstage)
19717 @[ -f ./make/Makefile ] || exit 0; \
19718 r=`${PWD_COMMAND}`; export r; \
19719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19720 $(HOST_EXPORTS) \
19721 for flag in $(EXTRA_HOST_FLAGS) ; do \
19722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19723 done; \
19724 echo "Doing mostlyclean in make" ; \
19725 (cd $(HOST_SUBDIR)/make && \
19726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19728 "RANLIB=$${RANLIB}" \
19729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19730 mostlyclean) \
19731 || exit 1
19733 @endif make
19735 .PHONY: maybe-clean-make clean-make
19736 maybe-clean-make:
19737 @if make
19738 maybe-clean-make: clean-make
19740 clean-make:
19741 @: $(MAKE); $(unstage)
19742 @[ -f ./make/Makefile ] || exit 0; \
19743 r=`${PWD_COMMAND}`; export r; \
19744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19745 $(HOST_EXPORTS) \
19746 for flag in $(EXTRA_HOST_FLAGS) ; do \
19747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19748 done; \
19749 echo "Doing clean in make" ; \
19750 (cd $(HOST_SUBDIR)/make && \
19751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19753 "RANLIB=$${RANLIB}" \
19754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19755 clean) \
19756 || exit 1
19758 @endif make
19760 .PHONY: maybe-distclean-make distclean-make
19761 maybe-distclean-make:
19762 @if make
19763 maybe-distclean-make: distclean-make
19765 distclean-make:
19766 @: $(MAKE); $(unstage)
19767 @[ -f ./make/Makefile ] || exit 0; \
19768 r=`${PWD_COMMAND}`; export r; \
19769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 $(HOST_EXPORTS) \
19771 for flag in $(EXTRA_HOST_FLAGS) ; do \
19772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19773 done; \
19774 echo "Doing distclean in make" ; \
19775 (cd $(HOST_SUBDIR)/make && \
19776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19778 "RANLIB=$${RANLIB}" \
19779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19780 distclean) \
19781 || exit 1
19783 @endif make
19785 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19786 maybe-maintainer-clean-make:
19787 @if make
19788 maybe-maintainer-clean-make: maintainer-clean-make
19790 maintainer-clean-make:
19791 @: $(MAKE); $(unstage)
19792 @[ -f ./make/Makefile ] || exit 0; \
19793 r=`${PWD_COMMAND}`; export r; \
19794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19795 $(HOST_EXPORTS) \
19796 for flag in $(EXTRA_HOST_FLAGS) ; do \
19797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19798 done; \
19799 echo "Doing maintainer-clean in make" ; \
19800 (cd $(HOST_SUBDIR)/make && \
19801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19803 "RANLIB=$${RANLIB}" \
19804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19805 maintainer-clean) \
19806 || exit 1
19808 @endif make
19812 .PHONY: configure-mmalloc maybe-configure-mmalloc
19813 maybe-configure-mmalloc:
19814 @if mmalloc
19815 maybe-configure-mmalloc: configure-mmalloc
19816 configure-mmalloc:
19817 @: $(MAKE); $(unstage)
19818 @r=`${PWD_COMMAND}`; export r; \
19819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19820 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19822 $(HOST_EXPORTS) \
19823 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19824 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19825 case $(srcdir) in \
19826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19827 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19829 esac; \
19830 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19831 libsrcdir="$$s/mmalloc"; \
19832 $(SHELL) $${libsrcdir}/configure \
19833 $(HOST_CONFIGARGS) $${srcdiroption} \
19834 || exit 1
19835 @endif mmalloc
19841 .PHONY: all-mmalloc maybe-all-mmalloc
19842 maybe-all-mmalloc:
19843 @if mmalloc
19844 TARGET-mmalloc=all
19845 maybe-all-mmalloc: all-mmalloc
19846 all-mmalloc: configure-mmalloc
19847 @: $(MAKE); $(unstage)
19848 @r=`${PWD_COMMAND}`; export r; \
19849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19850 $(HOST_EXPORTS) \
19851 (cd $(HOST_SUBDIR)/mmalloc && \
19852 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19853 @endif mmalloc
19858 .PHONY: check-mmalloc maybe-check-mmalloc
19859 maybe-check-mmalloc:
19860 @if mmalloc
19861 maybe-check-mmalloc: check-mmalloc
19863 check-mmalloc:
19865 @endif mmalloc
19867 .PHONY: install-mmalloc maybe-install-mmalloc
19868 maybe-install-mmalloc:
19869 @if mmalloc
19870 maybe-install-mmalloc: install-mmalloc
19872 install-mmalloc: installdirs
19873 @: $(MAKE); $(unstage)
19874 @r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19876 $(HOST_EXPORTS) \
19877 (cd $(HOST_SUBDIR)/mmalloc && \
19878 $(MAKE) $(FLAGS_TO_PASS) install)
19880 @endif mmalloc
19882 # Other targets (info, dvi, etc.)
19884 .PHONY: maybe-info-mmalloc info-mmalloc
19885 maybe-info-mmalloc:
19886 @if mmalloc
19887 maybe-info-mmalloc: info-mmalloc
19889 info-mmalloc: \
19890 configure-mmalloc
19891 @: $(MAKE); $(unstage)
19892 @[ -f ./mmalloc/Makefile ] || exit 0; \
19893 r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 $(HOST_EXPORTS) \
19896 for flag in $(EXTRA_HOST_FLAGS) ; do \
19897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19898 done; \
19899 echo "Doing info in mmalloc" ; \
19900 (cd $(HOST_SUBDIR)/mmalloc && \
19901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19903 "RANLIB=$${RANLIB}" \
19904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19905 info) \
19906 || exit 1
19908 @endif mmalloc
19910 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19911 maybe-dvi-mmalloc:
19912 @if mmalloc
19913 maybe-dvi-mmalloc: dvi-mmalloc
19915 dvi-mmalloc: \
19916 configure-mmalloc
19917 @: $(MAKE); $(unstage)
19918 @[ -f ./mmalloc/Makefile ] || exit 0; \
19919 r=`${PWD_COMMAND}`; export r; \
19920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19921 $(HOST_EXPORTS) \
19922 for flag in $(EXTRA_HOST_FLAGS) ; do \
19923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19924 done; \
19925 echo "Doing dvi in mmalloc" ; \
19926 (cd $(HOST_SUBDIR)/mmalloc && \
19927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19929 "RANLIB=$${RANLIB}" \
19930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19931 dvi) \
19932 || exit 1
19934 @endif mmalloc
19936 .PHONY: maybe-html-mmalloc html-mmalloc
19937 maybe-html-mmalloc:
19938 @if mmalloc
19939 maybe-html-mmalloc: html-mmalloc
19941 html-mmalloc: \
19942 configure-mmalloc
19943 @: $(MAKE); $(unstage)
19944 @[ -f ./mmalloc/Makefile ] || exit 0; \
19945 r=`${PWD_COMMAND}`; export r; \
19946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19947 $(HOST_EXPORTS) \
19948 for flag in $(EXTRA_HOST_FLAGS) ; do \
19949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19950 done; \
19951 echo "Doing html in mmalloc" ; \
19952 (cd $(HOST_SUBDIR)/mmalloc && \
19953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19955 "RANLIB=$${RANLIB}" \
19956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19957 html) \
19958 || exit 1
19960 @endif mmalloc
19962 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19963 maybe-TAGS-mmalloc:
19964 @if mmalloc
19965 maybe-TAGS-mmalloc: TAGS-mmalloc
19967 TAGS-mmalloc: \
19968 configure-mmalloc
19969 @: $(MAKE); $(unstage)
19970 @[ -f ./mmalloc/Makefile ] || exit 0; \
19971 r=`${PWD_COMMAND}`; export r; \
19972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19973 $(HOST_EXPORTS) \
19974 for flag in $(EXTRA_HOST_FLAGS) ; do \
19975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19976 done; \
19977 echo "Doing TAGS in mmalloc" ; \
19978 (cd $(HOST_SUBDIR)/mmalloc && \
19979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19981 "RANLIB=$${RANLIB}" \
19982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19983 TAGS) \
19984 || exit 1
19986 @endif mmalloc
19988 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19989 maybe-install-info-mmalloc:
19990 @if mmalloc
19991 maybe-install-info-mmalloc: install-info-mmalloc
19993 install-info-mmalloc: \
19994 configure-mmalloc \
19995 info-mmalloc
19996 @: $(MAKE); $(unstage)
19997 @[ -f ./mmalloc/Makefile ] || exit 0; \
19998 r=`${PWD_COMMAND}`; export r; \
19999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20000 $(HOST_EXPORTS) \
20001 for flag in $(EXTRA_HOST_FLAGS) ; do \
20002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20003 done; \
20004 echo "Doing install-info in mmalloc" ; \
20005 (cd $(HOST_SUBDIR)/mmalloc && \
20006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20008 "RANLIB=$${RANLIB}" \
20009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20010 install-info) \
20011 || exit 1
20013 @endif mmalloc
20015 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
20016 maybe-installcheck-mmalloc:
20017 @if mmalloc
20018 maybe-installcheck-mmalloc: installcheck-mmalloc
20020 installcheck-mmalloc: \
20021 configure-mmalloc
20022 @: $(MAKE); $(unstage)
20023 @[ -f ./mmalloc/Makefile ] || exit 0; \
20024 r=`${PWD_COMMAND}`; export r; \
20025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20026 $(HOST_EXPORTS) \
20027 for flag in $(EXTRA_HOST_FLAGS) ; do \
20028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20029 done; \
20030 echo "Doing installcheck in mmalloc" ; \
20031 (cd $(HOST_SUBDIR)/mmalloc && \
20032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20034 "RANLIB=$${RANLIB}" \
20035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20036 installcheck) \
20037 || exit 1
20039 @endif mmalloc
20041 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
20042 maybe-mostlyclean-mmalloc:
20043 @if mmalloc
20044 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
20046 mostlyclean-mmalloc:
20047 @: $(MAKE); $(unstage)
20048 @[ -f ./mmalloc/Makefile ] || exit 0; \
20049 r=`${PWD_COMMAND}`; export r; \
20050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20051 $(HOST_EXPORTS) \
20052 for flag in $(EXTRA_HOST_FLAGS) ; do \
20053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20054 done; \
20055 echo "Doing mostlyclean in mmalloc" ; \
20056 (cd $(HOST_SUBDIR)/mmalloc && \
20057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20059 "RANLIB=$${RANLIB}" \
20060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20061 mostlyclean) \
20062 || exit 1
20064 @endif mmalloc
20066 .PHONY: maybe-clean-mmalloc clean-mmalloc
20067 maybe-clean-mmalloc:
20068 @if mmalloc
20069 maybe-clean-mmalloc: clean-mmalloc
20071 clean-mmalloc:
20072 @: $(MAKE); $(unstage)
20073 @[ -f ./mmalloc/Makefile ] || exit 0; \
20074 r=`${PWD_COMMAND}`; export r; \
20075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20076 $(HOST_EXPORTS) \
20077 for flag in $(EXTRA_HOST_FLAGS) ; do \
20078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20079 done; \
20080 echo "Doing clean in mmalloc" ; \
20081 (cd $(HOST_SUBDIR)/mmalloc && \
20082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20084 "RANLIB=$${RANLIB}" \
20085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20086 clean) \
20087 || exit 1
20089 @endif mmalloc
20091 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
20092 maybe-distclean-mmalloc:
20093 @if mmalloc
20094 maybe-distclean-mmalloc: distclean-mmalloc
20096 distclean-mmalloc:
20097 @: $(MAKE); $(unstage)
20098 @[ -f ./mmalloc/Makefile ] || exit 0; \
20099 r=`${PWD_COMMAND}`; export r; \
20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20101 $(HOST_EXPORTS) \
20102 for flag in $(EXTRA_HOST_FLAGS) ; do \
20103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20104 done; \
20105 echo "Doing distclean in mmalloc" ; \
20106 (cd $(HOST_SUBDIR)/mmalloc && \
20107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20109 "RANLIB=$${RANLIB}" \
20110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20111 distclean) \
20112 || exit 1
20114 @endif mmalloc
20116 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
20117 maybe-maintainer-clean-mmalloc:
20118 @if mmalloc
20119 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
20121 maintainer-clean-mmalloc:
20122 @: $(MAKE); $(unstage)
20123 @[ -f ./mmalloc/Makefile ] || exit 0; \
20124 r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 for flag in $(EXTRA_HOST_FLAGS) ; do \
20128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20129 done; \
20130 echo "Doing maintainer-clean in mmalloc" ; \
20131 (cd $(HOST_SUBDIR)/mmalloc && \
20132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20134 "RANLIB=$${RANLIB}" \
20135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20136 maintainer-clean) \
20137 || exit 1
20139 @endif mmalloc
20143 .PHONY: configure-patch maybe-configure-patch
20144 maybe-configure-patch:
20145 @if patch
20146 maybe-configure-patch: configure-patch
20147 configure-patch:
20148 @: $(MAKE); $(unstage)
20149 @r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
20152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
20153 $(HOST_EXPORTS) \
20154 echo Configuring in $(HOST_SUBDIR)/patch; \
20155 cd "$(HOST_SUBDIR)/patch" || exit 1; \
20156 case $(srcdir) in \
20157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20158 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
20159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20160 esac; \
20161 srcdiroption="--srcdir=$${topdir}/patch"; \
20162 libsrcdir="$$s/patch"; \
20163 $(SHELL) $${libsrcdir}/configure \
20164 $(HOST_CONFIGARGS) $${srcdiroption} \
20165 || exit 1
20166 @endif patch
20172 .PHONY: all-patch maybe-all-patch
20173 maybe-all-patch:
20174 @if patch
20175 TARGET-patch=all
20176 maybe-all-patch: all-patch
20177 all-patch: configure-patch
20178 @: $(MAKE); $(unstage)
20179 @r=`${PWD_COMMAND}`; export r; \
20180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20181 $(HOST_EXPORTS) \
20182 (cd $(HOST_SUBDIR)/patch && \
20183 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
20184 @endif patch
20189 .PHONY: check-patch maybe-check-patch
20190 maybe-check-patch:
20191 @if patch
20192 maybe-check-patch: check-patch
20194 check-patch:
20195 @: $(MAKE); $(unstage)
20196 @r=`${PWD_COMMAND}`; export r; \
20197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20198 $(HOST_EXPORTS) \
20199 (cd $(HOST_SUBDIR)/patch && \
20200 $(MAKE) $(FLAGS_TO_PASS) check)
20202 @endif patch
20204 .PHONY: install-patch maybe-install-patch
20205 maybe-install-patch:
20206 @if patch
20207 maybe-install-patch: install-patch
20209 install-patch: installdirs
20210 @: $(MAKE); $(unstage)
20211 @r=`${PWD_COMMAND}`; export r; \
20212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 $(HOST_EXPORTS) \
20214 (cd $(HOST_SUBDIR)/patch && \
20215 $(MAKE) $(FLAGS_TO_PASS) install)
20217 @endif patch
20219 # Other targets (info, dvi, etc.)
20221 .PHONY: maybe-info-patch info-patch
20222 maybe-info-patch:
20223 @if patch
20224 maybe-info-patch: info-patch
20226 info-patch: \
20227 configure-patch
20228 @: $(MAKE); $(unstage)
20229 @[ -f ./patch/Makefile ] || exit 0; \
20230 r=`${PWD_COMMAND}`; export r; \
20231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20232 $(HOST_EXPORTS) \
20233 for flag in $(EXTRA_HOST_FLAGS) ; do \
20234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20235 done; \
20236 echo "Doing info in patch" ; \
20237 (cd $(HOST_SUBDIR)/patch && \
20238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20240 "RANLIB=$${RANLIB}" \
20241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20242 info) \
20243 || exit 1
20245 @endif patch
20247 .PHONY: maybe-dvi-patch dvi-patch
20248 maybe-dvi-patch:
20249 @if patch
20250 maybe-dvi-patch: dvi-patch
20252 dvi-patch: \
20253 configure-patch
20254 @: $(MAKE); $(unstage)
20255 @[ -f ./patch/Makefile ] || exit 0; \
20256 r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 $(HOST_EXPORTS) \
20259 for flag in $(EXTRA_HOST_FLAGS) ; do \
20260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20261 done; \
20262 echo "Doing dvi in patch" ; \
20263 (cd $(HOST_SUBDIR)/patch && \
20264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20266 "RANLIB=$${RANLIB}" \
20267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20268 dvi) \
20269 || exit 1
20271 @endif patch
20273 .PHONY: maybe-html-patch html-patch
20274 maybe-html-patch:
20275 @if patch
20276 maybe-html-patch: html-patch
20278 html-patch: \
20279 configure-patch
20280 @: $(MAKE); $(unstage)
20281 @[ -f ./patch/Makefile ] || exit 0; \
20282 r=`${PWD_COMMAND}`; export r; \
20283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20284 $(HOST_EXPORTS) \
20285 for flag in $(EXTRA_HOST_FLAGS) ; do \
20286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20287 done; \
20288 echo "Doing html in patch" ; \
20289 (cd $(HOST_SUBDIR)/patch && \
20290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20292 "RANLIB=$${RANLIB}" \
20293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20294 html) \
20295 || exit 1
20297 @endif patch
20299 .PHONY: maybe-TAGS-patch TAGS-patch
20300 maybe-TAGS-patch:
20301 @if patch
20302 maybe-TAGS-patch: TAGS-patch
20304 TAGS-patch: \
20305 configure-patch
20306 @: $(MAKE); $(unstage)
20307 @[ -f ./patch/Makefile ] || exit 0; \
20308 r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 $(HOST_EXPORTS) \
20311 for flag in $(EXTRA_HOST_FLAGS) ; do \
20312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20313 done; \
20314 echo "Doing TAGS in patch" ; \
20315 (cd $(HOST_SUBDIR)/patch && \
20316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20318 "RANLIB=$${RANLIB}" \
20319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20320 TAGS) \
20321 || exit 1
20323 @endif patch
20325 .PHONY: maybe-install-info-patch install-info-patch
20326 maybe-install-info-patch:
20327 @if patch
20328 maybe-install-info-patch: install-info-patch
20330 install-info-patch: \
20331 configure-patch \
20332 info-patch
20333 @: $(MAKE); $(unstage)
20334 @[ -f ./patch/Makefile ] || exit 0; \
20335 r=`${PWD_COMMAND}`; export r; \
20336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20337 $(HOST_EXPORTS) \
20338 for flag in $(EXTRA_HOST_FLAGS) ; do \
20339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20340 done; \
20341 echo "Doing install-info in patch" ; \
20342 (cd $(HOST_SUBDIR)/patch && \
20343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20345 "RANLIB=$${RANLIB}" \
20346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20347 install-info) \
20348 || exit 1
20350 @endif patch
20352 .PHONY: maybe-installcheck-patch installcheck-patch
20353 maybe-installcheck-patch:
20354 @if patch
20355 maybe-installcheck-patch: installcheck-patch
20357 installcheck-patch: \
20358 configure-patch
20359 @: $(MAKE); $(unstage)
20360 @[ -f ./patch/Makefile ] || exit 0; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 for flag in $(EXTRA_HOST_FLAGS) ; do \
20365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20366 done; \
20367 echo "Doing installcheck in patch" ; \
20368 (cd $(HOST_SUBDIR)/patch && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20371 "RANLIB=$${RANLIB}" \
20372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20373 installcheck) \
20374 || exit 1
20376 @endif patch
20378 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
20379 maybe-mostlyclean-patch:
20380 @if patch
20381 maybe-mostlyclean-patch: mostlyclean-patch
20383 mostlyclean-patch:
20384 @: $(MAKE); $(unstage)
20385 @[ -f ./patch/Makefile ] || exit 0; \
20386 r=`${PWD_COMMAND}`; export r; \
20387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20388 $(HOST_EXPORTS) \
20389 for flag in $(EXTRA_HOST_FLAGS) ; do \
20390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 done; \
20392 echo "Doing mostlyclean in patch" ; \
20393 (cd $(HOST_SUBDIR)/patch && \
20394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20396 "RANLIB=$${RANLIB}" \
20397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20398 mostlyclean) \
20399 || exit 1
20401 @endif patch
20403 .PHONY: maybe-clean-patch clean-patch
20404 maybe-clean-patch:
20405 @if patch
20406 maybe-clean-patch: clean-patch
20408 clean-patch:
20409 @: $(MAKE); $(unstage)
20410 @[ -f ./patch/Makefile ] || exit 0; \
20411 r=`${PWD_COMMAND}`; export r; \
20412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20413 $(HOST_EXPORTS) \
20414 for flag in $(EXTRA_HOST_FLAGS) ; do \
20415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20416 done; \
20417 echo "Doing clean in patch" ; \
20418 (cd $(HOST_SUBDIR)/patch && \
20419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20421 "RANLIB=$${RANLIB}" \
20422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20423 clean) \
20424 || exit 1
20426 @endif patch
20428 .PHONY: maybe-distclean-patch distclean-patch
20429 maybe-distclean-patch:
20430 @if patch
20431 maybe-distclean-patch: distclean-patch
20433 distclean-patch:
20434 @: $(MAKE); $(unstage)
20435 @[ -f ./patch/Makefile ] || exit 0; \
20436 r=`${PWD_COMMAND}`; export r; \
20437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20438 $(HOST_EXPORTS) \
20439 for flag in $(EXTRA_HOST_FLAGS) ; do \
20440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20441 done; \
20442 echo "Doing distclean in patch" ; \
20443 (cd $(HOST_SUBDIR)/patch && \
20444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20446 "RANLIB=$${RANLIB}" \
20447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20448 distclean) \
20449 || exit 1
20451 @endif patch
20453 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
20454 maybe-maintainer-clean-patch:
20455 @if patch
20456 maybe-maintainer-clean-patch: maintainer-clean-patch
20458 maintainer-clean-patch:
20459 @: $(MAKE); $(unstage)
20460 @[ -f ./patch/Makefile ] || exit 0; \
20461 r=`${PWD_COMMAND}`; export r; \
20462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 $(HOST_EXPORTS) \
20464 for flag in $(EXTRA_HOST_FLAGS) ; do \
20465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20466 done; \
20467 echo "Doing maintainer-clean in patch" ; \
20468 (cd $(HOST_SUBDIR)/patch && \
20469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20471 "RANLIB=$${RANLIB}" \
20472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20473 maintainer-clean) \
20474 || exit 1
20476 @endif patch
20480 .PHONY: configure-perl maybe-configure-perl
20481 maybe-configure-perl:
20482 @if perl
20483 maybe-configure-perl: configure-perl
20484 configure-perl:
20485 @: $(MAKE); $(unstage)
20486 @r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
20489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
20490 $(HOST_EXPORTS) \
20491 echo Configuring in $(HOST_SUBDIR)/perl; \
20492 cd "$(HOST_SUBDIR)/perl" || exit 1; \
20493 case $(srcdir) in \
20494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20495 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
20496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20497 esac; \
20498 srcdiroption="--srcdir=$${topdir}/perl"; \
20499 libsrcdir="$$s/perl"; \
20500 $(SHELL) $${libsrcdir}/configure \
20501 $(HOST_CONFIGARGS) $${srcdiroption} \
20502 || exit 1
20503 @endif perl
20509 .PHONY: all-perl maybe-all-perl
20510 maybe-all-perl:
20511 @if perl
20512 TARGET-perl=all
20513 maybe-all-perl: all-perl
20514 all-perl: configure-perl
20515 @: $(MAKE); $(unstage)
20516 @r=`${PWD_COMMAND}`; export r; \
20517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20518 $(HOST_EXPORTS) \
20519 (cd $(HOST_SUBDIR)/perl && \
20520 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
20521 @endif perl
20526 .PHONY: check-perl maybe-check-perl
20527 maybe-check-perl:
20528 @if perl
20529 maybe-check-perl: check-perl
20531 check-perl:
20532 @: $(MAKE); $(unstage)
20533 @r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 $(HOST_EXPORTS) \
20536 (cd $(HOST_SUBDIR)/perl && \
20537 $(MAKE) $(FLAGS_TO_PASS) check)
20539 @endif perl
20541 .PHONY: install-perl maybe-install-perl
20542 maybe-install-perl:
20543 @if perl
20544 maybe-install-perl: install-perl
20546 install-perl: installdirs
20547 @: $(MAKE); $(unstage)
20548 @r=`${PWD_COMMAND}`; export r; \
20549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 $(HOST_EXPORTS) \
20551 (cd $(HOST_SUBDIR)/perl && \
20552 $(MAKE) $(FLAGS_TO_PASS) install)
20554 @endif perl
20556 # Other targets (info, dvi, etc.)
20558 .PHONY: maybe-info-perl info-perl
20559 maybe-info-perl:
20560 @if perl
20561 maybe-info-perl: info-perl
20563 info-perl: \
20564 configure-perl
20565 @: $(MAKE); $(unstage)
20566 @[ -f ./perl/Makefile ] || exit 0; \
20567 r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 $(HOST_EXPORTS) \
20570 for flag in $(EXTRA_HOST_FLAGS) ; do \
20571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20572 done; \
20573 echo "Doing info in perl" ; \
20574 (cd $(HOST_SUBDIR)/perl && \
20575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20577 "RANLIB=$${RANLIB}" \
20578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20579 info) \
20580 || exit 1
20582 @endif perl
20584 .PHONY: maybe-dvi-perl dvi-perl
20585 maybe-dvi-perl:
20586 @if perl
20587 maybe-dvi-perl: dvi-perl
20589 dvi-perl: \
20590 configure-perl
20591 @: $(MAKE); $(unstage)
20592 @[ -f ./perl/Makefile ] || exit 0; \
20593 r=`${PWD_COMMAND}`; export r; \
20594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20595 $(HOST_EXPORTS) \
20596 for flag in $(EXTRA_HOST_FLAGS) ; do \
20597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20598 done; \
20599 echo "Doing dvi in perl" ; \
20600 (cd $(HOST_SUBDIR)/perl && \
20601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20603 "RANLIB=$${RANLIB}" \
20604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20605 dvi) \
20606 || exit 1
20608 @endif perl
20610 .PHONY: maybe-html-perl html-perl
20611 maybe-html-perl:
20612 @if perl
20613 maybe-html-perl: html-perl
20615 html-perl: \
20616 configure-perl
20617 @: $(MAKE); $(unstage)
20618 @[ -f ./perl/Makefile ] || exit 0; \
20619 r=`${PWD_COMMAND}`; export r; \
20620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621 $(HOST_EXPORTS) \
20622 for flag in $(EXTRA_HOST_FLAGS) ; do \
20623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20624 done; \
20625 echo "Doing html in perl" ; \
20626 (cd $(HOST_SUBDIR)/perl && \
20627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20629 "RANLIB=$${RANLIB}" \
20630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20631 html) \
20632 || exit 1
20634 @endif perl
20636 .PHONY: maybe-TAGS-perl TAGS-perl
20637 maybe-TAGS-perl:
20638 @if perl
20639 maybe-TAGS-perl: TAGS-perl
20641 TAGS-perl: \
20642 configure-perl
20643 @: $(MAKE); $(unstage)
20644 @[ -f ./perl/Makefile ] || exit 0; \
20645 r=`${PWD_COMMAND}`; export r; \
20646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20647 $(HOST_EXPORTS) \
20648 for flag in $(EXTRA_HOST_FLAGS) ; do \
20649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20650 done; \
20651 echo "Doing TAGS in perl" ; \
20652 (cd $(HOST_SUBDIR)/perl && \
20653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20655 "RANLIB=$${RANLIB}" \
20656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20657 TAGS) \
20658 || exit 1
20660 @endif perl
20662 .PHONY: maybe-install-info-perl install-info-perl
20663 maybe-install-info-perl:
20664 @if perl
20665 maybe-install-info-perl: install-info-perl
20667 install-info-perl: \
20668 configure-perl \
20669 info-perl
20670 @: $(MAKE); $(unstage)
20671 @[ -f ./perl/Makefile ] || exit 0; \
20672 r=`${PWD_COMMAND}`; export r; \
20673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20674 $(HOST_EXPORTS) \
20675 for flag in $(EXTRA_HOST_FLAGS) ; do \
20676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20677 done; \
20678 echo "Doing install-info in perl" ; \
20679 (cd $(HOST_SUBDIR)/perl && \
20680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20682 "RANLIB=$${RANLIB}" \
20683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20684 install-info) \
20685 || exit 1
20687 @endif perl
20689 .PHONY: maybe-installcheck-perl installcheck-perl
20690 maybe-installcheck-perl:
20691 @if perl
20692 maybe-installcheck-perl: installcheck-perl
20694 installcheck-perl: \
20695 configure-perl
20696 @: $(MAKE); $(unstage)
20697 @[ -f ./perl/Makefile ] || exit 0; \
20698 r=`${PWD_COMMAND}`; export r; \
20699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20700 $(HOST_EXPORTS) \
20701 for flag in $(EXTRA_HOST_FLAGS) ; do \
20702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20703 done; \
20704 echo "Doing installcheck in perl" ; \
20705 (cd $(HOST_SUBDIR)/perl && \
20706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20708 "RANLIB=$${RANLIB}" \
20709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20710 installcheck) \
20711 || exit 1
20713 @endif perl
20715 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20716 maybe-mostlyclean-perl:
20717 @if perl
20718 maybe-mostlyclean-perl: mostlyclean-perl
20720 mostlyclean-perl:
20721 @: $(MAKE); $(unstage)
20722 @[ -f ./perl/Makefile ] || exit 0; \
20723 r=`${PWD_COMMAND}`; export r; \
20724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20725 $(HOST_EXPORTS) \
20726 for flag in $(EXTRA_HOST_FLAGS) ; do \
20727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20728 done; \
20729 echo "Doing mostlyclean in perl" ; \
20730 (cd $(HOST_SUBDIR)/perl && \
20731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20733 "RANLIB=$${RANLIB}" \
20734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20735 mostlyclean) \
20736 || exit 1
20738 @endif perl
20740 .PHONY: maybe-clean-perl clean-perl
20741 maybe-clean-perl:
20742 @if perl
20743 maybe-clean-perl: clean-perl
20745 clean-perl:
20746 @: $(MAKE); $(unstage)
20747 @[ -f ./perl/Makefile ] || exit 0; \
20748 r=`${PWD_COMMAND}`; export r; \
20749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20750 $(HOST_EXPORTS) \
20751 for flag in $(EXTRA_HOST_FLAGS) ; do \
20752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20753 done; \
20754 echo "Doing clean in perl" ; \
20755 (cd $(HOST_SUBDIR)/perl && \
20756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20758 "RANLIB=$${RANLIB}" \
20759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20760 clean) \
20761 || exit 1
20763 @endif perl
20765 .PHONY: maybe-distclean-perl distclean-perl
20766 maybe-distclean-perl:
20767 @if perl
20768 maybe-distclean-perl: distclean-perl
20770 distclean-perl:
20771 @: $(MAKE); $(unstage)
20772 @[ -f ./perl/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775 $(HOST_EXPORTS) \
20776 for flag in $(EXTRA_HOST_FLAGS) ; do \
20777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20778 done; \
20779 echo "Doing distclean in perl" ; \
20780 (cd $(HOST_SUBDIR)/perl && \
20781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20783 "RANLIB=$${RANLIB}" \
20784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20785 distclean) \
20786 || exit 1
20788 @endif perl
20790 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20791 maybe-maintainer-clean-perl:
20792 @if perl
20793 maybe-maintainer-clean-perl: maintainer-clean-perl
20795 maintainer-clean-perl:
20796 @: $(MAKE); $(unstage)
20797 @[ -f ./perl/Makefile ] || exit 0; \
20798 r=`${PWD_COMMAND}`; export r; \
20799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20800 $(HOST_EXPORTS) \
20801 for flag in $(EXTRA_HOST_FLAGS) ; do \
20802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20803 done; \
20804 echo "Doing maintainer-clean in perl" ; \
20805 (cd $(HOST_SUBDIR)/perl && \
20806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20808 "RANLIB=$${RANLIB}" \
20809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20810 maintainer-clean) \
20811 || exit 1
20813 @endif perl
20817 .PHONY: configure-prms maybe-configure-prms
20818 maybe-configure-prms:
20819 @if prms
20820 maybe-configure-prms: configure-prms
20821 configure-prms:
20822 @: $(MAKE); $(unstage)
20823 @r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20825 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20827 $(HOST_EXPORTS) \
20828 echo Configuring in $(HOST_SUBDIR)/prms; \
20829 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20830 case $(srcdir) in \
20831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20832 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20834 esac; \
20835 srcdiroption="--srcdir=$${topdir}/prms"; \
20836 libsrcdir="$$s/prms"; \
20837 $(SHELL) $${libsrcdir}/configure \
20838 $(HOST_CONFIGARGS) $${srcdiroption} \
20839 || exit 1
20840 @endif prms
20846 .PHONY: all-prms maybe-all-prms
20847 maybe-all-prms:
20848 @if prms
20849 TARGET-prms=all
20850 maybe-all-prms: all-prms
20851 all-prms: configure-prms
20852 @: $(MAKE); $(unstage)
20853 @r=`${PWD_COMMAND}`; export r; \
20854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20855 $(HOST_EXPORTS) \
20856 (cd $(HOST_SUBDIR)/prms && \
20857 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20858 @endif prms
20863 .PHONY: check-prms maybe-check-prms
20864 maybe-check-prms:
20865 @if prms
20866 maybe-check-prms: check-prms
20868 check-prms:
20869 @: $(MAKE); $(unstage)
20870 @r=`${PWD_COMMAND}`; export r; \
20871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 $(HOST_EXPORTS) \
20873 (cd $(HOST_SUBDIR)/prms && \
20874 $(MAKE) $(FLAGS_TO_PASS) check)
20876 @endif prms
20878 .PHONY: install-prms maybe-install-prms
20879 maybe-install-prms:
20880 @if prms
20881 maybe-install-prms: install-prms
20883 install-prms: installdirs
20884 @: $(MAKE); $(unstage)
20885 @r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887 $(HOST_EXPORTS) \
20888 (cd $(HOST_SUBDIR)/prms && \
20889 $(MAKE) $(FLAGS_TO_PASS) install)
20891 @endif prms
20893 # Other targets (info, dvi, etc.)
20895 .PHONY: maybe-info-prms info-prms
20896 maybe-info-prms:
20897 @if prms
20898 maybe-info-prms: info-prms
20900 info-prms: \
20901 configure-prms
20902 @: $(MAKE); $(unstage)
20903 @[ -f ./prms/Makefile ] || exit 0; \
20904 r=`${PWD_COMMAND}`; export r; \
20905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20906 $(HOST_EXPORTS) \
20907 for flag in $(EXTRA_HOST_FLAGS) ; do \
20908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20909 done; \
20910 echo "Doing info in prms" ; \
20911 (cd $(HOST_SUBDIR)/prms && \
20912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20914 "RANLIB=$${RANLIB}" \
20915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20916 info) \
20917 || exit 1
20919 @endif prms
20921 .PHONY: maybe-dvi-prms dvi-prms
20922 maybe-dvi-prms:
20923 @if prms
20924 maybe-dvi-prms: dvi-prms
20926 dvi-prms: \
20927 configure-prms
20928 @: $(MAKE); $(unstage)
20929 @[ -f ./prms/Makefile ] || exit 0; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(HOST_EXPORTS) \
20933 for flag in $(EXTRA_HOST_FLAGS) ; do \
20934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20935 done; \
20936 echo "Doing dvi in prms" ; \
20937 (cd $(HOST_SUBDIR)/prms && \
20938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20940 "RANLIB=$${RANLIB}" \
20941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20942 dvi) \
20943 || exit 1
20945 @endif prms
20947 .PHONY: maybe-html-prms html-prms
20948 maybe-html-prms:
20949 @if prms
20950 maybe-html-prms: html-prms
20952 html-prms: \
20953 configure-prms
20954 @: $(MAKE); $(unstage)
20955 @[ -f ./prms/Makefile ] || exit 0; \
20956 r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(HOST_EXPORTS) \
20959 for flag in $(EXTRA_HOST_FLAGS) ; do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 done; \
20962 echo "Doing html in prms" ; \
20963 (cd $(HOST_SUBDIR)/prms && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20966 "RANLIB=$${RANLIB}" \
20967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20968 html) \
20969 || exit 1
20971 @endif prms
20973 .PHONY: maybe-TAGS-prms TAGS-prms
20974 maybe-TAGS-prms:
20975 @if prms
20976 maybe-TAGS-prms: TAGS-prms
20978 TAGS-prms: \
20979 configure-prms
20980 @: $(MAKE); $(unstage)
20981 @[ -f ./prms/Makefile ] || exit 0; \
20982 r=`${PWD_COMMAND}`; export r; \
20983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 $(HOST_EXPORTS) \
20985 for flag in $(EXTRA_HOST_FLAGS) ; do \
20986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20987 done; \
20988 echo "Doing TAGS in prms" ; \
20989 (cd $(HOST_SUBDIR)/prms && \
20990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20992 "RANLIB=$${RANLIB}" \
20993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20994 TAGS) \
20995 || exit 1
20997 @endif prms
20999 .PHONY: maybe-install-info-prms install-info-prms
21000 maybe-install-info-prms:
21001 @if prms
21002 maybe-install-info-prms: install-info-prms
21004 install-info-prms: \
21005 configure-prms \
21006 info-prms
21007 @: $(MAKE); $(unstage)
21008 @[ -f ./prms/Makefile ] || exit 0; \
21009 r=`${PWD_COMMAND}`; export r; \
21010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21011 $(HOST_EXPORTS) \
21012 for flag in $(EXTRA_HOST_FLAGS) ; do \
21013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21014 done; \
21015 echo "Doing install-info in prms" ; \
21016 (cd $(HOST_SUBDIR)/prms && \
21017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21019 "RANLIB=$${RANLIB}" \
21020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21021 install-info) \
21022 || exit 1
21024 @endif prms
21026 .PHONY: maybe-installcheck-prms installcheck-prms
21027 maybe-installcheck-prms:
21028 @if prms
21029 maybe-installcheck-prms: installcheck-prms
21031 installcheck-prms: \
21032 configure-prms
21033 @: $(MAKE); $(unstage)
21034 @[ -f ./prms/Makefile ] || exit 0; \
21035 r=`${PWD_COMMAND}`; export r; \
21036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21037 $(HOST_EXPORTS) \
21038 for flag in $(EXTRA_HOST_FLAGS) ; do \
21039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21040 done; \
21041 echo "Doing installcheck in prms" ; \
21042 (cd $(HOST_SUBDIR)/prms && \
21043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21045 "RANLIB=$${RANLIB}" \
21046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21047 installcheck) \
21048 || exit 1
21050 @endif prms
21052 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
21053 maybe-mostlyclean-prms:
21054 @if prms
21055 maybe-mostlyclean-prms: mostlyclean-prms
21057 mostlyclean-prms:
21058 @: $(MAKE); $(unstage)
21059 @[ -f ./prms/Makefile ] || exit 0; \
21060 r=`${PWD_COMMAND}`; export r; \
21061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21062 $(HOST_EXPORTS) \
21063 for flag in $(EXTRA_HOST_FLAGS) ; do \
21064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21065 done; \
21066 echo "Doing mostlyclean in prms" ; \
21067 (cd $(HOST_SUBDIR)/prms && \
21068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21070 "RANLIB=$${RANLIB}" \
21071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21072 mostlyclean) \
21073 || exit 1
21075 @endif prms
21077 .PHONY: maybe-clean-prms clean-prms
21078 maybe-clean-prms:
21079 @if prms
21080 maybe-clean-prms: clean-prms
21082 clean-prms:
21083 @: $(MAKE); $(unstage)
21084 @[ -f ./prms/Makefile ] || exit 0; \
21085 r=`${PWD_COMMAND}`; export r; \
21086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 $(HOST_EXPORTS) \
21088 for flag in $(EXTRA_HOST_FLAGS) ; do \
21089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21090 done; \
21091 echo "Doing clean in prms" ; \
21092 (cd $(HOST_SUBDIR)/prms && \
21093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21095 "RANLIB=$${RANLIB}" \
21096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21097 clean) \
21098 || exit 1
21100 @endif prms
21102 .PHONY: maybe-distclean-prms distclean-prms
21103 maybe-distclean-prms:
21104 @if prms
21105 maybe-distclean-prms: distclean-prms
21107 distclean-prms:
21108 @: $(MAKE); $(unstage)
21109 @[ -f ./prms/Makefile ] || exit 0; \
21110 r=`${PWD_COMMAND}`; export r; \
21111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21112 $(HOST_EXPORTS) \
21113 for flag in $(EXTRA_HOST_FLAGS) ; do \
21114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21115 done; \
21116 echo "Doing distclean in prms" ; \
21117 (cd $(HOST_SUBDIR)/prms && \
21118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21120 "RANLIB=$${RANLIB}" \
21121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21122 distclean) \
21123 || exit 1
21125 @endif prms
21127 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
21128 maybe-maintainer-clean-prms:
21129 @if prms
21130 maybe-maintainer-clean-prms: maintainer-clean-prms
21132 maintainer-clean-prms:
21133 @: $(MAKE); $(unstage)
21134 @[ -f ./prms/Makefile ] || exit 0; \
21135 r=`${PWD_COMMAND}`; export r; \
21136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21137 $(HOST_EXPORTS) \
21138 for flag in $(EXTRA_HOST_FLAGS) ; do \
21139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21140 done; \
21141 echo "Doing maintainer-clean in prms" ; \
21142 (cd $(HOST_SUBDIR)/prms && \
21143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21145 "RANLIB=$${RANLIB}" \
21146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21147 maintainer-clean) \
21148 || exit 1
21150 @endif prms
21154 .PHONY: configure-rcs maybe-configure-rcs
21155 maybe-configure-rcs:
21156 @if rcs
21157 maybe-configure-rcs: configure-rcs
21158 configure-rcs:
21159 @: $(MAKE); $(unstage)
21160 @r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21162 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
21163 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
21164 $(HOST_EXPORTS) \
21165 echo Configuring in $(HOST_SUBDIR)/rcs; \
21166 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
21167 case $(srcdir) in \
21168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21169 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
21170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21171 esac; \
21172 srcdiroption="--srcdir=$${topdir}/rcs"; \
21173 libsrcdir="$$s/rcs"; \
21174 $(SHELL) $${libsrcdir}/configure \
21175 $(HOST_CONFIGARGS) $${srcdiroption} \
21176 || exit 1
21177 @endif rcs
21183 .PHONY: all-rcs maybe-all-rcs
21184 maybe-all-rcs:
21185 @if rcs
21186 TARGET-rcs=all
21187 maybe-all-rcs: all-rcs
21188 all-rcs: configure-rcs
21189 @: $(MAKE); $(unstage)
21190 @r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192 $(HOST_EXPORTS) \
21193 (cd $(HOST_SUBDIR)/rcs && \
21194 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
21195 @endif rcs
21200 .PHONY: check-rcs maybe-check-rcs
21201 maybe-check-rcs:
21202 @if rcs
21203 maybe-check-rcs: check-rcs
21205 check-rcs:
21206 @: $(MAKE); $(unstage)
21207 @r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 (cd $(HOST_SUBDIR)/rcs && \
21211 $(MAKE) $(FLAGS_TO_PASS) check)
21213 @endif rcs
21215 .PHONY: install-rcs maybe-install-rcs
21216 maybe-install-rcs:
21217 @if rcs
21218 maybe-install-rcs: install-rcs
21220 install-rcs: installdirs
21221 @: $(MAKE); $(unstage)
21222 @r=`${PWD_COMMAND}`; export r; \
21223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21224 $(HOST_EXPORTS) \
21225 (cd $(HOST_SUBDIR)/rcs && \
21226 $(MAKE) $(FLAGS_TO_PASS) install)
21228 @endif rcs
21230 # Other targets (info, dvi, etc.)
21232 .PHONY: maybe-info-rcs info-rcs
21233 maybe-info-rcs:
21234 @if rcs
21235 maybe-info-rcs: info-rcs
21237 info-rcs: \
21238 configure-rcs
21239 @: $(MAKE); $(unstage)
21240 @[ -f ./rcs/Makefile ] || exit 0; \
21241 r=`${PWD_COMMAND}`; export r; \
21242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21243 $(HOST_EXPORTS) \
21244 for flag in $(EXTRA_HOST_FLAGS) ; do \
21245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21246 done; \
21247 echo "Doing info in rcs" ; \
21248 (cd $(HOST_SUBDIR)/rcs && \
21249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21251 "RANLIB=$${RANLIB}" \
21252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21253 info) \
21254 || exit 1
21256 @endif rcs
21258 .PHONY: maybe-dvi-rcs dvi-rcs
21259 maybe-dvi-rcs:
21260 @if rcs
21261 maybe-dvi-rcs: dvi-rcs
21263 dvi-rcs: \
21264 configure-rcs
21265 @: $(MAKE); $(unstage)
21266 @[ -f ./rcs/Makefile ] || exit 0; \
21267 r=`${PWD_COMMAND}`; export r; \
21268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21269 $(HOST_EXPORTS) \
21270 for flag in $(EXTRA_HOST_FLAGS) ; do \
21271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21272 done; \
21273 echo "Doing dvi in rcs" ; \
21274 (cd $(HOST_SUBDIR)/rcs && \
21275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21277 "RANLIB=$${RANLIB}" \
21278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21279 dvi) \
21280 || exit 1
21282 @endif rcs
21284 .PHONY: maybe-html-rcs html-rcs
21285 maybe-html-rcs:
21286 @if rcs
21287 maybe-html-rcs: html-rcs
21289 html-rcs: \
21290 configure-rcs
21291 @: $(MAKE); $(unstage)
21292 @[ -f ./rcs/Makefile ] || exit 0; \
21293 r=`${PWD_COMMAND}`; export r; \
21294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21295 $(HOST_EXPORTS) \
21296 for flag in $(EXTRA_HOST_FLAGS) ; do \
21297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21298 done; \
21299 echo "Doing html in rcs" ; \
21300 (cd $(HOST_SUBDIR)/rcs && \
21301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21303 "RANLIB=$${RANLIB}" \
21304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21305 html) \
21306 || exit 1
21308 @endif rcs
21310 .PHONY: maybe-TAGS-rcs TAGS-rcs
21311 maybe-TAGS-rcs:
21312 @if rcs
21313 maybe-TAGS-rcs: TAGS-rcs
21315 TAGS-rcs: \
21316 configure-rcs
21317 @: $(MAKE); $(unstage)
21318 @[ -f ./rcs/Makefile ] || exit 0; \
21319 r=`${PWD_COMMAND}`; export r; \
21320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21321 $(HOST_EXPORTS) \
21322 for flag in $(EXTRA_HOST_FLAGS) ; do \
21323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21324 done; \
21325 echo "Doing TAGS in rcs" ; \
21326 (cd $(HOST_SUBDIR)/rcs && \
21327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21329 "RANLIB=$${RANLIB}" \
21330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21331 TAGS) \
21332 || exit 1
21334 @endif rcs
21336 .PHONY: maybe-install-info-rcs install-info-rcs
21337 maybe-install-info-rcs:
21338 @if rcs
21339 maybe-install-info-rcs: install-info-rcs
21341 install-info-rcs: \
21342 configure-rcs \
21343 info-rcs
21344 @: $(MAKE); $(unstage)
21345 @[ -f ./rcs/Makefile ] || exit 0; \
21346 r=`${PWD_COMMAND}`; export r; \
21347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21348 $(HOST_EXPORTS) \
21349 for flag in $(EXTRA_HOST_FLAGS) ; do \
21350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21351 done; \
21352 echo "Doing install-info in rcs" ; \
21353 (cd $(HOST_SUBDIR)/rcs && \
21354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21356 "RANLIB=$${RANLIB}" \
21357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21358 install-info) \
21359 || exit 1
21361 @endif rcs
21363 .PHONY: maybe-installcheck-rcs installcheck-rcs
21364 maybe-installcheck-rcs:
21365 @if rcs
21366 maybe-installcheck-rcs: installcheck-rcs
21368 installcheck-rcs: \
21369 configure-rcs
21370 @: $(MAKE); $(unstage)
21371 @[ -f ./rcs/Makefile ] || exit 0; \
21372 r=`${PWD_COMMAND}`; export r; \
21373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21374 $(HOST_EXPORTS) \
21375 for flag in $(EXTRA_HOST_FLAGS) ; do \
21376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21377 done; \
21378 echo "Doing installcheck in rcs" ; \
21379 (cd $(HOST_SUBDIR)/rcs && \
21380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21382 "RANLIB=$${RANLIB}" \
21383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21384 installcheck) \
21385 || exit 1
21387 @endif rcs
21389 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
21390 maybe-mostlyclean-rcs:
21391 @if rcs
21392 maybe-mostlyclean-rcs: mostlyclean-rcs
21394 mostlyclean-rcs:
21395 @: $(MAKE); $(unstage)
21396 @[ -f ./rcs/Makefile ] || exit 0; \
21397 r=`${PWD_COMMAND}`; export r; \
21398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21399 $(HOST_EXPORTS) \
21400 for flag in $(EXTRA_HOST_FLAGS) ; do \
21401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21402 done; \
21403 echo "Doing mostlyclean in rcs" ; \
21404 (cd $(HOST_SUBDIR)/rcs && \
21405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21407 "RANLIB=$${RANLIB}" \
21408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21409 mostlyclean) \
21410 || exit 1
21412 @endif rcs
21414 .PHONY: maybe-clean-rcs clean-rcs
21415 maybe-clean-rcs:
21416 @if rcs
21417 maybe-clean-rcs: clean-rcs
21419 clean-rcs:
21420 @: $(MAKE); $(unstage)
21421 @[ -f ./rcs/Makefile ] || exit 0; \
21422 r=`${PWD_COMMAND}`; export r; \
21423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21424 $(HOST_EXPORTS) \
21425 for flag in $(EXTRA_HOST_FLAGS) ; do \
21426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21427 done; \
21428 echo "Doing clean in rcs" ; \
21429 (cd $(HOST_SUBDIR)/rcs && \
21430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21432 "RANLIB=$${RANLIB}" \
21433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21434 clean) \
21435 || exit 1
21437 @endif rcs
21439 .PHONY: maybe-distclean-rcs distclean-rcs
21440 maybe-distclean-rcs:
21441 @if rcs
21442 maybe-distclean-rcs: distclean-rcs
21444 distclean-rcs:
21445 @: $(MAKE); $(unstage)
21446 @[ -f ./rcs/Makefile ] || exit 0; \
21447 r=`${PWD_COMMAND}`; export r; \
21448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21449 $(HOST_EXPORTS) \
21450 for flag in $(EXTRA_HOST_FLAGS) ; do \
21451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21452 done; \
21453 echo "Doing distclean in rcs" ; \
21454 (cd $(HOST_SUBDIR)/rcs && \
21455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21457 "RANLIB=$${RANLIB}" \
21458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21459 distclean) \
21460 || exit 1
21462 @endif rcs
21464 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
21465 maybe-maintainer-clean-rcs:
21466 @if rcs
21467 maybe-maintainer-clean-rcs: maintainer-clean-rcs
21469 maintainer-clean-rcs:
21470 @: $(MAKE); $(unstage)
21471 @[ -f ./rcs/Makefile ] || exit 0; \
21472 r=`${PWD_COMMAND}`; export r; \
21473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21474 $(HOST_EXPORTS) \
21475 for flag in $(EXTRA_HOST_FLAGS) ; do \
21476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21477 done; \
21478 echo "Doing maintainer-clean in rcs" ; \
21479 (cd $(HOST_SUBDIR)/rcs && \
21480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21482 "RANLIB=$${RANLIB}" \
21483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21484 maintainer-clean) \
21485 || exit 1
21487 @endif rcs
21491 .PHONY: configure-readline maybe-configure-readline
21492 maybe-configure-readline:
21493 @if readline
21494 maybe-configure-readline: configure-readline
21495 configure-readline:
21496 @: $(MAKE); $(unstage)
21497 @r=`${PWD_COMMAND}`; export r; \
21498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21499 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
21500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
21501 $(HOST_EXPORTS) \
21502 echo Configuring in $(HOST_SUBDIR)/readline; \
21503 cd "$(HOST_SUBDIR)/readline" || exit 1; \
21504 case $(srcdir) in \
21505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21506 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
21507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21508 esac; \
21509 srcdiroption="--srcdir=$${topdir}/readline"; \
21510 libsrcdir="$$s/readline"; \
21511 $(SHELL) $${libsrcdir}/configure \
21512 $(HOST_CONFIGARGS) $${srcdiroption} \
21513 || exit 1
21514 @endif readline
21520 .PHONY: all-readline maybe-all-readline
21521 maybe-all-readline:
21522 @if readline
21523 TARGET-readline=all
21524 maybe-all-readline: all-readline
21525 all-readline: configure-readline
21526 @: $(MAKE); $(unstage)
21527 @r=`${PWD_COMMAND}`; export r; \
21528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21529 $(HOST_EXPORTS) \
21530 (cd $(HOST_SUBDIR)/readline && \
21531 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
21532 @endif readline
21537 .PHONY: check-readline maybe-check-readline
21538 maybe-check-readline:
21539 @if readline
21540 maybe-check-readline: check-readline
21542 check-readline:
21543 @: $(MAKE); $(unstage)
21544 @r=`${PWD_COMMAND}`; export r; \
21545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 $(HOST_EXPORTS) \
21547 (cd $(HOST_SUBDIR)/readline && \
21548 $(MAKE) $(FLAGS_TO_PASS) check)
21550 @endif readline
21552 .PHONY: install-readline maybe-install-readline
21553 maybe-install-readline:
21554 @if readline
21555 maybe-install-readline: install-readline
21557 install-readline: installdirs
21558 @: $(MAKE); $(unstage)
21559 @r=`${PWD_COMMAND}`; export r; \
21560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21561 $(HOST_EXPORTS) \
21562 (cd $(HOST_SUBDIR)/readline && \
21563 $(MAKE) $(FLAGS_TO_PASS) install)
21565 @endif readline
21567 # Other targets (info, dvi, etc.)
21569 .PHONY: maybe-info-readline info-readline
21570 maybe-info-readline:
21571 @if readline
21572 maybe-info-readline: info-readline
21574 info-readline: \
21575 configure-readline
21576 @: $(MAKE); $(unstage)
21577 @[ -f ./readline/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 for flag in $(EXTRA_HOST_FLAGS) ; do \
21582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 done; \
21584 echo "Doing info in readline" ; \
21585 (cd $(HOST_SUBDIR)/readline && \
21586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21588 "RANLIB=$${RANLIB}" \
21589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21590 info) \
21591 || exit 1
21593 @endif readline
21595 .PHONY: maybe-dvi-readline dvi-readline
21596 maybe-dvi-readline:
21597 @if readline
21598 maybe-dvi-readline: dvi-readline
21600 dvi-readline: \
21601 configure-readline
21602 @: $(MAKE); $(unstage)
21603 @[ -f ./readline/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(HOST_EXPORTS) \
21607 for flag in $(EXTRA_HOST_FLAGS) ; do \
21608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21609 done; \
21610 echo "Doing dvi in readline" ; \
21611 (cd $(HOST_SUBDIR)/readline && \
21612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21614 "RANLIB=$${RANLIB}" \
21615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21616 dvi) \
21617 || exit 1
21619 @endif readline
21621 .PHONY: maybe-html-readline html-readline
21622 maybe-html-readline:
21623 @if readline
21624 maybe-html-readline: html-readline
21626 html-readline: \
21627 configure-readline
21628 @: $(MAKE); $(unstage)
21629 @[ -f ./readline/Makefile ] || exit 0; \
21630 r=`${PWD_COMMAND}`; export r; \
21631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21632 $(HOST_EXPORTS) \
21633 for flag in $(EXTRA_HOST_FLAGS) ; do \
21634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21635 done; \
21636 echo "Doing html in readline" ; \
21637 (cd $(HOST_SUBDIR)/readline && \
21638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21640 "RANLIB=$${RANLIB}" \
21641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21642 html) \
21643 || exit 1
21645 @endif readline
21647 .PHONY: maybe-TAGS-readline TAGS-readline
21648 maybe-TAGS-readline:
21649 @if readline
21650 maybe-TAGS-readline: TAGS-readline
21652 TAGS-readline: \
21653 configure-readline
21654 @: $(MAKE); $(unstage)
21655 @[ -f ./readline/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 TAGS in readline" ; \
21663 (cd $(HOST_SUBDIR)/readline && \
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 TAGS) \
21669 || exit 1
21671 @endif readline
21673 .PHONY: maybe-install-info-readline install-info-readline
21674 maybe-install-info-readline:
21675 @if readline
21676 maybe-install-info-readline: install-info-readline
21678 install-info-readline: \
21679 configure-readline \
21680 info-readline
21681 @: $(MAKE); $(unstage)
21682 @[ -f ./readline/Makefile ] || exit 0; \
21683 r=`${PWD_COMMAND}`; export r; \
21684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21685 $(HOST_EXPORTS) \
21686 for flag in $(EXTRA_HOST_FLAGS) ; do \
21687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21688 done; \
21689 echo "Doing install-info in readline" ; \
21690 (cd $(HOST_SUBDIR)/readline && \
21691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21693 "RANLIB=$${RANLIB}" \
21694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21695 install-info) \
21696 || exit 1
21698 @endif readline
21700 .PHONY: maybe-installcheck-readline installcheck-readline
21701 maybe-installcheck-readline:
21702 @if readline
21703 maybe-installcheck-readline: installcheck-readline
21705 installcheck-readline: \
21706 configure-readline
21707 @: $(MAKE); $(unstage)
21708 @[ -f ./readline/Makefile ] || exit 0; \
21709 r=`${PWD_COMMAND}`; export r; \
21710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21711 $(HOST_EXPORTS) \
21712 for flag in $(EXTRA_HOST_FLAGS) ; do \
21713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21714 done; \
21715 echo "Doing installcheck in readline" ; \
21716 (cd $(HOST_SUBDIR)/readline && \
21717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21719 "RANLIB=$${RANLIB}" \
21720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21721 installcheck) \
21722 || exit 1
21724 @endif readline
21726 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21727 maybe-mostlyclean-readline:
21728 @if readline
21729 maybe-mostlyclean-readline: mostlyclean-readline
21731 mostlyclean-readline:
21732 @: $(MAKE); $(unstage)
21733 @[ -f ./readline/Makefile ] || exit 0; \
21734 r=`${PWD_COMMAND}`; export r; \
21735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21736 $(HOST_EXPORTS) \
21737 for flag in $(EXTRA_HOST_FLAGS) ; do \
21738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21739 done; \
21740 echo "Doing mostlyclean in readline" ; \
21741 (cd $(HOST_SUBDIR)/readline && \
21742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21744 "RANLIB=$${RANLIB}" \
21745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21746 mostlyclean) \
21747 || exit 1
21749 @endif readline
21751 .PHONY: maybe-clean-readline clean-readline
21752 maybe-clean-readline:
21753 @if readline
21754 maybe-clean-readline: clean-readline
21756 clean-readline:
21757 @: $(MAKE); $(unstage)
21758 @[ -f ./readline/Makefile ] || exit 0; \
21759 r=`${PWD_COMMAND}`; export r; \
21760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21761 $(HOST_EXPORTS) \
21762 for flag in $(EXTRA_HOST_FLAGS) ; do \
21763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21764 done; \
21765 echo "Doing clean in readline" ; \
21766 (cd $(HOST_SUBDIR)/readline && \
21767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21769 "RANLIB=$${RANLIB}" \
21770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21771 clean) \
21772 || exit 1
21774 @endif readline
21776 .PHONY: maybe-distclean-readline distclean-readline
21777 maybe-distclean-readline:
21778 @if readline
21779 maybe-distclean-readline: distclean-readline
21781 distclean-readline:
21782 @: $(MAKE); $(unstage)
21783 @[ -f ./readline/Makefile ] || exit 0; \
21784 r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 $(HOST_EXPORTS) \
21787 for flag in $(EXTRA_HOST_FLAGS) ; do \
21788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21789 done; \
21790 echo "Doing distclean in readline" ; \
21791 (cd $(HOST_SUBDIR)/readline && \
21792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21794 "RANLIB=$${RANLIB}" \
21795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21796 distclean) \
21797 || exit 1
21799 @endif readline
21801 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21802 maybe-maintainer-clean-readline:
21803 @if readline
21804 maybe-maintainer-clean-readline: maintainer-clean-readline
21806 maintainer-clean-readline:
21807 @: $(MAKE); $(unstage)
21808 @[ -f ./readline/Makefile ] || exit 0; \
21809 r=`${PWD_COMMAND}`; export r; \
21810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21811 $(HOST_EXPORTS) \
21812 for flag in $(EXTRA_HOST_FLAGS) ; do \
21813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21814 done; \
21815 echo "Doing maintainer-clean in readline" ; \
21816 (cd $(HOST_SUBDIR)/readline && \
21817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21819 "RANLIB=$${RANLIB}" \
21820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21821 maintainer-clean) \
21822 || exit 1
21824 @endif readline
21828 .PHONY: configure-release maybe-configure-release
21829 maybe-configure-release:
21830 @if release
21831 maybe-configure-release: configure-release
21832 configure-release:
21833 @: $(MAKE); $(unstage)
21834 @r=`${PWD_COMMAND}`; export r; \
21835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21836 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21838 $(HOST_EXPORTS) \
21839 echo Configuring in $(HOST_SUBDIR)/release; \
21840 cd "$(HOST_SUBDIR)/release" || exit 1; \
21841 case $(srcdir) in \
21842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21843 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21845 esac; \
21846 srcdiroption="--srcdir=$${topdir}/release"; \
21847 libsrcdir="$$s/release"; \
21848 $(SHELL) $${libsrcdir}/configure \
21849 $(HOST_CONFIGARGS) $${srcdiroption} \
21850 || exit 1
21851 @endif release
21857 .PHONY: all-release maybe-all-release
21858 maybe-all-release:
21859 @if release
21860 TARGET-release=all
21861 maybe-all-release: all-release
21862 all-release: configure-release
21863 @: $(MAKE); $(unstage)
21864 @r=`${PWD_COMMAND}`; export r; \
21865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21866 $(HOST_EXPORTS) \
21867 (cd $(HOST_SUBDIR)/release && \
21868 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21869 @endif release
21874 .PHONY: check-release maybe-check-release
21875 maybe-check-release:
21876 @if release
21877 maybe-check-release: check-release
21879 check-release:
21881 @endif release
21883 .PHONY: install-release maybe-install-release
21884 maybe-install-release:
21885 @if release
21886 maybe-install-release: install-release
21888 install-release:
21890 @endif release
21892 # Other targets (info, dvi, etc.)
21894 .PHONY: maybe-info-release info-release
21895 maybe-info-release:
21896 @if release
21897 maybe-info-release: info-release
21899 info-release: \
21900 configure-release
21901 @: $(MAKE); $(unstage)
21902 @[ -f ./release/Makefile ] || exit 0; \
21903 r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 $(HOST_EXPORTS) \
21906 for flag in $(EXTRA_HOST_FLAGS) ; do \
21907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 done; \
21909 echo "Doing info in release" ; \
21910 (cd $(HOST_SUBDIR)/release && \
21911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21913 "RANLIB=$${RANLIB}" \
21914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21915 info) \
21916 || exit 1
21918 @endif release
21920 .PHONY: maybe-dvi-release dvi-release
21921 maybe-dvi-release:
21922 @if release
21923 maybe-dvi-release: dvi-release
21925 dvi-release: \
21926 configure-release
21927 @: $(MAKE); $(unstage)
21928 @[ -f ./release/Makefile ] || exit 0; \
21929 r=`${PWD_COMMAND}`; export r; \
21930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21931 $(HOST_EXPORTS) \
21932 for flag in $(EXTRA_HOST_FLAGS) ; do \
21933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21934 done; \
21935 echo "Doing dvi in release" ; \
21936 (cd $(HOST_SUBDIR)/release && \
21937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21939 "RANLIB=$${RANLIB}" \
21940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21941 dvi) \
21942 || exit 1
21944 @endif release
21946 .PHONY: maybe-html-release html-release
21947 maybe-html-release:
21948 @if release
21949 maybe-html-release: html-release
21951 html-release: \
21952 configure-release
21953 @: $(MAKE); $(unstage)
21954 @[ -f ./release/Makefile ] || exit 0; \
21955 r=`${PWD_COMMAND}`; export r; \
21956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21957 $(HOST_EXPORTS) \
21958 for flag in $(EXTRA_HOST_FLAGS) ; do \
21959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21960 done; \
21961 echo "Doing html in release" ; \
21962 (cd $(HOST_SUBDIR)/release && \
21963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21965 "RANLIB=$${RANLIB}" \
21966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21967 html) \
21968 || exit 1
21970 @endif release
21972 .PHONY: maybe-TAGS-release TAGS-release
21973 maybe-TAGS-release:
21974 @if release
21975 maybe-TAGS-release: TAGS-release
21977 TAGS-release: \
21978 configure-release
21979 @: $(MAKE); $(unstage)
21980 @[ -f ./release/Makefile ] || exit 0; \
21981 r=`${PWD_COMMAND}`; export r; \
21982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21983 $(HOST_EXPORTS) \
21984 for flag in $(EXTRA_HOST_FLAGS) ; do \
21985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21986 done; \
21987 echo "Doing TAGS in release" ; \
21988 (cd $(HOST_SUBDIR)/release && \
21989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21991 "RANLIB=$${RANLIB}" \
21992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21993 TAGS) \
21994 || exit 1
21996 @endif release
21998 .PHONY: maybe-install-info-release install-info-release
21999 maybe-install-info-release:
22000 @if release
22001 maybe-install-info-release: install-info-release
22003 install-info-release: \
22004 configure-release \
22005 info-release
22006 @: $(MAKE); $(unstage)
22007 @[ -f ./release/Makefile ] || exit 0; \
22008 r=`${PWD_COMMAND}`; export r; \
22009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22010 $(HOST_EXPORTS) \
22011 for flag in $(EXTRA_HOST_FLAGS) ; do \
22012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22013 done; \
22014 echo "Doing install-info in release" ; \
22015 (cd $(HOST_SUBDIR)/release && \
22016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22018 "RANLIB=$${RANLIB}" \
22019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22020 install-info) \
22021 || exit 1
22023 @endif release
22025 .PHONY: maybe-installcheck-release installcheck-release
22026 maybe-installcheck-release:
22027 @if release
22028 maybe-installcheck-release: installcheck-release
22030 installcheck-release: \
22031 configure-release
22032 @: $(MAKE); $(unstage)
22033 @[ -f ./release/Makefile ] || exit 0; \
22034 r=`${PWD_COMMAND}`; export r; \
22035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22036 $(HOST_EXPORTS) \
22037 for flag in $(EXTRA_HOST_FLAGS) ; do \
22038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22039 done; \
22040 echo "Doing installcheck in release" ; \
22041 (cd $(HOST_SUBDIR)/release && \
22042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22044 "RANLIB=$${RANLIB}" \
22045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22046 installcheck) \
22047 || exit 1
22049 @endif release
22051 .PHONY: maybe-mostlyclean-release mostlyclean-release
22052 maybe-mostlyclean-release:
22053 @if release
22054 maybe-mostlyclean-release: mostlyclean-release
22056 mostlyclean-release:
22057 @: $(MAKE); $(unstage)
22058 @[ -f ./release/Makefile ] || exit 0; \
22059 r=`${PWD_COMMAND}`; export r; \
22060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22061 $(HOST_EXPORTS) \
22062 for flag in $(EXTRA_HOST_FLAGS) ; do \
22063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22064 done; \
22065 echo "Doing mostlyclean in release" ; \
22066 (cd $(HOST_SUBDIR)/release && \
22067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22069 "RANLIB=$${RANLIB}" \
22070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22071 mostlyclean) \
22072 || exit 1
22074 @endif release
22076 .PHONY: maybe-clean-release clean-release
22077 maybe-clean-release:
22078 @if release
22079 maybe-clean-release: clean-release
22081 clean-release:
22082 @: $(MAKE); $(unstage)
22083 @[ -f ./release/Makefile ] || exit 0; \
22084 r=`${PWD_COMMAND}`; export r; \
22085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22086 $(HOST_EXPORTS) \
22087 for flag in $(EXTRA_HOST_FLAGS) ; do \
22088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22089 done; \
22090 echo "Doing clean in release" ; \
22091 (cd $(HOST_SUBDIR)/release && \
22092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22094 "RANLIB=$${RANLIB}" \
22095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22096 clean) \
22097 || exit 1
22099 @endif release
22101 .PHONY: maybe-distclean-release distclean-release
22102 maybe-distclean-release:
22103 @if release
22104 maybe-distclean-release: distclean-release
22106 distclean-release:
22107 @: $(MAKE); $(unstage)
22108 @[ -f ./release/Makefile ] || exit 0; \
22109 r=`${PWD_COMMAND}`; export r; \
22110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22111 $(HOST_EXPORTS) \
22112 for flag in $(EXTRA_HOST_FLAGS) ; do \
22113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22114 done; \
22115 echo "Doing distclean in release" ; \
22116 (cd $(HOST_SUBDIR)/release && \
22117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22119 "RANLIB=$${RANLIB}" \
22120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22121 distclean) \
22122 || exit 1
22124 @endif release
22126 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
22127 maybe-maintainer-clean-release:
22128 @if release
22129 maybe-maintainer-clean-release: maintainer-clean-release
22131 maintainer-clean-release:
22132 @: $(MAKE); $(unstage)
22133 @[ -f ./release/Makefile ] || exit 0; \
22134 r=`${PWD_COMMAND}`; export r; \
22135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22136 $(HOST_EXPORTS) \
22137 for flag in $(EXTRA_HOST_FLAGS) ; do \
22138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22139 done; \
22140 echo "Doing maintainer-clean in release" ; \
22141 (cd $(HOST_SUBDIR)/release && \
22142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22144 "RANLIB=$${RANLIB}" \
22145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22146 maintainer-clean) \
22147 || exit 1
22149 @endif release
22153 .PHONY: configure-recode maybe-configure-recode
22154 maybe-configure-recode:
22155 @if recode
22156 maybe-configure-recode: configure-recode
22157 configure-recode:
22158 @: $(MAKE); $(unstage)
22159 @r=`${PWD_COMMAND}`; export r; \
22160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
22162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
22163 $(HOST_EXPORTS) \
22164 echo Configuring in $(HOST_SUBDIR)/recode; \
22165 cd "$(HOST_SUBDIR)/recode" || exit 1; \
22166 case $(srcdir) in \
22167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22168 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
22169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22170 esac; \
22171 srcdiroption="--srcdir=$${topdir}/recode"; \
22172 libsrcdir="$$s/recode"; \
22173 $(SHELL) $${libsrcdir}/configure \
22174 $(HOST_CONFIGARGS) $${srcdiroption} \
22175 || exit 1
22176 @endif recode
22182 .PHONY: all-recode maybe-all-recode
22183 maybe-all-recode:
22184 @if recode
22185 TARGET-recode=all
22186 maybe-all-recode: all-recode
22187 all-recode: configure-recode
22188 @: $(MAKE); $(unstage)
22189 @r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 $(HOST_EXPORTS) \
22192 (cd $(HOST_SUBDIR)/recode && \
22193 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
22194 @endif recode
22199 .PHONY: check-recode maybe-check-recode
22200 maybe-check-recode:
22201 @if recode
22202 maybe-check-recode: check-recode
22204 check-recode:
22205 @: $(MAKE); $(unstage)
22206 @r=`${PWD_COMMAND}`; export r; \
22207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22208 $(HOST_EXPORTS) \
22209 (cd $(HOST_SUBDIR)/recode && \
22210 $(MAKE) $(FLAGS_TO_PASS) check)
22212 @endif recode
22214 .PHONY: install-recode maybe-install-recode
22215 maybe-install-recode:
22216 @if recode
22217 maybe-install-recode: install-recode
22219 install-recode: installdirs
22220 @: $(MAKE); $(unstage)
22221 @r=`${PWD_COMMAND}`; export r; \
22222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223 $(HOST_EXPORTS) \
22224 (cd $(HOST_SUBDIR)/recode && \
22225 $(MAKE) $(FLAGS_TO_PASS) install)
22227 @endif recode
22229 # Other targets (info, dvi, etc.)
22231 .PHONY: maybe-info-recode info-recode
22232 maybe-info-recode:
22233 @if recode
22234 maybe-info-recode: info-recode
22236 info-recode: \
22237 configure-recode
22238 @: $(MAKE); $(unstage)
22239 @[ -f ./recode/Makefile ] || exit 0; \
22240 r=`${PWD_COMMAND}`; export r; \
22241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(HOST_EXPORTS) \
22243 for flag in $(EXTRA_HOST_FLAGS) ; do \
22244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22245 done; \
22246 echo "Doing info in recode" ; \
22247 (cd $(HOST_SUBDIR)/recode && \
22248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22250 "RANLIB=$${RANLIB}" \
22251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22252 info) \
22253 || exit 1
22255 @endif recode
22257 .PHONY: maybe-dvi-recode dvi-recode
22258 maybe-dvi-recode:
22259 @if recode
22260 maybe-dvi-recode: dvi-recode
22262 dvi-recode: \
22263 configure-recode
22264 @: $(MAKE); $(unstage)
22265 @[ -f ./recode/Makefile ] || exit 0; \
22266 r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22268 $(HOST_EXPORTS) \
22269 for flag in $(EXTRA_HOST_FLAGS) ; do \
22270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22271 done; \
22272 echo "Doing dvi in recode" ; \
22273 (cd $(HOST_SUBDIR)/recode && \
22274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22276 "RANLIB=$${RANLIB}" \
22277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22278 dvi) \
22279 || exit 1
22281 @endif recode
22283 .PHONY: maybe-html-recode html-recode
22284 maybe-html-recode:
22285 @if recode
22286 maybe-html-recode: html-recode
22288 html-recode: \
22289 configure-recode
22290 @: $(MAKE); $(unstage)
22291 @[ -f ./recode/Makefile ] || exit 0; \
22292 r=`${PWD_COMMAND}`; export r; \
22293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22294 $(HOST_EXPORTS) \
22295 for flag in $(EXTRA_HOST_FLAGS) ; do \
22296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22297 done; \
22298 echo "Doing html in recode" ; \
22299 (cd $(HOST_SUBDIR)/recode && \
22300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22302 "RANLIB=$${RANLIB}" \
22303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22304 html) \
22305 || exit 1
22307 @endif recode
22309 .PHONY: maybe-TAGS-recode TAGS-recode
22310 maybe-TAGS-recode:
22311 @if recode
22312 maybe-TAGS-recode: TAGS-recode
22314 TAGS-recode: \
22315 configure-recode
22316 @: $(MAKE); $(unstage)
22317 @[ -f ./recode/Makefile ] || exit 0; \
22318 r=`${PWD_COMMAND}`; export r; \
22319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22320 $(HOST_EXPORTS) \
22321 for flag in $(EXTRA_HOST_FLAGS) ; do \
22322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22323 done; \
22324 echo "Doing TAGS in recode" ; \
22325 (cd $(HOST_SUBDIR)/recode && \
22326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22328 "RANLIB=$${RANLIB}" \
22329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22330 TAGS) \
22331 || exit 1
22333 @endif recode
22335 .PHONY: maybe-install-info-recode install-info-recode
22336 maybe-install-info-recode:
22337 @if recode
22338 maybe-install-info-recode: install-info-recode
22340 install-info-recode: \
22341 configure-recode \
22342 info-recode
22343 @: $(MAKE); $(unstage)
22344 @[ -f ./recode/Makefile ] || exit 0; \
22345 r=`${PWD_COMMAND}`; export r; \
22346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22347 $(HOST_EXPORTS) \
22348 for flag in $(EXTRA_HOST_FLAGS) ; do \
22349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22350 done; \
22351 echo "Doing install-info in recode" ; \
22352 (cd $(HOST_SUBDIR)/recode && \
22353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22355 "RANLIB=$${RANLIB}" \
22356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22357 install-info) \
22358 || exit 1
22360 @endif recode
22362 .PHONY: maybe-installcheck-recode installcheck-recode
22363 maybe-installcheck-recode:
22364 @if recode
22365 maybe-installcheck-recode: installcheck-recode
22367 installcheck-recode: \
22368 configure-recode
22369 @: $(MAKE); $(unstage)
22370 @[ -f ./recode/Makefile ] || exit 0; \
22371 r=`${PWD_COMMAND}`; export r; \
22372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22373 $(HOST_EXPORTS) \
22374 for flag in $(EXTRA_HOST_FLAGS) ; do \
22375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22376 done; \
22377 echo "Doing installcheck in recode" ; \
22378 (cd $(HOST_SUBDIR)/recode && \
22379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22381 "RANLIB=$${RANLIB}" \
22382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22383 installcheck) \
22384 || exit 1
22386 @endif recode
22388 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
22389 maybe-mostlyclean-recode:
22390 @if recode
22391 maybe-mostlyclean-recode: mostlyclean-recode
22393 mostlyclean-recode:
22394 @: $(MAKE); $(unstage)
22395 @[ -f ./recode/Makefile ] || exit 0; \
22396 r=`${PWD_COMMAND}`; export r; \
22397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22398 $(HOST_EXPORTS) \
22399 for flag in $(EXTRA_HOST_FLAGS) ; do \
22400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22401 done; \
22402 echo "Doing mostlyclean in recode" ; \
22403 (cd $(HOST_SUBDIR)/recode && \
22404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22406 "RANLIB=$${RANLIB}" \
22407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22408 mostlyclean) \
22409 || exit 1
22411 @endif recode
22413 .PHONY: maybe-clean-recode clean-recode
22414 maybe-clean-recode:
22415 @if recode
22416 maybe-clean-recode: clean-recode
22418 clean-recode:
22419 @: $(MAKE); $(unstage)
22420 @[ -f ./recode/Makefile ] || exit 0; \
22421 r=`${PWD_COMMAND}`; export r; \
22422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22423 $(HOST_EXPORTS) \
22424 for flag in $(EXTRA_HOST_FLAGS) ; do \
22425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22426 done; \
22427 echo "Doing clean in recode" ; \
22428 (cd $(HOST_SUBDIR)/recode && \
22429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22431 "RANLIB=$${RANLIB}" \
22432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22433 clean) \
22434 || exit 1
22436 @endif recode
22438 .PHONY: maybe-distclean-recode distclean-recode
22439 maybe-distclean-recode:
22440 @if recode
22441 maybe-distclean-recode: distclean-recode
22443 distclean-recode:
22444 @: $(MAKE); $(unstage)
22445 @[ -f ./recode/Makefile ] || exit 0; \
22446 r=`${PWD_COMMAND}`; export r; \
22447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22448 $(HOST_EXPORTS) \
22449 for flag in $(EXTRA_HOST_FLAGS) ; do \
22450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22451 done; \
22452 echo "Doing distclean in recode" ; \
22453 (cd $(HOST_SUBDIR)/recode && \
22454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22456 "RANLIB=$${RANLIB}" \
22457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22458 distclean) \
22459 || exit 1
22461 @endif recode
22463 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
22464 maybe-maintainer-clean-recode:
22465 @if recode
22466 maybe-maintainer-clean-recode: maintainer-clean-recode
22468 maintainer-clean-recode:
22469 @: $(MAKE); $(unstage)
22470 @[ -f ./recode/Makefile ] || exit 0; \
22471 r=`${PWD_COMMAND}`; export r; \
22472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22473 $(HOST_EXPORTS) \
22474 for flag in $(EXTRA_HOST_FLAGS) ; do \
22475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22476 done; \
22477 echo "Doing maintainer-clean in recode" ; \
22478 (cd $(HOST_SUBDIR)/recode && \
22479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22481 "RANLIB=$${RANLIB}" \
22482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22483 maintainer-clean) \
22484 || exit 1
22486 @endif recode
22490 .PHONY: configure-sed maybe-configure-sed
22491 maybe-configure-sed:
22492 @if sed
22493 maybe-configure-sed: configure-sed
22494 configure-sed:
22495 @: $(MAKE); $(unstage)
22496 @r=`${PWD_COMMAND}`; export r; \
22497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22498 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
22499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
22500 $(HOST_EXPORTS) \
22501 echo Configuring in $(HOST_SUBDIR)/sed; \
22502 cd "$(HOST_SUBDIR)/sed" || exit 1; \
22503 case $(srcdir) in \
22504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22505 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
22506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22507 esac; \
22508 srcdiroption="--srcdir=$${topdir}/sed"; \
22509 libsrcdir="$$s/sed"; \
22510 $(SHELL) $${libsrcdir}/configure \
22511 $(HOST_CONFIGARGS) $${srcdiroption} \
22512 || exit 1
22513 @endif sed
22519 .PHONY: all-sed maybe-all-sed
22520 maybe-all-sed:
22521 @if sed
22522 TARGET-sed=all
22523 maybe-all-sed: all-sed
22524 all-sed: configure-sed
22525 @: $(MAKE); $(unstage)
22526 @r=`${PWD_COMMAND}`; export r; \
22527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22528 $(HOST_EXPORTS) \
22529 (cd $(HOST_SUBDIR)/sed && \
22530 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
22531 @endif sed
22536 .PHONY: check-sed maybe-check-sed
22537 maybe-check-sed:
22538 @if sed
22539 maybe-check-sed: check-sed
22541 check-sed:
22542 @: $(MAKE); $(unstage)
22543 @r=`${PWD_COMMAND}`; export r; \
22544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22545 $(HOST_EXPORTS) \
22546 (cd $(HOST_SUBDIR)/sed && \
22547 $(MAKE) $(FLAGS_TO_PASS) check)
22549 @endif sed
22551 .PHONY: install-sed maybe-install-sed
22552 maybe-install-sed:
22553 @if sed
22554 maybe-install-sed: install-sed
22556 install-sed: installdirs
22557 @: $(MAKE); $(unstage)
22558 @r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 $(HOST_EXPORTS) \
22561 (cd $(HOST_SUBDIR)/sed && \
22562 $(MAKE) $(FLAGS_TO_PASS) install)
22564 @endif sed
22566 # Other targets (info, dvi, etc.)
22568 .PHONY: maybe-info-sed info-sed
22569 maybe-info-sed:
22570 @if sed
22571 maybe-info-sed: info-sed
22573 info-sed: \
22574 configure-sed
22575 @: $(MAKE); $(unstage)
22576 @[ -f ./sed/Makefile ] || exit 0; \
22577 r=`${PWD_COMMAND}`; export r; \
22578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22579 $(HOST_EXPORTS) \
22580 for flag in $(EXTRA_HOST_FLAGS) ; do \
22581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22582 done; \
22583 echo "Doing info in sed" ; \
22584 (cd $(HOST_SUBDIR)/sed && \
22585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22587 "RANLIB=$${RANLIB}" \
22588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22589 info) \
22590 || exit 1
22592 @endif sed
22594 .PHONY: maybe-dvi-sed dvi-sed
22595 maybe-dvi-sed:
22596 @if sed
22597 maybe-dvi-sed: dvi-sed
22599 dvi-sed: \
22600 configure-sed
22601 @: $(MAKE); $(unstage)
22602 @[ -f ./sed/Makefile ] || exit 0; \
22603 r=`${PWD_COMMAND}`; export r; \
22604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22605 $(HOST_EXPORTS) \
22606 for flag in $(EXTRA_HOST_FLAGS) ; do \
22607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22608 done; \
22609 echo "Doing dvi in sed" ; \
22610 (cd $(HOST_SUBDIR)/sed && \
22611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22613 "RANLIB=$${RANLIB}" \
22614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22615 dvi) \
22616 || exit 1
22618 @endif sed
22620 .PHONY: maybe-html-sed html-sed
22621 maybe-html-sed:
22622 @if sed
22623 maybe-html-sed: html-sed
22625 html-sed: \
22626 configure-sed
22627 @: $(MAKE); $(unstage)
22628 @[ -f ./sed/Makefile ] || exit 0; \
22629 r=`${PWD_COMMAND}`; export r; \
22630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22631 $(HOST_EXPORTS) \
22632 for flag in $(EXTRA_HOST_FLAGS) ; do \
22633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22634 done; \
22635 echo "Doing html in sed" ; \
22636 (cd $(HOST_SUBDIR)/sed && \
22637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22639 "RANLIB=$${RANLIB}" \
22640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22641 html) \
22642 || exit 1
22644 @endif sed
22646 .PHONY: maybe-TAGS-sed TAGS-sed
22647 maybe-TAGS-sed:
22648 @if sed
22649 maybe-TAGS-sed: TAGS-sed
22651 TAGS-sed: \
22652 configure-sed
22653 @: $(MAKE); $(unstage)
22654 @[ -f ./sed/Makefile ] || exit 0; \
22655 r=`${PWD_COMMAND}`; export r; \
22656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22657 $(HOST_EXPORTS) \
22658 for flag in $(EXTRA_HOST_FLAGS) ; do \
22659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22660 done; \
22661 echo "Doing TAGS in sed" ; \
22662 (cd $(HOST_SUBDIR)/sed && \
22663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22665 "RANLIB=$${RANLIB}" \
22666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22667 TAGS) \
22668 || exit 1
22670 @endif sed
22672 .PHONY: maybe-install-info-sed install-info-sed
22673 maybe-install-info-sed:
22674 @if sed
22675 maybe-install-info-sed: install-info-sed
22677 install-info-sed: \
22678 configure-sed \
22679 info-sed
22680 @: $(MAKE); $(unstage)
22681 @[ -f ./sed/Makefile ] || exit 0; \
22682 r=`${PWD_COMMAND}`; export r; \
22683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22684 $(HOST_EXPORTS) \
22685 for flag in $(EXTRA_HOST_FLAGS) ; do \
22686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22687 done; \
22688 echo "Doing install-info in sed" ; \
22689 (cd $(HOST_SUBDIR)/sed && \
22690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22692 "RANLIB=$${RANLIB}" \
22693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22694 install-info) \
22695 || exit 1
22697 @endif sed
22699 .PHONY: maybe-installcheck-sed installcheck-sed
22700 maybe-installcheck-sed:
22701 @if sed
22702 maybe-installcheck-sed: installcheck-sed
22704 installcheck-sed: \
22705 configure-sed
22706 @: $(MAKE); $(unstage)
22707 @[ -f ./sed/Makefile ] || exit 0; \
22708 r=`${PWD_COMMAND}`; export r; \
22709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22710 $(HOST_EXPORTS) \
22711 for flag in $(EXTRA_HOST_FLAGS) ; do \
22712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22713 done; \
22714 echo "Doing installcheck in sed" ; \
22715 (cd $(HOST_SUBDIR)/sed && \
22716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22718 "RANLIB=$${RANLIB}" \
22719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22720 installcheck) \
22721 || exit 1
22723 @endif sed
22725 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22726 maybe-mostlyclean-sed:
22727 @if sed
22728 maybe-mostlyclean-sed: mostlyclean-sed
22730 mostlyclean-sed:
22731 @: $(MAKE); $(unstage)
22732 @[ -f ./sed/Makefile ] || exit 0; \
22733 r=`${PWD_COMMAND}`; export r; \
22734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735 $(HOST_EXPORTS) \
22736 for flag in $(EXTRA_HOST_FLAGS) ; do \
22737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22738 done; \
22739 echo "Doing mostlyclean in sed" ; \
22740 (cd $(HOST_SUBDIR)/sed && \
22741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22743 "RANLIB=$${RANLIB}" \
22744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22745 mostlyclean) \
22746 || exit 1
22748 @endif sed
22750 .PHONY: maybe-clean-sed clean-sed
22751 maybe-clean-sed:
22752 @if sed
22753 maybe-clean-sed: clean-sed
22755 clean-sed:
22756 @: $(MAKE); $(unstage)
22757 @[ -f ./sed/Makefile ] || exit 0; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) ; do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing clean in sed" ; \
22765 (cd $(HOST_SUBDIR)/sed && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22770 clean) \
22771 || exit 1
22773 @endif sed
22775 .PHONY: maybe-distclean-sed distclean-sed
22776 maybe-distclean-sed:
22777 @if sed
22778 maybe-distclean-sed: distclean-sed
22780 distclean-sed:
22781 @: $(MAKE); $(unstage)
22782 @[ -f ./sed/Makefile ] || exit 0; \
22783 r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785 $(HOST_EXPORTS) \
22786 for flag in $(EXTRA_HOST_FLAGS) ; do \
22787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22788 done; \
22789 echo "Doing distclean in sed" ; \
22790 (cd $(HOST_SUBDIR)/sed && \
22791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22793 "RANLIB=$${RANLIB}" \
22794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22795 distclean) \
22796 || exit 1
22798 @endif sed
22800 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22801 maybe-maintainer-clean-sed:
22802 @if sed
22803 maybe-maintainer-clean-sed: maintainer-clean-sed
22805 maintainer-clean-sed:
22806 @: $(MAKE); $(unstage)
22807 @[ -f ./sed/Makefile ] || exit 0; \
22808 r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22810 $(HOST_EXPORTS) \
22811 for flag in $(EXTRA_HOST_FLAGS) ; do \
22812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22813 done; \
22814 echo "Doing maintainer-clean in sed" ; \
22815 (cd $(HOST_SUBDIR)/sed && \
22816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22818 "RANLIB=$${RANLIB}" \
22819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22820 maintainer-clean) \
22821 || exit 1
22823 @endif sed
22827 .PHONY: configure-send-pr maybe-configure-send-pr
22828 maybe-configure-send-pr:
22829 @if send-pr
22830 maybe-configure-send-pr: configure-send-pr
22831 configure-send-pr:
22832 @: $(MAKE); $(unstage)
22833 @r=`${PWD_COMMAND}`; export r; \
22834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22835 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22837 $(HOST_EXPORTS) \
22838 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22839 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22840 case $(srcdir) in \
22841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22842 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22844 esac; \
22845 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22846 libsrcdir="$$s/send-pr"; \
22847 $(SHELL) $${libsrcdir}/configure \
22848 $(HOST_CONFIGARGS) $${srcdiroption} \
22849 || exit 1
22850 @endif send-pr
22856 .PHONY: all-send-pr maybe-all-send-pr
22857 maybe-all-send-pr:
22858 @if send-pr
22859 TARGET-send-pr=all
22860 maybe-all-send-pr: all-send-pr
22861 all-send-pr: configure-send-pr
22862 @: $(MAKE); $(unstage)
22863 @r=`${PWD_COMMAND}`; export r; \
22864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22865 $(HOST_EXPORTS) \
22866 (cd $(HOST_SUBDIR)/send-pr && \
22867 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22868 @endif send-pr
22873 .PHONY: check-send-pr maybe-check-send-pr
22874 maybe-check-send-pr:
22875 @if send-pr
22876 maybe-check-send-pr: check-send-pr
22878 check-send-pr:
22879 @: $(MAKE); $(unstage)
22880 @r=`${PWD_COMMAND}`; export r; \
22881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22882 $(HOST_EXPORTS) \
22883 (cd $(HOST_SUBDIR)/send-pr && \
22884 $(MAKE) $(FLAGS_TO_PASS) check)
22886 @endif send-pr
22888 .PHONY: install-send-pr maybe-install-send-pr
22889 maybe-install-send-pr:
22890 @if send-pr
22891 maybe-install-send-pr: install-send-pr
22893 install-send-pr: installdirs
22894 @: $(MAKE); $(unstage)
22895 @r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(HOST_EXPORTS) \
22898 (cd $(HOST_SUBDIR)/send-pr && \
22899 $(MAKE) $(FLAGS_TO_PASS) install)
22901 @endif send-pr
22903 # Other targets (info, dvi, etc.)
22905 .PHONY: maybe-info-send-pr info-send-pr
22906 maybe-info-send-pr:
22907 @if send-pr
22908 maybe-info-send-pr: info-send-pr
22910 info-send-pr: \
22911 configure-send-pr
22912 @: $(MAKE); $(unstage)
22913 @[ -f ./send-pr/Makefile ] || exit 0; \
22914 r=`${PWD_COMMAND}`; export r; \
22915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22916 $(HOST_EXPORTS) \
22917 for flag in $(EXTRA_HOST_FLAGS) ; do \
22918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22919 done; \
22920 echo "Doing info in send-pr" ; \
22921 (cd $(HOST_SUBDIR)/send-pr && \
22922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22924 "RANLIB=$${RANLIB}" \
22925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22926 info) \
22927 || exit 1
22929 @endif send-pr
22931 .PHONY: maybe-dvi-send-pr dvi-send-pr
22932 maybe-dvi-send-pr:
22933 @if send-pr
22934 maybe-dvi-send-pr: dvi-send-pr
22936 dvi-send-pr: \
22937 configure-send-pr
22938 @: $(MAKE); $(unstage)
22939 @[ -f ./send-pr/Makefile ] || exit 0; \
22940 r=`${PWD_COMMAND}`; export r; \
22941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 $(HOST_EXPORTS) \
22943 for flag in $(EXTRA_HOST_FLAGS) ; do \
22944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22945 done; \
22946 echo "Doing dvi in send-pr" ; \
22947 (cd $(HOST_SUBDIR)/send-pr && \
22948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22950 "RANLIB=$${RANLIB}" \
22951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22952 dvi) \
22953 || exit 1
22955 @endif send-pr
22957 .PHONY: maybe-html-send-pr html-send-pr
22958 maybe-html-send-pr:
22959 @if send-pr
22960 maybe-html-send-pr: html-send-pr
22962 html-send-pr: \
22963 configure-send-pr
22964 @: $(MAKE); $(unstage)
22965 @[ -f ./send-pr/Makefile ] || exit 0; \
22966 r=`${PWD_COMMAND}`; export r; \
22967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 $(HOST_EXPORTS) \
22969 for flag in $(EXTRA_HOST_FLAGS) ; do \
22970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22971 done; \
22972 echo "Doing html in send-pr" ; \
22973 (cd $(HOST_SUBDIR)/send-pr && \
22974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22976 "RANLIB=$${RANLIB}" \
22977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22978 html) \
22979 || exit 1
22981 @endif send-pr
22983 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22984 maybe-TAGS-send-pr:
22985 @if send-pr
22986 maybe-TAGS-send-pr: TAGS-send-pr
22988 TAGS-send-pr: \
22989 configure-send-pr
22990 @: $(MAKE); $(unstage)
22991 @[ -f ./send-pr/Makefile ] || exit 0; \
22992 r=`${PWD_COMMAND}`; export r; \
22993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22994 $(HOST_EXPORTS) \
22995 for flag in $(EXTRA_HOST_FLAGS) ; do \
22996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22997 done; \
22998 echo "Doing TAGS in send-pr" ; \
22999 (cd $(HOST_SUBDIR)/send-pr && \
23000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23002 "RANLIB=$${RANLIB}" \
23003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23004 TAGS) \
23005 || exit 1
23007 @endif send-pr
23009 .PHONY: maybe-install-info-send-pr install-info-send-pr
23010 maybe-install-info-send-pr:
23011 @if send-pr
23012 maybe-install-info-send-pr: install-info-send-pr
23014 install-info-send-pr: \
23015 configure-send-pr \
23016 info-send-pr
23017 @: $(MAKE); $(unstage)
23018 @[ -f ./send-pr/Makefile ] || exit 0; \
23019 r=`${PWD_COMMAND}`; export r; \
23020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23021 $(HOST_EXPORTS) \
23022 for flag in $(EXTRA_HOST_FLAGS) ; do \
23023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23024 done; \
23025 echo "Doing install-info in send-pr" ; \
23026 (cd $(HOST_SUBDIR)/send-pr && \
23027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23029 "RANLIB=$${RANLIB}" \
23030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23031 install-info) \
23032 || exit 1
23034 @endif send-pr
23036 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
23037 maybe-installcheck-send-pr:
23038 @if send-pr
23039 maybe-installcheck-send-pr: installcheck-send-pr
23041 installcheck-send-pr: \
23042 configure-send-pr
23043 @: $(MAKE); $(unstage)
23044 @[ -f ./send-pr/Makefile ] || exit 0; \
23045 r=`${PWD_COMMAND}`; export r; \
23046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23047 $(HOST_EXPORTS) \
23048 for flag in $(EXTRA_HOST_FLAGS) ; do \
23049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23050 done; \
23051 echo "Doing installcheck in send-pr" ; \
23052 (cd $(HOST_SUBDIR)/send-pr && \
23053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23055 "RANLIB=$${RANLIB}" \
23056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23057 installcheck) \
23058 || exit 1
23060 @endif send-pr
23062 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
23063 maybe-mostlyclean-send-pr:
23064 @if send-pr
23065 maybe-mostlyclean-send-pr: mostlyclean-send-pr
23067 mostlyclean-send-pr:
23068 @: $(MAKE); $(unstage)
23069 @[ -f ./send-pr/Makefile ] || exit 0; \
23070 r=`${PWD_COMMAND}`; export r; \
23071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23072 $(HOST_EXPORTS) \
23073 for flag in $(EXTRA_HOST_FLAGS) ; do \
23074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23075 done; \
23076 echo "Doing mostlyclean in send-pr" ; \
23077 (cd $(HOST_SUBDIR)/send-pr && \
23078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23080 "RANLIB=$${RANLIB}" \
23081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23082 mostlyclean) \
23083 || exit 1
23085 @endif send-pr
23087 .PHONY: maybe-clean-send-pr clean-send-pr
23088 maybe-clean-send-pr:
23089 @if send-pr
23090 maybe-clean-send-pr: clean-send-pr
23092 clean-send-pr:
23093 @: $(MAKE); $(unstage)
23094 @[ -f ./send-pr/Makefile ] || exit 0; \
23095 r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23097 $(HOST_EXPORTS) \
23098 for flag in $(EXTRA_HOST_FLAGS) ; do \
23099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23100 done; \
23101 echo "Doing clean in send-pr" ; \
23102 (cd $(HOST_SUBDIR)/send-pr && \
23103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23105 "RANLIB=$${RANLIB}" \
23106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23107 clean) \
23108 || exit 1
23110 @endif send-pr
23112 .PHONY: maybe-distclean-send-pr distclean-send-pr
23113 maybe-distclean-send-pr:
23114 @if send-pr
23115 maybe-distclean-send-pr: distclean-send-pr
23117 distclean-send-pr:
23118 @: $(MAKE); $(unstage)
23119 @[ -f ./send-pr/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(HOST_EXPORTS) \
23123 for flag in $(EXTRA_HOST_FLAGS) ; do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23125 done; \
23126 echo "Doing distclean in send-pr" ; \
23127 (cd $(HOST_SUBDIR)/send-pr && \
23128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23130 "RANLIB=$${RANLIB}" \
23131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23132 distclean) \
23133 || exit 1
23135 @endif send-pr
23137 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
23138 maybe-maintainer-clean-send-pr:
23139 @if send-pr
23140 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
23142 maintainer-clean-send-pr:
23143 @: $(MAKE); $(unstage)
23144 @[ -f ./send-pr/Makefile ] || exit 0; \
23145 r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23147 $(HOST_EXPORTS) \
23148 for flag in $(EXTRA_HOST_FLAGS) ; do \
23149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23150 done; \
23151 echo "Doing maintainer-clean in send-pr" ; \
23152 (cd $(HOST_SUBDIR)/send-pr && \
23153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23155 "RANLIB=$${RANLIB}" \
23156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23157 maintainer-clean) \
23158 || exit 1
23160 @endif send-pr
23164 .PHONY: configure-shellutils maybe-configure-shellutils
23165 maybe-configure-shellutils:
23166 @if shellutils
23167 maybe-configure-shellutils: configure-shellutils
23168 configure-shellutils:
23169 @: $(MAKE); $(unstage)
23170 @r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23172 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
23173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
23174 $(HOST_EXPORTS) \
23175 echo Configuring in $(HOST_SUBDIR)/shellutils; \
23176 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
23177 case $(srcdir) in \
23178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23179 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
23180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23181 esac; \
23182 srcdiroption="--srcdir=$${topdir}/shellutils"; \
23183 libsrcdir="$$s/shellutils"; \
23184 $(SHELL) $${libsrcdir}/configure \
23185 $(HOST_CONFIGARGS) $${srcdiroption} \
23186 || exit 1
23187 @endif shellutils
23193 .PHONY: all-shellutils maybe-all-shellutils
23194 maybe-all-shellutils:
23195 @if shellutils
23196 TARGET-shellutils=all
23197 maybe-all-shellutils: all-shellutils
23198 all-shellutils: configure-shellutils
23199 @: $(MAKE); $(unstage)
23200 @r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23202 $(HOST_EXPORTS) \
23203 (cd $(HOST_SUBDIR)/shellutils && \
23204 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
23205 @endif shellutils
23210 .PHONY: check-shellutils maybe-check-shellutils
23211 maybe-check-shellutils:
23212 @if shellutils
23213 maybe-check-shellutils: check-shellutils
23215 check-shellutils:
23216 @: $(MAKE); $(unstage)
23217 @r=`${PWD_COMMAND}`; export r; \
23218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219 $(HOST_EXPORTS) \
23220 (cd $(HOST_SUBDIR)/shellutils && \
23221 $(MAKE) $(FLAGS_TO_PASS) check)
23223 @endif shellutils
23225 .PHONY: install-shellutils maybe-install-shellutils
23226 maybe-install-shellutils:
23227 @if shellutils
23228 maybe-install-shellutils: install-shellutils
23230 install-shellutils: installdirs
23231 @: $(MAKE); $(unstage)
23232 @r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(HOST_EXPORTS) \
23235 (cd $(HOST_SUBDIR)/shellutils && \
23236 $(MAKE) $(FLAGS_TO_PASS) install)
23238 @endif shellutils
23240 # Other targets (info, dvi, etc.)
23242 .PHONY: maybe-info-shellutils info-shellutils
23243 maybe-info-shellutils:
23244 @if shellutils
23245 maybe-info-shellutils: info-shellutils
23247 info-shellutils: \
23248 configure-shellutils
23249 @: $(MAKE); $(unstage)
23250 @[ -f ./shellutils/Makefile ] || exit 0; \
23251 r=`${PWD_COMMAND}`; export r; \
23252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23253 $(HOST_EXPORTS) \
23254 for flag in $(EXTRA_HOST_FLAGS) ; do \
23255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23256 done; \
23257 echo "Doing info in shellutils" ; \
23258 (cd $(HOST_SUBDIR)/shellutils && \
23259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23261 "RANLIB=$${RANLIB}" \
23262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23263 info) \
23264 || exit 1
23266 @endif shellutils
23268 .PHONY: maybe-dvi-shellutils dvi-shellutils
23269 maybe-dvi-shellutils:
23270 @if shellutils
23271 maybe-dvi-shellutils: dvi-shellutils
23273 dvi-shellutils: \
23274 configure-shellutils
23275 @: $(MAKE); $(unstage)
23276 @[ -f ./shellutils/Makefile ] || exit 0; \
23277 r=`${PWD_COMMAND}`; export r; \
23278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23279 $(HOST_EXPORTS) \
23280 for flag in $(EXTRA_HOST_FLAGS) ; do \
23281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23282 done; \
23283 echo "Doing dvi in shellutils" ; \
23284 (cd $(HOST_SUBDIR)/shellutils && \
23285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23287 "RANLIB=$${RANLIB}" \
23288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23289 dvi) \
23290 || exit 1
23292 @endif shellutils
23294 .PHONY: maybe-html-shellutils html-shellutils
23295 maybe-html-shellutils:
23296 @if shellutils
23297 maybe-html-shellutils: html-shellutils
23299 html-shellutils: \
23300 configure-shellutils
23301 @: $(MAKE); $(unstage)
23302 @[ -f ./shellutils/Makefile ] || exit 0; \
23303 r=`${PWD_COMMAND}`; export r; \
23304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 $(HOST_EXPORTS) \
23306 for flag in $(EXTRA_HOST_FLAGS) ; do \
23307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23308 done; \
23309 echo "Doing html in shellutils" ; \
23310 (cd $(HOST_SUBDIR)/shellutils && \
23311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23313 "RANLIB=$${RANLIB}" \
23314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23315 html) \
23316 || exit 1
23318 @endif shellutils
23320 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
23321 maybe-TAGS-shellutils:
23322 @if shellutils
23323 maybe-TAGS-shellutils: TAGS-shellutils
23325 TAGS-shellutils: \
23326 configure-shellutils
23327 @: $(MAKE); $(unstage)
23328 @[ -f ./shellutils/Makefile ] || exit 0; \
23329 r=`${PWD_COMMAND}`; export r; \
23330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23331 $(HOST_EXPORTS) \
23332 for flag in $(EXTRA_HOST_FLAGS) ; do \
23333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23334 done; \
23335 echo "Doing TAGS in shellutils" ; \
23336 (cd $(HOST_SUBDIR)/shellutils && \
23337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23339 "RANLIB=$${RANLIB}" \
23340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23341 TAGS) \
23342 || exit 1
23344 @endif shellutils
23346 .PHONY: maybe-install-info-shellutils install-info-shellutils
23347 maybe-install-info-shellutils:
23348 @if shellutils
23349 maybe-install-info-shellutils: install-info-shellutils
23351 install-info-shellutils: \
23352 configure-shellutils \
23353 info-shellutils
23354 @: $(MAKE); $(unstage)
23355 @[ -f ./shellutils/Makefile ] || exit 0; \
23356 r=`${PWD_COMMAND}`; export r; \
23357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23358 $(HOST_EXPORTS) \
23359 for flag in $(EXTRA_HOST_FLAGS) ; do \
23360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23361 done; \
23362 echo "Doing install-info in shellutils" ; \
23363 (cd $(HOST_SUBDIR)/shellutils && \
23364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23366 "RANLIB=$${RANLIB}" \
23367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23368 install-info) \
23369 || exit 1
23371 @endif shellutils
23373 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
23374 maybe-installcheck-shellutils:
23375 @if shellutils
23376 maybe-installcheck-shellutils: installcheck-shellutils
23378 installcheck-shellutils: \
23379 configure-shellutils
23380 @: $(MAKE); $(unstage)
23381 @[ -f ./shellutils/Makefile ] || exit 0; \
23382 r=`${PWD_COMMAND}`; export r; \
23383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23384 $(HOST_EXPORTS) \
23385 for flag in $(EXTRA_HOST_FLAGS) ; do \
23386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23387 done; \
23388 echo "Doing installcheck in shellutils" ; \
23389 (cd $(HOST_SUBDIR)/shellutils && \
23390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23392 "RANLIB=$${RANLIB}" \
23393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23394 installcheck) \
23395 || exit 1
23397 @endif shellutils
23399 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
23400 maybe-mostlyclean-shellutils:
23401 @if shellutils
23402 maybe-mostlyclean-shellutils: mostlyclean-shellutils
23404 mostlyclean-shellutils:
23405 @: $(MAKE); $(unstage)
23406 @[ -f ./shellutils/Makefile ] || exit 0; \
23407 r=`${PWD_COMMAND}`; export r; \
23408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23409 $(HOST_EXPORTS) \
23410 for flag in $(EXTRA_HOST_FLAGS) ; do \
23411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23412 done; \
23413 echo "Doing mostlyclean in shellutils" ; \
23414 (cd $(HOST_SUBDIR)/shellutils && \
23415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23417 "RANLIB=$${RANLIB}" \
23418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23419 mostlyclean) \
23420 || exit 1
23422 @endif shellutils
23424 .PHONY: maybe-clean-shellutils clean-shellutils
23425 maybe-clean-shellutils:
23426 @if shellutils
23427 maybe-clean-shellutils: clean-shellutils
23429 clean-shellutils:
23430 @: $(MAKE); $(unstage)
23431 @[ -f ./shellutils/Makefile ] || exit 0; \
23432 r=`${PWD_COMMAND}`; export r; \
23433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23434 $(HOST_EXPORTS) \
23435 for flag in $(EXTRA_HOST_FLAGS) ; do \
23436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23437 done; \
23438 echo "Doing clean in shellutils" ; \
23439 (cd $(HOST_SUBDIR)/shellutils && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23442 "RANLIB=$${RANLIB}" \
23443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23444 clean) \
23445 || exit 1
23447 @endif shellutils
23449 .PHONY: maybe-distclean-shellutils distclean-shellutils
23450 maybe-distclean-shellutils:
23451 @if shellutils
23452 maybe-distclean-shellutils: distclean-shellutils
23454 distclean-shellutils:
23455 @: $(MAKE); $(unstage)
23456 @[ -f ./shellutils/Makefile ] || exit 0; \
23457 r=`${PWD_COMMAND}`; export r; \
23458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23459 $(HOST_EXPORTS) \
23460 for flag in $(EXTRA_HOST_FLAGS) ; do \
23461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23462 done; \
23463 echo "Doing distclean in shellutils" ; \
23464 (cd $(HOST_SUBDIR)/shellutils && \
23465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23467 "RANLIB=$${RANLIB}" \
23468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23469 distclean) \
23470 || exit 1
23472 @endif shellutils
23474 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
23475 maybe-maintainer-clean-shellutils:
23476 @if shellutils
23477 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
23479 maintainer-clean-shellutils:
23480 @: $(MAKE); $(unstage)
23481 @[ -f ./shellutils/Makefile ] || exit 0; \
23482 r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 $(HOST_EXPORTS) \
23485 for flag in $(EXTRA_HOST_FLAGS) ; do \
23486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23487 done; \
23488 echo "Doing maintainer-clean in shellutils" ; \
23489 (cd $(HOST_SUBDIR)/shellutils && \
23490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23492 "RANLIB=$${RANLIB}" \
23493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23494 maintainer-clean) \
23495 || exit 1
23497 @endif shellutils
23501 .PHONY: configure-sid maybe-configure-sid
23502 maybe-configure-sid:
23503 @if sid
23504 maybe-configure-sid: configure-sid
23505 configure-sid:
23506 @: $(MAKE); $(unstage)
23507 @r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23511 $(HOST_EXPORTS) \
23512 echo Configuring in $(HOST_SUBDIR)/sid; \
23513 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23514 case $(srcdir) in \
23515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23516 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23518 esac; \
23519 srcdiroption="--srcdir=$${topdir}/sid"; \
23520 libsrcdir="$$s/sid"; \
23521 $(SHELL) $${libsrcdir}/configure \
23522 $(HOST_CONFIGARGS) $${srcdiroption} \
23523 || exit 1
23524 @endif sid
23530 .PHONY: all-sid maybe-all-sid
23531 maybe-all-sid:
23532 @if sid
23533 TARGET-sid=all
23534 maybe-all-sid: all-sid
23535 all-sid: configure-sid
23536 @: $(MAKE); $(unstage)
23537 @r=`${PWD_COMMAND}`; export r; \
23538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 $(HOST_EXPORTS) \
23540 (cd $(HOST_SUBDIR)/sid && \
23541 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
23542 @endif sid
23547 .PHONY: check-sid maybe-check-sid
23548 maybe-check-sid:
23549 @if sid
23550 maybe-check-sid: check-sid
23552 check-sid:
23553 @: $(MAKE); $(unstage)
23554 @r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(HOST_EXPORTS) \
23557 (cd $(HOST_SUBDIR)/sid && \
23558 $(MAKE) $(FLAGS_TO_PASS) check)
23560 @endif sid
23562 .PHONY: install-sid maybe-install-sid
23563 maybe-install-sid:
23564 @if sid
23565 maybe-install-sid: install-sid
23567 install-sid: installdirs
23568 @: $(MAKE); $(unstage)
23569 @r=`${PWD_COMMAND}`; export r; \
23570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 $(HOST_EXPORTS) \
23572 (cd $(HOST_SUBDIR)/sid && \
23573 $(MAKE) $(FLAGS_TO_PASS) install)
23575 @endif sid
23577 # Other targets (info, dvi, etc.)
23579 .PHONY: maybe-info-sid info-sid
23580 maybe-info-sid:
23581 @if sid
23582 maybe-info-sid: info-sid
23584 info-sid: \
23585 configure-sid
23586 @: $(MAKE); $(unstage)
23587 @[ -f ./sid/Makefile ] || exit 0; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(HOST_EXPORTS) \
23591 for flag in $(EXTRA_HOST_FLAGS) ; do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 echo "Doing info in sid" ; \
23595 (cd $(HOST_SUBDIR)/sid && \
23596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23598 "RANLIB=$${RANLIB}" \
23599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23600 info) \
23601 || exit 1
23603 @endif sid
23605 .PHONY: maybe-dvi-sid dvi-sid
23606 maybe-dvi-sid:
23607 @if sid
23608 maybe-dvi-sid: dvi-sid
23610 dvi-sid: \
23611 configure-sid
23612 @: $(MAKE); $(unstage)
23613 @[ -f ./sid/Makefile ] || exit 0; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23616 $(HOST_EXPORTS) \
23617 for flag in $(EXTRA_HOST_FLAGS) ; do \
23618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23619 done; \
23620 echo "Doing dvi in sid" ; \
23621 (cd $(HOST_SUBDIR)/sid && \
23622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23624 "RANLIB=$${RANLIB}" \
23625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23626 dvi) \
23627 || exit 1
23629 @endif sid
23631 .PHONY: maybe-html-sid html-sid
23632 maybe-html-sid:
23633 @if sid
23634 maybe-html-sid: html-sid
23636 html-sid: \
23637 configure-sid
23638 @: $(MAKE); $(unstage)
23639 @[ -f ./sid/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23645 done; \
23646 echo "Doing html in sid" ; \
23647 (cd $(HOST_SUBDIR)/sid && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23652 html) \
23653 || exit 1
23655 @endif sid
23657 .PHONY: maybe-TAGS-sid TAGS-sid
23658 maybe-TAGS-sid:
23659 @if sid
23660 maybe-TAGS-sid: TAGS-sid
23662 TAGS-sid: \
23663 configure-sid
23664 @: $(MAKE); $(unstage)
23665 @[ -f ./sid/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing TAGS in sid" ; \
23673 (cd $(HOST_SUBDIR)/sid && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23678 TAGS) \
23679 || exit 1
23681 @endif sid
23683 .PHONY: maybe-install-info-sid install-info-sid
23684 maybe-install-info-sid:
23685 @if sid
23686 maybe-install-info-sid: install-info-sid
23688 install-info-sid: \
23689 configure-sid \
23690 info-sid
23691 @: $(MAKE); $(unstage)
23692 @[ -f ./sid/Makefile ] || exit 0; \
23693 r=`${PWD_COMMAND}`; export r; \
23694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23695 $(HOST_EXPORTS) \
23696 for flag in $(EXTRA_HOST_FLAGS) ; do \
23697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23698 done; \
23699 echo "Doing install-info in sid" ; \
23700 (cd $(HOST_SUBDIR)/sid && \
23701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23703 "RANLIB=$${RANLIB}" \
23704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23705 install-info) \
23706 || exit 1
23708 @endif sid
23710 .PHONY: maybe-installcheck-sid installcheck-sid
23711 maybe-installcheck-sid:
23712 @if sid
23713 maybe-installcheck-sid: installcheck-sid
23715 installcheck-sid: \
23716 configure-sid
23717 @: $(MAKE); $(unstage)
23718 @[ -f ./sid/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(HOST_EXPORTS) \
23722 for flag in $(EXTRA_HOST_FLAGS) ; do \
23723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23724 done; \
23725 echo "Doing installcheck in sid" ; \
23726 (cd $(HOST_SUBDIR)/sid && \
23727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23729 "RANLIB=$${RANLIB}" \
23730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23731 installcheck) \
23732 || exit 1
23734 @endif sid
23736 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23737 maybe-mostlyclean-sid:
23738 @if sid
23739 maybe-mostlyclean-sid: mostlyclean-sid
23741 mostlyclean-sid:
23742 @: $(MAKE); $(unstage)
23743 @[ -f ./sid/Makefile ] || exit 0; \
23744 r=`${PWD_COMMAND}`; export r; \
23745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23746 $(HOST_EXPORTS) \
23747 for flag in $(EXTRA_HOST_FLAGS) ; do \
23748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23749 done; \
23750 echo "Doing mostlyclean in sid" ; \
23751 (cd $(HOST_SUBDIR)/sid && \
23752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23754 "RANLIB=$${RANLIB}" \
23755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23756 mostlyclean) \
23757 || exit 1
23759 @endif sid
23761 .PHONY: maybe-clean-sid clean-sid
23762 maybe-clean-sid:
23763 @if sid
23764 maybe-clean-sid: clean-sid
23766 clean-sid:
23767 @: $(MAKE); $(unstage)
23768 @[ -f ./sid/Makefile ] || exit 0; \
23769 r=`${PWD_COMMAND}`; export r; \
23770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 $(HOST_EXPORTS) \
23772 for flag in $(EXTRA_HOST_FLAGS) ; do \
23773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23774 done; \
23775 echo "Doing clean in sid" ; \
23776 (cd $(HOST_SUBDIR)/sid && \
23777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23779 "RANLIB=$${RANLIB}" \
23780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23781 clean) \
23782 || exit 1
23784 @endif sid
23786 .PHONY: maybe-distclean-sid distclean-sid
23787 maybe-distclean-sid:
23788 @if sid
23789 maybe-distclean-sid: distclean-sid
23791 distclean-sid:
23792 @: $(MAKE); $(unstage)
23793 @[ -f ./sid/Makefile ] || exit 0; \
23794 r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(HOST_EXPORTS) \
23797 for flag in $(EXTRA_HOST_FLAGS) ; do \
23798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23799 done; \
23800 echo "Doing distclean in sid" ; \
23801 (cd $(HOST_SUBDIR)/sid && \
23802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23804 "RANLIB=$${RANLIB}" \
23805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23806 distclean) \
23807 || exit 1
23809 @endif sid
23811 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23812 maybe-maintainer-clean-sid:
23813 @if sid
23814 maybe-maintainer-clean-sid: maintainer-clean-sid
23816 maintainer-clean-sid:
23817 @: $(MAKE); $(unstage)
23818 @[ -f ./sid/Makefile ] || exit 0; \
23819 r=`${PWD_COMMAND}`; export r; \
23820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23821 $(HOST_EXPORTS) \
23822 for flag in $(EXTRA_HOST_FLAGS) ; do \
23823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23824 done; \
23825 echo "Doing maintainer-clean in sid" ; \
23826 (cd $(HOST_SUBDIR)/sid && \
23827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23829 "RANLIB=$${RANLIB}" \
23830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23831 maintainer-clean) \
23832 || exit 1
23834 @endif sid
23838 .PHONY: configure-sim maybe-configure-sim
23839 maybe-configure-sim:
23840 @if sim
23841 maybe-configure-sim: configure-sim
23842 configure-sim:
23843 @: $(MAKE); $(unstage)
23844 @r=`${PWD_COMMAND}`; export r; \
23845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23846 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23848 $(HOST_EXPORTS) \
23849 echo Configuring in $(HOST_SUBDIR)/sim; \
23850 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23851 case $(srcdir) in \
23852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23853 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23855 esac; \
23856 srcdiroption="--srcdir=$${topdir}/sim"; \
23857 libsrcdir="$$s/sim"; \
23858 $(SHELL) $${libsrcdir}/configure \
23859 $(HOST_CONFIGARGS) $${srcdiroption} \
23860 || exit 1
23861 @endif sim
23867 .PHONY: all-sim maybe-all-sim
23868 maybe-all-sim:
23869 @if sim
23870 TARGET-sim=all
23871 maybe-all-sim: all-sim
23872 all-sim: configure-sim
23873 @: $(MAKE); $(unstage)
23874 @r=`${PWD_COMMAND}`; export r; \
23875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 $(HOST_EXPORTS) \
23877 (cd $(HOST_SUBDIR)/sim && \
23878 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23879 @endif sim
23884 .PHONY: check-sim maybe-check-sim
23885 maybe-check-sim:
23886 @if sim
23887 maybe-check-sim: check-sim
23889 check-sim:
23890 @: $(MAKE); $(unstage)
23891 @r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23893 $(HOST_EXPORTS) \
23894 (cd $(HOST_SUBDIR)/sim && \
23895 $(MAKE) $(FLAGS_TO_PASS) check)
23897 @endif sim
23899 .PHONY: install-sim maybe-install-sim
23900 maybe-install-sim:
23901 @if sim
23902 maybe-install-sim: install-sim
23904 install-sim: installdirs
23905 @: $(MAKE); $(unstage)
23906 @r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23908 $(HOST_EXPORTS) \
23909 (cd $(HOST_SUBDIR)/sim && \
23910 $(MAKE) $(FLAGS_TO_PASS) install)
23912 @endif sim
23914 # Other targets (info, dvi, etc.)
23916 .PHONY: maybe-info-sim info-sim
23917 maybe-info-sim:
23918 @if sim
23919 maybe-info-sim: info-sim
23921 info-sim: \
23922 configure-sim
23923 @: $(MAKE); $(unstage)
23924 @[ -f ./sim/Makefile ] || exit 0; \
23925 r=`${PWD_COMMAND}`; export r; \
23926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23927 $(HOST_EXPORTS) \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23930 done; \
23931 echo "Doing info in sim" ; \
23932 (cd $(HOST_SUBDIR)/sim && \
23933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23935 "RANLIB=$${RANLIB}" \
23936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23937 info) \
23938 || exit 1
23940 @endif sim
23942 .PHONY: maybe-dvi-sim dvi-sim
23943 maybe-dvi-sim:
23944 @if sim
23945 maybe-dvi-sim: dvi-sim
23947 dvi-sim: \
23948 configure-sim
23949 @: $(MAKE); $(unstage)
23950 @[ -f ./sim/Makefile ] || exit 0; \
23951 r=`${PWD_COMMAND}`; export r; \
23952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23953 $(HOST_EXPORTS) \
23954 for flag in $(EXTRA_HOST_FLAGS) ; do \
23955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23956 done; \
23957 echo "Doing dvi in sim" ; \
23958 (cd $(HOST_SUBDIR)/sim && \
23959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23961 "RANLIB=$${RANLIB}" \
23962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23963 dvi) \
23964 || exit 1
23966 @endif sim
23968 .PHONY: maybe-html-sim html-sim
23969 maybe-html-sim:
23970 @if sim
23971 maybe-html-sim: html-sim
23973 html-sim: \
23974 configure-sim
23975 @: $(MAKE); $(unstage)
23976 @[ -f ./sim/Makefile ] || exit 0; \
23977 r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(HOST_EXPORTS) \
23980 for flag in $(EXTRA_HOST_FLAGS) ; do \
23981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23982 done; \
23983 echo "Doing html in sim" ; \
23984 (cd $(HOST_SUBDIR)/sim && \
23985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23987 "RANLIB=$${RANLIB}" \
23988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23989 html) \
23990 || exit 1
23992 @endif sim
23994 .PHONY: maybe-TAGS-sim TAGS-sim
23995 maybe-TAGS-sim:
23996 @if sim
23997 maybe-TAGS-sim: TAGS-sim
23999 TAGS-sim: \
24000 configure-sim
24001 @: $(MAKE); $(unstage)
24002 @[ -f ./sim/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 echo "Doing TAGS in sim" ; \
24010 (cd $(HOST_SUBDIR)/sim && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24015 TAGS) \
24016 || exit 1
24018 @endif sim
24020 .PHONY: maybe-install-info-sim install-info-sim
24021 maybe-install-info-sim:
24022 @if sim
24023 maybe-install-info-sim: install-info-sim
24025 install-info-sim: \
24026 configure-sim \
24027 info-sim
24028 @: $(MAKE); $(unstage)
24029 @[ -f ./sim/Makefile ] || exit 0; \
24030 r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(HOST_EXPORTS) \
24033 for flag in $(EXTRA_HOST_FLAGS) ; do \
24034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24035 done; \
24036 echo "Doing install-info in sim" ; \
24037 (cd $(HOST_SUBDIR)/sim && \
24038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24040 "RANLIB=$${RANLIB}" \
24041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24042 install-info) \
24043 || exit 1
24045 @endif sim
24047 .PHONY: maybe-installcheck-sim installcheck-sim
24048 maybe-installcheck-sim:
24049 @if sim
24050 maybe-installcheck-sim: installcheck-sim
24052 installcheck-sim: \
24053 configure-sim
24054 @: $(MAKE); $(unstage)
24055 @[ -f ./sim/Makefile ] || exit 0; \
24056 r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24058 $(HOST_EXPORTS) \
24059 for flag in $(EXTRA_HOST_FLAGS) ; do \
24060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24061 done; \
24062 echo "Doing installcheck in sim" ; \
24063 (cd $(HOST_SUBDIR)/sim && \
24064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24066 "RANLIB=$${RANLIB}" \
24067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24068 installcheck) \
24069 || exit 1
24071 @endif sim
24073 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
24074 maybe-mostlyclean-sim:
24075 @if sim
24076 maybe-mostlyclean-sim: mostlyclean-sim
24078 mostlyclean-sim:
24079 @: $(MAKE); $(unstage)
24080 @[ -f ./sim/Makefile ] || exit 0; \
24081 r=`${PWD_COMMAND}`; export r; \
24082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24083 $(HOST_EXPORTS) \
24084 for flag in $(EXTRA_HOST_FLAGS) ; do \
24085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24086 done; \
24087 echo "Doing mostlyclean in sim" ; \
24088 (cd $(HOST_SUBDIR)/sim && \
24089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24091 "RANLIB=$${RANLIB}" \
24092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24093 mostlyclean) \
24094 || exit 1
24096 @endif sim
24098 .PHONY: maybe-clean-sim clean-sim
24099 maybe-clean-sim:
24100 @if sim
24101 maybe-clean-sim: clean-sim
24103 clean-sim:
24104 @: $(MAKE); $(unstage)
24105 @[ -f ./sim/Makefile ] || exit 0; \
24106 r=`${PWD_COMMAND}`; export r; \
24107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24108 $(HOST_EXPORTS) \
24109 for flag in $(EXTRA_HOST_FLAGS) ; do \
24110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24111 done; \
24112 echo "Doing clean in sim" ; \
24113 (cd $(HOST_SUBDIR)/sim && \
24114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24116 "RANLIB=$${RANLIB}" \
24117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24118 clean) \
24119 || exit 1
24121 @endif sim
24123 .PHONY: maybe-distclean-sim distclean-sim
24124 maybe-distclean-sim:
24125 @if sim
24126 maybe-distclean-sim: distclean-sim
24128 distclean-sim:
24129 @: $(MAKE); $(unstage)
24130 @[ -f ./sim/Makefile ] || exit 0; \
24131 r=`${PWD_COMMAND}`; export r; \
24132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24133 $(HOST_EXPORTS) \
24134 for flag in $(EXTRA_HOST_FLAGS) ; do \
24135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24136 done; \
24137 echo "Doing distclean in sim" ; \
24138 (cd $(HOST_SUBDIR)/sim && \
24139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24141 "RANLIB=$${RANLIB}" \
24142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24143 distclean) \
24144 || exit 1
24146 @endif sim
24148 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
24149 maybe-maintainer-clean-sim:
24150 @if sim
24151 maybe-maintainer-clean-sim: maintainer-clean-sim
24153 maintainer-clean-sim:
24154 @: $(MAKE); $(unstage)
24155 @[ -f ./sim/Makefile ] || exit 0; \
24156 r=`${PWD_COMMAND}`; export r; \
24157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24158 $(HOST_EXPORTS) \
24159 for flag in $(EXTRA_HOST_FLAGS) ; do \
24160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24161 done; \
24162 echo "Doing maintainer-clean in sim" ; \
24163 (cd $(HOST_SUBDIR)/sim && \
24164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24166 "RANLIB=$${RANLIB}" \
24167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24168 maintainer-clean) \
24169 || exit 1
24171 @endif sim
24175 .PHONY: configure-tar maybe-configure-tar
24176 maybe-configure-tar:
24177 @if tar
24178 maybe-configure-tar: configure-tar
24179 configure-tar:
24180 @: $(MAKE); $(unstage)
24181 @r=`${PWD_COMMAND}`; export r; \
24182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24183 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
24184 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
24185 $(HOST_EXPORTS) \
24186 echo Configuring in $(HOST_SUBDIR)/tar; \
24187 cd "$(HOST_SUBDIR)/tar" || exit 1; \
24188 case $(srcdir) in \
24189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24190 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
24191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24192 esac; \
24193 srcdiroption="--srcdir=$${topdir}/tar"; \
24194 libsrcdir="$$s/tar"; \
24195 $(SHELL) $${libsrcdir}/configure \
24196 $(HOST_CONFIGARGS) $${srcdiroption} \
24197 || exit 1
24198 @endif tar
24204 .PHONY: all-tar maybe-all-tar
24205 maybe-all-tar:
24206 @if tar
24207 TARGET-tar=all
24208 maybe-all-tar: all-tar
24209 all-tar: configure-tar
24210 @: $(MAKE); $(unstage)
24211 @r=`${PWD_COMMAND}`; export r; \
24212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24213 $(HOST_EXPORTS) \
24214 (cd $(HOST_SUBDIR)/tar && \
24215 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
24216 @endif tar
24221 .PHONY: check-tar maybe-check-tar
24222 maybe-check-tar:
24223 @if tar
24224 maybe-check-tar: check-tar
24226 check-tar:
24227 @: $(MAKE); $(unstage)
24228 @r=`${PWD_COMMAND}`; export r; \
24229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24230 $(HOST_EXPORTS) \
24231 (cd $(HOST_SUBDIR)/tar && \
24232 $(MAKE) $(FLAGS_TO_PASS) check)
24234 @endif tar
24236 .PHONY: install-tar maybe-install-tar
24237 maybe-install-tar:
24238 @if tar
24239 maybe-install-tar: install-tar
24241 install-tar: installdirs
24242 @: $(MAKE); $(unstage)
24243 @r=`${PWD_COMMAND}`; export r; \
24244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24245 $(HOST_EXPORTS) \
24246 (cd $(HOST_SUBDIR)/tar && \
24247 $(MAKE) $(FLAGS_TO_PASS) install)
24249 @endif tar
24251 # Other targets (info, dvi, etc.)
24253 .PHONY: maybe-info-tar info-tar
24254 maybe-info-tar:
24255 @if tar
24256 maybe-info-tar: info-tar
24258 info-tar: \
24259 configure-tar
24260 @: $(MAKE); $(unstage)
24261 @[ -f ./tar/Makefile ] || exit 0; \
24262 r=`${PWD_COMMAND}`; export r; \
24263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24264 $(HOST_EXPORTS) \
24265 for flag in $(EXTRA_HOST_FLAGS) ; do \
24266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24267 done; \
24268 echo "Doing info in tar" ; \
24269 (cd $(HOST_SUBDIR)/tar && \
24270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24272 "RANLIB=$${RANLIB}" \
24273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24274 info) \
24275 || exit 1
24277 @endif tar
24279 .PHONY: maybe-dvi-tar dvi-tar
24280 maybe-dvi-tar:
24281 @if tar
24282 maybe-dvi-tar: dvi-tar
24284 dvi-tar: \
24285 configure-tar
24286 @: $(MAKE); $(unstage)
24287 @[ -f ./tar/Makefile ] || exit 0; \
24288 r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(HOST_EXPORTS) \
24291 for flag in $(EXTRA_HOST_FLAGS) ; do \
24292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24293 done; \
24294 echo "Doing dvi in tar" ; \
24295 (cd $(HOST_SUBDIR)/tar && \
24296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24298 "RANLIB=$${RANLIB}" \
24299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24300 dvi) \
24301 || exit 1
24303 @endif tar
24305 .PHONY: maybe-html-tar html-tar
24306 maybe-html-tar:
24307 @if tar
24308 maybe-html-tar: html-tar
24310 html-tar: \
24311 configure-tar
24312 @: $(MAKE); $(unstage)
24313 @[ -f ./tar/Makefile ] || exit 0; \
24314 r=`${PWD_COMMAND}`; export r; \
24315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24316 $(HOST_EXPORTS) \
24317 for flag in $(EXTRA_HOST_FLAGS) ; do \
24318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24319 done; \
24320 echo "Doing html in tar" ; \
24321 (cd $(HOST_SUBDIR)/tar && \
24322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24324 "RANLIB=$${RANLIB}" \
24325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24326 html) \
24327 || exit 1
24329 @endif tar
24331 .PHONY: maybe-TAGS-tar TAGS-tar
24332 maybe-TAGS-tar:
24333 @if tar
24334 maybe-TAGS-tar: TAGS-tar
24336 TAGS-tar: \
24337 configure-tar
24338 @: $(MAKE); $(unstage)
24339 @[ -f ./tar/Makefile ] || exit 0; \
24340 r=`${PWD_COMMAND}`; export r; \
24341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24342 $(HOST_EXPORTS) \
24343 for flag in $(EXTRA_HOST_FLAGS) ; do \
24344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24345 done; \
24346 echo "Doing TAGS in tar" ; \
24347 (cd $(HOST_SUBDIR)/tar && \
24348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24350 "RANLIB=$${RANLIB}" \
24351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24352 TAGS) \
24353 || exit 1
24355 @endif tar
24357 .PHONY: maybe-install-info-tar install-info-tar
24358 maybe-install-info-tar:
24359 @if tar
24360 maybe-install-info-tar: install-info-tar
24362 install-info-tar: \
24363 configure-tar \
24364 info-tar
24365 @: $(MAKE); $(unstage)
24366 @[ -f ./tar/Makefile ] || exit 0; \
24367 r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24369 $(HOST_EXPORTS) \
24370 for flag in $(EXTRA_HOST_FLAGS) ; do \
24371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24372 done; \
24373 echo "Doing install-info in tar" ; \
24374 (cd $(HOST_SUBDIR)/tar && \
24375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24377 "RANLIB=$${RANLIB}" \
24378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24379 install-info) \
24380 || exit 1
24382 @endif tar
24384 .PHONY: maybe-installcheck-tar installcheck-tar
24385 maybe-installcheck-tar:
24386 @if tar
24387 maybe-installcheck-tar: installcheck-tar
24389 installcheck-tar: \
24390 configure-tar
24391 @: $(MAKE); $(unstage)
24392 @[ -f ./tar/Makefile ] || exit 0; \
24393 r=`${PWD_COMMAND}`; export r; \
24394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24395 $(HOST_EXPORTS) \
24396 for flag in $(EXTRA_HOST_FLAGS) ; do \
24397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24398 done; \
24399 echo "Doing installcheck in tar" ; \
24400 (cd $(HOST_SUBDIR)/tar && \
24401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24403 "RANLIB=$${RANLIB}" \
24404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24405 installcheck) \
24406 || exit 1
24408 @endif tar
24410 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
24411 maybe-mostlyclean-tar:
24412 @if tar
24413 maybe-mostlyclean-tar: mostlyclean-tar
24415 mostlyclean-tar:
24416 @: $(MAKE); $(unstage)
24417 @[ -f ./tar/Makefile ] || exit 0; \
24418 r=`${PWD_COMMAND}`; export r; \
24419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24420 $(HOST_EXPORTS) \
24421 for flag in $(EXTRA_HOST_FLAGS) ; do \
24422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24423 done; \
24424 echo "Doing mostlyclean in tar" ; \
24425 (cd $(HOST_SUBDIR)/tar && \
24426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24428 "RANLIB=$${RANLIB}" \
24429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24430 mostlyclean) \
24431 || exit 1
24433 @endif tar
24435 .PHONY: maybe-clean-tar clean-tar
24436 maybe-clean-tar:
24437 @if tar
24438 maybe-clean-tar: clean-tar
24440 clean-tar:
24441 @: $(MAKE); $(unstage)
24442 @[ -f ./tar/Makefile ] || exit 0; \
24443 r=`${PWD_COMMAND}`; export r; \
24444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24445 $(HOST_EXPORTS) \
24446 for flag in $(EXTRA_HOST_FLAGS) ; do \
24447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24448 done; \
24449 echo "Doing clean in tar" ; \
24450 (cd $(HOST_SUBDIR)/tar && \
24451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24453 "RANLIB=$${RANLIB}" \
24454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24455 clean) \
24456 || exit 1
24458 @endif tar
24460 .PHONY: maybe-distclean-tar distclean-tar
24461 maybe-distclean-tar:
24462 @if tar
24463 maybe-distclean-tar: distclean-tar
24465 distclean-tar:
24466 @: $(MAKE); $(unstage)
24467 @[ -f ./tar/Makefile ] || exit 0; \
24468 r=`${PWD_COMMAND}`; export r; \
24469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24470 $(HOST_EXPORTS) \
24471 for flag in $(EXTRA_HOST_FLAGS) ; do \
24472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24473 done; \
24474 echo "Doing distclean in tar" ; \
24475 (cd $(HOST_SUBDIR)/tar && \
24476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24478 "RANLIB=$${RANLIB}" \
24479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24480 distclean) \
24481 || exit 1
24483 @endif tar
24485 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
24486 maybe-maintainer-clean-tar:
24487 @if tar
24488 maybe-maintainer-clean-tar: maintainer-clean-tar
24490 maintainer-clean-tar:
24491 @: $(MAKE); $(unstage)
24492 @[ -f ./tar/Makefile ] || exit 0; \
24493 r=`${PWD_COMMAND}`; export r; \
24494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(HOST_EXPORTS) \
24496 for flag in $(EXTRA_HOST_FLAGS) ; do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24498 done; \
24499 echo "Doing maintainer-clean in tar" ; \
24500 (cd $(HOST_SUBDIR)/tar && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24505 maintainer-clean) \
24506 || exit 1
24508 @endif tar
24512 .PHONY: configure-texinfo maybe-configure-texinfo
24513 maybe-configure-texinfo:
24514 @if texinfo
24515 maybe-configure-texinfo: configure-texinfo
24516 configure-texinfo:
24517 @: $(MAKE); $(unstage)
24518 @r=`${PWD_COMMAND}`; export r; \
24519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24522 $(HOST_EXPORTS) \
24523 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24524 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24525 case $(srcdir) in \
24526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24527 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24529 esac; \
24530 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24531 libsrcdir="$$s/texinfo"; \
24532 $(SHELL) $${libsrcdir}/configure \
24533 $(HOST_CONFIGARGS) $${srcdiroption} \
24534 || exit 1
24535 @endif texinfo
24541 .PHONY: all-texinfo maybe-all-texinfo
24542 maybe-all-texinfo:
24543 @if texinfo
24544 TARGET-texinfo=all
24545 maybe-all-texinfo: all-texinfo
24546 all-texinfo: configure-texinfo
24547 @: $(MAKE); $(unstage)
24548 @r=`${PWD_COMMAND}`; export r; \
24549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24550 $(HOST_EXPORTS) \
24551 (cd $(HOST_SUBDIR)/texinfo && \
24552 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
24553 @endif texinfo
24558 .PHONY: check-texinfo maybe-check-texinfo
24559 maybe-check-texinfo:
24560 @if texinfo
24561 maybe-check-texinfo: check-texinfo
24563 check-texinfo:
24564 @: $(MAKE); $(unstage)
24565 @r=`${PWD_COMMAND}`; export r; \
24566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24567 $(HOST_EXPORTS) \
24568 (cd $(HOST_SUBDIR)/texinfo && \
24569 $(MAKE) $(FLAGS_TO_PASS) check)
24571 @endif texinfo
24573 .PHONY: install-texinfo maybe-install-texinfo
24574 maybe-install-texinfo:
24575 @if texinfo
24576 maybe-install-texinfo: install-texinfo
24578 install-texinfo:
24580 @endif texinfo
24582 # Other targets (info, dvi, etc.)
24584 .PHONY: maybe-info-texinfo info-texinfo
24585 maybe-info-texinfo:
24586 @if texinfo
24587 maybe-info-texinfo: info-texinfo
24589 info-texinfo: \
24590 configure-texinfo
24591 @: $(MAKE); $(unstage)
24592 @[ -f ./texinfo/Makefile ] || exit 0; \
24593 r=`${PWD_COMMAND}`; export r; \
24594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24595 $(HOST_EXPORTS) \
24596 for flag in $(EXTRA_HOST_FLAGS) ; do \
24597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24598 done; \
24599 echo "Doing info in texinfo" ; \
24600 (cd $(HOST_SUBDIR)/texinfo && \
24601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24603 "RANLIB=$${RANLIB}" \
24604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24605 info) \
24606 || exit 1
24608 @endif texinfo
24610 .PHONY: maybe-dvi-texinfo dvi-texinfo
24611 maybe-dvi-texinfo:
24612 @if texinfo
24613 maybe-dvi-texinfo: dvi-texinfo
24615 dvi-texinfo: \
24616 configure-texinfo
24617 @: $(MAKE); $(unstage)
24618 @[ -f ./texinfo/Makefile ] || exit 0; \
24619 r=`${PWD_COMMAND}`; export r; \
24620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24621 $(HOST_EXPORTS) \
24622 for flag in $(EXTRA_HOST_FLAGS) ; do \
24623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24624 done; \
24625 echo "Doing dvi in texinfo" ; \
24626 (cd $(HOST_SUBDIR)/texinfo && \
24627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24629 "RANLIB=$${RANLIB}" \
24630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24631 dvi) \
24632 || exit 1
24634 @endif texinfo
24636 .PHONY: maybe-html-texinfo html-texinfo
24637 maybe-html-texinfo:
24638 @if texinfo
24639 maybe-html-texinfo: html-texinfo
24641 html-texinfo: \
24642 configure-texinfo
24643 @: $(MAKE); $(unstage)
24644 @[ -f ./texinfo/Makefile ] || exit 0; \
24645 r=`${PWD_COMMAND}`; export r; \
24646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24647 $(HOST_EXPORTS) \
24648 for flag in $(EXTRA_HOST_FLAGS) ; do \
24649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24650 done; \
24651 echo "Doing html in texinfo" ; \
24652 (cd $(HOST_SUBDIR)/texinfo && \
24653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24655 "RANLIB=$${RANLIB}" \
24656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24657 html) \
24658 || exit 1
24660 @endif texinfo
24662 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24663 maybe-TAGS-texinfo:
24664 @if texinfo
24665 maybe-TAGS-texinfo: TAGS-texinfo
24667 TAGS-texinfo: \
24668 configure-texinfo
24669 @: $(MAKE); $(unstage)
24670 @[ -f ./texinfo/Makefile ] || exit 0; \
24671 r=`${PWD_COMMAND}`; export r; \
24672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24673 $(HOST_EXPORTS) \
24674 for flag in $(EXTRA_HOST_FLAGS) ; do \
24675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24676 done; \
24677 echo "Doing TAGS in texinfo" ; \
24678 (cd $(HOST_SUBDIR)/texinfo && \
24679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24681 "RANLIB=$${RANLIB}" \
24682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24683 TAGS) \
24684 || exit 1
24686 @endif texinfo
24688 .PHONY: maybe-install-info-texinfo install-info-texinfo
24689 maybe-install-info-texinfo:
24690 @if texinfo
24691 maybe-install-info-texinfo: install-info-texinfo
24693 install-info-texinfo: \
24694 configure-texinfo \
24695 info-texinfo
24696 @: $(MAKE); $(unstage)
24697 @[ -f ./texinfo/Makefile ] || exit 0; \
24698 r=`${PWD_COMMAND}`; export r; \
24699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24700 $(HOST_EXPORTS) \
24701 for flag in $(EXTRA_HOST_FLAGS) ; do \
24702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24703 done; \
24704 echo "Doing install-info in texinfo" ; \
24705 (cd $(HOST_SUBDIR)/texinfo && \
24706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24708 "RANLIB=$${RANLIB}" \
24709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24710 install-info) \
24711 || exit 1
24713 @endif texinfo
24715 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24716 maybe-installcheck-texinfo:
24717 @if texinfo
24718 maybe-installcheck-texinfo: installcheck-texinfo
24720 installcheck-texinfo: \
24721 configure-texinfo
24722 @: $(MAKE); $(unstage)
24723 @[ -f ./texinfo/Makefile ] || exit 0; \
24724 r=`${PWD_COMMAND}`; export r; \
24725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24726 $(HOST_EXPORTS) \
24727 for flag in $(EXTRA_HOST_FLAGS) ; do \
24728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24729 done; \
24730 echo "Doing installcheck in texinfo" ; \
24731 (cd $(HOST_SUBDIR)/texinfo && \
24732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24734 "RANLIB=$${RANLIB}" \
24735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24736 installcheck) \
24737 || exit 1
24739 @endif texinfo
24741 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24742 maybe-mostlyclean-texinfo:
24743 @if texinfo
24744 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24746 mostlyclean-texinfo:
24747 @: $(MAKE); $(unstage)
24748 @[ -f ./texinfo/Makefile ] || exit 0; \
24749 r=`${PWD_COMMAND}`; export r; \
24750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24751 $(HOST_EXPORTS) \
24752 for flag in $(EXTRA_HOST_FLAGS) ; do \
24753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24754 done; \
24755 echo "Doing mostlyclean in texinfo" ; \
24756 (cd $(HOST_SUBDIR)/texinfo && \
24757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24759 "RANLIB=$${RANLIB}" \
24760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24761 mostlyclean) \
24762 || exit 1
24764 @endif texinfo
24766 .PHONY: maybe-clean-texinfo clean-texinfo
24767 maybe-clean-texinfo:
24768 @if texinfo
24769 maybe-clean-texinfo: clean-texinfo
24771 clean-texinfo:
24772 @: $(MAKE); $(unstage)
24773 @[ -f ./texinfo/Makefile ] || exit 0; \
24774 r=`${PWD_COMMAND}`; export r; \
24775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24776 $(HOST_EXPORTS) \
24777 for flag in $(EXTRA_HOST_FLAGS) ; do \
24778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24779 done; \
24780 echo "Doing clean in texinfo" ; \
24781 (cd $(HOST_SUBDIR)/texinfo && \
24782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24784 "RANLIB=$${RANLIB}" \
24785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24786 clean) \
24787 || exit 1
24789 @endif texinfo
24791 .PHONY: maybe-distclean-texinfo distclean-texinfo
24792 maybe-distclean-texinfo:
24793 @if texinfo
24794 maybe-distclean-texinfo: distclean-texinfo
24796 distclean-texinfo:
24797 @: $(MAKE); $(unstage)
24798 @[ -f ./texinfo/Makefile ] || exit 0; \
24799 r=`${PWD_COMMAND}`; export r; \
24800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24801 $(HOST_EXPORTS) \
24802 for flag in $(EXTRA_HOST_FLAGS) ; do \
24803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24804 done; \
24805 echo "Doing distclean in texinfo" ; \
24806 (cd $(HOST_SUBDIR)/texinfo && \
24807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24809 "RANLIB=$${RANLIB}" \
24810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24811 distclean) \
24812 || exit 1
24814 @endif texinfo
24816 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24817 maybe-maintainer-clean-texinfo:
24818 @if texinfo
24819 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24821 maintainer-clean-texinfo:
24822 @: $(MAKE); $(unstage)
24823 @[ -f ./texinfo/Makefile ] || exit 0; \
24824 r=`${PWD_COMMAND}`; export r; \
24825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24826 $(HOST_EXPORTS) \
24827 for flag in $(EXTRA_HOST_FLAGS) ; do \
24828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24829 done; \
24830 echo "Doing maintainer-clean in texinfo" ; \
24831 (cd $(HOST_SUBDIR)/texinfo && \
24832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24834 "RANLIB=$${RANLIB}" \
24835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24836 maintainer-clean) \
24837 || exit 1
24839 @endif texinfo
24843 .PHONY: configure-textutils maybe-configure-textutils
24844 maybe-configure-textutils:
24845 @if textutils
24846 maybe-configure-textutils: configure-textutils
24847 configure-textutils:
24848 @: $(MAKE); $(unstage)
24849 @r=`${PWD_COMMAND}`; export r; \
24850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24851 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24853 $(HOST_EXPORTS) \
24854 echo Configuring in $(HOST_SUBDIR)/textutils; \
24855 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24856 case $(srcdir) in \
24857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24858 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24860 esac; \
24861 srcdiroption="--srcdir=$${topdir}/textutils"; \
24862 libsrcdir="$$s/textutils"; \
24863 $(SHELL) $${libsrcdir}/configure \
24864 $(HOST_CONFIGARGS) $${srcdiroption} \
24865 || exit 1
24866 @endif textutils
24872 .PHONY: all-textutils maybe-all-textutils
24873 maybe-all-textutils:
24874 @if textutils
24875 TARGET-textutils=all
24876 maybe-all-textutils: all-textutils
24877 all-textutils: configure-textutils
24878 @: $(MAKE); $(unstage)
24879 @r=`${PWD_COMMAND}`; export r; \
24880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24881 $(HOST_EXPORTS) \
24882 (cd $(HOST_SUBDIR)/textutils && \
24883 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24884 @endif textutils
24889 .PHONY: check-textutils maybe-check-textutils
24890 maybe-check-textutils:
24891 @if textutils
24892 maybe-check-textutils: check-textutils
24894 check-textutils:
24895 @: $(MAKE); $(unstage)
24896 @r=`${PWD_COMMAND}`; export r; \
24897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24898 $(HOST_EXPORTS) \
24899 (cd $(HOST_SUBDIR)/textutils && \
24900 $(MAKE) $(FLAGS_TO_PASS) check)
24902 @endif textutils
24904 .PHONY: install-textutils maybe-install-textutils
24905 maybe-install-textutils:
24906 @if textutils
24907 maybe-install-textutils: install-textutils
24909 install-textutils: installdirs
24910 @: $(MAKE); $(unstage)
24911 @r=`${PWD_COMMAND}`; export r; \
24912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 $(HOST_EXPORTS) \
24914 (cd $(HOST_SUBDIR)/textutils && \
24915 $(MAKE) $(FLAGS_TO_PASS) install)
24917 @endif textutils
24919 # Other targets (info, dvi, etc.)
24921 .PHONY: maybe-info-textutils info-textutils
24922 maybe-info-textutils:
24923 @if textutils
24924 maybe-info-textutils: info-textutils
24926 info-textutils: \
24927 configure-textutils
24928 @: $(MAKE); $(unstage)
24929 @[ -f ./textutils/Makefile ] || exit 0; \
24930 r=`${PWD_COMMAND}`; export r; \
24931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24932 $(HOST_EXPORTS) \
24933 for flag in $(EXTRA_HOST_FLAGS) ; do \
24934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24935 done; \
24936 echo "Doing info in textutils" ; \
24937 (cd $(HOST_SUBDIR)/textutils && \
24938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24940 "RANLIB=$${RANLIB}" \
24941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24942 info) \
24943 || exit 1
24945 @endif textutils
24947 .PHONY: maybe-dvi-textutils dvi-textutils
24948 maybe-dvi-textutils:
24949 @if textutils
24950 maybe-dvi-textutils: dvi-textutils
24952 dvi-textutils: \
24953 configure-textutils
24954 @: $(MAKE); $(unstage)
24955 @[ -f ./textutils/Makefile ] || exit 0; \
24956 r=`${PWD_COMMAND}`; export r; \
24957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24958 $(HOST_EXPORTS) \
24959 for flag in $(EXTRA_HOST_FLAGS) ; do \
24960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24961 done; \
24962 echo "Doing dvi in textutils" ; \
24963 (cd $(HOST_SUBDIR)/textutils && \
24964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24966 "RANLIB=$${RANLIB}" \
24967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24968 dvi) \
24969 || exit 1
24971 @endif textutils
24973 .PHONY: maybe-html-textutils html-textutils
24974 maybe-html-textutils:
24975 @if textutils
24976 maybe-html-textutils: html-textutils
24978 html-textutils: \
24979 configure-textutils
24980 @: $(MAKE); $(unstage)
24981 @[ -f ./textutils/Makefile ] || exit 0; \
24982 r=`${PWD_COMMAND}`; export r; \
24983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24984 $(HOST_EXPORTS) \
24985 for flag in $(EXTRA_HOST_FLAGS) ; do \
24986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24987 done; \
24988 echo "Doing html in textutils" ; \
24989 (cd $(HOST_SUBDIR)/textutils && \
24990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24992 "RANLIB=$${RANLIB}" \
24993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24994 html) \
24995 || exit 1
24997 @endif textutils
24999 .PHONY: maybe-TAGS-textutils TAGS-textutils
25000 maybe-TAGS-textutils:
25001 @if textutils
25002 maybe-TAGS-textutils: TAGS-textutils
25004 TAGS-textutils: \
25005 configure-textutils
25006 @: $(MAKE); $(unstage)
25007 @[ -f ./textutils/Makefile ] || exit 0; \
25008 r=`${PWD_COMMAND}`; export r; \
25009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25010 $(HOST_EXPORTS) \
25011 for flag in $(EXTRA_HOST_FLAGS) ; do \
25012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25013 done; \
25014 echo "Doing TAGS in textutils" ; \
25015 (cd $(HOST_SUBDIR)/textutils && \
25016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25018 "RANLIB=$${RANLIB}" \
25019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25020 TAGS) \
25021 || exit 1
25023 @endif textutils
25025 .PHONY: maybe-install-info-textutils install-info-textutils
25026 maybe-install-info-textutils:
25027 @if textutils
25028 maybe-install-info-textutils: install-info-textutils
25030 install-info-textutils: \
25031 configure-textutils \
25032 info-textutils
25033 @: $(MAKE); $(unstage)
25034 @[ -f ./textutils/Makefile ] || exit 0; \
25035 r=`${PWD_COMMAND}`; export r; \
25036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25037 $(HOST_EXPORTS) \
25038 for flag in $(EXTRA_HOST_FLAGS) ; do \
25039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25040 done; \
25041 echo "Doing install-info in textutils" ; \
25042 (cd $(HOST_SUBDIR)/textutils && \
25043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25045 "RANLIB=$${RANLIB}" \
25046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25047 install-info) \
25048 || exit 1
25050 @endif textutils
25052 .PHONY: maybe-installcheck-textutils installcheck-textutils
25053 maybe-installcheck-textutils:
25054 @if textutils
25055 maybe-installcheck-textutils: installcheck-textutils
25057 installcheck-textutils: \
25058 configure-textutils
25059 @: $(MAKE); $(unstage)
25060 @[ -f ./textutils/Makefile ] || exit 0; \
25061 r=`${PWD_COMMAND}`; export r; \
25062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25063 $(HOST_EXPORTS) \
25064 for flag in $(EXTRA_HOST_FLAGS) ; do \
25065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25066 done; \
25067 echo "Doing installcheck in textutils" ; \
25068 (cd $(HOST_SUBDIR)/textutils && \
25069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25071 "RANLIB=$${RANLIB}" \
25072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25073 installcheck) \
25074 || exit 1
25076 @endif textutils
25078 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
25079 maybe-mostlyclean-textutils:
25080 @if textutils
25081 maybe-mostlyclean-textutils: mostlyclean-textutils
25083 mostlyclean-textutils:
25084 @: $(MAKE); $(unstage)
25085 @[ -f ./textutils/Makefile ] || exit 0; \
25086 r=`${PWD_COMMAND}`; export r; \
25087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25088 $(HOST_EXPORTS) \
25089 for flag in $(EXTRA_HOST_FLAGS) ; do \
25090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25091 done; \
25092 echo "Doing mostlyclean in textutils" ; \
25093 (cd $(HOST_SUBDIR)/textutils && \
25094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25096 "RANLIB=$${RANLIB}" \
25097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25098 mostlyclean) \
25099 || exit 1
25101 @endif textutils
25103 .PHONY: maybe-clean-textutils clean-textutils
25104 maybe-clean-textutils:
25105 @if textutils
25106 maybe-clean-textutils: clean-textutils
25108 clean-textutils:
25109 @: $(MAKE); $(unstage)
25110 @[ -f ./textutils/Makefile ] || exit 0; \
25111 r=`${PWD_COMMAND}`; export r; \
25112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25113 $(HOST_EXPORTS) \
25114 for flag in $(EXTRA_HOST_FLAGS) ; do \
25115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25116 done; \
25117 echo "Doing clean in textutils" ; \
25118 (cd $(HOST_SUBDIR)/textutils && \
25119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25121 "RANLIB=$${RANLIB}" \
25122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25123 clean) \
25124 || exit 1
25126 @endif textutils
25128 .PHONY: maybe-distclean-textutils distclean-textutils
25129 maybe-distclean-textutils:
25130 @if textutils
25131 maybe-distclean-textutils: distclean-textutils
25133 distclean-textutils:
25134 @: $(MAKE); $(unstage)
25135 @[ -f ./textutils/Makefile ] || exit 0; \
25136 r=`${PWD_COMMAND}`; export r; \
25137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25138 $(HOST_EXPORTS) \
25139 for flag in $(EXTRA_HOST_FLAGS) ; do \
25140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25141 done; \
25142 echo "Doing distclean in textutils" ; \
25143 (cd $(HOST_SUBDIR)/textutils && \
25144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25146 "RANLIB=$${RANLIB}" \
25147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25148 distclean) \
25149 || exit 1
25151 @endif textutils
25153 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
25154 maybe-maintainer-clean-textutils:
25155 @if textutils
25156 maybe-maintainer-clean-textutils: maintainer-clean-textutils
25158 maintainer-clean-textutils:
25159 @: $(MAKE); $(unstage)
25160 @[ -f ./textutils/Makefile ] || exit 0; \
25161 r=`${PWD_COMMAND}`; export r; \
25162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25163 $(HOST_EXPORTS) \
25164 for flag in $(EXTRA_HOST_FLAGS) ; do \
25165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25166 done; \
25167 echo "Doing maintainer-clean in textutils" ; \
25168 (cd $(HOST_SUBDIR)/textutils && \
25169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25171 "RANLIB=$${RANLIB}" \
25172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25173 maintainer-clean) \
25174 || exit 1
25176 @endif textutils
25180 .PHONY: configure-time maybe-configure-time
25181 maybe-configure-time:
25182 @if time
25183 maybe-configure-time: configure-time
25184 configure-time:
25185 @: $(MAKE); $(unstage)
25186 @r=`${PWD_COMMAND}`; export r; \
25187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25188 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
25189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
25190 $(HOST_EXPORTS) \
25191 echo Configuring in $(HOST_SUBDIR)/time; \
25192 cd "$(HOST_SUBDIR)/time" || exit 1; \
25193 case $(srcdir) in \
25194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25195 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
25196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25197 esac; \
25198 srcdiroption="--srcdir=$${topdir}/time"; \
25199 libsrcdir="$$s/time"; \
25200 $(SHELL) $${libsrcdir}/configure \
25201 $(HOST_CONFIGARGS) $${srcdiroption} \
25202 || exit 1
25203 @endif time
25209 .PHONY: all-time maybe-all-time
25210 maybe-all-time:
25211 @if time
25212 TARGET-time=all
25213 maybe-all-time: all-time
25214 all-time: configure-time
25215 @: $(MAKE); $(unstage)
25216 @r=`${PWD_COMMAND}`; export r; \
25217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 $(HOST_EXPORTS) \
25219 (cd $(HOST_SUBDIR)/time && \
25220 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
25221 @endif time
25226 .PHONY: check-time maybe-check-time
25227 maybe-check-time:
25228 @if time
25229 maybe-check-time: check-time
25231 check-time:
25232 @: $(MAKE); $(unstage)
25233 @r=`${PWD_COMMAND}`; export r; \
25234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25235 $(HOST_EXPORTS) \
25236 (cd $(HOST_SUBDIR)/time && \
25237 $(MAKE) $(FLAGS_TO_PASS) check)
25239 @endif time
25241 .PHONY: install-time maybe-install-time
25242 maybe-install-time:
25243 @if time
25244 maybe-install-time: install-time
25246 install-time: installdirs
25247 @: $(MAKE); $(unstage)
25248 @r=`${PWD_COMMAND}`; export r; \
25249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25250 $(HOST_EXPORTS) \
25251 (cd $(HOST_SUBDIR)/time && \
25252 $(MAKE) $(FLAGS_TO_PASS) install)
25254 @endif time
25256 # Other targets (info, dvi, etc.)
25258 .PHONY: maybe-info-time info-time
25259 maybe-info-time:
25260 @if time
25261 maybe-info-time: info-time
25263 info-time: \
25264 configure-time
25265 @: $(MAKE); $(unstage)
25266 @[ -f ./time/Makefile ] || exit 0; \
25267 r=`${PWD_COMMAND}`; export r; \
25268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25269 $(HOST_EXPORTS) \
25270 for flag in $(EXTRA_HOST_FLAGS) ; do \
25271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25272 done; \
25273 echo "Doing info in time" ; \
25274 (cd $(HOST_SUBDIR)/time && \
25275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25277 "RANLIB=$${RANLIB}" \
25278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25279 info) \
25280 || exit 1
25282 @endif time
25284 .PHONY: maybe-dvi-time dvi-time
25285 maybe-dvi-time:
25286 @if time
25287 maybe-dvi-time: dvi-time
25289 dvi-time: \
25290 configure-time
25291 @: $(MAKE); $(unstage)
25292 @[ -f ./time/Makefile ] || exit 0; \
25293 r=`${PWD_COMMAND}`; export r; \
25294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25295 $(HOST_EXPORTS) \
25296 for flag in $(EXTRA_HOST_FLAGS) ; do \
25297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25298 done; \
25299 echo "Doing dvi in time" ; \
25300 (cd $(HOST_SUBDIR)/time && \
25301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25303 "RANLIB=$${RANLIB}" \
25304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25305 dvi) \
25306 || exit 1
25308 @endif time
25310 .PHONY: maybe-html-time html-time
25311 maybe-html-time:
25312 @if time
25313 maybe-html-time: html-time
25315 html-time: \
25316 configure-time
25317 @: $(MAKE); $(unstage)
25318 @[ -f ./time/Makefile ] || exit 0; \
25319 r=`${PWD_COMMAND}`; export r; \
25320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25321 $(HOST_EXPORTS) \
25322 for flag in $(EXTRA_HOST_FLAGS) ; do \
25323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25324 done; \
25325 echo "Doing html in time" ; \
25326 (cd $(HOST_SUBDIR)/time && \
25327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25329 "RANLIB=$${RANLIB}" \
25330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25331 html) \
25332 || exit 1
25334 @endif time
25336 .PHONY: maybe-TAGS-time TAGS-time
25337 maybe-TAGS-time:
25338 @if time
25339 maybe-TAGS-time: TAGS-time
25341 TAGS-time: \
25342 configure-time
25343 @: $(MAKE); $(unstage)
25344 @[ -f ./time/Makefile ] || exit 0; \
25345 r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25347 $(HOST_EXPORTS) \
25348 for flag in $(EXTRA_HOST_FLAGS) ; do \
25349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25350 done; \
25351 echo "Doing TAGS in time" ; \
25352 (cd $(HOST_SUBDIR)/time && \
25353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25355 "RANLIB=$${RANLIB}" \
25356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25357 TAGS) \
25358 || exit 1
25360 @endif time
25362 .PHONY: maybe-install-info-time install-info-time
25363 maybe-install-info-time:
25364 @if time
25365 maybe-install-info-time: install-info-time
25367 install-info-time: \
25368 configure-time \
25369 info-time
25370 @: $(MAKE); $(unstage)
25371 @[ -f ./time/Makefile ] || exit 0; \
25372 r=`${PWD_COMMAND}`; export r; \
25373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25374 $(HOST_EXPORTS) \
25375 for flag in $(EXTRA_HOST_FLAGS) ; do \
25376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25377 done; \
25378 echo "Doing install-info in time" ; \
25379 (cd $(HOST_SUBDIR)/time && \
25380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25382 "RANLIB=$${RANLIB}" \
25383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25384 install-info) \
25385 || exit 1
25387 @endif time
25389 .PHONY: maybe-installcheck-time installcheck-time
25390 maybe-installcheck-time:
25391 @if time
25392 maybe-installcheck-time: installcheck-time
25394 installcheck-time: \
25395 configure-time
25396 @: $(MAKE); $(unstage)
25397 @[ -f ./time/Makefile ] || exit 0; \
25398 r=`${PWD_COMMAND}`; export r; \
25399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25400 $(HOST_EXPORTS) \
25401 for flag in $(EXTRA_HOST_FLAGS) ; do \
25402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25403 done; \
25404 echo "Doing installcheck in time" ; \
25405 (cd $(HOST_SUBDIR)/time && \
25406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25408 "RANLIB=$${RANLIB}" \
25409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25410 installcheck) \
25411 || exit 1
25413 @endif time
25415 .PHONY: maybe-mostlyclean-time mostlyclean-time
25416 maybe-mostlyclean-time:
25417 @if time
25418 maybe-mostlyclean-time: mostlyclean-time
25420 mostlyclean-time:
25421 @: $(MAKE); $(unstage)
25422 @[ -f ./time/Makefile ] || exit 0; \
25423 r=`${PWD_COMMAND}`; export r; \
25424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25425 $(HOST_EXPORTS) \
25426 for flag in $(EXTRA_HOST_FLAGS) ; do \
25427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25428 done; \
25429 echo "Doing mostlyclean in time" ; \
25430 (cd $(HOST_SUBDIR)/time && \
25431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25433 "RANLIB=$${RANLIB}" \
25434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25435 mostlyclean) \
25436 || exit 1
25438 @endif time
25440 .PHONY: maybe-clean-time clean-time
25441 maybe-clean-time:
25442 @if time
25443 maybe-clean-time: clean-time
25445 clean-time:
25446 @: $(MAKE); $(unstage)
25447 @[ -f ./time/Makefile ] || exit 0; \
25448 r=`${PWD_COMMAND}`; export r; \
25449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25450 $(HOST_EXPORTS) \
25451 for flag in $(EXTRA_HOST_FLAGS) ; do \
25452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25453 done; \
25454 echo "Doing clean in time" ; \
25455 (cd $(HOST_SUBDIR)/time && \
25456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25458 "RANLIB=$${RANLIB}" \
25459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25460 clean) \
25461 || exit 1
25463 @endif time
25465 .PHONY: maybe-distclean-time distclean-time
25466 maybe-distclean-time:
25467 @if time
25468 maybe-distclean-time: distclean-time
25470 distclean-time:
25471 @: $(MAKE); $(unstage)
25472 @[ -f ./time/Makefile ] || exit 0; \
25473 r=`${PWD_COMMAND}`; export r; \
25474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25475 $(HOST_EXPORTS) \
25476 for flag in $(EXTRA_HOST_FLAGS) ; do \
25477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25478 done; \
25479 echo "Doing distclean in time" ; \
25480 (cd $(HOST_SUBDIR)/time && \
25481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25483 "RANLIB=$${RANLIB}" \
25484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25485 distclean) \
25486 || exit 1
25488 @endif time
25490 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
25491 maybe-maintainer-clean-time:
25492 @if time
25493 maybe-maintainer-clean-time: maintainer-clean-time
25495 maintainer-clean-time:
25496 @: $(MAKE); $(unstage)
25497 @[ -f ./time/Makefile ] || exit 0; \
25498 r=`${PWD_COMMAND}`; export r; \
25499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25500 $(HOST_EXPORTS) \
25501 for flag in $(EXTRA_HOST_FLAGS) ; do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 echo "Doing maintainer-clean in time" ; \
25505 (cd $(HOST_SUBDIR)/time && \
25506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25508 "RANLIB=$${RANLIB}" \
25509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25510 maintainer-clean) \
25511 || exit 1
25513 @endif time
25517 .PHONY: configure-uudecode maybe-configure-uudecode
25518 maybe-configure-uudecode:
25519 @if uudecode
25520 maybe-configure-uudecode: configure-uudecode
25521 configure-uudecode:
25522 @: $(MAKE); $(unstage)
25523 @r=`${PWD_COMMAND}`; export r; \
25524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25525 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
25526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
25527 $(HOST_EXPORTS) \
25528 echo Configuring in $(HOST_SUBDIR)/uudecode; \
25529 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
25530 case $(srcdir) in \
25531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25532 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
25533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25534 esac; \
25535 srcdiroption="--srcdir=$${topdir}/uudecode"; \
25536 libsrcdir="$$s/uudecode"; \
25537 $(SHELL) $${libsrcdir}/configure \
25538 $(HOST_CONFIGARGS) $${srcdiroption} \
25539 || exit 1
25540 @endif uudecode
25546 .PHONY: all-uudecode maybe-all-uudecode
25547 maybe-all-uudecode:
25548 @if uudecode
25549 TARGET-uudecode=all
25550 maybe-all-uudecode: all-uudecode
25551 all-uudecode: configure-uudecode
25552 @: $(MAKE); $(unstage)
25553 @r=`${PWD_COMMAND}`; export r; \
25554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25555 $(HOST_EXPORTS) \
25556 (cd $(HOST_SUBDIR)/uudecode && \
25557 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
25558 @endif uudecode
25563 .PHONY: check-uudecode maybe-check-uudecode
25564 maybe-check-uudecode:
25565 @if uudecode
25566 maybe-check-uudecode: check-uudecode
25568 check-uudecode:
25569 @: $(MAKE); $(unstage)
25570 @r=`${PWD_COMMAND}`; export r; \
25571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25572 $(HOST_EXPORTS) \
25573 (cd $(HOST_SUBDIR)/uudecode && \
25574 $(MAKE) $(FLAGS_TO_PASS) check)
25576 @endif uudecode
25578 .PHONY: install-uudecode maybe-install-uudecode
25579 maybe-install-uudecode:
25580 @if uudecode
25581 maybe-install-uudecode: install-uudecode
25583 install-uudecode: installdirs
25584 @: $(MAKE); $(unstage)
25585 @r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(HOST_EXPORTS) \
25588 (cd $(HOST_SUBDIR)/uudecode && \
25589 $(MAKE) $(FLAGS_TO_PASS) install)
25591 @endif uudecode
25593 # Other targets (info, dvi, etc.)
25595 .PHONY: maybe-info-uudecode info-uudecode
25596 maybe-info-uudecode:
25597 @if uudecode
25598 maybe-info-uudecode: info-uudecode
25600 info-uudecode: \
25601 configure-uudecode
25602 @: $(MAKE); $(unstage)
25603 @[ -f ./uudecode/Makefile ] || exit 0; \
25604 r=`${PWD_COMMAND}`; export r; \
25605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25606 $(HOST_EXPORTS) \
25607 for flag in $(EXTRA_HOST_FLAGS) ; do \
25608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25609 done; \
25610 echo "Doing info in uudecode" ; \
25611 (cd $(HOST_SUBDIR)/uudecode && \
25612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25614 "RANLIB=$${RANLIB}" \
25615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25616 info) \
25617 || exit 1
25619 @endif uudecode
25621 .PHONY: maybe-dvi-uudecode dvi-uudecode
25622 maybe-dvi-uudecode:
25623 @if uudecode
25624 maybe-dvi-uudecode: dvi-uudecode
25626 dvi-uudecode: \
25627 configure-uudecode
25628 @: $(MAKE); $(unstage)
25629 @[ -f ./uudecode/Makefile ] || exit 0; \
25630 r=`${PWD_COMMAND}`; export r; \
25631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25632 $(HOST_EXPORTS) \
25633 for flag in $(EXTRA_HOST_FLAGS) ; do \
25634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25635 done; \
25636 echo "Doing dvi in uudecode" ; \
25637 (cd $(HOST_SUBDIR)/uudecode && \
25638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25640 "RANLIB=$${RANLIB}" \
25641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25642 dvi) \
25643 || exit 1
25645 @endif uudecode
25647 .PHONY: maybe-html-uudecode html-uudecode
25648 maybe-html-uudecode:
25649 @if uudecode
25650 maybe-html-uudecode: html-uudecode
25652 html-uudecode: \
25653 configure-uudecode
25654 @: $(MAKE); $(unstage)
25655 @[ -f ./uudecode/Makefile ] || exit 0; \
25656 r=`${PWD_COMMAND}`; export r; \
25657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25658 $(HOST_EXPORTS) \
25659 for flag in $(EXTRA_HOST_FLAGS) ; do \
25660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25661 done; \
25662 echo "Doing html in uudecode" ; \
25663 (cd $(HOST_SUBDIR)/uudecode && \
25664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25666 "RANLIB=$${RANLIB}" \
25667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25668 html) \
25669 || exit 1
25671 @endif uudecode
25673 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25674 maybe-TAGS-uudecode:
25675 @if uudecode
25676 maybe-TAGS-uudecode: TAGS-uudecode
25678 TAGS-uudecode: \
25679 configure-uudecode
25680 @: $(MAKE); $(unstage)
25681 @[ -f ./uudecode/Makefile ] || exit 0; \
25682 r=`${PWD_COMMAND}`; export r; \
25683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25684 $(HOST_EXPORTS) \
25685 for flag in $(EXTRA_HOST_FLAGS) ; do \
25686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25687 done; \
25688 echo "Doing TAGS in uudecode" ; \
25689 (cd $(HOST_SUBDIR)/uudecode && \
25690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25692 "RANLIB=$${RANLIB}" \
25693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25694 TAGS) \
25695 || exit 1
25697 @endif uudecode
25699 .PHONY: maybe-install-info-uudecode install-info-uudecode
25700 maybe-install-info-uudecode:
25701 @if uudecode
25702 maybe-install-info-uudecode: install-info-uudecode
25704 install-info-uudecode: \
25705 configure-uudecode \
25706 info-uudecode
25707 @: $(MAKE); $(unstage)
25708 @[ -f ./uudecode/Makefile ] || exit 0; \
25709 r=`${PWD_COMMAND}`; export r; \
25710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25711 $(HOST_EXPORTS) \
25712 for flag in $(EXTRA_HOST_FLAGS) ; do \
25713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25714 done; \
25715 echo "Doing install-info in uudecode" ; \
25716 (cd $(HOST_SUBDIR)/uudecode && \
25717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25719 "RANLIB=$${RANLIB}" \
25720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25721 install-info) \
25722 || exit 1
25724 @endif uudecode
25726 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25727 maybe-installcheck-uudecode:
25728 @if uudecode
25729 maybe-installcheck-uudecode: installcheck-uudecode
25731 installcheck-uudecode: \
25732 configure-uudecode
25733 @: $(MAKE); $(unstage)
25734 @[ -f ./uudecode/Makefile ] || exit 0; \
25735 r=`${PWD_COMMAND}`; export r; \
25736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25737 $(HOST_EXPORTS) \
25738 for flag in $(EXTRA_HOST_FLAGS) ; do \
25739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25740 done; \
25741 echo "Doing installcheck in uudecode" ; \
25742 (cd $(HOST_SUBDIR)/uudecode && \
25743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25745 "RANLIB=$${RANLIB}" \
25746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25747 installcheck) \
25748 || exit 1
25750 @endif uudecode
25752 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25753 maybe-mostlyclean-uudecode:
25754 @if uudecode
25755 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25757 mostlyclean-uudecode:
25758 @: $(MAKE); $(unstage)
25759 @[ -f ./uudecode/Makefile ] || exit 0; \
25760 r=`${PWD_COMMAND}`; export r; \
25761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(HOST_EXPORTS) \
25763 for flag in $(EXTRA_HOST_FLAGS) ; do \
25764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 done; \
25766 echo "Doing mostlyclean in uudecode" ; \
25767 (cd $(HOST_SUBDIR)/uudecode && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25772 mostlyclean) \
25773 || exit 1
25775 @endif uudecode
25777 .PHONY: maybe-clean-uudecode clean-uudecode
25778 maybe-clean-uudecode:
25779 @if uudecode
25780 maybe-clean-uudecode: clean-uudecode
25782 clean-uudecode:
25783 @: $(MAKE); $(unstage)
25784 @[ -f ./uudecode/Makefile ] || exit 0; \
25785 r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(HOST_EXPORTS) \
25788 for flag in $(EXTRA_HOST_FLAGS) ; do \
25789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25790 done; \
25791 echo "Doing clean in uudecode" ; \
25792 (cd $(HOST_SUBDIR)/uudecode && \
25793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795 "RANLIB=$${RANLIB}" \
25796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25797 clean) \
25798 || exit 1
25800 @endif uudecode
25802 .PHONY: maybe-distclean-uudecode distclean-uudecode
25803 maybe-distclean-uudecode:
25804 @if uudecode
25805 maybe-distclean-uudecode: distclean-uudecode
25807 distclean-uudecode:
25808 @: $(MAKE); $(unstage)
25809 @[ -f ./uudecode/Makefile ] || exit 0; \
25810 r=`${PWD_COMMAND}`; export r; \
25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(HOST_EXPORTS) \
25813 for flag in $(EXTRA_HOST_FLAGS) ; do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 echo "Doing distclean in uudecode" ; \
25817 (cd $(HOST_SUBDIR)/uudecode && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25822 distclean) \
25823 || exit 1
25825 @endif uudecode
25827 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25828 maybe-maintainer-clean-uudecode:
25829 @if uudecode
25830 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25832 maintainer-clean-uudecode:
25833 @: $(MAKE); $(unstage)
25834 @[ -f ./uudecode/Makefile ] || exit 0; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(HOST_EXPORTS) \
25838 for flag in $(EXTRA_HOST_FLAGS) ; do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 echo "Doing maintainer-clean in uudecode" ; \
25842 (cd $(HOST_SUBDIR)/uudecode && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25847 maintainer-clean) \
25848 || exit 1
25850 @endif uudecode
25854 .PHONY: configure-wdiff maybe-configure-wdiff
25855 maybe-configure-wdiff:
25856 @if wdiff
25857 maybe-configure-wdiff: configure-wdiff
25858 configure-wdiff:
25859 @: $(MAKE); $(unstage)
25860 @r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25864 $(HOST_EXPORTS) \
25865 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25866 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25867 case $(srcdir) in \
25868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25869 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25871 esac; \
25872 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25873 libsrcdir="$$s/wdiff"; \
25874 $(SHELL) $${libsrcdir}/configure \
25875 $(HOST_CONFIGARGS) $${srcdiroption} \
25876 || exit 1
25877 @endif wdiff
25883 .PHONY: all-wdiff maybe-all-wdiff
25884 maybe-all-wdiff:
25885 @if wdiff
25886 TARGET-wdiff=all
25887 maybe-all-wdiff: all-wdiff
25888 all-wdiff: configure-wdiff
25889 @: $(MAKE); $(unstage)
25890 @r=`${PWD_COMMAND}`; export r; \
25891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25892 $(HOST_EXPORTS) \
25893 (cd $(HOST_SUBDIR)/wdiff && \
25894 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25895 @endif wdiff
25900 .PHONY: check-wdiff maybe-check-wdiff
25901 maybe-check-wdiff:
25902 @if wdiff
25903 maybe-check-wdiff: check-wdiff
25905 check-wdiff:
25906 @: $(MAKE); $(unstage)
25907 @r=`${PWD_COMMAND}`; export r; \
25908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25909 $(HOST_EXPORTS) \
25910 (cd $(HOST_SUBDIR)/wdiff && \
25911 $(MAKE) $(FLAGS_TO_PASS) check)
25913 @endif wdiff
25915 .PHONY: install-wdiff maybe-install-wdiff
25916 maybe-install-wdiff:
25917 @if wdiff
25918 maybe-install-wdiff: install-wdiff
25920 install-wdiff: installdirs
25921 @: $(MAKE); $(unstage)
25922 @r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(HOST_EXPORTS) \
25925 (cd $(HOST_SUBDIR)/wdiff && \
25926 $(MAKE) $(FLAGS_TO_PASS) install)
25928 @endif wdiff
25930 # Other targets (info, dvi, etc.)
25932 .PHONY: maybe-info-wdiff info-wdiff
25933 maybe-info-wdiff:
25934 @if wdiff
25935 maybe-info-wdiff: info-wdiff
25937 info-wdiff: \
25938 configure-wdiff
25939 @: $(MAKE); $(unstage)
25940 @[ -f ./wdiff/Makefile ] || exit 0; \
25941 r=`${PWD_COMMAND}`; export r; \
25942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25943 $(HOST_EXPORTS) \
25944 for flag in $(EXTRA_HOST_FLAGS) ; do \
25945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25946 done; \
25947 echo "Doing info in wdiff" ; \
25948 (cd $(HOST_SUBDIR)/wdiff && \
25949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25951 "RANLIB=$${RANLIB}" \
25952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25953 info) \
25954 || exit 1
25956 @endif wdiff
25958 .PHONY: maybe-dvi-wdiff dvi-wdiff
25959 maybe-dvi-wdiff:
25960 @if wdiff
25961 maybe-dvi-wdiff: dvi-wdiff
25963 dvi-wdiff: \
25964 configure-wdiff
25965 @: $(MAKE); $(unstage)
25966 @[ -f ./wdiff/Makefile ] || exit 0; \
25967 r=`${PWD_COMMAND}`; export r; \
25968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25969 $(HOST_EXPORTS) \
25970 for flag in $(EXTRA_HOST_FLAGS) ; do \
25971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25972 done; \
25973 echo "Doing dvi in wdiff" ; \
25974 (cd $(HOST_SUBDIR)/wdiff && \
25975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25977 "RANLIB=$${RANLIB}" \
25978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25979 dvi) \
25980 || exit 1
25982 @endif wdiff
25984 .PHONY: maybe-html-wdiff html-wdiff
25985 maybe-html-wdiff:
25986 @if wdiff
25987 maybe-html-wdiff: html-wdiff
25989 html-wdiff: \
25990 configure-wdiff
25991 @: $(MAKE); $(unstage)
25992 @[ -f ./wdiff/Makefile ] || exit 0; \
25993 r=`${PWD_COMMAND}`; export r; \
25994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25995 $(HOST_EXPORTS) \
25996 for flag in $(EXTRA_HOST_FLAGS) ; do \
25997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25998 done; \
25999 echo "Doing html in wdiff" ; \
26000 (cd $(HOST_SUBDIR)/wdiff && \
26001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26003 "RANLIB=$${RANLIB}" \
26004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26005 html) \
26006 || exit 1
26008 @endif wdiff
26010 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
26011 maybe-TAGS-wdiff:
26012 @if wdiff
26013 maybe-TAGS-wdiff: TAGS-wdiff
26015 TAGS-wdiff: \
26016 configure-wdiff
26017 @: $(MAKE); $(unstage)
26018 @[ -f ./wdiff/Makefile ] || exit 0; \
26019 r=`${PWD_COMMAND}`; export r; \
26020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26021 $(HOST_EXPORTS) \
26022 for flag in $(EXTRA_HOST_FLAGS) ; do \
26023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26024 done; \
26025 echo "Doing TAGS in wdiff" ; \
26026 (cd $(HOST_SUBDIR)/wdiff && \
26027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26029 "RANLIB=$${RANLIB}" \
26030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26031 TAGS) \
26032 || exit 1
26034 @endif wdiff
26036 .PHONY: maybe-install-info-wdiff install-info-wdiff
26037 maybe-install-info-wdiff:
26038 @if wdiff
26039 maybe-install-info-wdiff: install-info-wdiff
26041 install-info-wdiff: \
26042 configure-wdiff \
26043 info-wdiff
26044 @: $(MAKE); $(unstage)
26045 @[ -f ./wdiff/Makefile ] || exit 0; \
26046 r=`${PWD_COMMAND}`; export r; \
26047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26048 $(HOST_EXPORTS) \
26049 for flag in $(EXTRA_HOST_FLAGS) ; do \
26050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26051 done; \
26052 echo "Doing install-info in wdiff" ; \
26053 (cd $(HOST_SUBDIR)/wdiff && \
26054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26056 "RANLIB=$${RANLIB}" \
26057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26058 install-info) \
26059 || exit 1
26061 @endif wdiff
26063 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
26064 maybe-installcheck-wdiff:
26065 @if wdiff
26066 maybe-installcheck-wdiff: installcheck-wdiff
26068 installcheck-wdiff: \
26069 configure-wdiff
26070 @: $(MAKE); $(unstage)
26071 @[ -f ./wdiff/Makefile ] || exit 0; \
26072 r=`${PWD_COMMAND}`; export r; \
26073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26074 $(HOST_EXPORTS) \
26075 for flag in $(EXTRA_HOST_FLAGS) ; do \
26076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26077 done; \
26078 echo "Doing installcheck in wdiff" ; \
26079 (cd $(HOST_SUBDIR)/wdiff && \
26080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26082 "RANLIB=$${RANLIB}" \
26083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26084 installcheck) \
26085 || exit 1
26087 @endif wdiff
26089 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
26090 maybe-mostlyclean-wdiff:
26091 @if wdiff
26092 maybe-mostlyclean-wdiff: mostlyclean-wdiff
26094 mostlyclean-wdiff:
26095 @: $(MAKE); $(unstage)
26096 @[ -f ./wdiff/Makefile ] || exit 0; \
26097 r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 $(HOST_EXPORTS) \
26100 for flag in $(EXTRA_HOST_FLAGS) ; do \
26101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26102 done; \
26103 echo "Doing mostlyclean in wdiff" ; \
26104 (cd $(HOST_SUBDIR)/wdiff && \
26105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26107 "RANLIB=$${RANLIB}" \
26108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26109 mostlyclean) \
26110 || exit 1
26112 @endif wdiff
26114 .PHONY: maybe-clean-wdiff clean-wdiff
26115 maybe-clean-wdiff:
26116 @if wdiff
26117 maybe-clean-wdiff: clean-wdiff
26119 clean-wdiff:
26120 @: $(MAKE); $(unstage)
26121 @[ -f ./wdiff/Makefile ] || exit 0; \
26122 r=`${PWD_COMMAND}`; export r; \
26123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26124 $(HOST_EXPORTS) \
26125 for flag in $(EXTRA_HOST_FLAGS) ; do \
26126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26127 done; \
26128 echo "Doing clean in wdiff" ; \
26129 (cd $(HOST_SUBDIR)/wdiff && \
26130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26132 "RANLIB=$${RANLIB}" \
26133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26134 clean) \
26135 || exit 1
26137 @endif wdiff
26139 .PHONY: maybe-distclean-wdiff distclean-wdiff
26140 maybe-distclean-wdiff:
26141 @if wdiff
26142 maybe-distclean-wdiff: distclean-wdiff
26144 distclean-wdiff:
26145 @: $(MAKE); $(unstage)
26146 @[ -f ./wdiff/Makefile ] || exit 0; \
26147 r=`${PWD_COMMAND}`; export r; \
26148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26149 $(HOST_EXPORTS) \
26150 for flag in $(EXTRA_HOST_FLAGS) ; do \
26151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26152 done; \
26153 echo "Doing distclean in wdiff" ; \
26154 (cd $(HOST_SUBDIR)/wdiff && \
26155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26157 "RANLIB=$${RANLIB}" \
26158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26159 distclean) \
26160 || exit 1
26162 @endif wdiff
26164 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
26165 maybe-maintainer-clean-wdiff:
26166 @if wdiff
26167 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
26169 maintainer-clean-wdiff:
26170 @: $(MAKE); $(unstage)
26171 @[ -f ./wdiff/Makefile ] || exit 0; \
26172 r=`${PWD_COMMAND}`; export r; \
26173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26174 $(HOST_EXPORTS) \
26175 for flag in $(EXTRA_HOST_FLAGS) ; do \
26176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26177 done; \
26178 echo "Doing maintainer-clean in wdiff" ; \
26179 (cd $(HOST_SUBDIR)/wdiff && \
26180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26182 "RANLIB=$${RANLIB}" \
26183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26184 maintainer-clean) \
26185 || exit 1
26187 @endif wdiff
26191 .PHONY: configure-zip maybe-configure-zip
26192 maybe-configure-zip:
26193 @if zip
26194 maybe-configure-zip: configure-zip
26195 configure-zip:
26196 @: $(MAKE); $(unstage)
26197 @r=`${PWD_COMMAND}`; export r; \
26198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26199 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
26200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
26201 $(HOST_EXPORTS) \
26202 echo Configuring in $(HOST_SUBDIR)/zip; \
26203 cd "$(HOST_SUBDIR)/zip" || exit 1; \
26204 case $(srcdir) in \
26205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26206 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
26207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26208 esac; \
26209 srcdiroption="--srcdir=$${topdir}/zip"; \
26210 libsrcdir="$$s/zip"; \
26211 $(SHELL) $${libsrcdir}/configure \
26212 $(HOST_CONFIGARGS) $${srcdiroption} \
26213 || exit 1
26214 @endif zip
26220 .PHONY: all-zip maybe-all-zip
26221 maybe-all-zip:
26222 @if zip
26223 TARGET-zip=all
26224 maybe-all-zip: all-zip
26225 all-zip: configure-zip
26226 @: $(MAKE); $(unstage)
26227 @r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(HOST_EXPORTS) \
26230 (cd $(HOST_SUBDIR)/zip && \
26231 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
26232 @endif zip
26237 .PHONY: check-zip maybe-check-zip
26238 maybe-check-zip:
26239 @if zip
26240 maybe-check-zip: check-zip
26242 # This module is only tested in a native toolchain.
26243 check-zip:
26244 @: $(MAKE); $(unstage)
26245 @if [ '$(host)' = '$(target)' ] ; then \
26246 r=`${PWD_COMMAND}`; export r; \
26247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26248 $(HOST_EXPORTS) \
26249 (cd $(HOST_SUBDIR)/zip && \
26250 $(MAKE) $(FLAGS_TO_PASS) check); \
26253 @endif zip
26255 .PHONY: install-zip maybe-install-zip
26256 maybe-install-zip:
26257 @if zip
26258 maybe-install-zip: install-zip
26260 install-zip: installdirs
26261 @: $(MAKE); $(unstage)
26262 @r=`${PWD_COMMAND}`; export r; \
26263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26264 $(HOST_EXPORTS) \
26265 (cd $(HOST_SUBDIR)/zip && \
26266 $(MAKE) $(FLAGS_TO_PASS) install)
26268 @endif zip
26270 # Other targets (info, dvi, etc.)
26272 .PHONY: maybe-info-zip info-zip
26273 maybe-info-zip:
26274 @if zip
26275 maybe-info-zip: info-zip
26277 info-zip: \
26278 configure-zip
26279 @: $(MAKE); $(unstage)
26280 @[ -f ./zip/Makefile ] || exit 0; \
26281 r=`${PWD_COMMAND}`; export r; \
26282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26283 $(HOST_EXPORTS) \
26284 for flag in $(EXTRA_HOST_FLAGS) ; do \
26285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26286 done; \
26287 echo "Doing info in zip" ; \
26288 (cd $(HOST_SUBDIR)/zip && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26293 info) \
26294 || exit 1
26296 @endif zip
26298 .PHONY: maybe-dvi-zip dvi-zip
26299 maybe-dvi-zip:
26300 @if zip
26301 maybe-dvi-zip: dvi-zip
26303 dvi-zip: \
26304 configure-zip
26305 @: $(MAKE); $(unstage)
26306 @[ -f ./zip/Makefile ] || exit 0; \
26307 r=`${PWD_COMMAND}`; export r; \
26308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26309 $(HOST_EXPORTS) \
26310 for flag in $(EXTRA_HOST_FLAGS) ; do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 done; \
26313 echo "Doing dvi in zip" ; \
26314 (cd $(HOST_SUBDIR)/zip && \
26315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26317 "RANLIB=$${RANLIB}" \
26318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26319 dvi) \
26320 || exit 1
26322 @endif zip
26324 .PHONY: maybe-html-zip html-zip
26325 maybe-html-zip:
26326 @if zip
26327 maybe-html-zip: html-zip
26329 html-zip: \
26330 configure-zip
26331 @: $(MAKE); $(unstage)
26332 @[ -f ./zip/Makefile ] || exit 0; \
26333 r=`${PWD_COMMAND}`; export r; \
26334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26335 $(HOST_EXPORTS) \
26336 for flag in $(EXTRA_HOST_FLAGS) ; do \
26337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26338 done; \
26339 echo "Doing html in zip" ; \
26340 (cd $(HOST_SUBDIR)/zip && \
26341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26343 "RANLIB=$${RANLIB}" \
26344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26345 html) \
26346 || exit 1
26348 @endif zip
26350 .PHONY: maybe-TAGS-zip TAGS-zip
26351 maybe-TAGS-zip:
26352 @if zip
26353 maybe-TAGS-zip: TAGS-zip
26355 TAGS-zip: \
26356 configure-zip
26357 @: $(MAKE); $(unstage)
26358 @[ -f ./zip/Makefile ] || exit 0; \
26359 r=`${PWD_COMMAND}`; export r; \
26360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26361 $(HOST_EXPORTS) \
26362 for flag in $(EXTRA_HOST_FLAGS) ; do \
26363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26364 done; \
26365 echo "Doing TAGS in zip" ; \
26366 (cd $(HOST_SUBDIR)/zip && \
26367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26369 "RANLIB=$${RANLIB}" \
26370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26371 TAGS) \
26372 || exit 1
26374 @endif zip
26376 .PHONY: maybe-install-info-zip install-info-zip
26377 maybe-install-info-zip:
26378 @if zip
26379 maybe-install-info-zip: install-info-zip
26381 install-info-zip: \
26382 configure-zip \
26383 info-zip
26384 @: $(MAKE); $(unstage)
26385 @[ -f ./zip/Makefile ] || exit 0; \
26386 r=`${PWD_COMMAND}`; export r; \
26387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 $(HOST_EXPORTS) \
26389 for flag in $(EXTRA_HOST_FLAGS) ; do \
26390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26391 done; \
26392 echo "Doing install-info in zip" ; \
26393 (cd $(HOST_SUBDIR)/zip && \
26394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26396 "RANLIB=$${RANLIB}" \
26397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26398 install-info) \
26399 || exit 1
26401 @endif zip
26403 .PHONY: maybe-installcheck-zip installcheck-zip
26404 maybe-installcheck-zip:
26405 @if zip
26406 maybe-installcheck-zip: installcheck-zip
26408 installcheck-zip: \
26409 configure-zip
26410 @: $(MAKE); $(unstage)
26411 @[ -f ./zip/Makefile ] || exit 0; \
26412 r=`${PWD_COMMAND}`; export r; \
26413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26414 $(HOST_EXPORTS) \
26415 for flag in $(EXTRA_HOST_FLAGS) ; do \
26416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26417 done; \
26418 echo "Doing installcheck in zip" ; \
26419 (cd $(HOST_SUBDIR)/zip && \
26420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26422 "RANLIB=$${RANLIB}" \
26423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26424 installcheck) \
26425 || exit 1
26427 @endif zip
26429 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
26430 maybe-mostlyclean-zip:
26431 @if zip
26432 maybe-mostlyclean-zip: mostlyclean-zip
26434 mostlyclean-zip:
26435 @: $(MAKE); $(unstage)
26436 @[ -f ./zip/Makefile ] || exit 0; \
26437 r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 for flag in $(EXTRA_HOST_FLAGS) ; do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26442 done; \
26443 echo "Doing mostlyclean in zip" ; \
26444 (cd $(HOST_SUBDIR)/zip && \
26445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26447 "RANLIB=$${RANLIB}" \
26448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26449 mostlyclean) \
26450 || exit 1
26452 @endif zip
26454 .PHONY: maybe-clean-zip clean-zip
26455 maybe-clean-zip:
26456 @if zip
26457 maybe-clean-zip: clean-zip
26459 clean-zip:
26460 @: $(MAKE); $(unstage)
26461 @[ -f ./zip/Makefile ] || exit 0; \
26462 r=`${PWD_COMMAND}`; export r; \
26463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26464 $(HOST_EXPORTS) \
26465 for flag in $(EXTRA_HOST_FLAGS) ; do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26467 done; \
26468 echo "Doing clean in zip" ; \
26469 (cd $(HOST_SUBDIR)/zip && \
26470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26472 "RANLIB=$${RANLIB}" \
26473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26474 clean) \
26475 || exit 1
26477 @endif zip
26479 .PHONY: maybe-distclean-zip distclean-zip
26480 maybe-distclean-zip:
26481 @if zip
26482 maybe-distclean-zip: distclean-zip
26484 distclean-zip:
26485 @: $(MAKE); $(unstage)
26486 @[ -f ./zip/Makefile ] || exit 0; \
26487 r=`${PWD_COMMAND}`; export r; \
26488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26489 $(HOST_EXPORTS) \
26490 for flag in $(EXTRA_HOST_FLAGS) ; do \
26491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26492 done; \
26493 echo "Doing distclean in zip" ; \
26494 (cd $(HOST_SUBDIR)/zip && \
26495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26497 "RANLIB=$${RANLIB}" \
26498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26499 distclean) \
26500 || exit 1
26502 @endif zip
26504 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
26505 maybe-maintainer-clean-zip:
26506 @if zip
26507 maybe-maintainer-clean-zip: maintainer-clean-zip
26509 maintainer-clean-zip:
26510 @: $(MAKE); $(unstage)
26511 @[ -f ./zip/Makefile ] || exit 0; \
26512 r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(HOST_EXPORTS) \
26515 for flag in $(EXTRA_HOST_FLAGS) ; do \
26516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26517 done; \
26518 echo "Doing maintainer-clean in zip" ; \
26519 (cd $(HOST_SUBDIR)/zip && \
26520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26522 "RANLIB=$${RANLIB}" \
26523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26524 maintainer-clean) \
26525 || exit 1
26527 @endif zip
26531 .PHONY: configure-zlib maybe-configure-zlib
26532 maybe-configure-zlib:
26533 @if zlib
26534 maybe-configure-zlib: configure-zlib
26535 configure-zlib:
26536 @endif zlib
26537 @if zlib-bootstrap
26538 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
26539 @endif zlib-bootstrap
26540 @if zlib
26541 @r=`${PWD_COMMAND}`; export r; \
26542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26543 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26544 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26545 $(HOST_EXPORTS) \
26546 echo Configuring in $(HOST_SUBDIR)/zlib; \
26547 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26548 case $(srcdir) in \
26549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26550 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26552 esac; \
26553 srcdiroption="--srcdir=$${topdir}/zlib"; \
26554 libsrcdir="$$s/zlib"; \
26555 $(SHELL) $${libsrcdir}/configure \
26556 $(HOST_CONFIGARGS) $${srcdiroption} \
26557 || exit 1
26558 @endif zlib
26562 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26563 maybe-configure-stage1-zlib:
26564 @if zlib-bootstrap
26565 maybe-configure-stage1-zlib: configure-stage1-zlib
26566 configure-stage1-zlib:
26567 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26569 @r=`${PWD_COMMAND}`; export r; \
26570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26571 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26572 $(HOST_EXPORTS) \
26573 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26575 cd $(HOST_SUBDIR)/zlib || exit 1; \
26576 case $(srcdir) in \
26577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26578 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26580 esac; \
26581 srcdiroption="--srcdir=$${topdir}/zlib"; \
26582 libsrcdir="$$s/zlib"; \
26583 $(SHELL) $${libsrcdir}/configure \
26584 $(HOST_CONFIGARGS) $${srcdiroption} \
26585 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26586 @endif zlib-bootstrap
26588 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26589 maybe-configure-stage2-zlib:
26590 @if zlib-bootstrap
26591 maybe-configure-stage2-zlib: configure-stage2-zlib
26592 configure-stage2-zlib:
26593 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26594 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26595 @r=`${PWD_COMMAND}`; export r; \
26596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26597 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26598 $(HOST_EXPORTS) \
26599 $(POSTSTAGE1_HOST_EXPORTS) \
26600 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26602 cd $(HOST_SUBDIR)/zlib || exit 1; \
26603 case $(srcdir) in \
26604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26605 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26607 esac; \
26608 srcdiroption="--srcdir=$${topdir}/zlib"; \
26609 libsrcdir="$$s/zlib"; \
26610 $(SHELL) $${libsrcdir}/configure \
26611 $(HOST_CONFIGARGS) $${srcdiroption} \
26612 @stage2_werror_flag@
26613 @endif zlib-bootstrap
26615 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26616 maybe-configure-stage3-zlib:
26617 @if zlib-bootstrap
26618 maybe-configure-stage3-zlib: configure-stage3-zlib
26619 configure-stage3-zlib:
26620 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26621 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26622 @r=`${PWD_COMMAND}`; export r; \
26623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26624 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26625 $(HOST_EXPORTS) \
26626 $(POSTSTAGE1_HOST_EXPORTS) \
26627 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26629 cd $(HOST_SUBDIR)/zlib || exit 1; \
26630 case $(srcdir) in \
26631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26632 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26634 esac; \
26635 srcdiroption="--srcdir=$${topdir}/zlib"; \
26636 libsrcdir="$$s/zlib"; \
26637 $(SHELL) $${libsrcdir}/configure \
26638 $(HOST_CONFIGARGS) $${srcdiroption} \
26639 @stage2_werror_flag@
26640 @endif zlib-bootstrap
26642 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26643 maybe-configure-stage4-zlib:
26644 @if zlib-bootstrap
26645 maybe-configure-stage4-zlib: configure-stage4-zlib
26646 configure-stage4-zlib:
26647 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26649 @r=`${PWD_COMMAND}`; export r; \
26650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26651 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26652 $(HOST_EXPORTS) \
26653 $(POSTSTAGE1_HOST_EXPORTS) \
26654 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26656 cd $(HOST_SUBDIR)/zlib || exit 1; \
26657 case $(srcdir) in \
26658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26659 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26661 esac; \
26662 srcdiroption="--srcdir=$${topdir}/zlib"; \
26663 libsrcdir="$$s/zlib"; \
26664 $(SHELL) $${libsrcdir}/configure \
26665 $(HOST_CONFIGARGS) $${srcdiroption} \
26666 @stage2_werror_flag@
26667 @endif zlib-bootstrap
26669 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26670 maybe-configure-stageprofile-zlib:
26671 @if zlib-bootstrap
26672 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26673 configure-stageprofile-zlib:
26674 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26675 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26676 @r=`${PWD_COMMAND}`; export r; \
26677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26679 $(HOST_EXPORTS) \
26680 $(POSTSTAGE1_HOST_EXPORTS) \
26681 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26683 cd $(HOST_SUBDIR)/zlib || exit 1; \
26684 case $(srcdir) in \
26685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26686 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26688 esac; \
26689 srcdiroption="--srcdir=$${topdir}/zlib"; \
26690 libsrcdir="$$s/zlib"; \
26691 $(SHELL) $${libsrcdir}/configure \
26692 $(HOST_CONFIGARGS) $${srcdiroption} \
26693 @stage2_werror_flag@
26694 @endif zlib-bootstrap
26696 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26697 maybe-configure-stagefeedback-zlib:
26698 @if zlib-bootstrap
26699 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26700 configure-stagefeedback-zlib:
26701 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26703 @r=`${PWD_COMMAND}`; export r; \
26704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26705 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26706 $(HOST_EXPORTS) \
26707 $(POSTSTAGE1_HOST_EXPORTS) \
26708 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26710 cd $(HOST_SUBDIR)/zlib || exit 1; \
26711 case $(srcdir) in \
26712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26713 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26715 esac; \
26716 srcdiroption="--srcdir=$${topdir}/zlib"; \
26717 libsrcdir="$$s/zlib"; \
26718 $(SHELL) $${libsrcdir}/configure \
26719 $(HOST_CONFIGARGS) $${srcdiroption} \
26720 @stage2_werror_flag@
26721 @endif zlib-bootstrap
26727 .PHONY: all-zlib maybe-all-zlib
26728 maybe-all-zlib:
26729 @if zlib
26730 TARGET-zlib=all
26731 maybe-all-zlib: all-zlib
26732 all-zlib: configure-zlib
26733 @endif zlib
26734 @if zlib-bootstrap
26735 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
26736 @endif zlib-bootstrap
26737 @if zlib
26738 @r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 $(HOST_EXPORTS) \
26741 (cd $(HOST_SUBDIR)/zlib && \
26742 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26743 @endif zlib
26747 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26748 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26749 maybe-all-stage1-zlib:
26750 maybe-clean-stage1-zlib:
26751 @if zlib-bootstrap
26752 maybe-all-stage1-zlib: all-stage1-zlib
26753 all-stage1: all-stage1-zlib
26754 TARGET-stage1-zlib = $(TARGET-zlib)
26755 all-stage1-zlib: configure-stage1-zlib
26756 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26757 @r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 $(HOST_EXPORTS) \
26760 cd $(HOST_SUBDIR)/zlib && \
26761 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
26762 $(TARGET-stage1-zlib)
26764 maybe-clean-stage1-zlib: clean-stage1-zlib
26765 clean-stage1: clean-stage1-zlib
26766 clean-stage1-zlib:
26767 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26768 || exit 0 ; \
26769 [ $(current_stage) = stage1 ] || $(MAKE) stage1-start; \
26770 cd $(HOST_SUBDIR)/zlib && \
26771 $(MAKE) $(FLAGS_TO_PASS) \
26772 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
26773 @endif zlib-bootstrap
26776 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26777 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26778 maybe-all-stage2-zlib:
26779 maybe-clean-stage2-zlib:
26780 @if zlib-bootstrap
26781 maybe-all-stage2-zlib: all-stage2-zlib
26782 all-stage2: all-stage2-zlib
26783 TARGET-stage2-zlib = $(TARGET-zlib)
26784 all-stage2-zlib: configure-stage2-zlib
26785 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26786 @r=`${PWD_COMMAND}`; export r; \
26787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26788 $(HOST_EXPORTS) \
26789 $(POSTSTAGE1_HOST_EXPORTS) \
26790 cd $(HOST_SUBDIR)/zlib && \
26791 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26792 $(TARGET-stage2-zlib)
26794 maybe-clean-stage2-zlib: clean-stage2-zlib
26795 clean-stage2: clean-stage2-zlib
26796 clean-stage2-zlib:
26797 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26798 || exit 0 ; \
26799 [ $(current_stage) = stage2 ] || $(MAKE) stage2-start; \
26800 cd $(HOST_SUBDIR)/zlib && \
26801 $(MAKE) $(FLAGS_TO_PASS) \
26802 $(POSTSTAGE1_FLAGS_TO_PASS) \
26803 clean
26804 @endif zlib-bootstrap
26807 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26808 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26809 maybe-all-stage3-zlib:
26810 maybe-clean-stage3-zlib:
26811 @if zlib-bootstrap
26812 maybe-all-stage3-zlib: all-stage3-zlib
26813 all-stage3: all-stage3-zlib
26814 TARGET-stage3-zlib = $(TARGET-zlib)
26815 all-stage3-zlib: configure-stage3-zlib
26816 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26817 @r=`${PWD_COMMAND}`; export r; \
26818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26819 $(HOST_EXPORTS) \
26820 $(POSTSTAGE1_HOST_EXPORTS) \
26821 cd $(HOST_SUBDIR)/zlib && \
26822 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26823 $(TARGET-stage3-zlib)
26825 maybe-clean-stage3-zlib: clean-stage3-zlib
26826 clean-stage3: clean-stage3-zlib
26827 clean-stage3-zlib:
26828 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26829 || exit 0 ; \
26830 [ $(current_stage) = stage3 ] || $(MAKE) stage3-start; \
26831 cd $(HOST_SUBDIR)/zlib && \
26832 $(MAKE) $(FLAGS_TO_PASS) \
26833 $(POSTSTAGE1_FLAGS_TO_PASS) \
26834 clean
26835 @endif zlib-bootstrap
26838 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26839 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26840 maybe-all-stage4-zlib:
26841 maybe-clean-stage4-zlib:
26842 @if zlib-bootstrap
26843 maybe-all-stage4-zlib: all-stage4-zlib
26844 all-stage4: all-stage4-zlib
26845 TARGET-stage4-zlib = $(TARGET-zlib)
26846 all-stage4-zlib: configure-stage4-zlib
26847 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26848 @r=`${PWD_COMMAND}`; export r; \
26849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26850 $(HOST_EXPORTS) \
26851 $(POSTSTAGE1_HOST_EXPORTS) \
26852 cd $(HOST_SUBDIR)/zlib && \
26853 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26854 $(TARGET-stage4-zlib)
26856 maybe-clean-stage4-zlib: clean-stage4-zlib
26857 clean-stage4: clean-stage4-zlib
26858 clean-stage4-zlib:
26859 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26860 || exit 0 ; \
26861 [ $(current_stage) = stage4 ] || $(MAKE) stage4-start; \
26862 cd $(HOST_SUBDIR)/zlib && \
26863 $(MAKE) $(FLAGS_TO_PASS) \
26864 $(POSTSTAGE1_FLAGS_TO_PASS) \
26865 clean
26866 @endif zlib-bootstrap
26869 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26870 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26871 maybe-all-stageprofile-zlib:
26872 maybe-clean-stageprofile-zlib:
26873 @if zlib-bootstrap
26874 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26875 all-stageprofile: all-stageprofile-zlib
26876 TARGET-stageprofile-zlib = $(TARGET-zlib)
26877 all-stageprofile-zlib: configure-stageprofile-zlib
26878 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26879 @r=`${PWD_COMMAND}`; export r; \
26880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26881 $(HOST_EXPORTS) \
26882 $(POSTSTAGE1_HOST_EXPORTS) \
26883 cd $(HOST_SUBDIR)/zlib && \
26884 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26885 $(TARGET-stageprofile-zlib)
26887 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26888 clean-stageprofile: clean-stageprofile-zlib
26889 clean-stageprofile-zlib:
26890 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26891 || exit 0 ; \
26892 [ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start; \
26893 cd $(HOST_SUBDIR)/zlib && \
26894 $(MAKE) $(FLAGS_TO_PASS) \
26895 $(POSTSTAGE1_FLAGS_TO_PASS) \
26896 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26897 @endif zlib-bootstrap
26900 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26901 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26902 maybe-all-stagefeedback-zlib:
26903 maybe-clean-stagefeedback-zlib:
26904 @if zlib-bootstrap
26905 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26906 all-stagefeedback: all-stagefeedback-zlib
26907 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26908 all-stagefeedback-zlib: configure-stagefeedback-zlib
26909 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26910 @r=`${PWD_COMMAND}`; export r; \
26911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26912 $(HOST_EXPORTS) \
26913 $(POSTSTAGE1_HOST_EXPORTS) \
26914 cd $(HOST_SUBDIR)/zlib && \
26915 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26916 $(TARGET-stagefeedback-zlib)
26918 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26919 clean-stagefeedback: clean-stagefeedback-zlib
26920 clean-stagefeedback-zlib:
26921 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26922 || exit 0 ; \
26923 [ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start; \
26924 cd $(HOST_SUBDIR)/zlib && \
26925 $(MAKE) $(FLAGS_TO_PASS) \
26926 $(POSTSTAGE1_FLAGS_TO_PASS) \
26927 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26928 @endif zlib-bootstrap
26934 .PHONY: check-zlib maybe-check-zlib
26935 maybe-check-zlib:
26936 @if zlib
26937 maybe-check-zlib: check-zlib
26939 check-zlib:
26941 @endif zlib
26943 .PHONY: install-zlib maybe-install-zlib
26944 maybe-install-zlib:
26945 @if zlib
26946 maybe-install-zlib: install-zlib
26948 install-zlib:
26950 @endif zlib
26952 # Other targets (info, dvi, etc.)
26954 .PHONY: maybe-info-zlib info-zlib
26955 maybe-info-zlib:
26956 @if zlib
26957 maybe-info-zlib: info-zlib
26959 info-zlib: \
26960 configure-zlib
26961 @[ -f ./zlib/Makefile ] || exit 0; \
26962 r=`${PWD_COMMAND}`; export r; \
26963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26964 $(HOST_EXPORTS) \
26965 for flag in $(EXTRA_HOST_FLAGS) ; do \
26966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26967 done; \
26968 echo "Doing info in zlib" ; \
26969 (cd $(HOST_SUBDIR)/zlib && \
26970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26972 "RANLIB=$${RANLIB}" \
26973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26974 info) \
26975 || exit 1
26977 @endif zlib
26979 .PHONY: maybe-dvi-zlib dvi-zlib
26980 maybe-dvi-zlib:
26981 @if zlib
26982 maybe-dvi-zlib: dvi-zlib
26984 dvi-zlib: \
26985 configure-zlib
26986 @[ -f ./zlib/Makefile ] || exit 0; \
26987 r=`${PWD_COMMAND}`; export r; \
26988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26989 $(HOST_EXPORTS) \
26990 for flag in $(EXTRA_HOST_FLAGS) ; do \
26991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26992 done; \
26993 echo "Doing dvi in zlib" ; \
26994 (cd $(HOST_SUBDIR)/zlib && \
26995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26997 "RANLIB=$${RANLIB}" \
26998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26999 dvi) \
27000 || exit 1
27002 @endif zlib
27004 .PHONY: maybe-html-zlib html-zlib
27005 maybe-html-zlib:
27006 @if zlib
27007 maybe-html-zlib: html-zlib
27009 html-zlib: \
27010 configure-zlib
27011 @[ -f ./zlib/Makefile ] || exit 0; \
27012 r=`${PWD_COMMAND}`; export r; \
27013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27014 $(HOST_EXPORTS) \
27015 for flag in $(EXTRA_HOST_FLAGS) ; do \
27016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27017 done; \
27018 echo "Doing html in zlib" ; \
27019 (cd $(HOST_SUBDIR)/zlib && \
27020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27022 "RANLIB=$${RANLIB}" \
27023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27024 html) \
27025 || exit 1
27027 @endif zlib
27029 .PHONY: maybe-TAGS-zlib TAGS-zlib
27030 maybe-TAGS-zlib:
27031 @if zlib
27032 maybe-TAGS-zlib: TAGS-zlib
27034 TAGS-zlib: \
27035 configure-zlib
27036 @[ -f ./zlib/Makefile ] || exit 0; \
27037 r=`${PWD_COMMAND}`; export r; \
27038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27039 $(HOST_EXPORTS) \
27040 for flag in $(EXTRA_HOST_FLAGS) ; do \
27041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27042 done; \
27043 echo "Doing TAGS in zlib" ; \
27044 (cd $(HOST_SUBDIR)/zlib && \
27045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27047 "RANLIB=$${RANLIB}" \
27048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27049 TAGS) \
27050 || exit 1
27052 @endif zlib
27054 .PHONY: maybe-install-info-zlib install-info-zlib
27055 maybe-install-info-zlib:
27056 @if zlib
27057 maybe-install-info-zlib: install-info-zlib
27059 install-info-zlib: \
27060 configure-zlib \
27061 info-zlib
27062 @[ -f ./zlib/Makefile ] || exit 0; \
27063 r=`${PWD_COMMAND}`; export r; \
27064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27065 $(HOST_EXPORTS) \
27066 for flag in $(EXTRA_HOST_FLAGS) ; do \
27067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27068 done; \
27069 echo "Doing install-info in zlib" ; \
27070 (cd $(HOST_SUBDIR)/zlib && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073 "RANLIB=$${RANLIB}" \
27074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27075 install-info) \
27076 || exit 1
27078 @endif zlib
27080 .PHONY: maybe-installcheck-zlib installcheck-zlib
27081 maybe-installcheck-zlib:
27082 @if zlib
27083 maybe-installcheck-zlib: installcheck-zlib
27085 installcheck-zlib: \
27086 configure-zlib
27087 @[ -f ./zlib/Makefile ] || exit 0; \
27088 r=`${PWD_COMMAND}`; export r; \
27089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27090 $(HOST_EXPORTS) \
27091 for flag in $(EXTRA_HOST_FLAGS) ; do \
27092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27093 done; \
27094 echo "Doing installcheck in zlib" ; \
27095 (cd $(HOST_SUBDIR)/zlib && \
27096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27098 "RANLIB=$${RANLIB}" \
27099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27100 installcheck) \
27101 || exit 1
27103 @endif zlib
27105 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27106 maybe-mostlyclean-zlib:
27107 @if zlib
27108 maybe-mostlyclean-zlib: mostlyclean-zlib
27110 mostlyclean-zlib:
27111 @[ -f ./zlib/Makefile ] || exit 0; \
27112 r=`${PWD_COMMAND}`; export r; \
27113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27114 $(HOST_EXPORTS) \
27115 for flag in $(EXTRA_HOST_FLAGS) ; do \
27116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27117 done; \
27118 echo "Doing mostlyclean in zlib" ; \
27119 (cd $(HOST_SUBDIR)/zlib && \
27120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27122 "RANLIB=$${RANLIB}" \
27123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27124 mostlyclean) \
27125 || exit 1
27127 @endif zlib
27129 .PHONY: maybe-clean-zlib clean-zlib
27130 maybe-clean-zlib:
27131 @if zlib
27132 maybe-clean-zlib: clean-zlib
27134 clean-zlib:
27135 @[ -f ./zlib/Makefile ] || exit 0; \
27136 r=`${PWD_COMMAND}`; export r; \
27137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27138 $(HOST_EXPORTS) \
27139 for flag in $(EXTRA_HOST_FLAGS) ; do \
27140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27141 done; \
27142 echo "Doing clean in zlib" ; \
27143 (cd $(HOST_SUBDIR)/zlib && \
27144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27146 "RANLIB=$${RANLIB}" \
27147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27148 clean) \
27149 || exit 1
27151 @endif zlib
27153 .PHONY: maybe-distclean-zlib distclean-zlib
27154 maybe-distclean-zlib:
27155 @if zlib
27156 maybe-distclean-zlib: distclean-zlib
27158 distclean-zlib:
27159 @[ -f ./zlib/Makefile ] || exit 0; \
27160 r=`${PWD_COMMAND}`; export r; \
27161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27162 $(HOST_EXPORTS) \
27163 for flag in $(EXTRA_HOST_FLAGS) ; do \
27164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27165 done; \
27166 echo "Doing distclean in zlib" ; \
27167 (cd $(HOST_SUBDIR)/zlib && \
27168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27170 "RANLIB=$${RANLIB}" \
27171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27172 distclean) \
27173 || exit 1
27175 @endif zlib
27177 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27178 maybe-maintainer-clean-zlib:
27179 @if zlib
27180 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27182 maintainer-clean-zlib:
27183 @[ -f ./zlib/Makefile ] || exit 0; \
27184 r=`${PWD_COMMAND}`; export r; \
27185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27186 $(HOST_EXPORTS) \
27187 for flag in $(EXTRA_HOST_FLAGS) ; do \
27188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27189 done; \
27190 echo "Doing maintainer-clean in zlib" ; \
27191 (cd $(HOST_SUBDIR)/zlib && \
27192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27194 "RANLIB=$${RANLIB}" \
27195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27196 maintainer-clean) \
27197 || exit 1
27199 @endif zlib
27203 .PHONY: configure-gdb maybe-configure-gdb
27204 maybe-configure-gdb:
27205 @if gdb
27206 maybe-configure-gdb: configure-gdb
27207 configure-gdb:
27208 @: $(MAKE); $(unstage)
27209 @r=`${PWD_COMMAND}`; export r; \
27210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27211 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
27213 $(HOST_EXPORTS) \
27214 echo Configuring in $(HOST_SUBDIR)/gdb; \
27215 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27216 case $(srcdir) in \
27217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27218 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27220 esac; \
27221 srcdiroption="--srcdir=$${topdir}/gdb"; \
27222 libsrcdir="$$s/gdb"; \
27223 $(SHELL) $${libsrcdir}/configure \
27224 $(HOST_CONFIGARGS) $${srcdiroption} \
27225 || exit 1
27226 @endif gdb
27232 .PHONY: all-gdb maybe-all-gdb
27233 maybe-all-gdb:
27234 @if gdb
27235 TARGET-gdb=all
27236 maybe-all-gdb: all-gdb
27237 all-gdb: configure-gdb
27238 @: $(MAKE); $(unstage)
27239 @r=`${PWD_COMMAND}`; export r; \
27240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27241 $(HOST_EXPORTS) \
27242 (cd $(HOST_SUBDIR)/gdb && \
27243 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
27244 @endif gdb
27249 .PHONY: check-gdb maybe-check-gdb
27250 maybe-check-gdb:
27251 @if gdb
27252 maybe-check-gdb: check-gdb
27254 check-gdb:
27255 @: $(MAKE); $(unstage)
27256 @r=`${PWD_COMMAND}`; export r; \
27257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258 $(HOST_EXPORTS) \
27259 (cd $(HOST_SUBDIR)/gdb && \
27260 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27262 @endif gdb
27264 .PHONY: install-gdb maybe-install-gdb
27265 maybe-install-gdb:
27266 @if gdb
27267 maybe-install-gdb: install-gdb
27269 install-gdb: installdirs
27270 @: $(MAKE); $(unstage)
27271 @r=`${PWD_COMMAND}`; export r; \
27272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27273 $(HOST_EXPORTS) \
27274 (cd $(HOST_SUBDIR)/gdb && \
27275 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27277 @endif gdb
27279 # Other targets (info, dvi, etc.)
27281 .PHONY: maybe-info-gdb info-gdb
27282 maybe-info-gdb:
27283 @if gdb
27284 maybe-info-gdb: info-gdb
27286 info-gdb: \
27287 configure-gdb
27288 @: $(MAKE); $(unstage)
27289 @[ -f ./gdb/Makefile ] || exit 0; \
27290 r=`${PWD_COMMAND}`; export r; \
27291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27292 $(HOST_EXPORTS) \
27293 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27295 done; \
27296 echo "Doing info in gdb" ; \
27297 (cd $(HOST_SUBDIR)/gdb && \
27298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27300 "RANLIB=$${RANLIB}" \
27301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27302 info) \
27303 || exit 1
27305 @endif gdb
27307 .PHONY: maybe-dvi-gdb dvi-gdb
27308 maybe-dvi-gdb:
27309 @if gdb
27310 maybe-dvi-gdb: dvi-gdb
27312 dvi-gdb: \
27313 configure-gdb
27314 @: $(MAKE); $(unstage)
27315 @[ -f ./gdb/Makefile ] || exit 0; \
27316 r=`${PWD_COMMAND}`; export r; \
27317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27318 $(HOST_EXPORTS) \
27319 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27321 done; \
27322 echo "Doing dvi in gdb" ; \
27323 (cd $(HOST_SUBDIR)/gdb && \
27324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27326 "RANLIB=$${RANLIB}" \
27327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27328 dvi) \
27329 || exit 1
27331 @endif gdb
27333 .PHONY: maybe-html-gdb html-gdb
27334 maybe-html-gdb:
27335 @if gdb
27336 maybe-html-gdb: html-gdb
27338 html-gdb: \
27339 configure-gdb
27340 @: $(MAKE); $(unstage)
27341 @[ -f ./gdb/Makefile ] || exit 0; \
27342 r=`${PWD_COMMAND}`; export r; \
27343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27344 $(HOST_EXPORTS) \
27345 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27347 done; \
27348 echo "Doing html in gdb" ; \
27349 (cd $(HOST_SUBDIR)/gdb && \
27350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27352 "RANLIB=$${RANLIB}" \
27353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27354 html) \
27355 || exit 1
27357 @endif gdb
27359 .PHONY: maybe-TAGS-gdb TAGS-gdb
27360 maybe-TAGS-gdb:
27361 @if gdb
27362 maybe-TAGS-gdb: TAGS-gdb
27364 TAGS-gdb: \
27365 configure-gdb
27366 @: $(MAKE); $(unstage)
27367 @[ -f ./gdb/Makefile ] || exit 0; \
27368 r=`${PWD_COMMAND}`; export r; \
27369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27370 $(HOST_EXPORTS) \
27371 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27373 done; \
27374 echo "Doing TAGS in gdb" ; \
27375 (cd $(HOST_SUBDIR)/gdb && \
27376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27378 "RANLIB=$${RANLIB}" \
27379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27380 TAGS) \
27381 || exit 1
27383 @endif gdb
27385 .PHONY: maybe-install-info-gdb install-info-gdb
27386 maybe-install-info-gdb:
27387 @if gdb
27388 maybe-install-info-gdb: install-info-gdb
27390 install-info-gdb: \
27391 configure-gdb \
27392 info-gdb
27393 @: $(MAKE); $(unstage)
27394 @[ -f ./gdb/Makefile ] || exit 0; \
27395 r=`${PWD_COMMAND}`; export r; \
27396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27397 $(HOST_EXPORTS) \
27398 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27400 done; \
27401 echo "Doing install-info in gdb" ; \
27402 (cd $(HOST_SUBDIR)/gdb && \
27403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27405 "RANLIB=$${RANLIB}" \
27406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27407 install-info) \
27408 || exit 1
27410 @endif gdb
27412 .PHONY: maybe-installcheck-gdb installcheck-gdb
27413 maybe-installcheck-gdb:
27414 @if gdb
27415 maybe-installcheck-gdb: installcheck-gdb
27417 installcheck-gdb: \
27418 configure-gdb
27419 @: $(MAKE); $(unstage)
27420 @[ -f ./gdb/Makefile ] || exit 0; \
27421 r=`${PWD_COMMAND}`; export r; \
27422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27423 $(HOST_EXPORTS) \
27424 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27426 done; \
27427 echo "Doing installcheck in gdb" ; \
27428 (cd $(HOST_SUBDIR)/gdb && \
27429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27431 "RANLIB=$${RANLIB}" \
27432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27433 installcheck) \
27434 || exit 1
27436 @endif gdb
27438 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27439 maybe-mostlyclean-gdb:
27440 @if gdb
27441 maybe-mostlyclean-gdb: mostlyclean-gdb
27443 mostlyclean-gdb:
27444 @: $(MAKE); $(unstage)
27445 @[ -f ./gdb/Makefile ] || exit 0; \
27446 r=`${PWD_COMMAND}`; export r; \
27447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27448 $(HOST_EXPORTS) \
27449 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27451 done; \
27452 echo "Doing mostlyclean in gdb" ; \
27453 (cd $(HOST_SUBDIR)/gdb && \
27454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27456 "RANLIB=$${RANLIB}" \
27457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27458 mostlyclean) \
27459 || exit 1
27461 @endif gdb
27463 .PHONY: maybe-clean-gdb clean-gdb
27464 maybe-clean-gdb:
27465 @if gdb
27466 maybe-clean-gdb: clean-gdb
27468 clean-gdb:
27469 @: $(MAKE); $(unstage)
27470 @[ -f ./gdb/Makefile ] || exit 0; \
27471 r=`${PWD_COMMAND}`; export r; \
27472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 $(HOST_EXPORTS) \
27474 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27476 done; \
27477 echo "Doing clean in gdb" ; \
27478 (cd $(HOST_SUBDIR)/gdb && \
27479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27481 "RANLIB=$${RANLIB}" \
27482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27483 clean) \
27484 || exit 1
27486 @endif gdb
27488 .PHONY: maybe-distclean-gdb distclean-gdb
27489 maybe-distclean-gdb:
27490 @if gdb
27491 maybe-distclean-gdb: distclean-gdb
27493 distclean-gdb:
27494 @: $(MAKE); $(unstage)
27495 @[ -f ./gdb/Makefile ] || exit 0; \
27496 r=`${PWD_COMMAND}`; export r; \
27497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27498 $(HOST_EXPORTS) \
27499 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27501 done; \
27502 echo "Doing distclean in gdb" ; \
27503 (cd $(HOST_SUBDIR)/gdb && \
27504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27506 "RANLIB=$${RANLIB}" \
27507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27508 distclean) \
27509 || exit 1
27511 @endif gdb
27513 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27514 maybe-maintainer-clean-gdb:
27515 @if gdb
27516 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27518 maintainer-clean-gdb:
27519 @: $(MAKE); $(unstage)
27520 @[ -f ./gdb/Makefile ] || exit 0; \
27521 r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27523 $(HOST_EXPORTS) \
27524 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27526 done; \
27527 echo "Doing maintainer-clean in gdb" ; \
27528 (cd $(HOST_SUBDIR)/gdb && \
27529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27531 "RANLIB=$${RANLIB}" \
27532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27533 maintainer-clean) \
27534 || exit 1
27536 @endif gdb
27540 .PHONY: configure-expect maybe-configure-expect
27541 maybe-configure-expect:
27542 @if expect
27543 maybe-configure-expect: configure-expect
27544 configure-expect:
27545 @: $(MAKE); $(unstage)
27546 @r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27550 $(HOST_EXPORTS) \
27551 echo Configuring in $(HOST_SUBDIR)/expect; \
27552 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27553 case $(srcdir) in \
27554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27555 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27557 esac; \
27558 srcdiroption="--srcdir=$${topdir}/expect"; \
27559 libsrcdir="$$s/expect"; \
27560 $(SHELL) $${libsrcdir}/configure \
27561 $(HOST_CONFIGARGS) $${srcdiroption} \
27562 || exit 1
27563 @endif expect
27569 .PHONY: all-expect maybe-all-expect
27570 maybe-all-expect:
27571 @if expect
27572 TARGET-expect=all
27573 maybe-all-expect: all-expect
27574 all-expect: configure-expect
27575 @: $(MAKE); $(unstage)
27576 @r=`${PWD_COMMAND}`; export r; \
27577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27578 $(HOST_EXPORTS) \
27579 (cd $(HOST_SUBDIR)/expect && \
27580 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
27581 @endif expect
27586 .PHONY: check-expect maybe-check-expect
27587 maybe-check-expect:
27588 @if expect
27589 maybe-check-expect: check-expect
27591 check-expect:
27592 @: $(MAKE); $(unstage)
27593 @r=`${PWD_COMMAND}`; export r; \
27594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27595 $(HOST_EXPORTS) \
27596 (cd $(HOST_SUBDIR)/expect && \
27597 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27599 @endif expect
27601 .PHONY: install-expect maybe-install-expect
27602 maybe-install-expect:
27603 @if expect
27604 maybe-install-expect: install-expect
27606 install-expect: installdirs
27607 @: $(MAKE); $(unstage)
27608 @r=`${PWD_COMMAND}`; export r; \
27609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27610 $(HOST_EXPORTS) \
27611 (cd $(HOST_SUBDIR)/expect && \
27612 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27614 @endif expect
27616 # Other targets (info, dvi, etc.)
27618 .PHONY: maybe-info-expect info-expect
27619 maybe-info-expect:
27620 @if expect
27621 maybe-info-expect: info-expect
27623 info-expect: \
27624 configure-expect
27625 @: $(MAKE); $(unstage)
27626 @[ -f ./expect/Makefile ] || exit 0; \
27627 r=`${PWD_COMMAND}`; export r; \
27628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27629 $(HOST_EXPORTS) \
27630 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27632 done; \
27633 echo "Doing info in expect" ; \
27634 (cd $(HOST_SUBDIR)/expect && \
27635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27637 "RANLIB=$${RANLIB}" \
27638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27639 info) \
27640 || exit 1
27642 @endif expect
27644 .PHONY: maybe-dvi-expect dvi-expect
27645 maybe-dvi-expect:
27646 @if expect
27647 maybe-dvi-expect: dvi-expect
27649 dvi-expect: \
27650 configure-expect
27651 @: $(MAKE); $(unstage)
27652 @[ -f ./expect/Makefile ] || exit 0; \
27653 r=`${PWD_COMMAND}`; export r; \
27654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27655 $(HOST_EXPORTS) \
27656 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27658 done; \
27659 echo "Doing dvi in expect" ; \
27660 (cd $(HOST_SUBDIR)/expect && \
27661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27663 "RANLIB=$${RANLIB}" \
27664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27665 dvi) \
27666 || exit 1
27668 @endif expect
27670 .PHONY: maybe-html-expect html-expect
27671 maybe-html-expect:
27672 @if expect
27673 maybe-html-expect: html-expect
27675 html-expect: \
27676 configure-expect
27677 @: $(MAKE); $(unstage)
27678 @[ -f ./expect/Makefile ] || exit 0; \
27679 r=`${PWD_COMMAND}`; export r; \
27680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27681 $(HOST_EXPORTS) \
27682 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27684 done; \
27685 echo "Doing html in expect" ; \
27686 (cd $(HOST_SUBDIR)/expect && \
27687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27689 "RANLIB=$${RANLIB}" \
27690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27691 html) \
27692 || exit 1
27694 @endif expect
27696 .PHONY: maybe-TAGS-expect TAGS-expect
27697 maybe-TAGS-expect:
27698 @if expect
27699 maybe-TAGS-expect: TAGS-expect
27701 TAGS-expect: \
27702 configure-expect
27703 @: $(MAKE); $(unstage)
27704 @[ -f ./expect/Makefile ] || exit 0; \
27705 r=`${PWD_COMMAND}`; export r; \
27706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27707 $(HOST_EXPORTS) \
27708 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27710 done; \
27711 echo "Doing TAGS in expect" ; \
27712 (cd $(HOST_SUBDIR)/expect && \
27713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27715 "RANLIB=$${RANLIB}" \
27716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27717 TAGS) \
27718 || exit 1
27720 @endif expect
27722 .PHONY: maybe-install-info-expect install-info-expect
27723 maybe-install-info-expect:
27724 @if expect
27725 maybe-install-info-expect: install-info-expect
27727 install-info-expect: \
27728 configure-expect \
27729 info-expect
27730 @: $(MAKE); $(unstage)
27731 @[ -f ./expect/Makefile ] || exit 0; \
27732 r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27734 $(HOST_EXPORTS) \
27735 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27737 done; \
27738 echo "Doing install-info in expect" ; \
27739 (cd $(HOST_SUBDIR)/expect && \
27740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27742 "RANLIB=$${RANLIB}" \
27743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27744 install-info) \
27745 || exit 1
27747 @endif expect
27749 .PHONY: maybe-installcheck-expect installcheck-expect
27750 maybe-installcheck-expect:
27751 @if expect
27752 maybe-installcheck-expect: installcheck-expect
27754 installcheck-expect: \
27755 configure-expect
27756 @: $(MAKE); $(unstage)
27757 @[ -f ./expect/Makefile ] || exit 0; \
27758 r=`${PWD_COMMAND}`; export r; \
27759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27760 $(HOST_EXPORTS) \
27761 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763 done; \
27764 echo "Doing installcheck in expect" ; \
27765 (cd $(HOST_SUBDIR)/expect && \
27766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27768 "RANLIB=$${RANLIB}" \
27769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27770 installcheck) \
27771 || exit 1
27773 @endif expect
27775 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27776 maybe-mostlyclean-expect:
27777 @if expect
27778 maybe-mostlyclean-expect: mostlyclean-expect
27780 mostlyclean-expect:
27781 @: $(MAKE); $(unstage)
27782 @[ -f ./expect/Makefile ] || exit 0; \
27783 r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(HOST_EXPORTS) \
27786 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 echo "Doing mostlyclean in expect" ; \
27790 (cd $(HOST_SUBDIR)/expect && \
27791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27793 "RANLIB=$${RANLIB}" \
27794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27795 mostlyclean) \
27796 || exit 1
27798 @endif expect
27800 .PHONY: maybe-clean-expect clean-expect
27801 maybe-clean-expect:
27802 @if expect
27803 maybe-clean-expect: clean-expect
27805 clean-expect:
27806 @: $(MAKE); $(unstage)
27807 @[ -f ./expect/Makefile ] || exit 0; \
27808 r=`${PWD_COMMAND}`; export r; \
27809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27810 $(HOST_EXPORTS) \
27811 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 done; \
27814 echo "Doing clean in expect" ; \
27815 (cd $(HOST_SUBDIR)/expect && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27820 clean) \
27821 || exit 1
27823 @endif expect
27825 .PHONY: maybe-distclean-expect distclean-expect
27826 maybe-distclean-expect:
27827 @if expect
27828 maybe-distclean-expect: distclean-expect
27830 distclean-expect:
27831 @: $(MAKE); $(unstage)
27832 @[ -f ./expect/Makefile ] || exit 0; \
27833 r=`${PWD_COMMAND}`; export r; \
27834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27835 $(HOST_EXPORTS) \
27836 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838 done; \
27839 echo "Doing distclean in expect" ; \
27840 (cd $(HOST_SUBDIR)/expect && \
27841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27843 "RANLIB=$${RANLIB}" \
27844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27845 distclean) \
27846 || exit 1
27848 @endif expect
27850 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27851 maybe-maintainer-clean-expect:
27852 @if expect
27853 maybe-maintainer-clean-expect: maintainer-clean-expect
27855 maintainer-clean-expect:
27856 @: $(MAKE); $(unstage)
27857 @[ -f ./expect/Makefile ] || exit 0; \
27858 r=`${PWD_COMMAND}`; export r; \
27859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 $(HOST_EXPORTS) \
27861 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 done; \
27864 echo "Doing maintainer-clean in expect" ; \
27865 (cd $(HOST_SUBDIR)/expect && \
27866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27868 "RANLIB=$${RANLIB}" \
27869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27870 maintainer-clean) \
27871 || exit 1
27873 @endif expect
27877 .PHONY: configure-guile maybe-configure-guile
27878 maybe-configure-guile:
27879 @if guile
27880 maybe-configure-guile: configure-guile
27881 configure-guile:
27882 @: $(MAKE); $(unstage)
27883 @r=`${PWD_COMMAND}`; export r; \
27884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27885 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27887 $(HOST_EXPORTS) \
27888 echo Configuring in $(HOST_SUBDIR)/guile; \
27889 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27890 case $(srcdir) in \
27891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27892 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27894 esac; \
27895 srcdiroption="--srcdir=$${topdir}/guile"; \
27896 libsrcdir="$$s/guile"; \
27897 $(SHELL) $${libsrcdir}/configure \
27898 $(HOST_CONFIGARGS) $${srcdiroption} \
27899 || exit 1
27900 @endif guile
27906 .PHONY: all-guile maybe-all-guile
27907 maybe-all-guile:
27908 @if guile
27909 TARGET-guile=all
27910 maybe-all-guile: all-guile
27911 all-guile: configure-guile
27912 @: $(MAKE); $(unstage)
27913 @r=`${PWD_COMMAND}`; export r; \
27914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27915 $(HOST_EXPORTS) \
27916 (cd $(HOST_SUBDIR)/guile && \
27917 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27918 @endif guile
27923 .PHONY: check-guile maybe-check-guile
27924 maybe-check-guile:
27925 @if guile
27926 maybe-check-guile: check-guile
27928 check-guile:
27929 @: $(MAKE); $(unstage)
27930 @r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 $(HOST_EXPORTS) \
27933 (cd $(HOST_SUBDIR)/guile && \
27934 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27936 @endif guile
27938 .PHONY: install-guile maybe-install-guile
27939 maybe-install-guile:
27940 @if guile
27941 maybe-install-guile: install-guile
27943 install-guile: installdirs
27944 @: $(MAKE); $(unstage)
27945 @r=`${PWD_COMMAND}`; export r; \
27946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27947 $(HOST_EXPORTS) \
27948 (cd $(HOST_SUBDIR)/guile && \
27949 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27951 @endif guile
27953 # Other targets (info, dvi, etc.)
27955 .PHONY: maybe-info-guile info-guile
27956 maybe-info-guile:
27957 @if guile
27958 maybe-info-guile: info-guile
27960 info-guile: \
27961 configure-guile
27962 @: $(MAKE); $(unstage)
27963 @[ -f ./guile/Makefile ] || exit 0; \
27964 r=`${PWD_COMMAND}`; export r; \
27965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27966 $(HOST_EXPORTS) \
27967 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27969 done; \
27970 echo "Doing info in guile" ; \
27971 (cd $(HOST_SUBDIR)/guile && \
27972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27974 "RANLIB=$${RANLIB}" \
27975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27976 info) \
27977 || exit 1
27979 @endif guile
27981 .PHONY: maybe-dvi-guile dvi-guile
27982 maybe-dvi-guile:
27983 @if guile
27984 maybe-dvi-guile: dvi-guile
27986 dvi-guile: \
27987 configure-guile
27988 @: $(MAKE); $(unstage)
27989 @[ -f ./guile/Makefile ] || exit 0; \
27990 r=`${PWD_COMMAND}`; export r; \
27991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27992 $(HOST_EXPORTS) \
27993 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27995 done; \
27996 echo "Doing dvi in guile" ; \
27997 (cd $(HOST_SUBDIR)/guile && \
27998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28000 "RANLIB=$${RANLIB}" \
28001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28002 dvi) \
28003 || exit 1
28005 @endif guile
28007 .PHONY: maybe-html-guile html-guile
28008 maybe-html-guile:
28009 @if guile
28010 maybe-html-guile: html-guile
28012 html-guile: \
28013 configure-guile
28014 @: $(MAKE); $(unstage)
28015 @[ -f ./guile/Makefile ] || exit 0; \
28016 r=`${PWD_COMMAND}`; export r; \
28017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28018 $(HOST_EXPORTS) \
28019 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28021 done; \
28022 echo "Doing html in guile" ; \
28023 (cd $(HOST_SUBDIR)/guile && \
28024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28026 "RANLIB=$${RANLIB}" \
28027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28028 html) \
28029 || exit 1
28031 @endif guile
28033 .PHONY: maybe-TAGS-guile TAGS-guile
28034 maybe-TAGS-guile:
28035 @if guile
28036 maybe-TAGS-guile: TAGS-guile
28038 TAGS-guile: \
28039 configure-guile
28040 @: $(MAKE); $(unstage)
28041 @[ -f ./guile/Makefile ] || exit 0; \
28042 r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 echo "Doing TAGS in guile" ; \
28049 (cd $(HOST_SUBDIR)/guile && \
28050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28052 "RANLIB=$${RANLIB}" \
28053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28054 TAGS) \
28055 || exit 1
28057 @endif guile
28059 .PHONY: maybe-install-info-guile install-info-guile
28060 maybe-install-info-guile:
28061 @if guile
28062 maybe-install-info-guile: install-info-guile
28064 install-info-guile: \
28065 configure-guile \
28066 info-guile
28067 @: $(MAKE); $(unstage)
28068 @[ -f ./guile/Makefile ] || exit 0; \
28069 r=`${PWD_COMMAND}`; export r; \
28070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28071 $(HOST_EXPORTS) \
28072 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28074 done; \
28075 echo "Doing install-info in guile" ; \
28076 (cd $(HOST_SUBDIR)/guile && \
28077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28079 "RANLIB=$${RANLIB}" \
28080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28081 install-info) \
28082 || exit 1
28084 @endif guile
28086 .PHONY: maybe-installcheck-guile installcheck-guile
28087 maybe-installcheck-guile:
28088 @if guile
28089 maybe-installcheck-guile: installcheck-guile
28091 installcheck-guile: \
28092 configure-guile
28093 @: $(MAKE); $(unstage)
28094 @[ -f ./guile/Makefile ] || exit 0; \
28095 r=`${PWD_COMMAND}`; export r; \
28096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28097 $(HOST_EXPORTS) \
28098 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28100 done; \
28101 echo "Doing installcheck in guile" ; \
28102 (cd $(HOST_SUBDIR)/guile && \
28103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28105 "RANLIB=$${RANLIB}" \
28106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28107 installcheck) \
28108 || exit 1
28110 @endif guile
28112 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28113 maybe-mostlyclean-guile:
28114 @if guile
28115 maybe-mostlyclean-guile: mostlyclean-guile
28117 mostlyclean-guile:
28118 @: $(MAKE); $(unstage)
28119 @[ -f ./guile/Makefile ] || exit 0; \
28120 r=`${PWD_COMMAND}`; export r; \
28121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28122 $(HOST_EXPORTS) \
28123 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28125 done; \
28126 echo "Doing mostlyclean in guile" ; \
28127 (cd $(HOST_SUBDIR)/guile && \
28128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28130 "RANLIB=$${RANLIB}" \
28131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28132 mostlyclean) \
28133 || exit 1
28135 @endif guile
28137 .PHONY: maybe-clean-guile clean-guile
28138 maybe-clean-guile:
28139 @if guile
28140 maybe-clean-guile: clean-guile
28142 clean-guile:
28143 @: $(MAKE); $(unstage)
28144 @[ -f ./guile/Makefile ] || exit 0; \
28145 r=`${PWD_COMMAND}`; export r; \
28146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 $(HOST_EXPORTS) \
28148 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28150 done; \
28151 echo "Doing clean in guile" ; \
28152 (cd $(HOST_SUBDIR)/guile && \
28153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28155 "RANLIB=$${RANLIB}" \
28156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28157 clean) \
28158 || exit 1
28160 @endif guile
28162 .PHONY: maybe-distclean-guile distclean-guile
28163 maybe-distclean-guile:
28164 @if guile
28165 maybe-distclean-guile: distclean-guile
28167 distclean-guile:
28168 @: $(MAKE); $(unstage)
28169 @[ -f ./guile/Makefile ] || exit 0; \
28170 r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(HOST_EXPORTS) \
28173 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28175 done; \
28176 echo "Doing distclean in guile" ; \
28177 (cd $(HOST_SUBDIR)/guile && \
28178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180 "RANLIB=$${RANLIB}" \
28181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28182 distclean) \
28183 || exit 1
28185 @endif guile
28187 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28188 maybe-maintainer-clean-guile:
28189 @if guile
28190 maybe-maintainer-clean-guile: maintainer-clean-guile
28192 maintainer-clean-guile:
28193 @: $(MAKE); $(unstage)
28194 @[ -f ./guile/Makefile ] || exit 0; \
28195 r=`${PWD_COMMAND}`; export r; \
28196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28197 $(HOST_EXPORTS) \
28198 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28200 done; \
28201 echo "Doing maintainer-clean in guile" ; \
28202 (cd $(HOST_SUBDIR)/guile && \
28203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28205 "RANLIB=$${RANLIB}" \
28206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28207 maintainer-clean) \
28208 || exit 1
28210 @endif guile
28214 .PHONY: configure-tk maybe-configure-tk
28215 maybe-configure-tk:
28216 @if tk
28217 maybe-configure-tk: configure-tk
28218 configure-tk:
28219 @: $(MAKE); $(unstage)
28220 @r=`${PWD_COMMAND}`; export r; \
28221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28222 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28223 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28224 $(HOST_EXPORTS) \
28225 echo Configuring in $(HOST_SUBDIR)/tk; \
28226 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28227 case $(srcdir) in \
28228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28229 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28231 esac; \
28232 srcdiroption="--srcdir=$${topdir}/tk"; \
28233 libsrcdir="$$s/tk"; \
28234 $(SHELL) $${libsrcdir}/configure \
28235 $(HOST_CONFIGARGS) $${srcdiroption} \
28236 || exit 1
28237 @endif tk
28243 .PHONY: all-tk maybe-all-tk
28244 maybe-all-tk:
28245 @if tk
28246 TARGET-tk=all
28247 maybe-all-tk: all-tk
28248 all-tk: configure-tk
28249 @: $(MAKE); $(unstage)
28250 @r=`${PWD_COMMAND}`; export r; \
28251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28252 $(HOST_EXPORTS) \
28253 (cd $(HOST_SUBDIR)/tk && \
28254 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
28255 @endif tk
28260 .PHONY: check-tk maybe-check-tk
28261 maybe-check-tk:
28262 @if tk
28263 maybe-check-tk: check-tk
28265 check-tk:
28266 @: $(MAKE); $(unstage)
28267 @r=`${PWD_COMMAND}`; export r; \
28268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28269 $(HOST_EXPORTS) \
28270 (cd $(HOST_SUBDIR)/tk && \
28271 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
28273 @endif tk
28275 .PHONY: install-tk maybe-install-tk
28276 maybe-install-tk:
28277 @if tk
28278 maybe-install-tk: install-tk
28280 install-tk: installdirs
28281 @: $(MAKE); $(unstage)
28282 @r=`${PWD_COMMAND}`; export r; \
28283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28284 $(HOST_EXPORTS) \
28285 (cd $(HOST_SUBDIR)/tk && \
28286 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
28288 @endif tk
28290 # Other targets (info, dvi, etc.)
28292 .PHONY: maybe-info-tk info-tk
28293 maybe-info-tk:
28294 @if tk
28295 maybe-info-tk: info-tk
28297 info-tk: \
28298 configure-tk
28299 @: $(MAKE); $(unstage)
28300 @[ -f ./tk/Makefile ] || exit 0; \
28301 r=`${PWD_COMMAND}`; export r; \
28302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28303 $(HOST_EXPORTS) \
28304 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28306 done; \
28307 echo "Doing info in tk" ; \
28308 (cd $(HOST_SUBDIR)/tk && \
28309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28311 "RANLIB=$${RANLIB}" \
28312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28313 info) \
28314 || exit 1
28316 @endif tk
28318 .PHONY: maybe-dvi-tk dvi-tk
28319 maybe-dvi-tk:
28320 @if tk
28321 maybe-dvi-tk: dvi-tk
28323 dvi-tk: \
28324 configure-tk
28325 @: $(MAKE); $(unstage)
28326 @[ -f ./tk/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing dvi in tk" ; \
28334 (cd $(HOST_SUBDIR)/tk && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28339 dvi) \
28340 || exit 1
28342 @endif tk
28344 .PHONY: maybe-html-tk html-tk
28345 maybe-html-tk:
28346 @if tk
28347 maybe-html-tk: html-tk
28349 html-tk: \
28350 configure-tk
28351 @: $(MAKE); $(unstage)
28352 @[ -f ./tk/Makefile ] || exit 0; \
28353 r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(HOST_EXPORTS) \
28356 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28358 done; \
28359 echo "Doing html in tk" ; \
28360 (cd $(HOST_SUBDIR)/tk && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28365 html) \
28366 || exit 1
28368 @endif tk
28370 .PHONY: maybe-TAGS-tk TAGS-tk
28371 maybe-TAGS-tk:
28372 @if tk
28373 maybe-TAGS-tk: TAGS-tk
28375 TAGS-tk: \
28376 configure-tk
28377 @: $(MAKE); $(unstage)
28378 @[ -f ./tk/Makefile ] || exit 0; \
28379 r=`${PWD_COMMAND}`; export r; \
28380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28381 $(HOST_EXPORTS) \
28382 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28384 done; \
28385 echo "Doing TAGS in tk" ; \
28386 (cd $(HOST_SUBDIR)/tk && \
28387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28389 "RANLIB=$${RANLIB}" \
28390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28391 TAGS) \
28392 || exit 1
28394 @endif tk
28396 .PHONY: maybe-install-info-tk install-info-tk
28397 maybe-install-info-tk:
28398 @if tk
28399 maybe-install-info-tk: install-info-tk
28401 install-info-tk: \
28402 configure-tk \
28403 info-tk
28404 @: $(MAKE); $(unstage)
28405 @[ -f ./tk/Makefile ] || exit 0; \
28406 r=`${PWD_COMMAND}`; export r; \
28407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28408 $(HOST_EXPORTS) \
28409 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28411 done; \
28412 echo "Doing install-info in tk" ; \
28413 (cd $(HOST_SUBDIR)/tk && \
28414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28416 "RANLIB=$${RANLIB}" \
28417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28418 install-info) \
28419 || exit 1
28421 @endif tk
28423 .PHONY: maybe-installcheck-tk installcheck-tk
28424 maybe-installcheck-tk:
28425 @if tk
28426 maybe-installcheck-tk: installcheck-tk
28428 installcheck-tk: \
28429 configure-tk
28430 @: $(MAKE); $(unstage)
28431 @[ -f ./tk/Makefile ] || exit 0; \
28432 r=`${PWD_COMMAND}`; export r; \
28433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28434 $(HOST_EXPORTS) \
28435 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28437 done; \
28438 echo "Doing installcheck in tk" ; \
28439 (cd $(HOST_SUBDIR)/tk && \
28440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28442 "RANLIB=$${RANLIB}" \
28443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28444 installcheck) \
28445 || exit 1
28447 @endif tk
28449 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28450 maybe-mostlyclean-tk:
28451 @if tk
28452 maybe-mostlyclean-tk: mostlyclean-tk
28454 mostlyclean-tk:
28455 @: $(MAKE); $(unstage)
28456 @[ -f ./tk/Makefile ] || exit 0; \
28457 r=`${PWD_COMMAND}`; export r; \
28458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28459 $(HOST_EXPORTS) \
28460 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28462 done; \
28463 echo "Doing mostlyclean in tk" ; \
28464 (cd $(HOST_SUBDIR)/tk && \
28465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28467 "RANLIB=$${RANLIB}" \
28468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28469 mostlyclean) \
28470 || exit 1
28472 @endif tk
28474 .PHONY: maybe-clean-tk clean-tk
28475 maybe-clean-tk:
28476 @if tk
28477 maybe-clean-tk: clean-tk
28479 clean-tk:
28480 @: $(MAKE); $(unstage)
28481 @[ -f ./tk/Makefile ] || exit 0; \
28482 r=`${PWD_COMMAND}`; export r; \
28483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28484 $(HOST_EXPORTS) \
28485 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28487 done; \
28488 echo "Doing clean in tk" ; \
28489 (cd $(HOST_SUBDIR)/tk && \
28490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28492 "RANLIB=$${RANLIB}" \
28493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28494 clean) \
28495 || exit 1
28497 @endif tk
28499 .PHONY: maybe-distclean-tk distclean-tk
28500 maybe-distclean-tk:
28501 @if tk
28502 maybe-distclean-tk: distclean-tk
28504 distclean-tk:
28505 @: $(MAKE); $(unstage)
28506 @[ -f ./tk/Makefile ] || exit 0; \
28507 r=`${PWD_COMMAND}`; export r; \
28508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28509 $(HOST_EXPORTS) \
28510 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28512 done; \
28513 echo "Doing distclean in tk" ; \
28514 (cd $(HOST_SUBDIR)/tk && \
28515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28517 "RANLIB=$${RANLIB}" \
28518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28519 distclean) \
28520 || exit 1
28522 @endif tk
28524 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28525 maybe-maintainer-clean-tk:
28526 @if tk
28527 maybe-maintainer-clean-tk: maintainer-clean-tk
28529 maintainer-clean-tk:
28530 @: $(MAKE); $(unstage)
28531 @[ -f ./tk/Makefile ] || exit 0; \
28532 r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28534 $(HOST_EXPORTS) \
28535 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28537 done; \
28538 echo "Doing maintainer-clean in tk" ; \
28539 (cd $(HOST_SUBDIR)/tk && \
28540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28542 "RANLIB=$${RANLIB}" \
28543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28544 maintainer-clean) \
28545 || exit 1
28547 @endif tk
28551 .PHONY: configure-libtermcap maybe-configure-libtermcap
28552 maybe-configure-libtermcap:
28553 @if libtermcap
28554 maybe-configure-libtermcap: configure-libtermcap
28555 configure-libtermcap:
28556 @: $(MAKE); $(unstage)
28557 @r=`${PWD_COMMAND}`; export r; \
28558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28559 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28560 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28561 $(HOST_EXPORTS) \
28562 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28563 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28564 case $(srcdir) in \
28565 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28566 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28567 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28568 esac; \
28569 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28570 libsrcdir="$$s/libtermcap"; \
28571 $(SHELL) $${libsrcdir}/configure \
28572 $(HOST_CONFIGARGS) $${srcdiroption} \
28573 || exit 1
28574 @endif libtermcap
28580 .PHONY: all-libtermcap maybe-all-libtermcap
28581 maybe-all-libtermcap:
28582 @if libtermcap
28583 TARGET-libtermcap=all
28584 maybe-all-libtermcap: all-libtermcap
28585 all-libtermcap: configure-libtermcap
28586 @: $(MAKE); $(unstage)
28587 @r=`${PWD_COMMAND}`; export r; \
28588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28589 $(HOST_EXPORTS) \
28590 (cd $(HOST_SUBDIR)/libtermcap && \
28591 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
28592 @endif libtermcap
28597 .PHONY: check-libtermcap maybe-check-libtermcap
28598 maybe-check-libtermcap:
28599 @if libtermcap
28600 maybe-check-libtermcap: check-libtermcap
28602 check-libtermcap:
28604 @endif libtermcap
28606 .PHONY: install-libtermcap maybe-install-libtermcap
28607 maybe-install-libtermcap:
28608 @if libtermcap
28609 maybe-install-libtermcap: install-libtermcap
28611 install-libtermcap: installdirs
28612 @: $(MAKE); $(unstage)
28613 @r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 $(HOST_EXPORTS) \
28616 (cd $(HOST_SUBDIR)/libtermcap && \
28617 $(MAKE) $(FLAGS_TO_PASS) install)
28619 @endif libtermcap
28621 # Other targets (info, dvi, etc.)
28623 .PHONY: maybe-info-libtermcap info-libtermcap
28624 maybe-info-libtermcap:
28625 @if libtermcap
28626 maybe-info-libtermcap: info-libtermcap
28628 info-libtermcap: \
28629 configure-libtermcap
28630 @: $(MAKE); $(unstage)
28631 @[ -f ./libtermcap/Makefile ] || exit 0; \
28632 r=`${PWD_COMMAND}`; export r; \
28633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28634 $(HOST_EXPORTS) \
28635 for flag in $(EXTRA_HOST_FLAGS) ; do \
28636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28637 done; \
28638 echo "Doing info in libtermcap" ; \
28639 (cd $(HOST_SUBDIR)/libtermcap && \
28640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28642 "RANLIB=$${RANLIB}" \
28643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28644 info) \
28645 || exit 1
28647 @endif libtermcap
28649 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28650 maybe-dvi-libtermcap:
28651 @if libtermcap
28652 maybe-dvi-libtermcap: dvi-libtermcap
28654 dvi-libtermcap: \
28655 configure-libtermcap
28656 @: $(MAKE); $(unstage)
28657 @[ -f ./libtermcap/Makefile ] || exit 0; \
28658 r=`${PWD_COMMAND}`; export r; \
28659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28660 $(HOST_EXPORTS) \
28661 for flag in $(EXTRA_HOST_FLAGS) ; do \
28662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28663 done; \
28664 echo "Doing dvi in libtermcap" ; \
28665 (cd $(HOST_SUBDIR)/libtermcap && \
28666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28668 "RANLIB=$${RANLIB}" \
28669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28670 dvi) \
28671 || exit 1
28673 @endif libtermcap
28675 .PHONY: maybe-html-libtermcap html-libtermcap
28676 maybe-html-libtermcap:
28677 @if libtermcap
28678 maybe-html-libtermcap: html-libtermcap
28680 html-libtermcap: \
28681 configure-libtermcap
28682 @: $(MAKE); $(unstage)
28683 @[ -f ./libtermcap/Makefile ] || exit 0; \
28684 r=`${PWD_COMMAND}`; export r; \
28685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28686 $(HOST_EXPORTS) \
28687 for flag in $(EXTRA_HOST_FLAGS) ; do \
28688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28689 done; \
28690 echo "Doing html in libtermcap" ; \
28691 (cd $(HOST_SUBDIR)/libtermcap && \
28692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28694 "RANLIB=$${RANLIB}" \
28695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28696 html) \
28697 || exit 1
28699 @endif libtermcap
28701 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28702 maybe-TAGS-libtermcap:
28703 @if libtermcap
28704 maybe-TAGS-libtermcap: TAGS-libtermcap
28706 TAGS-libtermcap: \
28707 configure-libtermcap
28708 @: $(MAKE); $(unstage)
28709 @[ -f ./libtermcap/Makefile ] || exit 0; \
28710 r=`${PWD_COMMAND}`; export r; \
28711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28712 $(HOST_EXPORTS) \
28713 for flag in $(EXTRA_HOST_FLAGS) ; do \
28714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28715 done; \
28716 echo "Doing TAGS in libtermcap" ; \
28717 (cd $(HOST_SUBDIR)/libtermcap && \
28718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28720 "RANLIB=$${RANLIB}" \
28721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28722 TAGS) \
28723 || exit 1
28725 @endif libtermcap
28727 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28728 maybe-install-info-libtermcap:
28729 @if libtermcap
28730 maybe-install-info-libtermcap: install-info-libtermcap
28732 install-info-libtermcap: \
28733 configure-libtermcap \
28734 info-libtermcap
28735 @: $(MAKE); $(unstage)
28736 @[ -f ./libtermcap/Makefile ] || exit 0; \
28737 r=`${PWD_COMMAND}`; export r; \
28738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28739 $(HOST_EXPORTS) \
28740 for flag in $(EXTRA_HOST_FLAGS) ; do \
28741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28742 done; \
28743 echo "Doing install-info in libtermcap" ; \
28744 (cd $(HOST_SUBDIR)/libtermcap && \
28745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28747 "RANLIB=$${RANLIB}" \
28748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28749 install-info) \
28750 || exit 1
28752 @endif libtermcap
28754 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28755 maybe-installcheck-libtermcap:
28756 @if libtermcap
28757 maybe-installcheck-libtermcap: installcheck-libtermcap
28759 installcheck-libtermcap: \
28760 configure-libtermcap
28761 @: $(MAKE); $(unstage)
28762 @[ -f ./libtermcap/Makefile ] || exit 0; \
28763 r=`${PWD_COMMAND}`; export r; \
28764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28765 $(HOST_EXPORTS) \
28766 for flag in $(EXTRA_HOST_FLAGS) ; do \
28767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28768 done; \
28769 echo "Doing installcheck in libtermcap" ; \
28770 (cd $(HOST_SUBDIR)/libtermcap && \
28771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28773 "RANLIB=$${RANLIB}" \
28774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28775 installcheck) \
28776 || exit 1
28778 @endif libtermcap
28780 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28781 maybe-mostlyclean-libtermcap:
28782 @if libtermcap
28783 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28785 # libtermcap doesn't support mostlyclean.
28786 mostlyclean-libtermcap:
28788 @endif libtermcap
28790 .PHONY: maybe-clean-libtermcap clean-libtermcap
28791 maybe-clean-libtermcap:
28792 @if libtermcap
28793 maybe-clean-libtermcap: clean-libtermcap
28795 # libtermcap doesn't support clean.
28796 clean-libtermcap:
28798 @endif libtermcap
28800 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28801 maybe-distclean-libtermcap:
28802 @if libtermcap
28803 maybe-distclean-libtermcap: distclean-libtermcap
28805 # libtermcap doesn't support distclean.
28806 distclean-libtermcap:
28808 @endif libtermcap
28810 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28811 maybe-maintainer-clean-libtermcap:
28812 @if libtermcap
28813 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28815 # libtermcap doesn't support maintainer-clean.
28816 maintainer-clean-libtermcap:
28818 @endif libtermcap
28822 .PHONY: configure-utils maybe-configure-utils
28823 maybe-configure-utils:
28824 @if utils
28825 maybe-configure-utils: configure-utils
28826 configure-utils:
28827 @: $(MAKE); $(unstage)
28828 @r=`${PWD_COMMAND}`; export r; \
28829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28830 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28832 $(HOST_EXPORTS) \
28833 echo Configuring in $(HOST_SUBDIR)/utils; \
28834 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28835 case $(srcdir) in \
28836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28837 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28839 esac; \
28840 srcdiroption="--srcdir=$${topdir}/utils"; \
28841 libsrcdir="$$s/utils"; \
28842 $(SHELL) $${libsrcdir}/configure \
28843 $(HOST_CONFIGARGS) $${srcdiroption} \
28844 || exit 1
28845 @endif utils
28851 .PHONY: all-utils maybe-all-utils
28852 maybe-all-utils:
28853 @if utils
28854 TARGET-utils=all
28855 maybe-all-utils: all-utils
28856 all-utils: configure-utils
28857 @: $(MAKE); $(unstage)
28858 @r=`${PWD_COMMAND}`; export r; \
28859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28860 $(HOST_EXPORTS) \
28861 (cd $(HOST_SUBDIR)/utils && \
28862 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28863 @endif utils
28868 .PHONY: check-utils maybe-check-utils
28869 maybe-check-utils:
28870 @if utils
28871 maybe-check-utils: check-utils
28873 check-utils:
28875 @endif utils
28877 .PHONY: install-utils maybe-install-utils
28878 maybe-install-utils:
28879 @if utils
28880 maybe-install-utils: install-utils
28882 install-utils: installdirs
28883 @: $(MAKE); $(unstage)
28884 @r=`${PWD_COMMAND}`; export r; \
28885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28886 $(HOST_EXPORTS) \
28887 (cd $(HOST_SUBDIR)/utils && \
28888 $(MAKE) $(FLAGS_TO_PASS) install)
28890 @endif utils
28892 # Other targets (info, dvi, etc.)
28894 .PHONY: maybe-info-utils info-utils
28895 maybe-info-utils:
28896 @if utils
28897 maybe-info-utils: info-utils
28899 info-utils: \
28900 configure-utils
28901 @: $(MAKE); $(unstage)
28902 @[ -f ./utils/Makefile ] || exit 0; \
28903 r=`${PWD_COMMAND}`; export r; \
28904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 $(HOST_EXPORTS) \
28906 for flag in $(EXTRA_HOST_FLAGS) ; do \
28907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28908 done; \
28909 echo "Doing info in utils" ; \
28910 (cd $(HOST_SUBDIR)/utils && \
28911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28913 "RANLIB=$${RANLIB}" \
28914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28915 info) \
28916 || exit 1
28918 @endif utils
28920 .PHONY: maybe-dvi-utils dvi-utils
28921 maybe-dvi-utils:
28922 @if utils
28923 maybe-dvi-utils: dvi-utils
28925 dvi-utils: \
28926 configure-utils
28927 @: $(MAKE); $(unstage)
28928 @[ -f ./utils/Makefile ] || exit 0; \
28929 r=`${PWD_COMMAND}`; export r; \
28930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28931 $(HOST_EXPORTS) \
28932 for flag in $(EXTRA_HOST_FLAGS) ; do \
28933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28934 done; \
28935 echo "Doing dvi in utils" ; \
28936 (cd $(HOST_SUBDIR)/utils && \
28937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28939 "RANLIB=$${RANLIB}" \
28940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28941 dvi) \
28942 || exit 1
28944 @endif utils
28946 .PHONY: maybe-html-utils html-utils
28947 maybe-html-utils:
28948 @if utils
28949 maybe-html-utils: html-utils
28951 html-utils: \
28952 configure-utils
28953 @: $(MAKE); $(unstage)
28954 @[ -f ./utils/Makefile ] || exit 0; \
28955 r=`${PWD_COMMAND}`; export r; \
28956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28957 $(HOST_EXPORTS) \
28958 for flag in $(EXTRA_HOST_FLAGS) ; do \
28959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28960 done; \
28961 echo "Doing html in utils" ; \
28962 (cd $(HOST_SUBDIR)/utils && \
28963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28965 "RANLIB=$${RANLIB}" \
28966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28967 html) \
28968 || exit 1
28970 @endif utils
28972 .PHONY: maybe-TAGS-utils TAGS-utils
28973 maybe-TAGS-utils:
28974 @if utils
28975 maybe-TAGS-utils: TAGS-utils
28977 TAGS-utils: \
28978 configure-utils
28979 @: $(MAKE); $(unstage)
28980 @[ -f ./utils/Makefile ] || exit 0; \
28981 r=`${PWD_COMMAND}`; export r; \
28982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28983 $(HOST_EXPORTS) \
28984 for flag in $(EXTRA_HOST_FLAGS) ; do \
28985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28986 done; \
28987 echo "Doing TAGS in utils" ; \
28988 (cd $(HOST_SUBDIR)/utils && \
28989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28991 "RANLIB=$${RANLIB}" \
28992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28993 TAGS) \
28994 || exit 1
28996 @endif utils
28998 .PHONY: maybe-install-info-utils install-info-utils
28999 maybe-install-info-utils:
29000 @if utils
29001 maybe-install-info-utils: install-info-utils
29003 install-info-utils: \
29004 configure-utils \
29005 info-utils
29006 @: $(MAKE); $(unstage)
29007 @[ -f ./utils/Makefile ] || exit 0; \
29008 r=`${PWD_COMMAND}`; export r; \
29009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29010 $(HOST_EXPORTS) \
29011 for flag in $(EXTRA_HOST_FLAGS) ; do \
29012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29013 done; \
29014 echo "Doing install-info in utils" ; \
29015 (cd $(HOST_SUBDIR)/utils && \
29016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29018 "RANLIB=$${RANLIB}" \
29019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29020 install-info) \
29021 || exit 1
29023 @endif utils
29025 .PHONY: maybe-installcheck-utils installcheck-utils
29026 maybe-installcheck-utils:
29027 @if utils
29028 maybe-installcheck-utils: installcheck-utils
29030 installcheck-utils: \
29031 configure-utils
29032 @: $(MAKE); $(unstage)
29033 @[ -f ./utils/Makefile ] || exit 0; \
29034 r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29036 $(HOST_EXPORTS) \
29037 for flag in $(EXTRA_HOST_FLAGS) ; do \
29038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29039 done; \
29040 echo "Doing installcheck in utils" ; \
29041 (cd $(HOST_SUBDIR)/utils && \
29042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29044 "RANLIB=$${RANLIB}" \
29045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29046 installcheck) \
29047 || exit 1
29049 @endif utils
29051 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29052 maybe-mostlyclean-utils:
29053 @if utils
29054 maybe-mostlyclean-utils: mostlyclean-utils
29056 mostlyclean-utils:
29057 @: $(MAKE); $(unstage)
29058 @[ -f ./utils/Makefile ] || exit 0; \
29059 r=`${PWD_COMMAND}`; export r; \
29060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29061 $(HOST_EXPORTS) \
29062 for flag in $(EXTRA_HOST_FLAGS) ; do \
29063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29064 done; \
29065 echo "Doing mostlyclean in utils" ; \
29066 (cd $(HOST_SUBDIR)/utils && \
29067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29069 "RANLIB=$${RANLIB}" \
29070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29071 mostlyclean) \
29072 || exit 1
29074 @endif utils
29076 .PHONY: maybe-clean-utils clean-utils
29077 maybe-clean-utils:
29078 @if utils
29079 maybe-clean-utils: clean-utils
29081 clean-utils:
29082 @: $(MAKE); $(unstage)
29083 @[ -f ./utils/Makefile ] || exit 0; \
29084 r=`${PWD_COMMAND}`; export r; \
29085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29086 $(HOST_EXPORTS) \
29087 for flag in $(EXTRA_HOST_FLAGS) ; do \
29088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29089 done; \
29090 echo "Doing clean in utils" ; \
29091 (cd $(HOST_SUBDIR)/utils && \
29092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29094 "RANLIB=$${RANLIB}" \
29095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29096 clean) \
29097 || exit 1
29099 @endif utils
29101 .PHONY: maybe-distclean-utils distclean-utils
29102 maybe-distclean-utils:
29103 @if utils
29104 maybe-distclean-utils: distclean-utils
29106 distclean-utils:
29107 @: $(MAKE); $(unstage)
29108 @[ -f ./utils/Makefile ] || exit 0; \
29109 r=`${PWD_COMMAND}`; export r; \
29110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29111 $(HOST_EXPORTS) \
29112 for flag in $(EXTRA_HOST_FLAGS) ; do \
29113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29114 done; \
29115 echo "Doing distclean in utils" ; \
29116 (cd $(HOST_SUBDIR)/utils && \
29117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29119 "RANLIB=$${RANLIB}" \
29120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29121 distclean) \
29122 || exit 1
29124 @endif utils
29126 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29127 maybe-maintainer-clean-utils:
29128 @if utils
29129 maybe-maintainer-clean-utils: maintainer-clean-utils
29131 maintainer-clean-utils:
29132 @: $(MAKE); $(unstage)
29133 @[ -f ./utils/Makefile ] || exit 0; \
29134 r=`${PWD_COMMAND}`; export r; \
29135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 $(HOST_EXPORTS) \
29137 for flag in $(EXTRA_HOST_FLAGS) ; do \
29138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29139 done; \
29140 echo "Doing maintainer-clean in utils" ; \
29141 (cd $(HOST_SUBDIR)/utils && \
29142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29144 "RANLIB=$${RANLIB}" \
29145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29146 maintainer-clean) \
29147 || exit 1
29149 @endif utils
29153 .PHONY: configure-gnattools maybe-configure-gnattools
29154 maybe-configure-gnattools:
29155 @if gnattools
29156 maybe-configure-gnattools: configure-gnattools
29157 configure-gnattools:
29158 @: $(MAKE); $(unstage)
29159 @r=`${PWD_COMMAND}`; export r; \
29160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29161 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29163 $(HOST_EXPORTS) \
29164 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29165 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29166 case $(srcdir) in \
29167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29168 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29170 esac; \
29171 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29172 libsrcdir="$$s/gnattools"; \
29173 $(SHELL) $${libsrcdir}/configure \
29174 $(HOST_CONFIGARGS) $${srcdiroption} \
29175 || exit 1
29176 @endif gnattools
29182 .PHONY: all-gnattools maybe-all-gnattools
29183 maybe-all-gnattools:
29184 @if gnattools
29185 TARGET-gnattools=all
29186 maybe-all-gnattools: all-gnattools
29187 all-gnattools: configure-gnattools
29188 @: $(MAKE); $(unstage)
29189 @r=`${PWD_COMMAND}`; export r; \
29190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29191 $(HOST_EXPORTS) \
29192 (cd $(HOST_SUBDIR)/gnattools && \
29193 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
29194 @endif gnattools
29199 .PHONY: check-gnattools maybe-check-gnattools
29200 maybe-check-gnattools:
29201 @if gnattools
29202 maybe-check-gnattools: check-gnattools
29204 check-gnattools:
29205 @: $(MAKE); $(unstage)
29206 @r=`${PWD_COMMAND}`; export r; \
29207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29208 $(HOST_EXPORTS) \
29209 (cd $(HOST_SUBDIR)/gnattools && \
29210 $(MAKE) $(FLAGS_TO_PASS) check)
29212 @endif gnattools
29214 .PHONY: install-gnattools maybe-install-gnattools
29215 maybe-install-gnattools:
29216 @if gnattools
29217 maybe-install-gnattools: install-gnattools
29219 install-gnattools: installdirs
29220 @: $(MAKE); $(unstage)
29221 @r=`${PWD_COMMAND}`; export r; \
29222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29223 $(HOST_EXPORTS) \
29224 (cd $(HOST_SUBDIR)/gnattools && \
29225 $(MAKE) $(FLAGS_TO_PASS) install)
29227 @endif gnattools
29229 # Other targets (info, dvi, etc.)
29231 .PHONY: maybe-info-gnattools info-gnattools
29232 maybe-info-gnattools:
29233 @if gnattools
29234 maybe-info-gnattools: info-gnattools
29236 info-gnattools: \
29237 configure-gnattools
29238 @: $(MAKE); $(unstage)
29239 @[ -f ./gnattools/Makefile ] || exit 0; \
29240 r=`${PWD_COMMAND}`; export r; \
29241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29242 $(HOST_EXPORTS) \
29243 for flag in $(EXTRA_HOST_FLAGS) ; do \
29244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29245 done; \
29246 echo "Doing info in gnattools" ; \
29247 (cd $(HOST_SUBDIR)/gnattools && \
29248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29250 "RANLIB=$${RANLIB}" \
29251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29252 info) \
29253 || exit 1
29255 @endif gnattools
29257 .PHONY: maybe-dvi-gnattools dvi-gnattools
29258 maybe-dvi-gnattools:
29259 @if gnattools
29260 maybe-dvi-gnattools: dvi-gnattools
29262 dvi-gnattools: \
29263 configure-gnattools
29264 @: $(MAKE); $(unstage)
29265 @[ -f ./gnattools/Makefile ] || exit 0; \
29266 r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 $(HOST_EXPORTS) \
29269 for flag in $(EXTRA_HOST_FLAGS) ; do \
29270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29271 done; \
29272 echo "Doing dvi in gnattools" ; \
29273 (cd $(HOST_SUBDIR)/gnattools && \
29274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29276 "RANLIB=$${RANLIB}" \
29277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29278 dvi) \
29279 || exit 1
29281 @endif gnattools
29283 .PHONY: maybe-html-gnattools html-gnattools
29284 maybe-html-gnattools:
29285 @if gnattools
29286 maybe-html-gnattools: html-gnattools
29288 html-gnattools: \
29289 configure-gnattools
29290 @: $(MAKE); $(unstage)
29291 @[ -f ./gnattools/Makefile ] || exit 0; \
29292 r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(HOST_EXPORTS) \
29295 for flag in $(EXTRA_HOST_FLAGS) ; do \
29296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29297 done; \
29298 echo "Doing html in gnattools" ; \
29299 (cd $(HOST_SUBDIR)/gnattools && \
29300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29302 "RANLIB=$${RANLIB}" \
29303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29304 html) \
29305 || exit 1
29307 @endif gnattools
29309 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
29310 maybe-TAGS-gnattools:
29311 @if gnattools
29312 maybe-TAGS-gnattools: TAGS-gnattools
29314 TAGS-gnattools: \
29315 configure-gnattools
29316 @: $(MAKE); $(unstage)
29317 @[ -f ./gnattools/Makefile ] || exit 0; \
29318 r=`${PWD_COMMAND}`; export r; \
29319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29320 $(HOST_EXPORTS) \
29321 for flag in $(EXTRA_HOST_FLAGS) ; do \
29322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29323 done; \
29324 echo "Doing TAGS in gnattools" ; \
29325 (cd $(HOST_SUBDIR)/gnattools && \
29326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29328 "RANLIB=$${RANLIB}" \
29329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29330 TAGS) \
29331 || exit 1
29333 @endif gnattools
29335 .PHONY: maybe-install-info-gnattools install-info-gnattools
29336 maybe-install-info-gnattools:
29337 @if gnattools
29338 maybe-install-info-gnattools: install-info-gnattools
29340 install-info-gnattools: \
29341 configure-gnattools \
29342 info-gnattools
29343 @: $(MAKE); $(unstage)
29344 @[ -f ./gnattools/Makefile ] || exit 0; \
29345 r=`${PWD_COMMAND}`; export r; \
29346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29347 $(HOST_EXPORTS) \
29348 for flag in $(EXTRA_HOST_FLAGS) ; do \
29349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29350 done; \
29351 echo "Doing install-info in gnattools" ; \
29352 (cd $(HOST_SUBDIR)/gnattools && \
29353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29355 "RANLIB=$${RANLIB}" \
29356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29357 install-info) \
29358 || exit 1
29360 @endif gnattools
29362 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
29363 maybe-installcheck-gnattools:
29364 @if gnattools
29365 maybe-installcheck-gnattools: installcheck-gnattools
29367 installcheck-gnattools: \
29368 configure-gnattools
29369 @: $(MAKE); $(unstage)
29370 @[ -f ./gnattools/Makefile ] || exit 0; \
29371 r=`${PWD_COMMAND}`; export r; \
29372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29373 $(HOST_EXPORTS) \
29374 for flag in $(EXTRA_HOST_FLAGS) ; do \
29375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29376 done; \
29377 echo "Doing installcheck in gnattools" ; \
29378 (cd $(HOST_SUBDIR)/gnattools && \
29379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29381 "RANLIB=$${RANLIB}" \
29382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29383 installcheck) \
29384 || exit 1
29386 @endif gnattools
29388 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29389 maybe-mostlyclean-gnattools:
29390 @if gnattools
29391 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29393 mostlyclean-gnattools:
29394 @: $(MAKE); $(unstage)
29395 @[ -f ./gnattools/Makefile ] || exit 0; \
29396 r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(HOST_EXPORTS) \
29399 for flag in $(EXTRA_HOST_FLAGS) ; do \
29400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29401 done; \
29402 echo "Doing mostlyclean in gnattools" ; \
29403 (cd $(HOST_SUBDIR)/gnattools && \
29404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29406 "RANLIB=$${RANLIB}" \
29407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29408 mostlyclean) \
29409 || exit 1
29411 @endif gnattools
29413 .PHONY: maybe-clean-gnattools clean-gnattools
29414 maybe-clean-gnattools:
29415 @if gnattools
29416 maybe-clean-gnattools: clean-gnattools
29418 clean-gnattools:
29419 @: $(MAKE); $(unstage)
29420 @[ -f ./gnattools/Makefile ] || exit 0; \
29421 r=`${PWD_COMMAND}`; export r; \
29422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29423 $(HOST_EXPORTS) \
29424 for flag in $(EXTRA_HOST_FLAGS) ; do \
29425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 done; \
29427 echo "Doing clean in gnattools" ; \
29428 (cd $(HOST_SUBDIR)/gnattools && \
29429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29431 "RANLIB=$${RANLIB}" \
29432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29433 clean) \
29434 || exit 1
29436 @endif gnattools
29438 .PHONY: maybe-distclean-gnattools distclean-gnattools
29439 maybe-distclean-gnattools:
29440 @if gnattools
29441 maybe-distclean-gnattools: distclean-gnattools
29443 distclean-gnattools:
29444 @: $(MAKE); $(unstage)
29445 @[ -f ./gnattools/Makefile ] || exit 0; \
29446 r=`${PWD_COMMAND}`; export r; \
29447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29448 $(HOST_EXPORTS) \
29449 for flag in $(EXTRA_HOST_FLAGS) ; do \
29450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29451 done; \
29452 echo "Doing distclean in gnattools" ; \
29453 (cd $(HOST_SUBDIR)/gnattools && \
29454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29456 "RANLIB=$${RANLIB}" \
29457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29458 distclean) \
29459 || exit 1
29461 @endif gnattools
29463 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29464 maybe-maintainer-clean-gnattools:
29465 @if gnattools
29466 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29468 maintainer-clean-gnattools:
29469 @: $(MAKE); $(unstage)
29470 @[ -f ./gnattools/Makefile ] || exit 0; \
29471 r=`${PWD_COMMAND}`; export r; \
29472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29473 $(HOST_EXPORTS) \
29474 for flag in $(EXTRA_HOST_FLAGS) ; do \
29475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29476 done; \
29477 echo "Doing maintainer-clean in gnattools" ; \
29478 (cd $(HOST_SUBDIR)/gnattools && \
29479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29481 "RANLIB=$${RANLIB}" \
29482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29483 maintainer-clean) \
29484 || exit 1
29486 @endif gnattools
29490 # ---------------------------------------
29491 # Modules which run on the target machine
29492 # ---------------------------------------
29497 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29498 maybe-configure-target-libstdc++-v3:
29499 @if target-libstdc++-v3
29500 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29501 configure-target-libstdc++-v3:
29502 @: $(MAKE); $(unstage)
29503 @r=`${PWD_COMMAND}`; export r; \
29504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29505 echo "Checking multilib configuration for libstdc++-v3..."; \
29506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
29508 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29509 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
29510 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
29511 else \
29512 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
29513 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29514 fi; \
29515 else \
29516 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
29517 fi; \
29518 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29520 $(RAW_CXX_TARGET_EXPORTS) \
29521 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29522 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29523 case $(srcdir) in \
29524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29525 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29527 esac; \
29528 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29529 libsrcdir="$$s/libstdc++-v3"; \
29530 rm -f no-such-file || : ; \
29531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29532 $(TARGET_CONFIGARGS) $${srcdiroption} \
29533 || exit 1
29534 @endif target-libstdc++-v3
29540 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
29541 maybe-all-target-libstdc++-v3:
29542 @if target-libstdc++-v3
29543 TARGET-target-libstdc++-v3=all
29544 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
29545 all-target-libstdc++-v3: configure-target-libstdc++-v3
29546 @: $(MAKE); $(unstage)
29547 @r=`${PWD_COMMAND}`; export r; \
29548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29549 $(RAW_CXX_TARGET_EXPORTS) \
29550 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29551 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
29552 @endif target-libstdc++-v3
29558 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
29559 maybe-check-target-libstdc++-v3:
29560 @if target-libstdc++-v3
29561 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
29563 check-target-libstdc++-v3:
29564 @: $(MAKE); $(unstage)
29565 @r=`${PWD_COMMAND}`; export r; \
29566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29567 $(RAW_CXX_TARGET_EXPORTS) \
29568 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29569 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
29571 @endif target-libstdc++-v3
29573 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
29574 maybe-install-target-libstdc++-v3:
29575 @if target-libstdc++-v3
29576 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
29578 install-target-libstdc++-v3: installdirs
29579 @: $(MAKE); $(unstage)
29580 @r=`${PWD_COMMAND}`; export r; \
29581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29582 $(RAW_CXX_TARGET_EXPORTS) \
29583 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29584 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29586 @endif target-libstdc++-v3
29588 # Other targets (info, dvi, etc.)
29590 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
29591 maybe-info-target-libstdc++-v3:
29592 @if target-libstdc++-v3
29593 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
29595 info-target-libstdc++-v3: \
29596 configure-target-libstdc++-v3
29597 @: $(MAKE); $(unstage)
29598 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29599 r=`${PWD_COMMAND}`; export r; \
29600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29601 $(RAW_CXX_TARGET_EXPORTS) \
29602 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29603 for flag in $(EXTRA_TARGET_FLAGS); do \
29604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29605 done; \
29606 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29609 "RANLIB=$${RANLIB}" \
29610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29611 info) \
29612 || exit 1
29614 @endif target-libstdc++-v3
29616 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
29617 maybe-dvi-target-libstdc++-v3:
29618 @if target-libstdc++-v3
29619 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
29621 dvi-target-libstdc++-v3: \
29622 configure-target-libstdc++-v3
29623 @: $(MAKE); $(unstage)
29624 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29625 r=`${PWD_COMMAND}`; export r; \
29626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29627 $(RAW_CXX_TARGET_EXPORTS) \
29628 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29629 for flag in $(EXTRA_TARGET_FLAGS); do \
29630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29631 done; \
29632 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29635 "RANLIB=$${RANLIB}" \
29636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29637 dvi) \
29638 || exit 1
29640 @endif target-libstdc++-v3
29642 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29643 maybe-html-target-libstdc++-v3:
29644 @if target-libstdc++-v3
29645 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29647 html-target-libstdc++-v3: \
29648 configure-target-libstdc++-v3
29649 @: $(MAKE); $(unstage)
29650 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29651 r=`${PWD_COMMAND}`; export r; \
29652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29653 $(RAW_CXX_TARGET_EXPORTS) \
29654 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29655 for flag in $(EXTRA_TARGET_FLAGS); do \
29656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29657 done; \
29658 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29661 "RANLIB=$${RANLIB}" \
29662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29663 html) \
29664 || exit 1
29666 @endif target-libstdc++-v3
29668 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29669 maybe-TAGS-target-libstdc++-v3:
29670 @if target-libstdc++-v3
29671 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29673 TAGS-target-libstdc++-v3: \
29674 configure-target-libstdc++-v3
29675 @: $(MAKE); $(unstage)
29676 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29677 r=`${PWD_COMMAND}`; export r; \
29678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29679 $(RAW_CXX_TARGET_EXPORTS) \
29680 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29681 for flag in $(EXTRA_TARGET_FLAGS); do \
29682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29683 done; \
29684 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29687 "RANLIB=$${RANLIB}" \
29688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29689 TAGS) \
29690 || exit 1
29692 @endif target-libstdc++-v3
29694 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29695 maybe-install-info-target-libstdc++-v3:
29696 @if target-libstdc++-v3
29697 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29699 install-info-target-libstdc++-v3: \
29700 configure-target-libstdc++-v3 \
29701 info-target-libstdc++-v3
29702 @: $(MAKE); $(unstage)
29703 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29704 r=`${PWD_COMMAND}`; export r; \
29705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29706 $(RAW_CXX_TARGET_EXPORTS) \
29707 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29708 for flag in $(EXTRA_TARGET_FLAGS); do \
29709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29710 done; \
29711 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29714 "RANLIB=$${RANLIB}" \
29715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29716 install-info) \
29717 || exit 1
29719 @endif target-libstdc++-v3
29721 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29722 maybe-installcheck-target-libstdc++-v3:
29723 @if target-libstdc++-v3
29724 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29726 installcheck-target-libstdc++-v3: \
29727 configure-target-libstdc++-v3
29728 @: $(MAKE); $(unstage)
29729 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29730 r=`${PWD_COMMAND}`; export r; \
29731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29732 $(RAW_CXX_TARGET_EXPORTS) \
29733 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29734 for flag in $(EXTRA_TARGET_FLAGS); do \
29735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29736 done; \
29737 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29740 "RANLIB=$${RANLIB}" \
29741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29742 installcheck) \
29743 || exit 1
29745 @endif target-libstdc++-v3
29747 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29748 maybe-mostlyclean-target-libstdc++-v3:
29749 @if target-libstdc++-v3
29750 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29752 mostlyclean-target-libstdc++-v3:
29753 @: $(MAKE); $(unstage)
29754 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29755 r=`${PWD_COMMAND}`; export r; \
29756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29757 $(RAW_CXX_TARGET_EXPORTS) \
29758 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29759 for flag in $(EXTRA_TARGET_FLAGS); do \
29760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29761 done; \
29762 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29765 "RANLIB=$${RANLIB}" \
29766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29767 mostlyclean) \
29768 || exit 1
29770 @endif target-libstdc++-v3
29772 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29773 maybe-clean-target-libstdc++-v3:
29774 @if target-libstdc++-v3
29775 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29777 clean-target-libstdc++-v3:
29778 @: $(MAKE); $(unstage)
29779 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29780 r=`${PWD_COMMAND}`; export r; \
29781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29782 $(RAW_CXX_TARGET_EXPORTS) \
29783 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29784 for flag in $(EXTRA_TARGET_FLAGS); do \
29785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29786 done; \
29787 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29790 "RANLIB=$${RANLIB}" \
29791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29792 clean) \
29793 || exit 1
29795 @endif target-libstdc++-v3
29797 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29798 maybe-distclean-target-libstdc++-v3:
29799 @if target-libstdc++-v3
29800 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29802 distclean-target-libstdc++-v3:
29803 @: $(MAKE); $(unstage)
29804 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29805 r=`${PWD_COMMAND}`; export r; \
29806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29807 $(RAW_CXX_TARGET_EXPORTS) \
29808 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29809 for flag in $(EXTRA_TARGET_FLAGS); do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29815 "RANLIB=$${RANLIB}" \
29816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29817 distclean) \
29818 || exit 1
29820 @endif target-libstdc++-v3
29822 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29823 maybe-maintainer-clean-target-libstdc++-v3:
29824 @if target-libstdc++-v3
29825 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29827 maintainer-clean-target-libstdc++-v3:
29828 @: $(MAKE); $(unstage)
29829 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29830 r=`${PWD_COMMAND}`; export r; \
29831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29832 $(RAW_CXX_TARGET_EXPORTS) \
29833 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29834 for flag in $(EXTRA_TARGET_FLAGS); do \
29835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29836 done; \
29837 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29840 "RANLIB=$${RANLIB}" \
29841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29842 maintainer-clean) \
29843 || exit 1
29845 @endif target-libstdc++-v3
29851 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29852 maybe-configure-target-libmudflap:
29853 @if target-libmudflap
29854 maybe-configure-target-libmudflap: configure-target-libmudflap
29855 configure-target-libmudflap:
29856 @: $(MAKE); $(unstage)
29857 @r=`${PWD_COMMAND}`; export r; \
29858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29859 echo "Checking multilib configuration for libmudflap..."; \
29860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29861 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
29862 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29863 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
29864 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
29865 else \
29866 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
29867 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29868 fi; \
29869 else \
29870 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
29871 fi; \
29872 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29873 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29874 $(NORMAL_TARGET_EXPORTS) \
29875 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29876 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29877 case $(srcdir) in \
29878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29879 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29881 esac; \
29882 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29883 libsrcdir="$$s/libmudflap"; \
29884 rm -f no-such-file || : ; \
29885 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29886 $(TARGET_CONFIGARGS) $${srcdiroption} \
29887 || exit 1
29888 @endif target-libmudflap
29894 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29895 maybe-all-target-libmudflap:
29896 @if target-libmudflap
29897 TARGET-target-libmudflap=all
29898 maybe-all-target-libmudflap: all-target-libmudflap
29899 all-target-libmudflap: configure-target-libmudflap
29900 @: $(MAKE); $(unstage)
29901 @r=`${PWD_COMMAND}`; export r; \
29902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29903 $(NORMAL_TARGET_EXPORTS) \
29904 (cd $(TARGET_SUBDIR)/libmudflap && \
29905 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29906 @endif target-libmudflap
29912 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29913 maybe-check-target-libmudflap:
29914 @if target-libmudflap
29915 maybe-check-target-libmudflap: check-target-libmudflap
29917 check-target-libmudflap:
29918 @: $(MAKE); $(unstage)
29919 @r=`${PWD_COMMAND}`; export r; \
29920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29921 $(NORMAL_TARGET_EXPORTS) \
29922 (cd $(TARGET_SUBDIR)/libmudflap && \
29923 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29925 @endif target-libmudflap
29927 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29928 maybe-install-target-libmudflap:
29929 @if target-libmudflap
29930 maybe-install-target-libmudflap: install-target-libmudflap
29932 install-target-libmudflap: installdirs
29933 @: $(MAKE); $(unstage)
29934 @r=`${PWD_COMMAND}`; export r; \
29935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29936 $(NORMAL_TARGET_EXPORTS) \
29937 (cd $(TARGET_SUBDIR)/libmudflap && \
29938 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29940 @endif target-libmudflap
29942 # Other targets (info, dvi, etc.)
29944 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29945 maybe-info-target-libmudflap:
29946 @if target-libmudflap
29947 maybe-info-target-libmudflap: info-target-libmudflap
29949 info-target-libmudflap: \
29950 configure-target-libmudflap
29951 @: $(MAKE); $(unstage)
29952 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29953 r=`${PWD_COMMAND}`; export r; \
29954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29955 $(NORMAL_TARGET_EXPORTS) \
29956 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29957 for flag in $(EXTRA_TARGET_FLAGS); do \
29958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29959 done; \
29960 (cd $(TARGET_SUBDIR)/libmudflap && \
29961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29963 "RANLIB=$${RANLIB}" \
29964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29965 info) \
29966 || exit 1
29968 @endif target-libmudflap
29970 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29971 maybe-dvi-target-libmudflap:
29972 @if target-libmudflap
29973 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29975 dvi-target-libmudflap: \
29976 configure-target-libmudflap
29977 @: $(MAKE); $(unstage)
29978 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29979 r=`${PWD_COMMAND}`; export r; \
29980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29981 $(NORMAL_TARGET_EXPORTS) \
29982 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29983 for flag in $(EXTRA_TARGET_FLAGS); do \
29984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29985 done; \
29986 (cd $(TARGET_SUBDIR)/libmudflap && \
29987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29989 "RANLIB=$${RANLIB}" \
29990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29991 dvi) \
29992 || exit 1
29994 @endif target-libmudflap
29996 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29997 maybe-html-target-libmudflap:
29998 @if target-libmudflap
29999 maybe-html-target-libmudflap: html-target-libmudflap
30001 html-target-libmudflap: \
30002 configure-target-libmudflap
30003 @: $(MAKE); $(unstage)
30004 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30005 r=`${PWD_COMMAND}`; export r; \
30006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30007 $(NORMAL_TARGET_EXPORTS) \
30008 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
30009 for flag in $(EXTRA_TARGET_FLAGS); do \
30010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30011 done; \
30012 (cd $(TARGET_SUBDIR)/libmudflap && \
30013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30015 "RANLIB=$${RANLIB}" \
30016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30017 html) \
30018 || exit 1
30020 @endif target-libmudflap
30022 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
30023 maybe-TAGS-target-libmudflap:
30024 @if target-libmudflap
30025 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
30027 TAGS-target-libmudflap: \
30028 configure-target-libmudflap
30029 @: $(MAKE); $(unstage)
30030 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30031 r=`${PWD_COMMAND}`; export r; \
30032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30033 $(NORMAL_TARGET_EXPORTS) \
30034 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
30035 for flag in $(EXTRA_TARGET_FLAGS); do \
30036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30037 done; \
30038 (cd $(TARGET_SUBDIR)/libmudflap && \
30039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30041 "RANLIB=$${RANLIB}" \
30042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30043 TAGS) \
30044 || exit 1
30046 @endif target-libmudflap
30048 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
30049 maybe-install-info-target-libmudflap:
30050 @if target-libmudflap
30051 maybe-install-info-target-libmudflap: install-info-target-libmudflap
30053 install-info-target-libmudflap: \
30054 configure-target-libmudflap \
30055 info-target-libmudflap
30056 @: $(MAKE); $(unstage)
30057 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30058 r=`${PWD_COMMAND}`; export r; \
30059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30060 $(NORMAL_TARGET_EXPORTS) \
30061 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
30062 for flag in $(EXTRA_TARGET_FLAGS); do \
30063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30064 done; \
30065 (cd $(TARGET_SUBDIR)/libmudflap && \
30066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30068 "RANLIB=$${RANLIB}" \
30069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30070 install-info) \
30071 || exit 1
30073 @endif target-libmudflap
30075 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
30076 maybe-installcheck-target-libmudflap:
30077 @if target-libmudflap
30078 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
30080 installcheck-target-libmudflap: \
30081 configure-target-libmudflap
30082 @: $(MAKE); $(unstage)
30083 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30084 r=`${PWD_COMMAND}`; export r; \
30085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30086 $(NORMAL_TARGET_EXPORTS) \
30087 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
30088 for flag in $(EXTRA_TARGET_FLAGS); do \
30089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30090 done; \
30091 (cd $(TARGET_SUBDIR)/libmudflap && \
30092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30094 "RANLIB=$${RANLIB}" \
30095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30096 installcheck) \
30097 || exit 1
30099 @endif target-libmudflap
30101 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
30102 maybe-mostlyclean-target-libmudflap:
30103 @if target-libmudflap
30104 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
30106 mostlyclean-target-libmudflap:
30107 @: $(MAKE); $(unstage)
30108 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30109 r=`${PWD_COMMAND}`; export r; \
30110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30111 $(NORMAL_TARGET_EXPORTS) \
30112 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
30113 for flag in $(EXTRA_TARGET_FLAGS); do \
30114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30115 done; \
30116 (cd $(TARGET_SUBDIR)/libmudflap && \
30117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30119 "RANLIB=$${RANLIB}" \
30120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30121 mostlyclean) \
30122 || exit 1
30124 @endif target-libmudflap
30126 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
30127 maybe-clean-target-libmudflap:
30128 @if target-libmudflap
30129 maybe-clean-target-libmudflap: clean-target-libmudflap
30131 clean-target-libmudflap:
30132 @: $(MAKE); $(unstage)
30133 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30134 r=`${PWD_COMMAND}`; export r; \
30135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30136 $(NORMAL_TARGET_EXPORTS) \
30137 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
30138 for flag in $(EXTRA_TARGET_FLAGS); do \
30139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30140 done; \
30141 (cd $(TARGET_SUBDIR)/libmudflap && \
30142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30144 "RANLIB=$${RANLIB}" \
30145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30146 clean) \
30147 || exit 1
30149 @endif target-libmudflap
30151 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
30152 maybe-distclean-target-libmudflap:
30153 @if target-libmudflap
30154 maybe-distclean-target-libmudflap: distclean-target-libmudflap
30156 distclean-target-libmudflap:
30157 @: $(MAKE); $(unstage)
30158 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30159 r=`${PWD_COMMAND}`; export r; \
30160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30161 $(NORMAL_TARGET_EXPORTS) \
30162 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
30163 for flag in $(EXTRA_TARGET_FLAGS); do \
30164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30165 done; \
30166 (cd $(TARGET_SUBDIR)/libmudflap && \
30167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30169 "RANLIB=$${RANLIB}" \
30170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30171 distclean) \
30172 || exit 1
30174 @endif target-libmudflap
30176 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
30177 maybe-maintainer-clean-target-libmudflap:
30178 @if target-libmudflap
30179 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
30181 maintainer-clean-target-libmudflap:
30182 @: $(MAKE); $(unstage)
30183 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
30184 r=`${PWD_COMMAND}`; export r; \
30185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30186 $(NORMAL_TARGET_EXPORTS) \
30187 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
30188 for flag in $(EXTRA_TARGET_FLAGS); do \
30189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30190 done; \
30191 (cd $(TARGET_SUBDIR)/libmudflap && \
30192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30194 "RANLIB=$${RANLIB}" \
30195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30196 maintainer-clean) \
30197 || exit 1
30199 @endif target-libmudflap
30205 .PHONY: configure-target-libssp maybe-configure-target-libssp
30206 maybe-configure-target-libssp:
30207 @if target-libssp
30208 maybe-configure-target-libssp: configure-target-libssp
30209 configure-target-libssp:
30210 @: $(MAKE); $(unstage)
30211 @r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 echo "Checking multilib configuration for libssp..."; \
30214 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
30215 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
30216 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
30217 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
30218 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
30219 else \
30220 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
30221 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
30222 fi; \
30223 else \
30224 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
30225 fi; \
30226 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
30227 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
30228 $(NORMAL_TARGET_EXPORTS) \
30229 echo Configuring in $(TARGET_SUBDIR)/libssp; \
30230 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
30231 case $(srcdir) in \
30232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30233 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
30234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30235 esac; \
30236 srcdiroption="--srcdir=$${topdir}/libssp"; \
30237 libsrcdir="$$s/libssp"; \
30238 rm -f no-such-file || : ; \
30239 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30240 $(TARGET_CONFIGARGS) $${srcdiroption} \
30241 || exit 1
30242 @endif target-libssp
30248 .PHONY: all-target-libssp maybe-all-target-libssp
30249 maybe-all-target-libssp:
30250 @if target-libssp
30251 TARGET-target-libssp=all
30252 maybe-all-target-libssp: all-target-libssp
30253 all-target-libssp: configure-target-libssp
30254 @: $(MAKE); $(unstage)
30255 @r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 $(NORMAL_TARGET_EXPORTS) \
30258 (cd $(TARGET_SUBDIR)/libssp && \
30259 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
30260 @endif target-libssp
30266 .PHONY: check-target-libssp maybe-check-target-libssp
30267 maybe-check-target-libssp:
30268 @if target-libssp
30269 maybe-check-target-libssp: check-target-libssp
30271 check-target-libssp:
30272 @: $(MAKE); $(unstage)
30273 @r=`${PWD_COMMAND}`; export r; \
30274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30275 $(NORMAL_TARGET_EXPORTS) \
30276 (cd $(TARGET_SUBDIR)/libssp && \
30277 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30279 @endif target-libssp
30281 .PHONY: install-target-libssp maybe-install-target-libssp
30282 maybe-install-target-libssp:
30283 @if target-libssp
30284 maybe-install-target-libssp: install-target-libssp
30286 install-target-libssp: installdirs
30287 @: $(MAKE); $(unstage)
30288 @r=`${PWD_COMMAND}`; export r; \
30289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30290 $(NORMAL_TARGET_EXPORTS) \
30291 (cd $(TARGET_SUBDIR)/libssp && \
30292 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30294 @endif target-libssp
30296 # Other targets (info, dvi, etc.)
30298 .PHONY: maybe-info-target-libssp info-target-libssp
30299 maybe-info-target-libssp:
30300 @if target-libssp
30301 maybe-info-target-libssp: info-target-libssp
30303 info-target-libssp: \
30304 configure-target-libssp
30305 @: $(MAKE); $(unstage)
30306 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30307 r=`${PWD_COMMAND}`; export r; \
30308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30309 $(NORMAL_TARGET_EXPORTS) \
30310 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
30311 for flag in $(EXTRA_TARGET_FLAGS); do \
30312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30313 done; \
30314 (cd $(TARGET_SUBDIR)/libssp && \
30315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30317 "RANLIB=$${RANLIB}" \
30318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30319 info) \
30320 || exit 1
30322 @endif target-libssp
30324 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
30325 maybe-dvi-target-libssp:
30326 @if target-libssp
30327 maybe-dvi-target-libssp: dvi-target-libssp
30329 dvi-target-libssp: \
30330 configure-target-libssp
30331 @: $(MAKE); $(unstage)
30332 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30333 r=`${PWD_COMMAND}`; export r; \
30334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30335 $(NORMAL_TARGET_EXPORTS) \
30336 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
30337 for flag in $(EXTRA_TARGET_FLAGS); do \
30338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30339 done; \
30340 (cd $(TARGET_SUBDIR)/libssp && \
30341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30343 "RANLIB=$${RANLIB}" \
30344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30345 dvi) \
30346 || exit 1
30348 @endif target-libssp
30350 .PHONY: maybe-html-target-libssp html-target-libssp
30351 maybe-html-target-libssp:
30352 @if target-libssp
30353 maybe-html-target-libssp: html-target-libssp
30355 html-target-libssp: \
30356 configure-target-libssp
30357 @: $(MAKE); $(unstage)
30358 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30359 r=`${PWD_COMMAND}`; export r; \
30360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30361 $(NORMAL_TARGET_EXPORTS) \
30362 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
30363 for flag in $(EXTRA_TARGET_FLAGS); do \
30364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30365 done; \
30366 (cd $(TARGET_SUBDIR)/libssp && \
30367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30369 "RANLIB=$${RANLIB}" \
30370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30371 html) \
30372 || exit 1
30374 @endif target-libssp
30376 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
30377 maybe-TAGS-target-libssp:
30378 @if target-libssp
30379 maybe-TAGS-target-libssp: TAGS-target-libssp
30381 TAGS-target-libssp: \
30382 configure-target-libssp
30383 @: $(MAKE); $(unstage)
30384 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30385 r=`${PWD_COMMAND}`; export r; \
30386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30387 $(NORMAL_TARGET_EXPORTS) \
30388 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
30389 for flag in $(EXTRA_TARGET_FLAGS); do \
30390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30391 done; \
30392 (cd $(TARGET_SUBDIR)/libssp && \
30393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30395 "RANLIB=$${RANLIB}" \
30396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30397 TAGS) \
30398 || exit 1
30400 @endif target-libssp
30402 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
30403 maybe-install-info-target-libssp:
30404 @if target-libssp
30405 maybe-install-info-target-libssp: install-info-target-libssp
30407 install-info-target-libssp: \
30408 configure-target-libssp \
30409 info-target-libssp
30410 @: $(MAKE); $(unstage)
30411 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30412 r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(NORMAL_TARGET_EXPORTS) \
30415 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
30416 for flag in $(EXTRA_TARGET_FLAGS); do \
30417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30418 done; \
30419 (cd $(TARGET_SUBDIR)/libssp && \
30420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30422 "RANLIB=$${RANLIB}" \
30423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30424 install-info) \
30425 || exit 1
30427 @endif target-libssp
30429 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
30430 maybe-installcheck-target-libssp:
30431 @if target-libssp
30432 maybe-installcheck-target-libssp: installcheck-target-libssp
30434 installcheck-target-libssp: \
30435 configure-target-libssp
30436 @: $(MAKE); $(unstage)
30437 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30438 r=`${PWD_COMMAND}`; export r; \
30439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30440 $(NORMAL_TARGET_EXPORTS) \
30441 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
30442 for flag in $(EXTRA_TARGET_FLAGS); do \
30443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30444 done; \
30445 (cd $(TARGET_SUBDIR)/libssp && \
30446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30448 "RANLIB=$${RANLIB}" \
30449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30450 installcheck) \
30451 || exit 1
30453 @endif target-libssp
30455 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
30456 maybe-mostlyclean-target-libssp:
30457 @if target-libssp
30458 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
30460 mostlyclean-target-libssp:
30461 @: $(MAKE); $(unstage)
30462 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30463 r=`${PWD_COMMAND}`; export r; \
30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30465 $(NORMAL_TARGET_EXPORTS) \
30466 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
30467 for flag in $(EXTRA_TARGET_FLAGS); do \
30468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30469 done; \
30470 (cd $(TARGET_SUBDIR)/libssp && \
30471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30473 "RANLIB=$${RANLIB}" \
30474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30475 mostlyclean) \
30476 || exit 1
30478 @endif target-libssp
30480 .PHONY: maybe-clean-target-libssp clean-target-libssp
30481 maybe-clean-target-libssp:
30482 @if target-libssp
30483 maybe-clean-target-libssp: clean-target-libssp
30485 clean-target-libssp:
30486 @: $(MAKE); $(unstage)
30487 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30488 r=`${PWD_COMMAND}`; export r; \
30489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30490 $(NORMAL_TARGET_EXPORTS) \
30491 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
30492 for flag in $(EXTRA_TARGET_FLAGS); do \
30493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30494 done; \
30495 (cd $(TARGET_SUBDIR)/libssp && \
30496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30498 "RANLIB=$${RANLIB}" \
30499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30500 clean) \
30501 || exit 1
30503 @endif target-libssp
30505 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
30506 maybe-distclean-target-libssp:
30507 @if target-libssp
30508 maybe-distclean-target-libssp: distclean-target-libssp
30510 distclean-target-libssp:
30511 @: $(MAKE); $(unstage)
30512 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30513 r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 $(NORMAL_TARGET_EXPORTS) \
30516 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
30517 for flag in $(EXTRA_TARGET_FLAGS); do \
30518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30519 done; \
30520 (cd $(TARGET_SUBDIR)/libssp && \
30521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30523 "RANLIB=$${RANLIB}" \
30524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30525 distclean) \
30526 || exit 1
30528 @endif target-libssp
30530 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
30531 maybe-maintainer-clean-target-libssp:
30532 @if target-libssp
30533 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
30535 maintainer-clean-target-libssp:
30536 @: $(MAKE); $(unstage)
30537 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30538 r=`${PWD_COMMAND}`; export r; \
30539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30540 $(NORMAL_TARGET_EXPORTS) \
30541 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
30542 for flag in $(EXTRA_TARGET_FLAGS); do \
30543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30544 done; \
30545 (cd $(TARGET_SUBDIR)/libssp && \
30546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30548 "RANLIB=$${RANLIB}" \
30549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30550 maintainer-clean) \
30551 || exit 1
30553 @endif target-libssp
30559 .PHONY: configure-target-libgcc-math maybe-configure-target-libgcc-math
30560 maybe-configure-target-libgcc-math:
30561 @if target-libgcc-math
30562 maybe-configure-target-libgcc-math: configure-target-libgcc-math
30563 configure-target-libgcc-math:
30564 @: $(MAKE); $(unstage)
30565 @r=`${PWD_COMMAND}`; export r; \
30566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30567 echo "Checking multilib configuration for libgcc-math..."; \
30568 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
30569 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc-math/multilib.tmp 2> /dev/null ; \
30570 if test -r $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
30571 if cmp -s $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
30572 rm -f $(TARGET_SUBDIR)/libgcc-math/multilib.tmp; \
30573 else \
30574 rm -f $(TARGET_SUBDIR)/libgcc-math/Makefile; \
30575 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
30576 fi; \
30577 else \
30578 mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
30579 fi; \
30580 test ! -f $(TARGET_SUBDIR)/libgcc-math/Makefile || exit 0; \
30581 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
30582 $(NORMAL_TARGET_EXPORTS) \
30583 echo Configuring in $(TARGET_SUBDIR)/libgcc-math; \
30584 cd "$(TARGET_SUBDIR)/libgcc-math" || exit 1; \
30585 case $(srcdir) in \
30586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30587 *) topdir=`echo $(TARGET_SUBDIR)/libgcc-math/ | \
30588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30589 esac; \
30590 srcdiroption="--srcdir=$${topdir}/libgcc-math"; \
30591 libsrcdir="$$s/libgcc-math"; \
30592 rm -f no-such-file || : ; \
30593 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30594 $(TARGET_CONFIGARGS) $${srcdiroption} \
30595 || exit 1
30596 @endif target-libgcc-math
30602 .PHONY: all-target-libgcc-math maybe-all-target-libgcc-math
30603 maybe-all-target-libgcc-math:
30604 @if target-libgcc-math
30605 TARGET-target-libgcc-math=all
30606 maybe-all-target-libgcc-math: all-target-libgcc-math
30607 all-target-libgcc-math: configure-target-libgcc-math
30608 @: $(MAKE); $(unstage)
30609 @r=`${PWD_COMMAND}`; export r; \
30610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30611 $(NORMAL_TARGET_EXPORTS) \
30612 (cd $(TARGET_SUBDIR)/libgcc-math && \
30613 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc-math))
30614 @endif target-libgcc-math
30620 .PHONY: check-target-libgcc-math maybe-check-target-libgcc-math
30621 maybe-check-target-libgcc-math:
30622 @if target-libgcc-math
30623 maybe-check-target-libgcc-math: check-target-libgcc-math
30625 check-target-libgcc-math:
30626 @: $(MAKE); $(unstage)
30627 @r=`${PWD_COMMAND}`; export r; \
30628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30629 $(NORMAL_TARGET_EXPORTS) \
30630 (cd $(TARGET_SUBDIR)/libgcc-math && \
30631 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30633 @endif target-libgcc-math
30635 .PHONY: install-target-libgcc-math maybe-install-target-libgcc-math
30636 maybe-install-target-libgcc-math:
30637 @if target-libgcc-math
30638 maybe-install-target-libgcc-math: install-target-libgcc-math
30640 install-target-libgcc-math: installdirs
30641 @: $(MAKE); $(unstage)
30642 @r=`${PWD_COMMAND}`; export r; \
30643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30644 $(NORMAL_TARGET_EXPORTS) \
30645 (cd $(TARGET_SUBDIR)/libgcc-math && \
30646 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30648 @endif target-libgcc-math
30650 # Other targets (info, dvi, etc.)
30652 .PHONY: maybe-info-target-libgcc-math info-target-libgcc-math
30653 maybe-info-target-libgcc-math:
30654 @if target-libgcc-math
30655 maybe-info-target-libgcc-math: info-target-libgcc-math
30657 info-target-libgcc-math: \
30658 configure-target-libgcc-math
30659 @: $(MAKE); $(unstage)
30660 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30661 r=`${PWD_COMMAND}`; export r; \
30662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30663 $(NORMAL_TARGET_EXPORTS) \
30664 echo "Doing info in $(TARGET_SUBDIR)/libgcc-math" ; \
30665 for flag in $(EXTRA_TARGET_FLAGS); do \
30666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30667 done; \
30668 (cd $(TARGET_SUBDIR)/libgcc-math && \
30669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30671 "RANLIB=$${RANLIB}" \
30672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30673 info) \
30674 || exit 1
30676 @endif target-libgcc-math
30678 .PHONY: maybe-dvi-target-libgcc-math dvi-target-libgcc-math
30679 maybe-dvi-target-libgcc-math:
30680 @if target-libgcc-math
30681 maybe-dvi-target-libgcc-math: dvi-target-libgcc-math
30683 dvi-target-libgcc-math: \
30684 configure-target-libgcc-math
30685 @: $(MAKE); $(unstage)
30686 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30687 r=`${PWD_COMMAND}`; export r; \
30688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30689 $(NORMAL_TARGET_EXPORTS) \
30690 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc-math" ; \
30691 for flag in $(EXTRA_TARGET_FLAGS); do \
30692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30693 done; \
30694 (cd $(TARGET_SUBDIR)/libgcc-math && \
30695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30697 "RANLIB=$${RANLIB}" \
30698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30699 dvi) \
30700 || exit 1
30702 @endif target-libgcc-math
30704 .PHONY: maybe-html-target-libgcc-math html-target-libgcc-math
30705 maybe-html-target-libgcc-math:
30706 @if target-libgcc-math
30707 maybe-html-target-libgcc-math: html-target-libgcc-math
30709 html-target-libgcc-math: \
30710 configure-target-libgcc-math
30711 @: $(MAKE); $(unstage)
30712 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30713 r=`${PWD_COMMAND}`; export r; \
30714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30715 $(NORMAL_TARGET_EXPORTS) \
30716 echo "Doing html in $(TARGET_SUBDIR)/libgcc-math" ; \
30717 for flag in $(EXTRA_TARGET_FLAGS); do \
30718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30719 done; \
30720 (cd $(TARGET_SUBDIR)/libgcc-math && \
30721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30723 "RANLIB=$${RANLIB}" \
30724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30725 html) \
30726 || exit 1
30728 @endif target-libgcc-math
30730 .PHONY: maybe-TAGS-target-libgcc-math TAGS-target-libgcc-math
30731 maybe-TAGS-target-libgcc-math:
30732 @if target-libgcc-math
30733 maybe-TAGS-target-libgcc-math: TAGS-target-libgcc-math
30735 TAGS-target-libgcc-math: \
30736 configure-target-libgcc-math
30737 @: $(MAKE); $(unstage)
30738 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30739 r=`${PWD_COMMAND}`; export r; \
30740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30741 $(NORMAL_TARGET_EXPORTS) \
30742 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc-math" ; \
30743 for flag in $(EXTRA_TARGET_FLAGS); do \
30744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30745 done; \
30746 (cd $(TARGET_SUBDIR)/libgcc-math && \
30747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30749 "RANLIB=$${RANLIB}" \
30750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30751 TAGS) \
30752 || exit 1
30754 @endif target-libgcc-math
30756 .PHONY: maybe-install-info-target-libgcc-math install-info-target-libgcc-math
30757 maybe-install-info-target-libgcc-math:
30758 @if target-libgcc-math
30759 maybe-install-info-target-libgcc-math: install-info-target-libgcc-math
30761 install-info-target-libgcc-math: \
30762 configure-target-libgcc-math \
30763 info-target-libgcc-math
30764 @: $(MAKE); $(unstage)
30765 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30766 r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30768 $(NORMAL_TARGET_EXPORTS) \
30769 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc-math" ; \
30770 for flag in $(EXTRA_TARGET_FLAGS); do \
30771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30772 done; \
30773 (cd $(TARGET_SUBDIR)/libgcc-math && \
30774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30776 "RANLIB=$${RANLIB}" \
30777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30778 install-info) \
30779 || exit 1
30781 @endif target-libgcc-math
30783 .PHONY: maybe-installcheck-target-libgcc-math installcheck-target-libgcc-math
30784 maybe-installcheck-target-libgcc-math:
30785 @if target-libgcc-math
30786 maybe-installcheck-target-libgcc-math: installcheck-target-libgcc-math
30788 installcheck-target-libgcc-math: \
30789 configure-target-libgcc-math
30790 @: $(MAKE); $(unstage)
30791 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30792 r=`${PWD_COMMAND}`; export r; \
30793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 $(NORMAL_TARGET_EXPORTS) \
30795 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc-math" ; \
30796 for flag in $(EXTRA_TARGET_FLAGS); do \
30797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30798 done; \
30799 (cd $(TARGET_SUBDIR)/libgcc-math && \
30800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30802 "RANLIB=$${RANLIB}" \
30803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30804 installcheck) \
30805 || exit 1
30807 @endif target-libgcc-math
30809 .PHONY: maybe-mostlyclean-target-libgcc-math mostlyclean-target-libgcc-math
30810 maybe-mostlyclean-target-libgcc-math:
30811 @if target-libgcc-math
30812 maybe-mostlyclean-target-libgcc-math: mostlyclean-target-libgcc-math
30814 mostlyclean-target-libgcc-math:
30815 @: $(MAKE); $(unstage)
30816 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30817 r=`${PWD_COMMAND}`; export r; \
30818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30819 $(NORMAL_TARGET_EXPORTS) \
30820 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30821 for flag in $(EXTRA_TARGET_FLAGS); do \
30822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30823 done; \
30824 (cd $(TARGET_SUBDIR)/libgcc-math && \
30825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30827 "RANLIB=$${RANLIB}" \
30828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30829 mostlyclean) \
30830 || exit 1
30832 @endif target-libgcc-math
30834 .PHONY: maybe-clean-target-libgcc-math clean-target-libgcc-math
30835 maybe-clean-target-libgcc-math:
30836 @if target-libgcc-math
30837 maybe-clean-target-libgcc-math: clean-target-libgcc-math
30839 clean-target-libgcc-math:
30840 @: $(MAKE); $(unstage)
30841 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30842 r=`${PWD_COMMAND}`; export r; \
30843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 $(NORMAL_TARGET_EXPORTS) \
30845 echo "Doing clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30846 for flag in $(EXTRA_TARGET_FLAGS); do \
30847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30848 done; \
30849 (cd $(TARGET_SUBDIR)/libgcc-math && \
30850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30852 "RANLIB=$${RANLIB}" \
30853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30854 clean) \
30855 || exit 1
30857 @endif target-libgcc-math
30859 .PHONY: maybe-distclean-target-libgcc-math distclean-target-libgcc-math
30860 maybe-distclean-target-libgcc-math:
30861 @if target-libgcc-math
30862 maybe-distclean-target-libgcc-math: distclean-target-libgcc-math
30864 distclean-target-libgcc-math:
30865 @: $(MAKE); $(unstage)
30866 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30867 r=`${PWD_COMMAND}`; export r; \
30868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30869 $(NORMAL_TARGET_EXPORTS) \
30870 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc-math" ; \
30871 for flag in $(EXTRA_TARGET_FLAGS); do \
30872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30873 done; \
30874 (cd $(TARGET_SUBDIR)/libgcc-math && \
30875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30877 "RANLIB=$${RANLIB}" \
30878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30879 distclean) \
30880 || exit 1
30882 @endif target-libgcc-math
30884 .PHONY: maybe-maintainer-clean-target-libgcc-math maintainer-clean-target-libgcc-math
30885 maybe-maintainer-clean-target-libgcc-math:
30886 @if target-libgcc-math
30887 maybe-maintainer-clean-target-libgcc-math: maintainer-clean-target-libgcc-math
30889 maintainer-clean-target-libgcc-math:
30890 @: $(MAKE); $(unstage)
30891 @[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
30892 r=`${PWD_COMMAND}`; export r; \
30893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30894 $(NORMAL_TARGET_EXPORTS) \
30895 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc-math" ; \
30896 for flag in $(EXTRA_TARGET_FLAGS); do \
30897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30898 done; \
30899 (cd $(TARGET_SUBDIR)/libgcc-math && \
30900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30902 "RANLIB=$${RANLIB}" \
30903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30904 maintainer-clean) \
30905 || exit 1
30907 @endif target-libgcc-math
30913 .PHONY: configure-target-newlib maybe-configure-target-newlib
30914 maybe-configure-target-newlib:
30915 @if target-newlib
30916 maybe-configure-target-newlib: configure-target-newlib
30917 configure-target-newlib:
30918 @: $(MAKE); $(unstage)
30919 @r=`${PWD_COMMAND}`; export r; \
30920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30921 echo "Checking multilib configuration for newlib..."; \
30922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30923 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
30924 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
30925 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
30926 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
30927 else \
30928 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
30929 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30930 fi; \
30931 else \
30932 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
30933 fi; \
30934 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
30935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30936 $(NORMAL_TARGET_EXPORTS) \
30937 echo Configuring in $(TARGET_SUBDIR)/newlib; \
30938 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
30939 case $(srcdir) in \
30940 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30941 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
30942 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30943 esac; \
30944 srcdiroption="--srcdir=$${topdir}/newlib"; \
30945 libsrcdir="$$s/newlib"; \
30946 rm -f no-such-file || : ; \
30947 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30948 $(TARGET_CONFIGARGS) $${srcdiroption} \
30949 || exit 1
30950 @endif target-newlib
30956 .PHONY: all-target-newlib maybe-all-target-newlib
30957 maybe-all-target-newlib:
30958 @if target-newlib
30959 TARGET-target-newlib=all
30960 maybe-all-target-newlib: all-target-newlib
30961 all-target-newlib: configure-target-newlib
30962 @: $(MAKE); $(unstage)
30963 @r=`${PWD_COMMAND}`; export r; \
30964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30965 $(NORMAL_TARGET_EXPORTS) \
30966 (cd $(TARGET_SUBDIR)/newlib && \
30967 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
30968 @endif target-newlib
30974 .PHONY: check-target-newlib maybe-check-target-newlib
30975 maybe-check-target-newlib:
30976 @if target-newlib
30977 maybe-check-target-newlib: check-target-newlib
30979 check-target-newlib:
30980 @: $(MAKE); $(unstage)
30981 @r=`${PWD_COMMAND}`; export r; \
30982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30983 $(NORMAL_TARGET_EXPORTS) \
30984 (cd $(TARGET_SUBDIR)/newlib && \
30985 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30987 @endif target-newlib
30989 .PHONY: install-target-newlib maybe-install-target-newlib
30990 maybe-install-target-newlib:
30991 @if target-newlib
30992 maybe-install-target-newlib: install-target-newlib
30994 install-target-newlib: installdirs
30995 @: $(MAKE); $(unstage)
30996 @r=`${PWD_COMMAND}`; export r; \
30997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30998 $(NORMAL_TARGET_EXPORTS) \
30999 (cd $(TARGET_SUBDIR)/newlib && \
31000 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31002 @endif target-newlib
31004 # Other targets (info, dvi, etc.)
31006 .PHONY: maybe-info-target-newlib info-target-newlib
31007 maybe-info-target-newlib:
31008 @if target-newlib
31009 maybe-info-target-newlib: info-target-newlib
31011 info-target-newlib: \
31012 configure-target-newlib
31013 @: $(MAKE); $(unstage)
31014 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31015 r=`${PWD_COMMAND}`; export r; \
31016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31017 $(NORMAL_TARGET_EXPORTS) \
31018 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
31019 for flag in $(EXTRA_TARGET_FLAGS); do \
31020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31021 done; \
31022 (cd $(TARGET_SUBDIR)/newlib && \
31023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31025 "RANLIB=$${RANLIB}" \
31026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31027 info) \
31028 || exit 1
31030 @endif target-newlib
31032 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
31033 maybe-dvi-target-newlib:
31034 @if target-newlib
31035 maybe-dvi-target-newlib: dvi-target-newlib
31037 dvi-target-newlib: \
31038 configure-target-newlib
31039 @: $(MAKE); $(unstage)
31040 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31041 r=`${PWD_COMMAND}`; export r; \
31042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31043 $(NORMAL_TARGET_EXPORTS) \
31044 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
31045 for flag in $(EXTRA_TARGET_FLAGS); do \
31046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31047 done; \
31048 (cd $(TARGET_SUBDIR)/newlib && \
31049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31051 "RANLIB=$${RANLIB}" \
31052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31053 dvi) \
31054 || exit 1
31056 @endif target-newlib
31058 .PHONY: maybe-html-target-newlib html-target-newlib
31059 maybe-html-target-newlib:
31060 @if target-newlib
31061 maybe-html-target-newlib: html-target-newlib
31063 html-target-newlib: \
31064 configure-target-newlib
31065 @: $(MAKE); $(unstage)
31066 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31067 r=`${PWD_COMMAND}`; export r; \
31068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31069 $(NORMAL_TARGET_EXPORTS) \
31070 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
31071 for flag in $(EXTRA_TARGET_FLAGS); do \
31072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31073 done; \
31074 (cd $(TARGET_SUBDIR)/newlib && \
31075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31077 "RANLIB=$${RANLIB}" \
31078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31079 html) \
31080 || exit 1
31082 @endif target-newlib
31084 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
31085 maybe-TAGS-target-newlib:
31086 @if target-newlib
31087 maybe-TAGS-target-newlib: TAGS-target-newlib
31089 TAGS-target-newlib: \
31090 configure-target-newlib
31091 @: $(MAKE); $(unstage)
31092 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31093 r=`${PWD_COMMAND}`; export r; \
31094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31095 $(NORMAL_TARGET_EXPORTS) \
31096 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
31097 for flag in $(EXTRA_TARGET_FLAGS); do \
31098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31099 done; \
31100 (cd $(TARGET_SUBDIR)/newlib && \
31101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31103 "RANLIB=$${RANLIB}" \
31104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31105 TAGS) \
31106 || exit 1
31108 @endif target-newlib
31110 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
31111 maybe-install-info-target-newlib:
31112 @if target-newlib
31113 maybe-install-info-target-newlib: install-info-target-newlib
31115 install-info-target-newlib: \
31116 configure-target-newlib \
31117 info-target-newlib
31118 @: $(MAKE); $(unstage)
31119 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31120 r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31122 $(NORMAL_TARGET_EXPORTS) \
31123 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
31124 for flag in $(EXTRA_TARGET_FLAGS); do \
31125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31126 done; \
31127 (cd $(TARGET_SUBDIR)/newlib && \
31128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31130 "RANLIB=$${RANLIB}" \
31131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31132 install-info) \
31133 || exit 1
31135 @endif target-newlib
31137 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
31138 maybe-installcheck-target-newlib:
31139 @if target-newlib
31140 maybe-installcheck-target-newlib: installcheck-target-newlib
31142 installcheck-target-newlib: \
31143 configure-target-newlib
31144 @: $(MAKE); $(unstage)
31145 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31146 r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(NORMAL_TARGET_EXPORTS) \
31149 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
31150 for flag in $(EXTRA_TARGET_FLAGS); do \
31151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31152 done; \
31153 (cd $(TARGET_SUBDIR)/newlib && \
31154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31156 "RANLIB=$${RANLIB}" \
31157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31158 installcheck) \
31159 || exit 1
31161 @endif target-newlib
31163 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
31164 maybe-mostlyclean-target-newlib:
31165 @if target-newlib
31166 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
31168 mostlyclean-target-newlib:
31169 @: $(MAKE); $(unstage)
31170 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31171 r=`${PWD_COMMAND}`; export r; \
31172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31173 $(NORMAL_TARGET_EXPORTS) \
31174 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
31175 for flag in $(EXTRA_TARGET_FLAGS); do \
31176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31177 done; \
31178 (cd $(TARGET_SUBDIR)/newlib && \
31179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31181 "RANLIB=$${RANLIB}" \
31182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31183 mostlyclean) \
31184 || exit 1
31186 @endif target-newlib
31188 .PHONY: maybe-clean-target-newlib clean-target-newlib
31189 maybe-clean-target-newlib:
31190 @if target-newlib
31191 maybe-clean-target-newlib: clean-target-newlib
31193 clean-target-newlib:
31194 @: $(MAKE); $(unstage)
31195 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31196 r=`${PWD_COMMAND}`; export r; \
31197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31198 $(NORMAL_TARGET_EXPORTS) \
31199 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
31200 for flag in $(EXTRA_TARGET_FLAGS); do \
31201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31202 done; \
31203 (cd $(TARGET_SUBDIR)/newlib && \
31204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31206 "RANLIB=$${RANLIB}" \
31207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31208 clean) \
31209 || exit 1
31211 @endif target-newlib
31213 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
31214 maybe-distclean-target-newlib:
31215 @if target-newlib
31216 maybe-distclean-target-newlib: distclean-target-newlib
31218 distclean-target-newlib:
31219 @: $(MAKE); $(unstage)
31220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31221 r=`${PWD_COMMAND}`; export r; \
31222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31223 $(NORMAL_TARGET_EXPORTS) \
31224 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
31225 for flag in $(EXTRA_TARGET_FLAGS); do \
31226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31227 done; \
31228 (cd $(TARGET_SUBDIR)/newlib && \
31229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31231 "RANLIB=$${RANLIB}" \
31232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31233 distclean) \
31234 || exit 1
31236 @endif target-newlib
31238 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
31239 maybe-maintainer-clean-target-newlib:
31240 @if target-newlib
31241 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
31243 maintainer-clean-target-newlib:
31244 @: $(MAKE); $(unstage)
31245 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
31246 r=`${PWD_COMMAND}`; export r; \
31247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31248 $(NORMAL_TARGET_EXPORTS) \
31249 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
31250 for flag in $(EXTRA_TARGET_FLAGS); do \
31251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31252 done; \
31253 (cd $(TARGET_SUBDIR)/newlib && \
31254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31256 "RANLIB=$${RANLIB}" \
31257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31258 maintainer-clean) \
31259 || exit 1
31261 @endif target-newlib
31267 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
31268 maybe-configure-target-libgfortran:
31269 @if target-libgfortran
31270 maybe-configure-target-libgfortran: configure-target-libgfortran
31271 configure-target-libgfortran:
31272 @: $(MAKE); $(unstage)
31273 @r=`${PWD_COMMAND}`; export r; \
31274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31275 echo "Checking multilib configuration for libgfortran..."; \
31276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
31277 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
31278 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
31279 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
31280 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
31281 else \
31282 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
31283 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
31284 fi; \
31285 else \
31286 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
31287 fi; \
31288 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
31289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
31290 $(NORMAL_TARGET_EXPORTS) \
31291 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
31292 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
31293 case $(srcdir) in \
31294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31295 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
31296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31297 esac; \
31298 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
31299 libsrcdir="$$s/libgfortran"; \
31300 rm -f no-such-file || : ; \
31301 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31302 $(TARGET_CONFIGARGS) $${srcdiroption} \
31303 || exit 1
31304 @endif target-libgfortran
31310 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
31311 maybe-all-target-libgfortran:
31312 @if target-libgfortran
31313 TARGET-target-libgfortran=all
31314 maybe-all-target-libgfortran: all-target-libgfortran
31315 all-target-libgfortran: configure-target-libgfortran
31316 @: $(MAKE); $(unstage)
31317 @r=`${PWD_COMMAND}`; export r; \
31318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31319 $(NORMAL_TARGET_EXPORTS) \
31320 (cd $(TARGET_SUBDIR)/libgfortran && \
31321 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
31322 @endif target-libgfortran
31328 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
31329 maybe-check-target-libgfortran:
31330 @if target-libgfortran
31331 maybe-check-target-libgfortran: check-target-libgfortran
31333 check-target-libgfortran:
31334 @: $(MAKE); $(unstage)
31335 @r=`${PWD_COMMAND}`; export r; \
31336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31337 $(NORMAL_TARGET_EXPORTS) \
31338 (cd $(TARGET_SUBDIR)/libgfortran && \
31339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31341 @endif target-libgfortran
31343 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
31344 maybe-install-target-libgfortran:
31345 @if target-libgfortran
31346 maybe-install-target-libgfortran: install-target-libgfortran
31348 install-target-libgfortran: installdirs
31349 @: $(MAKE); $(unstage)
31350 @r=`${PWD_COMMAND}`; export r; \
31351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31352 $(NORMAL_TARGET_EXPORTS) \
31353 (cd $(TARGET_SUBDIR)/libgfortran && \
31354 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31356 @endif target-libgfortran
31358 # Other targets (info, dvi, etc.)
31360 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
31361 maybe-info-target-libgfortran:
31362 @if target-libgfortran
31363 maybe-info-target-libgfortran: info-target-libgfortran
31365 info-target-libgfortran: \
31366 configure-target-libgfortran
31367 @: $(MAKE); $(unstage)
31368 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31369 r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(NORMAL_TARGET_EXPORTS) \
31372 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
31373 for flag in $(EXTRA_TARGET_FLAGS); do \
31374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31375 done; \
31376 (cd $(TARGET_SUBDIR)/libgfortran && \
31377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31379 "RANLIB=$${RANLIB}" \
31380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31381 info) \
31382 || exit 1
31384 @endif target-libgfortran
31386 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
31387 maybe-dvi-target-libgfortran:
31388 @if target-libgfortran
31389 maybe-dvi-target-libgfortran: dvi-target-libgfortran
31391 dvi-target-libgfortran: \
31392 configure-target-libgfortran
31393 @: $(MAKE); $(unstage)
31394 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31395 r=`${PWD_COMMAND}`; export r; \
31396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31397 $(NORMAL_TARGET_EXPORTS) \
31398 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
31399 for flag in $(EXTRA_TARGET_FLAGS); do \
31400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31401 done; \
31402 (cd $(TARGET_SUBDIR)/libgfortran && \
31403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31405 "RANLIB=$${RANLIB}" \
31406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31407 dvi) \
31408 || exit 1
31410 @endif target-libgfortran
31412 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
31413 maybe-html-target-libgfortran:
31414 @if target-libgfortran
31415 maybe-html-target-libgfortran: html-target-libgfortran
31417 html-target-libgfortran: \
31418 configure-target-libgfortran
31419 @: $(MAKE); $(unstage)
31420 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31421 r=`${PWD_COMMAND}`; export r; \
31422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31423 $(NORMAL_TARGET_EXPORTS) \
31424 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
31425 for flag in $(EXTRA_TARGET_FLAGS); do \
31426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31427 done; \
31428 (cd $(TARGET_SUBDIR)/libgfortran && \
31429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31431 "RANLIB=$${RANLIB}" \
31432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31433 html) \
31434 || exit 1
31436 @endif target-libgfortran
31438 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
31439 maybe-TAGS-target-libgfortran:
31440 @if target-libgfortran
31441 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
31443 TAGS-target-libgfortran: \
31444 configure-target-libgfortran
31445 @: $(MAKE); $(unstage)
31446 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31447 r=`${PWD_COMMAND}`; export r; \
31448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31449 $(NORMAL_TARGET_EXPORTS) \
31450 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
31451 for flag in $(EXTRA_TARGET_FLAGS); do \
31452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31453 done; \
31454 (cd $(TARGET_SUBDIR)/libgfortran && \
31455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31457 "RANLIB=$${RANLIB}" \
31458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31459 TAGS) \
31460 || exit 1
31462 @endif target-libgfortran
31464 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
31465 maybe-install-info-target-libgfortran:
31466 @if target-libgfortran
31467 maybe-install-info-target-libgfortran: install-info-target-libgfortran
31469 install-info-target-libgfortran: \
31470 configure-target-libgfortran \
31471 info-target-libgfortran
31472 @: $(MAKE); $(unstage)
31473 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31474 r=`${PWD_COMMAND}`; export r; \
31475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31476 $(NORMAL_TARGET_EXPORTS) \
31477 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
31478 for flag in $(EXTRA_TARGET_FLAGS); do \
31479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31480 done; \
31481 (cd $(TARGET_SUBDIR)/libgfortran && \
31482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31484 "RANLIB=$${RANLIB}" \
31485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31486 install-info) \
31487 || exit 1
31489 @endif target-libgfortran
31491 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
31492 maybe-installcheck-target-libgfortran:
31493 @if target-libgfortran
31494 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
31496 installcheck-target-libgfortran: \
31497 configure-target-libgfortran
31498 @: $(MAKE); $(unstage)
31499 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31500 r=`${PWD_COMMAND}`; export r; \
31501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31502 $(NORMAL_TARGET_EXPORTS) \
31503 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
31504 for flag in $(EXTRA_TARGET_FLAGS); do \
31505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31506 done; \
31507 (cd $(TARGET_SUBDIR)/libgfortran && \
31508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31510 "RANLIB=$${RANLIB}" \
31511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31512 installcheck) \
31513 || exit 1
31515 @endif target-libgfortran
31517 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
31518 maybe-mostlyclean-target-libgfortran:
31519 @if target-libgfortran
31520 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
31522 mostlyclean-target-libgfortran:
31523 @: $(MAKE); $(unstage)
31524 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31525 r=`${PWD_COMMAND}`; export r; \
31526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31527 $(NORMAL_TARGET_EXPORTS) \
31528 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
31529 for flag in $(EXTRA_TARGET_FLAGS); do \
31530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31531 done; \
31532 (cd $(TARGET_SUBDIR)/libgfortran && \
31533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31535 "RANLIB=$${RANLIB}" \
31536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31537 mostlyclean) \
31538 || exit 1
31540 @endif target-libgfortran
31542 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
31543 maybe-clean-target-libgfortran:
31544 @if target-libgfortran
31545 maybe-clean-target-libgfortran: clean-target-libgfortran
31547 clean-target-libgfortran:
31548 @: $(MAKE); $(unstage)
31549 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31550 r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(NORMAL_TARGET_EXPORTS) \
31553 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
31554 for flag in $(EXTRA_TARGET_FLAGS); do \
31555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31556 done; \
31557 (cd $(TARGET_SUBDIR)/libgfortran && \
31558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31560 "RANLIB=$${RANLIB}" \
31561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31562 clean) \
31563 || exit 1
31565 @endif target-libgfortran
31567 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
31568 maybe-distclean-target-libgfortran:
31569 @if target-libgfortran
31570 maybe-distclean-target-libgfortran: distclean-target-libgfortran
31572 distclean-target-libgfortran:
31573 @: $(MAKE); $(unstage)
31574 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31575 r=`${PWD_COMMAND}`; export r; \
31576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31577 $(NORMAL_TARGET_EXPORTS) \
31578 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
31579 for flag in $(EXTRA_TARGET_FLAGS); do \
31580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31581 done; \
31582 (cd $(TARGET_SUBDIR)/libgfortran && \
31583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31585 "RANLIB=$${RANLIB}" \
31586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31587 distclean) \
31588 || exit 1
31590 @endif target-libgfortran
31592 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
31593 maybe-maintainer-clean-target-libgfortran:
31594 @if target-libgfortran
31595 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
31597 maintainer-clean-target-libgfortran:
31598 @: $(MAKE); $(unstage)
31599 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
31600 r=`${PWD_COMMAND}`; export r; \
31601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31602 $(NORMAL_TARGET_EXPORTS) \
31603 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
31604 for flag in $(EXTRA_TARGET_FLAGS); do \
31605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31606 done; \
31607 (cd $(TARGET_SUBDIR)/libgfortran && \
31608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31610 "RANLIB=$${RANLIB}" \
31611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31612 maintainer-clean) \
31613 || exit 1
31615 @endif target-libgfortran
31621 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
31622 maybe-configure-target-libobjc:
31623 @if target-libobjc
31624 maybe-configure-target-libobjc: configure-target-libobjc
31625 configure-target-libobjc:
31626 @: $(MAKE); $(unstage)
31627 @r=`${PWD_COMMAND}`; export r; \
31628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31629 echo "Checking multilib configuration for libobjc..."; \
31630 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31631 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
31632 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31633 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
31634 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
31635 else \
31636 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
31637 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31638 fi; \
31639 else \
31640 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
31641 fi; \
31642 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
31643 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
31644 $(NORMAL_TARGET_EXPORTS) \
31645 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
31646 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
31647 case $(srcdir) in \
31648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31649 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
31650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31651 esac; \
31652 srcdiroption="--srcdir=$${topdir}/libobjc"; \
31653 libsrcdir="$$s/libobjc"; \
31654 rm -f no-such-file || : ; \
31655 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31656 $(TARGET_CONFIGARGS) $${srcdiroption} \
31657 || exit 1
31658 @endif target-libobjc
31664 .PHONY: all-target-libobjc maybe-all-target-libobjc
31665 maybe-all-target-libobjc:
31666 @if target-libobjc
31667 TARGET-target-libobjc=all
31668 maybe-all-target-libobjc: all-target-libobjc
31669 all-target-libobjc: configure-target-libobjc
31670 @: $(MAKE); $(unstage)
31671 @r=`${PWD_COMMAND}`; export r; \
31672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31673 $(NORMAL_TARGET_EXPORTS) \
31674 (cd $(TARGET_SUBDIR)/libobjc && \
31675 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
31676 @endif target-libobjc
31682 .PHONY: check-target-libobjc maybe-check-target-libobjc
31683 maybe-check-target-libobjc:
31684 @if target-libobjc
31685 maybe-check-target-libobjc: check-target-libobjc
31687 check-target-libobjc:
31688 @: $(MAKE); $(unstage)
31689 @r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(NORMAL_TARGET_EXPORTS) \
31692 (cd $(TARGET_SUBDIR)/libobjc && \
31693 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31695 @endif target-libobjc
31697 .PHONY: install-target-libobjc maybe-install-target-libobjc
31698 maybe-install-target-libobjc:
31699 @if target-libobjc
31700 maybe-install-target-libobjc: install-target-libobjc
31702 install-target-libobjc: installdirs
31703 @: $(MAKE); $(unstage)
31704 @r=`${PWD_COMMAND}`; export r; \
31705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31706 $(NORMAL_TARGET_EXPORTS) \
31707 (cd $(TARGET_SUBDIR)/libobjc && \
31708 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31710 @endif target-libobjc
31712 # Other targets (info, dvi, etc.)
31714 .PHONY: maybe-info-target-libobjc info-target-libobjc
31715 maybe-info-target-libobjc:
31716 @if target-libobjc
31717 maybe-info-target-libobjc: info-target-libobjc
31719 info-target-libobjc: \
31720 configure-target-libobjc
31721 @: $(MAKE); $(unstage)
31722 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31723 r=`${PWD_COMMAND}`; export r; \
31724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31725 $(NORMAL_TARGET_EXPORTS) \
31726 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
31727 for flag in $(EXTRA_TARGET_FLAGS); do \
31728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31729 done; \
31730 (cd $(TARGET_SUBDIR)/libobjc && \
31731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31733 "RANLIB=$${RANLIB}" \
31734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31735 info) \
31736 || exit 1
31738 @endif target-libobjc
31740 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
31741 maybe-dvi-target-libobjc:
31742 @if target-libobjc
31743 maybe-dvi-target-libobjc: dvi-target-libobjc
31745 dvi-target-libobjc: \
31746 configure-target-libobjc
31747 @: $(MAKE); $(unstage)
31748 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31749 r=`${PWD_COMMAND}`; export r; \
31750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31751 $(NORMAL_TARGET_EXPORTS) \
31752 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
31753 for flag in $(EXTRA_TARGET_FLAGS); do \
31754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31755 done; \
31756 (cd $(TARGET_SUBDIR)/libobjc && \
31757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31759 "RANLIB=$${RANLIB}" \
31760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31761 dvi) \
31762 || exit 1
31764 @endif target-libobjc
31766 .PHONY: maybe-html-target-libobjc html-target-libobjc
31767 maybe-html-target-libobjc:
31768 @if target-libobjc
31769 maybe-html-target-libobjc: html-target-libobjc
31771 html-target-libobjc: \
31772 configure-target-libobjc
31773 @: $(MAKE); $(unstage)
31774 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31775 r=`${PWD_COMMAND}`; export r; \
31776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31777 $(NORMAL_TARGET_EXPORTS) \
31778 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
31779 for flag in $(EXTRA_TARGET_FLAGS); do \
31780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31781 done; \
31782 (cd $(TARGET_SUBDIR)/libobjc && \
31783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31785 "RANLIB=$${RANLIB}" \
31786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31787 html) \
31788 || exit 1
31790 @endif target-libobjc
31792 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
31793 maybe-TAGS-target-libobjc:
31794 @if target-libobjc
31795 maybe-TAGS-target-libobjc: TAGS-target-libobjc
31797 TAGS-target-libobjc: \
31798 configure-target-libobjc
31799 @: $(MAKE); $(unstage)
31800 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31801 r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 $(NORMAL_TARGET_EXPORTS) \
31804 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
31805 for flag in $(EXTRA_TARGET_FLAGS); do \
31806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31807 done; \
31808 (cd $(TARGET_SUBDIR)/libobjc && \
31809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31811 "RANLIB=$${RANLIB}" \
31812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31813 TAGS) \
31814 || exit 1
31816 @endif target-libobjc
31818 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
31819 maybe-install-info-target-libobjc:
31820 @if target-libobjc
31821 maybe-install-info-target-libobjc: install-info-target-libobjc
31823 install-info-target-libobjc: \
31824 configure-target-libobjc \
31825 info-target-libobjc
31826 @: $(MAKE); $(unstage)
31827 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31828 r=`${PWD_COMMAND}`; export r; \
31829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31830 $(NORMAL_TARGET_EXPORTS) \
31831 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
31832 for flag in $(EXTRA_TARGET_FLAGS); do \
31833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31834 done; \
31835 (cd $(TARGET_SUBDIR)/libobjc && \
31836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31838 "RANLIB=$${RANLIB}" \
31839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31840 install-info) \
31841 || exit 1
31843 @endif target-libobjc
31845 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
31846 maybe-installcheck-target-libobjc:
31847 @if target-libobjc
31848 maybe-installcheck-target-libobjc: installcheck-target-libobjc
31850 installcheck-target-libobjc: \
31851 configure-target-libobjc
31852 @: $(MAKE); $(unstage)
31853 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(NORMAL_TARGET_EXPORTS) \
31857 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
31858 for flag in $(EXTRA_TARGET_FLAGS); do \
31859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31860 done; \
31861 (cd $(TARGET_SUBDIR)/libobjc && \
31862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31864 "RANLIB=$${RANLIB}" \
31865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31866 installcheck) \
31867 || exit 1
31869 @endif target-libobjc
31871 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
31872 maybe-mostlyclean-target-libobjc:
31873 @if target-libobjc
31874 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
31876 mostlyclean-target-libobjc:
31877 @: $(MAKE); $(unstage)
31878 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31879 r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 $(NORMAL_TARGET_EXPORTS) \
31882 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
31883 for flag in $(EXTRA_TARGET_FLAGS); do \
31884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31885 done; \
31886 (cd $(TARGET_SUBDIR)/libobjc && \
31887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31889 "RANLIB=$${RANLIB}" \
31890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31891 mostlyclean) \
31892 || exit 1
31894 @endif target-libobjc
31896 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
31897 maybe-clean-target-libobjc:
31898 @if target-libobjc
31899 maybe-clean-target-libobjc: clean-target-libobjc
31901 clean-target-libobjc:
31902 @: $(MAKE); $(unstage)
31903 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31904 r=`${PWD_COMMAND}`; export r; \
31905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31906 $(NORMAL_TARGET_EXPORTS) \
31907 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
31908 for flag in $(EXTRA_TARGET_FLAGS); do \
31909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31910 done; \
31911 (cd $(TARGET_SUBDIR)/libobjc && \
31912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31914 "RANLIB=$${RANLIB}" \
31915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31916 clean) \
31917 || exit 1
31919 @endif target-libobjc
31921 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
31922 maybe-distclean-target-libobjc:
31923 @if target-libobjc
31924 maybe-distclean-target-libobjc: distclean-target-libobjc
31926 distclean-target-libobjc:
31927 @: $(MAKE); $(unstage)
31928 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31929 r=`${PWD_COMMAND}`; export r; \
31930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31931 $(NORMAL_TARGET_EXPORTS) \
31932 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
31933 for flag in $(EXTRA_TARGET_FLAGS); do \
31934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31935 done; \
31936 (cd $(TARGET_SUBDIR)/libobjc && \
31937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31939 "RANLIB=$${RANLIB}" \
31940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31941 distclean) \
31942 || exit 1
31944 @endif target-libobjc
31946 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
31947 maybe-maintainer-clean-target-libobjc:
31948 @if target-libobjc
31949 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
31951 maintainer-clean-target-libobjc:
31952 @: $(MAKE); $(unstage)
31953 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31954 r=`${PWD_COMMAND}`; export r; \
31955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31956 $(NORMAL_TARGET_EXPORTS) \
31957 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
31958 for flag in $(EXTRA_TARGET_FLAGS); do \
31959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31960 done; \
31961 (cd $(TARGET_SUBDIR)/libobjc && \
31962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31964 "RANLIB=$${RANLIB}" \
31965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31966 maintainer-clean) \
31967 || exit 1
31969 @endif target-libobjc
31975 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31976 maybe-configure-target-libtermcap:
31977 @if target-libtermcap
31978 maybe-configure-target-libtermcap: configure-target-libtermcap
31979 configure-target-libtermcap:
31980 @: $(MAKE); $(unstage)
31981 @r=`${PWD_COMMAND}`; export r; \
31982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31983 echo "Checking multilib configuration for libtermcap..."; \
31984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31985 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
31986 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31987 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
31988 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
31989 else \
31990 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
31991 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31992 fi; \
31993 else \
31994 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
31995 fi; \
31996 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31998 $(NORMAL_TARGET_EXPORTS) \
31999 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
32000 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
32001 case $(srcdir) in \
32002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32003 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
32004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32005 esac; \
32006 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
32007 libsrcdir="$$s/libtermcap"; \
32008 rm -f no-such-file || : ; \
32009 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32010 $(TARGET_CONFIGARGS) $${srcdiroption} \
32011 || exit 1
32012 @endif target-libtermcap
32018 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
32019 maybe-all-target-libtermcap:
32020 @if target-libtermcap
32021 TARGET-target-libtermcap=all
32022 maybe-all-target-libtermcap: all-target-libtermcap
32023 all-target-libtermcap: configure-target-libtermcap
32024 @: $(MAKE); $(unstage)
32025 @r=`${PWD_COMMAND}`; export r; \
32026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32027 $(NORMAL_TARGET_EXPORTS) \
32028 (cd $(TARGET_SUBDIR)/libtermcap && \
32029 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
32030 @endif target-libtermcap
32036 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
32037 maybe-check-target-libtermcap:
32038 @if target-libtermcap
32039 maybe-check-target-libtermcap: check-target-libtermcap
32041 # Dummy target for uncheckable module.
32042 check-target-libtermcap:
32044 @endif target-libtermcap
32046 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
32047 maybe-install-target-libtermcap:
32048 @if target-libtermcap
32049 maybe-install-target-libtermcap: install-target-libtermcap
32051 install-target-libtermcap: installdirs
32052 @: $(MAKE); $(unstage)
32053 @r=`${PWD_COMMAND}`; export r; \
32054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32055 $(NORMAL_TARGET_EXPORTS) \
32056 (cd $(TARGET_SUBDIR)/libtermcap && \
32057 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32059 @endif target-libtermcap
32061 # Other targets (info, dvi, etc.)
32063 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
32064 maybe-info-target-libtermcap:
32065 @if target-libtermcap
32066 maybe-info-target-libtermcap: info-target-libtermcap
32068 info-target-libtermcap: \
32069 configure-target-libtermcap
32070 @: $(MAKE); $(unstage)
32071 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
32072 r=`${PWD_COMMAND}`; export r; \
32073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32074 $(NORMAL_TARGET_EXPORTS) \
32075 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
32076 for flag in $(EXTRA_TARGET_FLAGS); do \
32077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32078 done; \
32079 (cd $(TARGET_SUBDIR)/libtermcap && \
32080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32082 "RANLIB=$${RANLIB}" \
32083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32084 info) \
32085 || exit 1
32087 @endif target-libtermcap
32089 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
32090 maybe-dvi-target-libtermcap:
32091 @if target-libtermcap
32092 maybe-dvi-target-libtermcap: dvi-target-libtermcap
32094 dvi-target-libtermcap: \
32095 configure-target-libtermcap
32096 @: $(MAKE); $(unstage)
32097 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
32098 r=`${PWD_COMMAND}`; export r; \
32099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32100 $(NORMAL_TARGET_EXPORTS) \
32101 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
32102 for flag in $(EXTRA_TARGET_FLAGS); do \
32103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32104 done; \
32105 (cd $(TARGET_SUBDIR)/libtermcap && \
32106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32108 "RANLIB=$${RANLIB}" \
32109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32110 dvi) \
32111 || exit 1
32113 @endif target-libtermcap
32115 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
32116 maybe-html-target-libtermcap:
32117 @if target-libtermcap
32118 maybe-html-target-libtermcap: html-target-libtermcap
32120 html-target-libtermcap: \
32121 configure-target-libtermcap
32122 @: $(MAKE); $(unstage)
32123 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
32124 r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(NORMAL_TARGET_EXPORTS) \
32127 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
32128 for flag in $(EXTRA_TARGET_FLAGS); do \
32129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32130 done; \
32131 (cd $(TARGET_SUBDIR)/libtermcap && \
32132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32134 "RANLIB=$${RANLIB}" \
32135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32136 html) \
32137 || exit 1
32139 @endif target-libtermcap
32141 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
32142 maybe-TAGS-target-libtermcap:
32143 @if target-libtermcap
32144 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
32146 TAGS-target-libtermcap: \
32147 configure-target-libtermcap
32148 @: $(MAKE); $(unstage)
32149 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
32150 r=`${PWD_COMMAND}`; export r; \
32151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32152 $(NORMAL_TARGET_EXPORTS) \
32153 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
32154 for flag in $(EXTRA_TARGET_FLAGS); do \
32155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32156 done; \
32157 (cd $(TARGET_SUBDIR)/libtermcap && \
32158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32160 "RANLIB=$${RANLIB}" \
32161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32162 TAGS) \
32163 || exit 1
32165 @endif target-libtermcap
32167 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
32168 maybe-install-info-target-libtermcap:
32169 @if target-libtermcap
32170 maybe-install-info-target-libtermcap: install-info-target-libtermcap
32172 install-info-target-libtermcap: \
32173 configure-target-libtermcap \
32174 info-target-libtermcap
32175 @: $(MAKE); $(unstage)
32176 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
32177 r=`${PWD_COMMAND}`; export r; \
32178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32179 $(NORMAL_TARGET_EXPORTS) \
32180 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
32181 for flag in $(EXTRA_TARGET_FLAGS); do \
32182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32183 done; \
32184 (cd $(TARGET_SUBDIR)/libtermcap && \
32185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32187 "RANLIB=$${RANLIB}" \
32188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32189 install-info) \
32190 || exit 1
32192 @endif target-libtermcap
32194 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
32195 maybe-installcheck-target-libtermcap:
32196 @if target-libtermcap
32197 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
32199 installcheck-target-libtermcap: \
32200 configure-target-libtermcap
32201 @: $(MAKE); $(unstage)
32202 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
32203 r=`${PWD_COMMAND}`; export r; \
32204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32205 $(NORMAL_TARGET_EXPORTS) \
32206 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
32207 for flag in $(EXTRA_TARGET_FLAGS); do \
32208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32209 done; \
32210 (cd $(TARGET_SUBDIR)/libtermcap && \
32211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32213 "RANLIB=$${RANLIB}" \
32214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32215 installcheck) \
32216 || exit 1
32218 @endif target-libtermcap
32220 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
32221 maybe-mostlyclean-target-libtermcap:
32222 @if target-libtermcap
32223 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
32225 # libtermcap doesn't support mostlyclean.
32226 mostlyclean-target-libtermcap:
32228 @endif target-libtermcap
32230 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
32231 maybe-clean-target-libtermcap:
32232 @if target-libtermcap
32233 maybe-clean-target-libtermcap: clean-target-libtermcap
32235 # libtermcap doesn't support clean.
32236 clean-target-libtermcap:
32238 @endif target-libtermcap
32240 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
32241 maybe-distclean-target-libtermcap:
32242 @if target-libtermcap
32243 maybe-distclean-target-libtermcap: distclean-target-libtermcap
32245 # libtermcap doesn't support distclean.
32246 distclean-target-libtermcap:
32248 @endif target-libtermcap
32250 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
32251 maybe-maintainer-clean-target-libtermcap:
32252 @if target-libtermcap
32253 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
32255 # libtermcap doesn't support maintainer-clean.
32256 maintainer-clean-target-libtermcap:
32258 @endif target-libtermcap
32264 .PHONY: configure-target-winsup maybe-configure-target-winsup
32265 maybe-configure-target-winsup:
32266 @if target-winsup
32267 maybe-configure-target-winsup: configure-target-winsup
32268 configure-target-winsup:
32269 @: $(MAKE); $(unstage)
32270 @r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 echo "Checking multilib configuration for winsup..."; \
32273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
32274 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
32275 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
32276 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
32277 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
32278 else \
32279 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
32280 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
32281 fi; \
32282 else \
32283 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
32284 fi; \
32285 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
32286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
32287 $(NORMAL_TARGET_EXPORTS) \
32288 echo Configuring in $(TARGET_SUBDIR)/winsup; \
32289 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
32290 case $(srcdir) in \
32291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32292 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
32293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32294 esac; \
32295 srcdiroption="--srcdir=$${topdir}/winsup"; \
32296 libsrcdir="$$s/winsup"; \
32297 rm -f no-such-file || : ; \
32298 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32299 $(TARGET_CONFIGARGS) $${srcdiroption} \
32300 || exit 1
32301 @endif target-winsup
32307 .PHONY: all-target-winsup maybe-all-target-winsup
32308 maybe-all-target-winsup:
32309 @if target-winsup
32310 TARGET-target-winsup=all
32311 maybe-all-target-winsup: all-target-winsup
32312 all-target-winsup: configure-target-winsup
32313 @: $(MAKE); $(unstage)
32314 @r=`${PWD_COMMAND}`; export r; \
32315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32316 $(NORMAL_TARGET_EXPORTS) \
32317 (cd $(TARGET_SUBDIR)/winsup && \
32318 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
32319 @endif target-winsup
32325 .PHONY: check-target-winsup maybe-check-target-winsup
32326 maybe-check-target-winsup:
32327 @if target-winsup
32328 maybe-check-target-winsup: check-target-winsup
32330 check-target-winsup:
32331 @: $(MAKE); $(unstage)
32332 @r=`${PWD_COMMAND}`; export r; \
32333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32334 $(NORMAL_TARGET_EXPORTS) \
32335 (cd $(TARGET_SUBDIR)/winsup && \
32336 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32338 @endif target-winsup
32340 .PHONY: install-target-winsup maybe-install-target-winsup
32341 maybe-install-target-winsup:
32342 @if target-winsup
32343 maybe-install-target-winsup: install-target-winsup
32345 install-target-winsup: installdirs
32346 @: $(MAKE); $(unstage)
32347 @r=`${PWD_COMMAND}`; export r; \
32348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32349 $(NORMAL_TARGET_EXPORTS) \
32350 (cd $(TARGET_SUBDIR)/winsup && \
32351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32353 @endif target-winsup
32355 # Other targets (info, dvi, etc.)
32357 .PHONY: maybe-info-target-winsup info-target-winsup
32358 maybe-info-target-winsup:
32359 @if target-winsup
32360 maybe-info-target-winsup: info-target-winsup
32362 info-target-winsup: \
32363 configure-target-winsup
32364 @: $(MAKE); $(unstage)
32365 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32366 r=`${PWD_COMMAND}`; export r; \
32367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32368 $(NORMAL_TARGET_EXPORTS) \
32369 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
32370 for flag in $(EXTRA_TARGET_FLAGS); do \
32371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32372 done; \
32373 (cd $(TARGET_SUBDIR)/winsup && \
32374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32376 "RANLIB=$${RANLIB}" \
32377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32378 info) \
32379 || exit 1
32381 @endif target-winsup
32383 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
32384 maybe-dvi-target-winsup:
32385 @if target-winsup
32386 maybe-dvi-target-winsup: dvi-target-winsup
32388 dvi-target-winsup: \
32389 configure-target-winsup
32390 @: $(MAKE); $(unstage)
32391 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32392 r=`${PWD_COMMAND}`; export r; \
32393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32394 $(NORMAL_TARGET_EXPORTS) \
32395 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
32396 for flag in $(EXTRA_TARGET_FLAGS); do \
32397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32398 done; \
32399 (cd $(TARGET_SUBDIR)/winsup && \
32400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32402 "RANLIB=$${RANLIB}" \
32403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32404 dvi) \
32405 || exit 1
32407 @endif target-winsup
32409 .PHONY: maybe-html-target-winsup html-target-winsup
32410 maybe-html-target-winsup:
32411 @if target-winsup
32412 maybe-html-target-winsup: html-target-winsup
32414 html-target-winsup: \
32415 configure-target-winsup
32416 @: $(MAKE); $(unstage)
32417 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32418 r=`${PWD_COMMAND}`; export r; \
32419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32420 $(NORMAL_TARGET_EXPORTS) \
32421 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
32422 for flag in $(EXTRA_TARGET_FLAGS); do \
32423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32424 done; \
32425 (cd $(TARGET_SUBDIR)/winsup && \
32426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32428 "RANLIB=$${RANLIB}" \
32429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32430 html) \
32431 || exit 1
32433 @endif target-winsup
32435 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
32436 maybe-TAGS-target-winsup:
32437 @if target-winsup
32438 maybe-TAGS-target-winsup: TAGS-target-winsup
32440 TAGS-target-winsup: \
32441 configure-target-winsup
32442 @: $(MAKE); $(unstage)
32443 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32444 r=`${PWD_COMMAND}`; export r; \
32445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32446 $(NORMAL_TARGET_EXPORTS) \
32447 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
32448 for flag in $(EXTRA_TARGET_FLAGS); do \
32449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32450 done; \
32451 (cd $(TARGET_SUBDIR)/winsup && \
32452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32454 "RANLIB=$${RANLIB}" \
32455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32456 TAGS) \
32457 || exit 1
32459 @endif target-winsup
32461 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
32462 maybe-install-info-target-winsup:
32463 @if target-winsup
32464 maybe-install-info-target-winsup: install-info-target-winsup
32466 install-info-target-winsup: \
32467 configure-target-winsup \
32468 info-target-winsup
32469 @: $(MAKE); $(unstage)
32470 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32471 r=`${PWD_COMMAND}`; export r; \
32472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32473 $(NORMAL_TARGET_EXPORTS) \
32474 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
32475 for flag in $(EXTRA_TARGET_FLAGS); do \
32476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32477 done; \
32478 (cd $(TARGET_SUBDIR)/winsup && \
32479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32481 "RANLIB=$${RANLIB}" \
32482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32483 install-info) \
32484 || exit 1
32486 @endif target-winsup
32488 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
32489 maybe-installcheck-target-winsup:
32490 @if target-winsup
32491 maybe-installcheck-target-winsup: installcheck-target-winsup
32493 installcheck-target-winsup: \
32494 configure-target-winsup
32495 @: $(MAKE); $(unstage)
32496 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32497 r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 $(NORMAL_TARGET_EXPORTS) \
32500 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
32501 for flag in $(EXTRA_TARGET_FLAGS); do \
32502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32503 done; \
32504 (cd $(TARGET_SUBDIR)/winsup && \
32505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32507 "RANLIB=$${RANLIB}" \
32508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32509 installcheck) \
32510 || exit 1
32512 @endif target-winsup
32514 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
32515 maybe-mostlyclean-target-winsup:
32516 @if target-winsup
32517 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
32519 mostlyclean-target-winsup:
32520 @: $(MAKE); $(unstage)
32521 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32522 r=`${PWD_COMMAND}`; export r; \
32523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32524 $(NORMAL_TARGET_EXPORTS) \
32525 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
32526 for flag in $(EXTRA_TARGET_FLAGS); do \
32527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32528 done; \
32529 (cd $(TARGET_SUBDIR)/winsup && \
32530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32532 "RANLIB=$${RANLIB}" \
32533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32534 mostlyclean) \
32535 || exit 1
32537 @endif target-winsup
32539 .PHONY: maybe-clean-target-winsup clean-target-winsup
32540 maybe-clean-target-winsup:
32541 @if target-winsup
32542 maybe-clean-target-winsup: clean-target-winsup
32544 clean-target-winsup:
32545 @: $(MAKE); $(unstage)
32546 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32547 r=`${PWD_COMMAND}`; export r; \
32548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32549 $(NORMAL_TARGET_EXPORTS) \
32550 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
32551 for flag in $(EXTRA_TARGET_FLAGS); do \
32552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32553 done; \
32554 (cd $(TARGET_SUBDIR)/winsup && \
32555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32557 "RANLIB=$${RANLIB}" \
32558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32559 clean) \
32560 || exit 1
32562 @endif target-winsup
32564 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
32565 maybe-distclean-target-winsup:
32566 @if target-winsup
32567 maybe-distclean-target-winsup: distclean-target-winsup
32569 distclean-target-winsup:
32570 @: $(MAKE); $(unstage)
32571 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32572 r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 $(NORMAL_TARGET_EXPORTS) \
32575 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
32576 for flag in $(EXTRA_TARGET_FLAGS); do \
32577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32578 done; \
32579 (cd $(TARGET_SUBDIR)/winsup && \
32580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32582 "RANLIB=$${RANLIB}" \
32583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32584 distclean) \
32585 || exit 1
32587 @endif target-winsup
32589 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
32590 maybe-maintainer-clean-target-winsup:
32591 @if target-winsup
32592 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
32594 maintainer-clean-target-winsup:
32595 @: $(MAKE); $(unstage)
32596 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
32597 r=`${PWD_COMMAND}`; export r; \
32598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32599 $(NORMAL_TARGET_EXPORTS) \
32600 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
32601 for flag in $(EXTRA_TARGET_FLAGS); do \
32602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32603 done; \
32604 (cd $(TARGET_SUBDIR)/winsup && \
32605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32607 "RANLIB=$${RANLIB}" \
32608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32609 maintainer-clean) \
32610 || exit 1
32612 @endif target-winsup
32618 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
32619 maybe-configure-target-libgloss:
32620 @if target-libgloss
32621 maybe-configure-target-libgloss: configure-target-libgloss
32622 configure-target-libgloss:
32623 @: $(MAKE); $(unstage)
32624 @r=`${PWD_COMMAND}`; export r; \
32625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32626 echo "Checking multilib configuration for libgloss..."; \
32627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32628 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
32629 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32630 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
32631 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
32632 else \
32633 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
32634 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32635 fi; \
32636 else \
32637 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
32638 fi; \
32639 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
32640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
32641 $(NORMAL_TARGET_EXPORTS) \
32642 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
32643 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
32644 case $(srcdir) in \
32645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32646 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
32647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32648 esac; \
32649 srcdiroption="--srcdir=$${topdir}/libgloss"; \
32650 libsrcdir="$$s/libgloss"; \
32651 rm -f no-such-file || : ; \
32652 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32653 $(TARGET_CONFIGARGS) $${srcdiroption} \
32654 || exit 1
32655 @endif target-libgloss
32661 .PHONY: all-target-libgloss maybe-all-target-libgloss
32662 maybe-all-target-libgloss:
32663 @if target-libgloss
32664 TARGET-target-libgloss=all
32665 maybe-all-target-libgloss: all-target-libgloss
32666 all-target-libgloss: configure-target-libgloss
32667 @: $(MAKE); $(unstage)
32668 @r=`${PWD_COMMAND}`; export r; \
32669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32670 $(NORMAL_TARGET_EXPORTS) \
32671 (cd $(TARGET_SUBDIR)/libgloss && \
32672 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
32673 @endif target-libgloss
32679 .PHONY: check-target-libgloss maybe-check-target-libgloss
32680 maybe-check-target-libgloss:
32681 @if target-libgloss
32682 maybe-check-target-libgloss: check-target-libgloss
32684 # Dummy target for uncheckable module.
32685 check-target-libgloss:
32687 @endif target-libgloss
32689 .PHONY: install-target-libgloss maybe-install-target-libgloss
32690 maybe-install-target-libgloss:
32691 @if target-libgloss
32692 maybe-install-target-libgloss: install-target-libgloss
32694 install-target-libgloss: installdirs
32695 @: $(MAKE); $(unstage)
32696 @r=`${PWD_COMMAND}`; export r; \
32697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32698 $(NORMAL_TARGET_EXPORTS) \
32699 (cd $(TARGET_SUBDIR)/libgloss && \
32700 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32702 @endif target-libgloss
32704 # Other targets (info, dvi, etc.)
32706 .PHONY: maybe-info-target-libgloss info-target-libgloss
32707 maybe-info-target-libgloss:
32708 @if target-libgloss
32709 maybe-info-target-libgloss: info-target-libgloss
32711 info-target-libgloss: \
32712 configure-target-libgloss
32713 @: $(MAKE); $(unstage)
32714 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32715 r=`${PWD_COMMAND}`; export r; \
32716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32717 $(NORMAL_TARGET_EXPORTS) \
32718 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
32719 for flag in $(EXTRA_TARGET_FLAGS); do \
32720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32721 done; \
32722 (cd $(TARGET_SUBDIR)/libgloss && \
32723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32725 "RANLIB=$${RANLIB}" \
32726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32727 info) \
32728 || exit 1
32730 @endif target-libgloss
32732 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
32733 maybe-dvi-target-libgloss:
32734 @if target-libgloss
32735 maybe-dvi-target-libgloss: dvi-target-libgloss
32737 dvi-target-libgloss: \
32738 configure-target-libgloss
32739 @: $(MAKE); $(unstage)
32740 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32741 r=`${PWD_COMMAND}`; export r; \
32742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32743 $(NORMAL_TARGET_EXPORTS) \
32744 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
32745 for flag in $(EXTRA_TARGET_FLAGS); do \
32746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32747 done; \
32748 (cd $(TARGET_SUBDIR)/libgloss && \
32749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32751 "RANLIB=$${RANLIB}" \
32752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32753 dvi) \
32754 || exit 1
32756 @endif target-libgloss
32758 .PHONY: maybe-html-target-libgloss html-target-libgloss
32759 maybe-html-target-libgloss:
32760 @if target-libgloss
32761 maybe-html-target-libgloss: html-target-libgloss
32763 html-target-libgloss: \
32764 configure-target-libgloss
32765 @: $(MAKE); $(unstage)
32766 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32767 r=`${PWD_COMMAND}`; export r; \
32768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32769 $(NORMAL_TARGET_EXPORTS) \
32770 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
32771 for flag in $(EXTRA_TARGET_FLAGS); do \
32772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32773 done; \
32774 (cd $(TARGET_SUBDIR)/libgloss && \
32775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32777 "RANLIB=$${RANLIB}" \
32778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32779 html) \
32780 || exit 1
32782 @endif target-libgloss
32784 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
32785 maybe-TAGS-target-libgloss:
32786 @if target-libgloss
32787 maybe-TAGS-target-libgloss: TAGS-target-libgloss
32789 TAGS-target-libgloss: \
32790 configure-target-libgloss
32791 @: $(MAKE); $(unstage)
32792 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32793 r=`${PWD_COMMAND}`; export r; \
32794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32795 $(NORMAL_TARGET_EXPORTS) \
32796 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
32797 for flag in $(EXTRA_TARGET_FLAGS); do \
32798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32799 done; \
32800 (cd $(TARGET_SUBDIR)/libgloss && \
32801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32803 "RANLIB=$${RANLIB}" \
32804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32805 TAGS) \
32806 || exit 1
32808 @endif target-libgloss
32810 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
32811 maybe-install-info-target-libgloss:
32812 @if target-libgloss
32813 maybe-install-info-target-libgloss: install-info-target-libgloss
32815 install-info-target-libgloss: \
32816 configure-target-libgloss \
32817 info-target-libgloss
32818 @: $(MAKE); $(unstage)
32819 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32820 r=`${PWD_COMMAND}`; export r; \
32821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32822 $(NORMAL_TARGET_EXPORTS) \
32823 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
32824 for flag in $(EXTRA_TARGET_FLAGS); do \
32825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32826 done; \
32827 (cd $(TARGET_SUBDIR)/libgloss && \
32828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32830 "RANLIB=$${RANLIB}" \
32831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32832 install-info) \
32833 || exit 1
32835 @endif target-libgloss
32837 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
32838 maybe-installcheck-target-libgloss:
32839 @if target-libgloss
32840 maybe-installcheck-target-libgloss: installcheck-target-libgloss
32842 installcheck-target-libgloss: \
32843 configure-target-libgloss
32844 @: $(MAKE); $(unstage)
32845 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32846 r=`${PWD_COMMAND}`; export r; \
32847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32848 $(NORMAL_TARGET_EXPORTS) \
32849 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
32850 for flag in $(EXTRA_TARGET_FLAGS); do \
32851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32852 done; \
32853 (cd $(TARGET_SUBDIR)/libgloss && \
32854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32856 "RANLIB=$${RANLIB}" \
32857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32858 installcheck) \
32859 || exit 1
32861 @endif target-libgloss
32863 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
32864 maybe-mostlyclean-target-libgloss:
32865 @if target-libgloss
32866 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
32868 mostlyclean-target-libgloss:
32869 @: $(MAKE); $(unstage)
32870 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32871 r=`${PWD_COMMAND}`; export r; \
32872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32873 $(NORMAL_TARGET_EXPORTS) \
32874 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
32875 for flag in $(EXTRA_TARGET_FLAGS); do \
32876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32877 done; \
32878 (cd $(TARGET_SUBDIR)/libgloss && \
32879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32881 "RANLIB=$${RANLIB}" \
32882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32883 mostlyclean) \
32884 || exit 1
32886 @endif target-libgloss
32888 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
32889 maybe-clean-target-libgloss:
32890 @if target-libgloss
32891 maybe-clean-target-libgloss: clean-target-libgloss
32893 clean-target-libgloss:
32894 @: $(MAKE); $(unstage)
32895 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32896 r=`${PWD_COMMAND}`; export r; \
32897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32898 $(NORMAL_TARGET_EXPORTS) \
32899 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
32900 for flag in $(EXTRA_TARGET_FLAGS); do \
32901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32902 done; \
32903 (cd $(TARGET_SUBDIR)/libgloss && \
32904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32906 "RANLIB=$${RANLIB}" \
32907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32908 clean) \
32909 || exit 1
32911 @endif target-libgloss
32913 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
32914 maybe-distclean-target-libgloss:
32915 @if target-libgloss
32916 maybe-distclean-target-libgloss: distclean-target-libgloss
32918 distclean-target-libgloss:
32919 @: $(MAKE); $(unstage)
32920 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32921 r=`${PWD_COMMAND}`; export r; \
32922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32923 $(NORMAL_TARGET_EXPORTS) \
32924 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
32925 for flag in $(EXTRA_TARGET_FLAGS); do \
32926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32927 done; \
32928 (cd $(TARGET_SUBDIR)/libgloss && \
32929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32931 "RANLIB=$${RANLIB}" \
32932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32933 distclean) \
32934 || exit 1
32936 @endif target-libgloss
32938 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
32939 maybe-maintainer-clean-target-libgloss:
32940 @if target-libgloss
32941 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
32943 maintainer-clean-target-libgloss:
32944 @: $(MAKE); $(unstage)
32945 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32946 r=`${PWD_COMMAND}`; export r; \
32947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32948 $(NORMAL_TARGET_EXPORTS) \
32949 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
32950 for flag in $(EXTRA_TARGET_FLAGS); do \
32951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32952 done; \
32953 (cd $(TARGET_SUBDIR)/libgloss && \
32954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32956 "RANLIB=$${RANLIB}" \
32957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32958 maintainer-clean) \
32959 || exit 1
32961 @endif target-libgloss
32967 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32968 maybe-configure-target-libiberty:
32969 @if target-libiberty
32970 maybe-configure-target-libiberty: configure-target-libiberty
32971 configure-target-libiberty:
32972 @: $(MAKE); $(unstage)
32973 @r=`${PWD_COMMAND}`; export r; \
32974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32975 echo "Checking multilib configuration for libiberty..."; \
32976 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32977 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
32978 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32979 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
32980 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
32981 else \
32982 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
32983 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32984 fi; \
32985 else \
32986 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
32987 fi; \
32988 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32989 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32990 $(NORMAL_TARGET_EXPORTS) \
32991 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32992 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32993 case $(srcdir) in \
32994 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32995 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32996 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32997 esac; \
32998 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32999 libsrcdir="$$s/libiberty"; \
33000 rm -f no-such-file || : ; \
33001 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33002 $(TARGET_CONFIGARGS) $${srcdiroption} \
33003 || exit 1
33004 @endif target-libiberty
33010 .PHONY: all-target-libiberty maybe-all-target-libiberty
33011 maybe-all-target-libiberty:
33012 @if target-libiberty
33013 TARGET-target-libiberty=all
33014 maybe-all-target-libiberty: all-target-libiberty
33015 all-target-libiberty: configure-target-libiberty
33016 @: $(MAKE); $(unstage)
33017 @r=`${PWD_COMMAND}`; export r; \
33018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33019 $(NORMAL_TARGET_EXPORTS) \
33020 (cd $(TARGET_SUBDIR)/libiberty && \
33021 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
33022 @endif target-libiberty
33028 .PHONY: check-target-libiberty maybe-check-target-libiberty
33029 maybe-check-target-libiberty:
33030 @if target-libiberty
33031 maybe-check-target-libiberty: check-target-libiberty
33033 check-target-libiberty:
33034 @: $(MAKE); $(unstage)
33035 @r=`${PWD_COMMAND}`; export r; \
33036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33037 $(NORMAL_TARGET_EXPORTS) \
33038 (cd $(TARGET_SUBDIR)/libiberty && \
33039 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33041 @endif target-libiberty
33043 .PHONY: install-target-libiberty maybe-install-target-libiberty
33044 maybe-install-target-libiberty:
33045 @if target-libiberty
33046 maybe-install-target-libiberty: install-target-libiberty
33048 install-target-libiberty: installdirs
33049 @: $(MAKE); $(unstage)
33050 @r=`${PWD_COMMAND}`; export r; \
33051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33052 $(NORMAL_TARGET_EXPORTS) \
33053 (cd $(TARGET_SUBDIR)/libiberty && \
33054 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33056 @endif target-libiberty
33058 # Other targets (info, dvi, etc.)
33060 .PHONY: maybe-info-target-libiberty info-target-libiberty
33061 maybe-info-target-libiberty:
33062 @if target-libiberty
33063 maybe-info-target-libiberty: info-target-libiberty
33065 info-target-libiberty: \
33066 configure-target-libiberty
33067 @: $(MAKE); $(unstage)
33068 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33069 r=`${PWD_COMMAND}`; export r; \
33070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33071 $(NORMAL_TARGET_EXPORTS) \
33072 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
33073 for flag in $(EXTRA_TARGET_FLAGS); do \
33074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33075 done; \
33076 (cd $(TARGET_SUBDIR)/libiberty && \
33077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33079 "RANLIB=$${RANLIB}" \
33080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33081 info) \
33082 || exit 1
33084 @endif target-libiberty
33086 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
33087 maybe-dvi-target-libiberty:
33088 @if target-libiberty
33089 maybe-dvi-target-libiberty: dvi-target-libiberty
33091 dvi-target-libiberty: \
33092 configure-target-libiberty
33093 @: $(MAKE); $(unstage)
33094 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33095 r=`${PWD_COMMAND}`; export r; \
33096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33097 $(NORMAL_TARGET_EXPORTS) \
33098 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
33099 for flag in $(EXTRA_TARGET_FLAGS); do \
33100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33101 done; \
33102 (cd $(TARGET_SUBDIR)/libiberty && \
33103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33105 "RANLIB=$${RANLIB}" \
33106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33107 dvi) \
33108 || exit 1
33110 @endif target-libiberty
33112 .PHONY: maybe-html-target-libiberty html-target-libiberty
33113 maybe-html-target-libiberty:
33114 @if target-libiberty
33115 maybe-html-target-libiberty: html-target-libiberty
33117 html-target-libiberty: \
33118 configure-target-libiberty
33119 @: $(MAKE); $(unstage)
33120 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33121 r=`${PWD_COMMAND}`; export r; \
33122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33123 $(NORMAL_TARGET_EXPORTS) \
33124 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
33125 for flag in $(EXTRA_TARGET_FLAGS); do \
33126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33127 done; \
33128 (cd $(TARGET_SUBDIR)/libiberty && \
33129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33131 "RANLIB=$${RANLIB}" \
33132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33133 html) \
33134 || exit 1
33136 @endif target-libiberty
33138 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
33139 maybe-TAGS-target-libiberty:
33140 @if target-libiberty
33141 maybe-TAGS-target-libiberty: TAGS-target-libiberty
33143 TAGS-target-libiberty: \
33144 configure-target-libiberty
33145 @: $(MAKE); $(unstage)
33146 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33147 r=`${PWD_COMMAND}`; export r; \
33148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33149 $(NORMAL_TARGET_EXPORTS) \
33150 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
33151 for flag in $(EXTRA_TARGET_FLAGS); do \
33152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33153 done; \
33154 (cd $(TARGET_SUBDIR)/libiberty && \
33155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33157 "RANLIB=$${RANLIB}" \
33158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33159 TAGS) \
33160 || exit 1
33162 @endif target-libiberty
33164 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
33165 maybe-install-info-target-libiberty:
33166 @if target-libiberty
33167 maybe-install-info-target-libiberty: install-info-target-libiberty
33169 install-info-target-libiberty: \
33170 configure-target-libiberty \
33171 info-target-libiberty
33172 @: $(MAKE); $(unstage)
33173 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33174 r=`${PWD_COMMAND}`; export r; \
33175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33176 $(NORMAL_TARGET_EXPORTS) \
33177 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
33178 for flag in $(EXTRA_TARGET_FLAGS); do \
33179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33180 done; \
33181 (cd $(TARGET_SUBDIR)/libiberty && \
33182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33184 "RANLIB=$${RANLIB}" \
33185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33186 install-info) \
33187 || exit 1
33189 @endif target-libiberty
33191 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
33192 maybe-installcheck-target-libiberty:
33193 @if target-libiberty
33194 maybe-installcheck-target-libiberty: installcheck-target-libiberty
33196 installcheck-target-libiberty: \
33197 configure-target-libiberty
33198 @: $(MAKE); $(unstage)
33199 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33200 r=`${PWD_COMMAND}`; export r; \
33201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33202 $(NORMAL_TARGET_EXPORTS) \
33203 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
33204 for flag in $(EXTRA_TARGET_FLAGS); do \
33205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33206 done; \
33207 (cd $(TARGET_SUBDIR)/libiberty && \
33208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33210 "RANLIB=$${RANLIB}" \
33211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33212 installcheck) \
33213 || exit 1
33215 @endif target-libiberty
33217 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
33218 maybe-mostlyclean-target-libiberty:
33219 @if target-libiberty
33220 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
33222 mostlyclean-target-libiberty:
33223 @: $(MAKE); $(unstage)
33224 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33225 r=`${PWD_COMMAND}`; export r; \
33226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33227 $(NORMAL_TARGET_EXPORTS) \
33228 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
33229 for flag in $(EXTRA_TARGET_FLAGS); do \
33230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33231 done; \
33232 (cd $(TARGET_SUBDIR)/libiberty && \
33233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33235 "RANLIB=$${RANLIB}" \
33236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33237 mostlyclean) \
33238 || exit 1
33240 @endif target-libiberty
33242 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
33243 maybe-clean-target-libiberty:
33244 @if target-libiberty
33245 maybe-clean-target-libiberty: clean-target-libiberty
33247 clean-target-libiberty:
33248 @: $(MAKE); $(unstage)
33249 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33250 r=`${PWD_COMMAND}`; export r; \
33251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33252 $(NORMAL_TARGET_EXPORTS) \
33253 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
33254 for flag in $(EXTRA_TARGET_FLAGS); do \
33255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33256 done; \
33257 (cd $(TARGET_SUBDIR)/libiberty && \
33258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33260 "RANLIB=$${RANLIB}" \
33261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33262 clean) \
33263 || exit 1
33265 @endif target-libiberty
33267 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
33268 maybe-distclean-target-libiberty:
33269 @if target-libiberty
33270 maybe-distclean-target-libiberty: distclean-target-libiberty
33272 distclean-target-libiberty:
33273 @: $(MAKE); $(unstage)
33274 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33275 r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(NORMAL_TARGET_EXPORTS) \
33278 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
33279 for flag in $(EXTRA_TARGET_FLAGS); do \
33280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33281 done; \
33282 (cd $(TARGET_SUBDIR)/libiberty && \
33283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33285 "RANLIB=$${RANLIB}" \
33286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33287 distclean) \
33288 || exit 1
33290 @endif target-libiberty
33292 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
33293 maybe-maintainer-clean-target-libiberty:
33294 @if target-libiberty
33295 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
33297 maintainer-clean-target-libiberty:
33298 @: $(MAKE); $(unstage)
33299 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
33300 r=`${PWD_COMMAND}`; export r; \
33301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33302 $(NORMAL_TARGET_EXPORTS) \
33303 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
33304 for flag in $(EXTRA_TARGET_FLAGS); do \
33305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33306 done; \
33307 (cd $(TARGET_SUBDIR)/libiberty && \
33308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33310 "RANLIB=$${RANLIB}" \
33311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33312 maintainer-clean) \
33313 || exit 1
33315 @endif target-libiberty
33321 .PHONY: configure-target-gperf maybe-configure-target-gperf
33322 maybe-configure-target-gperf:
33323 @if target-gperf
33324 maybe-configure-target-gperf: configure-target-gperf
33325 configure-target-gperf:
33326 @: $(MAKE); $(unstage)
33327 @r=`${PWD_COMMAND}`; export r; \
33328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33329 echo "Checking multilib configuration for gperf..."; \
33330 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
33331 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
33332 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
33333 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
33334 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
33335 else \
33336 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
33337 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
33338 fi; \
33339 else \
33340 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
33341 fi; \
33342 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
33343 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
33344 $(NORMAL_TARGET_EXPORTS) \
33345 echo Configuring in $(TARGET_SUBDIR)/gperf; \
33346 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
33347 case $(srcdir) in \
33348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33349 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
33350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33351 esac; \
33352 srcdiroption="--srcdir=$${topdir}/gperf"; \
33353 libsrcdir="$$s/gperf"; \
33354 rm -f no-such-file || : ; \
33355 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33356 $(TARGET_CONFIGARGS) $${srcdiroption} \
33357 || exit 1
33358 @endif target-gperf
33364 .PHONY: all-target-gperf maybe-all-target-gperf
33365 maybe-all-target-gperf:
33366 @if target-gperf
33367 TARGET-target-gperf=all
33368 maybe-all-target-gperf: all-target-gperf
33369 all-target-gperf: configure-target-gperf
33370 @: $(MAKE); $(unstage)
33371 @r=`${PWD_COMMAND}`; export r; \
33372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33373 $(NORMAL_TARGET_EXPORTS) \
33374 (cd $(TARGET_SUBDIR)/gperf && \
33375 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
33376 @endif target-gperf
33382 .PHONY: check-target-gperf maybe-check-target-gperf
33383 maybe-check-target-gperf:
33384 @if target-gperf
33385 maybe-check-target-gperf: check-target-gperf
33387 check-target-gperf:
33388 @: $(MAKE); $(unstage)
33389 @r=`${PWD_COMMAND}`; export r; \
33390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33391 $(NORMAL_TARGET_EXPORTS) \
33392 (cd $(TARGET_SUBDIR)/gperf && \
33393 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33395 @endif target-gperf
33397 .PHONY: install-target-gperf maybe-install-target-gperf
33398 maybe-install-target-gperf:
33399 @if target-gperf
33400 maybe-install-target-gperf: install-target-gperf
33402 install-target-gperf: installdirs
33403 @: $(MAKE); $(unstage)
33404 @r=`${PWD_COMMAND}`; export r; \
33405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33406 $(NORMAL_TARGET_EXPORTS) \
33407 (cd $(TARGET_SUBDIR)/gperf && \
33408 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33410 @endif target-gperf
33412 # Other targets (info, dvi, etc.)
33414 .PHONY: maybe-info-target-gperf info-target-gperf
33415 maybe-info-target-gperf:
33416 @if target-gperf
33417 maybe-info-target-gperf: info-target-gperf
33419 info-target-gperf: \
33420 configure-target-gperf
33421 @: $(MAKE); $(unstage)
33422 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33423 r=`${PWD_COMMAND}`; export r; \
33424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33425 $(NORMAL_TARGET_EXPORTS) \
33426 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
33427 for flag in $(EXTRA_TARGET_FLAGS); do \
33428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33429 done; \
33430 (cd $(TARGET_SUBDIR)/gperf && \
33431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33433 "RANLIB=$${RANLIB}" \
33434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33435 info) \
33436 || exit 1
33438 @endif target-gperf
33440 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
33441 maybe-dvi-target-gperf:
33442 @if target-gperf
33443 maybe-dvi-target-gperf: dvi-target-gperf
33445 dvi-target-gperf: \
33446 configure-target-gperf
33447 @: $(MAKE); $(unstage)
33448 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33449 r=`${PWD_COMMAND}`; export r; \
33450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33451 $(NORMAL_TARGET_EXPORTS) \
33452 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
33453 for flag in $(EXTRA_TARGET_FLAGS); do \
33454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33455 done; \
33456 (cd $(TARGET_SUBDIR)/gperf && \
33457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33459 "RANLIB=$${RANLIB}" \
33460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33461 dvi) \
33462 || exit 1
33464 @endif target-gperf
33466 .PHONY: maybe-html-target-gperf html-target-gperf
33467 maybe-html-target-gperf:
33468 @if target-gperf
33469 maybe-html-target-gperf: html-target-gperf
33471 html-target-gperf: \
33472 configure-target-gperf
33473 @: $(MAKE); $(unstage)
33474 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33475 r=`${PWD_COMMAND}`; export r; \
33476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33477 $(NORMAL_TARGET_EXPORTS) \
33478 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
33479 for flag in $(EXTRA_TARGET_FLAGS); do \
33480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33481 done; \
33482 (cd $(TARGET_SUBDIR)/gperf && \
33483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33485 "RANLIB=$${RANLIB}" \
33486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33487 html) \
33488 || exit 1
33490 @endif target-gperf
33492 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
33493 maybe-TAGS-target-gperf:
33494 @if target-gperf
33495 maybe-TAGS-target-gperf: TAGS-target-gperf
33497 TAGS-target-gperf: \
33498 configure-target-gperf
33499 @: $(MAKE); $(unstage)
33500 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33501 r=`${PWD_COMMAND}`; export r; \
33502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33503 $(NORMAL_TARGET_EXPORTS) \
33504 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
33505 for flag in $(EXTRA_TARGET_FLAGS); do \
33506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33507 done; \
33508 (cd $(TARGET_SUBDIR)/gperf && \
33509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33511 "RANLIB=$${RANLIB}" \
33512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33513 TAGS) \
33514 || exit 1
33516 @endif target-gperf
33518 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
33519 maybe-install-info-target-gperf:
33520 @if target-gperf
33521 maybe-install-info-target-gperf: install-info-target-gperf
33523 install-info-target-gperf: \
33524 configure-target-gperf \
33525 info-target-gperf
33526 @: $(MAKE); $(unstage)
33527 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33528 r=`${PWD_COMMAND}`; export r; \
33529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33530 $(NORMAL_TARGET_EXPORTS) \
33531 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
33532 for flag in $(EXTRA_TARGET_FLAGS); do \
33533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33534 done; \
33535 (cd $(TARGET_SUBDIR)/gperf && \
33536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33538 "RANLIB=$${RANLIB}" \
33539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33540 install-info) \
33541 || exit 1
33543 @endif target-gperf
33545 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
33546 maybe-installcheck-target-gperf:
33547 @if target-gperf
33548 maybe-installcheck-target-gperf: installcheck-target-gperf
33550 installcheck-target-gperf: \
33551 configure-target-gperf
33552 @: $(MAKE); $(unstage)
33553 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33554 r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(NORMAL_TARGET_EXPORTS) \
33557 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
33558 for flag in $(EXTRA_TARGET_FLAGS); do \
33559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33560 done; \
33561 (cd $(TARGET_SUBDIR)/gperf && \
33562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33564 "RANLIB=$${RANLIB}" \
33565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33566 installcheck) \
33567 || exit 1
33569 @endif target-gperf
33571 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
33572 maybe-mostlyclean-target-gperf:
33573 @if target-gperf
33574 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
33576 mostlyclean-target-gperf:
33577 @: $(MAKE); $(unstage)
33578 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33579 r=`${PWD_COMMAND}`; export r; \
33580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33581 $(NORMAL_TARGET_EXPORTS) \
33582 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
33583 for flag in $(EXTRA_TARGET_FLAGS); do \
33584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33585 done; \
33586 (cd $(TARGET_SUBDIR)/gperf && \
33587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33589 "RANLIB=$${RANLIB}" \
33590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33591 mostlyclean) \
33592 || exit 1
33594 @endif target-gperf
33596 .PHONY: maybe-clean-target-gperf clean-target-gperf
33597 maybe-clean-target-gperf:
33598 @if target-gperf
33599 maybe-clean-target-gperf: clean-target-gperf
33601 clean-target-gperf:
33602 @: $(MAKE); $(unstage)
33603 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33604 r=`${PWD_COMMAND}`; export r; \
33605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33606 $(NORMAL_TARGET_EXPORTS) \
33607 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
33608 for flag in $(EXTRA_TARGET_FLAGS); do \
33609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33610 done; \
33611 (cd $(TARGET_SUBDIR)/gperf && \
33612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33614 "RANLIB=$${RANLIB}" \
33615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33616 clean) \
33617 || exit 1
33619 @endif target-gperf
33621 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
33622 maybe-distclean-target-gperf:
33623 @if target-gperf
33624 maybe-distclean-target-gperf: distclean-target-gperf
33626 distclean-target-gperf:
33627 @: $(MAKE); $(unstage)
33628 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33629 r=`${PWD_COMMAND}`; export r; \
33630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33631 $(NORMAL_TARGET_EXPORTS) \
33632 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
33633 for flag in $(EXTRA_TARGET_FLAGS); do \
33634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33635 done; \
33636 (cd $(TARGET_SUBDIR)/gperf && \
33637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33639 "RANLIB=$${RANLIB}" \
33640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33641 distclean) \
33642 || exit 1
33644 @endif target-gperf
33646 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
33647 maybe-maintainer-clean-target-gperf:
33648 @if target-gperf
33649 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
33651 maintainer-clean-target-gperf:
33652 @: $(MAKE); $(unstage)
33653 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
33654 r=`${PWD_COMMAND}`; export r; \
33655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33656 $(NORMAL_TARGET_EXPORTS) \
33657 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
33658 for flag in $(EXTRA_TARGET_FLAGS); do \
33659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33660 done; \
33661 (cd $(TARGET_SUBDIR)/gperf && \
33662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33664 "RANLIB=$${RANLIB}" \
33665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33666 maintainer-clean) \
33667 || exit 1
33669 @endif target-gperf
33675 .PHONY: configure-target-examples maybe-configure-target-examples
33676 maybe-configure-target-examples:
33677 @if target-examples
33678 maybe-configure-target-examples: configure-target-examples
33679 configure-target-examples:
33680 @: $(MAKE); $(unstage)
33681 @r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 echo "Checking multilib configuration for examples..."; \
33684 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33685 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
33686 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
33687 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
33688 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
33689 else \
33690 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
33691 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33692 fi; \
33693 else \
33694 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
33695 fi; \
33696 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
33697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
33698 $(NORMAL_TARGET_EXPORTS) \
33699 echo Configuring in $(TARGET_SUBDIR)/examples; \
33700 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
33701 case $(srcdir) in \
33702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33703 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
33704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33705 esac; \
33706 srcdiroption="--srcdir=$${topdir}/examples"; \
33707 libsrcdir="$$s/examples"; \
33708 rm -f no-such-file || : ; \
33709 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33710 $(TARGET_CONFIGARGS) $${srcdiroption} \
33711 || exit 1
33712 @endif target-examples
33718 .PHONY: all-target-examples maybe-all-target-examples
33719 maybe-all-target-examples:
33720 @if target-examples
33721 TARGET-target-examples=all
33722 maybe-all-target-examples: all-target-examples
33723 all-target-examples: configure-target-examples
33724 @: $(MAKE); $(unstage)
33725 @r=`${PWD_COMMAND}`; export r; \
33726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33727 $(NORMAL_TARGET_EXPORTS) \
33728 (cd $(TARGET_SUBDIR)/examples && \
33729 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
33730 @endif target-examples
33736 .PHONY: check-target-examples maybe-check-target-examples
33737 maybe-check-target-examples:
33738 @if target-examples
33739 maybe-check-target-examples: check-target-examples
33741 # Dummy target for uncheckable module.
33742 check-target-examples:
33744 @endif target-examples
33746 .PHONY: install-target-examples maybe-install-target-examples
33747 maybe-install-target-examples:
33748 @if target-examples
33749 maybe-install-target-examples: install-target-examples
33751 # Dummy target for uninstallable.
33752 install-target-examples:
33754 @endif target-examples
33756 # Other targets (info, dvi, etc.)
33758 .PHONY: maybe-info-target-examples info-target-examples
33759 maybe-info-target-examples:
33760 @if target-examples
33761 maybe-info-target-examples: info-target-examples
33763 info-target-examples: \
33764 configure-target-examples
33765 @: $(MAKE); $(unstage)
33766 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33767 r=`${PWD_COMMAND}`; export r; \
33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33769 $(NORMAL_TARGET_EXPORTS) \
33770 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
33771 for flag in $(EXTRA_TARGET_FLAGS); do \
33772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33773 done; \
33774 (cd $(TARGET_SUBDIR)/examples && \
33775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33777 "RANLIB=$${RANLIB}" \
33778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33779 info) \
33780 || exit 1
33782 @endif target-examples
33784 .PHONY: maybe-dvi-target-examples dvi-target-examples
33785 maybe-dvi-target-examples:
33786 @if target-examples
33787 maybe-dvi-target-examples: dvi-target-examples
33789 dvi-target-examples: \
33790 configure-target-examples
33791 @: $(MAKE); $(unstage)
33792 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33793 r=`${PWD_COMMAND}`; export r; \
33794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33795 $(NORMAL_TARGET_EXPORTS) \
33796 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
33797 for flag in $(EXTRA_TARGET_FLAGS); do \
33798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33799 done; \
33800 (cd $(TARGET_SUBDIR)/examples && \
33801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33803 "RANLIB=$${RANLIB}" \
33804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33805 dvi) \
33806 || exit 1
33808 @endif target-examples
33810 .PHONY: maybe-html-target-examples html-target-examples
33811 maybe-html-target-examples:
33812 @if target-examples
33813 maybe-html-target-examples: html-target-examples
33815 html-target-examples: \
33816 configure-target-examples
33817 @: $(MAKE); $(unstage)
33818 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33819 r=`${PWD_COMMAND}`; export r; \
33820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33821 $(NORMAL_TARGET_EXPORTS) \
33822 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
33823 for flag in $(EXTRA_TARGET_FLAGS); do \
33824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33825 done; \
33826 (cd $(TARGET_SUBDIR)/examples && \
33827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33829 "RANLIB=$${RANLIB}" \
33830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33831 html) \
33832 || exit 1
33834 @endif target-examples
33836 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
33837 maybe-TAGS-target-examples:
33838 @if target-examples
33839 maybe-TAGS-target-examples: TAGS-target-examples
33841 TAGS-target-examples: \
33842 configure-target-examples
33843 @: $(MAKE); $(unstage)
33844 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33845 r=`${PWD_COMMAND}`; export r; \
33846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33847 $(NORMAL_TARGET_EXPORTS) \
33848 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
33849 for flag in $(EXTRA_TARGET_FLAGS); do \
33850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33851 done; \
33852 (cd $(TARGET_SUBDIR)/examples && \
33853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33855 "RANLIB=$${RANLIB}" \
33856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33857 TAGS) \
33858 || exit 1
33860 @endif target-examples
33862 .PHONY: maybe-install-info-target-examples install-info-target-examples
33863 maybe-install-info-target-examples:
33864 @if target-examples
33865 maybe-install-info-target-examples: install-info-target-examples
33867 install-info-target-examples: \
33868 configure-target-examples \
33869 info-target-examples
33870 @: $(MAKE); $(unstage)
33871 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33872 r=`${PWD_COMMAND}`; export r; \
33873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33874 $(NORMAL_TARGET_EXPORTS) \
33875 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
33876 for flag in $(EXTRA_TARGET_FLAGS); do \
33877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33878 done; \
33879 (cd $(TARGET_SUBDIR)/examples && \
33880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33882 "RANLIB=$${RANLIB}" \
33883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33884 install-info) \
33885 || exit 1
33887 @endif target-examples
33889 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
33890 maybe-installcheck-target-examples:
33891 @if target-examples
33892 maybe-installcheck-target-examples: installcheck-target-examples
33894 installcheck-target-examples: \
33895 configure-target-examples
33896 @: $(MAKE); $(unstage)
33897 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33898 r=`${PWD_COMMAND}`; export r; \
33899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33900 $(NORMAL_TARGET_EXPORTS) \
33901 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
33902 for flag in $(EXTRA_TARGET_FLAGS); do \
33903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33904 done; \
33905 (cd $(TARGET_SUBDIR)/examples && \
33906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33908 "RANLIB=$${RANLIB}" \
33909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33910 installcheck) \
33911 || exit 1
33913 @endif target-examples
33915 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
33916 maybe-mostlyclean-target-examples:
33917 @if target-examples
33918 maybe-mostlyclean-target-examples: mostlyclean-target-examples
33920 mostlyclean-target-examples:
33921 @: $(MAKE); $(unstage)
33922 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33923 r=`${PWD_COMMAND}`; export r; \
33924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33925 $(NORMAL_TARGET_EXPORTS) \
33926 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
33927 for flag in $(EXTRA_TARGET_FLAGS); do \
33928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33929 done; \
33930 (cd $(TARGET_SUBDIR)/examples && \
33931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33933 "RANLIB=$${RANLIB}" \
33934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33935 mostlyclean) \
33936 || exit 1
33938 @endif target-examples
33940 .PHONY: maybe-clean-target-examples clean-target-examples
33941 maybe-clean-target-examples:
33942 @if target-examples
33943 maybe-clean-target-examples: clean-target-examples
33945 clean-target-examples:
33946 @: $(MAKE); $(unstage)
33947 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33948 r=`${PWD_COMMAND}`; export r; \
33949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33950 $(NORMAL_TARGET_EXPORTS) \
33951 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
33952 for flag in $(EXTRA_TARGET_FLAGS); do \
33953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33954 done; \
33955 (cd $(TARGET_SUBDIR)/examples && \
33956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33958 "RANLIB=$${RANLIB}" \
33959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33960 clean) \
33961 || exit 1
33963 @endif target-examples
33965 .PHONY: maybe-distclean-target-examples distclean-target-examples
33966 maybe-distclean-target-examples:
33967 @if target-examples
33968 maybe-distclean-target-examples: distclean-target-examples
33970 distclean-target-examples:
33971 @: $(MAKE); $(unstage)
33972 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33973 r=`${PWD_COMMAND}`; export r; \
33974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33975 $(NORMAL_TARGET_EXPORTS) \
33976 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33977 for flag in $(EXTRA_TARGET_FLAGS); do \
33978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33979 done; \
33980 (cd $(TARGET_SUBDIR)/examples && \
33981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33983 "RANLIB=$${RANLIB}" \
33984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33985 distclean) \
33986 || exit 1
33988 @endif target-examples
33990 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33991 maybe-maintainer-clean-target-examples:
33992 @if target-examples
33993 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33995 maintainer-clean-target-examples:
33996 @: $(MAKE); $(unstage)
33997 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(NORMAL_TARGET_EXPORTS) \
34001 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
34002 for flag in $(EXTRA_TARGET_FLAGS); do \
34003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34004 done; \
34005 (cd $(TARGET_SUBDIR)/examples && \
34006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34008 "RANLIB=$${RANLIB}" \
34009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34010 maintainer-clean) \
34011 || exit 1
34013 @endif target-examples
34019 .PHONY: configure-target-libffi maybe-configure-target-libffi
34020 maybe-configure-target-libffi:
34021 @if target-libffi
34022 maybe-configure-target-libffi: configure-target-libffi
34023 configure-target-libffi:
34024 @: $(MAKE); $(unstage)
34025 @r=`${PWD_COMMAND}`; export r; \
34026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34027 echo "Checking multilib configuration for libffi..."; \
34028 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
34029 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
34030 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
34031 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
34032 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
34033 else \
34034 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
34035 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
34036 fi; \
34037 else \
34038 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
34039 fi; \
34040 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
34041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
34042 $(NORMAL_TARGET_EXPORTS) \
34043 echo Configuring in $(TARGET_SUBDIR)/libffi; \
34044 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
34045 case $(srcdir) in \
34046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34047 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
34048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34049 esac; \
34050 srcdiroption="--srcdir=$${topdir}/libffi"; \
34051 libsrcdir="$$s/libffi"; \
34052 rm -f no-such-file || : ; \
34053 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34054 $(TARGET_CONFIGARGS) $${srcdiroption} \
34055 || exit 1
34056 @endif target-libffi
34062 .PHONY: all-target-libffi maybe-all-target-libffi
34063 maybe-all-target-libffi:
34064 @if target-libffi
34065 TARGET-target-libffi=all
34066 maybe-all-target-libffi: all-target-libffi
34067 all-target-libffi: configure-target-libffi
34068 @: $(MAKE); $(unstage)
34069 @r=`${PWD_COMMAND}`; export r; \
34070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34071 $(NORMAL_TARGET_EXPORTS) \
34072 (cd $(TARGET_SUBDIR)/libffi && \
34073 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
34074 @endif target-libffi
34080 .PHONY: check-target-libffi maybe-check-target-libffi
34081 maybe-check-target-libffi:
34082 @if target-libffi
34083 maybe-check-target-libffi: check-target-libffi
34085 check-target-libffi:
34086 @: $(MAKE); $(unstage)
34087 @r=`${PWD_COMMAND}`; export r; \
34088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34089 $(NORMAL_TARGET_EXPORTS) \
34090 (cd $(TARGET_SUBDIR)/libffi && \
34091 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34093 @endif target-libffi
34095 .PHONY: install-target-libffi maybe-install-target-libffi
34096 maybe-install-target-libffi:
34097 @if target-libffi
34098 maybe-install-target-libffi: install-target-libffi
34100 install-target-libffi: installdirs
34101 @: $(MAKE); $(unstage)
34102 @r=`${PWD_COMMAND}`; export r; \
34103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34104 $(NORMAL_TARGET_EXPORTS) \
34105 (cd $(TARGET_SUBDIR)/libffi && \
34106 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34108 @endif target-libffi
34110 # Other targets (info, dvi, etc.)
34112 .PHONY: maybe-info-target-libffi info-target-libffi
34113 maybe-info-target-libffi:
34114 @if target-libffi
34115 maybe-info-target-libffi: info-target-libffi
34117 info-target-libffi: \
34118 configure-target-libffi
34119 @: $(MAKE); $(unstage)
34120 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34121 r=`${PWD_COMMAND}`; export r; \
34122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34123 $(NORMAL_TARGET_EXPORTS) \
34124 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
34125 for flag in $(EXTRA_TARGET_FLAGS); do \
34126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34127 done; \
34128 (cd $(TARGET_SUBDIR)/libffi && \
34129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34131 "RANLIB=$${RANLIB}" \
34132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34133 info) \
34134 || exit 1
34136 @endif target-libffi
34138 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
34139 maybe-dvi-target-libffi:
34140 @if target-libffi
34141 maybe-dvi-target-libffi: dvi-target-libffi
34143 dvi-target-libffi: \
34144 configure-target-libffi
34145 @: $(MAKE); $(unstage)
34146 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34147 r=`${PWD_COMMAND}`; export r; \
34148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34149 $(NORMAL_TARGET_EXPORTS) \
34150 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
34151 for flag in $(EXTRA_TARGET_FLAGS); do \
34152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34153 done; \
34154 (cd $(TARGET_SUBDIR)/libffi && \
34155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34157 "RANLIB=$${RANLIB}" \
34158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34159 dvi) \
34160 || exit 1
34162 @endif target-libffi
34164 .PHONY: maybe-html-target-libffi html-target-libffi
34165 maybe-html-target-libffi:
34166 @if target-libffi
34167 maybe-html-target-libffi: html-target-libffi
34169 html-target-libffi: \
34170 configure-target-libffi
34171 @: $(MAKE); $(unstage)
34172 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34173 r=`${PWD_COMMAND}`; export r; \
34174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34175 $(NORMAL_TARGET_EXPORTS) \
34176 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
34177 for flag in $(EXTRA_TARGET_FLAGS); do \
34178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34179 done; \
34180 (cd $(TARGET_SUBDIR)/libffi && \
34181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34183 "RANLIB=$${RANLIB}" \
34184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34185 html) \
34186 || exit 1
34188 @endif target-libffi
34190 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
34191 maybe-TAGS-target-libffi:
34192 @if target-libffi
34193 maybe-TAGS-target-libffi: TAGS-target-libffi
34195 TAGS-target-libffi: \
34196 configure-target-libffi
34197 @: $(MAKE); $(unstage)
34198 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34199 r=`${PWD_COMMAND}`; export r; \
34200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34201 $(NORMAL_TARGET_EXPORTS) \
34202 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
34203 for flag in $(EXTRA_TARGET_FLAGS); do \
34204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34205 done; \
34206 (cd $(TARGET_SUBDIR)/libffi && \
34207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34209 "RANLIB=$${RANLIB}" \
34210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34211 TAGS) \
34212 || exit 1
34214 @endif target-libffi
34216 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
34217 maybe-install-info-target-libffi:
34218 @if target-libffi
34219 maybe-install-info-target-libffi: install-info-target-libffi
34221 install-info-target-libffi: \
34222 configure-target-libffi \
34223 info-target-libffi
34224 @: $(MAKE); $(unstage)
34225 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34226 r=`${PWD_COMMAND}`; export r; \
34227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34228 $(NORMAL_TARGET_EXPORTS) \
34229 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
34230 for flag in $(EXTRA_TARGET_FLAGS); do \
34231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34232 done; \
34233 (cd $(TARGET_SUBDIR)/libffi && \
34234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34236 "RANLIB=$${RANLIB}" \
34237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34238 install-info) \
34239 || exit 1
34241 @endif target-libffi
34243 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
34244 maybe-installcheck-target-libffi:
34245 @if target-libffi
34246 maybe-installcheck-target-libffi: installcheck-target-libffi
34248 installcheck-target-libffi: \
34249 configure-target-libffi
34250 @: $(MAKE); $(unstage)
34251 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34252 r=`${PWD_COMMAND}`; export r; \
34253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34254 $(NORMAL_TARGET_EXPORTS) \
34255 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
34256 for flag in $(EXTRA_TARGET_FLAGS); do \
34257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34258 done; \
34259 (cd $(TARGET_SUBDIR)/libffi && \
34260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34262 "RANLIB=$${RANLIB}" \
34263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34264 installcheck) \
34265 || exit 1
34267 @endif target-libffi
34269 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
34270 maybe-mostlyclean-target-libffi:
34271 @if target-libffi
34272 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
34274 mostlyclean-target-libffi:
34275 @: $(MAKE); $(unstage)
34276 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34277 r=`${PWD_COMMAND}`; export r; \
34278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34279 $(NORMAL_TARGET_EXPORTS) \
34280 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
34281 for flag in $(EXTRA_TARGET_FLAGS); do \
34282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34283 done; \
34284 (cd $(TARGET_SUBDIR)/libffi && \
34285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34287 "RANLIB=$${RANLIB}" \
34288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34289 mostlyclean) \
34290 || exit 1
34292 @endif target-libffi
34294 .PHONY: maybe-clean-target-libffi clean-target-libffi
34295 maybe-clean-target-libffi:
34296 @if target-libffi
34297 maybe-clean-target-libffi: clean-target-libffi
34299 clean-target-libffi:
34300 @: $(MAKE); $(unstage)
34301 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34302 r=`${PWD_COMMAND}`; export r; \
34303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34304 $(NORMAL_TARGET_EXPORTS) \
34305 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
34306 for flag in $(EXTRA_TARGET_FLAGS); do \
34307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34308 done; \
34309 (cd $(TARGET_SUBDIR)/libffi && \
34310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34312 "RANLIB=$${RANLIB}" \
34313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34314 clean) \
34315 || exit 1
34317 @endif target-libffi
34319 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
34320 maybe-distclean-target-libffi:
34321 @if target-libffi
34322 maybe-distclean-target-libffi: distclean-target-libffi
34324 distclean-target-libffi:
34325 @: $(MAKE); $(unstage)
34326 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34327 r=`${PWD_COMMAND}`; export r; \
34328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34329 $(NORMAL_TARGET_EXPORTS) \
34330 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
34331 for flag in $(EXTRA_TARGET_FLAGS); do \
34332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34333 done; \
34334 (cd $(TARGET_SUBDIR)/libffi && \
34335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34337 "RANLIB=$${RANLIB}" \
34338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34339 distclean) \
34340 || exit 1
34342 @endif target-libffi
34344 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
34345 maybe-maintainer-clean-target-libffi:
34346 @if target-libffi
34347 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
34349 maintainer-clean-target-libffi:
34350 @: $(MAKE); $(unstage)
34351 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
34352 r=`${PWD_COMMAND}`; export r; \
34353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34354 $(NORMAL_TARGET_EXPORTS) \
34355 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
34356 for flag in $(EXTRA_TARGET_FLAGS); do \
34357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34358 done; \
34359 (cd $(TARGET_SUBDIR)/libffi && \
34360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34362 "RANLIB=$${RANLIB}" \
34363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34364 maintainer-clean) \
34365 || exit 1
34367 @endif target-libffi
34373 .PHONY: configure-target-libjava maybe-configure-target-libjava
34374 maybe-configure-target-libjava:
34375 @if target-libjava
34376 maybe-configure-target-libjava: configure-target-libjava
34377 configure-target-libjava:
34378 @: $(MAKE); $(unstage)
34379 @r=`${PWD_COMMAND}`; export r; \
34380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34381 echo "Checking multilib configuration for libjava..."; \
34382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
34383 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
34384 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
34385 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
34386 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
34387 else \
34388 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
34389 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
34390 fi; \
34391 else \
34392 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
34393 fi; \
34394 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
34395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
34396 $(RAW_CXX_TARGET_EXPORTS) \
34397 echo Configuring in $(TARGET_SUBDIR)/libjava; \
34398 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
34399 case $(srcdir) in \
34400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34401 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
34402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34403 esac; \
34404 srcdiroption="--srcdir=$${topdir}/libjava"; \
34405 libsrcdir="$$s/libjava"; \
34406 rm -f no-such-file || : ; \
34407 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34408 $(TARGET_CONFIGARGS) $${srcdiroption} \
34409 || exit 1
34410 @endif target-libjava
34416 .PHONY: all-target-libjava maybe-all-target-libjava
34417 maybe-all-target-libjava:
34418 @if target-libjava
34419 TARGET-target-libjava=all
34420 maybe-all-target-libjava: all-target-libjava
34421 all-target-libjava: configure-target-libjava
34422 @: $(MAKE); $(unstage)
34423 @r=`${PWD_COMMAND}`; export r; \
34424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34425 $(RAW_CXX_TARGET_EXPORTS) \
34426 (cd $(TARGET_SUBDIR)/libjava && \
34427 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
34428 @endif target-libjava
34434 .PHONY: check-target-libjava maybe-check-target-libjava
34435 maybe-check-target-libjava:
34436 @if target-libjava
34437 maybe-check-target-libjava: check-target-libjava
34439 check-target-libjava:
34440 @: $(MAKE); $(unstage)
34441 @r=`${PWD_COMMAND}`; export r; \
34442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34443 $(RAW_CXX_TARGET_EXPORTS) \
34444 (cd $(TARGET_SUBDIR)/libjava && \
34445 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34447 @endif target-libjava
34449 .PHONY: install-target-libjava maybe-install-target-libjava
34450 maybe-install-target-libjava:
34451 @if target-libjava
34452 maybe-install-target-libjava: install-target-libjava
34454 install-target-libjava: installdirs
34455 @: $(MAKE); $(unstage)
34456 @r=`${PWD_COMMAND}`; export r; \
34457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34458 $(RAW_CXX_TARGET_EXPORTS) \
34459 (cd $(TARGET_SUBDIR)/libjava && \
34460 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34462 @endif target-libjava
34464 # Other targets (info, dvi, etc.)
34466 .PHONY: maybe-info-target-libjava info-target-libjava
34467 maybe-info-target-libjava:
34468 @if target-libjava
34469 maybe-info-target-libjava: info-target-libjava
34471 info-target-libjava: \
34472 configure-target-libjava
34473 @: $(MAKE); $(unstage)
34474 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34475 r=`${PWD_COMMAND}`; export r; \
34476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34477 $(RAW_CXX_TARGET_EXPORTS) \
34478 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
34479 for flag in $(EXTRA_TARGET_FLAGS); do \
34480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34481 done; \
34482 (cd $(TARGET_SUBDIR)/libjava && \
34483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34485 "RANLIB=$${RANLIB}" \
34486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34487 info) \
34488 || exit 1
34490 @endif target-libjava
34492 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
34493 maybe-dvi-target-libjava:
34494 @if target-libjava
34495 maybe-dvi-target-libjava: dvi-target-libjava
34497 dvi-target-libjava: \
34498 configure-target-libjava
34499 @: $(MAKE); $(unstage)
34500 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34501 r=`${PWD_COMMAND}`; export r; \
34502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34503 $(RAW_CXX_TARGET_EXPORTS) \
34504 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
34505 for flag in $(EXTRA_TARGET_FLAGS); do \
34506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34507 done; \
34508 (cd $(TARGET_SUBDIR)/libjava && \
34509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34511 "RANLIB=$${RANLIB}" \
34512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34513 dvi) \
34514 || exit 1
34516 @endif target-libjava
34518 .PHONY: maybe-html-target-libjava html-target-libjava
34519 maybe-html-target-libjava:
34520 @if target-libjava
34521 maybe-html-target-libjava: html-target-libjava
34523 html-target-libjava: \
34524 configure-target-libjava
34525 @: $(MAKE); $(unstage)
34526 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34527 r=`${PWD_COMMAND}`; export r; \
34528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34529 $(RAW_CXX_TARGET_EXPORTS) \
34530 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
34531 for flag in $(EXTRA_TARGET_FLAGS); do \
34532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34533 done; \
34534 (cd $(TARGET_SUBDIR)/libjava && \
34535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34537 "RANLIB=$${RANLIB}" \
34538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34539 html) \
34540 || exit 1
34542 @endif target-libjava
34544 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
34545 maybe-TAGS-target-libjava:
34546 @if target-libjava
34547 maybe-TAGS-target-libjava: TAGS-target-libjava
34549 TAGS-target-libjava: \
34550 configure-target-libjava
34551 @: $(MAKE); $(unstage)
34552 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34553 r=`${PWD_COMMAND}`; export r; \
34554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34555 $(RAW_CXX_TARGET_EXPORTS) \
34556 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
34557 for flag in $(EXTRA_TARGET_FLAGS); do \
34558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34559 done; \
34560 (cd $(TARGET_SUBDIR)/libjava && \
34561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34563 "RANLIB=$${RANLIB}" \
34564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34565 TAGS) \
34566 || exit 1
34568 @endif target-libjava
34570 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
34571 maybe-install-info-target-libjava:
34572 @if target-libjava
34573 maybe-install-info-target-libjava: install-info-target-libjava
34575 install-info-target-libjava: \
34576 configure-target-libjava \
34577 info-target-libjava
34578 @: $(MAKE); $(unstage)
34579 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34580 r=`${PWD_COMMAND}`; export r; \
34581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34582 $(RAW_CXX_TARGET_EXPORTS) \
34583 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
34584 for flag in $(EXTRA_TARGET_FLAGS); do \
34585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34586 done; \
34587 (cd $(TARGET_SUBDIR)/libjava && \
34588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34590 "RANLIB=$${RANLIB}" \
34591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34592 install-info) \
34593 || exit 1
34595 @endif target-libjava
34597 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
34598 maybe-installcheck-target-libjava:
34599 @if target-libjava
34600 maybe-installcheck-target-libjava: installcheck-target-libjava
34602 installcheck-target-libjava: \
34603 configure-target-libjava
34604 @: $(MAKE); $(unstage)
34605 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34606 r=`${PWD_COMMAND}`; export r; \
34607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34608 $(RAW_CXX_TARGET_EXPORTS) \
34609 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
34610 for flag in $(EXTRA_TARGET_FLAGS); do \
34611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34612 done; \
34613 (cd $(TARGET_SUBDIR)/libjava && \
34614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34616 "RANLIB=$${RANLIB}" \
34617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34618 installcheck) \
34619 || exit 1
34621 @endif target-libjava
34623 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
34624 maybe-mostlyclean-target-libjava:
34625 @if target-libjava
34626 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
34628 mostlyclean-target-libjava:
34629 @: $(MAKE); $(unstage)
34630 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34631 r=`${PWD_COMMAND}`; export r; \
34632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34633 $(RAW_CXX_TARGET_EXPORTS) \
34634 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
34635 for flag in $(EXTRA_TARGET_FLAGS); do \
34636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34637 done; \
34638 (cd $(TARGET_SUBDIR)/libjava && \
34639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34641 "RANLIB=$${RANLIB}" \
34642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34643 mostlyclean) \
34644 || exit 1
34646 @endif target-libjava
34648 .PHONY: maybe-clean-target-libjava clean-target-libjava
34649 maybe-clean-target-libjava:
34650 @if target-libjava
34651 maybe-clean-target-libjava: clean-target-libjava
34653 clean-target-libjava:
34654 @: $(MAKE); $(unstage)
34655 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34656 r=`${PWD_COMMAND}`; export r; \
34657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34658 $(RAW_CXX_TARGET_EXPORTS) \
34659 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
34660 for flag in $(EXTRA_TARGET_FLAGS); do \
34661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34662 done; \
34663 (cd $(TARGET_SUBDIR)/libjava && \
34664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34666 "RANLIB=$${RANLIB}" \
34667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34668 clean) \
34669 || exit 1
34671 @endif target-libjava
34673 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
34674 maybe-distclean-target-libjava:
34675 @if target-libjava
34676 maybe-distclean-target-libjava: distclean-target-libjava
34678 distclean-target-libjava:
34679 @: $(MAKE); $(unstage)
34680 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34681 r=`${PWD_COMMAND}`; export r; \
34682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34683 $(RAW_CXX_TARGET_EXPORTS) \
34684 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
34685 for flag in $(EXTRA_TARGET_FLAGS); do \
34686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34687 done; \
34688 (cd $(TARGET_SUBDIR)/libjava && \
34689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34691 "RANLIB=$${RANLIB}" \
34692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34693 distclean) \
34694 || exit 1
34696 @endif target-libjava
34698 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
34699 maybe-maintainer-clean-target-libjava:
34700 @if target-libjava
34701 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
34703 maintainer-clean-target-libjava:
34704 @: $(MAKE); $(unstage)
34705 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
34706 r=`${PWD_COMMAND}`; export r; \
34707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34708 $(RAW_CXX_TARGET_EXPORTS) \
34709 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
34710 for flag in $(EXTRA_TARGET_FLAGS); do \
34711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34712 done; \
34713 (cd $(TARGET_SUBDIR)/libjava && \
34714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34716 "RANLIB=$${RANLIB}" \
34717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34718 maintainer-clean) \
34719 || exit 1
34721 @endif target-libjava
34727 .PHONY: configure-target-zlib maybe-configure-target-zlib
34728 maybe-configure-target-zlib:
34729 @if target-zlib
34730 maybe-configure-target-zlib: configure-target-zlib
34731 configure-target-zlib:
34732 @: $(MAKE); $(unstage)
34733 @r=`${PWD_COMMAND}`; export r; \
34734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34735 echo "Checking multilib configuration for zlib..."; \
34736 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34737 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
34738 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
34739 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
34740 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
34741 else \
34742 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
34743 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34744 fi; \
34745 else \
34746 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
34747 fi; \
34748 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
34749 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
34750 $(NORMAL_TARGET_EXPORTS) \
34751 echo Configuring in $(TARGET_SUBDIR)/zlib; \
34752 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
34753 case $(srcdir) in \
34754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34755 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
34756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34757 esac; \
34758 srcdiroption="--srcdir=$${topdir}/zlib"; \
34759 libsrcdir="$$s/zlib"; \
34760 rm -f no-such-file || : ; \
34761 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34762 $(TARGET_CONFIGARGS) $${srcdiroption} \
34763 || exit 1
34764 @endif target-zlib
34770 .PHONY: all-target-zlib maybe-all-target-zlib
34771 maybe-all-target-zlib:
34772 @if target-zlib
34773 TARGET-target-zlib=all
34774 maybe-all-target-zlib: all-target-zlib
34775 all-target-zlib: configure-target-zlib
34776 @: $(MAKE); $(unstage)
34777 @r=`${PWD_COMMAND}`; export r; \
34778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34779 $(NORMAL_TARGET_EXPORTS) \
34780 (cd $(TARGET_SUBDIR)/zlib && \
34781 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
34782 @endif target-zlib
34788 .PHONY: check-target-zlib maybe-check-target-zlib
34789 maybe-check-target-zlib:
34790 @if target-zlib
34791 maybe-check-target-zlib: check-target-zlib
34793 check-target-zlib:
34794 @: $(MAKE); $(unstage)
34795 @r=`${PWD_COMMAND}`; export r; \
34796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34797 $(NORMAL_TARGET_EXPORTS) \
34798 (cd $(TARGET_SUBDIR)/zlib && \
34799 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34801 @endif target-zlib
34803 .PHONY: install-target-zlib maybe-install-target-zlib
34804 maybe-install-target-zlib:
34805 @if target-zlib
34806 maybe-install-target-zlib: install-target-zlib
34808 install-target-zlib: installdirs
34809 @: $(MAKE); $(unstage)
34810 @r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(NORMAL_TARGET_EXPORTS) \
34813 (cd $(TARGET_SUBDIR)/zlib && \
34814 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34816 @endif target-zlib
34818 # Other targets (info, dvi, etc.)
34820 .PHONY: maybe-info-target-zlib info-target-zlib
34821 maybe-info-target-zlib:
34822 @if target-zlib
34823 maybe-info-target-zlib: info-target-zlib
34825 info-target-zlib: \
34826 configure-target-zlib
34827 @: $(MAKE); $(unstage)
34828 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34829 r=`${PWD_COMMAND}`; export r; \
34830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34831 $(NORMAL_TARGET_EXPORTS) \
34832 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
34833 for flag in $(EXTRA_TARGET_FLAGS); do \
34834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34835 done; \
34836 (cd $(TARGET_SUBDIR)/zlib && \
34837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34839 "RANLIB=$${RANLIB}" \
34840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34841 info) \
34842 || exit 1
34844 @endif target-zlib
34846 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
34847 maybe-dvi-target-zlib:
34848 @if target-zlib
34849 maybe-dvi-target-zlib: dvi-target-zlib
34851 dvi-target-zlib: \
34852 configure-target-zlib
34853 @: $(MAKE); $(unstage)
34854 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34855 r=`${PWD_COMMAND}`; export r; \
34856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34857 $(NORMAL_TARGET_EXPORTS) \
34858 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
34859 for flag in $(EXTRA_TARGET_FLAGS); do \
34860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34861 done; \
34862 (cd $(TARGET_SUBDIR)/zlib && \
34863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34865 "RANLIB=$${RANLIB}" \
34866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34867 dvi) \
34868 || exit 1
34870 @endif target-zlib
34872 .PHONY: maybe-html-target-zlib html-target-zlib
34873 maybe-html-target-zlib:
34874 @if target-zlib
34875 maybe-html-target-zlib: html-target-zlib
34877 html-target-zlib: \
34878 configure-target-zlib
34879 @: $(MAKE); $(unstage)
34880 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34881 r=`${PWD_COMMAND}`; export r; \
34882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34883 $(NORMAL_TARGET_EXPORTS) \
34884 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
34885 for flag in $(EXTRA_TARGET_FLAGS); do \
34886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34887 done; \
34888 (cd $(TARGET_SUBDIR)/zlib && \
34889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34891 "RANLIB=$${RANLIB}" \
34892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34893 html) \
34894 || exit 1
34896 @endif target-zlib
34898 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
34899 maybe-TAGS-target-zlib:
34900 @if target-zlib
34901 maybe-TAGS-target-zlib: TAGS-target-zlib
34903 TAGS-target-zlib: \
34904 configure-target-zlib
34905 @: $(MAKE); $(unstage)
34906 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34907 r=`${PWD_COMMAND}`; export r; \
34908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34909 $(NORMAL_TARGET_EXPORTS) \
34910 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
34911 for flag in $(EXTRA_TARGET_FLAGS); do \
34912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34913 done; \
34914 (cd $(TARGET_SUBDIR)/zlib && \
34915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34917 "RANLIB=$${RANLIB}" \
34918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34919 TAGS) \
34920 || exit 1
34922 @endif target-zlib
34924 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
34925 maybe-install-info-target-zlib:
34926 @if target-zlib
34927 maybe-install-info-target-zlib: install-info-target-zlib
34929 install-info-target-zlib: \
34930 configure-target-zlib \
34931 info-target-zlib
34932 @: $(MAKE); $(unstage)
34933 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34934 r=`${PWD_COMMAND}`; export r; \
34935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34936 $(NORMAL_TARGET_EXPORTS) \
34937 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
34938 for flag in $(EXTRA_TARGET_FLAGS); do \
34939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34940 done; \
34941 (cd $(TARGET_SUBDIR)/zlib && \
34942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34944 "RANLIB=$${RANLIB}" \
34945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34946 install-info) \
34947 || exit 1
34949 @endif target-zlib
34951 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34952 maybe-installcheck-target-zlib:
34953 @if target-zlib
34954 maybe-installcheck-target-zlib: installcheck-target-zlib
34956 installcheck-target-zlib: \
34957 configure-target-zlib
34958 @: $(MAKE); $(unstage)
34959 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34960 r=`${PWD_COMMAND}`; export r; \
34961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34962 $(NORMAL_TARGET_EXPORTS) \
34963 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34964 for flag in $(EXTRA_TARGET_FLAGS); do \
34965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34966 done; \
34967 (cd $(TARGET_SUBDIR)/zlib && \
34968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34970 "RANLIB=$${RANLIB}" \
34971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34972 installcheck) \
34973 || exit 1
34975 @endif target-zlib
34977 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34978 maybe-mostlyclean-target-zlib:
34979 @if target-zlib
34980 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34982 mostlyclean-target-zlib:
34983 @: $(MAKE); $(unstage)
34984 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34985 r=`${PWD_COMMAND}`; export r; \
34986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34987 $(NORMAL_TARGET_EXPORTS) \
34988 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34989 for flag in $(EXTRA_TARGET_FLAGS); do \
34990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34991 done; \
34992 (cd $(TARGET_SUBDIR)/zlib && \
34993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34995 "RANLIB=$${RANLIB}" \
34996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34997 mostlyclean) \
34998 || exit 1
35000 @endif target-zlib
35002 .PHONY: maybe-clean-target-zlib clean-target-zlib
35003 maybe-clean-target-zlib:
35004 @if target-zlib
35005 maybe-clean-target-zlib: clean-target-zlib
35007 clean-target-zlib:
35008 @: $(MAKE); $(unstage)
35009 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
35010 r=`${PWD_COMMAND}`; export r; \
35011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35012 $(NORMAL_TARGET_EXPORTS) \
35013 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
35014 for flag in $(EXTRA_TARGET_FLAGS); do \
35015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35016 done; \
35017 (cd $(TARGET_SUBDIR)/zlib && \
35018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35020 "RANLIB=$${RANLIB}" \
35021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35022 clean) \
35023 || exit 1
35025 @endif target-zlib
35027 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
35028 maybe-distclean-target-zlib:
35029 @if target-zlib
35030 maybe-distclean-target-zlib: distclean-target-zlib
35032 distclean-target-zlib:
35033 @: $(MAKE); $(unstage)
35034 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
35035 r=`${PWD_COMMAND}`; export r; \
35036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35037 $(NORMAL_TARGET_EXPORTS) \
35038 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
35039 for flag in $(EXTRA_TARGET_FLAGS); do \
35040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35041 done; \
35042 (cd $(TARGET_SUBDIR)/zlib && \
35043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35045 "RANLIB=$${RANLIB}" \
35046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35047 distclean) \
35048 || exit 1
35050 @endif target-zlib
35052 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
35053 maybe-maintainer-clean-target-zlib:
35054 @if target-zlib
35055 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
35057 maintainer-clean-target-zlib:
35058 @: $(MAKE); $(unstage)
35059 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
35060 r=`${PWD_COMMAND}`; export r; \
35061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35062 $(NORMAL_TARGET_EXPORTS) \
35063 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
35064 for flag in $(EXTRA_TARGET_FLAGS); do \
35065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35066 done; \
35067 (cd $(TARGET_SUBDIR)/zlib && \
35068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35070 "RANLIB=$${RANLIB}" \
35071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35072 maintainer-clean) \
35073 || exit 1
35075 @endif target-zlib
35081 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
35082 maybe-configure-target-boehm-gc:
35083 @if target-boehm-gc
35084 maybe-configure-target-boehm-gc: configure-target-boehm-gc
35085 configure-target-boehm-gc:
35086 @: $(MAKE); $(unstage)
35087 @r=`${PWD_COMMAND}`; export r; \
35088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35089 echo "Checking multilib configuration for boehm-gc..."; \
35090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
35091 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
35092 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
35093 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
35094 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
35095 else \
35096 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
35097 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
35098 fi; \
35099 else \
35100 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
35101 fi; \
35102 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
35103 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
35104 $(NORMAL_TARGET_EXPORTS) \
35105 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
35106 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
35107 case $(srcdir) in \
35108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35109 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
35110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35111 esac; \
35112 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
35113 libsrcdir="$$s/boehm-gc"; \
35114 rm -f no-such-file || : ; \
35115 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35116 $(TARGET_CONFIGARGS) $${srcdiroption} \
35117 || exit 1
35118 @endif target-boehm-gc
35124 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
35125 maybe-all-target-boehm-gc:
35126 @if target-boehm-gc
35127 TARGET-target-boehm-gc=all
35128 maybe-all-target-boehm-gc: all-target-boehm-gc
35129 all-target-boehm-gc: configure-target-boehm-gc
35130 @: $(MAKE); $(unstage)
35131 @r=`${PWD_COMMAND}`; export r; \
35132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35133 $(NORMAL_TARGET_EXPORTS) \
35134 (cd $(TARGET_SUBDIR)/boehm-gc && \
35135 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
35136 @endif target-boehm-gc
35142 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
35143 maybe-check-target-boehm-gc:
35144 @if target-boehm-gc
35145 maybe-check-target-boehm-gc: check-target-boehm-gc
35147 check-target-boehm-gc:
35148 @: $(MAKE); $(unstage)
35149 @r=`${PWD_COMMAND}`; export r; \
35150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35151 $(NORMAL_TARGET_EXPORTS) \
35152 (cd $(TARGET_SUBDIR)/boehm-gc && \
35153 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35155 @endif target-boehm-gc
35157 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
35158 maybe-install-target-boehm-gc:
35159 @if target-boehm-gc
35160 maybe-install-target-boehm-gc: install-target-boehm-gc
35162 install-target-boehm-gc: installdirs
35163 @: $(MAKE); $(unstage)
35164 @r=`${PWD_COMMAND}`; export r; \
35165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35166 $(NORMAL_TARGET_EXPORTS) \
35167 (cd $(TARGET_SUBDIR)/boehm-gc && \
35168 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35170 @endif target-boehm-gc
35172 # Other targets (info, dvi, etc.)
35174 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
35175 maybe-info-target-boehm-gc:
35176 @if target-boehm-gc
35177 maybe-info-target-boehm-gc: info-target-boehm-gc
35179 info-target-boehm-gc: \
35180 configure-target-boehm-gc
35181 @: $(MAKE); $(unstage)
35182 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35183 r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 $(NORMAL_TARGET_EXPORTS) \
35186 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
35187 for flag in $(EXTRA_TARGET_FLAGS); do \
35188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35189 done; \
35190 (cd $(TARGET_SUBDIR)/boehm-gc && \
35191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35193 "RANLIB=$${RANLIB}" \
35194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35195 info) \
35196 || exit 1
35198 @endif target-boehm-gc
35200 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
35201 maybe-dvi-target-boehm-gc:
35202 @if target-boehm-gc
35203 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
35205 dvi-target-boehm-gc: \
35206 configure-target-boehm-gc
35207 @: $(MAKE); $(unstage)
35208 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35209 r=`${PWD_COMMAND}`; export r; \
35210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35211 $(NORMAL_TARGET_EXPORTS) \
35212 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
35213 for flag in $(EXTRA_TARGET_FLAGS); do \
35214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35215 done; \
35216 (cd $(TARGET_SUBDIR)/boehm-gc && \
35217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35219 "RANLIB=$${RANLIB}" \
35220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35221 dvi) \
35222 || exit 1
35224 @endif target-boehm-gc
35226 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
35227 maybe-html-target-boehm-gc:
35228 @if target-boehm-gc
35229 maybe-html-target-boehm-gc: html-target-boehm-gc
35231 html-target-boehm-gc: \
35232 configure-target-boehm-gc
35233 @: $(MAKE); $(unstage)
35234 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35235 r=`${PWD_COMMAND}`; export r; \
35236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35237 $(NORMAL_TARGET_EXPORTS) \
35238 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
35239 for flag in $(EXTRA_TARGET_FLAGS); do \
35240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35241 done; \
35242 (cd $(TARGET_SUBDIR)/boehm-gc && \
35243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35245 "RANLIB=$${RANLIB}" \
35246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35247 html) \
35248 || exit 1
35250 @endif target-boehm-gc
35252 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
35253 maybe-TAGS-target-boehm-gc:
35254 @if target-boehm-gc
35255 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
35257 TAGS-target-boehm-gc: \
35258 configure-target-boehm-gc
35259 @: $(MAKE); $(unstage)
35260 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35261 r=`${PWD_COMMAND}`; export r; \
35262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35263 $(NORMAL_TARGET_EXPORTS) \
35264 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
35265 for flag in $(EXTRA_TARGET_FLAGS); do \
35266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35267 done; \
35268 (cd $(TARGET_SUBDIR)/boehm-gc && \
35269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35271 "RANLIB=$${RANLIB}" \
35272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35273 TAGS) \
35274 || exit 1
35276 @endif target-boehm-gc
35278 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
35279 maybe-install-info-target-boehm-gc:
35280 @if target-boehm-gc
35281 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
35283 install-info-target-boehm-gc: \
35284 configure-target-boehm-gc \
35285 info-target-boehm-gc
35286 @: $(MAKE); $(unstage)
35287 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35288 r=`${PWD_COMMAND}`; export r; \
35289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35290 $(NORMAL_TARGET_EXPORTS) \
35291 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
35292 for flag in $(EXTRA_TARGET_FLAGS); do \
35293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35294 done; \
35295 (cd $(TARGET_SUBDIR)/boehm-gc && \
35296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35298 "RANLIB=$${RANLIB}" \
35299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35300 install-info) \
35301 || exit 1
35303 @endif target-boehm-gc
35305 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
35306 maybe-installcheck-target-boehm-gc:
35307 @if target-boehm-gc
35308 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
35310 installcheck-target-boehm-gc: \
35311 configure-target-boehm-gc
35312 @: $(MAKE); $(unstage)
35313 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35314 r=`${PWD_COMMAND}`; export r; \
35315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35316 $(NORMAL_TARGET_EXPORTS) \
35317 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
35318 for flag in $(EXTRA_TARGET_FLAGS); do \
35319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35320 done; \
35321 (cd $(TARGET_SUBDIR)/boehm-gc && \
35322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35324 "RANLIB=$${RANLIB}" \
35325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35326 installcheck) \
35327 || exit 1
35329 @endif target-boehm-gc
35331 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
35332 maybe-mostlyclean-target-boehm-gc:
35333 @if target-boehm-gc
35334 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
35336 mostlyclean-target-boehm-gc:
35337 @: $(MAKE); $(unstage)
35338 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35339 r=`${PWD_COMMAND}`; export r; \
35340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35341 $(NORMAL_TARGET_EXPORTS) \
35342 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
35343 for flag in $(EXTRA_TARGET_FLAGS); do \
35344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35345 done; \
35346 (cd $(TARGET_SUBDIR)/boehm-gc && \
35347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35349 "RANLIB=$${RANLIB}" \
35350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35351 mostlyclean) \
35352 || exit 1
35354 @endif target-boehm-gc
35356 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
35357 maybe-clean-target-boehm-gc:
35358 @if target-boehm-gc
35359 maybe-clean-target-boehm-gc: clean-target-boehm-gc
35361 clean-target-boehm-gc:
35362 @: $(MAKE); $(unstage)
35363 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35364 r=`${PWD_COMMAND}`; export r; \
35365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35366 $(NORMAL_TARGET_EXPORTS) \
35367 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
35368 for flag in $(EXTRA_TARGET_FLAGS); do \
35369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35370 done; \
35371 (cd $(TARGET_SUBDIR)/boehm-gc && \
35372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35374 "RANLIB=$${RANLIB}" \
35375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35376 clean) \
35377 || exit 1
35379 @endif target-boehm-gc
35381 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
35382 maybe-distclean-target-boehm-gc:
35383 @if target-boehm-gc
35384 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
35386 distclean-target-boehm-gc:
35387 @: $(MAKE); $(unstage)
35388 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35389 r=`${PWD_COMMAND}`; export r; \
35390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35391 $(NORMAL_TARGET_EXPORTS) \
35392 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
35393 for flag in $(EXTRA_TARGET_FLAGS); do \
35394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35395 done; \
35396 (cd $(TARGET_SUBDIR)/boehm-gc && \
35397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35399 "RANLIB=$${RANLIB}" \
35400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35401 distclean) \
35402 || exit 1
35404 @endif target-boehm-gc
35406 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
35407 maybe-maintainer-clean-target-boehm-gc:
35408 @if target-boehm-gc
35409 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
35411 maintainer-clean-target-boehm-gc:
35412 @: $(MAKE); $(unstage)
35413 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
35414 r=`${PWD_COMMAND}`; export r; \
35415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35416 $(NORMAL_TARGET_EXPORTS) \
35417 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
35418 for flag in $(EXTRA_TARGET_FLAGS); do \
35419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35420 done; \
35421 (cd $(TARGET_SUBDIR)/boehm-gc && \
35422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35424 "RANLIB=$${RANLIB}" \
35425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35426 maintainer-clean) \
35427 || exit 1
35429 @endif target-boehm-gc
35435 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
35436 maybe-configure-target-qthreads:
35437 @if target-qthreads
35438 maybe-configure-target-qthreads: configure-target-qthreads
35439 configure-target-qthreads:
35440 @: $(MAKE); $(unstage)
35441 @r=`${PWD_COMMAND}`; export r; \
35442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35443 echo "Checking multilib configuration for qthreads..."; \
35444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
35445 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
35446 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
35447 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
35448 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
35449 else \
35450 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
35451 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
35452 fi; \
35453 else \
35454 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
35455 fi; \
35456 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
35457 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
35458 $(NORMAL_TARGET_EXPORTS) \
35459 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
35460 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
35461 case $(srcdir) in \
35462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35463 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
35464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35465 esac; \
35466 srcdiroption="--srcdir=$${topdir}/qthreads"; \
35467 libsrcdir="$$s/qthreads"; \
35468 rm -f no-such-file || : ; \
35469 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35470 $(TARGET_CONFIGARGS) $${srcdiroption} \
35471 || exit 1
35472 @endif target-qthreads
35478 .PHONY: all-target-qthreads maybe-all-target-qthreads
35479 maybe-all-target-qthreads:
35480 @if target-qthreads
35481 TARGET-target-qthreads=all
35482 maybe-all-target-qthreads: all-target-qthreads
35483 all-target-qthreads: configure-target-qthreads
35484 @: $(MAKE); $(unstage)
35485 @r=`${PWD_COMMAND}`; export r; \
35486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35487 $(NORMAL_TARGET_EXPORTS) \
35488 (cd $(TARGET_SUBDIR)/qthreads && \
35489 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
35490 @endif target-qthreads
35496 .PHONY: check-target-qthreads maybe-check-target-qthreads
35497 maybe-check-target-qthreads:
35498 @if target-qthreads
35499 maybe-check-target-qthreads: check-target-qthreads
35501 check-target-qthreads:
35502 @: $(MAKE); $(unstage)
35503 @r=`${PWD_COMMAND}`; export r; \
35504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35505 $(NORMAL_TARGET_EXPORTS) \
35506 (cd $(TARGET_SUBDIR)/qthreads && \
35507 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35509 @endif target-qthreads
35511 .PHONY: install-target-qthreads maybe-install-target-qthreads
35512 maybe-install-target-qthreads:
35513 @if target-qthreads
35514 maybe-install-target-qthreads: install-target-qthreads
35516 install-target-qthreads: installdirs
35517 @: $(MAKE); $(unstage)
35518 @r=`${PWD_COMMAND}`; export r; \
35519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35520 $(NORMAL_TARGET_EXPORTS) \
35521 (cd $(TARGET_SUBDIR)/qthreads && \
35522 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35524 @endif target-qthreads
35526 # Other targets (info, dvi, etc.)
35528 .PHONY: maybe-info-target-qthreads info-target-qthreads
35529 maybe-info-target-qthreads:
35530 @if target-qthreads
35531 maybe-info-target-qthreads: info-target-qthreads
35533 info-target-qthreads: \
35534 configure-target-qthreads
35535 @: $(MAKE); $(unstage)
35536 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35537 r=`${PWD_COMMAND}`; export r; \
35538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35539 $(NORMAL_TARGET_EXPORTS) \
35540 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
35541 for flag in $(EXTRA_TARGET_FLAGS); do \
35542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35543 done; \
35544 (cd $(TARGET_SUBDIR)/qthreads && \
35545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35547 "RANLIB=$${RANLIB}" \
35548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35549 info) \
35550 || exit 1
35552 @endif target-qthreads
35554 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
35555 maybe-dvi-target-qthreads:
35556 @if target-qthreads
35557 maybe-dvi-target-qthreads: dvi-target-qthreads
35559 dvi-target-qthreads: \
35560 configure-target-qthreads
35561 @: $(MAKE); $(unstage)
35562 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35563 r=`${PWD_COMMAND}`; export r; \
35564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35565 $(NORMAL_TARGET_EXPORTS) \
35566 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
35567 for flag in $(EXTRA_TARGET_FLAGS); do \
35568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35569 done; \
35570 (cd $(TARGET_SUBDIR)/qthreads && \
35571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35573 "RANLIB=$${RANLIB}" \
35574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35575 dvi) \
35576 || exit 1
35578 @endif target-qthreads
35580 .PHONY: maybe-html-target-qthreads html-target-qthreads
35581 maybe-html-target-qthreads:
35582 @if target-qthreads
35583 maybe-html-target-qthreads: html-target-qthreads
35585 html-target-qthreads: \
35586 configure-target-qthreads
35587 @: $(MAKE); $(unstage)
35588 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35589 r=`${PWD_COMMAND}`; export r; \
35590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35591 $(NORMAL_TARGET_EXPORTS) \
35592 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
35593 for flag in $(EXTRA_TARGET_FLAGS); do \
35594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35595 done; \
35596 (cd $(TARGET_SUBDIR)/qthreads && \
35597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35599 "RANLIB=$${RANLIB}" \
35600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35601 html) \
35602 || exit 1
35604 @endif target-qthreads
35606 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
35607 maybe-TAGS-target-qthreads:
35608 @if target-qthreads
35609 maybe-TAGS-target-qthreads: TAGS-target-qthreads
35611 TAGS-target-qthreads: \
35612 configure-target-qthreads
35613 @: $(MAKE); $(unstage)
35614 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35615 r=`${PWD_COMMAND}`; export r; \
35616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35617 $(NORMAL_TARGET_EXPORTS) \
35618 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
35619 for flag in $(EXTRA_TARGET_FLAGS); do \
35620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35621 done; \
35622 (cd $(TARGET_SUBDIR)/qthreads && \
35623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35625 "RANLIB=$${RANLIB}" \
35626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35627 TAGS) \
35628 || exit 1
35630 @endif target-qthreads
35632 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
35633 maybe-install-info-target-qthreads:
35634 @if target-qthreads
35635 maybe-install-info-target-qthreads: install-info-target-qthreads
35637 install-info-target-qthreads: \
35638 configure-target-qthreads \
35639 info-target-qthreads
35640 @: $(MAKE); $(unstage)
35641 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35642 r=`${PWD_COMMAND}`; export r; \
35643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35644 $(NORMAL_TARGET_EXPORTS) \
35645 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
35646 for flag in $(EXTRA_TARGET_FLAGS); do \
35647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35648 done; \
35649 (cd $(TARGET_SUBDIR)/qthreads && \
35650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35652 "RANLIB=$${RANLIB}" \
35653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35654 install-info) \
35655 || exit 1
35657 @endif target-qthreads
35659 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
35660 maybe-installcheck-target-qthreads:
35661 @if target-qthreads
35662 maybe-installcheck-target-qthreads: installcheck-target-qthreads
35664 installcheck-target-qthreads: \
35665 configure-target-qthreads
35666 @: $(MAKE); $(unstage)
35667 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35668 r=`${PWD_COMMAND}`; export r; \
35669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35670 $(NORMAL_TARGET_EXPORTS) \
35671 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
35672 for flag in $(EXTRA_TARGET_FLAGS); do \
35673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35674 done; \
35675 (cd $(TARGET_SUBDIR)/qthreads && \
35676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35678 "RANLIB=$${RANLIB}" \
35679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35680 installcheck) \
35681 || exit 1
35683 @endif target-qthreads
35685 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
35686 maybe-mostlyclean-target-qthreads:
35687 @if target-qthreads
35688 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
35690 mostlyclean-target-qthreads:
35691 @: $(MAKE); $(unstage)
35692 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35693 r=`${PWD_COMMAND}`; export r; \
35694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35695 $(NORMAL_TARGET_EXPORTS) \
35696 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
35697 for flag in $(EXTRA_TARGET_FLAGS); do \
35698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35699 done; \
35700 (cd $(TARGET_SUBDIR)/qthreads && \
35701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35703 "RANLIB=$${RANLIB}" \
35704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35705 mostlyclean) \
35706 || exit 1
35708 @endif target-qthreads
35710 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
35711 maybe-clean-target-qthreads:
35712 @if target-qthreads
35713 maybe-clean-target-qthreads: clean-target-qthreads
35715 clean-target-qthreads:
35716 @: $(MAKE); $(unstage)
35717 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35718 r=`${PWD_COMMAND}`; export r; \
35719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35720 $(NORMAL_TARGET_EXPORTS) \
35721 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
35722 for flag in $(EXTRA_TARGET_FLAGS); do \
35723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35724 done; \
35725 (cd $(TARGET_SUBDIR)/qthreads && \
35726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35728 "RANLIB=$${RANLIB}" \
35729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35730 clean) \
35731 || exit 1
35733 @endif target-qthreads
35735 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
35736 maybe-distclean-target-qthreads:
35737 @if target-qthreads
35738 maybe-distclean-target-qthreads: distclean-target-qthreads
35740 distclean-target-qthreads:
35741 @: $(MAKE); $(unstage)
35742 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35743 r=`${PWD_COMMAND}`; export r; \
35744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35745 $(NORMAL_TARGET_EXPORTS) \
35746 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
35747 for flag in $(EXTRA_TARGET_FLAGS); do \
35748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35749 done; \
35750 (cd $(TARGET_SUBDIR)/qthreads && \
35751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35753 "RANLIB=$${RANLIB}" \
35754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35755 distclean) \
35756 || exit 1
35758 @endif target-qthreads
35760 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
35761 maybe-maintainer-clean-target-qthreads:
35762 @if target-qthreads
35763 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
35765 maintainer-clean-target-qthreads:
35766 @: $(MAKE); $(unstage)
35767 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
35768 r=`${PWD_COMMAND}`; export r; \
35769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35770 $(NORMAL_TARGET_EXPORTS) \
35771 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
35772 for flag in $(EXTRA_TARGET_FLAGS); do \
35773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35774 done; \
35775 (cd $(TARGET_SUBDIR)/qthreads && \
35776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35778 "RANLIB=$${RANLIB}" \
35779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35780 maintainer-clean) \
35781 || exit 1
35783 @endif target-qthreads
35789 .PHONY: configure-target-rda maybe-configure-target-rda
35790 maybe-configure-target-rda:
35791 @if target-rda
35792 maybe-configure-target-rda: configure-target-rda
35793 configure-target-rda:
35794 @: $(MAKE); $(unstage)
35795 @r=`${PWD_COMMAND}`; export r; \
35796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35797 echo "Checking multilib configuration for rda..."; \
35798 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35799 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
35800 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
35801 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
35802 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
35803 else \
35804 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
35805 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35806 fi; \
35807 else \
35808 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
35809 fi; \
35810 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
35811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
35812 $(NORMAL_TARGET_EXPORTS) \
35813 echo Configuring in $(TARGET_SUBDIR)/rda; \
35814 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
35815 case $(srcdir) in \
35816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35817 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
35818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35819 esac; \
35820 srcdiroption="--srcdir=$${topdir}/rda"; \
35821 libsrcdir="$$s/rda"; \
35822 rm -f no-such-file || : ; \
35823 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35824 $(TARGET_CONFIGARGS) $${srcdiroption} \
35825 || exit 1
35826 @endif target-rda
35832 .PHONY: all-target-rda maybe-all-target-rda
35833 maybe-all-target-rda:
35834 @if target-rda
35835 TARGET-target-rda=all
35836 maybe-all-target-rda: all-target-rda
35837 all-target-rda: configure-target-rda
35838 @: $(MAKE); $(unstage)
35839 @r=`${PWD_COMMAND}`; export r; \
35840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35841 $(NORMAL_TARGET_EXPORTS) \
35842 (cd $(TARGET_SUBDIR)/rda && \
35843 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
35844 @endif target-rda
35850 .PHONY: check-target-rda maybe-check-target-rda
35851 maybe-check-target-rda:
35852 @if target-rda
35853 maybe-check-target-rda: check-target-rda
35855 check-target-rda:
35856 @: $(MAKE); $(unstage)
35857 @r=`${PWD_COMMAND}`; export r; \
35858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35859 $(NORMAL_TARGET_EXPORTS) \
35860 (cd $(TARGET_SUBDIR)/rda && \
35861 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35863 @endif target-rda
35865 .PHONY: install-target-rda maybe-install-target-rda
35866 maybe-install-target-rda:
35867 @if target-rda
35868 maybe-install-target-rda: install-target-rda
35870 install-target-rda: installdirs
35871 @: $(MAKE); $(unstage)
35872 @r=`${PWD_COMMAND}`; export r; \
35873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35874 $(NORMAL_TARGET_EXPORTS) \
35875 (cd $(TARGET_SUBDIR)/rda && \
35876 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35878 @endif target-rda
35880 # Other targets (info, dvi, etc.)
35882 .PHONY: maybe-info-target-rda info-target-rda
35883 maybe-info-target-rda:
35884 @if target-rda
35885 maybe-info-target-rda: info-target-rda
35887 info-target-rda: \
35888 configure-target-rda
35889 @: $(MAKE); $(unstage)
35890 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35891 r=`${PWD_COMMAND}`; export r; \
35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35893 $(NORMAL_TARGET_EXPORTS) \
35894 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
35895 for flag in $(EXTRA_TARGET_FLAGS); do \
35896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35897 done; \
35898 (cd $(TARGET_SUBDIR)/rda && \
35899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35901 "RANLIB=$${RANLIB}" \
35902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35903 info) \
35904 || exit 1
35906 @endif target-rda
35908 .PHONY: maybe-dvi-target-rda dvi-target-rda
35909 maybe-dvi-target-rda:
35910 @if target-rda
35911 maybe-dvi-target-rda: dvi-target-rda
35913 dvi-target-rda: \
35914 configure-target-rda
35915 @: $(MAKE); $(unstage)
35916 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35917 r=`${PWD_COMMAND}`; export r; \
35918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35919 $(NORMAL_TARGET_EXPORTS) \
35920 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
35921 for flag in $(EXTRA_TARGET_FLAGS); do \
35922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35923 done; \
35924 (cd $(TARGET_SUBDIR)/rda && \
35925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35927 "RANLIB=$${RANLIB}" \
35928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35929 dvi) \
35930 || exit 1
35932 @endif target-rda
35934 .PHONY: maybe-html-target-rda html-target-rda
35935 maybe-html-target-rda:
35936 @if target-rda
35937 maybe-html-target-rda: html-target-rda
35939 html-target-rda: \
35940 configure-target-rda
35941 @: $(MAKE); $(unstage)
35942 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35943 r=`${PWD_COMMAND}`; export r; \
35944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35945 $(NORMAL_TARGET_EXPORTS) \
35946 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35947 for flag in $(EXTRA_TARGET_FLAGS); do \
35948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35949 done; \
35950 (cd $(TARGET_SUBDIR)/rda && \
35951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35953 "RANLIB=$${RANLIB}" \
35954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35955 html) \
35956 || exit 1
35958 @endif target-rda
35960 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35961 maybe-TAGS-target-rda:
35962 @if target-rda
35963 maybe-TAGS-target-rda: TAGS-target-rda
35965 TAGS-target-rda: \
35966 configure-target-rda
35967 @: $(MAKE); $(unstage)
35968 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35969 r=`${PWD_COMMAND}`; export r; \
35970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35971 $(NORMAL_TARGET_EXPORTS) \
35972 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35973 for flag in $(EXTRA_TARGET_FLAGS); do \
35974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35975 done; \
35976 (cd $(TARGET_SUBDIR)/rda && \
35977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35979 "RANLIB=$${RANLIB}" \
35980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35981 TAGS) \
35982 || exit 1
35984 @endif target-rda
35986 .PHONY: maybe-install-info-target-rda install-info-target-rda
35987 maybe-install-info-target-rda:
35988 @if target-rda
35989 maybe-install-info-target-rda: install-info-target-rda
35991 install-info-target-rda: \
35992 configure-target-rda \
35993 info-target-rda
35994 @: $(MAKE); $(unstage)
35995 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35996 r=`${PWD_COMMAND}`; export r; \
35997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35998 $(NORMAL_TARGET_EXPORTS) \
35999 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
36000 for flag in $(EXTRA_TARGET_FLAGS); do \
36001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36002 done; \
36003 (cd $(TARGET_SUBDIR)/rda && \
36004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36006 "RANLIB=$${RANLIB}" \
36007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36008 install-info) \
36009 || exit 1
36011 @endif target-rda
36013 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
36014 maybe-installcheck-target-rda:
36015 @if target-rda
36016 maybe-installcheck-target-rda: installcheck-target-rda
36018 installcheck-target-rda: \
36019 configure-target-rda
36020 @: $(MAKE); $(unstage)
36021 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
36022 r=`${PWD_COMMAND}`; export r; \
36023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36024 $(NORMAL_TARGET_EXPORTS) \
36025 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
36026 for flag in $(EXTRA_TARGET_FLAGS); do \
36027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36028 done; \
36029 (cd $(TARGET_SUBDIR)/rda && \
36030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36032 "RANLIB=$${RANLIB}" \
36033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36034 installcheck) \
36035 || exit 1
36037 @endif target-rda
36039 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
36040 maybe-mostlyclean-target-rda:
36041 @if target-rda
36042 maybe-mostlyclean-target-rda: mostlyclean-target-rda
36044 mostlyclean-target-rda:
36045 @: $(MAKE); $(unstage)
36046 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
36047 r=`${PWD_COMMAND}`; export r; \
36048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36049 $(NORMAL_TARGET_EXPORTS) \
36050 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
36051 for flag in $(EXTRA_TARGET_FLAGS); do \
36052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36053 done; \
36054 (cd $(TARGET_SUBDIR)/rda && \
36055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36057 "RANLIB=$${RANLIB}" \
36058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36059 mostlyclean) \
36060 || exit 1
36062 @endif target-rda
36064 .PHONY: maybe-clean-target-rda clean-target-rda
36065 maybe-clean-target-rda:
36066 @if target-rda
36067 maybe-clean-target-rda: clean-target-rda
36069 clean-target-rda:
36070 @: $(MAKE); $(unstage)
36071 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
36072 r=`${PWD_COMMAND}`; export r; \
36073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36074 $(NORMAL_TARGET_EXPORTS) \
36075 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
36076 for flag in $(EXTRA_TARGET_FLAGS); do \
36077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36078 done; \
36079 (cd $(TARGET_SUBDIR)/rda && \
36080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36082 "RANLIB=$${RANLIB}" \
36083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36084 clean) \
36085 || exit 1
36087 @endif target-rda
36089 .PHONY: maybe-distclean-target-rda distclean-target-rda
36090 maybe-distclean-target-rda:
36091 @if target-rda
36092 maybe-distclean-target-rda: distclean-target-rda
36094 distclean-target-rda:
36095 @: $(MAKE); $(unstage)
36096 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
36097 r=`${PWD_COMMAND}`; export r; \
36098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36099 $(NORMAL_TARGET_EXPORTS) \
36100 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
36101 for flag in $(EXTRA_TARGET_FLAGS); do \
36102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36103 done; \
36104 (cd $(TARGET_SUBDIR)/rda && \
36105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36107 "RANLIB=$${RANLIB}" \
36108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36109 distclean) \
36110 || exit 1
36112 @endif target-rda
36114 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
36115 maybe-maintainer-clean-target-rda:
36116 @if target-rda
36117 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
36119 maintainer-clean-target-rda:
36120 @: $(MAKE); $(unstage)
36121 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
36122 r=`${PWD_COMMAND}`; export r; \
36123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36124 $(NORMAL_TARGET_EXPORTS) \
36125 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
36126 for flag in $(EXTRA_TARGET_FLAGS); do \
36127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36128 done; \
36129 (cd $(TARGET_SUBDIR)/rda && \
36130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36132 "RANLIB=$${RANLIB}" \
36133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36134 maintainer-clean) \
36135 || exit 1
36137 @endif target-rda
36143 .PHONY: configure-target-libada maybe-configure-target-libada
36144 maybe-configure-target-libada:
36145 @if target-libada
36146 maybe-configure-target-libada: configure-target-libada
36147 configure-target-libada:
36148 @: $(MAKE); $(unstage)
36149 @r=`${PWD_COMMAND}`; export r; \
36150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36151 echo "Checking multilib configuration for libada..."; \
36152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
36153 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
36154 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
36155 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
36156 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
36157 else \
36158 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
36159 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
36160 fi; \
36161 else \
36162 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
36163 fi; \
36164 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
36165 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
36166 $(NORMAL_TARGET_EXPORTS) \
36167 echo Configuring in $(TARGET_SUBDIR)/libada; \
36168 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
36169 case $(srcdir) in \
36170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36171 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
36172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36173 esac; \
36174 srcdiroption="--srcdir=$${topdir}/libada"; \
36175 libsrcdir="$$s/libada"; \
36176 rm -f no-such-file || : ; \
36177 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36178 $(TARGET_CONFIGARGS) $${srcdiroption} \
36179 || exit 1
36180 @endif target-libada
36186 .PHONY: all-target-libada maybe-all-target-libada
36187 maybe-all-target-libada:
36188 @if target-libada
36189 TARGET-target-libada=all
36190 maybe-all-target-libada: all-target-libada
36191 all-target-libada: configure-target-libada
36192 @: $(MAKE); $(unstage)
36193 @r=`${PWD_COMMAND}`; export r; \
36194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36195 $(NORMAL_TARGET_EXPORTS) \
36196 (cd $(TARGET_SUBDIR)/libada && \
36197 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
36198 @endif target-libada
36204 .PHONY: check-target-libada maybe-check-target-libada
36205 maybe-check-target-libada:
36206 @if target-libada
36207 maybe-check-target-libada: check-target-libada
36209 check-target-libada:
36210 @: $(MAKE); $(unstage)
36211 @r=`${PWD_COMMAND}`; export r; \
36212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36213 $(NORMAL_TARGET_EXPORTS) \
36214 (cd $(TARGET_SUBDIR)/libada && \
36215 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36217 @endif target-libada
36219 .PHONY: install-target-libada maybe-install-target-libada
36220 maybe-install-target-libada:
36221 @if target-libada
36222 maybe-install-target-libada: install-target-libada
36224 install-target-libada: installdirs
36225 @: $(MAKE); $(unstage)
36226 @r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 $(NORMAL_TARGET_EXPORTS) \
36229 (cd $(TARGET_SUBDIR)/libada && \
36230 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36232 @endif target-libada
36234 # Other targets (info, dvi, etc.)
36236 .PHONY: maybe-info-target-libada info-target-libada
36237 maybe-info-target-libada:
36238 @if target-libada
36239 maybe-info-target-libada: info-target-libada
36241 info-target-libada: \
36242 configure-target-libada
36243 @: $(MAKE); $(unstage)
36244 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36245 r=`${PWD_COMMAND}`; export r; \
36246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36247 $(NORMAL_TARGET_EXPORTS) \
36248 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
36249 for flag in $(EXTRA_TARGET_FLAGS); do \
36250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36251 done; \
36252 (cd $(TARGET_SUBDIR)/libada && \
36253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36255 "RANLIB=$${RANLIB}" \
36256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36257 info) \
36258 || exit 1
36260 @endif target-libada
36262 .PHONY: maybe-dvi-target-libada dvi-target-libada
36263 maybe-dvi-target-libada:
36264 @if target-libada
36265 maybe-dvi-target-libada: dvi-target-libada
36267 dvi-target-libada: \
36268 configure-target-libada
36269 @: $(MAKE); $(unstage)
36270 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36271 r=`${PWD_COMMAND}`; export r; \
36272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36273 $(NORMAL_TARGET_EXPORTS) \
36274 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
36275 for flag in $(EXTRA_TARGET_FLAGS); do \
36276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36277 done; \
36278 (cd $(TARGET_SUBDIR)/libada && \
36279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36281 "RANLIB=$${RANLIB}" \
36282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36283 dvi) \
36284 || exit 1
36286 @endif target-libada
36288 .PHONY: maybe-html-target-libada html-target-libada
36289 maybe-html-target-libada:
36290 @if target-libada
36291 maybe-html-target-libada: html-target-libada
36293 html-target-libada: \
36294 configure-target-libada
36295 @: $(MAKE); $(unstage)
36296 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36297 r=`${PWD_COMMAND}`; export r; \
36298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36299 $(NORMAL_TARGET_EXPORTS) \
36300 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
36301 for flag in $(EXTRA_TARGET_FLAGS); do \
36302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36303 done; \
36304 (cd $(TARGET_SUBDIR)/libada && \
36305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36307 "RANLIB=$${RANLIB}" \
36308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36309 html) \
36310 || exit 1
36312 @endif target-libada
36314 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
36315 maybe-TAGS-target-libada:
36316 @if target-libada
36317 maybe-TAGS-target-libada: TAGS-target-libada
36319 TAGS-target-libada: \
36320 configure-target-libada
36321 @: $(MAKE); $(unstage)
36322 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36323 r=`${PWD_COMMAND}`; export r; \
36324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36325 $(NORMAL_TARGET_EXPORTS) \
36326 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
36327 for flag in $(EXTRA_TARGET_FLAGS); do \
36328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36329 done; \
36330 (cd $(TARGET_SUBDIR)/libada && \
36331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36333 "RANLIB=$${RANLIB}" \
36334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36335 TAGS) \
36336 || exit 1
36338 @endif target-libada
36340 .PHONY: maybe-install-info-target-libada install-info-target-libada
36341 maybe-install-info-target-libada:
36342 @if target-libada
36343 maybe-install-info-target-libada: install-info-target-libada
36345 install-info-target-libada: \
36346 configure-target-libada \
36347 info-target-libada
36348 @: $(MAKE); $(unstage)
36349 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36350 r=`${PWD_COMMAND}`; export r; \
36351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36352 $(NORMAL_TARGET_EXPORTS) \
36353 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
36354 for flag in $(EXTRA_TARGET_FLAGS); do \
36355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36356 done; \
36357 (cd $(TARGET_SUBDIR)/libada && \
36358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36360 "RANLIB=$${RANLIB}" \
36361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36362 install-info) \
36363 || exit 1
36365 @endif target-libada
36367 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
36368 maybe-installcheck-target-libada:
36369 @if target-libada
36370 maybe-installcheck-target-libada: installcheck-target-libada
36372 installcheck-target-libada: \
36373 configure-target-libada
36374 @: $(MAKE); $(unstage)
36375 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36376 r=`${PWD_COMMAND}`; export r; \
36377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36378 $(NORMAL_TARGET_EXPORTS) \
36379 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
36380 for flag in $(EXTRA_TARGET_FLAGS); do \
36381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36382 done; \
36383 (cd $(TARGET_SUBDIR)/libada && \
36384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36386 "RANLIB=$${RANLIB}" \
36387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36388 installcheck) \
36389 || exit 1
36391 @endif target-libada
36393 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
36394 maybe-mostlyclean-target-libada:
36395 @if target-libada
36396 maybe-mostlyclean-target-libada: mostlyclean-target-libada
36398 mostlyclean-target-libada:
36399 @: $(MAKE); $(unstage)
36400 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36401 r=`${PWD_COMMAND}`; export r; \
36402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36403 $(NORMAL_TARGET_EXPORTS) \
36404 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
36405 for flag in $(EXTRA_TARGET_FLAGS); do \
36406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36407 done; \
36408 (cd $(TARGET_SUBDIR)/libada && \
36409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36411 "RANLIB=$${RANLIB}" \
36412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36413 mostlyclean) \
36414 || exit 1
36416 @endif target-libada
36418 .PHONY: maybe-clean-target-libada clean-target-libada
36419 maybe-clean-target-libada:
36420 @if target-libada
36421 maybe-clean-target-libada: clean-target-libada
36423 clean-target-libada:
36424 @: $(MAKE); $(unstage)
36425 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36426 r=`${PWD_COMMAND}`; export r; \
36427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36428 $(NORMAL_TARGET_EXPORTS) \
36429 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
36430 for flag in $(EXTRA_TARGET_FLAGS); do \
36431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36432 done; \
36433 (cd $(TARGET_SUBDIR)/libada && \
36434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36436 "RANLIB=$${RANLIB}" \
36437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36438 clean) \
36439 || exit 1
36441 @endif target-libada
36443 .PHONY: maybe-distclean-target-libada distclean-target-libada
36444 maybe-distclean-target-libada:
36445 @if target-libada
36446 maybe-distclean-target-libada: distclean-target-libada
36448 distclean-target-libada:
36449 @: $(MAKE); $(unstage)
36450 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36451 r=`${PWD_COMMAND}`; export r; \
36452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36453 $(NORMAL_TARGET_EXPORTS) \
36454 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
36455 for flag in $(EXTRA_TARGET_FLAGS); do \
36456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36457 done; \
36458 (cd $(TARGET_SUBDIR)/libada && \
36459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36461 "RANLIB=$${RANLIB}" \
36462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36463 distclean) \
36464 || exit 1
36466 @endif target-libada
36468 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
36469 maybe-maintainer-clean-target-libada:
36470 @if target-libada
36471 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
36473 maintainer-clean-target-libada:
36474 @: $(MAKE); $(unstage)
36475 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
36476 r=`${PWD_COMMAND}`; export r; \
36477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36478 $(NORMAL_TARGET_EXPORTS) \
36479 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
36480 for flag in $(EXTRA_TARGET_FLAGS); do \
36481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36482 done; \
36483 (cd $(TARGET_SUBDIR)/libada && \
36484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36486 "RANLIB=$${RANLIB}" \
36487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36488 maintainer-clean) \
36489 || exit 1
36491 @endif target-libada
36497 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
36498 maybe-configure-target-libgomp:
36499 @if target-libgomp
36500 maybe-configure-target-libgomp: configure-target-libgomp
36501 configure-target-libgomp:
36502 @: $(MAKE); $(unstage)
36503 @r=`${PWD_COMMAND}`; export r; \
36504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36505 echo "Checking multilib configuration for libgomp..."; \
36506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
36507 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
36508 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
36509 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
36510 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
36511 else \
36512 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
36513 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
36514 fi; \
36515 else \
36516 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
36517 fi; \
36518 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
36519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
36520 $(NORMAL_TARGET_EXPORTS) \
36521 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
36522 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
36523 case $(srcdir) in \
36524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36525 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
36526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36527 esac; \
36528 srcdiroption="--srcdir=$${topdir}/libgomp"; \
36529 libsrcdir="$$s/libgomp"; \
36530 rm -f no-such-file || : ; \
36531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36532 $(TARGET_CONFIGARGS) $${srcdiroption} \
36533 || exit 1
36534 @endif target-libgomp
36540 .PHONY: all-target-libgomp maybe-all-target-libgomp
36541 maybe-all-target-libgomp:
36542 @if target-libgomp
36543 TARGET-target-libgomp=all
36544 maybe-all-target-libgomp: all-target-libgomp
36545 all-target-libgomp: configure-target-libgomp
36546 @: $(MAKE); $(unstage)
36547 @r=`${PWD_COMMAND}`; export r; \
36548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36549 $(NORMAL_TARGET_EXPORTS) \
36550 (cd $(TARGET_SUBDIR)/libgomp && \
36551 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
36552 @endif target-libgomp
36558 .PHONY: check-target-libgomp maybe-check-target-libgomp
36559 maybe-check-target-libgomp:
36560 @if target-libgomp
36561 maybe-check-target-libgomp: check-target-libgomp
36563 check-target-libgomp:
36564 @: $(MAKE); $(unstage)
36565 @r=`${PWD_COMMAND}`; export r; \
36566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36567 $(NORMAL_TARGET_EXPORTS) \
36568 (cd $(TARGET_SUBDIR)/libgomp && \
36569 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36571 @endif target-libgomp
36573 .PHONY: install-target-libgomp maybe-install-target-libgomp
36574 maybe-install-target-libgomp:
36575 @if target-libgomp
36576 maybe-install-target-libgomp: install-target-libgomp
36578 install-target-libgomp: installdirs
36579 @: $(MAKE); $(unstage)
36580 @r=`${PWD_COMMAND}`; export r; \
36581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36582 $(NORMAL_TARGET_EXPORTS) \
36583 (cd $(TARGET_SUBDIR)/libgomp && \
36584 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36586 @endif target-libgomp
36588 # Other targets (info, dvi, etc.)
36590 .PHONY: maybe-info-target-libgomp info-target-libgomp
36591 maybe-info-target-libgomp:
36592 @if target-libgomp
36593 maybe-info-target-libgomp: info-target-libgomp
36595 info-target-libgomp: \
36596 configure-target-libgomp
36597 @: $(MAKE); $(unstage)
36598 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36599 r=`${PWD_COMMAND}`; export r; \
36600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36601 $(NORMAL_TARGET_EXPORTS) \
36602 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
36603 for flag in $(EXTRA_TARGET_FLAGS); do \
36604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36605 done; \
36606 (cd $(TARGET_SUBDIR)/libgomp && \
36607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36609 "RANLIB=$${RANLIB}" \
36610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36611 info) \
36612 || exit 1
36614 @endif target-libgomp
36616 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
36617 maybe-dvi-target-libgomp:
36618 @if target-libgomp
36619 maybe-dvi-target-libgomp: dvi-target-libgomp
36621 dvi-target-libgomp: \
36622 configure-target-libgomp
36623 @: $(MAKE); $(unstage)
36624 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36625 r=`${PWD_COMMAND}`; export r; \
36626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36627 $(NORMAL_TARGET_EXPORTS) \
36628 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
36629 for flag in $(EXTRA_TARGET_FLAGS); do \
36630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36631 done; \
36632 (cd $(TARGET_SUBDIR)/libgomp && \
36633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36635 "RANLIB=$${RANLIB}" \
36636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36637 dvi) \
36638 || exit 1
36640 @endif target-libgomp
36642 .PHONY: maybe-html-target-libgomp html-target-libgomp
36643 maybe-html-target-libgomp:
36644 @if target-libgomp
36645 maybe-html-target-libgomp: html-target-libgomp
36647 html-target-libgomp: \
36648 configure-target-libgomp
36649 @: $(MAKE); $(unstage)
36650 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36651 r=`${PWD_COMMAND}`; export r; \
36652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36653 $(NORMAL_TARGET_EXPORTS) \
36654 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
36655 for flag in $(EXTRA_TARGET_FLAGS); do \
36656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36657 done; \
36658 (cd $(TARGET_SUBDIR)/libgomp && \
36659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36661 "RANLIB=$${RANLIB}" \
36662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36663 html) \
36664 || exit 1
36666 @endif target-libgomp
36668 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
36669 maybe-TAGS-target-libgomp:
36670 @if target-libgomp
36671 maybe-TAGS-target-libgomp: TAGS-target-libgomp
36673 TAGS-target-libgomp: \
36674 configure-target-libgomp
36675 @: $(MAKE); $(unstage)
36676 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36677 r=`${PWD_COMMAND}`; export r; \
36678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36679 $(NORMAL_TARGET_EXPORTS) \
36680 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
36681 for flag in $(EXTRA_TARGET_FLAGS); do \
36682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36683 done; \
36684 (cd $(TARGET_SUBDIR)/libgomp && \
36685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36687 "RANLIB=$${RANLIB}" \
36688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36689 TAGS) \
36690 || exit 1
36692 @endif target-libgomp
36694 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
36695 maybe-install-info-target-libgomp:
36696 @if target-libgomp
36697 maybe-install-info-target-libgomp: install-info-target-libgomp
36699 install-info-target-libgomp: \
36700 configure-target-libgomp \
36701 info-target-libgomp
36702 @: $(MAKE); $(unstage)
36703 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36704 r=`${PWD_COMMAND}`; export r; \
36705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36706 $(NORMAL_TARGET_EXPORTS) \
36707 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
36708 for flag in $(EXTRA_TARGET_FLAGS); do \
36709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36710 done; \
36711 (cd $(TARGET_SUBDIR)/libgomp && \
36712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36714 "RANLIB=$${RANLIB}" \
36715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36716 install-info) \
36717 || exit 1
36719 @endif target-libgomp
36721 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
36722 maybe-installcheck-target-libgomp:
36723 @if target-libgomp
36724 maybe-installcheck-target-libgomp: installcheck-target-libgomp
36726 installcheck-target-libgomp: \
36727 configure-target-libgomp
36728 @: $(MAKE); $(unstage)
36729 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36730 r=`${PWD_COMMAND}`; export r; \
36731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36732 $(NORMAL_TARGET_EXPORTS) \
36733 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
36734 for flag in $(EXTRA_TARGET_FLAGS); do \
36735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36736 done; \
36737 (cd $(TARGET_SUBDIR)/libgomp && \
36738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36740 "RANLIB=$${RANLIB}" \
36741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36742 installcheck) \
36743 || exit 1
36745 @endif target-libgomp
36747 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
36748 maybe-mostlyclean-target-libgomp:
36749 @if target-libgomp
36750 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
36752 mostlyclean-target-libgomp:
36753 @: $(MAKE); $(unstage)
36754 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36755 r=`${PWD_COMMAND}`; export r; \
36756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36757 $(NORMAL_TARGET_EXPORTS) \
36758 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
36759 for flag in $(EXTRA_TARGET_FLAGS); do \
36760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36761 done; \
36762 (cd $(TARGET_SUBDIR)/libgomp && \
36763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36765 "RANLIB=$${RANLIB}" \
36766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36767 mostlyclean) \
36768 || exit 1
36770 @endif target-libgomp
36772 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
36773 maybe-clean-target-libgomp:
36774 @if target-libgomp
36775 maybe-clean-target-libgomp: clean-target-libgomp
36777 clean-target-libgomp:
36778 @: $(MAKE); $(unstage)
36779 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36780 r=`${PWD_COMMAND}`; export r; \
36781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36782 $(NORMAL_TARGET_EXPORTS) \
36783 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
36784 for flag in $(EXTRA_TARGET_FLAGS); do \
36785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36786 done; \
36787 (cd $(TARGET_SUBDIR)/libgomp && \
36788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36790 "RANLIB=$${RANLIB}" \
36791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36792 clean) \
36793 || exit 1
36795 @endif target-libgomp
36797 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
36798 maybe-distclean-target-libgomp:
36799 @if target-libgomp
36800 maybe-distclean-target-libgomp: distclean-target-libgomp
36802 distclean-target-libgomp:
36803 @: $(MAKE); $(unstage)
36804 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36805 r=`${PWD_COMMAND}`; export r; \
36806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36807 $(NORMAL_TARGET_EXPORTS) \
36808 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
36809 for flag in $(EXTRA_TARGET_FLAGS); do \
36810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36811 done; \
36812 (cd $(TARGET_SUBDIR)/libgomp && \
36813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36815 "RANLIB=$${RANLIB}" \
36816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36817 distclean) \
36818 || exit 1
36820 @endif target-libgomp
36822 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
36823 maybe-maintainer-clean-target-libgomp:
36824 @if target-libgomp
36825 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
36827 maintainer-clean-target-libgomp:
36828 @: $(MAKE); $(unstage)
36829 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
36830 r=`${PWD_COMMAND}`; export r; \
36831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36832 $(NORMAL_TARGET_EXPORTS) \
36833 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
36834 for flag in $(EXTRA_TARGET_FLAGS); do \
36835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36836 done; \
36837 (cd $(TARGET_SUBDIR)/libgomp && \
36838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36840 "RANLIB=$${RANLIB}" \
36841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36842 maintainer-clean) \
36843 || exit 1
36845 @endif target-libgomp
36849 # ----------
36850 # GCC module
36851 # ----------
36853 @if gcc-no-bootstrap
36854 # GCC has some more recursive targets, which trigger the old
36855 # (but still current, until the toplevel bootstrap project
36856 # is finished) compiler bootstrapping rules.
36858 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
36859 .PHONY: $(GCC_STRAP_TARGETS)
36860 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
36861 @r=`${PWD_COMMAND}`; export r; \
36862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36863 $(HOST_EXPORTS) \
36864 echo "Bootstrapping the compiler"; \
36865 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36866 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
36867 @r=`${PWD_COMMAND}`; export r; \
36868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36869 case "$@" in \
36870 *bootstrap4-lean ) \
36871 msg="Comparing stage3 and stage4 of the compiler"; \
36872 compare=compare3-lean ;; \
36873 *bootstrap4 ) \
36874 msg="Comparing stage3 and stage4 of the compiler"; \
36875 compare=compare3 ;; \
36876 *-lean ) \
36877 msg="Comparing stage2 and stage3 of the compiler"; \
36878 compare=compare-lean ;; \
36879 * ) \
36880 msg="Comparing stage2 and stage3 of the compiler"; \
36881 compare=compare ;; \
36882 esac; \
36883 $(HOST_EXPORTS) \
36884 echo "$$msg"; \
36885 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
36886 @r=`${PWD_COMMAND}`; export r; \
36887 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36888 echo "Building runtime libraries"; \
36889 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36891 profiledbootstrap: all-prebootstrap configure-gcc
36892 @r=`${PWD_COMMAND}`; export r; \
36893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36894 $(HOST_EXPORTS) \
36895 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
36896 echo "Bootstrapping training compiler"; \
36897 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
36898 @r=`${PWD_COMMAND}`; export r; \
36899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36900 $(HOST_EXPORTS) \
36901 echo "Building feedback based compiler"; \
36902 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
36903 @r=`${PWD_COMMAND}`; export r; \
36904 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36905 echo "Building runtime libraries"; \
36906 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36908 .PHONY: cross
36909 cross: all-build all-gas all-ld
36910 @r=`${PWD_COMMAND}`; export r; \
36911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36912 $(HOST_EXPORTS) \
36913 echo "Building the C and C++ compiler"; \
36914 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
36915 @r=`${PWD_COMMAND}`; export r; \
36916 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36917 echo "Building runtime libraries"; \
36918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
36919 @endif gcc-no-bootstrap
36921 @if gcc
36922 .PHONY: check-gcc-c++
36923 check-gcc-c++:
36924 @if [ -f ./gcc/Makefile ] ; then \
36925 r=`${PWD_COMMAND}`; export r; \
36926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36927 $(HOST_EXPORTS) \
36928 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
36929 else \
36930 true; \
36933 .PHONY: check-c++
36934 check-c++: check-target-libstdc++-v3 check-gcc-c++
36936 # Install the gcc headers files, but not the fixed include files,
36937 # which Cygnus is not allowed to distribute. This rule is very
36938 # dependent on the workings of the gcc Makefile.in.
36939 .PHONY: gcc-no-fixedincludes
36940 gcc-no-fixedincludes:
36941 @if [ -f ./gcc/Makefile ]; then \
36942 rm -rf gcc/tmp-include; \
36943 mv gcc/include gcc/tmp-include 2>/dev/null; \
36944 mkdir gcc/include; \
36945 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
36946 touch gcc/stmp-fixinc gcc/include/fixed; \
36947 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
36948 r=`${PWD_COMMAND}`; export r; \
36949 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
36950 $(HOST_EXPORTS) \
36951 (cd ./gcc && \
36952 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
36953 rm -rf gcc/include; \
36954 mv gcc/tmp-include gcc/include 2>/dev/null; \
36955 else true; fi
36956 @endif gcc
36958 # ---------------------
36959 # GCC bootstrap support
36960 # ---------------------
36962 # We track the current stage (the one in 'gcc') in the stage_current file.
36963 # stage_last instead tracks the stage that was built last. These targets
36964 # are dummy when toplevel bootstrap is not active.
36966 # While making host and target tools, symlinks to the final stage must be
36967 # there, so $(unstage) should be run at various points. To avoid excessive
36968 # recursive invocations of make, we "inline" them using a variable. These
36969 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
36970 # to avoid warnings from the GNU Make job server.
36972 unstage = :
36973 stage = :
36974 current_stage = ""
36976 @if gcc-bootstrap
36977 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
36978 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
36979 current_stage = "`cat stage_current 2> /dev/null`"
36980 @endif gcc-bootstrap
36982 .PHONY: unstage stage
36983 unstage:
36984 @: $(MAKE); $(unstage)
36985 stage:
36986 @: $(MAKE); $(stage)
36988 # Disable commands for lean bootstrap.
36989 LEAN = false
36991 # We name the build directories for the various stages "stage1-gcc",
36992 # "stage2-gcc","stage3-gcc", etc.
36994 # Since the 'compare' process will fail (on debugging information) if any
36995 # directory names are different, we need to link the gcc directory for
36996 # the previous stage to a constant name ('prev-gcc'), and to make the name of
36997 # the build directories constant as well. For the latter, we use naked names
36998 # like 'gcc', because the scripts in that directory assume it. We use
36999 # mv on platforms where symlinks to directories do not work or are not
37000 # reliable.
37002 # 'touch' doesn't work right on some platforms.
37003 STAMP = echo timestamp >
37005 # Only build the C compiler for stage1, because that is the only one that
37006 # we can guarantee will build with the native compiler, and also it is the
37007 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
37008 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
37009 # overrideable (for a bootstrap build stage1 also builds gcc.info).
37011 STAGE1_CFLAGS=@stage1_cflags@
37012 STAGE1_LANGUAGES=@stage1_languages@
37014 # We only want to compare .o files, so set this!
37015 objext = .o
37017 # Flags to pass to stage2 and later makes.
37018 POSTSTAGE1_FLAGS_TO_PASS = \
37019 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
37020 STAGE_PREFIX=$$r/prev-gcc/ \
37021 CFLAGS="$(BOOT_CFLAGS)" \
37022 LIBCFLAGS="$(BOOT_CFLAGS)" \
37023 LDFLAGS="$(BOOT_LDFLAGS)" \
37024 ADAC="\$$(CC)"
37026 # For stage 1:
37027 # * We force-disable intermodule optimizations, even if
37028 # --enable-intermodule was passed, since the installed compiler probably
37029 # can't handle them. Luckily, autoconf always respects
37030 # the last argument when conflicting --enable arguments are passed.
37031 # * Likewise, we force-disable coverage flags, since the installed compiler
37032 # probably has never heard of them.
37033 # * We build only C (and possibly Ada).
37036 .PHONY: stage1-start stage1-end
37038 stage1-start::
37039 @: $(MAKE); $(stage); \
37040 echo stage1 > stage_current ; \
37041 echo stage1 > stage_last; \
37042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37043 @if bfd
37044 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
37045 mkdir stage1-bfd; \
37046 mv stage1-bfd bfd
37047 @endif bfd
37048 @if opcodes
37049 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
37050 mkdir stage1-opcodes; \
37051 mv stage1-opcodes opcodes
37052 @endif opcodes
37053 @if binutils
37054 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
37055 mkdir stage1-binutils; \
37056 mv stage1-binutils binutils
37057 @endif binutils
37058 @if gas
37059 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
37060 mkdir stage1-gas; \
37061 mv stage1-gas gas
37062 @endif gas
37063 @if gcc
37064 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
37065 mkdir stage1-gcc; \
37066 mv stage1-gcc gcc
37067 @endif gcc
37068 @if intl
37069 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
37070 mkdir stage1-intl; \
37071 mv stage1-intl intl
37072 @endif intl
37073 @if ld
37074 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
37075 mkdir stage1-ld; \
37076 mv stage1-ld ld
37077 @endif ld
37078 @if libcpp
37079 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
37080 mkdir stage1-libcpp; \
37081 mv stage1-libcpp libcpp
37082 @endif libcpp
37083 @if libdecnumber
37084 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
37085 mkdir stage1-libdecnumber; \
37086 mv stage1-libdecnumber libdecnumber
37087 @endif libdecnumber
37088 @if libiberty
37089 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
37090 mkdir stage1-libiberty; \
37091 mv stage1-libiberty libiberty
37092 @endif libiberty
37093 @if zlib
37094 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
37095 mkdir stage1-zlib; \
37096 mv stage1-zlib zlib
37097 @endif zlib
37098 @[ -d stage1-$(TARGET_SUBDIR) ] || \
37099 mkdir stage1-$(TARGET_SUBDIR); \
37100 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
37102 stage1-end::
37103 @if bfd
37104 @if test -d $(HOST_SUBDIR)/bfd ; then \
37105 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
37107 @endif bfd
37108 @if opcodes
37109 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37110 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
37112 @endif opcodes
37113 @if binutils
37114 @if test -d $(HOST_SUBDIR)/binutils ; then \
37115 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
37117 @endif binutils
37118 @if gas
37119 @if test -d $(HOST_SUBDIR)/gas ; then \
37120 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
37122 @endif gas
37123 @if gcc
37124 @if test -d $(HOST_SUBDIR)/gcc ; then \
37125 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
37127 @endif gcc
37128 @if intl
37129 @if test -d $(HOST_SUBDIR)/intl ; then \
37130 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
37132 @endif intl
37133 @if ld
37134 @if test -d $(HOST_SUBDIR)/ld ; then \
37135 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
37137 @endif ld
37138 @if libcpp
37139 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37140 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
37142 @endif libcpp
37143 @if libdecnumber
37144 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37145 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
37147 @endif libdecnumber
37148 @if libiberty
37149 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37150 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
37152 @endif libiberty
37153 @if zlib
37154 @if test -d $(HOST_SUBDIR)/zlib ; then \
37155 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
37157 @endif zlib
37158 @if test -d $(TARGET_SUBDIR) ; then \
37159 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
37161 rm -f stage_current
37163 # Bubble a bugfix through all the stages up to stage 1. They are
37164 # remade, but not reconfigured. The next stage (if any) will not be
37165 # reconfigured as well.
37166 .PHONY: stage1-bubble
37167 stage1-bubble::
37168 @r=`${PWD_COMMAND}`; export r; \
37169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37170 if test -f stage1-lean ; then \
37171 echo Skipping rebuild of stage1 ; \
37172 else \
37173 $(MAKE) stage1-start; \
37174 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
37177 .PHONY: all-stage1 clean-stage1
37178 do-clean: clean-stage1
37180 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37181 # only possibility, but now it conflicts with no-bootstrap rules
37182 @if gcc-bootstrap
37187 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37189 .PHONY: distclean-stage1
37190 distclean-stage1::
37191 @: $(MAKE); $(stage)
37192 rm -rf stage1-*
37195 @endif gcc-bootstrap
37198 .PHONY: stage2-start stage2-end
37200 stage2-start::
37201 @: $(MAKE); $(stage); \
37202 echo stage2 > stage_current ; \
37203 echo stage2 > stage_last; \
37204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37205 @if bfd
37206 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
37207 mkdir stage2-bfd; \
37208 mv stage2-bfd bfd ; \
37209 mv stage1-bfd prev-bfd || test -f stage1-lean
37210 @endif bfd
37211 @if opcodes
37212 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
37213 mkdir stage2-opcodes; \
37214 mv stage2-opcodes opcodes ; \
37215 mv stage1-opcodes prev-opcodes || test -f stage1-lean
37216 @endif opcodes
37217 @if binutils
37218 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
37219 mkdir stage2-binutils; \
37220 mv stage2-binutils binutils ; \
37221 mv stage1-binutils prev-binutils || test -f stage1-lean
37222 @endif binutils
37223 @if gas
37224 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
37225 mkdir stage2-gas; \
37226 mv stage2-gas gas ; \
37227 mv stage1-gas prev-gas || test -f stage1-lean
37228 @endif gas
37229 @if gcc
37230 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
37231 mkdir stage2-gcc; \
37232 mv stage2-gcc gcc ; \
37233 mv stage1-gcc prev-gcc || test -f stage1-lean
37234 @endif gcc
37235 @if intl
37236 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
37237 mkdir stage2-intl; \
37238 mv stage2-intl intl ; \
37239 mv stage1-intl prev-intl || test -f stage1-lean
37240 @endif intl
37241 @if ld
37242 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
37243 mkdir stage2-ld; \
37244 mv stage2-ld ld ; \
37245 mv stage1-ld prev-ld || test -f stage1-lean
37246 @endif ld
37247 @if libcpp
37248 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
37249 mkdir stage2-libcpp; \
37250 mv stage2-libcpp libcpp ; \
37251 mv stage1-libcpp prev-libcpp || test -f stage1-lean
37252 @endif libcpp
37253 @if libdecnumber
37254 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
37255 mkdir stage2-libdecnumber; \
37256 mv stage2-libdecnumber libdecnumber ; \
37257 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
37258 @endif libdecnumber
37259 @if libiberty
37260 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
37261 mkdir stage2-libiberty; \
37262 mv stage2-libiberty libiberty ; \
37263 mv stage1-libiberty prev-libiberty || test -f stage1-lean
37264 @endif libiberty
37265 @if zlib
37266 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
37267 mkdir stage2-zlib; \
37268 mv stage2-zlib zlib ; \
37269 mv stage1-zlib prev-zlib || test -f stage1-lean
37270 @endif zlib
37271 @[ -d stage2-$(TARGET_SUBDIR) ] || \
37272 mkdir stage2-$(TARGET_SUBDIR); \
37273 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37274 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
37276 stage2-end::
37277 @if bfd
37278 @if test -d $(HOST_SUBDIR)/bfd ; then \
37279 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
37280 mv prev-bfd stage1-bfd ; : ; \
37282 @endif bfd
37283 @if opcodes
37284 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37285 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
37286 mv prev-opcodes stage1-opcodes ; : ; \
37288 @endif opcodes
37289 @if binutils
37290 @if test -d $(HOST_SUBDIR)/binutils ; then \
37291 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
37292 mv prev-binutils stage1-binutils ; : ; \
37294 @endif binutils
37295 @if gas
37296 @if test -d $(HOST_SUBDIR)/gas ; then \
37297 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
37298 mv prev-gas stage1-gas ; : ; \
37300 @endif gas
37301 @if gcc
37302 @if test -d $(HOST_SUBDIR)/gcc ; then \
37303 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
37304 mv prev-gcc stage1-gcc ; : ; \
37306 @endif gcc
37307 @if intl
37308 @if test -d $(HOST_SUBDIR)/intl ; then \
37309 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
37310 mv prev-intl stage1-intl ; : ; \
37312 @endif intl
37313 @if ld
37314 @if test -d $(HOST_SUBDIR)/ld ; then \
37315 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
37316 mv prev-ld stage1-ld ; : ; \
37318 @endif ld
37319 @if libcpp
37320 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37321 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
37322 mv prev-libcpp stage1-libcpp ; : ; \
37324 @endif libcpp
37325 @if libdecnumber
37326 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37327 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
37328 mv prev-libdecnumber stage1-libdecnumber ; : ; \
37330 @endif libdecnumber
37331 @if libiberty
37332 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37333 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
37334 mv prev-libiberty stage1-libiberty ; : ; \
37336 @endif libiberty
37337 @if zlib
37338 @if test -d $(HOST_SUBDIR)/zlib ; then \
37339 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
37340 mv prev-zlib stage1-zlib ; : ; \
37342 @endif zlib
37343 @if test -d $(TARGET_SUBDIR) ; then \
37344 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
37345 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
37347 rm -f stage_current
37349 # Bubble a bugfix through all the stages up to stage 2. They are
37350 # remade, but not reconfigured. The next stage (if any) will not be
37351 # reconfigured as well.
37352 .PHONY: stage2-bubble
37353 stage2-bubble:: stage1-bubble
37354 @r=`${PWD_COMMAND}`; export r; \
37355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37356 if test -f stage2-lean || test -f stage1-lean ; then \
37357 echo Skipping rebuild of stage2 ; \
37358 else \
37359 $(MAKE) stage2-start; \
37360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
37363 .PHONY: all-stage2 clean-stage2
37364 do-clean: clean-stage2
37366 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37367 # only possibility, but now it conflicts with no-bootstrap rules
37368 @if gcc-bootstrap
37372 .PHONY: bootstrap2 bootstrap2-lean
37373 bootstrap2:
37374 echo stage2 > stage_final
37375 @r=`${PWD_COMMAND}`; export r; \
37376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37377 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
37378 @: $(MAKE); $(unstage)
37379 @r=`${PWD_COMMAND}`; export r; \
37380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37381 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37383 bootstrap2-lean:
37384 echo stage2 > stage_final
37385 @r=`${PWD_COMMAND}`; export r; \
37386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37387 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
37388 @: $(MAKE); $(unstage)
37389 @r=`${PWD_COMMAND}`; export r; \
37390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37391 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37394 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37395 distclean-stage1:: distclean-stage2
37396 .PHONY: distclean-stage2
37397 distclean-stage2::
37398 @: $(MAKE); $(stage)
37399 rm -rf stage2-*
37402 @endif gcc-bootstrap
37405 .PHONY: stage3-start stage3-end
37407 stage3-start::
37408 @: $(MAKE); $(stage); \
37409 echo stage3 > stage_current ; \
37410 echo stage3 > stage_last; \
37411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37412 @if bfd
37413 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
37414 mkdir stage3-bfd; \
37415 mv stage3-bfd bfd ; \
37416 mv stage2-bfd prev-bfd || test -f stage2-lean
37417 @endif bfd
37418 @if opcodes
37419 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
37420 mkdir stage3-opcodes; \
37421 mv stage3-opcodes opcodes ; \
37422 mv stage2-opcodes prev-opcodes || test -f stage2-lean
37423 @endif opcodes
37424 @if binutils
37425 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
37426 mkdir stage3-binutils; \
37427 mv stage3-binutils binutils ; \
37428 mv stage2-binutils prev-binutils || test -f stage2-lean
37429 @endif binutils
37430 @if gas
37431 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
37432 mkdir stage3-gas; \
37433 mv stage3-gas gas ; \
37434 mv stage2-gas prev-gas || test -f stage2-lean
37435 @endif gas
37436 @if gcc
37437 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
37438 mkdir stage3-gcc; \
37439 mv stage3-gcc gcc ; \
37440 mv stage2-gcc prev-gcc || test -f stage2-lean
37441 @endif gcc
37442 @if intl
37443 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
37444 mkdir stage3-intl; \
37445 mv stage3-intl intl ; \
37446 mv stage2-intl prev-intl || test -f stage2-lean
37447 @endif intl
37448 @if ld
37449 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
37450 mkdir stage3-ld; \
37451 mv stage3-ld ld ; \
37452 mv stage2-ld prev-ld || test -f stage2-lean
37453 @endif ld
37454 @if libcpp
37455 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
37456 mkdir stage3-libcpp; \
37457 mv stage3-libcpp libcpp ; \
37458 mv stage2-libcpp prev-libcpp || test -f stage2-lean
37459 @endif libcpp
37460 @if libdecnumber
37461 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
37462 mkdir stage3-libdecnumber; \
37463 mv stage3-libdecnumber libdecnumber ; \
37464 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
37465 @endif libdecnumber
37466 @if libiberty
37467 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
37468 mkdir stage3-libiberty; \
37469 mv stage3-libiberty libiberty ; \
37470 mv stage2-libiberty prev-libiberty || test -f stage2-lean
37471 @endif libiberty
37472 @if zlib
37473 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
37474 mkdir stage3-zlib; \
37475 mv stage3-zlib zlib ; \
37476 mv stage2-zlib prev-zlib || test -f stage2-lean
37477 @endif zlib
37478 @[ -d stage3-$(TARGET_SUBDIR) ] || \
37479 mkdir stage3-$(TARGET_SUBDIR); \
37480 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37481 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
37483 stage3-end::
37484 @if bfd
37485 @if test -d $(HOST_SUBDIR)/bfd ; then \
37486 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
37487 mv prev-bfd stage2-bfd ; : ; \
37489 @endif bfd
37490 @if opcodes
37491 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37492 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
37493 mv prev-opcodes stage2-opcodes ; : ; \
37495 @endif opcodes
37496 @if binutils
37497 @if test -d $(HOST_SUBDIR)/binutils ; then \
37498 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
37499 mv prev-binutils stage2-binutils ; : ; \
37501 @endif binutils
37502 @if gas
37503 @if test -d $(HOST_SUBDIR)/gas ; then \
37504 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
37505 mv prev-gas stage2-gas ; : ; \
37507 @endif gas
37508 @if gcc
37509 @if test -d $(HOST_SUBDIR)/gcc ; then \
37510 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
37511 mv prev-gcc stage2-gcc ; : ; \
37513 @endif gcc
37514 @if intl
37515 @if test -d $(HOST_SUBDIR)/intl ; then \
37516 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
37517 mv prev-intl stage2-intl ; : ; \
37519 @endif intl
37520 @if ld
37521 @if test -d $(HOST_SUBDIR)/ld ; then \
37522 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
37523 mv prev-ld stage2-ld ; : ; \
37525 @endif ld
37526 @if libcpp
37527 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37528 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
37529 mv prev-libcpp stage2-libcpp ; : ; \
37531 @endif libcpp
37532 @if libdecnumber
37533 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37534 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
37535 mv prev-libdecnumber stage2-libdecnumber ; : ; \
37537 @endif libdecnumber
37538 @if libiberty
37539 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37540 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
37541 mv prev-libiberty stage2-libiberty ; : ; \
37543 @endif libiberty
37544 @if zlib
37545 @if test -d $(HOST_SUBDIR)/zlib ; then \
37546 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
37547 mv prev-zlib stage2-zlib ; : ; \
37549 @endif zlib
37550 @if test -d $(TARGET_SUBDIR) ; then \
37551 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
37552 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
37554 rm -f stage_current
37556 # Bubble a bugfix through all the stages up to stage 3. They are
37557 # remade, but not reconfigured. The next stage (if any) will not be
37558 # reconfigured as well.
37559 .PHONY: stage3-bubble
37560 stage3-bubble:: stage2-bubble
37561 @r=`${PWD_COMMAND}`; export r; \
37562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37563 if test -f stage3-lean || test -f stage2-lean ; then \
37564 echo Skipping rebuild of stage3 ; \
37565 else \
37566 $(MAKE) stage3-start; \
37567 if $(LEAN); then \
37568 rm -rf stage1-* ; \
37569 $(STAMP) stage1-lean ; \
37570 fi; \
37571 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
37573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
37575 .PHONY: all-stage3 clean-stage3
37576 do-clean: clean-stage3
37578 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37579 # only possibility, but now it conflicts with no-bootstrap rules
37580 @if gcc-bootstrap
37582 compare:
37583 @r=`${PWD_COMMAND}`; export r; \
37584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37585 if test -f stage2-lean; then \
37586 echo Cannot compare object files as stage 2 was deleted. ; \
37587 exit 0 ; \
37588 fi; \
37589 : $(MAKE); $(stage); \
37590 rm -f .bad_compare ; \
37591 echo Comparing stages 2 and 3 ; \
37592 cd stage3-gcc; \
37593 files=`find . -name "*$(objext)" -print` ; \
37594 cd .. ; \
37595 for file in $${files} ; do \
37596 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
37597 @do_compare@ > /dev/null 2>&1; \
37598 if test $$? -eq 1; then \
37599 case $$file in \
37600 ./cc*-checksum$(objext) | ./libgcc/* ) \
37601 echo warning: $$file differs ;; \
37602 *) \
37603 echo $$file differs >> .bad_compare ;; \
37604 esac ; \
37605 fi ; \
37606 done ; \
37607 if [ -f .bad_compare ]; then \
37608 echo "Bootstrap comparison failure!"; \
37609 cat .bad_compare; \
37610 exit 1; \
37611 else \
37612 echo Comparison successful.; \
37613 fi ; \
37614 $(STAMP) compare
37615 if $(LEAN); then \
37616 rm -rf stage2-*; \
37617 $(STAMP) stage2-lean; \
37622 .PHONY: bootstrap bootstrap-lean
37623 bootstrap:
37624 echo stage3 > stage_final
37625 @r=`${PWD_COMMAND}`; export r; \
37626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37627 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
37628 @: $(MAKE); $(unstage)
37629 @r=`${PWD_COMMAND}`; export r; \
37630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37631 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37633 bootstrap-lean:
37634 echo stage3 > stage_final
37635 @r=`${PWD_COMMAND}`; export r; \
37636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37637 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
37638 @: $(MAKE); $(unstage)
37639 @r=`${PWD_COMMAND}`; export r; \
37640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37641 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37644 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37645 distclean-stage2:: distclean-stage3
37646 .PHONY: distclean-stage3
37647 distclean-stage3::
37648 @: $(MAKE); $(stage)
37649 rm -rf stage3-* compare
37652 .PHONY: cleanstrap
37653 cleanstrap: distclean bootstrap
37655 @endif gcc-bootstrap
37658 .PHONY: stage4-start stage4-end
37660 stage4-start::
37661 @: $(MAKE); $(stage); \
37662 echo stage4 > stage_current ; \
37663 echo stage4 > stage_last; \
37664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37665 @if bfd
37666 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
37667 mkdir stage4-bfd; \
37668 mv stage4-bfd bfd ; \
37669 mv stage3-bfd prev-bfd || test -f stage3-lean
37670 @endif bfd
37671 @if opcodes
37672 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
37673 mkdir stage4-opcodes; \
37674 mv stage4-opcodes opcodes ; \
37675 mv stage3-opcodes prev-opcodes || test -f stage3-lean
37676 @endif opcodes
37677 @if binutils
37678 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
37679 mkdir stage4-binutils; \
37680 mv stage4-binutils binutils ; \
37681 mv stage3-binutils prev-binutils || test -f stage3-lean
37682 @endif binutils
37683 @if gas
37684 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
37685 mkdir stage4-gas; \
37686 mv stage4-gas gas ; \
37687 mv stage3-gas prev-gas || test -f stage3-lean
37688 @endif gas
37689 @if gcc
37690 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
37691 mkdir stage4-gcc; \
37692 mv stage4-gcc gcc ; \
37693 mv stage3-gcc prev-gcc || test -f stage3-lean
37694 @endif gcc
37695 @if intl
37696 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
37697 mkdir stage4-intl; \
37698 mv stage4-intl intl ; \
37699 mv stage3-intl prev-intl || test -f stage3-lean
37700 @endif intl
37701 @if ld
37702 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
37703 mkdir stage4-ld; \
37704 mv stage4-ld ld ; \
37705 mv stage3-ld prev-ld || test -f stage3-lean
37706 @endif ld
37707 @if libcpp
37708 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
37709 mkdir stage4-libcpp; \
37710 mv stage4-libcpp libcpp ; \
37711 mv stage3-libcpp prev-libcpp || test -f stage3-lean
37712 @endif libcpp
37713 @if libdecnumber
37714 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
37715 mkdir stage4-libdecnumber; \
37716 mv stage4-libdecnumber libdecnumber ; \
37717 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
37718 @endif libdecnumber
37719 @if libiberty
37720 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
37721 mkdir stage4-libiberty; \
37722 mv stage4-libiberty libiberty ; \
37723 mv stage3-libiberty prev-libiberty || test -f stage3-lean
37724 @endif libiberty
37725 @if zlib
37726 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
37727 mkdir stage4-zlib; \
37728 mv stage4-zlib zlib ; \
37729 mv stage3-zlib prev-zlib || test -f stage3-lean
37730 @endif zlib
37731 @[ -d stage4-$(TARGET_SUBDIR) ] || \
37732 mkdir stage4-$(TARGET_SUBDIR); \
37733 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37734 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
37736 stage4-end::
37737 @if bfd
37738 @if test -d $(HOST_SUBDIR)/bfd ; then \
37739 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
37740 mv prev-bfd stage3-bfd ; : ; \
37742 @endif bfd
37743 @if opcodes
37744 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37745 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
37746 mv prev-opcodes stage3-opcodes ; : ; \
37748 @endif opcodes
37749 @if binutils
37750 @if test -d $(HOST_SUBDIR)/binutils ; then \
37751 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
37752 mv prev-binutils stage3-binutils ; : ; \
37754 @endif binutils
37755 @if gas
37756 @if test -d $(HOST_SUBDIR)/gas ; then \
37757 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
37758 mv prev-gas stage3-gas ; : ; \
37760 @endif gas
37761 @if gcc
37762 @if test -d $(HOST_SUBDIR)/gcc ; then \
37763 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
37764 mv prev-gcc stage3-gcc ; : ; \
37766 @endif gcc
37767 @if intl
37768 @if test -d $(HOST_SUBDIR)/intl ; then \
37769 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
37770 mv prev-intl stage3-intl ; : ; \
37772 @endif intl
37773 @if ld
37774 @if test -d $(HOST_SUBDIR)/ld ; then \
37775 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
37776 mv prev-ld stage3-ld ; : ; \
37778 @endif ld
37779 @if libcpp
37780 @if test -d $(HOST_SUBDIR)/libcpp ; then \
37781 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
37782 mv prev-libcpp stage3-libcpp ; : ; \
37784 @endif libcpp
37785 @if libdecnumber
37786 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
37787 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
37788 mv prev-libdecnumber stage3-libdecnumber ; : ; \
37790 @endif libdecnumber
37791 @if libiberty
37792 @if test -d $(HOST_SUBDIR)/libiberty ; then \
37793 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
37794 mv prev-libiberty stage3-libiberty ; : ; \
37796 @endif libiberty
37797 @if zlib
37798 @if test -d $(HOST_SUBDIR)/zlib ; then \
37799 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
37800 mv prev-zlib stage3-zlib ; : ; \
37802 @endif zlib
37803 @if test -d $(TARGET_SUBDIR) ; then \
37804 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
37805 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
37807 rm -f stage_current
37809 # Bubble a bugfix through all the stages up to stage 4. They are
37810 # remade, but not reconfigured. The next stage (if any) will not be
37811 # reconfigured as well.
37812 .PHONY: stage4-bubble
37813 stage4-bubble:: stage3-bubble
37814 @r=`${PWD_COMMAND}`; export r; \
37815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37816 if test -f stage4-lean || test -f stage3-lean ; then \
37817 echo Skipping rebuild of stage4 ; \
37818 else \
37819 $(MAKE) stage4-start; \
37820 if $(LEAN); then \
37821 rm -rf stage2-* ; \
37822 $(STAMP) stage2-lean ; \
37823 fi; \
37824 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
37826 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
37828 .PHONY: all-stage4 clean-stage4
37829 do-clean: clean-stage4
37831 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37832 # only possibility, but now it conflicts with no-bootstrap rules
37833 @if gcc-bootstrap
37835 compare3:
37836 @r=`${PWD_COMMAND}`; export r; \
37837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37838 if test -f stage3-lean; then \
37839 echo Cannot compare object files as stage 3 was deleted. ; \
37840 exit 0 ; \
37841 fi; \
37842 : $(MAKE); $(stage); \
37843 rm -f .bad_compare ; \
37844 echo Comparing stages 3 and 4 ; \
37845 cd stage4-gcc; \
37846 files=`find . -name "*$(objext)" -print` ; \
37847 cd .. ; \
37848 for file in $${files} ; do \
37849 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
37850 @do_compare@ > /dev/null 2>&1; \
37851 if test $$? -eq 1; then \
37852 case $$file in \
37853 ./cc*-checksum$(objext) | ./libgcc/* ) \
37854 echo warning: $$file differs ;; \
37855 *) \
37856 echo $$file differs >> .bad_compare ;; \
37857 esac ; \
37858 fi ; \
37859 done ; \
37860 if [ -f .bad_compare ]; then \
37861 echo "Bootstrap comparison failure!"; \
37862 cat .bad_compare; \
37863 exit 1; \
37864 else \
37865 echo Comparison successful.; \
37866 fi ; \
37867 $(STAMP) compare3
37868 if $(LEAN); then \
37869 rm -rf stage3-*; \
37870 $(STAMP) stage3-lean; \
37875 .PHONY: bootstrap4 bootstrap4-lean
37876 bootstrap4:
37877 echo stage4 > stage_final
37878 @r=`${PWD_COMMAND}`; export r; \
37879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37880 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
37881 @: $(MAKE); $(unstage)
37882 @r=`${PWD_COMMAND}`; export r; \
37883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37884 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37886 bootstrap4-lean:
37887 echo stage4 > stage_final
37888 @r=`${PWD_COMMAND}`; export r; \
37889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37890 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
37891 @: $(MAKE); $(unstage)
37892 @r=`${PWD_COMMAND}`; export r; \
37893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37894 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
37897 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37898 distclean-stage3:: distclean-stage4
37899 .PHONY: distclean-stage4
37900 distclean-stage4::
37901 @: $(MAKE); $(stage)
37902 rm -rf stage4-* compare3
37905 @endif gcc-bootstrap
37908 .PHONY: stageprofile-start stageprofile-end
37910 stageprofile-start::
37911 @: $(MAKE); $(stage); \
37912 echo stageprofile > stage_current ; \
37913 echo stageprofile > stage_last; \
37914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
37915 @if bfd
37916 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
37917 mkdir stageprofile-bfd; \
37918 mv stageprofile-bfd bfd ; \
37919 mv stage1-bfd prev-bfd || test -f stage1-lean
37920 @endif bfd
37921 @if opcodes
37922 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
37923 mkdir stageprofile-opcodes; \
37924 mv stageprofile-opcodes opcodes ; \
37925 mv stage1-opcodes prev-opcodes || test -f stage1-lean
37926 @endif opcodes
37927 @if binutils
37928 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
37929 mkdir stageprofile-binutils; \
37930 mv stageprofile-binutils binutils ; \
37931 mv stage1-binutils prev-binutils || test -f stage1-lean
37932 @endif binutils
37933 @if gas
37934 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
37935 mkdir stageprofile-gas; \
37936 mv stageprofile-gas gas ; \
37937 mv stage1-gas prev-gas || test -f stage1-lean
37938 @endif gas
37939 @if gcc
37940 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
37941 mkdir stageprofile-gcc; \
37942 mv stageprofile-gcc gcc ; \
37943 mv stage1-gcc prev-gcc || test -f stage1-lean
37944 @endif gcc
37945 @if intl
37946 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
37947 mkdir stageprofile-intl; \
37948 mv stageprofile-intl intl ; \
37949 mv stage1-intl prev-intl || test -f stage1-lean
37950 @endif intl
37951 @if ld
37952 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
37953 mkdir stageprofile-ld; \
37954 mv stageprofile-ld ld ; \
37955 mv stage1-ld prev-ld || test -f stage1-lean
37956 @endif ld
37957 @if libcpp
37958 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
37959 mkdir stageprofile-libcpp; \
37960 mv stageprofile-libcpp libcpp ; \
37961 mv stage1-libcpp prev-libcpp || test -f stage1-lean
37962 @endif libcpp
37963 @if libdecnumber
37964 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
37965 mkdir stageprofile-libdecnumber; \
37966 mv stageprofile-libdecnumber libdecnumber ; \
37967 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
37968 @endif libdecnumber
37969 @if libiberty
37970 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
37971 mkdir stageprofile-libiberty; \
37972 mv stageprofile-libiberty libiberty ; \
37973 mv stage1-libiberty prev-libiberty || test -f stage1-lean
37974 @endif libiberty
37975 @if zlib
37976 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
37977 mkdir stageprofile-zlib; \
37978 mv stageprofile-zlib zlib ; \
37979 mv stage1-zlib prev-zlib || test -f stage1-lean
37980 @endif zlib
37981 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
37982 mkdir stageprofile-$(TARGET_SUBDIR); \
37983 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
37984 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
37986 stageprofile-end::
37987 @if bfd
37988 @if test -d $(HOST_SUBDIR)/bfd ; then \
37989 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
37990 mv prev-bfd stage1-bfd ; : ; \
37992 @endif bfd
37993 @if opcodes
37994 @if test -d $(HOST_SUBDIR)/opcodes ; then \
37995 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
37996 mv prev-opcodes stage1-opcodes ; : ; \
37998 @endif opcodes
37999 @if binutils
38000 @if test -d $(HOST_SUBDIR)/binutils ; then \
38001 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
38002 mv prev-binutils stage1-binutils ; : ; \
38004 @endif binutils
38005 @if gas
38006 @if test -d $(HOST_SUBDIR)/gas ; then \
38007 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
38008 mv prev-gas stage1-gas ; : ; \
38010 @endif gas
38011 @if gcc
38012 @if test -d $(HOST_SUBDIR)/gcc ; then \
38013 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
38014 mv prev-gcc stage1-gcc ; : ; \
38016 @endif gcc
38017 @if intl
38018 @if test -d $(HOST_SUBDIR)/intl ; then \
38019 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
38020 mv prev-intl stage1-intl ; : ; \
38022 @endif intl
38023 @if ld
38024 @if test -d $(HOST_SUBDIR)/ld ; then \
38025 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
38026 mv prev-ld stage1-ld ; : ; \
38028 @endif ld
38029 @if libcpp
38030 @if test -d $(HOST_SUBDIR)/libcpp ; then \
38031 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
38032 mv prev-libcpp stage1-libcpp ; : ; \
38034 @endif libcpp
38035 @if libdecnumber
38036 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
38037 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
38038 mv prev-libdecnumber stage1-libdecnumber ; : ; \
38040 @endif libdecnumber
38041 @if libiberty
38042 @if test -d $(HOST_SUBDIR)/libiberty ; then \
38043 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
38044 mv prev-libiberty stage1-libiberty ; : ; \
38046 @endif libiberty
38047 @if zlib
38048 @if test -d $(HOST_SUBDIR)/zlib ; then \
38049 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
38050 mv prev-zlib stage1-zlib ; : ; \
38052 @endif zlib
38053 @if test -d $(TARGET_SUBDIR) ; then \
38054 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
38055 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
38057 rm -f stage_current
38059 # Bubble a bugfix through all the stages up to stage profile. They are
38060 # remade, but not reconfigured. The next stage (if any) will not be
38061 # reconfigured as well.
38062 .PHONY: stageprofile-bubble
38063 stageprofile-bubble:: stage1-bubble
38064 @r=`${PWD_COMMAND}`; export r; \
38065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38066 if test -f stageprofile-lean || test -f stage1-lean ; then \
38067 echo Skipping rebuild of stageprofile ; \
38068 else \
38069 $(MAKE) stageprofile-start; \
38070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
38073 .PHONY: all-stageprofile clean-stageprofile
38074 do-clean: clean-stageprofile
38076 # FIXME: Will not need to be conditional when toplevel bootstrap is the
38077 # only possibility, but now it conflicts with no-bootstrap rules
38078 @if gcc-bootstrap
38083 # Rules to wipe a stage and all the following ones, also used for cleanstrap
38084 distclean-stage1:: distclean-stageprofile
38085 .PHONY: distclean-stageprofile
38086 distclean-stageprofile::
38087 @: $(MAKE); $(stage)
38088 rm -rf stageprofile-*
38091 @endif gcc-bootstrap
38094 .PHONY: stagefeedback-start stagefeedback-end
38096 stagefeedback-start::
38097 @: $(MAKE); $(stage); \
38098 echo stagefeedback > stage_current ; \
38099 echo stagefeedback > stage_last; \
38100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
38101 @if bfd
38102 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
38103 mkdir stagefeedback-bfd; \
38104 mv stagefeedback-bfd bfd ; \
38105 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
38106 @endif bfd
38107 @if opcodes
38108 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
38109 mkdir stagefeedback-opcodes; \
38110 mv stagefeedback-opcodes opcodes ; \
38111 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
38112 @endif opcodes
38113 @if binutils
38114 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
38115 mkdir stagefeedback-binutils; \
38116 mv stagefeedback-binutils binutils ; \
38117 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
38118 @endif binutils
38119 @if gas
38120 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
38121 mkdir stagefeedback-gas; \
38122 mv stagefeedback-gas gas ; \
38123 mv stageprofile-gas prev-gas || test -f stageprofile-lean
38124 @endif gas
38125 @if gcc
38126 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
38127 mkdir stagefeedback-gcc; \
38128 mv stagefeedback-gcc gcc ; \
38129 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
38130 @endif gcc
38131 @if intl
38132 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
38133 mkdir stagefeedback-intl; \
38134 mv stagefeedback-intl intl ; \
38135 mv stageprofile-intl prev-intl || test -f stageprofile-lean
38136 @endif intl
38137 @if ld
38138 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
38139 mkdir stagefeedback-ld; \
38140 mv stagefeedback-ld ld ; \
38141 mv stageprofile-ld prev-ld || test -f stageprofile-lean
38142 @endif ld
38143 @if libcpp
38144 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
38145 mkdir stagefeedback-libcpp; \
38146 mv stagefeedback-libcpp libcpp ; \
38147 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
38148 @endif libcpp
38149 @if libdecnumber
38150 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
38151 mkdir stagefeedback-libdecnumber; \
38152 mv stagefeedback-libdecnumber libdecnumber ; \
38153 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
38154 @endif libdecnumber
38155 @if libiberty
38156 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
38157 mkdir stagefeedback-libiberty; \
38158 mv stagefeedback-libiberty libiberty ; \
38159 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
38160 @endif libiberty
38161 @if zlib
38162 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
38163 mkdir stagefeedback-zlib; \
38164 mv stagefeedback-zlib zlib ; \
38165 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
38166 @endif zlib
38167 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
38168 mkdir stagefeedback-$(TARGET_SUBDIR); \
38169 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
38170 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
38172 stagefeedback-end::
38173 @if bfd
38174 @if test -d $(HOST_SUBDIR)/bfd ; then \
38175 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
38176 mv prev-bfd stageprofile-bfd ; : ; \
38178 @endif bfd
38179 @if opcodes
38180 @if test -d $(HOST_SUBDIR)/opcodes ; then \
38181 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
38182 mv prev-opcodes stageprofile-opcodes ; : ; \
38184 @endif opcodes
38185 @if binutils
38186 @if test -d $(HOST_SUBDIR)/binutils ; then \
38187 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
38188 mv prev-binutils stageprofile-binutils ; : ; \
38190 @endif binutils
38191 @if gas
38192 @if test -d $(HOST_SUBDIR)/gas ; then \
38193 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
38194 mv prev-gas stageprofile-gas ; : ; \
38196 @endif gas
38197 @if gcc
38198 @if test -d $(HOST_SUBDIR)/gcc ; then \
38199 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
38200 mv prev-gcc stageprofile-gcc ; : ; \
38202 @endif gcc
38203 @if intl
38204 @if test -d $(HOST_SUBDIR)/intl ; then \
38205 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
38206 mv prev-intl stageprofile-intl ; : ; \
38208 @endif intl
38209 @if ld
38210 @if test -d $(HOST_SUBDIR)/ld ; then \
38211 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
38212 mv prev-ld stageprofile-ld ; : ; \
38214 @endif ld
38215 @if libcpp
38216 @if test -d $(HOST_SUBDIR)/libcpp ; then \
38217 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
38218 mv prev-libcpp stageprofile-libcpp ; : ; \
38220 @endif libcpp
38221 @if libdecnumber
38222 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
38223 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
38224 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
38226 @endif libdecnumber
38227 @if libiberty
38228 @if test -d $(HOST_SUBDIR)/libiberty ; then \
38229 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
38230 mv prev-libiberty stageprofile-libiberty ; : ; \
38232 @endif libiberty
38233 @if zlib
38234 @if test -d $(HOST_SUBDIR)/zlib ; then \
38235 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
38236 mv prev-zlib stageprofile-zlib ; : ; \
38238 @endif zlib
38239 @if test -d $(TARGET_SUBDIR) ; then \
38240 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
38241 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
38243 rm -f stage_current
38245 # Bubble a bugfix through all the stages up to stage feedback. They are
38246 # remade, but not reconfigured. The next stage (if any) will not be
38247 # reconfigured as well.
38248 .PHONY: stagefeedback-bubble
38249 stagefeedback-bubble:: stageprofile-bubble
38250 @r=`${PWD_COMMAND}`; export r; \
38251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38252 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
38253 echo Skipping rebuild of stagefeedback ; \
38254 else \
38255 $(MAKE) stagefeedback-start; \
38256 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
38259 .PHONY: all-stagefeedback clean-stagefeedback
38260 do-clean: clean-stagefeedback
38262 # FIXME: Will not need to be conditional when toplevel bootstrap is the
38263 # only possibility, but now it conflicts with no-bootstrap rules
38264 @if gcc-bootstrap
38268 .PHONY: profiledbootstrap profiledbootstrap-lean
38269 profiledbootstrap:
38270 echo stagefeedback > stage_final
38271 @r=`${PWD_COMMAND}`; export r; \
38272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38273 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
38274 @: $(MAKE); $(unstage)
38275 @r=`${PWD_COMMAND}`; export r; \
38276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38277 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
38279 profiledbootstrap-lean:
38280 echo stagefeedback > stage_final
38281 @r=`${PWD_COMMAND}`; export r; \
38282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38283 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
38284 @: $(MAKE); $(unstage)
38285 @r=`${PWD_COMMAND}`; export r; \
38286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38287 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
38290 # Rules to wipe a stage and all the following ones, also used for cleanstrap
38291 distclean-stageprofile:: distclean-stagefeedback
38292 .PHONY: distclean-stagefeedback
38293 distclean-stagefeedback::
38294 @: $(MAKE); $(stage)
38295 rm -rf stagefeedback-*
38298 @endif gcc-bootstrap
38302 stageprofile-end::
38303 $(MAKE) distclean-stagefeedback
38305 stagefeedback-start::
38306 @r=`${PWD_COMMAND}`; export r; \
38307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38308 for i in prev-*; do \
38309 j=`echo $$i | sed s/^prev-//` ; \
38310 cd $$r/$$i && \
38311 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
38312 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
38313 done
38315 @if gcc-bootstrap
38316 do-distclean: distclean-stage1
38318 # Provide a GCC build when we're building target libraries. This does
38319 # not work as a dependency, just as the minimum necessary to avoid errors.
38320 stage_last:
38321 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
38322 @endif gcc-bootstrap
38324 .PHONY: restrap
38325 restrap:
38326 @: $(MAKE); $(stage)
38327 rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback
38328 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
38330 # --------------------------------------
38331 # Dependencies between different modules
38332 # --------------------------------------
38334 # Generic dependencies for target modules on host stuff, especially gcc
38335 @if gcc-bootstrap
38336 configure-target-libstdc++-v3: stage_last
38337 configure-target-libmudflap: stage_last
38338 configure-target-libssp: stage_last
38339 configure-target-libgcc-math: stage_last
38340 configure-target-newlib: stage_last
38341 configure-target-libgfortran: stage_last
38342 configure-target-libobjc: stage_last
38343 configure-target-libtermcap: stage_last
38344 configure-target-winsup: stage_last
38345 configure-target-libgloss: stage_last
38346 configure-target-libiberty: stage_last
38347 configure-target-gperf: stage_last
38348 configure-target-examples: stage_last
38349 configure-target-libffi: stage_last
38350 configure-target-libjava: stage_last
38351 configure-target-zlib: stage_last
38352 configure-target-boehm-gc: stage_last
38353 configure-target-qthreads: stage_last
38354 configure-target-rda: stage_last
38355 configure-target-libada: stage_last
38356 configure-target-libgomp: stage_last
38357 @endif gcc-bootstrap
38359 @if gcc-no-bootstrap
38360 configure-target-libstdc++-v3: maybe-all-gcc
38361 configure-target-libmudflap: maybe-all-gcc
38362 configure-target-libssp: maybe-all-gcc
38363 configure-target-libgcc-math: maybe-all-gcc
38364 configure-target-newlib: maybe-all-gcc
38365 configure-target-libgfortran: maybe-all-gcc
38366 configure-target-libobjc: maybe-all-gcc
38367 configure-target-libtermcap: maybe-all-gcc
38368 configure-target-winsup: maybe-all-gcc
38369 configure-target-libgloss: maybe-all-gcc
38370 configure-target-libiberty: maybe-all-gcc
38371 configure-target-gperf: maybe-all-gcc
38372 configure-target-examples: maybe-all-gcc
38373 configure-target-libffi: maybe-all-gcc
38374 configure-target-libjava: maybe-all-gcc
38375 configure-target-zlib: maybe-all-gcc
38376 configure-target-boehm-gc: maybe-all-gcc
38377 configure-target-qthreads: maybe-all-gcc
38378 configure-target-rda: maybe-all-gcc
38379 configure-target-libada: maybe-all-gcc
38380 configure-target-libgomp: maybe-all-gcc
38381 @endif gcc-no-bootstrap
38385 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
38387 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
38388 configure-target-gperf: maybe-all-target-libstdc++-v3
38390 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
38392 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
38394 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
38396 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
38397 configure-target-libjava: maybe-all-target-libstdc++-v3
38399 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
38401 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
38403 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
38405 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
38407 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
38409 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
38411 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
38413 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
38415 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
38417 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
38420 # There are two types of dependencies here: 'hard' dependencies, where one
38421 # module simply won't build without the other; and 'soft' dependencies, where
38422 # if the depended-on module is missing, the depending module will do without
38423 # or find a substitute somewhere (perhaps installed). Soft dependencies
38424 # are made here to depend on a 'maybe-' target. If you're not sure,
38425 # it's safer to use a soft dependency.
38432 # With all the machinery above in place, it is pretty easy to generate
38433 # dependencies. Host dependencies are a bit more complex because we have
38434 # to check for bootstrap/prebootstrap dependencies. To resolve
38435 # prebootstrap dependencies, prebootstrap modules are gathered in
38436 # a hash table.
38437 all-build-bison: maybe-all-build-texinfo
38438 all-build-byacc: maybe-all-build-texinfo
38439 all-build-flex: maybe-all-build-texinfo
38440 all-build-flex: maybe-all-build-bison
38441 all-build-flex: maybe-all-build-byacc
38442 all-build-flex: maybe-all-build-m4
38443 all-build-libiberty: maybe-all-build-texinfo
38444 all-build-m4: maybe-all-build-texinfo
38445 all-build-fixincludes: maybe-all-build-libiberty
38446 configure-gcc: maybe-configure-intl
38448 configure-stage1-gcc: maybe-configure-stage1-intl
38449 configure-stage2-gcc: maybe-configure-stage2-intl
38450 configure-stage3-gcc: maybe-configure-stage3-intl
38451 configure-stage4-gcc: maybe-configure-stage4-intl
38452 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
38453 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
38454 configure-gcc: maybe-all-binutils
38456 configure-stage1-gcc: maybe-all-stage1-binutils
38457 configure-stage2-gcc: maybe-all-stage2-binutils
38458 configure-stage3-gcc: maybe-all-stage3-binutils
38459 configure-stage4-gcc: maybe-all-stage4-binutils
38460 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
38461 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
38462 configure-gcc: maybe-all-gas
38464 configure-stage1-gcc: maybe-all-stage1-gas
38465 configure-stage2-gcc: maybe-all-stage2-gas
38466 configure-stage3-gcc: maybe-all-stage3-gas
38467 configure-stage4-gcc: maybe-all-stage4-gas
38468 configure-stageprofile-gcc: maybe-all-stageprofile-gas
38469 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
38470 configure-gcc: maybe-all-ld
38472 configure-stage1-gcc: maybe-all-stage1-ld
38473 configure-stage2-gcc: maybe-all-stage2-ld
38474 configure-stage3-gcc: maybe-all-stage3-ld
38475 configure-stage4-gcc: maybe-all-stage4-ld
38476 configure-stageprofile-gcc: maybe-all-stageprofile-ld
38477 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
38478 all-gcc: all-libiberty
38480 all-stage1-gcc: all-stage1-libiberty
38481 all-stage2-gcc: all-stage2-libiberty
38482 all-stage3-gcc: all-stage3-libiberty
38483 all-stage4-gcc: all-stage4-libiberty
38484 all-stageprofile-gcc: all-stageprofile-libiberty
38485 all-stagefeedback-gcc: all-stagefeedback-libiberty
38486 all-gcc: maybe-all-intl
38488 all-stage1-gcc: maybe-all-stage1-intl
38489 all-stage2-gcc: maybe-all-stage2-intl
38490 all-stage3-gcc: maybe-all-stage3-intl
38491 all-stage4-gcc: maybe-all-stage4-intl
38492 all-stageprofile-gcc: maybe-all-stageprofile-intl
38493 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
38494 all-gcc: maybe-all-build-texinfo
38496 all-stage1-gcc: maybe-all-build-texinfo
38497 all-stage2-gcc: maybe-all-build-texinfo
38498 all-stage3-gcc: maybe-all-build-texinfo
38499 all-stage4-gcc: maybe-all-build-texinfo
38500 all-stageprofile-gcc: maybe-all-build-texinfo
38501 all-stagefeedback-gcc: maybe-all-build-texinfo
38502 all-prebootstrap: maybe-all-build-texinfo
38503 all-gcc: maybe-all-build-bison
38505 all-stage1-gcc: maybe-all-build-bison
38506 all-stage2-gcc: maybe-all-build-bison
38507 all-stage3-gcc: maybe-all-build-bison
38508 all-stage4-gcc: maybe-all-build-bison
38509 all-stageprofile-gcc: maybe-all-build-bison
38510 all-stagefeedback-gcc: maybe-all-build-bison
38511 all-prebootstrap: maybe-all-build-bison
38512 all-gcc: maybe-all-build-byacc
38514 all-stage1-gcc: maybe-all-build-byacc
38515 all-stage2-gcc: maybe-all-build-byacc
38516 all-stage3-gcc: maybe-all-build-byacc
38517 all-stage4-gcc: maybe-all-build-byacc
38518 all-stageprofile-gcc: maybe-all-build-byacc
38519 all-stagefeedback-gcc: maybe-all-build-byacc
38520 all-prebootstrap: maybe-all-build-byacc
38521 all-gcc: maybe-all-build-flex
38523 all-stage1-gcc: maybe-all-build-flex
38524 all-stage2-gcc: maybe-all-build-flex
38525 all-stage3-gcc: maybe-all-build-flex
38526 all-stage4-gcc: maybe-all-build-flex
38527 all-stageprofile-gcc: maybe-all-build-flex
38528 all-stagefeedback-gcc: maybe-all-build-flex
38529 all-prebootstrap: maybe-all-build-flex
38530 all-gcc: maybe-all-build-libiberty
38532 all-stage1-gcc: maybe-all-build-libiberty
38533 all-stage2-gcc: maybe-all-build-libiberty
38534 all-stage3-gcc: maybe-all-build-libiberty
38535 all-stage4-gcc: maybe-all-build-libiberty
38536 all-stageprofile-gcc: maybe-all-build-libiberty
38537 all-stagefeedback-gcc: maybe-all-build-libiberty
38538 all-prebootstrap: maybe-all-build-libiberty
38539 all-gcc: maybe-all-build-fixincludes
38541 all-stage1-gcc: maybe-all-build-fixincludes
38542 all-stage2-gcc: maybe-all-build-fixincludes
38543 all-stage3-gcc: maybe-all-build-fixincludes
38544 all-stage4-gcc: maybe-all-build-fixincludes
38545 all-stageprofile-gcc: maybe-all-build-fixincludes
38546 all-stagefeedback-gcc: maybe-all-build-fixincludes
38547 all-prebootstrap: maybe-all-build-fixincludes
38548 all-gcc: maybe-all-zlib
38550 all-stage1-gcc: maybe-all-stage1-zlib
38551 all-stage2-gcc: maybe-all-stage2-zlib
38552 all-stage3-gcc: maybe-all-stage3-zlib
38553 all-stage4-gcc: maybe-all-stage4-zlib
38554 all-stageprofile-gcc: maybe-all-stageprofile-zlib
38555 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
38556 all-gcc: all-libcpp
38558 all-stage1-gcc: all-stage1-libcpp
38559 all-stage2-gcc: all-stage2-libcpp
38560 all-stage3-gcc: all-stage3-libcpp
38561 all-stage4-gcc: all-stage4-libcpp
38562 all-stageprofile-gcc: all-stageprofile-libcpp
38563 all-stagefeedback-gcc: all-stagefeedback-libcpp
38564 all-gcc: all-libdecnumber
38566 all-stage1-gcc: all-stage1-libdecnumber
38567 all-stage2-gcc: all-stage2-libdecnumber
38568 all-stage3-gcc: all-stage3-libdecnumber
38569 all-stage4-gcc: all-stage4-libdecnumber
38570 all-stageprofile-gcc: all-stageprofile-libdecnumber
38571 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
38572 all-gcc: maybe-all-libiberty
38574 all-stage1-gcc: maybe-all-stage1-libiberty
38575 all-stage2-gcc: maybe-all-stage2-libiberty
38576 all-stage3-gcc: maybe-all-stage3-libiberty
38577 all-stage4-gcc: maybe-all-stage4-libiberty
38578 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
38579 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
38580 all-gcc: maybe-all-fixincludes
38581 install-gcc: maybe-install-fixincludes
38582 configure-libcpp: configure-libiberty
38584 configure-stage1-libcpp: configure-stage1-libiberty
38585 configure-stage2-libcpp: configure-stage2-libiberty
38586 configure-stage3-libcpp: configure-stage3-libiberty
38587 configure-stage4-libcpp: configure-stage4-libiberty
38588 configure-stageprofile-libcpp: configure-stageprofile-libiberty
38589 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
38590 configure-libcpp: maybe-configure-intl
38592 configure-stage1-libcpp: maybe-configure-stage1-intl
38593 configure-stage2-libcpp: maybe-configure-stage2-intl
38594 configure-stage3-libcpp: maybe-configure-stage3-intl
38595 configure-stage4-libcpp: maybe-configure-stage4-intl
38596 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
38597 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
38598 all-libcpp: all-libiberty
38600 all-stage1-libcpp: all-stage1-libiberty
38601 all-stage2-libcpp: all-stage2-libiberty
38602 all-stage3-libcpp: all-stage3-libiberty
38603 all-stage4-libcpp: all-stage4-libiberty
38604 all-stageprofile-libcpp: all-stageprofile-libiberty
38605 all-stagefeedback-libcpp: all-stagefeedback-libiberty
38606 all-libcpp: maybe-all-intl
38608 all-stage1-libcpp: maybe-all-stage1-intl
38609 all-stage2-libcpp: maybe-all-stage2-intl
38610 all-stage3-libcpp: maybe-all-stage3-intl
38611 all-stage4-libcpp: maybe-all-stage4-intl
38612 all-stageprofile-libcpp: maybe-all-stageprofile-intl
38613 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
38614 all-fixincludes: maybe-all-libiberty
38615 all-gnattools: maybe-all-target-libada
38616 configure-gdb: maybe-configure-sim
38617 all-gdb: maybe-all-libiberty
38618 all-gdb: maybe-all-opcodes
38619 all-gdb: maybe-all-bfd
38620 all-gdb: maybe-all-readline
38621 all-gdb: maybe-all-build-bison
38622 all-gdb: maybe-all-build-byacc
38623 all-gdb: maybe-all-sim
38624 all-gdb: maybe-all-expat
38625 configure-libgui: maybe-configure-tcl
38626 configure-libgui: maybe-configure-tk
38627 all-libgui: maybe-all-tcl
38628 all-libgui: maybe-all-tk
38629 all-libgui: maybe-all-itcl
38630 configure-bfd: configure-libiberty
38632 configure-stage1-bfd: configure-stage1-libiberty
38633 configure-stage2-bfd: configure-stage2-libiberty
38634 configure-stage3-bfd: configure-stage3-libiberty
38635 configure-stage4-bfd: configure-stage4-libiberty
38636 configure-stageprofile-bfd: configure-stageprofile-libiberty
38637 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
38638 all-bfd: maybe-all-libiberty
38640 all-stage1-bfd: maybe-all-stage1-libiberty
38641 all-stage2-bfd: maybe-all-stage2-libiberty
38642 all-stage3-bfd: maybe-all-stage3-libiberty
38643 all-stage4-bfd: maybe-all-stage4-libiberty
38644 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
38645 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
38646 all-bfd: maybe-all-intl
38648 all-stage1-bfd: maybe-all-stage1-intl
38649 all-stage2-bfd: maybe-all-stage2-intl
38650 all-stage3-bfd: maybe-all-stage3-intl
38651 all-stage4-bfd: maybe-all-stage4-intl
38652 all-stageprofile-bfd: maybe-all-stageprofile-intl
38653 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
38654 all-binutils: maybe-all-libiberty
38656 all-stage1-binutils: maybe-all-stage1-libiberty
38657 all-stage2-binutils: maybe-all-stage2-libiberty
38658 all-stage3-binutils: maybe-all-stage3-libiberty
38659 all-stage4-binutils: maybe-all-stage4-libiberty
38660 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
38661 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
38662 all-binutils: maybe-all-opcodes
38664 all-stage1-binutils: maybe-all-stage1-opcodes
38665 all-stage2-binutils: maybe-all-stage2-opcodes
38666 all-stage3-binutils: maybe-all-stage3-opcodes
38667 all-stage4-binutils: maybe-all-stage4-opcodes
38668 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
38669 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
38670 all-binutils: maybe-all-bfd
38672 all-stage1-binutils: maybe-all-stage1-bfd
38673 all-stage2-binutils: maybe-all-stage2-bfd
38674 all-stage3-binutils: maybe-all-stage3-bfd
38675 all-stage4-binutils: maybe-all-stage4-bfd
38676 all-stageprofile-binutils: maybe-all-stageprofile-bfd
38677 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
38678 all-binutils: maybe-all-build-flex
38680 all-stage1-binutils: maybe-all-build-flex
38681 all-stage2-binutils: maybe-all-build-flex
38682 all-stage3-binutils: maybe-all-build-flex
38683 all-stage4-binutils: maybe-all-build-flex
38684 all-stageprofile-binutils: maybe-all-build-flex
38685 all-stagefeedback-binutils: maybe-all-build-flex
38686 all-prebootstrap: maybe-all-build-flex
38687 all-binutils: maybe-all-build-bison
38689 all-stage1-binutils: maybe-all-build-bison
38690 all-stage2-binutils: maybe-all-build-bison
38691 all-stage3-binutils: maybe-all-build-bison
38692 all-stage4-binutils: maybe-all-build-bison
38693 all-stageprofile-binutils: maybe-all-build-bison
38694 all-stagefeedback-binutils: maybe-all-build-bison
38695 all-prebootstrap: maybe-all-build-bison
38696 all-binutils: maybe-all-build-byacc
38698 all-stage1-binutils: maybe-all-build-byacc
38699 all-stage2-binutils: maybe-all-build-byacc
38700 all-stage3-binutils: maybe-all-build-byacc
38701 all-stage4-binutils: maybe-all-build-byacc
38702 all-stageprofile-binutils: maybe-all-build-byacc
38703 all-stagefeedback-binutils: maybe-all-build-byacc
38704 all-prebootstrap: maybe-all-build-byacc
38705 all-binutils: maybe-all-intl
38707 all-stage1-binutils: maybe-all-stage1-intl
38708 all-stage2-binutils: maybe-all-stage2-intl
38709 all-stage3-binutils: maybe-all-stage3-intl
38710 all-stage4-binutils: maybe-all-stage4-intl
38711 all-stageprofile-binutils: maybe-all-stageprofile-intl
38712 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
38713 install-binutils: maybe-install-opcodes
38714 install-opcodes: maybe-install-bfd
38715 all-gas: maybe-all-libiberty
38717 all-stage1-gas: maybe-all-stage1-libiberty
38718 all-stage2-gas: maybe-all-stage2-libiberty
38719 all-stage3-gas: maybe-all-stage3-libiberty
38720 all-stage4-gas: maybe-all-stage4-libiberty
38721 all-stageprofile-gas: maybe-all-stageprofile-libiberty
38722 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
38723 all-gas: maybe-all-opcodes
38725 all-stage1-gas: maybe-all-stage1-opcodes
38726 all-stage2-gas: maybe-all-stage2-opcodes
38727 all-stage3-gas: maybe-all-stage3-opcodes
38728 all-stage4-gas: maybe-all-stage4-opcodes
38729 all-stageprofile-gas: maybe-all-stageprofile-opcodes
38730 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
38731 all-gas: maybe-all-bfd
38733 all-stage1-gas: maybe-all-stage1-bfd
38734 all-stage2-gas: maybe-all-stage2-bfd
38735 all-stage3-gas: maybe-all-stage3-bfd
38736 all-stage4-gas: maybe-all-stage4-bfd
38737 all-stageprofile-gas: maybe-all-stageprofile-bfd
38738 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
38739 all-gas: maybe-all-intl
38741 all-stage1-gas: maybe-all-stage1-intl
38742 all-stage2-gas: maybe-all-stage2-intl
38743 all-stage3-gas: maybe-all-stage3-intl
38744 all-stage4-gas: maybe-all-stage4-intl
38745 all-stageprofile-gas: maybe-all-stageprofile-intl
38746 all-stagefeedback-gas: maybe-all-stagefeedback-intl
38747 all-gprof: maybe-all-libiberty
38748 all-gprof: maybe-all-bfd
38749 all-gprof: maybe-all-opcodes
38750 all-gprof: maybe-all-intl
38751 all-ld: maybe-all-libiberty
38753 all-stage1-ld: maybe-all-stage1-libiberty
38754 all-stage2-ld: maybe-all-stage2-libiberty
38755 all-stage3-ld: maybe-all-stage3-libiberty
38756 all-stage4-ld: maybe-all-stage4-libiberty
38757 all-stageprofile-ld: maybe-all-stageprofile-libiberty
38758 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
38759 all-ld: maybe-all-bfd
38761 all-stage1-ld: maybe-all-stage1-bfd
38762 all-stage2-ld: maybe-all-stage2-bfd
38763 all-stage3-ld: maybe-all-stage3-bfd
38764 all-stage4-ld: maybe-all-stage4-bfd
38765 all-stageprofile-ld: maybe-all-stageprofile-bfd
38766 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
38767 all-ld: maybe-all-opcodes
38769 all-stage1-ld: maybe-all-stage1-opcodes
38770 all-stage2-ld: maybe-all-stage2-opcodes
38771 all-stage3-ld: maybe-all-stage3-opcodes
38772 all-stage4-ld: maybe-all-stage4-opcodes
38773 all-stageprofile-ld: maybe-all-stageprofile-opcodes
38774 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
38775 all-ld: maybe-all-build-bison
38777 all-stage1-ld: maybe-all-build-bison
38778 all-stage2-ld: maybe-all-build-bison
38779 all-stage3-ld: maybe-all-build-bison
38780 all-stage4-ld: maybe-all-build-bison
38781 all-stageprofile-ld: maybe-all-build-bison
38782 all-stagefeedback-ld: maybe-all-build-bison
38783 all-prebootstrap: maybe-all-build-bison
38784 all-ld: maybe-all-build-byacc
38786 all-stage1-ld: maybe-all-build-byacc
38787 all-stage2-ld: maybe-all-build-byacc
38788 all-stage3-ld: maybe-all-build-byacc
38789 all-stage4-ld: maybe-all-build-byacc
38790 all-stageprofile-ld: maybe-all-build-byacc
38791 all-stagefeedback-ld: maybe-all-build-byacc
38792 all-prebootstrap: maybe-all-build-byacc
38793 all-ld: maybe-all-build-flex
38795 all-stage1-ld: maybe-all-build-flex
38796 all-stage2-ld: maybe-all-build-flex
38797 all-stage3-ld: maybe-all-build-flex
38798 all-stage4-ld: maybe-all-build-flex
38799 all-stageprofile-ld: maybe-all-build-flex
38800 all-stagefeedback-ld: maybe-all-build-flex
38801 all-prebootstrap: maybe-all-build-flex
38802 all-ld: maybe-all-intl
38804 all-stage1-ld: maybe-all-stage1-intl
38805 all-stage2-ld: maybe-all-stage2-intl
38806 all-stage3-ld: maybe-all-stage3-intl
38807 all-stage4-ld: maybe-all-stage4-intl
38808 all-stageprofile-ld: maybe-all-stageprofile-intl
38809 all-stagefeedback-ld: maybe-all-stagefeedback-intl
38810 all-opcodes: maybe-all-bfd
38812 all-stage1-opcodes: maybe-all-stage1-bfd
38813 all-stage2-opcodes: maybe-all-stage2-bfd
38814 all-stage3-opcodes: maybe-all-stage3-bfd
38815 all-stage4-opcodes: maybe-all-stage4-bfd
38816 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
38817 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
38818 all-opcodes: maybe-all-libiberty
38820 all-stage1-opcodes: maybe-all-stage1-libiberty
38821 all-stage2-opcodes: maybe-all-stage2-libiberty
38822 all-stage3-opcodes: maybe-all-stage3-libiberty
38823 all-stage4-opcodes: maybe-all-stage4-libiberty
38824 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
38825 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
38826 all-dejagnu: maybe-all-tcl
38827 all-dejagnu: maybe-all-expect
38828 all-dejagnu: maybe-all-tk
38829 configure-expect: maybe-configure-tcl
38830 configure-expect: maybe-configure-tk
38831 all-expect: maybe-all-tcl
38832 all-expect: maybe-all-tk
38833 configure-itcl: maybe-configure-tcl
38834 configure-itcl: maybe-configure-tk
38835 all-itcl: maybe-all-tcl
38836 all-itcl: maybe-all-tk
38837 install-itcl: maybe-install-tcl
38838 configure-tk: maybe-configure-tcl
38839 all-tk: maybe-all-tcl
38840 all-sid: maybe-all-libiberty
38841 all-sid: maybe-all-bfd
38842 all-sid: maybe-all-opcodes
38843 all-sid: maybe-all-tcl
38844 all-sid: maybe-all-tk
38845 install-sid: maybe-install-tcl
38846 install-sid: maybe-install-tk
38847 all-sim: maybe-all-libiberty
38848 all-sim: maybe-all-bfd
38849 all-sim: maybe-all-opcodes
38850 all-sim: maybe-all-readline
38851 all-sim: maybe-configure-gdb
38852 all-fastjar: maybe-all-zlib
38853 all-fastjar: maybe-all-build-texinfo
38854 all-fastjar: maybe-all-libiberty
38855 all-autoconf: maybe-all-m4
38856 all-autoconf: maybe-all-build-texinfo
38857 all-automake: maybe-all-m4
38858 all-automake: maybe-all-build-texinfo
38859 all-automake: maybe-all-autoconf
38860 all-bison: maybe-all-intl
38861 all-bison: maybe-all-build-texinfo
38862 all-diff: maybe-all-intl
38863 all-diff: maybe-all-build-texinfo
38864 all-fileutils: maybe-all-intl
38865 all-fileutils: maybe-all-build-texinfo
38866 all-flex: maybe-all-build-bison
38867 all-flex: maybe-all-build-byacc
38868 all-flex: maybe-all-intl
38869 all-flex: maybe-all-m4
38870 all-flex: maybe-all-build-texinfo
38871 all-gzip: maybe-all-intl
38872 all-gzip: maybe-all-zlib
38873 all-gzip: maybe-all-build-texinfo
38874 all-hello: maybe-all-intl
38875 all-hello: maybe-all-build-texinfo
38876 all-m4: maybe-all-intl
38877 all-m4: maybe-all-build-texinfo
38878 all-make: maybe-all-intl
38879 all-make: maybe-all-build-texinfo
38880 all-patch: maybe-all-build-texinfo
38881 all-make: maybe-all-build-texinfo
38882 all-prms: maybe-all-libiberty
38883 all-recode: maybe-all-build-texinfo
38884 all-sed: maybe-all-build-texinfo
38885 all-send-pr: maybe-all-prms
38886 all-tar: maybe-all-build-texinfo
38887 all-uudecode: maybe-all-build-texinfo
38888 configure-target-boehm-gc: maybe-configure-target-qthreads
38889 configure-target-fastjar: maybe-configure-target-zlib
38890 all-target-fastjar: maybe-all-target-zlib
38891 all-target-fastjar: maybe-all-target-libiberty
38892 configure-target-libjava: maybe-configure-target-zlib
38893 configure-target-libjava: maybe-configure-target-boehm-gc
38894 configure-target-libjava: maybe-configure-target-qthreads
38895 configure-target-libjava: maybe-configure-target-libffi
38896 all-target-libjava: maybe-all-fastjar
38897 all-target-libjava: maybe-all-target-zlib
38898 all-target-libjava: maybe-all-target-boehm-gc
38899 all-target-libjava: maybe-all-target-qthreads
38900 all-target-libjava: maybe-all-target-libffi
38901 all-target-libobjc: maybe-all-target-libiberty
38902 all-target-libstdc++-v3: maybe-all-target-libiberty
38903 all-target-libgloss: maybe-configure-target-newlib
38904 all-target-winsup: maybe-all-target-libiberty
38905 all-target-winsup: maybe-all-target-libtermcap
38908 # Non-toplevel bootstrap rules must depend on several packages, to be built
38909 # before gcc. Another wart that will go away, hopefully soon.
38910 @if gcc-no-bootstrap
38912 all-prebootstrap: maybe-all-bfd
38913 all-prebootstrap: maybe-all-opcodes
38914 all-prebootstrap: maybe-all-binutils
38915 all-prebootstrap: maybe-all-gas
38916 all-prebootstrap: maybe-all-intl
38917 all-prebootstrap: maybe-all-ld
38918 all-prebootstrap: maybe-all-libcpp
38919 all-prebootstrap: maybe-all-libdecnumber
38920 all-prebootstrap: maybe-all-libiberty
38921 all-prebootstrap: maybe-all-zlib
38922 @endif gcc-no-bootstrap
38924 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
38925 GDB_TK = @GDB_TK@
38926 INSTALL_GDB_TK = @INSTALL_GDB_TK@
38927 configure-gdb: $(CONFIGURE_GDB_TK)
38928 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
38929 install-gdb: $(INSTALL_GDB_TK)
38931 # Serialization dependencies. Host configures don't work well in parallel to
38932 # each other, due to contention over config.cache. Target configures and
38933 # build configures are similar.
38934 @serialization_dependencies@
38936 # --------------------------------
38937 # Regenerating top level configury
38938 # --------------------------------
38940 # Rebuilding Makefile.in, using autogen.
38941 AUTOGEN = autogen
38942 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
38943 cd $(srcdir) && $(AUTOGEN) Makefile.def
38945 # Rebuilding Makefile.
38946 Makefile: $(srcdir)/Makefile.in config.status
38947 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
38949 config.status: configure
38950 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
38952 # Rebuilding configure.
38953 AUTOCONF = autoconf
38954 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
38955 cd $(srcdir) && $(AUTOCONF)
38957 # ------------------------------
38958 # Special directives to GNU Make
38959 # ------------------------------
38961 # Don't pass command-line variables to submakes.
38962 .NOEXPORT:
38963 MAKEOVERRIDES=
38965 # end of Makefile.in